From 943e6659c38950b7ea997b6d36b7d7a554a3d8bc Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 12 Jul 2024 14:32:57 -0400 Subject: [PATCH] Release v1.54.19 (2024-07-12) (#5309) Release v1.54.19 (2024-07-12) === ### Service Client Updates * `service/acm-pca`: Updates service API, documentation, waiters, and paginators * `service/arc-zonal-shift`: Updates service API and documentation * `service/autoscaling`: Adds new service * Add v2 smoke tests and smithy smokeTests trait for SDK testing. * `service/codebuild`: Adds new service * Add v2 smoke tests and smithy smokeTests trait for SDK testing. * `service/dynamodb`: Updates service API, documentation, waiters, paginators, and examples * Add v2 smoke tests and smithy smokeTests trait for SDK testing. * `service/globalaccelerator`: Updates service API * `service/pinpoint`: Updates service API and documentation * Add v2 smoke tests and smithy smokeTests trait for SDK testing. * `service/quicksight`: Updates service API and documentation * Vega ally control options and Support for Reviewed Answers in Topics * `service/rds`: Updates service API, documentation, waiters, paginators, and examples * Update path for CreateDBCluster resource identifier, and Add v2 smoke tests and smithy smokeTests trait for SDK testing. * `service/sns`: Adds new service * Add v2 smoke tests and smithy smokeTests trait for SDK testing. --- CHANGELOG.md | 22 + aws/endpoints/defaults.go | 27 + aws/version.go | 2 +- models/apis/acm-pca/2017-08-22/api-2.json | 161 +- models/apis/acm-pca/2017-08-22/docs-2.json | 4 +- .../apis/acm-pca/2017-08-22/paginators-1.json | 8 +- models/apis/acm-pca/2017-08-22/waiters-2.json | 136 +- .../arc-zonal-shift/2022-10-30/api-2.json | 69 +- .../arc-zonal-shift/2022-10-30/docs-2.json | 88 +- .../apis/autoscaling/2011-01-01/smoke-2.json | 16 + models/apis/codebuild/2016-10-06/smoke-2.json | 16 + models/apis/dynamodb/2012-08-10/smoke-2.json | 18 + .../globalaccelerator/2018-08-08/api-2.json | 30 +- models/apis/pinpoint/2016-12-01/api-2.json | 53 +- models/apis/pinpoint/2016-12-01/docs-2.json | 42 +- models/apis/quicksight/2018-04-01/api-2.json | 617 +++- models/apis/quicksight/2018-04-01/docs-2.json | 480 ++- models/apis/rds/2014-10-31/smoke-2.json | 29 + models/apis/sns/2010-03-31/smoke-2.json | 16 + models/endpoints/endpoints.json | 9 + service/acmpca/api.go | 280 +- service/acmpca/service.go | 3 +- service/acmpca/waiters.go | 14 +- service/arczonalshift/api.go | 590 +++- .../arczonalshiftiface/interface.go | 8 + service/arczonalshift/doc.go | 58 +- service/globalaccelerator/api.go | 42 + service/quicksight/api.go | 2872 +++++++++++++++++ .../quicksight/quicksightiface/interface.go | 16 +- 29 files changed, 5193 insertions(+), 533 deletions(-) create mode 100644 models/apis/autoscaling/2011-01-01/smoke-2.json create mode 100644 models/apis/codebuild/2016-10-06/smoke-2.json create mode 100644 models/apis/dynamodb/2012-08-10/smoke-2.json create mode 100644 models/apis/rds/2014-10-31/smoke-2.json create mode 100644 models/apis/sns/2010-03-31/smoke-2.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 11058dc2def..e55b538fbee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +Release v1.54.19 (2024-07-12) +=== + +### Service Client Updates +* `service/acm-pca`: Updates service API, documentation, waiters, and paginators +* `service/arc-zonal-shift`: Updates service API and documentation +* `service/autoscaling`: Adds new service + * Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* `service/codebuild`: Adds new service + * Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* `service/dynamodb`: Updates service API, documentation, waiters, paginators, and examples + * Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* `service/globalaccelerator`: Updates service API +* `service/pinpoint`: Updates service API and documentation + * Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* `service/quicksight`: Updates service API and documentation + * Vega ally control options and Support for Reviewed Answers in Topics +* `service/rds`: Updates service API, documentation, waiters, paginators, and examples + * Update path for CreateDBCluster resource identifier, and Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* `service/sns`: Adds new service + * Add v2 smoke tests and smithy smokeTests trait for SDK testing. + Release v1.54.18 (2024-07-10) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index fd47b5b36b9..84dc7dc08e7 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -829,27 +829,48 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, + endpointKey{ + Region: "eu-central-2", + }: endpoint{}, endpointKey{ Region: "eu-north-1", }: endpoint{}, endpointKey{ Region: "eu-south-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-2", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, @@ -859,6 +880,12 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "il-central-1", + }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index d3f3eeb6ac1..b2040b05e5b 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.54.18" +const SDKVersion = "1.54.19" diff --git a/models/apis/acm-pca/2017-08-22/api-2.json b/models/apis/acm-pca/2017-08-22/api-2.json index e5c2bc73936..82c77102521 100644 --- a/models/apis/acm-pca/2017-08-22/api-2.json +++ b/models/apis/acm-pca/2017-08-22/api-2.json @@ -2,6 +2,7 @@ "version":"2.0", "metadata":{ "apiVersion":"2017-08-22", + "auth":["aws.auth#sigv4"], "endpointPrefix":"acm-pca", "jsonVersion":"1.1", "protocol":"json", @@ -10,9 +11,9 @@ "serviceFullName":"AWS Certificate Manager Private Certificate Authority", "serviceId":"ACM PCA", "signatureVersion":"v4", + "signingName":"acm-pca", "targetPrefix":"ACMPrivateCA", - "uid":"acm-pca-2017-08-22", - "auth":["aws.auth#sigv4"] + "uid":"acm-pca-2017-08-22" }, "operations":{ "CreateCertificateAuthority":{ @@ -24,10 +25,10 @@ "input":{"shape":"CreateCertificateAuthorityRequest"}, "output":{"shape":"CreateCertificateAuthorityResponse"}, "errors":[ + {"shape":"LimitExceededException"}, {"shape":"InvalidArgsException"}, - {"shape":"InvalidPolicyException"}, {"shape":"InvalidTagException"}, - {"shape":"LimitExceededException"} + {"shape":"InvalidPolicyException"} ], "idempotent":true }, @@ -40,12 +41,12 @@ "input":{"shape":"CreateCertificateAuthorityAuditReportRequest"}, "output":{"shape":"CreateCertificateAuthorityAuditReportResponse"}, "errors":[ - {"shape":"RequestInProgressException"}, - {"shape":"RequestFailedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, {"shape":"InvalidArgsException"}, - {"shape":"InvalidStateException"} + {"shape":"RequestFailedException"}, + {"shape":"InvalidStateException"}, + {"shape":"RequestInProgressException"} ], "idempotent":true }, @@ -57,12 +58,12 @@ }, "input":{"shape":"CreatePermissionRequest"}, "errors":[ + {"shape":"LimitExceededException"}, + {"shape":"PermissionAlreadyExistsException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"PermissionAlreadyExistsException"}, - {"shape":"LimitExceededException"}, - {"shape":"InvalidStateException"}, - {"shape":"RequestFailedException"} + {"shape":"RequestFailedException"}, + {"shape":"InvalidStateException"} ] }, "DeleteCertificateAuthority":{ @@ -73,10 +74,10 @@ }, "input":{"shape":"DeleteCertificateAuthorityRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"} + {"shape":"InvalidStateException"}, + {"shape":"ConcurrentModificationException"} ] }, "DeletePermission":{ @@ -89,8 +90,8 @@ "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"}, - {"shape":"RequestFailedException"} + {"shape":"RequestFailedException"}, + {"shape":"InvalidStateException"} ] }, "DeletePolicy":{ @@ -101,12 +102,12 @@ }, "input":{"shape":"DeletePolicyRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, - {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"}, {"shape":"LockoutPreventedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidArnException"}, {"shape":"RequestFailedException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InvalidStateException"}, + {"shape":"ConcurrentModificationException"} ] }, "DescribeCertificateAuthority":{ @@ -145,11 +146,11 @@ "input":{"shape":"GetCertificateRequest"}, "output":{"shape":"GetCertificateResponse"}, "errors":[ - {"shape":"RequestInProgressException"}, - {"shape":"RequestFailedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"} + {"shape":"RequestFailedException"}, + {"shape":"InvalidStateException"}, + {"shape":"RequestInProgressException"} ] }, "GetCertificateAuthorityCertificate":{ @@ -162,8 +163,8 @@ "output":{"shape":"GetCertificateAuthorityCertificateResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidStateException"}, - {"shape":"InvalidArnException"} + {"shape":"InvalidArnException"}, + {"shape":"InvalidStateException"} ] }, "GetCertificateAuthorityCsr":{ @@ -175,11 +176,11 @@ "input":{"shape":"GetCertificateAuthorityCsrRequest"}, "output":{"shape":"GetCertificateAuthorityCsrResponse"}, "errors":[ - {"shape":"RequestInProgressException"}, - {"shape":"RequestFailedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"} + {"shape":"RequestFailedException"}, + {"shape":"InvalidStateException"}, + {"shape":"RequestInProgressException"} ] }, "GetPolicy":{ @@ -191,10 +192,10 @@ "input":{"shape":"GetPolicyRequest"}, "output":{"shape":"GetPolicyResponse"}, "errors":[ + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"}, {"shape":"RequestFailedException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InvalidStateException"} ] }, "ImportCertificateAuthorityCertificate":{ @@ -205,15 +206,15 @@ }, "input":{"shape":"ImportCertificateAuthorityCertificateRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, - {"shape":"RequestInProgressException"}, - {"shape":"RequestFailedException"}, + {"shape":"CertificateMismatchException"}, + {"shape":"MalformedCertificateException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, {"shape":"InvalidRequestException"}, + {"shape":"RequestFailedException"}, {"shape":"InvalidStateException"}, - {"shape":"MalformedCertificateException"}, - {"shape":"CertificateMismatchException"} + {"shape":"ConcurrentModificationException"}, + {"shape":"RequestInProgressException"} ] }, "IssueCertificate":{ @@ -227,9 +228,9 @@ "errors":[ {"shape":"LimitExceededException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidStateException"}, {"shape":"InvalidArnException"}, {"shape":"InvalidArgsException"}, + {"shape":"InvalidStateException"}, {"shape":"MalformedCSRException"} ], "idempotent":true @@ -257,9 +258,9 @@ "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidNextTokenException"}, + {"shape":"RequestFailedException"}, {"shape":"InvalidStateException"}, - {"shape":"RequestFailedException"} + {"shape":"InvalidNextTokenException"} ] }, "ListTags":{ @@ -284,13 +285,13 @@ }, "input":{"shape":"PutPolicyRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, - {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"}, - {"shape":"InvalidPolicyException"}, {"shape":"LockoutPreventedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidArnException"}, {"shape":"RequestFailedException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InvalidStateException"}, + {"shape":"ConcurrentModificationException"}, + {"shape":"InvalidPolicyException"} ] }, "RestoreCertificateAuthority":{ @@ -302,8 +303,8 @@ "input":{"shape":"RestoreCertificateAuthorityRequest"}, "errors":[ {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidStateException"}, - {"shape":"InvalidArnException"} + {"shape":"InvalidArnException"}, + {"shape":"InvalidStateException"} ] }, "RevokeCertificate":{ @@ -314,15 +315,15 @@ }, "input":{"shape":"RevokeCertificateRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, + {"shape":"RequestAlreadyProcessedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, {"shape":"InvalidRequestException"}, + {"shape":"RequestFailedException"}, {"shape":"InvalidStateException"}, - {"shape":"LimitExceededException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"RequestAlreadyProcessedException"}, - {"shape":"RequestInProgressException"}, - {"shape":"RequestFailedException"} + {"shape":"ConcurrentModificationException"}, + {"shape":"RequestInProgressException"} ] }, "TagCertificateAuthority":{ @@ -362,11 +363,11 @@ }, "input":{"shape":"UpdateCertificateAuthorityRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidArgsException"}, {"shape":"InvalidArnException"}, + {"shape":"InvalidArgsException"}, {"shape":"InvalidStateException"}, + {"shape":"ConcurrentModificationException"}, {"shape":"InvalidPolicyException"} ] } @@ -413,8 +414,7 @@ "members":{ "AccessMethod":{"shape":"AccessMethod"}, "AccessLocation":{"shape":"GeneralName"} - }, - "box":true + } }, "AccessDescriptionList":{ "type":"list", @@ -493,7 +493,7 @@ "type":"string", "max":4096, "min":1, - "pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" + "pattern":"(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?" }, "Boolean":{"type":"boolean"}, "CertificateAuthorities":{ @@ -589,7 +589,7 @@ "type":"string", "max":253, "min":0, - "pattern":"^[-a-zA-Z0-9;/?:@&=+$,%_.!~*()']*$" + "pattern":"[-a-zA-Z0-9;/?:@&=+$,%_.!~*()']*" }, "ConcurrentModificationException":{ "type":"structure", @@ -668,10 +668,7 @@ "shape":"Boolean", "box":true }, - "ExpirationInDays":{ - "shape":"Integer1To5000", - "box":true - }, + "ExpirationInDays":{"shape":"Integer1To5000"}, "CustomCname":{"shape":"CnameString"}, "S3BucketName":{"shape":"S3BucketName3To255"}, "S3ObjectAcl":{"shape":"S3ObjectAcl"}, @@ -743,7 +740,7 @@ "type":"string", "max":64, "min":0, - "pattern":"^([0-2])\\.([0-9]|([0-3][0-9]))((\\.([0-9]+)){0,126})$" + "pattern":"([0-2])\\.([0-9]|([0-3][0-9]))((\\.([0-9]+)){0,126})" }, "DeleteCertificateAuthorityRequest":{ "type":"structure", @@ -955,6 +952,7 @@ }, "Integer1To5000":{ "type":"integer", + "box":true, "max":5000, "min":1 }, @@ -1074,48 +1072,48 @@ "ListCertificateAuthoritiesRequest":{ "type":"structure", "members":{ - "NextToken":{"shape":"NextToken"}, "MaxResults":{"shape":"MaxResults"}, + "NextToken":{"shape":"NextToken"}, "ResourceOwner":{"shape":"ResourceOwner"} } }, "ListCertificateAuthoritiesResponse":{ "type":"structure", "members":{ - "CertificateAuthorities":{"shape":"CertificateAuthorities"}, - "NextToken":{"shape":"NextToken"} + "NextToken":{"shape":"NextToken"}, + "CertificateAuthorities":{"shape":"CertificateAuthorities"} } }, "ListPermissionsRequest":{ "type":"structure", "required":["CertificateAuthorityArn"], "members":{ - "CertificateAuthorityArn":{"shape":"Arn"}, + "MaxResults":{"shape":"MaxResults"}, "NextToken":{"shape":"NextToken"}, - "MaxResults":{"shape":"MaxResults"} + "CertificateAuthorityArn":{"shape":"Arn"} } }, "ListPermissionsResponse":{ "type":"structure", "members":{ - "Permissions":{"shape":"PermissionList"}, - "NextToken":{"shape":"NextToken"} + "NextToken":{"shape":"NextToken"}, + "Permissions":{"shape":"PermissionList"} } }, "ListTagsRequest":{ "type":"structure", "required":["CertificateAuthorityArn"], "members":{ - "CertificateAuthorityArn":{"shape":"Arn"}, + "MaxResults":{"shape":"MaxResults"}, "NextToken":{"shape":"NextToken"}, - "MaxResults":{"shape":"MaxResults"} + "CertificateAuthorityArn":{"shape":"Arn"} } }, "ListTagsResponse":{ "type":"structure", "members":{ - "Tags":{"shape":"TagList"}, - "NextToken":{"shape":"NextToken"} + "NextToken":{"shape":"NextToken"}, + "Tags":{"shape":"TagList"} } }, "LockoutPreventedException":{ @@ -1141,6 +1139,7 @@ }, "MaxResults":{ "type":"integer", + "box":true, "max":1000, "min":1 }, @@ -1173,6 +1172,7 @@ }, "PermanentDeletionTimeInDays":{ "type":"integer", + "box":true, "max":30, "min":7 }, @@ -1230,13 +1230,14 @@ }, "PositiveLong":{ "type":"long", + "box":true, "min":1 }, "Principal":{ "type":"string", "max":128, "min":0, - "pattern":"^[^*]+$" + "pattern":"[^*]+" }, "PutPolicyRequest":{ "type":"structure", @@ -1340,11 +1341,12 @@ "type":"string", "max":255, "min":3, - "pattern":"^[-a-zA-Z0-9._/]+$" + "pattern":"[-a-zA-Z0-9._/]+" }, "S3Key":{ "type":"string", - "max":1024 + "max":1024, + "min":0 }, "S3ObjectAcl":{ "type":"string", @@ -1440,7 +1442,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" }, "TagList":{ "type":"list", @@ -1452,7 +1454,7 @@ "type":"string", "max":256, "min":0, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" }, "TooManyTagsException":{ "type":"structure", @@ -1488,10 +1490,7 @@ "Type" ], "members":{ - "Value":{ - "shape":"PositiveLong", - "box":true - }, + "Value":{"shape":"PositiveLong"}, "Type":{"shape":"ValidityPeriodType"} } }, diff --git a/models/apis/acm-pca/2017-08-22/docs-2.json b/models/apis/acm-pca/2017-08-22/docs-2.json index bb764107e36..d9eaa60e4e1 100644 --- a/models/apis/acm-pca/2017-08-22/docs-2.json +++ b/models/apis/acm-pca/2017-08-22/docs-2.json @@ -14,7 +14,7 @@ "GetCertificateAuthorityCertificate": "
Retrieves the certificate and certificate chain for your private certificate authority (CA) or one that has been shared with you. Both the certificate and the chain are base64 PEM-encoded. The chain does not include the CA certificate. Each certificate in the chain signs the one before it.
", "GetCertificateAuthorityCsr": "Retrieves the certificate signing request (CSR) for your private certificate authority (CA). The CSR is created when you call the CreateCertificateAuthority action. Sign the CSR with your Amazon Web Services Private CA-hosted or on-premises root or subordinate CA. Then import the signed certificate back into Amazon Web Services Private CA by calling the ImportCertificateAuthorityCertificate action. The CSR is returned as a base64 PEM-encoded string.
", "GetPolicy": "Retrieves the resource-based policy attached to a private CA. If either the private CA resource or the policy cannot be found, this action returns a ResourceNotFoundException
.
The policy can be attached or updated with PutPolicy and removed with DeletePolicy.
About Policies
A policy grants access on a private CA to an Amazon Web Services customer account, to Amazon Web Services Organizations, or to an Amazon Web Services Organizations unit. Policies are under the control of a CA administrator. For more information, see Using a Resource Based Policy with Amazon Web Services Private CA.
A policy permits a user of Certificate Manager (ACM) to issue ACM certificates signed by a CA in another account.
For ACM to manage automatic renewal of these certificates, the ACM user must configure a Service Linked Role (SLR). The SLR allows the ACM service to assume the identity of the user, subject to confirmation against the Amazon Web Services Private CA policy. For more information, see Using a Service Linked Role with ACM.
Updates made in Amazon Web Services Resource Manager (RAM) are reflected in policies. For more information, see Attach a Policy for Cross-Account Access.
Imports a signed private CA certificate into Amazon Web Services Private CA. This action is used when you are using a chain of trust whose root is located outside Amazon Web Services Private CA. Before you can call this action, the following preparations must in place:
In Amazon Web Services Private CA, call the CreateCertificateAuthority action to create the private CA that you plan to back with the imported certificate.
Call the GetCertificateAuthorityCsr action to generate a certificate signing request (CSR).
Sign the CSR using a root or intermediate CA hosted by either an on-premises PKI hierarchy or by a commercial CA.
Create a certificate chain and copy the signed certificate and the certificate chain to your working directory.
Amazon Web Services Private CA supports three scenarios for installing a CA certificate:
Installing a certificate for a root CA hosted by Amazon Web Services Private CA.
Installing a subordinate CA certificate whose parent authority is hosted by Amazon Web Services Private CA.
Installing a subordinate CA certificate whose parent authority is externally hosted.
The following additional requirements apply when you import a CA certificate.
Only a self-signed certificate can be imported as a root CA.
A self-signed certificate cannot be imported as a subordinate CA.
Your certificate chain must not include the private CA certificate that you are importing.
Your root CA must be the last certificate in your chain. The subordinate certificate, if any, that your root CA signed must be next to last. The subordinate certificate signed by the preceding subordinate CA must come next, and so on until your chain is built.
The chain must be PEM-encoded.
The maximum allowed size of a certificate is 32 KB.
The maximum allowed size of a certificate chain is 2 MB.
Enforcement of Critical Constraints
Amazon Web Services Private CA allows the following extensions to be marked critical in the imported CA certificate or chain.
Authority key identifier
Basic constraints (must be marked critical)
Certificate policies
Extended key usage
Inhibit anyPolicy
Issuer alternative name
Key usage
Name constraints
Policy mappings
Subject alternative name
Subject directory attributes
Subject key identifier
Subject information access
Amazon Web Services Private CA rejects the following extensions when they are marked critical in an imported CA certificate or chain.
Authority information access
CRL distribution points
Freshest CRL
Policy constraints
Amazon Web Services Private Certificate Authority will also reject any other extension marked as critical not contained on the preceding list of allowed extensions.
", + "ImportCertificateAuthorityCertificate": "Imports a signed private CA certificate into Amazon Web Services Private CA. This action is used when you are using a chain of trust whose root is located outside Amazon Web Services Private CA. Before you can call this action, the following preparations must in place:
In Amazon Web Services Private CA, call the CreateCertificateAuthority action to create the private CA that you plan to back with the imported certificate.
Call the GetCertificateAuthorityCsr action to generate a certificate signing request (CSR).
Sign the CSR using a root or intermediate CA hosted by either an on-premises PKI hierarchy or by a commercial CA.
Create a certificate chain and copy the signed certificate and the certificate chain to your working directory.
Amazon Web Services Private CA supports three scenarios for installing a CA certificate:
Installing a certificate for a root CA hosted by Amazon Web Services Private CA.
Installing a subordinate CA certificate whose parent authority is hosted by Amazon Web Services Private CA.
Installing a subordinate CA certificate whose parent authority is externally hosted.
The following additional requirements apply when you import a CA certificate.
Only a self-signed certificate can be imported as a root CA.
A self-signed certificate cannot be imported as a subordinate CA.
Your certificate chain must not include the private CA certificate that you are importing.
Your root CA must be the last certificate in your chain. The subordinate certificate, if any, that your root CA signed must be next to last. The subordinate certificate signed by the preceding subordinate CA must come next, and so on until your chain is built.
The chain must be PEM-encoded.
The maximum allowed size of a certificate is 32 KB.
The maximum allowed size of a certificate chain is 2 MB.
Enforcement of Critical Constraints
Amazon Web Services Private CA allows the following extensions to be marked critical in the imported CA certificate or chain.
Basic constraints (must be marked critical)
Subject alternative names
Key usage
Extended key usage
Authority key identifier
Subject key identifier
Issuer alternative name
Subject directory attributes
Subject information access
Certificate policies
Policy mappings
Inhibit anyPolicy
Amazon Web Services Private CA rejects the following extensions when they are marked critical in an imported CA certificate or chain.
Name constraints
Policy constraints
CRL distribution points
Authority information access
Freshest CRL
Any other extension
Uses your private certificate authority (CA), or one that has been shared with you, to issue a client certificate. This action returns the Amazon Resource Name (ARN) of the certificate. You can retrieve the certificate by calling the GetCertificate action and specifying the ARN.
You cannot use the ACM ListCertificateAuthorities action to retrieve the ARNs of the certificates that you issue by using Amazon Web Services Private CA.
Lists the private certificate authorities that you created by using the CreateCertificateAuthority action.
", "ListPermissions": "List all permissions on a private CA, if any, granted to the Certificate Manager (ACM) service principal (acm.amazonaws.com).
These permissions allow ACM to issue and renew ACM certificates that reside in the same Amazon Web Services account as the CA.
Permissions can be granted with the CreatePermission action and revoked with the DeletePermission action.
About Permissions
If the private CA and the certificates it issues reside in the same account, you can use CreatePermission
to grant permissions for ACM to carry out automatic certificate renewals.
For automatic certificate renewal to succeed, the ACM service principal needs permissions to create, retrieve, and list certificates.
If the private CA and the ACM certificates reside in different accounts, then permissions cannot be used to enable automatic renewals. Instead, the ACM certificate owner must set up a resource-based policy to enable cross-account issuance and renewals. For more information, see Using a Resource Based Policy with Amazon Web Services Private CA.
The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
.
The ARN of the issued certificate. The ARN contains the certificate serial number and must be in the following form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/286535153982981100925020015808220737245
The Amazon Resource Number (ARN) of the private CA that will have its policy retrieved. You can find the CA's ARN by calling the ListCertificateAuthorities action.
", + "GetPolicyRequest$ResourceArn": "The Amazon Resource Number (ARN) of the private CA that will have its policy retrieved. You can find the CA's ARN by calling the ListCertificateAuthorities action.
</p>
",
"ImportCertificateAuthorityCertificateRequest$CertificateAuthorityArn": "The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
Specifies a custom configuration template to use when issuing a certificate. If this parameter is not provided, Amazon Web Services Private CA defaults to the EndEntityCertificate/V1
template. For CA certificates, you should choose the shortest path length that meets your needs. The path length is indicated by the PathLenN portion of the ARN, where N is the CA depth.
Note: The CA depth configured on a subordinate CA certificate must not exceed the limit set by its parents in the CA hierarchy.
For a list of TemplateArn
values supported by Amazon Web Services Private CA, see Understanding Certificate Templates.
Welcome to the Zonal Shift API Reference Guide for Amazon Route 53 Application Recovery Controller (Route 53 ARC).
You can start a zonal shift to move traffic for a load balancer resource away from an Availability Zone to help your application recover quickly from an impairment in an Availability Zone. For example, you can recover your application from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone.
You can also configure zonal autoshift for a load balancer resource. Zonal autoshift is a capability in Route 53 ARC where Amazon Web Services shifts away application resource traffic from an Availability Zone, on your behalf, to help reduce your time to recovery during events. Amazon Web Services shifts away traffic for resources that are enabled for zonal autoshift whenever Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.
To ensure that zonal autoshift is safe for your application, you must also configure practice runs when you enable zonal autoshift for a resource. Practice runs start weekly zonal shifts for a resource, to shift traffic for the resource out of an Availability Zone. Practice runs make sure, on a regular basis, that you have enough capacity in all the Availability Zones in an Amazon Web Services Region for your application to continue to operate normally when traffic for a resource is shifted away from one Availability Zone.
You must prescale resource capacity in all Availability Zones in the Region where your application is deployed, before you configure practice runs or enable zonal autoshift for a resource. You should not rely on scaling on demand when an autoshift or practice run starts.
For more information about using zonal shift and zonal autoshift, see the Amazon Route 53 Application Recovery Controller Developer Guide.
", + "service": "Welcome to the API Reference Guide for zonal shift and zonal autoshift in Amazon Route 53 Application Recovery Controller (Route 53 ARC).
You can start a zonal shift to move traffic for a load balancer resource away from an Availability Zone to help your application recover quickly from an impairment in an Availability Zone. For example, you can recover your application from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone.
You can also configure zonal autoshift for supported load balancer resources. Zonal autoshift is a capability in Route 53 ARC where you authorize Amazon Web Services to shift away application resource traffic from an Availability Zone during events, on your behalf, to help reduce your time to recovery. Amazon Web Services starts an autoshift when internal telemetry indicates that there is an Availability Zone impairment that could potentially impact customers.
To help make sure that zonal autoshift is safe for your application, you must also configure practice runs when you enable zonal autoshift for a resource. Practice runs start weekly zonal shifts for a resource, to shift traffic for the resource away from an Availability Zone. Practice runs help you to make sure, on a regular basis, that you have enough capacity in all the Availability Zones in an Amazon Web Services Region for your application to continue to operate normally when traffic for a resource is shifted away from one Availability Zone.
Before you configure practice runs or enable zonal autoshift, we strongly recommend that you prescale your application resource capacity in all Availability Zones in the Region where your application resources are deployed. You should not rely on scaling on demand when an autoshift or practice run starts. Zonal autoshift, including practice runs, works independently, and does not wait for auto scaling actions to complete. Relying on auto scaling, instead of pre-scaling, can result in loss of availability.
If you use auto scaling to handle regular cycles of traffic, we strongly recommend that you configure the minimum capacity of your auto scaling to continue operating normally with the loss of an Availability Zone.
Be aware that Route 53 ARC does not inspect the health of individual resources. Amazon Web Services only starts an autoshift when Amazon Web Services telemetry detects that there is an Availability Zone impairment that could potentially impact customers. In some cases, resources might be shifted away that are not experiencing impact.
For more information about using zonal shift and zonal autoshift, see the Amazon Route 53 Application Recovery Controller Developer Guide.
", "operations": { "CancelZonalShift": "Cancel a zonal shift in Amazon Route 53 Application Recovery Controller. To cancel the zonal shift, specify the zonal shift ID.
A zonal shift can be one that you've started for a resource in your Amazon Web Services account in an Amazon Web Services Region, or it can be a zonal shift started by a practice run with zonal autoshift.
", - "CreatePracticeRunConfiguration": "A practice run configuration for zonal autoshift is required when you enable zonal autoshift. A practice run configuration includes specifications for blocked dates and blocked time windows, and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting.
For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.
", + "CreatePracticeRunConfiguration": "A practice run configuration for zonal autoshift is required when you enable zonal autoshift. A practice run configuration includes specifications for blocked dates and blocked time windows, and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting.
When a resource has a practice run configuration, Route 53 ARC starts zonal shifts for the resource weekly, to shift traffic for practice runs. Practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application.
For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.
", "DeletePracticeRunConfiguration": "Deletes the practice run configuration for a resource. Before you can delete a practice run configuration for a resource., you must disable zonal autoshift for the resource. Practice runs must be configured for zonal autoshift to be enabled.
", + "GetAutoshiftObserverNotificationStatus": "Returns the status of autoshift observer notification. Autoshift observer notification enables you to be notified, through Amazon EventBridge, when there is an autoshift event for zonal autoshift.
If the status is ENABLED
, Route 53 ARC includes all autoshift events when you use the EventBridge pattern Autoshift In Progress
. When the status is DISABLED
, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift.
For more information, see Notifications for practice runs and autoshifts in the Amazon Route 53 Application Recovery Controller Developer Guide.
", "GetManagedResource": "Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this Amazon Web Services Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC. You can start zonal shifts and configure zonal autoshift for managed resources.
At this time, you can only start a zonal shift or configure zonal autoshift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
", - "ListAutoshifts": "Returns the active autoshifts for a specified resource.
", + "ListAutoshifts": "Returns a list of autoshifts for an Amazon Web Services Region. By default, the call returns only ACTIVE
autoshifts. Optionally, you can specify the status
parameter to return COMPLETED
autoshifts.
Lists all the resources in your Amazon Web Services account in this Amazon Web Services Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes the zonal autoshift status for the resource, as well as the Amazon Resource Name (ARN), the Availability Zones that each resource is deployed in, and the resource name.
", - "ListZonalShifts": "Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. ListZonalShifts
returns customer-started zonal shifts, as well as practice run zonal shifts that Route 53 ARC started on your behalf for zonal autoshift.
The ListZonalShifts
operation does not list autoshifts. For more information about listing autoshifts, see \">ListAutoshifts.
Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. ListZonalShifts
returns customer-initiated zonal shifts, as well as practice run zonal shifts that Route 53 ARC started on your behalf for zonal autoshift.
The ListZonalShifts
operation does not list autoshifts. For more information about listing autoshifts, see \">ListAutoshifts.
You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in an Amazon Web Services Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your Amazon Web Services account in an Amazon Web Services Region. Resources are automatically registered with Route 53 ARC by Amazon Web Services services.
At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in Route 53 ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete.
For more information, see Zonal shift in the Amazon Route 53 Application Recovery Controller Developer Guide.
", + "UpdateAutoshiftObserverNotificationStatus": "Update the status of autoshift observer notification. Autoshift observer notification enables you to be notified, through Amazon EventBridge, when there is an autoshift event for zonal autoshift.
If the status is ENABLED
, Route 53 ARC includes all autoshift events when you use the EventBridge pattern Autoshift In Progress
. When the status is DISABLED
, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift.
For more information, see Notifications for practice runs and autoshifts in the Amazon Route 53 Application Recovery Controller Developer Guide.
", "UpdatePracticeRunConfiguration": "Update a practice run configuration to change one or more of the following: add, change, or remove the blocking alarm; change the outcome alarm; or add, change, or remove blocking dates or time windows.
", - "UpdateZonalAutoshiftConfiguration": "You can update the zonal autoshift status for a resource, to enable or disable zonal autoshift. When zonal autoshift is ENABLED
, Amazon Web Services shifts away resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.
The zonal autoshift configuration for a resource includes the practice run configuration and the status for running autoshifts, zonal autoshift status. When a resource has a practice run configuation, Route 53 ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone.
You can update the zonal autoshift autoshift status to enable or disable zonal autoshift. When zonal autoshift is ENABLED
, you authorize Amazon Web Services to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away for the required weekly practice runs.
Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account. You can update a zonal shift to set a new expiration, or edit or replace the comment for the zonal shift.
" }, "shapes": { @@ -23,7 +25,7 @@ "AppliedStatus": { "base": null, "refs": { - "ZonalShiftInResource$appliedStatus": "The appliedStatus
field specifies which application traffic shift is in effect for a resource when there is more than one traffic shift active. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-started zonal shifts, or an autoshift. The appliedStatus
field for an autoshift for a resource can have one of two values: APPLIED
or NOT_APPLIED
. The zonal shift or autoshift that is currently in effect for the resource has an applied status set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-started zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
" + "ZonalShiftInResource$appliedStatus": "The appliedStatus
field specifies which application traffic shift is in effect for a resource when there is more than one active traffic shift. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an autoshift. The appliedStatus
field for a shift that is in progress for a resource can have one of two values: APPLIED
or NOT_APPLIED
. The zonal shift or autoshift that is currently in effect for the resource has an appliedStatus
set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
" } }, "AppliedWeights": { @@ -36,7 +38,7 @@ "AutoshiftAppliedStatus": { "base": null, "refs": { - "AutoshiftInResource$appliedStatus": "The appliedStatus
field specifies which application traffic shift is in effect for a resource when there is more than one traffic shift active. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-started zonal shifts, or an autoshift. The appliedStatus
field for an autoshift for a resource can have one of two values: APPLIED
or NOT_APPLIED
. The zonal shift or autoshift that is currently in effect for the resource has an applied status set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-started zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
" + "AutoshiftInResource$appliedStatus": "The appliedStatus
field specifies which application traffic shift is in effect for a resource when there is more than one active traffic shift. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an autoshift. The appliedStatus
field for a shift that is in progress for a resource can have one of two values: APPLIED
or NOT_APPLIED
. The zonal shift or autoshift that is currently in effect for the resource has an appliedStatus
set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.
For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.
" } }, "AutoshiftExecutionStatus": { @@ -52,6 +54,14 @@ "AutoshiftsInResource$member": null } }, + "AutoshiftObserverNotificationStatus": { + "base": null, + "refs": { + "GetAutoshiftObserverNotificationStatusResponse$status": "The status of autoshift observer notification. If the status is ENABLED
, Route 53 ARC includes all autoshift events when you use the Amazon EventBridge pattern Autoshift In Progress
. When the status is DISABLED
, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift.
The status to set for autoshift observer notification. If the status is ENABLED
, Route 53 ARC includes all autoshift events when you use the Amazon EventBridge pattern Autoshift In Progress
. When the status is DISABLED
, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift.
The status for autoshift observer notification.
" + } + }, "AutoshiftSummaries": { "base": null, "refs": { @@ -75,13 +85,13 @@ "base": null, "refs": { "AppliedWeights$key": null, - "AutoshiftInResource$awayFrom": "The Availability Zone that traffic is shifted away from for a resource, when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource.
", - "AutoshiftSummary$awayFrom": "The Availability Zone that traffic is shifted away from for a resource when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource.
", + "AutoshiftInResource$awayFrom": "The Availability Zone (for example, use1-az1
) that traffic is shifted away from for a resource, when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource.
The Availability Zone (for example, use1-az1
) that traffic is shifted away from for a resource when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource.
The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.
", - "ZonalShift$awayFrom": "The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.
", - "ZonalShiftInResource$awayFrom": "The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.
", - "ZonalShiftSummary$awayFrom": "The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.
" + "StartZonalShiftRequest$awayFrom": "The Availability Zone (for example, use1-az1
) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.
The Availability Zone (for example, use1-az1
) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.
The Availability Zone (for example, use1-az1
) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.
The Availability Zone (for example, use1-az1
) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.
A control condition is an alarm that you specify for a practice run. When you configure practice runs with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch to use with the practice run. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting.
Control condition alarms do not apply for autoshifts.
For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.
", + "base": "A control condition is an alarm that you specify for a practice run. When you configure practice runs with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch to use with the practice run. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting or to interrupt a practice run in progress.
Control condition alarms do not apply for autoshifts.
For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.
", "refs": { "ControlConditions$member": null } @@ -143,7 +153,7 @@ "ControlConditionType": { "base": null, "refs": { - "ControlCondition$type": "The type of alarm specified for a practice run. The only valid value is CLOUDWATCH
.
The type of alarm specified for a practice run. You can only specify Amazon CloudWatch alarms for practice runs, so the only valid value is CLOUDWATCH
.
The time (in UTC) when the autoshift ended.
", - "ZonalShift$expiryTime": "The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.
When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.
", - "ZonalShiftInResource$expiryTime": "The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.
When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.
", - "ZonalShiftSummary$expiryTime": "The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.
When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.
" + "ZonalShift$expiryTime": "The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.
When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.
", + "ZonalShiftInResource$expiryTime": "The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.
When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.
", + "ZonalShiftSummary$expiryTime": "The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.
When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.
" + } + }, + "GetAutoshiftObserverNotificationStatusRequest": { + "base": null, + "refs": { + } + }, + "GetAutoshiftObserverNotificationStatusResponse": { + "base": null, + "refs": { } }, "GetManagedResourceRequest": { @@ -259,7 +279,7 @@ } }, "PracticeRunConfiguration": { - "base": "A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run.
You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.
", + "base": "A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run configuration, Route 53 ARC shifts traffic for the resource weekly for practice runs.
Practice runs are required for zonal autoshift. The zonal shifts that Route 53 ARC starts for practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application.
You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.
", "refs": { "CreatePracticeRunConfigurationResponse$practiceRunConfiguration": "A practice run configuration for a resource. Configurations include the outcome alarm that you specify for practice runs, and, optionally, a blocking alarm and blocking dates and windows.
", "GetManagedResourceResponse$practiceRunConfiguration": "The practice run configuration for zonal autoshift that's associated with the resource.
", @@ -276,7 +296,7 @@ "ResourceArn": { "base": null, "refs": { - "ControlCondition$alarmIdentifier": "The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you specify as a control condition for a practice run.
", + "ControlCondition$alarmIdentifier": "The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run.
", "CreatePracticeRunConfigurationResponse$arn": "The Amazon Resource Name (ARN) of the resource that you configured the practice run for.
", "DeletePracticeRunConfigurationResponse$arn": "The Amazon Resource Name (ARN) of the resource that you deleted the practice run for.
", "GetManagedResourceResponse$arn": "The Amazon Resource Name (ARN) for the resource.
", @@ -287,15 +307,15 @@ "ResourceIdentifier": { "base": null, "refs": { - "CreatePracticeRunConfigurationRequest$resourceIdentifier": "The identifier of the resource to shift away traffic for when a practice run starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
", + "CreatePracticeRunConfigurationRequest$resourceIdentifier": "The identifier of the resource that Amazon Web Services shifts traffic for with a practice run zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
", "DeletePracticeRunConfigurationRequest$resourceIdentifier": "The identifier for the resource that you want to delete the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.
", - "GetManagedResourceRequest$resourceIdentifier": "The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
", + "GetManagedResourceRequest$resourceIdentifier": "The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
", "ListZonalShiftsRequest$resourceIdentifier": "The identifier for the resource that you want to list zonal shifts for. The identifier is the Amazon Resource Name (ARN) for the resource.
", - "StartZonalShiftRequest$resourceIdentifier": "The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
", + "StartZonalShiftRequest$resourceIdentifier": "The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
", "UpdatePracticeRunConfigurationRequest$resourceIdentifier": "The identifier for the resource that you want to update the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.
", "UpdateZonalAutoshiftConfigurationRequest$resourceIdentifier": "The identifier for the resource that you want to update the zonal autoshift configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.
", "UpdateZonalAutoshiftConfigurationResponse$resourceIdentifier": "The identifier for the resource that you updated the zonal autoshift configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.
", - "ZonalShift$resourceIdentifier": "The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
", + "ZonalShift$resourceIdentifier": "The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
", "ZonalShiftInResource$resourceIdentifier": "The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
", "ZonalShiftSummary$resourceIdentifier": "The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
" } @@ -353,6 +373,16 @@ "refs": { } }, + "UpdateAutoshiftObserverNotificationStatusRequest": { + "base": null, + "refs": { + } + }, + "UpdateAutoshiftObserverNotificationStatusResponse": { + "base": null, + "refs": { + } + }, "UpdatePracticeRunConfigurationRequest": { "base": null, "refs": { @@ -398,14 +428,14 @@ "ZonalAutoshiftStatus": { "base": null, "refs": { - "CreatePracticeRunConfigurationResponse$zonalAutoshiftStatus": "The status for zonal autoshift for a resource. When you specify the autoshift status as ENABLED
, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.
When you enable zonal autoshift, you must also configure practice runs for the resource.
", + "CreatePracticeRunConfigurationResponse$zonalAutoshiftStatus": "The status for zonal autoshift for a resource. When you specify ENABLED
for the autoshift status, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when internal telemetry indicates that there is an Availability Zone impairment that could potentially impact customers.
When you enable zonal autoshift, you must also configure practice runs for the resource.
", "DeletePracticeRunConfigurationResponse$zonalAutoshiftStatus": "The status of zonal autoshift for the resource.
", "GetManagedResourceResponse$zonalAutoshiftStatus": "The status for zonal autoshift for a resource. When the autoshift status is ENABLED
, Amazon Web Services shifts traffic for a resource away from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.
This status tracks whether a practice run configuration exists for a resource. When you configure a practice run for a resource so that a practice run configuration exists, Route 53 ARC sets this value to ENABLED
. If a you have not configured a practice run for the resource, or delete a practice run configuration, Route 53 ARC sets the value to DISABLED
.
Route 53 ARC updates this status; you can't set a practice run status to ENABLED
or DISABLED
.
The status of autoshift for a resource. When you configure zonal autoshift for a resource, you can set the value of the status to ENABLED
or DISABLED
.
The zonal autoshift status for the resource that you updated the practice run for.
", - "UpdateZonalAutoshiftConfigurationRequest$zonalAutoshiftStatus": "The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for.
", - "UpdateZonalAutoshiftConfigurationResponse$zonalAutoshiftStatus": "The zonal autoshift status for the resource that you updated the zonal autoshift configuration for.
" + "UpdateZonalAutoshiftConfigurationRequest$zonalAutoshiftStatus": "The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for. Choose ENABLED
to authorize Amazon Web Services to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery.
The updated zonal autoshift status for the resource.
" } }, "ZonalShift": { @@ -419,7 +449,7 @@ "StartZonalShiftRequest$comment": "A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.
", "UpdateZonalShiftRequest$comment": "A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.
", "ZonalShift$comment": "A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.
", - "ZonalShiftInResource$comment": "A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string.
", + "ZonalShiftInResource$comment": "A comment that you enter for a customer-initiated zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string.
", "ZonalShiftSummary$comment": "A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string.
" } }, @@ -454,7 +484,7 @@ } }, "ZonalShiftSummary": { - "base": "Lists information about zonal shifts in Amazon Route 53 Application Recovery Controller, including zonal shifts that you start yourself and zonal shifts that Route 53 ARC starts on your behalf for practice runs with zonal autoshift.
Zonal shifts are temporary, including customer-started zonal shifts and the zonal autoshift practice run zonal shifts that Route 53 ARC starts weekly, on your behalf. A zonal shift that a customer starts can be active for up to three days (72 hours). A practice run zonal shift has a 30 minute duration.
", + "base": "Lists information about zonal shifts in Amazon Route 53 Application Recovery Controller, including zonal shifts that you start yourself and zonal shifts that Route 53 ARC starts on your behalf for practice runs with zonal autoshift.
Zonal shifts are temporary, including customer-initiated zonal shifts and the zonal autoshift practice run zonal shifts that Route 53 ARC starts weekly, on your behalf. A zonal shift that a customer starts can be active for up to three days (72 hours). A practice run zonal shift has a 30 minute duration.
", "refs": { "ZonalShiftSummaries$member": null } diff --git a/models/apis/autoscaling/2011-01-01/smoke-2.json b/models/apis/autoscaling/2011-01-01/smoke-2.json new file mode 100644 index 00000000000..6a638d089d8 --- /dev/null +++ b/models/apis/autoscaling/2011-01-01/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeScalingProcessTypesSuccess", + "operationName": "DescribeScalingProcessTypes", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} \ No newline at end of file diff --git a/models/apis/codebuild/2016-10-06/smoke-2.json b/models/apis/codebuild/2016-10-06/smoke-2.json new file mode 100644 index 00000000000..259d5b36c95 --- /dev/null +++ b/models/apis/codebuild/2016-10-06/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListBuildsSuccess", + "operationName": "ListBuilds", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/models/apis/dynamodb/2012-08-10/smoke-2.json b/models/apis/dynamodb/2012-08-10/smoke-2.json new file mode 100644 index 00000000000..b3fa57b74ad --- /dev/null +++ b/models/apis/dynamodb/2012-08-10/smoke-2.json @@ -0,0 +1,18 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListTablesSuccess", + "operationName": "ListTables", + "input": { + "Limit": 1 + }, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/models/apis/globalaccelerator/2018-08-08/api-2.json b/models/apis/globalaccelerator/2018-08-08/api-2.json index 2262ed8d39d..470428032d5 100644 --- a/models/apis/globalaccelerator/2018-08-08/api-2.json +++ b/models/apis/globalaccelerator/2018-08-08/api-2.json @@ -90,7 +90,9 @@ "errors":[ {"shape":"InternalServiceErrorException"}, {"shape":"InvalidArgumentException"}, - {"shape":"LimitExceededException"} + {"shape":"LimitExceededException"}, + {"shape":"AccessDeniedException"}, + {"shape":"TransactionInProgressException"} ] }, "CreateCrossAccountAttachment":{ @@ -121,7 +123,8 @@ {"shape":"InternalServiceErrorException"}, {"shape":"InvalidArgumentException"}, {"shape":"LimitExceededException"}, - {"shape":"AccessDeniedException"} + {"shape":"AccessDeniedException"}, + {"shape":"TransactionInProgressException"} ] }, "CreateCustomRoutingEndpointGroup":{ @@ -205,7 +208,8 @@ {"shape":"AcceleratorNotDisabledException"}, {"shape":"AssociatedListenerFoundException"}, {"shape":"InternalServiceErrorException"}, - {"shape":"InvalidArgumentException"} + {"shape":"InvalidArgumentException"}, + {"shape":"TransactionInProgressException"} ] }, "DeleteCrossAccountAttachment":{ @@ -235,7 +239,8 @@ {"shape":"AcceleratorNotDisabledException"}, {"shape":"AssociatedListenerFoundException"}, {"shape":"InternalServiceErrorException"}, - {"shape":"InvalidArgumentException"} + {"shape":"InvalidArgumentException"}, + {"shape":"TransactionInProgressException"} ] }, "DeleteCustomRoutingEndpointGroup":{ @@ -636,6 +641,9 @@ "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"AcceleratorNotFoundException"}, + {"shape":"AttachmentNotFoundException"}, + {"shape":"EndpointGroupNotFoundException"}, + {"shape":"ListenerNotFoundException"}, {"shape":"InternalServiceErrorException"}, {"shape":"InvalidArgumentException"} ] @@ -727,7 +735,9 @@ {"shape":"AcceleratorNotFoundException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServiceErrorException"}, - {"shape":"InvalidArgumentException"} + {"shape":"InvalidArgumentException"}, + {"shape":"TransactionInProgressException"}, + {"shape":"ConflictException"} ] }, "UpdateAcceleratorAttributes":{ @@ -742,7 +752,8 @@ {"shape":"AcceleratorNotFoundException"}, {"shape":"InternalServiceErrorException"}, {"shape":"InvalidArgumentException"}, - {"shape":"AccessDeniedException"} + {"shape":"AccessDeniedException"}, + {"shape":"TransactionInProgressException"} ] }, "UpdateCrossAccountAttachment":{ @@ -773,7 +784,9 @@ "errors":[ {"shape":"AcceleratorNotFoundException"}, {"shape":"InternalServiceErrorException"}, - {"shape":"InvalidArgumentException"} + {"shape":"InvalidArgumentException"}, + {"shape":"TransactionInProgressException"}, + {"shape":"ConflictException"} ] }, "UpdateCustomRoutingAcceleratorAttributes":{ @@ -788,7 +801,8 @@ {"shape":"AcceleratorNotFoundException"}, {"shape":"InternalServiceErrorException"}, {"shape":"InvalidArgumentException"}, - {"shape":"AccessDeniedException"} + {"shape":"AccessDeniedException"}, + {"shape":"TransactionInProgressException"} ] }, "UpdateCustomRoutingListener":{ diff --git a/models/apis/pinpoint/2016-12-01/api-2.json b/models/apis/pinpoint/2016-12-01/api-2.json index 245f8b0db52..cdad8a6953c 100644 --- a/models/apis/pinpoint/2016-12-01/api-2.json +++ b/models/apis/pinpoint/2016-12-01/api-2.json @@ -8,7 +8,10 @@ "protocol": "rest-json", "jsonVersion": "1.1", "uid": "pinpoint-2016-12-01", - "signatureVersion": "v4" + "signatureVersion": "v4", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "CreateApp": { @@ -3139,7 +3142,9 @@ "output": { "shape": "ListTagsForResourceResponse" }, - "errors": [] + "errors": [ + + ] }, "ListTemplateVersions": { "name": "ListTemplateVersions", @@ -3478,7 +3483,9 @@ "input": { "shape": "TagResourceRequest" }, - "errors": [] + "errors": [ + + ] }, "UntagResource": { "name": "UntagResource", @@ -3490,7 +3497,9 @@ "input": { "shape": "UntagResourceRequest" }, - "errors": [] + "errors": [ + + ] }, "UpdateAdmChannel": { "name": "UpdateAdmChannel", @@ -5427,7 +5436,7 @@ "shape": "__string" }, "Headers": { - "shape": "ListOfMessageHeader" + "shape": "ListOfMessageHeader" }, "HtmlBody": { "shape": "__string" @@ -7128,7 +7137,7 @@ "shape": "__string" }, "Headers": { - "shape": "ListOfMessageHeader" + "shape": "ListOfMessageHeader" }, "tags": { "shape": "MapOf__string", @@ -7167,7 +7176,7 @@ "shape": "__string" }, "Headers": { - "shape": "ListOfMessageHeader" + "shape": "ListOfMessageHeader" }, "tags": { "shape": "MapOf__string", @@ -11945,26 +11954,26 @@ "shape": "SimpleEmailPart" }, "Headers": { - "shape": "ListOfMessageHeader" + "shape": "ListOfMessageHeader" } } }, "ListOfMessageHeader": { - "type": "list", - "member": { - "shape": "MessageHeader" - } + "type": "list", + "member": { + "shape": "MessageHeader" + } }, "MessageHeader": { - "type": "structure", - "members": { - "Name": { - "shape": "__string" - }, - "Value": { - "shape": "__string" - } - } + "type": "structure", + "members": { + "Name": { + "shape": "__string" + }, + "Value": { + "shape": "__string" + } + } }, "SimpleEmailPart": { "type": "structure", @@ -14025,4 +14034,4 @@ } } } -} +} \ No newline at end of file diff --git a/models/apis/pinpoint/2016-12-01/docs-2.json b/models/apis/pinpoint/2016-12-01/docs-2.json index 80ab6fc995e..ce10d308e42 100644 --- a/models/apis/pinpoint/2016-12-01/docs-2.json +++ b/models/apis/pinpoint/2016-12-01/docs-2.json @@ -976,12 +976,12 @@ "WriteTreatmentResource$MessageConfiguration": "The message configuration settings for the treatment.
" } }, - "MessageHeader" : { - "base" : "Contains the name and value pair of an email header to add to your email. You can have up to 15 MessageHeaders. A header can contain information such as the sender, receiver, route, or timestamp.
", - "refs" : { - "ListOfMessageHeader$member" : null - } - }, + "MessageHeader": { + "base": "Contains the name and value pair of an email header to add to your email. You can have up to 15 MessageHeaders. A header can contain information such as the sender, receiver, route, or timestamp.
", + "refs": { + "ListOfMessageHeader$member": null + } + }, "MessageRequest": { "base": "Specifies the configuration and other settings for a message.
", "refs": {} @@ -1542,7 +1542,7 @@ "GCMChannelRequest$Enabled": "Specifies whether to enable the GCM channel for the application.
", "GCMChannelResponse$Enabled": "Specifies whether the GCM channel is enabled for the application.
", "GCMChannelResponse$HasCredential": "(Not used) This property is retained only for backward compatibility.
", - "GCMChannelResponse$HasFcmServiceCredentials" : "Returns true if the JSON file provided by Google during registration process was used in the ServiceJson field of the request.
", + "GCMChannelResponse$HasFcmServiceCredentials": "Returns true if the JSON file provided by Google during registration process was used in the ServiceJson field of the request.
", "GCMChannelResponse$IsArchived": "Specifies whether the GCM channel is archived.
", "GCMMessage$SilentPush": "Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.
", "ImportJobRequest$DefineSegment": "Specifies whether to create a segment that contains the endpoints, when the endpoint definitions are imported.
", @@ -1739,14 +1739,14 @@ "JourneyRunsResponse$Item": "An array of responses, one for each run of the journey
" } }, - "ListOfMessageHeader" : { - "base" : null, - "refs" : { - "EmailTemplateRequest$Headers" : "The list of MessageHeaders for the email. You can have up to 15 Headers.
", - "SimpleEmail$Headers" : "List of Headers for the email.
", - "CampaignEmailMessage$Headers" : "The list of MessageHeaders for the email. You can have up to 15 MessageHeaders for each email.
" - } - }, + "ListOfMessageHeader": { + "base": null, + "refs": { + "EmailTemplateRequest$Headers": "The list of MessageHeaders for the email. You can have up to 15 Headers.
", + "SimpleEmail$Headers": "List of Headers for the email.
", + "CampaignEmailMessage$Headers": "The list of MessageHeaders for the email. You can have up to 15 MessageHeaders for each email.
" + } + }, "ListOfMultiConditionalBranch": { "base": null, "refs": { @@ -2352,12 +2352,12 @@ "ExportJobResponse$Type": "The job type. This value is EXPORT for export jobs.
", "ExportJobsResponse$NextToken": "The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
", "GCMChannelRequest$ApiKey": "The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.
", - "GCMChannelRequest$DefaultAuthenticationMethod" : "The default authentication method used for GCM. Values are either \"TOKEN\" or \"KEY\". Defaults to \"KEY\".
", - "GCMChannelRequest$ServiceJson" : "The contents of the JSON file provided by Google during registration in order to generate an access token for authentication. For more information see Migrate from legacy FCM APIs to HTTP v1.
", + "GCMChannelRequest$DefaultAuthenticationMethod": "The default authentication method used for GCM. Values are either \"TOKEN\" or \"KEY\". Defaults to \"KEY\".
", + "GCMChannelRequest$ServiceJson": "The contents of the JSON file provided by Google during registration in order to generate an access token for authentication. For more information see Migrate from legacy FCM APIs to HTTP v1.
", "GCMChannelResponse$ApplicationId": "The unique identifier for the application that the GCM channel applies to.
", "GCMChannelResponse$CreationDate": "The date and time when the GCM channel was enabled.
", "GCMChannelResponse$Credential": "The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.
", - "GCMChannelResponse$DefaultAuthenticationMethod" : "The default authentication method used for GCM. Values are either \"TOKEN\" or \"KEY\". Defaults to \"KEY\".
", + "GCMChannelResponse$DefaultAuthenticationMethod": "The default authentication method used for GCM. Values are either \"TOKEN\" or \"KEY\". Defaults to \"KEY\".
", "GCMChannelResponse$Id": "(Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.
", "GCMChannelResponse$LastModifiedBy": "The user who last modified the GCM channel.
", "GCMChannelResponse$LastModifiedDate": "The date and time when the GCM channel was last modified.
", @@ -2367,7 +2367,7 @@ "GCMMessage$IconReference": "The icon image name of the asset saved in your app.
", "GCMMessage$ImageIconUrl": "The URL of the large icon image to display in the content view of the push notification.
", "GCMMessage$ImageUrl": "The URL of an image to display in the push notification.
", - "GCMMessage$PreferredAuthenticationMethod" : "The preferred authentication method, with valid values \"KEY\" or \"TOKEN\". If a value isn't provided then the DefaultAuthenticationMethod is used.
", + "GCMMessage$PreferredAuthenticationMethod": "The preferred authentication method, with valid values \"KEY\" or \"TOKEN\". If a value isn't provided then the DefaultAuthenticationMethod is used.
", "GCMMessage$Priority": "para>normal - The notification might be delayed. Delivery is optimized for battery usage on the recipient's device. Use this value unless immediate delivery is required.
/listitem>high - The notification is sent immediately and might wake a sleeping device.
Amazon Pinpoint specifies this value in the FCM priority parameter when it sends the notification message to FCM.
The equivalent values for Apple Push Notification service (APNs) are 5, for normal, and 10, for high. If you specify an APNs value for this property, Amazon Pinpoint accepts and converts the value to the corresponding FCM value.
", "GCMMessage$RawContent": "The raw, JSON-formatted string to use as the payload for the notification message. If specified, this value overrides all other content for the message.
", "GCMMessage$RestrictedPackageName": "The package name of the application where registration tokens must match in order for the recipient to receive the message.
", @@ -2470,8 +2470,8 @@ "MessageBody$Message": "The message that's returned from the API.
", "MessageBody$RequestID": "The unique identifier for the request or response.
", "MessageRequest$TraceId": "The unique identifier for tracing the message. This identifier is visible to message recipients.
", - "MessageHeader$Name" : "The name of the message header. The header name can contain up to 126 characters.
", - "MessageHeader$Value" : "The value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
", + "MessageHeader$Name": "The name of the message header. The header name can contain up to 126 characters.
", + "MessageHeader$Value": "The value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
", "MessageResponse$ApplicationId": "The unique identifier for the application that was used to send the message.
", "MessageResponse$RequestId": "The identifier for the original request that the message was delivered for.
", "MessageResult$MessageId": "The unique identifier for the message that was sent.
", diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json index a3a638420d2..f7bce305485 100644 --- a/models/apis/quicksight/2018-04-01/api-2.json +++ b/models/apis/quicksight/2018-04-01/api-2.json @@ -13,6 +13,39 @@ "auth":["aws.auth#sigv4"] }, "operations":{ + "BatchCreateTopicReviewedAnswer":{ + "name":"BatchCreateTopicReviewedAnswer", + "http":{ + "method":"POST", + "requestUri":"/accounts/{AwsAccountId}/topics/{TopicId}/batch-create-reviewed-answers" + }, + "input":{"shape":"BatchCreateTopicReviewedAnswerRequest"}, + "output":{"shape":"BatchCreateTopicReviewedAnswerResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalFailureException"} + ] + }, + "BatchDeleteTopicReviewedAnswer":{ + "name":"BatchDeleteTopicReviewedAnswer", + "http":{ + "method":"POST", + "requestUri":"/accounts/{AwsAccountId}/topics/{TopicId}/batch-delete-reviewed-answers" + }, + "input":{"shape":"BatchDeleteTopicReviewedAnswerRequest"}, + "output":{"shape":"BatchDeleteTopicReviewedAnswerResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"InternalFailureException"} + ] + }, "CancelIngestion":{ "name":"CancelIngestion", "http":{ @@ -2169,6 +2202,22 @@ {"shape":"InternalFailureException"} ] }, + "ListTopicReviewedAnswers":{ + "name":"ListTopicReviewedAnswers", + "http":{ + "method":"GET", + "requestUri":"/accounts/{AwsAccountId}/topics/{TopicId}/reviewed-answers" + }, + "input":{"shape":"ListTopicReviewedAnswersRequest"}, + "output":{"shape":"ListTopicReviewedAnswersResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalFailureException"} + ] + }, "ListTopics":{ "name":"ListTopics", "http":{ @@ -3170,6 +3219,54 @@ "max":20, "min":1 }, + "AggFunction":{ + "type":"structure", + "members":{ + "Aggregation":{"shape":"AggType"}, + "AggregationFunctionParameters":{"shape":"AggFunctionParamMap"}, + "Period":{"shape":"TopicTimeGranularity"}, + "PeriodField":{"shape":"LimitedString"} + } + }, + "AggFunctionParamKey":{ + "type":"string", + "max":256, + "min":1 + }, + "AggFunctionParamMap":{ + "type":"map", + "key":{"shape":"AggFunctionParamKey"}, + "value":{"shape":"AggFunctionParamValue"} + }, + "AggFunctionParamValue":{ + "type":"string", + "max":1024 + }, + "AggType":{ + "type":"string", + "enum":[ + "SUM", + "MIN", + "MAX", + "COUNT", + "AVERAGE", + "DISTINCT_COUNT", + "STDEV", + "STDEVP", + "VAR", + "VARP", + "PERCENTILE", + "MEDIAN", + "PTD_SUM", + "PTD_MIN", + "PTD_MAX", + "PTD_COUNT", + "PTD_DISTINCT_COUNT", + "PTD_AVERAGE", + "COLUMN", + "CUSTOM" + ] + }, "AggregationFunction":{ "type":"structure", "members":{ @@ -3184,6 +3281,18 @@ "key":{"shape":"LimitedString"}, "value":{"shape":"LimitedString"} }, + "AggregationPartitionBy":{ + "type":"structure", + "members":{ + "FieldName":{"shape":"LimitedString"}, + "TimeGranularity":{"shape":"TimeGranularity"} + } + }, + "AggregationPartitionByList":{ + "type":"list", + "member":{"shape":"AggregationPartitionBy"}, + "max":50 + }, "AggregationSortConfiguration":{ "type":"structure", "required":[ @@ -3354,6 +3463,14 @@ "member":{"shape":"AnalysisSummary"}, "max":100 }, + "Anchor":{ + "type":"structure", + "members":{ + "AnchorType":{"shape":"AnchorType"}, + "TimeGranularity":{"shape":"TimeGranularity"}, + "Offset":{"shape":"Integer"} + } + }, "AnchorDateConfiguration":{ "type":"structure", "members":{ @@ -3365,6 +3482,10 @@ "type":"string", "enum":["NOW"] }, + "AnchorType":{ + "type":"string", + "enum":["TODAY"] + }, "AnonymousUserDashboardEmbeddingConfiguration":{ "type":"structure", "required":["InitialDashboardId"], @@ -3412,6 +3533,15 @@ "type":"list", "member":{"shape":"AnonymousUserSnapshotJobResult"} }, + "AnswerId":{ + "type":"string", + "max":256, + "pattern":"^[A-Za-z0-9-_.\\\\+]*$" + }, + "AnswerIds":{ + "type":"list", + "member":{"shape":"AnswerId"} + }, "ArcAxisConfiguration":{ "type":"structure", "members":{ @@ -4552,6 +4682,75 @@ "IMAGERY" ] }, + "BatchCreateTopicReviewedAnswerRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TopicId", + "Answers" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TopicId":{ + "shape":"TopicId", + "location":"uri", + "locationName":"TopicId" + }, + "Answers":{"shape":"CreateTopicReviewedAnswers"} + } + }, + "BatchCreateTopicReviewedAnswerResponse":{ + "type":"structure", + "members":{ + "TopicId":{"shape":"TopicId"}, + "TopicArn":{"shape":"Arn"}, + "SucceededAnswers":{"shape":"SucceededTopicReviewedAnswers"}, + "InvalidAnswers":{"shape":"InvalidTopicReviewedAnswers"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, + "BatchDeleteTopicReviewedAnswerRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TopicId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TopicId":{ + "shape":"TopicId", + "location":"uri", + "locationName":"TopicId" + }, + "AnswerIds":{"shape":"AnswerIds"} + } + }, + "BatchDeleteTopicReviewedAnswerResponse":{ + "type":"structure", + "members":{ + "TopicId":{"shape":"TopicId"}, + "TopicArn":{"shape":"Arn"}, + "SucceededAnswers":{"shape":"SucceededTopicReviewedAnswers"}, + "InvalidAnswers":{"shape":"InvalidTopicReviewedAnswers"}, + "RequestId":{"shape":"String"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + } + } + }, "BigQueryParameters":{ "type":"structure", "required":["ProjectId"], @@ -4811,6 +5010,11 @@ "min":1, "sensitive":true }, + "CalculatedFieldReferenceList":{ + "type":"list", + "member":{"shape":"Identifier"}, + "max":250 + }, "CalculatedFields":{ "type":"list", "member":{"shape":"CalculatedField"}, @@ -5058,6 +5262,18 @@ "ValueList":{"shape":"StringList"} } }, + "CollectiveConstantEntry":{ + "type":"structure", + "members":{ + "ConstantType":{"shape":"ConstantType"}, + "Value":{"shape":"ConstantValueString"} + } + }, + "CollectiveConstantEntryList":{ + "type":"list", + "member":{"shape":"CollectiveConstantEntry"}, + "max":2000 + }, "ColorFillType":{ "type":"string", "enum":[ @@ -5404,6 +5620,21 @@ "PERCENT" ] }, + "ComparisonMethodType":{ + "type":"string", + "enum":[ + "DIFF", + "PERC_DIFF", + "DIFF_AS_PERC", + "POP_CURRENT_DIFF_AS_PERC", + "POP_CURRENT_DIFF", + "POP_OVERTIME_DIFF_AS_PERC", + "POP_OVERTIME_DIFF", + "PERCENT_OF_TOTAL", + "RUNNING_SUM", + "MOVING_AVERAGE" + ] + }, "Computation":{ "type":"structure", "members":{ @@ -5537,6 +5768,10 @@ "COLLECTIVE" ] }, + "ConstantValueString":{ + "type":"string", + "max":1024 + }, "ContextMenuOption":{ "type":"structure", "members":{ @@ -5560,6 +5795,41 @@ "max":200, "min":1 }, + "ContributionAnalysisDirection":{ + "type":"string", + "enum":[ + "INCREASE", + "DECREASE", + "NEUTRAL" + ] + }, + "ContributionAnalysisFactor":{ + "type":"structure", + "members":{ + "FieldName":{"shape":"LimitedString"} + } + }, + "ContributionAnalysisFactorsList":{ + "type":"list", + "member":{"shape":"ContributionAnalysisFactor"}, + "max":50 + }, + "ContributionAnalysisSortType":{ + "type":"string", + "enum":[ + "ABSOLUTE_DIFFERENCE", + "CONTRIBUTION_PERCENTAGE", + "DEVIATION_FROM_EXPECTED", + "PERCENTAGE_DIFFERENCE" + ] + }, + "ContributionAnalysisTimeRanges":{ + "type":"structure", + "members":{ + "StartRange":{"shape":"TopicIRFilterOption"}, + "EndRange":{"shape":"TopicIRFilterOption"} + } + }, "ContributorDimensionList":{ "type":"list", "member":{"shape":"ColumnIdentifier"}, @@ -6394,6 +6664,28 @@ } } }, + "CreateTopicReviewedAnswer":{ + "type":"structure", + "required":[ + "AnswerId", + "DatasetArn", + "Question" + ], + "members":{ + "AnswerId":{"shape":"AnswerId"}, + "DatasetArn":{"shape":"Arn"}, + "Question":{"shape":"LimitedString"}, + "Mir":{"shape":"TopicIR"}, + "PrimaryVisual":{"shape":"TopicVisual"}, + "Template":{"shape":"TopicTemplate"} + } + }, + "CreateTopicReviewedAnswers":{ + "type":"list", + "member":{"shape":"CreateTopicReviewedAnswer"}, + "max":100, + "min":0 + }, "CreateVPCConnectionRequest":{ "type":"structure", "required":[ @@ -7569,7 +7861,9 @@ "members":{ "TitleOptions":{"shape":"LabelOptions"}, "DateTimeFormat":{"shape":"DateTimeFormat"}, - "InfoIconLabelOptions":{"shape":"SheetControlInfoIconLabelOptions"} + "InfoIconLabelOptions":{"shape":"SheetControlInfoIconLabelOptions"}, + "HelperTextVisibility":{"shape":"Visibility"}, + "DateIconVisibility":{"shape":"Visibility"} } }, "DateTimeValueWhenUnsetConfiguration":{ @@ -10725,6 +11019,19 @@ "NestedFilter":{"shape":"NestedFilter"} } }, + "FilterAggMetrics":{ + "type":"structure", + "members":{ + "MetricOperand":{"shape":"Identifier"}, + "Function":{"shape":"AggType"}, + "SortDirection":{"shape":"TopicSortDirection"} + } + }, + "FilterAggMetricsList":{ + "type":"list", + "member":{"shape":"FilterAggMetrics"}, + "max":100 + }, "FilterClass":{ "type":"string", "enum":[ @@ -12151,6 +12458,13 @@ "X" ] }, + "Identifier":{ + "type":"structure", + "required":["Identity"], + "members":{ + "Identity":{"shape":"LimitedString"} + } + }, "IdentityCenterConfiguration":{ "type":"structure", "members":{ @@ -12509,6 +12823,17 @@ "error":{"httpStatusCode":400}, "exception":true }, + "InvalidTopicReviewedAnswer":{ + "type":"structure", + "members":{ + "AnswerId":{"shape":"AnswerId"}, + "Error":{"shape":"ReviewedAnswerErrorCode"} + } + }, + "InvalidTopicReviewedAnswers":{ + "type":"list", + "member":{"shape":"InvalidTopicReviewedAnswer"} + }, "IpRestrictionRuleDescription":{ "type":"string", "max":150, @@ -13956,6 +14281,38 @@ "RequestId":{"shape":"String"} } }, + "ListTopicReviewedAnswersRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TopicId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TopicId":{ + "shape":"TopicId", + "location":"uri", + "locationName":"TopicId" + } + } + }, + "ListTopicReviewedAnswersResponse":{ + "type":"structure", + "members":{ + "TopicId":{"shape":"TopicId"}, + "TopicArn":{"shape":"Arn"}, + "Answers":{"shape":"TopicReviewedAnswers"}, + "Status":{ + "shape":"StatusCode", + "location":"statusCode" + }, + "RequestId":{"shape":"String"} + } + }, "ListTopicsRequest":{ "type":"structure", "required":["AwsAccountId"], @@ -14417,6 +14774,12 @@ "type":"list", "member":{"shape":"NamedEntityDefinition"} }, + "NamedEntityRef":{ + "type":"structure", + "members":{ + "NamedEntityName":{"shape":"LimitedString"} + } + }, "NamedFilterAggType":{ "type":"string", "enum":[ @@ -14580,6 +14943,14 @@ "member":{"shape":"ShortRestrictiveResourceId"}, "max":20 }, + "NullFilterOption":{ + "type":"string", + "enum":[ + "ALL_VALUES", + "NON_NULLS_ONLY", + "NULLS_ONLY" + ] + }, "NullString":{ "type":"string", "max":128, @@ -14778,6 +15149,11 @@ "max":512, "min":1 }, + "OperandList":{ + "type":"list", + "member":{"shape":"Identifier"}, + "max":25 + }, "OptionalPort":{ "type":"integer", "max":65535, @@ -16322,6 +16698,18 @@ "min":1, "pattern":"[\\w\\-]+" }, + "ReviewedAnswerErrorCode":{ + "type":"string", + "enum":[ + "INTERNAL_ERROR", + "MISSING_ANSWER", + "DATASET_DOES_NOT_EXIST", + "INVALID_DATASET_ARN", + "DUPLICATED_ANSWER", + "INVALID_DATA", + "MISSING_REQUIRED_FIELDS" + ] + }, "Role":{ "type":"string", "enum":[ @@ -17409,6 +17797,17 @@ "InfoIconLabelOptions":{"shape":"SheetControlInfoIconLabelOptions"} } }, + "Slot":{ + "type":"structure", + "members":{ + "SlotId":{"shape":"LimitedString"}, + "VisualId":{"shape":"LimitedString"} + } + }, + "Slots":{ + "type":"list", + "member":{"shape":"Slot"} + }, "SmallMultiplesAxisPlacement":{ "type":"string", "enum":[ @@ -17978,6 +18377,16 @@ "StyleTargets":{"shape":"TableStyleTargetList"} } }, + "SucceededTopicReviewedAnswer":{ + "type":"structure", + "members":{ + "AnswerId":{"shape":"AnswerId"} + } + }, + "SucceededTopicReviewedAnswers":{ + "type":"list", + "member":{"shape":"SucceededTopicReviewedAnswer"} + }, "SuccessfulKeyRegistrationEntries":{ "type":"list", "member":{"shape":"SuccessfulKeyRegistrationEntry"} @@ -19003,6 +19412,16 @@ "type":"list", "member":{"shape":"TopicColumn"} }, + "TopicConstantValue":{ + "type":"structure", + "members":{ + "ConstantType":{"shape":"ConstantType"}, + "Value":{"shape":"ConstantValueString"}, + "Minimum":{"shape":"ConstantValueString"}, + "Maximum":{"shape":"ConstantValueString"}, + "ValueList":{"shape":"CollectiveConstantEntryList"} + } + }, "TopicDateRangeFilter":{ "type":"structure", "members":{ @@ -19043,6 +19462,131 @@ "type":"list", "member":{"shape":"TopicFilter"} }, + "TopicIR":{ + "type":"structure", + "members":{ + "Metrics":{"shape":"TopicIRMetricList"}, + "GroupByList":{"shape":"TopicIRGroupByList"}, + "Filters":{"shape":"TopicIRFilterList"}, + "Sort":{"shape":"TopicSortClause"}, + "ContributionAnalysis":{"shape":"TopicIRContributionAnalysis"}, + "Visual":{"shape":"VisualOptions"} + } + }, + "TopicIRComparisonMethod":{ + "type":"structure", + "members":{ + "Type":{"shape":"ComparisonMethodType"}, + "Period":{"shape":"TopicTimeGranularity"}, + "WindowSize":{"shape":"Integer"} + } + }, + "TopicIRContributionAnalysis":{ + "type":"structure", + "members":{ + "Factors":{"shape":"ContributionAnalysisFactorsList"}, + "TimeRanges":{"shape":"ContributionAnalysisTimeRanges"}, + "Direction":{"shape":"ContributionAnalysisDirection"}, + "SortType":{"shape":"ContributionAnalysisSortType"} + } + }, + "TopicIRFilterEntry":{ + "type":"list", + "member":{"shape":"TopicIRFilterOption"}, + "max":2000 + }, + "TopicIRFilterFunction":{ + "type":"string", + "enum":[ + "CONTAINS", + "EXACT", + "STARTS_WITH", + "ENDS_WITH", + "CONTAINS_STRING", + "PREVIOUS", + "THIS", + "LAST", + "NEXT", + "NOW" + ] + }, + "TopicIRFilterList":{ + "type":"list", + "member":{"shape":"TopicIRFilterEntry"}, + "max":2000 + }, + "TopicIRFilterOption":{ + "type":"structure", + "members":{ + "FilterType":{"shape":"TopicIRFilterType"}, + "FilterClass":{"shape":"FilterClass"}, + "OperandField":{"shape":"Identifier"}, + "Function":{"shape":"TopicIRFilterFunction"}, + "Constant":{"shape":"TopicConstantValue"}, + "Inverse":{"shape":"Boolean"}, + "NullFilter":{"shape":"NullFilterOption"}, + "Aggregation":{"shape":"AggType"}, + "AggregationFunctionParameters":{"shape":"AggFunctionParamMap"}, + "AggregationPartitionBy":{"shape":"AggregationPartitionByList"}, + "Range":{"shape":"TopicConstantValue"}, + "Inclusive":{"shape":"Boolean"}, + "TimeGranularity":{"shape":"TimeGranularity"}, + "LastNextOffset":{"shape":"TopicConstantValue"}, + "AggMetrics":{"shape":"FilterAggMetricsList"}, + "TopBottomLimit":{"shape":"TopicConstantValue"}, + "SortDirection":{"shape":"TopicSortDirection"}, + "Anchor":{"shape":"Anchor"} + } + }, + "TopicIRFilterType":{ + "type":"string", + "enum":[ + "CATEGORY_FILTER", + "NUMERIC_EQUALITY_FILTER", + "NUMERIC_RANGE_FILTER", + "DATE_RANGE_FILTER", + "RELATIVE_DATE_FILTER", + "TOP_BOTTOM_FILTER", + "EQUALS", + "RANK_LIMIT_FILTER", + "ACCEPT_ALL_FILTER" + ] + }, + "TopicIRGroupBy":{ + "type":"structure", + "members":{ + "FieldName":{"shape":"Identifier"}, + "TimeGranularity":{"shape":"TopicTimeGranularity"}, + "Sort":{"shape":"TopicSortClause"}, + "DisplayFormat":{"shape":"DisplayFormat"}, + "DisplayFormatOptions":{"shape":"DisplayFormatOptions"}, + "NamedEntity":{"shape":"NamedEntityRef"} + } + }, + "TopicIRGroupByList":{ + "type":"list", + "member":{"shape":"TopicIRGroupBy"}, + "max":2000 + }, + "TopicIRMetric":{ + "type":"structure", + "members":{ + "MetricId":{"shape":"Identifier"}, + "Function":{"shape":"AggFunction"}, + "Operands":{"shape":"OperandList"}, + "ComparisonMethod":{"shape":"TopicIRComparisonMethod"}, + "Expression":{"shape":"Expression"}, + "CalculatedFieldReferences":{"shape":"CalculatedFieldReferenceList"}, + "DisplayFormat":{"shape":"DisplayFormat"}, + "DisplayFormatOptions":{"shape":"DisplayFormatOptions"}, + "NamedEntity":{"shape":"NamedEntityRef"} + } + }, + "TopicIRMetricList":{ + "type":"list", + "member":{"shape":"TopicIRMetric"}, + "max":2000 + }, "TopicId":{ "type":"string", "max":256, @@ -19157,6 +19701,27 @@ "NOW" ] }, + "TopicReviewedAnswer":{ + "type":"structure", + "required":[ + "AnswerId", + "DatasetArn", + "Question" + ], + "members":{ + "Arn":{"shape":"Arn"}, + "AnswerId":{"shape":"AnswerId"}, + "DatasetArn":{"shape":"Arn"}, + "Question":{"shape":"LimitedString"}, + "Mir":{"shape":"TopicIR"}, + "PrimaryVisual":{"shape":"TopicVisual"}, + "Template":{"shape":"TopicTemplate"} + } + }, + "TopicReviewedAnswers":{ + "type":"list", + "member":{"shape":"TopicReviewedAnswer"} + }, "TopicScheduleType":{ "type":"string", "enum":[ @@ -19174,6 +19739,20 @@ }, "sensitive":true }, + "TopicSortClause":{ + "type":"structure", + "members":{ + "Operand":{"shape":"Identifier"}, + "SortDirection":{"shape":"TopicSortDirection"} + } + }, + "TopicSortDirection":{ + "type":"string", + "enum":[ + "ASCENDING", + "DESCENDING" + ] + }, "TopicSummaries":{ "type":"list", "member":{"shape":"TopicSummary"} @@ -19187,6 +19766,13 @@ "UserExperienceVersion":{"shape":"TopicUserExperienceVersion"} } }, + "TopicTemplate":{ + "type":"structure", + "members":{ + "TemplateType":{"shape":"LimitedString"}, + "Slots":{"shape":"Slots"} + } + }, "TopicTimeGranularity":{ "type":"string", "enum":[ @@ -19207,6 +19793,19 @@ "NEW_READER_EXPERIENCE" ] }, + "TopicVisual":{ + "type":"structure", + "members":{ + "VisualId":{"shape":"LimitedString"}, + "Role":{"shape":"VisualRole"}, + "Ir":{"shape":"TopicIR"}, + "SupportingVisuals":{"shape":"TopicVisuals"} + } + }, + "TopicVisuals":{ + "type":"list", + "member":{"shape":"TopicVisual"} + }, "TotalAggregationComputation":{ "type":"structure", "required":["ComputationId"], @@ -20981,6 +21580,12 @@ "AvailabilityStatus":{"shape":"DashboardBehavior"} } }, + "VisualOptions":{ + "type":"structure", + "members":{ + "type":{"shape":"LimitedString"} + } + }, "VisualPalette":{ "type":"structure", "members":{ @@ -20988,6 +21593,16 @@ "ColorMap":{"shape":"DataPathColorList"} } }, + "VisualRole":{ + "type":"string", + "enum":[ + "PRIMARY", + "COMPLIMENTARY", + "MULTI_INTENT", + "FALLBACK", + "FRAGMENT" + ] + }, "VisualSubtitleLabelOptions":{ "type":"structure", "members":{ diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json index da9fce91313..e442c39a3aa 100644 --- a/models/apis/quicksight/2018-04-01/docs-2.json +++ b/models/apis/quicksight/2018-04-01/docs-2.json @@ -2,6 +2,8 @@ "version": "2.0", "service": "Amazon QuickSight is a fully managed, serverless business intelligence service for the Amazon Web Services Cloud that makes it easy to extend data and insights to every user in your organization. This API reference contains documentation for a programming interface that you can use to manage Amazon QuickSight.
", "operations": { + "BatchCreateTopicReviewedAnswer": "Creates new reviewed answers for a Q Topic.
", + "BatchDeleteTopicReviewedAnswer": "Deletes reviewed answers for Q Topic.
", "CancelIngestion": "Cancels an ongoing ingestion of data into SPICE.
", "CreateAccountCustomization": "Creates Amazon QuickSight customizations for the current Amazon Web Services Region. Currently, you can add a custom default theme by using the CreateAccountCustomization
or UpdateAccountCustomization
API operation. To further customize Amazon QuickSight by removing Amazon QuickSight sample assets and videos for all new users, see Customizing Amazon QuickSight in the Amazon QuickSight User Guide.
You can create customizations for your Amazon Web Services account or, if you specify a namespace, for a QuickSight namespace instead. Customizations that apply to a namespace always override customizations that apply to an Amazon Web Services account. To find out which customizations apply, use the DescribeAccountCustomization
API operation.
Before you use the CreateAccountCustomization
API operation to add a theme as the namespace default, make sure that you first share the theme with the namespace. If you don't share it with the namespace, the theme isn't visible to your users even if you make it the default theme. To check if the theme is shared, view the current permissions by using the DescribeThemePermissions
API operation. To share the theme, grant permissions by using the UpdateThemePermissions
API operation.
Creates an Amazon QuickSight account, or subscribes to Amazon QuickSight Q.
The Amazon Web Services Region for the account is derived from what is configured in the CLI or SDK.
Before you use this operation, make sure that you can connect to an existing Amazon Web Services account. If you don't have an Amazon Web Services account, see Sign up for Amazon Web Services in the Amazon QuickSight User Guide. The person who signs up for Amazon QuickSight needs to have the correct Identity and Access Management (IAM) permissions. For more information, see IAM Policy Examples for Amazon QuickSight in the Amazon QuickSight User Guide.
If your IAM policy includes both the Subscribe
and CreateAccountSubscription
actions, make sure that both actions are set to Allow
. If either action is set to Deny
, the Deny
action prevails and your API call fails.
You can't pass an existing IAM role to access other Amazon Web Services services using this API operation. To pass your existing IAM role to Amazon QuickSight, see Passing IAM roles to Amazon QuickSight in the Amazon QuickSight User Guide.
You can't set default resource access on the new account from the Amazon QuickSight API. Instead, add default resource access from the Amazon QuickSight console. For more information about setting default resource access to Amazon Web Services services, see Setting default resource access to Amazon Web Services services in the Amazon QuickSight User Guide.
", @@ -124,6 +126,7 @@ "ListThemeVersions": "Lists all the versions of the themes in the current Amazon Web Services account.
", "ListThemes": "Lists all the themes in the current Amazon Web Services account.
", "ListTopicRefreshSchedules": "Lists all of the refresh schedules for a topic.
", + "ListTopicReviewedAnswers": "Lists all reviewed answers for a Q Topic.
", "ListTopics": "Lists all of the topics within an account.
", "ListUserGroups": "Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.
", "ListUsers": "Returns a list of all of the Amazon QuickSight users belonging to this account.
", @@ -242,6 +245,39 @@ "GetDashboardEmbedUrlRequest$AdditionalDashboardIds": "A list of one or more dashboard IDs that you want anonymous users to have tempporary access to. Currently, the IdentityType
parameter must be set to ANONYMOUS
because other identity types authenticate as Amazon QuickSight or IAM users. For example, if you set \"--dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3 identity-type ANONYMOUS
\", the session can access all three dashboards.
The definition of an Agg function.
", + "refs": { + "TopicIRMetric$Function": "The function for the TopicIRMetric
.
The aggregation parameters for an Agg function.
", + "TopicIRFilterOption$AggregationFunctionParameters": "The aggregation function parameters for the TopicIRFilterOption
.
The aggregation of an Agg function.
", + "FilterAggMetrics$Function": "The function for the FilterAggMetrics
.
The aggregation for the TopicIRFilterOption
.
An aggregation function aggregates values from a dimension or measure.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
", "refs": { @@ -259,6 +295,18 @@ "NamedEntityDefinitionMetric$AggregationFunctionParameters": "The additional parameters for an aggregation function.
" } }, + "AggregationPartitionBy": { + "base": "The definition of an AggregationPartitionBy
.
The AggregationPartitionBy
for the TopicIRFilterOption
.
The configuration options to sort aggregated values.
", "refs": { @@ -406,6 +454,12 @@ "SearchAnalysesResponse$AnalysisSummaryList": "Metadata describing the analyses that you searched for.
" } }, + "Anchor": { + "base": "The definition of the Anchor.
", + "refs": { + "TopicIRFilterOption$Anchor": "The anchor for the TopicIRFilterOption
.
The date configuration of the filter.
", "refs": { @@ -418,6 +472,12 @@ "AnchorDateConfiguration$AnchorOption": "The options for the date configuration. Choose one of the options below:
NOW
The AnchorType
for the Anchor.
Information about the dashboard that you want to embed.
", "refs": { @@ -460,6 +520,22 @@ "SnapshotJobResult$AnonymousUsers": " A list of AnonymousUserSnapshotJobResult
objects that contain information on anonymous users and their user configurations. This data provided by you when you make a StartDashboardSnapshotJob
API call.
The answer ID for the CreateTopicReviewedAnswer
.
The answer ID for the InvalidTopicReviewedAnswer
.
The answer ID for the SucceededTopicReviewedAnswer
.
The answer ID of the reviewed answer.
" + } + }, + "AnswerIds": { + "base": null, + "refs": { + "BatchDeleteTopicReviewedAnswerRequest$AnswerIds": "The Answer IDs of the Answers to be deleted.
" + } + }, "ArcAxisConfiguration": { "base": "The arc axis configuration of a GaugeChartVisual
.
The ARN of the import job.
", "AssetBundleImportJobWarning$Arn": "The ARN of the resource that the warning occurred for.
", "AssetBundleResourceArns$member": null, + "BatchCreateTopicReviewedAnswerResponse$TopicArn": "The Amazon Resource Name (ARN) of the topic.
", + "BatchDeleteTopicReviewedAnswerResponse$TopicArn": "The Amazon Resource Name (ARN) of the topic.
", "CancelIngestionResponse$Arn": "The Amazon Resource Name (ARN) for the data ingestion.
", "CreateAccountCustomizationResponse$Arn": "The Amazon Resource Name (ARN) for the customization that you created for this Amazon Web Services account.
", "CreateAnalysisRequest$ThemeArn": "The ARN for the theme to apply to the analysis that you're creating. To see the theme in the Amazon QuickSight console, make sure that you have access to it.
", @@ -547,6 +625,7 @@ "CreateTopicRefreshScheduleResponse$DatasetArn": "The Amazon Resource Name (ARN) of the dataset.
", "CreateTopicResponse$Arn": "The Amazon Resource Name (ARN) of the topic.
", "CreateTopicResponse$RefreshArn": "The Amazon Resource Name (ARN) of the topic refresh.
", + "CreateTopicReviewedAnswer$DatasetArn": "The Dataset arn for the CreateTopicReviewedAnswer
.
The Amazon Resource Name (ARN) of the VPC connection.
", "CustomSql$DataSourceArn": "The Amazon Resource Name (ARN) of the data source.
", "Dashboard$Arn": "The Amazon Resource Name (ARN) of the resource.
", @@ -613,6 +692,7 @@ "Ingestion$Arn": "The Amazon Resource Name (ARN) of the resource.
", "ListTagsForResourceRequest$ResourceArn": "The Amazon Resource Name (ARN) of the resource that you want a list of tags for.
", "ListTopicRefreshSchedulesResponse$TopicArn": "The Amazon Resource Name (ARN) of the topic.
", + "ListTopicReviewedAnswersResponse$TopicArn": "The Amazon Resource Name (ARN) of the topic.
", "LogicalTableSource$DataSetArn": "The Amazon Resource Number (ARN) of the parent dataset.
", "MemberIdArnPair$MemberArn": "The Amazon Resource Name (ARN) of the member.
", "NamespaceInfoV2$Arn": "The namespace ARN.
", @@ -641,6 +721,8 @@ "ThemeVersionSummary$Arn": "The Amazon Resource Name (ARN) of the theme version.
", "TopicRefreshDetails$RefreshArn": "The Amazon Resource Name (ARN) of the topic refresh.
", "TopicRefreshScheduleSummary$DatasetArn": "The Amazon Resource Name (ARN) of the dataset.
", + "TopicReviewedAnswer$Arn": "The Amazon Resource Name (ARN) of the reviewed answer.
", + "TopicReviewedAnswer$DatasetArn": "The Dataset ARN for the TopicReviewedAnswer
.
The Amazon Resource Name (ARN) of the topic.
", "UntagResourceRequest$ResourceArn": "The Amazon Resource Name (ARN) of the resource that you want to untag.
", "UpdateAccountCustomizationResponse$Arn": "The Amazon Resource Name (ARN) for the updated customization for this Amazon Web Services account.
", @@ -1397,6 +1479,8 @@ "AwsAccountId": { "base": null, "refs": { + "BatchCreateTopicReviewedAnswerRequest$AwsAccountId": "The ID of the Amazon Web Services account that you want to create a reviewed answer in.
", + "BatchDeleteTopicReviewedAnswerRequest$AwsAccountId": "The ID of the Amazon Web Services account that you want to delete a reviewed answers in.
", "CancelIngestionRequest$AwsAccountId": "The Amazon Web Services account ID.
", "CreateAccountCustomizationRequest$AwsAccountId": "The ID for the Amazon Web Services account that you want to customize Amazon QuickSight for.
", "CreateAccountCustomizationResponse$AwsAccountId": "The ID for the Amazon Web Services account that you want to customize Amazon QuickSight for.
", @@ -1525,6 +1609,7 @@ "ListThemeVersionsRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the themes that you're listing.
", "ListThemesRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the themes that you're listing.
", "ListTopicRefreshSchedulesRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the topic whose refresh schedule you want described.
", + "ListTopicReviewedAnswersRequest$AwsAccountId": "The ID of the Amazon Web Services account that containd the reviewed answers that you want listed.
", "ListTopicsRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the topics that you want to list.
", "ListUserGroupsRequest$AwsAccountId": "The Amazon Web Services account ID that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
", "ListUsersRequest$AwsAccountId": "The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
", @@ -1737,6 +1822,26 @@ "GeospatialMapStyleOptions$BaseMapStyle": "The base map style of the geospatial map.
" } }, + "BatchCreateTopicReviewedAnswerRequest": { + "base": null, + "refs": { + } + }, + "BatchCreateTopicReviewedAnswerResponse": { + "base": null, + "refs": { + } + }, + "BatchDeleteTopicReviewedAnswerRequest": { + "base": null, + "refs": { + } + }, + "BatchDeleteTopicReviewedAnswerResponse": { + "base": null, + "refs": { + } + }, "BigQueryParameters": { "base": "The parameters that are required to connect to a Google BigQuery data source.
", "refs": { @@ -1898,6 +2003,8 @@ "TopicColumn$IsIncludedInTopic": "A Boolean value that indicates whether the column is included in the query results.
", "TopicColumn$NeverAggregateInFilter": "A Boolean value that indicates whether to aggregate the column data when it's used in a filter context.
", "TopicDateRangeFilter$Inclusive": "A Boolean value that indicates whether the date range filter should include the boundary values. If set to true, the filter includes the start and end dates. If set to false, the filter excludes them.
", + "TopicIRFilterOption$Inverse": "The inverse for the TopicIRFilterOption
.
The inclusive for the TopicIRFilterOption
.
A Boolean value that indicates whether the endpoints of the numeric range are included in the filter. If set to true, topics whose numeric field value is equal to the endpoint values will be included in the filter. If set to false, topics whose numeric field value is equal to the endpoint values will be excluded from the filter.
", "TopicRefreshSchedule$BasedOnSpiceSchedule": "A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
", "UpdateAccountSettingsRequest$TerminationProtectionEnabled": "A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True
value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription
request. A False
value will allow the account to be deleted.
The expression of the calculated field.
" } }, + "CalculatedFieldReferenceList": { + "base": null, + "refs": { + "TopicIRMetric$CalculatedFieldReferences": "The calculated field references for the TopicIRMetric
.
A collective constant used in a category filter. This element is used to specify a list of values for the constant.
" } }, + "CollectiveConstantEntry": { + "base": "The definition for a CollectiveConstantEntry
.
The value list of the TopicConstantValue
.
The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
The type for the TopicIRComparisonMethod
.
The computation union that is used in an insight visual.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
", "refs": { @@ -2685,11 +2816,22 @@ "ConstantType": { "base": null, "refs": { + "CollectiveConstantEntry$ConstantType": "The ConstantType
of a CollectiveConstantEntry
.
The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are SINGULAR
and COLLECTIVE
.
The constant type of a TopicConstantValue
.
The data type of the constant value that is used in a range filter. Valid values for this structure are RANGE
.
The type of the singular filter constant. Valid values for this structure are SINGULAR
.
The value of a CollectiveConstantEntry
.
The value of the TopicConstantValue
.
The minimum for the TopicConstantValue
.
The maximum for the TopicConstantValue
.
The context menu options for a visual's interactions.
", "refs": { @@ -2710,6 +2852,36 @@ "PieChartConfiguration$ContributionAnalysisDefaults": "The contribution analysis (anomaly configuration) setup of the visual.
" } }, + "ContributionAnalysisDirection": { + "base": null, + "refs": { + "TopicIRContributionAnalysis$Direction": "The direction for the TopicIRContributionAnalysis
.
The definition for the ContributionAnalysisFactor
.
The factors for a TopicIRContributionAnalysis
.
The sort type for the TopicIRContributionAnalysis
.
The definition for the ContributionAnalysisTimeRanges
.
The time ranges for the TopicIRContributionAnalysis
.
The definition for a CreateTopicReviewedAnswer
.
The definition of the Answers to be created.
" + } + }, "CreateVPCConnectionRequest": { "base": null, "refs": { @@ -4784,13 +4968,17 @@ "DisplayFormat": { "base": null, "refs": { - "DefaultFormatting$DisplayFormat": "The display format. Valid values for this structure are AUTO
, PERCENT
, CURRENCY
, NUMBER
, DATE
, and STRING
.
The display format. Valid values for this structure are AUTO
, PERCENT
, CURRENCY
, NUMBER
, DATE
, and STRING
.
The display format for the TopicIRGroupBy
.
The display format for the TopicIRMetric
.
A structure that represents additional options for display formatting.
", "refs": { - "DefaultFormatting$DisplayFormatOptions": "The additional options for display formatting.
" + "DefaultFormatting$DisplayFormatOptions": "The additional options for display formatting.
", + "TopicIRGroupBy$DisplayFormatOptions": null, + "TopicIRMetric$DisplayFormatOptions": null } }, "DnsResolverList": { @@ -5016,7 +5204,8 @@ "FilterOperation$ConditionExpression": "An expression that must evaluate to a Boolean value. Rows for which the expression evaluates to true are kept in the dataset.
", "RollingDateConfiguration$Expression": "The expression of the rolling date configuration.
", "SheetElementRenderingRule$Expression": "The expression of the rendering rules of a sheet.
", - "TopicCalculatedField$Expression": "The calculated field expression.
" + "TopicCalculatedField$Expression": "The calculated field expression.
", + "TopicIRMetric$Expression": "The expression for the TopicIRMetric
.
The definition for the FilterAggMetrics
.
The agg metrics for the TopicIRFilterOption
.
The class of the filter. Valid values for this structure are ENFORCED_VALUE_FILTER
, CONDITIONAL_VALUE_FILTER
, and NAMED_VALUE_FILTER
.
The class of the filter. Valid values for this structure are ENFORCED_VALUE_FILTER
, CONDITIONAL_VALUE_FILTER
, and NAMED_VALUE_FILTER
.
The filter class for the TopicIRFilterOption
.
Determines the type of icon.
" } }, + "Identifier": { + "base": "The definition for the identifier.
", + "refs": { + "CalculatedFieldReferenceList$member": null, + "FilterAggMetrics$MetricOperand": "The metric operand of the FilterAggMetrics
.
The operand field for the TopicIRFilterOption
.
The field name for the TopicIRGroupBy
.
The metric ID for the TopicIRMetric
.
The operand for a TopicSortClause
.
The parameters for an IAM Identity Center configuration.
", "refs": { @@ -6495,12 +6709,14 @@ "Integer": { "base": null, "refs": { + "Anchor$Offset": "The offset of the Anchor.
", "ArcAxisConfiguration$ReserveRange": "The reserved range of the arc axis.
", "AxisLinearScale$StepCount": "The step count setup of a linear axis.
", "DisplayFormatOptions$FractionDigits": "Determines the number of fraction digits.
", "ExcludePeriodConfiguration$Amount": "The amount or number of the exclude period.
", "RelativeDatesFilter$RelativeDateValue": "The date value of the filter.
", - "TopBottomFilter$Limit": "The number of items to include in the top bottom filter results.
" + "TopBottomFilter$Limit": "The number of items to include in the top bottom filter results.
", + "TopicIRComparisonMethod$WindowSize": "The window size for the TopicIRComparisonMethod
.
The definition for a InvalidTopicReviewedAnswer
.
The definition of Answers that are invalid and not created.
", + "BatchDeleteTopicReviewedAnswerResponse$InvalidAnswers": "The definition of Answers that are invalid and not deleted.
" + } + }, "IpRestrictionRuleDescription": { "base": null, "refs": { @@ -6844,9 +7073,13 @@ "LimitedString": { "base": null, "refs": { + "AggFunction$PeriodField": "The period field for an Agg function.
", "AggregationFunctionParameters$key": null, "AggregationFunctionParameters$value": null, + "AggregationPartitionBy$FieldName": "The field Name for an AggregationPartitionBy
.
The cell value.
", + "ContributionAnalysisFactor$FieldName": "The field name of the ContributionAnalysisFactor
.
The Question to be created.
", "DataAggregation$DefaultDateColumnName": "The column name for the default date.
", "DatasetMetadata$DatasetName": "The name of the dataset.
", "DatasetMetadata$DatasetDescription": "The description of the dataset.
", @@ -6856,8 +7089,10 @@ "DisplayFormatOptions$Prefix": "The prefix value for a display format.
", "DisplayFormatOptions$Suffix": "The suffix value for a display format.
", "DisplayFormatOptions$CurrencySymbol": "The currency symbol, such as USD
.
The identity of the identifier.
", "NamedEntityDefinition$FieldName": "The name of the entity.
", "NamedEntityDefinition$PropertyName": "The property name to be used for the named entity.
", + "NamedEntityRef$NamedEntityName": "The NamedEntityName
for the NamedEntityRef
.
The prefix for a negative format.
", "NegativeFormat$Suffix": "The suffix for a negative format.
", "RangeConstant$Minimum": "The minimum value for a range constant.
", @@ -6866,6 +7101,8 @@ "SemanticEntityType$SubTypeName": "The semantic entity sub type name.
", "SemanticType$TypeName": "The semantic type name.
", "SemanticType$SubTypeName": "The semantic type sub type name.
", + "Slot$SlotId": "The slot ID of the slot.
", + "Slot$VisualId": "The visual ID for the slot.
", "Synonyms$member": null, "TopicCalculatedField$CalculatedFieldName": "The calculated field name.
", "TopicCalculatedField$CalculatedFieldDescription": "The calculated field description.
", @@ -6883,9 +7120,13 @@ "TopicRefreshSchedule$RepeatAt": "The time of day when the refresh should run, for example, Monday-Sunday.
", "TopicRefreshScheduleSummary$DatasetId": "The ID of the dataset.
", "TopicRefreshScheduleSummary$DatasetName": "The name of the dataset.
", + "TopicReviewedAnswer$Question": "The question for the TopicReviewedAnswer
.
The value of the singular filter constant.
", + "TopicTemplate$TemplateType": "The template type for the TopicTemplate
.
The visual ID for the TopicVisual
.
The type for a VisualOptions
.
The definition of a named entity.
" } }, + "NamedEntityRef": { + "base": "The definition for a NamedEntityRef
.
The named entity for the TopicIRGroupBy
.
The named entity for the TopicIRMetric
.
List of visuals to exclude from repetition in repeating sections. The visuals will render identically, and ignore the repeating configurations in all repeating instances.
" } }, + "NullFilterOption": { + "base": null, + "refs": { + "TopicIRFilterOption$NullFilter": "The null filter for the TopicIRFilterOption
.
The join instructions provided in the ON
clause of a join.
The operands for the TopicIRMetric
.
The ID of the folder.
" } }, + "ReviewedAnswerErrorCode": { + "base": null, + "refs": { + "InvalidTopicReviewedAnswer$Error": "The error that is returned for the InvalidTopicReviewedAnswer
.
The display options of a control.
" } }, + "Slot": { + "base": "The definition for the slot.
", + "refs": { + "Slots$member": null + } + }, + "Slots": { + "base": null, + "refs": { + "TopicTemplate$Slots": "The slots for the TopicTemplate
.
The HTTP status of the request.
", + "BatchDeleteTopicReviewedAnswerResponse$Status": "The HTTP status of the request.
", "CancelIngestionResponse$Status": "The HTTP status of the request.
", "CreateAccountCustomizationResponse$Status": "The HTTP status of the request.
", "CreateAccountSubscriptionResponse$Status": "The HTTP status of the request.
", @@ -10827,6 +11117,7 @@ "ListThemeVersionsResponse$Status": "The HTTP status of the request.
", "ListThemesResponse$Status": "The HTTP status of the request.
", "ListTopicRefreshSchedulesResponse$Status": "The HTTP status of the request.
", + "ListTopicReviewedAnswersResponse$Status": "The HTTP status of the request.
", "ListTopicsResponse$Status": "The HTTP status of the request.
", "ListUserGroupsResponse$Status": "The HTTP status of the request.
", "ListUsersResponse$Status": "The HTTP status of the request.
", @@ -10901,6 +11192,8 @@ "AttributeAggregationFunction$ValueForMultipleValues": "Used by the UNIQUE_VALUE
aggregation function. If there are multiple values for the field used by the aggregation, the value for this property will be returned instead. Defaults to '*'.
The text for the axis label.
", + "BatchCreateTopicReviewedAnswerResponse$RequestId": "The Amazon Web Services request ID for this operation.
", + "BatchDeleteTopicReviewedAnswerResponse$RequestId": "The Amazon Web Services request ID for this operation.
", "CancelIngestionRequest$DataSetId": "The ID of the dataset used in the ingestion.
", "CancelIngestionResponse$RequestId": "The Amazon Web Services request ID for this operation.
", "CascadingControlSource$SourceSheetControlId": "The source sheet control ID of a CascadingControlSource
.
The token for the next set of results, or null if there are no more results.
", "ListThemesResponse$RequestId": "The Amazon Web Services request ID for this operation.
", "ListTopicRefreshSchedulesResponse$RequestId": "The Amazon Web Services request ID for this operation.
", + "ListTopicReviewedAnswersResponse$RequestId": "The Amazon Web Services request ID for this operation.
", "ListTopicsRequest$NextToken": "The token for the next set of results, or null if there are no more results.
", "ListTopicsResponse$NextToken": "The token for the next set of results, or null if there are no more results.
", "ListTopicsResponse$RequestId": "The Amazon Web Services request ID for this operation.
", @@ -11394,6 +11688,19 @@ "PivotTableTotalOptions$ColumnSubtotalOptions": "The column subtotal options.
" } }, + "SucceededTopicReviewedAnswer": { + "base": "The definition for a SucceededTopicReviewedAnswer
.
The definition of Answers that are successfully created.
", + "BatchDeleteTopicReviewedAnswerResponse$SucceededAnswers": "The definition of Answers that are successfully deleted.
" + } + }, "SuccessfulKeyRegistrationEntries": { "base": null, "refs": { @@ -12055,6 +12362,8 @@ "TimeGranularity": { "base": null, "refs": { + "AggregationPartitionBy$TimeGranularity": "The TimeGranularity
for an AggregationPartitionBy
.
The TimeGranularity
of the Anchor.
The time granularity of the field that the color needs to be applied to.
", "DateDimensionField$DateGranularity": "The date granularity of the DateDimensionField
. Choose one of the following options:
YEAR
QUARTER
MONTH
WEEK
DAY
HOUR
MINUTE
SECOND
MILLISECOND
The time granularity of the date time parameter.
", @@ -12066,7 +12375,8 @@ "TimeEqualityFilter$TimeGranularity": "The level of time precision that is used to aggregate DateTime
values.
The level of time precision that is used to aggregate DateTime
values.
The level of time precision that is used to aggregate DateTime
values.
The level of time precision that is used to aggregate DateTime
values.
The level of time precision that is used to aggregate DateTime
values.
The time granularity for the TopicIRFilterOption
.
The list of column definitions.
" } }, + "TopicConstantValue": { + "base": "The definition for a TopicConstantValue
.
The constant for the TopicIRFilterOption
.
The range for the TopicIRFilterOption
.
The last next offset for the TopicIRFilterOption
.
The TopBottomLimit
for the TopicIRFilterOption
.
A filter used to restrict data based on a range of dates or times.
", "refs": { @@ -12301,9 +12620,89 @@ "DatasetMetadata$Filters": "The list of filter definitions.
" } }, + "TopicIR": { + "base": "The definition for a TopicIR
.
The Mir for the CreateTopicReviewedAnswer
.
The mir for the TopicReviewedAnswer
.
The ir for the TopicVisual
.
The definition of a TopicIRComparisonMethod
.
The comparison method for the TopicIRMetric
.
The definition for a TopicIRContributionAnalysis
.
The contribution analysis for the TopicIR
.
The function for the TopicIRFilterOption
.
The filters for the TopicIR
.
The definition for a TopicIRFilterOption
.
The start range for the ContributionAnalysisTimeRanges
.
The end range for the ContributionAnalysisTimeRanges
.
The filter type for the TopicIRFilterOption
.
The definition for a TopicIRGroupBy
.
The GroupBy list for the TopicIR
.
The definition for a TopicIRMetric
.
The metrics for the TopicIR
.
The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", + "BatchCreateTopicReviewedAnswerResponse$TopicId": "The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", + "BatchDeleteTopicReviewedAnswerRequest$TopicId": "The ID for the topic reviewed answer that you want to delete. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", + "BatchDeleteTopicReviewedAnswerResponse$TopicId": "The ID of the topic reviewed answer that you want to delete. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", "CreateTopicRefreshScheduleRequest$TopicId": "The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", "CreateTopicRefreshScheduleResponse$TopicId": "The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", "CreateTopicRequest$TopicId": "The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", @@ -12321,6 +12720,8 @@ "DescribeTopicResponse$TopicId": "The ID of the topic that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", "ListTopicRefreshSchedulesRequest$TopicId": "The ID for the topic that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", "ListTopicRefreshSchedulesResponse$TopicId": "The ID for the topic that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", + "ListTopicReviewedAnswersRequest$TopicId": "The ID for the topic that contains the reviewed answer that you want to list. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", + "ListTopicReviewedAnswersResponse$TopicId": "The ID for the topic that contains the reviewed answer that you want to list. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", "TopicSummary$TopicId": "The ID for the topic. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", "UpdateTopicPermissionsRequest$TopicId": "The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", "UpdateTopicPermissionsResponse$TopicId": "The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
", @@ -12412,6 +12813,18 @@ "TopicRelativeDateFilter$RelativeDateFilterFunction": "The function to be used in a relative date filter to determine the range of dates to include in the results. Valid values for this structure are BEFORE
, AFTER
, and BETWEEN
.
The deinition for a TopicReviewedAnswer
.
The definition of all Answers in the topic.
" + } + }, "TopicScheduleType": { "base": null, "refs": { @@ -12425,6 +12838,21 @@ "TopicRelativeDateFilter$Constant": "The constant used in a relative date filter.
" } }, + "TopicSortClause": { + "base": "The definition for a TopicSortClause
.
The sort for the TopicIR
.
The sort for the TopicIRGroupBy
.
The sort direction for FilterAggMetrics
.
The sort direction for the TopicIRFilterOption
.
The sort direction for the TopicSortClause
.
The definition for a TopicTemplate
.
The template for the CreateTopicReviewedAnswer
.
The template for the TopicReviewedAnswer
.
The period of an Agg function.
", "DataAggregation$DatasetRowDateGranularity": "The level of time precision that is used to aggregate DateTime
values.
The level of time precision that is used to aggregate DateTime
values.
The level of time precision that is used to aggregate DateTime
values.
The period for the TopicIRComparisonMethod
.
The time granularity for the TopicIRGroupBy
.
The level of time precision that is used to aggregate DateTime
values.
The user experience version of the topic.
" } }, + "TopicVisual": { + "base": "The definition for a TopicVisual
.
The PrimaryVisual
for the CreateTopicReviewedAnswer
.
The primary visual for the TopicReviewedAnswer
.
The supporting visuals for the TopicVisual
.
The total aggregation computation configuration.
", "refs": { @@ -13213,6 +13665,8 @@ "DataLabelOptions$TotalsVisibility": "Determines the visibility of the total.
", "DataPathLabelType$Visibility": "The visibility of the data label.
", "DateAxisOptions$MissingDateVisibility": "Determines whether or not missing dates are displayed.
", + "DateTimePickerControlDisplayOptions$HelperTextVisibility": "The helper text visibility of the DateTimePickerControlDisplayOptions
.
The date icon visibility of the DateTimePickerControlDisplayOptions
.
Determines the visibility of the label in a donut chart. In the Amazon QuickSight console, this option is called 'Show total'
.
The visibility of Show aggregations
.
The visibility of the field label.
", @@ -13397,6 +13851,12 @@ "VisualInteractionOptions$VisualMenuOption": "The on-visual menu options for a visual.
" } }, + "VisualOptions": { + "base": "The definition for a VisualOptions
.
The visual for the TopicIR
.
The visual display options for the visual palette.
", "refs": { @@ -13414,6 +13874,12 @@ "WaterfallChartConfiguration$VisualPalette": "The visual palette configuration of a waterfall visual.
" } }, + "VisualRole": { + "base": null, + "refs": { + "TopicVisual$Role": "The role for the TopicVisual
.
The subtitle label options for a visual.
", "refs": { diff --git a/models/apis/rds/2014-10-31/smoke-2.json b/models/apis/rds/2014-10-31/smoke-2.json new file mode 100644 index 00000000000..bb5ae76e79d --- /dev/null +++ b/models/apis/rds/2014-10-31/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeDBEngineVersionsSuccess", + "operationName": "DescribeDBEngineVersions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeDBInstancesFailure", + "operationName": "DescribeDBInstances", + "input": { + "DBInstanceIdentifier": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/models/apis/sns/2010-03-31/smoke-2.json b/models/apis/sns/2010-03-31/smoke-2.json new file mode 100644 index 00000000000..8cfb57ad7a2 --- /dev/null +++ b/models/apis/sns/2010-03-31/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListTopicsSuccess", + "operationName": "ListTopics", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 6decd3e23e7..1c2a7de7aec 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -453,16 +453,25 @@ "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, + "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, + "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "il-central-1" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, diff --git a/service/acmpca/api.go b/service/acmpca/api.go index a3a22baa3f2..32b95da3457 100644 --- a/service/acmpca/api.go +++ b/service/acmpca/api.go @@ -87,21 +87,21 @@ func (c *ACMPCA) CreateCertificateAuthorityRequest(input *CreateCertificateAutho // // Returned Error Types: // +// - LimitExceededException +// An Amazon Web Services Private CA quota has been exceeded. See the exception +// message returned to determine the quota that was exceeded. +// // - InvalidArgsException // One or more of the specified arguments was not valid. // -// - InvalidPolicyException -// The resource policy is invalid or is missing a required statement. For general -// information about IAM policy and statement structure, see Overview of JSON -// Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json). -// // - InvalidTagException // The tag associated with the CA is not valid. The invalid argument is contained // in the message field. // -// - LimitExceededException -// An Amazon Web Services Private CA quota has been exceeded. See the exception -// message returned to determine the quota that was exceeded. +// - InvalidPolicyException +// The resource policy is invalid or is missing a required statement. For general +// information about IAM policy and statement structure, see Overview of JSON +// Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json). // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CreateCertificateAuthority func (c *ACMPCA) CreateCertificateAuthority(input *CreateCertificateAuthorityInput) (*CreateCertificateAuthorityOutput, error) { @@ -194,12 +194,6 @@ func (c *ACMPCA) CreateCertificateAuthorityAuditReportRequest(input *CreateCerti // // Returned Error Types: // -// - RequestInProgressException -// Your request is already in progress. -// -// - RequestFailedException -// The request has failed for an unspecified reason. -// // - ResourceNotFoundException // A resource such as a private CA, S3 bucket, certificate, audit report, or // policy cannot be found. @@ -210,9 +204,15 @@ func (c *ACMPCA) CreateCertificateAuthorityAuditReportRequest(input *CreateCerti // - InvalidArgsException // One or more of the specified arguments was not valid. // +// - RequestFailedException +// The request has failed for an unspecified reason. +// // - InvalidStateException // The state of the private CA does not allow this action to occur. // +// - RequestInProgressException +// Your request is already in progress. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CreateCertificateAuthorityAuditReport func (c *ACMPCA) CreateCertificateAuthorityAuditReport(input *CreateCertificateAuthorityAuditReportInput) (*CreateCertificateAuthorityAuditReportOutput, error) { req, out := c.CreateCertificateAuthorityAuditReportRequest(input) @@ -312,6 +312,13 @@ func (c *ACMPCA) CreatePermissionRequest(input *CreatePermissionInput) (req *req // // Returned Error Types: // +// - LimitExceededException +// An Amazon Web Services Private CA quota has been exceeded. See the exception +// message returned to determine the quota that was exceeded. +// +// - PermissionAlreadyExistsException +// The designated permission has already been given to the user. +// // - ResourceNotFoundException // A resource such as a private CA, S3 bucket, certificate, audit report, or // policy cannot be found. @@ -319,19 +326,12 @@ func (c *ACMPCA) CreatePermissionRequest(input *CreatePermissionInput) (req *req // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// - PermissionAlreadyExistsException -// The designated permission has already been given to the user. -// -// - LimitExceededException -// An Amazon Web Services Private CA quota has been exceeded. See the exception -// message returned to determine the quota that was exceeded. +// - RequestFailedException +// The request has failed for an unspecified reason. // // - InvalidStateException // The state of the private CA does not allow this action to occur. // -// - RequestFailedException -// The request has failed for an unspecified reason. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CreatePermission func (c *ACMPCA) CreatePermission(input *CreatePermissionInput) (*CreatePermissionOutput, error) { req, out := c.CreatePermissionRequest(input) @@ -435,9 +435,6 @@ func (c *ACMPCA) DeleteCertificateAuthorityRequest(input *DeleteCertificateAutho // // Returned Error Types: // -// - ConcurrentModificationException -// A previous update to your private CA is still ongoing. -// // - ResourceNotFoundException // A resource such as a private CA, S3 bucket, certificate, audit report, or // policy cannot be found. @@ -448,6 +445,9 @@ func (c *ACMPCA) DeleteCertificateAuthorityRequest(input *DeleteCertificateAutho // - InvalidStateException // The state of the private CA does not allow this action to occur. // +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DeleteCertificateAuthority func (c *ACMPCA) DeleteCertificateAuthority(input *DeleteCertificateAuthorityInput) (*DeleteCertificateAuthorityOutput, error) { req, out := c.DeleteCertificateAuthorityRequest(input) @@ -556,12 +556,12 @@ func (c *ACMPCA) DeletePermissionRequest(input *DeletePermissionInput) (req *req // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// - InvalidStateException -// The state of the private CA does not allow this action to occur. -// // - RequestFailedException // The request has failed for an unspecified reason. // +// - InvalidStateException +// The state of the private CA does not allow this action to occur. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DeletePermission func (c *ACMPCA) DeletePermission(input *DeletePermissionInput) (*DeletePermissionOutput, error) { req, out := c.DeletePermissionRequest(input) @@ -672,27 +672,27 @@ func (c *ACMPCA) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Req // // Returned Error Types: // -// - ConcurrentModificationException -// A previous update to your private CA is still ongoing. -// -// - InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. -// -// - InvalidStateException -// The state of the private CA does not allow this action to occur. -// // - LockoutPreventedException // The current action was prevented because it would lock the caller out from // performing subsequent actions. Verify that the specified parameters would // not result in the caller being denied access to the resource. // -// - RequestFailedException -// The request has failed for an unspecified reason. -// // - ResourceNotFoundException // A resource such as a private CA, S3 bucket, certificate, audit report, or // policy cannot be found. // +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// +// - RequestFailedException +// The request has failed for an unspecified reason. +// +// - InvalidStateException +// The state of the private CA does not allow this action to occur. +// +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DeletePolicy func (c *ACMPCA) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { req, out := c.DeletePolicyRequest(input) @@ -978,12 +978,6 @@ func (c *ACMPCA) GetCertificateRequest(input *GetCertificateInput) (req *request // // Returned Error Types: // -// - RequestInProgressException -// Your request is already in progress. -// -// - RequestFailedException -// The request has failed for an unspecified reason. -// // - ResourceNotFoundException // A resource such as a private CA, S3 bucket, certificate, audit report, or // policy cannot be found. @@ -991,9 +985,15 @@ func (c *ACMPCA) GetCertificateRequest(input *GetCertificateInput) (req *request // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // +// - RequestFailedException +// The request has failed for an unspecified reason. +// // - InvalidStateException // The state of the private CA does not allow this action to occur. // +// - RequestInProgressException +// Your request is already in progress. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetCertificate func (c *ACMPCA) GetCertificate(input *GetCertificateInput) (*GetCertificateOutput, error) { req, out := c.GetCertificateRequest(input) @@ -1077,12 +1077,12 @@ func (c *ACMPCA) GetCertificateAuthorityCertificateRequest(input *GetCertificate // A resource such as a private CA, S3 bucket, certificate, audit report, or // policy cannot be found. // -// - InvalidStateException -// The state of the private CA does not allow this action to occur. -// // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // +// - InvalidStateException +// The state of the private CA does not allow this action to occur. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetCertificateAuthorityCertificate func (c *ACMPCA) GetCertificateAuthorityCertificate(input *GetCertificateAuthorityCertificateInput) (*GetCertificateAuthorityCertificateOutput, error) { req, out := c.GetCertificateAuthorityCertificateRequest(input) @@ -1166,12 +1166,6 @@ func (c *ACMPCA) GetCertificateAuthorityCsrRequest(input *GetCertificateAuthorit // // Returned Error Types: // -// - RequestInProgressException -// Your request is already in progress. -// -// - RequestFailedException -// The request has failed for an unspecified reason. -// // - ResourceNotFoundException // A resource such as a private CA, S3 bucket, certificate, audit report, or // policy cannot be found. @@ -1179,9 +1173,15 @@ func (c *ACMPCA) GetCertificateAuthorityCsrRequest(input *GetCertificateAuthorit // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // +// - RequestFailedException +// The request has failed for an unspecified reason. +// // - InvalidStateException // The state of the private CA does not allow this action to occur. // +// - RequestInProgressException +// Your request is already in progress. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetCertificateAuthorityCsr func (c *ACMPCA) GetCertificateAuthorityCsr(input *GetCertificateAuthorityCsrInput) (*GetCertificateAuthorityCsrOutput, error) { req, out := c.GetCertificateAuthorityCsrRequest(input) @@ -1284,18 +1284,18 @@ func (c *ACMPCA) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, // // Returned Error Types: // +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. +// // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// - InvalidStateException -// The state of the private CA does not allow this action to occur. -// // - RequestFailedException // The request has failed for an unspecified reason. // -// - ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetPolicy func (c *ACMPCA) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { @@ -1417,46 +1417,44 @@ func (c *ACMPCA) ImportCertificateAuthorityCertificateRequest(input *ImportCerti // Amazon Web Services Private CA allows the following extensions to be marked // critical in the imported CA certificate or chain. // -// - Authority key identifier -// // - Basic constraints (must be marked critical) // -// - Certificate policies +// - Subject alternative names // -// - Extended key usage +// - Key usage // -// - Inhibit anyPolicy +// - Extended key usage // -// - Issuer alternative name +// - Authority key identifier // -// - Key usage +// - Subject key identifier // -// - Name constraints +// - Issuer alternative name // -// - Policy mappings +// - Subject directory attributes // -// - Subject alternative name +// - Subject information access // -// - Subject directory attributes +// - Certificate policies // -// - Subject key identifier +// - Policy mappings // -// - Subject information access +// - Inhibit anyPolicy // // Amazon Web Services Private CA rejects the following extensions when they // are marked critical in an imported CA certificate or chain. // -// - Authority information access +// - Name constraints +// +// - Policy constraints // // - CRL distribution points // -// - Freshest CRL +// - Authority information access // -// - Policy constraints +// - Freshest CRL // -// Amazon Web Services Private Certificate Authority will also reject any other -// extension marked as critical not contained on the preceding list of allowed -// extensions. +// - Any other extension // // 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 @@ -1467,14 +1465,12 @@ func (c *ACMPCA) ImportCertificateAuthorityCertificateRequest(input *ImportCerti // // Returned Error Types: // -// - ConcurrentModificationException -// A previous update to your private CA is still ongoing. -// -// - RequestInProgressException -// Your request is already in progress. +// - CertificateMismatchException +// The certificate authority certificate you are importing does not comply with +// conditions specified in the certificate that signed it. // -// - RequestFailedException -// The request has failed for an unspecified reason. +// - MalformedCertificateException +// One or more fields in the certificate are invalid. // // - ResourceNotFoundException // A resource such as a private CA, S3 bucket, certificate, audit report, or @@ -1486,15 +1482,17 @@ func (c *ACMPCA) ImportCertificateAuthorityCertificateRequest(input *ImportCerti // - InvalidRequestException // The request action cannot be performed or is prohibited. // +// - RequestFailedException +// The request has failed for an unspecified reason. +// // - InvalidStateException // The state of the private CA does not allow this action to occur. // -// - MalformedCertificateException -// One or more fields in the certificate are invalid. +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. // -// - CertificateMismatchException -// The certificate authority certificate you are importing does not comply with -// conditions specified in the certificate that signed it. +// - RequestInProgressException +// Your request is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ImportCertificateAuthorityCertificate func (c *ACMPCA) ImportCertificateAuthorityCertificate(input *ImportCertificateAuthorityCertificateInput) (*ImportCertificateAuthorityCertificateOutput, error) { @@ -1588,15 +1586,15 @@ func (c *ACMPCA) IssueCertificateRequest(input *IssueCertificateInput) (req *req // A resource such as a private CA, S3 bucket, certificate, audit report, or // policy cannot be found. // -// - InvalidStateException -// The state of the private CA does not allow this action to occur. -// // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // - InvalidArgsException // One or more of the specified arguments was not valid. // +// - InvalidStateException +// The state of the private CA does not allow this action to occur. +// // - MalformedCSRException // The certificate signing request is invalid. // @@ -1850,15 +1848,15 @@ func (c *ACMPCA) ListPermissionsRequest(input *ListPermissionsInput) (req *reque // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// - InvalidNextTokenException -// The token specified in the NextToken argument is not valid. Use the token -// returned from your previous call to ListCertificateAuthorities (https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html). +// - RequestFailedException +// The request has failed for an unspecified reason. // // - InvalidStateException // The state of the private CA does not allow this action to occur. // -// - RequestFailedException -// The request has failed for an unspecified reason. +// - InvalidNextTokenException +// The token specified in the NextToken argument is not valid. Use the token +// returned from your previous call to ListCertificateAuthorities (https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListPermissions func (c *ACMPCA) ListPermissions(input *ListPermissionsInput) (*ListPermissionsOutput, error) { @@ -2165,32 +2163,32 @@ func (c *ACMPCA) PutPolicyRequest(input *PutPolicyInput) (req *request.Request, // // Returned Error Types: // -// - ConcurrentModificationException -// A previous update to your private CA is still ongoing. +// - LockoutPreventedException +// The current action was prevented because it would lock the caller out from +// performing subsequent actions. Verify that the specified parameters would +// not result in the caller being denied access to the resource. +// +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // +// - RequestFailedException +// The request has failed for an unspecified reason. +// // - InvalidStateException // The state of the private CA does not allow this action to occur. // +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. +// // - InvalidPolicyException // The resource policy is invalid or is missing a required statement. For general // information about IAM policy and statement structure, see Overview of JSON // Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json). // -// - LockoutPreventedException -// The current action was prevented because it would lock the caller out from -// performing subsequent actions. Verify that the specified parameters would -// not result in the caller being denied access to the resource. -// -// - RequestFailedException -// The request has failed for an unspecified reason. -// -// - ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/PutPolicy func (c *ACMPCA) PutPolicy(input *PutPolicyInput) (*PutPolicyOutput, error) { req, out := c.PutPolicyRequest(input) @@ -2287,12 +2285,12 @@ func (c *ACMPCA) RestoreCertificateAuthorityRequest(input *RestoreCertificateAut // A resource such as a private CA, S3 bucket, certificate, audit report, or // policy cannot be found. // -// - InvalidStateException -// The state of the private CA does not allow this action to occur. -// // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // +// - InvalidStateException +// The state of the private CA does not allow this action to occur. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/RestoreCertificateAuthority func (c *ACMPCA) RestoreCertificateAuthority(input *RestoreCertificateAuthorityInput) (*RestoreCertificateAuthorityOutput, error) { req, out := c.RestoreCertificateAuthorityRequest(input) @@ -2390,17 +2388,8 @@ func (c *ACMPCA) RevokeCertificateRequest(input *RevokeCertificateInput) (req *r // // Returned Error Types: // -// - ConcurrentModificationException -// A previous update to your private CA is still ongoing. -// -// - InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. -// -// - InvalidRequestException -// The request action cannot be performed or is prohibited. -// -// - InvalidStateException -// The state of the private CA does not allow this action to occur. +// - RequestAlreadyProcessedException +// Your request has already been completed. // // - LimitExceededException // An Amazon Web Services Private CA quota has been exceeded. See the exception @@ -2410,15 +2399,24 @@ func (c *ACMPCA) RevokeCertificateRequest(input *RevokeCertificateInput) (req *r // A resource such as a private CA, S3 bucket, certificate, audit report, or // policy cannot be found. // -// - RequestAlreadyProcessedException -// Your request has already been completed. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// - RequestInProgressException -// Your request is already in progress. +// - InvalidRequestException +// The request action cannot be performed or is prohibited. // // - RequestFailedException // The request has failed for an unspecified reason. // +// - InvalidStateException +// The state of the private CA does not allow this action to occur. +// +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. +// +// - RequestInProgressException +// Your request is already in progress. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/RevokeCertificate func (c *ACMPCA) RevokeCertificate(input *RevokeCertificateInput) (*RevokeCertificateOutput, error) { req, out := c.RevokeCertificateRequest(input) @@ -2710,22 +2708,22 @@ func (c *ACMPCA) UpdateCertificateAuthorityRequest(input *UpdateCertificateAutho // // Returned Error Types: // -// - ConcurrentModificationException -// A previous update to your private CA is still ongoing. -// // - ResourceNotFoundException // A resource such as a private CA, S3 bucket, certificate, audit report, or // policy cannot be found. // -// - InvalidArgsException -// One or more of the specified arguments was not valid. -// // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // +// - InvalidArgsException +// One or more of the specified arguments was not valid. +// // - InvalidStateException // The state of the private CA does not allow this action to occur. // +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. +// // - InvalidPolicyException // The resource policy is invalid or is missing a required statement. For general // information about IAM policy and statement structure, see Overview of JSON @@ -5634,10 +5632,6 @@ func (s *GetCertificateOutput) SetCertificateChain(v string) *GetCertificateOutp type GetPolicyInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Number (ARN) of the private CA that will have its policy - // retrieved. You can find the CA's ARN by calling the ListCertificateAuthorities - // action. - // // ResourceArn is a required field ResourceArn *string `min:"5" type:"string" required:"true"` } diff --git a/service/acmpca/service.go b/service/acmpca/service.go index 60c4fb7837f..c662594957d 100644 --- a/service/acmpca/service.go +++ b/service/acmpca/service.go @@ -51,8 +51,7 @@ const ( func New(p client.ConfigProvider, cfgs ...*aws.Config) *ACMPCA { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { - c.SigningName = EndpointsID - // No Fallback + c.SigningName = "acm-pca" } return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion) } diff --git a/service/acmpca/waiters.go b/service/acmpca/waiters.go index 88f6325c531..107d6fc36f1 100644 --- a/service/acmpca/waiters.go +++ b/service/acmpca/waiters.go @@ -28,7 +28,7 @@ func (c *ACMPCA) WaitUntilAuditReportCreated(input *DescribeCertificateAuthority func (c *ACMPCA) WaitUntilAuditReportCreatedWithContext(ctx aws.Context, input *DescribeCertificateAuthorityAuditReportInput, opts ...request.WaiterOption) error { w := request.Waiter{ Name: "WaitUntilAuditReportCreated", - MaxAttempts: 60, + MaxAttempts: 40, Delay: request.ConstantWaiterDelay(3 * time.Second), Acceptors: []request.WaiterAcceptor{ { @@ -84,13 +84,13 @@ func (c *ACMPCA) WaitUntilCertificateAuthorityCSRCreated(input *GetCertificateAu func (c *ACMPCA) WaitUntilCertificateAuthorityCSRCreatedWithContext(ctx aws.Context, input *GetCertificateAuthorityCsrInput, opts ...request.WaiterOption) error { w := request.Waiter{ Name: "WaitUntilCertificateAuthorityCSRCreated", - MaxAttempts: 60, + MaxAttempts: 40, Delay: request.ConstantWaiterDelay(3 * time.Second), Acceptors: []request.WaiterAcceptor{ { State: request.SuccessWaiterState, - Matcher: request.StatusWaiterMatch, - Expected: 200, + Matcher: request.ErrorWaiterMatch, + Expected: false, }, { State: request.RetryWaiterState, @@ -140,13 +140,13 @@ func (c *ACMPCA) WaitUntilCertificateIssued(input *GetCertificateInput) error { func (c *ACMPCA) WaitUntilCertificateIssuedWithContext(ctx aws.Context, input *GetCertificateInput, opts ...request.WaiterOption) error { w := request.Waiter{ Name: "WaitUntilCertificateIssued", - MaxAttempts: 60, + MaxAttempts: 120, Delay: request.ConstantWaiterDelay(1 * time.Second), Acceptors: []request.WaiterAcceptor{ { State: request.SuccessWaiterState, - Matcher: request.StatusWaiterMatch, - Expected: 200, + Matcher: request.ErrorWaiterMatch, + Expected: false, }, { State: request.RetryWaiterState, diff --git a/service/arczonalshift/api.go b/service/arczonalshift/api.go index 69e2fe10804..4d19ef4eb3b 100644 --- a/service/arczonalshift/api.go +++ b/service/arczonalshift/api.go @@ -163,6 +163,11 @@ func (c *ARCZonalShift) CreatePracticeRunConfigurationRequest(input *CreatePract // an outcome alarm, to monitor application health during practice runs and, // optionally, a blocking alarm, to block practice runs from starting. // +// When a resource has a practice run configuration, Route 53 ARC starts zonal +// shifts for the resource weekly, to shift traffic for practice runs. Practice +// runs help you to ensure that shifting away traffic from an Availability Zone +// during an autoshift is safe for your application. +// // For more information, see Considerations when you configure zonal autoshift // (https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html) // in the Amazon Route 53 Application Recovery Controller Developer Guide. @@ -317,6 +322,102 @@ func (c *ARCZonalShift) DeletePracticeRunConfigurationWithContext(ctx aws.Contex return out, req.Send() } +const opGetAutoshiftObserverNotificationStatus = "GetAutoshiftObserverNotificationStatus" + +// GetAutoshiftObserverNotificationStatusRequest generates a "aws/request.Request" representing the +// client's request for the GetAutoshiftObserverNotificationStatus 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 GetAutoshiftObserverNotificationStatus for more information on using the GetAutoshiftObserverNotificationStatus +// 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 GetAutoshiftObserverNotificationStatusRequest method. +// req, resp := client.GetAutoshiftObserverNotificationStatusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/GetAutoshiftObserverNotificationStatus +func (c *ARCZonalShift) GetAutoshiftObserverNotificationStatusRequest(input *GetAutoshiftObserverNotificationStatusInput) (req *request.Request, output *GetAutoshiftObserverNotificationStatusOutput) { + op := &request.Operation{ + Name: opGetAutoshiftObserverNotificationStatus, + HTTPMethod: "GET", + HTTPPath: "/autoshift-observer-notification", + } + + if input == nil { + input = &GetAutoshiftObserverNotificationStatusInput{} + } + + output = &GetAutoshiftObserverNotificationStatusOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAutoshiftObserverNotificationStatus API operation for AWS ARC - Zonal Shift. +// +// Returns the status of autoshift observer notification. Autoshift observer +// notification enables you to be notified, through Amazon EventBridge, when +// there is an autoshift event for zonal autoshift. +// +// If the status is ENABLED, Route 53 ARC includes all autoshift events when +// you use the EventBridge pattern Autoshift In Progress. When the status is +// DISABLED, Route 53 ARC includes only autoshift events for autoshifts when +// one or more of your resources is included in the autoshift. +// +// For more information, see Notifications for practice runs and autoshifts +// (https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html#ZAShiftNotification) +// in the Amazon Route 53 Application Recovery Controller Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS ARC - Zonal Shift's +// API operation GetAutoshiftObserverNotificationStatus for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// There was an internal server error. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/GetAutoshiftObserverNotificationStatus +func (c *ARCZonalShift) GetAutoshiftObserverNotificationStatus(input *GetAutoshiftObserverNotificationStatusInput) (*GetAutoshiftObserverNotificationStatusOutput, error) { + req, out := c.GetAutoshiftObserverNotificationStatusRequest(input) + return out, req.Send() +} + +// GetAutoshiftObserverNotificationStatusWithContext is the same as GetAutoshiftObserverNotificationStatus with the addition of +// the ability to pass a context and additional request options. +// +// See GetAutoshiftObserverNotificationStatus 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 *ARCZonalShift) GetAutoshiftObserverNotificationStatusWithContext(ctx aws.Context, input *GetAutoshiftObserverNotificationStatusInput, opts ...request.Option) (*GetAutoshiftObserverNotificationStatusOutput, error) { + req, out := c.GetAutoshiftObserverNotificationStatusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetManagedResource = "GetManagedResource" // GetManagedResourceRequest generates a "aws/request.Request" representing the @@ -466,7 +567,9 @@ func (c *ARCZonalShift) ListAutoshiftsRequest(input *ListAutoshiftsInput) (req * // ListAutoshifts API operation for AWS ARC - Zonal Shift. // -// Returns the active autoshifts for a specified resource. +// Returns a list of autoshifts for an Amazon Web Services Region. By default, +// the call returns only ACTIVE autoshifts. Optionally, you can specify the +// status parameter to return COMPLETED autoshifts. // // 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 @@ -765,8 +868,8 @@ func (c *ARCZonalShift) ListZonalShiftsRequest(input *ListZonalShiftsInput) (req // // Lists all active and completed zonal shifts in Amazon Route 53 Application // Recovery Controller in your Amazon Web Services account in this Amazon Web -// Services Region. ListZonalShifts returns customer-started zonal shifts, as -// well as practice run zonal shifts that Route 53 ARC started on your behalf +// Services Region. ListZonalShifts returns customer-initiated zonal shifts, +// as well as practice run zonal shifts that Route 53 ARC started on your behalf // for zonal autoshift. // // The ListZonalShifts operation does not list autoshifts. For more information @@ -980,6 +1083,106 @@ func (c *ARCZonalShift) StartZonalShiftWithContext(ctx aws.Context, input *Start return out, req.Send() } +const opUpdateAutoshiftObserverNotificationStatus = "UpdateAutoshiftObserverNotificationStatus" + +// UpdateAutoshiftObserverNotificationStatusRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAutoshiftObserverNotificationStatus 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 UpdateAutoshiftObserverNotificationStatus for more information on using the UpdateAutoshiftObserverNotificationStatus +// 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 UpdateAutoshiftObserverNotificationStatusRequest method. +// req, resp := client.UpdateAutoshiftObserverNotificationStatusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateAutoshiftObserverNotificationStatus +func (c *ARCZonalShift) UpdateAutoshiftObserverNotificationStatusRequest(input *UpdateAutoshiftObserverNotificationStatusInput) (req *request.Request, output *UpdateAutoshiftObserverNotificationStatusOutput) { + op := &request.Operation{ + Name: opUpdateAutoshiftObserverNotificationStatus, + HTTPMethod: "PUT", + HTTPPath: "/autoshift-observer-notification", + } + + if input == nil { + input = &UpdateAutoshiftObserverNotificationStatusInput{} + } + + output = &UpdateAutoshiftObserverNotificationStatusOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateAutoshiftObserverNotificationStatus API operation for AWS ARC - Zonal Shift. +// +// Update the status of autoshift observer notification. Autoshift observer +// notification enables you to be notified, through Amazon EventBridge, when +// there is an autoshift event for zonal autoshift. +// +// If the status is ENABLED, Route 53 ARC includes all autoshift events when +// you use the EventBridge pattern Autoshift In Progress. When the status is +// DISABLED, Route 53 ARC includes only autoshift events for autoshifts when +// one or more of your resources is included in the autoshift. +// +// For more information, see Notifications for practice runs and autoshifts +// (https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html#ZAShiftNotification) +// in the Amazon Route 53 Application Recovery Controller Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS ARC - Zonal Shift's +// API operation UpdateAutoshiftObserverNotificationStatus for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// There was an internal server error. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateAutoshiftObserverNotificationStatus +func (c *ARCZonalShift) UpdateAutoshiftObserverNotificationStatus(input *UpdateAutoshiftObserverNotificationStatusInput) (*UpdateAutoshiftObserverNotificationStatusOutput, error) { + req, out := c.UpdateAutoshiftObserverNotificationStatusRequest(input) + return out, req.Send() +} + +// UpdateAutoshiftObserverNotificationStatusWithContext is the same as UpdateAutoshiftObserverNotificationStatus with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateAutoshiftObserverNotificationStatus 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 *ARCZonalShift) UpdateAutoshiftObserverNotificationStatusWithContext(ctx aws.Context, input *UpdateAutoshiftObserverNotificationStatusInput, opts ...request.Option) (*UpdateAutoshiftObserverNotificationStatusOutput, error) { + req, out := c.UpdateAutoshiftObserverNotificationStatusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdatePracticeRunConfiguration = "UpdatePracticeRunConfiguration" // UpdatePracticeRunConfigurationRequest generates a "aws/request.Request" representing the @@ -1121,11 +1324,18 @@ func (c *ARCZonalShift) UpdateZonalAutoshiftConfigurationRequest(input *UpdateZo // UpdateZonalAutoshiftConfiguration API operation for AWS ARC - Zonal Shift. // -// You can update the zonal autoshift status for a resource, to enable or disable -// zonal autoshift. When zonal autoshift is ENABLED, Amazon Web Services shifts -// away resource traffic from an Availability Zone, on your behalf, when Amazon -// Web Services determines that there's an issue in the Availability Zone that -// could potentially affect customers. +// The zonal autoshift configuration for a resource includes the practice run +// configuration and the status for running autoshifts, zonal autoshift status. +// When a resource has a practice run configuation, Route 53 ARC starts weekly +// zonal shifts for the resource, to shift traffic away from an Availability +// Zone. Weekly practice runs help you to make sure that your application can +// continue to operate normally with the loss of one Availability Zone. +// +// You can update the zonal autoshift autoshift status to enable or disable +// zonal autoshift. When zonal autoshift is ENABLED, you authorize Amazon Web +// Services to shift away resource traffic for an application from an Availability +// Zone during events, on your behalf, to help reduce time to recovery. Traffic +// is also shifted away for the required weekly practice runs. // // 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 @@ -1349,16 +1559,17 @@ type AutoshiftInResource struct { _ struct{} `type:"structure"` // The appliedStatus field specifies which application traffic shift is in effect - // for a resource when there is more than one traffic shift active. There can + // for a resource when there is more than one active traffic shift. There can // be more than one application traffic shift in progress at the same time - - // that is, practice run zonal shifts, customer-started zonal shifts, or an - // autoshift. The appliedStatus field for an autoshift for a resource can have - // one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that - // is currently in effect for the resource has an applied status set to APPLIED. + // that is, practice run zonal shifts, customer-initiated zonal shifts, or an + // autoshift. The appliedStatus field for a shift that is in progress for a + // resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift + // or autoshift that is currently in effect for the resource has an appliedStatus + // set to APPLIED. // // The overall principle for precedence is that zonal shifts that you start // as a customer take precedence autoshifts, which take precedence over practice - // runs. That is, customer-started zonal shifts > autoshifts > practice run + // runs. That is, customer-initiated zonal shifts > autoshifts > practice run // zonal shifts. // // For more information, see How zonal autoshift and practice runs work (https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html) @@ -1367,12 +1578,12 @@ type AutoshiftInResource struct { // AppliedStatus is a required field AppliedStatus *string `locationName:"appliedStatus" type:"string" required:"true" enum:"AutoshiftAppliedStatus"` - // The Availability Zone that traffic is shifted away from for a resource, when - // Amazon Web Services starts an autoshift. Until the autoshift ends, traffic - // for the resource is instead directed to other Availability Zones in the Amazon - // Web Services Region. An autoshift can end for a resource, for example, when - // Amazon Web Services ends the autoshift for the Availability Zone or when - // you disable zonal autoshift for the resource. + // The Availability Zone (for example, use1-az1) that traffic is shifted away + // from for a resource, when Amazon Web Services starts an autoshift. Until + // the autoshift ends, traffic for the resource is instead directed to other + // Availability Zones in the Amazon Web Services Region. An autoshift can end + // for a resource, for example, when Amazon Web Services ends the autoshift + // for the Availability Zone or when you disable zonal autoshift for the resource. // // AwayFrom is a required field AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` @@ -1435,12 +1646,12 @@ func (s *AutoshiftInResource) SetStartTime(v time.Time) *AutoshiftInResource { type AutoshiftSummary struct { _ struct{} `type:"structure"` - // The Availability Zone that traffic is shifted away from for a resource when - // Amazon Web Services starts an autoshift. Until the autoshift ends, traffic - // for the resource is instead directed to other Availability Zones in the Amazon - // Web Services Region. An autoshift can end for a resource, for example, when - // Amazon Web Services ends the autoshift for the Availability Zone or when - // you disable zonal autoshift for the resource. + // The Availability Zone (for example, use1-az1) that traffic is shifted away + // from for a resource when Amazon Web Services starts an autoshift. Until the + // autoshift ends, traffic for the resource is instead directed to other Availability + // Zones in the Amazon Web Services Region. An autoshift can end for a resource, + // for example, when Amazon Web Services ends the autoshift for the Availability + // Zone or when you disable zonal autoshift for the resource. // // AwayFrom is a required field AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` @@ -1555,10 +1766,10 @@ func (s *CancelZonalShiftInput) SetZonalShiftId(v string) *CancelZonalShiftInput type CancelZonalShiftOutput struct { _ struct{} `type:"structure"` - // The Availability Zone that traffic is moved away from for a resource when - // you start a zonal shift. Until the zonal shift expires or you cancel it, - // traffic for the resource is instead moved to other Availability Zones in - // the Amazon Web Services Region. + // The Availability Zone (for example, use1-az1) that traffic is moved away + // from for a resource when you start a zonal shift. Until the zonal shift expires + // or you cancel it, traffic for the resource is instead moved to other Availability + // Zones in the Amazon Web Services Region. // // AwayFrom is a required field AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` @@ -1570,10 +1781,10 @@ type CancelZonalShiftOutput struct { // Comment is a required field Comment *string `locationName:"comment" type:"string" required:"true"` - // The expiry time (expiration time) for a customer-started zonal shift. A zonal - // shift is temporary and must be set to expire when you start the zonal shift. - // You can initially set a zonal shift to expire in a maximum of three days - // (72 hours). However, you can update a zonal shift to set a new expiration + // The expiry time (expiration time) for a customer-initiated zonal shift. A + // zonal shift is temporary and must be set to expire when you start the zonal + // shift. You can initially set a zonal shift to expire in a maximum of three + // days (72 hours). However, you can update a zonal shift to set a new expiration // at any time. // // When you start a zonal shift, you specify how long you want it to be active, @@ -1585,8 +1796,8 @@ type CancelZonalShiftOutput struct { // ExpiryTime is a required field ExpiryTime *time.Time `locationName:"expiryTime" type:"timestamp" required:"true"` - // The identifier for the resource to shift away traffic for. The identifier - // is the Amazon Resource Name (ARN) for the resource. + // The identifier for the resource that Amazon Web Services shifts traffic for. + // The identifier is the Amazon Resource Name (ARN) for the resource. // // At this time, supported resources are Network Load Balancers and Application // Load Balancers with cross-zone load balancing turned off. @@ -1756,7 +1967,7 @@ func (s *ConflictException) RequestID() string { // Amazon CloudWatch alarms, which you create in CloudWatch to use with the // practice run. The alarms that you specify are an outcome alarm, to monitor // application health during practice runs and, optionally, a blocking alarm, -// to block practice runs from starting. +// to block practice runs from starting or to interrupt a practice run in progress. // // Control condition alarms do not apply for autoshifts. // @@ -1766,13 +1977,14 @@ func (s *ConflictException) RequestID() string { type ControlCondition struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you specify + // The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify // as a control condition for a practice run. // // AlarmIdentifier is a required field AlarmIdentifier *string `locationName:"alarmIdentifier" min:"8" type:"string" required:"true"` - // The type of alarm specified for a practice run. The only valid value is CLOUDWATCH. + // The type of alarm specified for a practice run. You can only specify Amazon + // CloudWatch alarms for practice runs, so the only valid value is CLOUDWATCH. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"ControlConditionType"` @@ -1873,9 +2085,9 @@ type CreatePracticeRunConfigurationInput struct { // OutcomeAlarms is a required field OutcomeAlarms []*ControlCondition `locationName:"outcomeAlarms" min:"1" type:"list" required:"true"` - // The identifier of the resource to shift away traffic for when a practice - // run starts a zonal shift. The identifier is the Amazon Resource Name (ARN) - // for the resource. + // The identifier of the resource that Amazon Web Services shifts traffic for + // with a practice run zonal shift. The identifier is the Amazon Resource Name + // (ARN) for the resource. // // At this time, supported resources are Network Load Balancers and Application // Load Balancers with cross-zone load balancing turned off. @@ -1998,11 +2210,11 @@ type CreatePracticeRunConfigurationOutput struct { // PracticeRunConfiguration is a required field PracticeRunConfiguration *PracticeRunConfiguration `locationName:"practiceRunConfiguration" type:"structure" required:"true"` - // The status for zonal autoshift for a resource. When you specify the autoshift - // status as ENABLED, Amazon Web Services shifts traffic away from shifts away - // application resource traffic from an Availability Zone, on your behalf, when - // Amazon Web Services determines that there's an issue in the Availability - // Zone that could potentially affect customers. + // The status for zonal autoshift for a resource. When you specify ENABLED for + // the autoshift status, Amazon Web Services shifts traffic away from shifts + // away application resource traffic from an Availability Zone, on your behalf, + // when internal telemetry indicates that there is an Availability Zone impairment + // that could potentially impact customers. // // When you enable zonal autoshift, you must also configure practice runs for // the resource. @@ -2160,11 +2372,70 @@ func (s *DeletePracticeRunConfigurationOutput) SetZonalAutoshiftStatus(v string) return s } +type GetAutoshiftObserverNotificationStatusInput struct { + _ struct{} `type:"structure" nopayload:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAutoshiftObserverNotificationStatusInput) 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 GetAutoshiftObserverNotificationStatusInput) GoString() string { + return s.String() +} + +type GetAutoshiftObserverNotificationStatusOutput struct { + _ struct{} `type:"structure"` + + // The status of autoshift observer notification. If the status is ENABLED, + // Route 53 ARC includes all autoshift events when you use the Amazon EventBridge + // pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC + // includes only autoshift events for autoshifts when one or more of your resources + // is included in the autoshift. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"AutoshiftObserverNotificationStatus"` +} + +// 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 GetAutoshiftObserverNotificationStatusOutput) 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 GetAutoshiftObserverNotificationStatusOutput) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *GetAutoshiftObserverNotificationStatusOutput) SetStatus(v string) *GetAutoshiftObserverNotificationStatusOutput { + s.Status = &v + return s +} + type GetManagedResourceInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The identifier for the resource to shift away traffic for. The identifier - // is the Amazon Resource Name (ARN) for the resource. + // The identifier for the resource that Amazon Web Services shifts traffic for. + // The identifier is the Amazon Resource Name (ARN) for the resource. // // At this time, supported resources are Network Load Balancers and Application // Load Balancers with cross-zone load balancing turned off. @@ -2835,7 +3106,13 @@ func (s *ManagedResourceSummary) SetZonalShifts(v []*ZonalShiftInResource) *Mana // A practice run configuration for a resource includes the Amazon CloudWatch // alarms that you've specified for a practice run, as well as any blocked dates -// or blocked windows for the practice run. +// or blocked windows for the practice run. When a resource has a practice run +// configuration, Route 53 ARC shifts traffic for the resource weekly for practice +// runs. +// +// Practice runs are required for zonal autoshift. The zonal shifts that Route +// 53 ARC starts for practice runs help you to ensure that shifting away traffic +// from an Availability Zone during an autoshift is safe for your application. // // You can update or delete a practice run configuration. Before you delete // a practice run configuration, you must disable zonal autoshift for the resource. @@ -2976,10 +3253,10 @@ func (s *ResourceNotFoundException) RequestID() string { type StartZonalShiftInput struct { _ struct{} `type:"structure"` - // The Availability Zone that traffic is moved away from for a resource when - // you start a zonal shift. Until the zonal shift expires or you cancel it, - // traffic for the resource is instead moved to other Availability Zones in - // the Amazon Web Services Region. + // The Availability Zone (for example, use1-az1) that traffic is moved away + // from for a resource when you start a zonal shift. Until the zonal shift expires + // or you cancel it, traffic for the resource is instead moved to other Availability + // Zones in the Amazon Web Services Region. // // AwayFrom is a required field AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` @@ -3014,8 +3291,8 @@ type StartZonalShiftInput struct { // ExpiresIn is a required field ExpiresIn *string `locationName:"expiresIn" min:"2" type:"string" required:"true"` - // The identifier for the resource to shift away traffic for. The identifier - // is the Amazon Resource Name (ARN) for the resource. + // The identifier for the resource that Amazon Web Services shifts traffic for. + // The identifier is the Amazon Resource Name (ARN) for the resource. // // At this time, supported resources are Network Load Balancers and Application // Load Balancers with cross-zone load balancing turned off. @@ -3097,10 +3374,10 @@ func (s *StartZonalShiftInput) SetResourceIdentifier(v string) *StartZonalShiftI type StartZonalShiftOutput struct { _ struct{} `type:"structure"` - // The Availability Zone that traffic is moved away from for a resource when - // you start a zonal shift. Until the zonal shift expires or you cancel it, - // traffic for the resource is instead moved to other Availability Zones in - // the Amazon Web Services Region. + // The Availability Zone (for example, use1-az1) that traffic is moved away + // from for a resource when you start a zonal shift. Until the zonal shift expires + // or you cancel it, traffic for the resource is instead moved to other Availability + // Zones in the Amazon Web Services Region. // // AwayFrom is a required field AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` @@ -3112,10 +3389,10 @@ type StartZonalShiftOutput struct { // Comment is a required field Comment *string `locationName:"comment" type:"string" required:"true"` - // The expiry time (expiration time) for a customer-started zonal shift. A zonal - // shift is temporary and must be set to expire when you start the zonal shift. - // You can initially set a zonal shift to expire in a maximum of three days - // (72 hours). However, you can update a zonal shift to set a new expiration + // The expiry time (expiration time) for a customer-initiated zonal shift. A + // zonal shift is temporary and must be set to expire when you start the zonal + // shift. You can initially set a zonal shift to expire in a maximum of three + // days (72 hours). However, you can update a zonal shift to set a new expiration // at any time. // // When you start a zonal shift, you specify how long you want it to be active, @@ -3127,8 +3404,8 @@ type StartZonalShiftOutput struct { // ExpiryTime is a required field ExpiryTime *time.Time `locationName:"expiryTime" type:"timestamp" required:"true"` - // The identifier for the resource to shift away traffic for. The identifier - // is the Amazon Resource Name (ARN) for the resource. + // The identifier for the resource that Amazon Web Services shifts traffic for. + // The identifier is the Amazon Resource Name (ARN) for the resource. // // At this time, supported resources are Network Load Balancers and Application // Load Balancers with cross-zone load balancing turned off. @@ -3284,6 +3561,89 @@ func (s *ThrottlingException) RequestID() string { return s.RespMetadata.RequestID } +type UpdateAutoshiftObserverNotificationStatusInput struct { + _ struct{} `type:"structure"` + + // The status to set for autoshift observer notification. If the status is ENABLED, + // Route 53 ARC includes all autoshift events when you use the Amazon EventBridge + // pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC + // includes only autoshift events for autoshifts when one or more of your resources + // is included in the autoshift. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"AutoshiftObserverNotificationStatus"` +} + +// 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 UpdateAutoshiftObserverNotificationStatusInput) 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 UpdateAutoshiftObserverNotificationStatusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAutoshiftObserverNotificationStatusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAutoshiftObserverNotificationStatusInput"} + if s.Status == nil { + invalidParams.Add(request.NewErrParamRequired("Status")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStatus sets the Status field's value. +func (s *UpdateAutoshiftObserverNotificationStatusInput) SetStatus(v string) *UpdateAutoshiftObserverNotificationStatusInput { + s.Status = &v + return s +} + +type UpdateAutoshiftObserverNotificationStatusOutput struct { + _ struct{} `type:"structure"` + + // The status for autoshift observer notification. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"AutoshiftObserverNotificationStatus"` +} + +// 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 UpdateAutoshiftObserverNotificationStatusOutput) 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 UpdateAutoshiftObserverNotificationStatusOutput) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *UpdateAutoshiftObserverNotificationStatusOutput) SetStatus(v string) *UpdateAutoshiftObserverNotificationStatusOutput { + s.Status = &v + return s +} + type UpdatePracticeRunConfigurationInput struct { _ struct{} `type:"structure"` @@ -3497,7 +3857,9 @@ type UpdateZonalAutoshiftConfigurationInput struct { ResourceIdentifier *string `location:"uri" locationName:"resourceIdentifier" min:"8" type:"string" required:"true"` // The zonal autoshift status for the resource that you want to update the zonal - // autoshift configuration for. + // autoshift configuration for. Choose ENABLED to authorize Amazon Web Services + // to shift away resource traffic for an application from an Availability Zone + // during events, on your behalf, to help reduce time to recovery. // // ZonalAutoshiftStatus is a required field ZonalAutoshiftStatus *string `locationName:"zonalAutoshiftStatus" type:"string" required:"true" enum:"ZonalAutoshiftStatus"` @@ -3561,8 +3923,7 @@ type UpdateZonalAutoshiftConfigurationOutput struct { // ResourceIdentifier is a required field ResourceIdentifier *string `locationName:"resourceIdentifier" min:"8" type:"string" required:"true"` - // The zonal autoshift status for the resource that you updated the zonal autoshift - // configuration for. + // The updated zonal autoshift status for the resource. // // ZonalAutoshiftStatus is a required field ZonalAutoshiftStatus *string `locationName:"zonalAutoshiftStatus" type:"string" required:"true" enum:"ZonalAutoshiftStatus"` @@ -3691,10 +4052,10 @@ func (s *UpdateZonalShiftInput) SetZonalShiftId(v string) *UpdateZonalShiftInput type UpdateZonalShiftOutput struct { _ struct{} `type:"structure"` - // The Availability Zone that traffic is moved away from for a resource when - // you start a zonal shift. Until the zonal shift expires or you cancel it, - // traffic for the resource is instead moved to other Availability Zones in - // the Amazon Web Services Region. + // The Availability Zone (for example, use1-az1) that traffic is moved away + // from for a resource when you start a zonal shift. Until the zonal shift expires + // or you cancel it, traffic for the resource is instead moved to other Availability + // Zones in the Amazon Web Services Region. // // AwayFrom is a required field AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` @@ -3706,10 +4067,10 @@ type UpdateZonalShiftOutput struct { // Comment is a required field Comment *string `locationName:"comment" type:"string" required:"true"` - // The expiry time (expiration time) for a customer-started zonal shift. A zonal - // shift is temporary and must be set to expire when you start the zonal shift. - // You can initially set a zonal shift to expire in a maximum of three days - // (72 hours). However, you can update a zonal shift to set a new expiration + // The expiry time (expiration time) for a customer-initiated zonal shift. A + // zonal shift is temporary and must be set to expire when you start the zonal + // shift. You can initially set a zonal shift to expire in a maximum of three + // days (72 hours). However, you can update a zonal shift to set a new expiration // at any time. // // When you start a zonal shift, you specify how long you want it to be active, @@ -3721,8 +4082,8 @@ type UpdateZonalShiftOutput struct { // ExpiryTime is a required field ExpiryTime *time.Time `locationName:"expiryTime" type:"timestamp" required:"true"` - // The identifier for the resource to shift away traffic for. The identifier - // is the Amazon Resource Name (ARN) for the resource. + // The identifier for the resource that Amazon Web Services shifts traffic for. + // The identifier is the Amazon Resource Name (ARN) for the resource. // // At this time, supported resources are Network Load Balancers and Application // Load Balancers with cross-zone load balancing turned off. @@ -3890,16 +4251,17 @@ type ZonalShiftInResource struct { _ struct{} `type:"structure"` // The appliedStatus field specifies which application traffic shift is in effect - // for a resource when there is more than one traffic shift active. There can + // for a resource when there is more than one active traffic shift. There can // be more than one application traffic shift in progress at the same time - - // that is, practice run zonal shifts, customer-started zonal shifts, or an - // autoshift. The appliedStatus field for an autoshift for a resource can have - // one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that - // is currently in effect for the resource has an applied status set to APPLIED. + // that is, practice run zonal shifts, customer-initiated zonal shifts, or an + // autoshift. The appliedStatus field for a shift that is in progress for a + // resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift + // or autoshift that is currently in effect for the resource has an appliedStatus + // set to APPLIED. // // The overall principle for precedence is that zonal shifts that you start // as a customer take precedence autoshifts, which take precedence over practice - // runs. That is, customer-started zonal shifts > autoshifts > practice run + // runs. That is, customer-initiated zonal shifts > autoshifts > practice run // zonal shifts. // // For more information, see How zonal autoshift and practice runs work (https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html) @@ -3908,25 +4270,25 @@ type ZonalShiftInResource struct { // AppliedStatus is a required field AppliedStatus *string `locationName:"appliedStatus" type:"string" required:"true" enum:"AppliedStatus"` - // The Availability Zone that traffic is moved away from for a resource when - // you start a zonal shift. Until the zonal shift expires or you cancel it, - // traffic for the resource is instead moved to other Availability Zones in - // the Amazon Web Services Region. + // The Availability Zone (for example, use1-az1) that traffic is moved away + // from for a resource when you start a zonal shift. Until the zonal shift expires + // or you cancel it, traffic for the resource is instead moved to other Availability + // Zones in the Amazon Web Services Region. // // AwayFrom is a required field AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` - // A comment that you enter about the zonal shift. Only the latest comment is - // retained; no comment history is maintained. That is, a new comment overwrites - // any existing comment string. + // A comment that you enter for a customer-initiated zonal shift. Only the latest + // comment is retained; no comment history is maintained. That is, a new comment + // overwrites any existing comment string. // // Comment is a required field Comment *string `locationName:"comment" type:"string" required:"true"` - // The expiry time (expiration time) for a customer-started zonal shift. A zonal - // shift is temporary and must be set to expire when you start the zonal shift. - // You can initially set a zonal shift to expire in a maximum of three days - // (72 hours). However, you can update a zonal shift to set a new expiration + // The expiry time (expiration time) for a customer-initiated zonal shift. A + // zonal shift is temporary and must be set to expire when you start the zonal + // shift. You can initially set a zonal shift to expire in a maximum of three + // days (72 hours). However, you can update a zonal shift to set a new expiration // at any time. // // When you start a zonal shift, you specify how long you want it to be active, @@ -4051,17 +4413,17 @@ func (s *ZonalShiftInResource) SetZonalShiftId(v string) *ZonalShiftInResource { // Controller, including zonal shifts that you start yourself and zonal shifts // that Route 53 ARC starts on your behalf for practice runs with zonal autoshift. // -// Zonal shifts are temporary, including customer-started zonal shifts and the -// zonal autoshift practice run zonal shifts that Route 53 ARC starts weekly, +// Zonal shifts are temporary, including customer-initiated zonal shifts and +// the zonal autoshift practice run zonal shifts that Route 53 ARC starts weekly, // on your behalf. A zonal shift that a customer starts can be active for up // to three days (72 hours). A practice run zonal shift has a 30 minute duration. type ZonalShiftSummary struct { _ struct{} `type:"structure"` - // The Availability Zone that traffic is moved away from for a resource when - // you start a zonal shift. Until the zonal shift expires or you cancel it, - // traffic for the resource is instead moved to other Availability Zones in - // the Amazon Web Services Region. + // The Availability Zone (for example, use1-az1) that traffic is moved away + // from for a resource when you start a zonal shift. Until the zonal shift expires + // or you cancel it, traffic for the resource is instead moved to other Availability + // Zones in the Amazon Web Services Region. // // AwayFrom is a required field AwayFrom *string `locationName:"awayFrom" type:"string" required:"true"` @@ -4073,10 +4435,10 @@ type ZonalShiftSummary struct { // Comment is a required field Comment *string `locationName:"comment" type:"string" required:"true"` - // The expiry time (expiration time) for a customer-started zonal shift. A zonal - // shift is temporary and must be set to expire when you start the zonal shift. - // You can initially set a zonal shift to expire in a maximum of three days - // (72 hours). However, you can update a zonal shift to set a new expiration + // The expiry time (expiration time) for a customer-initiated zonal shift. A + // zonal shift is temporary and must be set to expire when you start the zonal + // shift. You can initially set a zonal shift to expire in a maximum of three + // days (72 hours). However, you can update a zonal shift to set a new expiration // at any time. // // When you start a zonal shift, you specify how long you want it to be active, @@ -4257,6 +4619,22 @@ func AutoshiftExecutionStatus_Values() []string { } } +const ( + // AutoshiftObserverNotificationStatusEnabled is a AutoshiftObserverNotificationStatus enum value + AutoshiftObserverNotificationStatusEnabled = "ENABLED" + + // AutoshiftObserverNotificationStatusDisabled is a AutoshiftObserverNotificationStatus enum value + AutoshiftObserverNotificationStatusDisabled = "DISABLED" +) + +// AutoshiftObserverNotificationStatus_Values returns all elements of the AutoshiftObserverNotificationStatus enum +func AutoshiftObserverNotificationStatus_Values() []string { + return []string{ + AutoshiftObserverNotificationStatusEnabled, + AutoshiftObserverNotificationStatusDisabled, + } +} + const ( // ConflictExceptionReasonZonalShiftAlreadyExists is a ConflictExceptionReason enum value ConflictExceptionReasonZonalShiftAlreadyExists = "ZonalShiftAlreadyExists" diff --git a/service/arczonalshift/arczonalshiftiface/interface.go b/service/arczonalshift/arczonalshiftiface/interface.go index d6f704fe1bf..02307f58d49 100644 --- a/service/arczonalshift/arczonalshiftiface/interface.go +++ b/service/arczonalshift/arczonalshiftiface/interface.go @@ -72,6 +72,10 @@ type ARCZonalShiftAPI interface { DeletePracticeRunConfigurationWithContext(aws.Context, *arczonalshift.DeletePracticeRunConfigurationInput, ...request.Option) (*arczonalshift.DeletePracticeRunConfigurationOutput, error) DeletePracticeRunConfigurationRequest(*arczonalshift.DeletePracticeRunConfigurationInput) (*request.Request, *arczonalshift.DeletePracticeRunConfigurationOutput) + GetAutoshiftObserverNotificationStatus(*arczonalshift.GetAutoshiftObserverNotificationStatusInput) (*arczonalshift.GetAutoshiftObserverNotificationStatusOutput, error) + GetAutoshiftObserverNotificationStatusWithContext(aws.Context, *arczonalshift.GetAutoshiftObserverNotificationStatusInput, ...request.Option) (*arczonalshift.GetAutoshiftObserverNotificationStatusOutput, error) + GetAutoshiftObserverNotificationStatusRequest(*arczonalshift.GetAutoshiftObserverNotificationStatusInput) (*request.Request, *arczonalshift.GetAutoshiftObserverNotificationStatusOutput) + GetManagedResource(*arczonalshift.GetManagedResourceInput) (*arczonalshift.GetManagedResourceOutput, error) GetManagedResourceWithContext(aws.Context, *arczonalshift.GetManagedResourceInput, ...request.Option) (*arczonalshift.GetManagedResourceOutput, error) GetManagedResourceRequest(*arczonalshift.GetManagedResourceInput) (*request.Request, *arczonalshift.GetManagedResourceOutput) @@ -101,6 +105,10 @@ type ARCZonalShiftAPI interface { StartZonalShiftWithContext(aws.Context, *arczonalshift.StartZonalShiftInput, ...request.Option) (*arczonalshift.StartZonalShiftOutput, error) StartZonalShiftRequest(*arczonalshift.StartZonalShiftInput) (*request.Request, *arczonalshift.StartZonalShiftOutput) + UpdateAutoshiftObserverNotificationStatus(*arczonalshift.UpdateAutoshiftObserverNotificationStatusInput) (*arczonalshift.UpdateAutoshiftObserverNotificationStatusOutput, error) + UpdateAutoshiftObserverNotificationStatusWithContext(aws.Context, *arczonalshift.UpdateAutoshiftObserverNotificationStatusInput, ...request.Option) (*arczonalshift.UpdateAutoshiftObserverNotificationStatusOutput, error) + UpdateAutoshiftObserverNotificationStatusRequest(*arczonalshift.UpdateAutoshiftObserverNotificationStatusInput) (*request.Request, *arczonalshift.UpdateAutoshiftObserverNotificationStatusOutput) + UpdatePracticeRunConfiguration(*arczonalshift.UpdatePracticeRunConfigurationInput) (*arczonalshift.UpdatePracticeRunConfigurationOutput, error) UpdatePracticeRunConfigurationWithContext(aws.Context, *arczonalshift.UpdatePracticeRunConfigurationInput, ...request.Option) (*arczonalshift.UpdatePracticeRunConfigurationOutput, error) UpdatePracticeRunConfigurationRequest(*arczonalshift.UpdatePracticeRunConfigurationInput) (*request.Request, *arczonalshift.UpdatePracticeRunConfigurationOutput) diff --git a/service/arczonalshift/doc.go b/service/arczonalshift/doc.go index a533391c4a4..854779acf9e 100644 --- a/service/arczonalshift/doc.go +++ b/service/arczonalshift/doc.go @@ -3,8 +3,8 @@ // Package arczonalshift provides the client and types for making API // requests to AWS ARC - Zonal Shift. // -// Welcome to the Zonal Shift API Reference Guide for Amazon Route 53 Application -// Recovery Controller (Route 53 ARC). +// Welcome to the API Reference Guide for zonal shift and zonal autoshift in +// Amazon Route 53 Application Recovery Controller (Route 53 ARC). // // You can start a zonal shift to move traffic for a load balancer resource // away from an Availability Zone to help your application recover quickly from @@ -12,26 +12,40 @@ // application from a developer's bad code deployment or from an Amazon Web // Services infrastructure failure in a single Availability Zone. // -// You can also configure zonal autoshift for a load balancer resource. Zonal -// autoshift is a capability in Route 53 ARC where Amazon Web Services shifts -// away application resource traffic from an Availability Zone, on your behalf, -// to help reduce your time to recovery during events. Amazon Web Services shifts -// away traffic for resources that are enabled for zonal autoshift whenever -// Amazon Web Services determines that there's an issue in the Availability -// Zone that could potentially affect customers. -// -// To ensure that zonal autoshift is safe for your application, you must also -// configure practice runs when you enable zonal autoshift for a resource. Practice -// runs start weekly zonal shifts for a resource, to shift traffic for the resource -// out of an Availability Zone. Practice runs make sure, on a regular basis, -// that you have enough capacity in all the Availability Zones in an Amazon -// Web Services Region for your application to continue to operate normally -// when traffic for a resource is shifted away from one Availability Zone. -// -// You must prescale resource capacity in all Availability Zones in the Region -// where your application is deployed, before you configure practice runs or -// enable zonal autoshift for a resource. You should not rely on scaling on -// demand when an autoshift or practice run starts. +// You can also configure zonal autoshift for supported load balancer resources. +// Zonal autoshift is a capability in Route 53 ARC where you authorize Amazon +// Web Services to shift away application resource traffic from an Availability +// Zone during events, on your behalf, to help reduce your time to recovery. +// Amazon Web Services starts an autoshift when internal telemetry indicates +// that there is an Availability Zone impairment that could potentially impact +// customers. +// +// To help make sure that zonal autoshift is safe for your application, you +// must also configure practice runs when you enable zonal autoshift for a resource. +// Practice runs start weekly zonal shifts for a resource, to shift traffic +// for the resource away from an Availability Zone. Practice runs help you to +// make sure, on a regular basis, that you have enough capacity in all the Availability +// Zones in an Amazon Web Services Region for your application to continue to +// operate normally when traffic for a resource is shifted away from one Availability +// Zone. +// +// Before you configure practice runs or enable zonal autoshift, we strongly +// recommend that you prescale your application resource capacity in all Availability +// Zones in the Region where your application resources are deployed. You should +// not rely on scaling on demand when an autoshift or practice run starts. Zonal +// autoshift, including practice runs, works independently, and does not wait +// for auto scaling actions to complete. Relying on auto scaling, instead of +// pre-scaling, can result in loss of availability. +// +// If you use auto scaling to handle regular cycles of traffic, we strongly +// recommend that you configure the minimum capacity of your auto scaling to +// continue operating normally with the loss of an Availability Zone. +// +// Be aware that Route 53 ARC does not inspect the health of individual resources. +// Amazon Web Services only starts an autoshift when Amazon Web Services telemetry +// detects that there is an Availability Zone impairment that could potentially +// impact customers. In some cases, resources might be shifted away that are +// not experiencing impact. // // For more information about using zonal shift and zonal autoshift, see the // Amazon Route 53 Application Recovery Controller Developer Guide (https://docs.aws.amazon.com/r53recovery/latest/dg/what-is-route53-recovery.html). diff --git a/service/globalaccelerator/api.go b/service/globalaccelerator/api.go index 22e3eedab9a..953cbdc5e1f 100644 --- a/service/globalaccelerator/api.go +++ b/service/globalaccelerator/api.go @@ -504,6 +504,12 @@ func (c *GlobalAccelerator) CreateAcceleratorRequest(input *CreateAcceleratorInp // - LimitExceededException // Processing your request would cause you to exceed an Global Accelerator limit. // +// - AccessDeniedException +// You don't have access permission. +// +// - TransactionInProgressException +// There's already a transaction in progress. Another transaction can't be processed. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateAccelerator func (c *GlobalAccelerator) CreateAccelerator(input *CreateAcceleratorInput) (*CreateAcceleratorOutput, error) { req, out := c.CreateAcceleratorRequest(input) @@ -718,6 +724,9 @@ func (c *GlobalAccelerator) CreateCustomRoutingAcceleratorRequest(input *CreateC // - AccessDeniedException // You don't have access permission. // +// - TransactionInProgressException +// There's already a transaction in progress. Another transaction can't be processed. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingAccelerator func (c *GlobalAccelerator) CreateCustomRoutingAccelerator(input *CreateCustomRoutingAcceleratorInput) (*CreateCustomRoutingAcceleratorOutput, error) { req, out := c.CreateCustomRoutingAcceleratorRequest(input) @@ -1224,6 +1233,9 @@ func (c *GlobalAccelerator) DeleteAcceleratorRequest(input *DeleteAcceleratorInp // - InvalidArgumentException // An argument that you specified is invalid. // +// - TransactionInProgressException +// There's already a transaction in progress. Another transaction can't be processed. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteAccelerator func (c *GlobalAccelerator) DeleteAccelerator(input *DeleteAcceleratorInput) (*DeleteAcceleratorOutput, error) { req, out := c.DeleteAcceleratorRequest(input) @@ -1433,6 +1445,9 @@ func (c *GlobalAccelerator) DeleteCustomRoutingAcceleratorRequest(input *DeleteC // - InvalidArgumentException // An argument that you specified is invalid. // +// - TransactionInProgressException +// There's already a transaction in progress. Another transaction can't be processed. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingAccelerator func (c *GlobalAccelerator) DeleteCustomRoutingAccelerator(input *DeleteCustomRoutingAcceleratorInput) (*DeleteCustomRoutingAcceleratorOutput, error) { req, out := c.DeleteCustomRoutingAcceleratorRequest(input) @@ -4535,6 +4550,15 @@ func (c *GlobalAccelerator) ListTagsForResourceRequest(input *ListTagsForResourc // - AcceleratorNotFoundException // The accelerator that you specified doesn't exist. // +// - AttachmentNotFoundException +// No cross-account attachment was found. +// +// - EndpointGroupNotFoundException +// The endpoint group that you specified doesn't exist. +// +// - ListenerNotFoundException +// The listener that you specified doesn't exist. +// // - InternalServiceErrorException // There was an internal error for Global Accelerator. // @@ -5131,6 +5155,12 @@ func (c *GlobalAccelerator) UpdateAcceleratorRequest(input *UpdateAcceleratorInp // - InvalidArgumentException // An argument that you specified is invalid. // +// - TransactionInProgressException +// There's already a transaction in progress. Another transaction can't be processed. +// +// - ConflictException +// You can't use both of those options. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAccelerator func (c *GlobalAccelerator) UpdateAccelerator(input *UpdateAcceleratorInput) (*UpdateAcceleratorOutput, error) { req, out := c.UpdateAcceleratorRequest(input) @@ -5219,6 +5249,9 @@ func (c *GlobalAccelerator) UpdateAcceleratorAttributesRequest(input *UpdateAcce // - AccessDeniedException // You don't have access permission. // +// - TransactionInProgressException +// There's already a transaction in progress. Another transaction can't be processed. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAcceleratorAttributes func (c *GlobalAccelerator) UpdateAcceleratorAttributes(input *UpdateAcceleratorAttributesInput) (*UpdateAcceleratorAttributesOutput, error) { req, out := c.UpdateAcceleratorAttributesRequest(input) @@ -5404,6 +5437,12 @@ func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorRequest(input *UpdateC // - InvalidArgumentException // An argument that you specified is invalid. // +// - TransactionInProgressException +// There's already a transaction in progress. Another transaction can't be processed. +// +// - ConflictException +// You can't use both of those options. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAccelerator func (c *GlobalAccelerator) UpdateCustomRoutingAccelerator(input *UpdateCustomRoutingAcceleratorInput) (*UpdateCustomRoutingAcceleratorOutput, error) { req, out := c.UpdateCustomRoutingAcceleratorRequest(input) @@ -5492,6 +5531,9 @@ func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorAttributesRequest(inpu // - AccessDeniedException // You don't have access permission. // +// - TransactionInProgressException +// There's already a transaction in progress. Another transaction can't be processed. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAcceleratorAttributes func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorAttributes(input *UpdateCustomRoutingAcceleratorAttributesInput) (*UpdateCustomRoutingAcceleratorAttributesOutput, error) { req, out := c.UpdateCustomRoutingAcceleratorAttributesRequest(input) diff --git a/service/quicksight/api.go b/service/quicksight/api.go index a3a98c15c30..04dac3d63aa 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -12,6 +12,199 @@ import ( "github.com/aws/aws-sdk-go/private/protocol" ) +const opBatchCreateTopicReviewedAnswer = "BatchCreateTopicReviewedAnswer" + +// BatchCreateTopicReviewedAnswerRequest generates a "aws/request.Request" representing the +// client's request for the BatchCreateTopicReviewedAnswer 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 BatchCreateTopicReviewedAnswer for more information on using the BatchCreateTopicReviewedAnswer +// 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 BatchCreateTopicReviewedAnswerRequest method. +// req, resp := client.BatchCreateTopicReviewedAnswerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/BatchCreateTopicReviewedAnswer +func (c *QuickSight) BatchCreateTopicReviewedAnswerRequest(input *BatchCreateTopicReviewedAnswerInput) (req *request.Request, output *BatchCreateTopicReviewedAnswerOutput) { + op := &request.Operation{ + Name: opBatchCreateTopicReviewedAnswer, + HTTPMethod: "POST", + HTTPPath: "/accounts/{AwsAccountId}/topics/{TopicId}/batch-create-reviewed-answers", + } + + if input == nil { + input = &BatchCreateTopicReviewedAnswerInput{} + } + + output = &BatchCreateTopicReviewedAnswerOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchCreateTopicReviewedAnswer API operation for Amazon QuickSight. +// +// Creates new reviewed answers for a Q Topic. +// +// 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 Amazon QuickSight's +// API operation BatchCreateTopicReviewedAnswer for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// credentials. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - ThrottlingException +// Access is throttled. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalFailureException +// An internal failure occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/BatchCreateTopicReviewedAnswer +func (c *QuickSight) BatchCreateTopicReviewedAnswer(input *BatchCreateTopicReviewedAnswerInput) (*BatchCreateTopicReviewedAnswerOutput, error) { + req, out := c.BatchCreateTopicReviewedAnswerRequest(input) + return out, req.Send() +} + +// BatchCreateTopicReviewedAnswerWithContext is the same as BatchCreateTopicReviewedAnswer with the addition of +// the ability to pass a context and additional request options. +// +// See BatchCreateTopicReviewedAnswer 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 *QuickSight) BatchCreateTopicReviewedAnswerWithContext(ctx aws.Context, input *BatchCreateTopicReviewedAnswerInput, opts ...request.Option) (*BatchCreateTopicReviewedAnswerOutput, error) { + req, out := c.BatchCreateTopicReviewedAnswerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opBatchDeleteTopicReviewedAnswer = "BatchDeleteTopicReviewedAnswer" + +// BatchDeleteTopicReviewedAnswerRequest generates a "aws/request.Request" representing the +// client's request for the BatchDeleteTopicReviewedAnswer 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 BatchDeleteTopicReviewedAnswer for more information on using the BatchDeleteTopicReviewedAnswer +// 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 BatchDeleteTopicReviewedAnswerRequest method. +// req, resp := client.BatchDeleteTopicReviewedAnswerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/BatchDeleteTopicReviewedAnswer +func (c *QuickSight) BatchDeleteTopicReviewedAnswerRequest(input *BatchDeleteTopicReviewedAnswerInput) (req *request.Request, output *BatchDeleteTopicReviewedAnswerOutput) { + op := &request.Operation{ + Name: opBatchDeleteTopicReviewedAnswer, + HTTPMethod: "POST", + HTTPPath: "/accounts/{AwsAccountId}/topics/{TopicId}/batch-delete-reviewed-answers", + } + + if input == nil { + input = &BatchDeleteTopicReviewedAnswerInput{} + } + + output = &BatchDeleteTopicReviewedAnswerOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchDeleteTopicReviewedAnswer API operation for Amazon QuickSight. +// +// Deletes reviewed answers for Q Topic. +// +// 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 Amazon QuickSight's +// API operation BatchDeleteTopicReviewedAnswer for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// credentials. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - ThrottlingException +// Access is throttled. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - InternalFailureException +// An internal failure occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/BatchDeleteTopicReviewedAnswer +func (c *QuickSight) BatchDeleteTopicReviewedAnswer(input *BatchDeleteTopicReviewedAnswerInput) (*BatchDeleteTopicReviewedAnswerOutput, error) { + req, out := c.BatchDeleteTopicReviewedAnswerRequest(input) + return out, req.Send() +} + +// BatchDeleteTopicReviewedAnswerWithContext is the same as BatchDeleteTopicReviewedAnswer with the addition of +// the ability to pass a context and additional request options. +// +// See BatchDeleteTopicReviewedAnswer 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 *QuickSight) BatchDeleteTopicReviewedAnswerWithContext(ctx aws.Context, input *BatchDeleteTopicReviewedAnswerInput, opts ...request.Option) (*BatchDeleteTopicReviewedAnswerOutput, error) { + req, out := c.BatchDeleteTopicReviewedAnswerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCancelIngestion = "CancelIngestion" // CancelIngestionRequest generates a "aws/request.Request" representing the @@ -13979,6 +14172,101 @@ func (c *QuickSight) ListTopicRefreshSchedulesWithContext(ctx aws.Context, input return out, req.Send() } +const opListTopicReviewedAnswers = "ListTopicReviewedAnswers" + +// ListTopicReviewedAnswersRequest generates a "aws/request.Request" representing the +// client's request for the ListTopicReviewedAnswers 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 ListTopicReviewedAnswers for more information on using the ListTopicReviewedAnswers +// 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 ListTopicReviewedAnswersRequest method. +// req, resp := client.ListTopicReviewedAnswersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTopicReviewedAnswers +func (c *QuickSight) ListTopicReviewedAnswersRequest(input *ListTopicReviewedAnswersInput) (req *request.Request, output *ListTopicReviewedAnswersOutput) { + op := &request.Operation{ + Name: opListTopicReviewedAnswers, + HTTPMethod: "GET", + HTTPPath: "/accounts/{AwsAccountId}/topics/{TopicId}/reviewed-answers", + } + + if input == nil { + input = &ListTopicReviewedAnswersInput{} + } + + output = &ListTopicReviewedAnswersOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTopicReviewedAnswers API operation for Amazon QuickSight. +// +// Lists all reviewed answers for a Q Topic. +// +// 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 Amazon QuickSight's +// API operation ListTopicReviewedAnswers for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// credentials. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - ThrottlingException +// Access is throttled. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalFailureException +// An internal failure occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTopicReviewedAnswers +func (c *QuickSight) ListTopicReviewedAnswers(input *ListTopicReviewedAnswersInput) (*ListTopicReviewedAnswersOutput, error) { + req, out := c.ListTopicReviewedAnswersRequest(input) + return out, req.Send() +} + +// ListTopicReviewedAnswersWithContext is the same as ListTopicReviewedAnswers with the addition of +// the ability to pass a context and additional request options. +// +// See ListTopicReviewedAnswers 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 *QuickSight) ListTopicReviewedAnswersWithContext(ctx aws.Context, input *ListTopicReviewedAnswersInput, opts ...request.Option) (*ListTopicReviewedAnswersOutput, error) { + req, out := c.ListTopicReviewedAnswersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListTopics = "ListTopics" // ListTopicsRequest generates a "aws/request.Request" representing the @@ -20368,6 +20656,65 @@ func (s *AdHocFilteringOption) SetAvailabilityStatus(v string) *AdHocFilteringOp return s } +// The definition of an Agg function. +type AggFunction struct { + _ struct{} `type:"structure"` + + // The aggregation of an Agg function. + Aggregation *string `type:"string" enum:"AggType"` + + // The aggregation parameters for an Agg function. + AggregationFunctionParameters map[string]*string `type:"map"` + + // The period of an Agg function. + Period *string `type:"string" enum:"TopicTimeGranularity"` + + // The period field for an Agg function. + PeriodField *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AggFunction) 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 AggFunction) GoString() string { + return s.String() +} + +// SetAggregation sets the Aggregation field's value. +func (s *AggFunction) SetAggregation(v string) *AggFunction { + s.Aggregation = &v + return s +} + +// SetAggregationFunctionParameters sets the AggregationFunctionParameters field's value. +func (s *AggFunction) SetAggregationFunctionParameters(v map[string]*string) *AggFunction { + s.AggregationFunctionParameters = v + return s +} + +// SetPeriod sets the Period field's value. +func (s *AggFunction) SetPeriod(v string) *AggFunction { + s.Period = &v + return s +} + +// SetPeriodField sets the PeriodField field's value. +func (s *AggFunction) SetPeriodField(v string) *AggFunction { + s.PeriodField = &v + return s +} + // An aggregation function aggregates values from a dimension or measure. // // This is a union type structure. For this structure to be valid, only one @@ -20442,6 +20789,47 @@ func (s *AggregationFunction) SetNumericalAggregationFunction(v *NumericalAggreg return s } +// The definition of an AggregationPartitionBy. +type AggregationPartitionBy struct { + _ struct{} `type:"structure"` + + // The field Name for an AggregationPartitionBy. + FieldName *string `type:"string"` + + // The TimeGranularity for an AggregationPartitionBy. + TimeGranularity *string `type:"string" enum:"TimeGranularity"` +} + +// 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 AggregationPartitionBy) 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 AggregationPartitionBy) GoString() string { + return s.String() +} + +// SetFieldName sets the FieldName field's value. +func (s *AggregationPartitionBy) SetFieldName(v string) *AggregationPartitionBy { + s.FieldName = &v + return s +} + +// SetTimeGranularity sets the TimeGranularity field's value. +func (s *AggregationPartitionBy) SetTimeGranularity(v string) *AggregationPartitionBy { + s.TimeGranularity = &v + return s +} + // The configuration options to sort aggregated values. type AggregationSortConfiguration struct { _ struct{} `type:"structure"` @@ -21343,6 +21731,56 @@ func (s *AnalysisSummary) SetStatus(v string) *AnalysisSummary { return s } +// The definition of the Anchor. +type Anchor struct { + _ struct{} `type:"structure"` + + // The AnchorType for the Anchor. + AnchorType *string `type:"string" enum:"AnchorType"` + + // The offset of the Anchor. + Offset *int64 `type:"integer"` + + // The TimeGranularity of the Anchor. + TimeGranularity *string `type:"string" enum:"TimeGranularity"` +} + +// 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 Anchor) 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 Anchor) GoString() string { + return s.String() +} + +// SetAnchorType sets the AnchorType field's value. +func (s *Anchor) SetAnchorType(v string) *Anchor { + s.AnchorType = &v + return s +} + +// SetOffset sets the Offset field's value. +func (s *Anchor) SetOffset(v int64) *Anchor { + s.Offset = &v + return s +} + +// SetTimeGranularity sets the TimeGranularity field's value. +func (s *Anchor) SetTimeGranularity(v string) *Anchor { + s.TimeGranularity = &v + return s +} + // The date configuration of the filter. type AnchorDateConfiguration struct { _ struct{} `type:"structure"` @@ -26964,6 +27402,329 @@ func (s *BarChartVisual) SetVisualId(v string) *BarChartVisual { return s } +type BatchCreateTopicReviewedAnswerInput struct { + _ struct{} `type:"structure"` + + // The definition of the Answers to be created. + // + // Answers is a required field + Answers []*CreateTopicReviewedAnswer `type:"list" required:"true"` + + // The ID of the Amazon Web Services account that you want to create a reviewed + // answer in. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the topic reviewed answer that you want to create. This ID is + // unique per Amazon Web Services Region for each Amazon Web Services account. + // + // TopicId is a required field + TopicId *string `location:"uri" locationName:"TopicId" 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 BatchCreateTopicReviewedAnswerInput) 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 BatchCreateTopicReviewedAnswerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchCreateTopicReviewedAnswerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchCreateTopicReviewedAnswerInput"} + if s.Answers == nil { + invalidParams.Add(request.NewErrParamRequired("Answers")) + } + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.TopicId == nil { + invalidParams.Add(request.NewErrParamRequired("TopicId")) + } + if s.TopicId != nil && len(*s.TopicId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TopicId", 1)) + } + if s.Answers != nil { + for i, v := range s.Answers { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Answers", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnswers sets the Answers field's value. +func (s *BatchCreateTopicReviewedAnswerInput) SetAnswers(v []*CreateTopicReviewedAnswer) *BatchCreateTopicReviewedAnswerInput { + s.Answers = v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *BatchCreateTopicReviewedAnswerInput) SetAwsAccountId(v string) *BatchCreateTopicReviewedAnswerInput { + s.AwsAccountId = &v + return s +} + +// SetTopicId sets the TopicId field's value. +func (s *BatchCreateTopicReviewedAnswerInput) SetTopicId(v string) *BatchCreateTopicReviewedAnswerInput { + s.TopicId = &v + return s +} + +type BatchCreateTopicReviewedAnswerOutput struct { + _ struct{} `type:"structure"` + + // The definition of Answers that are invalid and not created. + InvalidAnswers []*InvalidTopicReviewedAnswer `type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The definition of Answers that are successfully created. + SucceededAnswers []*SucceededTopicReviewedAnswer `type:"list"` + + // The Amazon Resource Name (ARN) of the topic. + TopicArn *string `type:"string"` + + // The ID for the topic reviewed answer that you want to create. This ID is + // unique per Amazon Web Services Region for each Amazon Web Services account. + TopicId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchCreateTopicReviewedAnswerOutput) 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 BatchCreateTopicReviewedAnswerOutput) GoString() string { + return s.String() +} + +// SetInvalidAnswers sets the InvalidAnswers field's value. +func (s *BatchCreateTopicReviewedAnswerOutput) SetInvalidAnswers(v []*InvalidTopicReviewedAnswer) *BatchCreateTopicReviewedAnswerOutput { + s.InvalidAnswers = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *BatchCreateTopicReviewedAnswerOutput) SetRequestId(v string) *BatchCreateTopicReviewedAnswerOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *BatchCreateTopicReviewedAnswerOutput) SetStatus(v int64) *BatchCreateTopicReviewedAnswerOutput { + s.Status = &v + return s +} + +// SetSucceededAnswers sets the SucceededAnswers field's value. +func (s *BatchCreateTopicReviewedAnswerOutput) SetSucceededAnswers(v []*SucceededTopicReviewedAnswer) *BatchCreateTopicReviewedAnswerOutput { + s.SucceededAnswers = v + return s +} + +// SetTopicArn sets the TopicArn field's value. +func (s *BatchCreateTopicReviewedAnswerOutput) SetTopicArn(v string) *BatchCreateTopicReviewedAnswerOutput { + s.TopicArn = &v + return s +} + +// SetTopicId sets the TopicId field's value. +func (s *BatchCreateTopicReviewedAnswerOutput) SetTopicId(v string) *BatchCreateTopicReviewedAnswerOutput { + s.TopicId = &v + return s +} + +type BatchDeleteTopicReviewedAnswerInput struct { + _ struct{} `type:"structure"` + + // The Answer IDs of the Answers to be deleted. + AnswerIds []*string `type:"list"` + + // The ID of the Amazon Web Services account that you want to delete a reviewed + // answers in. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the topic reviewed answer that you want to delete. This ID is + // unique per Amazon Web Services Region for each Amazon Web Services account. + // + // TopicId is a required field + TopicId *string `location:"uri" locationName:"TopicId" 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 BatchDeleteTopicReviewedAnswerInput) 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 BatchDeleteTopicReviewedAnswerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchDeleteTopicReviewedAnswerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTopicReviewedAnswerInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.TopicId == nil { + invalidParams.Add(request.NewErrParamRequired("TopicId")) + } + if s.TopicId != nil && len(*s.TopicId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TopicId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnswerIds sets the AnswerIds field's value. +func (s *BatchDeleteTopicReviewedAnswerInput) SetAnswerIds(v []*string) *BatchDeleteTopicReviewedAnswerInput { + s.AnswerIds = v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *BatchDeleteTopicReviewedAnswerInput) SetAwsAccountId(v string) *BatchDeleteTopicReviewedAnswerInput { + s.AwsAccountId = &v + return s +} + +// SetTopicId sets the TopicId field's value. +func (s *BatchDeleteTopicReviewedAnswerInput) SetTopicId(v string) *BatchDeleteTopicReviewedAnswerInput { + s.TopicId = &v + return s +} + +type BatchDeleteTopicReviewedAnswerOutput struct { + _ struct{} `type:"structure"` + + // The definition of Answers that are invalid and not deleted. + InvalidAnswers []*InvalidTopicReviewedAnswer `type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The definition of Answers that are successfully deleted. + SucceededAnswers []*SucceededTopicReviewedAnswer `type:"list"` + + // The Amazon Resource Name (ARN) of the topic. + TopicArn *string `type:"string"` + + // The ID of the topic reviewed answer that you want to delete. This ID is unique + // per Amazon Web Services Region for each Amazon Web Services account. + TopicId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchDeleteTopicReviewedAnswerOutput) 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 BatchDeleteTopicReviewedAnswerOutput) GoString() string { + return s.String() +} + +// SetInvalidAnswers sets the InvalidAnswers field's value. +func (s *BatchDeleteTopicReviewedAnswerOutput) SetInvalidAnswers(v []*InvalidTopicReviewedAnswer) *BatchDeleteTopicReviewedAnswerOutput { + s.InvalidAnswers = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *BatchDeleteTopicReviewedAnswerOutput) SetRequestId(v string) *BatchDeleteTopicReviewedAnswerOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *BatchDeleteTopicReviewedAnswerOutput) SetStatus(v int64) *BatchDeleteTopicReviewedAnswerOutput { + s.Status = &v + return s +} + +// SetSucceededAnswers sets the SucceededAnswers field's value. +func (s *BatchDeleteTopicReviewedAnswerOutput) SetSucceededAnswers(v []*SucceededTopicReviewedAnswer) *BatchDeleteTopicReviewedAnswerOutput { + s.SucceededAnswers = v + return s +} + +// SetTopicArn sets the TopicArn field's value. +func (s *BatchDeleteTopicReviewedAnswerOutput) SetTopicArn(v string) *BatchDeleteTopicReviewedAnswerOutput { + s.TopicArn = &v + return s +} + +// SetTopicId sets the TopicId field's value. +func (s *BatchDeleteTopicReviewedAnswerOutput) SetTopicId(v string) *BatchDeleteTopicReviewedAnswerOutput { + s.TopicId = &v + return s +} + // The parameters that are required to connect to a Google BigQuery data source. type BigQueryParameters struct { _ struct{} `type:"structure"` @@ -29582,6 +30343,47 @@ func (s *CollectiveConstant) SetValueList(v []*string) *CollectiveConstant { return s } +// The definition for a CollectiveConstantEntry. +type CollectiveConstantEntry struct { + _ struct{} `type:"structure"` + + // The ConstantType of a CollectiveConstantEntry. + ConstantType *string `type:"string" enum:"ConstantType"` + + // The value of a CollectiveConstantEntry. + Value *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CollectiveConstantEntry) 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 CollectiveConstantEntry) GoString() string { + return s.String() +} + +// SetConstantType sets the ConstantType field's value. +func (s *CollectiveConstantEntry) SetConstantType(v string) *CollectiveConstantEntry { + s.ConstantType = &v + return s +} + +// SetValue sets the Value field's value. +func (s *CollectiveConstantEntry) SetValue(v string) *CollectiveConstantEntry { + s.Value = &v + return s +} + // Determines the color scale that is applied to the visual. type ColorScale struct { _ struct{} `type:"structure"` @@ -32159,6 +32961,99 @@ func (s *ContributionAnalysisDefault) SetMeasureFieldId(v string) *ContributionA return s } +// The definition for the ContributionAnalysisFactor. +type ContributionAnalysisFactor struct { + _ struct{} `type:"structure"` + + // The field name of the ContributionAnalysisFactor. + FieldName *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ContributionAnalysisFactor) 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 ContributionAnalysisFactor) GoString() string { + return s.String() +} + +// SetFieldName sets the FieldName field's value. +func (s *ContributionAnalysisFactor) SetFieldName(v string) *ContributionAnalysisFactor { + s.FieldName = &v + return s +} + +// The definition for the ContributionAnalysisTimeRanges. +type ContributionAnalysisTimeRanges struct { + _ struct{} `type:"structure"` + + // The end range for the ContributionAnalysisTimeRanges. + EndRange *TopicIRFilterOption `type:"structure"` + + // The start range for the ContributionAnalysisTimeRanges. + StartRange *TopicIRFilterOption `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 ContributionAnalysisTimeRanges) 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 ContributionAnalysisTimeRanges) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ContributionAnalysisTimeRanges) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ContributionAnalysisTimeRanges"} + if s.EndRange != nil { + if err := s.EndRange.Validate(); err != nil { + invalidParams.AddNested("EndRange", err.(request.ErrInvalidParams)) + } + } + if s.StartRange != nil { + if err := s.StartRange.Validate(); err != nil { + invalidParams.AddNested("StartRange", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEndRange sets the EndRange field's value. +func (s *ContributionAnalysisTimeRanges) SetEndRange(v *TopicIRFilterOption) *ContributionAnalysisTimeRanges { + s.EndRange = v + return s +} + +// SetStartRange sets the StartRange field's value. +func (s *ContributionAnalysisTimeRanges) SetStartRange(v *TopicIRFilterOption) *ContributionAnalysisTimeRanges { + s.StartRange = v + return s +} + type CreateAccountCustomizationInput struct { _ struct{} `type:"structure"` @@ -36806,6 +37701,118 @@ func (s *CreateTopicRefreshScheduleOutput) SetTopicId(v string) *CreateTopicRefr return s } +// The definition for a CreateTopicReviewedAnswer. +type CreateTopicReviewedAnswer struct { + _ struct{} `type:"structure"` + + // The answer ID for the CreateTopicReviewedAnswer. + // + // AnswerId is a required field + AnswerId *string `type:"string" required:"true"` + + // The Dataset arn for the CreateTopicReviewedAnswer. + // + // DatasetArn is a required field + DatasetArn *string `type:"string" required:"true"` + + // The Mir for the CreateTopicReviewedAnswer. + Mir *TopicIR `type:"structure"` + + // The PrimaryVisual for the CreateTopicReviewedAnswer. + PrimaryVisual *TopicVisual `type:"structure"` + + // The Question to be created. + // + // Question is a required field + Question *string `type:"string" required:"true"` + + // The template for the CreateTopicReviewedAnswer. + Template *TopicTemplate `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 CreateTopicReviewedAnswer) 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 CreateTopicReviewedAnswer) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateTopicReviewedAnswer) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTopicReviewedAnswer"} + if s.AnswerId == nil { + invalidParams.Add(request.NewErrParamRequired("AnswerId")) + } + if s.DatasetArn == nil { + invalidParams.Add(request.NewErrParamRequired("DatasetArn")) + } + if s.Question == nil { + invalidParams.Add(request.NewErrParamRequired("Question")) + } + if s.Mir != nil { + if err := s.Mir.Validate(); err != nil { + invalidParams.AddNested("Mir", err.(request.ErrInvalidParams)) + } + } + if s.PrimaryVisual != nil { + if err := s.PrimaryVisual.Validate(); err != nil { + invalidParams.AddNested("PrimaryVisual", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnswerId sets the AnswerId field's value. +func (s *CreateTopicReviewedAnswer) SetAnswerId(v string) *CreateTopicReviewedAnswer { + s.AnswerId = &v + return s +} + +// SetDatasetArn sets the DatasetArn field's value. +func (s *CreateTopicReviewedAnswer) SetDatasetArn(v string) *CreateTopicReviewedAnswer { + s.DatasetArn = &v + return s +} + +// SetMir sets the Mir field's value. +func (s *CreateTopicReviewedAnswer) SetMir(v *TopicIR) *CreateTopicReviewedAnswer { + s.Mir = v + return s +} + +// SetPrimaryVisual sets the PrimaryVisual field's value. +func (s *CreateTopicReviewedAnswer) SetPrimaryVisual(v *TopicVisual) *CreateTopicReviewedAnswer { + s.PrimaryVisual = v + return s +} + +// SetQuestion sets the Question field's value. +func (s *CreateTopicReviewedAnswer) SetQuestion(v string) *CreateTopicReviewedAnswer { + s.Question = &v + return s +} + +// SetTemplate sets the Template field's value. +func (s *CreateTopicReviewedAnswer) SetTemplate(v *TopicTemplate) *CreateTopicReviewedAnswer { + s.Template = v + return s +} + type CreateVPCConnectionInput struct { _ struct{} `type:"structure"` @@ -42969,9 +43976,15 @@ func (s *DateTimeParameterDeclaration) SetValueWhenUnset(v *DateTimeValueWhenUns type DateTimePickerControlDisplayOptions struct { _ struct{} `type:"structure"` + // The date icon visibility of the DateTimePickerControlDisplayOptions. + DateIconVisibility *string `type:"string" enum:"Visibility"` + // Customize how dates are formatted in controls. DateTimeFormat *string `min:"1" type:"string"` + // The helper text visibility of the DateTimePickerControlDisplayOptions. + HelperTextVisibility *string `type:"string" enum:"Visibility"` + // The configuration of info icon label options. InfoIconLabelOptions *SheetControlInfoIconLabelOptions `type:"structure"` @@ -43015,12 +44028,24 @@ func (s *DateTimePickerControlDisplayOptions) Validate() error { return nil } +// SetDateIconVisibility sets the DateIconVisibility field's value. +func (s *DateTimePickerControlDisplayOptions) SetDateIconVisibility(v string) *DateTimePickerControlDisplayOptions { + s.DateIconVisibility = &v + return s +} + // SetDateTimeFormat sets the DateTimeFormat field's value. func (s *DateTimePickerControlDisplayOptions) SetDateTimeFormat(v string) *DateTimePickerControlDisplayOptions { s.DateTimeFormat = &v return s } +// SetHelperTextVisibility sets the HelperTextVisibility field's value. +func (s *DateTimePickerControlDisplayOptions) SetHelperTextVisibility(v string) *DateTimePickerControlDisplayOptions { + s.HelperTextVisibility = &v + return s +} + // SetInfoIconLabelOptions sets the InfoIconLabelOptions field's value. func (s *DateTimePickerControlDisplayOptions) SetInfoIconLabelOptions(v *SheetControlInfoIconLabelOptions) *DateTimePickerControlDisplayOptions { s.InfoIconLabelOptions = v @@ -56812,6 +57837,71 @@ func (s *Filter) SetTopBottomFilter(v *TopBottomFilter) *Filter { return s } +// The definition for the FilterAggMetrics. +type FilterAggMetrics struct { + _ struct{} `type:"structure"` + + // The function for the FilterAggMetrics. + Function *string `type:"string" enum:"AggType"` + + // The metric operand of the FilterAggMetrics. + MetricOperand *Identifier `type:"structure"` + + // The sort direction for FilterAggMetrics. + SortDirection *string `type:"string" enum:"TopicSortDirection"` +} + +// 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 FilterAggMetrics) 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 FilterAggMetrics) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterAggMetrics) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterAggMetrics"} + if s.MetricOperand != nil { + if err := s.MetricOperand.Validate(); err != nil { + invalidParams.AddNested("MetricOperand", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFunction sets the Function field's value. +func (s *FilterAggMetrics) SetFunction(v string) *FilterAggMetrics { + s.Function = &v + return s +} + +// SetMetricOperand sets the MetricOperand field's value. +func (s *FilterAggMetrics) SetMetricOperand(v *Identifier) *FilterAggMetrics { + s.MetricOperand = v + return s +} + +// SetSortDirection sets the SortDirection field's value. +func (s *FilterAggMetrics) SetSortDirection(v string) *FilterAggMetrics { + s.SortDirection = &v + return s +} + // The control of a filter that is used to interact with a dashboard or an analysis. // // This is a union type structure. For this structure to be valid, only one @@ -64537,6 +65627,53 @@ func (s *IAMPolicyAssignmentSummary) SetAssignmentStatus(v string) *IAMPolicyAss return s } +// The definition for the identifier. +type Identifier struct { + _ struct{} `type:"structure"` + + // The identity of the identifier. + // + // Identity is a required field + Identity *string `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 Identifier) 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 Identifier) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Identifier) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Identifier"} + if s.Identity == nil { + invalidParams.Add(request.NewErrParamRequired("Identity")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIdentity sets the Identity field's value. +func (s *Identifier) SetIdentity(v string) *Identifier { + s.Identity = &v + return s +} + // The parameters for an IAM Identity Center configuration. type IdentityCenterConfiguration struct { _ struct{} `type:"structure"` @@ -65836,6 +66973,47 @@ func (s *InvalidRequestException) RequestID() string { return s.RespMetadata.RequestID } +// The definition for a InvalidTopicReviewedAnswer. +type InvalidTopicReviewedAnswer struct { + _ struct{} `type:"structure"` + + // The answer ID for the InvalidTopicReviewedAnswer. + AnswerId *string `type:"string"` + + // The error that is returned for the InvalidTopicReviewedAnswer. + Error *string `type:"string" enum:"ReviewedAnswerErrorCode"` +} + +// 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 InvalidTopicReviewedAnswer) 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 InvalidTopicReviewedAnswer) GoString() string { + return s.String() +} + +// SetAnswerId sets the AnswerId field's value. +func (s *InvalidTopicReviewedAnswer) SetAnswerId(v string) *InvalidTopicReviewedAnswer { + s.AnswerId = &v + return s +} + +// SetError sets the Error field's value. +func (s *InvalidTopicReviewedAnswer) SetError(v string) *InvalidTopicReviewedAnswer { + s.Error = &v + return s +} + // The limit configuration of the visual display for an axis. type ItemsLimitConfiguration struct { _ struct{} `type:"structure"` @@ -72253,6 +73431,144 @@ func (s *ListTopicRefreshSchedulesOutput) SetTopicId(v string) *ListTopicRefresh return s } +type ListTopicReviewedAnswersInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the Amazon Web Services account that containd the reviewed answers + // that you want listed. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The ID for the topic that contains the reviewed answer that you want to list. + // This ID is unique per Amazon Web Services Region for each Amazon Web Services + // account. + // + // TopicId is a required field + TopicId *string `location:"uri" locationName:"TopicId" 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 ListTopicReviewedAnswersInput) 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 ListTopicReviewedAnswersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTopicReviewedAnswersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTopicReviewedAnswersInput"} + if s.AwsAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) + } + if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12)) + } + if s.TopicId == nil { + invalidParams.Add(request.NewErrParamRequired("TopicId")) + } + if s.TopicId != nil && len(*s.TopicId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TopicId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *ListTopicReviewedAnswersInput) SetAwsAccountId(v string) *ListTopicReviewedAnswersInput { + s.AwsAccountId = &v + return s +} + +// SetTopicId sets the TopicId field's value. +func (s *ListTopicReviewedAnswersInput) SetTopicId(v string) *ListTopicReviewedAnswersInput { + s.TopicId = &v + return s +} + +type ListTopicReviewedAnswersOutput struct { + _ struct{} `type:"structure"` + + // The definition of all Answers in the topic. + Answers []*TopicReviewedAnswer `type:"list"` + + // The Amazon Web Services request ID for this operation. + RequestId *string `type:"string"` + + // The HTTP status of the request. + Status *int64 `location:"statusCode" type:"integer"` + + // The Amazon Resource Name (ARN) of the topic. + TopicArn *string `type:"string"` + + // The ID for the topic that contains the reviewed answer that you want to list. + // This ID is unique per Amazon Web Services Region for each Amazon Web Services + // account. + TopicId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTopicReviewedAnswersOutput) 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 ListTopicReviewedAnswersOutput) GoString() string { + return s.String() +} + +// SetAnswers sets the Answers field's value. +func (s *ListTopicReviewedAnswersOutput) SetAnswers(v []*TopicReviewedAnswer) *ListTopicReviewedAnswersOutput { + s.Answers = v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *ListTopicReviewedAnswersOutput) SetRequestId(v string) *ListTopicReviewedAnswersOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListTopicReviewedAnswersOutput) SetStatus(v int64) *ListTopicReviewedAnswersOutput { + s.Status = &v + return s +} + +// SetTopicArn sets the TopicArn field's value. +func (s *ListTopicReviewedAnswersOutput) SetTopicArn(v string) *ListTopicReviewedAnswersOutput { + s.TopicArn = &v + return s +} + +// SetTopicId sets the TopicId field's value. +func (s *ListTopicReviewedAnswersOutput) SetTopicId(v string) *ListTopicReviewedAnswersOutput { + s.TopicId = &v + return s +} + type ListTopicsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -74096,6 +75412,38 @@ func (s *NamedEntityDefinitionMetric) SetAggregationFunctionParameters(v map[str return s } +// The definition for a NamedEntityRef. +type NamedEntityRef struct { + _ struct{} `type:"structure"` + + // The NamedEntityName for the NamedEntityRef. + NamedEntityName *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NamedEntityRef) 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 NamedEntityRef) GoString() string { + return s.String() +} + +// SetNamedEntityName sets the NamedEntityName field's value. +func (s *NamedEntityRef) SetNamedEntityName(v string) *NamedEntityRef { + s.NamedEntityName = &v + return s +} + // Errors that occur during namespace creation. type NamespaceError struct { _ struct{} `type:"structure"` @@ -88983,6 +90331,47 @@ func (s *SliderControlDisplayOptions) SetTitleOptions(v *LabelOptions) *SliderCo return s } +// The definition for the slot. +type Slot struct { + _ struct{} `type:"structure"` + + // The slot ID of the slot. + SlotId *string `type:"string"` + + // The visual ID for the slot. + VisualId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Slot) 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 Slot) GoString() string { + return s.String() +} + +// SetSlotId sets the SlotId field's value. +func (s *Slot) SetSlotId(v string) *Slot { + s.SlotId = &v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *Slot) SetVisualId(v string) *Slot { + s.VisualId = &v + return s +} + // Configures the properties of a chart's axes that are used by small multiples // panels. type SmallMultiplesAxisProperties struct { @@ -91677,6 +93066,38 @@ func (s *SubtotalOptions) SetValueCellStyle(v *TableCellStyle) *SubtotalOptions return s } +// The definition for a SucceededTopicReviewedAnswer. +type SucceededTopicReviewedAnswer struct { + _ struct{} `type:"structure"` + + // The answer ID for the SucceededTopicReviewedAnswer. + AnswerId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SucceededTopicReviewedAnswer) 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 SucceededTopicReviewedAnswer) GoString() string { + return s.String() +} + +// SetAnswerId sets the AnswerId field's value. +func (s *SucceededTopicReviewedAnswer) SetAnswerId(v string) *SucceededTopicReviewedAnswer { + s.AnswerId = &v + return s +} + // A success entry that occurs when a KeyRegistration job is successfully applied // to the Amazon QuickSight account. type SuccessfulKeyRegistrationEntry struct { @@ -97215,6 +98636,74 @@ func (s *TopicColumn) SetTimeGranularity(v string) *TopicColumn { return s } +// The definition for a TopicConstantValue. +type TopicConstantValue struct { + _ struct{} `type:"structure"` + + // The constant type of a TopicConstantValue. + ConstantType *string `type:"string" enum:"ConstantType"` + + // The maximum for the TopicConstantValue. + Maximum *string `type:"string"` + + // The minimum for the TopicConstantValue. + Minimum *string `type:"string"` + + // The value of the TopicConstantValue. + Value *string `type:"string"` + + // The value list of the TopicConstantValue. + ValueList []*CollectiveConstantEntry `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 TopicConstantValue) 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 TopicConstantValue) GoString() string { + return s.String() +} + +// SetConstantType sets the ConstantType field's value. +func (s *TopicConstantValue) SetConstantType(v string) *TopicConstantValue { + s.ConstantType = &v + return s +} + +// SetMaximum sets the Maximum field's value. +func (s *TopicConstantValue) SetMaximum(v string) *TopicConstantValue { + s.Maximum = &v + return s +} + +// SetMinimum sets the Minimum field's value. +func (s *TopicConstantValue) SetMinimum(v string) *TopicConstantValue { + s.Minimum = &v + return s +} + +// SetValue sets the Value field's value. +func (s *TopicConstantValue) SetValue(v string) *TopicConstantValue { + s.Value = &v + return s +} + +// SetValueList sets the ValueList field's value. +func (s *TopicConstantValue) SetValueList(v []*CollectiveConstantEntry) *TopicConstantValue { + s.ValueList = v + return s +} + // A filter used to restrict data based on a range of dates or times. type TopicDateRangeFilter struct { _ struct{} `type:"structure"` @@ -97489,6 +98978,700 @@ func (s *TopicFilter) SetRelativeDateFilter(v *TopicRelativeDateFilter) *TopicFi return s } +// The definition for a TopicIR. +type TopicIR struct { + _ struct{} `type:"structure"` + + // The contribution analysis for the TopicIR. + ContributionAnalysis *TopicIRContributionAnalysis `type:"structure"` + + // The filters for the TopicIR. + Filters [][]*TopicIRFilterOption `type:"list"` + + // The GroupBy list for the TopicIR. + GroupByList []*TopicIRGroupBy `type:"list"` + + // The metrics for the TopicIR. + Metrics []*TopicIRMetric `type:"list"` + + // The sort for the TopicIR. + Sort *TopicSortClause `type:"structure"` + + // The visual for the TopicIR. + Visual *VisualOptions `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 TopicIR) 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 TopicIR) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TopicIR) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TopicIR"} + if s.ContributionAnalysis != nil { + if err := s.ContributionAnalysis.Validate(); err != nil { + invalidParams.AddNested("ContributionAnalysis", err.(request.ErrInvalidParams)) + } + } + if s.GroupByList != nil { + for i, v := range s.GroupByList { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GroupByList", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Metrics != nil { + for i, v := range s.Metrics { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Metrics", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Sort != nil { + if err := s.Sort.Validate(); err != nil { + invalidParams.AddNested("Sort", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContributionAnalysis sets the ContributionAnalysis field's value. +func (s *TopicIR) SetContributionAnalysis(v *TopicIRContributionAnalysis) *TopicIR { + s.ContributionAnalysis = v + return s +} + +// SetFilters sets the Filters field's value. +func (s *TopicIR) SetFilters(v [][]*TopicIRFilterOption) *TopicIR { + s.Filters = v + return s +} + +// SetGroupByList sets the GroupByList field's value. +func (s *TopicIR) SetGroupByList(v []*TopicIRGroupBy) *TopicIR { + s.GroupByList = v + return s +} + +// SetMetrics sets the Metrics field's value. +func (s *TopicIR) SetMetrics(v []*TopicIRMetric) *TopicIR { + s.Metrics = v + return s +} + +// SetSort sets the Sort field's value. +func (s *TopicIR) SetSort(v *TopicSortClause) *TopicIR { + s.Sort = v + return s +} + +// SetVisual sets the Visual field's value. +func (s *TopicIR) SetVisual(v *VisualOptions) *TopicIR { + s.Visual = v + return s +} + +// The definition of a TopicIRComparisonMethod. +type TopicIRComparisonMethod struct { + _ struct{} `type:"structure"` + + // The period for the TopicIRComparisonMethod. + Period *string `type:"string" enum:"TopicTimeGranularity"` + + // The type for the TopicIRComparisonMethod. + Type *string `type:"string" enum:"ComparisonMethodType"` + + // The window size for the TopicIRComparisonMethod. + WindowSize *int64 `type:"integer"` +} + +// 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 TopicIRComparisonMethod) 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 TopicIRComparisonMethod) GoString() string { + return s.String() +} + +// SetPeriod sets the Period field's value. +func (s *TopicIRComparisonMethod) SetPeriod(v string) *TopicIRComparisonMethod { + s.Period = &v + return s +} + +// SetType sets the Type field's value. +func (s *TopicIRComparisonMethod) SetType(v string) *TopicIRComparisonMethod { + s.Type = &v + return s +} + +// SetWindowSize sets the WindowSize field's value. +func (s *TopicIRComparisonMethod) SetWindowSize(v int64) *TopicIRComparisonMethod { + s.WindowSize = &v + return s +} + +// The definition for a TopicIRContributionAnalysis. +type TopicIRContributionAnalysis struct { + _ struct{} `type:"structure"` + + // The direction for the TopicIRContributionAnalysis. + Direction *string `type:"string" enum:"ContributionAnalysisDirection"` + + // The factors for a TopicIRContributionAnalysis. + Factors []*ContributionAnalysisFactor `type:"list"` + + // The sort type for the TopicIRContributionAnalysis. + SortType *string `type:"string" enum:"ContributionAnalysisSortType"` + + // The time ranges for the TopicIRContributionAnalysis. + TimeRanges *ContributionAnalysisTimeRanges `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 TopicIRContributionAnalysis) 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 TopicIRContributionAnalysis) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TopicIRContributionAnalysis) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TopicIRContributionAnalysis"} + if s.TimeRanges != nil { + if err := s.TimeRanges.Validate(); err != nil { + invalidParams.AddNested("TimeRanges", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDirection sets the Direction field's value. +func (s *TopicIRContributionAnalysis) SetDirection(v string) *TopicIRContributionAnalysis { + s.Direction = &v + return s +} + +// SetFactors sets the Factors field's value. +func (s *TopicIRContributionAnalysis) SetFactors(v []*ContributionAnalysisFactor) *TopicIRContributionAnalysis { + s.Factors = v + return s +} + +// SetSortType sets the SortType field's value. +func (s *TopicIRContributionAnalysis) SetSortType(v string) *TopicIRContributionAnalysis { + s.SortType = &v + return s +} + +// SetTimeRanges sets the TimeRanges field's value. +func (s *TopicIRContributionAnalysis) SetTimeRanges(v *ContributionAnalysisTimeRanges) *TopicIRContributionAnalysis { + s.TimeRanges = v + return s +} + +// The definition for a TopicIRFilterOption. +type TopicIRFilterOption struct { + _ struct{} `type:"structure"` + + // The agg metrics for the TopicIRFilterOption. + AggMetrics []*FilterAggMetrics `type:"list"` + + // The aggregation for the TopicIRFilterOption. + Aggregation *string `type:"string" enum:"AggType"` + + // The aggregation function parameters for the TopicIRFilterOption. + AggregationFunctionParameters map[string]*string `type:"map"` + + // The AggregationPartitionBy for the TopicIRFilterOption. + AggregationPartitionBy []*AggregationPartitionBy `type:"list"` + + // The anchor for the TopicIRFilterOption. + Anchor *Anchor `type:"structure"` + + // The constant for the TopicIRFilterOption. + Constant *TopicConstantValue `type:"structure"` + + // The filter class for the TopicIRFilterOption. + FilterClass *string `type:"string" enum:"FilterClass"` + + // The filter type for the TopicIRFilterOption. + FilterType *string `type:"string" enum:"TopicIRFilterType"` + + // The function for the TopicIRFilterOption. + Function *string `type:"string" enum:"TopicIRFilterFunction"` + + // The inclusive for the TopicIRFilterOption. + Inclusive *bool `type:"boolean"` + + // The inverse for the TopicIRFilterOption. + Inverse *bool `type:"boolean"` + + // The last next offset for the TopicIRFilterOption. + LastNextOffset *TopicConstantValue `type:"structure"` + + // The null filter for the TopicIRFilterOption. + NullFilter *string `type:"string" enum:"NullFilterOption"` + + // The operand field for the TopicIRFilterOption. + OperandField *Identifier `type:"structure"` + + // The range for the TopicIRFilterOption. + Range *TopicConstantValue `type:"structure"` + + // The sort direction for the TopicIRFilterOption. + SortDirection *string `type:"string" enum:"TopicSortDirection"` + + // The time granularity for the TopicIRFilterOption. + TimeGranularity *string `type:"string" enum:"TimeGranularity"` + + // The TopBottomLimit for the TopicIRFilterOption. + TopBottomLimit *TopicConstantValue `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 TopicIRFilterOption) 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 TopicIRFilterOption) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TopicIRFilterOption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TopicIRFilterOption"} + if s.AggMetrics != nil { + for i, v := range s.AggMetrics { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AggMetrics", i), err.(request.ErrInvalidParams)) + } + } + } + if s.OperandField != nil { + if err := s.OperandField.Validate(); err != nil { + invalidParams.AddNested("OperandField", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAggMetrics sets the AggMetrics field's value. +func (s *TopicIRFilterOption) SetAggMetrics(v []*FilterAggMetrics) *TopicIRFilterOption { + s.AggMetrics = v + return s +} + +// SetAggregation sets the Aggregation field's value. +func (s *TopicIRFilterOption) SetAggregation(v string) *TopicIRFilterOption { + s.Aggregation = &v + return s +} + +// SetAggregationFunctionParameters sets the AggregationFunctionParameters field's value. +func (s *TopicIRFilterOption) SetAggregationFunctionParameters(v map[string]*string) *TopicIRFilterOption { + s.AggregationFunctionParameters = v + return s +} + +// SetAggregationPartitionBy sets the AggregationPartitionBy field's value. +func (s *TopicIRFilterOption) SetAggregationPartitionBy(v []*AggregationPartitionBy) *TopicIRFilterOption { + s.AggregationPartitionBy = v + return s +} + +// SetAnchor sets the Anchor field's value. +func (s *TopicIRFilterOption) SetAnchor(v *Anchor) *TopicIRFilterOption { + s.Anchor = v + return s +} + +// SetConstant sets the Constant field's value. +func (s *TopicIRFilterOption) SetConstant(v *TopicConstantValue) *TopicIRFilterOption { + s.Constant = v + return s +} + +// SetFilterClass sets the FilterClass field's value. +func (s *TopicIRFilterOption) SetFilterClass(v string) *TopicIRFilterOption { + s.FilterClass = &v + return s +} + +// SetFilterType sets the FilterType field's value. +func (s *TopicIRFilterOption) SetFilterType(v string) *TopicIRFilterOption { + s.FilterType = &v + return s +} + +// SetFunction sets the Function field's value. +func (s *TopicIRFilterOption) SetFunction(v string) *TopicIRFilterOption { + s.Function = &v + return s +} + +// SetInclusive sets the Inclusive field's value. +func (s *TopicIRFilterOption) SetInclusive(v bool) *TopicIRFilterOption { + s.Inclusive = &v + return s +} + +// SetInverse sets the Inverse field's value. +func (s *TopicIRFilterOption) SetInverse(v bool) *TopicIRFilterOption { + s.Inverse = &v + return s +} + +// SetLastNextOffset sets the LastNextOffset field's value. +func (s *TopicIRFilterOption) SetLastNextOffset(v *TopicConstantValue) *TopicIRFilterOption { + s.LastNextOffset = v + return s +} + +// SetNullFilter sets the NullFilter field's value. +func (s *TopicIRFilterOption) SetNullFilter(v string) *TopicIRFilterOption { + s.NullFilter = &v + return s +} + +// SetOperandField sets the OperandField field's value. +func (s *TopicIRFilterOption) SetOperandField(v *Identifier) *TopicIRFilterOption { + s.OperandField = v + return s +} + +// SetRange sets the Range field's value. +func (s *TopicIRFilterOption) SetRange(v *TopicConstantValue) *TopicIRFilterOption { + s.Range = v + return s +} + +// SetSortDirection sets the SortDirection field's value. +func (s *TopicIRFilterOption) SetSortDirection(v string) *TopicIRFilterOption { + s.SortDirection = &v + return s +} + +// SetTimeGranularity sets the TimeGranularity field's value. +func (s *TopicIRFilterOption) SetTimeGranularity(v string) *TopicIRFilterOption { + s.TimeGranularity = &v + return s +} + +// SetTopBottomLimit sets the TopBottomLimit field's value. +func (s *TopicIRFilterOption) SetTopBottomLimit(v *TopicConstantValue) *TopicIRFilterOption { + s.TopBottomLimit = v + return s +} + +// The definition for a TopicIRGroupBy. +type TopicIRGroupBy struct { + _ struct{} `type:"structure"` + + // The display format for the TopicIRGroupBy. + DisplayFormat *string `type:"string" enum:"DisplayFormat"` + + // A structure that represents additional options for display formatting. + DisplayFormatOptions *DisplayFormatOptions `type:"structure"` + + // The field name for the TopicIRGroupBy. + FieldName *Identifier `type:"structure"` + + // The named entity for the TopicIRGroupBy. + NamedEntity *NamedEntityRef `type:"structure"` + + // The sort for the TopicIRGroupBy. + Sort *TopicSortClause `type:"structure"` + + // The time granularity for the TopicIRGroupBy. + TimeGranularity *string `type:"string" enum:"TopicTimeGranularity"` +} + +// 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 TopicIRGroupBy) 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 TopicIRGroupBy) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TopicIRGroupBy) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TopicIRGroupBy"} + if s.FieldName != nil { + if err := s.FieldName.Validate(); err != nil { + invalidParams.AddNested("FieldName", err.(request.ErrInvalidParams)) + } + } + if s.Sort != nil { + if err := s.Sort.Validate(); err != nil { + invalidParams.AddNested("Sort", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayFormat sets the DisplayFormat field's value. +func (s *TopicIRGroupBy) SetDisplayFormat(v string) *TopicIRGroupBy { + s.DisplayFormat = &v + return s +} + +// SetDisplayFormatOptions sets the DisplayFormatOptions field's value. +func (s *TopicIRGroupBy) SetDisplayFormatOptions(v *DisplayFormatOptions) *TopicIRGroupBy { + s.DisplayFormatOptions = v + return s +} + +// SetFieldName sets the FieldName field's value. +func (s *TopicIRGroupBy) SetFieldName(v *Identifier) *TopicIRGroupBy { + s.FieldName = v + return s +} + +// SetNamedEntity sets the NamedEntity field's value. +func (s *TopicIRGroupBy) SetNamedEntity(v *NamedEntityRef) *TopicIRGroupBy { + s.NamedEntity = v + return s +} + +// SetSort sets the Sort field's value. +func (s *TopicIRGroupBy) SetSort(v *TopicSortClause) *TopicIRGroupBy { + s.Sort = v + return s +} + +// SetTimeGranularity sets the TimeGranularity field's value. +func (s *TopicIRGroupBy) SetTimeGranularity(v string) *TopicIRGroupBy { + s.TimeGranularity = &v + return s +} + +// The definition for a TopicIRMetric. +type TopicIRMetric struct { + _ struct{} `type:"structure"` + + // The calculated field references for the TopicIRMetric. + CalculatedFieldReferences []*Identifier `type:"list"` + + // The comparison method for the TopicIRMetric. + ComparisonMethod *TopicIRComparisonMethod `type:"structure"` + + // The display format for the TopicIRMetric. + DisplayFormat *string `type:"string" enum:"DisplayFormat"` + + // A structure that represents additional options for display formatting. + DisplayFormatOptions *DisplayFormatOptions `type:"structure"` + + // The expression for the TopicIRMetric. + // + // Expression is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by TopicIRMetric's + // String and GoString methods. + Expression *string `min:"1" type:"string" sensitive:"true"` + + // The function for the TopicIRMetric. + Function *AggFunction `type:"structure"` + + // The metric ID for the TopicIRMetric. + MetricId *Identifier `type:"structure"` + + // The named entity for the TopicIRMetric. + NamedEntity *NamedEntityRef `type:"structure"` + + // The operands for the TopicIRMetric. + Operands []*Identifier `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 TopicIRMetric) 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 TopicIRMetric) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TopicIRMetric) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TopicIRMetric"} + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) + } + if s.CalculatedFieldReferences != nil { + for i, v := range s.CalculatedFieldReferences { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CalculatedFieldReferences", i), err.(request.ErrInvalidParams)) + } + } + } + if s.MetricId != nil { + if err := s.MetricId.Validate(); err != nil { + invalidParams.AddNested("MetricId", err.(request.ErrInvalidParams)) + } + } + if s.Operands != nil { + for i, v := range s.Operands { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Operands", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCalculatedFieldReferences sets the CalculatedFieldReferences field's value. +func (s *TopicIRMetric) SetCalculatedFieldReferences(v []*Identifier) *TopicIRMetric { + s.CalculatedFieldReferences = v + return s +} + +// SetComparisonMethod sets the ComparisonMethod field's value. +func (s *TopicIRMetric) SetComparisonMethod(v *TopicIRComparisonMethod) *TopicIRMetric { + s.ComparisonMethod = v + return s +} + +// SetDisplayFormat sets the DisplayFormat field's value. +func (s *TopicIRMetric) SetDisplayFormat(v string) *TopicIRMetric { + s.DisplayFormat = &v + return s +} + +// SetDisplayFormatOptions sets the DisplayFormatOptions field's value. +func (s *TopicIRMetric) SetDisplayFormatOptions(v *DisplayFormatOptions) *TopicIRMetric { + s.DisplayFormatOptions = v + return s +} + +// SetExpression sets the Expression field's value. +func (s *TopicIRMetric) SetExpression(v string) *TopicIRMetric { + s.Expression = &v + return s +} + +// SetFunction sets the Function field's value. +func (s *TopicIRMetric) SetFunction(v *AggFunction) *TopicIRMetric { + s.Function = v + return s +} + +// SetMetricId sets the MetricId field's value. +func (s *TopicIRMetric) SetMetricId(v *Identifier) *TopicIRMetric { + s.MetricId = v + return s +} + +// SetNamedEntity sets the NamedEntity field's value. +func (s *TopicIRMetric) SetNamedEntity(v *NamedEntityRef) *TopicIRMetric { + s.NamedEntity = v + return s +} + +// SetOperands sets the Operands field's value. +func (s *TopicIRMetric) SetOperands(v []*Identifier) *TopicIRMetric { + s.Operands = v + return s +} + // A structure that represents a named entity. type TopicNamedEntity struct { _ struct{} `type:"structure"` @@ -97994,6 +100177,98 @@ func (s *TopicRelativeDateFilter) SetTimeGranularity(v string) *TopicRelativeDat return s } +// The deinition for a TopicReviewedAnswer. +type TopicReviewedAnswer struct { + _ struct{} `type:"structure"` + + // The answer ID of the reviewed answer. + // + // AnswerId is a required field + AnswerId *string `type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the reviewed answer. + Arn *string `type:"string"` + + // The Dataset ARN for the TopicReviewedAnswer. + // + // DatasetArn is a required field + DatasetArn *string `type:"string" required:"true"` + + // The mir for the TopicReviewedAnswer. + Mir *TopicIR `type:"structure"` + + // The primary visual for the TopicReviewedAnswer. + PrimaryVisual *TopicVisual `type:"structure"` + + // The question for the TopicReviewedAnswer. + // + // Question is a required field + Question *string `type:"string" required:"true"` + + // The template for the TopicReviewedAnswer. + Template *TopicTemplate `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 TopicReviewedAnswer) 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 TopicReviewedAnswer) GoString() string { + return s.String() +} + +// SetAnswerId sets the AnswerId field's value. +func (s *TopicReviewedAnswer) SetAnswerId(v string) *TopicReviewedAnswer { + s.AnswerId = &v + return s +} + +// SetArn sets the Arn field's value. +func (s *TopicReviewedAnswer) SetArn(v string) *TopicReviewedAnswer { + s.Arn = &v + return s +} + +// SetDatasetArn sets the DatasetArn field's value. +func (s *TopicReviewedAnswer) SetDatasetArn(v string) *TopicReviewedAnswer { + s.DatasetArn = &v + return s +} + +// SetMir sets the Mir field's value. +func (s *TopicReviewedAnswer) SetMir(v *TopicIR) *TopicReviewedAnswer { + s.Mir = v + return s +} + +// SetPrimaryVisual sets the PrimaryVisual field's value. +func (s *TopicReviewedAnswer) SetPrimaryVisual(v *TopicVisual) *TopicReviewedAnswer { + s.PrimaryVisual = v + return s +} + +// SetQuestion sets the Question field's value. +func (s *TopicReviewedAnswer) SetQuestion(v string) *TopicReviewedAnswer { + s.Question = &v + return s +} + +// SetTemplate sets the Template field's value. +func (s *TopicReviewedAnswer) SetTemplate(v *TopicTemplate) *TopicReviewedAnswer { + s.Template = v + return s +} + // A structure that represents a singular filter constant, used in filters to // specify a single value to match against. type TopicSingularFilterConstant struct { @@ -98037,6 +100312,62 @@ func (s *TopicSingularFilterConstant) SetSingularConstant(v string) *TopicSingul return s } +// The definition for a TopicSortClause. +type TopicSortClause struct { + _ struct{} `type:"structure"` + + // The operand for a TopicSortClause. + Operand *Identifier `type:"structure"` + + // The sort direction for the TopicSortClause. + SortDirection *string `type:"string" enum:"TopicSortDirection"` +} + +// 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 TopicSortClause) 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 TopicSortClause) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TopicSortClause) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TopicSortClause"} + if s.Operand != nil { + if err := s.Operand.Validate(); err != nil { + invalidParams.AddNested("Operand", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOperand sets the Operand field's value. +func (s *TopicSortClause) SetOperand(v *Identifier) *TopicSortClause { + s.Operand = v + return s +} + +// SetSortDirection sets the SortDirection field's value. +func (s *TopicSortClause) SetSortDirection(v string) *TopicSortClause { + s.SortDirection = &v + return s +} + // A topic summary. type TopicSummary struct { _ struct{} `type:"structure"` @@ -98097,6 +100428,131 @@ func (s *TopicSummary) SetUserExperienceVersion(v string) *TopicSummary { return s } +// The definition for a TopicTemplate. +type TopicTemplate struct { + _ struct{} `type:"structure"` + + // The slots for the TopicTemplate. + Slots []*Slot `type:"list"` + + // The template type for the TopicTemplate. + TemplateType *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TopicTemplate) 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 TopicTemplate) GoString() string { + return s.String() +} + +// SetSlots sets the Slots field's value. +func (s *TopicTemplate) SetSlots(v []*Slot) *TopicTemplate { + s.Slots = v + return s +} + +// SetTemplateType sets the TemplateType field's value. +func (s *TopicTemplate) SetTemplateType(v string) *TopicTemplate { + s.TemplateType = &v + return s +} + +// The definition for a TopicVisual. +type TopicVisual struct { + _ struct{} `type:"structure"` + + // The ir for the TopicVisual. + Ir *TopicIR `type:"structure"` + + // The role for the TopicVisual. + Role *string `type:"string" enum:"VisualRole"` + + // The supporting visuals for the TopicVisual. + SupportingVisuals []*TopicVisual `type:"list"` + + // The visual ID for the TopicVisual. + VisualId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TopicVisual) 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 TopicVisual) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TopicVisual) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TopicVisual"} + if s.Ir != nil { + if err := s.Ir.Validate(); err != nil { + invalidParams.AddNested("Ir", err.(request.ErrInvalidParams)) + } + } + if s.SupportingVisuals != nil { + for i, v := range s.SupportingVisuals { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportingVisuals", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIr sets the Ir field's value. +func (s *TopicVisual) SetIr(v *TopicIR) *TopicVisual { + s.Ir = v + return s +} + +// SetRole sets the Role field's value. +func (s *TopicVisual) SetRole(v string) *TopicVisual { + s.Role = &v + return s +} + +// SetSupportingVisuals sets the SupportingVisuals field's value. +func (s *TopicVisual) SetSupportingVisuals(v []*TopicVisual) *TopicVisual { + s.SupportingVisuals = v + return s +} + +// SetVisualId sets the VisualId field's value. +func (s *TopicVisual) SetVisualId(v string) *TopicVisual { + s.VisualId = &v + return s +} + // The total aggregation computation configuration. type TotalAggregationComputation struct { _ struct{} `type:"structure"` @@ -107264,6 +109720,38 @@ func (s *VisualMenuOption) SetAvailabilityStatus(v string) *VisualMenuOption { return s } +// The definition for a VisualOptions. +type VisualOptions struct { + _ struct{} `type:"structure"` + + // The type for a VisualOptions. + Type *string `locationName:"type" 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 VisualOptions) 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 VisualOptions) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *VisualOptions) SetType(v string) *VisualOptions { + s.Type = &v + return s +} + // The visual display options for the visual palette. type VisualPalette struct { _ struct{} `type:"structure"` @@ -108798,6 +111286,94 @@ func (s *YAxisOptions) SetYAxis(v string) *YAxisOptions { return s } +const ( + // AggTypeSum is a AggType enum value + AggTypeSum = "SUM" + + // AggTypeMin is a AggType enum value + AggTypeMin = "MIN" + + // AggTypeMax is a AggType enum value + AggTypeMax = "MAX" + + // AggTypeCount is a AggType enum value + AggTypeCount = "COUNT" + + // AggTypeAverage is a AggType enum value + AggTypeAverage = "AVERAGE" + + // AggTypeDistinctCount is a AggType enum value + AggTypeDistinctCount = "DISTINCT_COUNT" + + // AggTypeStdev is a AggType enum value + AggTypeStdev = "STDEV" + + // AggTypeStdevp is a AggType enum value + AggTypeStdevp = "STDEVP" + + // AggTypeVar is a AggType enum value + AggTypeVar = "VAR" + + // AggTypeVarp is a AggType enum value + AggTypeVarp = "VARP" + + // AggTypePercentile is a AggType enum value + AggTypePercentile = "PERCENTILE" + + // AggTypeMedian is a AggType enum value + AggTypeMedian = "MEDIAN" + + // AggTypePtdSum is a AggType enum value + AggTypePtdSum = "PTD_SUM" + + // AggTypePtdMin is a AggType enum value + AggTypePtdMin = "PTD_MIN" + + // AggTypePtdMax is a AggType enum value + AggTypePtdMax = "PTD_MAX" + + // AggTypePtdCount is a AggType enum value + AggTypePtdCount = "PTD_COUNT" + + // AggTypePtdDistinctCount is a AggType enum value + AggTypePtdDistinctCount = "PTD_DISTINCT_COUNT" + + // AggTypePtdAverage is a AggType enum value + AggTypePtdAverage = "PTD_AVERAGE" + + // AggTypeColumn is a AggType enum value + AggTypeColumn = "COLUMN" + + // AggTypeCustom is a AggType enum value + AggTypeCustom = "CUSTOM" +) + +// AggType_Values returns all elements of the AggType enum +func AggType_Values() []string { + return []string{ + AggTypeSum, + AggTypeMin, + AggTypeMax, + AggTypeCount, + AggTypeAverage, + AggTypeDistinctCount, + AggTypeStdev, + AggTypeStdevp, + AggTypeVar, + AggTypeVarp, + AggTypePercentile, + AggTypeMedian, + AggTypePtdSum, + AggTypePtdMin, + AggTypePtdMax, + AggTypePtdCount, + AggTypePtdDistinctCount, + AggTypePtdAverage, + AggTypeColumn, + AggTypeCustom, + } +} + const ( // AnalysisErrorTypeAccessDenied is a AnalysisErrorType enum value AnalysisErrorTypeAccessDenied = "ACCESS_DENIED" @@ -108894,6 +111470,18 @@ func AnchorOption_Values() []string { } } +const ( + // AnchorTypeToday is a AnchorType enum value + AnchorTypeToday = "TODAY" +) + +// AnchorType_Values returns all elements of the AnchorType enum +func AnchorType_Values() []string { + return []string{ + AnchorTypeToday, + } +} + const ( // ArcThicknessSmall is a ArcThickness enum value ArcThicknessSmall = "SMALL" @@ -109622,6 +112210,54 @@ func ComparisonMethod_Values() []string { } } +const ( + // ComparisonMethodTypeDiff is a ComparisonMethodType enum value + ComparisonMethodTypeDiff = "DIFF" + + // ComparisonMethodTypePercDiff is a ComparisonMethodType enum value + ComparisonMethodTypePercDiff = "PERC_DIFF" + + // ComparisonMethodTypeDiffAsPerc is a ComparisonMethodType enum value + ComparisonMethodTypeDiffAsPerc = "DIFF_AS_PERC" + + // ComparisonMethodTypePopCurrentDiffAsPerc is a ComparisonMethodType enum value + ComparisonMethodTypePopCurrentDiffAsPerc = "POP_CURRENT_DIFF_AS_PERC" + + // ComparisonMethodTypePopCurrentDiff is a ComparisonMethodType enum value + ComparisonMethodTypePopCurrentDiff = "POP_CURRENT_DIFF" + + // ComparisonMethodTypePopOvertimeDiffAsPerc is a ComparisonMethodType enum value + ComparisonMethodTypePopOvertimeDiffAsPerc = "POP_OVERTIME_DIFF_AS_PERC" + + // ComparisonMethodTypePopOvertimeDiff is a ComparisonMethodType enum value + ComparisonMethodTypePopOvertimeDiff = "POP_OVERTIME_DIFF" + + // ComparisonMethodTypePercentOfTotal is a ComparisonMethodType enum value + ComparisonMethodTypePercentOfTotal = "PERCENT_OF_TOTAL" + + // ComparisonMethodTypeRunningSum is a ComparisonMethodType enum value + ComparisonMethodTypeRunningSum = "RUNNING_SUM" + + // ComparisonMethodTypeMovingAverage is a ComparisonMethodType enum value + ComparisonMethodTypeMovingAverage = "MOVING_AVERAGE" +) + +// ComparisonMethodType_Values returns all elements of the ComparisonMethodType enum +func ComparisonMethodType_Values() []string { + return []string{ + ComparisonMethodTypeDiff, + ComparisonMethodTypePercDiff, + ComparisonMethodTypeDiffAsPerc, + ComparisonMethodTypePopCurrentDiffAsPerc, + ComparisonMethodTypePopCurrentDiff, + ComparisonMethodTypePopOvertimeDiffAsPerc, + ComparisonMethodTypePopOvertimeDiff, + ComparisonMethodTypePercentOfTotal, + ComparisonMethodTypeRunningSum, + ComparisonMethodTypeMovingAverage, + } +} + const ( // ConditionalFormattingIconDisplayOptionIconOnly is a ConditionalFormattingIconDisplayOption enum value ConditionalFormattingIconDisplayOptionIconOnly = "ICON_ONLY" @@ -109706,6 +112342,50 @@ func ConstantType_Values() []string { } } +const ( + // ContributionAnalysisDirectionIncrease is a ContributionAnalysisDirection enum value + ContributionAnalysisDirectionIncrease = "INCREASE" + + // ContributionAnalysisDirectionDecrease is a ContributionAnalysisDirection enum value + ContributionAnalysisDirectionDecrease = "DECREASE" + + // ContributionAnalysisDirectionNeutral is a ContributionAnalysisDirection enum value + ContributionAnalysisDirectionNeutral = "NEUTRAL" +) + +// ContributionAnalysisDirection_Values returns all elements of the ContributionAnalysisDirection enum +func ContributionAnalysisDirection_Values() []string { + return []string{ + ContributionAnalysisDirectionIncrease, + ContributionAnalysisDirectionDecrease, + ContributionAnalysisDirectionNeutral, + } +} + +const ( + // ContributionAnalysisSortTypeAbsoluteDifference is a ContributionAnalysisSortType enum value + ContributionAnalysisSortTypeAbsoluteDifference = "ABSOLUTE_DIFFERENCE" + + // ContributionAnalysisSortTypeContributionPercentage is a ContributionAnalysisSortType enum value + ContributionAnalysisSortTypeContributionPercentage = "CONTRIBUTION_PERCENTAGE" + + // ContributionAnalysisSortTypeDeviationFromExpected is a ContributionAnalysisSortType enum value + ContributionAnalysisSortTypeDeviationFromExpected = "DEVIATION_FROM_EXPECTED" + + // ContributionAnalysisSortTypePercentageDifference is a ContributionAnalysisSortType enum value + ContributionAnalysisSortTypePercentageDifference = "PERCENTAGE_DIFFERENCE" +) + +// ContributionAnalysisSortType_Values returns all elements of the ContributionAnalysisSortType enum +func ContributionAnalysisSortType_Values() []string { + return []string{ + ContributionAnalysisSortTypeAbsoluteDifference, + ContributionAnalysisSortTypeContributionPercentage, + ContributionAnalysisSortTypeDeviationFromExpected, + ContributionAnalysisSortTypePercentageDifference, + } +} + const ( // CrossDatasetTypesAllDatasets is a CrossDatasetTypes enum value CrossDatasetTypesAllDatasets = "ALL_DATASETS" @@ -111848,6 +114528,26 @@ func NetworkInterfaceStatus_Values() []string { } } +const ( + // NullFilterOptionAllValues is a NullFilterOption enum value + NullFilterOptionAllValues = "ALL_VALUES" + + // NullFilterOptionNonNullsOnly is a NullFilterOption enum value + NullFilterOptionNonNullsOnly = "NON_NULLS_ONLY" + + // NullFilterOptionNullsOnly is a NullFilterOption enum value + NullFilterOptionNullsOnly = "NULLS_ONLY" +) + +// NullFilterOption_Values returns all elements of the NullFilterOption enum +func NullFilterOption_Values() []string { + return []string{ + NullFilterOptionAllValues, + NullFilterOptionNonNullsOnly, + NullFilterOptionNullsOnly, + } +} + const ( // NumberScaleNone is a NumberScale enum value NumberScaleNone = "NONE" @@ -112496,6 +115196,42 @@ func ResourceStatus_Values() []string { } } +const ( + // ReviewedAnswerErrorCodeInternalError is a ReviewedAnswerErrorCode enum value + ReviewedAnswerErrorCodeInternalError = "INTERNAL_ERROR" + + // ReviewedAnswerErrorCodeMissingAnswer is a ReviewedAnswerErrorCode enum value + ReviewedAnswerErrorCodeMissingAnswer = "MISSING_ANSWER" + + // ReviewedAnswerErrorCodeDatasetDoesNotExist is a ReviewedAnswerErrorCode enum value + ReviewedAnswerErrorCodeDatasetDoesNotExist = "DATASET_DOES_NOT_EXIST" + + // ReviewedAnswerErrorCodeInvalidDatasetArn is a ReviewedAnswerErrorCode enum value + ReviewedAnswerErrorCodeInvalidDatasetArn = "INVALID_DATASET_ARN" + + // ReviewedAnswerErrorCodeDuplicatedAnswer is a ReviewedAnswerErrorCode enum value + ReviewedAnswerErrorCodeDuplicatedAnswer = "DUPLICATED_ANSWER" + + // ReviewedAnswerErrorCodeInvalidData is a ReviewedAnswerErrorCode enum value + ReviewedAnswerErrorCodeInvalidData = "INVALID_DATA" + + // ReviewedAnswerErrorCodeMissingRequiredFields is a ReviewedAnswerErrorCode enum value + ReviewedAnswerErrorCodeMissingRequiredFields = "MISSING_REQUIRED_FIELDS" +) + +// ReviewedAnswerErrorCode_Values returns all elements of the ReviewedAnswerErrorCode enum +func ReviewedAnswerErrorCode_Values() []string { + return []string{ + ReviewedAnswerErrorCodeInternalError, + ReviewedAnswerErrorCodeMissingAnswer, + ReviewedAnswerErrorCodeDatasetDoesNotExist, + ReviewedAnswerErrorCodeInvalidDatasetArn, + ReviewedAnswerErrorCodeDuplicatedAnswer, + ReviewedAnswerErrorCodeInvalidData, + ReviewedAnswerErrorCodeMissingRequiredFields, + } +} + const ( // RoleAdmin is a Role enum value RoleAdmin = "ADMIN" @@ -113308,6 +116044,98 @@ func TopBottomSortOrder_Values() []string { } } +const ( + // TopicIRFilterFunctionContains is a TopicIRFilterFunction enum value + TopicIRFilterFunctionContains = "CONTAINS" + + // TopicIRFilterFunctionExact is a TopicIRFilterFunction enum value + TopicIRFilterFunctionExact = "EXACT" + + // TopicIRFilterFunctionStartsWith is a TopicIRFilterFunction enum value + TopicIRFilterFunctionStartsWith = "STARTS_WITH" + + // TopicIRFilterFunctionEndsWith is a TopicIRFilterFunction enum value + TopicIRFilterFunctionEndsWith = "ENDS_WITH" + + // TopicIRFilterFunctionContainsString is a TopicIRFilterFunction enum value + TopicIRFilterFunctionContainsString = "CONTAINS_STRING" + + // TopicIRFilterFunctionPrevious is a TopicIRFilterFunction enum value + TopicIRFilterFunctionPrevious = "PREVIOUS" + + // TopicIRFilterFunctionThis is a TopicIRFilterFunction enum value + TopicIRFilterFunctionThis = "THIS" + + // TopicIRFilterFunctionLast is a TopicIRFilterFunction enum value + TopicIRFilterFunctionLast = "LAST" + + // TopicIRFilterFunctionNext is a TopicIRFilterFunction enum value + TopicIRFilterFunctionNext = "NEXT" + + // TopicIRFilterFunctionNow is a TopicIRFilterFunction enum value + TopicIRFilterFunctionNow = "NOW" +) + +// TopicIRFilterFunction_Values returns all elements of the TopicIRFilterFunction enum +func TopicIRFilterFunction_Values() []string { + return []string{ + TopicIRFilterFunctionContains, + TopicIRFilterFunctionExact, + TopicIRFilterFunctionStartsWith, + TopicIRFilterFunctionEndsWith, + TopicIRFilterFunctionContainsString, + TopicIRFilterFunctionPrevious, + TopicIRFilterFunctionThis, + TopicIRFilterFunctionLast, + TopicIRFilterFunctionNext, + TopicIRFilterFunctionNow, + } +} + +const ( + // TopicIRFilterTypeCategoryFilter is a TopicIRFilterType enum value + TopicIRFilterTypeCategoryFilter = "CATEGORY_FILTER" + + // TopicIRFilterTypeNumericEqualityFilter is a TopicIRFilterType enum value + TopicIRFilterTypeNumericEqualityFilter = "NUMERIC_EQUALITY_FILTER" + + // TopicIRFilterTypeNumericRangeFilter is a TopicIRFilterType enum value + TopicIRFilterTypeNumericRangeFilter = "NUMERIC_RANGE_FILTER" + + // TopicIRFilterTypeDateRangeFilter is a TopicIRFilterType enum value + TopicIRFilterTypeDateRangeFilter = "DATE_RANGE_FILTER" + + // TopicIRFilterTypeRelativeDateFilter is a TopicIRFilterType enum value + TopicIRFilterTypeRelativeDateFilter = "RELATIVE_DATE_FILTER" + + // TopicIRFilterTypeTopBottomFilter is a TopicIRFilterType enum value + TopicIRFilterTypeTopBottomFilter = "TOP_BOTTOM_FILTER" + + // TopicIRFilterTypeEquals is a TopicIRFilterType enum value + TopicIRFilterTypeEquals = "EQUALS" + + // TopicIRFilterTypeRankLimitFilter is a TopicIRFilterType enum value + TopicIRFilterTypeRankLimitFilter = "RANK_LIMIT_FILTER" + + // TopicIRFilterTypeAcceptAllFilter is a TopicIRFilterType enum value + TopicIRFilterTypeAcceptAllFilter = "ACCEPT_ALL_FILTER" +) + +// TopicIRFilterType_Values returns all elements of the TopicIRFilterType enum +func TopicIRFilterType_Values() []string { + return []string{ + TopicIRFilterTypeCategoryFilter, + TopicIRFilterTypeNumericEqualityFilter, + TopicIRFilterTypeNumericRangeFilter, + TopicIRFilterTypeDateRangeFilter, + TopicIRFilterTypeRelativeDateFilter, + TopicIRFilterTypeTopBottomFilter, + TopicIRFilterTypeEquals, + TopicIRFilterTypeRankLimitFilter, + TopicIRFilterTypeAcceptAllFilter, + } +} + const ( // TopicNumericSeparatorSymbolComma is a TopicNumericSeparatorSymbol enum value TopicNumericSeparatorSymbolComma = "COMMA" @@ -113404,6 +116232,22 @@ func TopicScheduleType_Values() []string { } } +const ( + // TopicSortDirectionAscending is a TopicSortDirection enum value + TopicSortDirectionAscending = "ASCENDING" + + // TopicSortDirectionDescending is a TopicSortDirection enum value + TopicSortDirectionDescending = "DESCENDING" +) + +// TopicSortDirection_Values returns all elements of the TopicSortDirection enum +func TopicSortDirection_Values() []string { + return []string{ + TopicSortDirectionAscending, + TopicSortDirectionDescending, + } +} + const ( // TopicTimeGranularitySecond is a TopicTimeGranularity enum value TopicTimeGranularitySecond = "SECOND" @@ -113688,6 +116532,34 @@ func VisualCustomActionTrigger_Values() []string { } } +const ( + // VisualRolePrimary is a VisualRole enum value + VisualRolePrimary = "PRIMARY" + + // VisualRoleComplimentary is a VisualRole enum value + VisualRoleComplimentary = "COMPLIMENTARY" + + // VisualRoleMultiIntent is a VisualRole enum value + VisualRoleMultiIntent = "MULTI_INTENT" + + // VisualRoleFallback is a VisualRole enum value + VisualRoleFallback = "FALLBACK" + + // VisualRoleFragment is a VisualRole enum value + VisualRoleFragment = "FRAGMENT" +) + +// VisualRole_Values returns all elements of the VisualRole enum +func VisualRole_Values() []string { + return []string{ + VisualRolePrimary, + VisualRoleComplimentary, + VisualRoleMultiIntent, + VisualRoleFallback, + VisualRoleFragment, + } +} + const ( // WidgetStatusEnabled is a WidgetStatus enum value WidgetStatusEnabled = "ENABLED" diff --git a/service/quicksight/quicksightiface/interface.go b/service/quicksight/quicksightiface/interface.go index d67c3e264bc..3720ab036b5 100644 --- a/service/quicksight/quicksightiface/interface.go +++ b/service/quicksight/quicksightiface/interface.go @@ -26,7 +26,7 @@ import ( // // myFunc uses an SDK service client to make a request to // // Amazon QuickSight. // func myFunc(svc quicksightiface.QuickSightAPI) bool { -// // Make svc.CancelIngestion request +// // Make svc.BatchCreateTopicReviewedAnswer request // } // // func main() { @@ -42,7 +42,7 @@ import ( // type mockQuickSightClient struct { // quicksightiface.QuickSightAPI // } -// func (m *mockQuickSightClient) CancelIngestion(input *quicksight.CancelIngestionInput) (*quicksight.CancelIngestionOutput, error) { +// func (m *mockQuickSightClient) BatchCreateTopicReviewedAnswer(input *quicksight.BatchCreateTopicReviewedAnswerInput) (*quicksight.BatchCreateTopicReviewedAnswerOutput, error) { // // mock response/functionality // } // @@ -60,6 +60,14 @@ import ( // and waiters. Its suggested to use the pattern above for testing, or using // tooling to generate mocks to satisfy the interfaces. type QuickSightAPI interface { + BatchCreateTopicReviewedAnswer(*quicksight.BatchCreateTopicReviewedAnswerInput) (*quicksight.BatchCreateTopicReviewedAnswerOutput, error) + BatchCreateTopicReviewedAnswerWithContext(aws.Context, *quicksight.BatchCreateTopicReviewedAnswerInput, ...request.Option) (*quicksight.BatchCreateTopicReviewedAnswerOutput, error) + BatchCreateTopicReviewedAnswerRequest(*quicksight.BatchCreateTopicReviewedAnswerInput) (*request.Request, *quicksight.BatchCreateTopicReviewedAnswerOutput) + + BatchDeleteTopicReviewedAnswer(*quicksight.BatchDeleteTopicReviewedAnswerInput) (*quicksight.BatchDeleteTopicReviewedAnswerOutput, error) + BatchDeleteTopicReviewedAnswerWithContext(aws.Context, *quicksight.BatchDeleteTopicReviewedAnswerInput, ...request.Option) (*quicksight.BatchDeleteTopicReviewedAnswerOutput, error) + BatchDeleteTopicReviewedAnswerRequest(*quicksight.BatchDeleteTopicReviewedAnswerInput) (*request.Request, *quicksight.BatchDeleteTopicReviewedAnswerOutput) + CancelIngestion(*quicksight.CancelIngestionInput) (*quicksight.CancelIngestionOutput, error) CancelIngestionWithContext(aws.Context, *quicksight.CancelIngestionInput, ...request.Option) (*quicksight.CancelIngestionOutput, error) CancelIngestionRequest(*quicksight.CancelIngestionInput) (*request.Request, *quicksight.CancelIngestionOutput) @@ -617,6 +625,10 @@ type QuickSightAPI interface { ListTopicRefreshSchedulesWithContext(aws.Context, *quicksight.ListTopicRefreshSchedulesInput, ...request.Option) (*quicksight.ListTopicRefreshSchedulesOutput, error) ListTopicRefreshSchedulesRequest(*quicksight.ListTopicRefreshSchedulesInput) (*request.Request, *quicksight.ListTopicRefreshSchedulesOutput) + ListTopicReviewedAnswers(*quicksight.ListTopicReviewedAnswersInput) (*quicksight.ListTopicReviewedAnswersOutput, error) + ListTopicReviewedAnswersWithContext(aws.Context, *quicksight.ListTopicReviewedAnswersInput, ...request.Option) (*quicksight.ListTopicReviewedAnswersOutput, error) + ListTopicReviewedAnswersRequest(*quicksight.ListTopicReviewedAnswersInput) (*request.Request, *quicksight.ListTopicReviewedAnswersOutput) + ListTopics(*quicksight.ListTopicsInput) (*quicksight.ListTopicsOutput, error) ListTopicsWithContext(aws.Context, *quicksight.ListTopicsInput, ...request.Option) (*quicksight.ListTopicsOutput, error) ListTopicsRequest(*quicksight.ListTopicsInput) (*request.Request, *quicksight.ListTopicsOutput)