diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d122dce2f2..02a2dd98413 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +Release v1.44.186 (2023-01-24) +=== + +### Service Client Updates +* `service/databrew`: Adds new service +* `service/route53`: Updates service API + * Amazon Route 53 now supports the Asia Pacific (Melbourne) Region (ap-southeast-4) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region. +* `service/ssm-sap`: Updates service API, documentation, and paginators + Release v1.44.185 (2023-01-23) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 58bebbf888c..cc174dd3b03 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -7655,6 +7655,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index fb90090f9e3..1b5f6318c21 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.185" +const SDKVersion = "1.44.186" diff --git a/models/apis/databrew/2017-07-25/endpoint-rule-set-1.json b/models/apis/databrew/2017-07-25/endpoint-rule-set-1.json new file mode 100644 index 00000000000..2561a94bb1d --- /dev/null +++ b/models/apis/databrew/2017-07-25/endpoint-rule-set-1.json @@ -0,0 +1,343 @@ +{ + "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": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://databrew-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://databrew.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://databrew-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": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://databrew.{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": [], + "endpoint": { + "url": "https://databrew.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/databrew/2017-07-25/endpoint-tests-1.json b/models/apis/databrew/2017-07-25/endpoint-tests-1.json new file mode 100644 index 00000000000..914b5f9848c --- /dev/null +++ b/models/apis/databrew/2017-07-25/endpoint-tests-1.json @@ -0,0 +1,524 @@ +{ + "testCases": [ + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.ap-east-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.af-south-1.amazonaws.com" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.sa-east-1.amazonaws.com" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.eu-south-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.eu-west-3.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.ap-south-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://databrew-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://databrew.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://databrew-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://databrew.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://databrew-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://databrew.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://databrew.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "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": { + "Region": "us-east-1", + "UseFIPS": true, + "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": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/route53/2013-04-01/api-2.json b/models/apis/route53/2013-04-01/api-2.json index 0e4b871293c..65cc6b3e405 100644 --- a/models/apis/route53/2013-04-01/api-2.json +++ b/models/apis/route53/2013-04-01/api-2.json @@ -1550,7 +1550,8 @@ "us-gov-east-1", "us-iso-east-1", "us-iso-west-1", - "us-isob-east-1" + "us-isob-east-1", + "ap-southeast-4" ], "max":64, "min":1 @@ -4147,7 +4148,8 @@ "ap-south-2", "af-south-1", "eu-south-1", - "eu-south-2" + "eu-south-2", + "ap-southeast-4" ], "max":64, "min":1 @@ -4765,7 +4767,8 @@ "cn-north-1", "af-south-1", "eu-south-1", - "eu-south-2" + "eu-south-2", + "ap-southeast-4" ], "max":64, "min":1 diff --git a/models/apis/route53/2013-04-01/endpoint-rule-set-1.json b/models/apis/route53/2013-04-01/endpoint-rule-set-1.json index 64bd6300579..e956969175b 100644 --- a/models/apis/route53/2013-04-01/endpoint-rule-set-1.json +++ b/models/apis/route53/2013-04-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/route53/2013-04-01/endpoint-tests-1.json b/models/apis/route53/2013-04-01/endpoint-tests-1.json index 2a15c0264c0..b5c63bf822e 100644 --- a/models/apis/route53/2013-04-01/endpoint-tests-1.json +++ b/models/apis/route53/2013-04-01/endpoint-tests-1.json @@ -18,8 +18,8 @@ }, "params": { "UseDualStack": false, - "Region": "aws-cn-global", - "UseFIPS": false + "UseFIPS": false, + "Region": "aws-cn-global" } }, { @@ -40,8 +40,8 @@ }, "params": { "UseDualStack": false, - "Region": "aws-global", - "UseFIPS": false + "UseFIPS": false, + "Region": "aws-global" } }, { @@ -62,8 +62,8 @@ }, "params": { "UseDualStack": false, - "Region": "aws-iso-global", - "UseFIPS": false + "UseFIPS": false, + "Region": "aws-iso-global" } }, { @@ -84,8 +84,8 @@ }, "params": { "UseDualStack": false, - "Region": "aws-iso-b-global", - "UseFIPS": false + "UseFIPS": false, + "Region": "aws-iso-b-global" } }, { @@ -106,8 +106,8 @@ }, "params": { "UseDualStack": false, - "Region": "aws-us-gov-global", - "UseFIPS": false + "UseFIPS": false, + "Region": "aws-us-gov-global" } }, { @@ -119,8 +119,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -131,8 +131,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -143,8 +143,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } } diff --git a/models/apis/ssm-sap/2018-05-10/api-2.json b/models/apis/ssm-sap/2018-05-10/api-2.json index df31fcbbe4c..d09acaa2b0f 100644 --- a/models/apis/ssm-sap/2018-05-10/api-2.json +++ b/models/apis/ssm-sap/2018-05-10/api-2.json @@ -158,6 +158,20 @@ {"shape":"InternalServerException"} ] }, + "ListOperations":{ + "name":"ListOperations", + "http":{ + "method":"POST", + "requestUri":"/list-operations", + "responseCode":200 + }, + "input":{"shape":"ListOperationsInput"}, + "output":{"shape":"ListOperationsOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ @@ -470,11 +484,49 @@ "members":{ } }, + "Filter":{ + "type":"structure", + "required":[ + "Name", + "Value", + "Operator" + ], + "members":{ + "Name":{"shape":"FilterName"}, + "Value":{"shape":"FilterValue"}, + "Operator":{"shape":"FilterOperator"} + } + }, + "FilterList":{ + "type":"list", + "member":{"shape":"Filter"}, + "max":10, + "min":1 + }, + "FilterName":{ + "type":"string", + "max":32, + "min":1 + }, + "FilterOperator":{ + "type":"string", + "enum":[ + "Equals", + "GreaterThanOrEquals", + "LessThanOrEquals" + ] + }, + "FilterValue":{ + "type":"string", + "max":64, + "min":1 + }, "GetApplicationInput":{ "type":"structure", "members":{ "ApplicationId":{"shape":"ApplicationId"}, - "ApplicationArn":{"shape":"SsmSapArn"} + "ApplicationArn":{"shape":"SsmSapArn"}, + "AppRegistryArn":{"shape":"AppRegistryArn"} } }, "GetApplicationOutput":{ @@ -643,6 +695,26 @@ "NextToken":{"shape":"NextToken"} } }, + "ListOperationsInput":{ + "type":"structure", + "required":["ApplicationId"], + "members":{ + "ApplicationId":{"shape":"ApplicationId"}, + "MaxResults":{ + "shape":"MaxResults", + "box":true + }, + "NextToken":{"shape":"NextToken"}, + "Filters":{"shape":"FilterList"} + } + }, + "ListOperationsOutput":{ + "type":"structure", + "members":{ + "Operations":{"shape":"OperationList"}, + "NextToken":{"shape":"NextToken"} + } + }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], @@ -693,6 +765,10 @@ "type":"list", "member":{"shape":"OperationId"} }, + "OperationList":{ + "type":"list", + "member":{"shape":"Operation"} + }, "OperationProperties":{ "type":"map", "key":{"shape":"String"}, diff --git a/models/apis/ssm-sap/2018-05-10/docs-2.json b/models/apis/ssm-sap/2018-05-10/docs-2.json index 7f9de8465d7..f7b70a80bfd 100644 --- a/models/apis/ssm-sap/2018-05-10/docs-2.json +++ b/models/apis/ssm-sap/2018-05-10/docs-2.json @@ -12,29 +12,31 @@ "ListApplications": "

Lists all the applications registered with AWS Systems Manager for SAP.

", "ListComponents": "

Lists all the components registered with AWS Systems Manager for SAP.

", "ListDatabases": "

Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.

", + "ListOperations": "

Lists the operations performed by AWS Systems Manager for SAP.

", "ListTagsForResource": "

Lists all tags on an SAP HANA application and/or database registered with AWS Systems Manager for SAP.

", "PutResourcePermission": "

Adds permissions to the target database.

", "RegisterApplication": "

Register an SAP application with AWS Systems Manager for SAP. You must meet the following requirements before registering.

The SAP application you want to register with AWS Systems Manager for SAP is running on Amazon EC2.

AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required IAM permissions.

Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to manage SAP applications and components.

", "TagResource": "

Creates tag for a resource by specifying the ARN.

", "UntagResource": "

Delete the tags for a resource.

", - "UpdateApplicationSettings": "

" + "UpdateApplicationSettings": "

Updates the settings of an application registered with AWS Systems Manager for SAP.

" }, "shapes": { "AppRegistryArn": { "base": null, "refs": { - "Application$AppRegistryArn": "

" + "Application$AppRegistryArn": "

The Amazon Resource Name (ARN) of the Application Registry.

", + "GetApplicationInput$AppRegistryArn": "

The Amazon Resource Name (ARN) of the application registry.

" } }, "Application": { - "base": "

", + "base": "

An SAP application registered with AWS Systems Manager for SAP.

", "refs": { - "GetApplicationOutput$Application": "

", - "RegisterApplicationOutput$Application": "

" + "GetApplicationOutput$Application": "

Returns all of the metadata of an application registered with AWS Systems Manager for SAP.

", + "RegisterApplicationOutput$Application": "

The application registered with AWS Systems Manager for SAP.

" } }, "ApplicationCredential": { - "base": "

", + "base": "

The credentials of your SAP application.

", "refs": { "ApplicationCredentialList$member": null } @@ -42,39 +44,40 @@ "ApplicationCredentialList": { "base": null, "refs": { - "Database$Credentials": "

", - "RegisterApplicationInput$Credentials": "

", - "UpdateApplicationSettingsInput$CredentialsToAddOrUpdate": "

", - "UpdateApplicationSettingsInput$CredentialsToRemove": "

" + "Database$Credentials": "

The credentials of the database.

", + "RegisterApplicationInput$Credentials": "

The credentials of the SAP application.

", + "UpdateApplicationSettingsInput$CredentialsToAddOrUpdate": "

The credentials to be added or updated.

", + "UpdateApplicationSettingsInput$CredentialsToRemove": "

The credentials to be removed.

" } }, "ApplicationId": { "base": null, "refs": { - "Application$Id": "

", - "ApplicationSummary$Id": "

", - "Component$ApplicationId": "

", - "ComponentSummary$ApplicationId": "

", - "Database$ApplicationId": "

", - "DatabaseSummary$ApplicationId": "

", - "DeregisterApplicationInput$ApplicationId": "

", - "GetApplicationInput$ApplicationId": "

", - "GetComponentInput$ApplicationId": "

", - "GetDatabaseInput$ApplicationId": "

", - "ListComponentsInput$ApplicationId": "

", - "ListDatabasesInput$ApplicationId": "

", - "RegisterApplicationInput$ApplicationId": "

", - "UpdateApplicationSettingsInput$ApplicationId": "

" + "Application$Id": "

The ID of the application.

", + "ApplicationSummary$Id": "

The ID of the application.

", + "Component$ApplicationId": "

The ID of the application.

", + "ComponentSummary$ApplicationId": "

The ID of the application.

", + "Database$ApplicationId": "

The ID of the application.

", + "DatabaseSummary$ApplicationId": "

The ID of the application.

", + "DeregisterApplicationInput$ApplicationId": "

The ID of the application.

", + "GetApplicationInput$ApplicationId": "

The ID of the application.

", + "GetComponentInput$ApplicationId": "

The ID of the application.

", + "GetDatabaseInput$ApplicationId": "

The ID of the application.

", + "ListComponentsInput$ApplicationId": "

The ID of the application.

", + "ListDatabasesInput$ApplicationId": "

The ID of the application.

", + "ListOperationsInput$ApplicationId": "

The ID of the application.

", + "RegisterApplicationInput$ApplicationId": "

The ID of the application.

", + "UpdateApplicationSettingsInput$ApplicationId": "

The ID of the application.

" } }, "ApplicationStatus": { "base": null, "refs": { - "Application$Status": "

" + "Application$Status": "

The status of the application.

" } }, "ApplicationSummary": { - "base": "

", + "base": "

The summary of the SAP application registered with AWS Systems Manager for SAP.

", "refs": { "ApplicationSummaryList$member": null } @@ -82,61 +85,61 @@ "ApplicationSummaryList": { "base": null, "refs": { - "ListApplicationsOutput$Applications": "

" + "ListApplicationsOutput$Applications": "

The applications registered with AWS Systems Manager for SAP.

" } }, "ApplicationType": { "base": null, "refs": { - "Application$Type": "

", - "ApplicationSummary$Type": "

", - "RegisterApplicationInput$ApplicationType": "

" + "Application$Type": "

The type of the application.

", + "ApplicationSummary$Type": "

The type of the application.

", + "RegisterApplicationInput$ApplicationType": "

The type of the application.

" } }, "Arn": { "base": null, "refs": { - "DeleteResourcePermissionInput$SourceResourceArn": "

", - "DeleteResourcePermissionInput$ResourceArn": "

", - "GetResourcePermissionInput$ResourceArn": "

", - "Operation$ResourceArn": "

", + "DeleteResourcePermissionInput$SourceResourceArn": "

The Amazon Resource Name (ARN) of the source resource.

", + "DeleteResourcePermissionInput$ResourceArn": "

The Amazon Resource Name (ARN) of the resource.

", + "GetResourcePermissionInput$ResourceArn": "

The Amazon Resource Name (ARN) of the resource.

", + "Operation$ResourceArn": "

The Amazon Resource Name (ARN) of the operation.

", "PutResourcePermissionInput$SourceResourceArn": "

", "PutResourcePermissionInput$ResourceArn": "

" } }, "Component": { - "base": "

", + "base": "

The SAP component of your application.

", "refs": { - "GetComponentOutput$Component": "

" + "GetComponentOutput$Component": "

The component of an application registered with AWS Systems Manager for SAP.

" } }, "ComponentId": { "base": null, "refs": { - "Component$ComponentId": "

", + "Component$ComponentId": "

The ID of the component.

", "ComponentIdList$member": null, - "ComponentSummary$ComponentId": "

", - "Database$ComponentId": "

", - "DatabaseSummary$ComponentId": "

", - "GetComponentInput$ComponentId": "

", - "GetDatabaseInput$ComponentId": "

", - "ListDatabasesInput$ComponentId": "

" + "ComponentSummary$ComponentId": "

The ID of the component.

", + "Database$ComponentId": "

The ID of the component.

", + "DatabaseSummary$ComponentId": "

The ID of the component.

", + "GetComponentInput$ComponentId": "

The ID of the component.

", + "GetDatabaseInput$ComponentId": "

The ID of the component.

", + "ListDatabasesInput$ComponentId": "

The ID of the component.

" } }, "ComponentIdList": { "base": null, "refs": { - "Application$Components": "

" + "Application$Components": "

The components of the application.

" } }, "ComponentStatus": { "base": null, "refs": { - "Component$Status": "

" + "Component$Status": "

The status of the component.

" } }, "ComponentSummary": { - "base": "

", + "base": "

The summary of the component.

", "refs": { "ComponentSummaryList$member": null } @@ -144,62 +147,62 @@ "ComponentSummaryList": { "base": null, "refs": { - "ListComponentsOutput$Components": "

" + "ListComponentsOutput$Components": "

List of components registered with AWS System Manager for SAP.

" } }, "ComponentType": { "base": null, "refs": { - "Component$ComponentType": "

", - "ComponentSummary$ComponentType": "

" + "Component$ComponentType": "

The type of the component.

", + "ComponentSummary$ComponentType": "

The type of the component.

" } }, "ConflictException": { - "base": "

", + "base": "

A conflict has occurred.

", "refs": { } }, "CredentialType": { "base": null, "refs": { - "ApplicationCredential$CredentialType": "

" + "ApplicationCredential$CredentialType": "

The type of the application credentials.

" } }, "Database": { - "base": "

", + "base": "

The SAP HANA database of the application registered with AWS Systems Manager for SAP.

", "refs": { - "GetDatabaseOutput$Database": "

" + "GetDatabaseOutput$Database": "

The SAP HANA database of an application registered with AWS Systems Manager for SAP.

" } }, "DatabaseId": { "base": null, "refs": { - "Database$DatabaseId": "

", + "Database$DatabaseId": "

The ID of the SAP HANA database.

", "DatabaseIdList$member": null, - "DatabaseSummary$DatabaseId": "

", - "GetDatabaseInput$DatabaseId": "

" + "DatabaseSummary$DatabaseId": "

The ID of the database.

", + "GetDatabaseInput$DatabaseId": "

The ID of the database.

" } }, "DatabaseIdList": { "base": null, "refs": { - "Component$Databases": "

" + "Component$Databases": "

The SAP HANA databases of the component.

" } }, "DatabaseName": { "base": null, "refs": { - "ApplicationCredential$DatabaseName": "

" + "ApplicationCredential$DatabaseName": "

The name of the SAP HANA database.

" } }, "DatabaseStatus": { "base": null, "refs": { - "Database$Status": "

" + "Database$Status": "

The status of the database.

" } }, "DatabaseSummary": { - "base": "

", + "base": "

The summary of the database.

", "refs": { "DatabaseSummaryList$member": null } @@ -207,14 +210,14 @@ "DatabaseSummaryList": { "base": null, "refs": { - "ListDatabasesOutput$Databases": "

" + "ListDatabasesOutput$Databases": "

The SAP HANA databases of an application.

" } }, "DatabaseType": { "base": null, "refs": { - "Database$DatabaseType": "

", - "DatabaseSummary$DatabaseType": "

" + "Database$DatabaseType": "

The type of the database.

", + "DatabaseSummary$DatabaseType": "

The type of the database.

" } }, "DeleteResourcePermissionInput": { @@ -237,6 +240,36 @@ "refs": { } }, + "Filter": { + "base": "

A specific result obtained by specifying the name, value, and operator.

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

The filters of an operation.

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

The name of the filter. Filter names are case-sensitive.

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

The operator for the filter.

" + } + }, + "FilterValue": { + "base": null, + "refs": { + "Filter$Value": "

The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values

" + } + }, "GetApplicationInput": { "base": null, "refs": { @@ -288,7 +321,7 @@ } }, "Host": { - "base": "

", + "base": "

Describes the properties of the Dedicated Host.

", "refs": { "HostList$member": null } @@ -296,13 +329,13 @@ "HostList": { "base": null, "refs": { - "Component$Hosts": "

" + "Component$Hosts": "

The hosts of the component.

" } }, "HostRole": { "base": null, "refs": { - "Host$HostRole": "

" + "Host$HostRole": "

The role of the Dedicated Host.

" } }, "InstanceId": { @@ -314,17 +347,17 @@ "InstanceList": { "base": null, "refs": { - "RegisterApplicationInput$Instances": "

" + "RegisterApplicationInput$Instances": "

The Amazon EC2 instances on which your SAP application is running.

" } }, "Integer": { "base": null, "refs": { - "Database$SQLPort": "

" + "Database$SQLPort": "

The SQL port of the database.

" } }, "InternalServerException": { - "base": "

", + "base": "

An internal error has occurred.

", "refs": { } }, @@ -358,6 +391,16 @@ "refs": { } }, + "ListOperationsInput": { + "base": null, + "refs": { + } + }, + "ListOperationsOutput": { + "base": null, + "refs": { + } + }, "ListTagsForResourceRequest": { "base": null, "refs": { @@ -371,65 +414,75 @@ "MaxResults": { "base": null, "refs": { - "ListApplicationsInput$MaxResults": "

", - "ListComponentsInput$MaxResults": "

", - "ListDatabasesInput$MaxResults": "

" + "ListApplicationsInput$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", + "ListComponentsInput$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

If you do not specify a value for MaxResults, the request returns 50 items per page by default.

", + "ListDatabasesInput$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. If you do not specify a value for MaxResults, the request returns 50 items per page by default.

", + "ListOperationsInput$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. If you do not specify a value for MaxResults, the request returns 50 items per page by default.

" } }, "NextToken": { "base": null, "refs": { - "ListApplicationsInput$NextToken": "

", - "ListApplicationsOutput$NextToken": "

", - "ListComponentsInput$NextToken": "

", - "ListComponentsOutput$NextToken": "

", - "ListDatabasesInput$NextToken": "

", - "ListDatabasesOutput$NextToken": "

" + "ListApplicationsInput$NextToken": "

The token for the next page of results.

", + "ListApplicationsOutput$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "ListComponentsInput$NextToken": "

The token for the next page of results.

", + "ListComponentsOutput$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "ListDatabasesInput$NextToken": "

The token for the next page of results.

", + "ListDatabasesOutput$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "ListOperationsInput$NextToken": "

The token for the next page of results.

", + "ListOperationsOutput$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

" } }, "Operation": { - "base": "

", + "base": "

The operations performed by AWS Systems Manager for SAP.

", "refs": { - "GetOperationOutput$Operation": "

" + "GetOperationOutput$Operation": "

Returns the details of an operation.

", + "OperationList$member": null } }, "OperationId": { "base": null, "refs": { - "GetOperationInput$OperationId": "

", - "Operation$Id": "

", + "GetOperationInput$OperationId": "

The ID of the operation.

", + "Operation$Id": "

The ID of the operation.

", "OperationIdList$member": null, - "RegisterApplicationOutput$OperationId": "

" + "RegisterApplicationOutput$OperationId": "

The ID of the operation.

" } }, "OperationIdList": { "base": null, "refs": { - "UpdateApplicationSettingsOutput$OperationIds": "

" + "UpdateApplicationSettingsOutput$OperationIds": "

The IDs of the operations.

" + } + }, + "OperationList": { + "base": null, + "refs": { + "ListOperationsOutput$Operations": "

List of operations performed by AWS Systems Manager for SAP.

" } }, "OperationProperties": { "base": null, "refs": { - "Operation$Properties": "

" + "Operation$Properties": "

The properties of the operation.

" } }, "OperationStatus": { "base": null, "refs": { - "Operation$Status": "

" + "Operation$Status": "

The status of the operation.

" } }, "OperationType": { "base": null, "refs": { - "Operation$Type": "

" + "Operation$Type": "

The type of the operation.

" } }, "PermissionActionType": { "base": null, "refs": { - "DeleteResourcePermissionInput$ActionType": "

", + "DeleteResourcePermissionInput$ActionType": "

Delete or restore the permissions on the target database.

", "GetResourcePermissionInput$ActionType": "

", "PutResourcePermissionInput$ActionType": "

" } @@ -457,72 +510,72 @@ "ResourceId": { "base": null, "refs": { - "Operation$ResourceId": "

" + "Operation$ResourceId": "

The resource ID of the operation.

" } }, "ResourceNotFoundException": { - "base": "

", + "base": "

The resource is not available.

", "refs": { } }, "ResourceType": { "base": null, "refs": { - "Operation$ResourceType": "

" + "Operation$ResourceType": "

The resource type of the operation.

" } }, "SAPInstanceNumber": { "base": null, "refs": { - "RegisterApplicationInput$SapInstanceNumber": "

" + "RegisterApplicationInput$SapInstanceNumber": "

The SAP instance number of the application.

" } }, "SID": { "base": null, "refs": { - "RegisterApplicationInput$Sid": "

" + "RegisterApplicationInput$Sid": "

The System ID of the application.

" } }, "SecretId": { "base": null, "refs": { - "ApplicationCredential$SecretId": "

" + "ApplicationCredential$SecretId": "

The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.

" } }, "SsmSapArn": { "base": null, "refs": { - "Application$Arn": "

", - "ApplicationSummary$Arn": "

", - "Database$Arn": "

", - "DatabaseSummary$Arn": "

", - "GetApplicationInput$ApplicationArn": "

", - "GetDatabaseInput$DatabaseArn": "

", - "ListTagsForResourceRequest$resourceArn": "

", - "TagResourceRequest$resourceArn": "

", - "UntagResourceRequest$resourceArn": "

" + "Application$Arn": "

The Amazon Resource Name (ARN) of the application.

", + "ApplicationSummary$Arn": "

The Amazon Resource Name (ARN) of the application.

", + "Database$Arn": "

The Amazon Resource Name (ARN) of the database.

", + "DatabaseSummary$Arn": "

The Amazon Resource Name (ARN) of the database.

", + "GetApplicationInput$ApplicationArn": "

The Amazon Resource Name (ARN) of the application.

", + "GetDatabaseInput$DatabaseArn": "

The Amazon Resource Name (ARN) of the database.

", + "ListTagsForResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

", + "TagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

", + "UntagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

" } }, "String": { "base": null, "refs": { - "Application$StatusMessage": "

", - "Component$PrimaryHost": "

", + "Application$StatusMessage": "

The status message.

", + "Component$PrimaryHost": "

The primary host of the component.

", "ConflictException$Message": null, - "Database$DatabaseName": "

", - "Database$PrimaryHost": "

", - "DeleteResourcePermissionOutput$Policy": "

", + "Database$DatabaseName": "

The name of the database.

", + "Database$PrimaryHost": "

The primary host of the database.

", + "DeleteResourcePermissionOutput$Policy": "

The policy that removes permissions on the target database.

", "GetResourcePermissionOutput$Policy": "

", - "Host$HostName": "

", - "Host$HostIp": "

", - "Host$InstanceId": "

", + "Host$HostName": "

The name of the Dedicated Host.

", + "Host$HostIp": "

The IP address of the Dedicated Host.

", + "Host$InstanceId": "

The instance ID of the instance on the Dedicated Host.

", "InternalServerException$Message": null, - "Operation$StatusMessage": "

", + "Operation$StatusMessage": "

The status message of the operation.

", "OperationProperties$key": null, "OperationProperties$value": null, "PutResourcePermissionOutput$Policy": "

", "ResourceNotFoundException$Message": null, - "UpdateApplicationSettingsOutput$Message": "

", + "UpdateApplicationSettingsOutput$Message": "

The update message.

", "ValidationException$Message": null } }, @@ -542,14 +595,14 @@ "TagMap": { "base": null, "refs": { - "ApplicationSummary$Tags": "

", - "ComponentSummary$Tags": "

", - "DatabaseSummary$Tags": "

", - "GetApplicationOutput$Tags": "

", - "GetDatabaseOutput$Tags": "

", + "ApplicationSummary$Tags": "

The tags on the application.

", + "ComponentSummary$Tags": "

The tags of the component.

", + "DatabaseSummary$Tags": "

The tags of the database.

", + "GetApplicationOutput$Tags": "

The tags of a registered application.

", + "GetDatabaseOutput$Tags": "

The tags of a database.

", "ListTagsForResourceResponse$tags": "

", - "RegisterApplicationInput$Tags": "

", - "TagResourceRequest$tags": "

" + "RegisterApplicationInput$Tags": "

The tags to be attached to the SAP application.

", + "TagResourceRequest$tags": "

The tags on a resource.

" } }, "TagResourceRequest": { @@ -571,12 +624,12 @@ "Timestamp": { "base": null, "refs": { - "Application$LastUpdated": "

", - "Component$LastUpdated": "

", - "Database$LastUpdated": "

", - "Operation$StartTime": "

", - "Operation$EndTime": "

", - "Operation$LastUpdatedTime": "

" + "Application$LastUpdated": "

The time at which the application was last updated.

", + "Component$LastUpdated": "

The time at which the component was last updated.

", + "Database$LastUpdated": "

The time at which the database was last updated.

", + "Operation$StartTime": "

The start time of the operation.

", + "Operation$EndTime": "

The end time of the operation.

", + "Operation$LastUpdatedTime": "

The time at which the operation was last updated.

" } }, "UntagResourceRequest": { @@ -600,7 +653,7 @@ } }, "ValidationException": { - "base": "

", + "base": "

The input fails to satisfy the constraints specified by an AWS service.

", "refs": { } } diff --git a/models/apis/ssm-sap/2018-05-10/endpoint-rule-set-1.json b/models/apis/ssm-sap/2018-05-10/endpoint-rule-set-1.json index 8c216ad5d66..c3d1a366207 100644 --- a/models/apis/ssm-sap/2018-05-10/endpoint-rule-set-1.json +++ b/models/apis/ssm-sap/2018-05-10/endpoint-rule-set-1.json @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", @@ -174,12 +165,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://ssm-sap-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ssm-sap-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -226,12 +223,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://ssm-sap-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ssm-sap-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -278,12 +281,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://ssm-sap.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ssm-sap.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -296,12 +305,18 @@ }, { "conditions": [], - "endpoint": { - "url": "https://ssm-sap.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ssm-sap.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] } diff --git a/models/apis/ssm-sap/2018-05-10/endpoint-tests-1.json b/models/apis/ssm-sap/2018-05-10/endpoint-tests-1.json index 1f3315be44e..a52e1be7837 100644 --- a/models/apis/ssm-sap/2018-05-10/endpoint-tests-1.json +++ b/models/apis/ssm-sap/2018-05-10/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-east-1" } }, { @@ -22,8 +22,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-east-1" } }, { @@ -35,8 +35,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { @@ -48,8 +48,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { @@ -61,8 +61,8 @@ }, "params": { "UseDualStack": true, - "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "cn-north-1" } }, { @@ -74,8 +74,8 @@ }, "params": { "UseDualStack": false, - "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "cn-north-1" } }, { @@ -87,8 +87,8 @@ }, "params": { "UseDualStack": true, - "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-north-1" } }, { @@ -100,8 +100,8 @@ }, "params": { "UseDualStack": false, - "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-north-1" } }, { @@ -111,8 +111,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-iso-east-1" } }, { @@ -124,8 +124,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-iso-east-1" } }, { @@ -135,8 +135,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-iso-east-1" } }, { @@ -148,8 +148,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-iso-east-1" } }, { @@ -161,8 +161,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-1" } }, { @@ -174,8 +174,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-1" } }, { @@ -187,8 +187,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-1" } }, { @@ -200,8 +200,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-1" } }, { @@ -211,8 +211,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-isob-east-1" } }, { @@ -224,8 +224,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-isob-east-1" } }, { @@ -235,8 +235,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-isob-east-1" } }, { @@ -248,8 +248,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-isob-east-1" } }, { @@ -261,8 +261,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -273,8 +273,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -285,8 +285,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } } diff --git a/models/apis/ssm-sap/2018-05-10/paginators-1.json b/models/apis/ssm-sap/2018-05-10/paginators-1.json index eee580c9566..1b25777b54e 100644 --- a/models/apis/ssm-sap/2018-05-10/paginators-1.json +++ b/models/apis/ssm-sap/2018-05-10/paginators-1.json @@ -17,6 +17,12 @@ "output_token": "NextToken", "limit_key": "MaxResults", "result_key": "Databases" + }, + "ListOperations": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Operations" } } } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index eceee7ab5e7..98c26c319cb 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -4341,6 +4341,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, diff --git a/service/route53/api.go b/service/route53/api.go index 29890d7ad79..046397c6116 100644 --- a/service/route53/api.go +++ b/service/route53/api.go @@ -20424,6 +20424,9 @@ const ( // CloudWatchRegionUsIsobEast1 is a CloudWatchRegion enum value CloudWatchRegionUsIsobEast1 = "us-isob-east-1" + + // CloudWatchRegionApSoutheast4 is a CloudWatchRegion enum value + CloudWatchRegionApSoutheast4 = "ap-southeast-4" ) // CloudWatchRegion_Values returns all elements of the CloudWatchRegion enum @@ -20462,6 +20465,7 @@ func CloudWatchRegion_Values() []string { CloudWatchRegionUsIsoEast1, CloudWatchRegionUsIsoWest1, CloudWatchRegionUsIsobEast1, + CloudWatchRegionApSoutheast4, } } @@ -20789,6 +20793,9 @@ const ( // ResourceRecordSetRegionEuSouth2 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionEuSouth2 = "eu-south-2" + + // ResourceRecordSetRegionApSoutheast4 is a ResourceRecordSetRegion enum value + ResourceRecordSetRegionApSoutheast4 = "ap-southeast-4" ) // ResourceRecordSetRegion_Values returns all elements of the ResourceRecordSetRegion enum @@ -20822,6 +20829,7 @@ func ResourceRecordSetRegion_Values() []string { ResourceRecordSetRegionAfSouth1, ResourceRecordSetRegionEuSouth1, ResourceRecordSetRegionEuSouth2, + ResourceRecordSetRegionApSoutheast4, } } @@ -20977,6 +20985,9 @@ const ( // VPCRegionEuSouth2 is a VPCRegion enum value VPCRegionEuSouth2 = "eu-south-2" + + // VPCRegionApSoutheast4 is a VPCRegion enum value + VPCRegionApSoutheast4 = "ap-southeast-4" ) // VPCRegion_Values returns all elements of the VPCRegion enum @@ -21014,5 +21025,6 @@ func VPCRegion_Values() []string { VPCRegionAfSouth1, VPCRegionEuSouth1, VPCRegionEuSouth2, + VPCRegionApSoutheast4, } } diff --git a/service/ssmsap/api.go b/service/ssmsap/api.go index fa61c9c06c1..91d6bc7f7f3 100644 --- a/service/ssmsap/api.go +++ b/service/ssmsap/api.go @@ -68,10 +68,13 @@ func (c *SsmSap) DeleteResourcePermissionRequest(input *DeleteResourcePermission // Returned Error Types: // // - ResourceNotFoundException +// The resource is not available. // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/DeleteResourcePermission func (c *SsmSap) DeleteResourcePermission(input *DeleteResourcePermissionInput) (*DeleteResourcePermissionOutput, error) { @@ -152,8 +155,10 @@ func (c *SsmSap) DeregisterApplicationRequest(input *DeregisterApplicationInput) // Returned Error Types: // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/DeregisterApplication func (c *SsmSap) DeregisterApplication(input *DeregisterApplicationInput) (*DeregisterApplicationOutput, error) { @@ -233,8 +238,10 @@ func (c *SsmSap) GetApplicationRequest(input *GetApplicationInput) (req *request // Returned Error Types: // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/GetApplication func (c *SsmSap) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error) { @@ -314,8 +321,10 @@ func (c *SsmSap) GetComponentRequest(input *GetComponentInput) (req *request.Req // Returned Error Types: // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/GetComponent func (c *SsmSap) GetComponent(input *GetComponentInput) (*GetComponentOutput, error) { @@ -395,8 +404,10 @@ func (c *SsmSap) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Reque // Returned Error Types: // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/GetDatabase func (c *SsmSap) GetDatabase(input *GetDatabaseInput) (*GetDatabaseOutput, error) { @@ -475,8 +486,10 @@ func (c *SsmSap) GetOperationRequest(input *GetOperationInput) (req *request.Req // Returned Error Types: // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/GetOperation func (c *SsmSap) GetOperation(input *GetOperationInput) (*GetOperationOutput, error) { @@ -555,10 +568,13 @@ func (c *SsmSap) GetResourcePermissionRequest(input *GetResourcePermissionInput) // Returned Error Types: // // - ResourceNotFoundException +// The resource is not available. // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/GetResourcePermission func (c *SsmSap) GetResourcePermission(input *GetResourcePermissionInput) (*GetResourcePermissionOutput, error) { @@ -643,10 +659,13 @@ func (c *SsmSap) ListApplicationsRequest(input *ListApplicationsInput) (req *req // Returned Error Types: // // - ResourceNotFoundException +// The resource is not available. // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ListApplications func (c *SsmSap) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) { @@ -782,10 +801,13 @@ func (c *SsmSap) ListComponentsRequest(input *ListComponentsInput) (req *request // Returned Error Types: // // - ResourceNotFoundException +// The resource is not available. // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ListComponents func (c *SsmSap) ListComponents(input *ListComponentsInput) (*ListComponentsOutput, error) { @@ -922,10 +944,13 @@ func (c *SsmSap) ListDatabasesRequest(input *ListDatabasesInput) (req *request.R // Returned Error Types: // // - ResourceNotFoundException +// The resource is not available. // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ListDatabases func (c *SsmSap) ListDatabases(input *ListDatabasesInput) (*ListDatabasesOutput, error) { @@ -1000,6 +1025,145 @@ func (c *SsmSap) ListDatabasesPagesWithContext(ctx aws.Context, input *ListDatab return p.Err() } +const opListOperations = "ListOperations" + +// ListOperationsRequest generates a "aws/request.Request" representing the +// client's request for the ListOperations 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 ListOperations for more information on using the ListOperations +// 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 ListOperationsRequest method. +// req, resp := client.ListOperationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ListOperations +func (c *SsmSap) ListOperationsRequest(input *ListOperationsInput) (req *request.Request, output *ListOperationsOutput) { + op := &request.Operation{ + Name: opListOperations, + HTTPMethod: "POST", + HTTPPath: "/list-operations", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListOperationsInput{} + } + + output = &ListOperationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListOperations API operation for AWS Systems Manager for SAP. +// +// Lists the operations performed by AWS Systems Manager for SAP. +// +// 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 Systems Manager for SAP's +// API operation ListOperations for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - InternalServerException +// An internal error has occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ListOperations +func (c *SsmSap) ListOperations(input *ListOperationsInput) (*ListOperationsOutput, error) { + req, out := c.ListOperationsRequest(input) + return out, req.Send() +} + +// ListOperationsWithContext is the same as ListOperations with the addition of +// the ability to pass a context and additional request options. +// +// See ListOperations 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 *SsmSap) ListOperationsWithContext(ctx aws.Context, input *ListOperationsInput, opts ...request.Option) (*ListOperationsOutput, error) { + req, out := c.ListOperationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListOperationsPages iterates over the pages of a ListOperations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListOperations 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 ListOperations operation. +// pageNum := 0 +// err := client.ListOperationsPages(params, +// func(page *ssmsap.ListOperationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *SsmSap) ListOperationsPages(input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool) error { + return c.ListOperationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListOperationsPagesWithContext same as ListOperationsPages 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 *SsmSap) ListOperationsPagesWithContext(ctx aws.Context, input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListOperationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListOperationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListOperationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTagsForResource = "ListTagsForResource" // ListTagsForResourceRequest generates a "aws/request.Request" representing the @@ -1056,10 +1220,13 @@ func (c *SsmSap) ListTagsForResourceRequest(input *ListTagsForResourceInput) (re // Returned Error Types: // // - ResourceNotFoundException +// The resource is not available. // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - ConflictException +// A conflict has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ListTagsForResource func (c *SsmSap) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1138,10 +1305,13 @@ func (c *SsmSap) PutResourcePermissionRequest(input *PutResourcePermissionInput) // Returned Error Types: // // - ResourceNotFoundException +// The resource is not available. // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/PutResourcePermission func (c *SsmSap) PutResourcePermission(input *PutResourcePermissionInput) (*PutResourcePermissionOutput, error) { @@ -1230,10 +1400,13 @@ func (c *SsmSap) RegisterApplicationRequest(input *RegisterApplicationInput) (re // Returned Error Types: // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - ConflictException +// A conflict has occurred. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/RegisterApplication func (c *SsmSap) RegisterApplication(input *RegisterApplicationInput) (*RegisterApplicationOutput, error) { @@ -1313,10 +1486,13 @@ func (c *SsmSap) TagResourceRequest(input *TagResourceInput) (req *request.Reque // Returned Error Types: // // - ResourceNotFoundException +// The resource is not available. // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - ConflictException +// A conflict has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/TagResource func (c *SsmSap) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1396,10 +1572,13 @@ func (c *SsmSap) UntagResourceRequest(input *UntagResourceInput) (req *request.R // Returned Error Types: // // - ResourceNotFoundException +// The resource is not available. // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - ConflictException +// A conflict has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/UntagResource func (c *SsmSap) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1466,6 +1645,9 @@ func (c *SsmSap) UpdateApplicationSettingsRequest(input *UpdateApplicationSettin // UpdateApplicationSettings API operation for AWS Systems Manager for SAP. // +// Updates the settings of an application registered with AWS Systems Manager +// for SAP. +// // 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. @@ -1476,10 +1658,13 @@ func (c *SsmSap) UpdateApplicationSettingsRequest(input *UpdateApplicationSettin // Returned Error Types: // // - ResourceNotFoundException +// The resource is not available. // // - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/UpdateApplicationSettings func (c *SsmSap) UpdateApplicationSettings(input *UpdateApplicationSettingsInput) (*UpdateApplicationSettingsOutput, error) { @@ -1503,23 +1688,32 @@ func (c *SsmSap) UpdateApplicationSettingsWithContext(ctx aws.Context, input *Up return out, req.Send() } +// An SAP application registered with AWS Systems Manager for SAP. type Application struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the Application Registry. AppRegistryArn *string `type:"string"` + // The Amazon Resource Name (ARN) of the application. Arn *string `type:"string"` + // The components of the application. Components []*string `type:"list"` + // The ID of the application. Id *string `type:"string"` + // The time at which the application was last updated. LastUpdated *time.Time `type:"timestamp"` + // The status of the application. Status *string `type:"string" enum:"ApplicationStatus"` + // The status message. StatusMessage *string `type:"string"` + // The type of the application. Type *string `type:"string" enum:"ApplicationType"` } @@ -1589,18 +1783,27 @@ func (s *Application) SetType(v string) *Application { return s } +// The credentials of your SAP application. type ApplicationCredential struct { _ struct{} `type:"structure"` + // The type of the application credentials. + // // CredentialType is a required field CredentialType *string `type:"string" required:"true" enum:"CredentialType"` + // The name of the SAP HANA database. + // // DatabaseName is a required field DatabaseName *string `min:"1" type:"string" required:"true"` + // The secret ID created in AWS Secrets Manager to store the credentials of + // the SAP application. + // // SecretId is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ApplicationCredential's // String and GoString methods. + // // SecretId is a required field SecretId *string `min:"1" type:"string" required:"true" sensitive:"true"` } @@ -1666,15 +1869,21 @@ func (s *ApplicationCredential) SetSecretId(v string) *ApplicationCredential { return s } +// The summary of the SAP application registered with AWS Systems Manager for +// SAP. type ApplicationSummary struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the application. Arn *string `type:"string"` + // The ID of the application. Id *string `type:"string"` + // The tags on the application. Tags map[string]*string `type:"map"` + // The type of the application. Type *string `type:"string" enum:"ApplicationType"` } @@ -1720,23 +1929,32 @@ func (s *ApplicationSummary) SetType(v string) *ApplicationSummary { return s } +// The SAP component of your application. type Component struct { _ struct{} `type:"structure"` + // The ID of the application. ApplicationId *string `type:"string"` + // The ID of the component. ComponentId *string `type:"string"` + // The type of the component. ComponentType *string `type:"string" enum:"ComponentType"` + // The SAP HANA databases of the component. Databases []*string `type:"list"` + // The hosts of the component. Hosts []*Host `type:"list"` + // The time at which the component was last updated. LastUpdated *time.Time `type:"timestamp"` + // The primary host of the component. PrimaryHost *string `type:"string"` + // The status of the component. Status *string `type:"string" enum:"ComponentStatus"` } @@ -1806,15 +2024,20 @@ func (s *Component) SetStatus(v string) *Component { return s } +// The summary of the component. type ComponentSummary struct { _ struct{} `type:"structure"` + // The ID of the application. ApplicationId *string `type:"string"` + // The ID of the component. ComponentId *string `type:"string"` + // The type of the component. ComponentType *string `type:"string" enum:"ComponentType"` + // The tags of the component. Tags map[string]*string `type:"map"` } @@ -1860,6 +2083,7 @@ func (s *ComponentSummary) SetTags(v map[string]*string) *ComponentSummary { return s } +// A conflict has occurred. type ConflictException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -1923,29 +2147,42 @@ func (s *ConflictException) RequestID() string { return s.RespMetadata.RequestID } +// The SAP HANA database of the application registered with AWS Systems Manager +// for SAP. type Database struct { _ struct{} `type:"structure"` + // The ID of the application. ApplicationId *string `type:"string"` + // The Amazon Resource Name (ARN) of the database. Arn *string `type:"string"` + // The ID of the component. ComponentId *string `type:"string"` + // The credentials of the database. Credentials []*ApplicationCredential `min:"1" type:"list"` + // The ID of the SAP HANA database. DatabaseId *string `type:"string"` + // The name of the database. DatabaseName *string `type:"string"` + // The type of the database. DatabaseType *string `type:"string" enum:"DatabaseType"` + // The time at which the database was last updated. LastUpdated *time.Time `type:"timestamp"` + // The primary host of the database. PrimaryHost *string `type:"string"` + // The SQL port of the database. SQLPort *int64 `type:"integer"` + // The status of the database. Status *string `type:"string" enum:"DatabaseStatus"` } @@ -2033,19 +2270,26 @@ func (s *Database) SetStatus(v string) *Database { return s } +// The summary of the database. type DatabaseSummary struct { _ struct{} `type:"structure"` + // The ID of the application. ApplicationId *string `type:"string"` + // The Amazon Resource Name (ARN) of the database. Arn *string `type:"string"` + // The ID of the component. ComponentId *string `type:"string"` + // The ID of the database. DatabaseId *string `type:"string"` + // The type of the database. DatabaseType *string `type:"string" enum:"DatabaseType"` + // The tags of the database. Tags map[string]*string `type:"map"` } @@ -2106,11 +2350,15 @@ func (s *DatabaseSummary) SetTags(v map[string]*string) *DatabaseSummary { type DeleteResourcePermissionInput struct { _ struct{} `type:"structure"` + // Delete or restore the permissions on the target database. ActionType *string `type:"string" enum:"PermissionActionType"` + // The Amazon Resource Name (ARN) of the resource. + // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the source resource. SourceResourceArn *string `type:"string"` } @@ -2166,6 +2414,7 @@ func (s *DeleteResourcePermissionInput) SetSourceResourceArn(v string) *DeleteRe type DeleteResourcePermissionOutput struct { _ struct{} `type:"structure"` + // The policy that removes permissions on the target database. Policy *string `type:"string"` } @@ -2196,6 +2445,8 @@ func (s *DeleteResourcePermissionOutput) SetPolicy(v string) *DeleteResourcePerm type DeregisterApplicationInput struct { _ struct{} `type:"structure"` + // The ID of the application. + // // ApplicationId is a required field ApplicationId *string `type:"string" required:"true"` } @@ -2259,11 +2510,99 @@ func (s DeregisterApplicationOutput) GoString() string { return s.String() } +// A specific result obtained by specifying the name, value, and operator. +type Filter struct { + _ struct{} `type:"structure"` + + // The name of the filter. Filter names are case-sensitive. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The operator for the filter. + // + // Operator is a required field + Operator *string `type:"string" required:"true" enum:"FilterOperator"` + + // The filter values. Filter values are case-sensitive. If you specify multiple + // values for a filter, the values are joined with an OR, and the request returns + // all results that match any of the specified values + // + // Value is a required field + Value *string `min:"1" type:"string" 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 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.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Operator == nil { + invalidParams.Add(request.NewErrParamRequired("Operator")) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + if s.Value != nil && len(*s.Value) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Value", 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 +} + +// SetValue sets the Value field's value. +func (s *Filter) SetValue(v string) *Filter { + s.Value = &v + return s +} + type GetApplicationInput struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the application registry. + AppRegistryArn *string `type:"string"` + + // The Amazon Resource Name (ARN) of the application. ApplicationArn *string `type:"string"` + // The ID of the application. ApplicationId *string `type:"string"` } @@ -2285,6 +2624,12 @@ func (s GetApplicationInput) GoString() string { return s.String() } +// SetAppRegistryArn sets the AppRegistryArn field's value. +func (s *GetApplicationInput) SetAppRegistryArn(v string) *GetApplicationInput { + s.AppRegistryArn = &v + return s +} + // SetApplicationArn sets the ApplicationArn field's value. func (s *GetApplicationInput) SetApplicationArn(v string) *GetApplicationInput { s.ApplicationArn = &v @@ -2300,8 +2645,11 @@ func (s *GetApplicationInput) SetApplicationId(v string) *GetApplicationInput { type GetApplicationOutput struct { _ struct{} `type:"structure"` + // Returns all of the metadata of an application registered with AWS Systems + // Manager for SAP. Application *Application `type:"structure"` + // The tags of a registered application. Tags map[string]*string `type:"map"` } @@ -2338,9 +2686,13 @@ func (s *GetApplicationOutput) SetTags(v map[string]*string) *GetApplicationOutp type GetComponentInput struct { _ struct{} `type:"structure"` + // The ID of the application. + // // ApplicationId is a required field ApplicationId *string `type:"string" required:"true"` + // The ID of the component. + // // ComponentId is a required field ComponentId *string `type:"string" required:"true"` } @@ -2394,6 +2746,7 @@ func (s *GetComponentInput) SetComponentId(v string) *GetComponentInput { type GetComponentOutput struct { _ struct{} `type:"structure"` + // The component of an application registered with AWS Systems Manager for SAP. Component *Component `type:"structure"` } @@ -2424,12 +2777,16 @@ func (s *GetComponentOutput) SetComponent(v *Component) *GetComponentOutput { type GetDatabaseInput struct { _ struct{} `type:"structure"` + // The ID of the application. ApplicationId *string `type:"string"` + // The ID of the component. ComponentId *string `type:"string"` + // The Amazon Resource Name (ARN) of the database. DatabaseArn *string `type:"string"` + // The ID of the database. DatabaseId *string `type:"string"` } @@ -2478,8 +2835,11 @@ func (s *GetDatabaseInput) SetDatabaseId(v string) *GetDatabaseInput { type GetDatabaseOutput struct { _ struct{} `type:"structure"` + // The SAP HANA database of an application registered with AWS Systems Manager + // for SAP. Database *Database `type:"structure"` + // The tags of a database. Tags map[string]*string `type:"map"` } @@ -2516,6 +2876,8 @@ func (s *GetDatabaseOutput) SetTags(v map[string]*string) *GetDatabaseOutput { type GetOperationInput struct { _ struct{} `type:"structure"` + // The ID of the operation. + // // OperationId is a required field OperationId *string `type:"string" required:"true"` } @@ -2560,6 +2922,7 @@ func (s *GetOperationInput) SetOperationId(v string) *GetOperationInput { type GetOperationOutput struct { _ struct{} `type:"structure"` + // Returns the details of an operation. Operation *Operation `type:"structure"` } @@ -2592,6 +2955,8 @@ type GetResourcePermissionInput struct { ActionType *string `type:"string" enum:"PermissionActionType"` + // The Amazon Resource Name (ARN) of the resource. + // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` } @@ -2669,15 +3034,20 @@ func (s *GetResourcePermissionOutput) SetPolicy(v string) *GetResourcePermission return s } +// Describes the properties of the Dedicated Host. type Host struct { _ struct{} `type:"structure"` + // The IP address of the Dedicated Host. HostIp *string `type:"string"` + // The name of the Dedicated Host. HostName *string `type:"string"` + // The role of the Dedicated Host. HostRole *string `type:"string" enum:"HostRole"` + // The instance ID of the instance on the Dedicated Host. InstanceId *string `type:"string"` } @@ -2723,6 +3093,7 @@ func (s *Host) SetInstanceId(v string) *Host { return s } +// An internal error has occurred. type InternalServerException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -2789,8 +3160,11 @@ func (s *InternalServerException) RequestID() string { type ListApplicationsInput struct { _ struct{} `type:"structure"` + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"1" type:"integer"` + // The token for the next page of results. NextToken *string `type:"string"` } @@ -2840,8 +3214,11 @@ func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput { type ListApplicationsOutput struct { _ struct{} `type:"structure"` + // The applications registered with AWS Systems Manager for SAP. Applications []*ApplicationSummary `type:"list"` + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. NextToken *string `type:"string"` } @@ -2878,10 +3255,17 @@ func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput type ListComponentsInput struct { _ struct{} `type:"structure"` + // The ID of the application. ApplicationId *string `type:"string"` + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + // + // If you do not specify a value for MaxResults, the request returns 50 items + // per page by default. MaxResults *int64 `min:"1" type:"integer"` + // The token for the next page of results. NextToken *string `type:"string"` } @@ -2937,8 +3321,11 @@ func (s *ListComponentsInput) SetNextToken(v string) *ListComponentsInput { type ListComponentsOutput struct { _ struct{} `type:"structure"` + // List of components registered with AWS System Manager for SAP. Components []*ComponentSummary `type:"list"` + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. NextToken *string `type:"string"` } @@ -2975,12 +3362,19 @@ func (s *ListComponentsOutput) SetNextToken(v string) *ListComponentsOutput { type ListDatabasesInput struct { _ struct{} `type:"structure"` + // The ID of the application. ApplicationId *string `type:"string"` + // The ID of the component. ComponentId *string `type:"string"` + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. If + // you do not specify a value for MaxResults, the request returns 50 items per + // page by default. MaxResults *int64 `min:"1" type:"integer"` + // The token for the next page of results. NextToken *string `type:"string"` } @@ -3042,8 +3436,11 @@ func (s *ListDatabasesInput) SetNextToken(v string) *ListDatabasesInput { type ListDatabasesOutput struct { _ struct{} `type:"structure"` + // The SAP HANA databases of an application. Databases []*DatabaseSummary `type:"list"` + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. NextToken *string `type:"string"` } @@ -3077,9 +3474,144 @@ func (s *ListDatabasesOutput) SetNextToken(v string) *ListDatabasesOutput { return s } +type ListOperationsInput struct { + _ struct{} `type:"structure"` + + // The ID of the application. + // + // ApplicationId is a required field + ApplicationId *string `type:"string" required:"true"` + + // The filters of an operation. + Filters []*Filter `min:"1" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. If + // you do not specify a value for MaxResults, the request returns 50 items per + // page by default. + MaxResults *int64 `min:"1" type:"integer"` + + // The token for the next page 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 ListOperationsInput) 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 ListOperationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListOperationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListOperationsInput"} + if s.ApplicationId == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationId")) + } + if s.Filters != nil && len(s.Filters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 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 +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *ListOperationsInput) SetApplicationId(v string) *ListOperationsInput { + s.ApplicationId = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *ListOperationsInput) SetFilters(v []*Filter) *ListOperationsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListOperationsInput) SetMaxResults(v int64) *ListOperationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListOperationsInput) SetNextToken(v string) *ListOperationsInput { + s.NextToken = &v + return s +} + +type ListOperationsOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `type:"string"` + + // List of operations performed by AWS Systems Manager for SAP. + Operations []*Operation `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 ListOperationsOutput) 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 ListOperationsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListOperationsOutput) SetNextToken(v string) *ListOperationsOutput { + s.NextToken = &v + return s +} + +// SetOperations sets the Operations field's value. +func (s *ListOperationsOutput) SetOperations(v []*Operation) *ListOperationsOutput { + s.Operations = v + return s +} + type ListTagsForResourceInput struct { _ struct{} `type:"structure" nopayload:"true"` + // The Amazon Resource Name (ARN) of the resource. + // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` } @@ -3154,29 +3686,41 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe return s } +// The operations performed by AWS Systems Manager for SAP. type Operation struct { _ struct{} `type:"structure"` + // The end time of the operation. EndTime *time.Time `type:"timestamp"` + // The ID of the operation. Id *string `type:"string"` + // The time at which the operation was last updated. LastUpdatedTime *time.Time `type:"timestamp"` + // The properties of the operation. Properties map[string]*string `type:"map"` + // The Amazon Resource Name (ARN) of the operation. ResourceArn *string `type:"string"` + // The resource ID of the operation. ResourceId *string `min:"1" type:"string"` + // The resource type of the operation. ResourceType *string `min:"1" type:"string"` + // The start time of the operation. StartTime *time.Time `type:"timestamp"` + // The status of the operation. Status *string `type:"string" enum:"OperationStatus"` + // The status message of the operation. StatusMessage *string `type:"string"` + // The type of the operation. Type *string `type:"string"` } @@ -3365,22 +3909,33 @@ func (s *PutResourcePermissionOutput) SetPolicy(v string) *PutResourcePermission type RegisterApplicationInput struct { _ struct{} `type:"structure"` + // The ID of the application. + // // ApplicationId is a required field ApplicationId *string `type:"string" required:"true"` + // The type of the application. + // // ApplicationType is a required field ApplicationType *string `type:"string" required:"true" enum:"ApplicationType"` + // The credentials of the SAP application. + // // Credentials is a required field Credentials []*ApplicationCredential `min:"1" type:"list" required:"true"` + // The Amazon EC2 instances on which your SAP application is running. + // // Instances is a required field Instances []*string `min:"1" type:"list" required:"true"` + // The SAP instance number of the application. SapInstanceNumber *string `type:"string"` + // The System ID of the application. Sid *string `type:"string"` + // The tags to be attached to the SAP application. Tags map[string]*string `type:"map"` } @@ -3485,8 +4040,10 @@ func (s *RegisterApplicationInput) SetTags(v map[string]*string) *RegisterApplic type RegisterApplicationOutput struct { _ struct{} `type:"structure"` + // The application registered with AWS Systems Manager for SAP. Application *Application `type:"structure"` + // The ID of the operation. OperationId *string `type:"string"` } @@ -3520,6 +4077,7 @@ func (s *RegisterApplicationOutput) SetOperationId(v string) *RegisterApplicatio return s } +// The resource is not available. type ResourceNotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -3586,9 +4144,13 @@ func (s *ResourceNotFoundException) RequestID() string { type TagResourceInput struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the resource. + // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + // The tags on a resource. + // // Tags is a required field Tags map[string]*string `locationName:"tags" type:"map" required:"true"` } @@ -3667,6 +4229,8 @@ func (s TagResourceOutput) GoString() string { type UntagResourceInput struct { _ struct{} `type:"structure" nopayload:"true"` + // The Amazon Resource Name (ARN) of the resource. + // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` @@ -3751,11 +4315,15 @@ func (s UntagResourceOutput) GoString() string { type UpdateApplicationSettingsInput struct { _ struct{} `type:"structure"` + // The ID of the application. + // // ApplicationId is a required field ApplicationId *string `type:"string" required:"true"` + // The credentials to be added or updated. CredentialsToAddOrUpdate []*ApplicationCredential `min:"1" type:"list"` + // The credentials to be removed. CredentialsToRemove []*ApplicationCredential `min:"1" type:"list"` } @@ -3837,8 +4405,10 @@ func (s *UpdateApplicationSettingsInput) SetCredentialsToRemove(v []*Application type UpdateApplicationSettingsOutput struct { _ struct{} `type:"structure"` + // The update message. Message *string `type:"string"` + // The IDs of the operations. OperationIds []*string `type:"list"` } @@ -3872,6 +4442,7 @@ func (s *UpdateApplicationSettingsOutput) SetOperationIds(v []*string) *UpdateAp return s } +// The input fails to satisfy the constraints specified by an AWS service. type ValidationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -4067,6 +4638,26 @@ func DatabaseType_Values() []string { } } +const ( + // FilterOperatorEquals is a FilterOperator enum value + FilterOperatorEquals = "Equals" + + // FilterOperatorGreaterThanOrEquals is a FilterOperator enum value + FilterOperatorGreaterThanOrEquals = "GreaterThanOrEquals" + + // FilterOperatorLessThanOrEquals is a FilterOperator enum value + FilterOperatorLessThanOrEquals = "LessThanOrEquals" +) + +// FilterOperator_Values returns all elements of the FilterOperator enum +func FilterOperator_Values() []string { + return []string{ + FilterOperatorEquals, + FilterOperatorGreaterThanOrEquals, + FilterOperatorLessThanOrEquals, + } +} + const ( // HostRoleLeader is a HostRole enum value HostRoleLeader = "LEADER" diff --git a/service/ssmsap/errors.go b/service/ssmsap/errors.go index 68634ce89c2..c3c9b8be24e 100644 --- a/service/ssmsap/errors.go +++ b/service/ssmsap/errors.go @@ -10,18 +10,26 @@ const ( // ErrCodeConflictException for service response error code // "ConflictException". + // + // A conflict has occurred. ErrCodeConflictException = "ConflictException" // ErrCodeInternalServerException for service response error code // "InternalServerException". + // + // An internal error has occurred. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". + // + // The resource is not available. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeValidationException for service response error code // "ValidationException". + // + // The input fails to satisfy the constraints specified by an AWS service. ErrCodeValidationException = "ValidationException" ) diff --git a/service/ssmsap/ssmsapiface/interface.go b/service/ssmsap/ssmsapiface/interface.go index d0649ddcabb..bca8ed279d8 100644 --- a/service/ssmsap/ssmsapiface/interface.go +++ b/service/ssmsap/ssmsapiface/interface.go @@ -109,6 +109,13 @@ type SsmSapAPI interface { ListDatabasesPages(*ssmsap.ListDatabasesInput, func(*ssmsap.ListDatabasesOutput, bool) bool) error ListDatabasesPagesWithContext(aws.Context, *ssmsap.ListDatabasesInput, func(*ssmsap.ListDatabasesOutput, bool) bool, ...request.Option) error + ListOperations(*ssmsap.ListOperationsInput) (*ssmsap.ListOperationsOutput, error) + ListOperationsWithContext(aws.Context, *ssmsap.ListOperationsInput, ...request.Option) (*ssmsap.ListOperationsOutput, error) + ListOperationsRequest(*ssmsap.ListOperationsInput) (*request.Request, *ssmsap.ListOperationsOutput) + + ListOperationsPages(*ssmsap.ListOperationsInput, func(*ssmsap.ListOperationsOutput, bool) bool) error + ListOperationsPagesWithContext(aws.Context, *ssmsap.ListOperationsInput, func(*ssmsap.ListOperationsOutput, bool) bool, ...request.Option) error + ListTagsForResource(*ssmsap.ListTagsForResourceInput) (*ssmsap.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *ssmsap.ListTagsForResourceInput, ...request.Option) (*ssmsap.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*ssmsap.ListTagsForResourceInput) (*request.Request, *ssmsap.ListTagsForResourceOutput)