From 6224bdd3e444c8026fd1713ef398ddc081236e38 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 2 Dec 2022 11:29:28 -0800 Subject: [PATCH] Release v1.44.152 (2022-12-02) (#4652) Release v1.44.152 (2022-12-02) === ### Service Client Updates * `service/appsync`: Updates service documentation * `service/ecs`: Updates service documentation * Documentation updates for Amazon ECS * `service/fms`: Updates service API * `service/mediaconvert`: Updates service API and documentation * The AWS Elemental MediaConvert SDK has added support for configurable ID3 eMSG box attributes and the ability to signal them with InbandEventStream tags in DASH and CMAF outputs. * `service/medialive`: Updates service API and documentation * Updates to Event Signaling and Management (ESAM) API and documentation. * `service/polly`: Updates service API * Add language code for Finnish (fi-FI) * `service/proton`: Updates service API * `service/redshift-serverless`: Updates service API, documentation, and paginators * `service/sns`: Updates service documentation * This release adds the message payload-filtering feature to the SNS Subscribe, SetSubscriptionAttributes, and GetSubscriptionAttributes API actions --- CHANGELOG.md | 19 + aws/version.go | 2 +- models/apis/appsync/2017-07-25/docs-2.json | 2 +- .../2017-07-25/endpoint-rule-set-1.json | 2 +- .../appsync/2017-07-25/endpoint-tests-1.json | 390 ++-- models/apis/ecs/2014-11-13/docs-2.json | 12 +- .../ecs/2014-11-13/endpoint-rule-set-1.json | 2 +- models/apis/fms/2018-01-01/api-2.json | 5 +- .../fms/2018-01-01/endpoint-rule-set-1.json | 11 +- .../apis/fms/2018-01-01/endpoint-tests-1.json | 510 +++-- .../apis/mediaconvert/2017-08-29/api-2.json | 108 + .../apis/mediaconvert/2017-08-29/docs-2.json | 71 +- .../2017-08-29/endpoint-tests-1.json | 348 ++-- models/apis/medialive/2017-10-14/api-2.json | 6 +- models/apis/medialive/2017-10-14/docs-2.json | 4 +- .../2017-10-14/endpoint-rule-set-1.json | 315 +++ .../2017-10-14/endpoint-tests-1.json | 91 + models/apis/polly/2016-06-10/api-2.json | 3 +- .../polly/2016-06-10/endpoint-rule-set-1.json | 2 +- models/apis/proton/2020-07-20/api-2.json | 3 +- .../2020-07-20/endpoint-rule-set-1.json | 2 +- .../proton/2020-07-20/endpoint-tests-1.json | 188 +- .../redshift-serverless/2021-04-21/api-2.json | 146 +- .../2021-04-21/docs-2.json | 124 +- .../2021-04-21/endpoint-rule-set-1.json | 315 +++ .../2021-04-21/endpoint-tests-1.json | 615 ++++++ .../2021-04-21/paginators-1.json | 6 + models/apis/sns/2010-03-31/docs-2.json | 20 +- .../sns/2010-03-31/endpoint-rule-set-1.json | 353 ++++ .../apis/sns/2010-03-31/endpoint-tests-1.json | 1799 +++++++++++++++++ service/appsync/api.go | 49 +- service/ecs/api.go | 44 +- service/fms/api.go | 4 + service/mediaconvert/api.go | 377 +++- service/medialive/api.go | 11 +- service/polly/api.go | 4 + service/proton/api.go | 7 +- service/redshiftserverless/api.go | 996 ++++++++- .../redshiftserverlessiface/interface.go | 15 + service/sns/api.go | 72 +- 40 files changed, 6237 insertions(+), 816 deletions(-) create mode 100644 models/apis/medialive/2017-10-14/endpoint-rule-set-1.json create mode 100644 models/apis/medialive/2017-10-14/endpoint-tests-1.json create mode 100644 models/apis/redshift-serverless/2021-04-21/endpoint-rule-set-1.json create mode 100644 models/apis/redshift-serverless/2021-04-21/endpoint-tests-1.json create mode 100644 models/apis/sns/2010-03-31/endpoint-rule-set-1.json create mode 100644 models/apis/sns/2010-03-31/endpoint-tests-1.json diff --git a/CHANGELOG.md b/CHANGELOG.md index fe0bd71b683..c024d15a00c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +Release v1.44.152 (2022-12-02) +=== + +### Service Client Updates +* `service/appsync`: Updates service documentation +* `service/ecs`: Updates service documentation + * Documentation updates for Amazon ECS +* `service/fms`: Updates service API +* `service/mediaconvert`: Updates service API and documentation + * The AWS Elemental MediaConvert SDK has added support for configurable ID3 eMSG box attributes and the ability to signal them with InbandEventStream tags in DASH and CMAF outputs. +* `service/medialive`: Updates service API and documentation + * Updates to Event Signaling and Management (ESAM) API and documentation. +* `service/polly`: Updates service API + * Add language code for Finnish (fi-FI) +* `service/proton`: Updates service API +* `service/redshift-serverless`: Updates service API, documentation, and paginators +* `service/sns`: Updates service documentation + * This release adds the message payload-filtering feature to the SNS Subscribe, SetSubscriptionAttributes, and GetSubscriptionAttributes API actions + Release v1.44.151 (2022-12-01) === diff --git a/aws/version.go b/aws/version.go index 227d0f911d4..898da8d0bf8 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.151" +const SDKVersion = "1.44.152" diff --git a/models/apis/appsync/2017-07-25/docs-2.json b/models/apis/appsync/2017-07-25/docs-2.json index 01187ff7016..eb8cb72b2eb 100644 --- a/models/apis/appsync/2017-07-25/docs-2.json +++ b/models/apis/appsync/2017-07-25/docs-2.json @@ -141,7 +141,7 @@ } }, "AppSyncRuntime": { - "base": "

Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.

", + "base": "

Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.

", "refs": { "CreateFunctionRequest$runtime": null, "CreateResolverRequest$runtime": null, diff --git a/models/apis/appsync/2017-07-25/endpoint-rule-set-1.json b/models/apis/appsync/2017-07-25/endpoint-rule-set-1.json index 16d865934f0..6919bc2e008 100644 --- a/models/apis/appsync/2017-07-25/endpoint-rule-set-1.json +++ b/models/apis/appsync/2017-07-25/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, diff --git a/models/apis/appsync/2017-07-25/endpoint-tests-1.json b/models/apis/appsync/2017-07-25/endpoint-tests-1.json index a0747045ec9..bfe1d895e43 100644 --- a/models/apis/appsync/2017-07-25/endpoint-tests-1.json +++ b/models/apis/appsync/2017-07-25/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -21,9 +21,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -34,9 +34,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -47,9 +47,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -60,9 +60,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -73,9 +73,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -86,9 +86,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -99,9 +99,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -112,9 +112,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -125,9 +125,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -138,9 +138,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -151,9 +151,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -164,9 +164,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -177,9 +177,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -190,9 +190,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -203,9 +203,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -216,9 +216,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -229,9 +229,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -242,9 +242,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -255,9 +255,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -268,9 +268,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -281,9 +281,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -294,9 +294,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -307,9 +307,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -320,9 +320,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -333,9 +333,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -346,9 +346,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -359,9 +359,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -372,9 +372,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -385,9 +385,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -398,9 +398,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -411,9 +411,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -424,9 +424,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -437,9 +437,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -450,9 +450,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -463,9 +463,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -476,9 +476,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -489,9 +489,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -502,9 +502,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -515,9 +515,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -528,9 +528,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -541,9 +541,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -554,9 +554,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -567,9 +567,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -580,9 +580,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -593,9 +593,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -606,9 +606,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -619,9 +619,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -632,9 +632,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -645,9 +645,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -658,9 +658,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -671,9 +671,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -684,9 +684,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -697,9 +697,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -710,9 +710,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -723,9 +723,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -736,9 +736,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -749,9 +749,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -762,9 +762,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -775,9 +775,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -788,9 +788,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -801,9 +801,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -814,9 +814,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -827,9 +827,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -840,9 +840,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -853,9 +853,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -866,9 +866,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -879,9 +879,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -892,9 +892,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -905,9 +905,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -918,9 +918,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -931,9 +931,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -944,9 +944,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -957,9 +957,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -970,9 +970,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -983,9 +983,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -996,9 +996,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1009,9 +1009,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1022,9 +1022,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1035,9 +1035,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1048,9 +1048,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1061,9 +1061,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1074,9 +1074,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1087,9 +1087,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1100,9 +1100,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1113,9 +1113,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1126,9 +1126,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1139,9 +1139,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1152,9 +1152,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1165,9 +1165,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1178,9 +1178,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1191,9 +1191,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1204,9 +1204,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1217,9 +1217,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1230,9 +1230,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1243,9 +1243,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1256,9 +1256,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1268,9 +1268,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1280,9 +1280,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/ecs/2014-11-13/docs-2.json b/models/apis/ecs/2014-11-13/docs-2.json index 5a2df4daa9b..4246c0841f0 100644 --- a/models/apis/ecs/2014-11-13/docs-2.json +++ b/models/apis/ecs/2014-11-13/docs-2.json @@ -1824,7 +1824,7 @@ "ServiceConnectServiceList": { "base": null, "refs": { - "ServiceConnectConfiguration$services": "

The list of Service Connect service objects. These are names and aliases (also known as endpoints) that are used by other Amazon ECS services to connect to this service. You can specify up to X (30?) objects per Amazon ECS service.

This field is not required for a \"client\" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means.

An object selects a port from the task definition, assigns a name for the Cloud Map service, and a list of aliases (endpoints) and ports for client applications to refer to this service.

" + "ServiceConnectConfiguration$services": "

The list of Service Connect service objects. These are names and aliases (also known as endpoints) that are used by other Amazon ECS services to connect to this service.

This field is not required for a \"client\" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means.

An object selects a port from the task definition, assigns a name for the Cloud Map service, and a list of aliases (endpoints) and ports for client applications to refer to this service.

" } }, "ServiceConnectServiceResource": { @@ -1986,7 +1986,7 @@ "Cluster$status": "

The status of the cluster. The following are the possible states that are returned.

ACTIVE

The cluster is ready to accept tasks and if applicable you can register container instances with the cluster.

PROVISIONING

The cluster has capacity providers that are associated with it and the resources needed for the capacity provider are being created.

DEPROVISIONING

The cluster has capacity providers that are associated with it and the resources needed for the capacity provider are being deleted.

FAILED

The cluster has capacity providers that are associated with it and the resources needed for the capacity provider have failed to create.

INACTIVE

The cluster has been deleted. Clusters with an INACTIVE status may remain discoverable in your account for a period of time. However, this behavior is subject to change in the future. We don't recommend that you rely on INACTIVE clusters persisting.

", "Cluster$attachmentsStatus": "

The status of the capacity providers associated with the cluster. The following are the states that are returned.

UPDATE_IN_PROGRESS

The available capacity providers for the cluster are updating.

UPDATE_COMPLETE

The capacity providers have successfully updated.

UPDATE_FAILED

The capacity provider updates failed.

", "ClusterServiceConnectDefaults$namespace": "

The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace. When you create a service and don't specify a Service Connect configuration, this namespace is used.

", - "ClusterServiceConnectDefaultsRequest$namespace": "

The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace that's used when you create a service and don't specify a Service Connect configuration. Up to 1024 characters are allowed. The name is case-sensitive. The characters can't include hyphens (-), tilde (~), greater than (>), less than (<), or slash (/).

If you enter an existing namespace name or ARN, then that namespace will be used. Any namespace type is supported. The namespace must be in this account and this Amazon Web Services Region.

If you enter a new name, a Cloud Map namespace will be created. Amazon ECS creates a Cloud Map namespace with the \"API calls\" method of instance discovery only. This instance discovery method is the \"HTTP\" namespace type in the Command Line Interface. Other types of instance discovery aren't used by Service Connect.

If you update the service with an empty string \"\" for the namespace name, the cluster configuration for Service Connect is removed. Note that the namespace will remain in Cloud Map and must be deleted separately.

For more information about Cloud Map, see Working with Services in the Cloud Map Developer Guide.

", + "ClusterServiceConnectDefaultsRequest$namespace": "

The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace that's used when you create a service and don't specify a Service Connect configuration. The namespace name can include up to 1024 characters. The name is case-sensitive. The name can't include hyphens (-), tilde (~), greater than (>), less than (<), or slash (/).

If you enter an existing namespace name or ARN, then that namespace will be used. Any namespace type is supported. The namespace must be in this account and this Amazon Web Services Region.

If you enter a new name, a Cloud Map namespace will be created. Amazon ECS creates a Cloud Map namespace with the \"API calls\" method of instance discovery only. This instance discovery method is the \"HTTP\" namespace type in the Command Line Interface. Other types of instance discovery aren't used by Service Connect.

If you update the service with an empty string \"\" for the namespace name, the cluster configuration for Service Connect is removed. Note that the namespace will remain in Cloud Map and must be deleted separately.

For more information about Cloud Map, see Working with Services in the Cloud Map Developer Guide.

", "ClusterSetting$value": "

The value to set for the cluster setting. The supported values are enabled and disabled. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights account setting is enabled. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

", "Container$containerArn": "

The Amazon Resource Name (ARN) of the container.

", "Container$taskArn": "

The ARN of the task.

", @@ -2156,7 +2156,7 @@ "PlacementConstraint$expression": "

A cluster query language expression to apply to the constraint. The expression can have a maximum length of 2000 characters. You can't specify an expression if the constraint type is distinctInstance. For more information, see Cluster query language in the Amazon Elastic Container Service Developer Guide.

", "PlacementStrategy$field": "

The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that's applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are cpu and memory. For the random placement strategy, this field is not used.

", "PlatformDevice$id": "

The ID for the GPUs on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

", - "PortMapping$name": "

The name that's used for the port mapping. This parameter only applies to Service Connect. This parameter is the name that you use in the serviceConnectConfiguration of a service. Up to 64 characters are allowed. The characters can include lowercase letters, numbers, underscores (_), and hyphens (-). A hyphen can't be the first character.

For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

", + "PortMapping$name": "

The name that's used for the port mapping. This parameter only applies to Service Connect. This parameter is the name that you use in the serviceConnectConfiguration of a service. The name can include up to 64 characters. The characters can include lowercase letters, numbers, underscores (_), and hyphens (-). The name can't start with a hyphen.

For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

", "ProtectedTask$taskArn": "

The task ARN.

", "ProxyConfiguration$containerName": "

The name of the container that will serve as the App Mesh proxy.

", "PutAccountSettingDefaultRequest$value": "

The account setting value for the specified principal ARN. Accepted values are enabled and disabled.

", @@ -2195,11 +2195,11 @@ "Service$taskDefinition": "

The task definition to use for tasks in the service. This value is specified when the service is created with CreateService, and it can be modified with UpdateService.

", "Service$roleArn": "

The ARN of the IAM role that's associated with the service. It allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.

", "Service$createdBy": "

The principal that created the service.

", - "ServiceConnectClientAlias$dnsName": "

The dnsName is the name that you use in the applications of client tasks to connect to this service. The name must be a valid DNS name but doesn't need to be fully-qualified. Up to 127 characters are allowed. The characters can include lowercase letters, numbers, underscores (_), hyphens (-), and periods (.). A hyphen can't be the first character.

If this parameter isn't specified, the default value of discoveryName.namespace is used. If the discoveryName isn't specified, the portName.namespace from the task definition is used.

To avoid changing your applications in client Amazon ECS services, set this to the same name that the client application uses by default. For example, a few common names are database, db, or the lowercase name of a database, such as mysql or redis. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

", + "ServiceConnectClientAlias$dnsName": "

The dnsName is the name that you use in the applications of client tasks to connect to this service. The name must be a valid DNS name but doesn't need to be fully-qualified. The name can include up to 127 characters. The name can include lowercase letters, numbers, underscores (_), hyphens (-), and periods (.). The name can't start with a hyphen.

If this parameter isn't specified, the default value of discoveryName.namespace is used. If the discoveryName isn't specified, the port mapping name from the task definition is used in portName.namespace.

To avoid changing your applications in client Amazon ECS services, set this to the same name that the client application uses by default. For example, a few common names are database, db, or the lowercase name of a database, such as mysql or redis. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

", "ServiceConnectConfiguration$namespace": "

The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace for use with Service Connect. The namespace must be in the same Amazon Web Services Region as the Amazon ECS service and cluster. The type of namespace doesn't affect Service Connect. For more information about Cloud Map, see Working with Services in the Cloud Map Developer Guide.

", "ServiceConnectService$portName": "

The portName must match the name of one of the portMappings from all the containers in the task definition of this Amazon ECS service.

", - "ServiceConnectService$discoveryName": "

The discoveryName is the name of the new Cloud Map service that Amazon ECS creates for this Amazon ECS service. This must be unique within the Cloud Map namespace. Up to 64 characters are allowed. The characters can include lowercase letters, numbers, underscores (_), and hyphens (-). A hyphen can't be the first character.

If this field isn't specified, portName is used.

", - "ServiceConnectServiceResource$discoveryName": "

The discovery name of this Service Connect resource.

The discoveryName is the name of the new Cloud Map service that Amazon ECS creates for this Amazon ECS service. This must be unique within the Cloud Map namespace. Up to 64 characters are allowed. The characters can include lowercase letters, numbers, underscores (_), and hyphens (-). A hyphen can't be the first character.

If this field isn't specified, portName is used.

", + "ServiceConnectService$discoveryName": "

The discoveryName is the name of the new Cloud Map service that Amazon ECS creates for this Amazon ECS service. This must be unique within the Cloud Map namespace. The name can contain up to 64 characters. The name can include lowercase letters, numbers, underscores (_), and hyphens (-). The name can't start with a hyphen.

If this parameter isn't specified, the default value of discoveryName.namespace is used. If the discoveryName isn't specified, the port mapping name from the task definition is used in portName.namespace.

", + "ServiceConnectServiceResource$discoveryName": "

The discovery name of this Service Connect resource.

The discoveryName is the name of the new Cloud Map service that Amazon ECS creates for this Amazon ECS service. This must be unique within the Cloud Map namespace. The name can contain up to 64 characters. The name can include lowercase letters, numbers, underscores (_), and hyphens (-). The name can't start with a hyphen.

If this parameter isn't specified, the default value of discoveryName.namespace is used. If the discoveryName isn't specified, the port mapping name from the task definition is used in portName.namespace.

", "ServiceConnectServiceResource$discoveryArn": "

The Amazon Resource Name (ARN) for the namespace in Cloud Map that matches the discovery name for this Service Connect resource. You can use this ARN in other integrations with Cloud Map. However, Service Connect can't ensure connectivity outside of Amazon ECS.

", "ServiceEvent$id": "

The ID string for the event.

", "ServiceEvent$message": "

The event message.

", diff --git a/models/apis/ecs/2014-11-13/endpoint-rule-set-1.json b/models/apis/ecs/2014-11-13/endpoint-rule-set-1.json index bb4f8dd449a..626cb0b69fc 100644 --- a/models/apis/ecs/2014-11-13/endpoint-rule-set-1.json +++ b/models/apis/ecs/2014-11-13/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, diff --git a/models/apis/fms/2018-01-01/api-2.json b/models/apis/fms/2018-01-01/api-2.json index f786fc03a9f..8810717fd32 100644 --- a/models/apis/fms/2018-01-01/api-2.json +++ b/models/apis/fms/2018-01-01/api-2.json @@ -2315,7 +2315,10 @@ }, "ThirdPartyFirewall":{ "type":"string", - "enum":["PALO_ALTO_NETWORKS_CLOUD_NGFW"] + "enum":[ + "PALO_ALTO_NETWORKS_CLOUD_NGFW", + "FORTIGATE_CLOUD_NATIVE_FIREWALL" + ] }, "ThirdPartyFirewallAssociationStatus":{ "type":"string", diff --git a/models/apis/fms/2018-01-01/endpoint-rule-set-1.json b/models/apis/fms/2018-01-01/endpoint-rule-set-1.json index ca31f741d6a..3851e455a3e 100644 --- a/models/apis/fms/2018-01-01/endpoint-rule-set-1.json +++ b/models/apis/fms/2018-01-01/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", diff --git a/models/apis/fms/2018-01-01/endpoint-tests-1.json b/models/apis/fms/2018-01-01/endpoint-tests-1.json index 86ce25f2cf4..7dfd202b781 100644 --- a/models/apis/fms/2018-01-01/endpoint-tests-1.json +++ b/models/apis/fms/2018-01-01/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-south-1" } }, { @@ -22,8 +22,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-south-1" } }, { @@ -35,8 +35,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-south-1" } }, { @@ -48,8 +48,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-south-1" } }, { @@ -61,8 +61,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-south-1" } }, { @@ -74,8 +74,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-south-1" } }, { @@ -87,8 +87,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-south-1" } }, { @@ -100,8 +100,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-south-1" } }, { @@ -113,8 +113,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-gov-east-1" } }, { @@ -126,8 +126,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-gov-east-1" } }, { @@ -139,8 +139,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-gov-east-1" } }, { @@ -152,8 +152,60 @@ }, "params": { "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fms-fips.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fms-fips.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fms.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fms.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "me-central-1" } }, { @@ -165,8 +217,8 @@ }, "params": { "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ca-central-1" } }, { @@ -178,8 +230,8 @@ }, "params": { "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ca-central-1" } }, { @@ -191,8 +243,8 @@ }, "params": { "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ca-central-1" } }, { @@ -204,8 +256,8 @@ }, "params": { "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ca-central-1" } }, { @@ -217,8 +269,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-central-1" } }, { @@ -230,8 +282,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-central-1" } }, { @@ -243,8 +295,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-central-1" } }, { @@ -256,8 +308,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-central-1" } }, { @@ -269,8 +321,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-west-1" } }, { @@ -282,8 +334,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-west-1" } }, { @@ -295,8 +347,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-west-1" } }, { @@ -308,8 +360,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-west-1" } }, { @@ -321,8 +373,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-west-2" } }, { @@ -334,8 +386,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-west-2" } }, { @@ -347,8 +399,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-west-2" } }, { @@ -360,8 +412,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-west-2" } }, { @@ -373,8 +425,8 @@ }, "params": { "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "af-south-1" } }, { @@ -386,8 +438,8 @@ }, "params": { "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "af-south-1" } }, { @@ -399,8 +451,8 @@ }, "params": { "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "af-south-1" } }, { @@ -412,8 +464,8 @@ }, "params": { "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "af-south-1" } }, { @@ -425,8 +477,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-north-1" } }, { @@ -438,8 +490,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-north-1" } }, { @@ -451,8 +503,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-north-1" } }, { @@ -464,8 +516,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-north-1" } }, { @@ -477,8 +529,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-west-3" } }, { @@ -490,8 +542,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-west-3" } }, { @@ -503,8 +555,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-west-3" } }, { @@ -516,8 +568,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-west-3" } }, { @@ -529,8 +581,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-west-2" } }, { @@ -542,8 +594,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-west-2" } }, { @@ -555,8 +607,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-west-2" } }, { @@ -568,8 +620,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-west-2" } }, { @@ -581,8 +633,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-west-1" } }, { @@ -594,8 +646,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-west-1" } }, { @@ -607,8 +659,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-west-1" } }, { @@ -620,8 +672,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-west-1" } }, { @@ -633,8 +685,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-northeast-3" } }, { @@ -646,8 +698,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-northeast-3" } }, { @@ -659,8 +711,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-northeast-3" } }, { @@ -672,8 +724,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-northeast-3" } }, { @@ -685,8 +737,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-northeast-2" } }, { @@ -698,8 +750,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-northeast-2" } }, { @@ -711,8 +763,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-northeast-2" } }, { @@ -724,8 +776,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-northeast-2" } }, { @@ -737,8 +789,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-northeast-1" } }, { @@ -750,8 +802,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-northeast-1" } }, { @@ -763,8 +815,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-northeast-1" } }, { @@ -776,8 +828,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-northeast-1" } }, { @@ -789,8 +841,8 @@ }, "params": { "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "me-south-1" } }, { @@ -802,8 +854,8 @@ }, "params": { "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "me-south-1" } }, { @@ -815,8 +867,8 @@ }, "params": { "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "me-south-1" } }, { @@ -828,8 +880,8 @@ }, "params": { "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "me-south-1" } }, { @@ -841,8 +893,8 @@ }, "params": { "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "sa-east-1" } }, { @@ -854,8 +906,8 @@ }, "params": { "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "sa-east-1" } }, { @@ -867,8 +919,8 @@ }, "params": { "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "sa-east-1" } }, { @@ -880,8 +932,8 @@ }, "params": { "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "sa-east-1" } }, { @@ -893,8 +945,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-east-1" } }, { @@ -906,8 +958,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-east-1" } }, { @@ -919,8 +971,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-east-1" } }, { @@ -932,8 +984,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-east-1" } }, { @@ -945,8 +997,8 @@ }, "params": { "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "cn-north-1" } }, { @@ -958,8 +1010,8 @@ }, "params": { "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "cn-north-1" } }, { @@ -971,8 +1023,8 @@ }, "params": { "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "cn-north-1" } }, { @@ -984,8 +1036,8 @@ }, "params": { "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "cn-north-1" } }, { @@ -997,8 +1049,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-gov-west-1" } }, { @@ -1010,8 +1062,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-gov-west-1" } }, { @@ -1023,8 +1075,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-gov-west-1" } }, { @@ -1036,8 +1088,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-gov-west-1" } }, { @@ -1049,8 +1101,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-southeast-1" } }, { @@ -1062,8 +1114,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-southeast-1" } }, { @@ -1075,8 +1127,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-southeast-1" } }, { @@ -1088,8 +1140,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-southeast-1" } }, { @@ -1101,8 +1153,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-southeast-2" } }, { @@ -1114,8 +1166,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-southeast-2" } }, { @@ -1127,8 +1179,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-southeast-2" } }, { @@ -1140,8 +1192,60 @@ }, "params": { "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fms-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fms-fips.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://fms.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fms.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "ap-southeast-3" } }, { @@ -1153,8 +1257,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-east-1" } }, { @@ -1166,8 +1270,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-east-1" } }, { @@ -1179,8 +1283,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-east-1" } }, { @@ -1192,8 +1296,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-east-1" } }, { @@ -1205,8 +1309,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-east-2" } }, { @@ -1218,8 +1322,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-east-2" } }, { @@ -1231,8 +1335,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-east-2" } }, { @@ -1244,8 +1348,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-east-2" } }, { @@ -1257,8 +1361,8 @@ }, "params": { "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "cn-northwest-1" } }, { @@ -1270,8 +1374,8 @@ }, "params": { "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "cn-northwest-1" } }, { @@ -1283,8 +1387,8 @@ }, "params": { "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "cn-northwest-1" } }, { @@ -1296,8 +1400,8 @@ }, "params": { "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "cn-northwest-1" } }, { @@ -1309,8 +1413,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1321,8 +1425,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1333,8 +1437,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } } diff --git a/models/apis/mediaconvert/2017-08-29/api-2.json b/models/apis/mediaconvert/2017-08-29/api-2.json index 1dc253a9310..3456c453b67 100644 --- a/models/apis/mediaconvert/2017-08-29/api-2.json +++ b/models/apis/mediaconvert/2017-08-29/api-2.json @@ -2441,6 +2441,10 @@ "shape": "__doubleMin0Max2147483647", "locationName": "minFinalSegmentLength" }, + "MpdManifestBandwidthType": { + "shape": "CmafMpdManifestBandwidthType", + "locationName": "mpdManifestBandwidthType" + }, "MpdProfile": { "shape": "CmafMpdProfile", "locationName": "mpdProfile" @@ -2469,6 +2473,10 @@ "shape": "CmafTargetDurationCompatibilityMode", "locationName": "targetDurationCompatibilityMode" }, + "VideoCompositionOffsets": { + "shape": "CmafVideoCompositionOffsets", + "locationName": "videoCompositionOffsets" + }, "WriteDashManifest": { "shape": "CmafWriteDASHManifest", "locationName": "writeDashManifest" @@ -2556,6 +2564,13 @@ "INTEGER" ] }, + "CmafMpdManifestBandwidthType": { + "type": "string", + "enum": [ + "AVERAGE", + "MAX" + ] + }, "CmafMpdProfile": { "type": "string", "enum": [ @@ -2598,6 +2613,13 @@ "SPEC_COMPLIANT" ] }, + "CmafVideoCompositionOffsets": { + "type": "string", + "enum": [ + "SIGNED", + "UNSIGNED" + ] + }, "CmafWriteDASHManifest": { "type": "string", "enum": [ @@ -2655,6 +2677,13 @@ "NONE" ] }, + "CmfcManifestMetadataSignaling": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] + }, "CmfcScte35Esam": { "type": "string", "enum": [ @@ -2700,6 +2729,10 @@ "shape": "CmfcKlvMetadata", "locationName": "klvMetadata" }, + "ManifestMetadataSignaling": { + "shape": "CmfcManifestMetadataSignaling", + "locationName": "manifestMetadataSignaling" + }, "Scte35Esam": { "shape": "CmfcScte35Esam", "locationName": "scte35Esam" @@ -2711,6 +2744,18 @@ "TimedMetadata": { "shape": "CmfcTimedMetadata", "locationName": "timedMetadata" + }, + "TimedMetadataBoxVersion": { + "shape": "CmfcTimedMetadataBoxVersion", + "locationName": "timedMetadataBoxVersion" + }, + "TimedMetadataSchemeIdUri": { + "shape": "__stringMax1000", + "locationName": "timedMetadataSchemeIdUri" + }, + "TimedMetadataValue": { + "shape": "__stringMax1000", + "locationName": "timedMetadataValue" } } }, @@ -2721,6 +2766,13 @@ "NONE" ] }, + "CmfcTimedMetadataBoxVersion": { + "type": "string", + "enum": [ + "VERSION_0", + "VERSION_1" + ] + }, "ColorCorrector": { "type": "structure", "members": { @@ -3171,6 +3223,10 @@ "shape": "__doubleMin0Max2147483647", "locationName": "minFinalSegmentLength" }, + "MpdManifestBandwidthType": { + "shape": "DashIsoMpdManifestBandwidthType", + "locationName": "mpdManifestBandwidthType" + }, "MpdProfile": { "shape": "DashIsoMpdProfile", "locationName": "mpdProfile" @@ -3191,6 +3247,10 @@ "shape": "DashIsoSegmentLengthControl", "locationName": "segmentLengthControl" }, + "VideoCompositionOffsets": { + "shape": "DashIsoVideoCompositionOffsets", + "locationName": "videoCompositionOffsets" + }, "WriteSegmentTimelineInRepresentation": { "shape": "DashIsoWriteSegmentTimelineInRepresentation", "locationName": "writeSegmentTimelineInRepresentation" @@ -3249,6 +3309,13 @@ "FOLLOW_CUSTOM" ] }, + "DashIsoMpdManifestBandwidthType": { + "type": "string", + "enum": [ + "AVERAGE", + "MAX" + ] + }, "DashIsoMpdProfile": { "type": "string", "enum": [ @@ -3284,6 +3351,13 @@ "GOP_MULTIPLE" ] }, + "DashIsoVideoCompositionOffsets": { + "type": "string", + "enum": [ + "SIGNED", + "UNSIGNED" + ] + }, "DashIsoWriteSegmentTimelineInRepresentation": { "type": "string", "enum": [ @@ -7665,6 +7739,13 @@ "PASSTHROUGH" ] }, + "MpdManifestMetadataSignaling": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] + }, "MpdScte35Esam": { "type": "string", "enum": [ @@ -7698,6 +7779,10 @@ "shape": "MpdKlvMetadata", "locationName": "klvMetadata" }, + "ManifestMetadataSignaling": { + "shape": "MpdManifestMetadataSignaling", + "locationName": "manifestMetadataSignaling" + }, "Scte35Esam": { "shape": "MpdScte35Esam", "locationName": "scte35Esam" @@ -7709,6 +7794,18 @@ "TimedMetadata": { "shape": "MpdTimedMetadata", "locationName": "timedMetadata" + }, + "TimedMetadataBoxVersion": { + "shape": "MpdTimedMetadataBoxVersion", + "locationName": "timedMetadataBoxVersion" + }, + "TimedMetadataSchemeIdUri": { + "shape": "__stringMax1000", + "locationName": "timedMetadataSchemeIdUri" + }, + "TimedMetadataValue": { + "shape": "__stringMax1000", + "locationName": "timedMetadataValue" } } }, @@ -7719,6 +7816,13 @@ "NONE" ] }, + "MpdTimedMetadataBoxVersion": { + "type": "string", + "enum": [ + "VERSION_0", + "VERSION_1" + ] + }, "Mpeg2AdaptiveQuantization": { "type": "string", "enum": [ @@ -11282,6 +11386,10 @@ "__string": { "type": "string" }, + "__stringMax1000": { + "type": "string", + "max": 1000 + }, "__stringMin0": { "type": "string", "min": 0 diff --git a/models/apis/mediaconvert/2017-08-29/docs-2.json b/models/apis/mediaconvert/2017-08-29/docs-2.json index 63fb666d2e9..44eff7f6198 100644 --- a/models/apis/mediaconvert/2017-08-29/docs-2.json +++ b/models/apis/mediaconvert/2017-08-29/docs-2.json @@ -33,9 +33,9 @@ }, "shapes": { "AacAudioDescriptionBroadcasterMix": { - "base": "Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains \"broadcaster mixed AD\". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.", + "base": "Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains \"broadcaster mixed AD\". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.", "refs": { - "AacSettings$AudioDescriptionBroadcasterMix": "Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains \"broadcaster mixed AD\". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType." + "AacSettings$AudioDescriptionBroadcasterMix": "Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains \"broadcaster mixed AD\". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType." } }, "AacCodecProfile": { @@ -45,9 +45,9 @@ } }, "AacCodingMode": { - "base": "Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. \"1.0 - Audio Description (Receiver Mix)\" setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.", + "base": "The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in your AAC output. Valid coding modes depend on the Rate control mode and Profile that you select. The following list shows the number of audio channels and channel layout for each coding mode. * 1.0 Audio Description (Receiver Mix): One channel, C. Includes audio description data from your stereo input. For more information see ETSI TS 101 154 Annex E. * 1.0 Mono: One channel, C. * 2.0 Stereo: Two channels, L, R. * 5.1 Surround: Five channels, C, L, R, Ls, Rs, LFE.", "refs": { - "AacSettings$CodingMode": "Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. \"1.0 - Audio Description (Receiver Mix)\" setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E." + "AacSettings$CodingMode": "The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in your AAC output. Valid coding modes depend on the Rate control mode and Profile that you select. The following list shows the number of audio channels and channel layout for each coding mode. * 1.0 Audio Description (Receiver Mix): One channel, C. Includes audio description data from your stereo input. For more information see ETSI TS 101 154 Annex E. * 1.0 Mono: One channel, C. * 2.0 Stereo: Two channels, L, R. * 5.1 Surround: Five channels, C, L, R, Ls, Rs, LFE." } }, "AacRateControlMode": { @@ -658,6 +658,12 @@ "CmafGroupSettings$ManifestDurationFormat": "Indicates whether the output manifest should use floating point values for segment duration." } }, + "CmafMpdManifestBandwidthType": { + "base": "Specify how the value for bandwidth is determined for each video Representation in your output MPD manifest. We recommend that you choose a MPD manifest bandwidth type that is compatible with your downstream player configuration. Max: Use the same value that you specify for Max bitrate in the video output, in bits per second. Average: Use the calculated average bitrate of the encoded video output, in bits per second.", + "refs": { + "CmafGroupSettings$MpdManifestBandwidthType": "Specify how the value for bandwidth is determined for each video Representation in your output MPD manifest. We recommend that you choose a MPD manifest bandwidth type that is compatible with your downstream player configuration. Max: Use the same value that you specify for Max bitrate in the video output, in bits per second. Average: Use the calculated average bitrate of the encoded video output, in bits per second." + } + }, "CmafMpdProfile": { "base": "Specify whether your DASH profile is on-demand or main. When you choose Main profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control (SegmentControl) to Single file (SINGLE_FILE).", "refs": { @@ -694,6 +700,12 @@ "CmafGroupSettings$TargetDurationCompatibilityMode": "When set to LEGACY, the segment target duration is always rounded up to the nearest integer value above its current value in seconds. When set to SPEC\\\\_COMPLIANT, the segment target duration is rounded up to the nearest integer value if fraction seconds are greater than or equal to 0.5 (>= 0.5) and rounded down if less than 0.5 (< 0.5). You may need to use LEGACY if your client needs to ensure that the target duration is always longer than the actual duration of the segment. Some older players may experience interrupted playback when the actual duration of a track in a segment is longer than the target duration." } }, + "CmafVideoCompositionOffsets": { + "base": "Specify the video sample composition time offset mode in the output fMP4 TRUN box. For wider player compatibility, set Video composition offsets to Unsigned or leave blank. The earliest presentation time may be greater than zero, and sample composition time offsets will increment using unsigned integers. For strict fMP4 video and audio timing, set Video composition offsets to Signed. The earliest presentation time will be equal to zero, and sample composition time offsets will increment using signed integers.", + "refs": { + "CmafGroupSettings$VideoCompositionOffsets": "Specify the video sample composition time offset mode in the output fMP4 TRUN box. For wider player compatibility, set Video composition offsets to Unsigned or leave blank. The earliest presentation time may be greater than zero, and sample composition time offsets will increment using unsigned integers. For strict fMP4 video and audio timing, set Video composition offsets to Signed. The earliest presentation time will be equal to zero, and sample composition time offsets will increment using signed integers." + } + }, "CmafWriteDASHManifest": { "base": "When set to ENABLED, a DASH MPD manifest will be generated for this output.", "refs": { @@ -743,6 +755,12 @@ "CmfcSettings$KlvMetadata": "To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and writes each instance to a separate event message box in the output, according to MISB ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank." } }, + "CmfcManifestMetadataSignaling": { + "base": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled.", + "refs": { + "CmfcSettings$ManifestMetadataSignaling": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled." + } + }, "CmfcScte35Esam": { "base": "Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT to put SCTE-35 markers in this output at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).", "refs": { @@ -767,6 +785,12 @@ "CmfcSettings$TimedMetadata": "To include ID3 metadata in this output: Set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH). Specify this ID3 metadata in Custom ID3 metadata inserter (timedMetadataInsertion). MediaConvert writes each instance of ID3 metadata in a separate Event Message (eMSG) box. To exclude this ID3 metadata: Set ID3 metadata to None (NONE) or leave blank." } }, + "CmfcTimedMetadataBoxVersion": { + "base": "Specify the event message box (eMSG) version for ID3 timed metadata in your output.\nFor more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 Syntax.\nLeave blank to use the default value Version 0.\nWhen you specify Version 1, you must also set ID3 metadata (timedMetadata) to Passthrough.", + "refs": { + "CmfcSettings$TimedMetadataBoxVersion": "Specify the event message box (eMSG) version for ID3 timed metadata in your output.\nFor more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 Syntax.\nLeave blank to use the default value Version 0.\nWhen you specify Version 1, you must also set ID3 metadata (timedMetadata) to Passthrough." + } + }, "ColorCorrector": { "base": "Settings for color correction.", "refs": { @@ -916,6 +940,12 @@ "DashIsoImageBasedTrickPlaySettings$IntervalCadence": "The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval." } }, + "DashIsoMpdManifestBandwidthType": { + "base": "Specify how the value for bandwidth is determined for each video Representation in your output MPD manifest. We recommend that you choose a MPD manifest bandwidth type that is compatible with your downstream player configuration. Max: Use the same value that you specify for Max bitrate in the video output, in bits per second. Average: Use the calculated average bitrate of the encoded video output, in bits per second.", + "refs": { + "DashIsoGroupSettings$MpdManifestBandwidthType": "Specify how the value for bandwidth is determined for each video Representation in your output MPD manifest. We recommend that you choose a MPD manifest bandwidth type that is compatible with your downstream player configuration. Max: Use the same value that you specify for Max bitrate in the video output, in bits per second. Average: Use the calculated average bitrate of the encoded video output, in bits per second." + } + }, "DashIsoMpdProfile": { "base": "Specify whether your DASH profile is on-demand or main. When you choose Main profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control (SegmentControl) to Single file (SINGLE_FILE).", "refs": { @@ -946,6 +976,12 @@ "DashIsoGroupSettings$SegmentLengthControl": "Specify how you want MediaConvert to determine the segment length. Choose Exact (EXACT) to have the encoder use the exact length that you specify with the setting Segment length (SegmentLength). This might result in extra I-frames. Choose Multiple of GOP (GOP_MULTIPLE) to have the encoder round up the segment lengths to match the next GOP boundary." } }, + "DashIsoVideoCompositionOffsets": { + "base": "Specify the video sample composition time offset mode in the output fMP4 TRUN box. For wider player compatibility, set Video composition offsets to Unsigned or leave blank. The earliest presentation time may be greater than zero, and sample composition time offsets will increment using unsigned integers. For strict fMP4 video and audio timing, set Video composition offsets to Signed. The earliest presentation time will be equal to zero, and sample composition time offsets will increment using signed integers.", + "refs": { + "DashIsoGroupSettings$VideoCompositionOffsets": "Specify the video sample composition time offset mode in the output fMP4 TRUN box. For wider player compatibility, set Video composition offsets to Unsigned or leave blank. The earliest presentation time may be greater than zero, and sample composition time offsets will increment using unsigned integers. For strict fMP4 video and audio timing, set Video composition offsets to Signed. The earliest presentation time will be equal to zero, and sample composition time offsets will increment using signed integers." + } + }, "DashIsoWriteSegmentTimelineInRepresentation": { "base": "When you enable Precise segment duration in manifests (writeSegmentTimelineInRepresentation), your DASH manifest shows precise segment durations. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When this feature isn't enabled, the segment durations in your DASH manifest are approximate. The segment duration information appears in the duration attribute of the SegmentTemplate element.", "refs": { @@ -2603,6 +2639,12 @@ "MpdSettings$KlvMetadata": "To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and writes each instance to a separate event message box in the output, according to MISB ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank." } }, + "MpdManifestMetadataSignaling": { + "base": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled.", + "refs": { + "MpdSettings$ManifestMetadataSignaling": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled." + } + }, "MpdScte35Esam": { "base": "Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT to put SCTE-35 markers in this output at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).", "refs": { @@ -2627,6 +2669,12 @@ "MpdSettings$TimedMetadata": "To include ID3 metadata in this output: Set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH). Specify this ID3 metadata in Custom ID3 metadata inserter (timedMetadataInsertion). MediaConvert writes each instance of ID3 metadata in a separate Event Message (eMSG) box. To exclude this ID3 metadata: Set ID3 metadata to None (NONE) or leave blank." } }, + "MpdTimedMetadataBoxVersion": { + "base": "Specify the event message box (eMSG) version for ID3 timed metadata in your output.\nFor more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 Syntax.\nLeave blank to use the default value Version 0.\nWhen you specify Version 1, you must also set ID3 metadata (timedMetadata) to Passthrough.", + "refs": { + "MpdSettings$TimedMetadataBoxVersion": "Specify the event message box (eMSG) version for ID3 timed metadata in your output.\nFor more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 Syntax.\nLeave blank to use the default value Version 0.\nWhen you specify Version 1, you must also set ID3 metadata (timedMetadata) to Passthrough." + } + }, "Mpeg2AdaptiveQuantization": { "base": "Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to the following settings: Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization).", "refs": { @@ -2730,9 +2778,9 @@ } }, "Mpeg2Syntax": { - "base": "Specify whether this output's video uses the D10 syntax. Keep the default value to not use the syntax. Related settings: When you choose D10 (D_10) for your MXF profile (profile), you must also set this value to to D10 (D_10).", + "base": "Specify whether this output's video uses the D10 syntax. Keep the default value to not use the syntax. Related settings: When you choose D10 (D_10) for your MXF profile (profile), you must also set this value to D10 (D_10).", "refs": { - "Mpeg2Settings$Syntax": "Specify whether this output's video uses the D10 syntax. Keep the default value to not use the syntax. Related settings: When you choose D10 (D_10) for your MXF profile (profile), you must also set this value to to D10 (D_10)." + "Mpeg2Settings$Syntax": "Specify whether this output's video uses the D10 syntax. Keep the default value to not use the syntax. Related settings: When you choose D10 (D_10) for your MXF profile (profile), you must also set this value to D10 (D_10)." } }, "Mpeg2Telecine": { @@ -4574,7 +4622,7 @@ "__integerMin8000Max96000": { "base": null, "refs": { - "AacSettings$SampleRate": "Sample rate in Hz. Valid values depend on rate control mode and profile." + "AacSettings$SampleRate": "Specify the Sample rate in Hz. Valid sample rates depend on the Profile and Coding mode that you select. The following list shows valid sample rates for each Profile and Coding mode. * LC Profile, Coding mode 1.0, 2.0, and Receiver Mix: 8000, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000. * LC Profile, Coding mode 5.1: 32000, 44100, 48000, 96000. * HEV1 Profile, Coding mode 1.0 and Receiver Mix: 22050, 24000, 32000, 44100, 48000. * HEV1 Profile, Coding mode 2.0 and 5.1: 32000, 44100, 48000, 96000. * HEV2 Profile, Coding mode 2.0: 22050, 24000, 32000, 44100, 48000." } }, "__integerMin8Max12": { @@ -5061,6 +5109,15 @@ "__mapOf__string$member": null } }, + "__stringMax1000": { + "base": null, + "refs": { + "CmfcSettings$TimedMetadataSchemeIdUri": "Specify the event message box (eMSG) scheme ID URI (scheme_id_uri) for ID3 timed metadata in your output. For more informaiton, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 Semantics. Leave blank to use the default value: https://aomedia.org/emsg/ID3 When you specify a value for ID3 metadata scheme ID URI, you must also set ID3 metadata (timedMetadata) to Passthrough.", + "CmfcSettings$TimedMetadataValue": "Specify the event message box (eMSG) value for ID3 timed metadata in your output. For more informaiton, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 Semantics. When you specify a value for ID3 Metadata Value, you must also set ID3 metadata (timedMetadata) to Passthrough.", + "MpdSettings$TimedMetadataSchemeIdUri": "Specify the event message box (eMSG) scheme ID URI (scheme_id_uri) for ID3 timed metadata in your output. For more informaiton, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 Semantics. Leave blank to use the default value: https://aomedia.org/emsg/ID3 When you specify a value for ID3 metadata scheme ID URI, you must also set ID3 metadata (timedMetadata) to Passthrough.", + "MpdSettings$TimedMetadataValue": "Specify the event message box (eMSG) value for ID3 timed metadata in your output. For more informaiton, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 Semantics. When you specify a value for ID3 Metadata Value, you must also set ID3 metadata (timedMetadata) to Passthrough." + } + }, "__stringMin0": { "base": null, "refs": { diff --git a/models/apis/mediaconvert/2017-08-29/endpoint-tests-1.json b/models/apis/mediaconvert/2017-08-29/endpoint-tests-1.json index 1bc91f31be2..feb750dc09a 100644 --- a/models/apis/mediaconvert/2017-08-29/endpoint-tests-1.json +++ b/models/apis/mediaconvert/2017-08-29/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { - "Region": "ap-south-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -21,9 +21,9 @@ } }, "params": { - "Region": "ap-south-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -34,9 +34,9 @@ } }, "params": { - "Region": "ap-south-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -47,9 +47,9 @@ } }, "params": { - "Region": "ap-south-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -60,9 +60,9 @@ } }, "params": { - "Region": "ca-central-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -73,9 +73,9 @@ } }, "params": { - "Region": "ca-central-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -86,9 +86,9 @@ } }, "params": { - "Region": "ca-central-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -99,9 +99,9 @@ } }, "params": { - "Region": "ca-central-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -112,9 +112,9 @@ } }, "params": { - "Region": "eu-central-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -125,9 +125,9 @@ } }, "params": { - "Region": "eu-central-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -138,9 +138,9 @@ } }, "params": { - "Region": "eu-central-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -151,9 +151,9 @@ } }, "params": { - "Region": "eu-central-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -164,9 +164,9 @@ } }, "params": { - "Region": "us-west-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -177,9 +177,9 @@ } }, "params": { - "Region": "us-west-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -190,9 +190,9 @@ } }, "params": { - "Region": "us-west-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -203,9 +203,9 @@ } }, "params": { - "Region": "us-west-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -216,9 +216,9 @@ } }, "params": { - "Region": "us-west-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -229,9 +229,9 @@ } }, "params": { - "Region": "us-west-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -242,9 +242,9 @@ } }, "params": { - "Region": "us-west-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -255,9 +255,9 @@ } }, "params": { - "Region": "us-west-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -268,9 +268,9 @@ } }, "params": { - "Region": "af-south-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -281,9 +281,9 @@ } }, "params": { - "Region": "af-south-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -294,9 +294,9 @@ } }, "params": { - "Region": "af-south-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -307,9 +307,9 @@ } }, "params": { - "Region": "af-south-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -320,9 +320,9 @@ } }, "params": { - "Region": "eu-north-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -333,9 +333,9 @@ } }, "params": { - "Region": "eu-north-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -346,9 +346,9 @@ } }, "params": { - "Region": "eu-north-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -359,9 +359,9 @@ } }, "params": { - "Region": "eu-north-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -372,9 +372,9 @@ } }, "params": { - "Region": "eu-west-3", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -385,9 +385,9 @@ } }, "params": { - "Region": "eu-west-3", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -398,9 +398,9 @@ } }, "params": { - "Region": "eu-west-3", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -411,9 +411,9 @@ } }, "params": { - "Region": "eu-west-3", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -424,9 +424,9 @@ } }, "params": { - "Region": "eu-west-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -437,9 +437,9 @@ } }, "params": { - "Region": "eu-west-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -450,9 +450,9 @@ } }, "params": { - "Region": "eu-west-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -463,9 +463,9 @@ } }, "params": { - "Region": "eu-west-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -476,9 +476,9 @@ } }, "params": { - "Region": "eu-west-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -489,9 +489,9 @@ } }, "params": { - "Region": "eu-west-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -502,9 +502,9 @@ } }, "params": { - "Region": "eu-west-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -515,9 +515,9 @@ } }, "params": { - "Region": "eu-west-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -528,9 +528,9 @@ } }, "params": { - "Region": "ap-northeast-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -541,9 +541,9 @@ } }, "params": { - "Region": "ap-northeast-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -554,9 +554,9 @@ } }, "params": { - "Region": "ap-northeast-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -567,9 +567,9 @@ } }, "params": { - "Region": "ap-northeast-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -580,9 +580,9 @@ } }, "params": { - "Region": "ap-northeast-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -593,9 +593,9 @@ } }, "params": { - "Region": "ap-northeast-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -606,9 +606,9 @@ } }, "params": { - "Region": "ap-northeast-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -619,9 +619,9 @@ } }, "params": { - "Region": "ap-northeast-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -632,9 +632,9 @@ } }, "params": { - "Region": "sa-east-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -645,9 +645,9 @@ } }, "params": { - "Region": "sa-east-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -658,9 +658,9 @@ } }, "params": { - "Region": "sa-east-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -671,9 +671,9 @@ } }, "params": { - "Region": "sa-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -684,9 +684,9 @@ } }, "params": { - "Region": "us-gov-west-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -697,9 +697,9 @@ } }, "params": { - "Region": "us-gov-west-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -710,9 +710,9 @@ } }, "params": { - "Region": "us-gov-west-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -723,9 +723,9 @@ } }, "params": { - "Region": "us-gov-west-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -736,9 +736,9 @@ } }, "params": { - "Region": "ap-southeast-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -749,9 +749,9 @@ } }, "params": { - "Region": "ap-southeast-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -762,9 +762,9 @@ } }, "params": { - "Region": "ap-southeast-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -775,9 +775,9 @@ } }, "params": { - "Region": "ap-southeast-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -788,9 +788,9 @@ } }, "params": { - "Region": "ap-southeast-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -801,9 +801,9 @@ } }, "params": { - "Region": "ap-southeast-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -814,9 +814,9 @@ } }, "params": { - "Region": "ap-southeast-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -827,9 +827,9 @@ } }, "params": { - "Region": "ap-southeast-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -838,9 +838,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-iso-east-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -851,9 +851,9 @@ } }, "params": { - "Region": "us-iso-east-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -862,9 +862,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "Region": "us-iso-east-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -875,9 +875,9 @@ } }, "params": { - "Region": "us-iso-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -888,9 +888,9 @@ } }, "params": { - "Region": "us-east-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -901,9 +901,9 @@ } }, "params": { - "Region": "us-east-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -914,9 +914,9 @@ } }, "params": { - "Region": "us-east-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -927,9 +927,9 @@ } }, "params": { - "Region": "us-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -940,9 +940,9 @@ } }, "params": { - "Region": "us-east-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -953,9 +953,9 @@ } }, "params": { - "Region": "us-east-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -966,9 +966,9 @@ } }, "params": { - "Region": "us-east-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -979,9 +979,9 @@ } }, "params": { - "Region": "us-east-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -992,9 +992,9 @@ } }, "params": { - "Region": "cn-northwest-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1005,9 +1005,9 @@ } }, "params": { - "Region": "cn-northwest-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1018,9 +1018,9 @@ } }, "params": { - "Region": "cn-northwest-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1031,9 +1031,9 @@ } }, "params": { - "Region": "cn-northwest-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1042,9 +1042,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-isob-east-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1055,9 +1055,9 @@ } }, "params": { - "Region": "us-isob-east-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1066,9 +1066,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "Region": "us-isob-east-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1079,9 +1079,9 @@ } }, "params": { - "Region": "us-isob-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1092,9 +1092,9 @@ } }, "params": { - "Region": "us-east-1", - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1104,9 +1104,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "Region": "us-east-1", - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1116,9 +1116,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "Region": "us-east-1", - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } } diff --git a/models/apis/medialive/2017-10-14/api-2.json b/models/apis/medialive/2017-10-14/api-2.json index b51a351b79d..bd7b2027ecc 100644 --- a/models/apis/medialive/2017-10-14/api-2.json +++ b/models/apis/medialive/2017-10-14/api-2.json @@ -6047,12 +6047,12 @@ "shape": "__integerMinNegative1000Max1000", "locationName": "adAvailOffset" }, - "Password": { + "PasswordParam": { "shape": "__string", - "locationName": "password" + "locationName": "passwordParam" }, "PoisEndpoint": { - "shape": "__string", + "shape": "__stringMax2048", "locationName": "poisEndpoint" }, "Username": { diff --git a/models/apis/medialive/2017-10-14/docs-2.json b/models/apis/medialive/2017-10-14/docs-2.json index b4792e69d3e..0aeafb6b3c6 100644 --- a/models/apis/medialive/2017-10-14/docs-2.json +++ b/models/apis/medialive/2017-10-14/docs-2.json @@ -4455,7 +4455,6 @@ "DvbSubDestinationSettings$FontSize": "When set to auto fontSize will scale depending on the size of the output. Giving a positive integer will specify the exact font size in points. All burn-in and DVB-Sub font settings must match.", "EbuTtDDestinationSettings$FontFamily": "Specifies the font family to include in the font data attached to the EBU-TT captions. Valid only if styleControl is set to include. If you leave this field empty, the font family is set to \"monospaced\". (If styleControl is set to exclude, the font family is always set to \"monospaced\".)\n\nYou specify only the font family. All other style information (color, bold, position and so on) is copied from the input captions. The size is always set to 100% to allow the downstream player to choose the size.\n\n- Enter a list of font families, as a comma-separated list of font names, in order of preference. The name can be a font family (such as \u201cArial\u201d), or a generic font family (such as \u201cserif\u201d), or \u201cdefault\u201d (to let the downstream player choose the font).\n- Leave blank to set the family to \u201cmonospace\u201d.", "Esam$PasswordParam": "Password if credentials are required to access the POIS endpoint. This is a reference to an AWS parameter store name from which the password can be retrieved. AWS Parameter store format: \"ssm://\"", - "Esam$PoisEndpoint": "The URL of the signal conditioner endpoint on the Placement Opportunity Information System (POIS). MediaLive sends SignalProcessingEvents here when SCTE-35 messages are read.", "Esam$Username": "Username if credentials are required to access the POIS endpoint. This can be either a plaintext username, or a reference to an AWS parameter store name from which the username can be retrieved. AWS Parameter store format: \"ssm://\"", "FixedModeScheduleActionStartSettings$Time": "Start time for the action to start in the channel. (Not the time for the action to be added to the schedule: actions are always added to the schedule immediately.) UTC format: yyyy-mm-ddThh:mm:ss.nnnZ. All the letters are digits (for example, mm might be 01) except for the two constants \"T\" for time and \"Z\" for \"UTC format\".", "Fmp4HlsSettings$AudioRenditionSets": "List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','.", @@ -4645,7 +4644,8 @@ "__stringMax2048": { "base": null, "refs": { - "InputLocation$Uri": "Uniform Resource Identifier - This should be a path to a file accessible to the Live system (eg. a http:// URI) depending on the output type. For example, a RTMP destination should have a uri simliar to: \"rtmp://fmsserver/live\"." + "InputLocation$Uri": "Uniform Resource Identifier - This should be a path to a file accessible to the Live system (eg. a http:// URI) depending on the output type. For example, a RTMP destination should have a uri simliar to: \"rtmp://fmsserver/live\".", + "Esam$PoisEndpoint": "The URL of the signal conditioner endpoint on the Placement Opportunity Information System (POIS). MediaLive sends SignalProcessingEvents here when SCTE-35 messages are read." } }, "__stringMax255": { diff --git a/models/apis/medialive/2017-10-14/endpoint-rule-set-1.json b/models/apis/medialive/2017-10-14/endpoint-rule-set-1.json new file mode 100644 index 00000000000..24fb401c54c --- /dev/null +++ b/models/apis/medialive/2017-10-14/endpoint-rule-set-1.json @@ -0,0 +1,315 @@ +{ + "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" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://medialive-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": [], + "endpoint": { + "url": "https://medialive-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://medialive.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://medialive.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/medialive/2017-10-14/endpoint-tests-1.json b/models/apis/medialive/2017-10-14/endpoint-tests-1.json new file mode 100644 index 00000000000..981d2184981 --- /dev/null +++ b/models/apis/medialive/2017-10-14/endpoint-tests-1.json @@ -0,0 +1,91 @@ +{ + "testCases": [ + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://medialive-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://medialive.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "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": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "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": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/polly/2016-06-10/api-2.json b/models/apis/polly/2016-06-10/api-2.json index 53833678884..a5918a6bfd7 100644 --- a/models/apis/polly/2016-06-10/api-2.json +++ b/models/apis/polly/2016-06-10/api-2.json @@ -380,7 +380,8 @@ "ca-ES", "de-AT", "yue-CN", - "ar-AE" + "ar-AE", + "fi-FI" ] }, "LanguageCodeList":{ diff --git a/models/apis/polly/2016-06-10/endpoint-rule-set-1.json b/models/apis/polly/2016-06-10/endpoint-rule-set-1.json index 6b15cdf7c9a..6977c99a678 100644 --- a/models/apis/polly/2016-06-10/endpoint-rule-set-1.json +++ b/models/apis/polly/2016-06-10/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, diff --git a/models/apis/proton/2020-07-20/api-2.json b/models/apis/proton/2020-07-20/api-2.json index 6a7e3d1d198..68b99e1d54e 100644 --- a/models/apis/proton/2020-07-20/api-2.json +++ b/models/apis/proton/2020-07-20/api-2.json @@ -1524,8 +1524,7 @@ "type":"structure", "required":[ "environmentName", - "managementAccountId", - "roleArn" + "managementAccountId" ], "members":{ "clientToken":{ diff --git a/models/apis/proton/2020-07-20/endpoint-rule-set-1.json b/models/apis/proton/2020-07-20/endpoint-rule-set-1.json index 22c62cfcd50..986847e5b6b 100644 --- a/models/apis/proton/2020-07-20/endpoint-rule-set-1.json +++ b/models/apis/proton/2020-07-20/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, diff --git a/models/apis/proton/2020-07-20/endpoint-tests-1.json b/models/apis/proton/2020-07-20/endpoint-tests-1.json index 215d515363b..2d0f6f89cbd 100644 --- a/models/apis/proton/2020-07-20/endpoint-tests-1.json +++ b/models/apis/proton/2020-07-20/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ca-central-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -21,9 +21,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ca-central-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -34,9 +34,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ca-central-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -47,9 +47,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ca-central-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -60,9 +60,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-central-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -73,9 +73,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-central-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -86,9 +86,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-central-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -99,9 +99,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-central-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -112,9 +112,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-west-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -125,9 +125,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-west-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -138,9 +138,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-west-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -151,9 +151,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-west-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -164,9 +164,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -177,9 +177,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -190,9 +190,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -203,9 +203,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -216,9 +216,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "eu-west-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -229,9 +229,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "eu-west-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -242,9 +242,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "eu-west-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -255,9 +255,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "eu-west-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -268,9 +268,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -281,9 +281,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -294,9 +294,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -307,9 +307,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -320,9 +320,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-northeast-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -333,9 +333,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-northeast-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -346,9 +346,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-northeast-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -359,9 +359,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-northeast-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -372,9 +372,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -385,9 +385,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -398,9 +398,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -411,9 +411,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -424,9 +424,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "ap-southeast-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -437,9 +437,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "ap-southeast-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -450,9 +450,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "ap-southeast-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -463,9 +463,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "ap-southeast-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -476,9 +476,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -489,9 +489,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -502,9 +502,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -515,9 +515,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -528,9 +528,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-east-2", - "UseDualStack": true + "UseFIPS": true } }, { @@ -541,9 +541,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-2", - "UseDualStack": false + "UseFIPS": true } }, { @@ -554,9 +554,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-2", - "UseDualStack": true + "UseFIPS": false } }, { @@ -567,9 +567,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-2", - "UseDualStack": false + "UseFIPS": false } }, { @@ -580,9 +580,9 @@ } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -592,9 +592,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -604,9 +604,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true, + "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } } diff --git a/models/apis/redshift-serverless/2021-04-21/api-2.json b/models/apis/redshift-serverless/2021-04-21/api-2.json index b1cf11e73c8..0c3b817d1c8 100644 --- a/models/apis/redshift-serverless/2021-04-21/api-2.json +++ b/models/apis/redshift-serverless/2021-04-21/api-2.json @@ -26,6 +26,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, + {"shape":"TooManyTagsException"}, {"shape":"ServiceQuotaExceededException"} ] }, @@ -76,6 +77,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, + {"shape":"TooManyTagsException"}, {"shape":"ServiceQuotaExceededException"} ], "idempotent":true @@ -295,6 +297,19 @@ {"shape":"ValidationException"} ] }, + "GetTableRestoreStatus":{ + "name":"GetTableRestoreStatus", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetTableRestoreStatusRequest"}, + "output":{"shape":"GetTableRestoreStatusResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"} + ] + }, "GetUsageLimit":{ "name":"GetUsageLimit", "http":{ @@ -379,6 +394,20 @@ {"shape":"ValidationException"} ] }, + "ListTableRestoreStatus":{ + "name":"ListTableRestoreStatus", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListTableRestoreStatusRequest"}, + "output":{"shape":"ListTableRestoreStatusResponse"}, + "errors":[ + {"shape":"InvalidPaginationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"} + ] + }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ @@ -471,6 +500,21 @@ ], "idempotent":true }, + "RestoreTableFromSnapshot":{ + "name":"RestoreTableFromSnapshot", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"RestoreTableFromSnapshotRequest"}, + "output":{"shape":"RestoreTableFromSnapshotResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ] + }, "TagResource":{ "name":"TagResource", "http":{ @@ -630,7 +674,8 @@ "members":{ "recoveryPointId":{"shape":"String"}, "retentionPeriod":{"shape":"Integer"}, - "snapshotName":{"shape":"String"} + "snapshotName":{"shape":"String"}, + "tags":{"shape":"TagList"} } }, "ConvertRecoveryPointToSnapshotResponse":{ @@ -689,7 +734,8 @@ "members":{ "namespaceName":{"shape":"String"}, "retentionPeriod":{"shape":"Integer"}, - "snapshotName":{"shape":"String"} + "snapshotName":{"shape":"String"}, + "tags":{"shape":"TagList"} } }, "CreateSnapshotResponse":{ @@ -730,6 +776,7 @@ "configParameters":{"shape":"ConfigParameterList"}, "enhancedVpcRouting":{"shape":"Boolean"}, "namespaceName":{"shape":"NamespaceName"}, + "port":{"shape":"Integer"}, "publiclyAccessible":{"shape":"Boolean"}, "securityGroupIds":{"shape":"SecurityGroupIdList"}, "subnetIds":{"shape":"SubnetIdList"}, @@ -949,6 +996,19 @@ "snapshot":{"shape":"Snapshot"} } }, + "GetTableRestoreStatusRequest":{ + "type":"structure", + "required":["tableRestoreRequestId"], + "members":{ + "tableRestoreRequestId":{"shape":"String"} + } + }, + "GetTableRestoreStatusResponse":{ + "type":"structure", + "members":{ + "tableRestoreStatus":{"shape":"TableRestoreStatus"} + } + }, "GetUsageLimitRequest":{ "type":"structure", "required":["usageLimitId"], @@ -1071,6 +1131,7 @@ "shape":"ListRecoveryPointsRequestMaxResultsInteger", "box":true }, + "namespaceArn":{"shape":"String"}, "namespaceName":{"shape":"NamespaceName"}, "nextToken":{"shape":"String"}, "startTime":{"shape":"Timestamp"} @@ -1117,6 +1178,31 @@ "snapshots":{"shape":"SnapshotList"} } }, + "ListTableRestoreStatusRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"ListTableRestoreStatusRequestMaxResultsInteger", + "box":true + }, + "namespaceName":{"shape":"String"}, + "nextToken":{"shape":"PaginationToken"}, + "workgroupName":{"shape":"String"} + } + }, + "ListTableRestoreStatusRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "ListTableRestoreStatusResponse":{ + "type":"structure", + "members":{ + "nextToken":{"shape":"PaginationToken"}, + "tableRestoreStatuses":{"shape":"TableRestoreStatusList"} + } + }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], @@ -1271,6 +1357,7 @@ "RecoveryPoint":{ "type":"structure", "members":{ + "namespaceArn":{"shape":"String"}, "namespaceName":{"shape":"NamespaceName"}, "recoveryPointCreateTime":{"shape":"SyntheticTimestamp_date_time"}, "recoveryPointId":{"shape":"String"}, @@ -1340,6 +1427,35 @@ "snapshotName":{"shape":"String"} } }, + "RestoreTableFromSnapshotRequest":{ + "type":"structure", + "required":[ + "namespaceName", + "newTableName", + "snapshotName", + "sourceDatabaseName", + "sourceTableName", + "workgroupName" + ], + "members":{ + "activateCaseSensitiveIdentifier":{"shape":"Boolean"}, + "namespaceName":{"shape":"String"}, + "newTableName":{"shape":"String"}, + "snapshotName":{"shape":"String"}, + "sourceDatabaseName":{"shape":"String"}, + "sourceSchemaName":{"shape":"String"}, + "sourceTableName":{"shape":"String"}, + "targetDatabaseName":{"shape":"String"}, + "targetSchemaName":{"shape":"String"}, + "workgroupName":{"shape":"String"} + } + }, + "RestoreTableFromSnapshotResponse":{ + "type":"structure", + "members":{ + "tableRestoreStatus":{"shape":"TableRestoreStatus"} + } + }, "SecurityGroupId":{"type":"string"}, "SecurityGroupIdList":{ "type":"list", @@ -1403,6 +1519,30 @@ "type":"timestamp", "timestampFormat":"iso8601" }, + "TableRestoreStatus":{ + "type":"structure", + "members":{ + "message":{"shape":"String"}, + "namespaceName":{"shape":"String"}, + "newTableName":{"shape":"String"}, + "progressInMegaBytes":{"shape":"Long"}, + "requestTime":{"shape":"Timestamp"}, + "snapshotName":{"shape":"String"}, + "sourceDatabaseName":{"shape":"String"}, + "sourceSchemaName":{"shape":"String"}, + "sourceTableName":{"shape":"String"}, + "status":{"shape":"String"}, + "tableRestoreRequestId":{"shape":"String"}, + "targetDatabaseName":{"shape":"String"}, + "targetSchemaName":{"shape":"String"}, + "totalDataInMegaBytes":{"shape":"Long"}, + "workgroupName":{"shape":"String"} + } + }, + "TableRestoreStatusList":{ + "type":"list", + "member":{"shape":"TableRestoreStatus"} + }, "Tag":{ "type":"structure", "required":[ @@ -1556,6 +1696,7 @@ "baseCapacity":{"shape":"Integer"}, "configParameters":{"shape":"ConfigParameterList"}, "enhancedVpcRouting":{"shape":"Boolean"}, + "port":{"shape":"Integer"}, "publiclyAccessible":{"shape":"Boolean"}, "securityGroupIds":{"shape":"SecurityGroupIdList"}, "subnetIds":{"shape":"SubnetIdList"}, @@ -1655,6 +1796,7 @@ "endpoint":{"shape":"Endpoint"}, "enhancedVpcRouting":{"shape":"Boolean"}, "namespaceName":{"shape":"String"}, + "port":{"shape":"Integer"}, "publiclyAccessible":{"shape":"Boolean"}, "securityGroupIds":{"shape":"SecurityGroupIdList"}, "status":{"shape":"WorkgroupStatus"}, diff --git a/models/apis/redshift-serverless/2021-04-21/docs-2.json b/models/apis/redshift-serverless/2021-04-21/docs-2.json index 8c50aa175f8..bde4f566cdf 100644 --- a/models/apis/redshift-serverless/2021-04-21/docs-2.json +++ b/models/apis/redshift-serverless/2021-04-21/docs-2.json @@ -14,24 +14,27 @@ "DeleteSnapshot": "

Deletes a snapshot from Amazon Redshift Serverless.

", "DeleteUsageLimit": "

Deletes a usage limit from Amazon Redshift Serverless.

", "DeleteWorkgroup": "

Deletes a workgroup.

", - "GetCredentials": "

Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.

By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).

 <p> The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources. </p> <p> If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p> 
", + "GetCredentials": "

Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.

By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).

 <p>The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources.</p> <p>If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p> 
", "GetEndpointAccess": "

Returns information, such as the name, about a VPC endpoint.

", "GetNamespace": "

Returns information about a namespace in Amazon Redshift Serverless.

", "GetRecoveryPoint": "

Returns information about a recovery point.

", "GetResourcePolicy": "

Returns a resource policy.

", "GetSnapshot": "

Returns information about a specific snapshot.

", + "GetTableRestoreStatus": "

Returns information about a TableRestoreStatus object.

", "GetUsageLimit": "

Returns information about a usage limit.

", "GetWorkgroup": "

Returns information about a specific workgroup.

", "ListEndpointAccess": "

Returns an array of EndpointAccess objects and relevant information.

", "ListNamespaces": "

Returns information about a list of specified namespaces.

", "ListRecoveryPoints": "

Returns an array of recovery points.

", "ListSnapshots": "

Returns a list of snapshots.

", + "ListTableRestoreStatus": "

Returns information about an array of TableRestoreStatus objects.

", "ListTagsForResource": "

Lists the tags assigned to a resource.

", "ListUsageLimits": "

Lists all usage limits within Amazon Redshift Serverless.

", "ListWorkgroups": "

Returns information about a list of specified workgroups.

", "PutResourcePolicy": "

Creates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts.

", "RestoreFromRecoveryPoint": "

Restore the data from a recovery point.

", "RestoreFromSnapshot": "

Restores a namespace from a snapshot.

", + "RestoreTableFromSnapshot": "

Restores a table from a snapshot to your Amazon Redshift Serverless instance.

", "TagResource": "

Assigns one or more tags to a resource.

", "UntagResource": "

Removes a tag or set of tags from a resource.

", "UpdateEndpointAccess": "

Updates an Amazon Redshift Serverless managed endpoint.

", @@ -68,6 +71,7 @@ "refs": { "CreateWorkgroupRequest$enhancedVpcRouting": "

The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.

", "CreateWorkgroupRequest$publiclyAccessible": "

A value that specifies whether the workgroup can be accessed from a public network.

", + "RestoreTableFromSnapshotRequest$activateCaseSensitiveIdentifier": "

Indicates whether name identifiers for database, schema, and table are case sensitive. If true, the names are case sensitive. If false, the names are not case sensitive. The default is false.

", "UpdateWorkgroupRequest$enhancedVpcRouting": "

The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.

", "UpdateWorkgroupRequest$publiclyAccessible": "

A value that specifies whether the workgroup can be accessible from a public network.

", "Workgroup$enhancedVpcRouting": "

The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.

", @@ -156,7 +160,7 @@ "DbName": { "base": null, "refs": { - "GetCredentialsRequest$dbName": "

The name of the database to get temporary authorization to log on to.

Constraints:

" + "GetCredentialsRequest$dbName": "

The name of the database to get temporary authorization to log on to.

Constraints:

" } }, "DbPassword": { @@ -328,6 +332,16 @@ "refs": { } }, + "GetTableRestoreStatusRequest": { + "base": null, + "refs": { + } + }, + "GetTableRestoreStatusResponse": { + "base": null, + "refs": { + } + }, "GetUsageLimitRequest": { "base": null, "refs": { @@ -373,6 +387,7 @@ "ConvertRecoveryPointToSnapshotRequest$retentionPeriod": "

How long to retain the snapshot.

", "CreateSnapshotRequest$retentionPeriod": "

How long to retain the created snapshot.

", "CreateWorkgroupRequest$baseCapacity": "

The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

", + "CreateWorkgroupRequest$port": "

The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.

", "DeleteNamespaceRequest$finalSnapshotRetentionPeriod": "

How long to retain the final snapshot.

", "Endpoint$port": "

The port that Amazon Redshift Serverless listens on.

", "EndpointAccess$port": "

The port number on which Amazon Redshift Serverless accepts incoming connections.

", @@ -381,7 +396,9 @@ "Snapshot$snapshotRetentionPeriod": "

The period of time, in days, of how long the snapshot is retained.

", "UpdateSnapshotRequest$retentionPeriod": "

The new retention period of the snapshot.

", "UpdateWorkgroupRequest$baseCapacity": "

The new base data warehouse capacity in Redshift Processing Units (RPUs).

", - "Workgroup$baseCapacity": "

The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

" + "UpdateWorkgroupRequest$port": "

The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.

", + "Workgroup$baseCapacity": "

The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

", + "Workgroup$port": "

The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.

" } }, "InternalServerException": { @@ -408,7 +425,7 @@ "ListEndpointAccessRequestMaxResultsInteger": { "base": null, "refs": { - "ListEndpointAccessRequest$maxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

" + "ListEndpointAccessRequest$maxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

" } }, "ListEndpointAccessResponse": { @@ -424,7 +441,7 @@ "ListNamespacesRequestMaxResultsInteger": { "base": null, "refs": { - "ListNamespacesRequest$maxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

" + "ListNamespacesRequest$maxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

" } }, "ListNamespacesResponse": { @@ -440,7 +457,7 @@ "ListRecoveryPointsRequestMaxResultsInteger": { "base": null, "refs": { - "ListRecoveryPointsRequest$maxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

" + "ListRecoveryPointsRequest$maxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

" } }, "ListRecoveryPointsResponse": { @@ -456,7 +473,7 @@ "ListSnapshotsRequestMaxResultsInteger": { "base": null, "refs": { - "ListSnapshotsRequest$maxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

" + "ListSnapshotsRequest$maxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

" } }, "ListSnapshotsResponse": { @@ -464,6 +481,22 @@ "refs": { } }, + "ListTableRestoreStatusRequest": { + "base": null, + "refs": { + } + }, + "ListTableRestoreStatusRequestMaxResultsInteger": { + "base": null, + "refs": { + "ListTableRestoreStatusRequest$maxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

" + } + }, + "ListTableRestoreStatusResponse": { + "base": null, + "refs": { + } + }, "ListTagsForResourceRequest": { "base": null, "refs": { @@ -498,7 +531,7 @@ "ListWorkgroupsRequestMaxResultsInteger": { "base": null, "refs": { - "ListWorkgroupsRequest$maxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

" + "ListWorkgroupsRequest$maxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

" } }, "ListWorkgroupsResponse": { @@ -526,7 +559,9 @@ "CreateUsageLimitRequest$amount": "

The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.

", "Snapshot$elapsedTimeInSeconds": "

The amount of time it took to back up data into a snapshot.

", "Snapshot$estimatedSecondsToCompletion": "

The estimated amount of seconds until the snapshot completes backup.

", - "UpdateUsageLimitRequest$amount": "

The new limit amount. For more information about this parameter.

", + "TableRestoreStatus$progressInMegaBytes": "

The amount of data restored to the new table so far, in megabytes (MB).

", + "TableRestoreStatus$totalDataInMegaBytes": "

The total amount of data to restore to the new table, in megabytes (MB).

", + "UpdateUsageLimitRequest$amount": "

The new limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.

", "UsageLimit$amount": "

The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.

" } }, @@ -584,7 +619,9 @@ "PaginationToken": { "base": null, "refs": { - "ListUsageLimitsRequest$nextToken": "

If your initial ListUsageLimits operation returns a nextToken, you can include the returned nextToken in subsequent ListUsageLimits operations, which returns results in the next page.

", + "ListTableRestoreStatusRequest$nextToken": "

If your initial ListTableRestoreStatus operation returns a nextToken, you can include the returned nextToken in following ListTableRestoreStatus operations. This will return results on the next page.

", + "ListTableRestoreStatusResponse$nextToken": "

If your initial ListTableRestoreStatus operation returns a nextToken, you can include the returned nextToken in following ListTableRestoreStatus operations. This will returns results on the next page.

", + "ListUsageLimitsRequest$nextToken": "

If your initial ListUsageLimits operation returns a nextToken, you can include the returned nextToken in following ListUsageLimits operations, which returns results in the next page.

", "ListUsageLimitsResponse$nextToken": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

" } }, @@ -655,6 +692,16 @@ "refs": { } }, + "RestoreTableFromSnapshotRequest": { + "base": null, + "refs": { + } + }, + "RestoreTableFromSnapshotResponse": { + "base": null, + "refs": { + } + }, "SecurityGroupId": { "base": null, "refs": { @@ -731,25 +778,29 @@ "GetSnapshotRequest$ownerAccount": "

The owner Amazon Web Services account of a snapshot shared with another user.

", "GetSnapshotRequest$snapshotArn": "

The Amazon Resource Name (ARN) of the snapshot to return.

", "GetSnapshotRequest$snapshotName": "

The name of the snapshot to return.

", + "GetTableRestoreStatusRequest$tableRestoreRequestId": "

The ID of the RestoreTableFromSnapshot request to return status for.

", "GetUsageLimitRequest$usageLimitId": "

The unique identifier of the usage limit to return information for.

", "InsufficientCapacityException$message": null, "InternalServerException$message": null, "InvalidPaginationException$message": null, - "ListEndpointAccessRequest$nextToken": "

If your initial ListEndpointAccess operation returns a nextToken, you can include the returned nextToken in subsequent ListEndpointAccess operations, which returns results in the next page.

", + "ListEndpointAccessRequest$nextToken": "

If your initial ListEndpointAccess operation returns a nextToken, you can include the returned nextToken in following ListEndpointAccess operations, which returns results in the next page.

", "ListEndpointAccessRequest$vpcId": "

The unique identifier of the virtual private cloud with access to Amazon Redshift Serverless.

", "ListEndpointAccessRequest$workgroupName": "

The name of the workgroup associated with the VPC endpoint to return.

", "ListEndpointAccessResponse$nextToken": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", - "ListNamespacesRequest$nextToken": "

If your initial ListNamespaces operation returns a nextToken, you can include the returned nextToken in subsequent ListNamespaces operations, which returns results in the next page.

", + "ListNamespacesRequest$nextToken": "

If your initial ListNamespaces operation returns a nextToken, you can include the returned nextToken in following ListNamespaces operations, which returns results in the next page.

", "ListNamespacesResponse$nextToken": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", - "ListRecoveryPointsRequest$nextToken": "

If your initial ListRecoveryPoints operation returns a nextToken, you can include the returned nextToken in subsequent ListRecoveryPoints operations, which returns results in the next page.

", + "ListRecoveryPointsRequest$namespaceArn": "

The Amazon Resource Name (ARN) of the namespace from which to list recovery points.

", + "ListRecoveryPointsRequest$nextToken": "

If your initial ListRecoveryPoints operation returns a nextToken, you can include the returned nextToken in following ListRecoveryPoints operations, which returns results in the next page.

", "ListRecoveryPointsResponse$nextToken": "

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", "ListSnapshotsRequest$namespaceArn": "

The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.

", "ListSnapshotsRequest$namespaceName": "

The namespace from which to list all snapshots.

", "ListSnapshotsRequest$nextToken": "

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", "ListSnapshotsRequest$ownerAccount": "

The owner Amazon Web Services account of the snapshot.

", "ListSnapshotsResponse$nextToken": "

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", + "ListTableRestoreStatusRequest$namespaceName": "

The namespace from which to list all of the statuses of RestoreTableFromSnapshot operations .

", + "ListTableRestoreStatusRequest$workgroupName": "

The workgroup from which to list all of the statuses of RestoreTableFromSnapshot operations.

", "ListUsageLimitsRequest$resourceArn": "

The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.

", - "ListWorkgroupsRequest$nextToken": "

If your initial ListWorkgroups operation returns a nextToken, you can include the returned nextToken in subsequent ListNamespaces operations, which returns results in the next page.

", + "ListWorkgroupsRequest$nextToken": "

If your initial ListWorkgroups operation returns a nextToken, you can include the returned nextToken in following ListNamespaces operations, which returns results in the next page.

", "ListWorkgroupsResponse$nextToken": "

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.

", "Namespace$dbName": "

The name of the first database created in the namespace.

", "Namespace$defaultIamRoleArn": "

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

", @@ -762,6 +813,7 @@ "NetworkInterface$subnetId": "

The unique identifier of the subnet.

", "PutResourcePolicyRequest$policy": "

The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.

\"{\\\"Version\\\": \\\"2012-10-17\\\", \\\"Statement\\\" : [{ \\\"Sid\\\": \\\"AllowUserRestoreFromSnapshot\\\", \\\"Principal\\\":{\\\"AWS\\\": [\\\"739247239426\\\"]}, \\\"Action\\\": [\\\"redshift-serverless:RestoreFromSnapshot\\\"] , \\\"Effect\\\": \\\"Allow\\\" }]}\"

", "PutResourcePolicyRequest$resourceArn": "

The Amazon Resource Name (ARN) of the account to create or update a resource policy for.

", + "RecoveryPoint$namespaceArn": "

The Amazon Resource Name (ARN) of the namespace the recovery point is associated with.

", "RecoveryPoint$recoveryPointId": "

The unique identifier of the recovery point.

", "ResourceNotFoundException$message": null, "ResourcePolicy$policy": "

The resource policy.

", @@ -769,10 +821,19 @@ "RestoreFromRecoveryPointRequest$recoveryPointId": "

The unique identifier of the recovery point to restore from.

", "RestoreFromRecoveryPointResponse$recoveryPointId": "

The unique identifier of the recovery point used for the restore.

", "RestoreFromSnapshotRequest$ownerAccount": "

The Amazon Web Services account that owns the snapshot.

", - "RestoreFromSnapshotRequest$snapshotArn": "

The Amazon Resource Name (ARN) of the snapshot to restore from.

", - "RestoreFromSnapshotRequest$snapshotName": "

The name of the snapshot to restore from.

", + "RestoreFromSnapshotRequest$snapshotArn": "

The Amazon Resource Name (ARN) of the snapshot to restore from. Required if restoring from Amazon Redshift Serverless to a provisioned cluster. Must not be specified at the same time as snapshotName.

The format of the ARN is arn:aws:redshift:<region>:<account_id>:snapshot:<cluster_identifier>/<snapshot_identifier>.

", + "RestoreFromSnapshotRequest$snapshotName": "

The name of the snapshot to restore from. Must not be specified at the same time as snapshotArn.

", "RestoreFromSnapshotResponse$ownerAccount": "

The owner Amazon Web Services; account of the snapshot that was restored.

", "RestoreFromSnapshotResponse$snapshotName": "

The name of the snapshot used to restore the namespace.

", + "RestoreTableFromSnapshotRequest$namespaceName": "

The namespace of the snapshot to restore from.

", + "RestoreTableFromSnapshotRequest$newTableName": "

The name of the table to create from the restore operation.

", + "RestoreTableFromSnapshotRequest$snapshotName": "

The name of the snapshot to restore the table from.

", + "RestoreTableFromSnapshotRequest$sourceDatabaseName": "

The name of the source database that contains the table being restored.

", + "RestoreTableFromSnapshotRequest$sourceSchemaName": "

The name of the source schema that contains the table being restored.

", + "RestoreTableFromSnapshotRequest$sourceTableName": "

The name of the source table being restored.

", + "RestoreTableFromSnapshotRequest$targetDatabaseName": "

The name of the database to restore the table to.

", + "RestoreTableFromSnapshotRequest$targetSchemaName": "

The name of the schema to restore the table to.

", + "RestoreTableFromSnapshotRequest$workgroupName": "

The workgroup to restore the table to.

", "ServiceQuotaExceededException$message": null, "Snapshot$adminUsername": "

The username of the database within a snapshot.

", "Snapshot$namespaceArn": "

The Amazon Resource Name (ARN) of the namespace the snapshot was created from.

", @@ -780,6 +841,18 @@ "Snapshot$ownerAccount": "

The owner Amazon Web Services; account of the snapshot.

", "Snapshot$snapshotArn": "

The Amazon Resource Name (ARN) of the snapshot.

", "Snapshot$snapshotName": "

The name of the snapshot.

", + "TableRestoreStatus$message": "

A description of the status of the table restore request. Status values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS.

", + "TableRestoreStatus$namespaceName": "

The namespace of the table being restored from.

", + "TableRestoreStatus$newTableName": "

The name of the table to create from the restore operation.

", + "TableRestoreStatus$snapshotName": "

The name of the snapshot being restored from.

", + "TableRestoreStatus$sourceDatabaseName": "

The name of the source database being restored from.

", + "TableRestoreStatus$sourceSchemaName": "

The name of the source schema being restored from.

", + "TableRestoreStatus$sourceTableName": "

The name of the source table being restored from.

", + "TableRestoreStatus$status": "

A value that describes the current state of the table restore request. Possible values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS.

", + "TableRestoreStatus$tableRestoreRequestId": "

The ID of the RestoreTableFromSnapshot request.

", + "TableRestoreStatus$targetDatabaseName": "

The name of the database to restore to.

", + "TableRestoreStatus$targetSchemaName": "

The name of the schema to restore to.

", + "TableRestoreStatus$workgroupName": "

The name of the workgroup being restored from.

", "ThrottlingException$code": null, "ThrottlingException$message": null, "TooManyTagsException$message": null, @@ -827,6 +900,20 @@ "Workgroup$creationDate": "

The creation date of the workgroup.

" } }, + "TableRestoreStatus": { + "base": "

Contains information about a table restore request.

", + "refs": { + "GetTableRestoreStatusResponse$tableRestoreStatus": "

The returned TableRestoreStatus object that contains information about the status of your RestoreTableFromSnapshot request.

", + "RestoreTableFromSnapshotResponse$tableRestoreStatus": "

The TableRestoreStatus object that contains the status of the restore operation.

", + "TableRestoreStatusList$member": null + } + }, + "TableRestoreStatusList": { + "base": null, + "refs": { + "ListTableRestoreStatusResponse$tableRestoreStatuses": "

The array of returned TableRestoreStatus objects.

" + } + }, "Tag": { "base": "

A map of key-value pairs.

", "refs": { @@ -849,7 +936,9 @@ "TagList": { "base": null, "refs": { + "ConvertRecoveryPointToSnapshotRequest$tags": "

An array of Tag objects to associate with the created snapshot.

", "CreateNamespaceRequest$tags": "

A list of tag instances.

", + "CreateSnapshotRequest$tags": "

An array of Tag objects to associate with the snapshot.

", "CreateWorkgroupRequest$tags": "

A array of tag instances.

", "ListTagsForResourceResponse$tags": "

A map of the key-value pairs assigned to the resource.

", "TagResourceRequest$tags": "

The map of the key-value pairs used to tag the resource.

" @@ -884,7 +973,8 @@ "ListRecoveryPointsRequest$endTime": "

The time when creation of the recovery point finished.

", "ListRecoveryPointsRequest$startTime": "

The time when the recovery point's creation was initiated.

", "ListSnapshotsRequest$endTime": "

The timestamp showing when the snapshot creation finished.

", - "ListSnapshotsRequest$startTime": "

The time when the creation of the snapshot was initiated.

" + "ListSnapshotsRequest$startTime": "

The time when the creation of the snapshot was initiated.

", + "TableRestoreStatus$requestTime": "

The time that the table restore request was made, in Universal Coordinated Time (UTC).

" } }, "TooManyTagsException": { diff --git a/models/apis/redshift-serverless/2021-04-21/endpoint-rule-set-1.json b/models/apis/redshift-serverless/2021-04-21/endpoint-rule-set-1.json new file mode 100644 index 00000000000..b23fa5887ba --- /dev/null +++ b/models/apis/redshift-serverless/2021-04-21/endpoint-rule-set-1.json @@ -0,0 +1,315 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "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" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://redshift-serverless-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": [], + "endpoint": { + "url": "https://redshift-serverless-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://redshift-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://redshift-serverless.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/redshift-serverless/2021-04-21/endpoint-tests-1.json b/models/apis/redshift-serverless/2021-04-21/endpoint-tests-1.json new file mode 100644 index 00000000000..46367910fbd --- /dev/null +++ b/models/apis/redshift-serverless/2021-04-21/endpoint-tests-1.json @@ -0,0 +1,615 @@ +{ + "testCases": [ + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/redshift-serverless/2021-04-21/paginators-1.json b/models/apis/redshift-serverless/2021-04-21/paginators-1.json index cf5163d4501..6eec4209e49 100644 --- a/models/apis/redshift-serverless/2021-04-21/paginators-1.json +++ b/models/apis/redshift-serverless/2021-04-21/paginators-1.json @@ -24,6 +24,12 @@ "limit_key": "maxResults", "result_key": "snapshots" }, + "ListTableRestoreStatus": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "tableRestoreStatuses" + }, "ListUsageLimits": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/models/apis/sns/2010-03-31/docs-2.json b/models/apis/sns/2010-03-31/docs-2.json index ff8b49028fc..10654eb8dc9 100644 --- a/models/apis/sns/2010-03-31/docs-2.json +++ b/models/apis/sns/2010-03-31/docs-2.json @@ -2,7 +2,7 @@ "version": "2.0", "service": "Amazon Simple Notification Service

Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. Applications can use Amazon SNS to easily push real-time notification messages to interested subscribers over multiple delivery protocols. For more information about this product see the Amazon SNS product page. For detailed information about Amazon SNS features and their associated API calls, see the Amazon SNS Developer Guide.

For information on the permissions you need to use this API, see Identity and access management in Amazon SNS in the Amazon SNS Developer Guide.

We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, retrying requests, and handling error responses. For a list of available SDKs, go to Tools for Amazon Web Services.

", "operations": { - "AddPermission": "

Adds a statement to a topic's access control policy, granting access for the specified Amazon Web Services accounts to the specified actions.

", + "AddPermission": "

Adds a statement to a topic's access control policy, granting access for the specified Amazon Web Services accounts to the specified actions.

To remove the ability to change topic permissions, you must deny permissions to the AddPermission, RemovePermission, and SetTopicAttributes actions in your IAM policy.

", "CheckIfPhoneNumberIsOptedOut": "

Accepts a phone number and indicates whether the phone holder has opted out of receiving SMS messages from your Amazon Web Services account. You cannot send SMS messages to a number that is opted out.

To resume sending messages, you can opt in the number by using the OptInPhoneNumber action.

", "ConfirmSubscription": "

Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the AuthenticateOnUnsubscribe flag is set to \"true\".

", "CreatePlatformApplication": "

Creates a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging), to which devices and mobile apps may register. You must specify PlatformPrincipal and PlatformCredential attributes when using the CreatePlatformApplication action.

PlatformPrincipal and PlatformCredential are received from the notification service.

You can use the returned PlatformApplicationArn as an attribute for the CreatePlatformEndpoint action.

", @@ -33,15 +33,15 @@ "Publish": "

Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn).

If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint.

When a messageId is returned, the message is saved and Amazon SNS immediately delivers it to subscribers.

To use the Publish action for publishing a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action.

For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices.

You can publish messages only to topics and endpoints in the same Amazon Web Services Region.

", "PublishBatch": "

Publishes up to ten messages to the specified topic. This is a batch version of Publish. For FIFO topics, multiple messages within a single batch are published in the order they are sent, and messages are deduplicated within the batch and across batches for 5 minutes.

The result of publishing each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

The maximum allowed individual message size and the maximum total payload size (the sum of the individual lengths of all of the batched messages) are both 256 KB (262,144 bytes).

Some actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this:

&AttributeName.1=first

&AttributeName.2=second

If you send a batch message to a topic, Amazon SNS publishes the batch message to each endpoint that is subscribed to the topic. The format of the batch message depends on the notification protocol for each subscribed endpoint.

When a messageId is returned, the batch message is saved and Amazon SNS immediately delivers the message to subscribers.

", "PutDataProtectionPolicy": "

Adds or updates an inline policy document that is stored in the specified Amazon SNS topic.

", - "RemovePermission": "

Removes a statement from a topic's access control policy.

", + "RemovePermission": "

Removes a statement from a topic's access control policy.

To remove the ability to change topic permissions, you must deny permissions to the AddPermission, RemovePermission, and SetTopicAttributes actions in your IAM policy.

", "SetEndpointAttributes": "

Sets the attributes for an endpoint for a device on one of the supported push notification services, such as GCM (Firebase Cloud Messaging) and APNS. For more information, see Using Amazon SNS Mobile Push Notifications.

", "SetPlatformApplicationAttributes": "

Sets the attributes of the platform application object for the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging). For more information, see Using Amazon SNS Mobile Push Notifications. For information on configuring attributes for message delivery status, see Using Amazon SNS Application Attributes for Message Delivery Status.

", "SetSMSAttributes": "

Use this request to set the default settings for sending SMS messages and receiving daily SMS usage reports.

You can override some of these settings for a single message when you use the Publish action with the MessageAttributes.entry.N parameter. For more information, see Publishing to a mobile phone in the Amazon SNS Developer Guide.

To use this operation, you must grant the Amazon SNS service principal (sns.amazonaws.com) permission to perform the s3:ListBucket action.

", "SetSubscriptionAttributes": "

Allows a subscription owner to set an attribute of the subscription to a new value.

", - "SetTopicAttributes": "

Allows a topic owner to set an attribute of the topic to a new value.

", + "SetTopicAttributes": "

Allows a topic owner to set an attribute of the topic to a new value.

To remove the ability to change topic permissions, you must deny permissions to the AddPermission, RemovePermission, and SetTopicAttributes actions in your IAM policy.

", "Subscribe": "

Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same Amazon Web Services account, the endpoint owner must run the ConfirmSubscription action to confirm the subscription.

You call the ConfirmSubscription action with the token from the subscription response. Confirmation tokens are valid for three days.

This action is throttled at 100 transactions per second (TPS).

", "TagResource": "

Add tags to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide.

When you use topic tags, keep the following guidelines in mind:

", - "Unsubscribe": "

Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an Amazon Web Services signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended.

This action is throttled at 100 transactions per second (TPS).

", + "Unsubscribe": "

Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an Amazon Web Services signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended.

Amazon SQS queue subscriptions require authentication for deletion. Only the owner of the subscription, or the owner of the topic can unsubscribe using the required Amazon Web Services signature.

This action is throttled at 100 transactions per second (TPS).

", "UntagResource": "

Remove tags from the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide.

", "VerifySMSSandboxPhoneNumber": "

Verifies a destination phone number with a one-time password (OTP) for the calling Amazon Web Services account.

When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your Amazon Web Services account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" }, @@ -767,8 +767,8 @@ "SubscriptionAttributesMap": { "base": null, "refs": { - "GetSubscriptionAttributesResponse$Attributes": "

A map of the subscription's attributes. Attributes in this map include the following:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

", - "SubscribeInput$Attributes": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the Subscribe action uses:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

" + "GetSubscriptionAttributesResponse$Attributes": "

A map of the subscription's attributes. Attributes in this map include the following:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

", + "SubscribeInput$Attributes": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the Subscribe action uses:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

" } }, "SubscriptionLimitExceededException": { @@ -861,8 +861,8 @@ "TopicAttributesMap": { "base": null, "refs": { - "CreateTopicInput$Attributes": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses:

The following attribute applies only to server-side encryption:

The following attributes apply only to FIFO topics:

", - "GetTopicAttributesResponse$Attributes": "

A map of the topic's attributes. Attributes in this map include the following:

The following attribute applies only to server-side-encryption:

The following attributes apply only to FIFO topics:

" + "CreateTopicInput$Attributes": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses:

The following attribute applies only to server-side encryption:

The following attributes apply only to FIFO topics:

", + "GetTopicAttributesResponse$Attributes": "

A map of the topic's attributes. Attributes in this map include the following:

The following attribute applies only to server-side-encryption:

The following attributes apply only to FIFO topics:

" } }, "TopicLimitExceededException": { @@ -931,8 +931,8 @@ "attributeName": { "base": null, "refs": { - "SetSubscriptionAttributesInput$AttributeName": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that this action uses:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

", - "SetTopicAttributesInput$AttributeName": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses:

The following attribute applies only to server-side-encryption:

The following attribute applies only to FIFO topics:

", + "SetSubscriptionAttributesInput$AttributeName": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that this action uses:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

", + "SetTopicAttributesInput$AttributeName": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses:

The following attribute applies only to server-side-encryption:

The following attribute applies only to FIFO topics:

", "SubscriptionAttributesMap$key": null, "TopicAttributesMap$key": null } diff --git a/models/apis/sns/2010-03-31/endpoint-rule-set-1.json b/models/apis/sns/2010-03-31/endpoint-rule-set-1.json new file mode 100644 index 00000000000..91aeae9fa76 --- /dev/null +++ b/models/apis/sns/2010-03-31/endpoint-rule-set-1.json @@ -0,0 +1,353 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "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" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://sns-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-east-1" + ] + } + ], + "endpoint": { + "url": "https://sns.us-gov-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-gov-west-1" + ] + } + ], + "endpoint": { + "url": "https://sns.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://sns-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://sns.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://sns.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/sns/2010-03-31/endpoint-tests-1.json b/models/apis/sns/2010-03-31/endpoint-tests-1.json new file mode 100644 index 00000000000..6c547a0fe32 --- /dev/null +++ b/models/apis/sns/2010-03-31/endpoint-tests-1.json @@ -0,0 +1,1799 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-south-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-south-2" + } + }, + { + "documentation": "For region ap-south-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-south-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-south-2" + } + }, + { + "documentation": "For region ap-south-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-south-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-south-2" + } + }, + { + "documentation": "For region ap-south-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-south-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-south-2" + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-south-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-south-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-south-2" + } + }, + { + "documentation": "For region eu-south-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-south-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-south-2" + } + }, + { + "documentation": "For region eu-south-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-south-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-south-2" + } + }, + { + "documentation": "For region eu-south-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-south-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-south-2" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.me-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.me-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.me-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.me-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "me-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.ca-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-iso-west-1" + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-iso-west-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-iso-west-1" + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-iso-west-1" + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.us-iso-west-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-iso-west-1" + } + }, + { + "documentation": "For region eu-central-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-central-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-central-2" + } + }, + { + "documentation": "For region eu-central-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-central-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-central-2" + } + }, + { + "documentation": "For region eu-central-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-central-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-central-2" + } + }, + { + "documentation": "For region eu-central-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-central-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-2" + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.us-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.us-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.af-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "af-south-1" + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "af-south-1" + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.af-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "af-south-1" + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.af-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "af-south-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-3" + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-3" + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-northeast-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-3" + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-3" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-northeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.me-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "me-south-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "me-south-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.me-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "me-south-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.me-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "me-south-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.sa-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-east-1" + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-east-1" + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-east-1" + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-east-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.us-gov-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-southeast-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-southeast-4.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-4" + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.ap-southeast-4.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-4" + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-southeast-4.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-4" + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.ap-southeast-4.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-4" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "cn-northwest-1" + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "cn-northwest-1" + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://sns.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "cn-northwest-1" + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-northwest-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://sns.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "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": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "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": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/service/appsync/api.go b/service/appsync/api.go index 6bb01c9e8c2..6a84b219925 100644 --- a/service/appsync/api.go +++ b/service/appsync/api.go @@ -5403,9 +5403,10 @@ func (s *ApiLimitExceededException) RequestID() string { return s.RespMetadata.RequestID } -// Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync -// function. Specifies the name and version of the runtime to use. Note that -// if a runtime is specified, code must also be specified. +// Describes a runtime used by an Amazon Web Services AppSync pipeline resolver +// or Amazon Web Services AppSync function. Specifies the name and version of +// the runtime to use. Note that if a runtime is specified, code must also be +// specified. type AppSyncRuntime struct { _ struct{} `type:"structure"` @@ -6716,9 +6717,10 @@ type CreateFunctionInput struct { // The Function response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` - // Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync - // function. Specifies the name and version of the runtime to use. Note that - // if a runtime is specified, code must also be specified. + // Describes a runtime used by an Amazon Web Services AppSync pipeline resolver + // or Amazon Web Services AppSync function. Specifies the name and version of + // the runtime to use. Note that if a runtime is specified, code must also be + // specified. Runtime *AppSyncRuntime `locationName:"runtime" type:"structure"` // Describes a Sync configuration for a resolver. @@ -7127,9 +7129,10 @@ type CreateResolverInput struct { // The mapping template to use for responses from the data source. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` - // Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync - // function. Specifies the name and version of the runtime to use. Note that - // if a runtime is specified, code must also be specified. + // Describes a runtime used by an Amazon Web Services AppSync pipeline resolver + // or Amazon Web Services AppSync function. Specifies the name and version of + // the runtime to use. Note that if a runtime is specified, code must also be + // specified. Runtime *AppSyncRuntime `locationName:"runtime" type:"structure"` // The SyncConfig for a resolver attached to a versioned data source. @@ -9039,9 +9042,10 @@ type FunctionConfiguration struct { // The Function response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` - // Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync - // function. Specifies the name and version of the runtime to use. Note that - // if a runtime is specified, code must also be specified. + // Describes a runtime used by an Amazon Web Services AppSync pipeline resolver + // or Amazon Web Services AppSync function. Specifies the name and version of + // the runtime to use. Note that if a runtime is specified, code must also be + // specified. Runtime *AppSyncRuntime `locationName:"runtime" type:"structure"` // Describes a Sync configuration for a resolver. @@ -12089,9 +12093,10 @@ type Resolver struct { // The response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` - // Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync - // function. Specifies the name and version of the runtime to use. Note that - // if a runtime is specified, code must also be specified. + // Describes a runtime used by an Amazon Web Services AppSync pipeline resolver + // or Amazon Web Services AppSync function. Specifies the name and version of + // the runtime to use. Note that if a runtime is specified, code must also be + // specified. Runtime *AppSyncRuntime `locationName:"runtime" type:"structure"` // The SyncConfig for a resolver attached to a versioned data source. @@ -13294,9 +13299,10 @@ type UpdateFunctionInput struct { // The Function request mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` - // Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync - // function. Specifies the name and version of the runtime to use. Note that - // if a runtime is specified, code must also be specified. + // Describes a runtime used by an Amazon Web Services AppSync pipeline resolver + // or Amazon Web Services AppSync function. Specifies the name and version of + // the runtime to use. Note that if a runtime is specified, code must also be + // specified. Runtime *AppSyncRuntime `locationName:"runtime" type:"structure"` // Describes a Sync configuration for a resolver. @@ -13716,9 +13722,10 @@ type UpdateResolverInput struct { // The new response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` - // Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync - // function. Specifies the name and version of the runtime to use. Note that - // if a runtime is specified, code must also be specified. + // Describes a runtime used by an Amazon Web Services AppSync pipeline resolver + // or Amazon Web Services AppSync function. Specifies the name and version of + // the runtime to use. Note that if a runtime is specified, code must also be + // specified. Runtime *AppSyncRuntime `locationName:"runtime" type:"structure"` // The SyncConfig for a resolver attached to a versioned data source. diff --git a/service/ecs/api.go b/service/ecs/api.go index 55d9fcfb28e..3aafded1003 100644 --- a/service/ecs/api.go +++ b/service/ecs/api.go @@ -7929,9 +7929,9 @@ type ClusterServiceConnectDefaultsRequest struct { // The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace // that's used when you create a service and don't specify a Service Connect - // configuration. Up to 1024 characters are allowed. The name is case-sensitive. - // The characters can't include hyphens (-), tilde (~), greater than (>), less - // than (<), or slash (/). + // configuration. The namespace name can include up to 1024 characters. The + // name is case-sensitive. The name can't include hyphens (-), tilde (~), greater + // than (>), less than (<), or slash (/). // // If you enter an existing namespace name or ARN, then that namespace will // be used. Any namespace type is supported. The namespace must be in this account @@ -17693,9 +17693,9 @@ type PortMapping struct { // The name that's used for the port mapping. This parameter only applies to // Service Connect. This parameter is the name that you use in the serviceConnectConfiguration - // of a service. Up to 64 characters are allowed. The characters can include - // lowercase letters, numbers, underscores (_), and hyphens (-). A hyphen can't - // be the first character. + // of a service. The name can include up to 64 characters. The characters can + // include lowercase letters, numbers, underscores (_), and hyphens (-). The + // name can't start with a hyphen. // // For more information, see Service Connect (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) // in the Amazon Elastic Container Service Developer Guide. @@ -20424,13 +20424,13 @@ type ServiceConnectClientAlias struct { // The dnsName is the name that you use in the applications of client tasks // to connect to this service. The name must be a valid DNS name but doesn't - // need to be fully-qualified. Up to 127 characters are allowed. The characters - // can include lowercase letters, numbers, underscores (_), hyphens (-), and - // periods (.). A hyphen can't be the first character. + // need to be fully-qualified. The name can include up to 127 characters. The + // name can include lowercase letters, numbers, underscores (_), hyphens (-), + // and periods (.). The name can't start with a hyphen. // // If this parameter isn't specified, the default value of discoveryName.namespace - // is used. If the discoveryName isn't specified, the portName.namespace from - // the task definition is used. + // is used. If the discoveryName isn't specified, the port mapping name from + // the task definition is used in portName.namespace. // // To avoid changing your applications in client Amazon ECS services, set this // to the same name that the client application uses by default. For example, @@ -20559,7 +20559,7 @@ type ServiceConnectConfiguration struct { // The list of Service Connect service objects. These are names and aliases // (also known as endpoints) that are used by other Amazon ECS services to connect - // to this service. You can specify up to X (30?) objects per Amazon ECS service. + // to this service. // // This field is not required for a "client" Amazon ECS service that's a member // of a namespace only to connect to other services within the namespace. An @@ -20663,11 +20663,13 @@ type ServiceConnectService struct { // The discoveryName is the name of the new Cloud Map service that Amazon ECS // creates for this Amazon ECS service. This must be unique within the Cloud - // Map namespace. Up to 64 characters are allowed. The characters can include - // lowercase letters, numbers, underscores (_), and hyphens (-). A hyphen can't - // be the first character. + // Map namespace. The name can contain up to 64 characters. The name can include + // lowercase letters, numbers, underscores (_), and hyphens (-). The name can't + // start with a hyphen. // - // If this field isn't specified, portName is used. + // If this parameter isn't specified, the default value of discoveryName.namespace + // is used. If the discoveryName isn't specified, the port mapping name from + // the task definition is used in portName.namespace. DiscoveryName *string `locationName:"discoveryName" type:"string"` // The port number for the Service Connect proxy to listen on. @@ -20777,11 +20779,13 @@ type ServiceConnectServiceResource struct { // // The discoveryName is the name of the new Cloud Map service that Amazon ECS // creates for this Amazon ECS service. This must be unique within the Cloud - // Map namespace. Up to 64 characters are allowed. The characters can include - // lowercase letters, numbers, underscores (_), and hyphens (-). A hyphen can't - // be the first character. + // Map namespace. The name can contain up to 64 characters. The name can include + // lowercase letters, numbers, underscores (_), and hyphens (-). The name can't + // start with a hyphen. // - // If this field isn't specified, portName is used. + // If this parameter isn't specified, the default value of discoveryName.namespace + // is used. If the discoveryName isn't specified, the port mapping name from + // the task definition is used in portName.namespace. DiscoveryName *string `locationName:"discoveryName" type:"string"` } diff --git a/service/fms/api.go b/service/fms/api.go index 6f962121510..e9a3948ae66 100644 --- a/service/fms/api.go +++ b/service/fms/api.go @@ -13795,12 +13795,16 @@ func TargetType_Values() []string { const ( // ThirdPartyFirewallPaloAltoNetworksCloudNgfw is a ThirdPartyFirewall enum value ThirdPartyFirewallPaloAltoNetworksCloudNgfw = "PALO_ALTO_NETWORKS_CLOUD_NGFW" + + // ThirdPartyFirewallFortigateCloudNativeFirewall is a ThirdPartyFirewall enum value + ThirdPartyFirewallFortigateCloudNativeFirewall = "FORTIGATE_CLOUD_NATIVE_FIREWALL" ) // ThirdPartyFirewall_Values returns all elements of the ThirdPartyFirewall enum func ThirdPartyFirewall_Values() []string { return []string{ ThirdPartyFirewallPaloAltoNetworksCloudNgfw, + ThirdPartyFirewallFortigateCloudNativeFirewall, } } diff --git a/service/mediaconvert/api.go b/service/mediaconvert/api.go index e6e7fc95fcc..8c539bcaf64 100644 --- a/service/mediaconvert/api.go +++ b/service/mediaconvert/api.go @@ -2825,11 +2825,14 @@ type AacSettings struct { // AAC Profile. CodecProfile *string `locationName:"codecProfile" type:"string" enum:"AacCodecProfile"` - // Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values - // depend on rate control mode and profile. "1.0 - Audio Description (Receiver - // Mix)" setting receives a stereo description plus control track and emits - // a mono AAC encode of the description track, with control data emitted in - // the PES header as per ETSI TS 101 154 Annex E. + // The Coding mode that you specify determines the number of audio channels + // and the audio channel layout metadata in your AAC output. Valid coding modes + // depend on the Rate control mode and Profile that you select. The following + // list shows the number of audio channels and channel layout for each coding + // mode. * 1.0 Audio Description (Receiver Mix): One channel, C. Includes audio + // description data from your stereo input. For more information see ETSI TS + // 101 154 Annex E. * 1.0 Mono: One channel, C. * 2.0 Stereo: Two channels, + // L, R. * 5.1 Surround: Five channels, C, L, R, Ls, Rs, LFE. CodingMode *string `locationName:"codingMode" type:"string" enum:"AacCodingMode"` // Rate Control Mode. @@ -2839,7 +2842,14 @@ type AacSettings struct { // you must choose "No container" for the output container. RawFormat *string `locationName:"rawFormat" type:"string" enum:"AacRawFormat"` - // Sample rate in Hz. Valid values depend on rate control mode and profile. + // Specify the Sample rate in Hz. Valid sample rates depend on the Profile and + // Coding mode that you select. The following list shows valid sample rates + // for each Profile and Coding mode. * LC Profile, Coding mode 1.0, 2.0, and + // Receiver Mix: 8000, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 88200, + // 96000. * LC Profile, Coding mode 5.1: 32000, 44100, 48000, 96000. * HEV1 + // Profile, Coding mode 1.0 and Receiver Mix: 22050, 24000, 32000, 44100, 48000. + // * HEV1 Profile, Coding mode 2.0 and 5.1: 32000, 44100, 48000, 96000. * HEV2 + // Profile, Coding mode 2.0: 22050, 24000, 32000, 44100, 48000. SampleRate *int64 `locationName:"sampleRate" min:"8000" type:"integer"` // Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream @@ -6558,6 +6568,14 @@ type CmafGroupSettings struct { // to 1, your final segment is 3.5 seconds. MinFinalSegmentLength *float64 `locationName:"minFinalSegmentLength" type:"double"` + // Specify how the value for bandwidth is determined for each video Representation + // in your output MPD manifest. We recommend that you choose a MPD manifest + // bandwidth type that is compatible with your downstream player configuration. + // Max: Use the same value that you specify for Max bitrate in the video output, + // in bits per second. Average: Use the calculated average bitrate of the encoded + // video output, in bits per second. + MpdManifestBandwidthType *string `locationName:"mpdManifestBandwidthType" type:"string" enum:"CmafMpdManifestBandwidthType"` + // Specify whether your DASH profile is on-demand or main. When you choose Main // profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 // in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), @@ -6611,6 +6629,15 @@ type CmafGroupSettings struct { // the actual duration of a track in a segment is longer than the target duration. TargetDurationCompatibilityMode *string `locationName:"targetDurationCompatibilityMode" type:"string" enum:"CmafTargetDurationCompatibilityMode"` + // Specify the video sample composition time offset mode in the output fMP4 + // TRUN box. For wider player compatibility, set Video composition offsets to + // Unsigned or leave blank. The earliest presentation time may be greater than + // zero, and sample composition time offsets will increment using unsigned integers. + // For strict fMP4 video and audio timing, set Video composition offsets to + // Signed. The earliest presentation time will be equal to zero, and sample + // composition time offsets will increment using signed integers. + VideoCompositionOffsets *string `locationName:"videoCompositionOffsets" type:"string" enum:"CmafVideoCompositionOffsets"` + // When set to ENABLED, a DASH MPD manifest will be generated for this output. WriteDashManifest *string `locationName:"writeDashManifest" type:"string" enum:"CmafWriteDASHManifest"` @@ -6764,6 +6791,12 @@ func (s *CmafGroupSettings) SetMinFinalSegmentLength(v float64) *CmafGroupSettin return s } +// SetMpdManifestBandwidthType sets the MpdManifestBandwidthType field's value. +func (s *CmafGroupSettings) SetMpdManifestBandwidthType(v string) *CmafGroupSettings { + s.MpdManifestBandwidthType = &v + return s +} + // SetMpdProfile sets the MpdProfile field's value. func (s *CmafGroupSettings) SetMpdProfile(v string) *CmafGroupSettings { s.MpdProfile = &v @@ -6806,6 +6839,12 @@ func (s *CmafGroupSettings) SetTargetDurationCompatibilityMode(v string) *CmafGr return s } +// SetVideoCompositionOffsets sets the VideoCompositionOffsets field's value. +func (s *CmafGroupSettings) SetVideoCompositionOffsets(v string) *CmafGroupSettings { + s.VideoCompositionOffsets = &v + return s +} + // SetWriteDashManifest sets the WriteDashManifest field's value. func (s *CmafGroupSettings) SetWriteDashManifest(v string) *CmafGroupSettings { s.WriteDashManifest = &v @@ -7024,6 +7063,15 @@ type CmfcSettings struct { // to None or leave blank. KlvMetadata *string `locationName:"klvMetadata" type:"string" enum:"CmfcKlvMetadata"` + // To add an InbandEventStream element in your output MPD manifest for each + // type of event message, set Manifest metadata signaling to Enabled. For ID3 + // event messages, the InbandEventStream element schemeIdUri will be same value + // that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, + // the InbandEventStream element schemeIdUri will be "urn:scte:scte35:2013:bin". + // To leave these elements out of your output MPD manifest, set Manifest metadata + // signaling to Disabled. + ManifestMetadataSignaling *string `locationName:"manifestMetadataSignaling" type:"string" enum:"CmfcManifestMetadataSignaling"` + // Use this setting only when you specify SCTE-35 markers from ESAM. Choose // INSERT to put SCTE-35 markers in this output at the insertion points that // you specify in an ESAM XML document. Provide the document in the setting @@ -7042,6 +7090,25 @@ type CmfcSettings struct { // metadata in a separate Event Message (eMSG) box. To exclude this ID3 metadata: // Set ID3 metadata to None (NONE) or leave blank. TimedMetadata *string `locationName:"timedMetadata" type:"string" enum:"CmfcTimedMetadata"` + + // Specify the event message box (eMSG) version for ID3 timed metadata in your + // output.For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 + // Syntax.Leave blank to use the default value Version 0.When you specify Version + // 1, you must also set ID3 metadata (timedMetadata) to Passthrough. + TimedMetadataBoxVersion *string `locationName:"timedMetadataBoxVersion" type:"string" enum:"CmfcTimedMetadataBoxVersion"` + + // Specify the event message box (eMSG) scheme ID URI (scheme_id_uri) for ID3 + // timed metadata in your output. For more informaiton, see ISO/IEC 23009-1:2022 + // section 5.10.3.3.4 Semantics. Leave blank to use the default value: https://aomedia.org/emsg/ID3 + // When you specify a value for ID3 metadata scheme ID URI, you must also set + // ID3 metadata (timedMetadata) to Passthrough. + TimedMetadataSchemeIdUri *string `locationName:"timedMetadataSchemeIdUri" type:"string"` + + // Specify the event message box (eMSG) value for ID3 timed metadata in your + // output. For more informaiton, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 + // Semantics. When you specify a value for ID3 Metadata Value, you must also + // set ID3 metadata (timedMetadata) to Passthrough. + TimedMetadataValue *string `locationName:"timedMetadataValue" type:"string"` } // String returns the string representation. @@ -7104,6 +7171,12 @@ func (s *CmfcSettings) SetKlvMetadata(v string) *CmfcSettings { return s } +// SetManifestMetadataSignaling sets the ManifestMetadataSignaling field's value. +func (s *CmfcSettings) SetManifestMetadataSignaling(v string) *CmfcSettings { + s.ManifestMetadataSignaling = &v + return s +} + // SetScte35Esam sets the Scte35Esam field's value. func (s *CmfcSettings) SetScte35Esam(v string) *CmfcSettings { s.Scte35Esam = &v @@ -7122,6 +7195,24 @@ func (s *CmfcSettings) SetTimedMetadata(v string) *CmfcSettings { return s } +// SetTimedMetadataBoxVersion sets the TimedMetadataBoxVersion field's value. +func (s *CmfcSettings) SetTimedMetadataBoxVersion(v string) *CmfcSettings { + s.TimedMetadataBoxVersion = &v + return s +} + +// SetTimedMetadataSchemeIdUri sets the TimedMetadataSchemeIdUri field's value. +func (s *CmfcSettings) SetTimedMetadataSchemeIdUri(v string) *CmfcSettings { + s.TimedMetadataSchemeIdUri = &v + return s +} + +// SetTimedMetadataValue sets the TimedMetadataValue field's value. +func (s *CmfcSettings) SetTimedMetadataValue(v string) *CmfcSettings { + s.TimedMetadataValue = &v + return s +} + // Settings for color correction. type ColorCorrector struct { _ struct{} `type:"structure"` @@ -8401,6 +8492,14 @@ type DashIsoGroupSettings struct { // to 1, your final segment is 3.5 seconds. MinFinalSegmentLength *float64 `locationName:"minFinalSegmentLength" type:"double"` + // Specify how the value for bandwidth is determined for each video Representation + // in your output MPD manifest. We recommend that you choose a MPD manifest + // bandwidth type that is compatible with your downstream player configuration. + // Max: Use the same value that you specify for Max bitrate in the video output, + // in bits per second. Average: Use the calculated average bitrate of the encoded + // video output, in bits per second. + MpdManifestBandwidthType *string `locationName:"mpdManifestBandwidthType" type:"string" enum:"DashIsoMpdManifestBandwidthType"` + // Specify whether your DASH profile is on-demand or main. When you choose Main // profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 // in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), @@ -8440,6 +8539,15 @@ type DashIsoGroupSettings struct { // lengths to match the next GOP boundary. SegmentLengthControl *string `locationName:"segmentLengthControl" type:"string" enum:"DashIsoSegmentLengthControl"` + // Specify the video sample composition time offset mode in the output fMP4 + // TRUN box. For wider player compatibility, set Video composition offsets to + // Unsigned or leave blank. The earliest presentation time may be greater than + // zero, and sample composition time offsets will increment using unsigned integers. + // For strict fMP4 video and audio timing, set Video composition offsets to + // Signed. The earliest presentation time will be equal to zero, and sample + // composition time offsets will increment using signed integers. + VideoCompositionOffsets *string `locationName:"videoCompositionOffsets" type:"string" enum:"DashIsoVideoCompositionOffsets"` + // If you get an HTTP error in the 400 range when you play back your DASH output, // enable this setting and run your transcoding job again. When you enable this // setting, the service writes precise segment durations in the DASH manifest. @@ -8571,6 +8679,12 @@ func (s *DashIsoGroupSettings) SetMinFinalSegmentLength(v float64) *DashIsoGroup return s } +// SetMpdManifestBandwidthType sets the MpdManifestBandwidthType field's value. +func (s *DashIsoGroupSettings) SetMpdManifestBandwidthType(v string) *DashIsoGroupSettings { + s.MpdManifestBandwidthType = &v + return s +} + // SetMpdProfile sets the MpdProfile field's value. func (s *DashIsoGroupSettings) SetMpdProfile(v string) *DashIsoGroupSettings { s.MpdProfile = &v @@ -8601,6 +8715,12 @@ func (s *DashIsoGroupSettings) SetSegmentLengthControl(v string) *DashIsoGroupSe return s } +// SetVideoCompositionOffsets sets the VideoCompositionOffsets field's value. +func (s *DashIsoGroupSettings) SetVideoCompositionOffsets(v string) *DashIsoGroupSettings { + s.VideoCompositionOffsets = &v + return s +} + // SetWriteSegmentTimelineInRepresentation sets the WriteSegmentTimelineInRepresentation field's value. func (s *DashIsoGroupSettings) SetWriteSegmentTimelineInRepresentation(v string) *DashIsoGroupSettings { s.WriteSegmentTimelineInRepresentation = &v @@ -19121,6 +19241,15 @@ type MpdSettings struct { // to None or leave blank. KlvMetadata *string `locationName:"klvMetadata" type:"string" enum:"MpdKlvMetadata"` + // To add an InbandEventStream element in your output MPD manifest for each + // type of event message, set Manifest metadata signaling to Enabled. For ID3 + // event messages, the InbandEventStream element schemeIdUri will be same value + // that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, + // the InbandEventStream element schemeIdUri will be "urn:scte:scte35:2013:bin". + // To leave these elements out of your output MPD manifest, set Manifest metadata + // signaling to Disabled. + ManifestMetadataSignaling *string `locationName:"manifestMetadataSignaling" type:"string" enum:"MpdManifestMetadataSignaling"` + // Use this setting only when you specify SCTE-35 markers from ESAM. Choose // INSERT to put SCTE-35 markers in this output at the insertion points that // you specify in an ESAM XML document. Provide the document in the setting @@ -19139,6 +19268,25 @@ type MpdSettings struct { // metadata in a separate Event Message (eMSG) box. To exclude this ID3 metadata: // Set ID3 metadata to None (NONE) or leave blank. TimedMetadata *string `locationName:"timedMetadata" type:"string" enum:"MpdTimedMetadata"` + + // Specify the event message box (eMSG) version for ID3 timed metadata in your + // output.For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 + // Syntax.Leave blank to use the default value Version 0.When you specify Version + // 1, you must also set ID3 metadata (timedMetadata) to Passthrough. + TimedMetadataBoxVersion *string `locationName:"timedMetadataBoxVersion" type:"string" enum:"MpdTimedMetadataBoxVersion"` + + // Specify the event message box (eMSG) scheme ID URI (scheme_id_uri) for ID3 + // timed metadata in your output. For more informaiton, see ISO/IEC 23009-1:2022 + // section 5.10.3.3.4 Semantics. Leave blank to use the default value: https://aomedia.org/emsg/ID3 + // When you specify a value for ID3 metadata scheme ID URI, you must also set + // ID3 metadata (timedMetadata) to Passthrough. + TimedMetadataSchemeIdUri *string `locationName:"timedMetadataSchemeIdUri" type:"string"` + + // Specify the event message box (eMSG) value for ID3 timed metadata in your + // output. For more informaiton, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 + // Semantics. When you specify a value for ID3 Metadata Value, you must also + // set ID3 metadata (timedMetadata) to Passthrough. + TimedMetadataValue *string `locationName:"timedMetadataValue" type:"string"` } // String returns the string representation. @@ -19183,6 +19331,12 @@ func (s *MpdSettings) SetKlvMetadata(v string) *MpdSettings { return s } +// SetManifestMetadataSignaling sets the ManifestMetadataSignaling field's value. +func (s *MpdSettings) SetManifestMetadataSignaling(v string) *MpdSettings { + s.ManifestMetadataSignaling = &v + return s +} + // SetScte35Esam sets the Scte35Esam field's value. func (s *MpdSettings) SetScte35Esam(v string) *MpdSettings { s.Scte35Esam = &v @@ -19201,6 +19355,24 @@ func (s *MpdSettings) SetTimedMetadata(v string) *MpdSettings { return s } +// SetTimedMetadataBoxVersion sets the TimedMetadataBoxVersion field's value. +func (s *MpdSettings) SetTimedMetadataBoxVersion(v string) *MpdSettings { + s.TimedMetadataBoxVersion = &v + return s +} + +// SetTimedMetadataSchemeIdUri sets the TimedMetadataSchemeIdUri field's value. +func (s *MpdSettings) SetTimedMetadataSchemeIdUri(v string) *MpdSettings { + s.TimedMetadataSchemeIdUri = &v + return s +} + +// SetTimedMetadataValue sets the TimedMetadataValue field's value. +func (s *MpdSettings) SetTimedMetadataValue(v string) *MpdSettings { + s.TimedMetadataValue = &v + return s +} + // Required when you set (Codec) under (VideoDescription)>(CodecSettings) to // the value MPEG2. type Mpeg2Settings struct { @@ -19438,7 +19610,7 @@ type Mpeg2Settings struct { // Specify whether this output's video uses the D10 syntax. Keep the default // value to not use the syntax. Related settings: When you choose D10 (D_10) - // for your MXF profile (profile), you must also set this value to to D10 (D_10). + // for your MXF profile (profile), you must also set this value to D10 (D_10). Syntax *string `locationName:"syntax" type:"string" enum:"Mpeg2Syntax"` // When you do frame rate conversion from 23.976 frames per second (fps) to @@ -26603,11 +26775,14 @@ func AacCodecProfile_Values() []string { } } -// Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values -// depend on rate control mode and profile. "1.0 - Audio Description (Receiver -// Mix)" setting receives a stereo description plus control track and emits -// a mono AAC encode of the description track, with control data emitted in -// the PES header as per ETSI TS 101 154 Annex E. +// The Coding mode that you specify determines the number of audio channels +// and the audio channel layout metadata in your AAC output. Valid coding modes +// depend on the Rate control mode and Profile that you select. The following +// list shows the number of audio channels and channel layout for each coding +// mode. * 1.0 Audio Description (Receiver Mix): One channel, C. Includes audio +// description data from your stereo input. For more information see ETSI TS +// 101 154 Annex E. * 1.0 Mono: One channel, C. * 2.0 Stereo: Two channels, +// L, R. * 5.1 Surround: Five channels, C, L, R, Ls, Rs, LFE. const ( // AacCodingModeAdReceiverMix is a AacCodingMode enum value AacCodingModeAdReceiverMix = "AD_RECEIVER_MIX" @@ -28422,6 +28597,28 @@ func CmafManifestDurationFormat_Values() []string { } } +// Specify how the value for bandwidth is determined for each video Representation +// in your output MPD manifest. We recommend that you choose a MPD manifest +// bandwidth type that is compatible with your downstream player configuration. +// Max: Use the same value that you specify for Max bitrate in the video output, +// in bits per second. Average: Use the calculated average bitrate of the encoded +// video output, in bits per second. +const ( + // CmafMpdManifestBandwidthTypeAverage is a CmafMpdManifestBandwidthType enum value + CmafMpdManifestBandwidthTypeAverage = "AVERAGE" + + // CmafMpdManifestBandwidthTypeMax is a CmafMpdManifestBandwidthType enum value + CmafMpdManifestBandwidthTypeMax = "MAX" +) + +// CmafMpdManifestBandwidthType_Values returns all elements of the CmafMpdManifestBandwidthType enum +func CmafMpdManifestBandwidthType_Values() []string { + return []string{ + CmafMpdManifestBandwidthTypeAverage, + CmafMpdManifestBandwidthTypeMax, + } +} + // Specify whether your DASH profile is on-demand or main. When you choose Main // profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 // in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), @@ -28551,6 +28748,29 @@ func CmafTargetDurationCompatibilityMode_Values() []string { } } +// Specify the video sample composition time offset mode in the output fMP4 +// TRUN box. For wider player compatibility, set Video composition offsets to +// Unsigned or leave blank. The earliest presentation time may be greater than +// zero, and sample composition time offsets will increment using unsigned integers. +// For strict fMP4 video and audio timing, set Video composition offsets to +// Signed. The earliest presentation time will be equal to zero, and sample +// composition time offsets will increment using signed integers. +const ( + // CmafVideoCompositionOffsetsSigned is a CmafVideoCompositionOffsets enum value + CmafVideoCompositionOffsetsSigned = "SIGNED" + + // CmafVideoCompositionOffsetsUnsigned is a CmafVideoCompositionOffsets enum value + CmafVideoCompositionOffsetsUnsigned = "UNSIGNED" +) + +// CmafVideoCompositionOffsets_Values returns all elements of the CmafVideoCompositionOffsets enum +func CmafVideoCompositionOffsets_Values() []string { + return []string{ + CmafVideoCompositionOffsetsSigned, + CmafVideoCompositionOffsetsUnsigned, + } +} + // When set to ENABLED, a DASH MPD manifest will be generated for this output. const ( // CmafWriteDASHManifestDisabled is a CmafWriteDASHManifest enum value @@ -28737,6 +28957,29 @@ func CmfcKlvMetadata_Values() []string { } } +// To add an InbandEventStream element in your output MPD manifest for each +// type of event message, set Manifest metadata signaling to Enabled. For ID3 +// event messages, the InbandEventStream element schemeIdUri will be same value +// that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, +// the InbandEventStream element schemeIdUri will be "urn:scte:scte35:2013:bin". +// To leave these elements out of your output MPD manifest, set Manifest metadata +// signaling to Disabled. +const ( + // CmfcManifestMetadataSignalingEnabled is a CmfcManifestMetadataSignaling enum value + CmfcManifestMetadataSignalingEnabled = "ENABLED" + + // CmfcManifestMetadataSignalingDisabled is a CmfcManifestMetadataSignaling enum value + CmfcManifestMetadataSignalingDisabled = "DISABLED" +) + +// CmfcManifestMetadataSignaling_Values returns all elements of the CmfcManifestMetadataSignaling enum +func CmfcManifestMetadataSignaling_Values() []string { + return []string{ + CmfcManifestMetadataSignalingEnabled, + CmfcManifestMetadataSignalingDisabled, + } +} + // Use this setting only when you specify SCTE-35 markers from ESAM. Choose // INSERT to put SCTE-35 markers in this output at the insertion points that // you specify in an ESAM XML document. Provide the document in the setting @@ -28798,6 +29041,26 @@ func CmfcTimedMetadata_Values() []string { } } +// Specify the event message box (eMSG) version for ID3 timed metadata in your +// output.For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 +// Syntax.Leave blank to use the default value Version 0.When you specify Version +// 1, you must also set ID3 metadata (timedMetadata) to Passthrough. +const ( + // CmfcTimedMetadataBoxVersionVersion0 is a CmfcTimedMetadataBoxVersion enum value + CmfcTimedMetadataBoxVersionVersion0 = "VERSION_0" + + // CmfcTimedMetadataBoxVersionVersion1 is a CmfcTimedMetadataBoxVersion enum value + CmfcTimedMetadataBoxVersionVersion1 = "VERSION_1" +) + +// CmfcTimedMetadataBoxVersion_Values returns all elements of the CmfcTimedMetadataBoxVersion enum +func CmfcTimedMetadataBoxVersion_Values() []string { + return []string{ + CmfcTimedMetadataBoxVersionVersion0, + CmfcTimedMetadataBoxVersionVersion1, + } +} + // Choose Insert (INSERT) for this setting to include color metadata in this // output. Choose Ignore (IGNORE) to exclude color metadata from this output. // If you don't specify a value, the service sets this to Insert by default. @@ -29114,6 +29377,28 @@ func DashIsoIntervalCadence_Values() []string { } } +// Specify how the value for bandwidth is determined for each video Representation +// in your output MPD manifest. We recommend that you choose a MPD manifest +// bandwidth type that is compatible with your downstream player configuration. +// Max: Use the same value that you specify for Max bitrate in the video output, +// in bits per second. Average: Use the calculated average bitrate of the encoded +// video output, in bits per second. +const ( + // DashIsoMpdManifestBandwidthTypeAverage is a DashIsoMpdManifestBandwidthType enum value + DashIsoMpdManifestBandwidthTypeAverage = "AVERAGE" + + // DashIsoMpdManifestBandwidthTypeMax is a DashIsoMpdManifestBandwidthType enum value + DashIsoMpdManifestBandwidthTypeMax = "MAX" +) + +// DashIsoMpdManifestBandwidthType_Values returns all elements of the DashIsoMpdManifestBandwidthType enum +func DashIsoMpdManifestBandwidthType_Values() []string { + return []string{ + DashIsoMpdManifestBandwidthTypeAverage, + DashIsoMpdManifestBandwidthTypeMax, + } +} + // Specify whether your DASH profile is on-demand or main. When you choose Main // profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 // in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), @@ -29223,6 +29508,29 @@ func DashIsoSegmentLengthControl_Values() []string { } } +// Specify the video sample composition time offset mode in the output fMP4 +// TRUN box. For wider player compatibility, set Video composition offsets to +// Unsigned or leave blank. The earliest presentation time may be greater than +// zero, and sample composition time offsets will increment using unsigned integers. +// For strict fMP4 video and audio timing, set Video composition offsets to +// Signed. The earliest presentation time will be equal to zero, and sample +// composition time offsets will increment using signed integers. +const ( + // DashIsoVideoCompositionOffsetsSigned is a DashIsoVideoCompositionOffsets enum value + DashIsoVideoCompositionOffsetsSigned = "SIGNED" + + // DashIsoVideoCompositionOffsetsUnsigned is a DashIsoVideoCompositionOffsets enum value + DashIsoVideoCompositionOffsetsUnsigned = "UNSIGNED" +) + +// DashIsoVideoCompositionOffsets_Values returns all elements of the DashIsoVideoCompositionOffsets enum +func DashIsoVideoCompositionOffsets_Values() []string { + return []string{ + DashIsoVideoCompositionOffsetsSigned, + DashIsoVideoCompositionOffsetsUnsigned, + } +} + // When you enable Precise segment duration in manifests (writeSegmentTimelineInRepresentation), // your DASH manifest shows precise segment durations. The segment duration // information appears inside the SegmentTimeline element, inside SegmentTemplate @@ -34321,6 +34629,29 @@ func MpdKlvMetadata_Values() []string { } } +// To add an InbandEventStream element in your output MPD manifest for each +// type of event message, set Manifest metadata signaling to Enabled. For ID3 +// event messages, the InbandEventStream element schemeIdUri will be same value +// that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, +// the InbandEventStream element schemeIdUri will be "urn:scte:scte35:2013:bin". +// To leave these elements out of your output MPD manifest, set Manifest metadata +// signaling to Disabled. +const ( + // MpdManifestMetadataSignalingEnabled is a MpdManifestMetadataSignaling enum value + MpdManifestMetadataSignalingEnabled = "ENABLED" + + // MpdManifestMetadataSignalingDisabled is a MpdManifestMetadataSignaling enum value + MpdManifestMetadataSignalingDisabled = "DISABLED" +) + +// MpdManifestMetadataSignaling_Values returns all elements of the MpdManifestMetadataSignaling enum +func MpdManifestMetadataSignaling_Values() []string { + return []string{ + MpdManifestMetadataSignalingEnabled, + MpdManifestMetadataSignalingDisabled, + } +} + // Use this setting only when you specify SCTE-35 markers from ESAM. Choose // INSERT to put SCTE-35 markers in this output at the insertion points that // you specify in an ESAM XML document. Provide the document in the setting @@ -34382,6 +34713,26 @@ func MpdTimedMetadata_Values() []string { } } +// Specify the event message box (eMSG) version for ID3 timed metadata in your +// output.For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 +// Syntax.Leave blank to use the default value Version 0.When you specify Version +// 1, you must also set ID3 metadata (timedMetadata) to Passthrough. +const ( + // MpdTimedMetadataBoxVersionVersion0 is a MpdTimedMetadataBoxVersion enum value + MpdTimedMetadataBoxVersionVersion0 = "VERSION_0" + + // MpdTimedMetadataBoxVersionVersion1 is a MpdTimedMetadataBoxVersion enum value + MpdTimedMetadataBoxVersionVersion1 = "VERSION_1" +) + +// MpdTimedMetadataBoxVersion_Values returns all elements of the MpdTimedMetadataBoxVersion enum +func MpdTimedMetadataBoxVersion_Values() []string { + return []string{ + MpdTimedMetadataBoxVersionVersion0, + MpdTimedMetadataBoxVersionVersion1, + } +} + // Specify the strength of any adaptive quantization filters that you enable. // The value that you choose here applies to the following settings: Spatial // adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive @@ -34788,7 +35139,7 @@ func Mpeg2SpatialAdaptiveQuantization_Values() []string { // Specify whether this output's video uses the D10 syntax. Keep the default // value to not use the syntax. Related settings: When you choose D10 (D_10) -// for your MXF profile (profile), you must also set this value to to D10 (D_10). +// for your MXF profile (profile), you must also set this value to D10 (D_10). const ( // Mpeg2SyntaxDefault is a Mpeg2Syntax enum value Mpeg2SyntaxDefault = "DEFAULT" diff --git a/service/medialive/api.go b/service/medialive/api.go index 4529fb9ff8c..c0c62efb644 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -15091,7 +15091,10 @@ type Esam struct { // apply to OOB messages. AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` - Password *string `locationName:"password" type:"string"` + // Password if credentials are required to access the POIS endpoint. This is + // a reference to an AWS parameter store name from which the password can be + // retrieved. AWS Parameter store format: "ssm://" + PasswordParam *string `locationName:"passwordParam" type:"string"` // The URL of the signal conditioner endpoint on the Placement Opportunity Information // System (POIS). MediaLive sends SignalProcessingEvents here when SCTE-35 messages @@ -15160,9 +15163,9 @@ func (s *Esam) SetAdAvailOffset(v int64) *Esam { return s } -// SetPassword sets the Password field's value. -func (s *Esam) SetPassword(v string) *Esam { - s.Password = &v +// SetPasswordParam sets the PasswordParam field's value. +func (s *Esam) SetPasswordParam(v string) *Esam { + s.PasswordParam = &v return s } diff --git a/service/polly/api.go b/service/polly/api.go index 2280298b62d..f63f06154ef 100644 --- a/service/polly/api.go +++ b/service/polly/api.go @@ -3989,6 +3989,9 @@ const ( // LanguageCodeArAe is a LanguageCode enum value LanguageCodeArAe = "ar-AE" + + // LanguageCodeFiFi is a LanguageCode enum value + LanguageCodeFiFi = "fi-FI" ) // LanguageCode_Values returns all elements of the LanguageCode enum @@ -4029,6 +4032,7 @@ func LanguageCode_Values() []string { LanguageCodeDeAt, LanguageCodeYueCn, LanguageCodeArAe, + LanguageCodeFiFi, } } diff --git a/service/proton/api.go b/service/proton/api.go index 63cf19d564d..c158dce46c9 100644 --- a/service/proton/api.go +++ b/service/proton/api.go @@ -9851,9 +9851,7 @@ type CreateEnvironmentAccountConnectionInput struct { // The Amazon Resource Name (ARN) of the IAM service role that's created in // the environment account. Proton uses this role to provision infrastructure // resources in the associated environment account. - // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"` + RoleArn *string `locationName:"roleArn" min:"1" type:"string"` // An optional list of metadata items that you can associate with the Proton // environment account connection. A tag is a key-value pair. @@ -9899,9 +9897,6 @@ func (s *CreateEnvironmentAccountConnectionInput) Validate() error { if s.ManagementAccountId == nil { invalidParams.Add(request.NewErrParamRequired("ManagementAccountId")) } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } if s.RoleArn != nil && len(*s.RoleArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("RoleArn", 1)) } diff --git a/service/redshiftserverless/api.go b/service/redshiftserverless/api.go index ca135c3b6bb..201517beab3 100644 --- a/service/redshiftserverless/api.go +++ b/service/redshiftserverless/api.go @@ -81,6 +81,9 @@ func (c *RedshiftServerless) ConvertRecoveryPointToSnapshotRequest(input *Conver // - ValidationException // The input failed to satisfy the constraints specified by an AWS service. // +// - TooManyTagsException +// The request exceeded the number of tags allowed for a resource. +// // - ServiceQuotaExceededException // The service limit was exceeded. // @@ -358,6 +361,9 @@ func (c *RedshiftServerless) CreateSnapshotRequest(input *CreateSnapshotInput) ( // - ValidationException // The input failed to satisfy the constraints specified by an AWS service. // +// - TooManyTagsException +// The request exceeded the number of tags allowed for a resource. +// // - ServiceQuotaExceededException // The service limit was exceeded. // @@ -1155,9 +1161,9 @@ func (c *RedshiftServerless) GetCredentialsRequest(input *GetCredentialsInput) ( // specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 // minutes). // -//

The Identity and Access Management (IAM) user or role that runs GetCredentials +//

The Identity and Access Management (IAM) user or role that runs GetCredentials // must have an IAM policy attached that allows access to all necessary actions -// and resources.

If the DbName parameter is specified, +// and resources.

If the DbName parameter is specified, // the IAM policy must allow access to the resource dbname for the specified // database name.

// @@ -1638,6 +1644,88 @@ func (c *RedshiftServerless) GetSnapshotWithContext(ctx aws.Context, input *GetS return out, req.Send() } +const opGetTableRestoreStatus = "GetTableRestoreStatus" + +// GetTableRestoreStatusRequest generates a "aws/request.Request" representing the +// client's request for the GetTableRestoreStatus 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 GetTableRestoreStatus for more information on using the GetTableRestoreStatus +// 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 GetTableRestoreStatusRequest method. +// req, resp := client.GetTableRestoreStatusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetTableRestoreStatus +func (c *RedshiftServerless) GetTableRestoreStatusRequest(input *GetTableRestoreStatusInput) (req *request.Request, output *GetTableRestoreStatusOutput) { + op := &request.Operation{ + Name: opGetTableRestoreStatus, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetTableRestoreStatusInput{} + } + + output = &GetTableRestoreStatusOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetTableRestoreStatus API operation for Redshift Serverless. +// +// Returns information about a TableRestoreStatus object. +// +// 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 Redshift Serverless's +// API operation GetTableRestoreStatus for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - ValidationException +// The input failed to satisfy the constraints specified by an AWS service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetTableRestoreStatus +func (c *RedshiftServerless) GetTableRestoreStatus(input *GetTableRestoreStatusInput) (*GetTableRestoreStatusOutput, error) { + req, out := c.GetTableRestoreStatusRequest(input) + return out, req.Send() +} + +// GetTableRestoreStatusWithContext is the same as GetTableRestoreStatus with the addition of +// the ability to pass a context and additional request options. +// +// See GetTableRestoreStatus 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 *RedshiftServerless) GetTableRestoreStatusWithContext(ctx aws.Context, input *GetTableRestoreStatusInput, opts ...request.Option) (*GetTableRestoreStatusOutput, error) { + req, out := c.GetTableRestoreStatusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetUsageLimit = "GetUsageLimit" // GetUsageLimitRequest generates a "aws/request.Request" representing the @@ -2382,6 +2470,148 @@ func (c *RedshiftServerless) ListSnapshotsPagesWithContext(ctx aws.Context, inpu return p.Err() } +const opListTableRestoreStatus = "ListTableRestoreStatus" + +// ListTableRestoreStatusRequest generates a "aws/request.Request" representing the +// client's request for the ListTableRestoreStatus 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 ListTableRestoreStatus for more information on using the ListTableRestoreStatus +// 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 ListTableRestoreStatusRequest method. +// req, resp := client.ListTableRestoreStatusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListTableRestoreStatus +func (c *RedshiftServerless) ListTableRestoreStatusRequest(input *ListTableRestoreStatusInput) (req *request.Request, output *ListTableRestoreStatusOutput) { + op := &request.Operation{ + Name: opListTableRestoreStatus, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListTableRestoreStatusInput{} + } + + output = &ListTableRestoreStatusOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTableRestoreStatus API operation for Redshift Serverless. +// +// Returns information about an array of TableRestoreStatus objects. +// +// 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 Redshift Serverless's +// API operation ListTableRestoreStatus for usage and error information. +// +// Returned Error Types: +// +// - InvalidPaginationException +// The provided pagination token is invalid. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - ValidationException +// The input failed to satisfy the constraints specified by an AWS service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListTableRestoreStatus +func (c *RedshiftServerless) ListTableRestoreStatus(input *ListTableRestoreStatusInput) (*ListTableRestoreStatusOutput, error) { + req, out := c.ListTableRestoreStatusRequest(input) + return out, req.Send() +} + +// ListTableRestoreStatusWithContext is the same as ListTableRestoreStatus with the addition of +// the ability to pass a context and additional request options. +// +// See ListTableRestoreStatus 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 *RedshiftServerless) ListTableRestoreStatusWithContext(ctx aws.Context, input *ListTableRestoreStatusInput, opts ...request.Option) (*ListTableRestoreStatusOutput, error) { + req, out := c.ListTableRestoreStatusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListTableRestoreStatusPages iterates over the pages of a ListTableRestoreStatus operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTableRestoreStatus 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 ListTableRestoreStatus operation. +// pageNum := 0 +// err := client.ListTableRestoreStatusPages(params, +// func(page *redshiftserverless.ListTableRestoreStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *RedshiftServerless) ListTableRestoreStatusPages(input *ListTableRestoreStatusInput, fn func(*ListTableRestoreStatusOutput, bool) bool) error { + return c.ListTableRestoreStatusPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTableRestoreStatusPagesWithContext same as ListTableRestoreStatusPages 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 *RedshiftServerless) ListTableRestoreStatusPagesWithContext(ctx aws.Context, input *ListTableRestoreStatusInput, fn func(*ListTableRestoreStatusOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTableRestoreStatusInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTableRestoreStatusRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTableRestoreStatusOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTagsForResource = "ListTagsForResource" // ListTagsForResourceRequest generates a "aws/request.Request" representing the @@ -3034,6 +3264,95 @@ func (c *RedshiftServerless) RestoreFromSnapshotWithContext(ctx aws.Context, inp return out, req.Send() } +const opRestoreTableFromSnapshot = "RestoreTableFromSnapshot" + +// RestoreTableFromSnapshotRequest generates a "aws/request.Request" representing the +// client's request for the RestoreTableFromSnapshot 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 RestoreTableFromSnapshot for more information on using the RestoreTableFromSnapshot +// 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 RestoreTableFromSnapshotRequest method. +// req, resp := client.RestoreTableFromSnapshotRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/RestoreTableFromSnapshot +func (c *RedshiftServerless) RestoreTableFromSnapshotRequest(input *RestoreTableFromSnapshotInput) (req *request.Request, output *RestoreTableFromSnapshotOutput) { + op := &request.Operation{ + Name: opRestoreTableFromSnapshot, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RestoreTableFromSnapshotInput{} + } + + output = &RestoreTableFromSnapshotOutput{} + req = c.newRequest(op, input, output) + return +} + +// RestoreTableFromSnapshot API operation for Redshift Serverless. +// +// Restores a table from a snapshot to your Amazon Redshift Serverless instance. +// +// 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 Redshift Serverless's +// API operation RestoreTableFromSnapshot for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - ConflictException +// The submitted action has conflicts. +// +// - ValidationException +// The input failed to satisfy the constraints specified by an AWS service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/RestoreTableFromSnapshot +func (c *RedshiftServerless) RestoreTableFromSnapshot(input *RestoreTableFromSnapshotInput) (*RestoreTableFromSnapshotOutput, error) { + req, out := c.RestoreTableFromSnapshotRequest(input) + return out, req.Send() +} + +// RestoreTableFromSnapshotWithContext is the same as RestoreTableFromSnapshot with the addition of +// the ability to pass a context and additional request options. +// +// See RestoreTableFromSnapshot 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 *RedshiftServerless) RestoreTableFromSnapshotWithContext(ctx aws.Context, input *RestoreTableFromSnapshotInput, opts ...request.Option) (*RestoreTableFromSnapshotOutput, error) { + req, out := c.RestoreTableFromSnapshotRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opTagResource = "TagResource" // TagResourceRequest generates a "aws/request.Request" representing the @@ -3857,6 +4176,10 @@ type ConvertRecoveryPointToSnapshotInput struct { // // SnapshotName is a required field SnapshotName *string `locationName:"snapshotName" type:"string" required:"true"` + + // An array of Tag objects (https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html) + // to associate with the created snapshot. + Tags []*Tag `locationName:"tags" type:"list"` } // String returns the string representation. @@ -3886,6 +4209,16 @@ func (s *ConvertRecoveryPointToSnapshotInput) Validate() error { if s.SnapshotName == nil { invalidParams.Add(request.NewErrParamRequired("SnapshotName")) } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -3911,6 +4244,12 @@ func (s *ConvertRecoveryPointToSnapshotInput) SetSnapshotName(v string) *Convert return s } +// SetTags sets the Tags field's value. +func (s *ConvertRecoveryPointToSnapshotInput) SetTags(v []*Tag) *ConvertRecoveryPointToSnapshotInput { + s.Tags = v + return s +} + type ConvertRecoveryPointToSnapshotOutput struct { _ struct{} `type:"structure"` @@ -4249,6 +4588,10 @@ type CreateSnapshotInput struct { // // SnapshotName is a required field SnapshotName *string `locationName:"snapshotName" type:"string" required:"true"` + + // An array of Tag objects (https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html) + // to associate with the snapshot. + Tags []*Tag `locationName:"tags" type:"list"` } // String returns the string representation. @@ -4278,6 +4621,16 @@ func (s *CreateSnapshotInput) Validate() error { if s.SnapshotName == nil { invalidParams.Add(request.NewErrParamRequired("SnapshotName")) } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -4303,6 +4656,12 @@ func (s *CreateSnapshotInput) SetSnapshotName(v string) *CreateSnapshotInput { return s } +// SetTags sets the Tags field's value. +func (s *CreateSnapshotInput) SetTags(v []*Tag) *CreateSnapshotInput { + s.Tags = v + return s +} + type CreateSnapshotOutput struct { _ struct{} `type:"structure"` @@ -4485,6 +4844,10 @@ type CreateWorkgroupInput struct { // NamespaceName is a required field NamespaceName *string `locationName:"namespaceName" min:"3" type:"string" required:"true"` + // The custom port to use when connecting to a workgroup. Valid port ranges + // are 5431-5455 and 8191-8215. The default is 5439. + Port *int64 `locationName:"port" type:"integer"` + // A value that specifies whether the workgroup can be accessed from a public // network. PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"` @@ -4578,6 +4941,12 @@ func (s *CreateWorkgroupInput) SetNamespaceName(v string) *CreateWorkgroupInput return s } +// SetPort sets the Port field's value. +func (s *CreateWorkgroupInput) SetPort(v int64) *CreateWorkgroupInput { + s.Port = &v + return s +} + // SetPubliclyAccessible sets the PubliclyAccessible field's value. func (s *CreateWorkgroupInput) SetPubliclyAccessible(v bool) *CreateWorkgroupInput { s.PubliclyAccessible = &v @@ -5293,8 +5662,8 @@ type GetCredentialsInput struct { // // * Must be 1 to 64 alphanumeric characters or hyphens. // - // * Must contain only lowercase letters, numbers, underscore, plus sign, - // period (dot), at symbol (@), or hyphen. + // * Must contain only uppercase or lowercase letters, numbers, underscore, + // plus sign, period (dot), at symbol (@), or hyphen. // // * The first character must be a letter. // @@ -5830,6 +6199,84 @@ func (s *GetSnapshotOutput) SetSnapshot(v *Snapshot) *GetSnapshotOutput { return s } +type GetTableRestoreStatusInput struct { + _ struct{} `type:"structure"` + + // The ID of the RestoreTableFromSnapshot request to return status for. + // + // TableRestoreRequestId is a required field + TableRestoreRequestId *string `locationName:"tableRestoreRequestId" 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 GetTableRestoreStatusInput) 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 GetTableRestoreStatusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetTableRestoreStatusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetTableRestoreStatusInput"} + if s.TableRestoreRequestId == nil { + invalidParams.Add(request.NewErrParamRequired("TableRestoreRequestId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTableRestoreRequestId sets the TableRestoreRequestId field's value. +func (s *GetTableRestoreStatusInput) SetTableRestoreRequestId(v string) *GetTableRestoreStatusInput { + s.TableRestoreRequestId = &v + return s +} + +type GetTableRestoreStatusOutput struct { + _ struct{} `type:"structure"` + + // The returned TableRestoreStatus object that contains information about the + // status of your RestoreTableFromSnapshot request. + TableRestoreStatus *TableRestoreStatus `locationName:"tableRestoreStatus" type:"structure"` +} + +// 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 GetTableRestoreStatusOutput) 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 GetTableRestoreStatusOutput) GoString() string { + return s.String() +} + +// SetTableRestoreStatus sets the TableRestoreStatus field's value. +func (s *GetTableRestoreStatusOutput) SetTableRestoreStatus(v *TableRestoreStatus) *GetTableRestoreStatusOutput { + s.TableRestoreStatus = v + return s +} + type GetUsageLimitInput struct { _ struct{} `type:"structure"` @@ -6186,11 +6633,11 @@ type ListEndpointAccessInput struct { _ struct{} `type:"structure"` // An optional parameter that specifies the maximum number of results to return. - // You can use nextToken to get the next page of results. + // You can use nextToken to display the next page of results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // If your initial ListEndpointAccess operation returns a nextToken, you can - // include the returned nextToken in subsequent ListEndpointAccess operations, + // include the returned nextToken in following ListEndpointAccess operations, // which returns results in the next page. NextToken *string `locationName:"nextToken" type:"string"` @@ -6305,11 +6752,11 @@ type ListNamespacesInput struct { _ struct{} `type:"structure"` // An optional parameter that specifies the maximum number of results to return. - // You can use nextToken to get the next page of results. + // You can use nextToken to display the next page of results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // If your initial ListNamespaces operation returns a nextToken, you can include - // the returned nextToken in subsequent ListNamespaces operations, which returns + // the returned nextToken in following ListNamespaces operations, which returns // results in the next page. NextToken *string `locationName:"nextToken" type:"string"` } @@ -6408,14 +6855,18 @@ type ListRecoveryPointsInput struct { EndTime *time.Time `locationName:"endTime" type:"timestamp"` // An optional parameter that specifies the maximum number of results to return. - // You can use nextToken to get the next page of results. + // You can use nextToken to display the next page of results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + // The Amazon Resource Name (ARN) of the namespace from which to list recovery + // points. + NamespaceArn *string `locationName:"namespaceArn" type:"string"` + // The name of the namespace to list recovery points for. NamespaceName *string `locationName:"namespaceName" min:"3" type:"string"` // If your initial ListRecoveryPoints operation returns a nextToken, you can - // include the returned nextToken in subsequent ListRecoveryPoints operations, + // include the returned nextToken in following ListRecoveryPoints operations, // which returns results in the next page. NextToken *string `locationName:"nextToken" type:"string"` @@ -6469,6 +6920,12 @@ func (s *ListRecoveryPointsInput) SetMaxResults(v int64) *ListRecoveryPointsInpu return s } +// SetNamespaceArn sets the NamespaceArn field's value. +func (s *ListRecoveryPointsInput) SetNamespaceArn(v string) *ListRecoveryPointsInput { + s.NamespaceArn = &v + return s +} + // SetNamespaceName sets the NamespaceName field's value. func (s *ListRecoveryPointsInput) SetNamespaceName(v string) *ListRecoveryPointsInput { s.NamespaceName = &v @@ -6536,7 +6993,7 @@ type ListSnapshotsInput struct { EndTime *time.Time `locationName:"endTime" type:"timestamp"` // An optional parameter that specifies the maximum number of results to return. - // You can use nextToken to get the next page of results. + // You can use nextToken to display the next page of results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The Amazon Resource Name (ARN) of the namespace from which to list all snapshots. @@ -6672,6 +7129,127 @@ func (s *ListSnapshotsOutput) SetSnapshots(v []*Snapshot) *ListSnapshotsOutput { return s } +type ListTableRestoreStatusInput struct { + _ struct{} `type:"structure"` + + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to display the next page of results. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // The namespace from which to list all of the statuses of RestoreTableFromSnapshot + // operations . + NamespaceName *string `locationName:"namespaceName" type:"string"` + + // If your initial ListTableRestoreStatus operation returns a nextToken, you + // can include the returned nextToken in following ListTableRestoreStatus operations. + // This will return results on the next page. + NextToken *string `locationName:"nextToken" min:"8" type:"string"` + + // The workgroup from which to list all of the statuses of RestoreTableFromSnapshot + // operations. + WorkgroupName *string `locationName:"workgroupName" 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 ListTableRestoreStatusInput) 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 ListTableRestoreStatusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTableRestoreStatusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTableRestoreStatusInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 8 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 8)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListTableRestoreStatusInput) SetMaxResults(v int64) *ListTableRestoreStatusInput { + s.MaxResults = &v + return s +} + +// SetNamespaceName sets the NamespaceName field's value. +func (s *ListTableRestoreStatusInput) SetNamespaceName(v string) *ListTableRestoreStatusInput { + s.NamespaceName = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTableRestoreStatusInput) SetNextToken(v string) *ListTableRestoreStatusInput { + s.NextToken = &v + return s +} + +// SetWorkgroupName sets the WorkgroupName field's value. +func (s *ListTableRestoreStatusInput) SetWorkgroupName(v string) *ListTableRestoreStatusInput { + s.WorkgroupName = &v + return s +} + +type ListTableRestoreStatusOutput struct { + _ struct{} `type:"structure"` + + // If your initial ListTableRestoreStatus operation returns a nextToken, you + // can include the returned nextToken in following ListTableRestoreStatus operations. + // This will returns results on the next page. + NextToken *string `locationName:"nextToken" min:"8" type:"string"` + + // The array of returned TableRestoreStatus objects. + TableRestoreStatuses []*TableRestoreStatus `locationName:"tableRestoreStatuses" 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 ListTableRestoreStatusOutput) 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 ListTableRestoreStatusOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTableRestoreStatusOutput) SetNextToken(v string) *ListTableRestoreStatusOutput { + s.NextToken = &v + return s +} + +// SetTableRestoreStatuses sets the TableRestoreStatuses field's value. +func (s *ListTableRestoreStatusOutput) SetTableRestoreStatuses(v []*TableRestoreStatus) *ListTableRestoreStatusOutput { + s.TableRestoreStatuses = v + return s +} + type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -6760,7 +7338,7 @@ type ListUsageLimitsInput struct { MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // If your initial ListUsageLimits operation returns a nextToken, you can include - // the returned nextToken in subsequent ListUsageLimits operations, which returns + // the returned nextToken in following ListUsageLimits operations, which returns // results in the next page. NextToken *string `locationName:"nextToken" min:"8" type:"string"` @@ -6876,11 +7454,11 @@ type ListWorkgroupsInput struct { _ struct{} `type:"structure"` // An optional parameter that specifies the maximum number of results to return. - // You can use nextToken to get the next page of results. + // You can use nextToken to display the next page of results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // If your initial ListWorkgroups operation returns a nextToken, you can include - // the returned nextToken in subsequent ListNamespaces operations, which returns + // the returned nextToken in following ListNamespaces operations, which returns // results in the next page. NextToken *string `locationName:"nextToken" type:"string"` } @@ -7266,6 +7844,10 @@ func (s *PutResourcePolicyOutput) SetResourcePolicy(v *ResourcePolicy) *PutResou type RecoveryPoint struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the namespace the recovery point is associated + // with. + NamespaceArn *string `locationName:"namespaceArn" type:"string"` + // The name of the namespace the recovery point is associated with. NamespaceName *string `locationName:"namespaceName" min:"3" type:"string"` @@ -7300,6 +7882,12 @@ func (s RecoveryPoint) GoString() string { return s.String() } +// SetNamespaceArn sets the NamespaceArn field's value. +func (s *RecoveryPoint) SetNamespaceArn(v string) *RecoveryPoint { + s.NamespaceArn = &v + return s +} + // SetNamespaceName sets the NamespaceName field's value. func (s *RecoveryPoint) SetNamespaceName(v string) *RecoveryPoint { s.NamespaceName = &v @@ -7570,10 +8158,15 @@ type RestoreFromSnapshotInput struct { // The Amazon Web Services account that owns the snapshot. OwnerAccount *string `locationName:"ownerAccount" type:"string"` - // The Amazon Resource Name (ARN) of the snapshot to restore from. + // The Amazon Resource Name (ARN) of the snapshot to restore from. Required + // if restoring from Amazon Redshift Serverless to a provisioned cluster. Must + // not be specified at the same time as snapshotName. + // + // The format of the ARN is arn:aws:redshift:::snapshot:/. SnapshotArn *string `locationName:"snapshotArn" type:"string"` - // The name of the snapshot to restore from. + // The name of the snapshot to restore from. Must not be specified at the same + // time as snapshotArn. SnapshotName *string `locationName:"snapshotName" type:"string"` // The name of the workgroup used to restore the snapshot. @@ -7701,6 +8294,191 @@ func (s *RestoreFromSnapshotOutput) SetSnapshotName(v string) *RestoreFromSnapsh return s } +type RestoreTableFromSnapshotInput struct { + _ struct{} `type:"structure"` + + // Indicates whether name identifiers for database, schema, and table are case + // sensitive. If true, the names are case sensitive. If false, the names are + // not case sensitive. The default is false. + ActivateCaseSensitiveIdentifier *bool `locationName:"activateCaseSensitiveIdentifier" type:"boolean"` + + // The namespace of the snapshot to restore from. + // + // NamespaceName is a required field + NamespaceName *string `locationName:"namespaceName" type:"string" required:"true"` + + // The name of the table to create from the restore operation. + // + // NewTableName is a required field + NewTableName *string `locationName:"newTableName" type:"string" required:"true"` + + // The name of the snapshot to restore the table from. + // + // SnapshotName is a required field + SnapshotName *string `locationName:"snapshotName" type:"string" required:"true"` + + // The name of the source database that contains the table being restored. + // + // SourceDatabaseName is a required field + SourceDatabaseName *string `locationName:"sourceDatabaseName" type:"string" required:"true"` + + // The name of the source schema that contains the table being restored. + SourceSchemaName *string `locationName:"sourceSchemaName" type:"string"` + + // The name of the source table being restored. + // + // SourceTableName is a required field + SourceTableName *string `locationName:"sourceTableName" type:"string" required:"true"` + + // The name of the database to restore the table to. + TargetDatabaseName *string `locationName:"targetDatabaseName" type:"string"` + + // The name of the schema to restore the table to. + TargetSchemaName *string `locationName:"targetSchemaName" type:"string"` + + // The workgroup to restore the table to. + // + // WorkgroupName is a required field + WorkgroupName *string `locationName:"workgroupName" 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 RestoreTableFromSnapshotInput) 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 RestoreTableFromSnapshotInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RestoreTableFromSnapshotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RestoreTableFromSnapshotInput"} + if s.NamespaceName == nil { + invalidParams.Add(request.NewErrParamRequired("NamespaceName")) + } + if s.NewTableName == nil { + invalidParams.Add(request.NewErrParamRequired("NewTableName")) + } + if s.SnapshotName == nil { + invalidParams.Add(request.NewErrParamRequired("SnapshotName")) + } + if s.SourceDatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("SourceDatabaseName")) + } + if s.SourceTableName == nil { + invalidParams.Add(request.NewErrParamRequired("SourceTableName")) + } + if s.WorkgroupName == nil { + invalidParams.Add(request.NewErrParamRequired("WorkgroupName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActivateCaseSensitiveIdentifier sets the ActivateCaseSensitiveIdentifier field's value. +func (s *RestoreTableFromSnapshotInput) SetActivateCaseSensitiveIdentifier(v bool) *RestoreTableFromSnapshotInput { + s.ActivateCaseSensitiveIdentifier = &v + return s +} + +// SetNamespaceName sets the NamespaceName field's value. +func (s *RestoreTableFromSnapshotInput) SetNamespaceName(v string) *RestoreTableFromSnapshotInput { + s.NamespaceName = &v + return s +} + +// SetNewTableName sets the NewTableName field's value. +func (s *RestoreTableFromSnapshotInput) SetNewTableName(v string) *RestoreTableFromSnapshotInput { + s.NewTableName = &v + return s +} + +// SetSnapshotName sets the SnapshotName field's value. +func (s *RestoreTableFromSnapshotInput) SetSnapshotName(v string) *RestoreTableFromSnapshotInput { + s.SnapshotName = &v + return s +} + +// SetSourceDatabaseName sets the SourceDatabaseName field's value. +func (s *RestoreTableFromSnapshotInput) SetSourceDatabaseName(v string) *RestoreTableFromSnapshotInput { + s.SourceDatabaseName = &v + return s +} + +// SetSourceSchemaName sets the SourceSchemaName field's value. +func (s *RestoreTableFromSnapshotInput) SetSourceSchemaName(v string) *RestoreTableFromSnapshotInput { + s.SourceSchemaName = &v + return s +} + +// SetSourceTableName sets the SourceTableName field's value. +func (s *RestoreTableFromSnapshotInput) SetSourceTableName(v string) *RestoreTableFromSnapshotInput { + s.SourceTableName = &v + return s +} + +// SetTargetDatabaseName sets the TargetDatabaseName field's value. +func (s *RestoreTableFromSnapshotInput) SetTargetDatabaseName(v string) *RestoreTableFromSnapshotInput { + s.TargetDatabaseName = &v + return s +} + +// SetTargetSchemaName sets the TargetSchemaName field's value. +func (s *RestoreTableFromSnapshotInput) SetTargetSchemaName(v string) *RestoreTableFromSnapshotInput { + s.TargetSchemaName = &v + return s +} + +// SetWorkgroupName sets the WorkgroupName field's value. +func (s *RestoreTableFromSnapshotInput) SetWorkgroupName(v string) *RestoreTableFromSnapshotInput { + s.WorkgroupName = &v + return s +} + +type RestoreTableFromSnapshotOutput struct { + _ struct{} `type:"structure"` + + // The TableRestoreStatus object that contains the status of the restore operation. + TableRestoreStatus *TableRestoreStatus `locationName:"tableRestoreStatus" type:"structure"` +} + +// 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 RestoreTableFromSnapshotOutput) 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 RestoreTableFromSnapshotOutput) GoString() string { + return s.String() +} + +// SetTableRestoreStatus sets the TableRestoreStatus field's value. +func (s *RestoreTableFromSnapshotOutput) SetTableRestoreStatus(v *TableRestoreStatus) *RestoreTableFromSnapshotOutput { + s.TableRestoreStatus = v + return s +} + // The service limit was exceeded. type ServiceQuotaExceededException struct { _ struct{} `type:"structure"` @@ -7971,6 +8749,167 @@ func (s *Snapshot) SetTotalBackupSizeInMegaBytes(v float64) *Snapshot { return s } +// Contains information about a table restore request. +type TableRestoreStatus struct { + _ struct{} `type:"structure"` + + // A description of the status of the table restore request. Status values include + // SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS. + Message *string `locationName:"message" type:"string"` + + // The namespace of the table being restored from. + NamespaceName *string `locationName:"namespaceName" type:"string"` + + // The name of the table to create from the restore operation. + NewTableName *string `locationName:"newTableName" type:"string"` + + // The amount of data restored to the new table so far, in megabytes (MB). + ProgressInMegaBytes *int64 `locationName:"progressInMegaBytes" type:"long"` + + // The time that the table restore request was made, in Universal Coordinated + // Time (UTC). + RequestTime *time.Time `locationName:"requestTime" type:"timestamp"` + + // The name of the snapshot being restored from. + SnapshotName *string `locationName:"snapshotName" type:"string"` + + // The name of the source database being restored from. + SourceDatabaseName *string `locationName:"sourceDatabaseName" type:"string"` + + // The name of the source schema being restored from. + SourceSchemaName *string `locationName:"sourceSchemaName" type:"string"` + + // The name of the source table being restored from. + SourceTableName *string `locationName:"sourceTableName" type:"string"` + + // A value that describes the current state of the table restore request. Possible + // values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS. + Status *string `locationName:"status" type:"string"` + + // The ID of the RestoreTableFromSnapshot request. + TableRestoreRequestId *string `locationName:"tableRestoreRequestId" type:"string"` + + // The name of the database to restore to. + TargetDatabaseName *string `locationName:"targetDatabaseName" type:"string"` + + // The name of the schema to restore to. + TargetSchemaName *string `locationName:"targetSchemaName" type:"string"` + + // The total amount of data to restore to the new table, in megabytes (MB). + TotalDataInMegaBytes *int64 `locationName:"totalDataInMegaBytes" type:"long"` + + // The name of the workgroup being restored from. + WorkgroupName *string `locationName:"workgroupName" 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 TableRestoreStatus) 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 TableRestoreStatus) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *TableRestoreStatus) SetMessage(v string) *TableRestoreStatus { + s.Message = &v + return s +} + +// SetNamespaceName sets the NamespaceName field's value. +func (s *TableRestoreStatus) SetNamespaceName(v string) *TableRestoreStatus { + s.NamespaceName = &v + return s +} + +// SetNewTableName sets the NewTableName field's value. +func (s *TableRestoreStatus) SetNewTableName(v string) *TableRestoreStatus { + s.NewTableName = &v + return s +} + +// SetProgressInMegaBytes sets the ProgressInMegaBytes field's value. +func (s *TableRestoreStatus) SetProgressInMegaBytes(v int64) *TableRestoreStatus { + s.ProgressInMegaBytes = &v + return s +} + +// SetRequestTime sets the RequestTime field's value. +func (s *TableRestoreStatus) SetRequestTime(v time.Time) *TableRestoreStatus { + s.RequestTime = &v + return s +} + +// SetSnapshotName sets the SnapshotName field's value. +func (s *TableRestoreStatus) SetSnapshotName(v string) *TableRestoreStatus { + s.SnapshotName = &v + return s +} + +// SetSourceDatabaseName sets the SourceDatabaseName field's value. +func (s *TableRestoreStatus) SetSourceDatabaseName(v string) *TableRestoreStatus { + s.SourceDatabaseName = &v + return s +} + +// SetSourceSchemaName sets the SourceSchemaName field's value. +func (s *TableRestoreStatus) SetSourceSchemaName(v string) *TableRestoreStatus { + s.SourceSchemaName = &v + return s +} + +// SetSourceTableName sets the SourceTableName field's value. +func (s *TableRestoreStatus) SetSourceTableName(v string) *TableRestoreStatus { + s.SourceTableName = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *TableRestoreStatus) SetStatus(v string) *TableRestoreStatus { + s.Status = &v + return s +} + +// SetTableRestoreRequestId sets the TableRestoreRequestId field's value. +func (s *TableRestoreStatus) SetTableRestoreRequestId(v string) *TableRestoreStatus { + s.TableRestoreRequestId = &v + return s +} + +// SetTargetDatabaseName sets the TargetDatabaseName field's value. +func (s *TableRestoreStatus) SetTargetDatabaseName(v string) *TableRestoreStatus { + s.TargetDatabaseName = &v + return s +} + +// SetTargetSchemaName sets the TargetSchemaName field's value. +func (s *TableRestoreStatus) SetTargetSchemaName(v string) *TableRestoreStatus { + s.TargetSchemaName = &v + return s +} + +// SetTotalDataInMegaBytes sets the TotalDataInMegaBytes field's value. +func (s *TableRestoreStatus) SetTotalDataInMegaBytes(v int64) *TableRestoreStatus { + s.TotalDataInMegaBytes = &v + return s +} + +// SetWorkgroupName sets the WorkgroupName field's value. +func (s *TableRestoreStatus) SetWorkgroupName(v string) *TableRestoreStatus { + s.WorkgroupName = &v + return s +} + // A map of key-value pairs. type Tag struct { _ struct{} `type:"structure"` @@ -8671,7 +9610,10 @@ func (s *UpdateSnapshotOutput) SetSnapshot(v *Snapshot) *UpdateSnapshotOutput { type UpdateUsageLimitInput struct { _ struct{} `type:"structure"` - // The new limit amount. For more information about this parameter. + // The new limit amount. If time-based, this amount is in Redshift Processing + // Units (RPU) consumed per hour. If data-based, this amount is in terabytes + // (TB) of data transferred between Regions in cross-account sharing. The value + // must be a positive number. Amount *int64 `locationName:"amount" type:"long"` // The new action that Amazon Redshift Serverless takes when the limit is reached. @@ -8779,6 +9721,10 @@ type UpdateWorkgroupInput struct { // your VPC. EnhancedVpcRouting *bool `locationName:"enhancedVpcRouting" type:"boolean"` + // The custom port to use when connecting to a workgroup. Valid port ranges + // are 5431-5455 and 8191-8215. The default is 5439. + Port *int64 `locationName:"port" type:"integer"` + // A value that specifies whether the workgroup can be accessible from a public // network. PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"` @@ -8847,6 +9793,12 @@ func (s *UpdateWorkgroupInput) SetEnhancedVpcRouting(v bool) *UpdateWorkgroupInp return s } +// SetPort sets the Port field's value. +func (s *UpdateWorkgroupInput) SetPort(v int64) *UpdateWorkgroupInput { + s.Port = &v + return s +} + // SetPubliclyAccessible sets the PubliclyAccessible field's value. func (s *UpdateWorkgroupInput) SetPubliclyAccessible(v bool) *UpdateWorkgroupInput { s.PubliclyAccessible = &v @@ -9179,6 +10131,10 @@ type Workgroup struct { // The namespace the workgroup is associated with. NamespaceName *string `locationName:"namespaceName" type:"string"` + // The custom port to use when connecting to a workgroup. Valid port ranges + // are 5431-5455 and 8191-8215. The default is 5439. + Port *int64 `locationName:"port" type:"integer"` + // A value that specifies whether the workgroup can be accessible from a public // network PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"` @@ -9256,6 +10212,12 @@ func (s *Workgroup) SetNamespaceName(v string) *Workgroup { return s } +// SetPort sets the Port field's value. +func (s *Workgroup) SetPort(v int64) *Workgroup { + s.Port = &v + return s +} + // SetPubliclyAccessible sets the PubliclyAccessible field's value. func (s *Workgroup) SetPubliclyAccessible(v bool) *Workgroup { s.PubliclyAccessible = &v diff --git a/service/redshiftserverless/redshiftserverlessiface/interface.go b/service/redshiftserverless/redshiftserverlessiface/interface.go index a9f18f449ee..1c2993ca126 100644 --- a/service/redshiftserverless/redshiftserverlessiface/interface.go +++ b/service/redshiftserverless/redshiftserverlessiface/interface.go @@ -132,6 +132,10 @@ type RedshiftServerlessAPI interface { GetSnapshotWithContext(aws.Context, *redshiftserverless.GetSnapshotInput, ...request.Option) (*redshiftserverless.GetSnapshotOutput, error) GetSnapshotRequest(*redshiftserverless.GetSnapshotInput) (*request.Request, *redshiftserverless.GetSnapshotOutput) + GetTableRestoreStatus(*redshiftserverless.GetTableRestoreStatusInput) (*redshiftserverless.GetTableRestoreStatusOutput, error) + GetTableRestoreStatusWithContext(aws.Context, *redshiftserverless.GetTableRestoreStatusInput, ...request.Option) (*redshiftserverless.GetTableRestoreStatusOutput, error) + GetTableRestoreStatusRequest(*redshiftserverless.GetTableRestoreStatusInput) (*request.Request, *redshiftserverless.GetTableRestoreStatusOutput) + GetUsageLimit(*redshiftserverless.GetUsageLimitInput) (*redshiftserverless.GetUsageLimitOutput, error) GetUsageLimitWithContext(aws.Context, *redshiftserverless.GetUsageLimitInput, ...request.Option) (*redshiftserverless.GetUsageLimitOutput, error) GetUsageLimitRequest(*redshiftserverless.GetUsageLimitInput) (*request.Request, *redshiftserverless.GetUsageLimitOutput) @@ -168,6 +172,13 @@ type RedshiftServerlessAPI interface { ListSnapshotsPages(*redshiftserverless.ListSnapshotsInput, func(*redshiftserverless.ListSnapshotsOutput, bool) bool) error ListSnapshotsPagesWithContext(aws.Context, *redshiftserverless.ListSnapshotsInput, func(*redshiftserverless.ListSnapshotsOutput, bool) bool, ...request.Option) error + ListTableRestoreStatus(*redshiftserverless.ListTableRestoreStatusInput) (*redshiftserverless.ListTableRestoreStatusOutput, error) + ListTableRestoreStatusWithContext(aws.Context, *redshiftserverless.ListTableRestoreStatusInput, ...request.Option) (*redshiftserverless.ListTableRestoreStatusOutput, error) + ListTableRestoreStatusRequest(*redshiftserverless.ListTableRestoreStatusInput) (*request.Request, *redshiftserverless.ListTableRestoreStatusOutput) + + ListTableRestoreStatusPages(*redshiftserverless.ListTableRestoreStatusInput, func(*redshiftserverless.ListTableRestoreStatusOutput, bool) bool) error + ListTableRestoreStatusPagesWithContext(aws.Context, *redshiftserverless.ListTableRestoreStatusInput, func(*redshiftserverless.ListTableRestoreStatusOutput, bool) bool, ...request.Option) error + ListTagsForResource(*redshiftserverless.ListTagsForResourceInput) (*redshiftserverless.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *redshiftserverless.ListTagsForResourceInput, ...request.Option) (*redshiftserverless.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*redshiftserverless.ListTagsForResourceInput) (*request.Request, *redshiftserverless.ListTagsForResourceOutput) @@ -198,6 +209,10 @@ type RedshiftServerlessAPI interface { RestoreFromSnapshotWithContext(aws.Context, *redshiftserverless.RestoreFromSnapshotInput, ...request.Option) (*redshiftserverless.RestoreFromSnapshotOutput, error) RestoreFromSnapshotRequest(*redshiftserverless.RestoreFromSnapshotInput) (*request.Request, *redshiftserverless.RestoreFromSnapshotOutput) + RestoreTableFromSnapshot(*redshiftserverless.RestoreTableFromSnapshotInput) (*redshiftserverless.RestoreTableFromSnapshotOutput, error) + RestoreTableFromSnapshotWithContext(aws.Context, *redshiftserverless.RestoreTableFromSnapshotInput, ...request.Option) (*redshiftserverless.RestoreTableFromSnapshotOutput, error) + RestoreTableFromSnapshotRequest(*redshiftserverless.RestoreTableFromSnapshotInput) (*request.Request, *redshiftserverless.RestoreTableFromSnapshotOutput) + TagResource(*redshiftserverless.TagResourceInput) (*redshiftserverless.TagResourceOutput, error) TagResourceWithContext(aws.Context, *redshiftserverless.TagResourceInput, ...request.Option) (*redshiftserverless.TagResourceOutput, error) TagResourceRequest(*redshiftserverless.TagResourceInput) (*request.Request, *redshiftserverless.TagResourceOutput) diff --git a/service/sns/api.go b/service/sns/api.go index 273b2da221d..12fcef703f0 100644 --- a/service/sns/api.go +++ b/service/sns/api.go @@ -60,6 +60,10 @@ func (c *SNS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ // Adds a statement to a topic's access control policy, granting access for // the specified Amazon Web Services accounts to the specified actions. // +// To remove the ability to change topic permissions, you must deny permissions +// to the AddPermission, RemovePermission, and SetTopicAttributes actions in +// your IAM policy. +// // 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. @@ -3634,6 +3638,10 @@ func (c *SNS) RemovePermissionRequest(input *RemovePermissionInput) (req *reques // // Removes a statement from a topic's access control policy. // +// To remove the ability to change topic permissions, you must deny permissions +// to the AddPermission, RemovePermission, and SetTopicAttributes actions in +// your IAM policy. +// // 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. @@ -4101,6 +4109,10 @@ func (c *SNS) SetTopicAttributesRequest(input *SetTopicAttributesInput) (req *re // // Allows a topic owner to set an attribute of the topic to a new value. // +// To remove the ability to change topic permissions, you must deny permissions +// to the AddPermission, RemovePermission, and SetTopicAttributes actions in +// your IAM policy. +// // 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. @@ -4428,6 +4440,10 @@ func (c *SNS) UnsubscribeRequest(input *UnsubscribeInput) (req *request.Request, // the endpoint owner can easily resubscribe to the topic if the Unsubscribe // request was unintended. // +// Amazon SQS queue subscriptions require authentication for deletion. Only +// the owner of the subscription, or the owner of the topic can unsubscribe +// using the required Amazon Web Services signature. +// // This action is throttled at 100 transactions per second (TPS). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -5385,6 +5401,18 @@ type CreateTopicInput struct { // * Policy – The policy that defines who can access your topic. By default, // only the topic owner can publish or subscribe to the topic. // + // * SignatureVersion – The signature version corresponds to the hashing + // algorithm used while creating the signature of the notifications, subscription + // confirmations, or unsubscribe confirmation messages sent by Amazon SNS. + // By default, SignatureVersion is set to 1. + // + // * TracingConfig – Tracing mode of an Amazon SNS topic. By default TracingConfig + // is set to PassThrough, and the topic passes through the tracing header + // it receives from an Amazon SNS publisher to its subscriptions. If set + // to Active, Amazon SNS will vend X-Ray segment data to topic owner account + // if the sampled flag in the tracing header is true. This is only supported + // on standard topics. + // // The following attribute applies only to server-side encryption (https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html): // // * KmsMasterKeyId – The ID of an Amazon Web Services managed customer @@ -6313,6 +6341,11 @@ type GetSubscriptionAttributesOutput struct { // For more information, see Amazon SNS Message Filtering (https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html) // in the Amazon SNS Developer Guide. // + // * FilterPolicyScope – This attribute lets you choose the filtering scope + // by using one of the following string value types: MessageAttributes (default) + // – The filter is applied on the message attributes. MessageBody – The + // filter is applied on the message body. + // // * Owner – The Amazon Web Services account ID of the subscription's owner. // // * PendingConfirmation – true if the subscription hasn't been confirmed. @@ -6429,10 +6462,20 @@ type GetTopicAttributesOutput struct { // * DisplayName – The human-readable name used in the From field for notifications // to email and email-json endpoints. // + // * EffectiveDeliveryPolicy – The JSON serialization of the effective + // delivery policy, taking system defaults into account. + // // * Owner – The Amazon Web Services account ID of the topic's owner. // // * Policy – The JSON serialization of the topic's access control policy. // + // * SignatureVersion – The version of the Amazon SNS signature used for + // the topic. By default, SignatureVersion is set to 1. The signature is + // a Base64-encoded SHA1withRSA signature. When you set SignatureVersion + // to 2. Amazon SNS uses a Base64-encoded SHA256withRSA signature. If the + // API response does not include the SignatureVersion attribute, it means + // that the SignatureVersion for the topic has value 1. + // // * SubscriptionsConfirmed – The number of confirmed subscriptions for // the topic. // @@ -6444,8 +6487,12 @@ type GetTopicAttributesOutput struct { // // * TopicArn – The topic's ARN. // - // * EffectiveDeliveryPolicy – The JSON serialization of the effective - // delivery policy, taking system defaults into account. + // * TracingConfig – Tracing mode of an Amazon SNS topic. By default TracingConfig + // is set to PassThrough, and the topic passes through the tracing header + // it receives from an Amazon SNS publisher to its subscriptions. If set + // to Active, Amazon SNS will vend X-Ray segment data to topic owner account + // if the sampled flag in the tracing header is true. This is only supported + // on standard topics. // // The following attribute applies only to server-side-encryption (https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html): // @@ -8756,6 +8803,11 @@ type SetSubscriptionAttributesInput struct { // only a subset of messages, rather than receiving every message published // to the topic. // + // * FilterPolicyScope – This attribute lets you choose the filtering scope + // by using one of the following string value types: MessageAttributes (default) + // – The filter is applied on the message attributes. MessageBody – The + // filter is applied on the message body. + // // * RawMessageDelivery – When set to true, enables raw message delivery // to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints // to process JSON formatting, which is otherwise created for Amazon SNS @@ -8882,6 +8934,13 @@ type SetTopicAttributesInput struct { // * Policy – The policy that defines who can access your topic. By default, // only the topic owner can publish or subscribe to the topic. // + // * TracingConfig – Tracing mode of an Amazon SNS topic. By default TracingConfig + // is set to PassThrough, and the topic passes through the tracing header + // it receives from an Amazon SNS publisher to its subscriptions. If set + // to Active, Amazon SNS will vend X-Ray segment data to topic owner account + // if the sampled flag in the tracing header is true. This is only supported + // on standard topics. + // // The following attribute applies only to server-side-encryption (https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html): // // * KmsMasterKeyId – The ID of an Amazon Web Services managed customer @@ -8890,6 +8949,10 @@ type SetTopicAttributesInput struct { // For more examples, see KeyId (https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) // in the Key Management Service API Reference. // + // * SignatureVersion – The signature version corresponds to the hashing + // algorithm used while creating the signature of the notifications, subscription + // confirmations, or unsubscribe confirmation messages sent by Amazon SNS. + // // The following attribute applies only to FIFO topics (https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html): // // * ContentBasedDeduplication – Enables content-based deduplication for @@ -9004,6 +9067,11 @@ type SubscribeInput struct { // only a subset of messages, rather than receiving every message published // to the topic. // + // * FilterPolicyScope – This attribute lets you choose the filtering scope + // by using one of the following string value types: MessageAttributes (default) + // – The filter is applied on the message attributes. MessageBody – The + // filter is applied on the message body. + // // * RawMessageDelivery – When set to true, enables raw message delivery // to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints // to process JSON formatting, which is otherwise created for Amazon SNS