From 2f70ff490c3474a59ca29dc2661ec5e4f13ec2f7 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Tue, 14 Jan 2025 19:24:23 +0000 Subject: [PATCH] Regenerated Clients --- .../a54441a79bf54fda8feaf12407b10e8b.json | 8 ++ .../e295c0d240e04b549e0fef0a820140be.json | 8 ++ .../internal/endpoints/endpoints.go | 3 + service/acm/internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../appconfig/internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + service/batch/internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 9 ++ .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../datasync/internal/endpoints/endpoints.go | 9 ++ .../internal/endpoints/endpoints.go | 3 + service/dlm/internal/endpoints/endpoints.go | 9 ++ service/docdb/internal/endpoints/endpoints.go | 3 + .../dynamodb/internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + service/ebs/internal/endpoints/endpoints.go | 3 + service/ec2/internal/endpoints/endpoints.go | 3 + service/ecr/internal/endpoints/endpoints.go | 17 +++ service/ecs/internal/endpoints/endpoints.go | 3 + service/eks/internal/endpoints/endpoints.go | 3 + .../eksauth/internal/endpoints/endpoints.go | 5 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 9 ++ service/emr/internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../api_op_DescribeGameSessionPlacement.go | 8 +- .../api_op_StartGameSessionPlacement.go | 99 ++++++++----- .../gamelift/api_op_TerminateGameSession.go | 85 +++++++----- service/gamelift/deserializers.go | 91 +++++++++++- service/gamelift/serializers.go | 37 +++++ service/gamelift/types/enums.go | 19 +++ service/gamelift/types/types.go | 131 +++++++++++++----- service/gamelift/validators.go | 20 +++ .../internal/endpoints/endpoints.go | 5 + .../internal/endpoints/endpoints.go | 5 + .../kinesis/internal/endpoints/endpoints.go | 3 + service/kms/internal/endpoints/endpoints.go | 18 +++ .../lambda/internal/endpoints/endpoints.go | 9 ++ .../neptune/internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 5 + service/oam/internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 9 ++ .../internal/endpoints/endpoints.go | 6 + service/pi/internal/endpoints/endpoints.go | 12 ++ .../qbusiness/internal/endpoints/endpoints.go | 5 + service/ram/internal/endpoints/endpoints.go | 3 + service/rbin/internal/endpoints/endpoints.go | 3 + service/rds/internal/endpoints/endpoints.go | 3 + .../redshift/internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + service/route53/types/enums.go | 6 + .../internal/endpoints/endpoints.go | 3 + service/s3/internal/endpoints/endpoints.go | 9 ++ .../internal/endpoints/s3/endpoints.go | 9 ++ .../internal/endpoints/endpoints.go | 7 + .../internal/endpoints/endpoints.go | 9 ++ .../internal/endpoints/endpoints.go | 3 + service/sfn/internal/endpoints/endpoints.go | 3 + service/sns/internal/endpoints/endpoints.go | 3 + service/sqs/internal/endpoints/endpoints.go | 3 + service/ssm/internal/endpoints/endpoints.go | 3 + service/sts/internal/endpoints/endpoints.go | 3 + service/swf/internal/endpoints/endpoints.go | 3 + .../internal/endpoints/endpoints.go | 3 + service/xray/internal/endpoints/endpoints.go | 3 + 79 files changed, 714 insertions(+), 111 deletions(-) create mode 100644 .changelog/a54441a79bf54fda8feaf12407b10e8b.json create mode 100644 .changelog/e295c0d240e04b549e0fef0a820140be.json diff --git a/.changelog/a54441a79bf54fda8feaf12407b10e8b.json b/.changelog/a54441a79bf54fda8feaf12407b10e8b.json new file mode 100644 index 00000000000..b5688f9d91c --- /dev/null +++ b/.changelog/a54441a79bf54fda8feaf12407b10e8b.json @@ -0,0 +1,8 @@ +{ + "id": "a54441a7-9bf5-4fda-8fea-f12407b10e8b", + "type": "feature", + "description": "Amazon GameLift releases a new game session placement feature: PriorityConfigurationOverride. You can now override how a game session queue prioritizes placement locations for a single StartGameSessionPlacement request.", + "modules": [ + "service/gamelift" + ] +} \ No newline at end of file diff --git a/.changelog/e295c0d240e04b549e0fef0a820140be.json b/.changelog/e295c0d240e04b549e0fef0a820140be.json new file mode 100644 index 00000000000..731d73a8cf3 --- /dev/null +++ b/.changelog/e295c0d240e04b549e0fef0a820140be.json @@ -0,0 +1,8 @@ +{ + "id": "e295c0d2-40e0-4b54-9e0f-ef0a820140be", + "type": "feature", + "description": "Amazon Route 53 now supports the Mexico (Central) Region (mx-central-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region", + "modules": [ + "service/route53" + ] +} \ No newline at end of file diff --git a/service/accessanalyzer/internal/endpoints/endpoints.go b/service/accessanalyzer/internal/endpoints/endpoints.go index d64ceb6a14d..da3074f0177 100644 --- a/service/accessanalyzer/internal/endpoints/endpoints.go +++ b/service/accessanalyzer/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/acm/internal/endpoints/endpoints.go b/service/acm/internal/endpoints/endpoints.go index 0ff16f2fe4c..858c8173cb8 100644 --- a/service/acm/internal/endpoints/endpoints.go +++ b/service/acm/internal/endpoints/endpoints.go @@ -247,6 +247,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/apigateway/internal/endpoints/endpoints.go b/service/apigateway/internal/endpoints/endpoints.go index 70e269b8777..295d0e0ba0c 100644 --- a/service/apigateway/internal/endpoints/endpoints.go +++ b/service/apigateway/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/apigatewayv2/internal/endpoints/endpoints.go b/service/apigatewayv2/internal/endpoints/endpoints.go index e4527262526..f6a5bd15487 100644 --- a/service/apigatewayv2/internal/endpoints/endpoints.go +++ b/service/apigatewayv2/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/appconfig/internal/endpoints/endpoints.go b/service/appconfig/internal/endpoints/endpoints.go index 5ae0b619c9d..5dbbd4dbc6d 100644 --- a/service/appconfig/internal/endpoints/endpoints.go +++ b/service/appconfig/internal/endpoints/endpoints.go @@ -217,6 +217,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/appconfigdata/internal/endpoints/endpoints.go b/service/appconfigdata/internal/endpoints/endpoints.go index e291531fb68..23431fd545c 100644 --- a/service/appconfigdata/internal/endpoints/endpoints.go +++ b/service/appconfigdata/internal/endpoints/endpoints.go @@ -217,6 +217,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/applicationautoscaling/internal/endpoints/endpoints.go b/service/applicationautoscaling/internal/endpoints/endpoints.go index 88acfee4544..b9028991e32 100644 --- a/service/applicationautoscaling/internal/endpoints/endpoints.go +++ b/service/applicationautoscaling/internal/endpoints/endpoints.go @@ -217,6 +217,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/arczonalshift/internal/endpoints/endpoints.go b/service/arczonalshift/internal/endpoints/endpoints.go index 00b77fefbf0..50488f04c87 100644 --- a/service/arczonalshift/internal/endpoints/endpoints.go +++ b/service/arczonalshift/internal/endpoints/endpoints.go @@ -217,6 +217,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/autoscaling/internal/endpoints/endpoints.go b/service/autoscaling/internal/endpoints/endpoints.go index f59b43433d3..e3dd6c58464 100644 --- a/service/autoscaling/internal/endpoints/endpoints.go +++ b/service/autoscaling/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/batch/internal/endpoints/endpoints.go b/service/batch/internal/endpoints/endpoints.go index a8a7ddda530..5fef5f6197b 100644 --- a/service/batch/internal/endpoints/endpoints.go +++ b/service/batch/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/cloudformation/internal/endpoints/endpoints.go b/service/cloudformation/internal/endpoints/endpoints.go index 27aeb154c58..fb197ce7d54 100644 --- a/service/cloudformation/internal/endpoints/endpoints.go +++ b/service/cloudformation/internal/endpoints/endpoints.go @@ -217,6 +217,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/cloudtrail/internal/endpoints/endpoints.go b/service/cloudtrail/internal/endpoints/endpoints.go index 328a8452f59..881a359bdf0 100644 --- a/service/cloudtrail/internal/endpoints/endpoints.go +++ b/service/cloudtrail/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/cloudwatch/internal/endpoints/endpoints.go b/service/cloudwatch/internal/endpoints/endpoints.go index 7c448db31fd..008fe5d3c30 100644 --- a/service/cloudwatch/internal/endpoints/endpoints.go +++ b/service/cloudwatch/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/cloudwatchevents/internal/endpoints/endpoints.go b/service/cloudwatchevents/internal/endpoints/endpoints.go index 01751fc2cfa..7fc9b9a6b02 100644 --- a/service/cloudwatchevents/internal/endpoints/endpoints.go +++ b/service/cloudwatchevents/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/cloudwatchlogs/internal/endpoints/endpoints.go b/service/cloudwatchlogs/internal/endpoints/endpoints.go index f333b678dbd..70e7859c257 100644 --- a/service/cloudwatchlogs/internal/endpoints/endpoints.go +++ b/service/cloudwatchlogs/internal/endpoints/endpoints.go @@ -439,6 +439,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "logs.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "logs.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/codedeploy/internal/endpoints/endpoints.go b/service/codedeploy/internal/endpoints/endpoints.go index 536d3301649..b8657bc87bf 100644 --- a/service/codedeploy/internal/endpoints/endpoints.go +++ b/service/codedeploy/internal/endpoints/endpoints.go @@ -217,6 +217,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/configservice/internal/endpoints/endpoints.go b/service/configservice/internal/endpoints/endpoints.go index 4373894ba68..6dcf9f57d9e 100644 --- a/service/configservice/internal/endpoints/endpoints.go +++ b/service/configservice/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/databasemigrationservice/internal/endpoints/endpoints.go b/service/databasemigrationservice/internal/endpoints/endpoints.go index d98539aaac5..6dc20ccc321 100644 --- a/service/databasemigrationservice/internal/endpoints/endpoints.go +++ b/service/databasemigrationservice/internal/endpoints/endpoints.go @@ -244,6 +244,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/datasync/internal/endpoints/endpoints.go b/service/datasync/internal/endpoints/endpoints.go index 3c1e3fceec0..d9475cef1a1 100644 --- a/service/datasync/internal/endpoints/endpoints.go +++ b/service/datasync/internal/endpoints/endpoints.go @@ -451,6 +451,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "datasync.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "datasync.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/directconnect/internal/endpoints/endpoints.go b/service/directconnect/internal/endpoints/endpoints.go index 5ce3b205f39..013f0974c9a 100644 --- a/service/directconnect/internal/endpoints/endpoints.go +++ b/service/directconnect/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/dlm/internal/endpoints/endpoints.go b/service/dlm/internal/endpoints/endpoints.go index 31a3113f560..479127e1371 100644 --- a/service/dlm/internal/endpoints/endpoints.go +++ b/service/dlm/internal/endpoints/endpoints.go @@ -385,6 +385,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "dlm.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "dlm.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/docdb/internal/endpoints/endpoints.go b/service/docdb/internal/endpoints/endpoints.go index 59055ce1c38..e5d05c5d790 100644 --- a/service/docdb/internal/endpoints/endpoints.go +++ b/service/docdb/internal/endpoints/endpoints.go @@ -247,6 +247,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "rds-fips.ca-central-1", }: endpoints.Endpoint{ diff --git a/service/dynamodb/internal/endpoints/endpoints.go b/service/dynamodb/internal/endpoints/endpoints.go index 27532078a56..6e29dcf9b6b 100644 --- a/service/dynamodb/internal/endpoints/endpoints.go +++ b/service/dynamodb/internal/endpoints/endpoints.go @@ -256,6 +256,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/dynamodbstreams/internal/endpoints/endpoints.go b/service/dynamodbstreams/internal/endpoints/endpoints.go index 06fbf0bb522..f96e551f3da 100644 --- a/service/dynamodbstreams/internal/endpoints/endpoints.go +++ b/service/dynamodbstreams/internal/endpoints/endpoints.go @@ -238,6 +238,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/ebs/internal/endpoints/endpoints.go b/service/ebs/internal/endpoints/endpoints.go index 074ecf430ed..05b3ebc625e 100644 --- a/service/ebs/internal/endpoints/endpoints.go +++ b/service/ebs/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/ec2/internal/endpoints/endpoints.go b/service/ec2/internal/endpoints/endpoints.go index 1a4ee361a2f..e80081e6ed9 100644 --- a/service/ec2/internal/endpoints/endpoints.go +++ b/service/ec2/internal/endpoints/endpoints.go @@ -373,6 +373,9 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "ec2.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/ecr/internal/endpoints/endpoints.go b/service/ecr/internal/endpoints/endpoints.go index dc129949310..9d3f11130c6 100644 --- a/service/ecr/internal/endpoints/endpoints.go +++ b/service/ecr/internal/endpoints/endpoints.go @@ -725,6 +725,23 @@ var defaultPartitions = endpoints.Partitions{ Region: "me-south-1", }, }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{ + Hostname: "api.ecr.mx-central-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "mx-central-1", + }, + }, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "ecr.mx-central-1.api.aws", + CredentialScope: endpoints.CredentialScope{ + Region: "mx-central-1", + }, + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{ diff --git a/service/ecs/internal/endpoints/endpoints.go b/service/ecs/internal/endpoints/endpoints.go index c8d5cc6f3d3..73900ddca76 100644 --- a/service/ecs/internal/endpoints/endpoints.go +++ b/service/ecs/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/eks/internal/endpoints/endpoints.go b/service/eks/internal/endpoints/endpoints.go index df2f625663a..ba3137b9bda 100644 --- a/service/eks/internal/endpoints/endpoints.go +++ b/service/eks/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/eksauth/internal/endpoints/endpoints.go b/service/eksauth/internal/endpoints/endpoints.go index 9a8a68fb464..c770c296fa8 100644 --- a/service/eksauth/internal/endpoints/endpoints.go +++ b/service/eksauth/internal/endpoints/endpoints.go @@ -269,6 +269,11 @@ var defaultPartitions = endpoints.Partitions{ }: endpoints.Endpoint{ Hostname: "eks-auth.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{ + Hostname: "eks-auth.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{ diff --git a/service/elasticache/internal/endpoints/endpoints.go b/service/elasticache/internal/endpoints/endpoints.go index bc2991c04dd..32a6fa91f06 100644 --- a/service/elasticache/internal/endpoints/endpoints.go +++ b/service/elasticache/internal/endpoints/endpoints.go @@ -226,6 +226,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/elasticloadbalancing/internal/endpoints/endpoints.go b/service/elasticloadbalancing/internal/endpoints/endpoints.go index 49c68ce0f38..7c651cd4236 100644 --- a/service/elasticloadbalancing/internal/endpoints/endpoints.go +++ b/service/elasticloadbalancing/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/elasticloadbalancingv2/internal/endpoints/endpoints.go b/service/elasticloadbalancingv2/internal/endpoints/endpoints.go index 85861c2908f..a1b23781d6f 100644 --- a/service/elasticloadbalancingv2/internal/endpoints/endpoints.go +++ b/service/elasticloadbalancingv2/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/elasticsearchservice/internal/endpoints/endpoints.go b/service/elasticsearchservice/internal/endpoints/endpoints.go index a5a7865adfa..26bf767b10a 100644 --- a/service/elasticsearchservice/internal/endpoints/endpoints.go +++ b/service/elasticsearchservice/internal/endpoints/endpoints.go @@ -382,6 +382,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "aos.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "aos.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/emr/internal/endpoints/endpoints.go b/service/emr/internal/endpoints/endpoints.go index 33ec8a7b02b..2fc3c297fc3 100644 --- a/service/emr/internal/endpoints/endpoints.go +++ b/service/emr/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/eventbridge/internal/endpoints/endpoints.go b/service/eventbridge/internal/endpoints/endpoints.go index fc27ece9a7f..203b9ecad32 100644 --- a/service/eventbridge/internal/endpoints/endpoints.go +++ b/service/eventbridge/internal/endpoints/endpoints.go @@ -255,6 +255,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/gamelift/api_op_DescribeGameSessionPlacement.go b/service/gamelift/api_op_DescribeGameSessionPlacement.go index 84bd3c72ba5..f02a99701dc 100644 --- a/service/gamelift/api_op_DescribeGameSessionPlacement.go +++ b/service/gamelift/api_op_DescribeGameSessionPlacement.go @@ -18,10 +18,10 @@ import ( // // This operation is not designed to be continually called to track game session // status. This practice can cause you to exceed your API limit, which results in -// errors. Instead, you must configure configure an Amazon Simple Notification -// Service (SNS) topic to receive notifications from FlexMatch or queues. -// Continuously polling with DescribeGameSessionPlacement should only be used for -// games in development with low game session usage. +// errors. Instead, you must configure an Amazon Simple Notification Service (SNS) +// topic to receive notifications from FlexMatch or queues. Continuously polling +// with DescribeGameSessionPlacement should only be used for games in development +// with low game session usage. func (c *Client) DescribeGameSessionPlacement(ctx context.Context, params *DescribeGameSessionPlacementInput, optFns ...func(*Options)) (*DescribeGameSessionPlacementOutput, error) { if params == nil { params = &DescribeGameSessionPlacementInput{} diff --git a/service/gamelift/api_op_StartGameSessionPlacement.go b/service/gamelift/api_op_StartGameSessionPlacement.go index a1442a5a70b..b0d9dde0e68 100644 --- a/service/gamelift/api_op_StartGameSessionPlacement.go +++ b/service/gamelift/api_op_StartGameSessionPlacement.go @@ -11,49 +11,71 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Places a request for a new game session in a queue. When processing a placement -// request, Amazon GameLift searches for available resources on the queue's -// destinations, scanning each until it finds resources or the placement request -// times out. +// Makes a request to start a new game session using a game session queue. When +// processing a placement request in a queue, Amazon GameLift finds the best +// possible available resource to host the game session and prompts the resource to +// start the game session. // -// A game session placement request can also request player sessions. When a new -// game session is successfully created, Amazon GameLift creates a player session -// for each player included in the request. +// # Request options // -// When placing a game session, by default Amazon GameLift tries each fleet in the -// order they are listed in the queue configuration. Ideally, a queue's -// destinations are listed in preference order. +// Call this API with the following minimum parameters: GameSessionQueueName, +// MaximumPlayerSessionCount, and PlacementID. You can also include game session +// data (data formatted as strings) or game properties (data formatted as key-value +// pairs) to pass to the new game session. // -// Alternatively, when requesting a game session with players, you can also -// provide latency data for each player in relevant Regions. Latency data indicates -// the performance lag a player experiences when connected to a fleet in the -// Region. Amazon GameLift uses latency data to reorder the list of destinations to -// place the game session in a Region with minimal lag. If latency data is provided -// for multiple players, Amazon GameLift calculates each Region's average lag for -// all players and reorders to get the best game play across all players. +// - You can change how Amazon GameLift chooses a hosting resource for the new +// game session. Prioritizing resources for game session placements is defined when +// you configure a game session queue. You can use the default prioritization +// process or specify a custom process by providing a [PriorityConfiguration]when you create or update +// a queue. // -// To place a new game session request, specify the following: +// - Prioritize based on resource cost and location, using the queue's +// configured priority settings. Call this API with the minimum parameters. // -// - The queue name and a set of game session properties and settings +// - Prioritize based on latency. Include a set of values for PlayerLatencies. +// You can provide latency data with or without player session data. This option +// instructs Amazon GameLift to reorder the queue's prioritized locations list +// based on the latency data. If latency data is provided for multiple players, +// Amazon GameLift calculates each location's average latency for all players and +// reorders to find the lowest latency across all players. Don't include latency +// data if you're providing a custom list of locations. // -// - A unique ID (such as a UUID) for the placement. You use this ID to track -// the status of the placement request +// - Prioritize based on a custom list of locations. If you're using a queue +// that's configured to prioritize location first (see [PriorityConfiguration]for game session queues), +// use the PriorityConfigurationOverride parameter to substitute a different +// location list for this placement request. When prioritizing placements by +// location, Amazon GameLift searches each location in prioritized order to find an +// available hosting resource for the new game session. You can choose whether to +// use the override list for the first placement attempt only or for all attempts. // -// - (Optional) A set of player data and a unique player ID for each player that -// you are joining to the new game session (player data is optional, but if you -// include it, you must also provide a unique ID for each player) +// - You can request new player sessions for a group of players. Include the +// DesiredPlayerSessions parameter and include at minimum a unique player ID for +// each. You can also include player-specific data to pass to the new game session. // -// - Latency data for all players (if you want to optimize game play for the -// players) +// # Result // -// If successful, a new game session placement is created. +// If successful, this request generates a new game session placement request and +// adds it to the game session queue for Amazon GameLift to process in turn. You +// can track the status of individual placement requests by calling [DescribeGameSessionPlacement]. A new game +// session is running if the status is FULFILLED and the request returns the game +// session connection information (IP address and port). If you include player +// session data, Amazon GameLift creates a player session for each player ID in the +// request. // -// To track the status of a placement request, call [DescribeGameSessionPlacement] and check the request's -// status. If the status is FULFILLED , a new game session has been created and a -// game session ARN and Region are referenced. If the placement request times out, -// you can resubmit the request or retry it with a different queue. +// The request results in a BadRequestException in the following situations: +// +// - If the request includes both PlayerLatencies and +// PriorityConfigurationOverride parameters. +// +// - If the request includes the PriorityConfigurationOverride parameter and +// designates a queue doesn't prioritize locations. +// +// Amazon GameLift continues to retry each placement request until it reaches the +// queue's timeout setting. If a request times out, you can resubmit the request to +// the same queue or try a different queue. // // [DescribeGameSessionPlacement]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessionPlacement.html +// [PriorityConfiguration]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_PriorityConfiguration.html func (c *Client) StartGameSessionPlacement(ctx context.Context, params *StartGameSessionPlacementInput, optFns ...func(*Options)) (*StartGameSessionPlacementOutput, error) { if params == nil { params = &StartGameSessionPlacementInput{} @@ -109,11 +131,20 @@ type StartGameSessionPlacementInput struct { GameSessionName *string // A set of values, expressed in milliseconds, that indicates the amount of - // latency that a player experiences when connected to @aws; Regions. This - // information is used to try to place the new game session where it can offer the - // best possible gameplay experience for the players. + // latency that a player experiences when connected to Amazon Web Services Regions. + // This information is used to try to place the new game session where it can offer + // the best possible gameplay experience for the players. PlayerLatencies []types.PlayerLatency + // A prioritized list of locations to use for the game session placement and + // instructions on how to use it. This list overrides a queue's prioritized + // location list for this game session placement request only. You can include + // Amazon Web Services Regions, local zones, and custom locations (for Anywhere + // fleets). Choose a fallback strategy to instruct Amazon GameLift to use the + // override list for the first placement attempt only or for all placement + // attempts. + PriorityConfigurationOverride *types.PriorityConfigurationOverride + noSmithyDocumentSerde } diff --git a/service/gamelift/api_op_TerminateGameSession.go b/service/gamelift/api_op_TerminateGameSession.go index 3c01ebfd5d9..fe71207664e 100644 --- a/service/gamelift/api_op_TerminateGameSession.go +++ b/service/gamelift/api_op_TerminateGameSession.go @@ -11,40 +11,53 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Ends a game session that's currently in progress. You can use this action to -// terminate any game session that isn't in TERMINATED or TERMINATING status. -// Terminating a game session is the most efficient way to free up a server process -// when it's hosting a game session that's in a bad state or not ending naturally. -// You can use this action to terminate a game session that's being hosted on any -// type of Amazon GameLift fleet compute, including computes for managed EC2, -// managed container, and Anywhere fleets. +// Ends a game session that's currently in progress. Use this action to terminate +// any game session that isn't in ERROR status. Terminating a game session is the +// most efficient way to free up a server process when it's hosting a game session +// that's in a bad state or not ending properly. You can use this action to +// terminate a game session that's being hosted on any type of Amazon GameLift +// fleet compute, including computes for managed EC2, managed container, and +// Anywhere fleets. The game server must be integrated with Amazon GameLift server +// SDK 5.x or greater. // -// There are two potential methods for terminating a game session: +// # Request options // -// - With a graceful termination, the Amazon GameLift service prompts the server -// process to initiate its normal game session shutdown sequence. This sequence is -// implemented in the game server code and might involve a variety of actions to -// gracefully end a game session, such as notifying players, and stop the server -// process. +// Request termination for a single game session. Provide the game session ID and +// the termination mode. There are two potential methods for terminating a game +// session: // -// - With a forceful termination, the Amazon GameLift service takes immediate -// action to terminate the game session by stopping the server process. Termination -// occurs without the normal game session shutdown sequence. +// - Initiate a graceful termination using the normal game session shutdown +// sequence. With this mode, the Amazon GameLift service prompts the server process +// that's hosting the game session by calling the server SDK callback method +// OnProcessTerminate() . The callback implementation is part of the custom game +// server code. It might involve a variety of actions to gracefully end a game +// session, such as notifying players, before stopping the server process. // -// Request options -// -// - Request termination for a single game session. Provide the game session ID -// and the termination method. +// - Force an immediate game session termination. With this mode, the Amazon +// GameLift service takes action to stop the server process, which ends the game +// session without the normal game session shutdown sequence. // // # Results // -// If successful, game session termination is initiated, which includes changing -// the game session status to TERMINATING . As a result of this action, and -// depending on the implementation of OnProcessTerminate() , the server process -// either becomes available to host a new game session, or it's recycled and a new -// server process started with availability to host a game session. The game -// session status is changed to TERMINATED , with a status reason that indicates +// If successful, game session termination is initiated. During this activity, the +// game session status is changed to TERMINATING . When completed, the server +// process that was hosting the game session has been stopped and replaced with a +// new server process that's ready to host a new game session. The old game +// session's status is changed to TERMINATED with a status reason that indicates // the termination method used. +// +// # Learn more +// +// [Add Amazon GameLift to your game server] +// +// Amazon GameLift server SDK 5 reference guide for OnProcessTerminate() ([C++] ) ([C#] ) ([Unreal] +// ) ([Go] ) +// +// [C#]: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-server-sdk5-csharp-initsdk.html +// [C++]: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-server-sdk5-cpp-initsdk.html +// [Add Amazon GameLift to your game server]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html +// [Unreal]: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-server-sdk5-unreal-initsdk.html +// [Go]: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-server-sdk-go-initsdk.html func (c *Client) TerminateGameSession(ctx context.Context, params *TerminateGameSessionInput, optFns ...func(*Options)) (*TerminateGameSessionOutput, error) { if params == nil { params = &TerminateGameSessionInput{} @@ -70,16 +83,18 @@ type TerminateGameSessionInput struct { // The method to use to terminate the game session. Available methods include: // - // - TRIGGER_ON_PROCESS_TERMINATE – Sends an OnProcessTerminate() callback to the - // server process to initiate the normal game session shutdown sequence. At a - // minimum, the callback method must include a call to the server SDK action - // ProcessEnding() , which is how the server process signals that a game session - // is ending. If the server process doesn't call ProcessEnding() , this - // termination method won't be successful. + // - TRIGGER_ON_PROCESS_TERMINATE – Prompts the Amazon GameLift service to send + // an OnProcessTerminate() callback to the server process and initiate the normal + // game session shutdown sequence. The OnProcessTerminate method, which is + // implemented in the game server code, must include a call to the server SDK + // action ProcessEnding() , which is how the server process signals to Amazon + // GameLift that a game session is ending. If the server process doesn't call + // ProcessEnding() , the game session termination won't conclude successfully. // - // - FORCE_TERMINATE – Takes action to stop the server process, using existing - // methods to control how server processes run on an Amazon GameLift managed - // compute. + // - FORCE_TERMINATE – Prompts the Amazon GameLift service to stop the server + // process immediately. Amazon GameLift takes action (depending on the type of + // fleet) to shut down the server process without the normal game session shutdown + // sequence. // // This method is not available for game sessions that are running on Anywhere // fleets unless the fleet is deployed with the Amazon GameLift Agent. In this diff --git a/service/gamelift/deserializers.go b/service/gamelift/deserializers.go index 61162d3b3ed..d9a839d8814 100644 --- a/service/gamelift/deserializers.go +++ b/service/gamelift/deserializers.go @@ -11400,6 +11400,9 @@ func awsAwsjson11_deserializeOpErrorStartGameSessionPlacement(response *smithyht case strings.EqualFold("UnauthorizedException", errorCode): return awsAwsjson11_deserializeErrorUnauthorizedException(response, errorBody) + case strings.EqualFold("UnsupportedRegionException", errorCode): + return awsAwsjson11_deserializeErrorUnsupportedRegionException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16113,7 +16116,7 @@ func awsAwsjson11_deserializeDocumentContainerFleet(v **types.ContainerFleet, va if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ArnStringModel to be of type string, got %T instead", value) + return fmt.Errorf("expected IamRoleArn to be of type string, got %T instead", value) } sv.FleetRoleArn = ptr.String(jtv) } @@ -19722,6 +19725,11 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP sv.Port = ptr.Int32(int32(i64)) } + case "PriorityConfigurationOverride": + if err := awsAwsjson11_deserializeDocumentPriorityConfigurationOverride(&sv.PriorityConfigurationOverride, value); err != nil { + return err + } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -20997,6 +21005,42 @@ func awsAwsjson11_deserializeDocumentLocationModelList(v *[]types.LocationModel, return nil } +func awsAwsjson11_deserializeDocumentLocationOrderOverrideList(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LocationStringModel to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsAwsjson11_deserializeDocumentLocationState(v **types.LocationState, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -22636,6 +22680,51 @@ func awsAwsjson11_deserializeDocumentPriorityConfiguration(v **types.PriorityCon return nil } +func awsAwsjson11_deserializeDocumentPriorityConfigurationOverride(v **types.PriorityConfigurationOverride, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.PriorityConfigurationOverride + if *v == nil { + sv = &types.PriorityConfigurationOverride{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "LocationOrder": + if err := awsAwsjson11_deserializeDocumentLocationOrderOverrideList(&sv.LocationOrder, value); err != nil { + return err + } + + case "PlacementFallbackStrategy": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PlacementFallbackStrategy to be of type string, got %T instead", value) + } + sv.PlacementFallbackStrategy = types.PlacementFallbackStrategy(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentPriorityTypeList(v *[]types.PriorityType, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/gamelift/serializers.go b/service/gamelift/serializers.go index 918b23be144..435a442185b 100644 --- a/service/gamelift/serializers.go +++ b/service/gamelift/serializers.go @@ -7937,6 +7937,17 @@ func awsAwsjson11_serializeDocumentLocationList(v []string, value smithyjson.Val return nil } +func awsAwsjson11_serializeDocumentLocationOrderOverrideList(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsAwsjson11_serializeDocumentLogConfiguration(v *types.LogConfiguration, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -8228,6 +8239,25 @@ func awsAwsjson11_serializeDocumentPriorityConfiguration(v *types.PriorityConfig return nil } +func awsAwsjson11_serializeDocumentPriorityConfigurationOverride(v *types.PriorityConfigurationOverride, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.LocationOrder != nil { + ok := object.Key("LocationOrder") + if err := awsAwsjson11_serializeDocumentLocationOrderOverrideList(v.LocationOrder, ok); err != nil { + return err + } + } + + if len(v.PlacementFallbackStrategy) > 0 { + ok := object.Key("PlacementFallbackStrategy") + ok.String(string(v.PlacementFallbackStrategy)) + } + + return nil +} + func awsAwsjson11_serializeDocumentPriorityTypeList(v []types.PriorityType, value smithyjson.Value) error { array := value.Array() defer array.Close() @@ -11068,6 +11098,13 @@ func awsAwsjson11_serializeOpDocumentStartGameSessionPlacementInput(v *StartGame } } + if v.PriorityConfigurationOverride != nil { + ok := object.Key("PriorityConfigurationOverride") + if err := awsAwsjson11_serializeDocumentPriorityConfigurationOverride(v.PriorityConfigurationOverride, ok); err != nil { + return err + } + } + return nil } diff --git a/service/gamelift/types/enums.go b/service/gamelift/types/enums.go index dfa31225a24..ccb1a17dcde 100644 --- a/service/gamelift/types/enums.go +++ b/service/gamelift/types/enums.go @@ -1686,6 +1686,25 @@ func (OperatingSystem) Values() []OperatingSystem { } } +type PlacementFallbackStrategy string + +// Enum values for PlacementFallbackStrategy +const ( + PlacementFallbackStrategyDefaultAfterSinglePass PlacementFallbackStrategy = "DEFAULT_AFTER_SINGLE_PASS" + PlacementFallbackStrategyNone PlacementFallbackStrategy = "NONE" +) + +// Values returns all known values for PlacementFallbackStrategy. Note that this +// can be expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (PlacementFallbackStrategy) Values() []PlacementFallbackStrategy { + return []PlacementFallbackStrategy{ + "DEFAULT_AFTER_SINGLE_PASS", + "NONE", + } +} + type PlayerSessionCreationPolicy string // Enum values for PlayerSessionCreationPolicy diff --git a/service/gamelift/types/types.go b/service/gamelift/types/types.go index aa6d1965032..e46fbc85f2d 100644 --- a/service/gamelift/types/types.go +++ b/service/gamelift/types/types.go @@ -1152,9 +1152,10 @@ type Event struct { } // A list of fleet locations where a game session queue can place new game -// sessions. You can use a filter to temporarily turn off placements for specific -// locations. For queues that have multi-location fleets, you can use a filter -// configuration allow placement with some, but not all of these locations. +// sessions. You can use a filter to temporarily exclude specific locations from +// receiving placements. For queues that have multi-location fleets, you can use a +// filter configuration allow placement with some, but not all, of a fleet's +// locations. type FilterConfiguration struct { // A list of locations to allow game session placement in, in the form of Amazon @@ -2163,7 +2164,7 @@ type GameSessionDetail struct { // not active and ready to accept players until placement status reaches FULFILLED // . When the placement is in PENDING status, Amazon GameLift may attempt to place // a game session multiple times before succeeding. With each attempt it creates a [https://docs.aws.amazon.com/gamelift/latest/apireference/API_GameSession] -// object and updates this placement object with the new game session properties.. +// object and updates this placement object with the new game session properties. // // [https://docs.aws.amazon.com/gamelift/latest/apireference/API_GameSession]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_GameSession type GameSessionPlacement struct { @@ -2245,7 +2246,7 @@ type GameSessionPlacement struct { PlacementId *string // A set of values, expressed in milliseconds, that indicates the amount of - // latency that a player experiences when connected to @aws; Regions. + // latency that a player experiences when connected to Amazon Web Services Regions. PlayerLatencies []PlayerLatency // The port number for the game session. To connect to a Amazon GameLift game @@ -2253,6 +2254,15 @@ type GameSessionPlacement struct { // until placement status is FULFILLED . Port *int32 + // A prioritized list of locations to use with a game session placement request + // and instructions on how to use it. This list overrides a queue's prioritized + // location list for a single game session placement request only. The list can + // include Amazon Web Services Regions, local zones, and custom locations (for + // Anywhere fleets). The fallback strategy instructs Amazon GameLift to use the + // override list for the first placement attempt only or for all placement + // attempts. + PriorityConfigurationOverride *PriorityConfigurationOverride + // Time stamp indicating when this request was placed in the queue. Format is a // number expressed in Unix time as milliseconds (for example "1469498468.057" ). StartTime *time.Time @@ -2997,9 +3007,9 @@ type PlacedPlayerSession struct { type Player struct { // A set of values, expressed in milliseconds, that indicates the amount of - // latency that a player experiences when connected to @aws; Regions. If this - // property is present, FlexMatch considers placing the match only in Regions for - // which latency is reported. + // latency that a player experiences when connected to Amazon Web Services Regions. + // If this property is present, FlexMatch considers placing the match only in + // Regions for which latency is reported. // // If a matchmaker has a rule that evaluates player latency, players must report // latency in order to be matched. If no latency is reported in this scenario, @@ -3152,52 +3162,99 @@ type PlayerSession struct { noSmithyDocumentSerde } -// Custom prioritization settings for use by a game session queue when placing new -// game sessions with available game servers. When defined, this configuration -// replaces the default FleetIQ prioritization process, which is as follows: +// Custom prioritization settings for a game session queue to use when searching +// for available game servers to place new game sessions. This configuration +// replaces the default FleetIQ prioritization process. // -// - If player latency data is included in a game session request, destinations -// and locations are prioritized first based on lowest average latency (1), then on -// lowest hosting cost (2), then on destination list order (3), and finally on -// location (alphabetical) (4). This approach ensures that the queue's top priority -// is to place game sessions where average player latency is lowest, and--if -// latency is the same--where the hosting cost is less, etc. +// By default, a queue makes placements based on the following default +// prioritizations: // -// - If player latency data is not included, destinations and locations are -// prioritized first on destination list order (1), and then on location -// (alphabetical) (2). This approach ensures that the queue's top priority is to -// place game sessions on the first destination fleet listed. If that fleet has -// multiple locations, the game session is placed on the first location (when -// listed alphabetically). +// - If player latency data is included in a game session request, Amazon +// GameLift prioritizes placing game sessions where the average player latency is +// lowest. Amazon GameLift re-orders the queue's destinations and locations (for +// multi-location fleets) based on the following priorities: (1) the lowest average +// latency across all players, (2) the lowest hosting cost, (3) the queue's default +// destination order, and then (4), an alphabetic list of locations. // -// Changing the priority order will affect how game sessions are placed. +// - If player latency data is not included, Amazon GameLift prioritizes placing +// game sessions in the queue's first destination. If that fleet has multiple +// locations, the game session is placed on the first location (when listed +// alphabetically). Amazon GameLift re-orders the queue's destinations and +// locations (for multi-location fleets) based on the following priorities: (1) the +// queue's default destination order, and then (2) an alphabetic list of locations. type PriorityConfiguration struct { // The prioritization order to use for fleet locations, when the PriorityOrder - // property includes LOCATION . Locations are identified by Amazon Web Services - // Region codes such as us-west-2 . Each location can only be listed once. + // property includes LOCATION . Locations can include Amazon Web Services Region + // codes (such as us-west-2 ), local zones, and custom locations (for Anywhere + // fleets). Each location must be listed only once. For details, see [Amazon GameLift service locations.] + // + // [Amazon GameLift service locations.]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html LocationOrder []string - // The recommended sequence to use when prioritizing where to place new game - // sessions. Each type can only be listed once. + // A custom sequence to use when prioritizing where to place new game sessions. + // Each priority type is listed once. // - // - LATENCY -- FleetIQ prioritizes locations where the average player latency - // (provided in each game session request) is lowest. + // - LATENCY -- Amazon GameLift prioritizes locations where the average player + // latency is lowest. Player latency data is provided in each game session + // placement request. // - // - COST -- FleetIQ prioritizes destinations with the lowest current hosting - // costs. Cost is evaluated based on the location, instance type, and fleet type - // (Spot or On-Demand) for each destination in the queue. + // - COST -- Amazon GameLift prioritizes destinations with the lowest current + // hosting costs. Cost is evaluated based on the location, instance type, and fleet + // type (Spot or On-Demand) of each destination in the queue. // - // - DESTINATION -- FleetIQ prioritizes based on the order that destinations are - // listed in the queue configuration. + // - DESTINATION -- Amazon GameLift prioritizes based on the list order of + // destinations in the queue configuration. // - // - LOCATION -- FleetIQ prioritizes based on the provided order of locations, as - // defined in LocationOrder . + // - LOCATION -- Amazon GameLift prioritizes based on the provided order of + // locations, as defined in LocationOrder . PriorityOrder []PriorityType noSmithyDocumentSerde } +// An alternate list of prioritized locations for use with a game session queue. +// When this property is included in a [StartGameSessionPlacement]request, this list overrides the queue's +// default location prioritization, as defined in the queue's PriorityConfigurationsetting +// (LocationOrder). This property overrides the queue's default priority list for +// individual placement requests only. Use this property only with queues that have +// a PriorityConfiguration setting that prioritizes first. +// +// A priority configuration override list does not override a queue's +// FilterConfiguration setting, if the queue has one. Filter configurations are +// used to limit placements to a subset of the locations in a queue's destinations. +// If the override list includes a location that's not included in the +// FilterConfiguration allowed list, Amazon GameLift won't attempt to place a game +// session there. +// +// [StartGameSessionPlacement]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartGameSessionPlacement.html +type PriorityConfigurationOverride struct { + + // A prioritized list of hosting locations. The list can include Amazon Web + // Services Regions (such as us-west-2 ), local zones, and custom locations (for + // Anywhere fleets). Each location must be listed only once. For details, see [Amazon GameLift service locations.] + // + // [Amazon GameLift service locations.]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html + // + // This member is required. + LocationOrder []string + + // Instructions for how to use the override list if the first round of placement + // attempts fails. The first round is a failure if Amazon GameLift searches all + // listed locations, in all of the queue's destinations, without finding an + // available hosting resource for a new game session. Valid strategies include: + // + // - DEFAULT_AFTER_SINGLE_PASS -- After the first round of placement attempts, + // discard the override list and use the queue's default location priority list. + // Continue to use the queue's default list until the placement request times out. + // + // - NONE -- Continue to use the override list for all rounds of placement + // attempts until the placement request times out. + PlacementFallbackStrategy PlacementFallbackStrategy + + noSmithyDocumentSerde +} + // A policy that puts limits on the number of game sessions that a player can // create within a specified span of time. With this policy, you can control // players' ability to consume available resources. diff --git a/service/gamelift/validators.go b/service/gamelift/validators.go index 19cbc72a841..1c17b0392e5 100644 --- a/service/gamelift/validators.go +++ b/service/gamelift/validators.go @@ -2738,6 +2738,21 @@ func validateLocationConfigurationList(v []types.LocationConfiguration) error { } } +func validatePriorityConfigurationOverride(v *types.PriorityConfigurationOverride) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "PriorityConfigurationOverride"} + if v.LocationOrder == nil { + invalidParams.Add(smithy.NewErrParamRequired("LocationOrder")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateRuntimeConfiguration(v *types.RuntimeConfiguration) error { if v == nil { return nil @@ -4249,6 +4264,11 @@ func validateOpStartGameSessionPlacementInput(v *StartGameSessionPlacementInput) if v.MaximumPlayerSessionCount == nil { invalidParams.Add(smithy.NewErrParamRequired("MaximumPlayerSessionCount")) } + if v.PriorityConfigurationOverride != nil { + if err := validatePriorityConfigurationOverride(v.PriorityConfigurationOverride); err != nil { + invalidParams.AddNested("PriorityConfigurationOverride", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/internetmonitor/internal/endpoints/endpoints.go b/service/internetmonitor/internal/endpoints/endpoints.go index f38151c54db..6661ee90730 100644 --- a/service/internetmonitor/internal/endpoints/endpoints.go +++ b/service/internetmonitor/internal/endpoints/endpoints.go @@ -413,6 +413,11 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "internetmonitor.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{ + Hostname: "internetmonitor.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{ diff --git a/service/kendraranking/internal/endpoints/endpoints.go b/service/kendraranking/internal/endpoints/endpoints.go index 5a1debd3b5f..f9868091e44 100644 --- a/service/kendraranking/internal/endpoints/endpoints.go +++ b/service/kendraranking/internal/endpoints/endpoints.go @@ -265,6 +265,11 @@ var defaultPartitions = endpoints.Partitions{ }: endpoints.Endpoint{ Hostname: "kendra-ranking.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{ + Hostname: "kendra-ranking.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{ diff --git a/service/kinesis/internal/endpoints/endpoints.go b/service/kinesis/internal/endpoints/endpoints.go index 1ba7f4616b8..7ce48678942 100644 --- a/service/kinesis/internal/endpoints/endpoints.go +++ b/service/kinesis/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/kms/internal/endpoints/endpoints.go b/service/kms/internal/endpoints/endpoints.go index fd818b66260..706d1dd418c 100644 --- a/service/kms/internal/endpoints/endpoints.go +++ b/service/kms/internal/endpoints/endpoints.go @@ -616,6 +616,24 @@ var defaultPartitions = endpoints.Partitions{ }, Deprecated: aws.TrueTernary, }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "kms-fips.mx-central-1.amazonaws.com", + }, + endpoints.EndpointKey{ + Region: "mx-central-1-fips", + }: endpoints.Endpoint{ + Hostname: "kms-fips.mx-central-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "mx-central-1", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/lambda/internal/endpoints/endpoints.go b/service/lambda/internal/endpoints/endpoints.go index 1f7096ec81b..18443a56e63 100644 --- a/service/lambda/internal/endpoints/endpoints.go +++ b/service/lambda/internal/endpoints/endpoints.go @@ -409,6 +409,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "lambda.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "lambda.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/neptune/internal/endpoints/endpoints.go b/service/neptune/internal/endpoints/endpoints.go index f788602ea39..9297c27c6dc 100644 --- a/service/neptune/internal/endpoints/endpoints.go +++ b/service/neptune/internal/endpoints/endpoints.go @@ -247,6 +247,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "rds-fips.ca-central-1", }: endpoints.Endpoint{ diff --git a/service/notifications/internal/endpoints/endpoints.go b/service/notifications/internal/endpoints/endpoints.go index 537dc09f2af..b3d65e23f4b 100644 --- a/service/notifications/internal/endpoints/endpoints.go +++ b/service/notifications/internal/endpoints/endpoints.go @@ -269,6 +269,11 @@ var defaultPartitions = endpoints.Partitions{ }: endpoints.Endpoint{ Hostname: "notifications.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{ + Hostname: "notifications.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{ diff --git a/service/oam/internal/endpoints/endpoints.go b/service/oam/internal/endpoints/endpoints.go index 035ce844aa5..1dd23906780 100644 --- a/service/oam/internal/endpoints/endpoints.go +++ b/service/oam/internal/endpoints/endpoints.go @@ -217,6 +217,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/opensearch/internal/endpoints/endpoints.go b/service/opensearch/internal/endpoints/endpoints.go index 534675307ae..78c318f779e 100644 --- a/service/opensearch/internal/endpoints/endpoints.go +++ b/service/opensearch/internal/endpoints/endpoints.go @@ -382,6 +382,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "aos.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "aos.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/opensearchserverless/internal/endpoints/endpoints.go b/service/opensearchserverless/internal/endpoints/endpoints.go index 97988278a68..d1d3b2e2cc6 100644 --- a/service/opensearchserverless/internal/endpoints/endpoints.go +++ b/service/opensearchserverless/internal/endpoints/endpoints.go @@ -139,6 +139,9 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.Aws, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "ap-east-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-northeast-1", }: endpoints.Endpoint{}, @@ -163,6 +166,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "eu-central-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-north-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, diff --git a/service/pi/internal/endpoints/endpoints.go b/service/pi/internal/endpoints/endpoints.go index 90ff6b55bea..6a2b0c40cd6 100644 --- a/service/pi/internal/endpoints/endpoints.go +++ b/service/pi/internal/endpoints/endpoints.go @@ -533,6 +533,18 @@ var defaultPartitions = endpoints.Partitions{ Hostname: "pi.me-south-1.api.aws", Protocols: []string{"https"}, }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{ + Protocols: []string{"https"}, + }, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "pi.mx-central-1.api.aws", + Protocols: []string{"https"}, + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{ diff --git a/service/qbusiness/internal/endpoints/endpoints.go b/service/qbusiness/internal/endpoints/endpoints.go index 40152c7ce1f..726caa120b1 100644 --- a/service/qbusiness/internal/endpoints/endpoints.go +++ b/service/qbusiness/internal/endpoints/endpoints.go @@ -269,6 +269,11 @@ var defaultPartitions = endpoints.Partitions{ }: endpoints.Endpoint{ Hostname: "qbusiness.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{ + Hostname: "qbusiness.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{ diff --git a/service/ram/internal/endpoints/endpoints.go b/service/ram/internal/endpoints/endpoints.go index f1007585ed2..528cb311fda 100644 --- a/service/ram/internal/endpoints/endpoints.go +++ b/service/ram/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/rbin/internal/endpoints/endpoints.go b/service/rbin/internal/endpoints/endpoints.go index 295df1d5250..4da42ba6a8d 100644 --- a/service/rbin/internal/endpoints/endpoints.go +++ b/service/rbin/internal/endpoints/endpoints.go @@ -445,6 +445,9 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "rbin.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/rds/internal/endpoints/endpoints.go b/service/rds/internal/endpoints/endpoints.go index b92a391e6a7..035b3f9bbe7 100644 --- a/service/rds/internal/endpoints/endpoints.go +++ b/service/rds/internal/endpoints/endpoints.go @@ -247,6 +247,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "rds-fips.ca-central-1", }: endpoints.Endpoint{ diff --git a/service/redshift/internal/endpoints/endpoints.go b/service/redshift/internal/endpoints/endpoints.go index 0dc4f9aef7e..60eda87cd34 100644 --- a/service/redshift/internal/endpoints/endpoints.go +++ b/service/redshift/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/resourcegroups/internal/endpoints/endpoints.go b/service/resourcegroups/internal/endpoints/endpoints.go index 0b87a70696c..37956a498d6 100644 --- a/service/resourcegroups/internal/endpoints/endpoints.go +++ b/service/resourcegroups/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/resourcegroupstaggingapi/internal/endpoints/endpoints.go b/service/resourcegroupstaggingapi/internal/endpoints/endpoints.go index 3e972ba7fa4..511bdf3c087 100644 --- a/service/resourcegroupstaggingapi/internal/endpoints/endpoints.go +++ b/service/resourcegroupstaggingapi/internal/endpoints/endpoints.go @@ -217,6 +217,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/route53/types/enums.go b/service/route53/types/enums.go index a94c9908151..185357c71cd 100644 --- a/service/route53/types/enums.go +++ b/service/route53/types/enums.go @@ -127,6 +127,7 @@ const ( CloudWatchRegionIlCentral1 CloudWatchRegion = "il-central-1" CloudWatchRegionCaWest1 CloudWatchRegion = "ca-west-1" CloudWatchRegionApSoutheast5 CloudWatchRegion = "ap-southeast-5" + CloudWatchRegionMxCentral1 CloudWatchRegion = "mx-central-1" CloudWatchRegionApSoutheast7 CloudWatchRegion = "ap-southeast-7" ) @@ -173,6 +174,7 @@ func (CloudWatchRegion) Values() []CloudWatchRegion { "il-central-1", "ca-west-1", "ap-southeast-5", + "mx-central-1", "ap-southeast-7", } } @@ -398,6 +400,7 @@ const ( ResourceRecordSetRegionIlCentral1 ResourceRecordSetRegion = "il-central-1" ResourceRecordSetRegionCaWest1 ResourceRecordSetRegion = "ca-west-1" ResourceRecordSetRegionApSoutheast5 ResourceRecordSetRegion = "ap-southeast-5" + ResourceRecordSetRegionMxCentral1 ResourceRecordSetRegion = "mx-central-1" ResourceRecordSetRegionApSoutheast7 ResourceRecordSetRegion = "ap-southeast-7" ) @@ -439,6 +442,7 @@ func (ResourceRecordSetRegion) Values() []ResourceRecordSetRegion { "il-central-1", "ca-west-1", "ap-southeast-5", + "mx-central-1", "ap-southeast-7", } } @@ -595,6 +599,7 @@ const ( VPCRegionIlCentral1 VPCRegion = "il-central-1" VPCRegionCaWest1 VPCRegion = "ca-west-1" VPCRegionApSoutheast5 VPCRegion = "ap-southeast-5" + VPCRegionMxCentral1 VPCRegion = "mx-central-1" VPCRegionApSoutheast7 VPCRegion = "ap-southeast-7" ) @@ -641,6 +646,7 @@ func (VPCRegion) Values() []VPCRegion { "il-central-1", "ca-west-1", "ap-southeast-5", + "mx-central-1", "ap-southeast-7", } } diff --git a/service/route53resolver/internal/endpoints/endpoints.go b/service/route53resolver/internal/endpoints/endpoints.go index a3c74b77467..aaa02df5b18 100644 --- a/service/route53resolver/internal/endpoints/endpoints.go +++ b/service/route53resolver/internal/endpoints/endpoints.go @@ -247,6 +247,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/s3/internal/endpoints/endpoints.go b/service/s3/internal/endpoints/endpoints.go index e4b40a9ea58..8b5f10fd8f4 100644 --- a/service/s3/internal/endpoints/endpoints.go +++ b/service/s3/internal/endpoints/endpoints.go @@ -478,6 +478,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "s3.dualstack.me-south-1.amazonaws.com", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "s3.dualstack.mx-central-1.amazonaws.com", + }, endpoints.EndpointKey{ Region: "s3-external-1", }: endpoints.Endpoint{ diff --git a/service/s3control/internal/endpoints/s3/endpoints.go b/service/s3control/internal/endpoints/s3/endpoints.go index 50c2b3eab2d..c07bcca80fd 100644 --- a/service/s3control/internal/endpoints/s3/endpoints.go +++ b/service/s3control/internal/endpoints/s3/endpoints.go @@ -476,6 +476,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "s3.dualstack.me-south-1.amazonaws.com", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "s3.dualstack.mx-central-1.amazonaws.com", + }, endpoints.EndpointKey{ Region: "s3-external-1", }: endpoints.Endpoint{ diff --git a/service/secretsmanager/internal/endpoints/endpoints.go b/service/secretsmanager/internal/endpoints/endpoints.go index a3527d55eec..3e806edc188 100644 --- a/service/secretsmanager/internal/endpoints/endpoints.go +++ b/service/secretsmanager/internal/endpoints/endpoints.go @@ -347,6 +347,13 @@ var defaultPartitions = endpoints.Partitions{ Region: "me-south-1", Variant: endpoints.DualStackVariant, }: {}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: {}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/servicediscovery/internal/endpoints/endpoints.go b/service/servicediscovery/internal/endpoints/endpoints.go index a88dbcb9a08..0b64b9931c8 100644 --- a/service/servicediscovery/internal/endpoints/endpoints.go +++ b/service/servicediscovery/internal/endpoints/endpoints.go @@ -415,6 +415,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "servicediscovery.me-south-1.api.aws", }, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "servicediscovery.mx-central-1.api.aws", + }, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/servicequotas/internal/endpoints/endpoints.go b/service/servicequotas/internal/endpoints/endpoints.go index fdaab9b7eb9..9d59e8fe661 100644 --- a/service/servicequotas/internal/endpoints/endpoints.go +++ b/service/servicequotas/internal/endpoints/endpoints.go @@ -217,6 +217,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/sfn/internal/endpoints/endpoints.go b/service/sfn/internal/endpoints/endpoints.go index 616092c1a09..81f4f3e0e3a 100644 --- a/service/sfn/internal/endpoints/endpoints.go +++ b/service/sfn/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/sns/internal/endpoints/endpoints.go b/service/sns/internal/endpoints/endpoints.go index b87fab80d41..a6cd27bd479 100644 --- a/service/sns/internal/endpoints/endpoints.go +++ b/service/sns/internal/endpoints/endpoints.go @@ -268,6 +268,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/sqs/internal/endpoints/endpoints.go b/service/sqs/internal/endpoints/endpoints.go index b6e0c25f77d..5aa3a05693b 100644 --- a/service/sqs/internal/endpoints/endpoints.go +++ b/service/sqs/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/ssm/internal/endpoints/endpoints.go b/service/ssm/internal/endpoints/endpoints.go index 2e3e044b3aa..700fc21eb5d 100644 --- a/service/ssm/internal/endpoints/endpoints.go +++ b/service/ssm/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/sts/internal/endpoints/endpoints.go b/service/sts/internal/endpoints/endpoints.go index ca31e7da75e..4e07994d04f 100644 --- a/service/sts/internal/endpoints/endpoints.go +++ b/service/sts/internal/endpoints/endpoints.go @@ -225,6 +225,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/swf/internal/endpoints/endpoints.go b/service/swf/internal/endpoints/endpoints.go index 3df0ee270a4..5f2920cf3cb 100644 --- a/service/swf/internal/endpoints/endpoints.go +++ b/service/swf/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/synthetics/internal/endpoints/endpoints.go b/service/synthetics/internal/endpoints/endpoints.go index f53e8023a43..75000b0a31a 100644 --- a/service/synthetics/internal/endpoints/endpoints.go +++ b/service/synthetics/internal/endpoints/endpoints.go @@ -283,6 +283,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/xray/internal/endpoints/endpoints.go b/service/xray/internal/endpoints/endpoints.go index 2fac3c18fc8..f3c1a9091be 100644 --- a/service/xray/internal/endpoints/endpoints.go +++ b/service/xray/internal/endpoints/endpoints.go @@ -253,6 +253,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "mx-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{},