From 525486a4cfa9b8364ea5346a526dd1f92d3edc76 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Mon, 21 Aug 2023 18:03:24 +0000 Subject: [PATCH] Update API model --- codegen/sdk-codegen/aws-models/cloud9.json | 524 +++++++++------ codegen/sdk-codegen/aws-models/ec2.json | 28 +- codegen/sdk-codegen/aws-models/finspace.json | 606 ++++++++++++------ codegen/sdk-codegen/aws-models/rds.json | 130 +++- .../aws-models/route-53-domains.json | 4 +- 5 files changed, 875 insertions(+), 417 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/cloud9.json b/codegen/sdk-codegen/aws-models/cloud9.json index 709acb86ff5..f88172a1689 100644 --- a/codegen/sdk-codegen/aws-models/cloud9.json +++ b/codegen/sdk-codegen/aws-models/cloud9.json @@ -147,52 +147,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -200,13 +204,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -216,224 +229,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://cloud9-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://cloud9-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, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cloud9-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://cloud9-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, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cloud9.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://cloud9.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://cloud9.{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://cloud9.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1153,6 +1117,23 @@ ], "traits": { "smithy.api#documentation": "

Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and\n then connects from the instance to the environment.

", + "smithy.api#examples": [ + { + "title": "CreateEnvironmentEC2", + "documentation": "", + "input": { + "name": "my-demo-environment", + "description": "This is my demonstration environment.", + "instanceType": "t2.micro", + "subnetId": "subnet-6300cd1b", + "automaticStopTimeMinutes": 60, + "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser" + }, + "output": { + "environmentId": "8d9967e2f0624182b74e7690ad69ebEX" + } + } + ], "smithy.api#idempotent": {} } }, @@ -1279,6 +1260,25 @@ ], "traits": { "smithy.api#documentation": "

Adds an environment member to an Cloud9 development environment.

", + "smithy.api#examples": [ + { + "title": "CreateEnvironmentMembership", + "documentation": "", + "input": { + "environmentId": "8d9967e2f0624182b74e7690ad69ebEX", + "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser", + "permissions": "read-write" + }, + "output": { + "membership": { + "environmentId": "8d9967e2f0624182b74e7690ad69ebEX", + "permissions": "read-write", + "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser", + "userId": "AIDAJ3BA6O2FMJWCWXHEX" + } + } + } + ], "smithy.api#idempotent": {} } }, @@ -1359,6 +1359,16 @@ ], "traits": { "smithy.api#documentation": "

Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the\n environment, also terminates the instance.

", + "smithy.api#examples": [ + { + "title": "DeleteEnvironment", + "documentation": "", + "input": { + "environmentId": "8d9967e2f0624182b74e7690ad69ebEX" + }, + "output": {} + } + ], "smithy.api#idempotent": {} } }, @@ -1395,6 +1405,17 @@ ], "traits": { "smithy.api#documentation": "

Deletes an environment member from a development environment.

", + "smithy.api#examples": [ + { + "title": "DeleteEnvironmentMembership", + "documentation": "", + "input": { + "environmentId": "8d9967e2f0624182b74e7690ad69ebEX", + "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser" + }, + "output": {} + } + ], "smithy.api#idempotent": {} } }, @@ -1482,6 +1503,31 @@ ], "traits": { "smithy.api#documentation": "

Gets information about environment members for an Cloud9 development environment.

", + "smithy.api#examples": [ + { + "title": "DescribeEnvironmentMemberships1", + "documentation": "The following example gets information about all of the environment members for the specified development environment.", + "input": { + "environmentId": "8d9967e2f0624182b74e7690ad69ebEX" + }, + "output": { + "memberships": [ + { + "environmentId": "8d9967e2f0624182b74e7690ad69ebEX", + "permissions": "read-write", + "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser", + "userId": "AIDAJ3BA6O2FMJWCWXHEX" + }, + { + "environmentId": "8d9967e2f0624182b74e7690ad69ebEX", + "permissions": "owner", + "userArn": "arn:aws:iam::123456789012:user/MyDemoUser", + "userId": "AIDAJNUEDQAQWFELJDLEX" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -1579,7 +1625,20 @@ } ], "traits": { - "smithy.api#documentation": "

Gets status information for an Cloud9 development environment.

" + "smithy.api#documentation": "

Gets status information for an Cloud9 development environment.

", + "smithy.api#examples": [ + { + "title": "DescribeEnvironmentStatus", + "documentation": "", + "input": { + "environmentId": "8d9967e2f0624182b74e7690ad69ebEX" + }, + "output": { + "status": "ready", + "message": "Environment is ready to use" + } + } + ] } }, "com.amazonaws.cloud9#DescribeEnvironmentStatusRequest": { @@ -1651,7 +1710,45 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about Cloud9 development environments.

" + "smithy.api#documentation": "

Gets information about Cloud9 development environments.

", + "smithy.api#examples": [ + { + "title": "DescribeEnvironments", + "documentation": "", + "input": { + "environmentIds": [ + "8d9967e2f0624182b74e7690ad69ebEX", + "349c86d4579e4e7298d500ff57a6b2EX" + ] + }, + "output": { + "environments": [ + { + "arn": "arn:aws:cloud9:us-east-2:123456789012:environment:8d9967e2f0624182b74e7690ad69ebEX", + "description": "This is my demonstration environment.", + "id": "8d9967e2f0624182b74e7690ad69ebEX", + "name": "my-demo-environment", + "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser", + "lifecycle": { + "status": "CREATED" + }, + "type": "ec2" + }, + { + "arn": "arn:aws:cloud9:us-east-2:123456789012:environment:349c86d4579e4e7298d500ff57a6b2EX", + "description": "", + "id": "349c86d4579e4e7298d500ff57a6b2EX", + "name": "another-demo-environment", + "ownerArn": "arn:aws:sts::123456789012:assumed-role/AnotherDemoUser/AnotherDemoUser", + "lifecycle": { + "status": "CREATED" + }, + "type": "ssh" + } + ] + } + } + ] } }, "com.amazonaws.cloud9#DescribeEnvironmentsRequest": { @@ -2085,6 +2182,18 @@ ], "traits": { "smithy.api#documentation": "

Gets a list of Cloud9 development environment identifiers.

", + "smithy.api#examples": [ + { + "title": "ListEnvironments", + "documentation": "", + "output": { + "environmentIds": [ + "349c86d4579e4e7298d500ff57a6b2EX", + "45a3da47af0840f2b0c0824f5ee232EX" + ] + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -2600,6 +2709,18 @@ ], "traits": { "smithy.api#documentation": "

Changes the settings of an existing Cloud9 development environment.

", + "smithy.api#examples": [ + { + "title": "UpdateEnvironment", + "documentation": "", + "input": { + "environmentId": "8d9967e2f0624182b74e7690ad69ebEX", + "name": "my-changed-demo-environment", + "description": "This is my changed demonstration environment." + }, + "output": {} + } + ], "smithy.api#idempotent": {} } }, @@ -2636,6 +2757,25 @@ ], "traits": { "smithy.api#documentation": "

Changes the settings of an existing environment member for an Cloud9 development\n environment.

", + "smithy.api#examples": [ + { + "title": "UpdateEnvironmentMembership", + "documentation": "", + "input": { + "environmentId": "8d9967e2f0624182b74e7690ad69ebEX", + "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser", + "permissions": "read-only" + }, + "output": { + "membership": { + "environmentId": "8d9967e2f0624182b74e7690ad69eb31", + "permissions": "read-only", + "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser", + "userId": "AIDAJ3BA6O2FMJWCWXHEX" + } + } + } + ], "smithy.api#idempotent": {} } }, diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 81bcef349e4..1ebc6b58fbb 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -22563,7 +22563,7 @@ "target": "com.amazonaws.ec2#DeleteKeyPairRequest" }, "output": { - "target": "smithy.api#Unit" + "target": "com.amazonaws.ec2#DeleteKeyPairResult" }, "traits": { "smithy.api#documentation": "

Deletes the specified key pair, by removing the public key from Amazon EC2.

", @@ -22608,6 +22608,32 @@ "smithy.api#input": {} } }, + "com.amazonaws.ec2#DeleteKeyPairResult": { + "type": "structure", + "members": { + "Return": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "aws.protocols#ec2QueryName": "Return", + "smithy.api#clientOptional": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

Is true if the request succeeds, and an error otherwise.

", + "smithy.api#xmlName": "return" + } + }, + "KeyPairId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "KeyPairId", + "smithy.api#documentation": "

The ID of the key pair.

", + "smithy.api#xmlName": "keyPairId" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.ec2#DeleteLaunchTemplate": { "type": "operation", "input": { diff --git a/codegen/sdk-codegen/aws-models/finspace.json b/codegen/sdk-codegen/aws-models/finspace.json index 28ffec5348b..8e943529a2d 100644 --- a/codegen/sdk-codegen/aws-models/finspace.json +++ b/codegen/sdk-codegen/aws-models/finspace.json @@ -210,52 +210,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -263,13 +267,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -279,224 +292,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://finspace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://finspace-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, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://finspace-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://finspace-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, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://finspace.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://finspace.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://finspace.{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://finspace.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -870,7 +834,11 @@ }, "com.amazonaws.finspace#AccessDeniedException": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.finspace#ErrorMessage2" + } + }, "traits": { "smithy.api#documentation": "

You do not have sufficient access to perform this action.

", "smithy.api#error": "client", @@ -979,7 +947,7 @@ } }, "traits": { - "smithy.api#documentation": "

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, number of instances, and the port used while establishing a connection.

" + "smithy.api#documentation": "

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.

" } }, "com.amazonaws.finspace#ChangeRequest": { @@ -1505,7 +1473,7 @@ "capacityConfiguration": { "target": "com.amazonaws.finspace#CapacityConfiguration", "traits": { - "smithy.api#documentation": "

A structure for the metadata of a cluster. It includes information about like the CPUs needed, memory of instances, number of instances, and the port used while establishing a connection.

", + "smithy.api#documentation": "

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.

", "smithy.api#required": {} } }, @@ -1636,7 +1604,7 @@ "capacityConfiguration": { "target": "com.amazonaws.finspace#CapacityConfiguration", "traits": { - "smithy.api#documentation": "

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, number of instances, and the port used while establishing a connection.

" + "smithy.api#documentation": "

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.

" } }, "releaseLabel": { @@ -2067,7 +2035,7 @@ "userArn": { "target": "com.amazonaws.finspace#KxUserArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and\n how to use ARNs in policies, see IAM Identifiers in the\n IAM User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and\n how to use ARNs in policies, see IAM Identifiers in the\n IAM User Guide.

" } }, "environmentId": { @@ -3229,7 +3197,7 @@ "capacityConfiguration": { "target": "com.amazonaws.finspace#CapacityConfiguration", "traits": { - "smithy.api#documentation": "

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, number of instances, and the port used while establishing a connection.

" + "smithy.api#documentation": "

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.

" } }, "releaseLabel": { @@ -3343,7 +3311,7 @@ "userArn": { "target": "com.amazonaws.finspace#KxUserArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and\n how to use ARNs in policies, see IAM Identifiers in the\n IAM User Guide.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and\n how to use ARNs in policies, see IAM Identifiers in the\n IAM User Guide.

", "smithy.api#httpQuery": "userArn", "smithy.api#required": {} } @@ -3736,7 +3704,7 @@ "userArn": { "target": "com.amazonaws.finspace#KxUserArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and\n how to use ARNs in policies, see IAM Identifiers in the\n IAM User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and\n how to use ARNs in policies, see IAM Identifiers in the\n IAM User Guide.

" } }, "environmentId": { @@ -3767,6 +3735,36 @@ } } }, + "com.amazonaws.finspace#IcmpTypeCode": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.finspace#IcmpTypeOrCode", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The ICMP type. A value of -1 means all types.\n

", + "smithy.api#required": {} + } + }, + "code": { + "target": "com.amazonaws.finspace#IcmpTypeOrCode", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

\n The ICMP code. A value of -1 means all codes for the specified ICMP type.\n

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

\n Defines the ICMP protocol that consists of the ICMP type and code.\n

" + } + }, + "com.amazonaws.finspace#IcmpTypeOrCode": { + "type": "integer", + "traits": { + "smithy.api#default": 0 + } + }, "com.amazonaws.finspace#IdType": { "type": "string", "traits": { @@ -3994,7 +3992,7 @@ "azMode": { "target": "com.amazonaws.finspace#KxAzMode", "traits": { - "smithy.api#documentation": "

The number of availability zones assigned per cluster. This can be one of the following

\n " + "smithy.api#documentation": "

The number of availability zones assigned per cluster. This can be one of the following:

\n " } }, "availabilityZoneId": { @@ -4178,7 +4176,7 @@ "min": 1, "max": 50 }, - "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9_:.]*$" + "smithy.api#pattern": "^[a-zA-Z0-9_:./]+$" } }, "com.amazonaws.finspace#KxCommandLineArguments": { @@ -4280,6 +4278,38 @@ "target": "com.amazonaws.finspace#KxDatabaseListEntry" } }, + "com.amazonaws.finspace#KxDeploymentConfiguration": { + "type": "structure", + "members": { + "deploymentStrategy": { + "target": "com.amazonaws.finspace#KxDeploymentStrategy", + "traits": { + "smithy.api#documentation": "

\n The type of deployment that you want on a cluster.\n \n

\n ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

\n The configuration that allows you to choose how you want to update the databases on a cluster. Depending on the option you choose, you can reduce the time it takes to update the database changesets on to a cluster.\n

" + } + }, + "com.amazonaws.finspace#KxDeploymentStrategy": { + "type": "enum", + "members": { + "NO_RESTART": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_RESTART" + } + }, + "ROLLING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROLLING" + } + } + } + }, "com.amazonaws.finspace#KxEnvironment": { "type": "structure", "members": { @@ -4462,7 +4492,7 @@ "target": "com.amazonaws.finspace#KxSavedownStorageSize", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The size of temporary storage in bytes.

", + "smithy.api#documentation": "

The size of temporary storage in gibibytes.

", "smithy.api#required": {} } } @@ -4498,7 +4528,7 @@ "userArn": { "target": "com.amazonaws.finspace#KxUserArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and\n how to use ARNs in policies, see IAM Identifiers in the\n IAM User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and\n how to use ARNs in policies, see IAM Identifiers in the\n IAM User Guide.

" } }, "userName": { @@ -5260,12 +5290,72 @@ "smithy.api#pattern": "^[a-zA-Z0-9]{1,50}$" } }, + "com.amazonaws.finspace#NetworkACLConfiguration": { + "type": "list", + "member": { + "target": "com.amazonaws.finspace#NetworkACLEntry" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.finspace#NetworkACLEntry": { + "type": "structure", + "members": { + "ruleNumber": { + "target": "com.amazonaws.finspace#RuleNumber", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

\n The rule number for the entry. For example 100. All the network ACL entries are processed in ascending order by rule number.\n \n

", + "smithy.api#required": {} + } + }, + "protocol": { + "target": "com.amazonaws.finspace#Protocol", + "traits": { + "smithy.api#documentation": "

\n The protocol number. A value of -1 means all the protocols.\n

", + "smithy.api#required": {} + } + }, + "ruleAction": { + "target": "com.amazonaws.finspace#RuleAction", + "traits": { + "smithy.api#documentation": "

\n Indicates whether to allow or deny the traffic that matches the rule.\n

", + "smithy.api#required": {} + } + }, + "portRange": { + "target": "com.amazonaws.finspace#PortRange", + "traits": { + "smithy.api#documentation": "

\n The range of ports the rule applies to.\n

" + } + }, + "icmpTypeCode": { + "target": "com.amazonaws.finspace#IcmpTypeCode", + "traits": { + "smithy.api#documentation": "

\n Defines the ICMP protocol that consists of the ICMP type and code.\n

" + } + }, + "cidrBlock": { + "target": "com.amazonaws.finspace#ValidCIDRBlock", + "traits": { + "smithy.api#documentation": "

\n The IPv4 network range to allow or deny, in CIDR notation. For example, 172.16.0.0/24. We modify the specified CIDR block to its canonical form. For example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.\n

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

\n The network access control list (ACL) is an optional layer of security for your VPC that acts as a firewall for controlling traffic in and out of one or more subnets. The entry is a set of numbered ingress and egress rules that determine whether a packet should be allowed in or out of a subnet associated with the ACL. We process the entries in the ACL according to the rule numbers, in ascending order.\n

" + } + }, "com.amazonaws.finspace#NodeCount": { "type": "integer", "traits": { "smithy.api#range": { - "min": 1, - "max": 5 + "min": 1 } } }, @@ -5289,6 +5379,50 @@ "smithy.api#pattern": ".*" } }, + "com.amazonaws.finspace#Port": { + "type": "integer", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0, + "max": 65535 + } + } + }, + "com.amazonaws.finspace#PortRange": { + "type": "structure", + "members": { + "from": { + "target": "com.amazonaws.finspace#Port", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

\n The first port in the range.\n

", + "smithy.api#required": {} + } + }, + "to": { + "target": "com.amazonaws.finspace#Port", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

\n The last port in the range.\n

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

\n The range of ports the rule applies to.\n

" + } + }, + "com.amazonaws.finspace#Protocol": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 5 + }, + "smithy.api#pattern": "^-1|[0-9]+$" + } + }, "com.amazonaws.finspace#ReleaseLabel": { "type": "string", "traits": { @@ -5345,6 +5479,33 @@ "smithy.api#pattern": "^arn:aws[a-z\\-]*:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$" } }, + "com.amazonaws.finspace#RuleAction": { + "type": "enum", + "members": { + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "allow" + } + }, + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "deny" + } + } + } + }, + "com.amazonaws.finspace#RuleNumber": { + "type": "integer", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 1, + "max": 32766 + } + } + }, "com.amazonaws.finspace#S3Bucket": { "type": "string", "traits": { @@ -5596,7 +5757,11 @@ }, "com.amazonaws.finspace#ThrottlingException": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.finspace#ErrorMessage2" + } + }, "traits": { "smithy.api#documentation": "

The request was denied due to request throttling.

", "smithy.api#error": "client", @@ -5622,6 +5787,12 @@ "smithy.api#documentation": "

The routing CIDR on behalf of kdb environment. It could be any \"/26 range in the 100.64.0.0 CIDR space. After providing, it will be added to the customer's transit gateway routing table so that the traffics could be routed to kdb network.

", "smithy.api#required": {} } + }, + "attachmentNetworkAclConfiguration": { + "target": "com.amazonaws.finspace#NetworkACLConfiguration", + "traits": { + "smithy.api#documentation": "

\n The rules that define how you manage the outbound traffic from kdb network to your internal network.\n \n

" + } } }, "traits": { @@ -5793,6 +5964,9 @@ { "target": "com.amazonaws.finspace#AccessDeniedException" }, + { + "target": "com.amazonaws.finspace#ConflictException" + }, { "target": "com.amazonaws.finspace#InternalServerException" }, @@ -5840,7 +6014,8 @@ "clientToken": { "target": "com.amazonaws.finspace#ClientTokenString", "traits": { - "smithy.api#documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

" + "smithy.api#documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "smithy.api#idempotencyToken": {} } }, "databases": { @@ -5849,6 +6024,12 @@ "smithy.api#documentation": "

The structure of databases mounted on the cluster.

", "smithy.api#required": {} } + }, + "deploymentConfiguration": { + "target": "com.amazonaws.finspace#KxDeploymentConfiguration", + "traits": { + "smithy.api#documentation": "

\n The configuration that allows you to choose how you want to update the databases on a cluster.\n

" + } } }, "traits": { @@ -6402,7 +6583,7 @@ "userArn": { "target": "com.amazonaws.finspace#KxUserArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and\n how to use ARNs in policies, see IAM Identifiers in the\n IAM User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and\n how to use ARNs in policies, see IAM Identifiers in the\n IAM User Guide.

" } }, "environmentId": { @@ -6422,12 +6603,19 @@ "smithy.api#output": {} } }, - "com.amazonaws.finspace#ValidCIDRSpace": { + "com.amazonaws.finspace#ValidCIDRBlock": { "type": "string", "traits": { - "smithy.api#pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\/26$" + "smithy.api#length": { + "min": 1, + "max": 18 + }, + "smithy.api#pattern": "^(?:\\d{1,3}\\.){3}\\d{1,3}(?:\\/(?:3[0-2]|[12]\\d|\\d))$" } }, + "com.amazonaws.finspace#ValidCIDRSpace": { + "type": "string" + }, "com.amazonaws.finspace#ValidHostname": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json index 075663b36b7..bffd2ef7bb7 100644 --- a/codegen/sdk-codegen/aws-models/rds.json +++ b/codegen/sdk-codegen/aws-models/rds.json @@ -876,6 +876,9 @@ { "target": "com.amazonaws.rds#SwitchoverBlueGreenDeployment" }, + { + "target": "com.amazonaws.rds#SwitchoverGlobalCluster" + }, { "target": "com.amazonaws.rds#SwitchoverReadReplica" } @@ -4155,7 +4158,7 @@ "StorageType": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

The storage type to associate with the DB cluster.

\n

For information on storage types for Aurora DB clusters, see Storage configurations for Amazon Aurora DB clusters. For information on storage types for Multi-AZ DB\n clusters, see Settings for creating Multi-AZ DB clusters.

\n

This setting is required to create a Multi-AZ DB cluster.

\n

When specified for a Multi-AZ DB cluster, a value for the Iops parameter is required.

\n

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

\n

Valid Values:

\n \n

Default:

\n " + "smithy.api#documentation": "

The storage type to associate with the DB cluster.

\n

For information on storage types for Aurora DB clusters, see Storage configurations for Amazon Aurora DB clusters. For information on storage types for Multi-AZ DB\n clusters, see Settings for creating Multi-AZ DB clusters.

\n

This setting is required to create a Multi-AZ DB cluster.

\n

When specified for a Multi-AZ DB cluster, a value for the Iops parameter is required.

\n

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

\n

Valid Values:

\n \n

Default:

\n \n \n

When you create an Aurora DB cluster with the storage type set to aurora-iopt1, the storage type is returned\n in the response. The storage type isn't returned when you set it to aurora.

\n
" } }, "Iops": { @@ -17279,7 +17282,7 @@ } ], "traits": { - "smithy.api#documentation": "

Initiates the failover process for an Aurora global database (GlobalCluster).

\n

A failover for an Aurora global database promotes one of secondary read-only DB clusters to be\n the primary DB cluster and demotes the primary DB cluster to being a secondary (read-only) DB cluster. In other words,\n the role of the current primary DB cluster and the selected (target) DB cluster are switched. The selected\n secondary DB cluster assumes full read/write capabilities for the Aurora global database.

\n

For more information about failing over an Amazon Aurora global database, see\n Managed planned failover for Amazon Aurora global\n databases in the Amazon Aurora User Guide.

\n \n

This action applies to GlobalCluster (Aurora global databases) only. Use this action only on\n healthy Aurora global databases with running Aurora DB clusters and no Region-wide outages, to test disaster recovery scenarios or to\n reconfigure your Aurora global database topology.

\n
" + "smithy.api#documentation": "

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.\"

\n \n

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. \n To switch over a global database cluster, we recommend that you use the SwitchoverGlobalCluster operation instead.

\n
\n

How you use this operation depends on whether you are failing over or switching over your global database cluster:

\n \n

\n About failing over and switching over\n

\n

While failing over and switching over a global database cluster both change the primary DB cluster, you use these operations for different reasons:

\n " } }, "com.amazonaws.rds#FailoverGlobalClusterMessage": { @@ -17288,16 +17291,28 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.rds#GlobalClusterIdentifier", "traits": { - "smithy.api#documentation": "

Identifier of the Aurora global database (GlobalCluster)\n that should be failed over. The identifier is the unique key assigned by\n the user when the Aurora global database was created. In other words,\n it's the name of the Aurora global database that you want to fail over.

\n

Constraints:

\n ", + "smithy.api#documentation": "

The identifier of the global database cluster (Aurora global database) this operation should apply to. \n The identifier is the unique key assigned by the user when the Aurora global database is created. In other words,\n it's the name of the Aurora global database.

\n

Constraints:

\n ", "smithy.api#required": {} } }, "TargetDbClusterIdentifier": { "target": "com.amazonaws.rds#DBClusterIdentifier", "traits": { - "smithy.api#documentation": "

Identifier of the secondary Aurora DB cluster that you want to promote to primary for the Aurora\n global database (GlobalCluster.) Use the Amazon Resource Name (ARN) for the identifier so that\n Aurora can locate the cluster in its Amazon Web Services Region.

", + "smithy.api#documentation": "

The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that\n Aurora can locate the cluster in its Amazon Web Services Region.

", "smithy.api#required": {} } + }, + "AllowDataLoss": { + "target": "com.amazonaws.rds#BooleanOptional", + "traits": { + "smithy.api#documentation": "

Specifies whether to allow data loss for this global database cluster operation. Allowing data loss triggers a global failover operation.

\n

If you don't specify AllowDataLoss, the global database cluster operation defaults to a switchover.

\n

Constraints:

\n " + } + }, + "Switchover": { + "target": "com.amazonaws.rds#BooleanOptional", + "traits": { + "smithy.api#documentation": "

Specifies whether to switch over this global database cluster.

\n

Constraints:

\n " + } } }, "traits": { @@ -17321,7 +17336,7 @@ "Status": { "target": "com.amazonaws.rds#FailoverStatus", "traits": { - "smithy.api#documentation": "

The current status of the Aurora global database (GlobalCluster). Possible values are as follows:

\n " + "smithy.api#documentation": "

The current status of the global cluster. Possible values are as follows:

\n " } }, "FromDbClusterArn": { @@ -17335,10 +17350,17 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Aurora DB cluster that is currently being promoted, and which is associated\n with this state.

" } + }, + "IsDataLossAllowed": { + "target": "com.amazonaws.rds#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Indicates whether the operation is a global switchover or a global failover. If data loss is allowed, then the operation is a global failover. \n Otherwise, it's a switchover.

" + } } }, "traits": { - "smithy.api#documentation": "

Contains the state of scheduled or in-process failover operations on an\n Aurora global database (GlobalCluster). This Data type is empty unless a failover\n operation is scheduled or is currently underway on the Aurora global database.

" + "smithy.api#documentation": "

Contains the state of scheduled or in-process operations on a\n global cluster (Aurora global database). This data type is empty unless a switchover \n or failover operation is scheduled or is in progress on the Aurora global database.

" } }, "com.amazonaws.rds#FailoverStatus": { @@ -17476,7 +17498,7 @@ "FailoverState": { "target": "com.amazonaws.rds#FailoverState", "traits": { - "smithy.api#documentation": "

A data object containing all properties for the current state of an in-process or pending failover process for this Aurora global database.\n This object is empty unless the FailoverGlobalCluster API operation has been called on this Aurora global database (GlobalCluster).

" + "smithy.api#documentation": "

A data object containing all properties for the current state of an in-process or pending switchover or failover process for this global cluster (Aurora global database).\n This object is empty unless the SwitchoverGlobalCluster or FailoverGlobalCluster operation was called on this global cluster.

" } } }, @@ -17526,31 +17548,37 @@ "DBClusterArn": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for each Aurora cluster.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.

" } }, "Readers": { "target": "com.amazonaws.rds#ReadersArnList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for each read-only secondary cluster\n associated with the Aurora global database.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for each read-only secondary cluster\n associated with the global cluster.

" } }, "IsWriter": { "target": "com.amazonaws.rds#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

Specifies whether the Aurora cluster is the primary cluster\n (that is, has read-write capability) for the Aurora global\n database with which it is associated.

" + "smithy.api#documentation": "

Specifies whether the Aurora DB cluster is the primary cluster\n (that is, has read-write capability) for the global\n cluster with which it is associated.

" } }, "GlobalWriteForwardingStatus": { "target": "com.amazonaws.rds#WriteForwardingStatus", "traits": { - "smithy.api#documentation": "

Specifies whether a secondary cluster in an Aurora global database has\n write forwarding enabled, not enabled, or is in the process of enabling it.

" + "smithy.api#documentation": "

Specifies whether a secondary cluster in the global cluster has\n write forwarding enabled, not enabled, or is in the process of enabling it.

" + } + }, + "SynchronizationStatus": { + "target": "com.amazonaws.rds#GlobalClusterMemberSynchronizationStatus", + "traits": { + "smithy.api#documentation": "

The status of synchronization of each Aurora DB cluster in the global cluster.

" } } }, "traits": { - "smithy.api#documentation": "

A data structure with information about any primary and\n secondary clusters associated with an Aurora global database.

" + "smithy.api#documentation": "

A data structure with information about any primary and\n secondary clusters associated with a global cluster (Aurora global database).

" } }, "com.amazonaws.rds#GlobalClusterMemberList": { @@ -17562,6 +17590,23 @@ } } }, + "com.amazonaws.rds#GlobalClusterMemberSynchronizationStatus": { + "type": "enum", + "members": { + "CONNECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "connected" + } + }, + "PENDING_RESYNC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pending-resync" + } + } + } + }, "com.amazonaws.rds#GlobalClusterNotFoundFault": { "type": "structure", "members": { @@ -20639,7 +20684,7 @@ } ], "traits": { - "smithy.api#documentation": "

Modifies a setting for an Amazon Aurora global cluster. You can change one or more database configuration\n parameters by specifying these parameters and the new values in the request. For more information on\n Amazon Aurora, see What is Amazon Aurora? in the\n Amazon Aurora User Guide.

\n \n

This operation only applies to Aurora global database clusters.

\n
", + "smithy.api#documentation": "

Modifies a setting for an Amazon Aurora global database cluster. You can change one or more database configuration\n parameters by specifying these parameters and the new values in the request. For more information on\n Amazon Aurora, see What is Amazon Aurora? in the\n Amazon Aurora User Guide.

\n \n

This operation only applies to Aurora global database clusters.

\n
", "smithy.api#examples": [ { "title": "To modify a global database cluster", @@ -27318,6 +27363,65 @@ "com.amazonaws.rds#SwitchoverDetailStatus": { "type": "string" }, + "com.amazonaws.rds#SwitchoverGlobalCluster": { + "type": "operation", + "input": { + "target": "com.amazonaws.rds#SwitchoverGlobalClusterMessage" + }, + "output": { + "target": "com.amazonaws.rds#SwitchoverGlobalClusterResult" + }, + "errors": [ + { + "target": "com.amazonaws.rds#DBClusterNotFoundFault" + }, + { + "target": "com.amazonaws.rds#GlobalClusterNotFoundFault" + }, + { + "target": "com.amazonaws.rds#InvalidDBClusterStateFault" + }, + { + "target": "com.amazonaws.rds#InvalidGlobalClusterStateFault" + } + ], + "traits": { + "smithy.api#documentation": "

Switches over the specified secondary DB cluster to be the new primary DB cluster in the global database cluster. \n Switchover operations were previously called \"managed planned failovers.\"

\n

Aurora promotes the specified secondary cluster to assume full read/write capabilities and demotes the current primary cluster \n to a secondary (read-only) cluster, maintaining the orginal replication topology. All secondary clusters are synchronized with the primary \n at the beginning of the process so the new primary continues operations for the Aurora global database without losing any data. Your database \n is unavailable for a short time while the primary and selected secondary clusters are assuming their new roles. For more information about \n switching over an Aurora global database, see Performing switchovers for Amazon Aurora global databases in the Amazon Aurora User Guide.

\n \n

This operation is intended for controlled environments, for operations such as \"regional rotation\" or to fall back to the original \n primary after a global database failover.

\n
" + } + }, + "com.amazonaws.rds#SwitchoverGlobalClusterMessage": { + "type": "structure", + "members": { + "GlobalClusterIdentifier": { + "target": "com.amazonaws.rds#GlobalClusterIdentifier", + "traits": { + "smithy.api#documentation": "

The identifier of the global database cluster to switch over. This parameter isn't case-sensitive.

\n

Constraints:

\n ", + "smithy.api#required": {} + } + }, + "TargetDbClusterIdentifier": { + "target": "com.amazonaws.rds#DBClusterIdentifier", + "traits": { + "smithy.api#documentation": "

The identifier of the secondary Aurora DB cluster to promote to the new primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that\n Aurora can locate the cluster in its Amazon Web Services Region.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.rds#SwitchoverGlobalClusterResult": { + "type": "structure", + "members": { + "GlobalCluster": { + "target": "com.amazonaws.rds#GlobalCluster" + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.rds#SwitchoverReadReplica": { "type": "operation", "input": { diff --git a/codegen/sdk-codegen/aws-models/route-53-domains.json b/codegen/sdk-codegen/aws-models/route-53-domains.json index 798bd075b58..6b6b6756e5a 100644 --- a/codegen/sdk-codegen/aws-models/route-53-domains.json +++ b/codegen/sdk-codegen/aws-models/route-53-domains.json @@ -3764,7 +3764,7 @@ "SortOrder": { "target": "com.amazonaws.route53domains#SortOrder", "traits": { - "smithy.api#documentation": "

The sort order ofr returned values, either ascending or descending.

" + "smithy.api#documentation": "

The sort order for returned values, either ascending or descending.

" } } }, @@ -5949,7 +5949,7 @@ } }, "traits": { - "smithy.api#documentation": "

Whether the domain name can be transferred to Route 53.

\n \n

You can transfer only domains that have a value of TRANSFERABLE or\n\t\t\t\t\tTransferable.

\n
\n

Valid values:

\n
\n
TRANSFERABLE
\n
\n

The domain name can be transferred to Route 53.

\n
\n
UNTRANSFERRABLE
\n
\n

The domain name can't be transferred to Route 53.

\n
\n
DONT_KNOW
\n
\n

Reserved for future use.

\n
\n
DOMAIN_IN_OWN_ACCOUNT
\n
\n

The domain already exists in the current Amazon Web Services account.

\n
\n
DOMAIN_IN_ANOTHER_ACCOUNT
\n
\n

The domain exists in another Amazon Web Services account.

\n
\n
PREMIUM_DOMAIN
\n
\n

Premium domain transfer is not supported.

\n
\n
" + "smithy.api#documentation": "

Whether the domain name can be transferred to Route 53.

\n \n

You can transfer only domains that have a value of TRANSFERABLE or\n\t\t\t\t\tTransferable.

\n
\n

Valid values:

\n
\n
TRANSFERABLE
\n
\n

The domain name can be transferred to Route 53.

\n
\n
UNTRANSFERRABLE
\n
\n

The domain name can't be transferred to Route 53.

\n
\n
DONT_KNOW
\n
\n

Reserved for future use.

\n
\n
DOMAIN_IN_OWN_ACCOUNT
\n
\n

The domain already exists in the current Amazon Web Services account.

\n
\n
DOMAIN_IN_ANOTHER_ACCOUNT
\n
\n

the domain exists in another Amazon Web Services account.

\n
\n
PREMIUM_DOMAIN
\n
\n

Premium domain transfer is not supported.

\n
\n
" } }, "com.amazonaws.route53domains#UnsupportedTLD": {