diff --git a/CHANGELOG.md b/CHANGELOG.md index cbee76e04b..5507af003f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +Release v1.44.165 (2022-12-21) +=== + +### Service Client Updates +* `service/connect`: Updates service API +* `service/connectparticipant`: Updates service API +* `service/license-manager-linux-subscriptions`: Adds new service +* `service/macie2`: Updates service API +* `service/sagemaker`: Updates service API and documentation + * This release enables adding RStudio Workbench support to an existing Amazon SageMaker Studio domain. It allows setting your RStudio on SageMaker environment configuration parameters and also updating the RStudioConnectUrl and RStudioPackageManagerUrl parameters for existing domains +* `service/scheduler`: Updates service API +* `service/ssm`: Updates service documentation + * Doc-only updates for December 2022. +* `service/support`: Updates service documentation + * Documentation updates for the AWS Support API +* `service/transfer`: Updates service API and documentation + * This release adds support for Decrypt as a workflow step type. + Release v1.44.164 (2022-12-20) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 666813234f..9309c57d54 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -1831,6 +1831,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -12591,12 +12594,18 @@ var awsPartition = partition{ }, "identitystore": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{}, endpointKey{ Region: "ap-northeast-1", }: endpoint{}, endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, @@ -12606,6 +12615,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -12615,12 +12627,21 @@ var awsPartition = partition{ endpointKey{ Region: "eu-north-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-1", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, endpointKey{ Region: "eu-west-2", }: endpoint{}, + endpointKey{ + Region: "eu-west-3", + }: endpoint{}, + endpointKey{ + Region: "sa-east-1", + }: endpoint{}, endpointKey{ Region: "us-east-1", }: endpoint{}, @@ -16022,6 +16043,9 @@ var awsPartition = partition{ }, "mediaconvert": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{}, endpointKey{ Region: "ap-northeast-1", }: endpoint{}, @@ -20906,6 +20930,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -24230,6 +24257,13 @@ var awsPartition = partition{ }: endpoint{}, }, }, + "ssm-sap": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-east-1", + }: endpoint{}, + }, + }, "sso": service{ Endpoints: serviceEndpoints{ endpointKey{ diff --git a/aws/version.go b/aws/version.go index 505c0a689b..5fab7c43f6 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.164" +const SDKVersion = "1.44.165" diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index cf7005366e..3d7fcbb59e 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -3160,7 +3160,7 @@ }, "ChatContent":{ "type":"string", - "max":1024, + "max":16384, "min":1 }, "ChatContentType":{ diff --git a/models/apis/connect/2017-08-08/endpoint-tests-1.json b/models/apis/connect/2017-08-08/endpoint-tests-1.json index 9573af2436..c974fdf4f4 100644 --- a/models/apis/connect/2017-08-08/endpoint-tests-1.json +++ b/models/apis/connect/2017-08-08/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": true } }, { @@ -22,8 +22,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": false } }, { @@ -35,8 +35,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": true } }, { @@ -48,8 +48,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": false } }, { @@ -61,8 +61,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": true } }, { @@ -74,8 +74,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": false } }, { @@ -87,8 +87,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": true } }, { @@ -100,8 +100,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": false } }, { @@ -113,8 +113,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": true } }, { @@ -126,8 +126,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": false } }, { @@ -139,8 +139,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": true } }, { @@ -152,8 +152,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": false } }, { @@ -165,8 +165,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": true } }, { @@ -178,8 +178,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": false } }, { @@ -191,8 +191,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": true } }, { @@ -204,8 +204,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": false } }, { @@ -217,8 +217,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": true } }, { @@ -230,8 +230,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": false } }, { @@ -243,8 +243,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": true } }, { @@ -256,8 +256,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": false } }, { @@ -269,8 +269,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": true } }, { @@ -282,8 +282,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": false } }, { @@ -295,8 +295,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": true } }, { @@ -308,8 +308,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": false } }, { @@ -321,8 +321,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": true } }, { @@ -334,8 +334,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": false } }, { @@ -347,8 +347,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": true } }, { @@ -360,8 +360,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": false } }, { @@ -373,8 +373,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": true } }, { @@ -386,8 +386,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": false } }, { @@ -399,8 +399,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": true } }, { @@ -412,8 +412,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": false } }, { @@ -425,8 +425,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": true } }, { @@ -438,8 +438,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": false } }, { @@ -451,8 +451,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": true } }, { @@ -464,8 +464,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": false } }, { @@ -477,8 +477,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": true } }, { @@ -490,8 +490,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": false } }, { @@ -503,8 +503,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": true } }, { @@ -516,8 +516,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": false } }, { @@ -529,8 +529,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": true } }, { @@ -542,8 +542,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": false } }, { @@ -555,8 +555,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": true } }, { @@ -568,8 +568,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": false } }, { @@ -581,8 +581,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -594,8 +594,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -607,8 +607,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -620,8 +620,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -633,8 +633,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -645,8 +645,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -657,8 +657,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, "Region": "us-east-1", + "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/connectparticipant/2018-09-07/api-2.json b/models/apis/connectparticipant/2018-09-07/api-2.json index 8b79633fae..12d6708c58 100644 --- a/models/apis/connectparticipant/2018-09-07/api-2.json +++ b/models/apis/connectparticipant/2018-09-07/api-2.json @@ -191,7 +191,7 @@ "Bool":{"type":"boolean"}, "ChatContent":{ "type":"string", - "max":1024, + "max":16384, "min":1 }, "ChatContentType":{ diff --git a/models/apis/connectparticipant/2018-09-07/endpoint-rule-set-1.json b/models/apis/connectparticipant/2018-09-07/endpoint-rule-set-1.json new file mode 100644 index 0000000000..e9ba24201b --- /dev/null +++ b/models/apis/connectparticipant/2018-09-07/endpoint-rule-set-1.json @@ -0,0 +1,300 @@ +{ + "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" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/connectparticipant/2018-09-07/endpoint-tests-1.json b/models/apis/connectparticipant/2018-09-07/endpoint-tests-1.json new file mode 100644 index 0000000000..2c41d97d82 --- /dev/null +++ b/models/apis/connectparticipant/2018-09-07/endpoint-tests-1.json @@ -0,0 +1,667 @@ +{ + "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" +} \ No newline at end of file diff --git a/models/apis/license-manager-linux-subscriptions/2018-05-10/api-2.json b/models/apis/license-manager-linux-subscriptions/2018-05-10/api-2.json new file mode 100644 index 0000000000..8dcaa007fa --- /dev/null +++ b/models/apis/license-manager-linux-subscriptions/2018-05-10/api-2.json @@ -0,0 +1,301 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2018-05-10", + "endpointPrefix":"license-manager-linux-subscriptions", + "jsonVersion":"1.1", + "protocol":"rest-json", + "serviceFullName":"AWS License Manager Linux Subscriptions", + "serviceId":"License Manager Linux Subscriptions", + "signatureVersion":"v4", + "signingName":"license-manager-linux-subscriptions", + "uid":"license-manager-linux-subscriptions-2018-05-10" + }, + "operations":{ + "GetServiceSettings":{ + "name":"GetServiceSettings", + "http":{ + "method":"POST", + "requestUri":"/subscription/GetServiceSettings", + "responseCode":200 + }, + "input":{"shape":"GetServiceSettingsRequest"}, + "output":{"shape":"GetServiceSettingsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "idempotent":true + }, + "ListLinuxSubscriptionInstances":{ + "name":"ListLinuxSubscriptionInstances", + "http":{ + "method":"POST", + "requestUri":"/subscription/ListLinuxSubscriptionInstances", + "responseCode":200 + }, + "input":{"shape":"ListLinuxSubscriptionInstancesRequest"}, + "output":{"shape":"ListLinuxSubscriptionInstancesResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "idempotent":true + }, + "ListLinuxSubscriptions":{ + "name":"ListLinuxSubscriptions", + "http":{ + "method":"POST", + "requestUri":"/subscription/ListLinuxSubscriptions", + "responseCode":200 + }, + "input":{"shape":"ListLinuxSubscriptionsRequest"}, + "output":{"shape":"ListLinuxSubscriptionsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "idempotent":true + }, + "UpdateServiceSettings":{ + "name":"UpdateServiceSettings", + "http":{ + "method":"POST", + "requestUri":"/subscription/UpdateServiceSettings", + "responseCode":200 + }, + "input":{"shape":"UpdateServiceSettingsRequest"}, + "output":{"shape":"UpdateServiceSettingsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "idempotent":true + } + }, + "shapes":{ + "Boolean":{ + "type":"boolean", + "box":true + }, + "BoxInteger":{ + "type":"integer", + "box":true + }, + "BoxLong":{ + "type":"long", + "box":true + }, + "Filter":{ + "type":"structure", + "members":{ + "Name":{"shape":"String"}, + "Operator":{"shape":"Operator"}, + "Values":{"shape":"StringList"} + } + }, + "FilterList":{ + "type":"list", + "member":{"shape":"Filter"} + }, + "GetServiceSettingsRequest":{ + "type":"structure", + "members":{ + } + }, + "GetServiceSettingsResponse":{ + "type":"structure", + "members":{ + "HomeRegions":{"shape":"StringList"}, + "LinuxSubscriptionsDiscovery":{"shape":"LinuxSubscriptionsDiscovery"}, + "LinuxSubscriptionsDiscoverySettings":{"shape":"LinuxSubscriptionsDiscoverySettings"}, + "Status":{"shape":"Status"}, + "StatusMessage":{"shape":"StringMap"} + } + }, + "Instance":{ + "type":"structure", + "members":{ + "AccountID":{"shape":"String"}, + "AmiId":{"shape":"String"}, + "InstanceID":{"shape":"String"}, + "InstanceType":{"shape":"String"}, + "LastUpdatedTime":{"shape":"String"}, + "ProductCode":{"shape":"ProductCodeList"}, + "Region":{"shape":"String"}, + "Status":{"shape":"String"}, + "SubscriptionName":{"shape":"String"}, + "UsageOperation":{"shape":"String"} + } + }, + "InstanceList":{ + "type":"list", + "member":{"shape":"Instance"} + }, + "InternalServerException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "exception":true, + "fault":true + }, + "LinuxSubscriptionsDiscovery":{ + "type":"string", + "enum":[ + "Enabled", + "Disabled" + ] + }, + "LinuxSubscriptionsDiscoverySettings":{ + "type":"structure", + "required":[ + "OrganizationIntegration", + "SourceRegions" + ], + "members":{ + "OrganizationIntegration":{"shape":"OrganizationIntegration"}, + "SourceRegions":{"shape":"StringList"} + } + }, + "ListLinuxSubscriptionInstancesRequest":{ + "type":"structure", + "members":{ + "Filters":{"shape":"FilterList"}, + "MaxResults":{"shape":"BoxInteger"}, + "NextToken":{"shape":"ListLinuxSubscriptionInstancesRequestNextTokenString"} + } + }, + "ListLinuxSubscriptionInstancesRequestNextTokenString":{ + "type":"string", + "max":16384, + "min":1 + }, + "ListLinuxSubscriptionInstancesResponse":{ + "type":"structure", + "members":{ + "Instances":{"shape":"InstanceList"}, + "NextToken":{"shape":"String"} + } + }, + "ListLinuxSubscriptionsRequest":{ + "type":"structure", + "members":{ + "Filters":{"shape":"FilterList"}, + "MaxResults":{"shape":"BoxInteger"}, + "NextToken":{"shape":"ListLinuxSubscriptionsRequestNextTokenString"} + } + }, + "ListLinuxSubscriptionsRequestNextTokenString":{ + "type":"string", + "max":16384, + "min":1 + }, + "ListLinuxSubscriptionsResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"String"}, + "Subscriptions":{"shape":"SubscriptionList"} + } + }, + "Operator":{ + "type":"string", + "enum":[ + "Equal", + "NotEqual", + "Contains" + ], + "max":20, + "min":1 + }, + "OrganizationIntegration":{ + "type":"string", + "enum":[ + "Enabled", + "Disabled" + ] + }, + "ProductCodeList":{ + "type":"list", + "member":{"shape":"String"} + }, + "Status":{ + "type":"string", + "enum":[ + "InProgress", + "Completed", + "Successful", + "Failed" + ] + }, + "String":{"type":"string"}, + "StringList":{ + "type":"list", + "member":{"shape":"StringListMemberString"}, + "max":100, + "min":1 + }, + "StringListMemberString":{ + "type":"string", + "max":100, + "min":1 + }, + "StringMap":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, + "Subscription":{ + "type":"structure", + "members":{ + "InstanceCount":{"shape":"BoxLong"}, + "Name":{"shape":"String"}, + "Type":{"shape":"String"} + } + }, + "SubscriptionList":{ + "type":"list", + "member":{"shape":"Subscription"} + }, + "ThrottlingException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "exception":true + }, + "UpdateServiceSettingsRequest":{ + "type":"structure", + "required":[ + "LinuxSubscriptionsDiscovery", + "LinuxSubscriptionsDiscoverySettings" + ], + "members":{ + "AllowUpdate":{"shape":"Boolean"}, + "LinuxSubscriptionsDiscovery":{"shape":"LinuxSubscriptionsDiscovery"}, + "LinuxSubscriptionsDiscoverySettings":{"shape":"LinuxSubscriptionsDiscoverySettings"} + } + }, + "UpdateServiceSettingsResponse":{ + "type":"structure", + "members":{ + "HomeRegions":{"shape":"StringList"}, + "LinuxSubscriptionsDiscovery":{"shape":"LinuxSubscriptionsDiscovery"}, + "LinuxSubscriptionsDiscoverySettings":{"shape":"LinuxSubscriptionsDiscoverySettings"}, + "Status":{"shape":"Status"}, + "StatusMessage":{"shape":"StringMap"} + } + }, + "ValidationException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "exception":true + } + } +} diff --git a/models/apis/license-manager-linux-subscriptions/2018-05-10/docs-2.json b/models/apis/license-manager-linux-subscriptions/2018-05-10/docs-2.json new file mode 100644 index 0000000000..a855a3be38 --- /dev/null +++ b/models/apis/license-manager-linux-subscriptions/2018-05-10/docs-2.json @@ -0,0 +1,223 @@ +{ + "version": "2.0", + "service": "

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

", + "operations": { + "GetServiceSettings": "

Lists the Linux subscriptions service settings.

", + "ListLinuxSubscriptionInstances": "

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

", + "ListLinuxSubscriptions": "

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

", + "UpdateServiceSettings": "

Updates the service settings for Linux subscriptions.

" + }, + "shapes": { + "Boolean": { + "base": null, + "refs": { + "UpdateServiceSettingsRequest$AllowUpdate": "

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

" + } + }, + "BoxInteger": { + "base": null, + "refs": { + "ListLinuxSubscriptionInstancesRequest$MaxResults": "

Maximum number of results to return in a single call.

", + "ListLinuxSubscriptionsRequest$MaxResults": "

Maximum number of results to return in a single call.

" + } + }, + "BoxLong": { + "base": null, + "refs": { + "Subscription$InstanceCount": "

The total amount of running instances using this subscription.

" + } + }, + "Filter": { + "base": "

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

", + "refs": { + "FilterList$member": null + } + }, + "FilterList": { + "base": null, + "refs": { + "ListLinuxSubscriptionInstancesRequest$Filters": "

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

The valid names for this filter are:

The valid Operators for this filter are:

", + "ListLinuxSubscriptionsRequest$Filters": "

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

The valid names for this filter are:

The valid Operators for this filter are:

" + } + }, + "GetServiceSettingsRequest": { + "base": null, + "refs": { + } + }, + "GetServiceSettingsResponse": { + "base": null, + "refs": { + } + }, + "Instance": { + "base": "

Details discovered information about a running instance using Linux subscriptions.

", + "refs": { + "InstanceList$member": null + } + }, + "InstanceList": { + "base": null, + "refs": { + "ListLinuxSubscriptionInstancesResponse$Instances": "

An array that contains instance objects.

" + } + }, + "InternalServerException": { + "base": "

An exception occurred with the service.

", + "refs": { + } + }, + "LinuxSubscriptionsDiscovery": { + "base": null, + "refs": { + "GetServiceSettingsResponse$LinuxSubscriptionsDiscovery": "

Lists if discovery has been enabled for Linux subscriptions.

", + "UpdateServiceSettingsRequest$LinuxSubscriptionsDiscovery": "

Describes if the discovery of Linux subscriptions is enabled.

", + "UpdateServiceSettingsResponse$LinuxSubscriptionsDiscovery": "

Lists if discovery has been enabled for Linux subscriptions.

" + } + }, + "LinuxSubscriptionsDiscoverySettings": { + "base": "

Lists the settings defined for discovering Linux subscriptions.

", + "refs": { + "GetServiceSettingsResponse$LinuxSubscriptionsDiscoverySettings": "

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

", + "UpdateServiceSettingsRequest$LinuxSubscriptionsDiscoverySettings": "

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

", + "UpdateServiceSettingsResponse$LinuxSubscriptionsDiscoverySettings": "

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

" + } + }, + "ListLinuxSubscriptionInstancesRequest": { + "base": "

NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.

", + "refs": { + } + }, + "ListLinuxSubscriptionInstancesRequestNextTokenString": { + "base": null, + "refs": { + "ListLinuxSubscriptionInstancesRequest$NextToken": "

Token for the next set of results.

" + } + }, + "ListLinuxSubscriptionInstancesResponse": { + "base": null, + "refs": { + } + }, + "ListLinuxSubscriptionsRequest": { + "base": "

NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.

", + "refs": { + } + }, + "ListLinuxSubscriptionsRequestNextTokenString": { + "base": null, + "refs": { + "ListLinuxSubscriptionsRequest$NextToken": "

Token for the next set of results.

" + } + }, + "ListLinuxSubscriptionsResponse": { + "base": null, + "refs": { + } + }, + "Operator": { + "base": null, + "refs": { + "Filter$Operator": "

An operator for filtering results.

" + } + }, + "OrganizationIntegration": { + "base": null, + "refs": { + "LinuxSubscriptionsDiscoverySettings$OrganizationIntegration": "

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

" + } + }, + "ProductCodeList": { + "base": null, + "refs": { + "Instance$ProductCode": "

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

" + } + }, + "Status": { + "base": null, + "refs": { + "GetServiceSettingsResponse$Status": "

Indicates the status of Linux subscriptions settings being applied.

", + "UpdateServiceSettingsResponse$Status": "

Indicates the status of Linux subscriptions settings being applied.

" + } + }, + "String": { + "base": null, + "refs": { + "Filter$Name": "

The type of name to filter by.

", + "Instance$AccountID": "

The account ID which owns the instance.

", + "Instance$AmiId": "

The AMI ID used to launch the instance.

", + "Instance$InstanceID": "

The instance ID of the resource.

", + "Instance$InstanceType": "

The instance type of the resource.

", + "Instance$LastUpdatedTime": "

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

", + "Instance$Region": "

The Region the instance is running in.

", + "Instance$Status": "

The status of the instance.

", + "Instance$SubscriptionName": "

The name of the subscription being used by the instance.

", + "Instance$UsageOperation": "

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

", + "InternalServerException$message": null, + "ListLinuxSubscriptionInstancesResponse$NextToken": "

Token for the next set of results.

", + "ListLinuxSubscriptionsResponse$NextToken": "

Token for the next set of results.

", + "ProductCodeList$member": null, + "StringMap$key": null, + "StringMap$value": null, + "Subscription$Name": "

The name of the subscription.

", + "Subscription$Type": "

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

", + "ThrottlingException$message": null, + "ValidationException$message": null + } + }, + "StringList": { + "base": null, + "refs": { + "Filter$Values": "

One or more values for the name to filter by.

", + "GetServiceSettingsResponse$HomeRegions": "

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

", + "LinuxSubscriptionsDiscoverySettings$SourceRegions": "

The Regions in which to discover data for Linux subscriptions.

", + "UpdateServiceSettingsResponse$HomeRegions": "

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

" + } + }, + "StringListMemberString": { + "base": null, + "refs": { + "StringList$member": null + } + }, + "StringMap": { + "base": null, + "refs": { + "GetServiceSettingsResponse$StatusMessage": "

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

", + "UpdateServiceSettingsResponse$StatusMessage": "

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

" + } + }, + "Subscription": { + "base": "

An object which details a discovered Linux subscription.

", + "refs": { + "SubscriptionList$member": null + } + }, + "SubscriptionList": { + "base": null, + "refs": { + "ListLinuxSubscriptionsResponse$Subscriptions": "

An array that contains subscription objects.

" + } + }, + "ThrottlingException": { + "base": "

The request was denied due to request throttling.

", + "refs": { + } + }, + "UpdateServiceSettingsRequest": { + "base": null, + "refs": { + } + }, + "UpdateServiceSettingsResponse": { + "base": null, + "refs": { + } + }, + "ValidationException": { + "base": "

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

", + "refs": { + } + } + } +} diff --git a/models/apis/license-manager-linux-subscriptions/2018-05-10/endpoint-rule-set-1.json b/models/apis/license-manager-linux-subscriptions/2018-05-10/endpoint-rule-set-1.json new file mode 100644 index 0000000000..c791b57af6 --- /dev/null +++ b/models/apis/license-manager-linux-subscriptions/2018-05-10/endpoint-rule-set-1.json @@ -0,0 +1,300 @@ +{ + "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" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/license-manager-linux-subscriptions/2018-05-10/endpoint-tests-1.json b/models/apis/license-manager-linux-subscriptions/2018-05-10/endpoint-tests-1.json new file mode 100644 index 0000000000..7a6d99eeb0 --- /dev/null +++ b/models/apis/license-manager-linux-subscriptions/2018-05-10/endpoint-tests-1.json @@ -0,0 +1,295 @@ +{ + "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" +} \ No newline at end of file diff --git a/models/apis/license-manager-linux-subscriptions/2018-05-10/examples-1.json b/models/apis/license-manager-linux-subscriptions/2018-05-10/examples-1.json new file mode 100644 index 0000000000..0ea7e3b0bb --- /dev/null +++ b/models/apis/license-manager-linux-subscriptions/2018-05-10/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/models/apis/license-manager-linux-subscriptions/2018-05-10/paginators-1.json b/models/apis/license-manager-linux-subscriptions/2018-05-10/paginators-1.json new file mode 100644 index 0000000000..1dc8f4d827 --- /dev/null +++ b/models/apis/license-manager-linux-subscriptions/2018-05-10/paginators-1.json @@ -0,0 +1,16 @@ +{ + "pagination": { + "ListLinuxSubscriptionInstances": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Instances" + }, + "ListLinuxSubscriptions": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Subscriptions" + } + } +} diff --git a/models/apis/macie2/2020-01-01/api-2.json b/models/apis/macie2/2020-01-01/api-2.json index b067ebb89b..4228cbcf2e 100644 --- a/models/apis/macie2/2020-01-01/api-2.json +++ b/models/apis/macie2/2020-01-01/api-2.json @@ -7488,7 +7488,9 @@ "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "ONEZONE_IA", - "GLACIER" + "GLACIER", + "GLACIER_IR", + "OUTPOSTS" ] }, "SuppressDataIdentifier": { diff --git a/models/apis/macie2/2020-01-01/endpoint-rule-set-1.json b/models/apis/macie2/2020-01-01/endpoint-rule-set-1.json index 6f6f62d3c9..2366ba3ed8 100644 --- a/models/apis/macie2/2020-01-01/endpoint-rule-set-1.json +++ b/models/apis/macie2/2020-01-01/endpoint-rule-set-1.json @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", diff --git a/models/apis/macie2/2020-01-01/endpoint-tests-1.json b/models/apis/macie2/2020-01-01/endpoint-tests-1.json index f3d6996af2..04c290b5e7 100644 --- a/models/apis/macie2/2020-01-01/endpoint-tests-1.json +++ b/models/apis/macie2/2020-01-01/endpoint-tests-1.json @@ -8,8 +8,8 @@ } }, "params": { - "Region": "ap-south-1", "UseFIPS": true, + "Region": "ap-south-1", "UseDualStack": true } }, @@ -21,8 +21,8 @@ } }, "params": { - "Region": "ap-south-1", "UseFIPS": true, + "Region": "ap-south-1", "UseDualStack": false } }, @@ -34,8 +34,8 @@ } }, "params": { - "Region": "ap-south-1", "UseFIPS": false, + "Region": "ap-south-1", "UseDualStack": true } }, @@ -47,8 +47,8 @@ } }, "params": { - "Region": "ap-south-1", "UseFIPS": false, + "Region": "ap-south-1", "UseDualStack": false } }, @@ -60,8 +60,8 @@ } }, "params": { - "Region": "eu-south-1", "UseFIPS": true, + "Region": "eu-south-1", "UseDualStack": true } }, @@ -73,8 +73,8 @@ } }, "params": { - "Region": "eu-south-1", "UseFIPS": true, + "Region": "eu-south-1", "UseDualStack": false } }, @@ -86,8 +86,8 @@ } }, "params": { - "Region": "eu-south-1", "UseFIPS": false, + "Region": "eu-south-1", "UseDualStack": true } }, @@ -99,8 +99,8 @@ } }, "params": { - "Region": "eu-south-1", "UseFIPS": false, + "Region": "eu-south-1", "UseDualStack": false } }, @@ -112,8 +112,8 @@ } }, "params": { - "Region": "ca-central-1", "UseFIPS": true, + "Region": "ca-central-1", "UseDualStack": true } }, @@ -125,8 +125,8 @@ } }, "params": { - "Region": "ca-central-1", "UseFIPS": true, + "Region": "ca-central-1", "UseDualStack": false } }, @@ -138,8 +138,8 @@ } }, "params": { - "Region": "ca-central-1", "UseFIPS": false, + "Region": "ca-central-1", "UseDualStack": true } }, @@ -151,8 +151,8 @@ } }, "params": { - "Region": "ca-central-1", "UseFIPS": false, + "Region": "ca-central-1", "UseDualStack": false } }, @@ -164,8 +164,8 @@ } }, "params": { - "Region": "eu-central-1", "UseFIPS": true, + "Region": "eu-central-1", "UseDualStack": true } }, @@ -177,8 +177,8 @@ } }, "params": { - "Region": "eu-central-1", "UseFIPS": true, + "Region": "eu-central-1", "UseDualStack": false } }, @@ -190,8 +190,8 @@ } }, "params": { - "Region": "eu-central-1", "UseFIPS": false, + "Region": "eu-central-1", "UseDualStack": true } }, @@ -203,8 +203,8 @@ } }, "params": { - "Region": "eu-central-1", "UseFIPS": false, + "Region": "eu-central-1", "UseDualStack": false } }, @@ -216,8 +216,8 @@ } }, "params": { - "Region": "us-west-1", "UseFIPS": true, + "Region": "us-west-1", "UseDualStack": true } }, @@ -229,8 +229,8 @@ } }, "params": { - "Region": "us-west-1", "UseFIPS": true, + "Region": "us-west-1", "UseDualStack": false } }, @@ -242,8 +242,8 @@ } }, "params": { - "Region": "us-west-1", "UseFIPS": false, + "Region": "us-west-1", "UseDualStack": true } }, @@ -255,8 +255,8 @@ } }, "params": { - "Region": "us-west-1", "UseFIPS": false, + "Region": "us-west-1", "UseDualStack": false } }, @@ -268,8 +268,8 @@ } }, "params": { - "Region": "us-west-2", "UseFIPS": true, + "Region": "us-west-2", "UseDualStack": true } }, @@ -281,8 +281,8 @@ } }, "params": { - "Region": "us-west-2", "UseFIPS": true, + "Region": "us-west-2", "UseDualStack": false } }, @@ -294,8 +294,8 @@ } }, "params": { - "Region": "us-west-2", "UseFIPS": false, + "Region": "us-west-2", "UseDualStack": true } }, @@ -307,8 +307,8 @@ } }, "params": { - "Region": "us-west-2", "UseFIPS": false, + "Region": "us-west-2", "UseDualStack": false } }, @@ -320,8 +320,8 @@ } }, "params": { - "Region": "af-south-1", "UseFIPS": true, + "Region": "af-south-1", "UseDualStack": true } }, @@ -333,8 +333,8 @@ } }, "params": { - "Region": "af-south-1", "UseFIPS": true, + "Region": "af-south-1", "UseDualStack": false } }, @@ -346,8 +346,8 @@ } }, "params": { - "Region": "af-south-1", "UseFIPS": false, + "Region": "af-south-1", "UseDualStack": true } }, @@ -359,8 +359,8 @@ } }, "params": { - "Region": "af-south-1", "UseFIPS": false, + "Region": "af-south-1", "UseDualStack": false } }, @@ -372,8 +372,8 @@ } }, "params": { - "Region": "eu-north-1", "UseFIPS": true, + "Region": "eu-north-1", "UseDualStack": true } }, @@ -385,8 +385,8 @@ } }, "params": { - "Region": "eu-north-1", "UseFIPS": true, + "Region": "eu-north-1", "UseDualStack": false } }, @@ -398,8 +398,8 @@ } }, "params": { - "Region": "eu-north-1", "UseFIPS": false, + "Region": "eu-north-1", "UseDualStack": true } }, @@ -411,8 +411,8 @@ } }, "params": { - "Region": "eu-north-1", "UseFIPS": false, + "Region": "eu-north-1", "UseDualStack": false } }, @@ -424,8 +424,8 @@ } }, "params": { - "Region": "eu-west-3", "UseFIPS": true, + "Region": "eu-west-3", "UseDualStack": true } }, @@ -437,8 +437,8 @@ } }, "params": { - "Region": "eu-west-3", "UseFIPS": true, + "Region": "eu-west-3", "UseDualStack": false } }, @@ -450,8 +450,8 @@ } }, "params": { - "Region": "eu-west-3", "UseFIPS": false, + "Region": "eu-west-3", "UseDualStack": true } }, @@ -463,8 +463,8 @@ } }, "params": { - "Region": "eu-west-3", "UseFIPS": false, + "Region": "eu-west-3", "UseDualStack": false } }, @@ -476,8 +476,8 @@ } }, "params": { - "Region": "eu-west-2", "UseFIPS": true, + "Region": "eu-west-2", "UseDualStack": true } }, @@ -489,8 +489,8 @@ } }, "params": { - "Region": "eu-west-2", "UseFIPS": true, + "Region": "eu-west-2", "UseDualStack": false } }, @@ -502,8 +502,8 @@ } }, "params": { - "Region": "eu-west-2", "UseFIPS": false, + "Region": "eu-west-2", "UseDualStack": true } }, @@ -515,8 +515,8 @@ } }, "params": { - "Region": "eu-west-2", "UseFIPS": false, + "Region": "eu-west-2", "UseDualStack": false } }, @@ -528,8 +528,8 @@ } }, "params": { - "Region": "eu-west-1", "UseFIPS": true, + "Region": "eu-west-1", "UseDualStack": true } }, @@ -541,8 +541,8 @@ } }, "params": { - "Region": "eu-west-1", "UseFIPS": true, + "Region": "eu-west-1", "UseDualStack": false } }, @@ -554,8 +554,8 @@ } }, "params": { - "Region": "eu-west-1", "UseFIPS": false, + "Region": "eu-west-1", "UseDualStack": true } }, @@ -567,8 +567,8 @@ } }, "params": { - "Region": "eu-west-1", "UseFIPS": false, + "Region": "eu-west-1", "UseDualStack": false } }, @@ -580,8 +580,8 @@ } }, "params": { - "Region": "ap-northeast-3", "UseFIPS": true, + "Region": "ap-northeast-3", "UseDualStack": true } }, @@ -593,8 +593,8 @@ } }, "params": { - "Region": "ap-northeast-3", "UseFIPS": true, + "Region": "ap-northeast-3", "UseDualStack": false } }, @@ -606,8 +606,8 @@ } }, "params": { - "Region": "ap-northeast-3", "UseFIPS": false, + "Region": "ap-northeast-3", "UseDualStack": true } }, @@ -619,8 +619,8 @@ } }, "params": { - "Region": "ap-northeast-3", "UseFIPS": false, + "Region": "ap-northeast-3", "UseDualStack": false } }, @@ -632,8 +632,8 @@ } }, "params": { - "Region": "ap-northeast-2", "UseFIPS": true, + "Region": "ap-northeast-2", "UseDualStack": true } }, @@ -645,8 +645,8 @@ } }, "params": { - "Region": "ap-northeast-2", "UseFIPS": true, + "Region": "ap-northeast-2", "UseDualStack": false } }, @@ -658,8 +658,8 @@ } }, "params": { - "Region": "ap-northeast-2", "UseFIPS": false, + "Region": "ap-northeast-2", "UseDualStack": true } }, @@ -671,8 +671,8 @@ } }, "params": { - "Region": "ap-northeast-2", "UseFIPS": false, + "Region": "ap-northeast-2", "UseDualStack": false } }, @@ -684,8 +684,8 @@ } }, "params": { - "Region": "ap-northeast-1", "UseFIPS": true, + "Region": "ap-northeast-1", "UseDualStack": true } }, @@ -697,8 +697,8 @@ } }, "params": { - "Region": "ap-northeast-1", "UseFIPS": true, + "Region": "ap-northeast-1", "UseDualStack": false } }, @@ -710,8 +710,8 @@ } }, "params": { - "Region": "ap-northeast-1", "UseFIPS": false, + "Region": "ap-northeast-1", "UseDualStack": true } }, @@ -723,8 +723,8 @@ } }, "params": { - "Region": "ap-northeast-1", "UseFIPS": false, + "Region": "ap-northeast-1", "UseDualStack": false } }, @@ -736,8 +736,8 @@ } }, "params": { - "Region": "me-south-1", "UseFIPS": true, + "Region": "me-south-1", "UseDualStack": true } }, @@ -749,8 +749,8 @@ } }, "params": { - "Region": "me-south-1", "UseFIPS": true, + "Region": "me-south-1", "UseDualStack": false } }, @@ -762,8 +762,8 @@ } }, "params": { - "Region": "me-south-1", "UseFIPS": false, + "Region": "me-south-1", "UseDualStack": true } }, @@ -775,8 +775,8 @@ } }, "params": { - "Region": "me-south-1", "UseFIPS": false, + "Region": "me-south-1", "UseDualStack": false } }, @@ -788,8 +788,8 @@ } }, "params": { - "Region": "sa-east-1", "UseFIPS": true, + "Region": "sa-east-1", "UseDualStack": true } }, @@ -801,8 +801,8 @@ } }, "params": { - "Region": "sa-east-1", "UseFIPS": true, + "Region": "sa-east-1", "UseDualStack": false } }, @@ -814,8 +814,8 @@ } }, "params": { - "Region": "sa-east-1", "UseFIPS": false, + "Region": "sa-east-1", "UseDualStack": true } }, @@ -827,8 +827,8 @@ } }, "params": { - "Region": "sa-east-1", "UseFIPS": false, + "Region": "sa-east-1", "UseDualStack": false } }, @@ -840,8 +840,8 @@ } }, "params": { - "Region": "ap-east-1", "UseFIPS": true, + "Region": "ap-east-1", "UseDualStack": true } }, @@ -853,8 +853,8 @@ } }, "params": { - "Region": "ap-east-1", "UseFIPS": true, + "Region": "ap-east-1", "UseDualStack": false } }, @@ -866,8 +866,8 @@ } }, "params": { - "Region": "ap-east-1", "UseFIPS": false, + "Region": "ap-east-1", "UseDualStack": true } }, @@ -879,8 +879,8 @@ } }, "params": { - "Region": "ap-east-1", "UseFIPS": false, + "Region": "ap-east-1", "UseDualStack": false } }, @@ -892,8 +892,8 @@ } }, "params": { - "Region": "ap-southeast-1", "UseFIPS": true, + "Region": "ap-southeast-1", "UseDualStack": true } }, @@ -905,8 +905,8 @@ } }, "params": { - "Region": "ap-southeast-1", "UseFIPS": true, + "Region": "ap-southeast-1", "UseDualStack": false } }, @@ -918,8 +918,8 @@ } }, "params": { - "Region": "ap-southeast-1", "UseFIPS": false, + "Region": "ap-southeast-1", "UseDualStack": true } }, @@ -931,8 +931,8 @@ } }, "params": { - "Region": "ap-southeast-1", "UseFIPS": false, + "Region": "ap-southeast-1", "UseDualStack": false } }, @@ -944,8 +944,8 @@ } }, "params": { - "Region": "ap-southeast-2", "UseFIPS": true, + "Region": "ap-southeast-2", "UseDualStack": true } }, @@ -957,8 +957,8 @@ } }, "params": { - "Region": "ap-southeast-2", "UseFIPS": true, + "Region": "ap-southeast-2", "UseDualStack": false } }, @@ -970,8 +970,8 @@ } }, "params": { - "Region": "ap-southeast-2", "UseFIPS": false, + "Region": "ap-southeast-2", "UseDualStack": true } }, @@ -983,8 +983,8 @@ } }, "params": { - "Region": "ap-southeast-2", "UseFIPS": false, + "Region": "ap-southeast-2", "UseDualStack": false } }, @@ -996,8 +996,8 @@ } }, "params": { - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", "UseDualStack": true } }, @@ -1009,8 +1009,8 @@ } }, "params": { - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", "UseDualStack": false } }, @@ -1022,8 +1022,8 @@ } }, "params": { - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "UseDualStack": true } }, @@ -1035,8 +1035,8 @@ } }, "params": { - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "UseDualStack": false } }, @@ -1048,8 +1048,8 @@ } }, "params": { - "Region": "us-east-2", "UseFIPS": true, + "Region": "us-east-2", "UseDualStack": true } }, @@ -1061,8 +1061,8 @@ } }, "params": { - "Region": "us-east-2", "UseFIPS": true, + "Region": "us-east-2", "UseDualStack": false } }, @@ -1074,8 +1074,8 @@ } }, "params": { - "Region": "us-east-2", "UseFIPS": false, + "Region": "us-east-2", "UseDualStack": true } }, @@ -1087,8 +1087,8 @@ } }, "params": { - "Region": "us-east-2", "UseFIPS": false, + "Region": "us-east-2", "UseDualStack": false } }, @@ -1100,8 +1100,8 @@ } }, "params": { - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "UseDualStack": false, "Endpoint": "https://example.com" } @@ -1112,8 +1112,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" } @@ -1124,8 +1124,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" } diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index b17c588d3c..fb7d51a79e 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -9433,7 +9433,8 @@ "type":"structure", "members":{ "RStudioServerProDomainSettingsForUpdate":{"shape":"RStudioServerProDomainSettingsForUpdate"}, - "ExecutionRoleIdentityConfig":{"shape":"ExecutionRoleIdentityConfig"} + "ExecutionRoleIdentityConfig":{"shape":"ExecutionRoleIdentityConfig"}, + "SecurityGroupIds":{"shape":"DomainSecurityGroupIds"} } }, "DomainStatus":{ @@ -17069,7 +17070,9 @@ "required":["DomainExecutionRoleArn"], "members":{ "DomainExecutionRoleArn":{"shape":"RoleArn"}, - "DefaultResourceSpec":{"shape":"ResourceSpec"} + "DefaultResourceSpec":{"shape":"ResourceSpec"}, + "RStudioConnectUrl":{"shape":"String"}, + "RStudioPackageManagerUrl":{"shape":"String"} } }, "RStudioServerProUserGroup":{ @@ -19640,7 +19643,8 @@ "DomainId":{"shape":"DomainId"}, "DefaultUserSettings":{"shape":"UserSettings"}, "DomainSettingsForUpdate":{"shape":"DomainSettingsForUpdate"}, - "DefaultSpaceSettings":{"shape":"DefaultSpaceSettings"} + "DefaultSpaceSettings":{"shape":"DefaultSpaceSettings"}, + "AppSecurityGroupManagement":{"shape":"AppSecurityGroupManagement"} } }, "UpdateDomainResponse":{ diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index 1d504b20e6..c875c9e3a3 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -616,7 +616,8 @@ "base": null, "refs": { "CreateDomainRequest$AppSecurityGroupManagement": "

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

", - "DescribeDomainResponse$AppSecurityGroupManagement": "

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

" + "DescribeDomainResponse$AppSecurityGroupManagement": "

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

", + "UpdateDomainRequest$AppSecurityGroupManagement": "

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

" } }, "AppSortKey": { @@ -4099,7 +4100,8 @@ "DomainSecurityGroupIds": { "base": null, "refs": { - "DomainSettings$SecurityGroupIds": "

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

" + "DomainSettings$SecurityGroupIds": "

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

", + "DomainSettingsForUpdate$SecurityGroupIds": "

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

" } }, "DomainSettings": { @@ -12278,6 +12280,8 @@ "ProductListings$member": null, "RStudioServerProDomainSettings$RStudioConnectUrl": "

A URL pointing to an RStudio Connect server.

", "RStudioServerProDomainSettings$RStudioPackageManagerUrl": "

A URL pointing to an RStudio Package Manager server.

", + "RStudioServerProDomainSettingsForUpdate$RStudioConnectUrl": "

A URL pointing to an RStudio Connect server.

", + "RStudioServerProDomainSettingsForUpdate$RStudioPackageManagerUrl": "

A URL pointing to an RStudio Package Manager server.

", "RecommendationJobContainerConfig$Domain": "

The machine learning domain of the model and its components.

Valid Values: COMPUTER_VISION | NATURAL_LANGUAGE_PROCESSING | MACHINE_LEARNING

", "RecommendationJobContainerConfig$Task": "

The machine learning task that the model accomplishes.

Valid Values: IMAGE_CLASSIFICATION | OBJECT_DETECTION | TEXT_GENERATION | IMAGE_SEGMENTATION | FILL_MASK | CLASSIFICATION | REGRESSION | OTHER

", "RecommendationJobContainerConfig$Framework": "

The machine learning framework of the container image.

Valid Values: TENSORFLOW | PYTORCH | XGBOOST | SAGEMAKER-SCIKIT-LEARN

", @@ -13267,7 +13271,7 @@ "TrainingInstanceCount": { "base": null, "refs": { - "HyperParameterTuningInstanceConfig$InstanceCount": "

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

", + "HyperParameterTuningInstanceConfig$InstanceCount": "

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

", "HyperParameterTuningResourceConfig$InstanceCount": "

The number of compute instances of type InstanceType to use. For distributed training, select a value greater than 1.

", "InstanceGroup$InstanceCount": "

Specifies the number of instances of the instance group.

", "ResourceConfig$InstanceCount": "

The number of ML compute instances to use. For distributed training, provide a value greater than 1.

" diff --git a/models/apis/scheduler/2021-06-30/api-2.json b/models/apis/scheduler/2021-06-30/api-2.json index 7d8f119280..c527b47de5 100644 --- a/models/apis/scheduler/2021-06-30/api-2.json +++ b/models/apis/scheduler/2021-06-30/api-2.json @@ -685,7 +685,7 @@ "type":"string", "max":64, "min":1, - "pattern":"^[a-zA-Z][0-9a-zA-Z-_]*$" + "pattern":"^[0-9a-zA-Z-_.]+$" }, "NetworkConfiguration":{ "type":"structure", @@ -786,7 +786,7 @@ "type":"string", "max":1600, "min":1, - "pattern":"^arn:aws(-[a-z]+)?:iam::\\d{12}:role\\/(service-role\\/){0,1}[a-zA-Z0-9\\+=,\\.@\\-_]+$" + "pattern":"^arn:aws(-[a-z]+)?:iam::\\d{12}:role\\/[\\w+=,.@\\/-]+$" }, "SageMakerPipelineParameter":{ "type":"structure", @@ -858,7 +858,7 @@ "type":"string", "max":64, "min":1, - "pattern":"^[a-zA-Z][0-9a-zA-Z-_]*$" + "pattern":"^[0-9a-zA-Z-_.]+$" }, "ScheduleGroupState":{ "type":"string", diff --git a/models/apis/scheduler/2021-06-30/endpoint-rule-set-1.json b/models/apis/scheduler/2021-06-30/endpoint-rule-set-1.json index f8fc299f9d..3533569386 100644 --- a/models/apis/scheduler/2021-06-30/endpoint-rule-set-1.json +++ b/models/apis/scheduler/2021-06-30/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", diff --git a/models/apis/scheduler/2021-06-30/endpoint-tests-1.json b/models/apis/scheduler/2021-06-30/endpoint-tests-1.json index 484b87d5ac..a23ab03e87 100644 --- a/models/apis/scheduler/2021-06-30/endpoint-tests-1.json +++ b/models/apis/scheduler/2021-06-30/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "us-gov-east-1" + "UseFIPS": true } }, { @@ -21,9 +21,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-gov-east-1" + "UseFIPS": true } }, { @@ -34,9 +34,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "us-gov-east-1" + "UseFIPS": false } }, { @@ -47,9 +47,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-gov-east-1" + "UseFIPS": false } }, { @@ -60,9 +60,9 @@ } }, "params": { + "Region": "cn-north-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "cn-north-1" + "UseFIPS": true } }, { @@ -73,9 +73,9 @@ } }, "params": { + "Region": "cn-north-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "cn-north-1" + "UseFIPS": true } }, { @@ -86,9 +86,9 @@ } }, "params": { + "Region": "cn-north-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "cn-north-1" + "UseFIPS": false } }, { @@ -99,9 +99,9 @@ } }, "params": { + "Region": "cn-north-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "cn-north-1" + "UseFIPS": false } }, { @@ -110,9 +110,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 } }, { @@ -123,9 +123,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-east-1" + "UseFIPS": true } }, { @@ -134,9 +134,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 } }, { @@ -147,9 +147,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-iso-east-1" + "UseFIPS": false } }, { @@ -160,9 +160,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" + "UseFIPS": true } }, { @@ -173,9 +173,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + "UseFIPS": true } }, { @@ -186,9 +186,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": false } }, { @@ -199,9 +199,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": false } }, { @@ -210,9 +210,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 } }, { @@ -223,9 +223,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-isob-east-1" + "UseFIPS": true } }, { @@ -234,9 +234,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 } }, { @@ -247,9 +247,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-isob-east-1" + "UseFIPS": false } }, { @@ -260,9 +260,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -272,9 +272,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" } }, @@ -284,9 +284,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" } } diff --git a/models/apis/ssm/2014-11-06/docs-2.json b/models/apis/ssm/2014-11-06/docs-2.json index 0c77a2dd70..35d91b0f84 100644 --- a/models/apis/ssm/2014-11-06/docs-2.json +++ b/models/apis/ssm/2014-11-06/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

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

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

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

Related resources

", + "service": "

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

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.

Related resources

", "operations": { "AddTagsToResource": "

Adds or overwrites one or more tags for the specified resource. Tags are metadata that you can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store parameters, and patch baselines. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define. For example, you could define a set of tags for your account's managed nodes that helps you track each node's owner and stack level. For example:

Most resources can have a maximum of 50 tags. Automations can have a maximum of 5 tags.

We recommend that you devise a set of tag keys that meets your needs for each resource type. Using a consistent set of tag keys makes it easier for you to manage your resources. You can search and filter the resources based on the tags you add. Tags don't have any semantic meaning to and are interpreted strictly as a string of characters.

For more information about using tags with Amazon Elastic Compute Cloud (Amazon EC2) instances, see Tagging your Amazon EC2 resources in the Amazon EC2 User Guide.

", "AssociateOpsItemRelatedItem": "

Associates a related item to a Systems Manager OpsCenter OpsItem. For example, you can associate an Incident Manager incident or analysis with an OpsItem. Incident Manager and OpsCenter are capabilities of Amazon Web Services Systems Manager.

", @@ -6548,8 +6548,8 @@ "refs": { "DeleteResourcePolicyRequest$PolicyHash": "

ID of the current policy version. The hash helps to prevent multiple calls from attempting to overwrite a policy.

", "GetResourcePoliciesResponseEntry$PolicyHash": "

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

", - "PutResourcePolicyRequest$PolicyHash": "

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

", - "PutResourcePolicyResponse$PolicyHash": "

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

" + "PutResourcePolicyRequest$PolicyHash": "

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

", + "PutResourcePolicyResponse$PolicyHash": "

ID of the current policy version.

" } }, "PolicyId": { @@ -6767,7 +6767,7 @@ "refs": { "DeleteResourcePolicyRequest$ResourceArn": "

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

", "GetResourcePoliciesRequest$ResourceArn": "

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

", - "PutResourcePolicyRequest$ResourceArn": "

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

" + "PutResourcePolicyRequest$ResourceArn": "

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

" } }, "ResourceComplianceSummaryItem": { diff --git a/models/apis/ssm/2014-11-06/endpoint-rule-set-1.json b/models/apis/ssm/2014-11-06/endpoint-rule-set-1.json index 0bf2ed70f4..69b689a1f4 100644 --- a/models/apis/ssm/2014-11-06/endpoint-rule-set-1.json +++ b/models/apis/ssm/2014-11-06/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", diff --git a/models/apis/ssm/2014-11-06/endpoint-tests-1.json b/models/apis/ssm/2014-11-06/endpoint-tests-1.json index baa428e33a..c857515a3b 100644 --- a/models/apis/ssm/2014-11-06/endpoint-tests-1.json +++ b/models/apis/ssm/2014-11-06/endpoint-tests-1.json @@ -8,8 +8,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-south-2" } }, @@ -21,8 +21,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-south-2" } }, @@ -34,8 +34,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-south-2" } }, @@ -47,8 +47,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-south-2" } }, @@ -60,8 +60,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-south-1" } }, @@ -73,8 +73,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-south-1" } }, @@ -86,8 +86,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-south-1" } }, @@ -99,8 +99,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-south-1" } }, @@ -112,8 +112,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-south-1" } }, @@ -125,8 +125,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-south-1" } }, @@ -138,8 +138,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-south-1" } }, @@ -151,8 +151,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-south-1" } }, @@ -164,8 +164,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-south-2" } }, @@ -177,8 +177,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-south-2" } }, @@ -190,8 +190,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-south-2" } }, @@ -203,8 +203,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-south-2" } }, @@ -216,8 +216,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-gov-east-1" } }, @@ -229,8 +229,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-gov-east-1" } }, @@ -242,8 +242,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-gov-east-1" } }, @@ -255,8 +255,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-gov-east-1" } }, @@ -268,8 +268,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "me-central-1" } }, @@ -281,8 +281,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "me-central-1" } }, @@ -294,8 +294,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "me-central-1" } }, @@ -307,8 +307,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "me-central-1" } }, @@ -320,8 +320,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ca-central-1" } }, @@ -333,8 +333,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ca-central-1" } }, @@ -346,8 +346,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ca-central-1" } }, @@ -359,8 +359,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ca-central-1" } }, @@ -372,8 +372,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-central-1" } }, @@ -385,8 +385,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-central-1" } }, @@ -398,8 +398,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-central-1" } }, @@ -411,8 +411,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-central-1" } }, @@ -422,8 +422,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" } }, @@ -435,8 +435,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-iso-west-1" } }, @@ -446,8 +446,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-iso-west-1" } }, @@ -459,8 +459,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-iso-west-1" } }, @@ -472,8 +472,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-central-2" } }, @@ -485,8 +485,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-central-2" } }, @@ -498,8 +498,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-central-2" } }, @@ -511,8 +511,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-central-2" } }, @@ -524,8 +524,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-west-1" } }, @@ -537,8 +537,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-west-1" } }, @@ -550,8 +550,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-west-1" } }, @@ -563,8 +563,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-west-1" } }, @@ -576,8 +576,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-west-2" } }, @@ -589,8 +589,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-west-2" } }, @@ -602,8 +602,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-west-2" } }, @@ -615,8 +615,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-west-2" } }, @@ -628,8 +628,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "af-south-1" } }, @@ -641,8 +641,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "af-south-1" } }, @@ -654,8 +654,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "af-south-1" } }, @@ -667,8 +667,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "af-south-1" } }, @@ -680,8 +680,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-north-1" } }, @@ -693,8 +693,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-north-1" } }, @@ -706,8 +706,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-north-1" } }, @@ -719,8 +719,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-north-1" } }, @@ -732,8 +732,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-3" } }, @@ -745,8 +745,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-3" } }, @@ -758,8 +758,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-3" } }, @@ -771,8 +771,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-3" } }, @@ -784,8 +784,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-2" } }, @@ -797,8 +797,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-2" } }, @@ -810,8 +810,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-2" } }, @@ -823,8 +823,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-2" } }, @@ -836,8 +836,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-1" } }, @@ -849,8 +849,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-1" } }, @@ -862,8 +862,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-1" } }, @@ -875,8 +875,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-1" } }, @@ -888,8 +888,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-3" } }, @@ -901,8 +901,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-3" } }, @@ -914,8 +914,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-3" } }, @@ -927,8 +927,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-3" } }, @@ -940,8 +940,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-2" } }, @@ -953,8 +953,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-2" } }, @@ -966,8 +966,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-2" } }, @@ -979,8 +979,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-2" } }, @@ -992,8 +992,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-1" } }, @@ -1005,8 +1005,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-1" } }, @@ -1018,8 +1018,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-1" } }, @@ -1031,8 +1031,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-1" } }, @@ -1044,8 +1044,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "me-south-1" } }, @@ -1057,8 +1057,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "me-south-1" } }, @@ -1070,8 +1070,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "me-south-1" } }, @@ -1083,8 +1083,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "me-south-1" } }, @@ -1096,8 +1096,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "sa-east-1" } }, @@ -1109,8 +1109,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "sa-east-1" } }, @@ -1122,8 +1122,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "sa-east-1" } }, @@ -1135,8 +1135,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "sa-east-1" } }, @@ -1148,8 +1148,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-east-1" } }, @@ -1161,8 +1161,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-east-1" } }, @@ -1174,8 +1174,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-east-1" } }, @@ -1187,8 +1187,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-east-1" } }, @@ -1200,8 +1200,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "cn-north-1" } }, @@ -1213,8 +1213,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "cn-north-1" } }, @@ -1226,8 +1226,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "cn-north-1" } }, @@ -1239,8 +1239,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "cn-north-1" } }, @@ -1252,8 +1252,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-gov-west-1" } }, @@ -1265,8 +1265,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-gov-west-1" } }, @@ -1278,8 +1278,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-gov-west-1" } }, @@ -1291,8 +1291,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-gov-west-1" } }, @@ -1304,8 +1304,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-1" } }, @@ -1317,8 +1317,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-1" } }, @@ -1330,8 +1330,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-1" } }, @@ -1343,8 +1343,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-1" } }, @@ -1356,8 +1356,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-2" } }, @@ -1369,8 +1369,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-2" } }, @@ -1382,8 +1382,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-2" } }, @@ -1395,8 +1395,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-2" } }, @@ -1406,8 +1406,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" } }, @@ -1419,8 +1419,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-iso-east-1" } }, @@ -1430,8 +1430,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-iso-east-1" } }, @@ -1443,8 +1443,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-iso-east-1" } }, @@ -1456,8 +1456,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-3" } }, @@ -1469,8 +1469,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-3" } }, @@ -1482,8 +1482,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-3" } }, @@ -1495,8 +1495,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-3" } }, @@ -1508,8 +1508,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-4" } }, @@ -1521,8 +1521,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-4" } }, @@ -1534,8 +1534,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-4" } }, @@ -1547,8 +1547,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-4" } }, @@ -1560,8 +1560,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-east-1" } }, @@ -1573,8 +1573,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-1" } }, @@ -1586,8 +1586,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-1" } }, @@ -1599,8 +1599,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-1" } }, @@ -1612,8 +1612,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "us-east-2" } }, @@ -1625,8 +1625,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-2" } }, @@ -1638,8 +1638,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-2" } }, @@ -1651,8 +1651,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-2" } }, @@ -1664,8 +1664,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, + "UseDualStack": true, "Region": "cn-northwest-1" } }, @@ -1677,8 +1677,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "cn-northwest-1" } }, @@ -1690,8 +1690,8 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "cn-northwest-1" } }, @@ -1703,8 +1703,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "cn-northwest-1" } }, @@ -1714,8 +1714,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" } }, @@ -1727,8 +1727,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-isob-east-1" } }, @@ -1738,8 +1738,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-isob-east-1" } }, @@ -1751,8 +1751,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-isob-east-1" } }, @@ -1764,8 +1764,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-1", "Endpoint": "https://example.com" } @@ -1776,8 +1776,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" } @@ -1788,8 +1788,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" } diff --git a/models/apis/support/2013-04-15/docs-2.json b/models/apis/support/2013-04-15/docs-2.json index b3ce7a77c7..934c89599d 100644 --- a/models/apis/support/2013-04-15/docs-2.json +++ b/models/apis/support/2013-04-15/docs-2.json @@ -1,21 +1,21 @@ { "version": "2.0", - "service": "Amazon Web Services Support

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

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

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

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

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

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

", + "service": "Amazon Web Services Support

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

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

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

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

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

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

", "operations": { - "AddAttachmentsToSet": "

Adds one or more attachments to an attachment set.

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

", - "AddCommunicationToCase": "

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

", - "CreateCase": "

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

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

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

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

", - "DescribeAttachment": "

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

", - "DescribeCases": "

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

The response returns the following in JSON format:

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

", - "DescribeCommunications": "

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

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

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

", - "DescribeServices": "

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

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

", - "DescribeSeverityLevels": "

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

", - "DescribeTrustedAdvisorCheckRefreshStatuses": "

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

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

", - "DescribeTrustedAdvisorCheckResult": "

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

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

In addition, the response contains these fields:

", - "DescribeTrustedAdvisorCheckSummaries": "

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

The response contains an array of TrustedAdvisorCheckSummary objects.

", - "DescribeTrustedAdvisorChecks": "

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

", - "RefreshTrustedAdvisorCheck": "

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

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

The response contains a TrustedAdvisorCheckRefreshStatus object.

", - "ResolveCase": "

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

" + "AddAttachmentsToSet": "

Adds one or more attachments to an attachment set.

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

", + "AddCommunicationToCase": "

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

", + "CreateCase": "

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

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

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

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

", + "DescribeAttachment": "

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

", + "DescribeCases": "

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

The response returns the following in JSON format:

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

", + "DescribeCommunications": "

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

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

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

", + "DescribeServices": "

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

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

", + "DescribeSeverityLevels": "

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

", + "DescribeTrustedAdvisorCheckRefreshStatuses": "

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

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

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

", + "DescribeTrustedAdvisorCheckResult": "

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

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

In addition, the response contains these fields:

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

", + "DescribeTrustedAdvisorCheckSummaries": "

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

The response contains an array of TrustedAdvisorCheckSummary objects.

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

", + "DescribeTrustedAdvisorChecks": "

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

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

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

", + "RefreshTrustedAdvisorCheck": "

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

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

The response contains a TrustedAdvisorCheckRefreshStatus object.

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

", + "ResolveCase": "

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

" }, "shapes": { "AddAttachmentsToSetRequest": { @@ -131,7 +131,7 @@ } }, "CaseDetails": { - "base": "

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

", + "base": "

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

", "refs": { "CaseList$member": null } @@ -411,11 +411,11 @@ "Language": { "base": null, "refs": { - "CaseDetails$language": "

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

", - "CreateCaseRequest$language": "

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

", - "DescribeCasesRequest$language": "

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

", - "DescribeServicesRequest$language": "

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

", - "DescribeSeverityLevelsRequest$language": "

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

" + "CaseDetails$language": "

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently 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.

", + "CreateCaseRequest$language": "

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently 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.

", + "DescribeCasesRequest$language": "

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently 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.

", + "DescribeServicesRequest$language": "

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently 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.

", + "DescribeSeverityLevelsRequest$language": "

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently 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.

" } }, "Long": { @@ -551,8 +551,8 @@ "base": null, "refs": { "DescribeTrustedAdvisorCheckResultRequest$checkId": "

The unique identifier for the Trusted Advisor check.

", - "DescribeTrustedAdvisorCheckResultRequest$language": "

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

", - "DescribeTrustedAdvisorChecksRequest$language": "

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

", + "DescribeTrustedAdvisorCheckResultRequest$language": "

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

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

", + "DescribeTrustedAdvisorChecksRequest$language": "

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

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

", "RefreshTrustedAdvisorCheckRequest$checkId": "

The unique identifier for the Trusted Advisor check to refresh.

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

", "StringList$member": null, "TrustedAdvisorCheckDescription$id": "

The unique identifier for the Trusted Advisor check.

", diff --git a/models/apis/support/2013-04-15/endpoint-rule-set-1.json b/models/apis/support/2013-04-15/endpoint-rule-set-1.json new file mode 100644 index 0000000000..afc427cec0 --- /dev/null +++ b/models/apis/support/2013-04-15/endpoint-rule-set-1.json @@ -0,0 +1,466 @@ +{ + "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" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/support/2013-04-15/endpoint-tests-1.json b/models/apis/support/2013-04-15/endpoint-tests-1.json new file mode 100644 index 0000000000..85f721d132 --- /dev/null +++ b/models/apis/support/2013-04-15/endpoint-tests-1.json @@ -0,0 +1,205 @@ +{ + "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" +} \ No newline at end of file diff --git a/models/apis/transfer/2018-11-05/api-2.json b/models/apis/transfer/2018-11-05/api-2.json index 394aa511ef..eef4cf75b1 100644 --- a/models/apis/transfer/2018-11-05/api-2.json +++ b/models/apis/transfer/2018-11-05/api-2.json @@ -43,8 +43,7 @@ {"shape":"InternalServiceError"}, {"shape":"InvalidRequestException"}, {"shape":"ResourceExistsException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ] }, "CreateConnector":{ @@ -60,8 +59,7 @@ {"shape":"InternalServiceError"}, {"shape":"InvalidRequestException"}, {"shape":"ResourceExistsException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ] }, "CreateProfile":{ @@ -76,8 +74,7 @@ {"shape":"ServiceUnavailableException"}, {"shape":"InternalServiceError"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ] }, "CreateServer":{ @@ -796,8 +793,7 @@ {"shape":"InternalServiceError"}, {"shape":"InvalidRequestException"}, {"shape":"ResourceExistsException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ] }, "UpdateAgreement":{ @@ -813,8 +809,7 @@ {"shape":"InternalServiceError"}, {"shape":"InvalidRequestException"}, {"shape":"ResourceExistsException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ] }, "UpdateCertificate":{ @@ -829,8 +824,7 @@ {"shape":"ServiceUnavailableException"}, {"shape":"InternalServiceError"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ] }, "UpdateConnector":{ @@ -846,8 +840,7 @@ {"shape":"InternalServiceError"}, {"shape":"InvalidRequestException"}, {"shape":"ResourceExistsException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ] }, "UpdateHostKey":{ @@ -878,8 +871,7 @@ {"shape":"ServiceUnavailableException"}, {"shape":"InternalServiceError"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ] }, "UpdateServer":{ @@ -1273,6 +1265,20 @@ "min":1 }, "DateImported":{"type":"timestamp"}, + "DecryptStepDetails":{ + "type":"structure", + "required":[ + "Type", + "DestinationFileLocation" + ], + "members":{ + "Name":{"shape":"WorkflowStepName"}, + "Type":{"shape":"EncryptionType"}, + "SourceFileLocation":{"shape":"SourceFileLocation"}, + "OverwriteExisting":{"shape":"OverwriteExisting"}, + "DestinationFileLocation":{"shape":"InputFileLocation"} + } + }, "DeleteAccessRequest":{ "type":"structure", "required":[ @@ -1768,6 +1774,10 @@ "NONE" ] }, + "EncryptionType":{ + "type":"string", + "enum":["PGP"] + }, "EndpointDetails":{ "type":"structure", "members":{ @@ -3221,7 +3231,8 @@ "CopyStepDetails":{"shape":"CopyStepDetails"}, "CustomStepDetails":{"shape":"CustomStepDetails"}, "DeleteStepDetails":{"shape":"DeleteStepDetails"}, - "TagStepDetails":{"shape":"TagStepDetails"} + "TagStepDetails":{"shape":"TagStepDetails"}, + "DecryptStepDetails":{"shape":"DecryptStepDetails"} } }, "WorkflowStepName":{ @@ -3235,7 +3246,8 @@ "COPY", "CUSTOM", "TAG", - "DELETE" + "DELETE", + "DECRYPT" ] }, "WorkflowSteps":{ diff --git a/models/apis/transfer/2018-11-05/docs-2.json b/models/apis/transfer/2018-11-05/docs-2.json index 4e240d2aeb..24bda97aa2 100644 --- a/models/apis/transfer/2018-11-05/docs-2.json +++ b/models/apis/transfer/2018-11-05/docs-2.json @@ -377,6 +377,12 @@ "SshPublicKey$DateImported": "

Specifies the date that the public key was added to the user account.

" } }, + "DecryptStepDetails": { + "base": null, + "refs": { + "WorkflowStep$DecryptStepDetails": null + } + }, "DeleteAccessRequest": { "base": null, "refs": { @@ -658,7 +664,13 @@ "EncryptionAlg": { "base": null, "refs": { - "As2ConnectorConfig$EncryptionAlgorithm": "

The algorithm that is used to encrypt the file.

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

" + "As2ConnectorConfig$EncryptionAlgorithm": "

The algorithm that is used to encrypt the file.

" + } + }, + "EncryptionType": { + "base": null, + "refs": { + "DecryptStepDetails$Type": null } }, "EndpointDetails": { @@ -914,7 +926,8 @@ "InputFileLocation": { "base": "

Specifies the location for the file being copied. Only applicable for the Copy type of workflow steps.

", "refs": { - "CopyStepDetails$DestinationFileLocation": "

Specifies the location for the file being copied. Only applicable for Copy type workflow steps. Use ${Transfer:username} in this field to parametrize the destination prefix by username.

" + "CopyStepDetails$DestinationFileLocation": "

Specifies the location for the file being copied. Only applicable for Copy type workflow steps. Use ${Transfer:username} in this field to parametrize the destination prefix by username.

", + "DecryptStepDetails$DestinationFileLocation": null } }, "InternalServiceError": { @@ -1222,7 +1235,7 @@ "MdnSigningAlg": { "base": null, "refs": { - "As2ConnectorConfig$MdnSigningAlgorithm": "

The signing algorithm for the MDN response.

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

" + "As2ConnectorConfig$MdnSigningAlgorithm": "

The signing algorithm for the MDN response.

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

" } }, "Message": { @@ -1293,7 +1306,8 @@ "OverwriteExisting": { "base": null, "refs": { - "CopyStepDetails$OverwriteExisting": "

A flag that indicates whether or not to overwrite an existing file of the same name. The default is FALSE.

" + "CopyStepDetails$OverwriteExisting": "

A flag that indicates whether or not to overwrite an existing file of the same name. The default is FALSE.

", + "DecryptStepDetails$OverwriteExisting": null } }, "PassiveIp": { @@ -1690,6 +1704,7 @@ "refs": { "CopyStepDetails$SourceFileLocation": "

Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.

", "CustomStepDetails$SourceFileLocation": "

Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.

", + "DecryptStepDetails$SourceFileLocation": null, "DeleteStepDetails$SourceFileLocation": "

Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.

", "TagStepDetails$SourceFileLocation": "

Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.

" } @@ -1709,7 +1724,7 @@ "SshPublicKeyBody": { "base": null, "refs": { - "CreateUserRequest$SshPublicKeyBody": "

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

The three standard SSH public key format elements are <key type>, <body base64>, and an optional <comment>, with spaces between each element.

Transfer Family accepts RSA, ECDSA, and ED25519 keys.

", + "CreateUserRequest$SshPublicKeyBody": "

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

Transfer Family accepts RSA, ECDSA, and ED25519 keys.

", "ImportSshPublicKeyRequest$SshPublicKeyBody": "

The public key portion of an SSH key pair.

Transfer Family accepts RSA, ECDSA, and ED25519 keys.

", "SshPublicKey$SshPublicKeyBody": "

Specifies the content of the SSH public key as specified by the PublicKeyId.

Transfer Family accepts RSA, ECDSA, and ED25519 keys.

" } @@ -2025,7 +2040,7 @@ } }, "WorkflowDetail": { - "base": "

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

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

", + "base": "

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

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

", "refs": { "OnPartialUploadWorkflowDetails$member": null, "OnUploadWorkflowDetails$member": null @@ -2034,9 +2049,9 @@ "WorkflowDetails": { "base": "

Container for the WorkflowDetail data type. It is used by actions that trigger a workflow to begin execution.

", "refs": { - "CreateServerRequest$WorkflowDetails": "

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

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

", - "DescribedServer$WorkflowDetails": "

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

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

", - "UpdateServerRequest$WorkflowDetails": "

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

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

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

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

" + "CreateServerRequest$WorkflowDetails": "

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

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

", + "DescribedServer$WorkflowDetails": "

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

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

", + "UpdateServerRequest$WorkflowDetails": "

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

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

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

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

" } }, "WorkflowId": { @@ -2066,6 +2081,7 @@ "refs": { "CopyStepDetails$Name": "

The name of the step, used as an identifier.

", "CustomStepDetails$Name": "

The name of the step, used as an identifier.

", + "DecryptStepDetails$Name": null, "DeleteStepDetails$Name": "

The name of the step, used as an identifier.

", "TagStepDetails$Name": "

The name of the step, used as an identifier.

" } diff --git a/models/apis/transfer/2018-11-05/endpoint-rule-set-1.json b/models/apis/transfer/2018-11-05/endpoint-rule-set-1.json index 709e253cc5..8cdb72e390 100644 --- a/models/apis/transfer/2018-11-05/endpoint-rule-set-1.json +++ b/models/apis/transfer/2018-11-05/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index d2acd84454..cd6ed5212b 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -1059,6 +1059,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -7327,16 +7328,22 @@ }, "identitystore" : { "endpoints" : { + "af-south-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, + "ap-northeast-3" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, + "eu-south-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, + "eu-west-3" : { }, + "sa-east-1" : { }, "us-east-1" : { }, "us-east-2" : { }, "us-west-2" : { } @@ -9368,6 +9375,7 @@ }, "mediaconvert" : { "endpoints" : { + "af-south-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, "ap-south-1" : { }, @@ -12095,6 +12103,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -14022,6 +14031,11 @@ "us-west-2" : { } } }, + "ssm-sap" : { + "endpoints" : { + "us-east-1" : { } + } + }, "sso" : { "endpoints" : { "af-south-1" : { }, diff --git a/service/licensemanagerlinuxsubscriptions/api.go b/service/licensemanagerlinuxsubscriptions/api.go new file mode 100644 index 0000000000..4262281331 --- /dev/null +++ b/service/licensemanagerlinuxsubscriptions/api.go @@ -0,0 +1,1554 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package licensemanagerlinuxsubscriptions + +import ( + "fmt" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" +) + +const opGetServiceSettings = "GetServiceSettings" + +// GetServiceSettingsRequest generates a "aws/request.Request" representing the +// client's request for the GetServiceSettings operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetServiceSettings for more information on using the GetServiceSettings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetServiceSettingsRequest method. +// req, resp := client.GetServiceSettingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/GetServiceSettings +func (c *LicenseManagerLinuxSubscriptions) GetServiceSettingsRequest(input *GetServiceSettingsInput) (req *request.Request, output *GetServiceSettingsOutput) { + op := &request.Operation{ + Name: opGetServiceSettings, + HTTPMethod: "POST", + HTTPPath: "/subscription/GetServiceSettings", + } + + if input == nil { + input = &GetServiceSettingsInput{} + } + + output = &GetServiceSettingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetServiceSettings API operation for AWS License Manager Linux Subscriptions. +// +// Lists the Linux subscriptions service settings. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS License Manager Linux Subscriptions's +// API operation GetServiceSettings for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An exception occurred with the service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The provided input is not valid. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/GetServiceSettings +func (c *LicenseManagerLinuxSubscriptions) GetServiceSettings(input *GetServiceSettingsInput) (*GetServiceSettingsOutput, error) { + req, out := c.GetServiceSettingsRequest(input) + return out, req.Send() +} + +// GetServiceSettingsWithContext is the same as GetServiceSettings with the addition of +// the ability to pass a context and additional request options. +// +// See GetServiceSettings for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LicenseManagerLinuxSubscriptions) GetServiceSettingsWithContext(ctx aws.Context, input *GetServiceSettingsInput, opts ...request.Option) (*GetServiceSettingsOutput, error) { + req, out := c.GetServiceSettingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListLinuxSubscriptionInstances = "ListLinuxSubscriptionInstances" + +// ListLinuxSubscriptionInstancesRequest generates a "aws/request.Request" representing the +// client's request for the ListLinuxSubscriptionInstances operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListLinuxSubscriptionInstances for more information on using the ListLinuxSubscriptionInstances +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListLinuxSubscriptionInstancesRequest method. +// req, resp := client.ListLinuxSubscriptionInstancesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListLinuxSubscriptionInstances +func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesRequest(input *ListLinuxSubscriptionInstancesInput) (req *request.Request, output *ListLinuxSubscriptionInstancesOutput) { + op := &request.Operation{ + Name: opListLinuxSubscriptionInstances, + HTTPMethod: "POST", + HTTPPath: "/subscription/ListLinuxSubscriptionInstances", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListLinuxSubscriptionInstancesInput{} + } + + output = &ListLinuxSubscriptionInstancesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListLinuxSubscriptionInstances API operation for AWS License Manager Linux Subscriptions. +// +// Lists the running Amazon EC2 instances that were discovered with commercial +// Linux subscriptions. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS License Manager Linux Subscriptions's +// API operation ListLinuxSubscriptionInstances for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An exception occurred with the service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The provided input is not valid. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListLinuxSubscriptionInstances +func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstances(input *ListLinuxSubscriptionInstancesInput) (*ListLinuxSubscriptionInstancesOutput, error) { + req, out := c.ListLinuxSubscriptionInstancesRequest(input) + return out, req.Send() +} + +// ListLinuxSubscriptionInstancesWithContext is the same as ListLinuxSubscriptionInstances with the addition of +// the ability to pass a context and additional request options. +// +// See ListLinuxSubscriptionInstances for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesWithContext(ctx aws.Context, input *ListLinuxSubscriptionInstancesInput, opts ...request.Option) (*ListLinuxSubscriptionInstancesOutput, error) { + req, out := c.ListLinuxSubscriptionInstancesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListLinuxSubscriptionInstancesPages iterates over the pages of a ListLinuxSubscriptionInstances operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListLinuxSubscriptionInstances method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListLinuxSubscriptionInstances operation. +// pageNum := 0 +// err := client.ListLinuxSubscriptionInstancesPages(params, +// func(page *licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesPages(input *ListLinuxSubscriptionInstancesInput, fn func(*ListLinuxSubscriptionInstancesOutput, bool) bool) error { + return c.ListLinuxSubscriptionInstancesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListLinuxSubscriptionInstancesPagesWithContext same as ListLinuxSubscriptionInstancesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesPagesWithContext(ctx aws.Context, input *ListLinuxSubscriptionInstancesInput, fn func(*ListLinuxSubscriptionInstancesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListLinuxSubscriptionInstancesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListLinuxSubscriptionInstancesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListLinuxSubscriptionInstancesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListLinuxSubscriptions = "ListLinuxSubscriptions" + +// ListLinuxSubscriptionsRequest generates a "aws/request.Request" representing the +// client's request for the ListLinuxSubscriptions operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListLinuxSubscriptions for more information on using the ListLinuxSubscriptions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListLinuxSubscriptionsRequest method. +// req, resp := client.ListLinuxSubscriptionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListLinuxSubscriptions +func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsRequest(input *ListLinuxSubscriptionsInput) (req *request.Request, output *ListLinuxSubscriptionsOutput) { + op := &request.Operation{ + Name: opListLinuxSubscriptions, + HTTPMethod: "POST", + HTTPPath: "/subscription/ListLinuxSubscriptions", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListLinuxSubscriptionsInput{} + } + + output = &ListLinuxSubscriptionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListLinuxSubscriptions API operation for AWS License Manager Linux Subscriptions. +// +// Lists the Linux subscriptions that have been discovered. If you have linked +// your organization, the returned results will include data aggregated across +// your accounts in Organizations. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS License Manager Linux Subscriptions's +// API operation ListLinuxSubscriptions for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An exception occurred with the service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The provided input is not valid. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListLinuxSubscriptions +func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptions(input *ListLinuxSubscriptionsInput) (*ListLinuxSubscriptionsOutput, error) { + req, out := c.ListLinuxSubscriptionsRequest(input) + return out, req.Send() +} + +// ListLinuxSubscriptionsWithContext is the same as ListLinuxSubscriptions with the addition of +// the ability to pass a context and additional request options. +// +// See ListLinuxSubscriptions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsWithContext(ctx aws.Context, input *ListLinuxSubscriptionsInput, opts ...request.Option) (*ListLinuxSubscriptionsOutput, error) { + req, out := c.ListLinuxSubscriptionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListLinuxSubscriptionsPages iterates over the pages of a ListLinuxSubscriptions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListLinuxSubscriptions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListLinuxSubscriptions operation. +// pageNum := 0 +// err := client.ListLinuxSubscriptionsPages(params, +// func(page *licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsPages(input *ListLinuxSubscriptionsInput, fn func(*ListLinuxSubscriptionsOutput, bool) bool) error { + return c.ListLinuxSubscriptionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListLinuxSubscriptionsPagesWithContext same as ListLinuxSubscriptionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsPagesWithContext(ctx aws.Context, input *ListLinuxSubscriptionsInput, fn func(*ListLinuxSubscriptionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListLinuxSubscriptionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListLinuxSubscriptionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListLinuxSubscriptionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opUpdateServiceSettings = "UpdateServiceSettings" + +// UpdateServiceSettingsRequest generates a "aws/request.Request" representing the +// client's request for the UpdateServiceSettings operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateServiceSettings for more information on using the UpdateServiceSettings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateServiceSettingsRequest method. +// req, resp := client.UpdateServiceSettingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/UpdateServiceSettings +func (c *LicenseManagerLinuxSubscriptions) UpdateServiceSettingsRequest(input *UpdateServiceSettingsInput) (req *request.Request, output *UpdateServiceSettingsOutput) { + op := &request.Operation{ + Name: opUpdateServiceSettings, + HTTPMethod: "POST", + HTTPPath: "/subscription/UpdateServiceSettings", + } + + if input == nil { + input = &UpdateServiceSettingsInput{} + } + + output = &UpdateServiceSettingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateServiceSettings API operation for AWS License Manager Linux Subscriptions. +// +// Updates the service settings for Linux subscriptions. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS License Manager Linux Subscriptions's +// API operation UpdateServiceSettings for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An exception occurred with the service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The provided input is not valid. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/UpdateServiceSettings +func (c *LicenseManagerLinuxSubscriptions) UpdateServiceSettings(input *UpdateServiceSettingsInput) (*UpdateServiceSettingsOutput, error) { + req, out := c.UpdateServiceSettingsRequest(input) + return out, req.Send() +} + +// UpdateServiceSettingsWithContext is the same as UpdateServiceSettings with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateServiceSettings for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LicenseManagerLinuxSubscriptions) UpdateServiceSettingsWithContext(ctx aws.Context, input *UpdateServiceSettingsInput, opts ...request.Option) (*UpdateServiceSettingsOutput, error) { + req, out := c.UpdateServiceSettingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// A filter object that is used to return more specific results from a describe +// operation. Filters can be used to match a set of resources by specific criteria. +type Filter struct { + _ struct{} `type:"structure"` + + // The type of name to filter by. + Name *string `type:"string"` + + // An operator for filtering results. + Operator *string `min:"1" type:"string" enum:"Operator"` + + // One or more values for the name to filter by. + Values []*string `min:"1" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Filter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Filter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Filter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Filter"} + if s.Operator != nil && len(*s.Operator) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Operator", 1)) + } + if s.Values != nil && len(s.Values) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Values", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *Filter) SetName(v string) *Filter { + s.Name = &v + return s +} + +// SetOperator sets the Operator field's value. +func (s *Filter) SetOperator(v string) *Filter { + s.Operator = &v + return s +} + +// SetValues sets the Values field's value. +func (s *Filter) SetValues(v []*string) *Filter { + s.Values = v + return s +} + +type GetServiceSettingsInput struct { + _ struct{} `type:"structure" nopayload:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetServiceSettingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetServiceSettingsInput) GoString() string { + return s.String() +} + +type GetServiceSettingsOutput struct { + _ struct{} `type:"structure"` + + // The Region in which License Manager displays the aggregated data for Linux + // subscriptions. + HomeRegions []*string `min:"1" type:"list"` + + // Lists if discovery has been enabled for Linux subscriptions. + LinuxSubscriptionsDiscovery *string `type:"string" enum:"LinuxSubscriptionsDiscovery"` + + // Lists the settings defined for Linux subscriptions discovery. The settings + // include if Organizations integration has been enabled, and which Regions + // data will be aggregated from. + LinuxSubscriptionsDiscoverySettings *LinuxSubscriptionsDiscoverySettings `type:"structure"` + + // Indicates the status of Linux subscriptions settings being applied. + Status *string `type:"string" enum:"Status"` + + // A message which details the Linux subscriptions service settings current + // status. + StatusMessage map[string]*string `type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetServiceSettingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetServiceSettingsOutput) GoString() string { + return s.String() +} + +// SetHomeRegions sets the HomeRegions field's value. +func (s *GetServiceSettingsOutput) SetHomeRegions(v []*string) *GetServiceSettingsOutput { + s.HomeRegions = v + return s +} + +// SetLinuxSubscriptionsDiscovery sets the LinuxSubscriptionsDiscovery field's value. +func (s *GetServiceSettingsOutput) SetLinuxSubscriptionsDiscovery(v string) *GetServiceSettingsOutput { + s.LinuxSubscriptionsDiscovery = &v + return s +} + +// SetLinuxSubscriptionsDiscoverySettings sets the LinuxSubscriptionsDiscoverySettings field's value. +func (s *GetServiceSettingsOutput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *GetServiceSettingsOutput { + s.LinuxSubscriptionsDiscoverySettings = v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetServiceSettingsOutput) SetStatus(v string) *GetServiceSettingsOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetServiceSettingsOutput) SetStatusMessage(v map[string]*string) *GetServiceSettingsOutput { + s.StatusMessage = v + return s +} + +// Details discovered information about a running instance using Linux subscriptions. +type Instance struct { + _ struct{} `type:"structure"` + + // The account ID which owns the instance. + AccountID *string `type:"string"` + + // The AMI ID used to launch the instance. + AmiId *string `type:"string"` + + // The instance ID of the resource. + InstanceID *string `type:"string"` + + // The instance type of the resource. + InstanceType *string `type:"string"` + + // The time in which the last discovery updated the instance details. + LastUpdatedTime *string `type:"string"` + + // The product code for the instance. For more information, see Usage operation + // values (https://docs.aws.amazon.com/license-manager/latest/userguide/linux-subscriptions-usage-operation.html) + // in the License Manager User Guide . + ProductCode []*string `type:"list"` + + // The Region the instance is running in. + Region *string `type:"string"` + + // The status of the instance. + Status *string `type:"string"` + + // The name of the subscription being used by the instance. + SubscriptionName *string `type:"string"` + + // The usage operation of the instance. For more information, see For more information, + // see Usage operation values (https://docs.aws.amazon.com/license-manager/latest/userguide/linux-subscriptions-usage-operation.html) + // in the License Manager User Guide. + UsageOperation *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Instance) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Instance) GoString() string { + return s.String() +} + +// SetAccountID sets the AccountID field's value. +func (s *Instance) SetAccountID(v string) *Instance { + s.AccountID = &v + return s +} + +// SetAmiId sets the AmiId field's value. +func (s *Instance) SetAmiId(v string) *Instance { + s.AmiId = &v + return s +} + +// SetInstanceID sets the InstanceID field's value. +func (s *Instance) SetInstanceID(v string) *Instance { + s.InstanceID = &v + return s +} + +// SetInstanceType sets the InstanceType field's value. +func (s *Instance) SetInstanceType(v string) *Instance { + s.InstanceType = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *Instance) SetLastUpdatedTime(v string) *Instance { + s.LastUpdatedTime = &v + return s +} + +// SetProductCode sets the ProductCode field's value. +func (s *Instance) SetProductCode(v []*string) *Instance { + s.ProductCode = v + return s +} + +// SetRegion sets the Region field's value. +func (s *Instance) SetRegion(v string) *Instance { + s.Region = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *Instance) SetStatus(v string) *Instance { + s.Status = &v + return s +} + +// SetSubscriptionName sets the SubscriptionName field's value. +func (s *Instance) SetSubscriptionName(v string) *Instance { + s.SubscriptionName = &v + return s +} + +// SetUsageOperation sets the UsageOperation field's value. +func (s *Instance) SetUsageOperation(v string) *Instance { + s.UsageOperation = &v + return s +} + +// An exception occurred with the service. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Lists the settings defined for discovering Linux subscriptions. +type LinuxSubscriptionsDiscoverySettings struct { + _ struct{} `type:"structure"` + + // Details if you have enabled resource discovery across your accounts in Organizations. + // + // OrganizationIntegration is a required field + OrganizationIntegration *string `type:"string" required:"true" enum:"OrganizationIntegration"` + + // The Regions in which to discover data for Linux subscriptions. + // + // SourceRegions is a required field + SourceRegions []*string `min:"1" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LinuxSubscriptionsDiscoverySettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LinuxSubscriptionsDiscoverySettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LinuxSubscriptionsDiscoverySettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LinuxSubscriptionsDiscoverySettings"} + if s.OrganizationIntegration == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationIntegration")) + } + if s.SourceRegions == nil { + invalidParams.Add(request.NewErrParamRequired("SourceRegions")) + } + if s.SourceRegions != nil && len(s.SourceRegions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceRegions", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOrganizationIntegration sets the OrganizationIntegration field's value. +func (s *LinuxSubscriptionsDiscoverySettings) SetOrganizationIntegration(v string) *LinuxSubscriptionsDiscoverySettings { + s.OrganizationIntegration = &v + return s +} + +// SetSourceRegions sets the SourceRegions field's value. +func (s *LinuxSubscriptionsDiscoverySettings) SetSourceRegions(v []*string) *LinuxSubscriptionsDiscoverySettings { + s.SourceRegions = v + return s +} + +// NextToken length limit is half of ddb accepted limit. Increase this limit +// if parameters in request increases. +type ListLinuxSubscriptionInstancesInput struct { + _ struct{} `type:"structure"` + + // An array of structures that you can use to filter the results to those that + // match one or more sets of key-value pairs that you specify. For example, + // you can filter by the name of AmiID with an optional operator to see subscriptions + // that match, partially match, or don't match a certain Amazon Machine Image + // (AMI) ID. + // + // The valid names for this filter are: + // + // * AmiID + // + // * InstanceID + // + // * AccountID + // + // * Status + // + // * Region + // + // * UsageOperation + // + // * ProductCode + // + // * InstanceType + // + // The valid Operators for this filter are: + // + // * contains + // + // * equals + // + // * Notequal + Filters []*Filter `type:"list"` + + // Maximum number of results to return in a single call. + MaxResults *int64 `type:"integer"` + + // Token for the next set of results. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLinuxSubscriptionInstancesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLinuxSubscriptionInstancesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListLinuxSubscriptionInstancesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListLinuxSubscriptionInstancesInput"} + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilters sets the Filters field's value. +func (s *ListLinuxSubscriptionInstancesInput) SetFilters(v []*Filter) *ListLinuxSubscriptionInstancesInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListLinuxSubscriptionInstancesInput) SetMaxResults(v int64) *ListLinuxSubscriptionInstancesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListLinuxSubscriptionInstancesInput) SetNextToken(v string) *ListLinuxSubscriptionInstancesInput { + s.NextToken = &v + return s +} + +type ListLinuxSubscriptionInstancesOutput struct { + _ struct{} `type:"structure"` + + // An array that contains instance objects. + Instances []*Instance `type:"list"` + + // Token for the next set of results. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLinuxSubscriptionInstancesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLinuxSubscriptionInstancesOutput) GoString() string { + return s.String() +} + +// SetInstances sets the Instances field's value. +func (s *ListLinuxSubscriptionInstancesOutput) SetInstances(v []*Instance) *ListLinuxSubscriptionInstancesOutput { + s.Instances = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListLinuxSubscriptionInstancesOutput) SetNextToken(v string) *ListLinuxSubscriptionInstancesOutput { + s.NextToken = &v + return s +} + +// NextToken length limit is half of ddb accepted limit. Increase this limit +// if parameters in request increases. +type ListLinuxSubscriptionsInput struct { + _ struct{} `type:"structure"` + + // An array of structures that you can use to filter the results to those that + // match one or more sets of key-value pairs that you specify. For example, + // you can filter by the name of Subscription with an optional operator to see + // subscriptions that match, partially match, or don't match a certain subscription's + // name. + // + // The valid names for this filter are: + // + // * Subscription + // + // The valid Operators for this filter are: + // + // * contains + // + // * equals + // + // * Notequal + Filters []*Filter `type:"list"` + + // Maximum number of results to return in a single call. + MaxResults *int64 `type:"integer"` + + // Token for the next set of results. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLinuxSubscriptionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLinuxSubscriptionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListLinuxSubscriptionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListLinuxSubscriptionsInput"} + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilters sets the Filters field's value. +func (s *ListLinuxSubscriptionsInput) SetFilters(v []*Filter) *ListLinuxSubscriptionsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListLinuxSubscriptionsInput) SetMaxResults(v int64) *ListLinuxSubscriptionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListLinuxSubscriptionsInput) SetNextToken(v string) *ListLinuxSubscriptionsInput { + s.NextToken = &v + return s +} + +type ListLinuxSubscriptionsOutput struct { + _ struct{} `type:"structure"` + + // Token for the next set of results. + NextToken *string `type:"string"` + + // An array that contains subscription objects. + Subscriptions []*Subscription `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLinuxSubscriptionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLinuxSubscriptionsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListLinuxSubscriptionsOutput) SetNextToken(v string) *ListLinuxSubscriptionsOutput { + s.NextToken = &v + return s +} + +// SetSubscriptions sets the Subscriptions field's value. +func (s *ListLinuxSubscriptionsOutput) SetSubscriptions(v []*Subscription) *ListLinuxSubscriptionsOutput { + s.Subscriptions = v + return s +} + +// An object which details a discovered Linux subscription. +type Subscription struct { + _ struct{} `type:"structure"` + + // The total amount of running instances using this subscription. + InstanceCount *int64 `type:"long"` + + // The name of the subscription. + Name *string `type:"string"` + + // The type of subscription. The type can be subscription-included with Amazon + // EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services + // Marketplace. Certain subscriptions may use licensing from the Amazon Web + // Services Marketplace as well as OS licensing from Amazon EC2 or BYOS. + Type *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Subscription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Subscription) GoString() string { + return s.String() +} + +// SetInstanceCount sets the InstanceCount field's value. +func (s *Subscription) SetInstanceCount(v int64) *Subscription { + s.InstanceCount = &v + return s +} + +// SetName sets the Name field's value. +func (s *Subscription) SetName(v string) *Subscription { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *Subscription) SetType(v string) *Subscription { + s.Type = &v + return s +} + +// The request was denied due to request throttling. +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) GoString() string { + return s.String() +} + +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" +} + +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil +} + +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID +} + +type UpdateServiceSettingsInput struct { + _ struct{} `type:"structure"` + + // Describes if updates are allowed to the service settings for Linux subscriptions. + // If you allow updates, you can aggregate Linux subscription data in more than + // one home Region. + AllowUpdate *bool `type:"boolean"` + + // Describes if the discovery of Linux subscriptions is enabled. + // + // LinuxSubscriptionsDiscovery is a required field + LinuxSubscriptionsDiscovery *string `type:"string" required:"true" enum:"LinuxSubscriptionsDiscovery"` + + // The settings defined for Linux subscriptions discovery. The settings include + // if Organizations integration has been enabled, and which Regions data will + // be aggregated from. + // + // LinuxSubscriptionsDiscoverySettings is a required field + LinuxSubscriptionsDiscoverySettings *LinuxSubscriptionsDiscoverySettings `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateServiceSettingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateServiceSettingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateServiceSettingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateServiceSettingsInput"} + if s.LinuxSubscriptionsDiscovery == nil { + invalidParams.Add(request.NewErrParamRequired("LinuxSubscriptionsDiscovery")) + } + if s.LinuxSubscriptionsDiscoverySettings == nil { + invalidParams.Add(request.NewErrParamRequired("LinuxSubscriptionsDiscoverySettings")) + } + if s.LinuxSubscriptionsDiscoverySettings != nil { + if err := s.LinuxSubscriptionsDiscoverySettings.Validate(); err != nil { + invalidParams.AddNested("LinuxSubscriptionsDiscoverySettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAllowUpdate sets the AllowUpdate field's value. +func (s *UpdateServiceSettingsInput) SetAllowUpdate(v bool) *UpdateServiceSettingsInput { + s.AllowUpdate = &v + return s +} + +// SetLinuxSubscriptionsDiscovery sets the LinuxSubscriptionsDiscovery field's value. +func (s *UpdateServiceSettingsInput) SetLinuxSubscriptionsDiscovery(v string) *UpdateServiceSettingsInput { + s.LinuxSubscriptionsDiscovery = &v + return s +} + +// SetLinuxSubscriptionsDiscoverySettings sets the LinuxSubscriptionsDiscoverySettings field's value. +func (s *UpdateServiceSettingsInput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *UpdateServiceSettingsInput { + s.LinuxSubscriptionsDiscoverySettings = v + return s +} + +type UpdateServiceSettingsOutput struct { + _ struct{} `type:"structure"` + + // The Region in which License Manager displays the aggregated data for Linux + // subscriptions. + HomeRegions []*string `min:"1" type:"list"` + + // Lists if discovery has been enabled for Linux subscriptions. + LinuxSubscriptionsDiscovery *string `type:"string" enum:"LinuxSubscriptionsDiscovery"` + + // The settings defined for Linux subscriptions discovery. The settings include + // if Organizations integration has been enabled, and which Regions data will + // be aggregated from. + LinuxSubscriptionsDiscoverySettings *LinuxSubscriptionsDiscoverySettings `type:"structure"` + + // Indicates the status of Linux subscriptions settings being applied. + Status *string `type:"string" enum:"Status"` + + // A message which details the Linux subscriptions service settings current + // status. + StatusMessage map[string]*string `type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateServiceSettingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateServiceSettingsOutput) GoString() string { + return s.String() +} + +// SetHomeRegions sets the HomeRegions field's value. +func (s *UpdateServiceSettingsOutput) SetHomeRegions(v []*string) *UpdateServiceSettingsOutput { + s.HomeRegions = v + return s +} + +// SetLinuxSubscriptionsDiscovery sets the LinuxSubscriptionsDiscovery field's value. +func (s *UpdateServiceSettingsOutput) SetLinuxSubscriptionsDiscovery(v string) *UpdateServiceSettingsOutput { + s.LinuxSubscriptionsDiscovery = &v + return s +} + +// SetLinuxSubscriptionsDiscoverySettings sets the LinuxSubscriptionsDiscoverySettings field's value. +func (s *UpdateServiceSettingsOutput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *UpdateServiceSettingsOutput { + s.LinuxSubscriptionsDiscoverySettings = v + return s +} + +// SetStatus sets the Status field's value. +func (s *UpdateServiceSettingsOutput) SetStatus(v string) *UpdateServiceSettingsOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *UpdateServiceSettingsOutput) SetStatusMessage(v map[string]*string) *UpdateServiceSettingsOutput { + s.StatusMessage = v + return s +} + +// The provided input is not valid. Try your request again. +type ValidationException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationException) GoString() string { + return s.String() +} + +func newErrorValidationException(v protocol.ResponseMetadata) error { + return &ValidationException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ValidationException) Code() string { + return "ValidationException" +} + +// Message returns the exception's message. +func (s *ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ValidationException) OrigErr() error { + return nil +} + +func (s *ValidationException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ValidationException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ValidationException) RequestID() string { + return s.RespMetadata.RequestID +} + +const ( + // LinuxSubscriptionsDiscoveryEnabled is a LinuxSubscriptionsDiscovery enum value + LinuxSubscriptionsDiscoveryEnabled = "Enabled" + + // LinuxSubscriptionsDiscoveryDisabled is a LinuxSubscriptionsDiscovery enum value + LinuxSubscriptionsDiscoveryDisabled = "Disabled" +) + +// LinuxSubscriptionsDiscovery_Values returns all elements of the LinuxSubscriptionsDiscovery enum +func LinuxSubscriptionsDiscovery_Values() []string { + return []string{ + LinuxSubscriptionsDiscoveryEnabled, + LinuxSubscriptionsDiscoveryDisabled, + } +} + +const ( + // OperatorEqual is a Operator enum value + OperatorEqual = "Equal" + + // OperatorNotEqual is a Operator enum value + OperatorNotEqual = "NotEqual" + + // OperatorContains is a Operator enum value + OperatorContains = "Contains" +) + +// Operator_Values returns all elements of the Operator enum +func Operator_Values() []string { + return []string{ + OperatorEqual, + OperatorNotEqual, + OperatorContains, + } +} + +const ( + // OrganizationIntegrationEnabled is a OrganizationIntegration enum value + OrganizationIntegrationEnabled = "Enabled" + + // OrganizationIntegrationDisabled is a OrganizationIntegration enum value + OrganizationIntegrationDisabled = "Disabled" +) + +// OrganizationIntegration_Values returns all elements of the OrganizationIntegration enum +func OrganizationIntegration_Values() []string { + return []string{ + OrganizationIntegrationEnabled, + OrganizationIntegrationDisabled, + } +} + +const ( + // StatusInProgress is a Status enum value + StatusInProgress = "InProgress" + + // StatusCompleted is a Status enum value + StatusCompleted = "Completed" + + // StatusSuccessful is a Status enum value + StatusSuccessful = "Successful" + + // StatusFailed is a Status enum value + StatusFailed = "Failed" +) + +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusInProgress, + StatusCompleted, + StatusSuccessful, + StatusFailed, + } +} diff --git a/service/licensemanagerlinuxsubscriptions/doc.go b/service/licensemanagerlinuxsubscriptions/doc.go new file mode 100644 index 0000000000..0c7c555f2b --- /dev/null +++ b/service/licensemanagerlinuxsubscriptions/doc.go @@ -0,0 +1,29 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package licensemanagerlinuxsubscriptions provides the client and types for making API +// requests to AWS License Manager Linux Subscriptions. +// +// With License Manager, you can discover and track your commercial Linux subscriptions +// on running Amazon EC2 instances. +// +// See https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10 for more information on this service. +// +// See licensemanagerlinuxsubscriptions package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/licensemanagerlinuxsubscriptions/ +// +// # Using the Client +// +// To contact AWS License Manager Linux Subscriptions with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS License Manager Linux Subscriptions client LicenseManagerLinuxSubscriptions for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/licensemanagerlinuxsubscriptions/#New +package licensemanagerlinuxsubscriptions diff --git a/service/licensemanagerlinuxsubscriptions/errors.go b/service/licensemanagerlinuxsubscriptions/errors.go new file mode 100644 index 0000000000..3265ade024 --- /dev/null +++ b/service/licensemanagerlinuxsubscriptions/errors.go @@ -0,0 +1,34 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package licensemanagerlinuxsubscriptions + +import ( + "github.com/aws/aws-sdk-go/private/protocol" +) + +const ( + + // ErrCodeInternalServerException for service response error code + // "InternalServerException". + // + // An exception occurred with the service. + ErrCodeInternalServerException = "InternalServerException" + + // ErrCodeThrottlingException for service response error code + // "ThrottlingException". + // + // The request was denied due to request throttling. + ErrCodeThrottlingException = "ThrottlingException" + + // ErrCodeValidationException for service response error code + // "ValidationException". + // + // The provided input is not valid. Try your request again. + ErrCodeValidationException = "ValidationException" +) + +var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ + "InternalServerException": newErrorInternalServerException, + "ThrottlingException": newErrorThrottlingException, + "ValidationException": newErrorValidationException, +} diff --git a/service/licensemanagerlinuxsubscriptions/licensemanagerlinuxsubscriptionsiface/interface.go b/service/licensemanagerlinuxsubscriptions/licensemanagerlinuxsubscriptionsiface/interface.go new file mode 100644 index 0000000000..30fd6fff7f --- /dev/null +++ b/service/licensemanagerlinuxsubscriptions/licensemanagerlinuxsubscriptionsiface/interface.go @@ -0,0 +1,86 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package licensemanagerlinuxsubscriptionsiface provides an interface to enable mocking the AWS License Manager Linux Subscriptions service client +// for testing your code. +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. +package licensemanagerlinuxsubscriptionsiface + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/service/licensemanagerlinuxsubscriptions" +) + +// LicenseManagerLinuxSubscriptionsAPI provides an interface to enable mocking the +// licensemanagerlinuxsubscriptions.LicenseManagerLinuxSubscriptions service client's API operation, +// paginators, and waiters. This make unit testing your code that calls out +// to the SDK's service client's calls easier. +// +// The best way to use this interface is so the SDK's service client's calls +// can be stubbed out for unit testing your code with the SDK without needing +// to inject custom request handlers into the SDK's request pipeline. +// +// // myFunc uses an SDK service client to make a request to +// // AWS License Manager Linux Subscriptions. +// func myFunc(svc licensemanagerlinuxsubscriptionsiface.LicenseManagerLinuxSubscriptionsAPI) bool { +// // Make svc.GetServiceSettings request +// } +// +// func main() { +// sess := session.New() +// svc := licensemanagerlinuxsubscriptions.New(sess) +// +// myFunc(svc) +// } +// +// In your _test.go file: +// +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLicenseManagerLinuxSubscriptionsClient struct { +// licensemanagerlinuxsubscriptionsiface.LicenseManagerLinuxSubscriptionsAPI +// } +// func (m *mockLicenseManagerLinuxSubscriptionsClient) GetServiceSettings(input *licensemanagerlinuxsubscriptions.GetServiceSettingsInput) (*licensemanagerlinuxsubscriptions.GetServiceSettingsOutput, error) { +// // mock response/functionality +// } +// +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLicenseManagerLinuxSubscriptionsClient{} +// +// myfunc(mockSvc) +// +// // Verify myFunc's functionality +// } +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. Its suggested to use the pattern above for testing, or using +// tooling to generate mocks to satisfy the interfaces. +type LicenseManagerLinuxSubscriptionsAPI interface { + GetServiceSettings(*licensemanagerlinuxsubscriptions.GetServiceSettingsInput) (*licensemanagerlinuxsubscriptions.GetServiceSettingsOutput, error) + GetServiceSettingsWithContext(aws.Context, *licensemanagerlinuxsubscriptions.GetServiceSettingsInput, ...request.Option) (*licensemanagerlinuxsubscriptions.GetServiceSettingsOutput, error) + GetServiceSettingsRequest(*licensemanagerlinuxsubscriptions.GetServiceSettingsInput) (*request.Request, *licensemanagerlinuxsubscriptions.GetServiceSettingsOutput) + + ListLinuxSubscriptionInstances(*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesInput) (*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesOutput, error) + ListLinuxSubscriptionInstancesWithContext(aws.Context, *licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesInput, ...request.Option) (*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesOutput, error) + ListLinuxSubscriptionInstancesRequest(*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesInput) (*request.Request, *licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesOutput) + + ListLinuxSubscriptionInstancesPages(*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesInput, func(*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesOutput, bool) bool) error + ListLinuxSubscriptionInstancesPagesWithContext(aws.Context, *licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesInput, func(*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesOutput, bool) bool, ...request.Option) error + + ListLinuxSubscriptions(*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsInput) (*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsOutput, error) + ListLinuxSubscriptionsWithContext(aws.Context, *licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsInput, ...request.Option) (*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsOutput, error) + ListLinuxSubscriptionsRequest(*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsInput) (*request.Request, *licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsOutput) + + ListLinuxSubscriptionsPages(*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsInput, func(*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsOutput, bool) bool) error + ListLinuxSubscriptionsPagesWithContext(aws.Context, *licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsInput, func(*licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsOutput, bool) bool, ...request.Option) error + + UpdateServiceSettings(*licensemanagerlinuxsubscriptions.UpdateServiceSettingsInput) (*licensemanagerlinuxsubscriptions.UpdateServiceSettingsOutput, error) + UpdateServiceSettingsWithContext(aws.Context, *licensemanagerlinuxsubscriptions.UpdateServiceSettingsInput, ...request.Option) (*licensemanagerlinuxsubscriptions.UpdateServiceSettingsOutput, error) + UpdateServiceSettingsRequest(*licensemanagerlinuxsubscriptions.UpdateServiceSettingsInput) (*request.Request, *licensemanagerlinuxsubscriptions.UpdateServiceSettingsOutput) +} + +var _ LicenseManagerLinuxSubscriptionsAPI = (*licensemanagerlinuxsubscriptions.LicenseManagerLinuxSubscriptions)(nil) diff --git a/service/licensemanagerlinuxsubscriptions/service.go b/service/licensemanagerlinuxsubscriptions/service.go new file mode 100644 index 0000000000..d1482e0509 --- /dev/null +++ b/service/licensemanagerlinuxsubscriptions/service.go @@ -0,0 +1,106 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package licensemanagerlinuxsubscriptions + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// LicenseManagerLinuxSubscriptions provides the API operation methods for making requests to +// AWS License Manager Linux Subscriptions. See this package's package overview docs +// for details on the service. +// +// LicenseManagerLinuxSubscriptions methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type LicenseManagerLinuxSubscriptions struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "License Manager Linux Subscriptions" // Name of service. + EndpointsID = "license-manager-linux-subscriptions" // ID to lookup a service endpoint with. + ServiceID = "License Manager Linux Subscriptions" // ServiceID is a unique identifier of a specific service. +) + +// New creates a new instance of the LicenseManagerLinuxSubscriptions client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// +// mySession := session.Must(session.NewSession()) +// +// // Create a LicenseManagerLinuxSubscriptions client from just a session. +// svc := licensemanagerlinuxsubscriptions.New(mySession) +// +// // Create a LicenseManagerLinuxSubscriptions client with additional configuration +// svc := licensemanagerlinuxsubscriptions.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *LicenseManagerLinuxSubscriptions { + c := p.ClientConfig(EndpointsID, cfgs...) + if c.SigningNameDerived || len(c.SigningName) == 0 { + c.SigningName = "license-manager-linux-subscriptions" + } + return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *LicenseManagerLinuxSubscriptions { + svc := &LicenseManagerLinuxSubscriptions{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + ServiceID: ServiceID, + SigningName: signingName, + SigningRegion: signingRegion, + PartitionID: partitionID, + Endpoint: endpoint, + APIVersion: "2018-05-10", + ResolvedRegion: resolvedRegion, + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed( + protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(), + ) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a LicenseManagerLinuxSubscriptions operation and runs any +// custom request initialization. +func (c *LicenseManagerLinuxSubscriptions) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/service/macie2/api.go b/service/macie2/api.go index 99673ecbcd..66565d208a 100644 --- a/service/macie2/api.go +++ b/service/macie2/api.go @@ -25633,6 +25633,12 @@ const ( // StorageClassGlacier is a StorageClass enum value StorageClassGlacier = "GLACIER" + + // StorageClassGlacierIr is a StorageClass enum value + StorageClassGlacierIr = "GLACIER_IR" + + // StorageClassOutposts is a StorageClass enum value + StorageClassOutposts = "OUTPOSTS" ) // StorageClass_Values returns all elements of the StorageClass enum @@ -25645,6 +25651,8 @@ func StorageClass_Values() []string { StorageClassDeepArchive, StorageClassOnezoneIa, StorageClassGlacier, + StorageClassGlacierIr, + StorageClassOutposts, } } diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index febcd16485..552cb0e560 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -63215,6 +63215,10 @@ type DomainSettingsForUpdate struct { // A collection of RStudioServerPro Domain-level app settings to update. RStudioServerProDomainSettingsForUpdate *RStudioServerProDomainSettingsForUpdate `type:"structure"` + + // The security groups for the Amazon Virtual Private Cloud that the Domain + // uses for communication between Domain-level apps and user apps. + SecurityGroupIds []*string `type:"list"` } // String returns the string representation. @@ -63262,6 +63266,12 @@ func (s *DomainSettingsForUpdate) SetRStudioServerProDomainSettingsForUpdate(v * return s } +// SetSecurityGroupIds sets the SecurityGroupIds field's value. +func (s *DomainSettingsForUpdate) SetSecurityGroupIds(v []*string) *DomainSettingsForUpdate { + s.SecurityGroupIds = v + return s +} + // Represents the drift check baselines that can be used when the model monitor // is set using the model package. type DriftCheckBaselines struct { @@ -70097,7 +70107,7 @@ type HyperParameterTuningInstanceConfig struct { // The number of instances of the type specified by InstanceType. Choose an // instance count larger than 1 for distributed training algorithms. See SageMaker // distributed training jobs (https://docs.aws.amazon.com/data-parallel-use-api.html) - // for more information. + // for more informcration. // // InstanceCount is a required field InstanceCount *int64 `type:"integer" required:"true"` @@ -97494,6 +97504,12 @@ type RStudioServerProDomainSettingsForUpdate struct { // // DomainExecutionRoleArn is a required field DomainExecutionRoleArn *string `min:"20" type:"string" required:"true"` + + // A URL pointing to an RStudio Connect server. + RStudioConnectUrl *string `type:"string"` + + // A URL pointing to an RStudio Package Manager server. + RStudioPackageManagerUrl *string `type:"string"` } // String returns the string representation. @@ -97542,6 +97558,18 @@ func (s *RStudioServerProDomainSettingsForUpdate) SetDomainExecutionRoleArn(v st return s } +// SetRStudioConnectUrl sets the RStudioConnectUrl field's value. +func (s *RStudioServerProDomainSettingsForUpdate) SetRStudioConnectUrl(v string) *RStudioServerProDomainSettingsForUpdate { + s.RStudioConnectUrl = &v + return s +} + +// SetRStudioPackageManagerUrl sets the RStudioPackageManagerUrl field's value. +func (s *RStudioServerProDomainSettingsForUpdate) SetRStudioPackageManagerUrl(v string) *RStudioServerProDomainSettingsForUpdate { + s.RStudioPackageManagerUrl = &v + return s +} + // The infrastructure configuration for deploying the model to a real-time inference // endpoint. type RealTimeInferenceConfig struct { @@ -108084,6 +108112,12 @@ func (s UpdateDevicesOutput) GoString() string { type UpdateDomainInput struct { _ struct{} `type:"structure"` + // The entity that creates and manages the required security groups for inter-app + // communication in VPCOnly mode. Required when CreateDomain.AppNetworkAccessType + // is VPCOnly and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn + // is provided. + AppSecurityGroupManagement *string `type:"string" enum:"AppSecurityGroupManagement"` + // The default settings used to create a space within the Domain. DefaultSpaceSettings *DefaultSpaceSettings `type:"structure"` @@ -108145,6 +108179,12 @@ func (s *UpdateDomainInput) Validate() error { return nil } +// SetAppSecurityGroupManagement sets the AppSecurityGroupManagement field's value. +func (s *UpdateDomainInput) SetAppSecurityGroupManagement(v string) *UpdateDomainInput { + s.AppSecurityGroupManagement = &v + return s +} + // SetDefaultSpaceSettings sets the DefaultSpaceSettings field's value. func (s *UpdateDomainInput) SetDefaultSpaceSettings(v *DefaultSpaceSettings) *UpdateDomainInput { s.DefaultSpaceSettings = v diff --git a/service/ssm/api.go b/service/ssm/api.go index 6009e02d02..8b3294cc53 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -50161,13 +50161,15 @@ type PutResourcePolicyInput struct { Policy *string `type:"string" required:"true"` // ID of the current policy version. The hash helps to prevent a situation where - // multiple users attempt to overwrite a policy. + // multiple users attempt to overwrite a policy. You must provide this hash + // when updating or deleting a policy. PolicyHash *string `type:"string"` // The policy ID. PolicyId *string `type:"string"` - // Amazon Resource Name (ARN) of the resource to which the policies are attached. + // Amazon Resource Name (ARN) of the resource to which you want to attach a + // policy. // // ResourceArn is a required field ResourceArn *string `min:"20" type:"string" required:"true"` @@ -50237,9 +50239,7 @@ func (s *PutResourcePolicyInput) SetResourceArn(v string) *PutResourcePolicyInpu type PutResourcePolicyOutput struct { _ struct{} `type:"structure"` - // ID of the current policy version. The hash helps to prevent a situation where - // multiple users attempt to overwrite a policy. You must provide this hash - // when updating or deleting a policy. + // ID of the current policy version. PolicyHash *string `type:"string"` // The policy ID. To update a policy, you must specify PolicyId and PolicyHash. diff --git a/service/ssm/doc.go b/service/ssm/doc.go index c6d0867052..0bb97bb8e3 100644 --- a/service/ssm/doc.go +++ b/service/ssm/doc.go @@ -3,33 +3,32 @@ // Package ssm provides the client and types for making API // requests to Amazon Simple Systems Manager (SSM). // -// Amazon Web Services Systems Manager is a collection of capabilities to help -// you manage your applications and infrastructure running in the Amazon Web -// Services Cloud;. Systems Manager simplifies application and resource management, -// shortens the time to detect and resolve operational problems, and helps you -// manage your Amazon Web Services resources securely at scale. +// Amazon Web Services Systems Manager is the operations hub for your Amazon +// Web Services applications and resources and a secure end-to-end management +// solution for hybrid cloud environments that enables safe and secure operations +// at scale. // // This reference is intended to be used with the Amazon Web Services Systems // Manager User Guide (https://docs.aws.amazon.com/systems-manager/latest/userguide/). -// -// To get started, verify prerequisites. For more information, see Setting up -// Amazon Web Services Systems Manager (https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html). +// To get started, see Setting up Amazon Web Services Systems Manager (https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html). // // Related resources // -// - For information about how to use a Query API, see Making API requests -// (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/making-api-requests.html). +// - For information about each of the capabilities that comprise Systems +// Manager, see Systems Manager capabilities (https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities) +// in the Amazon Web Services Systems Manager User Guide. // -// - For information about other API operations you can perform on EC2 instances, -// see the Amazon EC2 API Reference (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/). +// - For details about predefined runbooks for Automation, a capability of +// Amazon Web Services Systems Manager, see the Systems Manager Automation +// runbook reference (https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-runbook-reference.html) . // // - For information about AppConfig, a capability of Systems Manager, see // the AppConfig User Guide (https://docs.aws.amazon.com/appconfig/latest/userguide/) -// and the AppConfig API Reference (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/). +// and the AppConfig API Reference (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/) . // // - For information about Incident Manager, a capability of Systems Manager, -// see the Incident Manager User Guide (https://docs.aws.amazon.com/incident-manager/latest/userguide/) -// and the Incident Manager API Reference (https://docs.aws.amazon.com/incident-manager/latest/APIReference/). +// see the Systems Manager Incident Manager User Guide (https://docs.aws.amazon.com/incident-manager/latest/userguide/) +// and the Systems Manager Incident Manager API Reference (https://docs.aws.amazon.com/incident-manager/latest/APIReference/) . // // See https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06 for more information on this service. // diff --git a/service/support/api.go b/service/support/api.go index beabaf9fae..23667a2f11 100644 --- a/service/support/api.go +++ b/service/support/api.go @@ -64,7 +64,7 @@ func (c *Support) AddAttachmentsToSetRequest(input *AddAttachmentsToSetInput) (r // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // @@ -170,7 +170,7 @@ func (c *Support) AddCommunicationToCaseRequest(input *AddCommunicationToCaseInp // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // @@ -288,7 +288,7 @@ func (c *Support) CreateCaseRequest(input *CreateCaseInput) (req *request.Reques // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // @@ -389,7 +389,7 @@ func (c *Support) DescribeAttachmentRequest(input *DescribeAttachmentInput) (req // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // @@ -503,7 +503,7 @@ func (c *Support) DescribeCasesRequest(input *DescribeCasesInput) (req *request. // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // @@ -659,7 +659,7 @@ func (c *Support) DescribeCommunicationsRequest(input *DescribeCommunicationsInp // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // @@ -811,7 +811,7 @@ func (c *Support) DescribeServicesRequest(input *DescribeServicesInput) (req *re // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // @@ -899,7 +899,7 @@ func (c *Support) DescribeSeverityLevelsRequest(input *DescribeSeverityLevelsInp // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // @@ -992,10 +992,17 @@ func (c *Support) DescribeTrustedAdvisorCheckRefreshStatusesRequest(input *Descr // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // +// To call the Trusted Advisor operations in the Amazon Web Services Support +// API, you must use the US East (N. Virginia) endpoint. Currently, the US West +// (Oregon) and Europe (Ireland) endpoints don't support the Trusted Advisor +// operations. For more information, see About the Amazon Web Services Support +// API (https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html#endpoint) +// in the Amazon Web Services Support User Guide. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1098,10 +1105,17 @@ func (c *Support) DescribeTrustedAdvisorCheckResultRequest(input *DescribeTruste // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // +// To call the Trusted Advisor operations in the Amazon Web Services Support +// API, you must use the US East (N. Virginia) endpoint. Currently, the US West +// (Oregon) and Europe (Ireland) endpoints don't support the Trusted Advisor +// operations. For more information, see About the Amazon Web Services Support +// API (https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html#endpoint) +// in the Amazon Web Services Support User Guide. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1188,10 +1202,17 @@ func (c *Support) DescribeTrustedAdvisorCheckSummariesRequest(input *DescribeTru // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // +// To call the Trusted Advisor operations in the Amazon Web Services Support +// API, you must use the US East (N. Virginia) endpoint. Currently, the US West +// (Oregon) and Europe (Ireland) endpoints don't support the Trusted Advisor +// operations. For more information, see About the Amazon Web Services Support +// API (https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html#endpoint) +// in the Amazon Web Services Support User Guide. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1270,15 +1291,16 @@ func (c *Support) DescribeTrustedAdvisorChecksRequest(input *DescribeTrustedAdvi // // Returns information about all available Trusted Advisor checks, including // the name, ID, category, description, and metadata. You must specify a language -// code. The Amazon Web Services Support API currently supports English ("en") -// and Japanese ("ja"). The response contains a TrustedAdvisorCheckDescription -// object for each check. You must set the Amazon Web Services Region to us-east-1. +// code. +// +// The response contains a TrustedAdvisorCheckDescription object for each check. +// You must set the Amazon Web Services Region to us-east-1. // // - You must have a Business, Enterprise On-Ramp, or Enterprise Support // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // @@ -1286,6 +1308,13 @@ func (c *Support) DescribeTrustedAdvisorChecksRequest(input *DescribeTrustedAdvi // change. We recommend that you specify the check ID in your code to uniquely // identify a check. // +// To call the Trusted Advisor operations in the Amazon Web Services Support +// API, you must use the US East (N. Virginia) endpoint. Currently, the US West +// (Oregon) and Europe (Ireland) endpoints don't support the Trusted Advisor +// operations. For more information, see About the Amazon Web Services Support +// API (https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html#endpoint) +// in the Amazon Web Services Support User Guide. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1374,10 +1403,17 @@ func (c *Support) RefreshTrustedAdvisorCheckRequest(input *RefreshTrustedAdvisor // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // +// To call the Trusted Advisor operations in the Amazon Web Services Support +// API, you must use the US East (N. Virginia) endpoint. Currently, the US West +// (Oregon) and Europe (Ireland) endpoints don't support the Trusted Advisor +// operations. For more information, see About the Amazon Web Services Support +// API (https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html#endpoint) +// in the Amazon Web Services Support User Guide. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1461,7 +1497,7 @@ func (c *Support) ResolveCaseRequest(input *ResolveCaseInput) (req *request.Requ // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // @@ -2218,10 +2254,10 @@ func (s *CaseCreationLimitExceeded) RequestID() string { // - displayId - The identifier for the case on pages in the Amazon Web Services // Support Center. // -// - language - The ISO 639-1 code for the language in which Amazon Web Services -// provides support. Amazon Web Services Support currently supports English -// ("en") and Japanese ("ja"). Language parameters must be passed explicitly -// for operations that take them. +// - language - The language in which Amazon Web Services Support handles +// the case. Amazon Web Services Support currently 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. // // - nextToken - A resumption point for pagination. // @@ -2261,10 +2297,10 @@ type CaseDetails struct { // This is a numeric string. DisplayId *string `locationName:"displayId" type:"string"` - // The ISO 639-1 code for the language in which Amazon Web Services provides - // support. Amazon Web Services Support currently supports English ("en") and - // Japanese ("ja"). Language parameters must be passed explicitly for operations - // that take them. + // The language in which Amazon Web Services Support handles the case. Amazon + // Web Services Support currently 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. Language *string `locationName:"language" type:"string"` // The five most recent communications between you and Amazon Web Services Support @@ -2609,9 +2645,10 @@ type CreateCaseInput struct { // If you don't specify a value, the default is technical. IssueType *string `locationName:"issueType" type:"string"` - // The language in which Amazon Web Services Support handles the case. You must - // specify the ISO 639-1 code for the language parameter if you want support - // in that language. Currently, English ("en") and Japanese ("ja") are supported. + // The language in which Amazon Web Services Support handles the case. Amazon + // Web Services Support currently 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. Language *string `locationName:"language" type:"string"` // The code for the Amazon Web Services service. You can use the DescribeServices @@ -2941,10 +2978,10 @@ type DescribeCasesInput struct { // response. By default, resolved cases aren't included. IncludeResolvedCases *bool `locationName:"includeResolvedCases" type:"boolean"` - // The ISO 639-1 code for the language in which Amazon Web Services provides - // support. Amazon Web Services Support currently supports English ("en") and - // Japanese ("ja"). Language parameters must be passed explicitly for operations - // that take them. + // The language in which Amazon Web Services Support handles the case. Amazon + // Web Services Support currently 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. Language *string `locationName:"language" type:"string"` // The maximum number of results to return before paginating. @@ -3214,10 +3251,10 @@ func (s *DescribeCommunicationsOutput) SetNextToken(v string) *DescribeCommunica type DescribeServicesInput struct { _ struct{} `type:"structure"` - // The ISO 639-1 code for the language in which Amazon Web Services provides - // support. Amazon Web Services Support currently supports English ("en") and - // Japanese ("ja"). Language parameters must be passed explicitly for operations - // that take them. + // The language in which Amazon Web Services Support handles the case. Amazon + // Web Services Support currently 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. Language *string `locationName:"language" type:"string"` // A JSON-formatted list of service codes available for Amazon Web Services @@ -3291,10 +3328,10 @@ func (s *DescribeServicesOutput) SetServices(v []*Service) *DescribeServicesOutp type DescribeSeverityLevelsInput struct { _ struct{} `type:"structure"` - // The ISO 639-1 code for the language in which Amazon Web Services provides - // support. Amazon Web Services Support currently supports English ("en") and - // Japanese ("ja"). Language parameters must be passed explicitly for operations - // that take them. + // The language in which Amazon Web Services Support handles the case. Amazon + // Web Services Support currently 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. Language *string `locationName:"language" type:"string"` } @@ -3447,10 +3484,33 @@ type DescribeTrustedAdvisorCheckResultInput struct { // CheckId is a required field CheckId *string `locationName:"checkId" type:"string" required:"true"` - // The ISO 639-1 code for the language in which Amazon Web Services provides - // support. Amazon Web Services Support currently supports English ("en") and - // Japanese ("ja"). Language parameters must be passed explicitly for operations - // that take them. + // The ISO 639-1 code for the language that you want your check results to appear + // in. + // + // The Amazon Web Services Support API currently supports the following languages + // for Trusted Advisor: + // + // * Chinese, Simplified - zh + // + // * Chinese, Traditional - zh_TW + // + // * English - en + // + // * French - fr + // + // * German - de + // + // * Indonesian - id + // + // * Italian - it + // + // * Japanese - ja + // + // * Korean - ko + // + // * Portuguese, Brazilian - pt_BR + // + // * Spanish - es Language *string `locationName:"language" type:"string"` } @@ -3614,10 +3674,32 @@ func (s *DescribeTrustedAdvisorCheckSummariesOutput) SetSummaries(v []*TrustedAd type DescribeTrustedAdvisorChecksInput struct { _ struct{} `type:"structure"` - // The ISO 639-1 code for the language in which Amazon Web Services provides - // support. Amazon Web Services Support currently supports English ("en") and - // Japanese ("ja"). Language parameters must be passed explicitly for operations - // that take them. + // The ISO 639-1 code for the language that you want your checks to appear in. + // + // The Amazon Web Services Support API currently supports the following languages + // for Trusted Advisor: + // + // * Chinese, Simplified - zh + // + // * Chinese, Traditional - zh_TW + // + // * English - en + // + // * French - fr + // + // * German - de + // + // * Indonesian - id + // + // * Italian - it + // + // * Japanese - ja + // + // * Korean - ko + // + // * Portuguese, Brazilian - pt_BR + // + // * Spanish - es // // Language is a required field Language *string `locationName:"language" type:"string" required:"true"` diff --git a/service/support/doc.go b/service/support/doc.go index f765403967..f2bc22af19 100644 --- a/service/support/doc.go +++ b/service/support/doc.go @@ -13,57 +13,40 @@ // plan to use the Amazon Web Services Support API. // // - If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, // the SubscriptionRequiredException error message appears. For information // about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // -// The Amazon Web Services Support service also exposes a set of Trusted Advisor -// (http://aws.amazon.com/premiumsupport/trustedadvisor/) features. You can -// retrieve a list of checks and their descriptions, get check results, specify +// You can also use the Amazon Web Services Support API to access features for +// Trusted Advisor (http://aws.amazon.com/premiumsupport/trustedadvisor/). You +// can return a list of checks and their descriptions, get check results, specify // checks to refresh, and get the refresh status of checks. // -// The following list describes the Amazon Web Services Support case management -// operations: +// You can manage your support cases with the following Amazon Web Services +// Support API operations: // -// - Service names, issue categories, and available severity levels - The -// DescribeServices and DescribeSeverityLevels operations return Amazon Web -// Services service names, service codes, service categories, and problem -// severity levels. You use these values when you call the CreateCase operation. +// - The CreateCase, DescribeCases, DescribeAttachment, and ResolveCase operations +// create Amazon Web Services Support cases, retrieve information about cases, +// and resolve cases. // -// - Case creation, case details, and case resolution - The CreateCase, DescribeCases, -// DescribeAttachment, and ResolveCase operations create Amazon Web Services -// Support cases, retrieve information about cases, and resolve cases. +// - The DescribeCommunications, AddCommunicationToCase, and AddAttachmentsToSet +// operations retrieve and add communications and attachments to Amazon Web +// Services Support cases. // -// - Case communication - The DescribeCommunications, AddCommunicationToCase, -// and AddAttachmentsToSet operations retrieve and add communications and -// attachments to Amazon Web Services Support cases. +// - The DescribeServices and DescribeSeverityLevels operations return Amazon +// Web Service names, service codes, service categories, and problem severity +// levels. You use these values when you call the CreateCase operation. // -// The following list describes the operations available from the Amazon Web -// Services Support service for Trusted Advisor: -// -// - DescribeTrustedAdvisorChecks returns the list of checks that run against -// your Amazon Web Services resources. -// -// - Using the checkId for a specific check returned by DescribeTrustedAdvisorChecks, -// you can call DescribeTrustedAdvisorCheckResult to obtain the results for -// the check that you specified. -// -// - DescribeTrustedAdvisorCheckSummaries returns summarized results for -// one or more Trusted Advisor checks. -// -// - RefreshTrustedAdvisorCheck requests that Trusted Advisor rerun a specified -// check. -// -// - DescribeTrustedAdvisorCheckRefreshStatuses reports the refresh status -// of one or more checks. +// You can also use the Amazon Web Services Support API to call the Trusted +// Advisor operations. For more information, see Trusted Advisor (https://docs.aws.amazon.com/) +// in the Amazon Web Services Support User Guide. // // For authentication of requests, Amazon Web Services Support uses Signature // Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). // -// See About the Amazon Web Services Support API (https://docs.aws.amazon.com/awssupport/latest/user/Welcome.html) -// in the Amazon Web Services Support User Guide for information about how to -// use this service to create and manage your support cases, and how to call -// Trusted Advisor for results of checks on your resources. +// For more information about this service and the endpoints to use, see About +// the Amazon Web Services Support API (https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html) +// in the Amazon Web Services Support User Guide. // // See https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15 for more information on this service. // diff --git a/service/transfer/api.go b/service/transfer/api.go index 97331591f3..1b42d375b1 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -191,9 +191,6 @@ func (c *Transfer) CreateAgreementRequest(input *CreateAgreementInput) (req *req // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateAgreement func (c *Transfer) CreateAgreement(input *CreateAgreementInput) (*CreateAgreementOutput, error) { req, out := c.CreateAgreementRequest(input) @@ -291,9 +288,6 @@ func (c *Transfer) CreateConnectorRequest(input *CreateConnectorInput) (req *req // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateConnector func (c *Transfer) CreateConnector(input *CreateConnectorInput) (*CreateConnectorOutput, error) { req, out := c.CreateConnectorRequest(input) @@ -385,9 +379,6 @@ func (c *Transfer) CreateProfileRequest(input *CreateProfileInput) (req *request // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateProfile func (c *Transfer) CreateProfile(input *CreateProfileInput) (*CreateProfileOutput, error) { req, out := c.CreateProfileRequest(input) @@ -5501,9 +5492,6 @@ func (c *Transfer) UpdateAccessRequest(input *UpdateAccessInput) (req *request.R // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAccess func (c *Transfer) UpdateAccess(input *UpdateAccessInput) (*UpdateAccessOutput, error) { req, out := c.UpdateAccessRequest(input) @@ -5600,9 +5588,6 @@ func (c *Transfer) UpdateAgreementRequest(input *UpdateAgreementInput) (req *req // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAgreement func (c *Transfer) UpdateAgreement(input *UpdateAgreementInput) (*UpdateAgreementOutput, error) { req, out := c.UpdateAgreementRequest(input) @@ -5694,9 +5679,6 @@ func (c *Transfer) UpdateCertificateRequest(input *UpdateCertificateInput) (req // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateCertificate func (c *Transfer) UpdateCertificate(input *UpdateCertificateInput) (*UpdateCertificateOutput, error) { req, out := c.UpdateCertificateRequest(input) @@ -5793,9 +5775,6 @@ func (c *Transfer) UpdateConnectorRequest(input *UpdateConnectorInput) (req *req // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateConnector func (c *Transfer) UpdateConnector(input *UpdateConnectorInput) (*UpdateConnectorOutput, error) { req, out := c.UpdateConnectorRequest(input) @@ -5984,9 +5963,6 @@ func (c *Transfer) UpdateProfileRequest(input *UpdateProfileInput) (req *request // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateProfile func (c *Transfer) UpdateProfile(input *UpdateProfileInput) (*UpdateProfileOutput, error) { req, out := c.UpdateProfileRequest(input) @@ -6289,9 +6265,6 @@ type As2ConnectorConfig struct { Compression *string `type:"string" enum:"CompressionEnum"` // The algorithm that is used to encrypt the file. - // - // You can only specify NONE if the URL for your connector uses HTTPS. This - // ensures that no traffic is sent in clear text. EncryptionAlgorithm *string `type:"string" enum:"EncryptionAlg"` // A unique identifier for the AS2 local profile. @@ -6309,7 +6282,7 @@ type As2ConnectorConfig struct { // The signing algorithm for the MDN response. // - // If set to DEFAULT (or not set at all), the value for SigningAlgorithm is + // If set to DEFAULT (or not set at all), the value for SigningAlogorithm is // used. MdnSigningAlgorithm *string `type:"string" enum:"MdnSigningAlg"` @@ -7538,10 +7511,10 @@ type CreateServerInput struct { // Specifies the workflow ID for the workflow to assign and the execution role // that's used for executing the workflow. // - // In addition to a workflow to execute when a file is uploaded completely, - // WorkflowDetails can also contain a workflow ID (and execution role) for a - // workflow to execute on partial upload. A partial upload occurs when a file - // is open when the session disconnects. + // In additon to a workflow to execute when a file is uploaded completely, WorkflowDeatails + // can also contain a workflow ID (and execution role) for a workflow to execute + // on partial upload. A partial upload occurs when a file is open when the session + // disconnects. WorkflowDetails *WorkflowDetails `type:"structure"` } @@ -7819,17 +7792,7 @@ type CreateUserInput struct { // The public portion of the Secure Shell (SSH) key used to authenticate the // user to the server. // - // The three standard SSH public key format elements are , , - // and an optional , with spaces between each element. - // // Transfer Family accepts RSA, ECDSA, and ED25519 keys. - // - // * For RSA keys, the key type is ssh-rsa. - // - // * For ED25519 keys, the key type is ssh-ed25519. - // - // * For ECDSA keys, the key type is either ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, - // or ecdsa-sha2-nistp521, depending on the size of the key you generated. SshPublicKeyBody *string `type:"string"` // Key-value pairs that can be used to group and search for users. Tags are @@ -8268,6 +8231,94 @@ func (s *CustomStepDetails) SetTimeoutSeconds(v int64) *CustomStepDetails { return s } +type DecryptStepDetails struct { + _ struct{} `type:"structure"` + + // Specifies the location for the file being copied. Only applicable for the + // Copy type of workflow steps. + // + // DestinationFileLocation is a required field + DestinationFileLocation *InputFileLocation `type:"structure" required:"true"` + + Name *string `type:"string"` + + OverwriteExisting *string `type:"string" enum:"OverwriteExisting"` + + SourceFileLocation *string `type:"string"` + + // Type is a required field + Type *string `type:"string" required:"true" enum:"EncryptionType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DecryptStepDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DecryptStepDetails) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DecryptStepDetails) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DecryptStepDetails"} + if s.DestinationFileLocation == nil { + invalidParams.Add(request.NewErrParamRequired("DestinationFileLocation")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.DestinationFileLocation != nil { + if err := s.DestinationFileLocation.Validate(); err != nil { + invalidParams.AddNested("DestinationFileLocation", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDestinationFileLocation sets the DestinationFileLocation field's value. +func (s *DecryptStepDetails) SetDestinationFileLocation(v *InputFileLocation) *DecryptStepDetails { + s.DestinationFileLocation = v + return s +} + +// SetName sets the Name field's value. +func (s *DecryptStepDetails) SetName(v string) *DecryptStepDetails { + s.Name = &v + return s +} + +// SetOverwriteExisting sets the OverwriteExisting field's value. +func (s *DecryptStepDetails) SetOverwriteExisting(v string) *DecryptStepDetails { + s.OverwriteExisting = &v + return s +} + +// SetSourceFileLocation sets the SourceFileLocation field's value. +func (s *DecryptStepDetails) SetSourceFileLocation(v string) *DecryptStepDetails { + s.SourceFileLocation = &v + return s +} + +// SetType sets the Type field's value. +func (s *DecryptStepDetails) SetType(v string) *DecryptStepDetails { + s.Type = &v + return s +} + type DeleteAccessInput struct { _ struct{} `type:"structure"` @@ -11240,10 +11291,10 @@ type DescribedServer struct { // Specifies the workflow ID for the workflow to assign and the execution role // that's used for executing the workflow. // - // In addition to a workflow to execute when a file is uploaded completely, - // WorkflowDetails can also contain a workflow ID (and execution role) for a - // workflow to execute on partial upload. A partial upload occurs when a file - // is open when the session disconnects. + // In additon to a workflow to execute when a file is uploaded completely, WorkflowDeatails + // can also contain a workflow ID (and execution role) for a workflow to execute + // on partial upload. A partial upload occurs when a file is open when the session + // disconnects. WorkflowDetails *WorkflowDetails `type:"structure"` } @@ -17912,10 +17963,10 @@ type UpdateServerInput struct { // Specifies the workflow ID for the workflow to assign and the execution role // that's used for executing the workflow. // - // In addition to a workflow to execute when a file is uploaded completely, - // WorkflowDetails can also contain a workflow ID (and execution role) for a - // workflow to execute on partial upload. A partial upload occurs when a file - // is open when the session disconnects. + // In additon to a workflow to execute when a file is uploaded completely, WorkflowDeatails + // can also contain a workflow ID (and execution role) for a workflow to execute + // on partial upload. A partial upload occurs when a file is open when the session + // disconnects. // // To remove an associated workflow from a server, you can provide an empty // OnUpload object, as in the following example. @@ -18399,10 +18450,10 @@ func (s *UserDetails) SetUserName(v string) *UserDetails { // Specifies the workflow ID for the workflow to assign and the execution role // that's used for executing the workflow. // -// In addition to a workflow to execute when a file is uploaded completely, -// WorkflowDetails can also contain a workflow ID (and execution role) for a -// workflow to execute on partial upload. A partial upload occurs when a file -// is open when the session disconnects. +// In additon to a workflow to execute when a file is uploaded completely, WorkflowDeatails +// can also contain a workflow ID (and execution role) for a workflow to execute +// on partial upload. A partial upload occurs when a file is open when the session +// disconnects. type WorkflowDetail struct { _ struct{} `type:"structure"` @@ -18575,6 +18626,8 @@ type WorkflowStep struct { // Consists of the lambda function name, target, and timeout (in seconds). CustomStepDetails *CustomStepDetails `type:"structure"` + DecryptStepDetails *DecryptStepDetails `type:"structure"` + // Details for a step that deletes the file. DeleteStepDetails *DeleteStepDetails `type:"structure"` @@ -18626,6 +18679,11 @@ func (s *WorkflowStep) Validate() error { invalidParams.AddNested("CustomStepDetails", err.(request.ErrInvalidParams)) } } + if s.DecryptStepDetails != nil { + if err := s.DecryptStepDetails.Validate(); err != nil { + invalidParams.AddNested("DecryptStepDetails", err.(request.ErrInvalidParams)) + } + } if s.TagStepDetails != nil { if err := s.TagStepDetails.Validate(); err != nil { invalidParams.AddNested("TagStepDetails", err.(request.ErrInvalidParams)) @@ -18650,6 +18708,12 @@ func (s *WorkflowStep) SetCustomStepDetails(v *CustomStepDetails) *WorkflowStep return s } +// SetDecryptStepDetails sets the DecryptStepDetails field's value. +func (s *WorkflowStep) SetDecryptStepDetails(v *DecryptStepDetails) *WorkflowStep { + s.DecryptStepDetails = v + return s +} + // SetDeleteStepDetails sets the DeleteStepDetails field's value. func (s *WorkflowStep) SetDeleteStepDetails(v *DeleteStepDetails) *WorkflowStep { s.DeleteStepDetails = v @@ -18820,6 +18884,18 @@ func EncryptionAlg_Values() []string { } } +const ( + // EncryptionTypePgp is a EncryptionType enum value + EncryptionTypePgp = "PGP" +) + +// EncryptionType_Values returns all elements of the EncryptionType enum +func EncryptionType_Values() []string { + return []string{ + EncryptionTypePgp, + } +} + const ( // EndpointTypePublic is a EndpointType enum value EndpointTypePublic = "PUBLIC" @@ -19172,6 +19248,9 @@ const ( // WorkflowStepTypeDelete is a WorkflowStepType enum value WorkflowStepTypeDelete = "DELETE" + + // WorkflowStepTypeDecrypt is a WorkflowStepType enum value + WorkflowStepTypeDecrypt = "DECRYPT" ) // WorkflowStepType_Values returns all elements of the WorkflowStepType enum @@ -19181,5 +19260,6 @@ func WorkflowStepType_Values() []string { WorkflowStepTypeCustom, WorkflowStepTypeTag, WorkflowStepTypeDelete, + WorkflowStepTypeDecrypt, } }