From 964afc3e2ce2d12624a420906b2e6cf341564b11 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Wed, 21 Dec 2022 19:58:51 +0000 Subject: [PATCH] Update API model --- codegen/sdk-codegen/aws-models/connect.json | 200 +-- .../aws-models/connectparticipant.json | 1291 ++++++++++++++-- .../license-manager-linux-subscriptions.json | 1298 +++++++++++++++++ codegen/sdk-codegen/aws-models/macie2.json | 195 +-- codegen/sdk-codegen/aws-models/sagemaker.json | 26 +- codegen/sdk-codegen/aws-models/scheduler.json | 103 +- codegen/sdk-codegen/aws-models/ssm.json | 325 ++--- codegen/sdk-codegen/aws-models/support.json | 857 ++++++++++- codegen/sdk-codegen/aws-models/transfer.json | 86 +- 9 files changed, 3708 insertions(+), 673 deletions(-) create mode 100644 codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json diff --git a/codegen/sdk-codegen/aws-models/connect.json b/codegen/sdk-codegen/aws-models/connect.json index 4d860f8adb1..6f541f1c0e5 100644 --- a/codegen/sdk-codegen/aws-models/connect.json +++ b/codegen/sdk-codegen/aws-models/connect.json @@ -1289,8 +1289,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": true } }, { @@ -1302,8 +1302,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": false } }, { @@ -1315,8 +1315,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": true } }, { @@ -1328,8 +1328,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": false } }, { @@ -1341,8 +1341,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": true } }, { @@ -1354,8 +1354,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": false } }, { @@ -1367,8 +1367,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": true } }, { @@ -1380,8 +1380,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": false } }, { @@ -1393,8 +1393,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": true } }, { @@ -1406,8 +1406,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": false } }, { @@ -1419,8 +1419,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": true } }, { @@ -1432,8 +1432,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": false } }, { @@ -1445,8 +1445,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": true } }, { @@ -1458,8 +1458,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": false } }, { @@ -1471,8 +1471,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": true } }, { @@ -1484,8 +1484,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": false } }, { @@ -1497,8 +1497,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": true } }, { @@ -1510,8 +1510,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": false } }, { @@ -1523,8 +1523,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": true } }, { @@ -1536,8 +1536,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": false } }, { @@ -1549,8 +1549,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": true } }, { @@ -1562,8 +1562,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": false } }, { @@ -1575,8 +1575,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": true } }, { @@ -1588,8 +1588,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": false } }, { @@ -1601,8 +1601,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": true } }, { @@ -1614,8 +1614,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": false } }, { @@ -1627,8 +1627,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": true } }, { @@ -1640,8 +1640,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": false } }, { @@ -1653,8 +1653,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": true } }, { @@ -1666,8 +1666,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": false } }, { @@ -1679,8 +1679,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": true } }, { @@ -1692,8 +1692,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": false } }, { @@ -1705,8 +1705,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": true } }, { @@ -1718,8 +1718,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": false } }, { @@ -1731,8 +1731,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": true } }, { @@ -1744,8 +1744,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": false } }, { @@ -1757,8 +1757,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": true } }, { @@ -1770,8 +1770,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": false } }, { @@ -1783,8 +1783,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": true } }, { @@ -1796,8 +1796,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": false } }, { @@ -1809,8 +1809,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": true } }, { @@ -1822,8 +1822,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": false } }, { @@ -1835,8 +1835,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": true } }, { @@ -1848,8 +1848,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": false } }, { @@ -1861,8 +1861,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -1874,8 +1874,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -1887,8 +1887,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -1900,8 +1900,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -1913,8 +1913,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1925,8 +1925,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1937,8 +1937,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, "Region": "us-east-1", + "UseDualStack": true, "Endpoint": "https://example.com" } } @@ -2838,7 +2838,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 1024 + "max": 16384 } } }, diff --git a/codegen/sdk-codegen/aws-models/connectparticipant.json b/codegen/sdk-codegen/aws-models/connectparticipant.json index 061b5d6e97c..e92125510e3 100644 --- a/codegen/sdk-codegen/aws-models/connectparticipant.json +++ b/codegen/sdk-codegen/aws-models/connectparticipant.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -47,21 +47,6 @@ }, "com.amazonaws.connectparticipant#AmazonConnectParticipantServiceLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ConnectParticipant", - "arnNamespace": "connect", - "cloudFormationName": "ConnectParticipant", - "cloudTrailEventSource": "connectparticipant.amazonaws.com", - "endpointPrefix": "participant.connect" - }, - "aws.auth#sigv4": { - "name": "execute-api" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage\n a customer contact center and provide reliable customer engagement at any scale.

\n

Amazon Connect enables customer contacts through voice or chat.

\n\n

The APIs described here are used by chat participants, such as agents and\n customers.

", - "smithy.api#title": "Amazon Connect Participant Service" - }, "version": "2018-09-07", "operations": [ { @@ -88,7 +73,989 @@ { "target": "com.amazonaws.connectparticipant#StartAttachmentUpload" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ConnectParticipant", + "arnNamespace": "connect", + "cloudFormationName": "ConnectParticipant", + "cloudTrailEventSource": "connectparticipant.amazonaws.com", + "endpointPrefix": "participant.connect" + }, + "aws.auth#sigv4": { + "name": "execute-api" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage\n a customer contact center and provide reliable customer engagement at any scale.

\n

Amazon Connect enables customer contacts through voice or chat.

\n

The APIs described here are used by chat participants, such as agents and\n customers.

", + "smithy.api#title": "Amazon Connect Participant Service", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://participant.connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://participant.connect-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://participant.connect.{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://participant.connect.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://participant.connect.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" + } + } }, "com.amazonaws.connectparticipant#ArtifactId": { "type": "string", @@ -100,22 +1067,26 @@ } }, "com.amazonaws.connectparticipant#ArtifactStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "APPROVED", - "name": "APPROVED" - }, - { - "value": "REJECTED", - "name": "REJECTED" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" + "type": "enum", + "members": { + "APPROVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPROVED" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" } - ] + } } }, "com.amazonaws.connectparticipant#AttachmentIdList": { @@ -174,6 +1145,7 @@ "com.amazonaws.connectparticipant#AttachmentSizeInBytes": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -186,17 +1158,14 @@ } }, "com.amazonaws.connectparticipant#Bool": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.connectparticipant#ChatContent": { "type": "string", "traits": { "smithy.api#length": { "min": 1, - "max": 1024 + "max": 16384 } } }, @@ -219,50 +1188,68 @@ } }, "com.amazonaws.connectparticipant#ChatItemType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TYPING", - "name": "TYPING" - }, - { - "value": "PARTICIPANT_JOINED", - "name": "PARTICIPANT_JOINED" - }, - { - "value": "PARTICIPANT_LEFT", - "name": "PARTICIPANT_LEFT" - }, - { - "value": "CHAT_ENDED", - "name": "CHAT_ENDED" - }, - { - "value": "TRANSFER_SUCCEEDED", - "name": "TRANSFER_SUCCEEDED" - }, - { - "value": "TRANSFER_FAILED", - "name": "TRANSFER_FAILED" - }, - { - "value": "MESSAGE", - "name": "MESSAGE" - }, - { - "value": "EVENT", - "name": "EVENT" - }, - { - "value": "ATTACHMENT", - "name": "ATTACHMENT" - }, - { - "value": "CONNECTION_ACK", - "name": "CONNECTION_ACK" + "type": "enum", + "members": { + "TYPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TYPING" + } + }, + "PARTICIPANT_JOINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARTICIPANT_JOINED" + } + }, + "PARTICIPANT_LEFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARTICIPANT_LEFT" } - ] + }, + "CHAT_ENDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHAT_ENDED" + } + }, + "TRANSFER_SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRANSFER_SUCCEEDED" + } + }, + "TRANSFER_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRANSFER_FAILED" + } + }, + "MESSAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MESSAGE" + } + }, + "EVENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EVENT" + } + }, + "ATTACHMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ATTACHMENT" + } + }, + "CONNECTION_ACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTION_ACK" + } + } } }, "com.amazonaws.connectparticipant#ClientToken": { @@ -303,7 +1290,7 @@ } ], "traits": { - "smithy.api#documentation": "

Allows you to confirm that the attachment has been uploaded using the pre-signed URL\n provided in StartAttachmentUpload API.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

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

Allows you to confirm that the attachment has been uploaded using the pre-signed URL\n provided in StartAttachmentUpload API.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

", "smithy.api#http": { "method": "POST", "uri": "/participant/complete-attachment-upload", @@ -371,7 +1358,7 @@ "Expiry": { "target": "com.amazonaws.connectparticipant#ISO8601Datetime", "traits": { - "smithy.api#documentation": "

The expiration of the token.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" + "smithy.api#documentation": "

The expiration of the token.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" } } }, @@ -380,18 +1367,20 @@ } }, "com.amazonaws.connectparticipant#ConnectionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "WEBSOCKET", - "name": "WEBSOCKET" - }, - { - "value": "CONNECTION_CREDENTIALS", - "name": "CONNECTION_CREDENTIALS" + "type": "enum", + "members": { + "WEBSOCKET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WEBSOCKET" } - ] + }, + "CONNECTION_CREDENTIALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTION_CREDENTIALS" + } + } } }, "com.amazonaws.connectparticipant#ConnectionTypeList": { @@ -446,7 +1435,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates the participant's connection. Note that ParticipantToken is used for invoking this API instead of\n ConnectionToken.

\n

The participant token is valid for the lifetime of the participant –\n until they are part of a contact.

\n

The response URL for WEBSOCKET Type has a connect expiry timeout of 100s.\n Clients must manually connect to the returned websocket URL and subscribe to the desired\n topic.

\n

For chat, you need to publish the following on the established websocket\n connection:

\n

\n {\"topic\":\"aws/subscribe\",\"content\":{\"topics\":[\"aws/chat\"]}}\n

\n

Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter,\n clients need to call this API again to obtain a new websocket URL and perform the same\n steps as before.

\n

\n Message streaming support: This API can also be used together with the\n StartContactStreaming\n API to create a participant connection for chat contacts that are\n not using a websocket. For more information about message streaming, Enable real-time chat message streaming in the Amazon Connect\n Administrator Guide.

\n

\n Feature specifications: For information about feature specifications, such as the allowed number of open\n websocket connections per participant, see Feature specifications in the Amazon Connect Administrator\n Guide.

\n \n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

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

Creates the participant's connection. Note that ParticipantToken is used for invoking this API instead of\n ConnectionToken.

\n

The participant token is valid for the lifetime of the participant –\n until they are part of a contact.

\n

The response URL for WEBSOCKET Type has a connect expiry timeout of 100s.\n Clients must manually connect to the returned websocket URL and subscribe to the desired\n topic.

\n

For chat, you need to publish the following on the established websocket\n connection:

\n

\n {\"topic\":\"aws/subscribe\",\"content\":{\"topics\":[\"aws/chat\"]}}\n

\n

Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter,\n clients need to call this API again to obtain a new websocket URL and perform the same\n steps as before.

\n

\n Message streaming support: This API can also be used together with the\n StartContactStreaming\n API to create a participant connection for chat contacts that are\n not using a websocket. For more information about message streaming, Enable real-time chat message streaming in the Amazon Connect\n Administrator Guide.

\n

\n Feature specifications: For information about feature specifications, such as the allowed number of open\n websocket connections per participant, see Feature specifications in the Amazon Connect Administrator\n Guide.

\n \n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

\n
", "smithy.api#http": { "method": "POST", "uri": "/participant/connection", @@ -467,7 +1456,7 @@ "ParticipantToken": { "target": "com.amazonaws.connectparticipant#ParticipantToken", "traits": { - "smithy.api#documentation": "

This is a header parameter.

\n

The ParticipantToken as obtained from StartChatContact\n API response.

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

This is a header parameter.

\n

The ParticipantToken as obtained from StartChatContact\n API response.

", "smithy.api#httpHeader": "X-Amz-Bearer", "smithy.api#required": {} } @@ -520,7 +1509,7 @@ } ], "traits": { - "smithy.api#documentation": "

Disconnects a participant. Note that ConnectionToken is used for invoking this API\n instead of ParticipantToken.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

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

Disconnects a participant. Note that ConnectionToken is used for invoking this API\n instead of ParticipantToken.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

", "smithy.api#http": { "method": "POST", "uri": "/participant/disconnect", @@ -584,7 +1573,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides a pre-signed URL for download of a completed attachment. This is an\n asynchronous API for use with active contacts.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

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

Provides a pre-signed URL for download of a completed attachment. This is an\n asynchronous API for use with active contacts.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

", "smithy.api#http": { "method": "POST", "uri": "/participant/attachment", @@ -652,7 +1641,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves a transcript of the session, including details about any attachments. Note\n that ConnectionToken is used for invoking this API instead of ParticipantToken.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

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

Retrieves a transcript of the session, including details about any attachments. Note\n that ConnectionToken is used for invoking this API instead of ParticipantToken.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

", "smithy.api#http": { "method": "POST", "uri": "/participant/transcript", @@ -677,7 +1666,7 @@ "MaxResults": { "target": "com.amazonaws.connectparticipant#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return in the page. Default: 10.

" } }, @@ -772,7 +1761,7 @@ "AbsoluteTime": { "target": "com.amazonaws.connectparticipant#Instant", "traits": { - "smithy.api#documentation": "

The time when the message or event was sent.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" + "smithy.api#documentation": "

The time when the message or event was sent.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" } }, "Content": { @@ -831,6 +1820,7 @@ "com.amazonaws.connectparticipant#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -843,6 +1833,7 @@ "com.amazonaws.connectparticipant#MostRecent": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -877,22 +1868,26 @@ } }, "com.amazonaws.connectparticipant#ParticipantRole": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AGENT", - "name": "AGENT" - }, - { - "value": "CUSTOMER", - "name": "CUSTOMER" - }, - { - "value": "SYSTEM", - "name": "SYSTEM" + "type": "enum", + "members": { + "AGENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT" + } + }, + "CUSTOMER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER" + } + }, + "SYSTEM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYSTEM" } - ] + } } }, "com.amazonaws.connectparticipant#ParticipantToken": { @@ -932,18 +1927,20 @@ } }, "com.amazonaws.connectparticipant#ScanDirection": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FORWARD", - "name": "FORWARD" - }, - { - "value": "BACKWARD", - "name": "BACKWARD" + "type": "enum", + "members": { + "FORWARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FORWARD" + } + }, + "BACKWARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BACKWARD" } - ] + } } }, "com.amazonaws.connectparticipant#SendEvent": { @@ -969,7 +1966,7 @@ } ], "traits": { - "smithy.api#documentation": "

Sends an event. Note that ConnectionToken is used for invoking this API instead of\n ParticipantToken.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

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

Sends an event. Note that ConnectionToken is used for invoking this API instead of\n ParticipantToken.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

", "smithy.api#http": { "method": "POST", "uri": "/participant/event", @@ -983,7 +1980,7 @@ "ContentType": { "target": "com.amazonaws.connectparticipant#ChatContentType", "traits": { - "smithy.api#documentation": "

The content type of the request. Supported types are:

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

The content type of the request. Supported types are:

\n ", "smithy.api#required": {} } }, @@ -1022,7 +2019,7 @@ "AbsoluteTime": { "target": "com.amazonaws.connectparticipant#Instant", "traits": { - "smithy.api#documentation": "

The time when the event was sent.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" + "smithy.api#documentation": "

The time when the event was sent.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" } } } @@ -1050,7 +2047,7 @@ } ], "traits": { - "smithy.api#documentation": "

Sends a message. Note that ConnectionToken is used for invoking this API instead of\n ParticipantToken.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

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

Sends a message. Note that ConnectionToken is used for invoking this API instead of\n ParticipantToken.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

", "smithy.api#http": { "method": "POST", "uri": "/participant/message", @@ -1104,7 +2101,7 @@ "AbsoluteTime": { "target": "com.amazonaws.connectparticipant#Instant", "traits": { - "smithy.api#documentation": "

The time when the message was sent.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" + "smithy.api#documentation": "

The time when the message was sent.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" } } } @@ -1126,18 +2123,20 @@ } }, "com.amazonaws.connectparticipant#SortKey": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DESCENDING", - "name": "DESCENDING" - }, - { - "value": "ASCENDING", - "name": "ASCENDING" + "type": "enum", + "members": { + "DESCENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DESCENDING" } - ] + }, + "ASCENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASCENDING" + } + } } }, "com.amazonaws.connectparticipant#StartAttachmentUpload": { @@ -1166,7 +2165,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides a pre-signed Amazon S3 URL in response for uploading the file directly to\n S3.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

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

Provides a pre-signed Amazon S3 URL in response for uploading the file directly to\n S3.

\n

The Amazon Connect Participant Service APIs do not use Signature Version 4\n authentication.

", "smithy.api#http": { "method": "POST", "uri": "/participant/start-attachment-upload", @@ -1187,6 +2186,7 @@ "AttachmentSizeInBytes": { "target": "com.amazonaws.connectparticipant#AttachmentSizeInBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the attachment in bytes.

", "smithy.api#required": {} } @@ -1245,12 +2245,13 @@ "AbsoluteTime": { "target": "com.amazonaws.connectparticipant#Instant", "traits": { - "smithy.api#documentation": "

The time in ISO format where to start.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" + "smithy.api#documentation": "

The time in ISO format where to start.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" } }, "MostRecent": { "target": "com.amazonaws.connectparticipant#MostRecent", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The start position of the most recent message where you want to start.

" } } @@ -1371,7 +2372,7 @@ "ConnectionExpiry": { "target": "com.amazonaws.connectparticipant#ISO8601Datetime", "traits": { - "smithy.api#documentation": "

The URL expiration timestamp in ISO date format.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" + "smithy.api#documentation": "

The URL expiration timestamp in ISO date format.

\n

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,\n 2019-11-08T02:41:28.172Z.

" } } }, diff --git a/codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json b/codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json new file mode 100644 index 00000000000..db4948420e9 --- /dev/null +++ b/codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json @@ -0,0 +1,1298 @@ +{ + "smithy": "2.0", + "shapes": { + "com.amazonaws.licensemanagerlinuxsubscriptions#BoxInteger": { + "type": "integer" + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#BoxLong": { + "type": "long" + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#Filter": { + "type": "structure", + "members": { + "Name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The type of name to filter by.

" + } + }, + "Values": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#StringList", + "traits": { + "smithy.api#documentation": "

One or more values for the name to filter by.

" + } + }, + "Operator": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#Operator", + "traits": { + "smithy.api#documentation": "

An operator for filtering results.

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

A filter object that is used to return more specific results from a describe operation.\n Filters can be used to match a set of resources by specific criteria.

" + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#FilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#Filter" + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#GetServiceSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#GetServiceSettingsRequest" + }, + "output": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#GetServiceSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException" + }, + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException" + }, + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the Linux subscriptions service settings.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/subscription/GetServiceSettings" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#GetServiceSettingsRequest": { + "type": "structure", + "members": {} + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#GetServiceSettingsResponse": { + "type": "structure", + "members": { + "LinuxSubscriptionsDiscovery": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#LinuxSubscriptionsDiscovery", + "traits": { + "smithy.api#documentation": "

Lists if discovery has been enabled for Linux subscriptions.

" + } + }, + "LinuxSubscriptionsDiscoverySettings": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#LinuxSubscriptionsDiscoverySettings", + "traits": { + "smithy.api#documentation": "

Lists the settings defined for Linux subscriptions discovery. The settings include if\n Organizations integration has been enabled, and which Regions data will be aggregated from.

" + } + }, + "Status": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#Status", + "traits": { + "smithy.api#documentation": "

Indicates the status of Linux subscriptions settings being applied.

" + } + }, + "StatusMessage": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#StringMap", + "traits": { + "smithy.api#documentation": "

A message which details the Linux subscriptions service settings current status.

" + } + }, + "HomeRegions": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#StringList", + "traits": { + "smithy.api#documentation": "

The Region in which License Manager displays the aggregated data for Linux\n subscriptions.

" + } + } + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#Instance": { + "type": "structure", + "members": { + "AmiId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The AMI ID used to launch the instance.

" + } + }, + "InstanceID": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The instance ID of the resource.

" + } + }, + "InstanceType": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The instance type of the resource.

" + } + }, + "AccountID": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The account ID which owns the instance.

" + } + }, + "Status": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The status of the instance.

" + } + }, + "Region": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Region the instance is running in.

" + } + }, + "UsageOperation": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The usage operation of the instance. For more information, see For more information, see\n Usage\n operation values in the License Manager User Guide.

" + } + }, + "ProductCode": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ProductCodeList", + "traits": { + "smithy.api#documentation": "

The product code for the instance. For more information, see Usage\n operation values in the License Manager User Guide .

" + } + }, + "LastUpdatedTime": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The time in which the last discovery updated the instance details.

" + } + }, + "SubscriptionName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the subscription being used by the instance.

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

Details discovered information about a running instance using Linux subscriptions.

" + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#InstanceList": { + "type": "list", + "member": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#Instance" + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

An exception occurred with the service.

", + "smithy.api#error": "server" + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#LicenseManagerLinuxSubscriptions": { + "type": "service", + "version": "2018-05-10", + "operations": [ + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#GetServiceSettings" + }, + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptionInstances" + }, + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptions" + }, + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#UpdateServiceSettings" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "License Manager Linux Subscriptions", + "arnNamespace": "license-manager-linux-subscriptions", + "cloudTrailEventSource": "license-manager-linux-subscriptions.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "license-manager-linux-subscriptions" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "*", + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-platform-id", + "x-amzn-trace-id", + "content-length", + "x-api-key", + "authorization", + "x-amz-date", + "x-amz-security-token", + "Access-Control-Allow-Headers", + "Access-Control-Allow-Methods", + "Access-Control-Allow-Origin" + ], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ] + }, + "smithy.api#documentation": "

With License Manager, you can discover and track your commercial Linux subscriptions on running\n Amazon EC2 instances.

", + "smithy.api#title": "AWS License Manager Linux Subscriptions", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://license-manager-linux-subscriptions-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://license-manager-linux-subscriptions-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://license-manager-linux-subscriptions.{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://license-manager-linux-subscriptions.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://license-manager-linux-subscriptions.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" + } + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#LinuxSubscriptionsDiscovery": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "Enabled", + "value": "Enabled", + "documentation": "Enabled LinuxSubscriptionsDiscovery" + }, + { + "name": "Disabled", + "value": "Disabled", + "documentation": "Disabled LinuxSubscriptionsDiscovery" + } + ] + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#LinuxSubscriptionsDiscoverySettings": { + "type": "structure", + "members": { + "SourceRegions": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#StringList", + "traits": { + "smithy.api#documentation": "

The Regions in which to discover data for Linux subscriptions.

", + "smithy.api#required": {} + } + }, + "OrganizationIntegration": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#OrganizationIntegration", + "traits": { + "smithy.api#documentation": "

Details if you have enabled resource discovery across your accounts in Organizations.

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

Lists the settings defined for discovering Linux subscriptions.

" + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptionInstances": { + "type": "operation", + "input": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptionInstancesRequest" + }, + "output": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptionInstancesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException" + }, + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException" + }, + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the running Amazon EC2 instances that were discovered with commercial Linux\n subscriptions.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/subscription/ListLinuxSubscriptionInstances" + }, + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults", + "items": "Instances" + } + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptionInstancesRequest": { + "type": "structure", + "members": { + "Filters": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#FilterList", + "traits": { + "smithy.api#documentation": "

An array of structures that you can use to filter the results to those that match one or\n more sets of key-value pairs that you specify. For example, you can filter by the name of\n AmiID with an optional operator to see subscriptions that match, partially\n match, or don't match a certain Amazon Machine Image (AMI) ID.

\n

The valid names for this filter are:

\n \n

The valid Operators for this filter are:

\n " + } + }, + "MaxResults": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#BoxInteger", + "traits": { + "smithy.api#documentation": "

Maximum number of results to return in a single call.

" + } + }, + "NextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

Token for the next set of results.

", + "smithy.api#length": { + "min": 1, + "max": 16384 + } + } + } + }, + "traits": { + "smithy.api#documentation": "NextToken length limit is half of ddb accepted limit.\nIncrease this limit if parameters in request increases." + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptionInstancesResponse": { + "type": "structure", + "members": { + "Instances": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#InstanceList", + "traits": { + "smithy.api#documentation": "

An array that contains instance objects.

" + } + }, + "NextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

Token for the next set of results.

" + } + } + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptions": { + "type": "operation", + "input": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptionsRequest" + }, + "output": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException" + }, + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException" + }, + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the Linux subscriptions that have been discovered. If you have linked your\n organization, the returned results will include data aggregated across your accounts in\n Organizations.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/subscription/ListLinuxSubscriptions" + }, + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults", + "items": "Subscriptions" + } + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptionsRequest": { + "type": "structure", + "members": { + "Filters": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#FilterList", + "traits": { + "smithy.api#documentation": "

An array of structures that you can use to filter the results to those that match one or\n more sets of key-value pairs that you specify. For example, you can filter by the name of\n Subscription with an optional operator to see subscriptions that match,\n partially match, or don't match a certain subscription's name.

\n

The valid names for this filter are:

\n \n

The valid Operators for this filter are:

\n " + } + }, + "MaxResults": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#BoxInteger", + "traits": { + "smithy.api#documentation": "

Maximum number of results to return in a single call.

" + } + }, + "NextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

Token for the next set of results.

", + "smithy.api#length": { + "min": 1, + "max": 16384 + } + } + } + }, + "traits": { + "smithy.api#documentation": "NextToken length limit is half of ddb accepted limit.\nIncrease this limit if parameters in request increases." + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#ListLinuxSubscriptionsResponse": { + "type": "structure", + "members": { + "Subscriptions": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#SubscriptionList", + "traits": { + "smithy.api#documentation": "

An array that contains subscription objects.

" + } + }, + "NextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

Token for the next set of results.

" + } + } + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#Operator": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "EQUAL", + "value": "Equal", + "documentation": "Equal operator" + }, + { + "name": "NOT_EQUAL", + "value": "NotEqual", + "documentation": "Not equal operator" + }, + { + "name": "CONTAINS", + "value": "Contains", + "documentation": "Contains operator" + } + ], + "smithy.api#length": { + "min": 1, + "max": 20 + } + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#OrganizationIntegration": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "Enabled", + "value": "Enabled", + "documentation": "Enabled OrganizationIntegration" + }, + { + "name": "Disabled", + "value": "Disabled", + "documentation": "Disabled OrganizationIntegration" + } + ] + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#ProductCodeList": { + "type": "list", + "member": { + "target": "smithy.api#String" + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#Status": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "InProgress", + "value": "InProgress", + "documentation": "InProgress status" + }, + { + "name": "Completed", + "value": "Completed", + "documentation": "Completed status" + }, + { + "name": "Successful", + "value": "Successful", + "documentation": "Successful status" + }, + { + "name": "Failed", + "value": "Failed", + "documentation": "Failed status" + } + ] + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#StringList": { + "type": "list", + "member": { + "target": "smithy.api#String", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#uniqueItems": {} + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#StringMap": { + "type": "map", + "key": { + "target": "smithy.api#String" + }, + "value": { + "target": "smithy.api#String" + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#Subscription": { + "type": "structure", + "members": { + "Name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the subscription.

" + } + }, + "Type": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The type of subscription. The type can be subscription-included with Amazon EC2, Bring Your Own\n Subscription model (BYOS), or from the Amazon Web Services Marketplace. Certain subscriptions may use licensing from the\n Amazon Web Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.

" + } + }, + "InstanceCount": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#BoxLong", + "traits": { + "smithy.api#documentation": "

The total amount of running instances using this subscription.

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

An object which details a discovered Linux subscription.

" + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#SubscriptionList": { + "type": "list", + "member": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#Subscription" + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

The request was denied due to request throttling.

", + "smithy.api#error": "client" + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#UpdateServiceSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#UpdateServiceSettingsRequest" + }, + "output": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#UpdateServiceSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException" + }, + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException" + }, + { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates the service settings for Linux subscriptions.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/subscription/UpdateServiceSettings" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#UpdateServiceSettingsRequest": { + "type": "structure", + "members": { + "LinuxSubscriptionsDiscovery": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#LinuxSubscriptionsDiscovery", + "traits": { + "smithy.api#documentation": "

Describes if the discovery of Linux subscriptions is enabled.

", + "smithy.api#required": {} + } + }, + "LinuxSubscriptionsDiscoverySettings": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#LinuxSubscriptionsDiscoverySettings", + "traits": { + "smithy.api#documentation": "

The settings defined for Linux subscriptions discovery. The settings include if Organizations\n integration has been enabled, and which Regions data will be aggregated from.

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

Describes if updates are allowed to the service settings for Linux subscriptions. If you\n allow updates, you can aggregate Linux subscription data in more than one home Region.

" + } + } + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#UpdateServiceSettingsResponse": { + "type": "structure", + "members": { + "LinuxSubscriptionsDiscovery": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#LinuxSubscriptionsDiscovery", + "traits": { + "smithy.api#documentation": "

Lists if discovery has been enabled for Linux subscriptions.

" + } + }, + "LinuxSubscriptionsDiscoverySettings": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#LinuxSubscriptionsDiscoverySettings", + "traits": { + "smithy.api#documentation": "

The settings defined for Linux subscriptions discovery. The settings include if Organizations\n integration has been enabled, and which Regions data will be aggregated from.

" + } + }, + "Status": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#Status", + "traits": { + "smithy.api#documentation": "

Indicates the status of Linux subscriptions settings being applied.

" + } + }, + "StatusMessage": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#StringMap", + "traits": { + "smithy.api#documentation": "

A message which details the Linux subscriptions service settings current status.

" + } + }, + "HomeRegions": { + "target": "com.amazonaws.licensemanagerlinuxsubscriptions#StringList", + "traits": { + "smithy.api#documentation": "

The Region in which License Manager displays the aggregated data for Linux\n subscriptions.

" + } + } + } + }, + "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

The provided input is not valid. Try your request again.

", + "smithy.api#error": "client" + } + } + } +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/macie2.json b/codegen/sdk-codegen/aws-models/macie2.json index eddc64433d7..5dcfd261c61 100644 --- a/codegen/sdk-codegen/aws-models/macie2.json +++ b/codegen/sdk-codegen/aws-models/macie2.json @@ -8596,15 +8596,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", @@ -8867,8 +8858,8 @@ } }, "params": { - "Region": "ap-south-1", "UseFIPS": true, + "Region": "ap-south-1", "UseDualStack": true } }, @@ -8880,8 +8871,8 @@ } }, "params": { - "Region": "ap-south-1", "UseFIPS": true, + "Region": "ap-south-1", "UseDualStack": false } }, @@ -8893,8 +8884,8 @@ } }, "params": { - "Region": "ap-south-1", "UseFIPS": false, + "Region": "ap-south-1", "UseDualStack": true } }, @@ -8906,8 +8897,8 @@ } }, "params": { - "Region": "ap-south-1", "UseFIPS": false, + "Region": "ap-south-1", "UseDualStack": false } }, @@ -8919,8 +8910,8 @@ } }, "params": { - "Region": "eu-south-1", "UseFIPS": true, + "Region": "eu-south-1", "UseDualStack": true } }, @@ -8932,8 +8923,8 @@ } }, "params": { - "Region": "eu-south-1", "UseFIPS": true, + "Region": "eu-south-1", "UseDualStack": false } }, @@ -8945,8 +8936,8 @@ } }, "params": { - "Region": "eu-south-1", "UseFIPS": false, + "Region": "eu-south-1", "UseDualStack": true } }, @@ -8958,8 +8949,8 @@ } }, "params": { - "Region": "eu-south-1", "UseFIPS": false, + "Region": "eu-south-1", "UseDualStack": false } }, @@ -8971,8 +8962,8 @@ } }, "params": { - "Region": "ca-central-1", "UseFIPS": true, + "Region": "ca-central-1", "UseDualStack": true } }, @@ -8984,8 +8975,8 @@ } }, "params": { - "Region": "ca-central-1", "UseFIPS": true, + "Region": "ca-central-1", "UseDualStack": false } }, @@ -8997,8 +8988,8 @@ } }, "params": { - "Region": "ca-central-1", "UseFIPS": false, + "Region": "ca-central-1", "UseDualStack": true } }, @@ -9010,8 +9001,8 @@ } }, "params": { - "Region": "ca-central-1", "UseFIPS": false, + "Region": "ca-central-1", "UseDualStack": false } }, @@ -9023,8 +9014,8 @@ } }, "params": { - "Region": "eu-central-1", "UseFIPS": true, + "Region": "eu-central-1", "UseDualStack": true } }, @@ -9036,8 +9027,8 @@ } }, "params": { - "Region": "eu-central-1", "UseFIPS": true, + "Region": "eu-central-1", "UseDualStack": false } }, @@ -9049,8 +9040,8 @@ } }, "params": { - "Region": "eu-central-1", "UseFIPS": false, + "Region": "eu-central-1", "UseDualStack": true } }, @@ -9062,8 +9053,8 @@ } }, "params": { - "Region": "eu-central-1", "UseFIPS": false, + "Region": "eu-central-1", "UseDualStack": false } }, @@ -9075,8 +9066,8 @@ } }, "params": { - "Region": "us-west-1", "UseFIPS": true, + "Region": "us-west-1", "UseDualStack": true } }, @@ -9088,8 +9079,8 @@ } }, "params": { - "Region": "us-west-1", "UseFIPS": true, + "Region": "us-west-1", "UseDualStack": false } }, @@ -9101,8 +9092,8 @@ } }, "params": { - "Region": "us-west-1", "UseFIPS": false, + "Region": "us-west-1", "UseDualStack": true } }, @@ -9114,8 +9105,8 @@ } }, "params": { - "Region": "us-west-1", "UseFIPS": false, + "Region": "us-west-1", "UseDualStack": false } }, @@ -9127,8 +9118,8 @@ } }, "params": { - "Region": "us-west-2", "UseFIPS": true, + "Region": "us-west-2", "UseDualStack": true } }, @@ -9140,8 +9131,8 @@ } }, "params": { - "Region": "us-west-2", "UseFIPS": true, + "Region": "us-west-2", "UseDualStack": false } }, @@ -9153,8 +9144,8 @@ } }, "params": { - "Region": "us-west-2", "UseFIPS": false, + "Region": "us-west-2", "UseDualStack": true } }, @@ -9166,8 +9157,8 @@ } }, "params": { - "Region": "us-west-2", "UseFIPS": false, + "Region": "us-west-2", "UseDualStack": false } }, @@ -9179,8 +9170,8 @@ } }, "params": { - "Region": "af-south-1", "UseFIPS": true, + "Region": "af-south-1", "UseDualStack": true } }, @@ -9192,8 +9183,8 @@ } }, "params": { - "Region": "af-south-1", "UseFIPS": true, + "Region": "af-south-1", "UseDualStack": false } }, @@ -9205,8 +9196,8 @@ } }, "params": { - "Region": "af-south-1", "UseFIPS": false, + "Region": "af-south-1", "UseDualStack": true } }, @@ -9218,8 +9209,8 @@ } }, "params": { - "Region": "af-south-1", "UseFIPS": false, + "Region": "af-south-1", "UseDualStack": false } }, @@ -9231,8 +9222,8 @@ } }, "params": { - "Region": "eu-north-1", "UseFIPS": true, + "Region": "eu-north-1", "UseDualStack": true } }, @@ -9244,8 +9235,8 @@ } }, "params": { - "Region": "eu-north-1", "UseFIPS": true, + "Region": "eu-north-1", "UseDualStack": false } }, @@ -9257,8 +9248,8 @@ } }, "params": { - "Region": "eu-north-1", "UseFIPS": false, + "Region": "eu-north-1", "UseDualStack": true } }, @@ -9270,8 +9261,8 @@ } }, "params": { - "Region": "eu-north-1", "UseFIPS": false, + "Region": "eu-north-1", "UseDualStack": false } }, @@ -9283,8 +9274,8 @@ } }, "params": { - "Region": "eu-west-3", "UseFIPS": true, + "Region": "eu-west-3", "UseDualStack": true } }, @@ -9296,8 +9287,8 @@ } }, "params": { - "Region": "eu-west-3", "UseFIPS": true, + "Region": "eu-west-3", "UseDualStack": false } }, @@ -9309,8 +9300,8 @@ } }, "params": { - "Region": "eu-west-3", "UseFIPS": false, + "Region": "eu-west-3", "UseDualStack": true } }, @@ -9322,8 +9313,8 @@ } }, "params": { - "Region": "eu-west-3", "UseFIPS": false, + "Region": "eu-west-3", "UseDualStack": false } }, @@ -9335,8 +9326,8 @@ } }, "params": { - "Region": "eu-west-2", "UseFIPS": true, + "Region": "eu-west-2", "UseDualStack": true } }, @@ -9348,8 +9339,8 @@ } }, "params": { - "Region": "eu-west-2", "UseFIPS": true, + "Region": "eu-west-2", "UseDualStack": false } }, @@ -9361,8 +9352,8 @@ } }, "params": { - "Region": "eu-west-2", "UseFIPS": false, + "Region": "eu-west-2", "UseDualStack": true } }, @@ -9374,8 +9365,8 @@ } }, "params": { - "Region": "eu-west-2", "UseFIPS": false, + "Region": "eu-west-2", "UseDualStack": false } }, @@ -9387,8 +9378,8 @@ } }, "params": { - "Region": "eu-west-1", "UseFIPS": true, + "Region": "eu-west-1", "UseDualStack": true } }, @@ -9400,8 +9391,8 @@ } }, "params": { - "Region": "eu-west-1", "UseFIPS": true, + "Region": "eu-west-1", "UseDualStack": false } }, @@ -9413,8 +9404,8 @@ } }, "params": { - "Region": "eu-west-1", "UseFIPS": false, + "Region": "eu-west-1", "UseDualStack": true } }, @@ -9426,8 +9417,8 @@ } }, "params": { - "Region": "eu-west-1", "UseFIPS": false, + "Region": "eu-west-1", "UseDualStack": false } }, @@ -9439,8 +9430,8 @@ } }, "params": { - "Region": "ap-northeast-3", "UseFIPS": true, + "Region": "ap-northeast-3", "UseDualStack": true } }, @@ -9452,8 +9443,8 @@ } }, "params": { - "Region": "ap-northeast-3", "UseFIPS": true, + "Region": "ap-northeast-3", "UseDualStack": false } }, @@ -9465,8 +9456,8 @@ } }, "params": { - "Region": "ap-northeast-3", "UseFIPS": false, + "Region": "ap-northeast-3", "UseDualStack": true } }, @@ -9478,8 +9469,8 @@ } }, "params": { - "Region": "ap-northeast-3", "UseFIPS": false, + "Region": "ap-northeast-3", "UseDualStack": false } }, @@ -9491,8 +9482,8 @@ } }, "params": { - "Region": "ap-northeast-2", "UseFIPS": true, + "Region": "ap-northeast-2", "UseDualStack": true } }, @@ -9504,8 +9495,8 @@ } }, "params": { - "Region": "ap-northeast-2", "UseFIPS": true, + "Region": "ap-northeast-2", "UseDualStack": false } }, @@ -9517,8 +9508,8 @@ } }, "params": { - "Region": "ap-northeast-2", "UseFIPS": false, + "Region": "ap-northeast-2", "UseDualStack": true } }, @@ -9530,8 +9521,8 @@ } }, "params": { - "Region": "ap-northeast-2", "UseFIPS": false, + "Region": "ap-northeast-2", "UseDualStack": false } }, @@ -9543,8 +9534,8 @@ } }, "params": { - "Region": "ap-northeast-1", "UseFIPS": true, + "Region": "ap-northeast-1", "UseDualStack": true } }, @@ -9556,8 +9547,8 @@ } }, "params": { - "Region": "ap-northeast-1", "UseFIPS": true, + "Region": "ap-northeast-1", "UseDualStack": false } }, @@ -9569,8 +9560,8 @@ } }, "params": { - "Region": "ap-northeast-1", "UseFIPS": false, + "Region": "ap-northeast-1", "UseDualStack": true } }, @@ -9582,8 +9573,8 @@ } }, "params": { - "Region": "ap-northeast-1", "UseFIPS": false, + "Region": "ap-northeast-1", "UseDualStack": false } }, @@ -9595,8 +9586,8 @@ } }, "params": { - "Region": "me-south-1", "UseFIPS": true, + "Region": "me-south-1", "UseDualStack": true } }, @@ -9608,8 +9599,8 @@ } }, "params": { - "Region": "me-south-1", "UseFIPS": true, + "Region": "me-south-1", "UseDualStack": false } }, @@ -9621,8 +9612,8 @@ } }, "params": { - "Region": "me-south-1", "UseFIPS": false, + "Region": "me-south-1", "UseDualStack": true } }, @@ -9634,8 +9625,8 @@ } }, "params": { - "Region": "me-south-1", "UseFIPS": false, + "Region": "me-south-1", "UseDualStack": false } }, @@ -9647,8 +9638,8 @@ } }, "params": { - "Region": "sa-east-1", "UseFIPS": true, + "Region": "sa-east-1", "UseDualStack": true } }, @@ -9660,8 +9651,8 @@ } }, "params": { - "Region": "sa-east-1", "UseFIPS": true, + "Region": "sa-east-1", "UseDualStack": false } }, @@ -9673,8 +9664,8 @@ } }, "params": { - "Region": "sa-east-1", "UseFIPS": false, + "Region": "sa-east-1", "UseDualStack": true } }, @@ -9686,8 +9677,8 @@ } }, "params": { - "Region": "sa-east-1", "UseFIPS": false, + "Region": "sa-east-1", "UseDualStack": false } }, @@ -9699,8 +9690,8 @@ } }, "params": { - "Region": "ap-east-1", "UseFIPS": true, + "Region": "ap-east-1", "UseDualStack": true } }, @@ -9712,8 +9703,8 @@ } }, "params": { - "Region": "ap-east-1", "UseFIPS": true, + "Region": "ap-east-1", "UseDualStack": false } }, @@ -9725,8 +9716,8 @@ } }, "params": { - "Region": "ap-east-1", "UseFIPS": false, + "Region": "ap-east-1", "UseDualStack": true } }, @@ -9738,8 +9729,8 @@ } }, "params": { - "Region": "ap-east-1", "UseFIPS": false, + "Region": "ap-east-1", "UseDualStack": false } }, @@ -9751,8 +9742,8 @@ } }, "params": { - "Region": "ap-southeast-1", "UseFIPS": true, + "Region": "ap-southeast-1", "UseDualStack": true } }, @@ -9764,8 +9755,8 @@ } }, "params": { - "Region": "ap-southeast-1", "UseFIPS": true, + "Region": "ap-southeast-1", "UseDualStack": false } }, @@ -9777,8 +9768,8 @@ } }, "params": { - "Region": "ap-southeast-1", "UseFIPS": false, + "Region": "ap-southeast-1", "UseDualStack": true } }, @@ -9790,8 +9781,8 @@ } }, "params": { - "Region": "ap-southeast-1", "UseFIPS": false, + "Region": "ap-southeast-1", "UseDualStack": false } }, @@ -9803,8 +9794,8 @@ } }, "params": { - "Region": "ap-southeast-2", "UseFIPS": true, + "Region": "ap-southeast-2", "UseDualStack": true } }, @@ -9816,8 +9807,8 @@ } }, "params": { - "Region": "ap-southeast-2", "UseFIPS": true, + "Region": "ap-southeast-2", "UseDualStack": false } }, @@ -9829,8 +9820,8 @@ } }, "params": { - "Region": "ap-southeast-2", "UseFIPS": false, + "Region": "ap-southeast-2", "UseDualStack": true } }, @@ -9842,8 +9833,8 @@ } }, "params": { - "Region": "ap-southeast-2", "UseFIPS": false, + "Region": "ap-southeast-2", "UseDualStack": false } }, @@ -9855,8 +9846,8 @@ } }, "params": { - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", "UseDualStack": true } }, @@ -9868,8 +9859,8 @@ } }, "params": { - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", "UseDualStack": false } }, @@ -9881,8 +9872,8 @@ } }, "params": { - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "UseDualStack": true } }, @@ -9894,8 +9885,8 @@ } }, "params": { - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "UseDualStack": false } }, @@ -9907,8 +9898,8 @@ } }, "params": { - "Region": "us-east-2", "UseFIPS": true, + "Region": "us-east-2", "UseDualStack": true } }, @@ -9920,8 +9911,8 @@ } }, "params": { - "Region": "us-east-2", "UseFIPS": true, + "Region": "us-east-2", "UseDualStack": false } }, @@ -9933,8 +9924,8 @@ } }, "params": { - "Region": "us-east-2", "UseFIPS": false, + "Region": "us-east-2", "UseDualStack": true } }, @@ -9946,8 +9937,8 @@ } }, "params": { - "Region": "us-east-2", "UseFIPS": false, + "Region": "us-east-2", "UseDualStack": false } }, @@ -9959,8 +9950,8 @@ } }, "params": { - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "UseDualStack": false, "Endpoint": "https://example.com" } @@ -9971,8 +9962,8 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", "UseDualStack": false, "Endpoint": "https://example.com" } @@ -9983,8 +9974,8 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "UseDualStack": true, "Endpoint": "https://example.com" } @@ -12499,6 +12490,18 @@ "traits": { "smithy.api#enumValue": "GLACIER" } + }, + "GLACIER_IR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GLACIER_IR" + } + }, + "OUTPOSTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTPOSTS" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index 06b5b8794f7..db7abb624fb 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -19945,6 +19945,12 @@ "traits": { "smithy.api#documentation": "

The configuration for attaching a SageMaker user profile name to the execution role as a\n sts:SourceIdentity key. This configuration can only be modified if there\n are no apps in the InService or Pending state.

" } + }, + "SecurityGroupIds": { + "target": "com.amazonaws.sagemaker#DomainSecurityGroupIds", + "traits": { + "smithy.api#documentation": "

The security groups for the Amazon Virtual Private Cloud that the Domain uses for\n communication between Domain-level apps and user apps.

" + } } }, "traits": { @@ -24272,7 +24278,7 @@ "target": "com.amazonaws.sagemaker#TrainingInstanceCount", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The number of instances of the type specified by InstanceType. Choose an\n instance count larger than 1 for distributed training algorithms. See SageMaker distributed training\n jobs for more information.

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

The number of instances of the type specified by InstanceType. Choose an\n instance count larger than 1 for distributed training algorithms. See SageMaker distributed training\n jobs for more informcration.

", "smithy.api#required": {} } }, @@ -43508,6 +43514,18 @@ }, "DefaultResourceSpec": { "target": "com.amazonaws.sagemaker#ResourceSpec" + }, + "RStudioConnectUrl": { + "target": "com.amazonaws.sagemaker#String", + "traits": { + "smithy.api#documentation": "

A URL pointing to an RStudio Connect server.

" + } + }, + "RStudioPackageManagerUrl": { + "target": "com.amazonaws.sagemaker#String", + "traits": { + "smithy.api#documentation": "

A URL pointing to an RStudio Package Manager server.

" + } } }, "traits": { @@ -53991,6 +54009,12 @@ "traits": { "smithy.api#documentation": "

The default settings used to create a space within the Domain.

" } + }, + "AppSecurityGroupManagement": { + "target": "com.amazonaws.sagemaker#AppSecurityGroupManagement", + "traits": { + "smithy.api#documentation": "

The entity that creates and manages the required security groups for inter-app\n communication in VPCOnly mode. Required when\n CreateDomain.AppNetworkAccessType is VPCOnly and\n DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is\n provided.

" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/scheduler.json b/codegen/sdk-codegen/aws-models/scheduler.json index 2f29ee581ed..f37cdc13a74 100644 --- a/codegen/sdk-codegen/aws-models/scheduler.json +++ b/codegen/sdk-codegen/aws-models/scheduler.json @@ -40,7 +40,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -89,15 +89,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", @@ -354,9 +345,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "us-gov-east-1" + "UseFIPS": true } }, { @@ -367,9 +358,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-gov-east-1" + "UseFIPS": true } }, { @@ -380,9 +371,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "us-gov-east-1" + "UseFIPS": false } }, { @@ -393,9 +384,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-gov-east-1" + "UseFIPS": false } }, { @@ -406,9 +397,9 @@ } }, "params": { + "Region": "cn-north-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "cn-north-1" + "UseFIPS": true } }, { @@ -419,9 +410,9 @@ } }, "params": { + "Region": "cn-north-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "cn-north-1" + "UseFIPS": true } }, { @@ -432,9 +423,9 @@ } }, "params": { + "Region": "cn-north-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "cn-north-1" + "UseFIPS": false } }, { @@ -445,9 +436,9 @@ } }, "params": { + "Region": "cn-north-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "cn-north-1" + "UseFIPS": false } }, { @@ -456,9 +447,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-iso-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "us-iso-east-1" + "UseFIPS": true } }, { @@ -469,9 +460,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-east-1" + "UseFIPS": true } }, { @@ -480,9 +471,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "us-iso-east-1" + "UseFIPS": false } }, { @@ -493,9 +484,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-iso-east-1" + "UseFIPS": false } }, { @@ -506,9 +497,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" + "UseFIPS": true } }, { @@ -519,9 +510,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + "UseFIPS": true } }, { @@ -532,9 +523,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": false } }, { @@ -545,9 +536,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": false } }, { @@ -556,9 +547,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-isob-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "us-isob-east-1" + "UseFIPS": true } }, { @@ -569,9 +560,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-isob-east-1" + "UseFIPS": true } }, { @@ -580,9 +571,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-isob-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "us-isob-east-1" + "UseFIPS": false } }, { @@ -593,9 +584,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-isob-east-1" + "UseFIPS": false } }, { @@ -606,9 +597,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -618,9 +609,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -630,9 +621,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } } @@ -1902,7 +1893,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "^[a-zA-Z][0-9a-zA-Z-_]*$" + "smithy.api#pattern": "^[0-9a-zA-Z-_.]+$" } }, "com.amazonaws.scheduler#NetworkConfiguration": { @@ -2120,7 +2111,7 @@ "min": 1, "max": 1600 }, - "smithy.api#pattern": "^arn:aws(-[a-z]+)?:iam::\\d{12}:role\\/(service-role\\/){0,1}[a-zA-Z0-9\\+=,\\.@\\-_]+$" + "smithy.api#pattern": "^arn:aws(-[a-z]+)?:iam::\\d{12}:role\\/[\\w+=,.@\\/-]+$" } }, "com.amazonaws.scheduler#SageMakerPipelineParameter": { @@ -2308,7 +2299,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "^[a-zA-Z][0-9a-zA-Z-_]*$" + "smithy.api#pattern": "^[0-9a-zA-Z-_.]+$" } }, "com.amazonaws.scheduler#ScheduleGroupState": { diff --git a/codegen/sdk-codegen/aws-models/ssm.json b/codegen/sdk-codegen/aws-models/ssm.json index 5b960716a73..daff15f9556 100644 --- a/codegen/sdk-codegen/aws-models/ssm.json +++ b/codegen/sdk-codegen/aws-models/ssm.json @@ -294,7 +294,7 @@ "target": "com.amazonaws.ssm#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

If you specify true for this value, your automation or command continue to run even if we can't gather information about the state of your CloudWatch alarm. The default value is false.

" + "smithy.api#documentation": "

If you specify true for this value, your automation or command continue to run\n even if we can't gather information about the state of your CloudWatch alarm. The default\n value is false.

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

The details for the CloudWatch alarm you want to apply to an automation or command.

" + "smithy.api#documentation": "

The details for the CloudWatch alarm you want to apply to an automation or\n command.

" } }, "com.amazonaws.ssm#AlarmList": { @@ -821,7 +821,7 @@ "name": "ssm" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Amazon Web Services Systems Manager is a collection of capabilities to help you manage your applications and\n infrastructure running in the Amazon Web Services Cloud;. Systems Manager simplifies application and resource management,\n shortens the time to detect and resolve operational problems, and helps you manage your Amazon Web Services\n resources securely at scale.

\n

This reference is intended to be used with the Amazon Web Services Systems Manager User Guide.

\n

To get started, verify prerequisites. For more information, see Setting up\n Amazon Web Services Systems Manager.

\n

\n Related resources\n

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

Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure\n end-to-end management solution for hybrid cloud environments that enables safe and secure\n operations at scale.

\n

This reference is intended to be used with the Amazon Web Services Systems Manager User Guide. To get started, see Setting up Amazon Web Services Systems Manager.

\n

\n Related resources\n

\n ", "smithy.api#title": "Amazon Simple Systems Manager (SSM)", "smithy.api#xmlNamespace": { "uri": "http://ssm.amazonaws.com/doc/2014-11-06/" @@ -831,7 +831,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -880,15 +880,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", @@ -1176,8 +1167,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-south-2" } }, @@ -1189,8 +1180,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-south-2" } }, @@ -1202,8 +1193,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-south-2" } }, @@ -1215,8 +1206,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-south-2" } }, @@ -1228,8 +1219,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-south-1" } }, @@ -1241,8 +1232,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-south-1" } }, @@ -1254,8 +1245,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-south-1" } }, @@ -1267,8 +1258,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-south-1" } }, @@ -1280,8 +1271,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-south-1" } }, @@ -1293,8 +1284,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-south-1" } }, @@ -1306,8 +1297,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-south-1" } }, @@ -1319,8 +1310,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-south-1" } }, @@ -1332,8 +1323,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-south-2" } }, @@ -1345,8 +1336,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-south-2" } }, @@ -1358,8 +1349,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-south-2" } }, @@ -1371,8 +1362,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-south-2" } }, @@ -1384,8 +1375,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-gov-east-1" } }, @@ -1397,8 +1388,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-gov-east-1" } }, @@ -1410,8 +1401,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-gov-east-1" } }, @@ -1423,8 +1414,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-gov-east-1" } }, @@ -1436,8 +1427,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "me-central-1" } }, @@ -1449,8 +1440,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "me-central-1" } }, @@ -1462,8 +1453,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "me-central-1" } }, @@ -1475,8 +1466,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "me-central-1" } }, @@ -1488,8 +1479,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ca-central-1" } }, @@ -1501,8 +1492,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ca-central-1" } }, @@ -1514,8 +1505,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ca-central-1" } }, @@ -1527,8 +1518,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ca-central-1" } }, @@ -1540,8 +1531,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-central-1" } }, @@ -1553,8 +1544,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-central-1" } }, @@ -1566,8 +1557,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-central-1" } }, @@ -1579,8 +1570,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-central-1" } }, @@ -1590,8 +1581,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-iso-west-1" } }, @@ -1603,8 +1594,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-iso-west-1" } }, @@ -1614,8 +1605,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-iso-west-1" } }, @@ -1627,8 +1618,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-iso-west-1" } }, @@ -1640,8 +1631,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-central-2" } }, @@ -1653,8 +1644,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-central-2" } }, @@ -1666,8 +1657,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-central-2" } }, @@ -1679,8 +1670,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-central-2" } }, @@ -1692,8 +1683,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-west-1" } }, @@ -1705,8 +1696,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-west-1" } }, @@ -1718,8 +1709,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-west-1" } }, @@ -1731,8 +1722,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-west-1" } }, @@ -1744,8 +1735,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-west-2" } }, @@ -1757,8 +1748,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-west-2" } }, @@ -1770,8 +1761,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-west-2" } }, @@ -1783,8 +1774,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-west-2" } }, @@ -1796,8 +1787,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "af-south-1" } }, @@ -1809,8 +1800,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "af-south-1" } }, @@ -1822,8 +1813,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "af-south-1" } }, @@ -1835,8 +1826,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "af-south-1" } }, @@ -1848,8 +1839,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-north-1" } }, @@ -1861,8 +1852,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-north-1" } }, @@ -1874,8 +1865,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-north-1" } }, @@ -1887,8 +1878,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-north-1" } }, @@ -1900,8 +1891,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-3" } }, @@ -1913,8 +1904,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-3" } }, @@ -1926,8 +1917,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-3" } }, @@ -1939,8 +1930,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-3" } }, @@ -1952,8 +1943,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-2" } }, @@ -1965,8 +1956,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-2" } }, @@ -1978,8 +1969,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-2" } }, @@ -1991,8 +1982,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-2" } }, @@ -2004,8 +1995,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-1" } }, @@ -2017,8 +2008,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-1" } }, @@ -2030,8 +2021,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-1" } }, @@ -2043,8 +2034,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-1" } }, @@ -2056,8 +2047,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-3" } }, @@ -2069,8 +2060,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-3" } }, @@ -2082,8 +2073,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-3" } }, @@ -2095,8 +2086,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-3" } }, @@ -2108,8 +2099,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-2" } }, @@ -2121,8 +2112,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-2" } }, @@ -2134,8 +2125,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-2" } }, @@ -2147,8 +2138,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-2" } }, @@ -2160,8 +2151,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-1" } }, @@ -2173,8 +2164,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-1" } }, @@ -2186,8 +2177,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-1" } }, @@ -2199,8 +2190,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-1" } }, @@ -2212,8 +2203,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "me-south-1" } }, @@ -2225,8 +2216,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "me-south-1" } }, @@ -2238,8 +2229,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "me-south-1" } }, @@ -2251,8 +2242,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "me-south-1" } }, @@ -2264,8 +2255,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "sa-east-1" } }, @@ -2277,8 +2268,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "sa-east-1" } }, @@ -2290,8 +2281,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "sa-east-1" } }, @@ -2303,8 +2294,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "sa-east-1" } }, @@ -2316,8 +2307,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-east-1" } }, @@ -2329,8 +2320,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-east-1" } }, @@ -2342,8 +2333,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-east-1" } }, @@ -2355,8 +2346,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-east-1" } }, @@ -2368,8 +2359,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "cn-north-1" } }, @@ -2381,8 +2372,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "cn-north-1" } }, @@ -2394,8 +2385,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "cn-north-1" } }, @@ -2407,8 +2398,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "cn-north-1" } }, @@ -2420,8 +2411,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-gov-west-1" } }, @@ -2433,8 +2424,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-gov-west-1" } }, @@ -2446,8 +2437,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-gov-west-1" } }, @@ -2459,8 +2450,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-gov-west-1" } }, @@ -2472,8 +2463,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-1" } }, @@ -2485,8 +2476,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-1" } }, @@ -2498,8 +2489,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-1" } }, @@ -2511,8 +2502,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-1" } }, @@ -2524,8 +2515,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-2" } }, @@ -2537,8 +2528,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-2" } }, @@ -2550,8 +2541,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-2" } }, @@ -2563,8 +2554,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-2" } }, @@ -2574,8 +2565,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-iso-east-1" } }, @@ -2587,8 +2578,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-iso-east-1" } }, @@ -2598,8 +2589,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-iso-east-1" } }, @@ -2611,8 +2602,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-iso-east-1" } }, @@ -2624,8 +2615,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-3" } }, @@ -2637,8 +2628,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-3" } }, @@ -2650,8 +2641,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-3" } }, @@ -2663,8 +2654,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-3" } }, @@ -2676,8 +2667,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-4" } }, @@ -2689,8 +2680,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-4" } }, @@ -2702,8 +2693,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-4" } }, @@ -2715,8 +2706,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-4" } }, @@ -2728,8 +2719,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-east-1" } }, @@ -2741,8 +2732,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-1" } }, @@ -2754,8 +2745,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-1" } }, @@ -2767,8 +2758,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-1" } }, @@ -2780,8 +2771,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-east-2" } }, @@ -2793,8 +2784,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-2" } }, @@ -2806,8 +2797,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-2" } }, @@ -2819,8 +2810,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-2" } }, @@ -2832,8 +2823,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "cn-northwest-1" } }, @@ -2845,8 +2836,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "cn-northwest-1" } }, @@ -2858,8 +2849,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "cn-northwest-1" } }, @@ -2871,8 +2862,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "cn-northwest-1" } }, @@ -2882,8 +2873,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-isob-east-1" } }, @@ -2895,8 +2886,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-isob-east-1" } }, @@ -2906,8 +2897,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-isob-east-1" } }, @@ -2919,8 +2910,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-isob-east-1" } }, @@ -2932,8 +2923,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-1", "Endpoint": "https://example.com" } @@ -2944,8 +2935,8 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-1", "Endpoint": "https://example.com" } @@ -2956,8 +2947,8 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-1", "Endpoint": "https://example.com" } @@ -6723,7 +6714,7 @@ "IamRole": { "target": "com.amazonaws.ssm#IamRole", "traits": { - "smithy.api#documentation": "

The name of the Identity and Access Management (IAM) role that you want to assign to\n the managed node. This IAM role must provide AssumeRole permissions for the\n Amazon Web Services Systems Manager service principal ssm.amazonaws.com. For more information, see Create an\n IAM service role for a hybrid environment in the\n Amazon Web Services Systems Manager User Guide.

\n \n

You can't specify an IAM service-linked role for this parameter. You must create a unique role.

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

The name of the Identity and Access Management (IAM) role that you want to assign to\n the managed node. This IAM role must provide AssumeRole permissions for the\n Amazon Web Services Systems Manager service principal ssm.amazonaws.com. For more information, see Create an\n IAM service role for a hybrid environment in the\n Amazon Web Services Systems Manager User Guide.

\n \n

You can't specify an IAM service-linked role for this parameter. You must\n create a unique role.

\n
", "smithy.api#required": {} } }, @@ -7156,7 +7147,7 @@ "Tags": { "target": "com.amazonaws.ssm#TagList", "traits": { - "smithy.api#documentation": "

Adds or overwrites one or more tags for a State Manager association. Tags\n are metadata that you can assign to your Amazon Web Services resources. Tags enable you to categorize your\n resources in different ways, for example, by purpose, owner, or environment. Each tag consists of\n a key and an optional value, both of which you define.

" + "smithy.api#documentation": "

Adds or overwrites one or more tags for a State Manager association.\n Tags are metadata that you can assign to your Amazon Web Services resources. Tags enable\n you to categorize your resources in different ways, for example, by purpose, owner, or\n environment. Each tag consists of a key and an optional value, both of which you define.

" } }, "AlarmConfiguration": { @@ -11783,7 +11774,7 @@ "code": "DocumentPermissionLimit", "httpResponseCode": 400 }, - "smithy.api#documentation": "

The document can't be shared with more Amazon Web Services user accounts. You can specify a maximum of 20 accounts per API operation to share a private document.

\n\n

By default, you can share a private document with a maximum of 1,000 accounts and publicly share up to five documents.

\n \n

If you need to increase the quota for privately or publicly shared Systems Manager documents, contact Amazon Web Services Support.

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

The document can't be shared with more Amazon Web Services user accounts. You can specify a maximum of\n 20 accounts per API operation to share a private document.

\n\n

By default, you can share a private document with a maximum of 1,000 accounts and publicly\n share up to five documents.

\n\n

If you need to increase the quota for privately or publicly shared Systems Manager documents, contact\n Amazon Web Services Support.

", "smithy.api#error": "client" } }, @@ -13692,7 +13683,7 @@ "AlarmConfiguration": { "target": "com.amazonaws.ssm#AlarmConfiguration", "traits": { - "smithy.api#documentation": "

The details for the CloudWatch alarm you applied to your maintenance window task.

" + "smithy.api#documentation": "

The details for the CloudWatch alarm you applied to your maintenance window\n task.

" } }, "TriggeredAlarms": { @@ -13951,7 +13942,7 @@ "AlarmConfiguration": { "target": "com.amazonaws.ssm#AlarmConfiguration", "traits": { - "smithy.api#documentation": "

The details for the CloudWatch alarm you applied to your maintenance window task.

" + "smithy.api#documentation": "

The details for the CloudWatch alarm you applied to your maintenance window\n task.

" } } } @@ -15584,21 +15575,21 @@ "target": "com.amazonaws.ssm#PatchCriticalNonCompliantCount", "traits": { "smithy.api#default": null, - "smithy.api#documentation": "

The number of patches per node that are specified as Critical for\n compliance reporting in the patch baseline aren't installed. These patches might be missing, have\n failed installation, were rejected, or were installed but awaiting a required managed node\n reboot. The status of these managed nodes is NON_COMPLIANT.

" + "smithy.api#documentation": "

The number of patches per node that are specified as Critical for compliance\n reporting in the patch baseline aren't installed. These patches might be missing, have failed\n installation, were rejected, or were installed but awaiting a required managed node reboot. The\n status of these managed nodes is NON_COMPLIANT.

" } }, "SecurityNonCompliantCount": { "target": "com.amazonaws.ssm#PatchSecurityNonCompliantCount", "traits": { "smithy.api#default": null, - "smithy.api#documentation": "

The number of patches per node that are specified as Security in a\n patch advisory aren't installed. These patches might be missing, have failed installation, were\n rejected, or were installed but awaiting a required managed node reboot. The status of these\n managed nodes is NON_COMPLIANT.

" + "smithy.api#documentation": "

The number of patches per node that are specified as Security in a patch\n advisory aren't installed. These patches might be missing, have failed installation, were\n rejected, or were installed but awaiting a required managed node reboot. The status of these\n managed nodes is NON_COMPLIANT.

" } }, "OtherNonCompliantCount": { "target": "com.amazonaws.ssm#PatchOtherNonCompliantCount", "traits": { "smithy.api#default": null, - "smithy.api#documentation": "

The number of patches per node that are specified as other than\n Critical or Security but aren't compliant with the patch baseline. The\n status of these managed nodes is NON_COMPLIANT.

" + "smithy.api#documentation": "

The number of patches per node that are specified as other than Critical or\n Security but aren't compliant with the patch baseline. The status of these managed\n nodes is NON_COMPLIANT.

" } } }, @@ -24473,7 +24464,7 @@ "ResourceArn": { "target": "com.amazonaws.ssm#ResourceArnString", "traits": { - "smithy.api#documentation": "

Amazon Resource Name (ARN) of the resource to which the policies are attached.

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

Amazon Resource Name (ARN) of the resource to which you want to attach a policy.

", "smithy.api#required": {} } }, @@ -24493,7 +24484,7 @@ "PolicyHash": { "target": "com.amazonaws.ssm#PolicyHash", "traits": { - "smithy.api#documentation": "

ID of the current policy version. The hash helps to prevent a situation where multiple users\n attempt to overwrite a policy.

" + "smithy.api#documentation": "

ID of the current policy version. The hash helps to prevent a situation where multiple users\n attempt to overwrite a policy. You must provide this hash when updating or deleting a\n policy.

" } } } @@ -24504,13 +24495,13 @@ "PolicyId": { "target": "com.amazonaws.ssm#PolicyId", "traits": { - "smithy.api#documentation": "

The policy ID. To update a policy, you must specify PolicyId and PolicyHash.

" + "smithy.api#documentation": "

The policy ID. To update a policy, you must specify PolicyId and\n PolicyHash.

" } }, "PolicyHash": { "target": "com.amazonaws.ssm#PolicyHash", "traits": { - "smithy.api#documentation": "

ID of the current policy version. The hash helps to prevent a situation where multiple users\n attempt to overwrite a policy. You must provide this hash when updating or deleting a\n policy.

" + "smithy.api#documentation": "

ID of the current policy version.

" } } } @@ -25791,7 +25782,7 @@ "code": "ResourcePolicyLimitExceededException", "httpResponseCode": 400 }, - "smithy.api#documentation": "

The PutResourcePolicy API action enforces two limits. A policy can't be\n greater than 1024 bytes in size. And only one policy can be attached to OpsItemGroup. Verify these limits and try again.

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

The PutResourcePolicy API action enforces two limits. A policy can't be\n greater than 1024 bytes in size. And only one policy can be attached to\n OpsItemGroup. Verify these limits and try again.

", "smithy.api#error": "client" } }, @@ -29398,7 +29389,7 @@ "AlarmConfiguration": { "target": "com.amazonaws.ssm#AlarmConfiguration", "traits": { - "smithy.api#documentation": "

The details for the CloudWatch alarm you applied to your maintenance window task.

" + "smithy.api#documentation": "

The details for the CloudWatch alarm you applied to your maintenance window\n task.

" } } } @@ -29436,7 +29427,7 @@ "IamRole": { "target": "com.amazonaws.ssm#IamRole", "traits": { - "smithy.api#documentation": "

The name of the Identity and Access Management (IAM) role that you want to assign to\n the managed node. This IAM role must provide AssumeRole permissions for the\n Amazon Web Services Systems Manager service principal ssm.amazonaws.com. For more information, see Create an\n IAM service role for a hybrid environment in the\n Amazon Web Services Systems Manager User Guide.

\n \n

You can't specify an IAM service-linked role for this parameter. You must create a unique role.

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

The name of the Identity and Access Management (IAM) role that you want to assign to\n the managed node. This IAM role must provide AssumeRole permissions for the\n Amazon Web Services Systems Manager service principal ssm.amazonaws.com. For more information, see Create an\n IAM service role for a hybrid environment in the\n Amazon Web Services Systems Manager User Guide.

\n \n

You can't specify an IAM service-linked role for this parameter. You must\n create a unique role.

\n
", "smithy.api#required": {} } } diff --git a/codegen/sdk-codegen/aws-models/support.json b/codegen/sdk-codegen/aws-models/support.json index 00cd9b6facb..bf94592f27e 100644 --- a/codegen/sdk-codegen/aws-models/support.json +++ b/codegen/sdk-codegen/aws-models/support.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.support#AWSSupport_20130415": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Support", - "arnNamespace": "support", - "cloudFormationName": "Support", - "cloudTrailEventSource": "support.amazonaws.com", - "endpointPrefix": "support" - }, - "aws.auth#sigv4": { - "name": "support" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Web Services Support\n

The Amazon Web Services Support API Reference is intended for programmers who need detailed\n information about the Amazon Web Services Support operations and data types. You can use the API to manage\n your support cases programmatically. The Amazon Web Services Support API uses HTTP methods that return\n results in JSON format.

\n \n \n \n

The Amazon Web Services Support service also exposes a set of Trusted Advisor features. You can\n retrieve a list of checks and their descriptions, get check results, specify checks to\n refresh, and get the refresh status of checks.

\n

The following list describes the Amazon Web Services Support case management operations:

\n \n

The following list describes the operations available from the Amazon Web Services Support service for\n Trusted Advisor:

\n \n

For authentication of requests, Amazon Web Services Support uses Signature Version 4 Signing\n Process.

\n

See About the\n Amazon Web Services Support API in the Amazon Web Services Support User Guide for\n information about how to use this service to create and manage your support cases, and\n how to call Trusted Advisor for results of checks on your resources.

", - "smithy.api#title": "AWS Support", - "smithy.api#xmlNamespace": { - "uri": "http://support.amazonaws.com/doc/2013-04-15/" - } - }, "version": "2013-04-15", "operations": [ { @@ -93,7 +75,696 @@ { "target": "com.amazonaws.support#ResolveCase" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Support", + "arnNamespace": "support", + "cloudFormationName": "Support", + "cloudTrailEventSource": "support.amazonaws.com", + "endpointPrefix": "support" + }, + "aws.auth#sigv4": { + "name": "support" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Web Services Support\n

The Amazon Web Services Support API Reference is intended for programmers who need detailed\n information about the Amazon Web Services Support operations and data types. You can use the API to manage\n your support cases programmatically. The Amazon Web Services Support API uses HTTP methods that return\n results in JSON format.

\n \n \n \n

You can also use the Amazon Web Services Support API to access features for Trusted Advisor. You can return a list of\n checks and their descriptions, get check results, specify checks to refresh, and get the\n refresh status of checks.

\n

You can manage your support cases with the following Amazon Web Services Support API operations:

\n \n

You can also use the Amazon Web Services Support API to call the Trusted Advisor operations. For more\n information, see Trusted Advisor in the\n Amazon Web Services Support User Guide.

\n

For authentication of requests, Amazon Web Services Support uses Signature Version 4 Signing\n Process.

\n

For more information about this service and the endpoints to use, see About the\n Amazon Web Services Support API in the Amazon Web Services Support User Guide.

", + "smithy.api#title": "AWS Support", + "smithy.api#xmlNamespace": { + "uri": "http://support.amazonaws.com/doc/2013-04-15/" + }, + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://support-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-gov-west-1" + ] + } + ], + "endpoint": { + "url": "https://support.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://support-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://support.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-global" + ] + } + ], + "endpoint": { + "url": "https://support.us-east-1.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1", + "signingName": "support" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-cn-global" + ] + } + ], + "endpoint": { + "url": "https://support.cn-north-1.amazonaws.com.cn", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-north-1", + "signingName": "support" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-us-gov-global" + ] + } + ], + "endpoint": { + "url": "https://support.us-gov-west-1.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1", + "signingName": "support" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-iso-global" + ] + } + ], + "endpoint": { + "url": "https://support.us-iso-east-1.c2s.ic.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1", + "signingName": "support" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-iso-b-global" + ] + } + ], + "endpoint": { + "url": "https://support.us-isob-east-1.sc2s.sgov.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1", + "signingName": "support" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://support.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region aws-cn-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "signingRegion": "cn-north-1", + "signingName": "support", + "name": "sigv4" + } + ] + }, + "url": "https://support.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "aws-cn-global", + "UseDualStack": false + } + }, + { + "documentation": "For region aws-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "signingRegion": "us-east-1", + "signingName": "support", + "name": "sigv4" + } + ] + }, + "url": "https://support.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "aws-global", + "UseDualStack": false + } + }, + { + "documentation": "For region aws-iso-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "signingRegion": "us-iso-east-1", + "signingName": "support", + "name": "sigv4" + } + ] + }, + "url": "https://support.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "aws-iso-global", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://support-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://support.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://support.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://support.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region aws-iso-b-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "signingRegion": "us-isob-east-1", + "signingName": "support", + "name": "sigv4" + } + ] + }, + "url": "https://support.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "aws-iso-b-global", + "UseDualStack": false + } + }, + { + "documentation": "For region aws-us-gov-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "signingRegion": "us-gov-west-1", + "signingName": "support", + "name": "sigv4" + } + ] + }, + "url": "https://support.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "aws-us-gov-global", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" + } + } }, "com.amazonaws.support#AddAttachmentsToSet": { "type": "operation", @@ -121,7 +792,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds one or more attachments to an attachment set.

\n

An attachment set is a temporary container for attachments that you add to a case or\n case communication. The set is available for 1 hour after it's created. The\n expiryTime returned in the response is when the set expires.

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

Adds one or more attachments to an attachment set.

\n

An attachment set is a temporary container for attachments that you add to a case or\n case communication. The set is available for 1 hour after it's created. The\n expiryTime returned in the response is when the set expires.

\n \n \n " } }, "com.amazonaws.support#AddAttachmentsToSetRequest": { @@ -136,7 +807,7 @@ "attachments": { "target": "com.amazonaws.support#Attachments", "traits": { - "smithy.api#documentation": "

One or more attachments to add to the set. You can add up to three attachments per\n set. The size limit is 5 MB per attachment.

\n

In the Attachment object, use the data parameter to specify\n the contents of the attachment file. In the previous request syntax, the value for\n data appear as blob, which is represented as a\n base64-encoded string. The value for fileName is the name of the\n attachment, such as troubleshoot-screenshot.png.

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

One or more attachments to add to the set. You can add up to three attachments per\n set. The size limit is 5 MB per attachment.

\n

In the Attachment object, use the data parameter to specify\n the contents of the attachment file. In the previous request syntax, the value for\n data appear as blob, which is represented as a\n base64-encoded string. The value for fileName is the name of the\n attachment, such as troubleshoot-screenshot.png.

", "smithy.api#required": {} } } @@ -185,7 +856,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds additional customer communication to an Amazon Web Services Support case. Use the caseId\n parameter to identify the case to which to add communication. You can list a set of\n email addresses to copy on the communication by using the ccEmailAddresses\n parameter. The communicationBody value contains the text of the\n communication.

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

Adds additional customer communication to an Amazon Web Services Support case. Use the caseId\n parameter to identify the case to which to add communication. You can list a set of\n email addresses to copy on the communication by using the ccEmailAddresses\n parameter. The communicationBody value contains the text of the\n communication.

\n \n \n " } }, "com.amazonaws.support#AddCommunicationToCaseRequest": { @@ -194,7 +865,7 @@ "caseId": { "target": "com.amazonaws.support#CaseId", "traits": { - "smithy.api#documentation": "

The support case ID requested or returned in the call. The case ID is an\n alphanumeric string formatted as shown in this example:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

" + "smithy.api#documentation": "

The support case ID requested or returned in the call. The case ID is an alphanumeric\n string formatted as shown in this example:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

" } }, "communicationBody": { @@ -213,7 +884,7 @@ "attachmentSetId": { "target": "com.amazonaws.support#AttachmentSetId", "traits": { - "smithy.api#documentation": "

The ID of a set of one or more attachments for the communication to add to the case.\n Create the set by calling AddAttachmentsToSet\n

" + "smithy.api#documentation": "

The ID of a set of one or more attachments for the communication to add to the case.\n Create the set by calling AddAttachmentsToSet\n

" } } } @@ -224,6 +895,7 @@ "result": { "target": "com.amazonaws.support#Result", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if AddCommunicationToCase succeeds. Otherwise, returns an\n error.

" } } @@ -372,7 +1044,10 @@ "type": "string" }, "com.amazonaws.support#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.support#CaseCreationLimitExceeded": { "type": "structure", @@ -395,7 +1070,7 @@ "caseId": { "target": "com.amazonaws.support#CaseId", "traits": { - "smithy.api#documentation": "

The support case ID requested or returned in the call. The case ID is an\n alphanumeric string formatted as shown in this example:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

" + "smithy.api#documentation": "

The support case ID requested or returned in the call. The case ID is an alphanumeric\n string formatted as shown in this example:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

" } }, "displayId": { @@ -413,7 +1088,7 @@ "status": { "target": "com.amazonaws.support#Status", "traits": { - "smithy.api#documentation": "

The status of the case.

\n

Valid values:

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

The status of the case.

\n

Valid values:

\n " } }, "serviceCode": { @@ -461,12 +1136,12 @@ "language": { "target": "com.amazonaws.support#Language", "traits": { - "smithy.api#documentation": "

The ISO 639-1 code for the language in which Amazon Web Services provides support. Amazon Web Services Support\n currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be\n passed explicitly for operations that take them.

" + "smithy.api#documentation": "

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support\ncurrently supports English (\"en\") and Japanese (\"ja\"). You must specify the ISO 639-1 code for the language parameter if you want support in that language.

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

A JSON-formatted object that contains the metadata for a support case. It is contained\n in the response from a DescribeCases request. CaseDetails contains the following fields:

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

A JSON-formatted object that contains the metadata for a support case. It is contained\n in the response from a DescribeCases request. CaseDetails contains the following fields:

\n " } }, "com.amazonaws.support#CaseId": { @@ -547,6 +1222,12 @@ "type": "list", "member": { "target": "com.amazonaws.support#CcEmailAddress" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } } }, "com.amazonaws.support#Communication": { @@ -555,7 +1236,7 @@ "caseId": { "target": "com.amazonaws.support#CaseId", "traits": { - "smithy.api#documentation": "

The support case ID requested or returned in the call. The case ID is an\n alphanumeric string formatted as shown in this example:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

" + "smithy.api#documentation": "

The support case ID requested or returned in the call. The case ID is an alphanumeric\n string formatted as shown in this example:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

" } }, "body": { @@ -584,11 +1265,17 @@ } }, "traits": { - "smithy.api#documentation": "

A communication associated with a support case. The communication consists of the\n case ID, the message body, attachment information, the submitter of the communication,\n and the date and time of the communication.

" + "smithy.api#documentation": "

A communication associated with a support case. The communication consists of the case\n ID, the message body, attachment information, the submitter of the communication, and\n the date and time of the communication.

" } }, "com.amazonaws.support#CommunicationBody": { - "type": "string" + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 8000 + } + } }, "com.amazonaws.support#CommunicationList": { "type": "list", @@ -619,7 +1306,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a case in the Amazon Web Services Support Center. This operation is similar to how you create a case\n in the Amazon Web Services Support Center Create\n Case page.

\n

The Amazon Web Services Support API doesn't support requesting service limit increases. You can submit a\n service limit increase in the following ways:

\n \n

A successful CreateCase request returns an Amazon Web Services Support case number. You can use\n the DescribeCases operation and specify the case number to get\n existing Amazon Web Services Support cases. After you create a case, use the AddCommunicationToCase operation to add additional communication or\n attachments to an existing case.

\n

The caseId is separate from the displayId that appears in\n the Amazon Web Services Support Center. Use the DescribeCases operation to get the displayId.

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

Creates a case in the Amazon Web Services Support Center. This operation is similar to how you create a case\n in the Amazon Web Services Support Center Create\n Case page.

\n

The Amazon Web Services Support API doesn't support requesting service limit increases. You can submit a\n service limit increase in the following ways:

\n \n

A successful CreateCase request returns an Amazon Web Services Support case number. You can use\n the DescribeCases operation and specify the case number to get\n existing Amazon Web Services Support cases. After you create a case, use the AddCommunicationToCase operation to add additional communication or\n attachments to an existing case.

\n

The caseId is separate from the displayId that appears in\n the Amazon Web Services Support Center. Use the DescribeCases operation to get the displayId.

\n \n \n " } }, "com.amazonaws.support#CreateCaseRequest": { @@ -641,7 +1328,7 @@ "severityCode": { "target": "com.amazonaws.support#SeverityCode", "traits": { - "smithy.api#documentation": "

A value that indicates the urgency of the case. This value determines the response\n time according to your service level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels operation to get the possible values for\n severityCode.

\n

For more information, see SeverityLevel and Choosing a\n Severity in the Amazon Web Services Support User Guide.

\n \n

The availability of severity levels depends on the support plan for the\n Amazon Web Services account.

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

A value that indicates the urgency of the case. This value determines the response\n time according to your service level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels operation to get the possible values for\n severityCode.

\n

For more information, see SeverityLevel and Choosing a\n Severity in the Amazon Web Services Support User Guide.

\n \n

The availability of severity levels depends on the support plan for the\n Amazon Web Services account.

\n
" } }, "categoryCode": { @@ -660,13 +1347,13 @@ "ccEmailAddresses": { "target": "com.amazonaws.support#CcEmailAddressList", "traits": { - "smithy.api#documentation": "

A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support\n identifies the account that creates the case when you specify your Amazon Web Services credentials in an\n HTTP POST method or use the Amazon Web Services SDKs.\n

" + "smithy.api#documentation": "

A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support\n identifies the account that creates the case when you specify your Amazon Web Services credentials in\n an HTTP POST method or use the Amazon Web Services SDKs.\n

" } }, "language": { "target": "com.amazonaws.support#Language", "traits": { - "smithy.api#documentation": "

The language in which Amazon Web Services Support handles the case. You must specify the ISO 639-1\n code for the language parameter if you want support in that language.\n Currently, English (\"en\") and Japanese (\"ja\") are supported.

" + "smithy.api#documentation": "

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support\ncurrently supports English (\"en\") and Japanese (\"ja\"). You must specify the ISO 639-1 code for the language parameter if you want support in that language.

" } }, "issueType": { @@ -689,7 +1376,7 @@ "caseId": { "target": "com.amazonaws.support#CaseId", "traits": { - "smithy.api#documentation": "

The support case ID requested or returned in the call. The case ID is an\n alphanumeric string in the following format:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

" + "smithy.api#documentation": "

The support case ID requested or returned in the call. The case ID is an alphanumeric\n string in the following format:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

" } } }, @@ -720,7 +1407,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the attachment that has the specified ID. Attachments can include screenshots,\n error logs, or other files that describe your issue. Attachment IDs are generated by the\n case management system when you add an attachment to a case or case communication.\n Attachment IDs are returned in the AttachmentDetails objects that are\n returned by the DescribeCommunications operation.

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

Returns the attachment that has the specified ID. Attachments can include screenshots,\n error logs, or other files that describe your issue. Attachment IDs are generated by the\n case management system when you add an attachment to a case or case communication.\n Attachment IDs are returned in the AttachmentDetails objects that are\n returned by the DescribeCommunications operation.

\n \n \n " } }, "com.amazonaws.support#DescribeAttachmentLimitExceeded": { @@ -756,7 +1443,7 @@ "attachment": { "target": "com.amazonaws.support#Attachment", "traits": { - "smithy.api#documentation": "

This object includes the attachment content and file name.

\n

In the previous response syntax, the value for the data parameter appears\n as blob, which is represented as a base64-encoded string. The value for\n fileName is the name of the attachment, such as\n troubleshoot-screenshot.png.

" + "smithy.api#documentation": "

This object includes the attachment content and file name.

\n

In the previous response syntax, the value for the data parameter appears\n as blob, which is represented as a base64-encoded string. The value for\n fileName is the name of the attachment, such as\n troubleshoot-screenshot.png.

" } } }, @@ -781,7 +1468,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of cases that you specify by passing one or more case IDs. You can use\n the afterTime and beforeTime parameters to filter the cases by\n date. You can set values for the includeResolvedCases and\n includeCommunications parameters to specify how much information to\n return.

\n

The response returns the following in JSON format:

\n \n

Case data is available for 12 months after creation. If a case was created more than\n 12 months ago, a request might return an error.

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

Returns a list of cases that you specify by passing one or more case IDs. You can use\n the afterTime and beforeTime parameters to filter the cases by\n date. You can set values for the includeResolvedCases and\n includeCommunications parameters to specify how much information to\n return.

\n

The response returns the following in JSON format:

\n \n

Case data is available for 12 months after creation. If a case was created more than\n 12 months ago, a request might return an error.

\n \n \n ", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -820,6 +1507,7 @@ "includeResolvedCases": { "target": "com.amazonaws.support#IncludeResolvedCases", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to include resolved support cases in the DescribeCases\n response. By default, resolved cases aren't included.

" } }, @@ -838,7 +1526,7 @@ "language": { "target": "com.amazonaws.support#Language", "traits": { - "smithy.api#documentation": "

The ISO 639-1 code for the language in which Amazon Web Services provides support. Amazon Web Services Support\n currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be\n passed explicitly for operations that take them.

" + "smithy.api#documentation": "

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support\ncurrently supports English (\"en\") and Japanese (\"ja\"). You must specify the ISO 639-1 code for the language parameter if you want support in that language.

" } }, "includeCommunications": { @@ -886,7 +1574,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns communications and attachments for one or more support cases. Use the\n afterTime and beforeTime parameters to filter by date. You\n can use the caseId parameter to restrict the results to a specific\n case.

\n

Case data is available for 12 months after creation. If a case was created more than\n 12 months ago, a request for data might cause an error.

\n

You can use the maxResults and nextToken parameters to\n control the pagination of the results. Set maxResults to the number of\n cases that you want to display on each page, and use nextToken to specify\n the resumption of pagination.

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

Returns communications and attachments for one or more support cases. Use the\n afterTime and beforeTime parameters to filter by date. You\n can use the caseId parameter to restrict the results to a specific\n case.

\n

Case data is available for 12 months after creation. If a case was created more than\n 12 months ago, a request for data might cause an error.

\n

You can use the maxResults and nextToken parameters to\n control the pagination of the results. Set maxResults to the number of\n cases that you want to display on each page, and use nextToken to specify\n the resumption of pagination.

\n \n \n ", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -901,7 +1589,7 @@ "caseId": { "target": "com.amazonaws.support#CaseId", "traits": { - "smithy.api#documentation": "

The support case ID requested or returned in the call. The case ID is an\n alphanumeric string formatted as shown in this example:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

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

The support case ID requested or returned in the call. The case ID is an alphanumeric\n string formatted as shown in this example:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

", "smithy.api#required": {} } }, @@ -965,7 +1653,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the current list of Amazon Web Services services and a list of service categories for each\n service. You then use service names and categories in your CreateCase\n requests. Each Amazon Web Services service has its own set of categories.

\n

The service codes and category codes correspond to the values that appear in the\n Service and Category lists on the Amazon Web Services Support Center Create Case page. The values in those fields\n don't necessarily match the service codes and categories returned by the\n DescribeServices operation. Always use the service codes and categories\n that the DescribeServices operation returns, so that you have the most\n recent set of service and category codes.

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

Returns the current list of Amazon Web Services services and a list of service categories for each\n service. You then use service names and categories in your CreateCase\n requests. Each Amazon Web Services service has its own set of categories.

\n

The service codes and category codes correspond to the values that appear in the\n Service and Category lists on the Amazon Web Services Support Center Create Case page. The values in those fields\n don't necessarily match the service codes and categories returned by the\n DescribeServices operation. Always use the service codes and categories\n that the DescribeServices operation returns, so that you have the most\n recent set of service and category codes.

\n \n \n " } }, "com.amazonaws.support#DescribeServicesRequest": { @@ -980,7 +1668,7 @@ "language": { "target": "com.amazonaws.support#Language", "traits": { - "smithy.api#documentation": "

The ISO 639-1 code for the language in which Amazon Web Services provides support. Amazon Web Services Support\n currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be\n passed explicitly for operations that take them.

" + "smithy.api#documentation": "

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support\ncurrently supports English (\"en\") and Japanese (\"ja\"). You must specify the ISO 639-1 code for the language parameter if you want support in that language.

" } } } @@ -1013,7 +1701,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the list of severity levels that you can assign to a support case. The severity\n level for a case is also a field in the CaseDetails data type that you\n include for a CreateCase request.

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

Returns the list of severity levels that you can assign to a support case. The\n severity level for a case is also a field in the CaseDetails data type\n that you include for a CreateCase request.

\n \n \n " } }, "com.amazonaws.support#DescribeSeverityLevelsRequest": { @@ -1022,7 +1710,7 @@ "language": { "target": "com.amazonaws.support#Language", "traits": { - "smithy.api#documentation": "

The ISO 639-1 code for the language in which Amazon Web Services provides support. Amazon Web Services Support\n currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be\n passed explicitly for operations that take them.

" + "smithy.api#documentation": "

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support\ncurrently supports English (\"en\") and Japanese (\"ja\"). You must specify the ISO 639-1 code for the language parameter if you want support in that language.

" } } } @@ -1055,7 +1743,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the refresh status of the Trusted Advisor checks that have the specified check\n IDs. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

\n

Some checks are refreshed automatically, and you can't return their refresh statuses\n by using the DescribeTrustedAdvisorCheckRefreshStatuses operation. If you\n call this operation for these checks, you might see an\n InvalidParameterValue error.

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

Returns the refresh status of the Trusted Advisor checks that have the specified check\n IDs. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

\n

Some checks are refreshed automatically, and you can't return their refresh statuses\n by using the DescribeTrustedAdvisorCheckRefreshStatuses operation. If you\n call this operation for these checks, you might see an\n InvalidParameterValue error.

\n \n \n \n

To call the Trusted Advisor operations in\nthe Amazon Web Services Support API, you must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe (Ireland) \nendpoints don't support the Trusted Advisor operations. For more information, see About the Amazon Web Services Support\nAPI in the Amazon Web Services Support User Guide.

" } }, "com.amazonaws.support#DescribeTrustedAdvisorCheckRefreshStatusesRequest": { @@ -1064,7 +1752,7 @@ "checkIds": { "target": "com.amazonaws.support#StringList", "traits": { - "smithy.api#documentation": "

The IDs of the Trusted Advisor checks to get the status.

\n \n

If you specify the check ID of a check that is automatically refreshed, you might\n see an InvalidParameterValue error.

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

The IDs of the Trusted Advisor checks to get the status.

\n \n

If you specify the check ID of a check that is automatically refreshed, you might\n see an InvalidParameterValue error.

\n
", "smithy.api#required": {} } } @@ -1099,7 +1787,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the results of the Trusted Advisor check that has the specified check ID. You\n can get the check IDs by calling the DescribeTrustedAdvisorChecks\n operation.

\n

The response contains a TrustedAdvisorCheckResult object, which\n contains these three objects:

\n \n

In addition, the response contains these fields:

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

Returns the results of the Trusted Advisor check that has the specified check ID. You\n can get the check IDs by calling the DescribeTrustedAdvisorChecks\n operation.

\n

The response contains a TrustedAdvisorCheckResult object, which\n contains these three objects:

\n \n

In addition, the response contains these fields:

\n \n \n \n \n

To call the Trusted Advisor operations in\nthe Amazon Web Services Support API, you must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe (Ireland) \nendpoints don't support the Trusted Advisor operations. For more information, see About the Amazon Web Services Support\nAPI in the Amazon Web Services Support User Guide.

" } }, "com.amazonaws.support#DescribeTrustedAdvisorCheckResultRequest": { @@ -1115,7 +1803,7 @@ "language": { "target": "com.amazonaws.support#String", "traits": { - "smithy.api#documentation": "

The ISO 639-1 code for the language in which Amazon Web Services provides support. Amazon Web Services Support\n currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be\n passed explicitly for operations that take them.

" + "smithy.api#documentation": "

The ISO 639-1 code for the language that you want your check results to appear\n in.

\n

The Amazon Web Services Support API currently supports the following languages for Trusted Advisor:

\n " } } }, @@ -1151,7 +1839,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the results for the Trusted Advisor check summaries for the check IDs that you\n specified. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

\n

The response contains an array of TrustedAdvisorCheckSummary\n objects.

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

Returns the results for the Trusted Advisor check summaries for the check IDs that you\n specified. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

\n

The response contains an array of TrustedAdvisorCheckSummary\n objects.

\n \n \n \n

To call the Trusted Advisor operations in\nthe Amazon Web Services Support API, you must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe (Ireland) \nendpoints don't support the Trusted Advisor operations. For more information, see About the Amazon Web Services Support\nAPI in the Amazon Web Services Support User Guide.

" } }, "com.amazonaws.support#DescribeTrustedAdvisorCheckSummariesRequest": { @@ -1195,7 +1883,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about all available Trusted Advisor checks, including the name, ID,\n category, description, and metadata. You must specify a language code. The Amazon Web Services Support API\n currently supports English (\"en\") and Japanese (\"ja\"). The response contains a TrustedAdvisorCheckDescription object for each check. You must set the\n Amazon Web Services Region to us-east-1.

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

Returns information about all available Trusted Advisor checks, including the name, ID,\n category, description, and metadata. You must specify a language code.

\n

The response contains a TrustedAdvisorCheckDescription object for\n each check. You must set the Amazon Web Services Region to us-east-1.

\n \n \n \n

To call the Trusted Advisor operations in\nthe Amazon Web Services Support API, you must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe (Ireland) \nendpoints don't support the Trusted Advisor operations. For more information, see About the Amazon Web Services Support\nAPI in the Amazon Web Services Support User Guide.

" } }, "com.amazonaws.support#DescribeTrustedAdvisorChecksRequest": { @@ -1204,7 +1892,7 @@ "language": { "target": "com.amazonaws.support#String", "traits": { - "smithy.api#documentation": "

The ISO 639-1 code for the language in which Amazon Web Services provides support. Amazon Web Services Support\n currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be\n passed explicitly for operations that take them.

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

The ISO 639-1 code for the language that you want your checks to appear in.

\n

The Amazon Web Services Support API currently supports the following languages for Trusted Advisor:

\n ", "smithy.api#required": {} } } @@ -1229,7 +1917,10 @@ "type": "string" }, "com.amazonaws.support#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.support#ErrorMessage": { "type": "string" @@ -1241,14 +1932,14 @@ "type": "string" }, "com.amazonaws.support#IncludeCommunications": { + "type": "boolean" + }, + "com.amazonaws.support#IncludeResolvedCases": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.support#IncludeResolvedCases": { - "type": "boolean" - }, "com.amazonaws.support#InternalServerError": { "type": "structure", "members": { @@ -1271,12 +1962,14 @@ "type": "string" }, "com.amazonaws.support#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.support#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 100 @@ -1320,7 +2013,7 @@ } ], "traits": { - "smithy.api#documentation": "

Refreshes the Trusted Advisor check that you specify using the check ID. You can get the\n check IDs by calling the DescribeTrustedAdvisorChecks\n operation.

\n \n

Some checks are refreshed automatically. If you call the\n RefreshTrustedAdvisorCheck operation to refresh them, you might see\n the InvalidParameterValue error.

\n
\n

The response contains a TrustedAdvisorCheckRefreshStatus\n object.

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

Refreshes the Trusted Advisor check that you specify using the check ID. You can get the\n check IDs by calling the DescribeTrustedAdvisorChecks\n operation.

\n

Some checks are refreshed automatically. If you call the\n RefreshTrustedAdvisorCheck operation to refresh them, you might see\n the InvalidParameterValue error.

\n

The response contains a TrustedAdvisorCheckRefreshStatus\n object.

\n \n \n \n

To call the Trusted Advisor operations in\nthe Amazon Web Services Support API, you must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe (Ireland) \nendpoints don't support the Trusted Advisor operations. For more information, see About the Amazon Web Services Support\nAPI in the Amazon Web Services Support User Guide.

" } }, "com.amazonaws.support#RefreshTrustedAdvisorCheckRequest": { @@ -1329,7 +2022,7 @@ "checkId": { "target": "com.amazonaws.support#String", "traits": { - "smithy.api#documentation": "

The unique identifier for the Trusted Advisor check to refresh.

\n \n

Specifying the check ID of a check that is automatically refreshed\n causes an InvalidParameterValue error.

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

The unique identifier for the Trusted Advisor check to refresh.

\n \n

Specifying the check ID of a check that is automatically refreshed causes an\n InvalidParameterValue error.

\n
", "smithy.api#required": {} } } @@ -1370,7 +2063,7 @@ } ], "traits": { - "smithy.api#documentation": "

Resolves a support case. This operation takes a caseId and returns the\n initial and final state of the case.

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

Resolves a support case. This operation takes a caseId and returns the\n initial and final state of the case.

\n \n \n " } }, "com.amazonaws.support#ResolveCaseRequest": { @@ -1379,7 +2072,7 @@ "caseId": { "target": "com.amazonaws.support#CaseId", "traits": { - "smithy.api#documentation": "

The support case ID requested or returned in the call. The case ID is an\n alphanumeric string formatted as shown in this example:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

" + "smithy.api#documentation": "

The support case ID requested or returned in the call. The case ID is an alphanumeric\n string formatted as shown in this example:\n case-12345678910-2013-c4c1d2bf33c5cf47\n

" } } } @@ -1405,7 +2098,10 @@ } }, "com.amazonaws.support#Result": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.support#Service": { "type": "structure", @@ -1469,13 +2165,13 @@ "code": { "target": "com.amazonaws.support#SeverityLevelCode", "traits": { - "smithy.api#documentation": "

The code for case severity level.

\n

Valid values: low | normal | high |\n urgent | critical\n

" + "smithy.api#documentation": "

The code for case severity level.

\n

Valid values: low | normal | high |\n urgent | critical\n

" } }, "name": { "target": "com.amazonaws.support#SeverityLevelName", "traits": { - "smithy.api#documentation": "

The name of the severity level that corresponds to the severity level code.

\n \n

The values returned by the API are different from the values that appear in the\n Amazon Web Services Support Center. For example, the API uses the code low, but the name\n appears as General guidance in Support Center.

\n

The following are the API code names and how they appear in the console:

\n \n
\n

For more information, see Choosing a\n severity in the Amazon Web Services Support User Guide.

" + "smithy.api#documentation": "

The name of the severity level that corresponds to the severity level code.

\n \n

The values returned by the API are different from the values that appear in the\n Amazon Web Services Support Center. For example, the API uses the code low, but the name\n appears as General guidance in Support Center.

\n

The following are the API code names and how they appear in the console:

\n \n
\n

For more information, see Choosing a\n severity in the Amazon Web Services Support User Guide.

" } } }, @@ -1522,12 +2218,12 @@ "costOptimizing": { "target": "com.amazonaws.support#TrustedAdvisorCostOptimizingSummary", "traits": { - "smithy.api#documentation": "

The summary information about cost savings for a Trusted Advisor check that is in the\n Cost Optimizing category.

" + "smithy.api#documentation": "

The summary information about cost savings for a Trusted Advisor check that is in the Cost\n Optimizing category.

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

The container for summary information that relates to the category of the Trusted Advisor check.

" + "smithy.api#documentation": "

The container for summary information that relates to the category of the Trusted Advisor\n check.

" } }, "com.amazonaws.support#TrustedAdvisorCheckDescription": { @@ -1564,7 +2260,7 @@ "metadata": { "target": "com.amazonaws.support#StringList", "traits": { - "smithy.api#documentation": "

The column headings for the data returned by the Trusted Advisor check. The order of\n the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail\n for the check. Metadata contains all the data that is\n shown in the Excel download, even in those cases where the UI shows just summary data.\n

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

The column headings for the data returned by the Trusted Advisor check. The order of the\n headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail\n for the check. Metadata contains all the data that is\n shown in the Excel download, even in those cases where the UI shows just summary data.\n

", "smithy.api#required": {} } } @@ -1592,13 +2288,14 @@ "status": { "target": "com.amazonaws.support#String", "traits": { - "smithy.api#documentation": "

The status of the Trusted Advisor check for which a refresh has been requested:\n

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

The status of the Trusted Advisor check for which a refresh has been requested:\n

\n ", "smithy.api#required": {} } }, "millisUntilNextRefreshable": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in milliseconds, until the Trusted Advisor check is eligible for\n refresh.

", "smithy.api#required": {} } @@ -1690,6 +2387,7 @@ "hasFlaggedResources": { "target": "com.amazonaws.support#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the Trusted Advisor check has flagged resources.

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

A summary of a Trusted Advisor check result, including the alert status, last refresh,\n and number of resources examined.

" + "smithy.api#documentation": "

A summary of a Trusted Advisor check result, including the alert status, last refresh, and\n number of resources examined.

" } }, "com.amazonaws.support#TrustedAdvisorCheckSummaryList": { @@ -1723,6 +2421,7 @@ "estimatedMonthlySavings": { "target": "com.amazonaws.support#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimated monthly savings that might be realized if the recommended operations are\n taken.

", "smithy.api#required": {} } @@ -1730,6 +2429,7 @@ "estimatedPercentMonthlySavings": { "target": "com.amazonaws.support#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimated percentage of savings that might be realized if the recommended\n operations are taken.

", "smithy.api#required": {} } @@ -1765,7 +2465,8 @@ "isSuppressed": { "target": "com.amazonaws.support#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether the Amazon Web Services resource was ignored by Trusted Advisor because it was\n marked as suppressed by the user.

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

Specifies whether the Amazon Web Services resource was ignored by Trusted Advisor because it was marked as\n suppressed by the user.

" } }, "metadata": { @@ -1792,6 +2493,7 @@ "resourcesProcessed": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Amazon Web Services resources that were analyzed by the Trusted Advisor check.

", "smithy.api#required": {} } @@ -1799,13 +2501,15 @@ "resourcesFlagged": { "target": "com.amazonaws.support#Long", "traits": { - "smithy.api#documentation": "

The number of Amazon Web Services resources that were flagged (listed) by the Trusted Advisor\n check.

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

The number of Amazon Web Services resources that were flagged (listed) by the Trusted Advisor check.

", "smithy.api#required": {} } }, "resourcesIgnored": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Amazon Web Services resources ignored by Trusted Advisor because information was\n unavailable.

", "smithy.api#required": {} } @@ -1813,6 +2517,7 @@ "resourcesSuppressed": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Amazon Web Services resources ignored by Trusted Advisor because they were marked as\n suppressed by the user.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/transfer.json b/codegen/sdk-codegen/aws-models/transfer.json index 4adb703bd88..fc12e6081d3 100644 --- a/codegen/sdk-codegen/aws-models/transfer.json +++ b/codegen/sdk-codegen/aws-models/transfer.json @@ -122,7 +122,7 @@ "EncryptionAlgorithm": { "target": "com.amazonaws.transfer#EncryptionAlg", "traits": { - "smithy.api#documentation": "

The algorithm that is used to encrypt the file.

\n \n

You can only specify NONE if the URL for your connector uses HTTPS. This ensures that\n no traffic is sent in clear text.

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

The algorithm that is used to encrypt the file.

" } }, "SigningAlgorithm": { @@ -134,7 +134,7 @@ "MdnSigningAlgorithm": { "target": "com.amazonaws.transfer#MdnSigningAlg", "traits": { - "smithy.api#documentation": "

The signing algorithm for the MDN response.

\n \n

If set to DEFAULT (or not set at all), the value for SigningAlgorithm is used.

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

The signing algorithm for the MDN response.

\n \n

If set to DEFAULT (or not set at all), the value for SigningAlogorithm is used.

\n
" } }, "MdnResponse": { @@ -507,9 +507,6 @@ }, { "target": "com.amazonaws.transfer#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.transfer#ThrottlingException" } ], "traits": { @@ -609,9 +606,6 @@ }, { "target": "com.amazonaws.transfer#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.transfer#ThrottlingException" } ], "traits": { @@ -688,9 +682,6 @@ }, { "target": "com.amazonaws.transfer#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.transfer#ThrottlingException" } ], "traits": { @@ -865,7 +856,7 @@ "WorkflowDetails": { "target": "com.amazonaws.transfer#WorkflowDetails", "traits": { - "smithy.api#documentation": "

Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.

\n

In addition to a workflow to execute when a file is uploaded completely, WorkflowDetails can also contain a\n workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when\n the session disconnects.

" + "smithy.api#documentation": "

Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.

\n

In additon to a workflow to execute when a file is uploaded completely, WorkflowDeatails can also contain a\n workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when\n the session disconnects.

" } } } @@ -961,7 +952,7 @@ "SshPublicKeyBody": { "target": "com.amazonaws.transfer#SshPublicKeyBody", "traits": { - "smithy.api#documentation": "

The public portion of the Secure Shell (SSH) key used to authenticate the user to the\n server.

\n

The three standard SSH public key format elements are ,\n , and an optional , with spaces\n between each element.

\n

Transfer Family accepts RSA, ECDSA, and ED25519 keys.

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

The public portion of the Secure Shell (SSH) key used to authenticate the user to the\n server.

\n

Transfer Family accepts RSA, ECDSA, and ED25519 keys.

" } }, "Tags": { @@ -1143,6 +1134,32 @@ "com.amazonaws.transfer#DateImported": { "type": "timestamp" }, + "com.amazonaws.transfer#DecryptStepDetails": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.transfer#WorkflowStepName" + }, + "Type": { + "target": "com.amazonaws.transfer#EncryptionType", + "traits": { + "smithy.api#required": {} + } + }, + "SourceFileLocation": { + "target": "com.amazonaws.transfer#SourceFileLocation" + }, + "OverwriteExisting": { + "target": "com.amazonaws.transfer#OverwriteExisting" + }, + "DestinationFileLocation": { + "target": "com.amazonaws.transfer#InputFileLocation", + "traits": { + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.transfer#DeleteAccess": { "type": "operation", "input": { @@ -2824,7 +2841,7 @@ "WorkflowDetails": { "target": "com.amazonaws.transfer#WorkflowDetails", "traits": { - "smithy.api#documentation": "

Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.

\n

In addition to a workflow to execute when a file is uploaded completely, WorkflowDetails can also contain a\n workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when\n the session disconnects.

" + "smithy.api#documentation": "

Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.

\n

In additon to a workflow to execute when a file is uploaded completely, WorkflowDeatails can also contain a\n workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when\n the session disconnects.

" } } }, @@ -3052,6 +3069,17 @@ } } }, + "com.amazonaws.transfer#EncryptionType": { + "type": "enum", + "members": { + "PGP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PGP" + } + } + } + }, "com.amazonaws.transfer#EndpointDetails": { "type": "structure", "members": { @@ -6813,7 +6841,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -8588,9 +8616,6 @@ }, { "target": "com.amazonaws.transfer#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.transfer#ThrottlingException" } ], "traits": { @@ -8691,9 +8716,6 @@ }, { "target": "com.amazonaws.transfer#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.transfer#ThrottlingException" } ], "traits": { @@ -8787,9 +8809,6 @@ }, { "target": "com.amazonaws.transfer#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.transfer#ThrottlingException" } ], "traits": { @@ -8861,9 +8880,6 @@ }, { "target": "com.amazonaws.transfer#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.transfer#ThrottlingException" } ], "traits": { @@ -9012,9 +9028,6 @@ }, { "target": "com.amazonaws.transfer#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.transfer#ThrottlingException" } ], "traits": { @@ -9168,7 +9181,7 @@ "WorkflowDetails": { "target": "com.amazonaws.transfer#WorkflowDetails", "traits": { - "smithy.api#documentation": "

Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.

\n

In addition to a workflow to execute when a file is uploaded completely, WorkflowDetails can also contain a\n workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when\n the session disconnects.

\n

To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the following example.

\n

\n aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{\"OnUpload\":[]}'\n

" + "smithy.api#documentation": "

Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.

\n

In additon to a workflow to execute when a file is uploaded completely, WorkflowDeatails can also contain a\n workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when\n the session disconnects.

\n

To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the following example.

\n

\n aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{\"OnUpload\":[]}'\n

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

Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.

\n

In addition to a workflow to execute when a file is uploaded completely, WorkflowDetails can also contain a\n workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when\n the session disconnects.

" + "smithy.api#documentation": "

Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.

\n

In additon to a workflow to execute when a file is uploaded completely, WorkflowDeatails can also contain a\n workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when\n the session disconnects.

" } }, "com.amazonaws.transfer#WorkflowDetails": { @@ -9458,6 +9471,9 @@ "traits": { "smithy.api#documentation": "

Details for a step that creates one or more tags.

\n

You specify one or more tags: each tag contains a key/value pair.

" } + }, + "DecryptStepDetails": { + "target": "com.amazonaws.transfer#DecryptStepDetails" } }, "traits": { @@ -9500,6 +9516,12 @@ "traits": { "smithy.api#enumValue": "DELETE" } + }, + "DECRYPT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DECRYPT" + } } } },