From a159bf8059191f15f3b37ae2cef736ff5a4724da Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Tue, 8 Nov 2022 19:26:12 +0000 Subject: [PATCH] Release v1.44.133 (2022-11-08) === ### Service Client Updates * `service/acm`: Updates service API and documentation * Support added for requesting elliptic curve certificate key algorithm types P-256 (EC_prime256v1) and P-384 (EC_secp384r1). * `service/billingconductor`: Updates service API, documentation, and paginators * `service/ec2`: Updates service API and documentation * This release enables sharing of EC2 Placement Groups across accounts and within AWS Organizations using Resource Access Manager * `service/fms`: Updates service API and documentation * `service/lightsail`: Updates service API and documentation * This release adds support for Amazon Lightsail to automate the delegation of domains registered through Amazon Route 53 to Lightsail DNS management and to automate record creation for DNS validation of Lightsail SSL/TLS certificates. * `service/opensearch`: Updates service API and documentation * `service/polly`: Updates service API * Amazon Polly adds new voices: Elin (sv-SE), Ida (nb-NO), Laura (nl-NL) and Suvi (fi-FI). They are available as neural voices only. * `service/resource-explorer-2`: Adds new service * `service/route53`: Updates service API and documentation * Amazon Route 53 now supports the Europe (Zurich) Region (eu-central-2) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region. --- CHANGELOG.md | 19 + aws/endpoints/defaults.go | 289 + aws/version.go | 2 +- models/apis/acm/2015-12-08/api-2.json | 19 +- models/apis/acm/2015-12-08/docs-2.json | 12 +- .../acm/2015-12-08/endpoint-rule-set-1.json | 340 ++ .../apis/acm/2015-12-08/endpoint-tests-1.json | 1799 ++++++ .../billingconductor/2021-07-30/api-2.json | 120 +- .../billingconductor/2021-07-30/docs-2.json | 195 +- .../2021-07-30/endpoint-rule-set-1.json | 591 ++ .../2021-07-30/endpoint-tests-1.json | 65 + .../2021-07-30/paginators-1.json | 6 + models/apis/ec2/2016-11-15/api-2.json | 14 +- models/apis/ec2/2016-11-15/docs-2.json | 4 + models/apis/fms/2018-01-01/api-2.json | 381 +- models/apis/fms/2018-01-01/docs-2.json | 237 +- models/apis/lightsail/2016-11-28/api-2.json | 87 +- models/apis/lightsail/2016-11-28/docs-2.json | 96 +- .../2016-11-28/endpoint-rule-set-1.json | 315 + .../2016-11-28/endpoint-tests-1.json | 771 +++ models/apis/opensearch/2021-01-01/api-2.json | 437 ++ models/apis/opensearch/2021-01-01/docs-2.json | 1480 +++-- .../2021-01-01/endpoint-rule-set-1.json | 315 + .../2021-01-01/endpoint-tests-1.json | 1799 ++++++ models/apis/polly/2016-06-10/api-2.json | 6 +- .../polly/2016-06-10/endpoint-rule-set-1.json | 315 + .../polly/2016-06-10/endpoint-tests-1.json | 1135 ++++ .../resource-explorer-2/2022-07-28/api-2.json | 1541 +++++ .../2022-07-28/docs-2.json | 609 ++ .../2022-07-28/endpoint-rule-set-1.json | 248 + .../2022-07-28/endpoint-tests-1.json | 1175 ++++ .../2022-07-28/examples-1.json | 5 + .../2022-07-28/paginators-1.json | 28 + models/apis/route53/2013-04-01/api-2.json | 4 + models/apis/route53/2013-04-01/docs-2.json | 6 +- .../2013-04-01/endpoint-rule-set-1.json | 1437 +++++ .../route53/2013-04-01/endpoint-tests-1.json | 153 + models/endpoints/endpoints.json | 241 +- service/acm/api.go | 42 +- service/billingconductor/api.go | 691 ++- .../billingconductoriface/interface.go | 7 + service/billingconductor/doc.go | 8 +- service/ec2/api.go | 39 + service/fms/api.go | 2351 +++++++- service/fms/fmsiface/interface.go | 32 + service/lightsail/api.go | 489 +- service/lightsail/doc.go | 5 +- service/opensearchservice/api.go | 5093 +++++++++++----- service/opensearchservice/doc.go | 13 +- .../opensearchserviceiface/interface.go | 36 + service/polly/api.go | 16 + service/resourceexplorer2/api.go | 5372 +++++++++++++++++ service/resourceexplorer2/doc.go | 67 + service/resourceexplorer2/errors.go | 76 + .../resourceexplorer2iface/interface.go | 152 + service/resourceexplorer2/service.go | 106 + service/route53/api.go | 23 +- service/route53/doc.go | 12 + service/route53/errors.go | 4 + 59 files changed, 28374 insertions(+), 2556 deletions(-) create mode 100644 models/apis/acm/2015-12-08/endpoint-rule-set-1.json create mode 100644 models/apis/acm/2015-12-08/endpoint-tests-1.json create mode 100644 models/apis/billingconductor/2021-07-30/endpoint-rule-set-1.json create mode 100644 models/apis/billingconductor/2021-07-30/endpoint-tests-1.json create mode 100644 models/apis/lightsail/2016-11-28/endpoint-rule-set-1.json create mode 100644 models/apis/lightsail/2016-11-28/endpoint-tests-1.json create mode 100644 models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json create mode 100644 models/apis/opensearch/2021-01-01/endpoint-tests-1.json create mode 100644 models/apis/polly/2016-06-10/endpoint-rule-set-1.json create mode 100644 models/apis/polly/2016-06-10/endpoint-tests-1.json create mode 100644 models/apis/resource-explorer-2/2022-07-28/api-2.json create mode 100644 models/apis/resource-explorer-2/2022-07-28/docs-2.json create mode 100644 models/apis/resource-explorer-2/2022-07-28/endpoint-rule-set-1.json create mode 100644 models/apis/resource-explorer-2/2022-07-28/endpoint-tests-1.json create mode 100644 models/apis/resource-explorer-2/2022-07-28/examples-1.json create mode 100644 models/apis/resource-explorer-2/2022-07-28/paginators-1.json create mode 100644 models/apis/route53/2013-04-01/endpoint-rule-set-1.json create mode 100644 models/apis/route53/2013-04-01/endpoint-tests-1.json create mode 100644 service/resourceexplorer2/api.go create mode 100644 service/resourceexplorer2/doc.go create mode 100644 service/resourceexplorer2/errors.go create mode 100644 service/resourceexplorer2/resourceexplorer2iface/interface.go create mode 100644 service/resourceexplorer2/service.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 92a2fc9c75..8a163ac236 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +Release v1.44.133 (2022-11-08) +=== + +### Service Client Updates +* `service/acm`: Updates service API and documentation + * Support added for requesting elliptic curve certificate key algorithm types P-256 (EC_prime256v1) and P-384 (EC_secp384r1). +* `service/billingconductor`: Updates service API, documentation, and paginators +* `service/ec2`: Updates service API and documentation + * This release enables sharing of EC2 Placement Groups across accounts and within AWS Organizations using Resource Access Manager +* `service/fms`: Updates service API and documentation +* `service/lightsail`: Updates service API and documentation + * This release adds support for Amazon Lightsail to automate the delegation of domains registered through Amazon Route 53 to Lightsail DNS management and to automate record creation for DNS validation of Lightsail SSL/TLS certificates. +* `service/opensearch`: Updates service API and documentation +* `service/polly`: Updates service API + * Amazon Polly adds new voices: Elin (sv-SE), Ida (nb-NO), Laura (nl-NL) and Suvi (fi-FI). They are available as neural voices only. +* `service/resource-explorer-2`: Adds new service +* `service/route53`: Updates service API and documentation + * Amazon Route 53 now supports the Europe (Zurich) Region (eu-central-2) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region. + Release v1.44.132 (2022-11-07) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 340e4c26b4..12ba30a12b 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -3047,51 +3047,147 @@ var awsPartition = partition{ endpointKey{ Region: "af-south-1", }: endpoint{}, + endpointKey{ + Region: "af-south-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.af-south-1.api.aws", + }, endpointKey{ Region: "ap-east-1", }: endpoint{}, + endpointKey{ + Region: "ap-east-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.ap-east-1.api.aws", + }, endpointKey{ Region: "ap-northeast-1", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.ap-northeast-1.api.aws", + }, endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-2", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.ap-northeast-2.api.aws", + }, endpointKey{ Region: "ap-northeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.ap-northeast-3.api.aws", + }, endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.ap-south-1.api.aws", + }, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.ap-southeast-1.api.aws", + }, endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-2", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.ap-southeast-2.api.aws", + }, endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.ap-southeast-3.api.aws", + }, endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.ca-central-1.api.aws", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, + endpointKey{ + Region: "eu-central-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.eu-central-1.api.aws", + }, endpointKey{ Region: "eu-north-1", }: endpoint{}, + endpointKey{ + Region: "eu-north-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.eu-north-1.api.aws", + }, endpointKey{ Region: "eu-south-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.eu-south-1.api.aws", + }, endpointKey{ Region: "eu-west-1", }: endpoint{}, + endpointKey{ + Region: "eu-west-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.eu-west-1.api.aws", + }, endpointKey{ Region: "eu-west-2", }: endpoint{}, + endpointKey{ + Region: "eu-west-2", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.eu-west-2.api.aws", + }, endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "eu-west-3", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.eu-west-3.api.aws", + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -3131,12 +3227,30 @@ var awsPartition = partition{ endpointKey{ Region: "me-south-1", }: endpoint{}, + endpointKey{ + Region: "me-south-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.me-south-1.api.aws", + }, endpointKey{ Region: "sa-east-1", }: endpoint{}, + endpointKey{ + Region: "sa-east-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.sa-east-1.api.aws", + }, endpointKey{ Region: "us-east-1", }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.us-east-1.api.aws", + }, endpointKey{ Region: "us-east-1", Variant: fipsVariant, @@ -3146,6 +3260,12 @@ var awsPartition = partition{ endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.us-east-2.api.aws", + }, endpointKey{ Region: "us-east-2", Variant: fipsVariant, @@ -3155,6 +3275,12 @@ var awsPartition = partition{ endpointKey{ Region: "us-west-1", }: endpoint{}, + endpointKey{ + Region: "us-west-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.us-west-1.api.aws", + }, endpointKey{ Region: "us-west-1", Variant: fipsVariant, @@ -3164,6 +3290,12 @@ var awsPartition = partition{ endpointKey{ Region: "us-west-2", }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "athena.us-west-2.api.aws", + }, endpointKey{ Region: "us-west-2", Variant: fipsVariant, @@ -19224,6 +19356,114 @@ var awsPartition = partition{ }: endpoint{}, }, }, + "resource-explorer-2": service{ + Defaults: endpointDefaults{ + defaultKey{}: endpoint{}, + defaultKey{ + Variant: fipsVariant, + }: endpoint{ + Hostname: "{service}-fips.{region}.{dnsSuffix}", + DNSSuffix: "api.aws", + }, + }, + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{ + Hostname: "resource-explorer-2.af-south-1.api.aws", + }, + endpointKey{ + Region: "ap-east-1", + }: endpoint{ + Hostname: "resource-explorer-2.ap-east-1.api.aws", + }, + endpointKey{ + Region: "ap-northeast-1", + }: endpoint{ + Hostname: "resource-explorer-2.ap-northeast-1.api.aws", + }, + endpointKey{ + Region: "ap-northeast-2", + }: endpoint{ + Hostname: "resource-explorer-2.ap-northeast-2.api.aws", + }, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{ + Hostname: "resource-explorer-2.ap-northeast-3.api.aws", + }, + endpointKey{ + Region: "ap-south-1", + }: endpoint{ + Hostname: "resource-explorer-2.ap-south-1.api.aws", + }, + endpointKey{ + Region: "ap-southeast-1", + }: endpoint{ + Hostname: "resource-explorer-2.ap-southeast-1.api.aws", + }, + endpointKey{ + Region: "ap-southeast-2", + }: endpoint{ + Hostname: "resource-explorer-2.ap-southeast-2.api.aws", + }, + endpointKey{ + Region: "ca-central-1", + }: endpoint{ + Hostname: "resource-explorer-2.ca-central-1.api.aws", + }, + endpointKey{ + Region: "eu-central-1", + }: endpoint{ + Hostname: "resource-explorer-2.eu-central-1.api.aws", + }, + endpointKey{ + Region: "eu-north-1", + }: endpoint{ + Hostname: "resource-explorer-2.eu-north-1.api.aws", + }, + endpointKey{ + Region: "eu-west-1", + }: endpoint{ + Hostname: "resource-explorer-2.eu-west-1.api.aws", + }, + endpointKey{ + Region: "eu-west-2", + }: endpoint{ + Hostname: "resource-explorer-2.eu-west-2.api.aws", + }, + endpointKey{ + Region: "eu-west-3", + }: endpoint{ + Hostname: "resource-explorer-2.eu-west-3.api.aws", + }, + endpointKey{ + Region: "sa-east-1", + }: endpoint{ + Hostname: "resource-explorer-2.sa-east-1.api.aws", + }, + endpointKey{ + Region: "us-east-1", + }: endpoint{ + Hostname: "resource-explorer-2.us-east-1.api.aws", + }, + endpointKey{ + Region: "us-east-2", + }: endpoint{ + Hostname: "resource-explorer-2.us-east-2.api.aws", + }, + endpointKey{ + Region: "us-west-1", + }: endpoint{ + Hostname: "resource-explorer-2.us-west-1.api.aws", + }, + endpointKey{ + Region: "us-west-2", + }: endpoint{ + Hostname: "resource-explorer-2.us-west-2.api.aws", + }, + }, + }, "resource-groups": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -24325,6 +24565,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -27400,6 +27643,29 @@ var awscnPartition = partition{ }: endpoint{}, }, }, + "resource-explorer-2": service{ + Defaults: endpointDefaults{ + defaultKey{}: endpoint{}, + defaultKey{ + Variant: fipsVariant, + }: endpoint{ + Hostname: "{service}-fips.{region}.{dnsSuffix}", + DNSSuffix: "api.amazonwebservices.com.cn", + }, + }, + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "cn-north-1", + }: endpoint{ + Hostname: "resource-explorer-2.cn-north-1.api.amazonwebservices.com.cn", + }, + endpointKey{ + Region: "cn-northwest-1", + }: endpoint{ + Hostname: "resource-explorer-2.cn-northwest-1.api.amazonwebservices.com.cn", + }, + }, + }, "resource-groups": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -31567,6 +31833,29 @@ var awsusgovPartition = partition{ }, }, }, + "resource-explorer-2": service{ + Defaults: endpointDefaults{ + defaultKey{}: endpoint{}, + defaultKey{ + Variant: fipsVariant, + }: endpoint{ + Hostname: "{service}-fips.{region}.{dnsSuffix}", + DNSSuffix: "api.aws", + }, + }, + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-gov-east-1", + }: endpoint{ + Hostname: "resource-explorer-2.us-gov-east-1.api.aws", + }, + endpointKey{ + Region: "us-gov-west-1", + }: endpoint{ + Hostname: "resource-explorer-2.us-gov-west-1.api.aws", + }, + }, + }, "resource-groups": service{ Defaults: endpointDefaults{ defaultKey{}: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 011925b5bb..5e19433470 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.132" +const SDKVersion = "1.44.133" diff --git a/models/apis/acm/2015-12-08/api-2.json b/models/apis/acm/2015-12-08/api-2.json index 55d62fb732..a395cf4858 100644 --- a/models/apis/acm/2015-12-08/api-2.json +++ b/models/apis/acm/2015-12-08/api-2.json @@ -40,6 +40,9 @@ "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ResourceInUseException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, {"shape":"InvalidArnException"} ] }, @@ -123,7 +126,8 @@ "input":{"shape":"ListCertificatesRequest"}, "output":{"shape":"ListCertificatesResponse"}, "errors":[ - {"shape":"InvalidArgsException"} + {"shape":"InvalidArgsException"}, + {"shape":"ValidationException"} ] }, "ListTagsForCertificate":{ @@ -252,7 +256,7 @@ "type":"string", "max":2048, "min":20, - "pattern":"arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]+:[\\w+=,.@-]+(/[\\w+=,.@-]+)*" + "pattern":"arn:[\\w+=/,.@-]+:acm:[\\w+=/,.@-]*:[0-9]+:[\\w+=,.@-]+(/[\\w+=,.@-]+)*" }, "AvailabilityErrorMessage":{"type":"string"}, "CertificateBody":{ @@ -752,6 +756,12 @@ "min":4, "sensitive":true }, + "PcaArn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"arn:[\\w+=/,.@-]+:acm-pca:[\\w+=/,.@-]*:[0-9]+:[\\w+=,.@-]+(/[\\w+=,.@-]+)*" + }, "PositiveInteger":{ "type":"integer", "min":1 @@ -839,8 +849,9 @@ "IdempotencyToken":{"shape":"IdempotencyToken"}, "DomainValidationOptions":{"shape":"DomainValidationOptionList"}, "Options":{"shape":"CertificateOptions"}, - "CertificateAuthorityArn":{"shape":"Arn"}, - "Tags":{"shape":"TagList"} + "CertificateAuthorityArn":{"shape":"PcaArn"}, + "Tags":{"shape":"TagList"}, + "KeyAlgorithm":{"shape":"KeyAlgorithm"} } }, "RequestCertificateResponse":{ diff --git a/models/apis/acm/2015-12-08/docs-2.json b/models/apis/acm/2015-12-08/docs-2.json index e8571b6e4a..61d0a65f1f 100644 --- a/models/apis/acm/2015-12-08/docs-2.json +++ b/models/apis/acm/2015-12-08/docs-2.json @@ -13,7 +13,7 @@ "ListTagsForCertificate": "

Lists the tags that have been applied to the ACM certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate, use the AddTagsToCertificate action. To delete a tag, use the RemoveTagsFromCertificate action.

", "PutAccountConfiguration": "

Adds or modifies account-level configurations in ACM.

The supported configuration option is DaysBeforeExpiry. This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.

", "RemoveTagsFromCertificate": "

Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value.

To add tags to a certificate, use the AddTagsToCertificate action. To view all of the tags that have been applied to a specific ACM certificate, use the ListTagsForCertificate action.

", - "RenewCertificate": "

Renews an eligible ACM certificate. At this time, only exported private certificates can be renewed with this operation. In order to renew your ACM Private CA certificates with ACM, you must first grant the ACM service principal permission to do so. For more information, see Testing Managed Renewal in the ACM User Guide.

", + "RenewCertificate": "

Renews an eligible ACM certificate. At this time, only exported private certificates can be renewed with this operation. In order to renew your Amazon Web Services Private CA certificates with ACM, you must first grant the ACM service principal permission to do so. For more information, see Testing Managed Renewal in the ACM User Guide.

", "RequestCertificate": "

Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM certificate, you must specify a fully qualified domain name (FQDN) in the DomainName parameter. You can also specify additional FQDNs in the SubjectAlternativeNames parameter.

If you are requesting a private certificate, domain validation is not required. If you are requesting a public certificate, each domain name that you specify must be validated to verify that you own or control the domain. You can use DNS validation or email validation. We recommend that you use DNS validation. ACM issues public certificates after receiving approval from the domain owner.

ACM behavior differs from the RFC 6125 specification of the certificate validation process. ACM first checks for a Subject Alternative Name, and, if it finds one, ignores the common name (CN).

After successful completion of the RequestCertificate action, there is a delay of several seconds before you can retrieve information about the new certificate.

", "ResendValidationEmail": "

Resends the email that requests domain ownership validation. The domain owner or an authorized representative must approve the ACM certificate before it can be issued. The certificate can be approved by clicking a link in the mail to navigate to the Amazon certificate approval website and then clicking I Approve. However, the validation email can be blocked by spam filters. Therefore, if you do not receive the original mail, you can request that the mail be resent within 72 hours of requesting the ACM certificate. If more than 72 hours have elapsed since your original request or since your last attempt to resend validation mail, you must request a new certificate. For more information about setting up your contact email addresses, see Configure Email for your Domain.

", "UpdateCertificateOptions": "

Updates a certificate. Currently, you can use this function to specify whether to opt in to or out of recording your certificate in a certificate transparency log. For more information, see Opting Out of Certificate Transparency Logging.

" @@ -45,7 +45,6 @@ "ListTagsForCertificateRequest$CertificateArn": "

String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form:

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

For more information about ARNs, see Amazon Resource Names (ARNs).

", "RemoveTagsFromCertificateRequest$CertificateArn": "

String that contains the ARN of the ACM Certificate with one or more tags that you want to remove. This must be of the form:

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

For more information about ARNs, see Amazon Resource Names (ARNs).

", "RenewCertificateRequest$CertificateArn": "

String that contains the ARN of the ACM certificate to be renewed. This must be of the form:

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

For more information about ARNs, see Amazon Resource Names (ARNs).

", - "RequestCertificateRequest$CertificateAuthorityArn": "

The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used to issue the certificate. If you do not provide an ARN and you are trying to request a private certificate, ACM will attempt to issue a public certificate. For more information about private CAs, see the Certificate Manager Private Certificate Authority user guide. The ARN must have the following form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

", "RequestCertificateResponse$CertificateArn": "

String that contains the ARN of the issued certificate. This must be of the form:

arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012

", "ResendValidationEmailRequest$CertificateArn": "

String that contains the ARN of the requested certificate. The certificate ARN is generated and returned by the RequestCertificate action as soon as the request is made. By default, using this parameter causes email to be sent to all top-level domains you specified in the certificate request. The ARN must be of the form:

arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012

", "UpdateCertificateOptionsRequest$CertificateArn": "

ARN of the requested certificate to update. This must be of the form:

arn:aws:acm:us-east-1:account:certificate/12345678-1234-1234-1234-123456789012

" @@ -345,7 +344,8 @@ "refs": { "CertificateDetail$KeyAlgorithm": "

The algorithm that was used to generate the public-private key pair.

", "CertificateSummary$KeyAlgorithm": "

The algorithm that was used to generate the public-private key pair.

", - "KeyAlgorithmList$member": null + "KeyAlgorithmList$member": null, + "RequestCertificateRequest$KeyAlgorithm": "

Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but with greater computing efficiency. However, ECDSA is not supported by all network clients. Some AWS services may require RSA keys, or only support ECDSA keys of a particular size, while others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken. Check the requirements for the AWS service where you plan to deploy your certificate.

Default: RSA_2048

" } }, "KeyAlgorithmList": { @@ -438,6 +438,12 @@ "ExportCertificateRequest$Passphrase": "

Passphrase to associate with the encrypted exported private key.

When creating your passphrase, you can use any ASCII character except #, $, or %.

If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.

openssl rsa -in encrypted_key.pem -out decrypted_key.pem

" } }, + "PcaArn": { + "base": null, + "refs": { + "RequestCertificateRequest$CertificateAuthorityArn": "

The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used to issue the certificate. If you do not provide an ARN and you are trying to request a private certificate, ACM will attempt to issue a public certificate. For more information about private CAs, see the Amazon Web Services Private Certificate Authority user guide. The ARN must have the following form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

" + } + }, "PositiveInteger": { "base": null, "refs": { diff --git a/models/apis/acm/2015-12-08/endpoint-rule-set-1.json b/models/apis/acm/2015-12-08/endpoint-rule-set-1.json new file mode 100644 index 0000000000..b176674f54 --- /dev/null +++ b/models/apis/acm/2015-12-08/endpoint-rule-set-1.json @@ -0,0 +1,340 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://acm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://acm.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://acm-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://acm.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://acm.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/acm/2015-12-08/endpoint-tests-1.json b/models/apis/acm/2015-12-08/endpoint-tests-1.json new file mode 100644 index 0000000000..4104b65d8b --- /dev/null +++ b/models/apis/acm/2015-12-08/endpoint-tests-1.json @@ -0,0 +1,1799 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-south-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-south-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-south-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-south-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-iso-west-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.us-iso-west-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-central-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-central-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-central-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-central-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-southeast-4.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-4", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.ap-southeast-4.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-4", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-southeast-4.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-4", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.ap-southeast-4.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-4", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseFIPS": true, + "Region": "us-isob-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-isob-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseFIPS": false, + "Region": "us-isob-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-isob-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/billingconductor/2021-07-30/api-2.json b/models/apis/billingconductor/2021-07-30/api-2.json index 3c9090afe3..48dc8f83fa 100644 --- a/models/apis/billingconductor/2021-07-30/api-2.json +++ b/models/apis/billingconductor/2021-07-30/api-2.json @@ -327,6 +327,22 @@ {"shape":"ResourceNotFoundException"} ] }, + "ListCustomLineItemVersions":{ + "name":"ListCustomLineItemVersions", + "http":{ + "method":"POST", + "requestUri":"/list-custom-line-item-versions", + "responseCode":200 + }, + "input":{"shape":"ListCustomLineItemVersionsInput"}, + "output":{"shape":"ListCustomLineItemVersionsOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, "ListCustomLineItems":{ "name":"ListCustomLineItems", "http":{ @@ -659,13 +675,14 @@ "INVALID_ARN", "SERVICE_LIMIT_EXCEEDED", "ILLEGAL_CUSTOMLINEITEM", - "INTERNAL_SERVER_EXCEPTION" + "INTERNAL_SERVER_EXCEPTION", + "INVALID_BILLING_PERIOD_RANGE" ] }, "AssociateResourceResponseElement":{ "type":"structure", "members":{ - "Arn":{"shape":"CustomLineItemArn"}, + "Arn":{"shape":"CustomLineItemAssociationElement"}, "Error":{"shape":"AssociateResourceError"} } }, @@ -675,7 +692,7 @@ }, "Association":{ "type":"string", - "pattern":"((arn:aws:billingconductor::[0-9]{12}:billinggroup/)?[0-9]{12}|MONITORED|UNMONITORED)" + "pattern":"((arn:aws(-cn)?:billingconductor::[0-9]{12}:billinggroup/)?[0-9]{12}|MONITORED|UNMONITORED)" }, "BatchAssociateResourcesToCustomLineItemInput":{ "type":"structure", @@ -717,7 +734,7 @@ }, "BillingGroupArn":{ "type":"string", - "pattern":"(arn:aws:billingconductor::[0-9]{12}:billinggroup/)?[0-9]{12}" + "pattern":"(arn:aws(-cn)?:billingconductor::[0-9]{12}:billinggroup/)?[0-9]{12}" }, "BillingGroupArnList":{ "type":"list", @@ -748,7 +765,7 @@ }, "BillingGroupFullArn":{ "type":"string", - "pattern":"arn:aws:billingconductor::[0-9]{12}:billinggroup/[0-9]{12}" + "pattern":"arn:aws(-cn)?:billingconductor::[0-9]{12}:billinggroup/[0-9]{12}" }, "BillingGroupList":{ "type":"list", @@ -811,7 +828,8 @@ "members":{ "Message":{"shape":"String"}, "ResourceId":{"shape":"String"}, - "ResourceType":{"shape":"String"} + "ResourceType":{"shape":"String"}, + "Reason":{"shape":"ConflictExceptionReason"} }, "error":{ "httpStatusCode":409, @@ -819,6 +837,16 @@ }, "exception":true }, + "ConflictExceptionReason":{ + "type":"string", + "enum":[ + "RESOURCE_NAME_CONFLICT", + "PRICING_RULE_IN_PRICING_PLAN_CONFLICT", + "PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT", + "PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT", + "WRITE_CONFLICT_RETRY" + ] + }, "CreateBillingGroupInput":{ "type":"structure", "required":[ @@ -938,7 +966,7 @@ }, "CustomLineItemArn":{ "type":"string", - "pattern":"(arn:aws:billingconductor::[0-9]{12}:customlineitem/)?[a-zA-Z0-9]{10}" + "pattern":"(arn:aws(-cn)?:billingconductor::[0-9]{12}:customlineitem/)?[a-zA-Z0-9]{10}" }, "CustomLineItemArns":{ "type":"list", @@ -948,7 +976,7 @@ }, "CustomLineItemAssociationElement":{ "type":"string", - "pattern":"(arn:aws:billingconductor::[0-9]{12}:(customlineitem|billinggroup)/)?[a-zA-Z0-9]{10,12}" + "pattern":"(arn:aws(-cn)?:billingconductor::[0-9]{12}:(customlineitem|billinggroup)/)?[a-zA-Z0-9]{10,12}" }, "CustomLineItemAssociationsList":{ "type":"list", @@ -970,10 +998,7 @@ }, "CustomLineItemBillingPeriodRange":{ "type":"structure", - "required":[ - "InclusiveStartBillingPeriod", - "ExclusiveEndBillingPeriod" - ], + "required":["InclusiveStartBillingPeriod"], "members":{ "InclusiveStartBillingPeriod":{"shape":"BillingPeriod"}, "ExclusiveEndBillingPeriod":{"shape":"BillingPeriod"} @@ -1072,6 +1097,26 @@ "FEE" ] }, + "CustomLineItemVersionList":{ + "type":"list", + "member":{"shape":"CustomLineItemVersionListElement"} + }, + "CustomLineItemVersionListElement":{ + "type":"structure", + "members":{ + "Name":{"shape":"CustomLineItemName"}, + "ChargeDetails":{"shape":"ListCustomLineItemChargeDetails"}, + "CurrencyCode":{"shape":"CurrencyCode"}, + "Description":{"shape":"CustomLineItemDescription"}, + "ProductCode":{"shape":"CustomLineItemProductCode"}, + "BillingGroupArn":{"shape":"BillingGroupArn"}, + "CreationTime":{"shape":"Instant"}, + "LastModifiedTime":{"shape":"Instant"}, + "AssociationSize":{"shape":"NumberOfAssociations"}, + "StartBillingPeriod":{"shape":"BillingPeriod"}, + "EndBillingPeriod":{"shape":"BillingPeriod"} + } + }, "DeleteBillingGroupInput":{ "type":"structure", "required":["Arn"], @@ -1162,7 +1207,7 @@ "DisassociateResourceResponseElement":{ "type":"structure", "members":{ - "Arn":{"shape":"CustomLineItemArn"}, + "Arn":{"shape":"CustomLineItemAssociationElement"}, "Error":{"shape":"AssociateResourceError"} } }, @@ -1276,6 +1321,36 @@ "PercentageValue":{"shape":"CustomLineItemPercentageChargeValue"} } }, + "ListCustomLineItemVersionsBillingPeriodRangeFilter":{ + "type":"structure", + "members":{ + "StartBillingPeriod":{"shape":"BillingPeriod"}, + "EndBillingPeriod":{"shape":"BillingPeriod"} + } + }, + "ListCustomLineItemVersionsFilter":{ + "type":"structure", + "members":{ + "BillingPeriodRange":{"shape":"ListCustomLineItemVersionsBillingPeriodRangeFilter"} + } + }, + "ListCustomLineItemVersionsInput":{ + "type":"structure", + "required":["Arn"], + "members":{ + "Arn":{"shape":"CustomLineItemArn"}, + "MaxResults":{"shape":"MaxCustomLineItemResults"}, + "NextToken":{"shape":"Token"}, + "Filters":{"shape":"ListCustomLineItemVersionsFilter"} + } + }, + "ListCustomLineItemVersionsOutput":{ + "type":"structure", + "members":{ + "CustomLineItemVersions":{"shape":"CustomLineItemVersionList"}, + "NextToken":{"shape":"Token"} + } + }, "ListCustomLineItemsFilter":{ "type":"structure", "members":{ @@ -1288,7 +1363,7 @@ "type":"structure", "members":{ "BillingPeriod":{"shape":"BillingPeriod"}, - "MaxResults":{"shape":"MaxBillingGroupResults"}, + "MaxResults":{"shape":"MaxCustomLineItemResults"}, "NextToken":{"shape":"Token"}, "Filters":{"shape":"ListCustomLineItemsFilter"} } @@ -1413,7 +1488,8 @@ "type":"structure", "members":{ "Arn":{"shape":"CustomLineItemAssociationElement"}, - "Relationship":{"shape":"CustomLineItemRelationship"} + "Relationship":{"shape":"CustomLineItemRelationship"}, + "EndBillingPeriod":{"shape":"BillingPeriod"} } }, "ListResourcesAssociatedToCustomLineItemResponseList":{ @@ -1486,7 +1562,7 @@ }, "PricingPlanArn":{ "type":"string", - "pattern":"(arn:aws:billingconductor::[0-9]{12}:pricingplan/)?[a-zA-Z0-9]{10}" + "pattern":"(arn:aws(-cn)?:billingconductor::[0-9]{12}:pricingplan/)?[a-zA-Z0-9]{10}" }, "PricingPlanArns":{ "type":"list", @@ -1502,7 +1578,7 @@ }, "PricingPlanFullArn":{ "type":"string", - "pattern":"arn:aws:billingconductor::[0-9]{12}:pricingplan/[a-zA-Z0-9]{10}" + "pattern":"arn:aws(-cn)?:billingconductor::[0-9]{12}:pricingplan/[a-zA-Z0-9]{10}" }, "PricingPlanList":{ "type":"list", @@ -1528,7 +1604,7 @@ }, "PricingRuleArn":{ "type":"string", - "pattern":"(arn:aws:billingconductor::[0-9]{12}:pricingrule/)?[a-zA-Z0-9]{10}" + "pattern":"(arn:aws(-cn)?:billingconductor::[0-9]{12}:pricingrule/)?[a-zA-Z0-9]{10}" }, "PricingRuleArns":{ "type":"list", @@ -1770,7 +1846,7 @@ "required":["Arn"], "members":{ "Arn":{"shape":"CustomLineItemArn"}, - "Name":{"shape":"BillingGroupName"}, + "Name":{"shape":"CustomLineItemName"}, "Description":{"shape":"CustomLineItemDescription"}, "ChargeDetails":{"shape":"UpdateCustomLineItemChargeDetails"}, "BillingPeriodRange":{"shape":"CustomLineItemBillingPeriodRange"} @@ -1914,7 +1990,11 @@ "MISSING_LINKED_ACCOUNT_IDS", "MULTIPLE_LINKED_ACCOUNT_IDS", "MISSING_PRICING_PLAN_ARN", - "MULTIPLE_PRICING_PLAN_ARN" + "MULTIPLE_PRICING_PLAN_ARN", + "ILLEGAL_CHILD_ASSOCIATE_RESOURCE", + "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS", + "INVALID_BILLING_PERIOD_FOR_OPERATION", + "INVALID_BILLING_GROUP" ] } } diff --git a/models/apis/billingconductor/2021-07-30/docs-2.json b/models/apis/billingconductor/2021-07-30/docs-2.json index b96759bf66..25309ccb39 100644 --- a/models/apis/billingconductor/2021-07-30/docs-2.json +++ b/models/apis/billingconductor/2021-07-30/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

Amazon Web Services Billing Conductor is a fully managed service that you can use to customize a pro forma version of your billing data each month, to accurately show or chargeback your end customers. Amazon Web Services Billing Conductor doesn't change the way you're billed by Amazon Web Services each month by design. Instead, it provides you with a mechanism to configure, generate, and display rates to certain customers over a given billing period. You can also analyze the difference between the rates you apply to your accounting groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the custom rate applied on the billing details page of the Amazon Web Services Billing console, or configure a cost and usage report per billing group.

This documentation shows how you can configure Amazon Web Services Billing Conductor using its API. For more information about using the Amazon Web Services Billing Conductor user interface, see the Amazon Web Services Enterprise Billing Console User Guide.

", + "service": "

Amazon Web Services Billing Conductor is a fully managed service that you can use to customize a pro forma version of your billing data each month, to accurately show or chargeback your end customers. Amazon Web Services Billing Conductor doesn't change the way you're billed by Amazon Web Services each month by design. Instead, it provides you with a mechanism to configure, generate, and display rates to certain customers over a given billing period. You can also analyze the difference between the rates you apply to your accounting groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the custom rate applied on the billing details page of the Amazon Web Services Billing console, or configure a cost and usage report per billing group.

This documentation shows how you can configure Amazon Web Services Billing Conductor using its API. For more information about using the Amazon Web Services Billing Conductor user interface, see the Amazon Web Services Billing Conductor User Guide.

", "operations": { "AssociateAccounts": "

Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30.

", "AssociatePricingRules": "

Connects an array of PricingRuleArns to a defined PricingPlan. The maximum number PricingRuleArn that can be associated in one call is 30.

", @@ -13,18 +13,19 @@ "DeleteBillingGroup": "

Deletes a billing group.

", "DeleteCustomLineItem": "

Deletes the custom line item identified by the given ARN in the current, or previous billing period.

", "DeletePricingPlan": "

Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.

", - "DeletePricingRule": "

Deletes the pricing rule identified by the input Amazon Resource Name (ARN).

", + "DeletePricingRule": "

Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).

", "DisassociateAccounts": "

Removes the specified list of account IDs from the given billing group.

", "DisassociatePricingRules": "

Disassociates a list of pricing rules from a pricing plan.

", - "ListAccountAssociations": "

Amazon Web Services Billing Conductor is in beta release and is subject to change. Your use of Amazon Web Services Billing Conductor is subject to the Beta Service Participation terms of the Amazon Web Services Service Terms (Section 1.10).

This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group associated with the linked account.

", + "ListAccountAssociations": "

This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.

", "ListBillingGroupCostReports": "

A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.

", "ListBillingGroups": "

A paginated call to retrieve a list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.

", + "ListCustomLineItemVersions": "

A paginated call to get a list of all custom line item versions.

", "ListCustomLineItems": "

A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.

", "ListPricingPlans": "

A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.

", - "ListPricingPlansAssociatedWithPricingRule": "

A list of the pricing plans associated with a pricing rule.

", + "ListPricingPlansAssociatedWithPricingRule": "

A list of the pricing plans that are associated with a pricing rule.

", "ListPricingRules": "

Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.

", - "ListPricingRulesAssociatedToPricingPlan": "

Lists the pricing rules associated with a pricing plan.

", - "ListResourcesAssociatedToCustomLineItem": "

List the resources associated to a custom line item.

", + "ListPricingRulesAssociatedToPricingPlan": "

Lists the pricing rules that are associated with a pricing plan.

", + "ListResourcesAssociatedToCustomLineItem": "

List the resources that are associated to a custom line item.

", "ListTagsForResource": "

A list the tags for a resource.

", "TagResource": "

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed.

", "UntagResource": "

Deletes specified tags from a resource.

", @@ -52,7 +53,7 @@ } }, "AccountAssociationsListElement": { - "base": "

Amazon Web Services Billing Conductor is in beta release and is subject to change. Your use of Amazon Web Services Billing Conductor is subject to the Beta Service Participation terms of the Amazon Web Services Service Terms (Section 1.10).

A representation of a linked account.

", + "base": "

A representation of a linked account.

", "refs": { "AccountAssociationsList$member": null } @@ -126,13 +127,13 @@ "base": "

A representation of a resource association error.

", "refs": { "AssociateResourceResponseElement$Error": "

An AssociateResourceError that will populate if the resource association fails.

", - "DisassociateResourceResponseElement$Error": "

An AssociateResourceError shown if the resource disassociation fails.

" + "DisassociateResourceResponseElement$Error": "

An AssociateResourceError that's shown if the resource disassociation fails.

" } }, "AssociateResourceErrorReason": { "base": null, "refs": { - "AssociateResourceError$Reason": "

A static error code that used to classify the type of failure.

" + "AssociateResourceError$Reason": "

A static error code that's used to classify the type of failure.

" } }, "AssociateResourceResponseElement": { @@ -186,7 +187,8 @@ "CreateBillingGroupOutput$Arn": "

The Amazon Resource Name (ARN) of the created billing group.

", "CreateCustomLineItemInput$BillingGroupArn": "

The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.

", "CustomLineItemListElement$BillingGroupArn": "

The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.

", - "DeleteBillingGroupInput$Arn": "

The Amazon Resource Name (ARN) of the billing group you're deleting.

", + "CustomLineItemVersionListElement$BillingGroupArn": "

The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.

", + "DeleteBillingGroupInput$Arn": "

The Amazon Resource Name (ARN) of the billing group that you're deleting.

", "DeleteBillingGroupOutput$Arn": "

The Amazon Resource Name (ARN) of the deleted billing group.

", "DisassociateAccountsInput$Arn": "

The Amazon Resource Name (ARN) of the billing group that the array of account IDs will disassociate from.

", "DisassociateAccountsOutput$Arn": "

The Amazon Resource Name (ARN) of the billing group that the array of account IDs is disassociated from.

", @@ -217,8 +219,8 @@ "BillingGroupDescription": { "base": null, "refs": { - "BillingGroupListElement$Description": "

The billing group description.

", - "CreateBillingGroupInput$Description": "

The billing group description.

", + "BillingGroupListElement$Description": "

The description of the billing group.

", + "CreateBillingGroupInput$Description": "

The description of the billing group.

", "UpdateBillingGroupInput$Description": "

A description of the billing group.

", "UpdateBillingGroupOutput$Description": "

A description of the billing group.

" } @@ -244,11 +246,10 @@ "BillingGroupName": { "base": null, "refs": { - "BillingGroupListElement$Name": "

The billing group's name.

", + "BillingGroupListElement$Name": "

The name of the billing group.

", "CreateBillingGroupInput$Name": "

The billing group name. The names must be unique.

", "UpdateBillingGroupInput$Name": "

The name of the billing group. The names must be unique to each billing group.

", - "UpdateBillingGroupOutput$Name": "

The name of the billing group. The names must be unique to each billing group.

", - "UpdateCustomLineItemInput$Name": "

The new name for the custom line item.

" + "UpdateBillingGroupOutput$Name": "

The name of the billing group. The names must be unique to each billing group.

" } }, "BillingGroupStatus": { @@ -271,9 +272,13 @@ "refs": { "CustomLineItemBillingPeriodRange$InclusiveStartBillingPeriod": "

The inclusive start billing period that defines a billing period range where a custom line is applied.

", "CustomLineItemBillingPeriodRange$ExclusiveEndBillingPeriod": "

The inclusive end billing period that defines a billing period range where a custom line is applied.

", + "CustomLineItemVersionListElement$StartBillingPeriod": "

The start billing period of the custom line item version.

", + "CustomLineItemVersionListElement$EndBillingPeriod": "

The end billing period of the custom line item version.

", "ListAccountAssociationsInput$BillingPeriod": "

The preferred billing period to get account associations.

", "ListBillingGroupCostReportsInput$BillingPeriod": "

The preferred billing period for your report.

", "ListBillingGroupsInput$BillingPeriod": "

The preferred billing period to get billing groups.

", + "ListCustomLineItemVersionsBillingPeriodRangeFilter$StartBillingPeriod": "

The inclusive start billing period that defines a billing period range where a custom line item version is applied.

", + "ListCustomLineItemVersionsBillingPeriodRangeFilter$EndBillingPeriod": "

The exclusive end billing period that defines a billing period range where a custom line item version is applied.

", "ListCustomLineItemsInput$BillingPeriod": "

The preferred billing period to get custom line items (FFLIs).

", "ListPricingPlansAssociatedWithPricingRuleInput$BillingPeriod": "

The pricing plan billing period for which associations will be listed.

", "ListPricingPlansAssociatedWithPricingRuleOutput$BillingPeriod": "

The pricing plan billing period for which associations will be listed.

", @@ -283,7 +288,8 @@ "ListPricingRulesAssociatedToPricingPlanOutput$BillingPeriod": "

The billing period for which the pricing rule associations are listed.

", "ListPricingRulesInput$BillingPeriod": "

The preferred billing period to get the pricing plan.

", "ListPricingRulesOutput$BillingPeriod": "

The billing period for which the described pricing rules are applicable.

", - "ListResourcesAssociatedToCustomLineItemInput$BillingPeriod": "

The billing period for which the resource associations will be listed.

" + "ListResourcesAssociatedToCustomLineItemInput$BillingPeriod": "

The billing period for which the resource associations will be listed.

", + "ListResourcesAssociatedToCustomLineItemResponseElement$EndBillingPeriod": "

The end billing period of the associated resource.

" } }, "ClientToken": { @@ -292,7 +298,7 @@ "CreateBillingGroupInput$ClientToken": "

The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

", "CreateCustomLineItemInput$ClientToken": "

The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

", "CreatePricingPlanInput$ClientToken": "

The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

", - "CreatePricingRuleInput$ClientToken": "

The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

" + "CreatePricingRuleInput$ClientToken": "

The token that's needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

" } }, "ComputationPreference": { @@ -308,6 +314,12 @@ "refs": { } }, + "ConflictExceptionReason": { + "base": null, + "refs": { + "ConflictException$Reason": "

Reason for the inconsistent state.

" + } + }, "CreateBillingGroupInput": { "base": null, "refs": { @@ -357,13 +369,13 @@ "CurrencyCode": { "base": null, "refs": { - "CustomLineItemListElement$CurrencyCode": "

The custom line item's charge value currency. Only one of the valid values can be used.

" + "CustomLineItemListElement$CurrencyCode": "

The custom line item's charge value currency. Only one of the valid values can be used.

", + "CustomLineItemVersionListElement$CurrencyCode": "

The charge value currency of the custom line item.

" } }, "CustomLineItemArn": { "base": null, "refs": { - "AssociateResourceResponseElement$Arn": "

The resource ARN that was associated to the custom line item.

", "BatchAssociateResourcesToCustomLineItemInput$TargetArn": "

A percentage custom line item ARN to associate the resources to.

", "BatchDisassociateResourcesFromCustomLineItemInput$TargetArn": "

A percentage custom line item ARN to disassociate the resources from.

", "CreateCustomLineItemOutput$Arn": "

The Amazon Resource Name (ARN) of the created custom line item.

", @@ -371,7 +383,7 @@ "CustomLineItemListElement$Arn": "

The Amazon Resource Names (ARNs) for custom line items.

", "DeleteCustomLineItemInput$Arn": "

The ARN of the custom line item to be deleted.

", "DeleteCustomLineItemOutput$Arn": "

Then ARN of the deleted custom line item.

", - "DisassociateResourceResponseElement$Arn": "

The resource ARN that was disassociated from the custom line item.

", + "ListCustomLineItemVersionsInput$Arn": "

The Amazon Resource Name (ARN) for the custom line item.

", "ListResourcesAssociatedToCustomLineItemInput$Arn": "

The ARN of the custom line item for which the resource associations will be listed.

", "ListResourcesAssociatedToCustomLineItemOutput$Arn": "

The custom line item ARN for which the resource associations are listed.

", "UpdateCustomLineItemInput$Arn": "

The ARN of the custom line item to be updated.

", @@ -387,9 +399,11 @@ "CustomLineItemAssociationElement": { "base": null, "refs": { + "AssociateResourceResponseElement$Arn": "

The resource ARN that was associated to the custom line item.

", "CustomLineItemAssociationsList$member": null, "CustomLineItemBatchAssociationsList$member": null, "CustomLineItemBatchDisassociationsList$member": null, + "DisassociateResourceResponseElement$Arn": "

The resource ARN that was disassociated from the custom line item.

", "ListResourcesAssociatedToCustomLineItemResponseElement$Arn": "

The ARN of the associated resource.

" } }, @@ -440,12 +454,13 @@ "refs": { "CreateCustomLineItemInput$Description": "

The description of the custom line item. This is shown on the Bills page in association with the charge value.

", "CustomLineItemListElement$Description": "

The custom line item's description. This is shown on the Bills page in association with the charge value.

", + "CustomLineItemVersionListElement$Description": "

The description of the custom line item.

", "UpdateCustomLineItemInput$Description": "

The new line item description of the custom line item.

", "UpdateCustomLineItemOutput$Description": "

The description of the successfully updated custom line item.

" } }, "CustomLineItemFlatChargeDetails": { - "base": "

A representation of the charge details associated with a flat custom line item.

", + "base": "

A representation of the charge details that are associated with a flat custom line item.

", "refs": { "CustomLineItemChargeDetails$Flat": "

A CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.

" } @@ -468,6 +483,8 @@ "CreateCustomLineItemInput$Name": "

The name of the custom line item.

", "CustomLineItemListElement$Name": "

The custom line item's name.

", "CustomLineItemNameList$member": null, + "CustomLineItemVersionListElement$Name": "

The name of the custom line item.

", + "UpdateCustomLineItemInput$Name": "

The new name for the custom line item.

", "UpdateCustomLineItemOutput$Name": "

The name of the successfully updated custom line item.

" } }, @@ -478,7 +495,7 @@ } }, "CustomLineItemPercentageChargeDetails": { - "base": "

A representation of the charge details associated with a percentage custom line item.

", + "base": "

A representation of the charge details that are associated with a percentage custom line item.

", "refs": { "CustomLineItemChargeDetails$Percentage": "

A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom line item.

" } @@ -494,7 +511,8 @@ "CustomLineItemProductCode": { "base": null, "refs": { - "CustomLineItemListElement$ProductCode": "

The product code associated with the custom line item.

" + "CustomLineItemListElement$ProductCode": "

The product code that's associated with the custom line item.

", + "CustomLineItemVersionListElement$ProductCode": "

The product code that’s associated with the custom line item.

" } }, "CustomLineItemRelationship": { @@ -511,6 +529,18 @@ "ListCustomLineItemChargeDetails$Type": "

The type of the custom line item that indicates whether the charge is a fee or credit.

" } }, + "CustomLineItemVersionList": { + "base": null, + "refs": { + "ListCustomLineItemVersionsOutput$CustomLineItemVersions": "

A list of CustomLineItemVersionListElements that are received.

" + } + }, + "CustomLineItemVersionListElement": { + "base": "

A representation of a custom line item version.

", + "refs": { + "CustomLineItemVersionList$member": null + } + }, "DeleteBillingGroupInput": { "base": null, "refs": { @@ -587,17 +617,19 @@ "Instant": { "base": null, "refs": { - "BillingGroupListElement$CreationTime": "

The time the billing group was created.

", - "BillingGroupListElement$LastModifiedTime": "

The most recent time the billing group was modified.

", + "BillingGroupListElement$CreationTime": "

The time when the billing group was created.

", + "BillingGroupListElement$LastModifiedTime": "

The most recent time when the billing group was modified.

", "CustomLineItemListElement$CreationTime": "

The time created.

", - "CustomLineItemListElement$LastModifiedTime": "

The most recent time the custom line item was modified.

", - "PricingPlanListElement$CreationTime": "

The time the pricing plan was created.

", - "PricingPlanListElement$LastModifiedTime": "

The most recent time the pricing plan was modified.

", - "PricingRuleListElement$CreationTime": "

The time the pricing rule was created.

", - "PricingRuleListElement$LastModifiedTime": "

The most recent time the pricing rule was modified.

", - "UpdateBillingGroupOutput$LastModifiedTime": "

The most recent time the billing group was modified.

", - "UpdateCustomLineItemOutput$LastModifiedTime": "

The most recent time the custom line item was modified.

", - "UpdatePricingPlanOutput$LastModifiedTime": "

The most recent time the pricing plan was modified.

", + "CustomLineItemListElement$LastModifiedTime": "

The most recent time when the custom line item was modified.

", + "CustomLineItemVersionListElement$CreationTime": "

The time when the custom line item version was created.

", + "CustomLineItemVersionListElement$LastModifiedTime": "

The most recent time that the custom line item version was modified.

", + "PricingPlanListElement$CreationTime": "

The time when the pricing plan was created.

", + "PricingPlanListElement$LastModifiedTime": "

The most recent time when the pricing plan was modified.

", + "PricingRuleListElement$CreationTime": "

The time when the pricing rule was created.

", + "PricingRuleListElement$LastModifiedTime": "

The most recent time when the pricing rule was modified.

", + "UpdateBillingGroupOutput$LastModifiedTime": "

The most recent time when the billing group was modified.

", + "UpdateCustomLineItemOutput$LastModifiedTime": "

The most recent time when the custom line item was modified.

", + "UpdatePricingPlanOutput$LastModifiedTime": "

The most recent time when the pricing plan was modified.

", "UpdatePricingRuleOutput$LastModifiedTime": "

The most recent time the pricing rule was modified.

" } }, @@ -609,7 +641,7 @@ "ListAccountAssociationsFilter": { "base": "

The filter on the account ID of the linked account, or any of the following:

MONITORED: linked accounts that are associated to billing groups.

UNMONITORED: linked accounts that are not associated to billing groups.

Billing Group Arn: linked accounts that are associated to the provided Billing Group Arn.

", "refs": { - "ListAccountAssociationsInput$Filters": "

The filter on the account ID of the linked account, or any of the following:

MONITORED: linked accounts that are associated to billing groups.

UNMONITORED: linked accounts that are not associated to billing groups.

Billing Group Arn: linked accounts that are associated to the provided billing group Arn.

" + "ListAccountAssociationsInput$Filters": "

The filter on the account ID of the linked account, or any of the following:

MONITORED: linked accounts that are associated to billing groups.

UNMONITORED: linked accounts that aren't associated to billing groups.

Billing Group Arn: linked accounts that are associated to the provided billing group Arn.

" } }, "ListAccountAssociationsInput": { @@ -658,21 +690,44 @@ "base": "

A representation of the charge details of a custom line item.

", "refs": { "CustomLineItemListElement$ChargeDetails": "

A ListCustomLineItemChargeDetails that describes the charge details of a custom line item.

", + "CustomLineItemVersionListElement$ChargeDetails": null, "UpdateCustomLineItemOutput$ChargeDetails": "

A ListCustomLineItemChargeDetails containing the charge details of the successfully updated custom line item.

" } }, "ListCustomLineItemFlatChargeDetails": { - "base": "

A representation of the charge details associated with a flat custom line item.

", + "base": "

A representation of the charge details that are associated with a flat custom line item.

", "refs": { "ListCustomLineItemChargeDetails$Flat": "

A ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.

" } }, "ListCustomLineItemPercentageChargeDetails": { - "base": "

A representation of the charge details associated with a percentage custom line item.

", + "base": "

A representation of the charge details that are associated with a percentage custom line item.

", "refs": { "ListCustomLineItemChargeDetails$Percentage": "

A ListCustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom line item.

" } }, + "ListCustomLineItemVersionsBillingPeriodRangeFilter": { + "base": "

A billing period filter that specifies the custom line item versions to retrieve.

", + "refs": { + "ListCustomLineItemVersionsFilter$BillingPeriodRange": "

The billing period range in which the custom line item version is applied.

" + } + }, + "ListCustomLineItemVersionsFilter": { + "base": "

A filter that specifies the billing period range where the custom line item versions reside.

", + "refs": { + "ListCustomLineItemVersionsInput$Filters": "

A ListCustomLineItemVersionsFilter that specifies the billing period range in which the custom line item versions are applied.

" + } + }, + "ListCustomLineItemVersionsInput": { + "base": null, + "refs": { + } + }, + "ListCustomLineItemVersionsOutput": { + "base": null, + "refs": { + } + }, "ListCustomLineItemsFilter": { "base": "

A filter that specifies the custom line items and billing groups to retrieve FFLI information.

", "refs": { @@ -795,13 +850,14 @@ "base": null, "refs": { "ListBillingGroupCostReportsInput$MaxResults": "

The maximum number of reports to retrieve.

", - "ListBillingGroupsInput$MaxResults": "

The maximum number of billing groups to retrieve.

", - "ListCustomLineItemsInput$MaxResults": "

The maximum number of billing groups to retrieve.

" + "ListBillingGroupsInput$MaxResults": "

The maximum number of billing groups to retrieve.

" } }, "MaxCustomLineItemResults": { "base": null, "refs": { + "ListCustomLineItemVersionsInput$MaxResults": "

The maximum number of custom line item versions to retrieve.

", + "ListCustomLineItemsInput$MaxResults": "

The maximum number of billing groups to retrieve.

", "ListResourcesAssociatedToCustomLineItemInput$MaxResults": "

(Optional) The maximum number of resource associations to be retrieved.

" } }, @@ -822,7 +878,7 @@ "ModifierPercentage": { "base": null, "refs": { - "CreatePricingRuleInput$ModifierPercentage": "

A percentage modifier applied on the public pricing rates.

", + "CreatePricingRuleInput$ModifierPercentage": "

A percentage modifier that's applied on the public pricing rates.

", "PricingRuleListElement$ModifierPercentage": "

A percentage modifier applied on the public pricing rates.

", "UpdatePricingRuleInput$ModifierPercentage": "

The new modifier to show pricing plan rates as a percentage.

", "UpdatePricingRuleOutput$ModifierPercentage": "

The new modifier to show pricing plan rates as a percentage.

" @@ -838,14 +894,15 @@ "NumberOfAssociatedPricingRules": { "base": null, "refs": { - "PricingPlanListElement$Size": "

The pricing rules count currently associated with this pricing plan list element.

", - "UpdatePricingPlanOutput$Size": "

The pricing rules count currently associated with this pricing plan list.

" + "PricingPlanListElement$Size": "

The pricing rules count that's currently associated with this pricing plan list element.

", + "UpdatePricingPlanOutput$Size": "

The pricing rules count that's currently associated with this pricing plan list.

" } }, "NumberOfAssociations": { "base": null, "refs": { "CustomLineItemListElement$AssociationSize": "

The number of resources that are associated to the custom line item.

", + "CustomLineItemVersionListElement$AssociationSize": "

The number of resources that are associated with the custom line item.

", "UpdateCustomLineItemOutput$AssociationSize": "

The number of resources that are associated to the custom line item.

" } }, @@ -862,7 +919,7 @@ "AssociatePricingRulesInput$Arn": "

The PricingPlanArn that the PricingRuleArns are associated with.

", "AssociatePricingRulesOutput$Arn": "

The PricingPlanArn that the PricingRuleArns are associated with.

", "CreatePricingPlanOutput$Arn": "

The Amazon Resource Name (ARN) of the created pricing plan.

", - "DeletePricingPlanInput$Arn": "

The Amazon Resource Name (ARN) of the pricing plan you're deleting.

", + "DeletePricingPlanInput$Arn": "

The Amazon Resource Name (ARN) of the pricing plan that you're deleting.

", "DeletePricingPlanOutput$Arn": "

The Amazon Resource Name (ARN) of the deleted pricing plan.

", "DisassociatePricingRulesInput$Arn": "

The pricing plan Amazon Resource Name (ARN) to disassociate pricing rules from.

", "DisassociatePricingRulesOutput$Arn": "

The Amazon Resource Name (ARN) of the pricing plan that the pricing rules successfully disassociated from.

", @@ -871,30 +928,30 @@ "PricingPlanArns$member": null, "PricingPlanListElement$Arn": "

The pricing plan Amazon Resource Names (ARN). This can be used to uniquely identify a pricing plan.

", "UpdateBillingGroupOutput$PricingPlanArn": "

The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web Services charges for the billing group.

", - "UpdatePricingPlanInput$Arn": "

The Amazon Resource Name (ARN) of the pricing plan you're updating.

", + "UpdatePricingPlanInput$Arn": "

The Amazon Resource Name (ARN) of the pricing plan that you're updating.

", "UpdatePricingPlanOutput$Arn": "

The Amazon Resource Name (ARN) of the updated pricing plan.

" } }, "PricingPlanArns": { "base": null, "refs": { - "ListPricingPlansAssociatedWithPricingRuleOutput$PricingPlanArns": "

The list containing pricing plans associated with the requested pricing rule.

", + "ListPricingPlansAssociatedWithPricingRuleOutput$PricingPlanArns": "

The list containing pricing plans that are associated with the requested pricing rule.

", "ListPricingPlansFilter$Arns": "

A list of pricing plan Amazon Resource Names (ARNs) to retrieve information.

" } }, "PricingPlanDescription": { "base": null, "refs": { - "CreatePricingPlanInput$Description": "

The pricing plan description.

", + "CreatePricingPlanInput$Description": "

The description of the pricing plan.

", "PricingPlanListElement$Description": "

The pricing plan description.

", - "UpdatePricingPlanInput$Description": "

The pricing plan description.

", + "UpdatePricingPlanInput$Description": "

The description of the pricing plan.

", "UpdatePricingPlanOutput$Description": "

The new description for the pricing rule.

" } }, "PricingPlanFullArn": { "base": null, "refs": { - "ComputationPreference$PricingPlanArn": "

The Amazon Resource Name (ARN) of the pricing plan used to compute the Amazon Web Services charges for a billing group.

", + "ComputationPreference$PricingPlanArn": "

The Amazon Resource Name (ARN) of the pricing plan that's used to compute the Amazon Web Services charges for a billing group.

", "ListBillingGroupsFilter$PricingPlan": "

The pricing plan Amazon Resource Names (ARNs) to retrieve information.

" } }, @@ -913,7 +970,7 @@ "PricingPlanName": { "base": null, "refs": { - "CreatePricingPlanInput$Name": "

The pricing plan name. The names must be unique to each pricing plan.

", + "CreatePricingPlanInput$Name": "

The name of the pricing plan. The names must be unique to each pricing plan.

", "PricingPlanListElement$Name": "

The name of a pricing plan.

", "UpdatePricingPlanInput$Name": "

The name of the pricing plan. The name must be unique to each pricing plan.

", "UpdatePricingPlanOutput$Name": "

The name of the pricing plan. The name must be unique to each pricing plan.

" @@ -923,7 +980,7 @@ "base": null, "refs": { "CreatePricingRuleOutput$Arn": "

The Amazon Resource Name (ARN) of the created pricing rule.

", - "DeletePricingRuleInput$Arn": "

The Amazon Resource Name (ARN) of the pricing rule you are deleting.

", + "DeletePricingRuleInput$Arn": "

The Amazon Resource Name (ARN) of the pricing rule that you are deleting.

", "DeletePricingRuleOutput$Arn": "

The Amazon Resource Name (ARN) of the deleted pricing rule.

", "ListPricingPlansAssociatedWithPricingRuleInput$PricingRuleArn": "

The pricing rule Amazon Resource Name (ARN) for which associations will be listed.

", "ListPricingPlansAssociatedWithPricingRuleOutput$PricingRuleArn": "

The pricing rule Amazon Resource Name (ARN) for which associations will be listed.

", @@ -938,7 +995,7 @@ "PricingRuleArns": { "base": null, "refs": { - "ListPricingRulesAssociatedToPricingPlanOutput$PricingRuleArns": "

A list containing pricing rules associated with the requested pricing plan.

", + "ListPricingRulesAssociatedToPricingPlanOutput$PricingRuleArns": "

A list containing pricing rules that are associated with the requested pricing plan.

", "ListPricingRulesFilter$Arns": "

A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.

" } }, @@ -988,9 +1045,9 @@ "PricingRuleScope": { "base": null, "refs": { - "CreatePricingRuleInput$Scope": "

The scope of pricing rule that indicates if it is globally applicable, or is service-specific.

", + "CreatePricingRuleInput$Scope": "

The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.

", "PricingRuleListElement$Scope": "

The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.

", - "UpdatePricingRuleOutput$Scope": "

The scope of pricing rule that indicates if it is globally applicable, or is service-specific.

" + "UpdatePricingRuleOutput$Scope": "

The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.

" } }, "PricingRuleType": { @@ -1037,7 +1094,7 @@ "base": null, "refs": { "AccessDeniedException$Message": null, - "AssociateResourceError$Message": "

The reason the resource association failed.

", + "AssociateResourceError$Message": "

The reason why the resource association failed.

", "ConflictException$Message": null, "ConflictException$ResourceId": "

Identifier of the resource in use.

", "ConflictException$ResourceType": "

Type of the resource in use.

", @@ -1104,23 +1161,25 @@ "Token": { "base": null, "refs": { - "ListAccountAssociationsInput$NextToken": "

The pagination token used on subsequent calls to retrieve accounts.

", - "ListAccountAssociationsOutput$NextToken": "

The pagination token used on subsequent calls to get accounts.

", - "ListBillingGroupCostReportsInput$NextToken": "

The pagination token used on subsequent calls to get reports.

", - "ListBillingGroupCostReportsOutput$NextToken": "

The pagination token used on subsequent calls to get reports.

", - "ListBillingGroupsInput$NextToken": "

The pagination token used on subsequent calls to get billing groups.

", - "ListBillingGroupsOutput$NextToken": "

The pagination token used on subsequent calls to get billing groups.

", - "ListCustomLineItemsInput$NextToken": "

The pagination token used on subsequent calls to get custom line items (FFLIs).

", - "ListCustomLineItemsOutput$NextToken": "

The pagination token used on subsequent calls to get custom line items (FFLIs).

", + "ListAccountAssociationsInput$NextToken": "

The pagination token that's used on subsequent calls to retrieve accounts.

", + "ListAccountAssociationsOutput$NextToken": "

The pagination token that's used on subsequent calls to get accounts.

", + "ListBillingGroupCostReportsInput$NextToken": "

The pagination token that's used on subsequent calls to get reports.

", + "ListBillingGroupCostReportsOutput$NextToken": "

The pagination token that's used on subsequent calls to get reports.

", + "ListBillingGroupsInput$NextToken": "

The pagination token that's used on subsequent calls to get billing groups.

", + "ListBillingGroupsOutput$NextToken": "

The pagination token that's used on subsequent calls to get billing groups.

", + "ListCustomLineItemVersionsInput$NextToken": "

The pagination token that's used on subsequent calls to retrieve custom line item versions.

", + "ListCustomLineItemVersionsOutput$NextToken": "

The pagination token that's used on subsequent calls to retrieve custom line item versions.

", + "ListCustomLineItemsInput$NextToken": "

The pagination token that's used on subsequent calls to get custom line items (FFLIs).

", + "ListCustomLineItemsOutput$NextToken": "

The pagination token that's used on subsequent calls to get custom line items (FFLIs).

", "ListPricingPlansAssociatedWithPricingRuleInput$NextToken": "

The optional pagination token returned by a previous call.

", "ListPricingPlansAssociatedWithPricingRuleOutput$NextToken": "

The pagination token to be used on subsequent calls.

", - "ListPricingPlansInput$NextToken": "

The pagination token used on subsequent call to get pricing plans.

", - "ListPricingPlansOutput$NextToken": "

The pagination token used on subsequent calls to get pricing plans.

", + "ListPricingPlansInput$NextToken": "

The pagination token that's used on subsequent call to get pricing plans.

", + "ListPricingPlansOutput$NextToken": "

The pagination token that's used on subsequent calls to get pricing plans.

", "ListPricingRulesAssociatedToPricingPlanInput$NextToken": "

The optional pagination token returned by a previous call.

", "ListPricingRulesAssociatedToPricingPlanOutput$NextToken": "

The pagination token to be used on subsequent calls.

", - "ListPricingRulesInput$NextToken": "

The pagination token used on subsequent call to get pricing rules.

", - "ListPricingRulesOutput$NextToken": "

The pagination token used on subsequent calls to get pricing rules.

", - "ListResourcesAssociatedToCustomLineItemInput$NextToken": "

(Optional) The pagination token returned by a previous request.

", + "ListPricingRulesInput$NextToken": "

The pagination token that's used on subsequent call to get pricing rules.

", + "ListPricingRulesOutput$NextToken": "

The pagination token that's used on subsequent calls to get pricing rules.

", + "ListResourcesAssociatedToCustomLineItemInput$NextToken": "

(Optional) The pagination token that's returned by a previous request.

", "ListResourcesAssociatedToCustomLineItemOutput$NextToken": "

The pagination token to be used in subsequent requests to retrieve additional results.

" } }, @@ -1151,7 +1210,7 @@ } }, "UpdateCustomLineItemFlatChargeDetails": { - "base": "

A representation of the new charge details associated with a flat custom line item.

", + "base": "

A representation of the new charge details that are associated with a flat custom line item.

", "refs": { "UpdateCustomLineItemChargeDetails$Flat": "

An UpdateCustomLineItemFlatChargeDetails that describes the new charge details of a flat custom line item.

" } @@ -1167,7 +1226,7 @@ } }, "UpdateCustomLineItemPercentageChargeDetails": { - "base": "

A representation of the new charge details associated with a percentage custom line item.

", + "base": "

A representation of the new charge details that are associated with a percentage custom line item.

", "refs": { "UpdateCustomLineItemChargeDetails$Percentage": "

An UpdateCustomLineItemPercentageChargeDetails that describes the new charge details of a percentage custom line item.

" } diff --git a/models/apis/billingconductor/2021-07-30/endpoint-rule-set-1.json b/models/apis/billingconductor/2021-07-30/endpoint-rule-set-1.json new file mode 100644 index 0000000000..4b1e2063a3 --- /dev/null +++ b/models/apis/billingconductor/2021-07-30/endpoint-rule-set-1.json @@ -0,0 +1,591 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws" + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://billingconductor-fips.{Region}.api.aws", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1", + "signingName": "billingconductor" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://billingconductor-fips.{Region}.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1", + "signingName": "billingconductor" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://billingconductor.{Region}.api.aws", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1", + "signingName": "billingconductor" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://billingconductor.us-east-1.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1", + "signingName": "billingconductor" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-global" + ] + } + ], + "endpoint": { + "url": "https://billingconductor.us-east-1.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1", + "signingName": "billingconductor" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/billingconductor/2021-07-30/endpoint-tests-1.json b/models/apis/billingconductor/2021-07-30/endpoint-tests-1.json new file mode 100644 index 0000000000..e0583305d6 --- /dev/null +++ b/models/apis/billingconductor/2021-07-30/endpoint-tests-1.json @@ -0,0 +1,65 @@ +{ + "testCases": [ + { + "documentation": "For region aws-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "billingconductor", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://billingconductor.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "aws-global" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/billingconductor/2021-07-30/paginators-1.json b/models/apis/billingconductor/2021-07-30/paginators-1.json index 1bcc8db619..28c347ea54 100644 --- a/models/apis/billingconductor/2021-07-30/paginators-1.json +++ b/models/apis/billingconductor/2021-07-30/paginators-1.json @@ -23,6 +23,12 @@ "output_token": "NextToken", "result_key": "CustomLineItems" }, + "ListCustomLineItemVersions": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "CustomLineItemVersions" + }, "ListPricingPlans": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 613ebf592a..14b43801ad 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -27337,6 +27337,10 @@ "PartitionNumber":{ "shape":"Integer", "locationName":"partitionNumber" + }, + "GroupId":{ + "shape":"PlacementGroupId", + "locationName":"groupId" } } }, @@ -27350,7 +27354,8 @@ "Tenancy":{"shape":"Tenancy"}, "SpreadDomain":{"shape":"String"}, "HostResourceGroupArn":{"shape":"String"}, - "PartitionNumber":{"shape":"Integer"} + "PartitionNumber":{"shape":"Integer"}, + "GroupId":{"shape":"PlacementGroupId"} } }, "LaunchTemplatePrivateDnsNameOptions":{ @@ -28771,7 +28776,8 @@ "locationName":"tenancy" }, "PartitionNumber":{"shape":"Integer"}, - "HostResourceGroupArn":{"shape":"String"} + "HostResourceGroupArn":{"shape":"String"}, + "GroupId":{"shape":"PlacementGroupId"} } }, "ModifyInstancePlacementResult":{ @@ -31395,6 +31401,10 @@ "HostResourceGroupArn":{ "shape":"String", "locationName":"hostResourceGroupArn" + }, + "GroupId":{ + "shape":"PlacementGroupId", + "locationName":"groupId" } } }, diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index abf70f0aaf..136c3278d1 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -14394,6 +14394,10 @@ "PlacementGroupId": { "base": null, "refs": { + "LaunchTemplatePlacement$GroupId": "

The Group ID of the placement group. You must specify the Placement Group Group ID to launch an instance in a shared placement group.

", + "LaunchTemplatePlacementRequest$GroupId": "

The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.

", + "ModifyInstancePlacementRequest$GroupId": "

The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.

", + "Placement$GroupId": "

The Group Id of the placement group.

", "PlacementGroupIdStringList$member": null } }, diff --git a/models/apis/fms/2018-01-01/api-2.json b/models/apis/fms/2018-01-01/api-2.json index e118c7fa2d..f786fc03a9 100644 --- a/models/apis/fms/2018-01-01/api-2.json +++ b/models/apis/fms/2018-01-01/api-2.json @@ -43,6 +43,37 @@ {"shape":"InternalErrorException"} ] }, + "BatchAssociateResource":{ + "name":"BatchAssociateResource", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"BatchAssociateResourceRequest"}, + "output":{"shape":"BatchAssociateResourceResponse"}, + "errors":[ + {"shape":"InvalidOperationException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidInputException"}, + {"shape":"LimitExceededException"}, + {"shape":"ResourceNotFoundException"} + ] + }, + "BatchDisassociateResource":{ + "name":"BatchDisassociateResource", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"BatchDisassociateResourceRequest"}, + "output":{"shape":"BatchDisassociateResourceResponse"}, + "errors":[ + {"shape":"InvalidOperationException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "DeleteAppsList":{ "name":"DeleteAppsList", "http":{ @@ -97,6 +128,20 @@ {"shape":"InternalErrorException"} ] }, + "DeleteResourceSet":{ + "name":"DeleteResourceSet", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteResourceSetRequest"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidOperationException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidInputException"} + ] + }, "DisassociateAdminAccount":{ "name":"DisassociateAdminAccount", "http":{ @@ -225,6 +270,21 @@ {"shape":"InternalErrorException"} ] }, + "GetResourceSet":{ + "name":"GetResourceSet", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetResourceSetRequest"}, + "output":{"shape":"GetResourceSetResponse"}, + "errors":[ + {"shape":"InvalidOperationException"}, + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"} + ] + }, "GetThirdPartyFirewallAssociationStatus":{ "name":"GetThirdPartyFirewallAssociationStatus", "http":{ @@ -282,6 +342,20 @@ {"shape":"InternalErrorException"} ] }, + "ListDiscoveredResources":{ + "name":"ListDiscoveredResources", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListDiscoveredResourcesRequest"}, + "output":{"shape":"ListDiscoveredResourcesResponse"}, + "errors":[ + {"shape":"InvalidOperationException"}, + {"shape":"InvalidInputException"}, + {"shape":"InternalErrorException"} + ] + }, "ListMemberAccounts":{ "name":"ListMemberAccounts", "http":{ @@ -324,6 +398,35 @@ {"shape":"InternalErrorException"} ] }, + "ListResourceSetResources":{ + "name":"ListResourceSetResources", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListResourceSetResourcesRequest"}, + "output":{"shape":"ListResourceSetResourcesResponse"}, + "errors":[ + {"shape":"InvalidOperationException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"} + ] + }, + "ListResourceSets":{ + "name":"ListResourceSets", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListResourceSetsRequest"}, + "output":{"shape":"ListResourceSetsResponse"}, + "errors":[ + {"shape":"InvalidOperationException"}, + {"shape":"InvalidInputException"}, + {"shape":"InternalErrorException"} + ] + }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ @@ -416,6 +519,21 @@ {"shape":"InternalErrorException"} ] }, + "PutResourceSet":{ + "name":"PutResourceSet", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"PutResourceSetRequest"}, + "output":{"shape":"PutResourceSetResponse"}, + "errors":[ + {"shape":"InvalidOperationException"}, + {"shape":"InvalidInputException"}, + {"shape":"LimitExceededException"}, + {"shape":"InternalErrorException"} + ] + }, "TagResource":{ "name":"TagResource", "http":{ @@ -455,6 +573,10 @@ "min":1, "pattern":"^[0-9]+$" }, + "AWSAccountIdList":{ + "type":"list", + "member":{"shape":"AWSAccountId"} + }, "AccountRoleStatus":{ "type":"string", "enum":[ @@ -565,11 +687,61 @@ "PossibleSecurityGroupRemediationActions":{"shape":"SecurityGroupRemediationActions"} } }, + "Base62Id":{ + "type":"string", + "max":22, + "min":22, + "pattern":"^[a-z0-9A-Z]{22}$" + }, "BasicInteger":{ "type":"integer", "max":2147483647, "min":-2147483648 }, + "BatchAssociateResourceRequest":{ + "type":"structure", + "required":[ + "ResourceSetIdentifier", + "Items" + ], + "members":{ + "ResourceSetIdentifier":{"shape":"Identifier"}, + "Items":{"shape":"IdentifierList"} + } + }, + "BatchAssociateResourceResponse":{ + "type":"structure", + "required":[ + "ResourceSetIdentifier", + "FailedItems" + ], + "members":{ + "ResourceSetIdentifier":{"shape":"Identifier"}, + "FailedItems":{"shape":"FailedItemList"} + } + }, + "BatchDisassociateResourceRequest":{ + "type":"structure", + "required":[ + "ResourceSetIdentifier", + "Items" + ], + "members":{ + "ResourceSetIdentifier":{"shape":"Identifier"}, + "Items":{"shape":"IdentifierList"} + } + }, + "BatchDisassociateResourceResponse":{ + "type":"structure", + "required":[ + "ResourceSetIdentifier", + "FailedItems" + ], + "members":{ + "ResourceSetIdentifier":{"shape":"Identifier"}, + "FailedItems":{"shape":"FailedItemList"} + } + }, "Boolean":{"type":"boolean"}, "CIDR":{ "type":"string", @@ -644,6 +816,13 @@ "ListId":{"shape":"ListId"} } }, + "DeleteResourceSetRequest":{ + "type":"structure", + "required":["Identifier"], + "members":{ + "Identifier":{"shape":"Base62Id"} + } + }, "DependentServiceName":{ "type":"string", "enum":[ @@ -653,6 +832,11 @@ "AWSVPC" ] }, + "Description":{ + "type":"string", + "max":256, + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + }, "DestinationType":{ "type":"string", "enum":[ @@ -663,7 +847,7 @@ }, "DetailedInfo":{ "type":"string", - "max":1024, + "max":4096, "min":1, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=,+\\-@]*)$" }, @@ -685,6 +869,19 @@ "ThirdPartyFirewallStatus":{"shape":"ThirdPartyFirewallAssociationStatus"} } }, + "DiscoveredResource":{ + "type":"structure", + "members":{ + "URI":{"shape":"Identifier"}, + "AccountId":{"shape":"AWSAccountId"}, + "Type":{"shape":"ResourceType"}, + "Name":{"shape":"ResourceName"} + } + }, + "DiscoveredResourceList":{ + "type":"list", + "member":{"shape":"DiscoveredResource"} + }, "DnsDuplicateRuleGroupViolation":{ "type":"structure", "members":{ @@ -832,6 +1029,28 @@ "FirewallCreationConfig":{"shape":"ManagedServiceData"} } }, + "FailedItem":{ + "type":"structure", + "members":{ + "URI":{"shape":"Identifier"}, + "Reason":{"shape":"FailedItemReason"} + } + }, + "FailedItemList":{ + "type":"list", + "member":{"shape":"FailedItem"} + }, + "FailedItemReason":{ + "type":"string", + "enum":[ + "NOT_VALID_ARN", + "NOT_VALID_PARTITION", + "NOT_VALID_REGION", + "NOT_VALID_SERVICE", + "NOT_VALID_RESOURCE_TYPE", + "NOT_VALID_ACCOUNT_ID" + ] + }, "FirewallDeploymentModel":{ "type":"string", "enum":[ @@ -976,6 +1195,24 @@ "ProtocolsListArn":{"shape":"ResourceArn"} } }, + "GetResourceSetRequest":{ + "type":"structure", + "required":["Identifier"], + "members":{ + "Identifier":{"shape":"Base62Id"} + } + }, + "GetResourceSetResponse":{ + "type":"structure", + "required":[ + "ResourceSet", + "ResourceSetArn" + ], + "members":{ + "ResourceSet":{"shape":"ResourceSet"}, + "ResourceSetArn":{"shape":"ResourceArn"} + } + }, "GetThirdPartyFirewallAssociationStatusRequest":{ "type":"structure", "required":["ThirdPartyFirewall"], @@ -1016,6 +1253,16 @@ "max":65535, "min":0 }, + "Identifier":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + }, + "IdentifierList":{ + "type":"list", + "member":{"shape":"Identifier"} + }, "InternalErrorException":{ "type":"structure", "members":{ @@ -1097,6 +1344,26 @@ "NextToken":{"shape":"PaginationToken"} } }, + "ListDiscoveredResourcesRequest":{ + "type":"structure", + "required":[ + "MemberAccountIds", + "ResourceType" + ], + "members":{ + "MemberAccountIds":{"shape":"AWSAccountIdList"}, + "ResourceType":{"shape":"ResourceType"}, + "MaxResults":{"shape":"PaginationMaxResults"}, + "NextToken":{"shape":"PaginationToken"} + } + }, + "ListDiscoveredResourcesResponse":{ + "type":"structure", + "members":{ + "Items":{"shape":"DiscoveredResourceList"}, + "NextToken":{"shape":"PaginationToken"} + } + }, "ListId":{ "type":"string", "max":36, @@ -1147,6 +1414,37 @@ "NextToken":{"shape":"PaginationToken"} } }, + "ListResourceSetResourcesRequest":{ + "type":"structure", + "required":["Identifier"], + "members":{ + "Identifier":{"shape":"ResourceId"}, + "MaxResults":{"shape":"PaginationMaxResults"}, + "NextToken":{"shape":"PaginationToken"} + } + }, + "ListResourceSetResourcesResponse":{ + "type":"structure", + "required":["Items"], + "members":{ + "Items":{"shape":"ResourceList"}, + "NextToken":{"shape":"PaginationToken"} + } + }, + "ListResourceSetsRequest":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"PaginationToken"}, + "MaxResults":{"shape":"PaginationMaxResults"} + } + }, + "ListResourceSetsResponse":{ + "type":"structure", + "members":{ + "ResourceSets":{"shape":"ResourceSetSummaryList"}, + "NextToken":{"shape":"PaginationToken"} + } + }, "ListTagsForResourceRequest":{ "type":"structure", "required":["ResourceArn"], @@ -1197,6 +1495,12 @@ "type":"list", "member":{"shape":"AWSAccountId"} }, + "Name":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + }, "NetworkFirewallAction":{ "type":"string", "max":128, @@ -1401,7 +1705,9 @@ "RemediationEnabled":{"shape":"Boolean"}, "DeleteUnusedFMManagedResources":{"shape":"Boolean"}, "IncludeMap":{"shape":"CustomerPolicyScopeMap"}, - "ExcludeMap":{"shape":"CustomerPolicyScopeMap"} + "ExcludeMap":{"shape":"CustomerPolicyScopeMap"}, + "ResourceSetIds":{"shape":"ResourceSetIds"}, + "PolicyDescription":{"shape":"ResourceDescription"} } }, "PolicyComplianceDetail":{ @@ -1607,6 +1913,25 @@ "ProtocolsListArn":{"shape":"ResourceArn"} } }, + "PutResourceSetRequest":{ + "type":"structure", + "required":["ResourceSet"], + "members":{ + "ResourceSet":{"shape":"ResourceSet"}, + "TagList":{"shape":"TagList"} + } + }, + "PutResourceSetResponse":{ + "type":"structure", + "required":[ + "ResourceSet", + "ResourceSetArn" + ], + "members":{ + "ResourceSet":{"shape":"ResourceSet"}, + "ResourceSetArn":{"shape":"ResourceArn"} + } + }, "ReferenceRule":{"type":"string"}, "RemediationAction":{ "type":"structure", @@ -1642,6 +1967,14 @@ "Order":{"shape":"BasicInteger"} } }, + "Resource":{ + "type":"structure", + "required":["URI"], + "members":{ + "URI":{"shape":"Identifier"}, + "AccountId":{"shape":"AWSAccountId"} + } + }, "ResourceArn":{ "type":"string", "max":1024, @@ -1652,6 +1985,11 @@ "type":"long", "min":0 }, + "ResourceDescription":{ + "type":"string", + "max":256, + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + }, "ResourceId":{ "type":"string", "max":1024, @@ -1662,6 +2000,10 @@ "type":"list", "member":{"shape":"ResourceId"} }, + "ResourceList":{ + "type":"list", + "member":{"shape":"Resource"} + }, "ResourceName":{ "type":"string", "max":128, @@ -1675,6 +2017,38 @@ }, "exception":true }, + "ResourceSet":{ + "type":"structure", + "required":[ + "Name", + "ResourceTypeList" + ], + "members":{ + "Id":{"shape":"Base62Id"}, + "Name":{"shape":"Name"}, + "Description":{"shape":"Description"}, + "UpdateToken":{"shape":"UpdateToken"}, + "ResourceTypeList":{"shape":"ResourceTypeList"}, + "LastUpdateTime":{"shape":"TimeStamp"} + } + }, + "ResourceSetIds":{ + "type":"list", + "member":{"shape":"Base62Id"} + }, + "ResourceSetSummary":{ + "type":"structure", + "members":{ + "Id":{"shape":"Base62Id"}, + "Name":{"shape":"Name"}, + "Description":{"shape":"Description"}, + "LastUpdateTime":{"shape":"TimeStamp"} + } + }, + "ResourceSetSummaryList":{ + "type":"list", + "member":{"shape":"ResourceSetSummary"} + }, "ResourceTag":{ "type":"structure", "required":["Key"], @@ -1823,7 +2197,8 @@ "SECURITY_GROUPS_USAGE_AUDIT", "NETWORK_FIREWALL", "DNS_FIREWALL", - "THIRD_PARTY_FIREWALL" + "THIRD_PARTY_FIREWALL", + "IMPORT_NETWORK_FIREWALL" ] }, "StatefulEngineOptions":{ diff --git a/models/apis/fms/2018-01-01/docs-2.json b/models/apis/fms/2018-01-01/docs-2.json index f3f9432459..929677525b 100644 --- a/models/apis/fms/2018-01-01/docs-2.json +++ b/models/apis/fms/2018-01-01/docs-2.json @@ -4,10 +4,13 @@ "operations": { "AssociateAdminAccount": "

Sets the Firewall Manager administrator account. The account must be a member of the organization in Organizations whose resources you want to protect. Firewall Manager sets the permissions that allow the account to administer your Firewall Manager policies.

The account that you associate with Firewall Manager is called the Firewall Manager administrator account.

", "AssociateThirdPartyFirewall": "

Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service. A tenant is an instance of the third-party firewall service that's associated with your Amazon Web Services customer account.

", + "BatchAssociateResource": "

Associate resources to a Firewall Manager resource set.

", + "BatchDisassociateResource": "

Disassociates resources from a Firewall Manager resource set.

", "DeleteAppsList": "

Permanently deletes an Firewall Manager applications list.

", "DeleteNotificationChannel": "

Deletes an Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.

", "DeletePolicy": "

Permanently deletes an Firewall Manager policy.

", "DeleteProtocolsList": "

Permanently deletes an Firewall Manager protocols list.

", + "DeleteResourceSet": "

Deletes the specified ResourceSet.

", "DisassociateAdminAccount": "

Disassociates the account that has been set as the Firewall Manager administrator account. To set a different account as the administrator account, you must submit an AssociateAdminAccount request.

", "DisassociateThirdPartyFirewall": "

Disassociates a Firewall Manager policy administrator from a third-party firewall tenant. When you call DisassociateThirdPartyFirewall, the third-party firewall vendor deletes all of the firewalls that are associated with the account.

", "GetAdminAccount": "

Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager administrator.

", @@ -17,19 +20,24 @@ "GetPolicy": "

Returns information about the specified Firewall Manager policy.

", "GetProtectionStatus": "

If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack. Other policy types are currently unsupported.

", "GetProtocolsList": "

Returns information about the specified Firewall Manager protocols list.

", + "GetResourceSet": "

Gets information about a specific resource set.

", "GetThirdPartyFirewallAssociationStatus": "

The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.

", "GetViolationDetails": "

Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.

", "ListAppsLists": "

Returns an array of AppsListDataSummary objects.

", "ListComplianceStatus": "

Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus to get a summary of which member accounts are protected by the specified policy.

", + "ListDiscoveredResources": "

Returns an array of resources in the organization's accounts that are available to be associated with a resource set.

", "ListMemberAccounts": "

Returns a MemberAccounts object that lists the member accounts in the administrator's Amazon Web Services organization.

The ListMemberAccounts must be submitted by the account that is set as the Firewall Manager administrator.

", "ListPolicies": "

Returns an array of PolicySummary objects.

", "ListProtocolsLists": "

Returns an array of ProtocolsListDataSummary objects.

", + "ListResourceSetResources": "

Returns an array of resources that are currently associated to a resource set.

", + "ListResourceSets": "

Returns an array of ResourceSetSummary objects.

", "ListTagsForResource": "

Retrieves the list of tags for the specified Amazon Web Services resource.

", "ListThirdPartyFirewallFirewallPolicies": "

Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.

", "PutAppsList": "

Creates an Firewall Manager applications list.

", "PutNotificationChannel": "

Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.

To perform this action outside of the console, you must configure the SNS topic to allow the Firewall Manager role AWSServiceRoleForFMS to publish SNS logs. For more information, see Firewall Manager required permissions for API actions in the Firewall Manager Developer Guide.

", "PutPolicy": "

Creates an Firewall Manager policy.

Firewall Manager provides the following types of policies:

Each policy is specific to one of the types. If you want to enforce more than one policy type across accounts, create multiple policies. You can create multiple policies for each type.

You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see CreateSubscription.

", "PutProtocolsList": "

Creates an Firewall Manager protocols list.

", + "PutResourceSet": "

Creates the resource set.

An Firewall Manager resource set defines the resources to import into an Firewall Manager policy from another Amazon Web Services service.

", "TagResource": "

Adds one or more tags to an Amazon Web Services resource.

", "UntagResource": "

Removes one or more tags from an Amazon Web Services resource.

" }, @@ -37,7 +45,9 @@ "AWSAccountId": { "base": null, "refs": { + "AWSAccountIdList$member": null, "AssociateAdminAccountRequest$AdminAccount": "

The Amazon Web Services account ID to associate with Firewall Manager as the Firewall Manager administrator account. This must be an Organizations member account. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.

", + "DiscoveredResource$AccountId": "

The Amazon Web Services account ID associated with the discovered resource.

", "GetAdminAccountResponse$AdminAccount": "

The Amazon Web Services account that is set as the Firewall Manager administrator.

", "GetComplianceDetailRequest$MemberAccount": "

The Amazon Web Services account that owns the resources that you want to get the details for.

", "GetProtectionStatusRequest$MemberAccountId": "

The Amazon Web Services account that is in scope of the policy that you want to get the details for.

", @@ -48,9 +58,16 @@ "PolicyComplianceDetail$MemberAccount": "

The Amazon Web Services account ID.

", "PolicyComplianceStatus$PolicyOwner": "

The Amazon Web Services account that created the Firewall Manager policy.

", "PolicyComplianceStatus$MemberAccount": "

The member account ID.

", + "Resource$AccountId": "

The Amazon Web Services account ID that the associated resource belongs to.

", "ViolationDetail$MemberAccount": "

The Amazon Web Services account that the violation details were requested for.

" } }, + "AWSAccountIdList": { + "base": null, + "refs": { + "ListDiscoveredResourcesRequest$MemberAccountIds": "

The Amazon Web Services account IDs to discover resources in. Only one account is supported per request. The account must be a member of your organization.

" + } + }, "AccountRoleStatus": { "base": null, "refs": { @@ -150,6 +167,16 @@ "ResourceViolation$AwsVPCSecurityGroupViolation": "

Violation detail for security groups.

" } }, + "Base62Id": { + "base": null, + "refs": { + "DeleteResourceSetRequest$Identifier": "

A unique identifier for the resource set, used in a TODO to refer to the resource set.

", + "GetResourceSetRequest$Identifier": "

A unique identifier for the resource set, used in a TODO to refer to the resource set.

", + "ResourceSet$Id": "

A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

", + "ResourceSetIds$member": null, + "ResourceSetSummary$Id": "

A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

" + } + }, "BasicInteger": { "base": null, "refs": { @@ -157,6 +184,26 @@ "RemediationActionWithOrder$Order": "

The order of the remediation actions in the list.

" } }, + "BatchAssociateResourceRequest": { + "base": null, + "refs": { + } + }, + "BatchAssociateResourceResponse": { + "base": null, + "refs": { + } + }, + "BatchDisassociateResourceRequest": { + "base": null, + "refs": { + } + }, + "BatchDisassociateResourceResponse": { + "base": null, + "refs": { + } + }, "Boolean": { "base": null, "refs": { @@ -257,12 +304,24 @@ "refs": { } }, + "DeleteResourceSetRequest": { + "base": null, + "refs": { + } + }, "DependentServiceName": { "base": null, "refs": { "IssueInfoMap$key": null } }, + "Description": { + "base": null, + "refs": { + "ResourceSet$Description": "

A description of the resource set.

", + "ResourceSetSummary$Description": "

A description of the resource set.

" + } + }, "DestinationType": { "base": null, "refs": { @@ -290,6 +349,18 @@ "refs": { } }, + "DiscoveredResource": { + "base": "

A resource in the organization that's available to be associated with a Firewall Manager resource set.

", + "refs": { + "DiscoveredResourceList$member": null + } + }, + "DiscoveredResourceList": { + "base": null, + "refs": { + "ListDiscoveredResourcesResponse$Items": "

Details of the resources that were discovered.

" + } + }, "DnsDuplicateRuleGroupViolation": { "base": "

A DNS Firewall rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again.

", "refs": { @@ -408,6 +479,25 @@ "RemediationAction$FMSPolicyUpdateFirewallCreationConfigAction": "

The remedial action to take when updating a firewall configuration.

" } }, + "FailedItem": { + "base": "

Details of a resource that failed when trying to update it's association to a resource set.

", + "refs": { + "FailedItemList$member": null + } + }, + "FailedItemList": { + "base": null, + "refs": { + "BatchAssociateResourceResponse$FailedItems": "

The resources that failed to associate to the resource set.

", + "BatchDisassociateResourceResponse$FailedItems": "

The resources that failed to disassociate from the resource set.

" + } + }, + "FailedItemReason": { + "base": null, + "refs": { + "FailedItem$Reason": "

The reason the resource's association could not be updated.

" + } + }, "FirewallDeploymentModel": { "base": null, "refs": { @@ -509,6 +599,16 @@ "refs": { } }, + "GetResourceSetRequest": { + "base": null, + "refs": { + } + }, + "GetResourceSetResponse": { + "base": null, + "refs": { + } + }, "GetThirdPartyFirewallAssociationStatusRequest": { "base": null, "refs": { @@ -537,6 +637,26 @@ "SecurityGroupRuleDescription$ToPort": "

The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.

" } }, + "Identifier": { + "base": null, + "refs": { + "BatchAssociateResourceRequest$ResourceSetIdentifier": "

A unique identifier for the resource set, used in a TODO to refer to the resource set.

", + "BatchAssociateResourceResponse$ResourceSetIdentifier": "

A unique identifier for the resource set, used in a TODO to refer to the resource set.

", + "BatchDisassociateResourceRequest$ResourceSetIdentifier": "

A unique identifier for the resource set, used in a TODO to refer to the resource set.

", + "BatchDisassociateResourceResponse$ResourceSetIdentifier": "

A unique identifier for the resource set, used in a TODO to refer to the resource set.

", + "DiscoveredResource$URI": "

The universal resource identifier (URI) of the discovered resource.

", + "FailedItem$URI": "

The univeral resource indicator (URI) of the resource that failed.

", + "IdentifierList$member": null, + "Resource$URI": "

The resource's universal resource indicator (URI).

" + } + }, + "IdentifierList": { + "base": null, + "refs": { + "BatchAssociateResourceRequest$Items": "

The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The URIs must be Amazon Resource Names (ARNs).

", + "BatchDisassociateResourceRequest$Items": "

The uniform resource identifiers (URI) of resources that should be disassociated from the resource set. The URIs must be Amazon Resource Names (ARNs).

" + } + }, "InternalErrorException": { "base": "

The operation failed because of a system problem, even though the request was valid. Retry your request.

", "refs": { @@ -636,6 +756,16 @@ "refs": { } }, + "ListDiscoveredResourcesRequest": { + "base": null, + "refs": { + } + }, + "ListDiscoveredResourcesResponse": { + "base": null, + "refs": { + } + }, "ListId": { "base": null, "refs": { @@ -679,6 +809,26 @@ "refs": { } }, + "ListResourceSetResourcesRequest": { + "base": null, + "refs": { + } + }, + "ListResourceSetResourcesResponse": { + "base": null, + "refs": { + } + }, + "ListResourceSetsRequest": { + "base": null, + "refs": { + } + }, + "ListResourceSetsResponse": { + "base": null, + "refs": { + } + }, "ListTagsForResourceRequest": { "base": null, "refs": { @@ -718,6 +868,13 @@ "ListMemberAccountsResponse$MemberAccounts": "

An array of account IDs.

" } }, + "Name": { + "base": null, + "refs": { + "ResourceSet$Name": "

The descriptive name of the resource set. You can't change the name of a resource set after you create it.

", + "ResourceSetSummary$Name": "

The descriptive name of the resource set. You can't change the name of a resource set after you create it.

" + } + }, "NetworkFirewallAction": { "base": null, "refs": { @@ -837,9 +994,12 @@ "GetProtectionStatusRequest$MaxResults": "

Specifies the number of objects that you want Firewall Manager to return for this request. If you have more objects than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of objects.

", "ListAppsListsRequest$MaxResults": "

The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

If you don't specify this, Firewall Manager returns all available objects.

", "ListComplianceStatusRequest$MaxResults": "

Specifies the number of PolicyComplianceStatus objects that you want Firewall Manager to return for this request. If you have more PolicyComplianceStatus objects than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of PolicyComplianceStatus objects.

", + "ListDiscoveredResourcesRequest$MaxResults": "

The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

", "ListMemberAccountsRequest$MaxResults": "

Specifies the number of member account IDs that you want Firewall Manager to return for this request. If you have more IDs than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of member account IDs.

", "ListPoliciesRequest$MaxResults": "

Specifies the number of PolicySummary objects that you want Firewall Manager to return for this request. If you have more PolicySummary objects than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of PolicySummary objects.

", "ListProtocolsListsRequest$MaxResults": "

The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

If you don't specify this, Firewall Manager returns all available objects.

", + "ListResourceSetResourcesRequest$MaxResults": "

The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

", + "ListResourceSetsRequest$MaxResults": "

The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

", "ListThirdPartyFirewallFirewallPoliciesRequest$MaxResults": "

The maximum number of third-party firewall policies that you want Firewall Manager to return. If the specified third-party firewall vendor is associated with more than MaxResults firewall policies, the response includes a NextToken element. NextToken contains an encrypted token that identifies the first third-party firewall policies that Firewall Manager will return if you submit another request.

" } }, @@ -852,12 +1012,18 @@ "ListAppsListsResponse$NextToken": "

If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.

", "ListComplianceStatusRequest$NextToken": "

If you specify a value for MaxResults and you have more PolicyComplianceStatus objects than the number that you specify for MaxResults, Firewall Manager returns a NextToken value in the response that allows you to list another group of PolicyComplianceStatus objects. For the second and subsequent ListComplianceStatus requests, specify the value of NextToken from the previous response to get information about another batch of PolicyComplianceStatus objects.

", "ListComplianceStatusResponse$NextToken": "

If you have more PolicyComplianceStatus objects than the number that you specified for MaxResults in the request, the response includes a NextToken value. To list more PolicyComplianceStatus objects, submit another ListComplianceStatus request, and specify the NextToken value from the response in the NextToken value in the next request.

", + "ListDiscoveredResourcesRequest$NextToken": "

When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

", + "ListDiscoveredResourcesResponse$NextToken": "

When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

", "ListMemberAccountsRequest$NextToken": "

If you specify a value for MaxResults and you have more account IDs than the number that you specify for MaxResults, Firewall Manager returns a NextToken value in the response that allows you to list another group of IDs. For the second and subsequent ListMemberAccountsRequest requests, specify the value of NextToken from the previous response to get information about another batch of member account IDs.

", "ListMemberAccountsResponse$NextToken": "

If you have more member account IDs than the number that you specified for MaxResults in the request, the response includes a NextToken value. To list more IDs, submit another ListMemberAccounts request, and specify the NextToken value from the response in the NextToken value in the next request.

", "ListPoliciesRequest$NextToken": "

If you specify a value for MaxResults and you have more PolicySummary objects than the number that you specify for MaxResults, Firewall Manager returns a NextToken value in the response that allows you to list another group of PolicySummary objects. For the second and subsequent ListPolicies requests, specify the value of NextToken from the previous response to get information about another batch of PolicySummary objects.

", "ListPoliciesResponse$NextToken": "

If you have more PolicySummary objects than the number that you specified for MaxResults in the request, the response includes a NextToken value. To list more PolicySummary objects, submit another ListPolicies request, and specify the NextToken value from the response in the NextToken value in the next request.

", "ListProtocolsListsRequest$NextToken": "

If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request in the request parameters, to retrieve the next batch of objects.

", "ListProtocolsListsResponse$NextToken": "

If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.

", + "ListResourceSetResourcesRequest$NextToken": "

When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

", + "ListResourceSetResourcesResponse$NextToken": "

When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

", + "ListResourceSetsRequest$NextToken": "

When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

", + "ListResourceSetsResponse$NextToken": "

When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

", "ListThirdPartyFirewallFirewallPoliciesRequest$NextToken": "

If the previous response included a NextToken element, the specified third-party firewall vendor is associated with more third-party firewall policies. To get more third-party firewall policies, submit another ListThirdPartyFirewallFirewallPoliciesRequest request.

For the value of NextToken, specify the value of NextToken from the previous response. If the previous response didn't include a NextToken element, there are no more third-party firewall policies to get.

", "ListThirdPartyFirewallFirewallPoliciesResponse$NextToken": "

The value that you will use for NextToken in the next ListThirdPartyFirewallFirewallPolicies request.

" } @@ -1066,6 +1232,16 @@ "refs": { } }, + "PutResourceSetRequest": { + "base": null, + "refs": { + } + }, + "PutResourceSetResponse": { + "base": null, + "refs": { + } + }, "ReferenceRule": { "base": null, "refs": { @@ -1096,6 +1272,12 @@ "OrderedRemediationActions$member": null } }, + "Resource": { + "base": "

Details of a resource that is associated to an Firewall Manager resource set.

", + "refs": { + "ResourceList$member": null + } + }, "ResourceArn": { "base": null, "refs": { @@ -1105,6 +1287,7 @@ "GetNotificationChannelResponse$SnsRoleName": "

The IAM role that is used by Firewall Manager to record activity to SNS.

", "GetPolicyResponse$PolicyArn": "

The Amazon Resource Name (ARN) of the specified policy.

", "GetProtocolsListResponse$ProtocolsListArn": "

The Amazon Resource Name (ARN) of the specified protocols list.

", + "GetResourceSetResponse$ResourceSetArn": "

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

", "ListTagsForResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists.

", "PolicySummary$PolicyArn": "

The Amazon Resource Name (ARN) of the specified policy.

", "ProtocolsListDataSummary$ListArn": "

The Amazon Resource Name (ARN) of the specified protocols list.

", @@ -1113,6 +1296,7 @@ "PutNotificationChannelRequest$SnsRoleName": "

The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record Firewall Manager activity.

", "PutPolicyResponse$PolicyArn": "

The Amazon Resource Name (ARN) of the policy.

", "PutProtocolsListResponse$ProtocolsListArn": "

The Amazon Resource Name (ARN) of the protocols list.

", + "PutResourceSetResponse$ResourceSetArn": "

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

", "TagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists.

", "UntagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists.

" } @@ -1123,6 +1307,12 @@ "EvaluationResult$ViolatorCount": "

The number of resources that are noncompliant with the specified policy. For WAF and Shield Advanced policies, a resource is considered noncompliant if it is not associated with the policy. For security group policies, a resource is considered noncompliant if it doesn't comply with the rules of the policy and remediation is disabled or not possible.

" } }, + "ResourceDescription": { + "base": null, + "refs": { + "Policy$PolicyDescription": "

The definition of the Network Firewall firewall policy.

" + } + }, "ResourceId": { "base": null, "refs": { @@ -1138,6 +1328,7 @@ "FirewallSubnetMissingVPCEndpointViolation$FirewallSubnetId": "

The ID of the firewall that this VPC endpoint is associated with.

", "FirewallSubnetMissingVPCEndpointViolation$VpcId": "

The resource ID of the VPC associated with the deleted VPC subnet.

", "GetViolationDetailsRequest$ResourceId": "

The ID of the resource that has violations.

", + "ListResourceSetResourcesRequest$Identifier": "

A unique identifier for the resource set, used in a TODO to refer to the resource set.

", "NetworkFirewallBlackHoleRouteDetectedViolation$RouteTableId": "

Information about the route table ID.

", "NetworkFirewallBlackHoleRouteDetectedViolation$VpcId": "

Information about the VPC ID.

", "NetworkFirewallInternetTrafficNotInspectedViolation$SubnetId": "

The subnet ID.

", @@ -1197,12 +1388,19 @@ "NetworkFirewallInvalidRouteConfigurationViolation$AffectedSubnets": "

The subnets that are affected.

" } }, + "ResourceList": { + "base": null, + "refs": { + "ListResourceSetResourcesResponse$Items": "

An array of the associated resources' uniform resource identifiers (URI).

" + } + }, "ResourceName": { "base": null, "refs": { "App$AppName": "

The application's name.

", "AppsListData$ListName": "

The name of the Firewall Manager applications list.

", "AppsListDataSummary$ListName": "

The name of the applications list.

", + "DiscoveredResource$Name": "

The name of the discovered resource.

", "Policy$PolicyName": "

The name of the Firewall Manager policy.

", "PolicyComplianceStatus$PolicyName": "

The name of the Firewall Manager policy.

", "PolicySummary$PolicyName": "

The name of the specified policy.

", @@ -1215,6 +1413,32 @@ "refs": { } }, + "ResourceSet": { + "base": "

A set of resources to include in a policy.

", + "refs": { + "GetResourceSetResponse$ResourceSet": "

Information about the specified resource set.

", + "PutResourceSetRequest$ResourceSet": "

Details about the resource set to be created or updated.>

", + "PutResourceSetResponse$ResourceSet": "

Details about the resource set.

" + } + }, + "ResourceSetIds": { + "base": null, + "refs": { + "Policy$ResourceSetIds": "

The unique identifiers of the resource sets used by the policy.

" + } + }, + "ResourceSetSummary": { + "base": "

Summarizes the resource sets used in a policy.

", + "refs": { + "ResourceSetSummaryList$member": null + } + }, + "ResourceSetSummaryList": { + "base": null, + "refs": { + "ListResourceSetsResponse$ResourceSets": "

An array of ResourceSetSummary objects.

" + } + }, "ResourceTag": { "base": "

The resource tags that Firewall Manager uses to determine if a particular resource should be included or excluded from the Firewall Manager policy. Tags enable you to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. Firewall Manager combines the tags with \"AND\" so that, if you add more than one tag to a policy scope, a resource must have all the specified tags to be included or excluded. For more information, see Working with Tag Editor.

", "refs": { @@ -1243,7 +1467,9 @@ "base": null, "refs": { "ComplianceViolator$ResourceType": "

The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::CloudFront::Distribution, or AWS::NetworkFirewall::FirewallPolicy.

", + "DiscoveredResource$Type": "

The type of the discovered resource.

", "GetViolationDetailsRequest$ResourceType": "

The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. Supported resource types are: AWS::EC2::Instance, AWS::EC2::NetworkInterface, AWS::EC2::SecurityGroup, AWS::NetworkFirewall::FirewallPolicy, and AWS::EC2::Subnet.

", + "ListDiscoveredResourcesRequest$ResourceType": "

The type of resources to discover.

", "Policy$ResourceType": "

The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference. To apply this policy to multiple resource types, specify a resource type of ResourceTypeList and then specify the resource types in a ResourceTypeList.

For WAF and Shield Advanced, resource types include AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::ElasticLoadBalancing::LoadBalancer, AWS::EC2::EIP, and AWS::CloudFront::Distribution. For a security group common policy, valid values are AWS::EC2::NetworkInterface and AWS::EC2::Instance. For a security group content audit policy, valid values are AWS::EC2::SecurityGroup, AWS::EC2::NetworkInterface, and AWS::EC2::Instance. For a security group usage audit policy, the value is AWS::EC2::SecurityGroup. For an Network Firewall policy or DNS Firewall policy, the value is AWS::EC2::VPC.

", "PolicySummary$ResourceType": "

The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference. For WAF and Shield Advanced, examples include AWS::ElasticLoadBalancingV2::LoadBalancer and AWS::CloudFront::Distribution. For a security group common policy, valid values are AWS::EC2::NetworkInterface and AWS::EC2::Instance. For a security group content audit policy, valid values are AWS::EC2::SecurityGroup, AWS::EC2::NetworkInterface, and AWS::EC2::Instance. For a security group usage audit policy, the value is AWS::EC2::SecurityGroup. For an Network Firewall policy or DNS Firewall policy, the value is AWS::EC2::VPC.

", "ResourceTypeList$member": null, @@ -1253,7 +1479,8 @@ "ResourceTypeList": { "base": null, "refs": { - "Policy$ResourceTypeList": "

An array of ResourceType objects. Use this only to specify multiple resource types. To specify a single resource type, use ResourceType.

" + "Policy$ResourceTypeList": "

An array of ResourceType objects. Use this only to specify multiple resource types. To specify a single resource type, use ResourceType.

", + "ResourceSet$ResourceTypeList": "

Determines the resources that can be associated to the resource set. Depending on your setting for max results and the number of resource sets, a single call might not return the full list.

" } }, "ResourceViolation": { @@ -1397,6 +1624,7 @@ "PutAppsListRequest$TagList": "

The tags associated with the resource.

", "PutPolicyRequest$TagList": "

The tags to add to the Amazon Web Services resource.

", "PutProtocolsListRequest$TagList": "

The tags associated with the resource.

", + "PutResourceSetRequest$TagList": "

Retrieves the tags associated with the specified resource set. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.

", "TagResourceRequest$TagList": "

The tags to add to the resource.

", "ViolationDetail$ResourceTags": "

The ResourceTag objects associated with the resource.

" } @@ -1502,7 +1730,9 @@ "PolicyComplianceDetail$ExpiredAt": "

A timestamp that indicates when the returned information should be considered out of date.

", "PolicyComplianceStatus$LastUpdated": "

Timestamp of the last update to the EvaluationResult objects.

", "ProtocolsListData$CreateTime": "

The time that the Firewall Manager protocols list was created.

", - "ProtocolsListData$LastUpdateTime": "

The time that the Firewall Manager protocols list was last updated.

" + "ProtocolsListData$LastUpdateTime": "

The time that the Firewall Manager protocols list was last updated.

", + "ResourceSet$LastUpdateTime": "

The last time that the resource set was changed.

", + "ResourceSetSummary$LastUpdateTime": "

The last time that the resource set was changed.

" } }, "UntagResourceRequest": { @@ -1519,7 +1749,8 @@ "base": null, "refs": { "AppsListData$ListUpdateToken": "

A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list.

", - "ProtocolsListData$ListUpdateToken": "

A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list.

" + "ProtocolsListData$ListUpdateToken": "

A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list.

", + "ResourceSet$UpdateToken": "

An optional token that you can use for optimistic locking. Firewall Manager returns a token to your requests that access the resource set. The token marks the state of the resource set resource at the time of the request. Update tokens are not allowed when creating a resource set. After creation, each subsequent update call to the resource set requires the update token.

To make an unconditional change to the resource set, omit the token in your update request. Without the token, Firewall Manager performs your updates regardless of whether the resource set has changed since you last retrieved it.

To make a conditional change to the resource set, provide the token in your update request. Firewall Manager uses the token to ensure that the resource set hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the resource set again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

" } }, "ViolationDetail": { diff --git a/models/apis/lightsail/2016-11-28/api-2.json b/models/apis/lightsail/2016-11-28/api-2.json index 35049b9373..36892fabf5 100644 --- a/models/apis/lightsail/2016-11-28/api-2.json +++ b/models/apis/lightsail/2016-11-28/api-2.json @@ -3225,6 +3225,14 @@ "supportCode":{"shape":"string"} } }, + "CertificateDomainValidationStatus":{ + "type":"string", + "enum":[ + "PENDING_VALIDATION", + "FAILED", + "SUCCESS" + ] + }, "CertificateName":{"type":"string"}, "CertificateStatus":{ "type":"string", @@ -4612,6 +4620,21 @@ "Http5xxErrorRate" ] }, + "DnsRecordCreationState":{ + "type":"structure", + "members":{ + "code":{"shape":"DnsRecordCreationStateCode"}, + "message":{"shape":"string"} + } + }, + "DnsRecordCreationStateCode":{ + "type":"string", + "enum":[ + "SUCCEEDED", + "STARTED", + "FAILED" + ] + }, "Domain":{ "type":"structure", "members":{ @@ -4622,7 +4645,8 @@ "location":{"shape":"ResourceLocation"}, "resourceType":{"shape":"ResourceType"}, "tags":{"shape":"TagList"}, - "domainEntries":{"shape":"DomainEntryList"} + "domainEntries":{"shape":"DomainEntryList"}, + "registeredDomainDelegationInfo":{"shape":"RegisteredDomainDelegationInfo"} } }, "DomainEntry":{ @@ -4663,7 +4687,9 @@ "type":"structure", "members":{ "domainName":{"shape":"DomainName"}, - "resourceRecord":{"shape":"ResourceRecord"} + "resourceRecord":{"shape":"ResourceRecord"}, + "dnsRecordCreationState":{"shape":"DnsRecordCreationState"}, + "validationStatus":{"shape":"CertificateDomainValidationStatus"} } }, "DomainValidationRecordList":{ @@ -6260,6 +6286,21 @@ "subjectAlternativeNames":{"shape":"StringList"} } }, + "LoadBalancerTlsCertificateDnsRecordCreationState":{ + "type":"structure", + "members":{ + "code":{"shape":"LoadBalancerTlsCertificateDnsRecordCreationStateCode"}, + "message":{"shape":"string"} + } + }, + "LoadBalancerTlsCertificateDnsRecordCreationStateCode":{ + "type":"string", + "enum":[ + "SUCCEEDED", + "STARTED", + "FAILED" + ] + }, "LoadBalancerTlsCertificateDomainStatus":{ "type":"string", "enum":[ @@ -6286,7 +6327,8 @@ "type":{"shape":"NonEmptyString"}, "value":{"shape":"NonEmptyString"}, "validationStatus":{"shape":"LoadBalancerTlsCertificateDomainStatus"}, - "domainName":{"shape":"DomainName"} + "domainName":{"shape":"DomainName"}, + "dnsRecordCreationState":{"shape":"LoadBalancerTlsCertificateDnsRecordCreationState"} } }, "LoadBalancerTlsCertificateDomainValidationRecordList":{ @@ -6498,6 +6540,22 @@ "gbPerMonthAllocated":{"shape":"integer"} } }, + "NameServersUpdateState":{ + "type":"structure", + "members":{ + "code":{"shape":"NameServersUpdateStateCode"}, + "message":{"shape":"string"} + } + }, + "NameServersUpdateStateCode":{ + "type":"string", + "enum":[ + "SUCCEEDED", + "PENDING", + "FAILED", + "STARTED" + ] + }, "NetworkProtocol":{ "type":"string", "enum":[ @@ -6845,6 +6903,22 @@ "queryStringsAllowList":{"shape":"StringList"} } }, + "R53HostedZoneDeletionState":{ + "type":"structure", + "members":{ + "code":{"shape":"R53HostedZoneDeletionStateCode"}, + "message":{"shape":"string"} + } + }, + "R53HostedZoneDeletionStateCode":{ + "type":"string", + "enum":[ + "SUCCEEDED", + "PENDING", + "FAILED", + "STARTED" + ] + }, "RebootInstanceRequest":{ "type":"structure", "required":["instanceName"], @@ -6933,6 +7007,13 @@ "containerImage":{"shape":"ContainerImage"} } }, + "RegisteredDomainDelegationInfo":{ + "type":"structure", + "members":{ + "nameServersUpdateState":{"shape":"NameServersUpdateState"}, + "r53HostedZoneDeletionState":{"shape":"R53HostedZoneDeletionState"} + } + }, "RelationalDatabase":{ "type":"structure", "members":{ diff --git a/models/apis/lightsail/2016-11-28/docs-2.json b/models/apis/lightsail/2016-11-28/docs-2.json index 8fb02ece54..37a4d958ce 100644 --- a/models/apis/lightsail/2016-11-28/docs-2.json +++ b/models/apis/lightsail/2016-11-28/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

Amazon Lightsail is the easiest way to get started with Amazon Web Services (Amazon Web Services) for developers who need to build websites or web applications. It includes everything you need to launch your project quickly - instances (virtual private servers), container services, storage buckets, managed databases, SSD-based block storage, static IP addresses, load balancers, content delivery network (CDN) distributions, DNS management of registered domains, and resource snapshots (backups) - for a low, predictable monthly price.

You can manage your Lightsail resources using the Lightsail console, Lightsail API, AWS Command Line Interface (AWS CLI), or SDKs. For more information about Lightsail concepts and tasks, see the Amazon Lightsail Developer Guide.

This API Reference provides detailed information about the actions, data types, parameters, and errors of the Lightsail service. For more information about the supported Amazon Web Services Regions, endpoints, and service quotas of the Lightsail service, see Amazon Lightsail Endpoints and Quotas in the Amazon Web Services General Reference.

", + "service": "

Amazon Lightsail is the easiest way to get started with Amazon Web Services (Amazon Web Services) for developers who need to build websites or web applications. It includes everything you need to launch your project quickly - instances (virtual private servers), container services, storage buckets, managed databases, SSD-based block storage, static IP addresses, load balancers, content delivery network (CDN) distributions, DNS management of registered domains, and resource snapshots (backups) - for a low, predictable monthly price.

You can manage your Lightsail resources using the Lightsail console, Lightsail API, Command Line Interface (CLI), or SDKs. For more information about Lightsail concepts and tasks, see the Amazon Lightsail Developer Guide.

This API Reference provides detailed information about the actions, data types, parameters, and errors of the Lightsail service. For more information about the supported Amazon Web Services Regions, endpoints, and service quotas of the Lightsail service, see Amazon Lightsail Endpoints and Quotas in the Amazon Web Services General Reference.

", "operations": { "AllocateStaticIp": "

Allocates a static IP address.

", "AttachCertificateToDistribution": "

Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution.

After the certificate is attached, your distribution accepts HTTPS traffic for all of the domains that are associated with the certificate.

Use the CreateCertificate action to create a certificate that you can attach to your distribution.

Only certificates created in the us-east-1 Amazon Web Services Region can be attached to Lightsail distributions. Lightsail distributions are global resources that can reference an origin in any Amazon Web Services Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.

", @@ -76,8 +76,8 @@ "GetContactMethods": "

Returns information about the configured contact methods. Specify a protocol in your request to return information about a specific contact method.

A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

", "GetContainerAPIMetadata": "

Returns information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.

", "GetContainerImages": "

Returns the container images that are registered to your Amazon Lightsail container service.

If you created a deployment on your Lightsail container service that uses container images from a public registry like Docker Hub, those images are not returned as part of this action. Those images are not registered to your Lightsail container service.

", - "GetContainerLog": "

Returns the log events of a container of your Amazon Lightsail container service.

If your container service has more than one node (i.e., a scale greater than 1), then the log events that are returned for the specified container are merged from all nodes on your container service.

Container logs are retained for a certain amount of time. For more information, see Amazon Lightsail endpoints and quotas in the AWS General Reference.

", - "GetContainerServiceDeployments": "

Returns the deployments for your Amazon Lightsail container service

A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.

The deployments are ordered by version in ascending order. The newest version is listed at the top of the response.

A set number of deployments are kept before the oldest one is replaced with the newest one. For more information, see Amazon Lightsail endpoints and quotas in the AWS General Reference.

", + "GetContainerLog": "

Returns the log events of a container of your Amazon Lightsail container service.

If your container service has more than one node (i.e., a scale greater than 1), then the log events that are returned for the specified container are merged from all nodes on your container service.

Container logs are retained for a certain amount of time. For more information, see Amazon Lightsail endpoints and quotas in the Amazon Web Services General Reference.

", + "GetContainerServiceDeployments": "

Returns the deployments for your Amazon Lightsail container service

A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.

The deployments are ordered by version in ascending order. The newest version is listed at the top of the response.

A set number of deployments are kept before the oldest one is replaced with the newest one. For more information, see Amazon Lightsail endpoints and quotas in the Amazon Web Services General Reference.

", "GetContainerServiceMetricData": "

Returns the data points of a specific metric of your Amazon Lightsail container service.

Metrics report the utilization of your resources. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.

", "GetContainerServicePowers": "

Returns the list of powers that can be specified for your Amazon Lightsail container services.

The power specifies the amount of memory, the number of vCPUs, and the base price of the container service.

", "GetContainerServices": "

Returns information about one or more of your Amazon Lightsail container services.

", @@ -148,10 +148,10 @@ "UnpeerVpc": "

Unpeers the Lightsail VPC from the user's default VPC.

", "UntagResource": "

Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.

The untag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Amazon Lightsail Developer Guide.

", "UpdateBucket": "

Updates an existing Amazon Lightsail bucket.

Use this action to update the configuration of an existing bucket, such as versioning, public accessibility, and the Amazon Web Services accounts that can access the bucket.

", - "UpdateBucketBundle": "

Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. You can update a bucket's bundle only one time within a monthly AWS billing cycle. To determine if you can update a bucket's bundle, use the GetBuckets action. The ableToUpdateBundle parameter in the response will indicate whether you can currently update a bucket's bundle.

Update a bucket's bundle if it's consistently going over its storage space or data transfer quota, or if a bucket's usage is consistently in the lower range of its storage space or data transfer quota. Due to the unpredictable usage fluctuations that a bucket might experience, we strongly recommend that you update a bucket's bundle only as a long-term strategy, instead of as a short-term, monthly cost-cutting measure. Choose a bucket bundle that will provide the bucket with ample storage space and data transfer for a long time to come.

", + "UpdateBucketBundle": "

Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. You can update a bucket's bundle only one time within a monthly Amazon Web Services billing cycle. To determine if you can update a bucket's bundle, use the GetBuckets action. The ableToUpdateBundle parameter in the response will indicate whether you can currently update a bucket's bundle.

Update a bucket's bundle if it's consistently going over its storage space or data transfer quota, or if a bucket's usage is consistently in the lower range of its storage space or data transfer quota. Due to the unpredictable usage fluctuations that a bucket might experience, we strongly recommend that you update a bucket's bundle only as a long-term strategy, instead of as a short-term, monthly cost-cutting measure. Choose a bucket bundle that will provide the bucket with ample storage space and data transfer for a long time to come.

", "UpdateContainerService": "

Updates the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names.

", "UpdateDistribution": "

Updates an existing Amazon Lightsail content delivery network (CDN) distribution.

Use this action to update the configuration of your existing distribution.

", - "UpdateDistributionBundle": "

Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution.

A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution.

Update your distribution's bundle if your distribution is going over its monthly network transfer quota and is incurring an overage fee.

You can update your distribution's bundle only one time within your monthly AWS billing cycle. To determine if you can update your distribution's bundle, use the GetDistributions action. The ableToUpdateBundle parameter in the result will indicate whether you can currently update your distribution's bundle.

", + "UpdateDistributionBundle": "

Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution.

A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution.

Update your distribution's bundle if your distribution is going over its monthly network transfer quota and is incurring an overage fee.

You can update your distribution's bundle only one time within your monthly Amazon Web Services billing cycle. To determine if you can update your distribution's bundle, use the GetDistributions action. The ableToUpdateBundle parameter in the result will indicate whether you can currently update your distribution's bundle.

", "UpdateDomainEntry": "

Updates a domain recordset after it is created.

The update domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.

", "UpdateInstanceMetadataOptions": "

Modifies the Amazon Lightsail instance metadata parameters on a running or stopped instance. When you modify the parameters on a running instance, the GetInstance or GetInstances API operation initially responds with a state of pending. After the parameter modifications are successfully applied, the state changes to applied in subsequent GetInstance or GetInstances API calls. For more information, see Use IMDSv2 with an Amazon Lightsail instance in the Amazon Lightsail Developer Guide.

", "UpdateLoadBalancerAttribute": "

Updates the specified attribute for a load balancer. You can only update one attribute at a time.

The update load balancer attribute operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

", @@ -561,6 +561,12 @@ "CertificateSummary$certificateDetail": "

An object that describes a certificate in detail.

" } }, + "CertificateDomainValidationStatus": { + "base": null, + "refs": { + "DomainValidationRecord$validationStatus": "

The validation status of the record.

" + } + }, "CertificateName": { "base": null, "refs": { @@ -826,7 +832,7 @@ "refs": { "ContainerService$containerServiceName": "

The name of the container service.

", "CreateContainerServiceDeploymentRequest$serviceName": "

The name of the container service for which to create the deployment.

", - "CreateContainerServiceRequest$serviceName": "

The name for the container service.

The name that you specify for your container service will make up part of its default domain. The default domain of a container service is typically https://<ServiceName>.<RandomGUID>.<AWSRegion>.cs.amazonlightsail.com. If the name of your container service is container-service-1, and it's located in the US East (Ohio) AWS region (us-east-2), then the domain for your container service will be like the following example: https://container-service-1.ur4EXAMPLE2uq.us-east-2.cs.amazonlightsail.com

The following are the requirements for container service names:

", + "CreateContainerServiceRequest$serviceName": "

The name for the container service.

The name that you specify for your container service will make up part of its default domain. The default domain of a container service is typically https://<ServiceName>.<RandomGUID>.<AWSRegion>.cs.amazonlightsail.com. If the name of your container service is container-service-1, and it's located in the US East (Ohio) Amazon Web Services Region (us-east-2), then the domain for your container service will be like the following example: https://container-service-1.ur4EXAMPLE2uq.us-east-2.cs.amazonlightsail.com

The following are the requirements for container service names:

", "DeleteContainerImageRequest$serviceName": "

The name of the container service for which to delete a registered container image.

", "DeleteContainerServiceRequest$serviceName": "

The name of the container service to delete.

", "GetContainerImagesRequest$serviceName": "

The name of the container service for which to return registered container images.

", @@ -1523,6 +1529,18 @@ "GetDistributionMetricDataResult$metricName": "

The name of the metric returned.

" } }, + "DnsRecordCreationState": { + "base": "

Describes the creation state of the canonical name (CNAME) records that are automatically added by Amazon Lightsail to the DNS of a domain to validate domain ownership for an SSL/TLS certificate.

When you create an SSL/TLS certificate for a Lightsail resource, you must add a set of CNAME records to the DNS of the domains for the certificate to validate that you own the domains. Lightsail can automatically add the CNAME records to the DNS of the domain if the DNS zone for the domain exists within your Lightsail account. If automatic record addition fails, or if you manage the DNS of your domain using a third-party service, then you must manually add the CNAME records to the DNS of your domain. For more information, see Verify an SSL/TLS certificate in Amazon Lightsail in the Amazon Lightsail Developer Guide.

", + "refs": { + "DomainValidationRecord$dnsRecordCreationState": "

An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.

" + } + }, + "DnsRecordCreationStateCode": { + "base": null, + "refs": { + "DnsRecordCreationState$code": "

The status code for the automated DNS record creation.

Following are the possible values:

" + } + }, "Domain": { "base": "

Describes a domain where you are storing recordsets.

", "refs": { @@ -1600,7 +1618,7 @@ } }, "DomainValidationRecord": { - "base": "

Describes the domain validation records of an Amazon Lightsail SSL/TLS certificate.

", + "base": "

Describes the domain name system (DNS) records that you must add to the DNS of your registered domain to validate ownership for an Amazon Lightsail SSL/TLS certificate.

", "refs": { "DomainValidationRecordList$member": null } @@ -2765,6 +2783,18 @@ "LoadBalancerTlsCertificateList$member": null } }, + "LoadBalancerTlsCertificateDnsRecordCreationState": { + "base": "

An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.

", + "refs": { + "LoadBalancerTlsCertificateDomainValidationRecord$dnsRecordCreationState": "

An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of a domain to validate domain ownership.

" + } + }, + "LoadBalancerTlsCertificateDnsRecordCreationStateCode": { + "base": null, + "refs": { + "LoadBalancerTlsCertificateDnsRecordCreationState$code": "

The status code for the automated DNS record creation.

Following are the possible values:

" + } + }, "LoadBalancerTlsCertificateDomainStatus": { "base": null, "refs": { @@ -2946,6 +2976,18 @@ "InstanceNetworking$monthlyTransfer": "

The amount of data in GB allocated for monthly data transfers.

" } }, + "NameServersUpdateState": { + "base": "

Describes the state of the name server records update made by Amazon Lightsail to an Amazon Route 53 registered domain.

For more information, see DNS in Amazon Lightsail in the Amazon Lightsail Developer Guide.

", + "refs": { + "RegisteredDomainDelegationInfo$nameServersUpdateState": "

An object that describes the state of the name server records that are automatically added to the Route 53 domain by Lightsail.

" + } + }, + "NameServersUpdateStateCode": { + "base": null, + "refs": { + "NameServersUpdateState$code": "

The status code for the name servers update.

Following are the possible values:

" + } + }, "NetworkProtocol": { "base": null, "refs": { @@ -3345,6 +3387,18 @@ "CacheSettings$forwardedQueryStrings": "

An object that describes the query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded.

" } }, + "R53HostedZoneDeletionState": { + "base": "

Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated to an Amazon Lightsail DNS zone.

", + "refs": { + "RegisteredDomainDelegationInfo$r53HostedZoneDeletionState": null + } + }, + "R53HostedZoneDeletionStateCode": { + "base": null, + "refs": { + "R53HostedZoneDeletionState$code": "

The status code for the deletion state.

Following are the possible values:

" + } + }, "RebootInstanceRequest": { "base": null, "refs": { @@ -3373,7 +3427,7 @@ } }, "Region": { - "base": "

Describes the AWS Region.

", + "base": "

Describes the Amazon Web Services Region.

", "refs": { "RegionList$member": null } @@ -3391,7 +3445,7 @@ "InputOrigin$regionName": "

The AWS Region name of the origin resource.

", "Origin$regionName": "

The AWS Region name of the origin resource.

", "Region$name": "

The region name (e.g., us-east-2).

", - "ResourceLocation$regionName": "

The AWS Region name.

" + "ResourceLocation$regionName": "

The Amazon Web Services Region name.

" } }, "RegisterContainerImageRequest": { @@ -3404,6 +3458,12 @@ "refs": { } }, + "RegisteredDomainDelegationInfo": { + "base": "

Describes the delegation state of an Amazon Route 53 registered domain to Amazon Lightsail.

When you delegate an Amazon Route 53 registered domain to Lightsail, you can manage the DNS of the domain using a Lightsail DNS zone. You no longer use the Route 53 hosted zone to manage the DNS of the domain. To delegate the domain, Lightsail automatically updates the domain's name servers in Route 53 to the name servers of the Lightsail DNS zone. Then, Lightsail automatically deletes the Route 53 hosted zone for the domain.

All of the following conditions must be true for automatic domain delegation to be successful:

If automatic domain delegation fails, or if you manage the DNS of your domain using a service other than Route 53, then you must manually add the Lightsail DNS zone name servers to your domain in order to delegate management of its DNS to Lightsail. For more information, see Creating a DNS zone to manage your domain’s records in Amazon Lightsail in the Amazon Lightsail Developer Guide.

", + "refs": { + "Domain$registeredDomainDelegationInfo": "

An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.

" + } + }, "RelationalDatabase": { "base": "

Describes a database.

", "refs": { @@ -3541,7 +3601,7 @@ "RequestFailureReason": { "base": null, "refs": { - "Certificate$requestFailureReason": "

The validation failure reason, if any, of the certificate.

The following failure reasons are possible:

" + "Certificate$requestFailureReason": "

The validation failure reason, if any, of the certificate.

The following failure reasons are possible:

" } }, "ResetDistributionCacheRequest": { @@ -3585,7 +3645,7 @@ "KeyPair$location": "

The region name and Availability Zone where the key pair was created.

", "LightsailDistribution$location": "

An object that describes the location of the distribution, such as the Amazon Web Services Region and Availability Zone.

Lightsail distributions are global resources that can reference an origin in any Amazon Web Services Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.

", "LoadBalancer$location": "

The AWS Region where your load balancer was created (e.g., us-east-2a). Lightsail automatically creates your load balancer across Availability Zones.

", - "LoadBalancerTlsCertificate$location": "

The AWS Region and Availability Zone where you created your certificate.

", + "LoadBalancerTlsCertificate$location": "

The Amazon Web Services Region and Availability Zone where you created your certificate.

", "Operation$location": "

The Amazon Web Services Region and Availability Zone.

", "RelationalDatabase$location": "

The Region name and Availability Zone where the database is located.

", "RelationalDatabaseSnapshot$location": "

The Region name and Availability Zone where the database snapshot is located.

", @@ -4336,8 +4396,8 @@ "AccessDeniedException$docs": null, "AccessDeniedException$message": null, "AccessDeniedException$tip": null, - "AccessKeyLastUsed$region": "

The AWS Region where this access key was most recently used.

This value is N/A if the access key has not been used.

", - "AccessKeyLastUsed$serviceName": "

The name of the AWS service with which this access key was most recently used.

This value is N/A if the access key has not been used.

", + "AccessKeyLastUsed$region": "

The Amazon Web Services Region where this access key was most recently used.

This value is N/A if the access key has not been used.

", + "AccessKeyLastUsed$serviceName": "

The name of the Amazon Web Services service with which this access key was most recently used.

This value is N/A if the access key has not been used.

", "AccountSetupInProgressException$code": null, "AccountSetupInProgressException$docs": null, "AccountSetupInProgressException$message": null, @@ -4400,7 +4460,7 @@ "CreateRelationalDatabaseRequest$relationalDatabaseBundleId": "

The bundle ID for your new database. A bundle describes the performance specifications for your database.

You can get a list of database bundle IDs by using the get relational database bundles operation.

", "CreateRelationalDatabaseRequest$masterDatabaseName": "

The meaning of this parameter differs according to the database engine you use.

MySQL

The name of the database to create when the Lightsail database resource is created. If this parameter isn't specified, no database is created in the database resource.

Constraints:

PostgreSQL

The name of the database to create when the Lightsail database resource is created. If this parameter isn't specified, a database named postgres is created in the database resource.

Constraints:

", "CreateRelationalDatabaseRequest$masterUsername": "

The name for the master user.

MySQL

Constraints:

PostgreSQL

Constraints:

", - "CreateRelationalDatabaseRequest$preferredBackupWindow": "

The daily time range during which automated backups are created for your new database if automated backups are enabled.

The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. For more information about the preferred backup window time blocks for each region, see the Working With Backups guide in the Amazon Relational Database Service (Amazon RDS) documentation.

Constraints:

", + "CreateRelationalDatabaseRequest$preferredBackupWindow": "

The daily time range during which automated backups are created for your new database if automated backups are enabled.

The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. For more information about the preferred backup window time blocks for each region, see the Working With Backups guide in the Amazon Relational Database Service documentation.

Constraints:

", "CreateRelationalDatabaseRequest$preferredMaintenanceWindow": "

The weekly time range during which system maintenance can occur on your new database.

The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.

Constraints:

", "DeleteContainerImageRequest$image": "

The name of the container image to delete from the container service.

Use the GetContainerImages action to get the name of the container images that are registered to a container service.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

", "DeleteKeyPairRequest$expectedFingerprint": "

The RSA fingerprint of the Lightsail default key pair to delete.

The expectedFingerprint parameter is required only when specifying to delete a Lightsail default key pair.

", @@ -4412,6 +4472,7 @@ "DiskSnapshot$progress": "

The progress of the snapshot.

", "DistributionBundle$bundleId": "

The ID of the bundle.

", "DistributionBundle$name": "

The name of the distribution bundle.

", + "DnsRecordCreationState$message": "

The message that describes the reason for the status code.

", "Domain$supportCode": "

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

", "DomainEntry$target": "

The target IP address (e.g., 192.0.2.0), or AWS name server (e.g., ns-111.awsdns-22.com.).

For Lightsail load balancers, the value looks like ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com. For Lightsail distributions, the value looks like exampled1182ne.cloudfront.net. For Lightsail container services, the value looks like container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com. Be sure to also set isAlias to true when setting up an A record for a Lightsail load balancer, distribution, or container service.

", "DomainEntryOptions$value": null, @@ -4509,8 +4570,10 @@ "LoadBalancer$supportCode": "

The support code. Include this code in your email to support when you have questions about your Lightsail load balancer. This code enables our support team to look up your Lightsail information more easily.

", "LoadBalancerConfigurationOptions$value": null, "LoadBalancerTlsCertificate$supportCode": "

The support code. Include this code in your email to support when you have questions about your Lightsail load balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail information more easily.

", + "LoadBalancerTlsCertificateDnsRecordCreationState$message": "

The message that describes the reason for the status code.

", "LoadBalancerTlsPolicy$description": "

The description of the TLS security policy.

", "LogEvent$message": "

The message of the database log event.

", + "NameServersUpdateState$message": "

The message that describes the reason for the status code.

", "NotFoundException$code": null, "NotFoundException$docs": null, "NotFoundException$message": null, @@ -4526,8 +4589,9 @@ "PendingModifiedRelationalDatabaseValues$masterUserPassword": "

The password for the master user of the database.

", "PendingModifiedRelationalDatabaseValues$engineVersion": "

The database engine version.

", "PortMap$key": null, + "R53HostedZoneDeletionState$message": "

The message that describes the reason for the status code.

", "Region$continentCode": "

The continent code (e.g., NA, meaning North America).

", - "Region$description": "

The description of the AWS Region (e.g., This region is recommended to serve users in the eastern United States and eastern Canada).

", + "Region$description": "

The description of the Amazon Web Services Region (e.g., This region is recommended to serve users in the eastern United States and eastern Canada).

", "Region$displayName": "

The display name (e.g., Ohio).

", "RegisterContainerImageRequest$digest": "

The digest of the container image to be registered.

", "RelationalDatabase$supportCode": "

The support code for the database. Include this code in your email to support when you have questions about a database in Lightsail. This code enables our support team to look up your Lightsail information more easily.

", @@ -4568,7 +4632,7 @@ "UnauthenticatedException$tip": null, "UpdateDistributionBundleRequest$bundleId": "

The bundle ID of the new bundle to apply to your distribution.

Use the GetDistributionBundles action to get a list of distribution bundle IDs that you can specify.

", "UpdateRelationalDatabaseRequest$preferredBackupWindow": "

The daily time range during which automated backups are created for your database if automated backups are enabled.

Constraints:

", - "UpdateRelationalDatabaseRequest$preferredMaintenanceWindow": "

The weekly time range during which system maintenance can occur on your database.

The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.

Constraints:

", + "UpdateRelationalDatabaseRequest$preferredMaintenanceWindow": "

The weekly time range during which system maintenance can occur on your database.

The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.

Constraints:

", "UpdateRelationalDatabaseRequest$caCertificateIdentifier": "

Indicates the certificate that needs to be associated with the database.

" } }, diff --git a/models/apis/lightsail/2016-11-28/endpoint-rule-set-1.json b/models/apis/lightsail/2016-11-28/endpoint-rule-set-1.json new file mode 100644 index 0000000000..0efdd091e9 --- /dev/null +++ b/models/apis/lightsail/2016-11-28/endpoint-rule-set-1.json @@ -0,0 +1,315 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://lightsail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://lightsail-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://lightsail.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://lightsail.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/lightsail/2016-11-28/endpoint-tests-1.json b/models/apis/lightsail/2016-11-28/endpoint-tests-1.json new file mode 100644 index 0000000000..0b4e920ead --- /dev/null +++ b/models/apis/lightsail/2016-11-28/endpoint-tests-1.json @@ -0,0 +1,771 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ca-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ap-northeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://lightsail.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://lightsail.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/opensearch/2021-01-01/api-2.json b/models/apis/opensearch/2021-01-01/api-2.json index cbefd120a5..105183a3c4 100644 --- a/models/apis/opensearch/2021-01-01/api-2.json +++ b/models/apis/opensearch/2021-01-01/api-2.json @@ -55,6 +55,23 @@ {"shape":"ConflictException"} ] }, + "AuthorizeVpcEndpointAccess":{ + "name":"AuthorizeVpcEndpointAccess", + "http":{ + "method":"POST", + "requestUri":"/2021-01-01/opensearch/domain/{DomainName}/authorizeVpcEndpointAccess" + }, + "input":{"shape":"AuthorizeVpcEndpointAccessRequest"}, + "output":{"shape":"AuthorizeVpcEndpointAccessResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"DisabledOperationException"}, + {"shape":"LimitExceededException"}, + {"shape":"ValidationException"}, + {"shape":"InternalException"}, + {"shape":"BaseException"} + ] + }, "CancelServiceSoftwareUpdate":{ "name":"CancelServiceSoftwareUpdate", "http":{ @@ -121,6 +138,23 @@ {"shape":"ValidationException"} ] }, + "CreateVpcEndpoint":{ + "name":"CreateVpcEndpoint", + "http":{ + "method":"POST", + "requestUri":"/2021-01-01/opensearch/vpcEndpoints" + }, + "input":{"shape":"CreateVpcEndpointRequest"}, + "output":{"shape":"CreateVpcEndpointResponse"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"LimitExceededException"}, + {"shape":"InternalException"}, + {"shape":"DisabledOperationException"}, + {"shape":"BaseException"} + ] + }, "DeleteDomain":{ "name":"DeleteDomain", "http":{ @@ -179,6 +213,21 @@ {"shape":"ConflictException"} ] }, + "DeleteVpcEndpoint":{ + "name":"DeleteVpcEndpoint", + "http":{ + "method":"DELETE", + "requestUri":"/2021-01-01/opensearch/vpcEndpoints/{VpcEndpointId}" + }, + "input":{"shape":"DeleteVpcEndpointRequest"}, + "output":{"shape":"DeleteVpcEndpointResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"DisabledOperationException"}, + {"shape":"InternalException"}, + {"shape":"BaseException"} + ] + }, "DescribeDomain":{ "name":"DescribeDomain", "http":{ @@ -342,6 +391,21 @@ {"shape":"DisabledOperationException"} ] }, + "DescribeVpcEndpoints":{ + "name":"DescribeVpcEndpoints", + "http":{ + "method":"POST", + "requestUri":"/2021-01-01/opensearch/vpcEndpoints/describe" + }, + "input":{"shape":"DescribeVpcEndpointsRequest"}, + "output":{"shape":"DescribeVpcEndpointsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalException"}, + {"shape":"DisabledOperationException"}, + {"shape":"BaseException"} + ] + }, "DissociatePackage":{ "name":"DissociatePackage", "http":{ @@ -513,6 +577,50 @@ {"shape":"ValidationException"} ] }, + "ListVpcEndpointAccess":{ + "name":"ListVpcEndpointAccess", + "http":{ + "method":"GET", + "requestUri":"/2021-01-01/opensearch/domain/{DomainName}/listVpcEndpointAccess" + }, + "input":{"shape":"ListVpcEndpointAccessRequest"}, + "output":{"shape":"ListVpcEndpointAccessResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"DisabledOperationException"}, + {"shape":"InternalException"}, + {"shape":"BaseException"} + ] + }, + "ListVpcEndpoints":{ + "name":"ListVpcEndpoints", + "http":{ + "method":"GET", + "requestUri":"/2021-01-01/opensearch/vpcEndpoints" + }, + "input":{"shape":"ListVpcEndpointsRequest"}, + "output":{"shape":"ListVpcEndpointsResponse"}, + "errors":[ + {"shape":"InternalException"}, + {"shape":"DisabledOperationException"}, + {"shape":"BaseException"} + ] + }, + "ListVpcEndpointsForDomain":{ + "name":"ListVpcEndpointsForDomain", + "http":{ + "method":"GET", + "requestUri":"/2021-01-01/opensearch/domain/{DomainName}/vpcEndpoints" + }, + "input":{"shape":"ListVpcEndpointsForDomainRequest"}, + "output":{"shape":"ListVpcEndpointsForDomainResponse"}, + "errors":[ + {"shape":"InternalException"}, + {"shape":"DisabledOperationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"BaseException"} + ] + }, "PurchaseReservedInstanceOffering":{ "name":"PurchaseReservedInstanceOffering", "http":{ @@ -556,6 +664,22 @@ {"shape":"InternalException"} ] }, + "RevokeVpcEndpointAccess":{ + "name":"RevokeVpcEndpointAccess", + "http":{ + "method":"POST", + "requestUri":"/2021-01-01/opensearch/domain/{DomainName}/revokeVpcEndpointAccess" + }, + "input":{"shape":"RevokeVpcEndpointAccessRequest"}, + "output":{"shape":"RevokeVpcEndpointAccessResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"DisabledOperationException"}, + {"shape":"InternalException"}, + {"shape":"BaseException"} + ] + }, "StartServiceSoftwareUpdate":{ "name":"StartServiceSoftwareUpdate", "http":{ @@ -605,6 +729,23 @@ {"shape":"ValidationException"} ] }, + "UpdateVpcEndpoint":{ + "name":"UpdateVpcEndpoint", + "http":{ + "method":"POST", + "requestUri":"/2021-01-01/opensearch/vpcEndpoints/update" + }, + "input":{"shape":"UpdateVpcEndpointRequest"}, + "output":{"shape":"UpdateVpcEndpointResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"DisabledOperationException"}, + {"shape":"InternalException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"BaseException"} + ] + }, "UpgradeDomain":{ "name":"UpgradeDomain", "http":{ @@ -630,6 +771,10 @@ "min":20, "pattern":".*" }, + "AWSAccount":{ + "type":"string", + "pattern":"^[0-9]+$" + }, "AWSDomainInformation":{ "type":"structure", "required":["DomainName"], @@ -768,6 +913,39 @@ "DomainPackageDetails":{"shape":"DomainPackageDetails"} } }, + "AuthorizeVpcEndpointAccessRequest":{ + "type":"structure", + "required":[ + "DomainName", + "Account" + ], + "members":{ + "DomainName":{ + "shape":"DomainName", + "location":"uri", + "locationName":"DomainName" + }, + "Account":{"shape":"AWSAccount"} + } + }, + "AuthorizeVpcEndpointAccessResponse":{ + "type":"structure", + "required":["AuthorizedPrincipal"], + "members":{ + "AuthorizedPrincipal":{"shape":"AuthorizedPrincipal"} + } + }, + "AuthorizedPrincipal":{ + "type":"structure", + "members":{ + "PrincipalType":{"shape":"PrincipalType"}, + "Principal":{"shape":"String"} + } + }, + "AuthorizedPrincipalList":{ + "type":"list", + "member":{"shape":"AuthorizedPrincipal"} + }, "AutoTune":{ "type":"structure", "members":{ @@ -937,6 +1115,11 @@ "ChangeProgressStages":{"shape":"ChangeProgressStageList"} } }, + "ClientToken":{ + "type":"string", + "max":64, + "min":1 + }, "CloudWatchLogsLogGroupArn":{ "type":"string", "max":2048, @@ -1103,6 +1286,25 @@ "PackageDetails":{"shape":"PackageDetails"} } }, + "CreateVpcEndpointRequest":{ + "type":"structure", + "required":[ + "DomainArn", + "VpcOptions" + ], + "members":{ + "DomainArn":{"shape":"DomainArn"}, + "VpcOptions":{"shape":"VPCOptions"}, + "ClientToken":{"shape":"ClientToken"} + } + }, + "CreateVpcEndpointResponse":{ + "type":"structure", + "required":["VpcEndpoint"], + "members":{ + "VpcEndpoint":{"shape":"VpcEndpoint"} + } + }, "CreatedAt":{"type":"timestamp"}, "DeleteDomainRequest":{ "type":"structure", @@ -1172,6 +1374,24 @@ "PackageDetails":{"shape":"PackageDetails"} } }, + "DeleteVpcEndpointRequest":{ + "type":"structure", + "required":["VpcEndpointId"], + "members":{ + "VpcEndpointId":{ + "shape":"VpcEndpointId", + "location":"uri", + "locationName":"VpcEndpointId" + } + } + }, + "DeleteVpcEndpointResponse":{ + "type":"structure", + "required":["VpcEndpointSummary"], + "members":{ + "VpcEndpointSummary":{"shape":"VpcEndpointSummary"} + } + }, "DeploymentCloseDateTimeStamp":{"type":"timestamp"}, "DeploymentStatus":{ "type":"string", @@ -1436,6 +1656,24 @@ "ReservedInstances":{"shape":"ReservedInstanceList"} } }, + "DescribeVpcEndpointsRequest":{ + "type":"structure", + "required":["VpcEndpointIds"], + "members":{ + "VpcEndpointIds":{"shape":"VpcEndpointIdList"} + } + }, + "DescribeVpcEndpointsResponse":{ + "type":"structure", + "required":[ + "VpcEndpoints", + "VpcEndpointErrors" + ], + "members":{ + "VpcEndpoints":{"shape":"VpcEndpoints"}, + "VpcEndpointErrors":{"shape":"VpcEndpointErrorList"} + } + }, "Description":{"type":"string"}, "DisableTimestamp":{"type":"timestamp"}, "DisabledOperationException":{ @@ -1470,6 +1708,12 @@ "DomainPackageDetails":{"shape":"DomainPackageDetails"} } }, + "DomainArn":{ + "type":"string", + "max":512, + "min":1, + "pattern":"arn:aws[a-z\\-]*:[a-z]+:[a-z0-9\\-]+:[0-9]+:domain\\/[a-z0-9\\-]+" + }, "DomainConfig":{ "type":"structure", "members":{ @@ -1677,6 +1921,10 @@ "Status":{"shape":"OptionStatus"} } }, + "Endpoint":{ + "type":"string", + "pattern":"^[A-Za-z0-9\\-\\.]+$" + }, "EndpointsMap":{ "type":"map", "key":{"shape":"String"}, @@ -2089,6 +2337,81 @@ "NextToken":{"shape":"NextToken"} } }, + "ListVpcEndpointAccessRequest":{ + "type":"structure", + "required":["DomainName"], + "members":{ + "DomainName":{ + "shape":"DomainName", + "location":"uri", + "locationName":"DomainName" + }, + "NextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListVpcEndpointAccessResponse":{ + "type":"structure", + "required":[ + "AuthorizedPrincipalList", + "NextToken" + ], + "members":{ + "AuthorizedPrincipalList":{"shape":"AuthorizedPrincipalList"}, + "NextToken":{"shape":"NextToken"} + } + }, + "ListVpcEndpointsForDomainRequest":{ + "type":"structure", + "required":["DomainName"], + "members":{ + "DomainName":{ + "shape":"DomainName", + "location":"uri", + "locationName":"DomainName" + }, + "NextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListVpcEndpointsForDomainResponse":{ + "type":"structure", + "required":[ + "VpcEndpointSummaryList", + "NextToken" + ], + "members":{ + "VpcEndpointSummaryList":{"shape":"VpcEndpointSummaryList"}, + "NextToken":{"shape":"NextToken"} + } + }, + "ListVpcEndpointsRequest":{ + "type":"structure", + "members":{ + "NextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListVpcEndpointsResponse":{ + "type":"structure", + "required":[ + "VpcEndpointSummaryList", + "NextToken" + ], + "members":{ + "VpcEndpointSummaryList":{"shape":"VpcEndpointSummaryList"}, + "NextToken":{"shape":"NextToken"} + } + }, "LogPublishingOption":{ "type":"structure", "members":{ @@ -2422,6 +2745,13 @@ "min":0, "pattern":".*" }, + "PrincipalType":{ + "type":"string", + "enum":[ + "AWS_ACCOUNT", + "AWS_SERVICE" + ] + }, "PurchaseReservedInstanceOfferingRequest":{ "type":"structure", "required":[ @@ -2555,6 +2885,26 @@ "error":{"httpStatusCode":409}, "exception":true }, + "RevokeVpcEndpointAccessRequest":{ + "type":"structure", + "required":[ + "DomainName", + "Account" + ], + "members":{ + "DomainName":{ + "shape":"DomainName", + "location":"uri", + "locationName":"DomainName" + }, + "Account":{"shape":"AWSAccount"} + } + }, + "RevokeVpcEndpointAccessResponse":{ + "type":"structure", + "members":{ + } + }, "RoleArn":{ "type":"string", "max":2048, @@ -2818,6 +3168,24 @@ } }, "UpdateTimestamp":{"type":"timestamp"}, + "UpdateVpcEndpointRequest":{ + "type":"structure", + "required":[ + "VpcEndpointId", + "VpcOptions" + ], + "members":{ + "VpcEndpointId":{"shape":"VpcEndpointId"}, + "VpcOptions":{"shape":"VPCOptions"} + } + }, + "UpdateVpcEndpointResponse":{ + "type":"structure", + "required":["VpcEndpoint"], + "members":{ + "VpcEndpoint":{"shape":"VpcEndpoint"} + } + }, "UpgradeDomainRequest":{ "type":"structure", "required":[ @@ -2968,6 +3336,75 @@ "gp3" ] }, + "VpcEndpoint":{ + "type":"structure", + "members":{ + "VpcEndpointId":{"shape":"VpcEndpointId"}, + "VpcEndpointOwner":{"shape":"AWSAccount"}, + "DomainArn":{"shape":"DomainArn"}, + "VpcOptions":{"shape":"VPCDerivedInfo"}, + "Status":{"shape":"VpcEndpointStatus"}, + "Endpoint":{"shape":"Endpoint"} + } + }, + "VpcEndpointError":{ + "type":"structure", + "members":{ + "VpcEndpointId":{"shape":"VpcEndpointId"}, + "ErrorCode":{"shape":"VpcEndpointErrorCode"}, + "ErrorMessage":{"shape":"String"} + } + }, + "VpcEndpointErrorCode":{ + "type":"string", + "enum":[ + "ENDPOINT_NOT_FOUND", + "SERVER_ERROR" + ] + }, + "VpcEndpointErrorList":{ + "type":"list", + "member":{"shape":"VpcEndpointError"} + }, + "VpcEndpointId":{ + "type":"string", + "max":256, + "min":5, + "pattern":"^aos-[a-zA-Z0-9]*$" + }, + "VpcEndpointIdList":{ + "type":"list", + "member":{"shape":"VpcEndpointId"} + }, + "VpcEndpointStatus":{ + "type":"string", + "enum":[ + "CREATING", + "CREATE_FAILED", + "ACTIVE", + "UPDATING", + "UPDATE_FAILED", + "DELETING", + "DELETE_FAILED" + ] + }, + "VpcEndpointSummary":{ + "type":"structure", + "members":{ + "VpcEndpointId":{"shape":"VpcEndpointId"}, + "VpcEndpointOwner":{"shape":"String"}, + "DomainArn":{"shape":"DomainArn"}, + "Status":{"shape":"VpcEndpointStatus"} + } + }, + "VpcEndpointSummaryList":{ + "type":"list", + "member":{"shape":"VpcEndpointSummary"} + }, + "VpcEndpoints":{ + "type":"list", + "member":{"shape":"VpcEndpoint"} + }, "ZoneAwarenessConfig":{ "type":"structure", "members":{ diff --git a/models/apis/opensearch/2021-01-01/docs-2.json b/models/apis/opensearch/2021-01-01/docs-2.json index a5447065a8..a697db6fea 100644 --- a/models/apis/opensearch/2021-01-01/docs-2.json +++ b/models/apis/opensearch/2021-01-01/docs-2.json @@ -1,73 +1,90 @@ { "version": "2.0", - "service": "Amazon OpenSearch Configuration Service

Use the Amazon OpenSearch configuration API to create, configure, and manage Amazon OpenSearch Service domains.

For sample code that uses the configuration API, see the Amazon OpenSearch Service Developer Guide. The guide also contains sample code for sending signed HTTP requests to the OpenSearch APIs.

The endpoint for configuration service requests is region-specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints, see Regions and Endpoints.

", + "service": "

Use the Amazon OpenSearch Service configuration API to create, configure, and manage OpenSearch Service domains.

For sample code that uses the configuration API, see the Amazon OpenSearch Service Developer Guide . The guide also contains sample code for sending signed HTTP requests to the OpenSearch APIs. The endpoint for configuration service requests is Region specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported Regions and endpoints, see Amazon Web Services service endpoints.

", "operations": { - "AcceptInboundConnection": "

Allows the remote domain owner to accept an inbound cross-cluster connection request.

", - "AddTags": "

Attaches tags to an existing domain. Tags are a set of case-sensitive key value pairs. An domain can have up to 10 tags. See Tagging Amazon OpenSearch Service domains for more information.

", - "AssociatePackage": "

Associates a package with an Amazon OpenSearch Service domain.

", - "CancelServiceSoftwareUpdate": "

Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this operation before the AutomatedUpdateDate and when the UpdateStatus is in the PENDING_UPDATE state.

", - "CreateDomain": "

Creates a new Amazon OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains in the Amazon OpenSearch Service Developer Guide.

", - "CreateOutboundConnection": "

Creates a new cross-cluster connection from a local OpenSearch domain to a remote OpenSearch domain.

", - "CreatePackage": "

Create a package for use with Amazon OpenSearch Service domains.

", - "DeleteDomain": "

Permanently deletes the specified domain and all of its data. Once a domain is deleted, it cannot be recovered.

", - "DeleteInboundConnection": "

Allows the remote domain owner to delete an existing inbound cross-cluster connection.

", - "DeleteOutboundConnection": "

Allows the local domain owner to delete an existing outbound cross-cluster connection.

", - "DeletePackage": "

Deletes the package.

", - "DescribeDomain": "

Returns domain configuration information about the specified domain, including the domain ID, domain endpoint, and domain ARN.

", - "DescribeDomainAutoTunes": "

Provides scheduled Auto-Tune action details for the domain, such as Auto-Tune action type, description, severity, and scheduled date.

", - "DescribeDomainChangeProgress": "

Returns information about the current blue/green deployment happening on a domain, including a change ID, status, and progress stages.

", - "DescribeDomainConfig": "

Provides cluster configuration information about the specified domain, such as the state, creation date, update version, and update date for cluster options.

", - "DescribeDomains": "

Returns domain configuration information about the specified domains, including the domain ID, domain endpoint, and domain ARN.

", - "DescribeInboundConnections": "

Lists all the inbound cross-cluster connections for a remote domain.

", - "DescribeInstanceTypeLimits": "

Describe the limits for a given instance type and OpenSearch or Elasticsearch version. When modifying an existing domain, specify the DomainName to see which limits you can modify.

", - "DescribeOutboundConnections": "

Lists all the outbound cross-cluster connections for a local domain.

", - "DescribePackages": "

Describes all packages available to Amazon OpenSearch Service domains. Includes options for filtering, limiting the number of results, and pagination.

", - "DescribeReservedInstanceOfferings": "

Lists available reserved OpenSearch instance offerings.

", - "DescribeReservedInstances": "

Returns information about reserved OpenSearch instances for this account.

", - "DissociatePackage": "

Dissociates a package from the Amazon OpenSearch Service domain.

", - "GetCompatibleVersions": "

Returns a list of upgrade-compatible versions of OpenSearch/Elasticsearch. You can optionally pass a DomainName to get all upgrade-compatible versions of OpenSearch/Elasticsearch for that specific domain.

", - "GetPackageVersionHistory": "

Returns a list of package versions, along with their creation time and commit message.

", - "GetUpgradeHistory": "

Retrieves the complete history of the last 10 upgrades performed on the domain.

", - "GetUpgradeStatus": "

Retrieves the latest status of the last upgrade or upgrade eligibility check performed on the domain.

", - "ListDomainNames": "

Returns the names of all domains owned by the current user's account.

", - "ListDomainsForPackage": "

Lists all Amazon OpenSearch Service domains associated with the package.

", - "ListInstanceTypeDetails": null, - "ListPackagesForDomain": "

Lists all packages associated with the Amazon OpenSearch Service domain.

", - "ListTags": "

Returns all tags for the given domain.

", - "ListVersions": "

List all supported versions of OpenSearch and Elasticsearch.

", - "PurchaseReservedInstanceOffering": "

Allows you to purchase reserved OpenSearch instances.

", - "RejectInboundConnection": "

Allows the remote domain owner to reject an inbound cross-cluster connection request.

", - "RemoveTags": "

Removes the specified set of tags from the given domain.

", - "StartServiceSoftwareUpdate": "

Schedules a service software update for an Amazon OpenSearch Service domain.

", - "UpdateDomainConfig": "

Modifies the cluster configuration of the specified domain, such as setting the instance type and the number of instances.

", - "UpdatePackage": "

Updates a package for use with Amazon OpenSearch Service domains.

", - "UpgradeDomain": "

Allows you to either upgrade your domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.

" + "AcceptInboundConnection": "

Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request. For more information, see Cross-cluster search for Amazon OpenSearch Service.

", + "AddTags": "

Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive key-value pairs. An domain can have up to 10 tags. For more information, see Tagging Amazon OpenSearch Service domains.

", + "AssociatePackage": "

Associates a package with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.

", + "AuthorizeVpcEndpointAccess": "

Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.

", + "CancelServiceSoftwareUpdate": "

Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this operation before the AutomatedUpdateDate and when the domain's UpdateStatus is PENDING_UPDATE. For more information, see Service software updates in Amazon OpenSearch Service.

", + "CreateDomain": "

Creates an Amazon OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains.

", + "CreateOutboundConnection": "

Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.

", + "CreatePackage": "

Creates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.

", + "CreateVpcEndpoint": "

Creates an Amazon OpenSearch Service-managed VPC endpoint.

", + "DeleteDomain": "

Deletes an Amazon OpenSearch Service domain and all of its data. You can't recover a domain after you delete it.

", + "DeleteInboundConnection": "

Allows the destination Amazon OpenSearch Service domain owner to delete an existing inbound cross-cluster search connection. For more information, see Cross-cluster search for Amazon OpenSearch Service.

", + "DeleteOutboundConnection": "

Allows the source Amazon OpenSearch Service domain owner to delete an existing outbound cross-cluster search connection. For more information, see Cross-cluster search for Amazon OpenSearch Service.

", + "DeletePackage": "

Deletes an Amazon OpenSearch Service package. For more information, see Custom packages for Amazon OpenSearch Service.

", + "DeleteVpcEndpoint": "

Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.

", + "DescribeDomain": "

Describes the domain configuration for the specified Amazon OpenSearch Service domain, including the domain ID, domain service endpoint, and domain ARN.

", + "DescribeDomainAutoTunes": "

Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain. For more information, see Auto-Tune for Amazon OpenSearch Service.

", + "DescribeDomainChangeProgress": "

Returns information about the current blue/green deployment happening on an Amazon OpenSearch Service domain. For more information, see Making configuration changes in Amazon OpenSearch Service.

", + "DescribeDomainConfig": "

Returns the configuration of an Amazon OpenSearch Service domain.

", + "DescribeDomains": "

Returns domain configuration information about the specified Amazon OpenSearch Service domains.

", + "DescribeInboundConnections": "

Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.

", + "DescribeInstanceTypeLimits": "

Describes the instance count, storage, and master node limits for a given OpenSearch or Elasticsearch version and instance type.

", + "DescribeOutboundConnections": "

Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.

", + "DescribePackages": "

Describes all packages available to OpenSearch Service. For more information, see Custom packages for Amazon OpenSearch Service.

", + "DescribeReservedInstanceOfferings": "

Describes the available Amazon OpenSearch Service Reserved Instance offerings for a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.

", + "DescribeReservedInstances": "

Describes the Amazon OpenSearch Service instances that you have reserved in a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.

", + "DescribeVpcEndpoints": "

Describes one or more Amazon OpenSearch Service-managed VPC endpoints.

", + "DissociatePackage": "

Removes a package from the specified Amazon OpenSearch Service domain. The package can't be in use with any OpenSearch index for the dissociation to succeed. The package is still available in OpenSearch Service for association later. For more information, see Custom packages for Amazon OpenSearch Service.

", + "GetCompatibleVersions": "

Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.

", + "GetPackageVersionHistory": "

Returns a list of Amazon OpenSearch Service package versions, along with their creation time and commit message. For more information, see Custom packages for Amazon OpenSearch Service.

", + "GetUpgradeHistory": "

Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.

", + "GetUpgradeStatus": "

Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service domain.

", + "ListDomainNames": "

Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.

", + "ListDomainsForPackage": "

Lists all Amazon OpenSearch Service domains associated with a given package. For more information, see Custom packages for Amazon OpenSearch Service.

", + "ListInstanceTypeDetails": "

Lists all instance types and available features for a given OpenSearch or Elasticsearch version.

", + "ListPackagesForDomain": "

Lists all packages associated with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.

", + "ListTags": "

Returns all resource tags for an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.

", + "ListVersions": "

Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.

", + "ListVpcEndpointAccess": "

Retrieves information about each Amazon Web Services principal that is allowed to access a given Amazon OpenSearch Service domain through the use of an interface VPC endpoint.

", + "ListVpcEndpoints": "

Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current Amazon Web Services account and Region.

", + "ListVpcEndpointsForDomain": "

Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular domain.

", + "PurchaseReservedInstanceOffering": "

Allows you to purchase Amazon OpenSearch Service Reserved Instances.

", + "RejectInboundConnection": "

Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.

", + "RemoveTags": "

Removes the specified set of tags from an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.

", + "RevokeVpcEndpointAccess": "

Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.

", + "StartServiceSoftwareUpdate": "

Schedules a service software update for an Amazon OpenSearch Service domain. For more information, see Service software updates in Amazon OpenSearch Service.

", + "UpdateDomainConfig": "

Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.

", + "UpdatePackage": "

Updates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.

", + "UpdateVpcEndpoint": "

Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.

", + "UpgradeDomain": "

Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.

" }, "shapes": { "ARN": { - "base": "

The Amazon Resource Name (ARN) of the domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

", + "base": "

The Amazon Resource Name (ARN) of the domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

", "refs": { - "AddTagsRequest$ARN": "

Specify the ARN of the domain you want to add tags to.

", - "DomainEndpointOptions$CustomEndpointCertificateArn": "

The ACM certificate ARN for your custom endpoint.

", - "DomainStatus$ARN": "

The Amazon Resource Name (ARN) of a domain. See IAM identifiers in the AWS Identity and Access Management User Guide for more information.

", - "ListTagsRequest$ARN": "

Specify the ARN of the domain that the tags you want to view are attached to.

", - "MasterUserOptions$MasterUserARN": "

ARN for the master user (if IAM is enabled).

", - "RemoveTagsRequest$ARN": "

The ARN of the domain from which you want to delete the specified tags.

" + "AddTagsRequest$ARN": "

Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.

", + "DomainEndpointOptions$CustomEndpointCertificateArn": "

The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).

", + "DomainStatus$ARN": "

The Amazon Resource Name (ARN) of the domain. For more information, see IAM identifiers in the AWS Identity and Access Management User Guide.

", + "ListTagsRequest$ARN": "

Amazon Resource Name (ARN) for the domain to view tags for.

", + "MasterUserOptions$MasterUserARN": "

Amazon Resource Name (ARN) for the master user. Only specify if InternalUserDatabaseEnabled is false.

", + "RemoveTagsRequest$ARN": "

The Amazon Resource Name (ARN) of the domain from which you want to delete the specified tags.

" } }, - "AWSDomainInformation": { + "AWSAccount": { "base": null, "refs": { - "DomainInformationContainer$AWSDomainInformation": null + "AuthorizeVpcEndpointAccessRequest$Account": "

The Amazon Web Services account ID to grant access to.

", + "RevokeVpcEndpointAccessRequest$Account": "

The account ID to revoke access from.

", + "VpcEndpoint$VpcEndpointOwner": "

The creator of the endpoint.

" + } + }, + "AWSDomainInformation": { + "base": "

Information about an Amazon OpenSearch Service domain.

", + "refs": { + "DomainInformationContainer$AWSDomainInformation": "

Information about an Amazon OpenSearch Service domain.

" } }, "AcceptInboundConnectionRequest": { - "base": "

Container for the parameters to the AcceptInboundConnection operation.

", + "base": "

Container for the parameters to the AcceptInboundConnection operation.

", "refs": { } }, "AcceptInboundConnectionResponse": { - "base": "

The result of an AcceptInboundConnection operation. Contains details about the accepted inbound connection.

", + "base": "

Contains details about the accepted inbound connection.

", "refs": { } }, @@ -77,18 +94,18 @@ } }, "AccessPoliciesStatus": { - "base": "

The configured access rules for the domain's document and search endpoints, and the current status of those rules.

", + "base": "

The configured access rules for the domain's search endpoint, and the current status of those rules.

", "refs": { - "DomainConfig$AccessPolicies": "

IAM access policy as a JSON-formatted string.

" + "DomainConfig$AccessPolicies": "

Specifies the access policies for the domain.

" } }, "AddTagsRequest": { - "base": "

Container for the parameters to the AddTags operation. Specifies the tags to attach to the domain.

", + "base": "

Container for the parameters to the AddTags operation. Specifies the tags to attach to the domain.

", "refs": { } }, "AdditionalLimit": { - "base": "

List of limits that are specific to a given InstanceType and for each of its InstanceRole .

", + "base": "

List of limits that are specific to a given instance type.

", "refs": { "AdditionalLimitList$member": null } @@ -96,58 +113,81 @@ "AdditionalLimitList": { "base": null, "refs": { - "Limits$AdditionalLimits": "

List of additional limits that are specific to a given InstanceType and for each of its InstanceRole .

" + "Limits$AdditionalLimits": "

List of additional limits that are specific to a given instance type for each of its instance roles.

" } }, "AdvancedOptions": { - "base": "

Exposes select native OpenSearch configuration values from opensearch.yml. Currently, the following advanced options are available:

For more information, see Advanced cluster parameters.

", + "base": "

Exposes native OpenSearch configuration values from opensearch.yml. The following advanced options are available:

For more information, see Advanced cluster parameters.

", "refs": { "AdvancedOptionsStatus$Options": "

The status of advanced options for the specified domain.

", - "CreateDomainRequest$AdvancedOptions": "

Option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Advanced cluster parameters for more information.

", - "DomainStatus$AdvancedOptions": "

The status of the AdvancedOptions.

", - "UpdateDomainConfigRequest$AdvancedOptions": "

Modifies the advanced option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Advanced options for more information.

", - "UpgradeDomainRequest$AdvancedOptions": null, - "UpgradeDomainResponse$AdvancedOptions": null + "CreateDomainRequest$AdvancedOptions": "

Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:

For more information, see Advanced cluster parameters.

", + "DomainStatus$AdvancedOptions": "

Key-value pairs that specify advanced configuration options.

", + "UpdateDomainConfigRequest$AdvancedOptions": "

Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:

For more information, see Advanced cluster parameters.

", + "UpgradeDomainRequest$AdvancedOptions": "

Only supports the override_main_response_version parameter and not other advanced options. You can only include this option when upgrading to an OpenSearch version. Specifies whether the domain reports its version as 7.10 so that it continues to work with Elasticsearch OSS clients and plugins.

", + "UpgradeDomainResponse$AdvancedOptions": "

The advanced options configuration for the domain.

" } }, "AdvancedOptionsStatus": { - "base": "

Status of the advanced options for the specified domain. Currently, the following advanced options are available:

For more information, see Advanced cluster parameters.

", + "base": "

Status of the advanced options for the specified domain. The following options are available:

For more information, see Advanced cluster parameters.

", "refs": { - "DomainConfig$AdvancedOptions": "

The AdvancedOptions for the domain. See Advanced options for more information.

" + "DomainConfig$AdvancedOptions": "

Key-value pairs to specify advanced configuration options. For more information, see Advanced options.

" } }, "AdvancedSecurityOptions": { - "base": "

The advanced security configuration: whether advanced security is enabled, whether the internal database option is enabled.

", + "base": "

Container for fine-grained access control settings.

", "refs": { - "AdvancedSecurityOptionsStatus$Options": "

Advanced security options for the specified domain.

", - "DomainStatus$AdvancedSecurityOptions": "

The current status of the domain's advanced security options.

" + "AdvancedSecurityOptionsStatus$Options": "

Container for fine-grained access control settings.

", + "DomainStatus$AdvancedSecurityOptions": "

Settings for fine-grained access control.

" } }, "AdvancedSecurityOptionsInput": { - "base": "

The advanced security configuration: whether advanced security is enabled, whether the internal database option is enabled, master username and password (if internal database is enabled), and master user ARN (if IAM is enabled).

", + "base": "

Options for enabling and configuring fine-grained access control. For more information, see Fine-grained access control in Amazon OpenSearch Service.

", "refs": { - "CreateDomainRequest$AdvancedSecurityOptions": "

Specifies advanced security options.

", - "UpdateDomainConfigRequest$AdvancedSecurityOptions": "

Specifies advanced security options.

" + "CreateDomainRequest$AdvancedSecurityOptions": "

Options for fine-grained access control.

", + "UpdateDomainConfigRequest$AdvancedSecurityOptions": "

Options for fine-grained access control.

" } }, "AdvancedSecurityOptionsStatus": { - "base": "

The status of advanced security options for the specified domain.

", + "base": "

The status of fine-grained access control settings for a domain.

", "refs": { - "DomainConfig$AdvancedSecurityOptions": "

Specifies AdvancedSecurityOptions for the domain.

" + "DomainConfig$AdvancedSecurityOptions": "

Container for fine-grained access control settings for the domain.

" } }, "AssociatePackageRequest": { - "base": "

Container for the request parameters to the AssociatePackage operation.

", + "base": "

Container for the request parameters to the AssociatePackage operation.

", "refs": { } }, "AssociatePackageResponse": { - "base": "

Container for the response returned by AssociatePackage operation.

", + "base": "

Container for the response returned by the AssociatePackage operation.

", + "refs": { + } + }, + "AuthorizeVpcEndpointAccessRequest": { + "base": null, + "refs": { + } + }, + "AuthorizeVpcEndpointAccessResponse": { + "base": null, + "refs": { + } + }, + "AuthorizedPrincipal": { + "base": "

Information about an Amazon Web Services account or service that has access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.

", + "refs": { + "AuthorizeVpcEndpointAccessResponse$AuthorizedPrincipal": "

Information about the Amazon Web Services account or service that was provided access to the domain.

", + "AuthorizedPrincipalList$member": null + } + }, + "AuthorizedPrincipalList": { + "base": null, "refs": { + "ListVpcEndpointAccessResponse$AuthorizedPrincipalList": "

A list of IAM principals that can currently access the domain.

" } }, "AutoTune": { - "base": "

Specifies the Auto-Tune type and Auto-Tune action details.

", + "base": "

Information about an Auto-Tune action. For more information, see Auto-Tune for Amazon OpenSearch Service.

", "refs": { "AutoTuneList$member": null } @@ -155,30 +195,30 @@ "AutoTuneDate": { "base": "

The timestamp of the Auto-Tune action scheduled for the domain.

", "refs": { - "ScheduledAutoTuneDetails$Date": "

The timestamp of the Auto-Tune action scheduled for the domain.

" + "ScheduledAutoTuneDetails$Date": "

The date and time when the Auto-Tune action is scheduled for the domain.

" } }, "AutoTuneDesiredState": { "base": "

The Auto-Tune desired state. Valid values are ENABLED and DISABLED.

", "refs": { - "AutoTuneOptions$DesiredState": "

The Auto-Tune desired state. Valid values are ENABLED and DISABLED.

", - "AutoTuneOptionsInput$DesiredState": "

The Auto-Tune desired state. Valid values are ENABLED and DISABLED.

" + "AutoTuneOptions$DesiredState": "

Whether Auto-Tune is enabled or disabled.

", + "AutoTuneOptionsInput$DesiredState": "

Whether Auto-Tune is enabled or disabled.

" } }, "AutoTuneDetails": { - "base": "

Specifies details about the Auto-Tune action. See Auto-Tune for Amazon OpenSearch Service for more information.

", + "base": "

Specifies details about a scheduled Auto-Tune action. For more information, see Auto-Tune for Amazon OpenSearch Service.

", "refs": { - "AutoTune$AutoTuneDetails": "

Specifies details about the Auto-Tune action. See Auto-Tune for Amazon OpenSearch Service for more information.

" + "AutoTune$AutoTuneDetails": "

Details about an Auto-Tune action.

" } }, "AutoTuneList": { "base": null, "refs": { - "DescribeDomainAutoTunesResponse$AutoTunes": "

The list of setting adjustments that Auto-Tune has made to the domain. See Auto-Tune for Amazon OpenSearch Service for more information.

" + "DescribeDomainAutoTunesResponse$AutoTunes": "

The list of setting adjustments that Auto-Tune has made to the domain.

" } }, "AutoTuneMaintenanceSchedule": { - "base": "

Specifies the Auto-Tune maintenance schedule. See Auto-Tune for Amazon OpenSearch Service for more information.

", + "base": "

The Auto-Tune maintenance schedule. For more information, see Auto-Tune for Amazon OpenSearch Service.

", "refs": { "AutoTuneMaintenanceScheduleList$member": null } @@ -186,52 +226,52 @@ "AutoTuneMaintenanceScheduleList": { "base": null, "refs": { - "AutoTuneOptions$MaintenanceSchedules": "

A list of maintenance schedules. See Auto-Tune for Amazon OpenSearch Service for more information.

", - "AutoTuneOptionsInput$MaintenanceSchedules": "

A list of maintenance schedules. See Auto-Tune for Amazon OpenSearch Service for more information.

" + "AutoTuneOptions$MaintenanceSchedules": "

A list of maintenance schedules during which Auto-Tune can deploy changes.

", + "AutoTuneOptionsInput$MaintenanceSchedules": "

A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance schedules are overwrite, not append. If your request includes no schedules, the request deletes all existing schedules. To preserve existing schedules, make a call to DescribeDomainConfig first and use the MaintenanceSchedules portion of the response as the basis for this section.

" } }, "AutoTuneOptions": { - "base": "

The Auto-Tune options: the Auto-Tune desired state for the domain, rollback state when disabling Auto-Tune options and list of maintenance schedules.

", + "base": "

Auto-Tune settings when updating a domain. For more information, see Auto-Tune for Amazon OpenSearch Service.

", "refs": { - "AutoTuneOptionsStatus$Options": "

Specifies Auto-Tune options for the domain.

", - "UpdateDomainConfigRequest$AutoTuneOptions": "

Specifies Auto-Tune options.

" + "AutoTuneOptionsStatus$Options": "

Auto-Tune settings for updating a domain.

", + "UpdateDomainConfigRequest$AutoTuneOptions": "

Options for Auto-Tune.

" } }, "AutoTuneOptionsInput": { - "base": "

The Auto-Tune options: the Auto-Tune desired state for the domain and list of maintenance schedules.

", + "base": "

Options for configuring Auto-Tune. For more information, see Auto-Tune for Amazon OpenSearch Service.

", "refs": { - "CreateDomainRequest$AutoTuneOptions": "

Specifies Auto-Tune options.

" + "CreateDomainRequest$AutoTuneOptions": "

Options for Auto-Tune.

" } }, "AutoTuneOptionsOutput": { - "base": "

The Auto-Tune options: the Auto-Tune desired state for the domain and list of maintenance schedules.

", + "base": "

The Auto-Tune settings for a domain, displayed when enabling or disabling Auto-Tune.

", "refs": { - "DomainStatus$AutoTuneOptions": "

The current status of the domain's Auto-Tune options.

" + "DomainStatus$AutoTuneOptions": "

Auto-Tune settings for the domain.

" } }, "AutoTuneOptionsStatus": { "base": "

The Auto-Tune status for the domain.

", "refs": { - "DomainConfig$AutoTuneOptions": "

Specifies AutoTuneOptions for the domain.

" + "DomainConfig$AutoTuneOptions": "

Container for Auto-Tune settings for the domain.

" } }, "AutoTuneState": { - "base": "

The Auto-Tune state for the domain. For valid states see Auto-Tune for Amazon OpenSearch Service.

", + "base": "

The Auto-Tune state for the domain. For valid states see Auto-Tune for Amazon OpenSearch Service.

", "refs": { - "AutoTuneOptionsOutput$State": "

The AutoTuneState for the domain.

", - "AutoTuneStatus$State": "

The AutoTuneState for the domain.

" + "AutoTuneOptionsOutput$State": "

The current state of Auto-Tune on the domain.

", + "AutoTuneStatus$State": "

The current state of Auto-Tune on the domain.

" } }, "AutoTuneStatus": { - "base": "

Provides the current Auto-Tune status for the domain.

", + "base": "

The current status of Auto-Tune for the domain. For more information, see Auto-Tune for Amazon OpenSearch Service.

", "refs": { - "AutoTuneOptionsStatus$Status": "

The status of the Auto-Tune options for the domain.

" + "AutoTuneOptionsStatus$Status": "

The current status of Auto-Tune for a domain.

" } }, "AutoTuneType": { "base": "

Specifies the Auto-Tune type. Valid value is SCHEDULED_ACTION.

", "refs": { - "AutoTune$AutoTuneType": "

Specifies the Auto-Tune type. Valid value is SCHEDULED_ACTION.

" + "AutoTune$AutoTuneType": "

The type of Auto-Tune action.

" } }, "BackendRole": { @@ -248,63 +288,63 @@ "Boolean": { "base": null, "refs": { - "AdvancedSecurityOptions$Enabled": "

True if advanced security is enabled.

", + "AdvancedSecurityOptions$Enabled": "

True if fine-grained access control is enabled.

", "AdvancedSecurityOptions$InternalUserDatabaseEnabled": "

True if the internal user database is enabled.

", - "AdvancedSecurityOptions$AnonymousAuthEnabled": "

True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.

", - "AdvancedSecurityOptionsInput$Enabled": "

True if advanced security is enabled.

", - "AdvancedSecurityOptionsInput$InternalUserDatabaseEnabled": "

True if the internal user database is enabled.

", - "AdvancedSecurityOptionsInput$AnonymousAuthEnabled": "

True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.

", + "AdvancedSecurityOptions$AnonymousAuthEnabled": "

True if a 30-day migration period is enabled, during which administrators can create role mappings. Only necessary when enabling fine-grained access control on an existing domain.

", + "AdvancedSecurityOptionsInput$Enabled": "

True to enable fine-grained access control.

", + "AdvancedSecurityOptionsInput$InternalUserDatabaseEnabled": "

True to enable the internal user database.

", + "AdvancedSecurityOptionsInput$AnonymousAuthEnabled": "

True to enable a 30-day migration period during which administrators can create role mappings. Only necessary when enabling fine-grained access control on an existing domain.

", "AutoTuneStatus$PendingDeletion": "

Indicates whether the domain is being deleted.

", - "ClusterConfig$DedicatedMasterEnabled": "

A boolean value to indicate whether a dedicated master node is enabled. See Dedicated master nodes in Amazon OpenSearch Service for more information.

", - "ClusterConfig$ZoneAwarenessEnabled": "

A boolean value to indicate whether zone awareness is enabled. See Configuring a multi-AZ domain in Amazon OpenSearch Service for more information.

", - "ClusterConfig$WarmEnabled": "

True to enable UltraWarm storage.

", - "CognitoOptions$Enabled": "

The option to enable Cognito for OpenSearch Dashboards authentication.

", - "ColdStorageOptions$Enabled": "

Enable cold storage option. Accepted values true or false

", - "DomainEndpointOptions$EnforceHTTPS": "

Whether only HTTPS endpoint should be enabled for the domain.

", + "ClusterConfig$DedicatedMasterEnabled": "

Indicates whether dedicated master nodes are enabled for the cluster.True if the cluster will use a dedicated master node.False if the cluster will not.

", + "ClusterConfig$ZoneAwarenessEnabled": "

Indicates whether multiple Availability Zones are enabled. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.

", + "ClusterConfig$WarmEnabled": "

Whether to enable warm storage for the cluster.

", + "CognitoOptions$Enabled": "

Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.

", + "ColdStorageOptions$Enabled": "

Whether to enable or disable cold storage on the domain.

", + "DomainEndpointOptions$EnforceHTTPS": "

True to require that all traffic to the domain arrive over HTTPS.

", "DomainEndpointOptions$CustomEndpointEnabled": "

Whether to enable a custom endpoint for the domain.

", - "DomainStatus$Created": "

The domain creation status. True if the creation of a domain is complete. False if domain creation is still in progress.

", - "DomainStatus$Deleted": "

The domain deletion status. True if a delete request has been received for the domain but resource cleanup is still in progress. False if the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.

", - "DomainStatus$Processing": "

The status of the domain configuration. True if Amazon OpenSearch Service is processing configuration changes. False if the configuration is active.

", - "DomainStatus$UpgradeProcessing": "

The status of a domain version upgrade. True if Amazon OpenSearch Service is undergoing a version upgrade. False if the configuration is active.

", - "EBSOptions$EBSEnabled": "

Whether EBS-based storage is enabled.

", - "EncryptionAtRestOptions$Enabled": "

The option to enable encryption at rest.

", - "InstanceTypeDetails$EncryptionEnabled": null, - "InstanceTypeDetails$CognitoEnabled": null, - "InstanceTypeDetails$AppLogsEnabled": null, - "InstanceTypeDetails$AdvancedSecurityEnabled": null, - "InstanceTypeDetails$WarmEnabled": null, - "LogPublishingOption$Enabled": "

Whether the given log publishing option is enabled or not.

", + "DomainStatus$Created": "

Creation status of an OpenSearch Service domain. True if domain creation is complete. False if domain creation is still in progress.

", + "DomainStatus$Deleted": "

Deletion status of an OpenSearch Service domain. True if domain deletion is complete. False if domain deletion is still in progress. Once deletion is complete, the status of the domain is no longer returned.

", + "DomainStatus$Processing": "

The status of the domain configuration. True if OpenSearch Service is processing configuration changes. False if the configuration is active.

", + "DomainStatus$UpgradeProcessing": "

The status of a domain version upgrade to a new version of OpenSearch or Elasticsearch. True if OpenSearch Service is in the process of a version upgrade. False if the configuration is active.

", + "EBSOptions$EBSEnabled": "

Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.

", + "EncryptionAtRestOptions$Enabled": "

True to enable encryption at rest.

", + "InstanceTypeDetails$EncryptionEnabled": "

Whether encryption at rest and node-to-node encryption are supported for the instance type.

", + "InstanceTypeDetails$CognitoEnabled": "

Whether Amazon Cognito access is supported for the instance type.

", + "InstanceTypeDetails$AppLogsEnabled": "

Whether logging is supported for the instance type.

", + "InstanceTypeDetails$AdvancedSecurityEnabled": "

Whether fine-grained access control is supported for the instance type.

", + "InstanceTypeDetails$WarmEnabled": "

Whether UltraWarm is supported for the instance type.

", + "LogPublishingOption$Enabled": "

Whether the log should be published.

", "NodeToNodeEncryptionOptions$Enabled": "

True to enable node-to-node encryption.

", - "OptionStatus$PendingDeletion": "

Indicates whether the domain is being deleted.

", - "SAMLOptionsInput$Enabled": "

True if SAML is enabled.

", + "OptionStatus$PendingDeletion": "

Indicates whether the entity is being deleted.

", + "SAMLOptionsInput$Enabled": "

True to enable SAML authentication for a domain.

", "SAMLOptionsOutput$Enabled": "

True if SAML is enabled.

", - "ServiceSoftwareOptions$UpdateAvailable": "

True if you're able to update your service software version. False if you can't update your service software version.

", - "ServiceSoftwareOptions$Cancellable": "

True if you're able to cancel your service software version update. False if you can't cancel your service software update.

", - "ServiceSoftwareOptions$OptionalDeployment": "

True if a service software is never automatically updated. False if a service software is automatically updated after AutomatedUpdateDate.

", - "UpgradeDomainRequest$PerformCheckOnly": "

When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.

", - "UpgradeDomainResponse$PerformCheckOnly": "

When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.

" + "ServiceSoftwareOptions$UpdateAvailable": "

True if you're able to update your service software version. False if you can't update your service software version.

", + "ServiceSoftwareOptions$Cancellable": "

True if you're able to cancel your service software version update. False if you can't cancel your service software update.

", + "ServiceSoftwareOptions$OptionalDeployment": "

True if a service software is never automatically updated. False if a service software is automatically updated after the automated update date.

", + "UpgradeDomainRequest$PerformCheckOnly": "

When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.

", + "UpgradeDomainResponse$PerformCheckOnly": "

When true, indicates that an upgrade eligibility check was performed.

" } }, "CancelServiceSoftwareUpdateRequest": { - "base": "

Container for the parameters to the CancelServiceSoftwareUpdate operation. Specifies the name of the domain that you wish to cancel a service software update on.

", + "base": "

Container for the request parameters to cancel a service software update.

", "refs": { } }, "CancelServiceSoftwareUpdateResponse": { - "base": "

The result of a CancelServiceSoftwareUpdate operation. Contains the status of the update.

", + "base": "

Container for the response to a CancelServiceSoftwareUpdate operation. Contains the status of the update.

", "refs": { } }, "ChangeProgressDetails": { - "base": "

Specifies change details of the domain configuration change.

", + "base": "

Container for information about a configuration change happening on a domain.

", "refs": { - "DomainConfig$ChangeProgressDetails": "

Specifies change details of the domain configuration change.

", - "DomainStatus$ChangeProgressDetails": "

Specifies change details of the domain configuration change.

", - "UpgradeDomainResponse$ChangeProgressDetails": null + "DomainConfig$ChangeProgressDetails": "

Container for information about the progress of an existing configuration change.

", + "DomainStatus$ChangeProgressDetails": "

Information about a configuration change happening on the domain.

", + "UpgradeDomainResponse$ChangeProgressDetails": "

Container for information about a configuration change happening on a domain.

" } }, "ChangeProgressStage": { - "base": "

A progress stage details of a specific domain configuration change.

", + "base": "

Progress details for each stage of a domain update.

", "refs": { "ChangeProgressStageList$member": null } @@ -318,78 +358,84 @@ "ChangeProgressStageName": { "base": null, "refs": { - "ChangeProgressStage$Name": "

The name of the specific progress stage.

" + "ChangeProgressStage$Name": "

The name of the stage.

" } }, "ChangeProgressStageStatus": { "base": null, "refs": { - "ChangeProgressStage$Status": "

The overall status of a specific progress stage.

" + "ChangeProgressStage$Status": "

The status of the stage.

" } }, "ChangeProgressStatusDetails": { "base": "

The progress details of a specific domain configuration change.

", "refs": { - "DescribeDomainChangeProgressResponse$ChangeProgressStatus": "

Progress information for the configuration change that is requested in the DescribeDomainChangeProgress request.

" + "DescribeDomainChangeProgressResponse$ChangeProgressStatus": "

Container for information about the stages of a configuration change happening on a domain.

" + } + }, + "ClientToken": { + "base": null, + "refs": { + "CreateVpcEndpointRequest$ClientToken": "

Unique, case-sensitive identifier to ensure idempotency of the request.

" } }, "CloudWatchLogsLogGroupArn": { "base": "

ARN of the Cloudwatch log group to publish logs to.

", "refs": { - "LogPublishingOption$CloudWatchLogsLogGroupArn": null + "LogPublishingOption$CloudWatchLogsLogGroupArn": "

The Amazon Resource Name (ARN) of the CloudWatch Logs group to publish logs to.

" } }, "ClusterConfig": { - "base": "

The configuration for the domain cluster, such as the type and number of instances.

", + "base": "

Container for the cluster configuration of an OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains.

", "refs": { - "ClusterConfigStatus$Options": "

The cluster configuration for the specified domain.

", - "CreateDomainRequest$ClusterConfig": "

Configuration options for a domain. Specifies the instance type and number of instances in the domain.

", - "DomainStatus$ClusterConfig": "

The type and number of instances in the domain.

", - "UpdateDomainConfigRequest$ClusterConfig": "

The type and number of instances to instantiate for the domain cluster.

" + "ClusterConfigStatus$Options": "

Cluster configuration options for the specified domain.

", + "CreateDomainRequest$ClusterConfig": "

Container for the cluster configuration of a domain.

", + "DomainStatus$ClusterConfig": "

Container for the cluster configuration of the domain.

", + "UpdateDomainConfigRequest$ClusterConfig": "

Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 instances.

" } }, "ClusterConfigStatus": { - "base": "

The configuration status for the specified domain.

", + "base": "

The cluster configuration status for a domain.

", "refs": { - "DomainConfig$ClusterConfig": "

The ClusterConfig for the domain.

" + "DomainConfig$ClusterConfig": "

Container for the cluster configuration of a the domain.

" } }, "CognitoOptions": { - "base": "

Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.

", + "base": "

Container for the parameters required to enable Cognito authentication for an OpenSearch Service domain. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.

", "refs": { "CognitoOptionsStatus$Options": "

Cognito options for the specified domain.

", - "CreateDomainRequest$CognitoOptions": "

Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.

", - "DomainStatus$CognitoOptions": "

The CognitoOptions for the specified domain. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.

", - "UpdateDomainConfigRequest$CognitoOptions": "

Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.

" + "CreateDomainRequest$CognitoOptions": "

Key-value pairs to configure Amazon Cognito authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.

", + "DomainStatus$CognitoOptions": "

Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.

", + "UpdateDomainConfigRequest$CognitoOptions": "

Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.

" } }, "CognitoOptionsStatus": { "base": "

The status of the Cognito options for the specified domain.

", "refs": { - "DomainConfig$CognitoOptions": "

The CognitoOptions for the specified domain. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.

" + "DomainConfig$CognitoOptions": "

Container for Amazon Cognito options for the domain.

" } }, "ColdStorageOptions": { - "base": "

Specifies the configuration for cold storage options such as enabled

", + "base": "

Container for the parameters required to enable cold storage for an OpenSearch Service domain. For more information, see Cold storage for Amazon OpenSearch Service.

", "refs": { - "ClusterConfig$ColdStorageOptions": "

Specifies the ColdStorageOptions config for a Domain

" + "ClusterConfig$ColdStorageOptions": "

Container for cold storage configuration options.

" } }, "CommitMessage": { "base": null, "refs": { - "PackageVersionHistory$CommitMessage": "

A message associated with the package version.

", - "UpdatePackageRequest$CommitMessage": "

A commit message for the new version which is shown as part of GetPackageVersionHistoryResponse.

" + "PackageVersionHistory$CommitMessage": "

A message associated with the package version when it was uploaded.

", + "UpdatePackageRequest$CommitMessage": "

Commit message for the updated file, which is shown as part of GetPackageVersionHistoryResponse.

" } }, "CompatibleVersionsList": { "base": null, "refs": { - "GetCompatibleVersionsResponse$CompatibleVersions": "

A map of compatible OpenSearch versions returned as part of the GetCompatibleVersions operation.

" + "GetCompatibleVersionsResponse$CompatibleVersions": "

A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.

" } }, "CompatibleVersionsMap": { - "base": "

A map from an EngineVersion to a list of compatible EngineVersion s to which the domain can be upgraded.

", + "base": "

A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.

", "refs": { "CompatibleVersionsList$member": null } @@ -402,28 +448,28 @@ "ConnectionAlias": { "base": null, "refs": { - "CreateOutboundConnectionRequest$ConnectionAlias": "

The connection alias used used by the customer for this cross-cluster connection.

", - "CreateOutboundConnectionResponse$ConnectionAlias": "

The connection alias provided during the create connection request.

", - "OutboundConnection$ConnectionAlias": "

The connection alias for the outbound cross-cluster connection.

" + "CreateOutboundConnectionRequest$ConnectionAlias": "

Name of the connection.

", + "CreateOutboundConnectionResponse$ConnectionAlias": "

Name of the connection.

", + "OutboundConnection$ConnectionAlias": "

Name of the connection.

" } }, "ConnectionId": { "base": null, "refs": { - "AcceptInboundConnectionRequest$ConnectionId": "

The ID of the inbound connection you want to accept.

", - "CreateOutboundConnectionResponse$ConnectionId": "

The unique ID for the created outbound connection, which is used for subsequent operations on the connection.

", + "AcceptInboundConnectionRequest$ConnectionId": "

The ID of the inbound connection to accept.

", + "CreateOutboundConnectionResponse$ConnectionId": "

The unique identifier for the created outbound connection, which is used for subsequent operations on the connection.

", "DeleteInboundConnectionRequest$ConnectionId": "

The ID of the inbound connection to permanently delete.

", "DeleteOutboundConnectionRequest$ConnectionId": "

The ID of the outbound connection you want to permanently delete.

", - "InboundConnection$ConnectionId": "

The connection ID for the inbound cross-cluster connection.

", - "OutboundConnection$ConnectionId": "

The connection ID for the outbound cross-cluster connection.

", - "RejectInboundConnectionRequest$ConnectionId": "

The ID of the inbound connection to reject.

" + "InboundConnection$ConnectionId": "

The unique identifier of the connection.

", + "OutboundConnection$ConnectionId": "

Unique identifier of the connection.

", + "RejectInboundConnectionRequest$ConnectionId": "

The unique identifier of the inbound connection to reject.

" } }, "ConnectionStatusMessage": { "base": null, "refs": { - "InboundConnectionStatus$Message": "

Verbose information for the inbound connection status.

", - "OutboundConnectionStatus$Message": "

Verbose information for the outbound connection status.

" + "InboundConnectionStatus$Message": "

Information about the connection.

", + "OutboundConnectionStatus$Message": "

Verbose information for the outbound connection.

" } }, "CreateDomainRequest": { @@ -432,191 +478,211 @@ } }, "CreateDomainResponse": { - "base": "

The result of a CreateDomain operation. Contains the status of the newly created Amazon OpenSearch Service domain.

", + "base": "

The result of a CreateDomain operation. Contains the status of the newly created domain.

", "refs": { } }, "CreateOutboundConnectionRequest": { - "base": "

Container for the parameters to the CreateOutboundConnection operation.

", + "base": "

Container for the parameters to the CreateOutboundConnection operation.

", "refs": { } }, "CreateOutboundConnectionResponse": { - "base": "

The result of a CreateOutboundConnection request. Contains the details about the newly created cross-cluster connection.

", + "base": "

The result of a CreateOutboundConnection request. Contains details about the newly created cross-cluster connection.

", "refs": { } }, "CreatePackageRequest": { - "base": "

Container for request parameters to the CreatePackage operation.

", + "base": "

Container for request parameters to the CreatePackage operation.

", "refs": { } }, "CreatePackageResponse": { - "base": "

Container for the response returned by the CreatePackage operation.

", + "base": "

Container for the response returned by the CreatePackage operation.

", + "refs": { + } + }, + "CreateVpcEndpointRequest": { + "base": null, + "refs": { + } + }, + "CreateVpcEndpointResponse": { + "base": null, "refs": { } }, "CreatedAt": { "base": null, "refs": { - "PackageDetails$CreatedAt": "

The timestamp of when the package was created.

", - "PackageVersionHistory$CreatedAt": "

The timestamp of when the package was created.

" + "PackageDetails$CreatedAt": "

The timestamp when the package was created.

", + "PackageVersionHistory$CreatedAt": "

The date and time when the package was created.

" } }, "DeleteDomainRequest": { - "base": "

Container for the parameters to the DeleteDomain operation. Specifies the name of the domain you want to delete.

", + "base": "

Container for the parameters to the DeleteDomain operation.

", "refs": { } }, "DeleteDomainResponse": { - "base": "

The result of a DeleteDomain request. Contains the status of the pending deletion, or a \"domain not found\" error if the domain and all of its resources have been deleted.

", + "base": "

The results of a DeleteDomain request. Contains the status of the pending deletion, or a \"domain not found\" error if the domain and all of its resources have been deleted.

", "refs": { } }, "DeleteInboundConnectionRequest": { - "base": "

Container for the parameters to the DeleteInboundConnection operation.

", + "base": "

Container for the parameters to the DeleteInboundConnection operation.

", "refs": { } }, "DeleteInboundConnectionResponse": { - "base": "

The result of a DeleteInboundConnection operation. Contains details about the deleted inbound connection.

", + "base": "

The results of a DeleteInboundConnection operation. Contains details about the deleted inbound connection.

", "refs": { } }, "DeleteOutboundConnectionRequest": { - "base": "

Container for the parameters to the DeleteOutboundConnection operation.

", + "base": "

Container for the parameters to the DeleteOutboundConnection operation.

", "refs": { } }, "DeleteOutboundConnectionResponse": { - "base": "

The result of a DeleteOutboundConnection operation. Contains details about the deleted outbound connection.

", + "base": "

Details about the deleted outbound connection.

", "refs": { } }, "DeletePackageRequest": { - "base": "

Container for the request parameters to the DeletePackage operation.

", + "base": "

Deletes a package from OpenSearch Service. The package can't be associated with any OpenSearch Service domain.

", "refs": { } }, "DeletePackageResponse": { - "base": "

Container for the response parameters to the DeletePackage operation.

", + "base": "

Container for the response parameters to the DeletePackage operation.

", + "refs": { + } + }, + "DeleteVpcEndpointRequest": { + "base": null, + "refs": { + } + }, + "DeleteVpcEndpointResponse": { + "base": null, "refs": { } }, "DeploymentCloseDateTimeStamp": { "base": null, "refs": { - "ServiceSoftwareOptions$AutomatedUpdateDate": "

The timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.

" + "ServiceSoftwareOptions$AutomatedUpdateDate": "

The timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.

" } }, "DeploymentStatus": { "base": null, "refs": { - "ServiceSoftwareOptions$UpdateStatus": "

The status of your service software update. This field can take the following values: ELIGIBLE, PENDING_UPDATE, IN_PROGRESS, COMPLETED, and NOT_ELIGIBLE.

" + "ServiceSoftwareOptions$UpdateStatus": "

The status of your service software update.

" } }, "DeploymentType": { "base": null, "refs": { - "DryRunResults$DeploymentType": "

Specifies the way in which Amazon OpenSearch Service applies the update. Possible responses are Blue/Green (the update requires a blue/green deployment), DynamicUpdate (no blue/green required), Undetermined (the domain is undergoing an update and can't predict the deployment type; try again after the update is complete), and None (the request doesn't include any configuration changes).

" + "DryRunResults$DeploymentType": "

Specifies the way in which OpenSearch Service will apply an update. Possible values are:

" } }, "DescribeDomainAutoTunesRequest": { - "base": "

Container for the parameters to the DescribeDomainAutoTunes operation.

", + "base": "

Container for the parameters to the DescribeDomainAutoTunes operation.

", "refs": { } }, "DescribeDomainAutoTunesResponse": { - "base": "

The result of a DescribeDomainAutoTunes request. See Auto-Tune for Amazon OpenSearch Service for more information.

", + "base": "

The result of a DescribeDomainAutoTunes request.

", "refs": { } }, "DescribeDomainChangeProgressRequest": { - "base": "

Container for the parameters to the DescribeDomainChangeProgress operation. Specifies the domain name and optional change specific identity for which you want progress information.

", + "base": "

Container for the parameters to the DescribeDomainChangeProgress operation.

", "refs": { } }, "DescribeDomainChangeProgressResponse": { - "base": "

The result of a DescribeDomainChangeProgress request. Contains the progress information of the requested domain change.

", + "base": "

The result of a DescribeDomainChangeProgress request. Contains progress information for the requested domain change.

", "refs": { } }, "DescribeDomainConfigRequest": { - "base": "

Container for the parameters to the DescribeDomainConfig operation. Specifies the domain name for which you want configuration information.

", + "base": "

Container for the parameters to the DescribeDomainConfig operation.

", "refs": { } }, "DescribeDomainConfigResponse": { - "base": "

The result of a DescribeDomainConfig request. Contains the configuration information of the requested domain.

", + "base": "

Contains the configuration information of the requested domain.

", "refs": { } }, "DescribeDomainRequest": { - "base": "

Container for the parameters to the DescribeDomain operation.

", + "base": "

Container for the parameters to the DescribeDomain operation.

", "refs": { } }, "DescribeDomainResponse": { - "base": "

The result of a DescribeDomain request. Contains the status of the domain specified in the request.

", + "base": "

Contains the status of the domain specified in the request.

", "refs": { } }, "DescribeDomainsRequest": { - "base": "

Container for the parameters to the DescribeDomains operation. By default, the API returns the status of all domains.

", + "base": "

Container for the parameters to the DescribeDomains operation.

", "refs": { } }, "DescribeDomainsResponse": { - "base": "

The result of a DescribeDomains request. Contains the status of the specified domains or all domains owned by the account.

", + "base": "

Contains the status of the specified domains or all domains owned by the account.

", "refs": { } }, "DescribeInboundConnectionsRequest": { - "base": "

Container for the parameters to the DescribeInboundConnections operation.

", + "base": "

Container for the parameters to the DescribeInboundConnections operation.

", "refs": { } }, "DescribeInboundConnectionsResponse": { - "base": "

The result of a DescribeInboundConnections request. Contains a list of connections matching the filter criteria.

", + "base": "

Contains a list of connections matching the filter criteria.

", "refs": { } }, "DescribeInstanceTypeLimitsRequest": { - "base": "

Container for the parameters to the DescribeInstanceTypeLimits operation.

", + "base": "

Container for the parameters to the DescribeInstanceTypeLimits operation.

", "refs": { } }, "DescribeInstanceTypeLimitsResponse": { - "base": "

Container for the parameters received from the DescribeInstanceTypeLimits operation.

", + "base": "

Container for the parameters received from the DescribeInstanceTypeLimits operation.

", "refs": { } }, "DescribeOutboundConnectionsRequest": { - "base": "

Container for the parameters to the DescribeOutboundConnections operation.

", + "base": "

Container for the parameters to the DescribeOutboundConnections operation.

", "refs": { } }, "DescribeOutboundConnectionsResponse": { - "base": "

The result of a DescribeOutboundConnections request. Contains the list of connections matching the filter criteria.

", + "base": "

Contains a list of connections matching the filter criteria.

", "refs": { } }, "DescribePackagesFilter": { - "base": "

A filter to apply to the DescribePackage response.

", + "base": "

A filter to apply to the DescribePackage response.

", "refs": { "DescribePackagesFilterList$member": null } }, "DescribePackagesFilterList": { - "base": "

A list of DescribePackagesFilter to filter the packages included in a DescribePackages response.

", + "base": "

A list of DescribePackagesFilter to filter the packages included in a DescribePackages response.

", "refs": { - "DescribePackagesRequest$Filters": "

Only returns packages that match the DescribePackagesFilterList values.

" + "DescribePackagesRequest$Filters": "

Only returns packages that match the DescribePackagesFilterList values.

" } }, "DescribePackagesFilterName": { "base": null, "refs": { - "DescribePackagesFilter$Name": "

Any field from PackageDetails.

" + "DescribePackagesFilter$Name": "

Any field from PackageDetails.

" } }, "DescribePackagesFilterValue": { @@ -628,31 +694,31 @@ "DescribePackagesFilterValues": { "base": null, "refs": { - "DescribePackagesFilter$Value": "

A list of values for the specified field.

" + "DescribePackagesFilter$Value": "

A list of values for the specified filter field.

" } }, "DescribePackagesRequest": { - "base": "

Container for the request parameters to the DescribePackage operation.

", + "base": "

Container for the request parameters to the DescribePackage operation.

", "refs": { } }, "DescribePackagesResponse": { - "base": "

Container for the response returned by the DescribePackages operation.

", + "base": "

Container for the response returned by the DescribePackages operation.

", "refs": { } }, "DescribeReservedInstanceOfferingsRequest": { - "base": "

Container for parameters to DescribeReservedInstanceOfferings

", + "base": "

Container for the request parameters to a DescribeReservedInstanceOfferings operation.

", "refs": { } }, "DescribeReservedInstanceOfferingsResponse": { - "base": "

Container for results from DescribeReservedInstanceOfferings

", + "base": "

Container for results of a DescribeReservedInstanceOfferings request.

", "refs": { } }, "DescribeReservedInstancesRequest": { - "base": "

Container for parameters to DescribeReservedInstances

", + "base": "

Container for the request parameters to the DescribeReservedInstances operation.

", "refs": { } }, @@ -661,16 +727,26 @@ "refs": { } }, + "DescribeVpcEndpointsRequest": { + "base": null, + "refs": { + } + }, + "DescribeVpcEndpointsResponse": { + "base": null, + "refs": { + } + }, "Description": { "base": null, "refs": { - "ChangeProgressStage$Description": "

The description of the progress stage.

" + "ChangeProgressStage$Description": "

The description of the stage.

" } }, "DisableTimestamp": { "base": null, "refs": { - "AdvancedSecurityOptions$AnonymousAuthDisableDate": "

Specifies the Anonymous Auth Disable Date when Anonymous Auth is enabled.

" + "AdvancedSecurityOptions$AnonymousAuthDisableDate": "

Date and time when the migration period will be disabled. Only necessary when enabling fine-grained access control on an existing domain.

" } }, "DisabledOperationException": { @@ -679,225 +755,243 @@ } }, "DissociatePackageRequest": { - "base": "

Container for the request parameters to the DissociatePackage operation.

", + "base": "

Container for the request parameters to the DissociatePackage operation.

", "refs": { } }, "DissociatePackageResponse": { - "base": "

Container for the response returned by DissociatePackage operation.

", + "base": "

Container for the response returned by an DissociatePackage operation.

", "refs": { } }, + "DomainArn": { + "base": null, + "refs": { + "CreateVpcEndpointRequest$DomainArn": "

The Amazon Resource Name (ARN) of the domain to grant access to.

", + "VpcEndpoint$DomainArn": "

The Amazon Resource Name (ARN) of the domain associated with the endpoint.

", + "VpcEndpointSummary$DomainArn": "

The Amazon Resource Name (ARN) of the domain associated with the endpoint.

" + } + }, "DomainConfig": { - "base": "

The configuration of a domain.

", + "base": "

Container for the configuration of an OpenSearch Service domain.

", "refs": { - "DescribeDomainConfigResponse$DomainConfig": "

The configuration information of the domain requested in the DescribeDomainConfig request.

", + "DescribeDomainConfigResponse$DomainConfig": "

Container for the configuration of the OpenSearch Service domain.

", "UpdateDomainConfigResponse$DomainConfig": "

The status of the updated domain.

" } }, "DomainEndpointOptions": { - "base": "

Options to configure the endpoint for the domain.

", + "base": "

Options to configure a custom endpoint for an OpenSearch Service domain.

", "refs": { - "CreateDomainRequest$DomainEndpointOptions": "

Options to specify configurations that will be applied to the domain endpoint.

", - "DomainEndpointOptionsStatus$Options": "

Options to configure the endpoint for the domain.

", - "DomainStatus$DomainEndpointOptions": "

The current status of the domain's endpoint options.

", - "UpdateDomainConfigRequest$DomainEndpointOptions": "

Options to specify configuration that will be applied to the domain endpoint.

" + "CreateDomainRequest$DomainEndpointOptions": "

Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.

", + "DomainEndpointOptionsStatus$Options": "

Options to configure the endpoint for a domain.

", + "DomainStatus$DomainEndpointOptions": "

Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.

", + "UpdateDomainConfigRequest$DomainEndpointOptions": "

Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.

" } }, "DomainEndpointOptionsStatus": { - "base": "

The configured endpoint options for the domain and their current status.

", + "base": "

The configured endpoint options for a domain and their current status.

", "refs": { - "DomainConfig$DomainEndpointOptions": "

The DomainEndpointOptions for the domain.

" + "DomainConfig$DomainEndpointOptions": "

Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.

" } }, "DomainId": { - "base": "

Unique identifier for the domain.

", + "base": "

Unique identifier for an OpenSearch Service domain.

", "refs": { - "DomainStatus$DomainId": "

The unique identifier for the specified domain.

" + "DomainStatus$DomainId": "

Unique identifier for the domain.

" } }, "DomainInfo": { - "base": null, + "base": "

Information about an OpenSearch Service domain.

", "refs": { "DomainInfoList$member": null } }, "DomainInfoList": { - "base": "

Contains the list of domain information.

", + "base": "

Contains a list of information about a domain.

", "refs": { - "ListDomainNamesResponse$DomainNames": "

List of domain names and respective engine types.

" + "ListDomainNamesResponse$DomainNames": "

The names of all OpenSearch Service domains owned by the current user and their respective engine types.

" } }, "DomainInformationContainer": { - "base": null, + "base": "

Container for information about an OpenSearch Service domain.

", "refs": { - "CreateOutboundConnectionRequest$LocalDomainInfo": "

The AWSDomainInformation for the local OpenSearch domain.

", - "CreateOutboundConnectionRequest$RemoteDomainInfo": "

The AWSDomainInformation for the remote OpenSearch domain.

", - "CreateOutboundConnectionResponse$LocalDomainInfo": "

The AWSDomainInformation for the local OpenSearch domain.

", - "CreateOutboundConnectionResponse$RemoteDomainInfo": "

The AWSDomainInformation for the remote OpenSearch domain.

", - "InboundConnection$LocalDomainInfo": "

The AWSDomainInformation for the local OpenSearch domain.

", - "InboundConnection$RemoteDomainInfo": "

The AWSDomainInformation for the remote OpenSearch domain.

", - "OutboundConnection$LocalDomainInfo": "

The DomainInformation for the local OpenSearch domain.

", - "OutboundConnection$RemoteDomainInfo": "

The DomainInformation for the remote OpenSearch domain.

" + "CreateOutboundConnectionRequest$LocalDomainInfo": "

Name and Region of the source (local) domain.

", + "CreateOutboundConnectionRequest$RemoteDomainInfo": "

Name and Region of the destination (remote) domain.

", + "CreateOutboundConnectionResponse$LocalDomainInfo": "

Information about the source (local) domain.

", + "CreateOutboundConnectionResponse$RemoteDomainInfo": "

Information about the destination (remote) domain.

", + "InboundConnection$LocalDomainInfo": "

Information about the source (local) domain.

", + "InboundConnection$RemoteDomainInfo": "

Information about the destination (remote) domain.

", + "OutboundConnection$LocalDomainInfo": "

Information about the source (local) domain.

", + "OutboundConnection$RemoteDomainInfo": "

Information about the destination (remote) domain.

" } }, "DomainName": { - "base": "

The name of an domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

", + "base": "

The name of an OpenSearch Service domain. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.

", "refs": { - "AWSDomainInformation$DomainName": null, - "AssociatePackageRequest$DomainName": "

The name of the domain to associate the package with.

", - "CancelServiceSoftwareUpdateRequest$DomainName": "

The name of the domain that you want to stop the latest service software update on.

", - "CreateDomainRequest$DomainName": "

The name of the Amazon OpenSearch Service domain you're creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a lowercase letter and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

", + "AWSDomainInformation$DomainName": "

Name of the domain.

", + "AssociatePackageRequest$DomainName": "

Name of the domain to associate the package with.

", + "AuthorizeVpcEndpointAccessRequest$DomainName": "

The name of the OpenSearch Service domain to provide access to.

", + "CancelServiceSoftwareUpdateRequest$DomainName": "

Name of the OpenSearch Service domain that you want to cancel the service software update on.

", + "CreateDomainRequest$DomainName": "

Name of the OpenSearch Service domain to create. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.

", "DeleteDomainRequest$DomainName": "

The name of the domain you want to permanently delete.

", - "DescribeDomainAutoTunesRequest$DomainName": "

The domain name for which you want Auto-Tune action details.

", - "DescribeDomainChangeProgressRequest$DomainName": "

The domain you want to get the progress information about.

", - "DescribeDomainConfigRequest$DomainName": "

The domain you want to get information about.

", - "DescribeDomainRequest$DomainName": "

The name of the domain for which you want information.

", - "DescribeInstanceTypeLimitsRequest$DomainName": "

The name of the domain you want to modify. Only include this value if you're querying OpenSearch Limits for an existing domain.

", - "DissociatePackageRequest$DomainName": "

The name of the domain to associate the package with.

", - "DomainInfo$DomainName": "

The DomainName.

", + "DescribeDomainAutoTunesRequest$DomainName": "

Name of the domain that you want Auto-Tune details about.

", + "DescribeDomainChangeProgressRequest$DomainName": "

The name of the domain to get progress information for.

", + "DescribeDomainConfigRequest$DomainName": "

Name of the OpenSearch Service domain configuration that you want to describe.

", + "DescribeDomainRequest$DomainName": "

The name of the domain that you want information about.

", + "DescribeInstanceTypeLimitsRequest$DomainName": "

The name of the domain. Only specify if you need the limits for an existing domain.

", + "DissociatePackageRequest$DomainName": "

Name of the domain to dissociate the package from.

", + "DomainInfo$DomainName": "

Name of the domain.

", "DomainNameList$member": null, - "DomainPackageDetails$DomainName": "

The name of the domain you've associated a package with.

", - "DomainStatus$DomainName": "

The name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

", - "GetCompatibleVersionsRequest$DomainName": null, - "GetUpgradeHistoryRequest$DomainName": null, - "GetUpgradeStatusRequest$DomainName": null, - "ListInstanceTypeDetailsRequest$DomainName": null, + "DomainPackageDetails$DomainName": "

Name of the domain that the package is associated with.

", + "DomainStatus$DomainName": "

Name of the domain. Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.

", + "GetCompatibleVersionsRequest$DomainName": "

The name of an existing domain. Provide this parameter to limit the results to a single domain.

", + "GetUpgradeHistoryRequest$DomainName": "

The name of an existing domain.

", + "GetUpgradeStatusRequest$DomainName": "

The domain of the domain to get upgrade status information for.

", + "ListInstanceTypeDetailsRequest$DomainName": "

Name of the domain to list instance type details for.

", "ListPackagesForDomainRequest$DomainName": "

The name of the domain for which you want to list associated packages.

", + "ListVpcEndpointAccessRequest$DomainName": "

The name of the OpenSearch Service domain to retrieve access information for.

", + "ListVpcEndpointsForDomainRequest$DomainName": "

The name of the domain to list associated VPC endpoints for.

", + "RevokeVpcEndpointAccessRequest$DomainName": "

The name of the OpenSearch Service domain.

", "StartServiceSoftwareUpdateRequest$DomainName": "

The name of the domain that you want to update to the latest service software.

", - "UpdateDomainConfigRequest$DomainName": "

The name of the domain you're updating.

", - "UpgradeDomainRequest$DomainName": null, - "UpgradeDomainResponse$DomainName": null + "UpdateDomainConfigRequest$DomainName": "

The name of the domain that you're updating.

", + "UpgradeDomainRequest$DomainName": "

Name of the OpenSearch Service domain that you want to upgrade.

", + "UpgradeDomainResponse$DomainName": "

The name of the domain that was upgraded.

" } }, "DomainNameFqdn": { "base": null, "refs": { - "DomainEndpointOptions$CustomEndpoint": "

The fully qualified domain for your custom endpoint.

" + "DomainEndpointOptions$CustomEndpoint": "

The fully qualified URL for the custom endpoint.

" } }, "DomainNameList": { - "base": "

A list of domain names.

", + "base": "

A list of OpenSearch Service domain names.

", "refs": { - "DescribeDomainsRequest$DomainNames": "

The domains for which you want information.

" + "DescribeDomainsRequest$DomainNames": "

Array of OpenSearch Service domain names that you want information about. If you don't specify any domains, OpenSearch Service returns information about all domains owned by the account.

" } }, "DomainPackageDetails": { - "base": "

Information on a package associated with a domain.

", + "base": "

Information about a package that is associated with a domain. For more information, see Custom packages for Amazon OpenSearch Service.

", "refs": { - "AssociatePackageResponse$DomainPackageDetails": "

DomainPackageDetails

", - "DissociatePackageResponse$DomainPackageDetails": "

DomainPackageDetails

", + "AssociatePackageResponse$DomainPackageDetails": "

Information about a package that is associated with a domain.

", + "DissociatePackageResponse$DomainPackageDetails": "

Information about a package that has been dissociated from the domain.

", "DomainPackageDetailsList$member": null } }, "DomainPackageDetailsList": { "base": null, "refs": { - "ListDomainsForPackageResponse$DomainPackageDetailsList": "

List of DomainPackageDetails objects.

", - "ListPackagesForDomainResponse$DomainPackageDetailsList": "

List of DomainPackageDetails objects.

" + "ListDomainsForPackageResponse$DomainPackageDetailsList": "

Information about all domains associated with a package.

", + "ListPackagesForDomainResponse$DomainPackageDetailsList": "

List of all packages associated with a domain.

" } }, "DomainPackageStatus": { "base": null, "refs": { - "DomainPackageDetails$DomainPackageStatus": "

State of the association. Values are ASSOCIATING, ASSOCIATION_FAILED, ACTIVE, DISSOCIATING, and DISSOCIATION_FAILED.

" + "DomainPackageDetails$DomainPackageStatus": "

State of the association.

" } }, "DomainStatus": { - "base": "

The current status of a domain.

", + "base": "

The current status of an OpenSearch Service domain.

", "refs": { "CreateDomainResponse$DomainStatus": "

The status of the newly created domain.

", "DeleteDomainResponse$DomainStatus": "

The status of the domain being deleted.

", - "DescribeDomainResponse$DomainStatus": "

The current status of the domain.

", + "DescribeDomainResponse$DomainStatus": "

List that contains the status of each specified OpenSearch Service domain.

", "DomainStatusList$member": null } }, "DomainStatusList": { - "base": "

A list that contains the status of each requested domain.

", + "base": "

List that contains the status of each specified OpenSearch Service domain.

", "refs": { - "DescribeDomainsResponse$DomainStatusList": "

The status of the domains requested in the DescribeDomains request.

" + "DescribeDomainsResponse$DomainStatusList": "

The status of the requested domains.

" } }, "Double": { "base": null, "refs": { "RecurringCharge$RecurringChargeAmount": "

The monetary amount of the recurring charge.

", - "ReservedInstance$FixedPrice": "

The upfront fixed charge you will paid to purchase the specific reserved OpenSearch instance offering.

", - "ReservedInstance$UsagePrice": "

The rate you are charged for each hour for the domain that is using this reserved instance.

", - "ReservedInstanceOffering$FixedPrice": "

The upfront fixed charge you will pay to purchase the specific reserved OpenSearch instance offering.

", - "ReservedInstanceOffering$UsagePrice": "

The rate you are charged for each hour the domain that is using the offering is running.

", + "ReservedInstance$FixedPrice": "

The upfront fixed charge you will paid to purchase the specific Reserved Instance offering.

", + "ReservedInstance$UsagePrice": "

The hourly rate at which you're charged for the domain using this Reserved Instance.

", + "ReservedInstanceOffering$FixedPrice": "

The upfront fixed charge you will pay to purchase the specific Reserved Instance offering.

", + "ReservedInstanceOffering$UsagePrice": "

The hourly rate at which you're charged for the domain using this Reserved Instance.

", "UpgradeStepItem$ProgressPercent": "

The floating point value representing the progress percentage of a particular step.

" } }, "DryRun": { "base": null, "refs": { - "UpdateDomainConfigRequest$DryRun": "

This flag, when set to True, specifies whether the UpdateDomain request should return the results of validation checks (DryRunResults) without actually applying the change.

" + "UpdateDomainConfigRequest$DryRun": "

This flag, when set to True, specifies whether the UpdateDomain request should return the results of validation check without actually applying the change.

" } }, "DryRunResults": { - "base": null, + "base": "

Results of a dry run performed in an update domain request.

", "refs": { - "UpdateDomainConfigResponse$DryRunResults": "

Contains result of DryRun.

" + "UpdateDomainConfigResponse$DryRunResults": "

Results of a dry run performed in an update domain request.

" } }, "Duration": { - "base": "

The maintenance schedule duration: duration value and duration unit. See Auto-Tune for Amazon OpenSearch Service for more information.

", + "base": "

The duration of a maintenance schedule. For more information, see Auto-Tune for Amazon OpenSearch Service.

", "refs": { - "AutoTuneMaintenanceSchedule$Duration": "

Specifies maintenance schedule duration: duration value and duration unit. See Auto-Tune for Amazon OpenSearch Service for more information.

" + "AutoTuneMaintenanceSchedule$Duration": "

The duration of the maintenance schedule. For example, \"Duration\": {\"Value\": 2, \"Unit\": \"HOURS\"}.

" } }, "DurationValue": { - "base": "

Integer to specify the value of a maintenance schedule duration. See Auto-Tune for Amazon OpenSearch Service for more information.

", + "base": "

Integer that specifies the value of a maintenance schedule duration.

", "refs": { - "Duration$Value": "

Integer to specify the value of a maintenance schedule duration. See Auto-Tune for Amazon OpenSearch Service for more information.

" + "Duration$Value": "

Integer to specify the value of a maintenance schedule duration.

" } }, "EBSOptions": { - "base": "

Options to enable, disable, and specify the properties of EBS storage volumes.

", + "base": "

Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.

", "refs": { - "CreateDomainRequest$EBSOptions": "

Options to enable, disable, and specify the type and size of EBS storage volumes.

", - "DomainStatus$EBSOptions": "

The EBSOptions for the specified domain.

", - "EBSOptionsStatus$Options": "

The EBS options for the specified domain.

", - "UpdateDomainConfigRequest$EBSOptions": "

Specify the type and size of the EBS volume to use.

" + "CreateDomainRequest$EBSOptions": "

Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.

", + "DomainStatus$EBSOptions": "

Container for EBS-based storage settings for the domain.

", + "EBSOptionsStatus$Options": "

The configured EBS options for the specified domain.

", + "UpdateDomainConfigRequest$EBSOptions": "

The type and size of the EBS volume to attach to instances in the domain.

" } }, "EBSOptionsStatus": { - "base": "

Status of the EBS options for the specified domain.

", + "base": "

The status of the EBS options for the specified OpenSearch Service domain.

", "refs": { - "DomainConfig$EBSOptions": "

The EBSOptions for the domain.

" + "DomainConfig$EBSOptions": "

Container for EBS options configured for an OpenSearch Service domain.

" } }, "EncryptionAtRestOptions": { - "base": "

Specifies encryption at rest options.

", + "base": "

Specifies whether the domain should encrypt data at rest, and if so, the Key Management Service (KMS) key to use. Can be used only to create a new domain, not update an existing one.

", "refs": { - "CreateDomainRequest$EncryptionAtRestOptions": "

Options for encryption of data at rest.

", - "DomainStatus$EncryptionAtRestOptions": "

The status of the EncryptionAtRestOptions.

", - "EncryptionAtRestOptionsStatus$Options": "

The Encryption At Rest options for the specified domain.

", - "UpdateDomainConfigRequest$EncryptionAtRestOptions": "

Specifies encryption of data at rest options.

" + "CreateDomainRequest$EncryptionAtRestOptions": "

Key-value pairs to enable encryption at rest.

", + "DomainStatus$EncryptionAtRestOptions": "

Encryption at rest settings for the domain.

", + "EncryptionAtRestOptionsStatus$Options": "

Encryption at rest options for the specified domain.

", + "UpdateDomainConfigRequest$EncryptionAtRestOptions": "

Encryption at rest options for the domain.

" } }, "EncryptionAtRestOptionsStatus": { - "base": "

Status of the encryption At Rest options for the specified domain.

", + "base": "

Status of the encryption at rest options for the specified OpenSearch Service domain.

", + "refs": { + "DomainConfig$EncryptionAtRestOptions": "

Key-value pairs to enable encryption at rest.

" + } + }, + "Endpoint": { + "base": null, "refs": { - "DomainConfig$EncryptionAtRestOptions": "

The EncryptionAtRestOptions for the domain.

" + "VpcEndpoint$Endpoint": "

The connection endpoint ID for connecting to the domain.

" } }, "EndpointsMap": { "base": null, "refs": { - "DomainStatus$Endpoints": "

Map containing the domain endpoints used to submit index and search requests. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'.

" + "DomainStatus$Endpoints": "

The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints.. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'.

" } }, "EngineType": { "base": null, "refs": { - "DomainInfo$EngineType": "

Specifies the EngineType of the domain.

", - "ListDomainNamesRequest$EngineType": "

Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'.

" + "DomainInfo$EngineType": "

The type of search engine that the domain is running.OpenSearch for an OpenSearch engine, or Elasticsearch for a legacy Elasticsearch OSS engine.

", + "ListDomainNamesRequest$EngineType": "

Filters the output by domain engine type.

" } }, "ErrorDetails": { - "base": null, + "base": "

Additional information if the package is in an error state. Null otherwise.

", "refs": { "DomainPackageDetails$ErrorDetails": "

Additional information if the package is in an error state. Null otherwise.

", "PackageDetails$ErrorDetails": "

Additional information if the package is in an error state. Null otherwise.

" @@ -907,17 +1001,17 @@ "base": null, "refs": { "BaseException$message": "

A description of the error.

", - "ErrorDetails$ErrorMessage": null + "ErrorDetails$ErrorMessage": "

A message describing the error.

" } }, "ErrorType": { "base": null, "refs": { - "ErrorDetails$ErrorType": null + "ErrorDetails$ErrorType": "

The type of error that occurred.

" } }, "Filter": { - "base": "

A filter used to limit results when describing inbound or outbound cross-cluster connections. Multiple values can be specified per filter. A cross-cluster connection must match at least one of the specified values for it to be returned from an operation.

", + "base": "

A filter used to limit results when describing inbound or outbound cross-cluster connections. You can specify multiple values per filter. A cross-cluster connection must match at least one of the specified values for it to be returned from an operation.

", "refs": { "FilterList$member": null } @@ -925,113 +1019,113 @@ "FilterList": { "base": null, "refs": { - "DescribeInboundConnectionsRequest$Filters": "

A list of filters used to match properties for inbound cross-cluster connections. Available Filter values are:

", - "DescribeOutboundConnectionsRequest$Filters": "

A list of filters used to match properties for outbound cross-cluster connections. Available Filter names for this operation are:

" + "DescribeInboundConnectionsRequest$Filters": "

A list of filters used to match properties for inbound cross-cluster connections.

", + "DescribeOutboundConnectionsRequest$Filters": "

List of filter names and values that you can use for requests.

" } }, "GUID": { "base": null, "refs": { - "ChangeProgressDetails$ChangeId": "

The unique change identifier associated with a specific domain configuration change.

", + "ChangeProgressDetails$ChangeId": "

The ID of the configuration change.

", "ChangeProgressStatusDetails$ChangeId": "

The unique change identifier associated with a specific domain configuration change.

", - "DescribeDomainChangeProgressRequest$ChangeId": "

The specific change ID for which you want to get progress information. This is an optional parameter. If omitted, the service returns information about the most recent configuration change.

", - "DescribeReservedInstanceOfferingsRequest$ReservedInstanceOfferingId": "

The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.

", - "DescribeReservedInstancesRequest$ReservedInstanceId": "

The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.

", - "PurchaseReservedInstanceOfferingRequest$ReservedInstanceOfferingId": "

The ID of the reserved OpenSearch instance offering to purchase.

", - "PurchaseReservedInstanceOfferingResponse$ReservedInstanceId": "

Details of the reserved OpenSearch instance which was purchased.

", + "DescribeDomainChangeProgressRequest$ChangeId": "

The specific change ID for which you want to get progress information. If omitted, the request returns information about the most recent configuration change.

", + "DescribeReservedInstanceOfferingsRequest$ReservedInstanceOfferingId": "

The Reserved Instance identifier filter value. Use this parameter to show only the available instance types that match the specified reservation identifier.

", + "DescribeReservedInstancesRequest$ReservedInstanceId": "

The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.

", + "PurchaseReservedInstanceOfferingRequest$ReservedInstanceOfferingId": "

The ID of the Reserved Instance offering to purchase.

", + "PurchaseReservedInstanceOfferingResponse$ReservedInstanceId": "

The ID of the Reserved Instance offering that was purchased.

", "ReservedInstance$ReservedInstanceId": "

The unique identifier for the reservation.

", - "ReservedInstanceOffering$ReservedInstanceOfferingId": "

The OpenSearch reserved instance offering identifier.

" + "ReservedInstanceOffering$ReservedInstanceOfferingId": "

The unique identifier of the Reserved Instance offering.

" } }, "GetCompatibleVersionsRequest": { - "base": "

Container for the request parameters to GetCompatibleVersions operation.

", + "base": "

Container for the request parameters to GetCompatibleVersions operation.

", "refs": { } }, "GetCompatibleVersionsResponse": { - "base": "

Container for the response returned by the GetCompatibleVersions operation.

", + "base": "

Container for the response returned by the GetCompatibleVersions operation.

", "refs": { } }, "GetPackageVersionHistoryRequest": { - "base": "

Container for the request parameters to the GetPackageVersionHistory operation.

", + "base": "

Container for the request parameters to the GetPackageVersionHistory operation.

", "refs": { } }, "GetPackageVersionHistoryResponse": { - "base": "

Container for response returned by GetPackageVersionHistory operation.

", + "base": "

Container for response returned by GetPackageVersionHistory operation.

", "refs": { } }, "GetUpgradeHistoryRequest": { - "base": "

Container for the request parameters to the GetUpgradeHistory operation.

", + "base": "

Container for the request parameters to the GetUpgradeHistory operation.

", "refs": { } }, "GetUpgradeHistoryResponse": { - "base": "

Container for the response returned by the GetUpgradeHistory operation.

", + "base": "

Container for the response returned by the GetUpgradeHistory operation.

", "refs": { } }, "GetUpgradeStatusRequest": { - "base": "

Container for the request parameters to the GetUpgradeStatus operation.

", + "base": "

Container for the request parameters to the GetUpgradeStatus operation.

", "refs": { } }, "GetUpgradeStatusResponse": { - "base": "

Container for the response returned by the GetUpgradeStatus operation.

", + "base": "

Container for the response returned by the GetUpgradeStatus operation.

", "refs": { } }, "IdentityPoolId": { "base": null, "refs": { - "CognitoOptions$IdentityPoolId": "

The Cognito identity pool ID for OpenSearch Dashboards authentication.

" + "CognitoOptions$IdentityPoolId": "

The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.

" } }, "InboundConnection": { - "base": "

Details of an inbound connection.

", + "base": "

Describes an inbound cross-cluster connection for Amazon OpenSearch Service. For more information, see Cross-cluster search for Amazon OpenSearch Service.

", "refs": { - "AcceptInboundConnectionResponse$Connection": "

The InboundConnection of the accepted inbound connection.

", - "DeleteInboundConnectionResponse$Connection": "

The InboundConnection of the deleted inbound connection.

", + "AcceptInboundConnectionResponse$Connection": "

Information about the accepted inbound connection.

", + "DeleteInboundConnectionResponse$Connection": "

The deleted inbound connection.

", "InboundConnections$member": null, - "RejectInboundConnectionResponse$Connection": "

The InboundConnection of the rejected inbound connection.

" + "RejectInboundConnectionResponse$Connection": "

Contains details about the rejected inbound connection.

" } }, "InboundConnectionStatus": { - "base": "

The connection status of an inbound cross-cluster connection.

", + "base": "

The status of an inbound cross-cluster connection for OpenSearch Service.

", "refs": { - "InboundConnection$ConnectionStatus": "

The InboundConnectionStatus for the outbound connection.

" + "InboundConnection$ConnectionStatus": "

The current status of the connection.

" } }, "InboundConnectionStatusCode": { "base": null, "refs": { - "InboundConnectionStatus$StatusCode": "

The state code for the inbound connection. Can be one of the following:

" + "InboundConnectionStatus$StatusCode": "

The status code for the connection. Can be one of the following:

" } }, "InboundConnections": { "base": null, "refs": { - "DescribeInboundConnectionsResponse$Connections": "

A list of InboundConnection matching the specified filter criteria.

" + "DescribeInboundConnectionsResponse$Connections": "

List of inbound connections.

" } }, "InstanceCount": { - "base": "

The number of EC2 instances in the domain.

", + "base": "

Number of instances in an OpenSearch Service cluster.

", "refs": { "PurchaseReservedInstanceOfferingRequest$InstanceCount": "

The number of OpenSearch instances to reserve.

" } }, "InstanceCountLimits": { - "base": "

InstanceCountLimits represents the limits on the number of instances that can be created in Amazon OpenSearch Service for a given InstanceType.

", + "base": "

Limits on the number of instances that can be created in OpenSearch Service for a given instance type.

", "refs": { - "InstanceLimits$InstanceCountLimits": null + "InstanceLimits$InstanceCountLimits": "

Limits on the number of instances that can be created for a given instance type.

" } }, "InstanceLimits": { - "base": "

InstanceLimits represents the list of instance-related attributes that are available for a given InstanceType.

", + "base": "

Instance-related attributes that are available for a given instance type.

", "refs": { - "Limits$InstanceLimits": null + "Limits$InstanceLimits": "

The limits for a given instance type.

" } }, "InstanceRole": { @@ -1044,11 +1138,11 @@ "InstanceRoleList": { "base": null, "refs": { - "InstanceTypeDetails$InstanceRole": null + "InstanceTypeDetails$InstanceRole": "

Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.

" } }, "InstanceTypeDetails": { - "base": null, + "base": "

Lists all instance types and available features for a given OpenSearch or Elasticsearch version.

", "refs": { "InstanceTypeDetailsList$member": null } @@ -1056,7 +1150,7 @@ "InstanceTypeDetailsList": { "base": null, "refs": { - "ListInstanceTypeDetailsResponse$InstanceTypeDetails": null + "ListInstanceTypeDetailsResponse$InstanceTypeDetails": "

Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.

" } }, "Integer": { @@ -1070,16 +1164,16 @@ "IntegerClass": { "base": null, "refs": { - "ClusterConfig$InstanceCount": "

The number of instances in the specified domain cluster.

", - "ClusterConfig$DedicatedMasterCount": "

Total number of dedicated master nodes, active and on standby, for the cluster.

", - "ClusterConfig$WarmCount": "

The number of UltraWarm nodes in the cluster.

", - "EBSOptions$VolumeSize": "

Integer to specify the size of an EBS volume.

", - "EBSOptions$Iops": "

The IOPS for Provisioned IOPS And GP3 EBS volume (SSD).

", - "EBSOptions$Throughput": "

The Throughput for GP3 EBS volume (SSD).

", - "SAMLOptionsInput$SessionTimeoutMinutes": "

The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.

", + "ClusterConfig$InstanceCount": "

Number of dedicated master nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.

", + "ClusterConfig$DedicatedMasterCount": "

Number of dedicated master nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.

", + "ClusterConfig$WarmCount": "

The number of warm nodes in the cluster.

", + "EBSOptions$VolumeSize": "

Specifies the size (in GiB) of EBS volumes attached to data nodes.

", + "EBSOptions$Iops": "

Specifies the baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable only for the gp3 and provisioned IOPS EBS volume types.

", + "EBSOptions$Throughput": "

Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the gp3 volume type.

", + "SAMLOptionsInput$SessionTimeoutMinutes": "

The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.

", "SAMLOptionsOutput$SessionTimeoutMinutes": "

The duration, in minutes, after which a user session becomes inactive.

", - "SnapshotOptions$AutomatedSnapshotStartHour": "

The time, in UTC format, when the service takes a daily automated snapshot of the specified domain. Default is 0 hours.

", - "ZoneAwarenessConfig$AvailabilityZoneCount": "

An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled.

" + "SnapshotOptions$AutomatedSnapshotStartHour": "

The time, in UTC format, when OpenSearch Service takes a daily automated snapshot of the specified domain. Default is 0 hours.

", + "ZoneAwarenessConfig$AvailabilityZoneCount": "

If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are 2 and 3. If your domain is provisioned within a VPC, this value be equal to number of subnets.

" } }, "InternalException": { @@ -1112,15 +1206,15 @@ "KmsKeyId": { "base": null, "refs": { - "EncryptionAtRestOptions$KmsKeyId": "

The KMS key ID for encryption at rest options.

" + "EncryptionAtRestOptions$KmsKeyId": "

The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.

" } }, "LastUpdated": { "base": null, "refs": { - "ChangeProgressStage$LastUpdated": "

The last updated timestamp of the progress stage.

", - "DomainPackageDetails$LastUpdated": "

The timestamp of the most recent update to the package association status.

", - "PackageDetails$LastUpdatedAt": null + "ChangeProgressStage$LastUpdated": "

The most recent updated timestamp of the stage.

", + "DomainPackageDetails$LastUpdated": "

Timestamp of the most recent update to the package association status.

", + "PackageDetails$LastUpdatedAt": "

Date and time when the package was last updated.

" } }, "LimitExceededException": { @@ -1131,8 +1225,8 @@ "LimitName": { "base": null, "refs": { - "AdditionalLimit$LimitName": "

Additional limit is specific to a given InstanceType and for each of its InstanceRole etc.
Attributes and their details:

", - "StorageTypeLimit$LimitName": "

Name of storage limits that are applicable for the given storage type. If StorageType is \"ebs\", the following storage options are applicable:

  1. MinimumVolumeSize
  2. Minimum amount of volume size that is applicable for the given storage type. Can be empty if not applicable.
  3. MaximumVolumeSize
  4. Maximum amount of volume size that is applicable for the given storage type. Can be empty if not applicable.
  5. MaximumIops
  6. Maximum amount of Iops that is applicable for given the storage type. Can be empty if not applicable.
  7. MinimumIops
  8. Minimum amount of Iops that is applicable for given the storage type. Can be empty if not applicable.
  9. MaximumThroughput
  10. Maximum amount of Throughput that is applicable for given the storage type. Can be empty if not applicable.
  11. MinimumThroughput
  12. Minimum amount of Throughput that is applicable for given the storage type. Can be empty if not applicable.

" + "AdditionalLimit$LimitName": "", + "StorageTypeLimit$LimitName": "

Name of storage limits that are applicable for the given storage type. If StorageType is ebs, the following options are available:

" } }, "LimitValue": { @@ -1144,39 +1238,39 @@ "LimitValueList": { "base": null, "refs": { - "AdditionalLimit$LimitValues": "

Value for a given AdditionalLimit$LimitName .

", - "StorageTypeLimit$LimitValues": "

Values for the StorageTypeLimit$LimitName .

" + "AdditionalLimit$LimitValues": "

The values of the additional instance type limits.

", + "StorageTypeLimit$LimitValues": "

The limit values.

" } }, "Limits": { - "base": "

Limits for a given InstanceType and for each of its roles.
Limits contains the following: StorageTypes , InstanceLimits , and AdditionalLimits

", + "base": "

Limits for a given instance type and for each of its roles.

", "refs": { "LimitsByRole$value": null } }, "LimitsByRole": { - "base": "

The role of a given instance and all applicable limits. The role performed by a given OpenSearch instance can be one of the following:

", + "base": "

The role of a given instance and all applicable limits. The role performed by a given OpenSearch instance can be one of the following:

", "refs": { - "DescribeInstanceTypeLimitsResponse$LimitsByRole": null + "DescribeInstanceTypeLimitsResponse$LimitsByRole": "

Map that contains all applicable instance type limits.data refers to data nodes.master refers to dedicated master nodes.

" } }, "ListDomainNamesRequest": { - "base": "

Container for the parameters to the ListDomainNames operation.

", + "base": "

Container for the parameters to the ListDomainNames operation.

", "refs": { } }, "ListDomainNamesResponse": { - "base": "

The result of a ListDomainNames operation. Contains the names of all domains owned by this account and their respective engine types.

", + "base": "

The results of a ListDomainNames operation. Contains the names of all domains owned by this account and their respective engine types.

", "refs": { } }, "ListDomainsForPackageRequest": { - "base": "

Container for the request parameters to the ListDomainsForPackage operation.

", + "base": "

Container for the request parameters to the ListDomainsForPackage operation.

", "refs": { } }, "ListDomainsForPackageResponse": { - "base": "

Container for the response parameters to the ListDomainsForPackage operation.

", + "base": "

Container for the response parameters to the ListDomainsForPackage operation.

", "refs": { } }, @@ -1191,37 +1285,67 @@ } }, "ListPackagesForDomainRequest": { - "base": "

Container for the request parameters to the ListPackagesForDomain operation.

", + "base": "

Container for the request parameters to the ListPackagesForDomain operation.

", "refs": { } }, "ListPackagesForDomainResponse": { - "base": "

Container for the response parameters to the ListPackagesForDomain operation.

", + "base": "

Container for the response parameters to the ListPackagesForDomain operation.

", "refs": { } }, "ListTagsRequest": { - "base": "

Container for the parameters to the ListTags operation. Specify the ARN of the domain that the tags you want to view are attached to.

", + "base": "

Container for the parameters to the ListTags operation.

", "refs": { } }, "ListTagsResponse": { - "base": "

The result of a ListTags operation. Contains tags for all requested domains.

", + "base": "

The results of a ListTags operation.

", "refs": { } }, "ListVersionsRequest": { - "base": "

Container for the parameters to the ListVersions operation.

Use MaxResults to control the maximum number of results to retrieve in a single call.

Use NextToken in response to retrieve more results. If the received response does not contain a NextToken, there are no more results to retrieve.

", + "base": "

Container for the request parameters to the ListVersions operation.

", "refs": { } }, "ListVersionsResponse": { - "base": "

Container for the parameters for response received from the ListVersions operation.

", + "base": "

Container for the parameters for response received from the ListVersions operation.

", + "refs": { + } + }, + "ListVpcEndpointAccessRequest": { + "base": null, + "refs": { + } + }, + "ListVpcEndpointAccessResponse": { + "base": null, + "refs": { + } + }, + "ListVpcEndpointsForDomainRequest": { + "base": null, + "refs": { + } + }, + "ListVpcEndpointsForDomainResponse": { + "base": null, + "refs": { + } + }, + "ListVpcEndpointsRequest": { + "base": null, + "refs": { + } + }, + "ListVpcEndpointsResponse": { + "base": null, "refs": { } }, "LogPublishingOption": { - "base": "

Log Publishing option that is set for a given domain.
Attributes and their details:

", + "base": "

Specifies whether the Amazon OpenSearch Service domain publishes the OpenSearch application and slow logs to Amazon CloudWatch. For more information, see Monitoring OpenSearch logs with Amazon CloudWatch Logs.

After you enable log publishing, you still have to enable the collection of slow logs using the OpenSearch REST API.

", "refs": { "LogPublishingOptions$value": null } @@ -1229,20 +1353,20 @@ "LogPublishingOptions": { "base": null, "refs": { - "CreateDomainRequest$LogPublishingOptions": "

Map of LogType and LogPublishingOption, each containing options to publish a given type of OpenSearch log.

", - "DomainStatus$LogPublishingOptions": "

Log publishing options for the given domain.

", + "CreateDomainRequest$LogPublishingOptions": "

Key-value pairs to configure slow log publishing.

", + "DomainStatus$LogPublishingOptions": "

Log publishing options for the domain.

", "LogPublishingOptionsStatus$Options": "

The log publishing options configured for the domain.

", - "UpdateDomainConfigRequest$LogPublishingOptions": "

Map of LogType and LogPublishingOption, each containing options to publish a given type of OpenSearch log.

" + "UpdateDomainConfigRequest$LogPublishingOptions": "

Options to publish OpenSearch lots to Amazon CloudWatch Logs.

" } }, "LogPublishingOptionsStatus": { "base": "

The configured log publishing options for the domain and their current status.

", "refs": { - "DomainConfig$LogPublishingOptions": "

Log publishing options for the given domain.

" + "DomainConfig$LogPublishingOptions": "

Key-value pairs to configure slow log publishing.

" } }, "LogType": { - "base": "

Type of log file. Can be one of the following:

", + "base": "

The type of log file. Can be one of the following:

", "refs": { "LogPublishingOptions$key": null } @@ -1250,173 +1374,179 @@ "Long": { "base": null, "refs": { - "ReservedInstance$BillingSubscriptionId": null + "ReservedInstance$BillingSubscriptionId": "

The unique identifier of the billing subscription.

" } }, "MasterUserOptions": { - "base": "

Credentials for the master user: username and password, ARN, or both.

", + "base": "

Credentials for the master user for a domain.

", "refs": { - "AdvancedSecurityOptionsInput$MasterUserOptions": "

Credentials for the master user: username and password, ARN, or both.

" + "AdvancedSecurityOptionsInput$MasterUserOptions": "

Container for information about the master user.

" } }, "MaxResults": { - "base": "

Set this value to limit the number of results returned.

", - "refs": { - "DescribeDomainAutoTunesRequest$MaxResults": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

", - "DescribeInboundConnectionsRequest$MaxResults": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

", - "DescribeOutboundConnectionsRequest$MaxResults": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

", - "DescribePackagesRequest$MaxResults": "

Limits results to a maximum number of packages.

", - "DescribeReservedInstanceOfferingsRequest$MaxResults": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

", - "DescribeReservedInstancesRequest$MaxResults": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

", - "GetPackageVersionHistoryRequest$MaxResults": "

Limits results to a maximum number of package versions.

", - "GetUpgradeHistoryRequest$MaxResults": null, - "ListDomainsForPackageRequest$MaxResults": "

Limits the results to a maximum number of domains.

", - "ListInstanceTypeDetailsRequest$MaxResults": null, - "ListPackagesForDomainRequest$MaxResults": "

Limits results to a maximum number of packages.

", - "ListVersionsRequest$MaxResults": "

Set this value to limit the number of results returned. Value must be greater than 10 or it won't be honored.

" + "base": "

An optional parameter that specifies the maximum number of results to return for a given request.

", + "refs": { + "DescribeDomainAutoTunesRequest$MaxResults": "

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

", + "DescribeInboundConnectionsRequest$MaxResults": "

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

", + "DescribeOutboundConnectionsRequest$MaxResults": "

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

", + "DescribePackagesRequest$MaxResults": "

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

", + "DescribeReservedInstanceOfferingsRequest$MaxResults": "

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

", + "DescribeReservedInstancesRequest$MaxResults": "

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

", + "GetPackageVersionHistoryRequest$MaxResults": "

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

", + "GetUpgradeHistoryRequest$MaxResults": "

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

", + "ListDomainsForPackageRequest$MaxResults": "

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

", + "ListInstanceTypeDetailsRequest$MaxResults": "

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

", + "ListPackagesForDomainRequest$MaxResults": "

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

", + "ListVersionsRequest$MaxResults": "

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

" } }, "MaximumInstanceCount": { - "base": "

Maximum number of instances that can be instantiated for a given InstanceType.

", + "base": "

Maximum number of instances that can be instantiated for a given instance type.

", "refs": { - "InstanceCountLimits$MaximumInstanceCount": null + "InstanceCountLimits$MaximumInstanceCount": "

The minimum allowed number of instances.

" } }, "Message": { "base": null, "refs": { - "ChangeProgressDetails$Message": "

Contains an optional message associated with the domain configuration change.

", - "DryRunResults$Message": "

Contains an optional message associated with the DryRunResults.

" + "ChangeProgressDetails$Message": "

A message corresponding to the status of the configuration change.

", + "DryRunResults$Message": "

A message corresponding to the deployment type.

" } }, "MinimumInstanceCount": { - "base": "

Minimum number of instances that can be instantiated for a given InstanceType.

", + "base": "

Minimum number of instances that can be instantiated for a given instance type.

", "refs": { - "InstanceCountLimits$MinimumInstanceCount": null + "InstanceCountLimits$MinimumInstanceCount": "

The maximum allowed number of instances.

" } }, "NextToken": { - "base": "

Paginated APIs accept the NextToken input to return the next page of results and provide a NextToken output in the response, which you can use to retrieve more results.

", - "refs": { - "DescribeDomainAutoTunesRequest$NextToken": "

NextToken is sent in case the earlier API call results contain the NextToken. Used for pagination.

", - "DescribeDomainAutoTunesResponse$NextToken": "

An identifier to allow retrieval of paginated results.

", - "DescribeInboundConnectionsRequest$NextToken": "

If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.

", - "DescribeInboundConnectionsResponse$NextToken": "

If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.

", - "DescribeOutboundConnectionsRequest$NextToken": "

NextToken is sent in case the earlier API call results contain the NextToken parameter. Used for pagination.

", - "DescribeOutboundConnectionsResponse$NextToken": "

If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.

", - "DescribePackagesRequest$NextToken": "

Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

", - "DescribeReservedInstanceOfferingsRequest$NextToken": "

Provides an identifier to allow retrieval of paginated results.

", - "DescribeReservedInstanceOfferingsResponse$NextToken": "

Provides an identifier to allow retrieval of paginated results.

", - "DescribeReservedInstancesRequest$NextToken": "

Provides an identifier to allow retrieval of paginated results.

", - "GetPackageVersionHistoryRequest$NextToken": "

Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

", - "GetUpgradeHistoryRequest$NextToken": null, - "ListDomainsForPackageRequest$NextToken": "

Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

", - "ListInstanceTypeDetailsRequest$NextToken": null, - "ListInstanceTypeDetailsResponse$NextToken": null, - "ListPackagesForDomainRequest$NextToken": "

Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

", - "ListVersionsRequest$NextToken": null, - "ListVersionsResponse$NextToken": null + "base": "

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

", + "refs": { + "DescribeDomainAutoTunesRequest$NextToken": "

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

", + "DescribeDomainAutoTunesResponse$NextToken": "

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

", + "DescribeInboundConnectionsRequest$NextToken": "

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

", + "DescribeInboundConnectionsResponse$NextToken": "

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

", + "DescribeOutboundConnectionsRequest$NextToken": "

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

", + "DescribeOutboundConnectionsResponse$NextToken": "

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

", + "DescribePackagesRequest$NextToken": "

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

", + "DescribeReservedInstanceOfferingsRequest$NextToken": "

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

", + "DescribeReservedInstanceOfferingsResponse$NextToken": "

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

", + "DescribeReservedInstancesRequest$NextToken": "

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

", + "GetPackageVersionHistoryRequest$NextToken": "

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

", + "GetUpgradeHistoryRequest$NextToken": "

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

", + "ListDomainsForPackageRequest$NextToken": "

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

", + "ListInstanceTypeDetailsRequest$NextToken": "

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

", + "ListInstanceTypeDetailsResponse$NextToken": "

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

", + "ListPackagesForDomainRequest$NextToken": "

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

", + "ListVersionsRequest$NextToken": "

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

", + "ListVersionsResponse$NextToken": "

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

", + "ListVpcEndpointAccessRequest$NextToken": "

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

", + "ListVpcEndpointAccessResponse$NextToken": "

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

", + "ListVpcEndpointsForDomainRequest$NextToken": "

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

", + "ListVpcEndpointsForDomainResponse$NextToken": "

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

", + "ListVpcEndpointsRequest$NextToken": "

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

", + "ListVpcEndpointsResponse$NextToken": "

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

" } }, "NodeToNodeEncryptionOptions": { - "base": "

The node-to-node encryption options.

", + "base": "

Enables or disables node-to-node encryption. For more information, see Node-to-node encryption for Amazon OpenSearch Service.

", "refs": { - "CreateDomainRequest$NodeToNodeEncryptionOptions": "

Node-to-node encryption options.

", - "DomainStatus$NodeToNodeEncryptionOptions": "

The status of the NodeToNodeEncryptionOptions.

", + "CreateDomainRequest$NodeToNodeEncryptionOptions": "

Enables node-to-node encryption.

", + "DomainStatus$NodeToNodeEncryptionOptions": "

Whether node-to-node encryption is enabled or disabled.

", "NodeToNodeEncryptionOptionsStatus$Options": "

The node-to-node encryption options for the specified domain.

", - "UpdateDomainConfigRequest$NodeToNodeEncryptionOptions": "

Specifies node-to-node encryption options.

" + "UpdateDomainConfigRequest$NodeToNodeEncryptionOptions": "

Node-To-Node Encryption options for the domain.

" } }, "NodeToNodeEncryptionOptionsStatus": { "base": "

Status of the node-to-node encryption options for the specified domain.

", "refs": { - "DomainConfig$NodeToNodeEncryptionOptions": "

The NodeToNodeEncryptionOptions for the domain.

" + "DomainConfig$NodeToNodeEncryptionOptions": "

Whether node-to-node encryption is enabled or disabled.

" } }, "NonEmptyString": { "base": null, "refs": { - "Filter$Name": "

The name of the filter.

", + "Filter$Name": "

The name of the filter.

", "ValueStringList$member": null } }, "OpenSearchPartitionInstanceType": { "base": null, "refs": { - "ClusterConfig$InstanceType": "

The instance type for an OpenSearch cluster. UltraWarm instance types are not supported for data instances.

", - "ClusterConfig$DedicatedMasterType": "

The instance type for a dedicated master node.

", - "DescribeInstanceTypeLimitsRequest$InstanceType": "

The instance type for an OpenSearch cluster for which OpenSearch Limits are needed.

", - "InstanceTypeDetails$InstanceType": null, - "ReservedInstance$InstanceType": "

The OpenSearch instance type offered by the reserved instance offering.

", - "ReservedInstanceOffering$InstanceType": "

The OpenSearch instance type offered by the reserved instance offering.

" + "ClusterConfig$InstanceType": "

Instance type of data nodes in the cluster.

", + "ClusterConfig$DedicatedMasterType": "

OpenSearch Service instance type of the dedicated master nodes in the cluster.

", + "DescribeInstanceTypeLimitsRequest$InstanceType": "

The OpenSearch Service instance type for which you need limit information.

", + "InstanceTypeDetails$InstanceType": "

The instance type.

", + "ReservedInstance$InstanceType": "

The OpenSearch instance type offered by theReserved Instance offering.

", + "ReservedInstanceOffering$InstanceType": "

The OpenSearch instance type offered by the Reserved Instance offering.

" } }, "OpenSearchWarmPartitionInstanceType": { "base": null, "refs": { - "ClusterConfig$WarmType": "

The instance type for the OpenSearch cluster's warm nodes.

" + "ClusterConfig$WarmType": "

The instance type for the cluster's warm nodes.

" } }, "OptionState": { - "base": "

The state of a requested change. One of the following:

", + "base": "

The state of a requested domain configuration change. Can be one of the following:

", "refs": { - "OptionStatus$State": "

Provides the OptionState for the domain.

" + "OptionStatus$State": "

The state of the entity.

" } }, "OptionStatus": { - "base": "

Provides the current status of the entity.

", + "base": "

Provides the current status of an entity.

", "refs": { - "AccessPoliciesStatus$Status": "

The status of the access policy for the domain. See OptionStatus for the status information that's included.

", - "AdvancedOptionsStatus$Status": "

The OptionStatus for advanced options for the specified domain.

", - "AdvancedSecurityOptionsStatus$Status": "

Status of the advanced security options for the specified domain.

", - "ClusterConfigStatus$Status": "

The cluster configuration status for the specified domain.

", + "AccessPoliciesStatus$Status": "

The status of the access policy for the domain.

", + "AdvancedOptionsStatus$Status": "

The status of advanced options for the specified domain.

", + "AdvancedSecurityOptionsStatus$Status": "

Status of the fine-grained access control settings for a domain.

", + "ClusterConfigStatus$Status": "

The status of cluster configuration options for the specified domain.

", "CognitoOptionsStatus$Status": "

The status of the Cognito options for the specified domain.

", - "DomainEndpointOptionsStatus$Status": "

The status of the endpoint options for the domain. See OptionStatus for the status information that's included.

", + "DomainEndpointOptionsStatus$Status": "

The status of the endpoint options for a domain.

", "EBSOptionsStatus$Status": "

The status of the EBS options for the specified domain.

", - "EncryptionAtRestOptionsStatus$Status": "

The status of the Encryption At Rest options for the specified domain.

", - "LogPublishingOptionsStatus$Status": "

The status of the log publishing options for the domain. See OptionStatus for the status information that's included.

", + "EncryptionAtRestOptionsStatus$Status": "

The status of the encryption at rest options for the specified domain.

", + "LogPublishingOptionsStatus$Status": "

The status of the log publishing options for the domain.

", "NodeToNodeEncryptionOptionsStatus$Status": "

The status of the node-to-node encryption options for the specified domain.

", "SnapshotOptionsStatus$Status": "

The status of a daily automated snapshot.

", "VPCDerivedInfoStatus$Status": "

The status of the VPC options for the specified domain.

", - "VersionStatus$Status": "

The status of the OpenSearch version options for the specified OpenSearch domain.

" + "VersionStatus$Status": "

The status of the version options for the specified domain.

" } }, "OutboundConnection": { - "base": "

Specifies details about an outbound connection.

", + "base": "

Specifies details about an outbound cross-cluster connection.

", "refs": { - "DeleteOutboundConnectionResponse$Connection": "

The OutboundConnection of the deleted outbound connection.

", + "DeleteOutboundConnectionResponse$Connection": "

The deleted inbound connection.

", "OutboundConnections$member": null } }, "OutboundConnectionStatus": { - "base": "

The connection status of an outbound cross-cluster connection.

", + "base": "

The status of an outbound cross-cluster connection.

", "refs": { - "CreateOutboundConnectionResponse$ConnectionStatus": "

The OutboundConnectionStatus for the newly created connection.

", - "OutboundConnection$ConnectionStatus": "

The OutboundConnectionStatus for the outbound connection.

" + "CreateOutboundConnectionResponse$ConnectionStatus": "

The status of the connection.

", + "OutboundConnection$ConnectionStatus": "

Status of the connection.

" } }, "OutboundConnectionStatusCode": { "base": null, "refs": { - "OutboundConnectionStatus$StatusCode": "

The state code for the outbound connection. Can be one of the following:

" + "OutboundConnectionStatus$StatusCode": "

The status code for the outbound connection. Can be one of the following:

" } }, "OutboundConnections": { "base": null, "refs": { - "DescribeOutboundConnectionsResponse$Connections": "

A list of OutboundConnection matching the specified filter criteria.

" + "DescribeOutboundConnectionsResponse$Connections": "

List of outbound connections that match the filter criteria.

" } }, "OverallChangeStatus": { "base": "

The overall status value of the domain configuration change.

", "refs": { - "ChangeProgressStatusDetails$Status": "

The overall status of the domain configuration change. This field can take the following values: PENDING, PROCESSING, COMPLETED and FAILED

" + "ChangeProgressStatusDetails$Status": "

The overall status of the domain configuration change.

" } }, "OwnerId": { "base": null, "refs": { - "AWSDomainInformation$OwnerId": null + "AWSDomainInformation$OwnerId": "

The Amazon Web Services account ID of the domain owner.

" } }, "PackageDescription": { @@ -1430,71 +1560,71 @@ "PackageDetails": { "base": "

Basic information about a package.

", "refs": { - "CreatePackageResponse$PackageDetails": "

Information about the package.

", - "DeletePackageResponse$PackageDetails": "

PackageDetails

", + "CreatePackageResponse$PackageDetails": "

Basic information about an OpenSearch Service package.

", + "DeletePackageResponse$PackageDetails": "

Information about the deleted package.

", "PackageDetailsList$member": null, - "UpdatePackageResponse$PackageDetails": "

Information about the package.

" + "UpdatePackageResponse$PackageDetails": "

Information about a package.

" } }, "PackageDetailsList": { "base": null, "refs": { - "DescribePackagesResponse$PackageDetailsList": "

List of PackageDetails objects.

" + "DescribePackagesResponse$PackageDetailsList": "

Basic information about a package.

" } }, "PackageID": { "base": null, "refs": { "AssociatePackageRequest$PackageID": "

Internal ID of the package to associate with a domain. Use DescribePackages to find this value.

", - "DeletePackageRequest$PackageID": "

The internal ID of the package you want to delete. Use DescribePackages to find this value.

", - "DissociatePackageRequest$PackageID": "

The internal ID of the package to associate with a domain. Use DescribePackages to find this value.

", - "DomainPackageDetails$PackageID": "

The internal ID of the package.

", - "GetPackageVersionHistoryRequest$PackageID": "

Returns an audit history of package versions.

", - "GetPackageVersionHistoryResponse$PackageID": null, - "ListDomainsForPackageRequest$PackageID": "

The package for which to list associated domains.

", - "PackageDetails$PackageID": "

Internal ID of the package.

", + "DeletePackageRequest$PackageID": "

The internal ID of the package you want to delete. Use DescribePackages to find this value.

", + "DissociatePackageRequest$PackageID": "

Internal ID of the package to dissociate from the domain. Use ListPackagesForDomain to find this value.

", + "DomainPackageDetails$PackageID": "

Internal ID of the package.

", + "GetPackageVersionHistoryRequest$PackageID": "

The unique identifier of the package.

", + "GetPackageVersionHistoryResponse$PackageID": "

The unique identifier of the package.

", + "ListDomainsForPackageRequest$PackageID": "

The unique identifier of the package for which to list associated domains.

", + "PackageDetails$PackageID": "

The unique identifier of the package.

", "UpdatePackageRequest$PackageID": "

The unique identifier for the package.

" } }, "PackageName": { "base": null, "refs": { - "CreatePackageRequest$PackageName": "

Unique identifier for the package.

", + "CreatePackageRequest$PackageName": "

Unique name for the package.

", "DomainPackageDetails$PackageName": "

User-specified name of the package.

", "PackageDetails$PackageName": "

User-specified name of the package.

" } }, "PackageSource": { - "base": "

The Amazon S3 location for importing the package specified as S3BucketName and S3Key

", + "base": "

The Amazon S3 location to import the package from.

", "refs": { - "CreatePackageRequest$PackageSource": "

The Amazon S3 location from which to import the package.

", - "UpdatePackageRequest$PackageSource": null + "CreatePackageRequest$PackageSource": "

The Amazon S3 location from which to import the package.

", + "UpdatePackageRequest$PackageSource": "

Amazon S3 bucket and key for the package.

" } }, "PackageStatus": { "base": null, "refs": { - "PackageDetails$PackageStatus": "

Current state of the package. Values are COPYING, COPY_FAILED, AVAILABLE, DELETING, and DELETE_FAILED.

" + "PackageDetails$PackageStatus": "

Current status of the package.

" } }, "PackageType": { "base": null, "refs": { - "CreatePackageRequest$PackageType": "

Type of package. Currently supports only TXT-DICTIONARY.

", - "DomainPackageDetails$PackageType": "

Currently supports only TXT-DICTIONARY.

", - "PackageDetails$PackageType": "

Currently supports only TXT-DICTIONARY.

" + "CreatePackageRequest$PackageType": "

Type of package.

", + "DomainPackageDetails$PackageType": "

The type of package.

", + "PackageDetails$PackageType": "

The type of package.

" } }, "PackageVersion": { "base": null, "refs": { - "DomainPackageDetails$PackageVersion": null, - "PackageDetails$AvailablePackageVersion": null, + "DomainPackageDetails$PackageVersion": "

The current version of the package.

", + "PackageDetails$AvailablePackageVersion": "

The package version.

", "PackageVersionHistory$PackageVersion": "

The package version.

" } }, "PackageVersionHistory": { - "base": "

Details of a package version.

", + "base": "

Details about a package version.

", "refs": { "PackageVersionHistoryList$member": null } @@ -1502,36 +1632,42 @@ "PackageVersionHistoryList": { "base": null, "refs": { - "GetPackageVersionHistoryResponse$PackageVersionHistoryList": "

List of PackageVersionHistory objects.

" + "GetPackageVersionHistoryResponse$PackageVersionHistoryList": "

A list of package versions, along with their creation time and commit message.

" } }, "Password": { "base": null, "refs": { - "MasterUserOptions$MasterUserPassword": "

The master user's password, which is stored in the Amazon OpenSearch Service domain's internal database.

" + "MasterUserOptions$MasterUserPassword": "

Password for the master user. Only specify if InternalUserDatabaseEnabled is true.

" } }, "PolicyDocument": { - "base": "

Access policy rules for a domain service endpoints. For more information, see Configuring access policies . The maximum size of a policy document is 100 KB.

", + "base": "

Access policy rules for an Amazon OpenSearch Service domain endpoint. For more information, see Configuring access policies. The maximum size of a policy document is 100 KB.

", + "refs": { + "AccessPoliciesStatus$Options": "

The access policy configured for the domain. Access policies can be resource-based, IP-based, or IAM-based. For more information, see Configuring access policies.

", + "CreateDomainRequest$AccessPolicies": "

Identity and Access Management (IAM) policy document specifying the access policies for the new domain.

", + "DomainStatus$AccessPolicies": "

Identity and Access Management (IAM) policy document specifying the access policies for the domain.

", + "UpdateDomainConfigRequest$AccessPolicies": "

Identity and Access Management (IAM) access policy as a JSON-formatted string.

" + } + }, + "PrincipalType": { + "base": null, "refs": { - "AccessPoliciesStatus$Options": "

The access policy configured for the domain. Access policies can be resource-based, IP-based, or IAM-based. See Configuring access policiesfor more information.

", - "CreateDomainRequest$AccessPolicies": "

IAM access policy as a JSON-formatted string.

", - "DomainStatus$AccessPolicies": "

IAM access policy as a JSON-formatted string.

", - "UpdateDomainConfigRequest$AccessPolicies": "

IAM access policy as a JSON-formatted string.

" + "AuthorizedPrincipal$PrincipalType": "

The type of principal.

" } }, "PurchaseReservedInstanceOfferingRequest": { - "base": "

Container for parameters to PurchaseReservedInstanceOffering

", + "base": "

Container for request parameters to the PurchaseReservedInstanceOffering operation.

", "refs": { } }, "PurchaseReservedInstanceOfferingResponse": { - "base": "

Represents the output of a PurchaseReservedInstanceOffering operation.

", + "base": "

Represents the output of a PurchaseReservedInstanceOffering operation.

", "refs": { } }, "RecurringCharge": { - "base": "

Contains the specific price and frequency of a recurring charges for a reserved OpenSearch instance, or for a reserved OpenSearch instance offering.

", + "base": "

Contains the specific price and frequency of a recurring charges for an OpenSearch Reserved Instance, or for a Reserved Instance offering.

", "refs": { "RecurringChargeList$member": null } @@ -1539,34 +1675,34 @@ "RecurringChargeList": { "base": null, "refs": { - "ReservedInstance$RecurringCharges": "

The charge to your account regardless of whether you are creating any domains using the instance offering.

", - "ReservedInstanceOffering$RecurringCharges": "

The charge to your account regardless of whether you are creating any domains using the instance offering.

" + "ReservedInstance$RecurringCharges": "

The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.

", + "ReservedInstanceOffering$RecurringCharges": "

The recurring charge to your account, regardless of whether you creates any domains using the offering.

" } }, "ReferencePath": { "base": null, "refs": { - "DomainPackageDetails$ReferencePath": "

The relative path on Amazon OpenSearch Service nodes, which can be used as synonym_path when the package is a synonym file.

" + "DomainPackageDetails$ReferencePath": "

Denotes the location of the package on the OpenSearch Service cluster nodes. It's the same as synonym_path for dictionary files.

" } }, "Region": { "base": null, "refs": { - "AWSDomainInformation$Region": null + "AWSDomainInformation$Region": "

The Amazon Web Services Region in which the domain is located.

" } }, "RejectInboundConnectionRequest": { - "base": "

Container for the parameters to the RejectInboundConnection operation.

", + "base": "

Container for the request parameters to the RejectInboundConnection operation.

", "refs": { } }, "RejectInboundConnectionResponse": { - "base": "

The result of a RejectInboundConnection operation. Contains details about the rejected inbound connection.

", + "base": "

Represents the output of a RejectInboundConnection operation.

", "refs": { } }, "RemoveTagsRequest": { - "base": "

Container for the parameters to the RemoveTags operation. Specify the ARN for the domain from which you want to remove the specified TagKey.

", + "base": "

Container for the request parameters to the RemoveTags operation.

", "refs": { } }, @@ -1579,7 +1715,7 @@ } }, "ReservedInstance": { - "base": "

Details of a reserved OpenSearch instance.

", + "base": "

Details of an OpenSearch Reserved Instance.

", "refs": { "ReservedInstanceList$member": null } @@ -1587,11 +1723,11 @@ "ReservedInstanceList": { "base": null, "refs": { - "DescribeReservedInstancesResponse$ReservedInstances": "

List of reserved OpenSearch instances.

" + "DescribeReservedInstancesResponse$ReservedInstances": "

List of Reserved Instances in the current Region.

" } }, "ReservedInstanceOffering": { - "base": "

Details of a reserved OpenSearch instance offering.

", + "base": "

Details of an OpenSearch Reserved Instance offering.

", "refs": { "ReservedInstanceOfferingList$member": null } @@ -1599,14 +1735,14 @@ "ReservedInstanceOfferingList": { "base": null, "refs": { - "DescribeReservedInstanceOfferingsResponse$ReservedInstanceOfferings": "

List of reserved OpenSearch instance offerings

" + "DescribeReservedInstanceOfferingsResponse$ReservedInstanceOfferings": "

List of Reserved Instance offerings.

" } }, "ReservedInstancePaymentOption": { "base": null, "refs": { - "ReservedInstance$PaymentOption": "

The payment option as defined in the reserved OpenSearch instance offering.

", - "ReservedInstanceOffering$PaymentOption": "

Payment option for the reserved OpenSearch instance offering

" + "ReservedInstance$PaymentOption": "

The payment option as defined in the Reserved Instance offering.

", + "ReservedInstanceOffering$PaymentOption": "

Payment option for the Reserved Instance offering

" } }, "ResourceAlreadyExistsException": { @@ -1619,16 +1755,26 @@ "refs": { } }, + "RevokeVpcEndpointAccessRequest": { + "base": null, + "refs": { + } + }, + "RevokeVpcEndpointAccessResponse": { + "base": null, + "refs": { + } + }, "RoleArn": { "base": null, "refs": { - "CognitoOptions$RoleArn": "

The role ARN that provides OpenSearch permissions for accessing Cognito resources.

" + "CognitoOptions$RoleArn": "

The AmazonOpenSearchServiceCognitoAccess role that allows OpenSearch Service to configure your user pool and identity pool.

" } }, "RollbackOnDisable": { - "base": "

The rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK and DEFAULT_ROLLBACK.

", + "base": "

The rollback state while disabling Auto-Tune for the domain.

", "refs": { - "AutoTuneOptions$RollbackOnDisable": "

The rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK and DEFAULT_ROLLBACK.

" + "AutoTuneOptions$RollbackOnDisable": "

When disabling Auto-Tune, specify NO_ROLLBACK to retain all prior Auto-Tune settings or DEFAULT_ROLLBACK to revert to the OpenSearch Service defaults. If you specify DEFAULT_ROLLBACK, you must include a MaintenanceSchedule in the request. Otherwise, OpenSearch Service is unable to perform the rollback.

" } }, "S3BucketName": { @@ -1646,11 +1792,11 @@ "SAMLEntityId": { "base": null, "refs": { - "SAMLIdp$EntityId": "

The unique entity ID of the application in SAML identity provider.

" + "SAMLIdp$EntityId": "

The unique entity ID of the application in the SAML identity provider.

" } }, "SAMLIdp": { - "base": "

The SAML identity povider's information.

", + "base": "

The SAML identity povider information.

", "refs": { "SAMLOptionsInput$Idp": "

The SAML Identity Provider's information.

", "SAMLOptionsOutput$Idp": "

Describes the SAML identity provider's information.

" @@ -1659,111 +1805,111 @@ "SAMLMetadata": { "base": null, "refs": { - "SAMLIdp$MetadataContent": "

The metadata of the SAML application in XML format.

" + "SAMLIdp$MetadataContent": "

The metadata of the SAML application, in XML format.

" } }, "SAMLOptionsInput": { - "base": "

The SAML application configuration for the domain.

", + "base": "

The SAML authentication configuration for an Amazon OpenSearch Service domain.

", "refs": { - "AdvancedSecurityOptionsInput$SAMLOptions": "

The SAML application configuration for the domain.

" + "AdvancedSecurityOptionsInput$SAMLOptions": "

Container for information about the SAML configuration for OpenSearch Dashboards.

" } }, "SAMLOptionsOutput": { "base": "

Describes the SAML application configured for the domain.

", "refs": { - "AdvancedSecurityOptions$SAMLOptions": "

Describes the SAML application configured for a domain.

" + "AdvancedSecurityOptions$SAMLOptions": "

Container for information about the SAML configuration for OpenSearch Dashboards.

" } }, "ScheduledAutoTuneActionType": { - "base": "

The Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING, and JVM_YOUNG_GEN_TUNING.

", + "base": "

The Auto-Tune action type.

", "refs": { - "ScheduledAutoTuneDetails$ActionType": "

The Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and JVM_YOUNG_GEN_TUNING.

" + "ScheduledAutoTuneDetails$ActionType": "

The type of Auto-Tune action.

" } }, "ScheduledAutoTuneDescription": { - "base": "

The Auto-Tune action description.

", + "base": "

The description of an Auto-Tune maintenance action that occurs on a domain.

", "refs": { - "ScheduledAutoTuneDetails$Action": "

The Auto-Tune action description.

" + "ScheduledAutoTuneDetails$Action": "

A description of the Auto-Tune action.

" } }, "ScheduledAutoTuneDetails": { - "base": "

Specifies details about the scheduled Auto-Tune action. See Auto-Tune for Amazon OpenSearch Service for more information.

", + "base": "

Specifies details about a scheduled Auto-Tune action. For more information, see Auto-Tune for Amazon OpenSearch Service.

", "refs": { - "AutoTuneDetails$ScheduledAutoTuneDetails": null + "AutoTuneDetails$ScheduledAutoTuneDetails": "

Container for details about a scheduled Auto-Tune action.

" } }, "ScheduledAutoTuneSeverityType": { - "base": "

The Auto-Tune action severity. Valid values are LOW, MEDIUM, and HIGH.

", + "base": "

The Auto-Tune action severity.

", "refs": { - "ScheduledAutoTuneDetails$Severity": "

The Auto-Tune action severity. Valid values are LOW, MEDIUM, and HIGH.

" + "ScheduledAutoTuneDetails$Severity": "

The severity of the Auto-Tune action. Valid values are LOW, MEDIUM, and HIGH.

" } }, "ServiceSoftwareOptions": { - "base": "

The current options of an domain service software options.

", + "base": "

The current status of the service software for an Amazon OpenSearch Service domain. For more information, see Service software updates in Amazon OpenSearch Service.

", "refs": { - "CancelServiceSoftwareUpdateResponse$ServiceSoftwareOptions": "

The current status of the OpenSearch service software update.

", + "CancelServiceSoftwareUpdateResponse$ServiceSoftwareOptions": "

Container for the state of your domain relative to the latest service software.

", "DomainStatus$ServiceSoftwareOptions": "

The current status of the domain's service software.

", - "StartServiceSoftwareUpdateResponse$ServiceSoftwareOptions": "

The current status of the OpenSearch service software update.

" + "StartServiceSoftwareUpdateResponse$ServiceSoftwareOptions": "

The current status of the OpenSearch Service software update.

" } }, "ServiceUrl": { - "base": "

The endpoint to which service requests are submitted. For example, search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.es.amazonaws.com or doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.es.amazonaws.com.

", + "base": "

The domain endpoint to which index and search requests are submitted. For example, search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com or doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com.

", "refs": { - "DomainStatus$Endpoint": "

The domain endpoint that you use to submit index and search requests.

", + "DomainStatus$Endpoint": "

Domain-specific endpoint used to submit index, search, and data upload requests to the domain.

", "EndpointsMap$value": null } }, "SnapshotOptions": { - "base": "

The time, in UTC format, when the service takes a daily automated snapshot of the specified domain. Default is 0 hours.

", + "base": "

The time, in UTC format, when OpenSearch Service takes a daily automated snapshot of the specified domain. Default is 0 hours.

", "refs": { - "CreateDomainRequest$SnapshotOptions": "

Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.

", - "DomainStatus$SnapshotOptions": "

The status of the SnapshotOptions.

", + "CreateDomainRequest$SnapshotOptions": "

DEPRECATED. Container for the parameters required to configure automated snapshots of domain indexes.

", + "DomainStatus$SnapshotOptions": "

DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.

", "SnapshotOptionsStatus$Options": "

The daily snapshot options specified for the domain.

", "UpdateDomainConfigRequest$SnapshotOptions": "

Option to set the time, in UTC format, for the daily automated snapshot. Default value is 0 hours.

" } }, "SnapshotOptionsStatus": { - "base": "

Status of a daily automated snapshot.

", + "base": "

Container for information about a daily automated snapshot for an OpenSearch Service domain.

", "refs": { - "DomainConfig$SnapshotOptions": "

The SnapshotOptions for the domain.

" + "DomainConfig$SnapshotOptions": "

DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.

" } }, "StartAt": { "base": null, "refs": { - "AutoTuneMaintenanceSchedule$StartAt": "

The timestamp at which the Auto-Tune maintenance schedule starts.

" + "AutoTuneMaintenanceSchedule$StartAt": "

The Epoch timestamp at which the Auto-Tune maintenance schedule starts.

" } }, "StartServiceSoftwareUpdateRequest": { - "base": "

Container for the parameters to the StartServiceSoftwareUpdate operation. Specifies the name of the domain to schedule a service software update for.

", + "base": "

Container for the request parameters to the StartServiceSoftwareUpdate operation.

", "refs": { } }, "StartServiceSoftwareUpdateResponse": { - "base": "

The result of a StartServiceSoftwareUpdate operation. Contains the status of the update.

", + "base": "

Represents the output of a StartServiceSoftwareUpdate operation. Contains the status of the update.

", "refs": { } }, "StartTimestamp": { "base": null, "refs": { - "UpgradeHistory$StartTimestamp": "

UTC timestamp at which the upgrade API call was made in \"yyyy-MM-ddTHH:mm:ssZ\" format.

" + "UpgradeHistory$StartTimestamp": "

UTC timestamp at which the upgrade API call was made, in the format yyyy-MM-ddTHH:mm:ssZ.

" } }, "StorageSubTypeName": { - "base": "

Sub-type of the given storage type. List of available sub-storage options: \"instance\" storageType has no storageSubType. \"ebs\" storageType has the following valid storageSubTypes:

  1. standard
  2. gp2
  3. gp3
  4. io1
See VolumeType for more information regarding each EBS storage option.

", + "base": "

Sub-type of the given EBS storage type. List of available sub-storage options. The instance storage type has no storage sub-type. The ebs storage type has the following valid sub-types:

", "refs": { - "StorageType$StorageSubTypeName": null + "StorageType$StorageSubTypeName": "

The storage sub-type, such as gp3 or io1.

" } }, "StorageType": { - "base": "

StorageTypes represents the list of storage-related types and their attributes that are available for a given InstanceType.

", + "base": "

A list of storage types for an Amazon OpenSearch Service domain that are available for a given intance type.

", "refs": { "StorageTypeList$member": null } }, "StorageTypeLimit": { - "base": "

Limits that are applicable for the given storage type.

", + "base": "

Limits that are applicable for the given Amazon OpenSearch Service storage type.

", "refs": { "StorageTypeLimitList$member": null } @@ -1771,19 +1917,19 @@ "StorageTypeLimitList": { "base": null, "refs": { - "StorageType$StorageTypeLimits": "

Limits that are applicable for the given storage type.

" + "StorageType$StorageTypeLimits": "

Limits that are applicable for the given storage type.

" } }, "StorageTypeList": { "base": null, "refs": { - "Limits$StorageTypes": "

Storage-related types and attributes that are available for a given InstanceType.

" + "Limits$StorageTypes": "

Storage-related attributes that are available for a given instance type.

" } }, "StorageTypeName": { - "base": "

Type of storage. List of available storage options:

  1. instance
  2. Built-in storage available for the instance
  3. ebs
  4. Elastic block storage attached to the instance

", + "base": "

The type of storage that the domain uses. Can be one of the following:

instance

Built-in storage available for the instance.

ebs

Elastic Block Storage (EBS) attached to the instance.

", "refs": { - "StorageType$StorageTypeName": null + "StorageType$StorageTypeName": "

The name of the storage type.

" } }, "String": { @@ -1791,82 +1937,85 @@ "refs": { "AdvancedOptions$key": null, "AdvancedOptions$value": null, - "AutoTuneMaintenanceSchedule$CronExpressionForRecurrence": "

A cron expression for a recurring maintenance schedule. See Auto-Tune for Amazon OpenSearch Service for more information.

", - "AutoTuneOptionsOutput$ErrorMessage": "

The error message while enabling or disabling Auto-Tune.

", - "AutoTuneStatus$ErrorMessage": "

The error message while enabling or disabling Auto-Tune.

", - "DescribePackagesResponse$NextToken": null, - "DescribeReservedInstancesResponse$NextToken": "

Provides an identifier to allow retrieval of paginated results.

", + "AuthorizedPrincipal$Principal": "

The IAM principal that is allowed access to the domain.

", + "AutoTuneMaintenanceSchedule$CronExpressionForRecurrence": "

A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.

", + "AutoTuneOptionsOutput$ErrorMessage": "

Any errors that occurred while enabling or disabling Auto-Tune.

", + "AutoTuneStatus$ErrorMessage": "

Any errors that occurred while enabling or disabling Auto-Tune.

", + "DescribePackagesResponse$NextToken": "

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

", + "DescribeReservedInstancesResponse$NextToken": "

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

", "EndpointsMap$key": null, - "GetPackageVersionHistoryResponse$NextToken": null, - "GetUpgradeHistoryResponse$NextToken": "

Pagination token that needs to be supplied to the next call to get the next page of results.

", - "ListDomainsForPackageResponse$NextToken": null, - "ListPackagesForDomainResponse$NextToken": "

Pagination token to supply to the next call to get the next page of results.

", + "GetPackageVersionHistoryResponse$NextToken": "

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

", + "GetUpgradeHistoryResponse$NextToken": "

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

", + "ListDomainsForPackageResponse$NextToken": "

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

", + "ListPackagesForDomainResponse$NextToken": "

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

", "RecurringCharge$RecurringChargeFrequency": "

The frequency of the recurring charge.

", - "ReservedInstance$ReservedInstanceOfferingId": "

The offering identifier.

", - "ReservedInstance$CurrencyCode": "

The currency code for the reserved OpenSearch instance offering.

", - "ReservedInstance$State": "

The state of the reserved OpenSearch instance.

", - "ReservedInstanceOffering$CurrencyCode": "

The currency code for the reserved OpenSearch instance offering.

", - "SAMLOptionsInput$SubjectKey": "

Element of the SAML assertion to use for username. Default is NameID.

", - "SAMLOptionsInput$RolesKey": "

Element of the SAML assertion to use for backend roles. Default is roles.

", + "ReservedInstance$ReservedInstanceOfferingId": "

The unique identifier of the Reserved Instance offering.

", + "ReservedInstance$CurrencyCode": "

The currency code for the offering.

", + "ReservedInstance$State": "

The state of the Reserved Instance.

", + "ReservedInstanceOffering$CurrencyCode": "

The currency code for the Reserved Instance offering.

", + "SAMLOptionsInput$SubjectKey": "

Element of the SAML assertion to use for the user name. Default is NameID.

", + "SAMLOptionsInput$RolesKey": "

Element of the SAML assertion to use for backend roles. Default is roles.

", "SAMLOptionsOutput$SubjectKey": "

The key used for matching the SAML subject attribute.

", "SAMLOptionsOutput$RolesKey": "

The key used for matching the SAML roles attribute.

", "ServiceSoftwareOptions$CurrentVersion": "

The current service software version present on the domain.

", - "ServiceSoftwareOptions$NewVersion": "

The new service software version if one is available.

", - "ServiceSoftwareOptions$Description": "

The description of the UpdateStatus.

", + "ServiceSoftwareOptions$NewVersion": "

The new service software version, if one is available.

", + "ServiceSoftwareOptions$Description": "

A description of the service software update status.

", "StringList$member": null, - "UpgradeDomainResponse$UpgradeId": null, - "VPCDerivedInfo$VPCId": "

The VPC ID for the domain. Exists only if the domain was created with VPCOptions.

" + "UpgradeDomainResponse$UpgradeId": "

The unique identifier of the domain upgrade.

", + "VPCDerivedInfo$VPCId": "

The ID for your VPC. Amazon VPC generates this value when you create a VPC.

", + "VpcEndpointError$ErrorMessage": "

A message describing the error.

", + "VpcEndpointSummary$VpcEndpointOwner": "

The creator of the endpoint.

" } }, "StringList": { "base": null, "refs": { - "ChangeProgressStatusDetails$PendingProperties": "

The list of properties involved in the domain configuration change that are still in pending.

", - "ChangeProgressStatusDetails$CompletedProperties": "

The list of properties involved in the domain configuration change that are completed.

", - "RemoveTagsRequest$TagKeys": "

The TagKey list you want to remove from the domain.

", - "VPCDerivedInfo$SubnetIds": "

The subnets for the VPC endpoint.

", - "VPCDerivedInfo$AvailabilityZones": "

The Availability Zones for the domain. Exists only if the domain was created with VPCOptions.

", - "VPCDerivedInfo$SecurityGroupIds": "

The security groups for the VPC endpoint.

", - "VPCOptions$SubnetIds": "

The subnets for the VPC endpoint.

", - "VPCOptions$SecurityGroupIds": "

The security groups for the VPC endpoint.

" + "ChangeProgressStatusDetails$PendingProperties": "

The list of properties in the domain configuration change that are still pending.

", + "ChangeProgressStatusDetails$CompletedProperties": "

The list of properties in the domain configuration change that have completed.

", + "RemoveTagsRequest$TagKeys": "

The list of tag keys to remove from the domain.

", + "VPCDerivedInfo$SubnetIds": "

A list of subnet IDs associated with the VPC endpoints for the domain.

", + "VPCDerivedInfo$AvailabilityZones": "

The list of Availability Zones associated with the VPC subnets.

", + "VPCDerivedInfo$SecurityGroupIds": "

The list of security group IDs associated with the VPC endpoints for the domain.

", + "VPCOptions$SubnetIds": "

A list of subnet IDs associated with the VPC endpoints for the domain. If your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.

", + "VPCOptions$SecurityGroupIds": "

The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.

" } }, "TLSSecurityPolicy": { "base": null, "refs": { - "DomainEndpointOptions$TLSSecurityPolicy": "

Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
Can be one of the following values:

" + "DomainEndpointOptions$TLSSecurityPolicy": "

Specify the TLS security policy to apply to the HTTPS endpoint of the domain.

Can be one of the following values:

" } }, "Tag": { - "base": "

A key value pair for a resource tag.

", + "base": "

A tag (key-value pair) for an Amazon OpenSearch Service resource.

", "refs": { "TagList$member": null } }, "TagKey": { - "base": "

A string of length from 1 to 128 characters that specifies the key for a tag. Tag keys must be unique for the domain to which they're attached.

", + "base": "

A string between 1 to 128 characters that specifies the key for a tag. Tag keys must be unique for the domain to which they're attached.

", "refs": { - "Tag$Key": "

The TagKey, the name of the tag. Tag keys must be unique for the domain to which they are attached.

" + "Tag$Key": "

The tag key. Tag keys must be unique for the domain to which they are attached.

" } }, "TagList": { - "base": "

A list of Tag.

", + "base": "

A list of tags attached to a domain.

", "refs": { - "AddTagsRequest$TagList": "

List of Tag to add to the domain.

", - "CreateDomainRequest$TagList": "

A list of Tag added during domain creation.

", - "ListTagsResponse$TagList": "

List of Tag for the requested domain.

" + "AddTagsRequest$TagList": "

List of resource tags.

", + "CreateDomainRequest$TagList": "

List of tags to add to the domain upon creation.

", + "ListTagsResponse$TagList": "

List of resource tags associated with the specified domain.

" } }, "TagValue": { - "base": "

A string of length from 0 to 256 characters that specifies the value for a tag. Tag values can be null and don't have to be unique in a tag set.

", + "base": "

A string between 0 to 256 characters that specifies the value for a tag. Tag values can be null and don't have to be unique in a tag set.

", "refs": { - "Tag$Value": "

The TagValue, the value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key value pair in a tag set of project : Trinity and cost-center : Trinity

" + "Tag$Value": "

The value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key value pair in a tag set of project : Trinity and cost-center : Trinity

" } }, "TimeUnit": { - "base": "

The unit of a maintenance schedule duration. Valid value is HOUR. See Auto-Tune for Amazon OpenSearch Service for more information.

", + "base": "

The unit of a maintenance schedule duration. Valid value is HOUR.

", "refs": { - "Duration$Unit": "

The unit of a maintenance schedule duration. Valid value is HOURS. See Auto-Tune for Amazon OpenSearch Service for more information.

" + "Duration$Unit": "

The unit of measurement for the duration of a maintenance schedule.

" } }, "TotalNumberOfStages": { @@ -1883,48 +2032,58 @@ } }, "UpdateDomainConfigRequest": { - "base": "

Container for the parameters to the UpdateDomain operation. Specifies the type and number of instances in the domain cluster.

", + "base": "

Container for the request parameters to the UpdateDomain operation.

", "refs": { } }, "UpdateDomainConfigResponse": { - "base": "

The result of an UpdateDomain request. Contains the status of the domain being updated.

", + "base": "

The results of an UpdateDomain request. Contains the status of the domain being updated.

", "refs": { } }, "UpdatePackageRequest": { - "base": "

Container for request parameters to the UpdatePackage operation.

", + "base": "

Container for request parameters to the UpdatePackage operation.

", "refs": { } }, "UpdatePackageResponse": { - "base": "

Container for the response returned by the UpdatePackage operation.

", + "base": "

Container for the response returned by the UpdatePackage operation.

", "refs": { } }, "UpdateTimestamp": { "base": null, "refs": { - "AutoTuneStatus$CreationDate": "

The timestamp of the Auto-Tune options creation date.

", - "AutoTuneStatus$UpdateDate": "

The timestamp of when the Auto-Tune options were last updated.

", + "AutoTuneStatus$CreationDate": "

Date and time when Auto-Tune was enabled for the domain.

", + "AutoTuneStatus$UpdateDate": "

Date and time when the Auto-Tune options were last updated for the domain.

", "ChangeProgressStatusDetails$StartTime": "

The time at which the configuration change is made on the domain.

", - "OptionStatus$CreationDate": "

The timestamp of when the entity was created.

", + "OptionStatus$CreationDate": "

The timestamp when the entity was created.

", "OptionStatus$UpdateDate": "

The timestamp of the last time the entity was updated.

", - "ReservedInstance$StartTime": "

The time the reservation started.

" + "ReservedInstance$StartTime": "

The date and time when the reservation was purchased.

" + } + }, + "UpdateVpcEndpointRequest": { + "base": null, + "refs": { + } + }, + "UpdateVpcEndpointResponse": { + "base": null, + "refs": { } }, "UpgradeDomainRequest": { - "base": "

Container for the request parameters to UpgradeDomain operation.

", + "base": "

Container for the request parameters to the UpgradeDomain operation.

", "refs": { } }, "UpgradeDomainResponse": { - "base": "

Container for response returned by UpgradeDomain operation.

", + "base": "

Container for the response returned by UpgradeDomain operation.

", "refs": { } }, "UpgradeHistory": { - "base": "

History of the last 10 upgrades and upgrade eligibility checks.

", + "base": "

History of the last 10 upgrades and upgrade eligibility checks for an Amazon OpenSearch Service domain.

", "refs": { "UpgradeHistoryList$member": null } @@ -1932,33 +2091,33 @@ "UpgradeHistoryList": { "base": null, "refs": { - "GetUpgradeHistoryResponse$UpgradeHistories": "

A list of UpgradeHistory objects corresponding to each upgrade or upgrade eligibility check performed on a domain returned as part of the GetUpgradeHistoryResponse object.

" + "GetUpgradeHistoryResponse$UpgradeHistories": "

A list of objects corresponding to each upgrade or upgrade eligibility check performed on a domain.

" } }, "UpgradeName": { "base": null, "refs": { - "GetUpgradeStatusResponse$UpgradeName": "

A string that briefly describes the update.

", - "UpgradeHistory$UpgradeName": "

A string that briefly describes the upgrade.

" + "GetUpgradeStatusResponse$UpgradeName": "

A string that describes the update.

", + "UpgradeHistory$UpgradeName": "

A string that describes the upgrade.

" } }, "UpgradeStatus": { "base": null, "refs": { - "GetUpgradeStatusResponse$StepStatus": "

One of four statuses an upgrade have, returned as part of the GetUpgradeStatusResponse object. The status can take one of the following values:

", - "UpgradeHistory$UpgradeStatus": "

The current status of the upgrade. The status can take one of the following values:

", - "UpgradeStepItem$UpgradeStepStatus": "

The current status of the upgrade. The status can take one of the following values:

" + "GetUpgradeStatusResponse$StepStatus": "

The status of the current step that an upgrade is on.

", + "UpgradeHistory$UpgradeStatus": "

The current status of the upgrade. The status can take one of the following values:

", + "UpgradeStepItem$UpgradeStepStatus": "

The current status of the upgrade. The status can take one of the following values:

" } }, "UpgradeStep": { "base": null, "refs": { - "GetUpgradeStatusResponse$UpgradeStep": "

One of three steps an upgrade or upgrade eligibility check goes through:

", - "UpgradeStepItem$UpgradeStep": "

One of three steps an upgrade or upgrade eligibility check goes through:

" + "GetUpgradeStatusResponse$UpgradeStep": "

One of three steps that an upgrade or upgrade eligibility check goes through.

", + "UpgradeStepItem$UpgradeStep": "

One of three steps that an upgrade or upgrade eligibility check goes through:

" } }, "UpgradeStepItem": { - "base": "

Represents a single step of the upgrade or upgrade eligibility check workflow.

", + "base": "

Represents a single step of an upgrade or upgrade eligibility check workflow.

", "refs": { "UpgradeStepsList$member": null } @@ -1966,40 +2125,43 @@ "UpgradeStepsList": { "base": null, "refs": { - "UpgradeHistory$StepsList": "

A list of UpgradeStepItem s representing information about each step performed as part of a specific upgrade or upgrade eligibility check.

" + "UpgradeHistory$StepsList": "

A list of each step performed as part of a specific upgrade or upgrade eligibility check.

" } }, "UserPoolId": { "base": null, "refs": { - "CognitoOptions$UserPoolId": "

The Cognito user pool ID for OpenSearch Dashboards authentication.

" + "CognitoOptions$UserPoolId": "

The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.

" } }, "Username": { "base": null, "refs": { - "MasterUserOptions$MasterUserName": "

The master user's username, which is stored in the Amazon OpenSearch Service domain's internal database.

", - "SAMLOptionsInput$MasterUserName": "

The SAML master username, which is stored in the Amazon OpenSearch Service domain's internal database.

" + "MasterUserOptions$MasterUserName": "

User name for the master user. Only specify if InternalUserDatabaseEnabled is true.

", + "SAMLOptionsInput$MasterUserName": "

The SAML master user name, which is stored in the domain's internal user database.

" } }, "VPCDerivedInfo": { - "base": "

Options to specify the subnets and security groups for the VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.

", + "base": "

Information about the subnets and security groups for an Amazon OpenSearch Service domain provisioned within a virtual private cloud (VPC). For more information, see Launching your Amazon OpenSearch Service domains using a VPC. This information only exists if the domain was created with VPCOptions.

", "refs": { - "DomainStatus$VPCOptions": "

The VPCOptions for the specified domain. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.

", - "VPCDerivedInfoStatus$Options": "

The VPC options for the specified domain.

" + "DomainStatus$VPCOptions": "

The VPC configuration for the domain.

", + "VPCDerivedInfoStatus$Options": "

The VPC options for the specified domain.

", + "VpcEndpoint$VpcOptions": "

Options to specify the subnets and security groups for an Amazon OpenSearch Service VPC endpoint.

" } }, "VPCDerivedInfoStatus": { - "base": "

Status of the VPC options for the specified domain.

", + "base": "

Status of the VPC options for a specified domain.

", "refs": { - "DomainConfig$VPCOptions": "

The VPCOptions for the specified domain. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.

" + "DomainConfig$VPCOptions": "

The current VPC options for the domain and the status of any updates to their configuration.

" } }, "VPCOptions": { - "base": "

Options to specify the subnets and security groups for the VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.

", + "base": "

Options to specify the subnets and security groups for an Amazon OpenSearch Service VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.

", "refs": { - "CreateDomainRequest$VPCOptions": "

Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC .

", - "UpdateDomainConfigRequest$VPCOptions": "

Options to specify the subnets and security groups for the VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC .

" + "CreateDomainRequest$VPCOptions": "

Container for the values required to configure VPC access domains. If you don't specify these values, OpenSearch Service creates the domain with a public endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.

", + "CreateVpcEndpointRequest$VpcOptions": "

Options to specify the subnets and security groups for the endpoint.

", + "UpdateDomainConfigRequest$VPCOptions": "

Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.

", + "UpdateVpcEndpointRequest$VpcOptions": "

The security groups and/or subnets to add, remove, or modify.

" } }, "ValidationException": { @@ -2010,46 +2172,116 @@ "ValueStringList": { "base": null, "refs": { - "Filter$Values": "

Contains one or more values for the filter.

" + "Filter$Values": "

One or more values for the filter.

" } }, "VersionList": { - "base": "

List of supported OpenSearch versions.

", + "base": "

List of supported OpenSearch versions.

", "refs": { - "CompatibleVersionsMap$TargetVersions": null, - "ListVersionsResponse$Versions": null + "CompatibleVersionsMap$TargetVersions": "

The possible versions that you can upgrade the domain to.

", + "ListVersionsResponse$Versions": "

A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.

" } }, "VersionStatus": { - "base": "

The status of the OpenSearch version options for the specified OpenSearch domain.

", + "base": "

The status of the the OpenSearch or Elasticsearch version options for the specified Amazon OpenSearch Service domain.

", "refs": { - "DomainConfig$EngineVersion": "

String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch or Elasticsearch domain.

" + "DomainConfig$EngineVersion": "

The OpenSearch or Elasticsearch version that the domain is running.

" } }, "VersionString": { "base": null, "refs": { - "CompatibleVersionsMap$SourceVersion": "

The current version of OpenSearch a domain is on.

", - "CreateDomainRequest$EngineVersion": "

String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the Amazon OpenSearch Service domain. For example, \"OpenSearch_1.0\" or \"Elasticsearch_7.9\". For more information, see Creating and managing Amazon OpenSearch Service domains .

", - "DescribeInstanceTypeLimitsRequest$EngineVersion": "

Version of OpenSearch for which Limits are needed.

", - "DomainStatus$EngineVersion": null, - "ListInstanceTypeDetailsRequest$EngineVersion": null, - "UpgradeDomainRequest$TargetVersion": "

The version of OpenSearch you intend to upgrade the domain to.

", - "UpgradeDomainResponse$TargetVersion": "

The version of OpenSearch that you intend to upgrade the domain to.

", + "CompatibleVersionsMap$SourceVersion": "

The current version that the OpenSearch Service domain is running.

", + "CreateDomainRequest$EngineVersion": "

String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch Service domain. For example, OpenSearch_1.0 or Elasticsearch_7.9. For more information, see Creating and managing Amazon OpenSearch Service domains.

", + "DescribeInstanceTypeLimitsRequest$EngineVersion": "

Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.

", + "DomainStatus$EngineVersion": "

Version of OpenSearch or Elasticsearch that the domain is running, in the format Elasticsearch_X.Y or OpenSearch_X.Y.

", + "ListInstanceTypeDetailsRequest$EngineVersion": "

Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.

", + "UpgradeDomainRequest$TargetVersion": "

OpenSearch or Elasticsearch version to which you want to upgrade, in the format Opensearch_X.Y or Elasticsearch_X.Y.

", + "UpgradeDomainResponse$TargetVersion": "

OpenSearch or Elasticsearch version that the domain was upgraded to.

", "VersionList$member": null, - "VersionStatus$Options": "

The OpenSearch version for the specified OpenSearch domain.

" + "VersionStatus$Options": "

The OpenSearch or Elasticsearch version for the specified domain.

" } }, "VolumeType": { - "base": "

The type of EBS volume, standard, gp2, gp3 or io1. See Configuring EBS-based Storage for more information.

", + "base": "

The type of EBS volume that a domain uses. For more information, see Configuring EBS-based storage.

", + "refs": { + "EBSOptions$VolumeType": "

Specifies the type of EBS volumes attached to data nodes.

" + } + }, + "VpcEndpoint": { + "base": "

The connection endpoint for connecting to an Amazon OpenSearch Service domain through a proxy.

", + "refs": { + "CreateVpcEndpointResponse$VpcEndpoint": "

Information about the newly created VPC endpoint.

", + "UpdateVpcEndpointResponse$VpcEndpoint": "

The endpoint to be updated.

", + "VpcEndpoints$member": null + } + }, + "VpcEndpointError": { + "base": "

Error information when attempting to describe an Amazon OpenSearch Service-managed VPC endpoint.

", + "refs": { + "VpcEndpointErrorList$member": null + } + }, + "VpcEndpointErrorCode": { + "base": null, + "refs": { + "VpcEndpointError$ErrorCode": "

The code associated with the error.

" + } + }, + "VpcEndpointErrorList": { + "base": null, + "refs": { + "DescribeVpcEndpointsResponse$VpcEndpointErrors": "

Any errors associated with the request.

" + } + }, + "VpcEndpointId": { + "base": null, + "refs": { + "DeleteVpcEndpointRequest$VpcEndpointId": "

The unique identifier of the endpoint.

", + "UpdateVpcEndpointRequest$VpcEndpointId": "

The unique identifier of the endpoint.

", + "VpcEndpoint$VpcEndpointId": "

The unique identifier of the endpoint.

", + "VpcEndpointError$VpcEndpointId": "

The unique identifier of the endpoint.

", + "VpcEndpointIdList$member": null, + "VpcEndpointSummary$VpcEndpointId": "

The unique identifier of the endpoint.

" + } + }, + "VpcEndpointIdList": { + "base": null, + "refs": { + "DescribeVpcEndpointsRequest$VpcEndpointIds": "

The unique identifiers of the endpoints to get information about.

" + } + }, + "VpcEndpointStatus": { + "base": null, + "refs": { + "VpcEndpoint$Status": "

The current status of the endpoint.

", + "VpcEndpointSummary$Status": "

The current status of the endpoint.

" + } + }, + "VpcEndpointSummary": { + "base": "

Summary information for an Amazon OpenSearch Service-managed VPC endpoint.

", + "refs": { + "DeleteVpcEndpointResponse$VpcEndpointSummary": "

Information about the deleted endpoint, including its current status (DELETING or DELETE_FAILED).

", + "VpcEndpointSummaryList$member": null + } + }, + "VpcEndpointSummaryList": { + "base": null, + "refs": { + "ListVpcEndpointsForDomainResponse$VpcEndpointSummaryList": "

Information about each endpoint associated with the domain.

", + "ListVpcEndpointsResponse$VpcEndpointSummaryList": "

Information about each endpoint.

" + } + }, + "VpcEndpoints": { + "base": null, "refs": { - "EBSOptions$VolumeType": "

The volume type for EBS-based storage.

" + "DescribeVpcEndpointsResponse$VpcEndpoints": "

Information about each requested VPC endpoint.

" } }, "ZoneAwarenessConfig": { - "base": "

The zone awareness configuration for the domain cluster, such as the number of availability zones.

", + "base": "

The zone awareness configuration for an Amazon OpenSearch Service domain.

", "refs": { - "ClusterConfig$ZoneAwarenessConfig": "

The zone awareness configuration for a domain when zone awareness is enabled.

" + "ClusterConfig$ZoneAwarenessConfig": "

Container for zone awareness configuration options. Only required if ZoneAwarenessEnabled is true.

" } } } diff --git a/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json b/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json new file mode 100644 index 0000000000..78b6817727 --- /dev/null +++ b/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json @@ -0,0 +1,315 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://es-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://es-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://es.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://es.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/opensearch/2021-01-01/endpoint-tests-1.json b/models/apis/opensearch/2021-01-01/endpoint-tests-1.json new file mode 100644 index 0000000000..000cf7fba1 --- /dev/null +++ b/models/apis/opensearch/2021-01-01/endpoint-tests-1.json @@ -0,0 +1,1799 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-south-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.ap-south-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ap-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-south-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.eu-south-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.eu-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-iso-west-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.us-iso-west-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-central-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-central-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.eu-central-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.eu-central-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-southeast-4.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-4", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.ap-southeast-4.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-4", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.ap-southeast-4.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-4", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.ap-southeast-4.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-4", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://es.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseFIPS": true, + "Region": "us-isob-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-isob-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseFIPS": false, + "Region": "us-isob-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://es.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-isob-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/polly/2016-06-10/api-2.json b/models/apis/polly/2016-06-10/api-2.json index df95387a4c..afe4e52203 100644 --- a/models/apis/polly/2016-06-10/api-2.json +++ b/models/apis/polly/2016-06-10/api-2.json @@ -840,7 +840,11 @@ "Liam", "Pedro", "Kajal", - "Hiujin" + "Hiujin", + "Laura", + "Elin", + "Ida", + "Suvi" ] }, "VoiceList":{ diff --git a/models/apis/polly/2016-06-10/endpoint-rule-set-1.json b/models/apis/polly/2016-06-10/endpoint-rule-set-1.json new file mode 100644 index 0000000000..6b15cdf7c9 --- /dev/null +++ b/models/apis/polly/2016-06-10/endpoint-rule-set-1.json @@ -0,0 +1,315 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://polly-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://polly-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://polly.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://polly.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/polly/2016-06-10/endpoint-tests-1.json b/models/apis/polly/2016-06-10/endpoint-tests-1.json new file mode 100644 index 0000000000..c016bb9d20 --- /dev/null +++ b/models/apis/polly/2016-06-10/endpoint-tests-1.json @@ -0,0 +1,1135 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.ca-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.us-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.af-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "af-south-1" + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "af-south-1" + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.af-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "af-south-1" + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.af-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "af-south-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-northeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.me-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "me-south-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "me-south-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.me-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "me-south-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.me-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "me-south-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.sa-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-east-1" + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-east-1" + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-east-1" + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-east-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.us-gov-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "cn-northwest-1" + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "cn-northwest-1" + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "cn-northwest-1" + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-northwest-1" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/resource-explorer-2/2022-07-28/api-2.json b/models/apis/resource-explorer-2/2022-07-28/api-2.json new file mode 100644 index 0000000000..fdaaf87173 --- /dev/null +++ b/models/apis/resource-explorer-2/2022-07-28/api-2.json @@ -0,0 +1,1541 @@ +{ + "metadata": { + "apiVersion": "2022-07-28", + "endpointPrefix": "resource-explorer-2", + "jsonVersion": "1.1", + "protocol": "rest-json", + "serviceFullName": "AWS Resource Explorer", + "serviceId": "Resource Explorer 2", + "signatureVersion": "v4", + "signingName": "resource-explorer-2", + "uid": "resource-explorer-2-2022-07-28" + }, + "operations": { + "AssociateDefaultView": { + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/AssociateDefaultView", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "AssociateDefaultViewInput" + }, + "name": "AssociateDefaultView", + "output": { + "shape": "AssociateDefaultViewOutput" + } + }, + "BatchGetView": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "UnauthorizedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/BatchGetView", + "responseCode": 200 + }, + "input": { + "shape": "BatchGetViewInput" + }, + "name": "BatchGetView", + "output": { + "shape": "BatchGetViewOutput" + } + }, + "CreateIndex": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/CreateIndex", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "CreateIndexInput" + }, + "name": "CreateIndex", + "output": { + "shape": "CreateIndexOutput" + } + }, + "CreateView": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "UnauthorizedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/CreateView", + "responseCode": 200 + }, + "input": { + "shape": "CreateViewInput" + }, + "name": "CreateView", + "output": { + "shape": "CreateViewOutput" + } + }, + "DeleteIndex": { + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/DeleteIndex", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "DeleteIndexInput" + }, + "name": "DeleteIndex", + "output": { + "shape": "DeleteIndexOutput" + } + }, + "DeleteView": { + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "UnauthorizedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/DeleteView", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "DeleteViewInput" + }, + "name": "DeleteView", + "output": { + "shape": "DeleteViewOutput" + } + }, + "DisassociateDefaultView": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/DisassociateDefaultView", + "responseCode": 200 + }, + "idempotent": true, + "name": "DisassociateDefaultView" + }, + "GetDefaultView": { + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/GetDefaultView", + "responseCode": 200 + }, + "name": "GetDefaultView", + "output": { + "shape": "GetDefaultViewOutput" + } + }, + "GetIndex": { + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/GetIndex", + "responseCode": 200 + }, + "name": "GetIndex", + "output": { + "shape": "GetIndexOutput" + } + }, + "GetView": { + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "UnauthorizedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/GetView", + "responseCode": 200 + }, + "input": { + "shape": "GetViewInput" + }, + "name": "GetView", + "output": { + "shape": "GetViewOutput" + } + }, + "ListIndexes": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/ListIndexes", + "responseCode": 200 + }, + "input": { + "shape": "ListIndexesInput" + }, + "name": "ListIndexes", + "output": { + "shape": "ListIndexesOutput" + } + }, + "ListSupportedResourceTypes": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/ListSupportedResourceTypes", + "responseCode": 200 + }, + "input": { + "shape": "ListSupportedResourceTypesInput" + }, + "name": "ListSupportedResourceTypes", + "output": { + "shape": "ListSupportedResourceTypesOutput" + } + }, + "ListTagsForResource": { + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "UnauthorizedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "GET", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "ListTagsForResourceInput" + }, + "name": "ListTagsForResource", + "output": { + "shape": "ListTagsForResourceOutput" + } + }, + "ListViews": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/ListViews", + "responseCode": 200 + }, + "input": { + "shape": "ListViewsInput" + }, + "name": "ListViews", + "output": { + "shape": "ListViewsOutput" + } + }, + "Search": { + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "UnauthorizedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/Search", + "responseCode": 200 + }, + "input": { + "shape": "SearchInput" + }, + "name": "Search", + "output": { + "shape": "SearchOutput" + } + }, + "TagResource": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "UnauthorizedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "TagResourceInput" + }, + "name": "TagResource", + "output": { + "shape": "TagResourceOutput" + } + }, + "UntagResource": { + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "UnauthorizedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "UntagResourceInput" + }, + "name": "UntagResource", + "output": { + "shape": "UntagResourceOutput" + } + }, + "UpdateIndexType": { + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/UpdateIndexType", + "responseCode": 200 + }, + "input": { + "shape": "UpdateIndexTypeInput" + }, + "name": "UpdateIndexType", + "output": { + "shape": "UpdateIndexTypeOutput" + } + }, + "UpdateView": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "UnauthorizedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/UpdateView", + "responseCode": 200 + }, + "input": { + "shape": "UpdateViewInput" + }, + "name": "UpdateView", + "output": { + "shape": "UpdateViewOutput" + } + } + }, + "shapes": { + "AccessDeniedException": { + "error": { + "httpStatusCode": 403, + "senderFault": true + }, + "exception": true, + "members": { + "Message": { + "shape": "String" + } + }, + "type": "structure" + }, + "AssociateDefaultViewInput": { + "members": { + "ViewArn": { + "shape": "AssociateDefaultViewInputViewArnString" + } + }, + "required": [ + "ViewArn" + ], + "type": "structure" + }, + "AssociateDefaultViewInputViewArnString": { + "max": 1011, + "min": 1, + "type": "string" + }, + "AssociateDefaultViewOutput": { + "members": { + "ViewArn": { + "shape": "String" + } + }, + "type": "structure" + }, + "BatchGetViewError": { + "members": { + "ErrorMessage": { + "shape": "String" + }, + "ViewArn": { + "shape": "String" + } + }, + "required": [ + "ErrorMessage", + "ViewArn" + ], + "type": "structure" + }, + "BatchGetViewErrors": { + "member": { + "shape": "BatchGetViewError" + }, + "type": "list" + }, + "BatchGetViewInput": { + "members": { + "ViewArns": { + "shape": "BatchGetViewInputViewArnsList" + } + }, + "type": "structure" + }, + "BatchGetViewInputViewArnsList": { + "max": 20, + "member": { + "shape": "String" + }, + "min": 1, + "type": "list" + }, + "BatchGetViewOutput": { + "members": { + "Errors": { + "shape": "BatchGetViewErrors" + }, + "Views": { + "shape": "ViewList" + } + }, + "type": "structure" + }, + "Boolean": { + "box": true, + "type": "boolean" + }, + "ConflictException": { + "error": { + "httpStatusCode": 409, + "senderFault": true + }, + "exception": true, + "members": { + "Message": { + "shape": "String" + } + }, + "required": [ + "Message" + ], + "type": "structure" + }, + "CreateIndexInput": { + "members": { + "ClientToken": { + "idempotencyToken": true, + "shape": "String" + }, + "Tags": { + "shape": "TagMap" + } + }, + "type": "structure" + }, + "CreateIndexOutput": { + "members": { + "Arn": { + "shape": "String" + }, + "CreatedAt": { + "shape": "SyntheticTimestamp_date_time" + }, + "State": { + "shape": "IndexState" + } + }, + "type": "structure" + }, + "CreateViewInput": { + "members": { + "ClientToken": { + "idempotencyToken": true, + "shape": "CreateViewInputClientTokenString" + }, + "Filters": { + "shape": "SearchFilter" + }, + "IncludedProperties": { + "shape": "IncludedPropertyList" + }, + "Tags": { + "shape": "TagMap" + }, + "ViewName": { + "shape": "ViewName" + } + }, + "required": [ + "ViewName" + ], + "type": "structure" + }, + "CreateViewInputClientTokenString": { + "max": 2048, + "min": 1, + "type": "string" + }, + "CreateViewOutput": { + "members": { + "View": { + "shape": "View" + } + }, + "type": "structure" + }, + "DeleteIndexInput": { + "members": { + "Arn": { + "shape": "String" + } + }, + "required": [ + "Arn" + ], + "type": "structure" + }, + "DeleteIndexOutput": { + "members": { + "Arn": { + "shape": "String" + }, + "LastUpdatedAt": { + "shape": "SyntheticTimestamp_date_time" + }, + "State": { + "shape": "IndexState" + } + }, + "type": "structure" + }, + "DeleteViewInput": { + "members": { + "ViewArn": { + "shape": "DeleteViewInputViewArnString" + } + }, + "required": [ + "ViewArn" + ], + "type": "structure" + }, + "DeleteViewInputViewArnString": { + "max": 1011, + "min": 1, + "type": "string" + }, + "DeleteViewOutput": { + "members": { + "ViewArn": { + "shape": "String" + } + }, + "type": "structure" + }, + "GetDefaultViewOutput": { + "members": { + "ViewArn": { + "shape": "String" + } + }, + "type": "structure" + }, + "GetIndexOutput": { + "members": { + "Arn": { + "shape": "String" + }, + "CreatedAt": { + "shape": "SyntheticTimestamp_date_time" + }, + "LastUpdatedAt": { + "shape": "SyntheticTimestamp_date_time" + }, + "ReplicatingFrom": { + "shape": "RegionList" + }, + "ReplicatingTo": { + "shape": "RegionList" + }, + "State": { + "shape": "IndexState" + }, + "Tags": { + "shape": "TagMap" + }, + "Type": { + "shape": "IndexType" + } + }, + "type": "structure" + }, + "GetViewInput": { + "members": { + "ViewArn": { + "shape": "GetViewInputViewArnString" + } + }, + "required": [ + "ViewArn" + ], + "type": "structure" + }, + "GetViewInputViewArnString": { + "max": 1011, + "min": 1, + "type": "string" + }, + "GetViewOutput": { + "members": { + "Tags": { + "shape": "TagMap" + }, + "View": { + "shape": "View" + } + }, + "type": "structure" + }, + "IncludedProperty": { + "members": { + "Name": { + "shape": "IncludedPropertyNameString" + } + }, + "required": [ + "Name" + ], + "type": "structure" + }, + "IncludedPropertyList": { + "member": { + "shape": "IncludedProperty" + }, + "type": "list" + }, + "IncludedPropertyNameString": { + "max": 1011, + "min": 1, + "type": "string" + }, + "Index": { + "members": { + "Arn": { + "shape": "String" + }, + "Region": { + "shape": "String" + }, + "Type": { + "shape": "IndexType" + } + }, + "type": "structure" + }, + "IndexList": { + "member": { + "shape": "Index" + }, + "type": "list" + }, + "IndexState": { + "enum": [ + "CREATING", + "ACTIVE", + "DELETING", + "DELETED", + "UPDATING" + ], + "type": "string" + }, + "IndexType": { + "enum": [ + "LOCAL", + "AGGREGATOR" + ], + "type": "string" + }, + "InternalServerException": { + "error": { + "httpStatusCode": 500 + }, + "exception": true, + "fault": true, + "members": { + "Message": { + "shape": "String" + } + }, + "type": "structure" + }, + "ListIndexesInput": { + "members": { + "MaxResults": { + "shape": "ListIndexesInputMaxResultsInteger" + }, + "NextToken": { + "shape": "ListIndexesInputNextTokenString" + }, + "Regions": { + "shape": "ListIndexesInputRegionsList" + }, + "Type": { + "shape": "IndexType" + } + }, + "type": "structure" + }, + "ListIndexesInputMaxResultsInteger": { + "box": true, + "max": 100, + "min": 1, + "type": "integer" + }, + "ListIndexesInputNextTokenString": { + "max": 2048, + "min": 1, + "type": "string" + }, + "ListIndexesInputRegionsList": { + "max": 20, + "member": { + "shape": "String" + }, + "min": 0, + "type": "list" + }, + "ListIndexesOutput": { + "members": { + "Indexes": { + "shape": "IndexList" + }, + "NextToken": { + "shape": "String" + } + }, + "type": "structure" + }, + "ListSupportedResourceTypesInput": { + "members": { + "MaxResults": { + "shape": "ListSupportedResourceTypesInputMaxResultsInteger" + }, + "NextToken": { + "shape": "String" + } + }, + "type": "structure" + }, + "ListSupportedResourceTypesInputMaxResultsInteger": { + "box": true, + "max": 1000, + "min": 1, + "type": "integer" + }, + "ListSupportedResourceTypesOutput": { + "members": { + "NextToken": { + "shape": "String" + }, + "ResourceTypes": { + "shape": "ResourceTypeList" + } + }, + "type": "structure" + }, + "ListTagsForResourceInput": { + "members": { + "resourceArn": { + "location": "uri", + "locationName": "resourceArn", + "shape": "String" + } + }, + "required": [ + "resourceArn" + ], + "type": "structure" + }, + "ListTagsForResourceOutput": { + "members": { + "Tags": { + "shape": "TagMap" + } + }, + "type": "structure" + }, + "ListViewsInput": { + "members": { + "MaxResults": { + "shape": "ListViewsInputMaxResultsInteger" + }, + "NextToken": { + "shape": "String" + } + }, + "type": "structure" + }, + "ListViewsInputMaxResultsInteger": { + "box": true, + "max": 20, + "min": 1, + "type": "integer" + }, + "ListViewsOutput": { + "members": { + "NextToken": { + "shape": "String" + }, + "Views": { + "shape": "ViewArnList" + } + }, + "type": "structure" + }, + "Long": { + "box": true, + "type": "long" + }, + "QueryString": { + "max": 1011, + "min": 0, + "sensitive": true, + "type": "string" + }, + "RegionList": { + "member": { + "shape": "String" + }, + "type": "list" + }, + "Resource": { + "members": { + "Arn": { + "shape": "String" + }, + "LastReportedAt": { + "shape": "SyntheticTimestamp_date_time" + }, + "OwningAccountId": { + "shape": "String" + }, + "Properties": { + "shape": "ResourcePropertyList" + }, + "Region": { + "shape": "String" + }, + "ResourceType": { + "shape": "String" + }, + "Service": { + "shape": "String" + } + }, + "type": "structure" + }, + "ResourceCount": { + "members": { + "Complete": { + "shape": "Boolean" + }, + "TotalResources": { + "shape": "Long" + } + }, + "type": "structure" + }, + "ResourceList": { + "member": { + "shape": "Resource" + }, + "type": "list" + }, + "ResourceNotFoundException": { + "error": { + "httpStatusCode": 404, + "senderFault": true + }, + "exception": true, + "members": { + "Message": { + "shape": "String" + } + }, + "type": "structure" + }, + "ResourceProperty": { + "members": { + "LastReportedAt": { + "shape": "SyntheticTimestamp_date_time" + }, + "Name": { + "shape": "String" + } + }, + "type": "structure" + }, + "ResourcePropertyList": { + "member": { + "shape": "ResourceProperty" + }, + "type": "list" + }, + "ResourceTypeList": { + "member": { + "shape": "SupportedResourceType" + }, + "type": "list" + }, + "SearchFilter": { + "members": { + "FilterString": { + "shape": "SearchFilterFilterStringString" + } + }, + "required": [ + "FilterString" + ], + "sensitive": true, + "type": "structure" + }, + "SearchFilterFilterStringString": { + "max": 2048, + "min": 0, + "type": "string" + }, + "SearchInput": { + "members": { + "MaxResults": { + "shape": "SearchInputMaxResultsInteger" + }, + "NextToken": { + "shape": "SearchInputNextTokenString" + }, + "QueryString": { + "shape": "QueryString" + }, + "ViewArn": { + "shape": "SearchInputViewArnString" + } + }, + "required": [ + "QueryString" + ], + "type": "structure" + }, + "SearchInputMaxResultsInteger": { + "box": true, + "max": 1000, + "min": 1, + "type": "integer" + }, + "SearchInputNextTokenString": { + "max": 2048, + "min": 1, + "type": "string" + }, + "SearchInputViewArnString": { + "max": 1000, + "min": 0, + "type": "string" + }, + "SearchOutput": { + "members": { + "Count": { + "shape": "ResourceCount" + }, + "NextToken": { + "shape": "SearchOutputNextTokenString" + }, + "Resources": { + "shape": "ResourceList" + }, + "ViewArn": { + "shape": "SearchOutputViewArnString" + } + }, + "type": "structure" + }, + "SearchOutputNextTokenString": { + "max": 2048, + "min": 1, + "type": "string" + }, + "SearchOutputViewArnString": { + "max": 1011, + "min": 1, + "type": "string" + }, + "ServiceQuotaExceededException": { + "error": { + "httpStatusCode": 402, + "senderFault": true + }, + "exception": true, + "members": { + "Message": { + "shape": "String" + }, + "Name": { + "shape": "String" + }, + "Value": { + "shape": "String" + } + }, + "required": [ + "Message", + "Name", + "Value" + ], + "type": "structure" + }, + "String": { + "type": "string" + }, + "StringList": { + "member": { + "shape": "String" + }, + "type": "list" + }, + "SupportedResourceType": { + "members": { + "ResourceType": { + "shape": "String" + }, + "Service": { + "shape": "String" + } + }, + "type": "structure" + }, + "SyntheticTimestamp_date_time": { + "timestampFormat": "iso8601", + "type": "timestamp" + }, + "TagMap": { + "key": { + "shape": "String" + }, + "type": "map", + "value": { + "shape": "String" + } + }, + "TagResourceInput": { + "members": { + "Tags": { + "shape": "TagMap" + }, + "resourceArn": { + "location": "uri", + "locationName": "resourceArn", + "shape": "String" + } + }, + "required": [ + "resourceArn" + ], + "type": "structure" + }, + "TagResourceOutput": { + "members": {}, + "type": "structure" + }, + "ThrottlingException": { + "error": { + "httpStatusCode": 429, + "senderFault": true + }, + "exception": true, + "members": { + "Message": { + "shape": "String" + } + }, + "type": "structure" + }, + "UnauthorizedException": { + "error": { + "httpStatusCode": 401, + "senderFault": true + }, + "exception": true, + "members": { + "Message": { + "shape": "String" + } + }, + "type": "structure" + }, + "UntagResourceInput": { + "members": { + "resourceArn": { + "location": "uri", + "locationName": "resourceArn", + "shape": "String" + }, + "tagKeys": { + "location": "querystring", + "locationName": "tagKeys", + "shape": "StringList" + } + }, + "required": [ + "resourceArn", + "tagKeys" + ], + "type": "structure" + }, + "UntagResourceOutput": { + "members": {}, + "type": "structure" + }, + "UpdateIndexTypeInput": { + "members": { + "Arn": { + "shape": "String" + }, + "Type": { + "shape": "IndexType" + } + }, + "required": [ + "Arn", + "Type" + ], + "type": "structure" + }, + "UpdateIndexTypeOutput": { + "members": { + "Arn": { + "shape": "String" + }, + "LastUpdatedAt": { + "shape": "SyntheticTimestamp_date_time" + }, + "State": { + "shape": "IndexState" + }, + "Type": { + "shape": "IndexType" + } + }, + "type": "structure" + }, + "UpdateViewInput": { + "members": { + "Filters": { + "shape": "SearchFilter" + }, + "IncludedProperties": { + "shape": "IncludedPropertyList" + }, + "ViewArn": { + "shape": "UpdateViewInputViewArnString" + } + }, + "required": [ + "ViewArn" + ], + "type": "structure" + }, + "UpdateViewInputViewArnString": { + "max": 1011, + "min": 1, + "type": "string" + }, + "UpdateViewOutput": { + "members": { + "View": { + "shape": "View" + } + }, + "type": "structure" + }, + "ValidationException": { + "error": { + "httpStatusCode": 400, + "senderFault": true + }, + "exception": true, + "members": { + "FieldList": { + "shape": "ValidationExceptionFieldList" + }, + "Message": { + "shape": "String" + } + }, + "required": [ + "Message" + ], + "type": "structure" + }, + "ValidationExceptionField": { + "members": { + "Name": { + "shape": "String" + }, + "ValidationIssue": { + "shape": "String" + } + }, + "required": [ + "Name", + "ValidationIssue" + ], + "type": "structure" + }, + "ValidationExceptionFieldList": { + "member": { + "shape": "ValidationExceptionField" + }, + "type": "list" + }, + "View": { + "members": { + "Filters": { + "shape": "SearchFilter" + }, + "IncludedProperties": { + "shape": "IncludedPropertyList" + }, + "LastUpdatedAt": { + "shape": "SyntheticTimestamp_date_time" + }, + "Owner": { + "shape": "String" + }, + "Scope": { + "shape": "String" + }, + "ViewArn": { + "shape": "String" + } + }, + "type": "structure" + }, + "ViewArnList": { + "member": { + "shape": "String" + }, + "type": "list" + }, + "ViewList": { + "member": { + "shape": "View" + }, + "type": "list" + }, + "ViewName": { + "pattern": "^[a-zA-Z0-9\\-]{1,64}$", + "type": "string" + } + }, + "version": "2.0" +} \ No newline at end of file diff --git a/models/apis/resource-explorer-2/2022-07-28/docs-2.json b/models/apis/resource-explorer-2/2022-07-28/docs-2.json new file mode 100644 index 0000000000..54a956585e --- /dev/null +++ b/models/apis/resource-explorer-2/2022-07-28/docs-2.json @@ -0,0 +1,609 @@ +{ + "version": "2.0", + "service": "

Amazon Web Services Resource Explorer is a resource search and discovery service. By using Resource Explorer, you can explore your resources using an internet search engine-like experience. Examples of resources include Amazon Relational Database Service (Amazon RDS) instances, Amazon Simple Storage Service (Amazon S3) buckets, or Amazon DynamoDB tables. You can search for your resources using resource metadata like names, tags, and IDs. Resource Explorer can search across all of the Amazon Web Services Regions in your account in which you turn the service on, to simplify your cross-Region workloads.

Resource Explorer scans the resources in each of the Amazon Web Services Regions in your Amazon Web Services account in which you turn on Resource Explorer. Resource Explorer creates and maintains an index in each Region, with the details of that Region's resources.

You can search across all of the indexed Regions in your account by designating one of your Amazon Web Services Regions to contain the aggregator index for the account. When you promote a local index in a Region to become the aggregator index for the account, Resource Explorer automatically replicates the index information from all local indexes in the other Regions to the aggregator index. Therefore, the Region with the aggregator index has a copy of all resource information for all Regions in the account where you turned on Resource Explorer. As a result, views in the aggregator index Region include resources from all of the indexed Regions in your account.

 <p>For more information about Amazon Web Services Resource Explorer, including how to enable and configure the service, see the <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/">Amazon Web Services Resource Explorer User Guide</a>.</p> <note> <p>The example HTTP query requests and responses in this guide are displayed with the <a href="https://json.org">JSON</a> formatted across multiple lines for readability. The actual query responses from the Resource Explorer service do not include this extra whitespace.</p> </note> <p> <b>We want your feedback about this documentation</b> </p> <p>Our goal is to help you get everything you can from Resource Explorer. If this guide helps you to do that, then let us know. If the guide isn't helping you, then we want to hear from you so we can address the issue. Use the <b>Feedback</b> link that's in the upper-right corner of every page. That sends your comments directly to the writers of this guide. We review every submission, looking for opportunities to improve the documentation. Thank you in advance for your help!</p> 
", + "operations": { + "AssociateDefaultView": "

Sets the specified view as the default for the Amazon Web Services Region in which you call this operation. When a user performs a Search that doesn't explicitly specify which view to use, then Amazon Web Services Resource Explorer automatically chooses this default view for searches performed in this Amazon Web Services Region.

If an Amazon Web Services Region doesn't have a default view configured, then users must explicitly specify a view with every Search operation performed in that Region.

", + "BatchGetView": "

Retrieves details about a list of views.

", + "CreateIndex": "

Turns on Amazon Web Services Resource Explorer in the Amazon Web Services Region in which you called this operation by creating an index. Resource Explorer begins discovering the resources in this Region and stores the details about the resources in the index so that they can be queried by using the Search operation. You can create only one index in a Region.

This operation creates only a local index. To promote the local index in one Amazon Web Services Region into the aggregator index for the Amazon Web Services account, use the UpdateIndexType operation. For more information, see Turning on cross-Region search by creating an aggregator index in the Amazon Web Services Resource Explorer User Guide.

For more details about what happens when you turn on Resource Explorer in an Amazon Web Services Region, see Turn on Resource Explorer to index your resources in an Amazon Web Services Region in the Amazon Web Services Resource Explorer User Guide.

If this is the first Amazon Web Services Region in which you've created an index for Resource Explorer, then this operation also creates a service-linked role in your Amazon Web Services account that allows Resource Explorer to enumerate your resources to populate the index.

 <ul> <li> <p> <b>Action</b>: <code>resource-explorer-2:CreateIndex</code> </p> <p> <b>Resource</b>: The ARN of the index (as it will exist after the operation completes) in the Amazon Web Services Region and account in which you're trying to create the index. Use the wildcard character (<code>*</code>) at the end of the string to match the eventual UUID. For example, the following <code>Resource</code> element restricts the role or user to creating an index in only the <code>us-east-2</code> Region of the specified account.</p> <p> <code>"Resource": "arn:aws:resource-explorer-2:us-east-2:<i>&lt;account-id&gt;</i>:index/*"</code> </p> <p>Alternatively, you can use <code>"Resource": "*"</code> to allow the role or user to create an index in any Region.</p> </li> <li> <p> <b>Action</b>: <code>iam:CreateServiceLinkedRole</code> </p> <p> <b>Resource</b>: No specific resource (*). </p> <p>This permission is required only the first time you create an index to turn on Resource Explorer in the account. Resource Explorer uses this to create the <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/security_iam_service-linked-roles.html">service-linked role needed to index the resources in your account</a>. Resource Explorer uses the same service-linked role for all additional indexes you create afterwards.</p> </li> </ul> 
", + "CreateView": "

Creates a view that users can query by using the Search operation. Results from queries that you make using this view include only resources that match the view's Filters. For more information about Amazon Web Services Resource Explorer views, see Managing views in the Amazon Web Services Resource Explorer User Guide.

Only the principals with an IAM identity-based policy that grants Allow to the Search action on a Resource with the Amazon resource name (ARN) of this view can Search using views you create with this operation.

", + "DeleteIndex": "

Deletes the specified index and turns off Amazon Web Services Resource Explorer in the specified Amazon Web Services Region. When you delete an index, Resource Explorer stops discovering and indexing resources in that Region. Resource Explorer also deletes all views in that Region. These actions occur as asynchronous background tasks. You can check to see when the actions are complete by using the GetIndex operation and checking the Status response value.

", + "DeleteView": "

Deletes the specified view.

If the specified view is the default view for its Amazon Web Services Region, then all Search operations in that Region must explicitly specify the view to use until you configure a new default by calling the AssociateDefaultView operation.

", + "DisassociateDefaultView": "

After you call this operation, the affected Amazon Web Services Region no longer has a default view. All Search operations in that Region must explicitly specify a view or the operation fails. You can configure a new default by calling the AssociateDefaultView operation.

If an Amazon Web Services Region doesn't have a default view configured, then users must explicitly specify a view with every Search operation performed in that Region.

", + "GetDefaultView": "

Retrieves the Amazon Resource Name (ARN) of the view that is the default for the Amazon Web Services Region in which you call this operation. You can then call GetView to retrieve the details of that view.

", + "GetIndex": "

Retrieves details about the Amazon Web Services Resource Explorer index in the Amazon Web Services Region in which you invoked the operation.

", + "GetView": "

Retrieves details of the specified view.

", + "ListIndexes": "

Retrieves a list of all of the indexes in Amazon Web Services Regions that are currently collecting resource information for Amazon Web Services Resource Explorer.

", + "ListSupportedResourceTypes": "

Retrieves a list of all resource types currently supported by Amazon Web Services Resource Explorer.

", + "ListTagsForResource": "

Lists the tags that are attached to the specified resource.

", + "ListViews": "

Lists the Amazon resource names (ARNs) of the views available in the Amazon Web Services Region in which you call this operation.

Always check the NextToken response parameter for a null value when calling a paginated operation. These operations can occasionally return an empty set of results even when there are more results available. The NextToken response parameter value is null only when there are no more results to display.

", + "Search": "

Searches for resources and displays details about all resources that match the specified criteria. You must specify a query string.

All search queries must use a view. If you don't explicitly specify a view, then Amazon Web Services Resource Explorer uses the default view for the Amazon Web Services Region in which you call this operation. The results are the logical intersection of the results that match both the QueryString parameter supplied to this operation and the SearchFilter parameter attached to the view.

For the complete syntax supported by the QueryString parameter, see Search query syntax reference for Resource Explorer.

If your search results are empty, or are missing results that you think should be there, see Troubleshooting Resource Explorer search.

", + "TagResource": "

Adds one or more tag key and value pairs to an Amazon Web Services Resource Explorer view or index.

", + "UntagResource": "

Removes one or more tag key and value pairs from an Amazon Web Services Resource Explorer view or index.

", + "UpdateIndexType": "

Changes the type of the index from one of the following types to the other. For more information about indexes and the role they perform in Amazon Web Services Resource Explorer, see Turning on cross-Region search by creating an aggregator index in the Amazon Web Services Resource Explorer User Guide.

", + "UpdateView": "

Modifies some of the details of a view. You can change the filter string and the list of included properties. You can't change the name of the view.

" + }, + "shapes": { + "AccessDeniedException": { + "base": "

The credentials that you used to call this operation don't have the minimum required permissions.

", + "refs": { + } + }, + "AssociateDefaultViewInput": { + "base": null, + "refs": { + } + }, + "AssociateDefaultViewInputViewArnString": { + "base": null, + "refs": { + "AssociateDefaultViewInput$ViewArn": "

The Amazon resource name (ARN) of the view to set as the default for the Amazon Web Services Region and Amazon Web Services account in which you call this operation. The specified view must already exist in the called Region.

" + } + }, + "AssociateDefaultViewOutput": { + "base": null, + "refs": { + } + }, + "BatchGetViewError": { + "base": "

A collection of error messages for any views that Amazon Web Services Resource Explorer couldn't retrieve details.

", + "refs": { + "BatchGetViewErrors$member": null + } + }, + "BatchGetViewErrors": { + "base": null, + "refs": { + "BatchGetViewOutput$Errors": "

If any of the specified ARNs result in an error, then this structure describes the error.

" + } + }, + "BatchGetViewInput": { + "base": null, + "refs": { + } + }, + "BatchGetViewInputViewArnsList": { + "base": null, + "refs": { + "BatchGetViewInput$ViewArns": "

A list of Amazon resource names (ARNs) that identify the views you want details for.

" + } + }, + "BatchGetViewOutput": { + "base": null, + "refs": { + } + }, + "Boolean": { + "base": null, + "refs": { + "ResourceCount$Complete": "

Indicates whether the TotalResources value represents an exhaustive count of search results.

" + } + }, + "ConflictException": { + "base": "

You tried to create a new view or index when one already exists, and you either didn't specify or specified a different idempotency token as the original request.

", + "refs": { + } + }, + "CreateIndexInput": { + "base": null, + "refs": { + } + }, + "CreateIndexOutput": { + "base": null, + "refs": { + } + }, + "CreateViewInput": { + "base": null, + "refs": { + } + }, + "CreateViewInputClientTokenString": { + "base": null, + "refs": { + "CreateViewInput$ClientToken": "

This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your views.

" + } + }, + "CreateViewOutput": { + "base": null, + "refs": { + } + }, + "DeleteIndexInput": { + "base": null, + "refs": { + } + }, + "DeleteIndexOutput": { + "base": null, + "refs": { + } + }, + "DeleteViewInput": { + "base": null, + "refs": { + } + }, + "DeleteViewInputViewArnString": { + "base": null, + "refs": { + "DeleteViewInput$ViewArn": "

The Amazon resource name (ARN) of the view that you want to delete.

" + } + }, + "DeleteViewOutput": { + "base": null, + "refs": { + } + }, + "Document": { + "base": null, + "refs": { + "ResourceProperty$Data": "

Details about this property. The content of this field is a JSON object that varies based on the resource type.

" + } + }, + "GetDefaultViewOutput": { + "base": null, + "refs": { + } + }, + "GetIndexOutput": { + "base": null, + "refs": { + } + }, + "GetViewInput": { + "base": null, + "refs": { + } + }, + "GetViewInputViewArnString": { + "base": null, + "refs": { + "GetViewInput$ViewArn": "

The Amazon resource name (ARN) of the view that you want information about.

" + } + }, + "GetViewOutput": { + "base": null, + "refs": { + } + }, + "IncludedProperty": { + "base": "

Information about an additional property that describes a resource, that you can optionally include in the view. This lets you view that property in search results, and filter your search results based on the value of the property.

", + "refs": { + "IncludedPropertyList$member": null + } + }, + "IncludedPropertyList": { + "base": null, + "refs": { + "CreateViewInput$IncludedProperties": "

Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.

The default is an empty list, with no optional fields included in the results.

", + "UpdateViewInput$IncludedProperties": "

Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.

The default is an empty list, with no optional fields included in the results.

", + "View$IncludedProperties": "

A structure that contains additional information about the view.

" + } + }, + "IncludedPropertyNameString": { + "base": null, + "refs": { + "IncludedProperty$Name": "

The name of the property that is included in this view.

You can specify the following property names for this field:

" + } + }, + "Index": { + "base": "

An index is the data store used by Amazon Web Services Resource Explorer to hold information about your Amazon Web Services resources that the service discovers. Creating an index in an Amazon Web Services Region turns on Resource Explorer and lets it discover your resources.

By default, an index is local, meaning that it contains information about resources in only the same Region as the index. However, you can promote the index of one Region in the account by calling UpdateIndexType to convert it into an aggregator index. The aggregator index receives a replicated copy of the index information from all other Regions where Resource Explorer is turned on. This allows search operations in that Region to return results from all Regions in the account.

", + "refs": { + "IndexList$member": null + } + }, + "IndexList": { + "base": null, + "refs": { + "ListIndexesOutput$Indexes": "

A structure that contains the details and status of each index.

" + } + }, + "IndexState": { + "base": null, + "refs": { + "CreateIndexOutput$State": "

Indicates the current state of the index. You can check for changes to the state for asynchronous operations by calling the GetIndex operation.

The state can remain in the CREATING or UPDATING state for several hours as Resource Explorer discovers the information about your resources and populates the index.

", + "DeleteIndexOutput$State": "

Indicates the current state of the index.

", + "GetIndexOutput$State": "

Indicates the current state of the index in this Amazon Web Services Region.

", + "UpdateIndexTypeOutput$State": "

Indicates the state of the request to update the index. This operation is asynchronous. Call the GetIndex operation to check for changes.

" + } + }, + "IndexType": { + "base": null, + "refs": { + "GetIndexOutput$Type": "

Specifies the type of the index in this Region. For information about the aggregator index and how it differs from a local index, see Turning on cross-Region search by creating an aggregator index.

", + "Index$Type": "

The type of index. It can be one of the following values:

", + "ListIndexesInput$Type": "

If specified, limits the output to only indexes of the specified Type, either LOCAL or AGGREGATOR.

Use this option to discover the aggregator index for your account.

", + "UpdateIndexTypeInput$Type": "

The type of the index. To understand the difference between LOCAL and AGGREGATOR, see Turning on cross-Region search in the Amazon Web Services Resource Explorer User Guide.

", + "UpdateIndexTypeOutput$Type": "

Specifies the type of the specified index after the operation completes.

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

The request failed because of internal service error. Try your request again later.

", + "refs": { + } + }, + "ListIndexesInput": { + "base": null, + "refs": { + } + }, + "ListIndexesInputMaxResultsInteger": { + "base": null, + "refs": { + "ListIndexesInput$MaxResults": "

The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

" + } + }, + "ListIndexesInputNextTokenString": { + "base": null, + "refs": { + "ListIndexesInput$NextToken": "

The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

" + } + }, + "ListIndexesInputRegionsList": { + "base": null, + "refs": { + "ListIndexesInput$Regions": "

If specified, limits the response to only information about the index in the specified list of Amazon Web Services Regions.

" + } + }, + "ListIndexesOutput": { + "base": null, + "refs": { + } + }, + "ListSupportedResourceTypesInput": { + "base": null, + "refs": { + } + }, + "ListSupportedResourceTypesInputMaxResultsInteger": { + "base": null, + "refs": { + "ListSupportedResourceTypesInput$MaxResults": "

The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

" + } + }, + "ListSupportedResourceTypesOutput": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceInput": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceOutput": { + "base": null, + "refs": { + } + }, + "ListViewsInput": { + "base": null, + "refs": { + } + }, + "ListViewsInputMaxResultsInteger": { + "base": null, + "refs": { + "ListViewsInput$MaxResults": "

The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

" + } + }, + "ListViewsOutput": { + "base": null, + "refs": { + } + }, + "Long": { + "base": null, + "refs": { + "ResourceCount$TotalResources": "

The number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the Complete field is set to false. We recommend that you refine your query to return a smaller number of results.

" + } + }, + "QueryString": { + "base": null, + "refs": { + "SearchInput$QueryString": "

A string that includes keywords and filters that specify the resources that you want to include in the results.

For the complete syntax supported by the QueryString parameter, see Search query syntax reference for Resource Explorer.

The search is completely case insensitive. You can specify an empty string to return all results up to the limit of 1,000 total results.

The operation can return only the first 1,000 results. If the resource you want is not included, then use a different value for QueryString to refine the results.

" + } + }, + "RegionList": { + "base": null, + "refs": { + "GetIndexOutput$ReplicatingFrom": "

If this index is Type=AGGREGATOR, then this response value contains a list of the Amazon Web Services Regions that replicate their content to the index in this Region. Not present for a local index.

", + "GetIndexOutput$ReplicatingTo": "

Identifies the Amazon Web Services Region that has an index set to Type=AGGREGATOR, if one exists. If it does, then the Region you called this operation in replicates its index information to the Region specified in this response value. Not present if there isn't an aggregator index in the account.

" + } + }, + "Resource": { + "base": "

A resource in Amazon Web Services that Amazon Web Services Resource Explorer has discovered, and for which it has stored information in the index of the Amazon Web Services Region that contains the resource.

", + "refs": { + "ResourceList$member": null + } + }, + "ResourceCount": { + "base": "

Information about the number of results that match the query. At this time, Amazon Web Services Resource Explorer doesn't count more than 1,000 matches for any query. This structure provides information about whether the query exceeded this limit.

This field is included in every page when you paginate the results.

", + "refs": { + "SearchOutput$Count": "

The number of resources that match the query.

" + } + }, + "ResourceList": { + "base": null, + "refs": { + "SearchOutput$Resources": "

The list of structures that describe the resources that match the query.

" + } + }, + "ResourceNotFoundException": { + "base": "

You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.

", + "refs": { + } + }, + "ResourceProperty": { + "base": "

A structure that describes a property of a resource.

", + "refs": { + "ResourcePropertyList$member": null + } + }, + "ResourcePropertyList": { + "base": null, + "refs": { + "Resource$Properties": "

A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.

" + } + }, + "ResourceTypeList": { + "base": null, + "refs": { + "ListSupportedResourceTypesOutput$ResourceTypes": "

The list of resource types supported by Resource Explorer.

" + } + }, + "SearchFilter": { + "base": "

A search filter defines which resources can be part of a search query result set.

", + "refs": { + "CreateViewInput$Filters": "

An array of strings that specify which resources are included in the results of queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's QueryString parameter using a logical AND operator.

For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.

This query string in the context of this operation supports only filter prefixes with optional operators. It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any Amazon Web Services Region that begins with the letters us and is not tagged with a key Stage that has the value prod.

", + "UpdateViewInput$Filters": "

An array of strings that specify which resources are included in the results of queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's QueryString parameter using a logical AND operator.

For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.

This query string in the context of this operation supports only filter prefixes with optional operators. It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any Amazon Web Services Region that begins with the letters us and is not tagged with a key Stage that has the value prod.

", + "View$Filters": "

An array of SearchFilter objects that specify which resources can be included in the results of queries made using this view.

" + } + }, + "SearchFilterFilterStringString": { + "base": null, + "refs": { + "SearchFilter$FilterString": "

The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation. For more details, see Search query syntax.

" + } + }, + "SearchInput": { + "base": null, + "refs": { + } + }, + "SearchInputMaxResultsInteger": { + "base": null, + "refs": { + "SearchInput$MaxResults": "

The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

" + } + }, + "SearchInputNextTokenString": { + "base": null, + "refs": { + "SearchInput$NextToken": "

The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

" + } + }, + "SearchInputViewArnString": { + "base": null, + "refs": { + "SearchInput$ViewArn": "

Specifies the Amazon resource name (ARN) of the view to use for the query. If you don't specify a value for this parameter, then the operation automatically uses the default view for the Amazon Web Services Region in which you called this operation. If the Region either doesn't have a default view or if you don't have permission to use the default view, then the operation fails with a 401 Unauthorized exception.

" + } + }, + "SearchOutput": { + "base": null, + "refs": { + } + }, + "SearchOutputNextTokenString": { + "base": null, + "refs": { + "SearchOutput$NextToken": "

If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

" + } + }, + "SearchOutputViewArnString": { + "base": null, + "refs": { + "SearchOutput$ViewArn": "

The Amazon resource name (ARN) of the view that this operation used to perform the search.

" + } + }, + "ServiceQuotaExceededException": { + "base": "

The request failed because it exceeds a service quota.

", + "refs": { + } + }, + "String": { + "base": null, + "refs": { + "AccessDeniedException$Message": null, + "AssociateDefaultViewOutput$ViewArn": "

The Amazon resource name (ARN) of the view that the operation set as the default for queries made in the Amazon Web Services Region and Amazon Web Services account in which you called this operation.

", + "BatchGetViewError$ErrorMessage": "

The description of the error for the specified view.

", + "BatchGetViewError$ViewArn": "

The Amazon resource name (ARN) of the view for which Resource Explorer failed to retrieve details.

", + "BatchGetViewInputViewArnsList$member": null, + "ConflictException$Message": null, + "CreateIndexInput$ClientToken": "

This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your views.

", + "CreateIndexOutput$Arn": "

The ARN of the new local index for the Region. You can reference this ARN in IAM permission policies to authorize the following operations: DeleteIndex | GetIndex | UpdateIndexType | CreateView

", + "DeleteIndexInput$Arn": "

The Amazon resource name (ARN) of the index that you want to delete.

", + "DeleteIndexOutput$Arn": "

The Amazon resource name (ARN) of the index that you successfully started the deletion process.

This operation is asynchronous. To check its status, call the GetIndex operation.

", + "DeleteViewOutput$ViewArn": "

The Amazon resource name (ARN) of the view that you successfully deleted.

", + "GetDefaultViewOutput$ViewArn": "

The Amazon resource name (ARN) of the view that is the current default for the Amazon Web Services Region in which you called this operation.

", + "GetIndexOutput$Arn": "

The Amazon resource name (ARN) of the index.

", + "Index$Arn": "

The Amazon resource name (ARN) of the index.

", + "Index$Region": "

The Amazon Web Services Region in which the index exists.

", + "InternalServerException$Message": null, + "ListIndexesInputRegionsList$member": null, + "ListIndexesOutput$NextToken": "

If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

", + "ListSupportedResourceTypesInput$NextToken": "

The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

", + "ListSupportedResourceTypesOutput$NextToken": "

If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

", + "ListTagsForResourceInput$resourceArn": "

The Amazon resource name (ARN) of the view or index that you want to attach tags to.

", + "ListViewsInput$NextToken": "

The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

", + "ListViewsOutput$NextToken": "

If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

", + "RegionList$member": null, + "Resource$Arn": "

The Amazon resource name (ARN) of the resource.

", + "Resource$OwningAccountId": "

The Amazon Web Services account that owns the resource.

", + "Resource$Region": "

The Amazon Web Services Region in which the resource was created and exists.

", + "Resource$ResourceType": "

The type of the resource.

", + "Resource$Service": "

The Amazon Web Service that owns the resource and is responsible for creating and updating it.

", + "ResourceNotFoundException$Message": null, + "ResourceProperty$Name": "

The name of this property of the resource.

", + "ServiceQuotaExceededException$Message": null, + "ServiceQuotaExceededException$Name": "

The name of the service quota that was exceeded by the request.

", + "ServiceQuotaExceededException$Value": "

The current value for the quota that the request tried to exceed.

", + "StringList$member": null, + "SupportedResourceType$ResourceType": "

The unique identifier of the resource type.

", + "SupportedResourceType$Service": "

The Amazon Web Service that is associated with the resource type. This is the primary service that lets you create and interact with resources of this type.

", + "TagMap$key": null, + "TagMap$value": null, + "TagResourceInput$resourceArn": "

The Amazon Resource Name (ARN) of the view or index that you want to attach tags to.

", + "ThrottlingException$Message": null, + "UnauthorizedException$Message": null, + "UntagResourceInput$resourceArn": "

The Amazon Resource Name (ARN) of the view or index that you want to remove tags from.

", + "UpdateIndexTypeInput$Arn": "

The Amazon resource name (ARN) of the index that you want to update.

", + "UpdateIndexTypeOutput$Arn": "

The Amazon resource name (ARN) of the index that you updated.

", + "ValidationException$Message": null, + "ValidationExceptionField$Name": "

The name of the request field that had a validation error.

", + "ValidationExceptionField$ValidationIssue": "

The validation error caused by the request field.

", + "View$Owner": "

The Amazon Web Services account that owns this view.

", + "View$Scope": "

An Amazon resource name (ARN) of an Amazon Web Services account, an organization, or an organizational unit (OU) that specifies whether this view includes resources from only the specified Amazon Web Services account, all accounts in the specified organization, or all accounts in the specified OU.

If not specified, the value defaults to the Amazon Web Services account used to call this operation.

", + "View$ViewArn": "

The Amazon resource name (ARN) of the view.

", + "ViewArnList$member": null + } + }, + "StringList": { + "base": null, + "refs": { + "UntagResourceInput$tagKeys": "

A list of the keys for the tags that you want to remove from the specified view or index.

" + } + }, + "SupportedResourceType": { + "base": "

A structure that describes a resource type supported by Amazon Web Services Resource Explorer.

", + "refs": { + "ResourceTypeList$member": null + } + }, + "SyntheticTimestamp_date_time": { + "base": null, + "refs": { + "CreateIndexOutput$CreatedAt": "

The date and timestamp when the index was created.

", + "DeleteIndexOutput$LastUpdatedAt": "

The date and time when you last updated this index.

", + "GetIndexOutput$CreatedAt": "

The date and time when the index was originally created.

", + "GetIndexOutput$LastUpdatedAt": "

The date and time when the index was last updated.

", + "Resource$LastReportedAt": "

The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.

", + "ResourceProperty$LastReportedAt": "

The date and time that the information about this resource property was last updated.

", + "UpdateIndexTypeOutput$LastUpdatedAt": "

The date and timestamp when the index was last updated.

", + "View$LastUpdatedAt": "

The date and time when this view was last modified.

" + } + }, + "TagMap": { + "base": null, + "refs": { + "CreateIndexInput$Tags": "

The specified tags are attached only to the index created in this Amazon Web Services Region. The tags aren't attached to any of the resources listed in the index.

", + "CreateViewInput$Tags": "

Tag key and value pairs that are attached to the view.

", + "GetIndexOutput$Tags": "

Tag key and value pairs that are attached to the index.

", + "GetViewOutput$Tags": "

Tag key and value pairs that are attached to the view.

", + "ListTagsForResourceOutput$Tags": "

The tag key and value pairs that you want to attach to the specified view or index.

", + "TagResourceInput$Tags": "

A list of tag key and value pairs that you want to attach to the specified view or index.

" + } + }, + "TagResourceInput": { + "base": null, + "refs": { + } + }, + "TagResourceOutput": { + "base": null, + "refs": { + } + }, + "ThrottlingException": { + "base": "

The request failed because you exceeded a rate limit for this operation. For more information, see Quotas for Resource Explorer.

", + "refs": { + } + }, + "UnauthorizedException": { + "base": "

The principal making the request isn't permitted to perform the operation.

", + "refs": { + } + }, + "UntagResourceInput": { + "base": null, + "refs": { + } + }, + "UntagResourceOutput": { + "base": null, + "refs": { + } + }, + "UpdateIndexTypeInput": { + "base": null, + "refs": { + } + }, + "UpdateIndexTypeOutput": { + "base": null, + "refs": { + } + }, + "UpdateViewInput": { + "base": null, + "refs": { + } + }, + "UpdateViewInputViewArnString": { + "base": null, + "refs": { + "UpdateViewInput$ViewArn": "

The Amazon resource name (ARN) of the view that you want to modify.

" + } + }, + "UpdateViewOutput": { + "base": null, + "refs": { + } + }, + "ValidationException": { + "base": "

You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.

", + "refs": { + } + }, + "ValidationExceptionField": { + "base": "

A structure that describes a request field with a validation error.

", + "refs": { + "ValidationExceptionFieldList$member": null + } + }, + "ValidationExceptionFieldList": { + "base": null, + "refs": { + "ValidationException$FieldList": "

An array of the request fields that had validation errors.

" + } + }, + "View": { + "base": "

A view is a structure that defines a set of filters that provide a view into the information in the Amazon Web Services Resource Explorer index. The filters specify which information from the index is visible to the users of the view. For example, you can specify filters that include only resources that are tagged with the key \"ENV\" and the value \"DEVELOPMENT\" in the results returned by this view. You could also create a second view that includes only resources that are tagged with \"ENV\" and \"PRODUCTION\".

", + "refs": { + "CreateViewOutput$View": "

A structure that contains the details about the new view.

", + "GetViewOutput$View": "

A structure that contains the details for the requested view.

", + "UpdateViewOutput$View": "

Details about the view that you changed with this operation.

", + "ViewList$member": null + } + }, + "ViewArnList": { + "base": null, + "refs": { + "ListViewsOutput$Views": "

The list of views available in the Amazon Web Services Region in which you called this operation.

" + } + }, + "ViewList": { + "base": null, + "refs": { + "BatchGetViewOutput$Views": "

A structure with a list of objects with details for each of the specified views.

" + } + }, + "ViewName": { + "base": null, + "refs": { + "CreateViewInput$ViewName": "

The name of the new view. This name appears in the list of views in Resource Explorer.

The name must be no more than 64 characters long, and can include letters, digits, and the dash (-) character. The name must be unique within its Amazon Web Services Region.

" + } + } + } +} diff --git a/models/apis/resource-explorer-2/2022-07-28/endpoint-rule-set-1.json b/models/apis/resource-explorer-2/2022-07-28/endpoint-rule-set-1.json new file mode 100644 index 0000000000..6b5f902de7 --- /dev/null +++ b/models/apis/resource-explorer-2/2022-07-28/endpoint-rule-set-1.json @@ -0,0 +1,248 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/resource-explorer-2/2022-07-28/endpoint-tests-1.json b/models/apis/resource-explorer-2/2022-07-28/endpoint-tests-1.json new file mode 100644 index 0000000000..c2a5887ffc --- /dev/null +++ b/models/apis/resource-explorer-2/2022-07-28/endpoint-tests-1.json @@ -0,0 +1,1175 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-south-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-south-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-south-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-south-2" + } + }, + { + "documentation": "For region eu-south-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-south-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-south-2" + } + }, + { + "documentation": "For region eu-south-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-south-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-south-2" + } + }, + { + "documentation": "For region eu-south-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-south-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-south-2" + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.me-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.me-central-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.me-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.me-central-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "me-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ca-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ca-central-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-west-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-west-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-3" + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-3" + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-northeast-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-3" + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-northeast-3.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-3" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-northeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-northeast-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.me-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "me-south-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.me-south-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "me-south-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.me-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "me-south-1" + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.me-south-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "me-south-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.sa-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.sa-east-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-southeast-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.ap-southeast-3.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/resource-explorer-2/2022-07-28/examples-1.json b/models/apis/resource-explorer-2/2022-07-28/examples-1.json new file mode 100644 index 0000000000..0ea7e3b0bb --- /dev/null +++ b/models/apis/resource-explorer-2/2022-07-28/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/models/apis/resource-explorer-2/2022-07-28/paginators-1.json b/models/apis/resource-explorer-2/2022-07-28/paginators-1.json new file mode 100644 index 0000000000..8cb90d3688 --- /dev/null +++ b/models/apis/resource-explorer-2/2022-07-28/paginators-1.json @@ -0,0 +1,28 @@ +{ + "pagination": { + "ListIndexes": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Indexes" + }, + "ListSupportedResourceTypes": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "ResourceTypes" + }, + "ListViews": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Views" + }, + "Search": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Resources" + } + } +} diff --git a/models/apis/route53/2013-04-01/api-2.json b/models/apis/route53/2013-04-01/api-2.json index 25cfb1a1dc..e9cdf5010a 100644 --- a/models/apis/route53/2013-04-01/api-2.json +++ b/models/apis/route53/2013-04-01/api-2.json @@ -1524,6 +1524,7 @@ "us-west-2", "ca-central-1", "eu-central-1", + "eu-central-2", "eu-west-1", "eu-west-2", "eu-west-3", @@ -4126,6 +4127,7 @@ "eu-west-2", "eu-west-3", "eu-central-1", + "eu-central-2", "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", @@ -4138,6 +4140,7 @@ "cn-northwest-1", "ap-east-1", "me-south-1", + "me-central-1", "ap-south-1", "af-south-1", "eu-south-1" @@ -4735,6 +4738,7 @@ "eu-west-2", "eu-west-3", "eu-central-1", + "eu-central-2", "ap-east-1", "me-south-1", "us-gov-west-1", diff --git a/models/apis/route53/2013-04-01/docs-2.json b/models/apis/route53/2013-04-01/docs-2.json index b89dff27ef..fd3bc9480f 100644 --- a/models/apis/route53/2013-04-01/docs-2.json +++ b/models/apis/route53/2013-04-01/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service.

", + "service": "

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service.

You can use Route 53 to:

", "operations": { "ActivateKeySigningKey": "

Activates a key-signing key (KSK) so that it can be used for signing by DNSSEC. This operation changes the KSK status to ACTIVE.

", "AssociateVPCWithHostedZone": "

Associates an Amazon VPC with a private hosted zone.

To perform the association, the VPC and the private hosted zone must already exist. You can't convert a public hosted zone into a private hosted zone.

If you want to associate a VPC that was created by using one Amazon Web Services account with a private hosted zone that was created by using a different account, the Amazon Web Services account that created the private hosted zone must first submit a CreateVPCAssociationAuthorization request. Then the account that created the VPC must submit an AssociateVPCWithHostedZone request.

When granting access, the hosted zone and the Amazon VPC must belong to the same partition. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one partition.

The following are the supported partitions:

For more information, see Access Management in the Amazon Web Services General Reference.

", @@ -1348,7 +1348,7 @@ } }, "InsufficientCloudWatchLogsResourcePolicy": { - "base": "

Amazon Route 53 doesn't have the permissions required to create log streams and send query logs to log streams. Possible causes include the following:

", + "base": "

Amazon Route 53 doesn't have the permissions required to create log streams and send query logs to log streams. Possible causes include the following:

", "refs": { } }, @@ -2086,7 +2086,7 @@ "ResourceRecordSetRegion": { "base": null, "refs": { - "ResourceRecordSet$Region": "

Latency-based resource record sets only: The Amazon EC2 Region where you created the resource that this resource record set refers to. The resource typically is an Amazon Web Services resource, such as an EC2 instance or an ELB load balancer, and is referred to by an IP address or a DNS domain name, depending on the record type.

Although creating latency and latency alias resource record sets in a private hosted zone is allowed, it's not supported.

When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. Route 53 then returns the value that is associated with the selected resource record set.

Note the following:

" + "ResourceRecordSet$Region": "

Latency-based resource record sets only: The Amazon EC2 Region where you created the resource that this resource record set refers to. The resource typically is an Amazon Web Services resource, such as an EC2 instance or an ELB load balancer, and is referred to by an IP address or a DNS domain name, depending on the record type.

When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. Route 53 then returns the value that is associated with the selected resource record set.

Note the following:

" } }, "ResourceRecordSetWeight": { diff --git a/models/apis/route53/2013-04-01/endpoint-rule-set-1.json b/models/apis/route53/2013-04-01/endpoint-rule-set-1.json new file mode 100644 index 0000000000..507385e972 --- /dev/null +++ b/models/apis/route53/2013-04-01/endpoint-rule-set-1.json @@ -0,0 +1,1437 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws" + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route-53-fips.{Region}.api.aws", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route53-fips.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route-53.{Region}.api.aws", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://route53.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws-cn" + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route-53-fips.{Region}.api.amazonwebservices.com.cn", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "cn-northwest-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route-53-fips.{Region}.amazonaws.com.cn", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "cn-northwest-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route-53.{Region}.api.amazonwebservices.com.cn", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "cn-northwest-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://route53.amazonaws.com.cn", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "cn-northwest-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws-us-gov" + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route-53-fips.{Region}.api.aws", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-gov-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route53.us-gov.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-gov-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route-53.{Region}.api.aws", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-gov-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://route53.us-gov.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-gov-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws-iso" + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route-53-fips.{Region}.c2s.ic.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-iso-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://route53.c2s.ic.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-iso-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws-iso-b" + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route-53-fips.{Region}.sc2s.sgov.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-isob-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://route53.sc2s.sgov.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-isob-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route53-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-global" + ] + } + ], + "endpoint": { + "url": "https://route53-fips.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-us-gov-global" + ] + } + ], + "endpoint": { + "url": "https://route53.us-gov.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-gov-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://route53-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://route53.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-global" + ] + } + ], + "endpoint": { + "url": "https://route53.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-cn-global" + ] + } + ], + "endpoint": { + "url": "https://route53.amazonaws.com.cn", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "cn-northwest-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-us-gov-global" + ] + } + ], + "endpoint": { + "url": "https://route53.us-gov.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-gov-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-iso-global" + ] + } + ], + "endpoint": { + "url": "https://route53.c2s.ic.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-iso-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-iso-b-global" + ] + } + ], + "endpoint": { + "url": "https://route53.sc2s.sgov.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-isob-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://route53.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/route53/2013-04-01/endpoint-tests-1.json b/models/apis/route53/2013-04-01/endpoint-tests-1.json new file mode 100644 index 0000000000..80d84f0529 --- /dev/null +++ b/models/apis/route53/2013-04-01/endpoint-tests-1.json @@ -0,0 +1,153 @@ +{ + "testCases": [ + { + "documentation": "For region aws-cn-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://route53.amazonaws.com.cn" + } + }, + "params": { + "Region": "aws-cn-global", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region aws-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://route53.amazonaws.com" + } + }, + "params": { + "Region": "aws-global", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region aws-iso-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-iso-east-1" + } + ] + }, + "url": "https://route53.c2s.ic.gov" + } + }, + "params": { + "Region": "aws-iso-global", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region aws-iso-b-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-isob-east-1" + } + ] + }, + "url": "https://route53.sc2s.sgov.gov" + } + }, + "params": { + "Region": "aws-iso-b-global", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region aws-us-gov-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://route53.us-gov.amazonaws.com" + } + }, + "params": { + "Region": "aws-us-gov-global", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index c0262dc035..bee25d8da0 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -1716,22 +1716,102 @@ }, "athena" : { "endpoints" : { - "af-south-1" : { }, - "ap-east-1" : { }, - "ap-northeast-1" : { }, - "ap-northeast-2" : { }, - "ap-northeast-3" : { }, - "ap-south-1" : { }, - "ap-southeast-1" : { }, - "ap-southeast-2" : { }, - "ap-southeast-3" : { }, - "ca-central-1" : { }, - "eu-central-1" : { }, - "eu-north-1" : { }, - "eu-south-1" : { }, - "eu-west-1" : { }, - "eu-west-2" : { }, - "eu-west-3" : { }, + "af-south-1" : { + "variants" : [ { + "hostname" : "athena.af-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-east-1" : { + "variants" : [ { + "hostname" : "athena.ap-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-1" : { + "variants" : [ { + "hostname" : "athena.ap-northeast-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-2" : { + "variants" : [ { + "hostname" : "athena.ap-northeast-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-3" : { + "variants" : [ { + "hostname" : "athena.ap-northeast-3.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-south-1" : { + "variants" : [ { + "hostname" : "athena.ap-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-1" : { + "variants" : [ { + "hostname" : "athena.ap-southeast-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-2" : { + "variants" : [ { + "hostname" : "athena.ap-southeast-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-3" : { + "variants" : [ { + "hostname" : "athena.ap-southeast-3.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ca-central-1" : { + "variants" : [ { + "hostname" : "athena.ca-central-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-central-1" : { + "variants" : [ { + "hostname" : "athena.eu-central-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-north-1" : { + "variants" : [ { + "hostname" : "athena.eu-north-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-south-1" : { + "variants" : [ { + "hostname" : "athena.eu-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-1" : { + "variants" : [ { + "hostname" : "athena.eu-west-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-2" : { + "variants" : [ { + "hostname" : "athena.eu-west-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-3" : { + "variants" : [ { + "hostname" : "athena.eu-west-3.api.aws", + "tags" : [ "dualstack" ] + } ] + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -1760,30 +1840,52 @@ "deprecated" : true, "hostname" : "athena-fips.us-west-2.amazonaws.com" }, - "me-south-1" : { }, - "sa-east-1" : { }, + "me-south-1" : { + "variants" : [ { + "hostname" : "athena.me-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "sa-east-1" : { + "variants" : [ { + "hostname" : "athena.sa-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, "us-east-1" : { "variants" : [ { "hostname" : "athena-fips.us-east-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "athena.us-east-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "us-east-2" : { "variants" : [ { "hostname" : "athena-fips.us-east-2.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "athena.us-east-2.api.aws", + "tags" : [ "dualstack" ] } ] }, "us-west-1" : { "variants" : [ { "hostname" : "athena-fips.us-west-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "athena.us-west-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "us-west-2" : { "variants" : [ { "hostname" : "athena-fips.us-west-2.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "athena.us-west-2.api.aws", + "tags" : [ "dualstack" ] } ] } } @@ -11244,6 +11346,74 @@ "us-west-2" : { } } }, + "resource-explorer-2" : { + "defaults" : { + "variants" : [ { + "dnsSuffix" : "api.aws", + "hostname" : "{service}-fips.{region}.{dnsSuffix}", + "tags" : [ "fips" ] + } ] + }, + "endpoints" : { + "af-south-1" : { + "hostname" : "resource-explorer-2.af-south-1.api.aws" + }, + "ap-east-1" : { + "hostname" : "resource-explorer-2.ap-east-1.api.aws" + }, + "ap-northeast-1" : { + "hostname" : "resource-explorer-2.ap-northeast-1.api.aws" + }, + "ap-northeast-2" : { + "hostname" : "resource-explorer-2.ap-northeast-2.api.aws" + }, + "ap-northeast-3" : { + "hostname" : "resource-explorer-2.ap-northeast-3.api.aws" + }, + "ap-south-1" : { + "hostname" : "resource-explorer-2.ap-south-1.api.aws" + }, + "ap-southeast-1" : { + "hostname" : "resource-explorer-2.ap-southeast-1.api.aws" + }, + "ap-southeast-2" : { + "hostname" : "resource-explorer-2.ap-southeast-2.api.aws" + }, + "ca-central-1" : { + "hostname" : "resource-explorer-2.ca-central-1.api.aws" + }, + "eu-central-1" : { + "hostname" : "resource-explorer-2.eu-central-1.api.aws" + }, + "eu-north-1" : { + "hostname" : "resource-explorer-2.eu-north-1.api.aws" + }, + "eu-west-1" : { + "hostname" : "resource-explorer-2.eu-west-1.api.aws" + }, + "eu-west-2" : { + "hostname" : "resource-explorer-2.eu-west-2.api.aws" + }, + "eu-west-3" : { + "hostname" : "resource-explorer-2.eu-west-3.api.aws" + }, + "sa-east-1" : { + "hostname" : "resource-explorer-2.sa-east-1.api.aws" + }, + "us-east-1" : { + "hostname" : "resource-explorer-2.us-east-1.api.aws" + }, + "us-east-2" : { + "hostname" : "resource-explorer-2.us-east-2.api.aws" + }, + "us-west-1" : { + "hostname" : "resource-explorer-2.us-west-1.api.aws" + }, + "us-west-2" : { + "hostname" : "resource-explorer-2.us-west-2.api.aws" + } + } + }, "resource-groups" : { "endpoints" : { "af-south-1" : { }, @@ -14143,6 +14313,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "transfer-fips.ca-central-1.amazonaws.com", @@ -16108,6 +16279,23 @@ "cn-northwest-1" : { } } }, + "resource-explorer-2" : { + "defaults" : { + "variants" : [ { + "dnsSuffix" : "api.amazonwebservices.com.cn", + "hostname" : "{service}-fips.{region}.{dnsSuffix}", + "tags" : [ "fips" ] + } ] + }, + "endpoints" : { + "cn-north-1" : { + "hostname" : "resource-explorer-2.cn-north-1.api.amazonwebservices.com.cn" + }, + "cn-northwest-1" : { + "hostname" : "resource-explorer-2.cn-northwest-1.api.amazonwebservices.com.cn" + } + } + }, "resource-groups" : { "endpoints" : { "cn-north-1" : { }, @@ -19154,6 +19342,23 @@ } } }, + "resource-explorer-2" : { + "defaults" : { + "variants" : [ { + "dnsSuffix" : "api.aws", + "hostname" : "{service}-fips.{region}.{dnsSuffix}", + "tags" : [ "fips" ] + } ] + }, + "endpoints" : { + "us-gov-east-1" : { + "hostname" : "resource-explorer-2.us-gov-east-1.api.aws" + }, + "us-gov-west-1" : { + "hostname" : "resource-explorer-2.us-gov-west-1.api.aws" + } + } + }, "resource-groups" : { "defaults" : { "variants" : [ { diff --git a/service/acm/api.go b/service/acm/api.go index 170793b275..ecc60288c4 100644 --- a/service/acm/api.go +++ b/service/acm/api.go @@ -201,6 +201,16 @@ func (c *ACM) DeleteCertificateRequest(input *DeleteCertificateInput) (req *requ // The certificate is in use by another Amazon Web Services service in the caller's // account. Remove the association and try again. // +// - AccessDeniedException +// You do not have access required to perform this action. +// +// - ThrottlingException +// The request was denied because it exceeded a quota. +// +// - ConflictException +// You are trying to update a resource or configuration that is already being +// created or updated. Wait for the previous operation to finish and try again. +// // - InvalidArnException // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // @@ -798,9 +808,14 @@ func (c *ACM) ListCertificatesRequest(input *ListCertificatesInput) (req *reques // API operation ListCertificates for usage and error information. // // Returned Error Types: +// // - InvalidArgsException // One or more of of request parameters specified is not valid. // +// - ValidationException +// The supplied input failed to satisfy constraints of an Amazon Web Services +// service. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates func (c *ACM) ListCertificates(input *ListCertificatesInput) (*ListCertificatesOutput, error) { req, out := c.ListCertificatesRequest(input) @@ -1206,9 +1221,9 @@ func (c *ACM) RenewCertificateRequest(input *RenewCertificateInput) (req *reques // RenewCertificate API operation for AWS Certificate Manager. // // Renews an eligible ACM certificate. At this time, only exported private certificates -// can be renewed with this operation. In order to renew your ACM Private CA -// certificates with ACM, you must first grant the ACM service principal permission -// to do so (https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaPermissions.html). +// can be renewed with this operation. In order to renew your Amazon Web Services +// Private CA certificates with ACM, you must first grant the ACM service principal +// permission to do so (https://docs.aws.amazon.com/privateca/latest/userguide/PcaPermissions.html). // For more information, see Testing Managed Renewal (https://docs.aws.amazon.com/acm/latest/userguide/manual-renewal.html) // in the ACM User Guide. // @@ -4373,7 +4388,7 @@ type RequestCertificateInput struct { // that will be used to issue the certificate. If you do not provide an ARN // and you are trying to request a private certificate, ACM will attempt to // issue a public certificate. For more information about private CAs, see the - // Certificate Manager Private Certificate Authority (https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaWelcome.html) + // Amazon Web Services Private Certificate Authority (https://docs.aws.amazon.com/privateca/latest/userguide/PcaWelcome.html) // user guide. The ARN must have the following form: // // arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 @@ -4405,6 +4420,19 @@ type RequestCertificateInput struct { // requesting multiple certificates. IdempotencyToken *string `min:"1" type:"string"` + // Specifies the algorithm of the public and private key pair that your certificate + // uses to encrypt data. RSA is the default key algorithm for ACM certificates. + // Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering + // security comparable to RSA keys but with greater computing efficiency. However, + // ECDSA is not supported by all network clients. Some AWS services may require + // RSA keys, or only support ECDSA keys of a particular size, while others allow + // the use of either RSA and ECDSA keys to ensure that compatibility is not + // broken. Check the requirements for the AWS service where you plan to deploy + // your certificate. + // + // Default: RSA_2048 + KeyAlgorithm *string `type:"string" enum:"KeyAlgorithm"` + // Currently, you can use this parameter to specify whether to add the certificate // to a certificate transparency log. Certificate transparency makes it possible // to detect SSL/TLS certificates that have been mistakenly or maliciously issued. @@ -4540,6 +4568,12 @@ func (s *RequestCertificateInput) SetIdempotencyToken(v string) *RequestCertific return s } +// SetKeyAlgorithm sets the KeyAlgorithm field's value. +func (s *RequestCertificateInput) SetKeyAlgorithm(v string) *RequestCertificateInput { + s.KeyAlgorithm = &v + return s +} + // SetOptions sets the Options field's value. func (s *RequestCertificateInput) SetOptions(v *CertificateOptions) *RequestCertificateInput { s.Options = v diff --git a/service/billingconductor/api.go b/service/billingconductor/api.go index 784faeebd6..0e60184fed 100644 --- a/service/billingconductor/api.go +++ b/service/billingconductor/api.go @@ -1112,7 +1112,8 @@ func (c *BillingConductor) DeletePricingRuleRequest(input *DeletePricingRuleInpu // DeletePricingRule API operation for AWSBillingConductor. // -// Deletes the pricing rule identified by the input Amazon Resource Name (ARN). +// Deletes the pricing rule that's identified by the input Amazon Resource Name +// (ARN). // // 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 @@ -1400,15 +1401,10 @@ func (c *BillingConductor) ListAccountAssociationsRequest(input *ListAccountAsso // ListAccountAssociations API operation for AWSBillingConductor. // -// Amazon Web Services Billing Conductor is in beta release and is subject -// to change. Your use of Amazon Web Services Billing Conductor is subject -// to the Beta Service Participation terms of the Amazon Web Services Service -// Terms (https://aws.amazon.com/service-terms/) (Section 1.10). -// // This is a paginated call to list linked accounts that are linked to the payer // account for the specified time period. If no information is provided, the // current billing period is used. The response will optionally include the -// billing group associated with the linked account. +// billing group that's associated with the linked account. // // 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 @@ -1810,6 +1806,152 @@ func (c *BillingConductor) ListBillingGroupsPagesWithContext(ctx aws.Context, in return p.Err() } +const opListCustomLineItemVersions = "ListCustomLineItemVersions" + +// ListCustomLineItemVersionsRequest generates a "aws/request.Request" representing the +// client's request for the ListCustomLineItemVersions 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 ListCustomLineItemVersions for more information on using the ListCustomLineItemVersions +// 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 ListCustomLineItemVersionsRequest method. +// req, resp := client.ListCustomLineItemVersionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItemVersions +func (c *BillingConductor) ListCustomLineItemVersionsRequest(input *ListCustomLineItemVersionsInput) (req *request.Request, output *ListCustomLineItemVersionsOutput) { + op := &request.Operation{ + Name: opListCustomLineItemVersions, + HTTPMethod: "POST", + HTTPPath: "/list-custom-line-item-versions", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListCustomLineItemVersionsInput{} + } + + output = &ListCustomLineItemVersionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListCustomLineItemVersions API operation for AWSBillingConductor. +// +// A paginated call to get a list of all custom line item versions. +// +// 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 AWSBillingConductor's +// API operation ListCustomLineItemVersions for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. +// +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItemVersions +func (c *BillingConductor) ListCustomLineItemVersions(input *ListCustomLineItemVersionsInput) (*ListCustomLineItemVersionsOutput, error) { + req, out := c.ListCustomLineItemVersionsRequest(input) + return out, req.Send() +} + +// ListCustomLineItemVersionsWithContext is the same as ListCustomLineItemVersions with the addition of +// the ability to pass a context and additional request options. +// +// See ListCustomLineItemVersions 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 *BillingConductor) ListCustomLineItemVersionsWithContext(ctx aws.Context, input *ListCustomLineItemVersionsInput, opts ...request.Option) (*ListCustomLineItemVersionsOutput, error) { + req, out := c.ListCustomLineItemVersionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListCustomLineItemVersionsPages iterates over the pages of a ListCustomLineItemVersions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListCustomLineItemVersions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListCustomLineItemVersions operation. +// pageNum := 0 +// err := client.ListCustomLineItemVersionsPages(params, +// func(page *billingconductor.ListCustomLineItemVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *BillingConductor) ListCustomLineItemVersionsPages(input *ListCustomLineItemVersionsInput, fn func(*ListCustomLineItemVersionsOutput, bool) bool) error { + return c.ListCustomLineItemVersionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListCustomLineItemVersionsPagesWithContext same as ListCustomLineItemVersionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *BillingConductor) ListCustomLineItemVersionsPagesWithContext(ctx aws.Context, input *ListCustomLineItemVersionsInput, fn func(*ListCustomLineItemVersionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListCustomLineItemVersionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListCustomLineItemVersionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListCustomLineItemVersionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListCustomLineItems = "ListCustomLineItems" // ListCustomLineItemsRequest generates a "aws/request.Request" representing the @@ -2157,7 +2299,7 @@ func (c *BillingConductor) ListPricingPlansAssociatedWithPricingRuleRequest(inpu // ListPricingPlansAssociatedWithPricingRule API operation for AWSBillingConductor. // -// A list of the pricing plans associated with a pricing rule. +// A list of the pricing plans that are associated with a pricing rule. // // 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 @@ -2453,7 +2595,7 @@ func (c *BillingConductor) ListPricingRulesAssociatedToPricingPlanRequest(input // ListPricingRulesAssociatedToPricingPlan API operation for AWSBillingConductor. // -// Lists the pricing rules associated with a pricing plan. +// Lists the pricing rules that are associated with a pricing plan. // // 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 @@ -2602,7 +2744,7 @@ func (c *BillingConductor) ListResourcesAssociatedToCustomLineItemRequest(input // ListResourcesAssociatedToCustomLineItem API operation for AWSBillingConductor. // -// List the resources associated to a custom line item. +// List the resources that are associated to a custom line item. // // 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 @@ -3423,11 +3565,6 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } -// Amazon Web Services Billing Conductor is in beta release and is subject -// to change. Your use of Amazon Web Services Billing Conductor is subject -// to the Beta Service Participation terms of the Amazon Web Services Service -// Terms (https://aws.amazon.com/service-terms/) (Section 1.10). -// // A representation of a linked account. type AccountAssociationsListElement struct { _ struct{} `type:"structure"` @@ -3742,10 +3879,10 @@ func (s *AssociatePricingRulesOutput) SetArn(v string) *AssociatePricingRulesOut type AssociateResourceError struct { _ struct{} `type:"structure"` - // The reason the resource association failed. + // The reason why the resource association failed. Message *string `type:"string"` - // A static error code that used to classify the type of failure. + // A static error code that's used to classify the type of failure. Reason *string `type:"string" enum:"AssociateResourceErrorReason"` } @@ -4150,20 +4287,20 @@ type BillingGroupListElement struct { // Services charges for a billing group. ComputationPreference *ComputationPreference `type:"structure"` - // The time the billing group was created. + // The time when the billing group was created. CreationTime *int64 `type:"long"` - // The billing group description. + // The description of the billing group. // // Description is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by BillingGroupListElement's // String and GoString methods. Description *string `type:"string" sensitive:"true"` - // The most recent time the billing group was modified. + // The most recent time when the billing group was modified. LastModifiedTime *int64 `type:"long"` - // The billing group's name. + // The name of the billing group. // // Name is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by BillingGroupListElement's @@ -4266,8 +4403,8 @@ func (s *BillingGroupListElement) SetStatusReason(v string) *BillingGroupListEle type ComputationPreference struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the pricing plan used to compute the Amazon - // Web Services charges for a billing group. + // The Amazon Resource Name (ARN) of the pricing plan that's used to compute + // the Amazon Web Services charges for a billing group. // // PricingPlanArn is a required field PricingPlanArn *string `type:"string" required:"true"` @@ -4317,6 +4454,9 @@ type ConflictException struct { Message_ *string `locationName:"Message" type:"string"` + // Reason for the inconsistent state. + Reason *string `type:"string" enum:"ConflictExceptionReason"` + // Identifier of the resource in use. // // ResourceId is a required field @@ -4403,7 +4543,7 @@ type CreateBillingGroupInput struct { // ComputationPreference is a required field ComputationPreference *ComputationPreference `type:"structure" required:"true"` - // The billing group description. + // The description of the billing group. // // Description is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateBillingGroupInput's @@ -4744,14 +4884,14 @@ type CreatePricingPlanInput struct { // supported, but will be implemented in a future update. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` - // The pricing plan description. + // The description of the pricing plan. // // Description is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreatePricingPlanInput's // String and GoString methods. Description *string `type:"string" sensitive:"true"` - // The pricing plan name. The names must be unique to each pricing plan. + // The name of the pricing plan. The names must be unique to each pricing plan. // // Name is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreatePricingPlanInput's @@ -4872,7 +5012,7 @@ func (s *CreatePricingPlanOutput) SetArn(v string) *CreatePricingPlanOutput { type CreatePricingRuleInput struct { _ struct{} `type:"structure"` - // The token that is needed to support idempotency. Idempotency isn't currently + // The token that's needed to support idempotency. Idempotency isn't currently // supported, but will be implemented in a future update. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` @@ -4883,7 +5023,7 @@ type CreatePricingRuleInput struct { // String and GoString methods. Description *string `type:"string" sensitive:"true"` - // A percentage modifier applied on the public pricing rates. + // A percentage modifier that's applied on the public pricing rates. // // ModifierPercentage is a required field ModifierPercentage *float64 `type:"double" required:"true"` @@ -4897,8 +5037,8 @@ type CreatePricingRuleInput struct { // Name is a required field Name *string `min:"1" type:"string" required:"true" sensitive:"true"` - // The scope of pricing rule that indicates if it is globally applicable, or - // is service-specific. + // The scope of pricing rule that indicates if it's globally applicable, or + // it's service-specific. // // Scope is a required field Scope *string `type:"string" required:"true" enum:"PricingRuleScope"` @@ -5054,9 +5194,7 @@ type CustomLineItemBillingPeriodRange struct { // The inclusive end billing period that defines a billing period range where // a custom line is applied. - // - // ExclusiveEndBillingPeriod is a required field - ExclusiveEndBillingPeriod *string `type:"string" required:"true"` + ExclusiveEndBillingPeriod *string `type:"string"` // The inclusive start billing period that defines a billing period range where // a custom line is applied. @@ -5086,9 +5224,6 @@ func (s CustomLineItemBillingPeriodRange) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CustomLineItemBillingPeriodRange) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CustomLineItemBillingPeriodRange"} - if s.ExclusiveEndBillingPeriod == nil { - invalidParams.Add(request.NewErrParamRequired("ExclusiveEndBillingPeriod")) - } if s.InclusiveStartBillingPeriod == nil { invalidParams.Add(request.NewErrParamRequired("InclusiveStartBillingPeriod")) } @@ -5190,8 +5325,8 @@ func (s *CustomLineItemChargeDetails) SetType(v string) *CustomLineItemChargeDet return s } -// A representation of the charge details associated with a flat custom line -// item. +// A representation of the charge details that are associated with a flat custom +// line item. type CustomLineItemFlatChargeDetails struct { _ struct{} `type:"structure"` @@ -5271,7 +5406,7 @@ type CustomLineItemListElement struct { // String and GoString methods. Description *string `min:"1" type:"string" sensitive:"true"` - // The most recent time the custom line item was modified. + // The most recent time when the custom line item was modified. LastModifiedTime *int64 `type:"long"` // The custom line item's name. @@ -5281,7 +5416,7 @@ type CustomLineItemListElement struct { // String and GoString methods. Name *string `min:"1" type:"string" sensitive:"true"` - // The product code associated with the custom line item. + // The product code that's associated with the custom line item. ProductCode *string `min:"1" type:"string"` } @@ -5363,8 +5498,8 @@ func (s *CustomLineItemListElement) SetProductCode(v string) *CustomLineItemList return s } -// A representation of the charge details associated with a percentage custom -// line item. +// A representation of the charge details that are associated with a percentage +// custom line item. type CustomLineItemPercentageChargeDetails struct { _ struct{} `type:"structure"` @@ -5421,10 +5556,141 @@ func (s *CustomLineItemPercentageChargeDetails) SetPercentageValue(v float64) *C return s } +// A representation of a custom line item version. +type CustomLineItemVersionListElement struct { + _ struct{} `type:"structure"` + + // The number of resources that are associated with the custom line item. + AssociationSize *int64 `type:"long"` + + // The Amazon Resource Name (ARN) of the billing group that the custom line + // item applies to. + BillingGroupArn *string `type:"string"` + + // A representation of the charge details of a custom line item. + ChargeDetails *ListCustomLineItemChargeDetails `type:"structure"` + + // The time when the custom line item version was created. + CreationTime *int64 `type:"long"` + + // The charge value currency of the custom line item. + CurrencyCode *string `type:"string" enum:"CurrencyCode"` + + // The description of the custom line item. + // + // Description is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CustomLineItemVersionListElement's + // String and GoString methods. + Description *string `min:"1" type:"string" sensitive:"true"` + + // The end billing period of the custom line item version. + EndBillingPeriod *string `type:"string"` + + // The most recent time that the custom line item version was modified. + LastModifiedTime *int64 `type:"long"` + + // The name of the custom line item. + // + // Name is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CustomLineItemVersionListElement's + // String and GoString methods. + Name *string `min:"1" type:"string" sensitive:"true"` + + // The product code that’s associated with the custom line item. + ProductCode *string `min:"1" type:"string"` + + // The start billing period of the custom line item version. + StartBillingPeriod *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 CustomLineItemVersionListElement) 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 CustomLineItemVersionListElement) GoString() string { + return s.String() +} + +// SetAssociationSize sets the AssociationSize field's value. +func (s *CustomLineItemVersionListElement) SetAssociationSize(v int64) *CustomLineItemVersionListElement { + s.AssociationSize = &v + return s +} + +// SetBillingGroupArn sets the BillingGroupArn field's value. +func (s *CustomLineItemVersionListElement) SetBillingGroupArn(v string) *CustomLineItemVersionListElement { + s.BillingGroupArn = &v + return s +} + +// SetChargeDetails sets the ChargeDetails field's value. +func (s *CustomLineItemVersionListElement) SetChargeDetails(v *ListCustomLineItemChargeDetails) *CustomLineItemVersionListElement { + s.ChargeDetails = v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *CustomLineItemVersionListElement) SetCreationTime(v int64) *CustomLineItemVersionListElement { + s.CreationTime = &v + return s +} + +// SetCurrencyCode sets the CurrencyCode field's value. +func (s *CustomLineItemVersionListElement) SetCurrencyCode(v string) *CustomLineItemVersionListElement { + s.CurrencyCode = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CustomLineItemVersionListElement) SetDescription(v string) *CustomLineItemVersionListElement { + s.Description = &v + return s +} + +// SetEndBillingPeriod sets the EndBillingPeriod field's value. +func (s *CustomLineItemVersionListElement) SetEndBillingPeriod(v string) *CustomLineItemVersionListElement { + s.EndBillingPeriod = &v + return s +} + +// SetLastModifiedTime sets the LastModifiedTime field's value. +func (s *CustomLineItemVersionListElement) SetLastModifiedTime(v int64) *CustomLineItemVersionListElement { + s.LastModifiedTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *CustomLineItemVersionListElement) SetName(v string) *CustomLineItemVersionListElement { + s.Name = &v + return s +} + +// SetProductCode sets the ProductCode field's value. +func (s *CustomLineItemVersionListElement) SetProductCode(v string) *CustomLineItemVersionListElement { + s.ProductCode = &v + return s +} + +// SetStartBillingPeriod sets the StartBillingPeriod field's value. +func (s *CustomLineItemVersionListElement) SetStartBillingPeriod(v string) *CustomLineItemVersionListElement { + s.StartBillingPeriod = &v + return s +} + type DeleteBillingGroupInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the billing group you're deleting. + // The Amazon Resource Name (ARN) of the billing group that you're deleting. // // Arn is a required field Arn *string `type:"string" required:"true"` @@ -5592,7 +5858,7 @@ func (s *DeleteCustomLineItemOutput) SetArn(v string) *DeleteCustomLineItemOutpu type DeletePricingPlanInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the pricing plan you're deleting. + // The Amazon Resource Name (ARN) of the pricing plan that you're deleting. // // Arn is a required field Arn *string `type:"string" required:"true"` @@ -5669,7 +5935,7 @@ func (s *DeletePricingPlanOutput) SetArn(v string) *DeletePricingPlanOutput { type DeletePricingRuleInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the pricing rule you are deleting. + // The Amazon Resource Name (ARN) of the pricing rule that you are deleting. // // Arn is a required field Arn *string `type:"string" required:"true"` @@ -5943,7 +6209,7 @@ type DisassociateResourceResponseElement struct { // The resource ARN that was disassociated from the custom line item. Arn *string `type:"string"` - // An AssociateResourceError shown if the resource disassociation fails. + // An AssociateResourceError that's shown if the resource disassociation fails. Error *AssociateResourceError `type:"structure"` } @@ -6107,13 +6373,13 @@ type ListAccountAssociationsInput struct { // // MONITORED: linked accounts that are associated to billing groups. // - // UNMONITORED: linked accounts that are not associated to billing groups. + // UNMONITORED: linked accounts that aren't associated to billing groups. // // Billing Group Arn: linked accounts that are associated to the provided billing // group Arn. Filters *ListAccountAssociationsFilter `type:"structure"` - // The pagination token used on subsequent calls to retrieve accounts. + // The pagination token that's used on subsequent calls to retrieve accounts. NextToken *string `type:"string"` } @@ -6159,7 +6425,7 @@ type ListAccountAssociationsOutput struct { // The list of linked accounts in the payer account. LinkedAccounts []*AccountAssociationsListElement `type:"list"` - // The pagination token used on subsequent calls to get accounts. + // The pagination token that's used on subsequent calls to get accounts. NextToken *string `type:"string"` } @@ -6252,7 +6518,7 @@ type ListBillingGroupCostReportsInput struct { // The maximum number of reports to retrieve. MaxResults *int64 `min:"1" type:"integer"` - // The pagination token used on subsequent calls to get reports. + // The pagination token that's used on subsequent calls to get reports. NextToken *string `type:"string"` } @@ -6322,7 +6588,7 @@ type ListBillingGroupCostReportsOutput struct { // A list of BillingGroupCostReportElement retrieved. BillingGroupCostReports []*BillingGroupCostReportElement `type:"list"` - // The pagination token used on subsequent calls to get reports. + // The pagination token that's used on subsequent calls to get reports. NextToken *string `type:"string"` } @@ -6424,7 +6690,7 @@ type ListBillingGroupsInput struct { // The maximum number of billing groups to retrieve. MaxResults *int64 `min:"1" type:"integer"` - // The pagination token used on subsequent calls to get billing groups. + // The pagination token that's used on subsequent calls to get billing groups. NextToken *string `type:"string"` } @@ -6494,7 +6760,7 @@ type ListBillingGroupsOutput struct { // A list of BillingGroupListElement retrieved. BillingGroups []*BillingGroupListElement `type:"list"` - // The pagination token used on subsequent calls to get billing groups. + // The pagination token that's used on subsequent calls to get billing groups. NextToken *string `type:"string"` } @@ -6583,8 +6849,8 @@ func (s *ListCustomLineItemChargeDetails) SetType(v string) *ListCustomLineItemC return s } -// A representation of the charge details associated with a flat custom line -// item. +// A representation of the charge details that are associated with a flat custom +// line item. type ListCustomLineItemFlatChargeDetails struct { _ struct{} `type:"structure"` @@ -6618,8 +6884,8 @@ func (s *ListCustomLineItemFlatChargeDetails) SetChargeValue(v float64) *ListCus return s } -// A representation of the charge details associated with a percentage custom -// line item. +// A representation of the charge details that are associated with a percentage +// custom line item. type ListCustomLineItemPercentageChargeDetails struct { _ struct{} `type:"structure"` @@ -6654,6 +6920,201 @@ func (s *ListCustomLineItemPercentageChargeDetails) SetPercentageValue(v float64 return s } +// A billing period filter that specifies the custom line item versions to retrieve. +type ListCustomLineItemVersionsBillingPeriodRangeFilter struct { + _ struct{} `type:"structure"` + + // The exclusive end billing period that defines a billing period range where + // a custom line item version is applied. + EndBillingPeriod *string `type:"string"` + + // The inclusive start billing period that defines a billing period range where + // a custom line item version is applied. + StartBillingPeriod *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 ListCustomLineItemVersionsBillingPeriodRangeFilter) 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 ListCustomLineItemVersionsBillingPeriodRangeFilter) GoString() string { + return s.String() +} + +// SetEndBillingPeriod sets the EndBillingPeriod field's value. +func (s *ListCustomLineItemVersionsBillingPeriodRangeFilter) SetEndBillingPeriod(v string) *ListCustomLineItemVersionsBillingPeriodRangeFilter { + s.EndBillingPeriod = &v + return s +} + +// SetStartBillingPeriod sets the StartBillingPeriod field's value. +func (s *ListCustomLineItemVersionsBillingPeriodRangeFilter) SetStartBillingPeriod(v string) *ListCustomLineItemVersionsBillingPeriodRangeFilter { + s.StartBillingPeriod = &v + return s +} + +// A filter that specifies the billing period range where the custom line item +// versions reside. +type ListCustomLineItemVersionsFilter struct { + _ struct{} `type:"structure"` + + // The billing period range in which the custom line item version is applied. + BillingPeriodRange *ListCustomLineItemVersionsBillingPeriodRangeFilter `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 ListCustomLineItemVersionsFilter) 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 ListCustomLineItemVersionsFilter) GoString() string { + return s.String() +} + +// SetBillingPeriodRange sets the BillingPeriodRange field's value. +func (s *ListCustomLineItemVersionsFilter) SetBillingPeriodRange(v *ListCustomLineItemVersionsBillingPeriodRangeFilter) *ListCustomLineItemVersionsFilter { + s.BillingPeriodRange = v + return s +} + +type ListCustomLineItemVersionsInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the custom line item. + // + // Arn is a required field + Arn *string `type:"string" required:"true"` + + // A ListCustomLineItemVersionsFilter that specifies the billing period range + // in which the custom line item versions are applied. + Filters *ListCustomLineItemVersionsFilter `type:"structure"` + + // The maximum number of custom line item versions to retrieve. + MaxResults *int64 `min:"1" type:"integer"` + + // The pagination token that's used on subsequent calls to retrieve custom line + // item versions. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListCustomLineItemVersionsInput) 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 ListCustomLineItemVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListCustomLineItemVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListCustomLineItemVersionsInput"} + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetArn sets the Arn field's value. +func (s *ListCustomLineItemVersionsInput) SetArn(v string) *ListCustomLineItemVersionsInput { + s.Arn = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *ListCustomLineItemVersionsInput) SetFilters(v *ListCustomLineItemVersionsFilter) *ListCustomLineItemVersionsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListCustomLineItemVersionsInput) SetMaxResults(v int64) *ListCustomLineItemVersionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCustomLineItemVersionsInput) SetNextToken(v string) *ListCustomLineItemVersionsInput { + s.NextToken = &v + return s +} + +type ListCustomLineItemVersionsOutput struct { + _ struct{} `type:"structure"` + + // A list of CustomLineItemVersionListElements that are received. + CustomLineItemVersions []*CustomLineItemVersionListElement `type:"list"` + + // The pagination token that's used on subsequent calls to retrieve custom line + // item versions. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListCustomLineItemVersionsOutput) 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 ListCustomLineItemVersionsOutput) GoString() string { + return s.String() +} + +// SetCustomLineItemVersions sets the CustomLineItemVersions field's value. +func (s *ListCustomLineItemVersionsOutput) SetCustomLineItemVersions(v []*CustomLineItemVersionListElement) *ListCustomLineItemVersionsOutput { + s.CustomLineItemVersions = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCustomLineItemVersionsOutput) SetNextToken(v string) *ListCustomLineItemVersionsOutput { + s.NextToken = &v + return s +} + // A filter that specifies the custom line items and billing groups to retrieve // FFLI information. type ListCustomLineItemsFilter struct { @@ -6737,7 +7198,8 @@ type ListCustomLineItemsInput struct { // The maximum number of billing groups to retrieve. MaxResults *int64 `min:"1" type:"integer"` - // The pagination token used on subsequent calls to get custom line items (FFLIs). + // The pagination token that's used on subsequent calls to get custom line items + // (FFLIs). NextToken *string `type:"string"` } @@ -6807,7 +7269,8 @@ type ListCustomLineItemsOutput struct { // A list of FreeFormLineItemListElements received. CustomLineItems []*CustomLineItemListElement `type:"list"` - // The pagination token used on subsequent calls to get custom line items (FFLIs). + // The pagination token that's used on subsequent calls to get custom line items + // (FFLIs). NextToken *string `type:"string"` } @@ -6927,7 +7390,8 @@ type ListPricingPlansAssociatedWithPricingRuleOutput struct { // The pagination token to be used on subsequent calls. NextToken *string `type:"string"` - // The list containing pricing plans associated with the requested pricing rule. + // The list containing pricing plans that are associated with the requested + // pricing rule. PricingPlanArns []*string `min:"1" type:"list"` // The pricing rule Amazon Resource Name (ARN) for which associations will be @@ -7036,7 +7500,7 @@ type ListPricingPlansInput struct { // The maximum number of pricing plans to retrieve. MaxResults *int64 `min:"1" type:"integer"` - // The pagination token used on subsequent call to get pricing plans. + // The pagination token that's used on subsequent call to get pricing plans. NextToken *string `type:"string"` } @@ -7106,7 +7570,7 @@ type ListPricingPlansOutput struct { // The billing period for which the described pricing plans are applicable. BillingPeriod *string `type:"string"` - // The pagination token used on subsequent calls to get pricing plans. + // The pagination token that's used on subsequent calls to get pricing plans. NextToken *string `type:"string"` // A list of PricingPlanListElement retrieved. @@ -7239,7 +7703,8 @@ type ListPricingRulesAssociatedToPricingPlanOutput struct { // are listed. PricingPlanArn *string `type:"string"` - // A list containing pricing rules associated with the requested pricing plan. + // A list containing pricing rules that are associated with the requested pricing + // plan. PricingRuleArns []*string `min:"1" type:"list"` } @@ -7345,7 +7810,7 @@ type ListPricingRulesInput struct { // The maximum number of pricing rules to retrieve. MaxResults *int64 `min:"1" type:"integer"` - // The pagination token used on subsequent call to get pricing rules. + // The pagination token that's used on subsequent call to get pricing rules. NextToken *string `type:"string"` } @@ -7415,7 +7880,7 @@ type ListPricingRulesOutput struct { // The billing period for which the described pricing rules are applicable. BillingPeriod *string `type:"string"` - // The pagination token used on subsequent calls to get pricing rules. + // The pagination token that's used on subsequent calls to get pricing rules. NextToken *string `type:"string"` // A list containing the described pricing rules. @@ -7511,7 +7976,7 @@ type ListResourcesAssociatedToCustomLineItemInput struct { // (Optional) The maximum number of resource associations to be retrieved. MaxResults *int64 `min:"1" type:"integer"` - // (Optional) The pagination token returned by a previous request. + // (Optional) The pagination token that's returned by a previous request. NextToken *string `type:"string"` } @@ -7637,6 +8102,9 @@ type ListResourcesAssociatedToCustomLineItemResponseElement struct { // The ARN of the associated resource. Arn *string `type:"string"` + // The end billing period of the associated resource. + EndBillingPeriod *string `type:"string"` + // The type of relationship between the custom line item and the associated // resource. Relationship *string `type:"string" enum:"CustomLineItemRelationship"` @@ -7666,6 +8134,12 @@ func (s *ListResourcesAssociatedToCustomLineItemResponseElement) SetArn(v string return s } +// SetEndBillingPeriod sets the EndBillingPeriod field's value. +func (s *ListResourcesAssociatedToCustomLineItemResponseElement) SetEndBillingPeriod(v string) *ListResourcesAssociatedToCustomLineItemResponseElement { + s.EndBillingPeriod = &v + return s +} + // SetRelationship sets the Relationship field's value. func (s *ListResourcesAssociatedToCustomLineItemResponseElement) SetRelationship(v string) *ListResourcesAssociatedToCustomLineItemResponseElement { s.Relationship = &v @@ -7760,7 +8234,7 @@ type PricingPlanListElement struct { // identify a pricing plan. Arn *string `type:"string"` - // The time the pricing plan was created. + // The time when the pricing plan was created. CreationTime *int64 `type:"long"` // The pricing plan description. @@ -7770,7 +8244,7 @@ type PricingPlanListElement struct { // String and GoString methods. Description *string `type:"string" sensitive:"true"` - // The most recent time the pricing plan was modified. + // The most recent time when the pricing plan was modified. LastModifiedTime *int64 `type:"long"` // The name of a pricing plan. @@ -7780,8 +8254,8 @@ type PricingPlanListElement struct { // String and GoString methods. Name *string `min:"1" type:"string" sensitive:"true"` - // The pricing rules count currently associated with this pricing plan list - // element. + // The pricing rules count that's currently associated with this pricing plan + // list element. Size *int64 `min:"1" type:"long"` } @@ -7849,7 +8323,7 @@ type PricingRuleListElement struct { // The pricing plans count that this pricing rule is associated with. AssociatedPricingPlanCount *int64 `type:"long"` - // The time the pricing rule was created. + // The time when the pricing rule was created. CreationTime *int64 `type:"long"` // The pricing rule description. @@ -7859,7 +8333,7 @@ type PricingRuleListElement struct { // String and GoString methods. Description *string `type:"string" sensitive:"true"` - // The most recent time the pricing rule was modified. + // The most recent time when the pricing rule was modified. LastModifiedTime *int64 `type:"long"` // A percentage modifier applied on the public pricing rates. @@ -8471,7 +8945,7 @@ type UpdateBillingGroupOutput struct { // String and GoString methods. Description *string `type:"string" sensitive:"true"` - // The most recent time the billing group was modified. + // The most recent time when the billing group was modified. LastModifiedTime *int64 `type:"long"` // The name of the billing group. The names must be unique to each billing group. @@ -8634,8 +9108,8 @@ func (s *UpdateCustomLineItemChargeDetails) SetPercentage(v *UpdateCustomLineIte return s } -// A representation of the new charge details associated with a flat custom -// line item. +// A representation of the new charge details that are associated with a flat +// custom line item. type UpdateCustomLineItemFlatChargeDetails struct { _ struct{} `type:"structure"` @@ -8812,7 +9286,7 @@ type UpdateCustomLineItemOutput struct { // String and GoString methods. Description *string `min:"1" type:"string" sensitive:"true"` - // The most recent time the custom line item was modified. + // The most recent time when the custom line item was modified. LastModifiedTime *int64 `type:"long"` // The name of the successfully updated custom line item. @@ -8883,8 +9357,8 @@ func (s *UpdateCustomLineItemOutput) SetName(v string) *UpdateCustomLineItemOutp return s } -// A representation of the new charge details associated with a percentage custom -// line item. +// A representation of the new charge details that are associated with a percentage +// custom line item. type UpdateCustomLineItemPercentageChargeDetails struct { _ struct{} `type:"structure"` @@ -8935,12 +9409,12 @@ func (s *UpdateCustomLineItemPercentageChargeDetails) SetPercentageValue(v float type UpdatePricingPlanInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the pricing plan you're updating. + // The Amazon Resource Name (ARN) of the pricing plan that you're updating. // // Arn is a required field Arn *string `type:"string" required:"true"` - // The pricing plan description. + // The description of the pricing plan. // // Description is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdatePricingPlanInput's @@ -9020,7 +9494,7 @@ type UpdatePricingPlanOutput struct { // String and GoString methods. Description *string `type:"string" sensitive:"true"` - // The most recent time the pricing plan was modified. + // The most recent time when the pricing plan was modified. LastModifiedTime *int64 `type:"long"` // The name of the pricing plan. The name must be unique to each pricing plan. @@ -9030,7 +9504,8 @@ type UpdatePricingPlanOutput struct { // String and GoString methods. Name *string `min:"1" type:"string" sensitive:"true"` - // The pricing rules count currently associated with this pricing plan list. + // The pricing rules count that's currently associated with this pricing plan + // list. Size *int64 `min:"1" type:"long"` } @@ -9206,8 +9681,8 @@ type UpdatePricingRuleOutput struct { // String and GoString methods. Name *string `min:"1" type:"string" sensitive:"true"` - // The scope of pricing rule that indicates if it is globally applicable, or - // is service-specific. + // The scope of pricing rule that indicates if it's globally applicable, or + // it's service-specific. Scope *string `type:"string" enum:"PricingRuleScope"` // If the Scope attribute is set to SERVICE, the attribute indicates which service @@ -9418,6 +9893,9 @@ const ( // AssociateResourceErrorReasonInternalServerException is a AssociateResourceErrorReason enum value AssociateResourceErrorReasonInternalServerException = "INTERNAL_SERVER_EXCEPTION" + + // AssociateResourceErrorReasonInvalidBillingPeriodRange is a AssociateResourceErrorReason enum value + AssociateResourceErrorReasonInvalidBillingPeriodRange = "INVALID_BILLING_PERIOD_RANGE" ) // AssociateResourceErrorReason_Values returns all elements of the AssociateResourceErrorReason enum @@ -9427,6 +9905,7 @@ func AssociateResourceErrorReason_Values() []string { AssociateResourceErrorReasonServiceLimitExceeded, AssociateResourceErrorReasonIllegalCustomlineitem, AssociateResourceErrorReasonInternalServerException, + AssociateResourceErrorReasonInvalidBillingPeriodRange, } } @@ -9446,6 +9925,34 @@ func BillingGroupStatus_Values() []string { } } +const ( + // ConflictExceptionReasonResourceNameConflict is a ConflictExceptionReason enum value + ConflictExceptionReasonResourceNameConflict = "RESOURCE_NAME_CONFLICT" + + // ConflictExceptionReasonPricingRuleInPricingPlanConflict is a ConflictExceptionReason enum value + ConflictExceptionReasonPricingRuleInPricingPlanConflict = "PRICING_RULE_IN_PRICING_PLAN_CONFLICT" + + // ConflictExceptionReasonPricingPlanAttachedToBillingGroupDeleteConflict is a ConflictExceptionReason enum value + ConflictExceptionReasonPricingPlanAttachedToBillingGroupDeleteConflict = "PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT" + + // ConflictExceptionReasonPricingRuleAttachedToPricingPlanDeleteConflict is a ConflictExceptionReason enum value + ConflictExceptionReasonPricingRuleAttachedToPricingPlanDeleteConflict = "PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT" + + // ConflictExceptionReasonWriteConflictRetry is a ConflictExceptionReason enum value + ConflictExceptionReasonWriteConflictRetry = "WRITE_CONFLICT_RETRY" +) + +// ConflictExceptionReason_Values returns all elements of the ConflictExceptionReason enum +func ConflictExceptionReason_Values() []string { + return []string{ + ConflictExceptionReasonResourceNameConflict, + ConflictExceptionReasonPricingRuleInPricingPlanConflict, + ConflictExceptionReasonPricingPlanAttachedToBillingGroupDeleteConflict, + ConflictExceptionReasonPricingRuleAttachedToPricingPlanDeleteConflict, + ConflictExceptionReasonWriteConflictRetry, + } +} + const ( // CurrencyCodeUsd is a CurrencyCode enum value CurrencyCodeUsd = "USD" @@ -9658,6 +10165,18 @@ const ( // ValidationExceptionReasonMultiplePricingPlanArn is a ValidationExceptionReason enum value ValidationExceptionReasonMultiplePricingPlanArn = "MULTIPLE_PRICING_PLAN_ARN" + + // ValidationExceptionReasonIllegalChildAssociateResource is a ValidationExceptionReason enum value + ValidationExceptionReasonIllegalChildAssociateResource = "ILLEGAL_CHILD_ASSOCIATE_RESOURCE" + + // ValidationExceptionReasonCustomLineItemAssociationExists is a ValidationExceptionReason enum value + ValidationExceptionReasonCustomLineItemAssociationExists = "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS" + + // ValidationExceptionReasonInvalidBillingPeriodForOperation is a ValidationExceptionReason enum value + ValidationExceptionReasonInvalidBillingPeriodForOperation = "INVALID_BILLING_PERIOD_FOR_OPERATION" + + // ValidationExceptionReasonInvalidBillingGroup is a ValidationExceptionReason enum value + ValidationExceptionReasonInvalidBillingGroup = "INVALID_BILLING_GROUP" ) // ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum @@ -9707,5 +10226,9 @@ func ValidationExceptionReason_Values() []string { ValidationExceptionReasonMultipleLinkedAccountIds, ValidationExceptionReasonMissingPricingPlanArn, ValidationExceptionReasonMultiplePricingPlanArn, + ValidationExceptionReasonIllegalChildAssociateResource, + ValidationExceptionReasonCustomLineItemAssociationExists, + ValidationExceptionReasonInvalidBillingPeriodForOperation, + ValidationExceptionReasonInvalidBillingGroup, } } diff --git a/service/billingconductor/billingconductoriface/interface.go b/service/billingconductor/billingconductoriface/interface.go index 6669653434..f1b057d5a4 100644 --- a/service/billingconductor/billingconductoriface/interface.go +++ b/service/billingconductor/billingconductoriface/interface.go @@ -137,6 +137,13 @@ type BillingConductorAPI interface { ListBillingGroupsPages(*billingconductor.ListBillingGroupsInput, func(*billingconductor.ListBillingGroupsOutput, bool) bool) error ListBillingGroupsPagesWithContext(aws.Context, *billingconductor.ListBillingGroupsInput, func(*billingconductor.ListBillingGroupsOutput, bool) bool, ...request.Option) error + ListCustomLineItemVersions(*billingconductor.ListCustomLineItemVersionsInput) (*billingconductor.ListCustomLineItemVersionsOutput, error) + ListCustomLineItemVersionsWithContext(aws.Context, *billingconductor.ListCustomLineItemVersionsInput, ...request.Option) (*billingconductor.ListCustomLineItemVersionsOutput, error) + ListCustomLineItemVersionsRequest(*billingconductor.ListCustomLineItemVersionsInput) (*request.Request, *billingconductor.ListCustomLineItemVersionsOutput) + + ListCustomLineItemVersionsPages(*billingconductor.ListCustomLineItemVersionsInput, func(*billingconductor.ListCustomLineItemVersionsOutput, bool) bool) error + ListCustomLineItemVersionsPagesWithContext(aws.Context, *billingconductor.ListCustomLineItemVersionsInput, func(*billingconductor.ListCustomLineItemVersionsOutput, bool) bool, ...request.Option) error + ListCustomLineItems(*billingconductor.ListCustomLineItemsInput) (*billingconductor.ListCustomLineItemsOutput, error) ListCustomLineItemsWithContext(aws.Context, *billingconductor.ListCustomLineItemsInput, ...request.Option) (*billingconductor.ListCustomLineItemsOutput, error) ListCustomLineItemsRequest(*billingconductor.ListCustomLineItemsInput) (*request.Request, *billingconductor.ListCustomLineItemsOutput) diff --git a/service/billingconductor/doc.go b/service/billingconductor/doc.go index 484c3f8688..bb99edfe91 100644 --- a/service/billingconductor/doc.go +++ b/service/billingconductor/doc.go @@ -4,7 +4,7 @@ // requests to AWSBillingConductor. // // Amazon Web Services Billing Conductor is a fully managed service that you -// can use to customize a pro forma (https://docs.aws.amazon.com/enterprisebilling/6b7c01c5-b592-467e-9769-90052eaf359c/userguide/understanding-eb.html#eb-other-definitions) +// can use to customize a pro forma (https://docs.aws.amazon.com/billingconductor/latest/userguide/understanding-eb.html#eb-other-definitions) // version of your billing data each month, to accurately show or chargeback // your end customers. Amazon Web Services Billing Conductor doesn't change // the way you're billed by Amazon Web Services each month by design. Instead, @@ -19,9 +19,9 @@ // // This documentation shows how you can configure Amazon Web Services Billing // Conductor using its API. For more information about using the Amazon Web -// Services Billing Conductor (https://console.aws.amazon.com/enterprisebilling/) -// user interface, see the Amazon Web Services Enterprise Billing Console User -// Guide (https://docs.aws.amazon.com/enterprisebilling/6b7c01c5-b592-467e-9769-90052eaf359c/userguide/what-is-enterprisebilling.html). +// Services Billing Conductor (https://console.aws.amazon.com/billingconductor/) +// user interface, see the Amazon Web Services Billing Conductor User Guide +// (https://docs.aws.amazon.com/billingconductor/latest/userguide/what-is-billingconductor.html). // // See https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30 for more information on this service. // diff --git a/service/ec2/api.go b/service/ec2/api.go index 3b9180ca58..ea6f41284f 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -126900,6 +126900,10 @@ type LaunchTemplatePlacement struct { // The Availability Zone of the instance. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` + // The Group ID of the placement group. You must specify the Placement Group + // Group ID to launch an instance in a shared placement group. + GroupId *string `locationName:"groupId" type:"string"` + // The name of the placement group for the instance. GroupName *string `locationName:"groupName" type:"string"` @@ -126951,6 +126955,12 @@ func (s *LaunchTemplatePlacement) SetAvailabilityZone(v string) *LaunchTemplateP return s } +// SetGroupId sets the GroupId field's value. +func (s *LaunchTemplatePlacement) SetGroupId(v string) *LaunchTemplatePlacement { + s.GroupId = &v + return s +} + // SetGroupName sets the GroupName field's value. func (s *LaunchTemplatePlacement) SetGroupName(v string) *LaunchTemplatePlacement { s.GroupName = &v @@ -126997,6 +127007,10 @@ type LaunchTemplatePlacementRequest struct { // The Availability Zone for the instance. AvailabilityZone *string `type:"string"` + // The Group Id of a placement group. You must specify the Placement Group Group + // Id to launch an instance in a shared placement group. + GroupId *string `type:"string"` + // The name of the placement group for the instance. GroupName *string `type:"string"` @@ -127050,6 +127064,12 @@ func (s *LaunchTemplatePlacementRequest) SetAvailabilityZone(v string) *LaunchTe return s } +// SetGroupId sets the GroupId field's value. +func (s *LaunchTemplatePlacementRequest) SetGroupId(v string) *LaunchTemplatePlacementRequest { + s.GroupId = &v + return s +} + // SetGroupName sets the GroupName field's value. func (s *LaunchTemplatePlacementRequest) SetGroupName(v string) *LaunchTemplatePlacementRequest { s.GroupName = &v @@ -131904,6 +131924,10 @@ type ModifyInstancePlacementInput struct { // The affinity setting for the instance. Affinity *string `locationName:"affinity" type:"string" enum:"Affinity"` + // The Group Id of a placement group. You must specify the Placement Group Group + // Id to launch an instance in a shared placement group. + GroupId *string `type:"string"` + // The name of the placement group in which to place the instance. For spread // placement groups, the instance must have a tenancy of default. For cluster // and partition placement groups, the instance must have a tenancy of default @@ -131972,6 +131996,12 @@ func (s *ModifyInstancePlacementInput) SetAffinity(v string) *ModifyInstancePlac return s } +// SetGroupId sets the GroupId field's value. +func (s *ModifyInstancePlacementInput) SetGroupId(v string) *ModifyInstancePlacementInput { + s.GroupId = &v + return s +} + // SetGroupName sets the GroupName field's value. func (s *ModifyInstancePlacementInput) SetGroupName(v string) *ModifyInstancePlacementInput { s.GroupName = &v @@ -140792,6 +140822,9 @@ type Placement struct { // This parameter is not supported by CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). AvailabilityZone *string `locationName:"availabilityZone" type:"string"` + // The Group Id of the placement group. + GroupId *string `locationName:"groupId" type:"string"` + // The name of the placement group the instance is in. GroupName *string `locationName:"groupName" type:"string"` @@ -140862,6 +140895,12 @@ func (s *Placement) SetAvailabilityZone(v string) *Placement { return s } +// SetGroupId sets the GroupId field's value. +func (s *Placement) SetGroupId(v string) *Placement { + s.GroupId = &v + return s +} + // SetGroupName sets the GroupName field's value. func (s *Placement) SetGroupName(v string) *Placement { s.GroupName = &v diff --git a/service/fms/api.go b/service/fms/api.go index 69f3df56da..6f96212151 100644 --- a/service/fms/api.go +++ b/service/fms/api.go @@ -217,6 +217,200 @@ func (c *FMS) AssociateThirdPartyFirewallWithContext(ctx aws.Context, input *Ass return out, req.Send() } +const opBatchAssociateResource = "BatchAssociateResource" + +// BatchAssociateResourceRequest generates a "aws/request.Request" representing the +// client's request for the BatchAssociateResource 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 BatchAssociateResource for more information on using the BatchAssociateResource +// 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 BatchAssociateResourceRequest method. +// req, resp := client.BatchAssociateResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/BatchAssociateResource +func (c *FMS) BatchAssociateResourceRequest(input *BatchAssociateResourceInput) (req *request.Request, output *BatchAssociateResourceOutput) { + op := &request.Operation{ + Name: opBatchAssociateResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &BatchAssociateResourceInput{} + } + + output = &BatchAssociateResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchAssociateResource API operation for Firewall Management Service. +// +// Associate resources to a Firewall Manager resource set. +// +// 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 Firewall Management Service's +// API operation BatchAssociateResource for usage and error information. +// +// Returned Error Types: +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// - LimitExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// policy objects that you can create for an Amazon Web Services account. For +// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) +// in the WAF Developer Guide. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/BatchAssociateResource +func (c *FMS) BatchAssociateResource(input *BatchAssociateResourceInput) (*BatchAssociateResourceOutput, error) { + req, out := c.BatchAssociateResourceRequest(input) + return out, req.Send() +} + +// BatchAssociateResourceWithContext is the same as BatchAssociateResource with the addition of +// the ability to pass a context and additional request options. +// +// See BatchAssociateResource 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 *FMS) BatchAssociateResourceWithContext(ctx aws.Context, input *BatchAssociateResourceInput, opts ...request.Option) (*BatchAssociateResourceOutput, error) { + req, out := c.BatchAssociateResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opBatchDisassociateResource = "BatchDisassociateResource" + +// BatchDisassociateResourceRequest generates a "aws/request.Request" representing the +// client's request for the BatchDisassociateResource 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 BatchDisassociateResource for more information on using the BatchDisassociateResource +// 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 BatchDisassociateResourceRequest method. +// req, resp := client.BatchDisassociateResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/BatchDisassociateResource +func (c *FMS) BatchDisassociateResourceRequest(input *BatchDisassociateResourceInput) (req *request.Request, output *BatchDisassociateResourceOutput) { + op := &request.Operation{ + Name: opBatchDisassociateResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &BatchDisassociateResourceInput{} + } + + output = &BatchDisassociateResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchDisassociateResource API operation for Firewall Management Service. +// +// Disassociates resources from a Firewall Manager resource set. +// +// 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 Firewall Management Service's +// API operation BatchDisassociateResource for usage and error information. +// +// Returned Error Types: +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/BatchDisassociateResource +func (c *FMS) BatchDisassociateResource(input *BatchDisassociateResourceInput) (*BatchDisassociateResourceOutput, error) { + req, out := c.BatchDisassociateResourceRequest(input) + return out, req.Send() +} + +// BatchDisassociateResourceWithContext is the same as BatchDisassociateResource with the addition of +// the ability to pass a context and additional request options. +// +// See BatchDisassociateResource 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 *FMS) BatchDisassociateResourceWithContext(ctx aws.Context, input *BatchDisassociateResourceInput, opts ...request.Option) (*BatchDisassociateResourceOutput, error) { + req, out := c.BatchDisassociateResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteAppsList = "DeleteAppsList" // DeleteAppsListRequest generates a "aws/request.Request" representing the @@ -596,6 +790,101 @@ func (c *FMS) DeleteProtocolsListWithContext(ctx aws.Context, input *DeleteProto return out, req.Send() } +const opDeleteResourceSet = "DeleteResourceSet" + +// DeleteResourceSetRequest generates a "aws/request.Request" representing the +// client's request for the DeleteResourceSet 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 DeleteResourceSet for more information on using the DeleteResourceSet +// 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 DeleteResourceSetRequest method. +// req, resp := client.DeleteResourceSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteResourceSet +func (c *FMS) DeleteResourceSetRequest(input *DeleteResourceSetInput) (req *request.Request, output *DeleteResourceSetOutput) { + op := &request.Operation{ + Name: opDeleteResourceSet, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteResourceSetInput{} + } + + output = &DeleteResourceSetOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteResourceSet API operation for Firewall Management Service. +// +// Deletes the specified ResourceSet. +// +// 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 Firewall Management Service's +// API operation DeleteResourceSet for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteResourceSet +func (c *FMS) DeleteResourceSet(input *DeleteResourceSetInput) (*DeleteResourceSetOutput, error) { + req, out := c.DeleteResourceSetRequest(input) + return out, req.Send() +} + +// DeleteResourceSetWithContext is the same as DeleteResourceSet with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteResourceSet 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 *FMS) DeleteResourceSetWithContext(ctx aws.Context, input *DeleteResourceSetInput, opts ...request.Option) (*DeleteResourceSetOutput, error) { + req, out := c.DeleteResourceSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDisassociateAdminAccount = "DisassociateAdminAccount" // DisassociateAdminAccountRequest generates a "aws/request.Request" representing the @@ -1448,58 +1737,57 @@ func (c *FMS) GetProtocolsListWithContext(ctx aws.Context, input *GetProtocolsLi return out, req.Send() } -const opGetThirdPartyFirewallAssociationStatus = "GetThirdPartyFirewallAssociationStatus" +const opGetResourceSet = "GetResourceSet" -// GetThirdPartyFirewallAssociationStatusRequest generates a "aws/request.Request" representing the -// client's request for the GetThirdPartyFirewallAssociationStatus operation. The "output" return +// GetResourceSetRequest generates a "aws/request.Request" representing the +// client's request for the GetResourceSet 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 GetThirdPartyFirewallAssociationStatus for more information on using the GetThirdPartyFirewallAssociationStatus +// See GetResourceSet for more information on using the GetResourceSet // 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 GetThirdPartyFirewallAssociationStatusRequest method. -// req, resp := client.GetThirdPartyFirewallAssociationStatusRequest(params) +// // Example sending a request using the GetResourceSetRequest method. +// req, resp := client.GetResourceSetRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetThirdPartyFirewallAssociationStatus -func (c *FMS) GetThirdPartyFirewallAssociationStatusRequest(input *GetThirdPartyFirewallAssociationStatusInput) (req *request.Request, output *GetThirdPartyFirewallAssociationStatusOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetResourceSet +func (c *FMS) GetResourceSetRequest(input *GetResourceSetInput) (req *request.Request, output *GetResourceSetOutput) { op := &request.Operation{ - Name: opGetThirdPartyFirewallAssociationStatus, + Name: opGetResourceSet, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetThirdPartyFirewallAssociationStatusInput{} + input = &GetResourceSetInput{} } - output = &GetThirdPartyFirewallAssociationStatusOutput{} + output = &GetResourceSetOutput{} req = c.newRequest(op, input, output) return } -// GetThirdPartyFirewallAssociationStatus API operation for Firewall Management Service. +// GetResourceSet API operation for Firewall Management Service. // -// The onboarding status of a Firewall Manager admin account to third-party -// firewall vendor tenant. +// Gets information about a specific resource set. // // 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 Firewall Management Service's -// API operation GetThirdPartyFirewallAssociationStatus for usage and error information. +// API operation GetResourceSet for usage and error information. // // Returned Error Types: // @@ -1521,39 +1809,134 @@ func (c *FMS) GetThirdPartyFirewallAssociationStatusRequest(input *GetThirdParty // The operation failed because of a system problem, even though the request // was valid. Retry your request. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetThirdPartyFirewallAssociationStatus -func (c *FMS) GetThirdPartyFirewallAssociationStatus(input *GetThirdPartyFirewallAssociationStatusInput) (*GetThirdPartyFirewallAssociationStatusOutput, error) { - req, out := c.GetThirdPartyFirewallAssociationStatusRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetResourceSet +func (c *FMS) GetResourceSet(input *GetResourceSetInput) (*GetResourceSetOutput, error) { + req, out := c.GetResourceSetRequest(input) return out, req.Send() } -// GetThirdPartyFirewallAssociationStatusWithContext is the same as GetThirdPartyFirewallAssociationStatus with the addition of +// GetResourceSetWithContext is the same as GetResourceSet with the addition of // the ability to pass a context and additional request options. // -// See GetThirdPartyFirewallAssociationStatus for details on how to use this API operation. +// See GetResourceSet 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 *FMS) GetThirdPartyFirewallAssociationStatusWithContext(ctx aws.Context, input *GetThirdPartyFirewallAssociationStatusInput, opts ...request.Option) (*GetThirdPartyFirewallAssociationStatusOutput, error) { - req, out := c.GetThirdPartyFirewallAssociationStatusRequest(input) +func (c *FMS) GetResourceSetWithContext(ctx aws.Context, input *GetResourceSetInput, opts ...request.Option) (*GetResourceSetOutput, error) { + req, out := c.GetResourceSetRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetViolationDetails = "GetViolationDetails" +const opGetThirdPartyFirewallAssociationStatus = "GetThirdPartyFirewallAssociationStatus" -// GetViolationDetailsRequest generates a "aws/request.Request" representing the -// client's request for the GetViolationDetails operation. The "output" return +// GetThirdPartyFirewallAssociationStatusRequest generates a "aws/request.Request" representing the +// client's request for the GetThirdPartyFirewallAssociationStatus 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 GetViolationDetails for more information on using the GetViolationDetails +// See GetThirdPartyFirewallAssociationStatus for more information on using the GetThirdPartyFirewallAssociationStatus +// 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 GetThirdPartyFirewallAssociationStatusRequest method. +// req, resp := client.GetThirdPartyFirewallAssociationStatusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetThirdPartyFirewallAssociationStatus +func (c *FMS) GetThirdPartyFirewallAssociationStatusRequest(input *GetThirdPartyFirewallAssociationStatusInput) (req *request.Request, output *GetThirdPartyFirewallAssociationStatusOutput) { + op := &request.Operation{ + Name: opGetThirdPartyFirewallAssociationStatus, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetThirdPartyFirewallAssociationStatusInput{} + } + + output = &GetThirdPartyFirewallAssociationStatusOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetThirdPartyFirewallAssociationStatus API operation for Firewall Management Service. +// +// The onboarding status of a Firewall Manager admin account to third-party +// firewall vendor tenant. +// +// 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 Firewall Management Service's +// API operation GetThirdPartyFirewallAssociationStatus for usage and error information. +// +// Returned Error Types: +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetThirdPartyFirewallAssociationStatus +func (c *FMS) GetThirdPartyFirewallAssociationStatus(input *GetThirdPartyFirewallAssociationStatusInput) (*GetThirdPartyFirewallAssociationStatusOutput, error) { + req, out := c.GetThirdPartyFirewallAssociationStatusRequest(input) + return out, req.Send() +} + +// GetThirdPartyFirewallAssociationStatusWithContext is the same as GetThirdPartyFirewallAssociationStatus with the addition of +// the ability to pass a context and additional request options. +// +// See GetThirdPartyFirewallAssociationStatus 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 *FMS) GetThirdPartyFirewallAssociationStatusWithContext(ctx aws.Context, input *GetThirdPartyFirewallAssociationStatusInput, opts ...request.Option) (*GetThirdPartyFirewallAssociationStatusOutput, error) { + req, out := c.GetThirdPartyFirewallAssociationStatusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetViolationDetails = "GetViolationDetails" + +// GetViolationDetailsRequest generates a "aws/request.Request" representing the +// client's request for the GetViolationDetails 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 GetViolationDetails for more information on using the GetViolationDetails // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration @@ -1926,6 +2309,98 @@ func (c *FMS) ListComplianceStatusPagesWithContext(ctx aws.Context, input *ListC return p.Err() } +const opListDiscoveredResources = "ListDiscoveredResources" + +// ListDiscoveredResourcesRequest generates a "aws/request.Request" representing the +// client's request for the ListDiscoveredResources 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 ListDiscoveredResources for more information on using the ListDiscoveredResources +// 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 ListDiscoveredResourcesRequest method. +// req, resp := client.ListDiscoveredResourcesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListDiscoveredResources +func (c *FMS) ListDiscoveredResourcesRequest(input *ListDiscoveredResourcesInput) (req *request.Request, output *ListDiscoveredResourcesOutput) { + op := &request.Operation{ + Name: opListDiscoveredResources, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListDiscoveredResourcesInput{} + } + + output = &ListDiscoveredResourcesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListDiscoveredResources API operation for Firewall Management Service. +// +// Returns an array of resources in the organization's accounts that are available +// to be associated with a resource set. +// +// 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 Firewall Management Service's +// API operation ListDiscoveredResources for usage and error information. +// +// Returned Error Types: +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListDiscoveredResources +func (c *FMS) ListDiscoveredResources(input *ListDiscoveredResourcesInput) (*ListDiscoveredResourcesOutput, error) { + req, out := c.ListDiscoveredResourcesRequest(input) + return out, req.Send() +} + +// ListDiscoveredResourcesWithContext is the same as ListDiscoveredResources with the addition of +// the ability to pass a context and additional request options. +// +// See ListDiscoveredResources 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 *FMS) ListDiscoveredResourcesWithContext(ctx aws.Context, input *ListDiscoveredResourcesInput, opts ...request.Option) (*ListDiscoveredResourcesOutput, error) { + req, out := c.ListDiscoveredResourcesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListMemberAccounts = "ListMemberAccounts" // ListMemberAccountsRequest generates a "aws/request.Request" representing the @@ -2372,63 +2847,61 @@ func (c *FMS) ListProtocolsListsPagesWithContext(ctx aws.Context, input *ListPro return p.Err() } -const opListTagsForResource = "ListTagsForResource" +const opListResourceSetResources = "ListResourceSetResources" -// ListTagsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the ListTagsForResource operation. The "output" return +// ListResourceSetResourcesRequest generates a "aws/request.Request" representing the +// client's request for the ListResourceSetResources 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 ListTagsForResource for more information on using the ListTagsForResource +// See ListResourceSetResources for more information on using the ListResourceSetResources // 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 ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) +// // Example sending a request using the ListResourceSetResourcesRequest method. +// req, resp := client.ListResourceSetResourcesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListTagsForResource -func (c *FMS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListResourceSetResources +func (c *FMS) ListResourceSetResourcesRequest(input *ListResourceSetResourcesInput) (req *request.Request, output *ListResourceSetResourcesOutput) { op := &request.Operation{ - Name: opListTagsForResource, + Name: opListResourceSetResources, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &ListTagsForResourceInput{} + input = &ListResourceSetResourcesInput{} } - output = &ListTagsForResourceOutput{} + output = &ListResourceSetResourcesOutput{} req = c.newRequest(op, input, output) return } -// ListTagsForResource API operation for Firewall Management Service. +// ListResourceSetResources API operation for Firewall Management Service. // -// Retrieves the list of tags for the specified Amazon Web Services resource. +// Returns an array of resources that are currently associated to a resource +// set. // // 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 Firewall Management Service's -// API operation ListTagsForResource for usage and error information. +// API operation ListResourceSetResources for usage and error information. // // Returned Error Types: // -// - ResourceNotFoundException -// The specified resource was not found. -// // - InvalidOperationException // The operation failed because there was nothing to do or the operation wasn't // possible. For example, you might have submitted an AssociateAdminAccount @@ -2444,86 +2917,82 @@ func (c *FMS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // - InvalidInputException // The parameters of the request were invalid. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListTagsForResource -func (c *FMS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +// - ResourceNotFoundException +// The specified resource was not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListResourceSetResources +func (c *FMS) ListResourceSetResources(input *ListResourceSetResourcesInput) (*ListResourceSetResourcesOutput, error) { + req, out := c.ListResourceSetResourcesRequest(input) return out, req.Send() } -// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// ListResourceSetResourcesWithContext is the same as ListResourceSetResources with the addition of // the ability to pass a context and additional request options. // -// See ListTagsForResource for details on how to use this API operation. +// See ListResourceSetResources 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 *FMS) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +func (c *FMS) ListResourceSetResourcesWithContext(ctx aws.Context, input *ListResourceSetResourcesInput, opts ...request.Option) (*ListResourceSetResourcesOutput, error) { + req, out := c.ListResourceSetResourcesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListThirdPartyFirewallFirewallPolicies = "ListThirdPartyFirewallFirewallPolicies" +const opListResourceSets = "ListResourceSets" -// ListThirdPartyFirewallFirewallPoliciesRequest generates a "aws/request.Request" representing the -// client's request for the ListThirdPartyFirewallFirewallPolicies operation. The "output" return +// ListResourceSetsRequest generates a "aws/request.Request" representing the +// client's request for the ListResourceSets 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 ListThirdPartyFirewallFirewallPolicies for more information on using the ListThirdPartyFirewallFirewallPolicies +// See ListResourceSets for more information on using the ListResourceSets // 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 ListThirdPartyFirewallFirewallPoliciesRequest method. -// req, resp := client.ListThirdPartyFirewallFirewallPoliciesRequest(params) +// // Example sending a request using the ListResourceSetsRequest method. +// req, resp := client.ListResourceSetsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListThirdPartyFirewallFirewallPolicies -func (c *FMS) ListThirdPartyFirewallFirewallPoliciesRequest(input *ListThirdPartyFirewallFirewallPoliciesInput) (req *request.Request, output *ListThirdPartyFirewallFirewallPoliciesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListResourceSets +func (c *FMS) ListResourceSetsRequest(input *ListResourceSetsInput) (req *request.Request, output *ListResourceSetsOutput) { op := &request.Operation{ - Name: opListThirdPartyFirewallFirewallPolicies, + Name: opListResourceSets, HTTPMethod: "POST", HTTPPath: "/", - Paginator: &request.Paginator{ - InputTokens: []string{"NextToken"}, - OutputTokens: []string{"NextToken"}, - LimitToken: "MaxResults", - TruncationToken: "", - }, } if input == nil { - input = &ListThirdPartyFirewallFirewallPoliciesInput{} + input = &ListResourceSetsInput{} } - output = &ListThirdPartyFirewallFirewallPoliciesOutput{} + output = &ListResourceSetsOutput{} req = c.newRequest(op, input, output) return } -// ListThirdPartyFirewallFirewallPolicies API operation for Firewall Management Service. +// ListResourceSets API operation for Firewall Management Service. // -// Retrieves a list of all of the third-party firewall policies that are associated -// with the third-party firewall administrator's account. +// Returns an array of ResourceSetSummary objects. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Firewall Management Service's -// API operation ListThirdPartyFirewallFirewallPolicies for usage and error information. +// API operation ListResourceSets for usage and error information. // // Returned Error Types: // @@ -2538,60 +3007,252 @@ func (c *FMS) ListThirdPartyFirewallFirewallPoliciesRequest(input *ListThirdPart // - InvalidInputException // The parameters of the request were invalid. // -// - ResourceNotFoundException -// The specified resource was not found. -// // - InternalErrorException // The operation failed because of a system problem, even though the request // was valid. Retry your request. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListThirdPartyFirewallFirewallPolicies -func (c *FMS) ListThirdPartyFirewallFirewallPolicies(input *ListThirdPartyFirewallFirewallPoliciesInput) (*ListThirdPartyFirewallFirewallPoliciesOutput, error) { - req, out := c.ListThirdPartyFirewallFirewallPoliciesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListResourceSets +func (c *FMS) ListResourceSets(input *ListResourceSetsInput) (*ListResourceSetsOutput, error) { + req, out := c.ListResourceSetsRequest(input) return out, req.Send() } -// ListThirdPartyFirewallFirewallPoliciesWithContext is the same as ListThirdPartyFirewallFirewallPolicies with the addition of +// ListResourceSetsWithContext is the same as ListResourceSets with the addition of // the ability to pass a context and additional request options. // -// See ListThirdPartyFirewallFirewallPolicies for details on how to use this API operation. +// See ListResourceSets 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 *FMS) ListThirdPartyFirewallFirewallPoliciesWithContext(ctx aws.Context, input *ListThirdPartyFirewallFirewallPoliciesInput, opts ...request.Option) (*ListThirdPartyFirewallFirewallPoliciesOutput, error) { - req, out := c.ListThirdPartyFirewallFirewallPoliciesRequest(input) +func (c *FMS) ListResourceSetsWithContext(ctx aws.Context, input *ListResourceSetsInput, opts ...request.Option) (*ListResourceSetsOutput, error) { + req, out := c.ListResourceSetsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListThirdPartyFirewallFirewallPoliciesPages iterates over the pages of a ListThirdPartyFirewallFirewallPolicies operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. // -// See ListThirdPartyFirewallFirewallPolicies method for more information on how to use this operation. +// 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. // -// Note: This operation can generate multiple requests to a service. +// See ListTagsForResource for more information on using the ListTagsForResource +// API call, and error handling. // -// // Example iterating over at most 3 pages of a ListThirdPartyFirewallFirewallPolicies operation. -// pageNum := 0 -// err := client.ListThirdPartyFirewallFirewallPoliciesPages(params, -// func(page *fms.ListThirdPartyFirewallFirewallPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -func (c *FMS) ListThirdPartyFirewallFirewallPoliciesPages(input *ListThirdPartyFirewallFirewallPoliciesInput, fn func(*ListThirdPartyFirewallFirewallPoliciesOutput, bool) bool) error { - return c.ListThirdPartyFirewallFirewallPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListThirdPartyFirewallFirewallPoliciesPagesWithContext same as ListThirdPartyFirewallFirewallPoliciesPages except -// it takes a Context and allows setting request options on the pages. +// 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. // -// 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 +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListTagsForResource +func (c *FMS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for Firewall Management Service. +// +// Retrieves the list of tags for the specified Amazon Web Services resource. +// +// 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 Firewall Management Service's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListTagsForResource +func (c *FMS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource 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 *FMS) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListThirdPartyFirewallFirewallPolicies = "ListThirdPartyFirewallFirewallPolicies" + +// ListThirdPartyFirewallFirewallPoliciesRequest generates a "aws/request.Request" representing the +// client's request for the ListThirdPartyFirewallFirewallPolicies 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 ListThirdPartyFirewallFirewallPolicies for more information on using the ListThirdPartyFirewallFirewallPolicies +// 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 ListThirdPartyFirewallFirewallPoliciesRequest method. +// req, resp := client.ListThirdPartyFirewallFirewallPoliciesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListThirdPartyFirewallFirewallPolicies +func (c *FMS) ListThirdPartyFirewallFirewallPoliciesRequest(input *ListThirdPartyFirewallFirewallPoliciesInput) (req *request.Request, output *ListThirdPartyFirewallFirewallPoliciesOutput) { + op := &request.Operation{ + Name: opListThirdPartyFirewallFirewallPolicies, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListThirdPartyFirewallFirewallPoliciesInput{} + } + + output = &ListThirdPartyFirewallFirewallPoliciesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListThirdPartyFirewallFirewallPolicies API operation for Firewall Management Service. +// +// Retrieves a list of all of the third-party firewall policies that are associated +// with the third-party firewall administrator's account. +// +// 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 Firewall Management Service's +// API operation ListThirdPartyFirewallFirewallPolicies for usage and error information. +// +// Returned Error Types: +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListThirdPartyFirewallFirewallPolicies +func (c *FMS) ListThirdPartyFirewallFirewallPolicies(input *ListThirdPartyFirewallFirewallPoliciesInput) (*ListThirdPartyFirewallFirewallPoliciesOutput, error) { + req, out := c.ListThirdPartyFirewallFirewallPoliciesRequest(input) + return out, req.Send() +} + +// ListThirdPartyFirewallFirewallPoliciesWithContext is the same as ListThirdPartyFirewallFirewallPolicies with the addition of +// the ability to pass a context and additional request options. +// +// See ListThirdPartyFirewallFirewallPolicies 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 *FMS) ListThirdPartyFirewallFirewallPoliciesWithContext(ctx aws.Context, input *ListThirdPartyFirewallFirewallPoliciesInput, opts ...request.Option) (*ListThirdPartyFirewallFirewallPoliciesOutput, error) { + req, out := c.ListThirdPartyFirewallFirewallPoliciesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListThirdPartyFirewallFirewallPoliciesPages iterates over the pages of a ListThirdPartyFirewallFirewallPolicies operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListThirdPartyFirewallFirewallPolicies method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListThirdPartyFirewallFirewallPolicies operation. +// pageNum := 0 +// err := client.ListThirdPartyFirewallFirewallPoliciesPages(params, +// func(page *fms.ListThirdPartyFirewallFirewallPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *FMS) ListThirdPartyFirewallFirewallPoliciesPages(input *ListThirdPartyFirewallFirewallPoliciesInput, fn func(*ListThirdPartyFirewallFirewallPoliciesOutput, bool) bool) error { + return c.ListThirdPartyFirewallFirewallPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListThirdPartyFirewallFirewallPoliciesPagesWithContext same as ListThirdPartyFirewallFirewallPoliciesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. func (c *FMS) ListThirdPartyFirewallFirewallPoliciesPagesWithContext(ctx aws.Context, input *ListThirdPartyFirewallFirewallPoliciesInput, fn func(*ListThirdPartyFirewallFirewallPoliciesOutput, bool) bool, opts ...request.Option) error { @@ -3047,64 +3708,63 @@ func (c *FMS) PutProtocolsListWithContext(ctx aws.Context, input *PutProtocolsLi return out, req.Send() } -const opTagResource = "TagResource" +const opPutResourceSet = "PutResourceSet" -// TagResourceRequest generates a "aws/request.Request" representing the -// client's request for the TagResource operation. The "output" return +// PutResourceSetRequest generates a "aws/request.Request" representing the +// client's request for the PutResourceSet 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 TagResource for more information on using the TagResource +// See PutResourceSet for more information on using the PutResourceSet // 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 TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) +// // Example sending a request using the PutResourceSetRequest method. +// req, resp := client.PutResourceSetRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/TagResource -func (c *FMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutResourceSet +func (c *FMS) PutResourceSetRequest(input *PutResourceSetInput) (req *request.Request, output *PutResourceSetOutput) { op := &request.Operation{ - Name: opTagResource, + Name: opPutResourceSet, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &TagResourceInput{} + input = &PutResourceSetInput{} } - output = &TagResourceOutput{} + output = &PutResourceSetOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TagResource API operation for Firewall Management Service. +// PutResourceSet API operation for Firewall Management Service. // -// Adds one or more tags to an Amazon Web Services resource. +// Creates the resource set. +// +// An Firewall Manager resource set defines the resources to import into an +// Firewall Manager policy from another Amazon Web Services service. // // 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 Firewall Management Service's -// API operation TagResource for usage and error information. +// API operation PutResourceSet for usage and error information. // // Returned Error Types: // -// - ResourceNotFoundException -// The specified resource was not found. -// // - InvalidOperationException // The operation failed because there was nothing to do or the operation wasn't // possible. For example, you might have submitted an AssociateAdminAccount @@ -3113,10 +3773,6 @@ func (c *FMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // that you need to enable for the Firewall Manager administrator account and // for Organizations before you can access it. // -// - InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. -// // - InvalidInputException // The parameters of the request were invalid. // @@ -3126,56 +3782,161 @@ func (c *FMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) // in the WAF Developer Guide. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/TagResource -func (c *FMS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutResourceSet +func (c *FMS) PutResourceSet(input *PutResourceSetInput) (*PutResourceSetOutput, error) { + req, out := c.PutResourceSetRequest(input) return out, req.Send() } -// TagResourceWithContext is the same as TagResource with the addition of +// PutResourceSetWithContext is the same as PutResourceSet with the addition of // the ability to pass a context and additional request options. // -// See TagResource for details on how to use this API operation. +// See PutResourceSet 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 *FMS) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +func (c *FMS) PutResourceSetWithContext(ctx aws.Context, input *PutResourceSetInput, opts ...request.Option) (*PutResourceSetOutput, error) { + req, out := c.PutResourceSetRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUntagResource = "UntagResource" +const opTagResource = "TagResource" -// UntagResourceRequest generates a "aws/request.Request" representing the -// client's request for the UntagResource operation. The "output" return +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource 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 UntagResource for more information on using the UntagResource +// See TagResource for more information on using the TagResource // 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 UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/UntagResource -func (c *FMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/TagResource +func (c *FMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ - Name: opUntagResource, + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for Firewall Management Service. +// +// Adds one or more tags to an Amazon Web Services resource. +// +// 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 Firewall Management Service's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// - LimitExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// policy objects that you can create for an Amazon Web Services account. For +// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) +// in the WAF Developer Guide. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/TagResource +func (c *FMS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource 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 *FMS) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource 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 UntagResource for more information on using the UntagResource +// 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 UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/UntagResource +func (c *FMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, HTTPMethod: "POST", HTTPPath: "/", } @@ -3863,6 +4624,226 @@ func (s *AwsVPCSecurityGroupViolation) SetViolationTargetDescription(v string) * return s } +type BatchAssociateResourceInput struct { + _ struct{} `type:"structure"` + + // The uniform resource identifiers (URIs) of resources that should be associated + // to the resource set. The URIs must be Amazon Resource Names (ARNs). + // + // Items is a required field + Items []*string `type:"list" required:"true"` + + // A unique identifier for the resource set, used in a TODO to refer to the + // resource set. + // + // ResourceSetIdentifier is a required field + ResourceSetIdentifier *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchAssociateResourceInput) 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 BatchAssociateResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchAssociateResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchAssociateResourceInput"} + if s.Items == nil { + invalidParams.Add(request.NewErrParamRequired("Items")) + } + if s.ResourceSetIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceSetIdentifier")) + } + if s.ResourceSetIdentifier != nil && len(*s.ResourceSetIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceSetIdentifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetItems sets the Items field's value. +func (s *BatchAssociateResourceInput) SetItems(v []*string) *BatchAssociateResourceInput { + s.Items = v + return s +} + +// SetResourceSetIdentifier sets the ResourceSetIdentifier field's value. +func (s *BatchAssociateResourceInput) SetResourceSetIdentifier(v string) *BatchAssociateResourceInput { + s.ResourceSetIdentifier = &v + return s +} + +type BatchAssociateResourceOutput struct { + _ struct{} `type:"structure"` + + // The resources that failed to associate to the resource set. + // + // FailedItems is a required field + FailedItems []*FailedItem `type:"list" required:"true"` + + // A unique identifier for the resource set, used in a TODO to refer to the + // resource set. + // + // ResourceSetIdentifier is a required field + ResourceSetIdentifier *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchAssociateResourceOutput) 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 BatchAssociateResourceOutput) GoString() string { + return s.String() +} + +// SetFailedItems sets the FailedItems field's value. +func (s *BatchAssociateResourceOutput) SetFailedItems(v []*FailedItem) *BatchAssociateResourceOutput { + s.FailedItems = v + return s +} + +// SetResourceSetIdentifier sets the ResourceSetIdentifier field's value. +func (s *BatchAssociateResourceOutput) SetResourceSetIdentifier(v string) *BatchAssociateResourceOutput { + s.ResourceSetIdentifier = &v + return s +} + +type BatchDisassociateResourceInput struct { + _ struct{} `type:"structure"` + + // The uniform resource identifiers (URI) of resources that should be disassociated + // from the resource set. The URIs must be Amazon Resource Names (ARNs). + // + // Items is a required field + Items []*string `type:"list" required:"true"` + + // A unique identifier for the resource set, used in a TODO to refer to the + // resource set. + // + // ResourceSetIdentifier is a required field + ResourceSetIdentifier *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchDisassociateResourceInput) 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 BatchDisassociateResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchDisassociateResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchDisassociateResourceInput"} + if s.Items == nil { + invalidParams.Add(request.NewErrParamRequired("Items")) + } + if s.ResourceSetIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceSetIdentifier")) + } + if s.ResourceSetIdentifier != nil && len(*s.ResourceSetIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceSetIdentifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetItems sets the Items field's value. +func (s *BatchDisassociateResourceInput) SetItems(v []*string) *BatchDisassociateResourceInput { + s.Items = v + return s +} + +// SetResourceSetIdentifier sets the ResourceSetIdentifier field's value. +func (s *BatchDisassociateResourceInput) SetResourceSetIdentifier(v string) *BatchDisassociateResourceInput { + s.ResourceSetIdentifier = &v + return s +} + +type BatchDisassociateResourceOutput struct { + _ struct{} `type:"structure"` + + // The resources that failed to disassociate from the resource set. + // + // FailedItems is a required field + FailedItems []*FailedItem `type:"list" required:"true"` + + // A unique identifier for the resource set, used in a TODO to refer to the + // resource set. + // + // ResourceSetIdentifier is a required field + ResourceSetIdentifier *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchDisassociateResourceOutput) 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 BatchDisassociateResourceOutput) GoString() string { + return s.String() +} + +// SetFailedItems sets the FailedItems field's value. +func (s *BatchDisassociateResourceOutput) SetFailedItems(v []*FailedItem) *BatchDisassociateResourceOutput { + s.FailedItems = v + return s +} + +// SetResourceSetIdentifier sets the ResourceSetIdentifier field's value. +func (s *BatchDisassociateResourceOutput) SetResourceSetIdentifier(v string) *BatchDisassociateResourceOutput { + s.ResourceSetIdentifier = &v + return s +} + // Details of the resource that is not protected by the policy. type ComplianceViolator struct { _ struct{} `type:"structure"` @@ -4218,8 +5199,14 @@ func (s DeleteProtocolsListOutput) GoString() string { return s.String() } -type DisassociateAdminAccountInput struct { +type DeleteResourceSetInput struct { _ struct{} `type:"structure"` + + // A unique identifier for the resource set, used in a TODO to refer to the + // resource set. + // + // Identifier is a required field + Identifier *string `min:"22" type:"string" required:"true"` } // String returns the string representation. @@ -4227,7 +5214,7 @@ type DisassociateAdminAccountInput struct { // 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 DisassociateAdminAccountInput) String() string { +func (s DeleteResourceSetInput) String() string { return awsutil.Prettify(s) } @@ -4236,16 +5223,82 @@ func (s DisassociateAdminAccountInput) String() string { // 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 DisassociateAdminAccountInput) GoString() string { +func (s DeleteResourceSetInput) GoString() string { return s.String() } -type DisassociateAdminAccountOutput struct { - _ struct{} `type:"structure"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteResourceSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteResourceSetInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 22 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 22)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// String returns the string representation. -// +// SetIdentifier sets the Identifier field's value. +func (s *DeleteResourceSetInput) SetIdentifier(v string) *DeleteResourceSetInput { + s.Identifier = &v + return s +} + +type DeleteResourceSetOutput struct { + _ struct{} `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 DeleteResourceSetOutput) 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 DeleteResourceSetOutput) GoString() string { + return s.String() +} + +type DisassociateAdminAccountInput struct { + _ struct{} `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 DisassociateAdminAccountInput) 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 DisassociateAdminAccountInput) GoString() string { + return s.String() +} + +type DisassociateAdminAccountOutput struct { + _ struct{} `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". @@ -4340,6 +5393,66 @@ func (s *DisassociateThirdPartyFirewallOutput) SetThirdPartyFirewallStatus(v str return s } +// A resource in the organization that's available to be associated with a Firewall +// Manager resource set. +type DiscoveredResource struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services account ID associated with the discovered resource. + AccountId *string `min:"1" type:"string"` + + // The name of the discovered resource. + Name *string `min:"1" type:"string"` + + // The type of the discovered resource. + Type *string `min:"1" type:"string"` + + // The universal resource identifier (URI) of the discovered resource. + URI *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DiscoveredResource) 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 DiscoveredResource) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *DiscoveredResource) SetAccountId(v string) *DiscoveredResource { + s.AccountId = &v + return s +} + +// SetName sets the Name field's value. +func (s *DiscoveredResource) SetName(v string) *DiscoveredResource { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *DiscoveredResource) SetType(v string) *DiscoveredResource { + s.Type = &v + return s +} + +// SetURI sets the URI field's value. +func (s *DiscoveredResource) SetURI(v string) *DiscoveredResource { + s.URI = &v + return s +} + // A DNS Firewall rule group that Firewall Manager tried to associate with a // VPC is already associated with the VPC and can't be associated again. type DnsDuplicateRuleGroupViolation struct { @@ -5153,6 +6266,48 @@ func (s *FMSPolicyUpdateFirewallCreationConfigAction) SetFirewallCreationConfig( return s } +// Details of a resource that failed when trying to update it's association +// to a resource set. +type FailedItem struct { + _ struct{} `type:"structure"` + + // The reason the resource's association could not be updated. + Reason *string `type:"string" enum:"FailedItemReason"` + + // The univeral resource indicator (URI) of the resource that failed. + URI *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FailedItem) 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 FailedItem) GoString() string { + return s.String() +} + +// SetReason sets the Reason field's value. +func (s *FailedItem) SetReason(v string) *FailedItem { + s.Reason = &v + return s +} + +// SetURI sets the URI field's value. +func (s *FailedItem) SetURI(v string) *FailedItem { + s.URI = &v + return s +} + // Contains details about the firewall subnet that violates the policy scope. type FirewallSubnetIsOutOfScopeViolation struct { _ struct{} `type:"structure"` @@ -5992,6 +7147,100 @@ func (s *GetProtocolsListOutput) SetProtocolsListArn(v string) *GetProtocolsList return s } +type GetResourceSetInput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the resource set, used in a TODO to refer to the + // resource set. + // + // Identifier is a required field + Identifier *string `min:"22" 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 GetResourceSetInput) 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 GetResourceSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetResourceSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetResourceSetInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 22 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 22)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIdentifier sets the Identifier field's value. +func (s *GetResourceSetInput) SetIdentifier(v string) *GetResourceSetInput { + s.Identifier = &v + return s +} + +type GetResourceSetOutput struct { + _ struct{} `type:"structure"` + + // Information about the specified resource set. + // + // ResourceSet is a required field + ResourceSet *ResourceSet `type:"structure" required:"true"` + + // The Amazon Resource Name (ARN) of the resource set. + // + // ResourceSetArn is a required field + ResourceSetArn *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetResourceSetOutput) 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 GetResourceSetOutput) GoString() string { + return s.String() +} + +// SetResourceSet sets the ResourceSet field's value. +func (s *GetResourceSetOutput) SetResourceSet(v *ResourceSet) *GetResourceSetOutput { + s.ResourceSet = v + return s +} + +// SetResourceSetArn sets the ResourceSetArn field's value. +func (s *GetResourceSetOutput) SetResourceSetArn(v string) *GetResourceSetOutput { + s.ResourceSetArn = &v + return s +} + type GetThirdPartyFirewallAssociationStatusInput struct { _ struct{} `type:"structure"` @@ -6818,6 +8067,145 @@ func (s *ListComplianceStatusOutput) SetPolicyComplianceStatusList(v []*PolicyCo return s } +type ListDiscoveredResourcesInput struct { + _ struct{} `type:"structure"` + + // The maximum number of objects that you want Firewall Manager to return for + // this request. If more objects are available, in the response, Firewall Manager + // provides a NextToken value that you can use in a subsequent call to get the + // next batch of objects. + MaxResults *int64 `min:"1" type:"integer"` + + // The Amazon Web Services account IDs to discover resources in. Only one account + // is supported per request. The account must be a member of your organization. + // + // MemberAccountIds is a required field + MemberAccountIds []*string `type:"list" required:"true"` + + // When you request a list of objects with a MaxResults setting, if the number + // of objects that are still available for retrieval exceeds the maximum you + // requested, Firewall Manager returns a NextToken value in the response. To + // retrieve the next batch of objects, use the token returned from the prior + // request in your next request. + NextToken *string `min:"1" type:"string"` + + // The type of resources to discover. + // + // ResourceType is a required field + ResourceType *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListDiscoveredResourcesInput) 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 ListDiscoveredResourcesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDiscoveredResourcesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDiscoveredResourcesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.MemberAccountIds == nil { + invalidParams.Add(request.NewErrParamRequired("MemberAccountIds")) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.ResourceType == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceType")) + } + if s.ResourceType != nil && len(*s.ResourceType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceType", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListDiscoveredResourcesInput) SetMaxResults(v int64) *ListDiscoveredResourcesInput { + s.MaxResults = &v + return s +} + +// SetMemberAccountIds sets the MemberAccountIds field's value. +func (s *ListDiscoveredResourcesInput) SetMemberAccountIds(v []*string) *ListDiscoveredResourcesInput { + s.MemberAccountIds = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDiscoveredResourcesInput) SetNextToken(v string) *ListDiscoveredResourcesInput { + s.NextToken = &v + return s +} + +// SetResourceType sets the ResourceType field's value. +func (s *ListDiscoveredResourcesInput) SetResourceType(v string) *ListDiscoveredResourcesInput { + s.ResourceType = &v + return s +} + +type ListDiscoveredResourcesOutput struct { + _ struct{} `type:"structure"` + + // Details of the resources that were discovered. + Items []*DiscoveredResource `type:"list"` + + // When you request a list of objects with a MaxResults setting, if the number + // of objects that are still available for retrieval exceeds the maximum you + // requested, Firewall Manager returns a NextToken value in the response. To + // retrieve the next batch of objects, use the token returned from the prior + // request in your next request. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListDiscoveredResourcesOutput) 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 ListDiscoveredResourcesOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *ListDiscoveredResourcesOutput) SetItems(v []*DiscoveredResource) *ListDiscoveredResourcesOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDiscoveredResourcesOutput) SetNextToken(v string) *ListDiscoveredResourcesOutput { + s.NextToken = &v + return s +} + type ListMemberAccountsInput struct { _ struct{} `type:"structure"` @@ -7102,28 +8490,262 @@ func (s *ListProtocolsListsInput) SetDefaultLists(v bool) *ListProtocolsListsInp } // SetMaxResults sets the MaxResults field's value. -func (s *ListProtocolsListsInput) SetMaxResults(v int64) *ListProtocolsListsInput { +func (s *ListProtocolsListsInput) SetMaxResults(v int64) *ListProtocolsListsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListProtocolsListsInput) SetNextToken(v string) *ListProtocolsListsInput { + s.NextToken = &v + return s +} + +type ListProtocolsListsOutput struct { + _ struct{} `type:"structure"` + + // If you specify a value for MaxResults in your list request, and you have + // more objects than the maximum, Firewall Manager returns this token in the + // response. You can use this token in subsequent requests to retrieve the next + // batch of objects. + NextToken *string `min:"1" type:"string"` + + // An array of ProtocolsListDataSummary objects. + ProtocolsLists []*ProtocolsListDataSummary `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 ListProtocolsListsOutput) 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 ListProtocolsListsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListProtocolsListsOutput) SetNextToken(v string) *ListProtocolsListsOutput { + s.NextToken = &v + return s +} + +// SetProtocolsLists sets the ProtocolsLists field's value. +func (s *ListProtocolsListsOutput) SetProtocolsLists(v []*ProtocolsListDataSummary) *ListProtocolsListsOutput { + s.ProtocolsLists = v + return s +} + +type ListResourceSetResourcesInput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the resource set, used in a TODO to refer to the + // resource set. + // + // Identifier is a required field + Identifier *string `min:"1" type:"string" required:"true"` + + // The maximum number of objects that you want Firewall Manager to return for + // this request. If more objects are available, in the response, Firewall Manager + // provides a NextToken value that you can use in a subsequent call to get the + // next batch of objects. + MaxResults *int64 `min:"1" type:"integer"` + + // When you request a list of objects with a MaxResults setting, if the number + // of objects that are still available for retrieval exceeds the maximum you + // requested, Firewall Manager returns a NextToken value in the response. To + // retrieve the next batch of objects, use the token returned from the prior + // request in your next request. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListResourceSetResourcesInput) 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 ListResourceSetResourcesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListResourceSetResourcesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListResourceSetResourcesInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIdentifier sets the Identifier field's value. +func (s *ListResourceSetResourcesInput) SetIdentifier(v string) *ListResourceSetResourcesInput { + s.Identifier = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListResourceSetResourcesInput) SetMaxResults(v int64) *ListResourceSetResourcesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResourceSetResourcesInput) SetNextToken(v string) *ListResourceSetResourcesInput { + s.NextToken = &v + return s +} + +type ListResourceSetResourcesOutput struct { + _ struct{} `type:"structure"` + + // An array of the associated resources' uniform resource identifiers (URI). + // + // Items is a required field + Items []*Resource `type:"list" required:"true"` + + // When you request a list of objects with a MaxResults setting, if the number + // of objects that are still available for retrieval exceeds the maximum you + // requested, Firewall Manager returns a NextToken value in the response. To + // retrieve the next batch of objects, use the token returned from the prior + // request in your next request. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListResourceSetResourcesOutput) 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 ListResourceSetResourcesOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *ListResourceSetResourcesOutput) SetItems(v []*Resource) *ListResourceSetResourcesOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResourceSetResourcesOutput) SetNextToken(v string) *ListResourceSetResourcesOutput { + s.NextToken = &v + return s +} + +type ListResourceSetsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of objects that you want Firewall Manager to return for + // this request. If more objects are available, in the response, Firewall Manager + // provides a NextToken value that you can use in a subsequent call to get the + // next batch of objects. + MaxResults *int64 `min:"1" type:"integer"` + + // When you request a list of objects with a MaxResults setting, if the number + // of objects that are still available for retrieval exceeds the maximum you + // requested, Firewall Manager returns a NextToken value in the response. To + // retrieve the next batch of objects, use the token returned from the prior + // request in your next request. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListResourceSetsInput) 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 ListResourceSetsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListResourceSetsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListResourceSetsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListResourceSetsInput) SetMaxResults(v int64) *ListResourceSetsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListProtocolsListsInput) SetNextToken(v string) *ListProtocolsListsInput { +func (s *ListResourceSetsInput) SetNextToken(v string) *ListResourceSetsInput { s.NextToken = &v return s } -type ListProtocolsListsOutput struct { +type ListResourceSetsOutput struct { _ struct{} `type:"structure"` - // If you specify a value for MaxResults in your list request, and you have - // more objects than the maximum, Firewall Manager returns this token in the - // response. You can use this token in subsequent requests to retrieve the next - // batch of objects. + // When you request a list of objects with a MaxResults setting, if the number + // of objects that are still available for retrieval exceeds the maximum you + // requested, Firewall Manager returns a NextToken value in the response. To + // retrieve the next batch of objects, use the token returned from the prior + // request in your next request. NextToken *string `min:"1" type:"string"` - // An array of ProtocolsListDataSummary objects. - ProtocolsLists []*ProtocolsListDataSummary `type:"list"` + // An array of ResourceSetSummary objects. + ResourceSets []*ResourceSetSummary `type:"list"` } // String returns the string representation. @@ -7131,7 +8753,7 @@ type ListProtocolsListsOutput struct { // 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 ListProtocolsListsOutput) String() string { +func (s ListResourceSetsOutput) String() string { return awsutil.Prettify(s) } @@ -7140,19 +8762,19 @@ func (s ListProtocolsListsOutput) String() string { // 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 ListProtocolsListsOutput) GoString() string { +func (s ListResourceSetsOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListProtocolsListsOutput) SetNextToken(v string) *ListProtocolsListsOutput { +func (s *ListResourceSetsOutput) SetNextToken(v string) *ListResourceSetsOutput { s.NextToken = &v return s } -// SetProtocolsLists sets the ProtocolsLists field's value. -func (s *ListProtocolsListsOutput) SetProtocolsLists(v []*ProtocolsListDataSummary) *ListProtocolsListsOutput { - s.ProtocolsLists = v +// SetResourceSets sets the ResourceSets field's value. +func (s *ListResourceSetsOutput) SetResourceSets(v []*ResourceSetSummary) *ListResourceSetsOutput { + s.ResourceSets = v return s } @@ -8471,6 +10093,9 @@ type Policy struct { // “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]}. IncludeMap map[string][]*string `type:"map"` + // The definition of the Network Firewall firewall policy. + PolicyDescription *string `type:"string"` + // The ID of the Firewall Manager policy. PolicyId *string `min:"36" type:"string"` @@ -8490,6 +10115,9 @@ type Policy struct { // RemediationEnabled is a required field RemediationEnabled *bool `type:"boolean" required:"true"` + // The unique identifiers of the resource sets used by the policy. + ResourceSetIds []*string `type:"list"` + // An array of ResourceTag objects. ResourceTags []*ResourceTag `type:"list"` @@ -8613,6 +10241,12 @@ func (s *Policy) SetIncludeMap(v map[string][]*string) *Policy { return s } +// SetPolicyDescription sets the PolicyDescription field's value. +func (s *Policy) SetPolicyDescription(v string) *Policy { + s.PolicyDescription = &v + return s +} + // SetPolicyId sets the PolicyId field's value. func (s *Policy) SetPolicyId(v string) *Policy { s.PolicyId = &v @@ -8637,6 +10271,12 @@ func (s *Policy) SetRemediationEnabled(v bool) *Policy { return s } +// SetResourceSetIds sets the ResourceSetIds field's value. +func (s *Policy) SetResourceSetIds(v []*string) *Policy { + s.ResourceSetIds = v + return s +} + // SetResourceTags sets the ResourceTags field's value. func (s *Policy) SetResourceTags(v []*ResourceTag) *Policy { s.ResourceTags = v @@ -9681,6 +11321,124 @@ func (s *PutProtocolsListOutput) SetProtocolsListArn(v string) *PutProtocolsList return s } +type PutResourceSetInput struct { + _ struct{} `type:"structure"` + + // Details about the resource set to be created or updated.> + // + // ResourceSet is a required field + ResourceSet *ResourceSet `type:"structure" required:"true"` + + // Retrieves the tags associated with the specified resource set. Tags are key:value + // pairs that you can use to categorize and manage your resources, for purposes + // like billing. For example, you might set the tag key to "customer" and the + // value to the customer name or ID. You can specify one or more tags to add + // to each Amazon Web Services resource, up to 50 tags for a resource. + TagList []*Tag `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 PutResourceSetInput) 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 PutResourceSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutResourceSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutResourceSetInput"} + if s.ResourceSet == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceSet")) + } + if s.ResourceSet != nil { + if err := s.ResourceSet.Validate(); err != nil { + invalidParams.AddNested("ResourceSet", err.(request.ErrInvalidParams)) + } + } + if s.TagList != nil { + for i, v := range s.TagList { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TagList", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceSet sets the ResourceSet field's value. +func (s *PutResourceSetInput) SetResourceSet(v *ResourceSet) *PutResourceSetInput { + s.ResourceSet = v + return s +} + +// SetTagList sets the TagList field's value. +func (s *PutResourceSetInput) SetTagList(v []*Tag) *PutResourceSetInput { + s.TagList = v + return s +} + +type PutResourceSetOutput struct { + _ struct{} `type:"structure"` + + // Details about the resource set. + // + // ResourceSet is a required field + ResourceSet *ResourceSet `type:"structure" required:"true"` + + // The Amazon Resource Name (ARN) of the resource set. + // + // ResourceSetArn is a required field + ResourceSetArn *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutResourceSetOutput) 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 PutResourceSetOutput) GoString() string { + return s.String() +} + +// SetResourceSet sets the ResourceSet field's value. +func (s *PutResourceSetOutput) SetResourceSet(v *ResourceSet) *PutResourceSetOutput { + s.ResourceSet = v + return s +} + +// SetResourceSetArn sets the ResourceSetArn field's value. +func (s *PutResourceSetOutput) SetResourceSetArn(v string) *PutResourceSetOutput { + s.ResourceSetArn = &v + return s +} + // Information about an individual action you can take to remediate a violation. type RemediationAction struct { _ struct{} `type:"structure"` @@ -9827,6 +11585,50 @@ func (s *RemediationActionWithOrder) SetRemediationAction(v *RemediationAction) return s } +// Details of a resource that is associated to an Firewall Manager resource +// set. +type Resource struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services account ID that the associated resource belongs to. + AccountId *string `min:"1" type:"string"` + + // The resource's universal resource indicator (URI). + // + // URI is a required field + URI *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Resource) 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 Resource) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *Resource) SetAccountId(v string) *Resource { + s.AccountId = &v + return s +} + +// SetURI sets the URI field's value. +func (s *Resource) SetURI(v string) *Resource { + s.URI = &v + return s +} + // The specified resource was not found. type ResourceNotFoundException struct { _ struct{} `type:"structure"` @@ -9891,6 +11693,195 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } +// A set of resources to include in a policy. +type ResourceSet struct { + _ struct{} `type:"structure"` + + // A description of the resource set. + Description *string `type:"string"` + + // A unique identifier for the resource set. This ID is returned in the responses + // to create and list commands. You provide it to operations like update and + // delete. + Id *string `min:"22" type:"string"` + + // The last time that the resource set was changed. + LastUpdateTime *time.Time `type:"timestamp"` + + // The descriptive name of the resource set. You can't change the name of a + // resource set after you create it. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // Determines the resources that can be associated to the resource set. Depending + // on your setting for max results and the number of resource sets, a single + // call might not return the full list. + // + // ResourceTypeList is a required field + ResourceTypeList []*string `type:"list" required:"true"` + + // An optional token that you can use for optimistic locking. Firewall Manager + // returns a token to your requests that access the resource set. The token + // marks the state of the resource set resource at the time of the request. + // Update tokens are not allowed when creating a resource set. After creation, + // each subsequent update call to the resource set requires the update token. + // + // To make an unconditional change to the resource set, omit the token in your + // update request. Without the token, Firewall Manager performs your updates + // regardless of whether the resource set has changed since you last retrieved + // it. + // + // To make a conditional change to the resource set, provide the token in your + // update request. Firewall Manager uses the token to ensure that the resource + // set hasn't changed since you last retrieved it. If it has changed, the operation + // fails with an InvalidTokenException. If this happens, retrieve the resource + // set again to get a current copy of it with a new token. Reapply your changes + // as needed, then try the operation again using the new token. + UpdateToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceSet) 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 ResourceSet) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ResourceSet) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResourceSet"} + if s.Id != nil && len(*s.Id) < 22 { + invalidParams.Add(request.NewErrParamMinLen("Id", 22)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.ResourceTypeList == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceTypeList")) + } + if s.UpdateToken != nil && len(*s.UpdateToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UpdateToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *ResourceSet) SetDescription(v string) *ResourceSet { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *ResourceSet) SetId(v string) *ResourceSet { + s.Id = &v + return s +} + +// SetLastUpdateTime sets the LastUpdateTime field's value. +func (s *ResourceSet) SetLastUpdateTime(v time.Time) *ResourceSet { + s.LastUpdateTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *ResourceSet) SetName(v string) *ResourceSet { + s.Name = &v + return s +} + +// SetResourceTypeList sets the ResourceTypeList field's value. +func (s *ResourceSet) SetResourceTypeList(v []*string) *ResourceSet { + s.ResourceTypeList = v + return s +} + +// SetUpdateToken sets the UpdateToken field's value. +func (s *ResourceSet) SetUpdateToken(v string) *ResourceSet { + s.UpdateToken = &v + return s +} + +// Summarizes the resource sets used in a policy. +type ResourceSetSummary struct { + _ struct{} `type:"structure"` + + // A description of the resource set. + Description *string `type:"string"` + + // A unique identifier for the resource set. This ID is returned in the responses + // to create and list commands. You provide it to operations like update and + // delete. + Id *string `min:"22" type:"string"` + + // The last time that the resource set was changed. + LastUpdateTime *time.Time `type:"timestamp"` + + // The descriptive name of the resource set. You can't change the name of a + // resource set after you create it. + Name *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceSetSummary) 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 ResourceSetSummary) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *ResourceSetSummary) SetDescription(v string) *ResourceSetSummary { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *ResourceSetSummary) SetId(v string) *ResourceSetSummary { + s.Id = &v + return s +} + +// SetLastUpdateTime sets the LastUpdateTime field's value. +func (s *ResourceSetSummary) SetLastUpdateTime(v time.Time) *ResourceSetSummary { + s.LastUpdateTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *ResourceSetSummary) SetName(v string) *ResourceSetSummary { + s.Name = &v + return s +} + // The resource tags that Firewall Manager uses to determine if a particular // resource should be included or excluded from the Firewall Manager policy. // Tags enable you to categorize your Amazon Web Services resources in different @@ -11577,6 +13568,38 @@ func DestinationType_Values() []string { } } +const ( + // FailedItemReasonNotValidArn is a FailedItemReason enum value + FailedItemReasonNotValidArn = "NOT_VALID_ARN" + + // FailedItemReasonNotValidPartition is a FailedItemReason enum value + FailedItemReasonNotValidPartition = "NOT_VALID_PARTITION" + + // FailedItemReasonNotValidRegion is a FailedItemReason enum value + FailedItemReasonNotValidRegion = "NOT_VALID_REGION" + + // FailedItemReasonNotValidService is a FailedItemReason enum value + FailedItemReasonNotValidService = "NOT_VALID_SERVICE" + + // FailedItemReasonNotValidResourceType is a FailedItemReason enum value + FailedItemReasonNotValidResourceType = "NOT_VALID_RESOURCE_TYPE" + + // FailedItemReasonNotValidAccountId is a FailedItemReason enum value + FailedItemReasonNotValidAccountId = "NOT_VALID_ACCOUNT_ID" +) + +// FailedItemReason_Values returns all elements of the FailedItemReason enum +func FailedItemReason_Values() []string { + return []string{ + FailedItemReasonNotValidArn, + FailedItemReasonNotValidPartition, + FailedItemReasonNotValidRegion, + FailedItemReasonNotValidService, + FailedItemReasonNotValidResourceType, + FailedItemReasonNotValidAccountId, + } +} + const ( // FirewallDeploymentModelCentralized is a FirewallDeploymentModel enum value FirewallDeploymentModelCentralized = "CENTRALIZED" @@ -11700,6 +13723,9 @@ const ( // SecurityServiceTypeThirdPartyFirewall is a SecurityServiceType enum value SecurityServiceTypeThirdPartyFirewall = "THIRD_PARTY_FIREWALL" + + // SecurityServiceTypeImportNetworkFirewall is a SecurityServiceType enum value + SecurityServiceTypeImportNetworkFirewall = "IMPORT_NETWORK_FIREWALL" ) // SecurityServiceType_Values returns all elements of the SecurityServiceType enum @@ -11714,6 +13740,7 @@ func SecurityServiceType_Values() []string { SecurityServiceTypeNetworkFirewall, SecurityServiceTypeDnsFirewall, SecurityServiceTypeThirdPartyFirewall, + SecurityServiceTypeImportNetworkFirewall, } } diff --git a/service/fms/fmsiface/interface.go b/service/fms/fmsiface/interface.go index 4810555713..8a70c6a81b 100644 --- a/service/fms/fmsiface/interface.go +++ b/service/fms/fmsiface/interface.go @@ -68,6 +68,14 @@ type FMSAPI interface { AssociateThirdPartyFirewallWithContext(aws.Context, *fms.AssociateThirdPartyFirewallInput, ...request.Option) (*fms.AssociateThirdPartyFirewallOutput, error) AssociateThirdPartyFirewallRequest(*fms.AssociateThirdPartyFirewallInput) (*request.Request, *fms.AssociateThirdPartyFirewallOutput) + BatchAssociateResource(*fms.BatchAssociateResourceInput) (*fms.BatchAssociateResourceOutput, error) + BatchAssociateResourceWithContext(aws.Context, *fms.BatchAssociateResourceInput, ...request.Option) (*fms.BatchAssociateResourceOutput, error) + BatchAssociateResourceRequest(*fms.BatchAssociateResourceInput) (*request.Request, *fms.BatchAssociateResourceOutput) + + BatchDisassociateResource(*fms.BatchDisassociateResourceInput) (*fms.BatchDisassociateResourceOutput, error) + BatchDisassociateResourceWithContext(aws.Context, *fms.BatchDisassociateResourceInput, ...request.Option) (*fms.BatchDisassociateResourceOutput, error) + BatchDisassociateResourceRequest(*fms.BatchDisassociateResourceInput) (*request.Request, *fms.BatchDisassociateResourceOutput) + DeleteAppsList(*fms.DeleteAppsListInput) (*fms.DeleteAppsListOutput, error) DeleteAppsListWithContext(aws.Context, *fms.DeleteAppsListInput, ...request.Option) (*fms.DeleteAppsListOutput, error) DeleteAppsListRequest(*fms.DeleteAppsListInput) (*request.Request, *fms.DeleteAppsListOutput) @@ -84,6 +92,10 @@ type FMSAPI interface { DeleteProtocolsListWithContext(aws.Context, *fms.DeleteProtocolsListInput, ...request.Option) (*fms.DeleteProtocolsListOutput, error) DeleteProtocolsListRequest(*fms.DeleteProtocolsListInput) (*request.Request, *fms.DeleteProtocolsListOutput) + DeleteResourceSet(*fms.DeleteResourceSetInput) (*fms.DeleteResourceSetOutput, error) + DeleteResourceSetWithContext(aws.Context, *fms.DeleteResourceSetInput, ...request.Option) (*fms.DeleteResourceSetOutput, error) + DeleteResourceSetRequest(*fms.DeleteResourceSetInput) (*request.Request, *fms.DeleteResourceSetOutput) + DisassociateAdminAccount(*fms.DisassociateAdminAccountInput) (*fms.DisassociateAdminAccountOutput, error) DisassociateAdminAccountWithContext(aws.Context, *fms.DisassociateAdminAccountInput, ...request.Option) (*fms.DisassociateAdminAccountOutput, error) DisassociateAdminAccountRequest(*fms.DisassociateAdminAccountInput) (*request.Request, *fms.DisassociateAdminAccountOutput) @@ -120,6 +132,10 @@ type FMSAPI interface { GetProtocolsListWithContext(aws.Context, *fms.GetProtocolsListInput, ...request.Option) (*fms.GetProtocolsListOutput, error) GetProtocolsListRequest(*fms.GetProtocolsListInput) (*request.Request, *fms.GetProtocolsListOutput) + GetResourceSet(*fms.GetResourceSetInput) (*fms.GetResourceSetOutput, error) + GetResourceSetWithContext(aws.Context, *fms.GetResourceSetInput, ...request.Option) (*fms.GetResourceSetOutput, error) + GetResourceSetRequest(*fms.GetResourceSetInput) (*request.Request, *fms.GetResourceSetOutput) + GetThirdPartyFirewallAssociationStatus(*fms.GetThirdPartyFirewallAssociationStatusInput) (*fms.GetThirdPartyFirewallAssociationStatusOutput, error) GetThirdPartyFirewallAssociationStatusWithContext(aws.Context, *fms.GetThirdPartyFirewallAssociationStatusInput, ...request.Option) (*fms.GetThirdPartyFirewallAssociationStatusOutput, error) GetThirdPartyFirewallAssociationStatusRequest(*fms.GetThirdPartyFirewallAssociationStatusInput) (*request.Request, *fms.GetThirdPartyFirewallAssociationStatusOutput) @@ -142,6 +158,10 @@ type FMSAPI interface { ListComplianceStatusPages(*fms.ListComplianceStatusInput, func(*fms.ListComplianceStatusOutput, bool) bool) error ListComplianceStatusPagesWithContext(aws.Context, *fms.ListComplianceStatusInput, func(*fms.ListComplianceStatusOutput, bool) bool, ...request.Option) error + ListDiscoveredResources(*fms.ListDiscoveredResourcesInput) (*fms.ListDiscoveredResourcesOutput, error) + ListDiscoveredResourcesWithContext(aws.Context, *fms.ListDiscoveredResourcesInput, ...request.Option) (*fms.ListDiscoveredResourcesOutput, error) + ListDiscoveredResourcesRequest(*fms.ListDiscoveredResourcesInput) (*request.Request, *fms.ListDiscoveredResourcesOutput) + ListMemberAccounts(*fms.ListMemberAccountsInput) (*fms.ListMemberAccountsOutput, error) ListMemberAccountsWithContext(aws.Context, *fms.ListMemberAccountsInput, ...request.Option) (*fms.ListMemberAccountsOutput, error) ListMemberAccountsRequest(*fms.ListMemberAccountsInput) (*request.Request, *fms.ListMemberAccountsOutput) @@ -163,6 +183,14 @@ type FMSAPI interface { ListProtocolsListsPages(*fms.ListProtocolsListsInput, func(*fms.ListProtocolsListsOutput, bool) bool) error ListProtocolsListsPagesWithContext(aws.Context, *fms.ListProtocolsListsInput, func(*fms.ListProtocolsListsOutput, bool) bool, ...request.Option) error + ListResourceSetResources(*fms.ListResourceSetResourcesInput) (*fms.ListResourceSetResourcesOutput, error) + ListResourceSetResourcesWithContext(aws.Context, *fms.ListResourceSetResourcesInput, ...request.Option) (*fms.ListResourceSetResourcesOutput, error) + ListResourceSetResourcesRequest(*fms.ListResourceSetResourcesInput) (*request.Request, *fms.ListResourceSetResourcesOutput) + + ListResourceSets(*fms.ListResourceSetsInput) (*fms.ListResourceSetsOutput, error) + ListResourceSetsWithContext(aws.Context, *fms.ListResourceSetsInput, ...request.Option) (*fms.ListResourceSetsOutput, error) + ListResourceSetsRequest(*fms.ListResourceSetsInput) (*request.Request, *fms.ListResourceSetsOutput) + ListTagsForResource(*fms.ListTagsForResourceInput) (*fms.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *fms.ListTagsForResourceInput, ...request.Option) (*fms.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*fms.ListTagsForResourceInput) (*request.Request, *fms.ListTagsForResourceOutput) @@ -190,6 +218,10 @@ type FMSAPI interface { PutProtocolsListWithContext(aws.Context, *fms.PutProtocolsListInput, ...request.Option) (*fms.PutProtocolsListOutput, error) PutProtocolsListRequest(*fms.PutProtocolsListInput) (*request.Request, *fms.PutProtocolsListOutput) + PutResourceSet(*fms.PutResourceSetInput) (*fms.PutResourceSetOutput, error) + PutResourceSetWithContext(aws.Context, *fms.PutResourceSetInput, ...request.Option) (*fms.PutResourceSetOutput, error) + PutResourceSetRequest(*fms.PutResourceSetInput) (*request.Request, *fms.PutResourceSetOutput) + TagResource(*fms.TagResourceInput) (*fms.TagResourceOutput, error) TagResourceWithContext(aws.Context, *fms.TagResourceInput, ...request.Option) (*fms.TagResourceOutput, error) TagResourceRequest(*fms.TagResourceInput) (*request.Request, *fms.TagResourceOutput) diff --git a/service/lightsail/api.go b/service/lightsail/api.go index c4d38ebd91..d9e500ec17 100644 --- a/service/lightsail/api.go +++ b/service/lightsail/api.go @@ -8015,7 +8015,7 @@ func (c *Lightsail) GetContainerLogRequest(input *GetContainerLogInput) (req *re // // Container logs are retained for a certain amount of time. For more information, // see Amazon Lightsail endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/lightsail.html) -// in the AWS General Reference. +// in the Amazon Web Services General Reference. // // 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 @@ -8123,7 +8123,7 @@ func (c *Lightsail) GetContainerServiceDeploymentsRequest(input *GetContainerSer // A set number of deployments are kept before the oldest one is replaced with // the newest one. For more information, see Amazon Lightsail endpoints and // quotas (https://docs.aws.amazon.com/general/latest/gr/lightsail.html) in -// the AWS General Reference. +// the Amazon Web Services General Reference. // // 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 @@ -15632,8 +15632,8 @@ func (c *Lightsail) UpdateBucketBundleRequest(input *UpdateBucketBundleInput) (r // // A bucket bundle specifies the monthly cost, storage space, and data transfer // quota for a bucket. You can update a bucket's bundle only one time within -// a monthly AWS billing cycle. To determine if you can update a bucket's bundle, -// use the GetBuckets (https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html) +// a monthly Amazon Web Services billing cycle. To determine if you can update +// a bucket's bundle, use the GetBuckets (https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html) // action. The ableToUpdateBundle parameter in the response will indicate whether // you can currently update a bucket's bundle. // @@ -15951,9 +15951,9 @@ func (c *Lightsail) UpdateDistributionBundleRequest(input *UpdateDistributionBun // monthly network transfer quota and is incurring an overage fee. // // You can update your distribution's bundle only one time within your monthly -// AWS billing cycle. To determine if you can update your distribution's bundle, -// use the GetDistributions action. The ableToUpdateBundle parameter in the -// result will indicate whether you can currently update your distribution's +// Amazon Web Services billing cycle. To determine if you can update your distribution's +// bundle, use the GetDistributions action. The ableToUpdateBundle parameter +// in the result will indicate whether you can currently update your distribution's // bundle. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -16744,13 +16744,13 @@ type AccessKeyLastUsed struct { // This value is null if the access key has not been used. LastUsedDate *time.Time `locationName:"lastUsedDate" type:"timestamp"` - // The AWS Region where this access key was most recently used. + // The Amazon Web Services Region where this access key was most recently used. // // This value is N/A if the access key has not been used. Region *string `locationName:"region" type:"string"` - // The name of the AWS service with which this access key was most recently - // used. + // The name of the Amazon Web Services service with which this access key was + // most recently used. // // This value is N/A if the access key has not been used. ServiceName *string `locationName:"serviceName" type:"string"` @@ -19244,8 +19244,9 @@ type Certificate struct { // * ADDITIONAL_VERIFICATION_REQUIRED - Lightsail requires additional information // to process this certificate request. This can happen as a fraud-protection // measure, such as when the domain ranks within the Alexa top 1000 websites. - // To provide the required information, use the AWS Support Center (https://console.aws.amazon.com/support/home) - // to contact AWS Support. You cannot request a certificate for Amazon-owned + // To provide the required information, use the Amazon Web Services Support + // Center (https://console.aws.amazon.com/support/home) to contact Amazon + // Web Services Support. You cannot request a certificate for Amazon-owned // domain names such as those ending in amazonaws.com, cloudfront.net, or // elasticbeanstalk.com. // @@ -19260,7 +19261,7 @@ type Certificate struct { // domain from a block list itself. After you correct the problem and the // VirusTotal registry has been updated, request a new certificate. If you // see this error and your domain is not included in the VirusTotal list, - // visit the AWS Support Center (https://console.aws.amazon.com/support/home) + // visit the Amazon Web Services Support Center (https://console.aws.amazon.com/support/home) // and create a case. // // * INVALID_PUBLIC_DOMAIN - One or more of the domain names in the certificate @@ -21880,8 +21881,8 @@ type CreateContainerServiceInput struct { // its default domain. The default domain of a container service is typically // https://...cs.amazonlightsail.com. If // the name of your container service is container-service-1, and it's located - // in the US East (Ohio) AWS region (us-east-2), then the domain for your container - // service will be like the following example: https://container-service-1.ur4EXAMPLE2uq.us-east-2.cs.amazonlightsail.com + // in the US East (Ohio) Amazon Web Services Region (us-east-2), then the domain + // for your container service will be like the following example: https://container-service-1.ur4EXAMPLE2uq.us-east-2.cs.amazonlightsail.com // // The following are the requirements for container service names: // @@ -24263,7 +24264,7 @@ type CreateRelationalDatabaseInput struct { // The default is a 30-minute window selected at random from an 8-hour block // of time for each AWS Region. For more information about the preferred backup // window time blocks for each region, see the Working With Backups (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) - // guide in the Amazon Relational Database Service (Amazon RDS) documentation. + // guide in the Amazon Relational Database Service documentation. // // Constraints: // @@ -27452,6 +27453,67 @@ func (s *DistributionBundle) SetTransferPerMonthInGb(v int64) *DistributionBundl return s } +// Describes the creation state of the canonical name (CNAME) records that are +// automatically added by Amazon Lightsail to the DNS of a domain to validate +// domain ownership for an SSL/TLS certificate. +// +// When you create an SSL/TLS certificate for a Lightsail resource, you must +// add a set of CNAME records to the DNS of the domains for the certificate +// to validate that you own the domains. Lightsail can automatically add the +// CNAME records to the DNS of the domain if the DNS zone for the domain exists +// within your Lightsail account. If automatic record addition fails, or if +// you manage the DNS of your domain using a third-party service, then you must +// manually add the CNAME records to the DNS of your domain. For more information, +// see Verify an SSL/TLS certificate in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/verify-tls-ssl-certificate-using-dns-cname-https) +// in the Amazon Lightsail Developer Guide. +type DnsRecordCreationState struct { + _ struct{} `type:"structure"` + + // The status code for the automated DNS record creation. + // + // Following are the possible values: + // + // * SUCCEEDED - The validation records were successfully added to the domain. + // + // * STARTED - The automatic DNS record creation has started. + // + // * FAILED - The validation records failed to be added to the domain. + Code *string `locationName:"code" type:"string" enum:"DnsRecordCreationStateCode"` + + // The message that describes the reason for the status code. + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DnsRecordCreationState) 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 DnsRecordCreationState) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *DnsRecordCreationState) SetCode(v string) *DnsRecordCreationState { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *DnsRecordCreationState) SetMessage(v string) *DnsRecordCreationState { + s.Message = &v + return s +} + // Describes a domain where you are storing recordsets. type Domain struct { _ struct{} `type:"structure"` @@ -27471,6 +27533,10 @@ type Domain struct { // The name of the domain. Name *string `locationName:"name" type:"string"` + // An object that describes the state of the Route 53 domain delegation to a + // Lightsail DNS zone. + RegisteredDomainDelegationInfo *RegisteredDomainDelegationInfo `locationName:"registeredDomainDelegationInfo" type:"structure"` + // The resource type. ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` @@ -27532,6 +27598,12 @@ func (s *Domain) SetName(v string) *Domain { return s } +// SetRegisteredDomainDelegationInfo sets the RegisteredDomainDelegationInfo field's value. +func (s *Domain) SetRegisteredDomainDelegationInfo(v *RegisteredDomainDelegationInfo) *Domain { + s.RegisteredDomainDelegationInfo = v + return s +} + // SetResourceType sets the ResourceType field's value. func (s *Domain) SetResourceType(v string) *Domain { s.ResourceType = &v @@ -27661,10 +27733,17 @@ func (s *DomainEntry) SetType(v string) *DomainEntry { return s } -// Describes the domain validation records of an Amazon Lightsail SSL/TLS certificate. +// Describes the domain name system (DNS) records that you must add to the DNS +// of your registered domain to validate ownership for an Amazon Lightsail SSL/TLS +// certificate. type DomainValidationRecord struct { _ struct{} `type:"structure"` + // An object that describes the state of the canonical name (CNAME) records + // that are automatically added by Lightsail to the DNS of the domain to validate + // domain ownership. + DnsRecordCreationState *DnsRecordCreationState `locationName:"dnsRecordCreationState" type:"structure"` + // The domain name of the certificate validation record. For example, example.com // or www.example.com. DomainName *string `locationName:"domainName" type:"string"` @@ -27672,6 +27751,9 @@ type DomainValidationRecord struct { // An object that describes the DNS records to add to your domain's DNS to validate // it for the certificate. ResourceRecord *ResourceRecord `locationName:"resourceRecord" type:"structure"` + + // The validation status of the record. + ValidationStatus *string `locationName:"validationStatus" type:"string" enum:"CertificateDomainValidationStatus"` } // String returns the string representation. @@ -27692,6 +27774,12 @@ func (s DomainValidationRecord) GoString() string { return s.String() } +// SetDnsRecordCreationState sets the DnsRecordCreationState field's value. +func (s *DomainValidationRecord) SetDnsRecordCreationState(v *DnsRecordCreationState) *DomainValidationRecord { + s.DnsRecordCreationState = v + return s +} + // SetDomainName sets the DomainName field's value. func (s *DomainValidationRecord) SetDomainName(v string) *DomainValidationRecord { s.DomainName = &v @@ -27704,6 +27792,12 @@ func (s *DomainValidationRecord) SetResourceRecord(v *ResourceRecord) *DomainVal return s } +// SetValidationStatus sets the ValidationStatus field's value. +func (s *DomainValidationRecord) SetValidationStatus(v string) *DomainValidationRecord { + s.ValidationStatus = &v + return s +} + type DownloadDefaultKeyPairInput struct { _ struct{} `type:"structure"` } @@ -37021,7 +37115,8 @@ type LoadBalancerTlsCertificate struct { // The load balancer name where your SSL/TLS certificate is attached. LoadBalancerName *string `locationName:"loadBalancerName" type:"string"` - // The AWS Region and Availability Zone where you created your certificate. + // The Amazon Web Services Region and Availability Zone where you created your + // certificate. Location *ResourceLocation `locationName:"location" type:"structure"` // The name of the SSL/TLS certificate (e.g., my-certificate). @@ -37265,6 +37360,57 @@ func (s *LoadBalancerTlsCertificate) SetTags(v []*Tag) *LoadBalancerTlsCertifica return s } +// An object that describes the state of the canonical name (CNAME) records +// that are automatically added by Lightsail to the DNS of the domain to validate +// domain ownership. +type LoadBalancerTlsCertificateDnsRecordCreationState struct { + _ struct{} `type:"structure"` + + // The status code for the automated DNS record creation. + // + // Following are the possible values: + // + // * SUCCEEDED - The validation records were successfully added. + // + // * STARTED - The automatic DNS record creation has started. + // + // * FAILED - The validation record addition failed. + Code *string `locationName:"code" type:"string" enum:"LoadBalancerTlsCertificateDnsRecordCreationStateCode"` + + // The message that describes the reason for the status code. + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LoadBalancerTlsCertificateDnsRecordCreationState) 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 LoadBalancerTlsCertificateDnsRecordCreationState) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *LoadBalancerTlsCertificateDnsRecordCreationState) SetCode(v string) *LoadBalancerTlsCertificateDnsRecordCreationState { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *LoadBalancerTlsCertificateDnsRecordCreationState) SetMessage(v string) *LoadBalancerTlsCertificateDnsRecordCreationState { + s.Message = &v + return s +} + // Contains information about the domain names on an SSL/TLS certificate that // you will use to validate domain ownership. type LoadBalancerTlsCertificateDomainValidationOption struct { @@ -37311,6 +37457,11 @@ func (s *LoadBalancerTlsCertificateDomainValidationOption) SetValidationStatus(v type LoadBalancerTlsCertificateDomainValidationRecord struct { _ struct{} `type:"structure"` + // An object that describes the state of the canonical name (CNAME) records + // that are automatically added by Lightsail to the DNS of a domain to validate + // domain ownership. + DnsRecordCreationState *LoadBalancerTlsCertificateDnsRecordCreationState `locationName:"dnsRecordCreationState" type:"structure"` + // The domain name against which your SSL/TLS certificate was validated. DomainName *string `locationName:"domainName" type:"string"` @@ -37345,6 +37496,12 @@ func (s LoadBalancerTlsCertificateDomainValidationRecord) GoString() string { return s.String() } +// SetDnsRecordCreationState sets the DnsRecordCreationState field's value. +func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetDnsRecordCreationState(v *LoadBalancerTlsCertificateDnsRecordCreationState) *LoadBalancerTlsCertificateDomainValidationRecord { + s.DnsRecordCreationState = v + return s +} + // SetDomainName sets the DomainName field's value. func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetDomainName(v string) *LoadBalancerTlsCertificateDomainValidationRecord { s.DomainName = &v @@ -37789,6 +37946,61 @@ func (s *MonthlyTransfer) SetGbPerMonthAllocated(v int64) *MonthlyTransfer { return s } +// Describes the state of the name server records update made by Amazon Lightsail +// to an Amazon Route 53 registered domain. +// +// For more information, see DNS in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-dns-in-amazon-lightsail) +// in the Amazon Lightsail Developer Guide. +type NameServersUpdateState struct { + _ struct{} `type:"structure"` + + // The status code for the name servers update. + // + // Following are the possible values: + // + // * SUCCEEDED - The name server records were successfully updated. + // + // * PENDING - The name server record update is in progress. + // + // * FAILED - The name server record update failed. + // + // * STARTED - The automatic name server record update started. + Code *string `locationName:"code" type:"string" enum:"NameServersUpdateStateCode"` + + // The message that describes the reason for the status code. + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NameServersUpdateState) 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 NameServersUpdateState) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *NameServersUpdateState) SetCode(v string) *NameServersUpdateState { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *NameServersUpdateState) SetMessage(v string) *NameServersUpdateState { + s.Message = &v + return s +} + // Lightsail throws this exception when it cannot find a resource. type NotFoundException struct { _ struct{} `type:"structure"` @@ -39133,6 +39345,58 @@ func (s *QueryStringObject) SetQueryStringsAllowList(v []*string) *QueryStringOb return s } +// Describes the deletion state of an Amazon Route 53 hosted zone for a domain +// that is being automatically delegated to an Amazon Lightsail DNS zone. +type R53HostedZoneDeletionState struct { + _ struct{} `type:"structure"` + + // The status code for the deletion state. + // + // Following are the possible values: + // + // * SUCCEEDED - The hosted zone was successfully deleted. + // + // * PENDING - The hosted zone deletion is in progress. + // + // * FAILED - The hosted zone deletion failed. + // + // * STARTED - The hosted zone deletion started. + Code *string `locationName:"code" type:"string" enum:"R53HostedZoneDeletionStateCode"` + + // The message that describes the reason for the status code. + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s R53HostedZoneDeletionState) 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 R53HostedZoneDeletionState) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *R53HostedZoneDeletionState) SetCode(v string) *R53HostedZoneDeletionState { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *R53HostedZoneDeletionState) SetMessage(v string) *R53HostedZoneDeletionState { + s.Message = &v + return s +} + type RebootInstanceInput struct { _ struct{} `type:"structure"` @@ -39291,7 +39555,7 @@ func (s *RebootRelationalDatabaseOutput) SetOperations(v []*Operation) *RebootRe return s } -// Describes the AWS Region. +// Describes the Amazon Web Services Region. type Region struct { _ struct{} `type:"structure"` @@ -39301,8 +39565,8 @@ type Region struct { // The continent code (e.g., NA, meaning North America). ContinentCode *string `locationName:"continentCode" type:"string"` - // The description of the AWS Region (e.g., This region is recommended to serve - // users in the eastern United States and eastern Canada). + // The description of the Amazon Web Services Region (e.g., This region is recommended + // to serve users in the eastern United States and eastern Canada). Description *string `locationName:"description" type:"string"` // The display name (e.g., Ohio). @@ -39501,6 +39765,76 @@ func (s *RegisterContainerImageOutput) SetContainerImage(v *ContainerImage) *Reg return s } +// Describes the delegation state of an Amazon Route 53 registered domain to +// Amazon Lightsail. +// +// When you delegate an Amazon Route 53 registered domain to Lightsail, you +// can manage the DNS of the domain using a Lightsail DNS zone. You no longer +// use the Route 53 hosted zone to manage the DNS of the domain. To delegate +// the domain, Lightsail automatically updates the domain's name servers in +// Route 53 to the name servers of the Lightsail DNS zone. Then, Lightsail automatically +// deletes the Route 53 hosted zone for the domain. +// +// All of the following conditions must be true for automatic domain delegation +// to be successful: +// +// - The registered domain must be in the same Amazon Web Services account +// as the Lightsail account making the request. +// +// - The user or entity making the request must have permission to manage +// domains in Route 53. +// +// - The Route 53 hosted zone for the domain must be empty. It cannot contain +// DNS records other than start of authority (SOA) and name server records. +// +// If automatic domain delegation fails, or if you manage the DNS of your domain +// using a service other than Route 53, then you must manually add the Lightsail +// DNS zone name servers to your domain in order to delegate management of its +// DNS to Lightsail. For more information, see Creating a DNS zone to manage +// your domain’s records in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-dns-entry) +// in the Amazon Lightsail Developer Guide. +type RegisteredDomainDelegationInfo struct { + _ struct{} `type:"structure"` + + // An object that describes the state of the name server records that are automatically + // added to the Route 53 domain by Lightsail. + NameServersUpdateState *NameServersUpdateState `locationName:"nameServersUpdateState" type:"structure"` + + // Describes the deletion state of an Amazon Route 53 hosted zone for a domain + // that is being automatically delegated to an Amazon Lightsail DNS zone. + R53HostedZoneDeletionState *R53HostedZoneDeletionState `locationName:"r53HostedZoneDeletionState" 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 RegisteredDomainDelegationInfo) 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 RegisteredDomainDelegationInfo) GoString() string { + return s.String() +} + +// SetNameServersUpdateState sets the NameServersUpdateState field's value. +func (s *RegisteredDomainDelegationInfo) SetNameServersUpdateState(v *NameServersUpdateState) *RegisteredDomainDelegationInfo { + s.NameServersUpdateState = v + return s +} + +// SetR53HostedZoneDeletionState sets the R53HostedZoneDeletionState field's value. +func (s *RegisteredDomainDelegationInfo) SetR53HostedZoneDeletionState(v *R53HostedZoneDeletionState) *RegisteredDomainDelegationInfo { + s.R53HostedZoneDeletionState = v + return s +} + // Describes a database. type RelationalDatabase struct { _ struct{} `type:"structure"` @@ -40616,7 +40950,7 @@ type ResourceLocation struct { // The Availability Zone. Follows the format us-east-2a (case-sensitive). AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - // The AWS Region name. + // The Amazon Web Services Region name. RegionName *string `locationName:"regionName" type:"string" enum:"RegionName"` } @@ -43094,7 +43428,8 @@ type UpdateRelationalDatabaseInput struct { // The weekly time range during which system maintenance can occur on your database. // // The default is a 30-minute window selected at random from an 8-hour block - // of time for each AWS Region, occurring on a random day of the week. + // of time for each Amazon Web Services Region, occurring on a random day of + // the week. // // Constraints: // @@ -43529,6 +43864,26 @@ func BucketMetricName_Values() []string { } } +const ( + // CertificateDomainValidationStatusPendingValidation is a CertificateDomainValidationStatus enum value + CertificateDomainValidationStatusPendingValidation = "PENDING_VALIDATION" + + // CertificateDomainValidationStatusFailed is a CertificateDomainValidationStatus enum value + CertificateDomainValidationStatusFailed = "FAILED" + + // CertificateDomainValidationStatusSuccess is a CertificateDomainValidationStatus enum value + CertificateDomainValidationStatusSuccess = "SUCCESS" +) + +// CertificateDomainValidationStatus_Values returns all elements of the CertificateDomainValidationStatus enum +func CertificateDomainValidationStatus_Values() []string { + return []string{ + CertificateDomainValidationStatusPendingValidation, + CertificateDomainValidationStatusFailed, + CertificateDomainValidationStatusSuccess, + } +} + const ( // CertificateStatusPendingValidation is a CertificateStatus enum value CertificateStatusPendingValidation = "PENDING_VALIDATION" @@ -43909,6 +44264,26 @@ func DistributionMetricName_Values() []string { } } +const ( + // DnsRecordCreationStateCodeSucceeded is a DnsRecordCreationStateCode enum value + DnsRecordCreationStateCodeSucceeded = "SUCCEEDED" + + // DnsRecordCreationStateCodeStarted is a DnsRecordCreationStateCode enum value + DnsRecordCreationStateCodeStarted = "STARTED" + + // DnsRecordCreationStateCodeFailed is a DnsRecordCreationStateCode enum value + DnsRecordCreationStateCodeFailed = "FAILED" +) + +// DnsRecordCreationStateCode_Values returns all elements of the DnsRecordCreationStateCode enum +func DnsRecordCreationStateCode_Values() []string { + return []string{ + DnsRecordCreationStateCodeSucceeded, + DnsRecordCreationStateCodeStarted, + DnsRecordCreationStateCodeFailed, + } +} + const ( // ExportSnapshotRecordSourceTypeInstanceSnapshot is a ExportSnapshotRecordSourceType enum value ExportSnapshotRecordSourceTypeInstanceSnapshot = "InstanceSnapshot" @@ -44401,6 +44776,26 @@ func LoadBalancerState_Values() []string { } } +const ( + // LoadBalancerTlsCertificateDnsRecordCreationStateCodeSucceeded is a LoadBalancerTlsCertificateDnsRecordCreationStateCode enum value + LoadBalancerTlsCertificateDnsRecordCreationStateCodeSucceeded = "SUCCEEDED" + + // LoadBalancerTlsCertificateDnsRecordCreationStateCodeStarted is a LoadBalancerTlsCertificateDnsRecordCreationStateCode enum value + LoadBalancerTlsCertificateDnsRecordCreationStateCodeStarted = "STARTED" + + // LoadBalancerTlsCertificateDnsRecordCreationStateCodeFailed is a LoadBalancerTlsCertificateDnsRecordCreationStateCode enum value + LoadBalancerTlsCertificateDnsRecordCreationStateCodeFailed = "FAILED" +) + +// LoadBalancerTlsCertificateDnsRecordCreationStateCode_Values returns all elements of the LoadBalancerTlsCertificateDnsRecordCreationStateCode enum +func LoadBalancerTlsCertificateDnsRecordCreationStateCode_Values() []string { + return []string{ + LoadBalancerTlsCertificateDnsRecordCreationStateCodeSucceeded, + LoadBalancerTlsCertificateDnsRecordCreationStateCodeStarted, + LoadBalancerTlsCertificateDnsRecordCreationStateCodeFailed, + } +} + const ( // LoadBalancerTlsCertificateDomainStatusPendingValidation is a LoadBalancerTlsCertificateDomainStatus enum value LoadBalancerTlsCertificateDomainStatusPendingValidation = "PENDING_VALIDATION" @@ -44813,6 +45208,30 @@ func MetricUnit_Values() []string { } } +const ( + // NameServersUpdateStateCodeSucceeded is a NameServersUpdateStateCode enum value + NameServersUpdateStateCodeSucceeded = "SUCCEEDED" + + // NameServersUpdateStateCodePending is a NameServersUpdateStateCode enum value + NameServersUpdateStateCodePending = "PENDING" + + // NameServersUpdateStateCodeFailed is a NameServersUpdateStateCode enum value + NameServersUpdateStateCodeFailed = "FAILED" + + // NameServersUpdateStateCodeStarted is a NameServersUpdateStateCode enum value + NameServersUpdateStateCodeStarted = "STARTED" +) + +// NameServersUpdateStateCode_Values returns all elements of the NameServersUpdateStateCode enum +func NameServersUpdateStateCode_Values() []string { + return []string{ + NameServersUpdateStateCodeSucceeded, + NameServersUpdateStateCodePending, + NameServersUpdateStateCodeFailed, + NameServersUpdateStateCodeStarted, + } +} + const ( // NetworkProtocolTcp is a NetworkProtocol enum value NetworkProtocolTcp = "tcp" @@ -45265,6 +45684,30 @@ func PortState_Values() []string { } } +const ( + // R53HostedZoneDeletionStateCodeSucceeded is a R53HostedZoneDeletionStateCode enum value + R53HostedZoneDeletionStateCodeSucceeded = "SUCCEEDED" + + // R53HostedZoneDeletionStateCodePending is a R53HostedZoneDeletionStateCode enum value + R53HostedZoneDeletionStateCodePending = "PENDING" + + // R53HostedZoneDeletionStateCodeFailed is a R53HostedZoneDeletionStateCode enum value + R53HostedZoneDeletionStateCodeFailed = "FAILED" + + // R53HostedZoneDeletionStateCodeStarted is a R53HostedZoneDeletionStateCode enum value + R53HostedZoneDeletionStateCodeStarted = "STARTED" +) + +// R53HostedZoneDeletionStateCode_Values returns all elements of the R53HostedZoneDeletionStateCode enum +func R53HostedZoneDeletionStateCode_Values() []string { + return []string{ + R53HostedZoneDeletionStateCodeSucceeded, + R53HostedZoneDeletionStateCodePending, + R53HostedZoneDeletionStateCodeFailed, + R53HostedZoneDeletionStateCodeStarted, + } +} + const ( // RecordStateStarted is a RecordState enum value RecordStateStarted = "Started" diff --git a/service/lightsail/doc.go b/service/lightsail/doc.go index 11038df73d..046ecddbb5 100644 --- a/service/lightsail/doc.go +++ b/service/lightsail/doc.go @@ -12,9 +12,8 @@ // snapshots (backups) - for a low, predictable monthly price. // // You can manage your Lightsail resources using the Lightsail console, Lightsail -// API, AWS Command Line Interface (AWS CLI), or SDKs. For more information -// about Lightsail concepts and tasks, see the Amazon Lightsail Developer Guide -// (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-set-up-access-keys-to-use-sdk-api-cli). +// API, Command Line Interface (CLI), or SDKs. For more information about Lightsail +// concepts and tasks, see the Amazon Lightsail Developer Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-set-up-access-keys-to-use-sdk-api-cli). // // This API Reference provides detailed information about the actions, data // types, parameters, and errors of the Lightsail service. For more information diff --git a/service/opensearchservice/api.go b/service/opensearchservice/api.go index d252b75bc5..115672889e 100644 --- a/service/opensearchservice/api.go +++ b/service/opensearchservice/api.go @@ -56,8 +56,9 @@ func (c *OpenSearchService) AcceptInboundConnectionRequest(input *AcceptInboundC // AcceptInboundConnection API operation for Amazon OpenSearch Service. // -// Allows the remote domain owner to accept an inbound cross-cluster connection -// request. +// Allows the destination Amazon OpenSearch Service domain owner to accept an +// inbound cross-cluster search connection request. For more information, see +// Cross-cluster search for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cross-cluster-search.html). // // 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 @@ -146,10 +147,9 @@ func (c *OpenSearchService) AddTagsRequest(input *AddTagsInput) (req *request.Re // AddTags API operation for Amazon OpenSearch Service. // -// Attaches tags to an existing domain. Tags are a set of case-sensitive key -// value pairs. An domain can have up to 10 tags. See Tagging Amazon OpenSearch -// Service domains (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains.html#managedomains-awsresorcetagging) -// for more information. +// Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a +// set of case-sensitive key-value pairs. An domain can have up to 10 tags. +// For more information, see Tagging Amazon OpenSearch Service domains (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains.html#managedomains-awsresorcetagging). // // 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 @@ -241,7 +241,8 @@ func (c *OpenSearchService) AssociatePackageRequest(input *AssociatePackageInput // AssociatePackage API operation for Amazon OpenSearch Service. // -// Associates a package with an Amazon OpenSearch Service domain. +// Associates a package with an Amazon OpenSearch Service domain. For more information, +// see Custom packages for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html). // // 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 @@ -298,6 +299,107 @@ func (c *OpenSearchService) AssociatePackageWithContext(ctx aws.Context, input * return out, req.Send() } +const opAuthorizeVpcEndpointAccess = "AuthorizeVpcEndpointAccess" + +// AuthorizeVpcEndpointAccessRequest generates a "aws/request.Request" representing the +// client's request for the AuthorizeVpcEndpointAccess 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 AuthorizeVpcEndpointAccess for more information on using the AuthorizeVpcEndpointAccess +// 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 AuthorizeVpcEndpointAccessRequest method. +// req, resp := client.AuthorizeVpcEndpointAccessRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AuthorizeVpcEndpointAccess +func (c *OpenSearchService) AuthorizeVpcEndpointAccessRequest(input *AuthorizeVpcEndpointAccessInput) (req *request.Request, output *AuthorizeVpcEndpointAccessOutput) { + op := &request.Operation{ + Name: opAuthorizeVpcEndpointAccess, + HTTPMethod: "POST", + HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/authorizeVpcEndpointAccess", + } + + if input == nil { + input = &AuthorizeVpcEndpointAccessInput{} + } + + output = &AuthorizeVpcEndpointAccessOutput{} + req = c.newRequest(op, input, output) + return +} + +// AuthorizeVpcEndpointAccess API operation for Amazon OpenSearch Service. +// +// Provides access to an Amazon OpenSearch Service domain through the use of +// an interface VPC endpoint. +// +// 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 OpenSearch Service's +// API operation AuthorizeVpcEndpointAccess for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. +// +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// - BaseException +// An error occurred while processing the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AuthorizeVpcEndpointAccess +func (c *OpenSearchService) AuthorizeVpcEndpointAccess(input *AuthorizeVpcEndpointAccessInput) (*AuthorizeVpcEndpointAccessOutput, error) { + req, out := c.AuthorizeVpcEndpointAccessRequest(input) + return out, req.Send() +} + +// AuthorizeVpcEndpointAccessWithContext is the same as AuthorizeVpcEndpointAccess with the addition of +// the ability to pass a context and additional request options. +// +// See AuthorizeVpcEndpointAccess 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 *OpenSearchService) AuthorizeVpcEndpointAccessWithContext(ctx aws.Context, input *AuthorizeVpcEndpointAccessInput, opts ...request.Option) (*AuthorizeVpcEndpointAccessOutput, error) { + req, out := c.AuthorizeVpcEndpointAccessRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCancelServiceSoftwareUpdate = "CancelServiceSoftwareUpdate" // CancelServiceSoftwareUpdateRequest generates a "aws/request.Request" representing the @@ -343,7 +445,8 @@ func (c *OpenSearchService) CancelServiceSoftwareUpdateRequest(input *CancelServ // // Cancels a scheduled service software update for an Amazon OpenSearch Service // domain. You can only perform this operation before the AutomatedUpdateDate -// and when the UpdateStatus is in the PENDING_UPDATE state. +// and when the domain's UpdateStatus is PENDING_UPDATE. For more information, +// see Service software updates in Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html). // // 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 @@ -435,9 +538,8 @@ func (c *OpenSearchService) CreateDomainRequest(input *CreateDomainInput) (req * // CreateDomain API operation for Amazon OpenSearch Service. // -// Creates a new Amazon OpenSearch Service domain. For more information, see -// Creating and managing Amazon OpenSearch Service domains (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html) -// in the Amazon OpenSearch Service Developer Guide. +// Creates an Amazon OpenSearch Service domain. For more information, see Creating +// and managing Amazon OpenSearch Service domains (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html). // // 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 @@ -541,8 +643,9 @@ func (c *OpenSearchService) CreateOutboundConnectionRequest(input *CreateOutboun // CreateOutboundConnection API operation for Amazon OpenSearch Service. // -// Creates a new cross-cluster connection from a local OpenSearch domain to -// a remote OpenSearch domain. +// Creates a new cross-cluster search connection from a source Amazon OpenSearch +// Service domain to a destination domain. For more information, see Cross-cluster +// search for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cross-cluster-search.html). // // 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 @@ -635,7 +738,8 @@ func (c *OpenSearchService) CreatePackageRequest(input *CreatePackageInput) (req // CreatePackage API operation for Amazon OpenSearch Service. // -// Create a package for use with Amazon OpenSearch Service domains. +// Creates a package for use with Amazon OpenSearch Service domains. For more +// information, see Custom packages for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html). // // 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 @@ -696,6 +800,106 @@ func (c *OpenSearchService) CreatePackageWithContext(ctx aws.Context, input *Cre return out, req.Send() } +const opCreateVpcEndpoint = "CreateVpcEndpoint" + +// CreateVpcEndpointRequest generates a "aws/request.Request" representing the +// client's request for the CreateVpcEndpoint 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 CreateVpcEndpoint for more information on using the CreateVpcEndpoint +// 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 CreateVpcEndpointRequest method. +// req, resp := client.CreateVpcEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateVpcEndpoint +func (c *OpenSearchService) CreateVpcEndpointRequest(input *CreateVpcEndpointInput) (req *request.Request, output *CreateVpcEndpointOutput) { + op := &request.Operation{ + Name: opCreateVpcEndpoint, + HTTPMethod: "POST", + HTTPPath: "/2021-01-01/opensearch/vpcEndpoints", + } + + if input == nil { + input = &CreateVpcEndpointInput{} + } + + output = &CreateVpcEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateVpcEndpoint API operation for Amazon OpenSearch Service. +// +// Creates an Amazon OpenSearch Service-managed VPC endpoint. +// +// 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 OpenSearch Service's +// API operation CreateVpcEndpoint for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// An error occurred because the client attempts to remove a resource that is +// currently in use. Returns HTTP status code 409. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. +// +// - BaseException +// An error occurred while processing the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateVpcEndpoint +func (c *OpenSearchService) CreateVpcEndpoint(input *CreateVpcEndpointInput) (*CreateVpcEndpointOutput, error) { + req, out := c.CreateVpcEndpointRequest(input) + return out, req.Send() +} + +// CreateVpcEndpointWithContext is the same as CreateVpcEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See CreateVpcEndpoint 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 *OpenSearchService) CreateVpcEndpointWithContext(ctx aws.Context, input *CreateVpcEndpointInput, opts ...request.Option) (*CreateVpcEndpointOutput, error) { + req, out := c.CreateVpcEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteDomain = "DeleteDomain" // DeleteDomainRequest generates a "aws/request.Request" representing the @@ -739,8 +943,8 @@ func (c *OpenSearchService) DeleteDomainRequest(input *DeleteDomainInput) (req * // DeleteDomain API operation for Amazon OpenSearch Service. // -// Permanently deletes the specified domain and all of its data. Once a domain -// is deleted, it cannot be recovered. +// Deletes an Amazon OpenSearch Service domain and all of its data. You can't +// recover a domain after you delete it. // // 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 @@ -832,8 +1036,9 @@ func (c *OpenSearchService) DeleteInboundConnectionRequest(input *DeleteInboundC // DeleteInboundConnection API operation for Amazon OpenSearch Service. // -// Allows the remote domain owner to delete an existing inbound cross-cluster -// connection. +// Allows the destination Amazon OpenSearch Service domain owner to delete an +// existing inbound cross-cluster search connection. For more information, see +// Cross-cluster search for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cross-cluster-search.html). // // 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 @@ -917,8 +1122,9 @@ func (c *OpenSearchService) DeleteOutboundConnectionRequest(input *DeleteOutboun // DeleteOutboundConnection API operation for Amazon OpenSearch Service. // -// Allows the local domain owner to delete an existing outbound cross-cluster -// connection. +// Allows the source Amazon OpenSearch Service domain owner to delete an existing +// outbound cross-cluster search connection. For more information, see Cross-cluster +// search for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cross-cluster-search.html). // // 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 @@ -1002,7 +1208,8 @@ func (c *OpenSearchService) DeletePackageRequest(input *DeletePackageInput) (req // DeletePackage API operation for Amazon OpenSearch Service. // -// Deletes the package. +// Deletes an Amazon OpenSearch Service package. For more information, see Custom +// packages for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html). // // 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 @@ -1059,6 +1266,98 @@ func (c *OpenSearchService) DeletePackageWithContext(ctx aws.Context, input *Del return out, req.Send() } +const opDeleteVpcEndpoint = "DeleteVpcEndpoint" + +// DeleteVpcEndpointRequest generates a "aws/request.Request" representing the +// client's request for the DeleteVpcEndpoint 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 DeleteVpcEndpoint for more information on using the DeleteVpcEndpoint +// 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 DeleteVpcEndpointRequest method. +// req, resp := client.DeleteVpcEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteVpcEndpoint +func (c *OpenSearchService) DeleteVpcEndpointRequest(input *DeleteVpcEndpointInput) (req *request.Request, output *DeleteVpcEndpointOutput) { + op := &request.Operation{ + Name: opDeleteVpcEndpoint, + HTTPMethod: "DELETE", + HTTPPath: "/2021-01-01/opensearch/vpcEndpoints/{VpcEndpointId}", + } + + if input == nil { + input = &DeleteVpcEndpointInput{} + } + + output = &DeleteVpcEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteVpcEndpoint API operation for Amazon OpenSearch Service. +// +// Deletes an Amazon OpenSearch Service-managed interface VPC endpoint. +// +// 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 OpenSearch Service's +// API operation DeleteVpcEndpoint for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// - BaseException +// An error occurred while processing the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteVpcEndpoint +func (c *OpenSearchService) DeleteVpcEndpoint(input *DeleteVpcEndpointInput) (*DeleteVpcEndpointOutput, error) { + req, out := c.DeleteVpcEndpointRequest(input) + return out, req.Send() +} + +// DeleteVpcEndpointWithContext is the same as DeleteVpcEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteVpcEndpoint 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 *OpenSearchService) DeleteVpcEndpointWithContext(ctx aws.Context, input *DeleteVpcEndpointInput, opts ...request.Option) (*DeleteVpcEndpointOutput, error) { + req, out := c.DeleteVpcEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeDomain = "DescribeDomain" // DescribeDomainRequest generates a "aws/request.Request" representing the @@ -1102,8 +1401,8 @@ func (c *OpenSearchService) DescribeDomainRequest(input *DescribeDomainInput) (r // DescribeDomain API operation for Amazon OpenSearch Service. // -// Returns domain configuration information about the specified domain, including -// the domain ID, domain endpoint, and domain ARN. +// Describes the domain configuration for the specified Amazon OpenSearch Service +// domain, including the domain ID, domain service endpoint, and domain ARN. // // 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 @@ -1201,8 +1500,9 @@ func (c *OpenSearchService) DescribeDomainAutoTunesRequest(input *DescribeDomain // DescribeDomainAutoTunes API operation for Amazon OpenSearch Service. // -// Provides scheduled Auto-Tune action details for the domain, such as Auto-Tune -// action type, description, severity, and scheduled date. +// Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch +// Service domain. For more information, see Auto-Tune for Amazon OpenSearch +// Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html). // // 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 @@ -1346,7 +1646,8 @@ func (c *OpenSearchService) DescribeDomainChangeProgressRequest(input *DescribeD // DescribeDomainChangeProgress API operation for Amazon OpenSearch Service. // // Returns information about the current blue/green deployment happening on -// a domain, including a change ID, status, and progress stages. +// an Amazon OpenSearch Service domain. For more information, see Making configuration +// changes in Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes.html). // // 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 @@ -1438,9 +1739,7 @@ func (c *OpenSearchService) DescribeDomainConfigRequest(input *DescribeDomainCon // DescribeDomainConfig API operation for Amazon OpenSearch Service. // -// Provides cluster configuration information about the specified domain, such -// as the state, creation date, update version, and update date for cluster -// options. +// Returns the configuration of an Amazon OpenSearch Service domain. // // 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 @@ -1532,8 +1831,8 @@ func (c *OpenSearchService) DescribeDomainsRequest(input *DescribeDomainsInput) // DescribeDomains API operation for Amazon OpenSearch Service. // -// Returns domain configuration information about the specified domains, including -// the domain ID, domain endpoint, and domain ARN. +// Returns domain configuration information about the specified Amazon OpenSearch +// Service domains. // // 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 @@ -1627,7 +1926,9 @@ func (c *OpenSearchService) DescribeInboundConnectionsRequest(input *DescribeInb // DescribeInboundConnections API operation for Amazon OpenSearch Service. // -// Lists all the inbound cross-cluster connections for a remote domain. +// Lists all the inbound cross-cluster search connections for a destination +// (remote) Amazon OpenSearch Service domain. For more information, see Cross-cluster +// search for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cross-cluster-search.html). // // 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 @@ -1762,9 +2063,8 @@ func (c *OpenSearchService) DescribeInstanceTypeLimitsRequest(input *DescribeIns // DescribeInstanceTypeLimits API operation for Amazon OpenSearch Service. // -// Describe the limits for a given instance type and OpenSearch or Elasticsearch -// version. When modifying an existing domain, specify the DomainName to see -// which limits you can modify. +// Describes the instance count, storage, and master node limits for a given +// OpenSearch or Elasticsearch version and instance type. // // 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 @@ -1870,7 +2170,9 @@ func (c *OpenSearchService) DescribeOutboundConnectionsRequest(input *DescribeOu // DescribeOutboundConnections API operation for Amazon OpenSearch Service. // -// Lists all the outbound cross-cluster connections for a local domain. +// Lists all the outbound cross-cluster connections for a local (source) Amazon +// OpenSearch Service domain. For more information, see Cross-cluster search +// for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cross-cluster-search.html). // // 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 @@ -2011,8 +2313,8 @@ func (c *OpenSearchService) DescribePackagesRequest(input *DescribePackagesInput // DescribePackages API operation for Amazon OpenSearch Service. // -// Describes all packages available to Amazon OpenSearch Service domains. Includes -// options for filtering, limiting the number of results, and pagination. +// Describes all packages available to OpenSearch Service. For more information, +// see Custom packages for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html). // // 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 @@ -2165,7 +2467,9 @@ func (c *OpenSearchService) DescribeReservedInstanceOfferingsRequest(input *Desc // DescribeReservedInstanceOfferings API operation for Amazon OpenSearch Service. // -// Lists available reserved OpenSearch instance offerings. +// Describes the available Amazon OpenSearch Service Reserved Instance offerings +// for a given Region. For more information, see Reserved Instances in Amazon +// OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ri.html). // // 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 @@ -2315,7 +2619,9 @@ func (c *OpenSearchService) DescribeReservedInstancesRequest(input *DescribeRese // DescribeReservedInstances API operation for Amazon OpenSearch Service. // -// Returns information about reserved OpenSearch instances for this account. +// Describes the Amazon OpenSearch Service instances that you have reserved +// in a given Region. For more information, see Reserved Instances in Amazon +// OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ri.html). // // 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 @@ -2416,75 +2722,171 @@ func (c *OpenSearchService) DescribeReservedInstancesPagesWithContext(ctx aws.Co return p.Err() } -const opDissociatePackage = "DissociatePackage" +const opDescribeVpcEndpoints = "DescribeVpcEndpoints" -// DissociatePackageRequest generates a "aws/request.Request" representing the -// client's request for the DissociatePackage operation. The "output" return +// DescribeVpcEndpointsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeVpcEndpoints 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 DissociatePackage for more information on using the DissociatePackage +// See DescribeVpcEndpoints for more information on using the DescribeVpcEndpoints // 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 DissociatePackageRequest method. -// req, resp := client.DissociatePackageRequest(params) +// // Example sending a request using the DescribeVpcEndpointsRequest method. +// req, resp := client.DescribeVpcEndpointsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DissociatePackage -func (c *OpenSearchService) DissociatePackageRequest(input *DissociatePackageInput) (req *request.Request, output *DissociatePackageOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeVpcEndpoints +func (c *OpenSearchService) DescribeVpcEndpointsRequest(input *DescribeVpcEndpointsInput) (req *request.Request, output *DescribeVpcEndpointsOutput) { op := &request.Operation{ - Name: opDissociatePackage, + Name: opDescribeVpcEndpoints, HTTPMethod: "POST", - HTTPPath: "/2021-01-01/packages/dissociate/{PackageID}/{DomainName}", + HTTPPath: "/2021-01-01/opensearch/vpcEndpoints/describe", } if input == nil { - input = &DissociatePackageInput{} + input = &DescribeVpcEndpointsInput{} } - output = &DissociatePackageOutput{} + output = &DescribeVpcEndpointsOutput{} req = c.newRequest(op, input, output) return } -// DissociatePackage API operation for Amazon OpenSearch Service. +// DescribeVpcEndpoints API operation for Amazon OpenSearch Service. // -// Dissociates a package from the Amazon OpenSearch Service domain. +// Describes one or more Amazon OpenSearch Service-managed VPC endpoints. // // 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 OpenSearch Service's -// API operation DissociatePackage for usage and error information. +// API operation DescribeVpcEndpoints for usage and error information. // // Returned Error Types: // -// - BaseException -// An error occurred while processing the request. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // - InternalException // The request processing has failed because of an unknown error, exception // or failure (the failure is internal to the service) . Gives http status code // of 500. // -// - ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// - AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - BaseException +// An error occurred while processing the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeVpcEndpoints +func (c *OpenSearchService) DescribeVpcEndpoints(input *DescribeVpcEndpointsInput) (*DescribeVpcEndpointsOutput, error) { + req, out := c.DescribeVpcEndpointsRequest(input) + return out, req.Send() +} + +// DescribeVpcEndpointsWithContext is the same as DescribeVpcEndpoints with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeVpcEndpoints 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 *OpenSearchService) DescribeVpcEndpointsWithContext(ctx aws.Context, input *DescribeVpcEndpointsInput, opts ...request.Option) (*DescribeVpcEndpointsOutput, error) { + req, out := c.DescribeVpcEndpointsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDissociatePackage = "DissociatePackage" + +// DissociatePackageRequest generates a "aws/request.Request" representing the +// client's request for the DissociatePackage 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 DissociatePackage for more information on using the DissociatePackage +// 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 DissociatePackageRequest method. +// req, resp := client.DissociatePackageRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DissociatePackage +func (c *OpenSearchService) DissociatePackageRequest(input *DissociatePackageInput) (req *request.Request, output *DissociatePackageOutput) { + op := &request.Operation{ + Name: opDissociatePackage, + HTTPMethod: "POST", + HTTPPath: "/2021-01-01/packages/dissociate/{PackageID}/{DomainName}", + } + + if input == nil { + input = &DissociatePackageInput{} + } + + output = &DissociatePackageOutput{} + req = c.newRequest(op, input, output) + return +} + +// DissociatePackage API operation for Amazon OpenSearch Service. +// +// Removes a package from the specified Amazon OpenSearch Service domain. The +// package can't be in use with any OpenSearch index for the dissociation to +// succeed. The package is still available in OpenSearch Service for association +// later. For more information, see Custom packages for Amazon OpenSearch Service +// (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html). +// +// 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 OpenSearch Service's +// API operation DissociatePackage for usage and error information. +// +// Returned Error Types: +// +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // // - ValidationException // An exception for missing / invalid input fields. Gives http status code of @@ -2559,9 +2961,8 @@ func (c *OpenSearchService) GetCompatibleVersionsRequest(input *GetCompatibleVer // GetCompatibleVersions API operation for Amazon OpenSearch Service. // -// Returns a list of upgrade-compatible versions of OpenSearch/Elasticsearch. -// You can optionally pass a DomainName to get all upgrade-compatible versions -// of OpenSearch/Elasticsearch for that specific domain. +// Returns a map of OpenSearch or Elasticsearch versions and the versions you +// can upgrade them to. // // 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 @@ -2663,8 +3064,9 @@ func (c *OpenSearchService) GetPackageVersionHistoryRequest(input *GetPackageVer // GetPackageVersionHistory API operation for Amazon OpenSearch Service. // -// Returns a list of package versions, along with their creation time and commit -// message. +// Returns a list of Amazon OpenSearch Service package versions, along with +// their creation time and commit message. For more information, see Custom +// packages for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html). // // 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 @@ -2817,7 +3219,8 @@ func (c *OpenSearchService) GetUpgradeHistoryRequest(input *GetUpgradeHistoryInp // GetUpgradeHistory API operation for Amazon OpenSearch Service. // -// Retrieves the complete history of the last 10 upgrades performed on the domain. +// Retrieves the complete history of the last 10 upgrades performed on an Amazon +// OpenSearch Service domain. // // 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 @@ -2964,8 +3367,8 @@ func (c *OpenSearchService) GetUpgradeStatusRequest(input *GetUpgradeStatusInput // GetUpgradeStatus API operation for Amazon OpenSearch Service. // -// Retrieves the latest status of the last upgrade or upgrade eligibility check -// performed on the domain. +// Returns the most recent status of the last upgrade or upgrade eligibility +// check performed on an Amazon OpenSearch Service domain. // // 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 @@ -3061,7 +3464,8 @@ func (c *OpenSearchService) ListDomainNamesRequest(input *ListDomainNamesInput) // ListDomainNames API operation for Amazon OpenSearch Service. // -// Returns the names of all domains owned by the current user's account. +// Returns the names of all Amazon OpenSearch Service domains owned by the current +// user in the active Region. // // 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 @@ -3150,7 +3554,8 @@ func (c *OpenSearchService) ListDomainsForPackageRequest(input *ListDomainsForPa // ListDomainsForPackage API operation for Amazon OpenSearch Service. // -// Lists all Amazon OpenSearch Service domains associated with the package. +// Lists all Amazon OpenSearch Service domains associated with a given package. +// For more information, see Custom packages for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html). // // 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 @@ -3303,6 +3708,9 @@ func (c *OpenSearchService) ListInstanceTypeDetailsRequest(input *ListInstanceTy // ListInstanceTypeDetails API operation for Amazon OpenSearch Service. // +// Lists all instance types and available features for a given OpenSearch or +// Elasticsearch version. +// // 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. @@ -3450,7 +3858,8 @@ func (c *OpenSearchService) ListPackagesForDomainRequest(input *ListPackagesForD // ListPackagesForDomain API operation for Amazon OpenSearch Service. // -// Lists all packages associated with the Amazon OpenSearch Service domain. +// Lists all packages associated with an Amazon OpenSearch Service domain. For +// more information, see Custom packages for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html). // // 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 @@ -3597,7 +4006,8 @@ func (c *OpenSearchService) ListTagsRequest(input *ListTagsInput) (req *request. // ListTags API operation for Amazon OpenSearch Service. // -// Returns all tags for the given domain. +// Returns all resource tags for an Amazon OpenSearch Service domain. For more +// information, see Tagging Amazon OpenSearch Service domains (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html). // // 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 @@ -3695,7 +4105,8 @@ func (c *OpenSearchService) ListVersionsRequest(input *ListVersionsInput) (req * // ListVersions API operation for Amazon OpenSearch Service. // -// List all supported versions of OpenSearch and Elasticsearch. +// Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch +// Service supports. // // 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 @@ -3795,57 +4206,59 @@ func (c *OpenSearchService) ListVersionsPagesWithContext(ctx aws.Context, input return p.Err() } -const opPurchaseReservedInstanceOffering = "PurchaseReservedInstanceOffering" +const opListVpcEndpointAccess = "ListVpcEndpointAccess" -// PurchaseReservedInstanceOfferingRequest generates a "aws/request.Request" representing the -// client's request for the PurchaseReservedInstanceOffering operation. The "output" return +// ListVpcEndpointAccessRequest generates a "aws/request.Request" representing the +// client's request for the ListVpcEndpointAccess 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 PurchaseReservedInstanceOffering for more information on using the PurchaseReservedInstanceOffering +// See ListVpcEndpointAccess for more information on using the ListVpcEndpointAccess // 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 PurchaseReservedInstanceOfferingRequest method. -// req, resp := client.PurchaseReservedInstanceOfferingRequest(params) +// // Example sending a request using the ListVpcEndpointAccessRequest method. +// req, resp := client.ListVpcEndpointAccessRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PurchaseReservedInstanceOffering -func (c *OpenSearchService) PurchaseReservedInstanceOfferingRequest(input *PurchaseReservedInstanceOfferingInput) (req *request.Request, output *PurchaseReservedInstanceOfferingOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListVpcEndpointAccess +func (c *OpenSearchService) ListVpcEndpointAccessRequest(input *ListVpcEndpointAccessInput) (req *request.Request, output *ListVpcEndpointAccessOutput) { op := &request.Operation{ - Name: opPurchaseReservedInstanceOffering, - HTTPMethod: "POST", - HTTPPath: "/2021-01-01/opensearch/purchaseReservedInstanceOffering", + Name: opListVpcEndpointAccess, + HTTPMethod: "GET", + HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/listVpcEndpointAccess", } if input == nil { - input = &PurchaseReservedInstanceOfferingInput{} + input = &ListVpcEndpointAccessInput{} } - output = &PurchaseReservedInstanceOfferingOutput{} + output = &ListVpcEndpointAccessOutput{} req = c.newRequest(op, input, output) return } -// PurchaseReservedInstanceOffering API operation for Amazon OpenSearch Service. +// ListVpcEndpointAccess API operation for Amazon OpenSearch Service. // -// Allows you to purchase reserved OpenSearch instances. +// Retrieves information about each Amazon Web Services principal that is allowed +// to access a given Amazon OpenSearch Service domain through the use of an +// interface VPC endpoint. // // 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 OpenSearch Service's -// API operation PurchaseReservedInstanceOffering for usage and error information. +// API operation ListVpcEndpointAccess for usage and error information. // // Returned Error Types: // @@ -3853,658 +4266,1135 @@ func (c *OpenSearchService) PurchaseReservedInstanceOfferingRequest(input *Purch // An exception for accessing or deleting a resource that does not exist. Gives // http status code of 400. // -// - ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. -// -// - LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. -// // - DisabledOperationException // An error occured because the client wanted to access a not supported operation. // Gives http status code of 409. // -// - ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. -// // - InternalException // The request processing has failed because of an unknown error, exception // or failure (the failure is internal to the service) . Gives http status code // of 500. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PurchaseReservedInstanceOffering -func (c *OpenSearchService) PurchaseReservedInstanceOffering(input *PurchaseReservedInstanceOfferingInput) (*PurchaseReservedInstanceOfferingOutput, error) { - req, out := c.PurchaseReservedInstanceOfferingRequest(input) +// - BaseException +// An error occurred while processing the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListVpcEndpointAccess +func (c *OpenSearchService) ListVpcEndpointAccess(input *ListVpcEndpointAccessInput) (*ListVpcEndpointAccessOutput, error) { + req, out := c.ListVpcEndpointAccessRequest(input) return out, req.Send() } -// PurchaseReservedInstanceOfferingWithContext is the same as PurchaseReservedInstanceOffering with the addition of +// ListVpcEndpointAccessWithContext is the same as ListVpcEndpointAccess with the addition of // the ability to pass a context and additional request options. // -// See PurchaseReservedInstanceOffering for details on how to use this API operation. +// See ListVpcEndpointAccess 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 *OpenSearchService) PurchaseReservedInstanceOfferingWithContext(ctx aws.Context, input *PurchaseReservedInstanceOfferingInput, opts ...request.Option) (*PurchaseReservedInstanceOfferingOutput, error) { - req, out := c.PurchaseReservedInstanceOfferingRequest(input) +func (c *OpenSearchService) ListVpcEndpointAccessWithContext(ctx aws.Context, input *ListVpcEndpointAccessInput, opts ...request.Option) (*ListVpcEndpointAccessOutput, error) { + req, out := c.ListVpcEndpointAccessRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRejectInboundConnection = "RejectInboundConnection" +const opListVpcEndpoints = "ListVpcEndpoints" -// RejectInboundConnectionRequest generates a "aws/request.Request" representing the -// client's request for the RejectInboundConnection operation. The "output" return +// ListVpcEndpointsRequest generates a "aws/request.Request" representing the +// client's request for the ListVpcEndpoints 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 RejectInboundConnection for more information on using the RejectInboundConnection +// See ListVpcEndpoints for more information on using the ListVpcEndpoints // 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 RejectInboundConnectionRequest method. -// req, resp := client.RejectInboundConnectionRequest(params) +// // Example sending a request using the ListVpcEndpointsRequest method. +// req, resp := client.ListVpcEndpointsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RejectInboundConnection -func (c *OpenSearchService) RejectInboundConnectionRequest(input *RejectInboundConnectionInput) (req *request.Request, output *RejectInboundConnectionOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListVpcEndpoints +func (c *OpenSearchService) ListVpcEndpointsRequest(input *ListVpcEndpointsInput) (req *request.Request, output *ListVpcEndpointsOutput) { op := &request.Operation{ - Name: opRejectInboundConnection, - HTTPMethod: "PUT", - HTTPPath: "/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/reject", + Name: opListVpcEndpoints, + HTTPMethod: "GET", + HTTPPath: "/2021-01-01/opensearch/vpcEndpoints", } if input == nil { - input = &RejectInboundConnectionInput{} + input = &ListVpcEndpointsInput{} } - output = &RejectInboundConnectionOutput{} + output = &ListVpcEndpointsOutput{} req = c.newRequest(op, input, output) return } -// RejectInboundConnection API operation for Amazon OpenSearch Service. +// ListVpcEndpoints API operation for Amazon OpenSearch Service. // -// Allows the remote domain owner to reject an inbound cross-cluster connection -// request. +// Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current +// Amazon Web Services account and Region. // // 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 OpenSearch Service's -// API operation RejectInboundConnection for usage and error information. +// API operation ListVpcEndpoints for usage and error information. // // Returned Error Types: // -// - ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // // - DisabledOperationException // An error occured because the client wanted to access a not supported operation. // Gives http status code of 409. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RejectInboundConnection -func (c *OpenSearchService) RejectInboundConnection(input *RejectInboundConnectionInput) (*RejectInboundConnectionOutput, error) { - req, out := c.RejectInboundConnectionRequest(input) +// - BaseException +// An error occurred while processing the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListVpcEndpoints +func (c *OpenSearchService) ListVpcEndpoints(input *ListVpcEndpointsInput) (*ListVpcEndpointsOutput, error) { + req, out := c.ListVpcEndpointsRequest(input) return out, req.Send() } -// RejectInboundConnectionWithContext is the same as RejectInboundConnection with the addition of +// ListVpcEndpointsWithContext is the same as ListVpcEndpoints with the addition of // the ability to pass a context and additional request options. // -// See RejectInboundConnection for details on how to use this API operation. +// See ListVpcEndpoints 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 *OpenSearchService) RejectInboundConnectionWithContext(ctx aws.Context, input *RejectInboundConnectionInput, opts ...request.Option) (*RejectInboundConnectionOutput, error) { - req, out := c.RejectInboundConnectionRequest(input) +func (c *OpenSearchService) ListVpcEndpointsWithContext(ctx aws.Context, input *ListVpcEndpointsInput, opts ...request.Option) (*ListVpcEndpointsOutput, error) { + req, out := c.ListVpcEndpointsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRemoveTags = "RemoveTags" +const opListVpcEndpointsForDomain = "ListVpcEndpointsForDomain" -// RemoveTagsRequest generates a "aws/request.Request" representing the -// client's request for the RemoveTags operation. The "output" return +// ListVpcEndpointsForDomainRequest generates a "aws/request.Request" representing the +// client's request for the ListVpcEndpointsForDomain 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 RemoveTags for more information on using the RemoveTags +// See ListVpcEndpointsForDomain for more information on using the ListVpcEndpointsForDomain // 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 RemoveTagsRequest method. -// req, resp := client.RemoveTagsRequest(params) +// // Example sending a request using the ListVpcEndpointsForDomainRequest method. +// req, resp := client.ListVpcEndpointsForDomainRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RemoveTags -func (c *OpenSearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListVpcEndpointsForDomain +func (c *OpenSearchService) ListVpcEndpointsForDomainRequest(input *ListVpcEndpointsForDomainInput) (req *request.Request, output *ListVpcEndpointsForDomainOutput) { op := &request.Operation{ - Name: opRemoveTags, - HTTPMethod: "POST", - HTTPPath: "/2021-01-01/tags-removal", + Name: opListVpcEndpointsForDomain, + HTTPMethod: "GET", + HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/vpcEndpoints", } if input == nil { - input = &RemoveTagsInput{} + input = &ListVpcEndpointsForDomainInput{} } - output = &RemoveTagsOutput{} + output = &ListVpcEndpointsForDomainOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// RemoveTags API operation for Amazon OpenSearch Service. +// ListVpcEndpointsForDomain API operation for Amazon OpenSearch Service. // -// Removes the specified set of tags from the given domain. +// Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated +// with a particular domain. // // 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 OpenSearch Service's -// API operation RemoveTags for usage and error information. +// API operation ListVpcEndpointsForDomain for usage and error information. // // Returned Error Types: // -// - BaseException -// An error occurred while processing the request. -// -// - ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. -// // - InternalException // The request processing has failed because of an unknown error, exception // or failure (the failure is internal to the service) . Gives http status code // of 500. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RemoveTags -func (c *OpenSearchService) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { - req, out := c.RemoveTagsRequest(input) +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - BaseException +// An error occurred while processing the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListVpcEndpointsForDomain +func (c *OpenSearchService) ListVpcEndpointsForDomain(input *ListVpcEndpointsForDomainInput) (*ListVpcEndpointsForDomainOutput, error) { + req, out := c.ListVpcEndpointsForDomainRequest(input) return out, req.Send() } -// RemoveTagsWithContext is the same as RemoveTags with the addition of +// ListVpcEndpointsForDomainWithContext is the same as ListVpcEndpointsForDomain with the addition of // the ability to pass a context and additional request options. // -// See RemoveTags for details on how to use this API operation. +// See ListVpcEndpointsForDomain 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 *OpenSearchService) RemoveTagsWithContext(ctx aws.Context, input *RemoveTagsInput, opts ...request.Option) (*RemoveTagsOutput, error) { - req, out := c.RemoveTagsRequest(input) +func (c *OpenSearchService) ListVpcEndpointsForDomainWithContext(ctx aws.Context, input *ListVpcEndpointsForDomainInput, opts ...request.Option) (*ListVpcEndpointsForDomainOutput, error) { + req, out := c.ListVpcEndpointsForDomainRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartServiceSoftwareUpdate = "StartServiceSoftwareUpdate" +const opPurchaseReservedInstanceOffering = "PurchaseReservedInstanceOffering" -// StartServiceSoftwareUpdateRequest generates a "aws/request.Request" representing the -// client's request for the StartServiceSoftwareUpdate operation. The "output" return +// PurchaseReservedInstanceOfferingRequest generates a "aws/request.Request" representing the +// client's request for the PurchaseReservedInstanceOffering 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 StartServiceSoftwareUpdate for more information on using the StartServiceSoftwareUpdate +// See PurchaseReservedInstanceOffering for more information on using the PurchaseReservedInstanceOffering // 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 StartServiceSoftwareUpdateRequest method. -// req, resp := client.StartServiceSoftwareUpdateRequest(params) +// // Example sending a request using the PurchaseReservedInstanceOfferingRequest method. +// req, resp := client.PurchaseReservedInstanceOfferingRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartServiceSoftwareUpdate -func (c *OpenSearchService) StartServiceSoftwareUpdateRequest(input *StartServiceSoftwareUpdateInput) (req *request.Request, output *StartServiceSoftwareUpdateOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PurchaseReservedInstanceOffering +func (c *OpenSearchService) PurchaseReservedInstanceOfferingRequest(input *PurchaseReservedInstanceOfferingInput) (req *request.Request, output *PurchaseReservedInstanceOfferingOutput) { op := &request.Operation{ - Name: opStartServiceSoftwareUpdate, + Name: opPurchaseReservedInstanceOffering, HTTPMethod: "POST", - HTTPPath: "/2021-01-01/opensearch/serviceSoftwareUpdate/start", + HTTPPath: "/2021-01-01/opensearch/purchaseReservedInstanceOffering", } if input == nil { - input = &StartServiceSoftwareUpdateInput{} + input = &PurchaseReservedInstanceOfferingInput{} } - output = &StartServiceSoftwareUpdateOutput{} + output = &PurchaseReservedInstanceOfferingOutput{} req = c.newRequest(op, input, output) return } -// StartServiceSoftwareUpdate API operation for Amazon OpenSearch Service. +// PurchaseReservedInstanceOffering API operation for Amazon OpenSearch Service. // -// Schedules a service software update for an Amazon OpenSearch Service domain. +// Allows you to purchase Amazon OpenSearch Service Reserved Instances. // // 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 OpenSearch Service's -// API operation StartServiceSoftwareUpdate for usage and error information. +// API operation PurchaseReservedInstanceOffering for usage and error information. // // Returned Error Types: // -// - BaseException -// An error occurred while processing the request. -// -// - InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. -// // - ResourceNotFoundException // An exception for accessing or deleting a resource that does not exist. Gives // http status code of 400. // +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. +// +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. +// // - ValidationException // An exception for missing / invalid input fields. Gives http status code of // 400. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartServiceSoftwareUpdate -func (c *OpenSearchService) StartServiceSoftwareUpdate(input *StartServiceSoftwareUpdateInput) (*StartServiceSoftwareUpdateOutput, error) { - req, out := c.StartServiceSoftwareUpdateRequest(input) - return out, req.Send() -} - -// StartServiceSoftwareUpdateWithContext is the same as StartServiceSoftwareUpdate with the addition of -// the ability to pass a context and additional request options. -// -// See StartServiceSoftwareUpdate for details on how to use this API operation. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PurchaseReservedInstanceOffering +func (c *OpenSearchService) PurchaseReservedInstanceOffering(input *PurchaseReservedInstanceOfferingInput) (*PurchaseReservedInstanceOfferingOutput, error) { + req, out := c.PurchaseReservedInstanceOfferingRequest(input) + return out, req.Send() +} + +// PurchaseReservedInstanceOfferingWithContext is the same as PurchaseReservedInstanceOffering with the addition of +// the ability to pass a context and additional request options. +// +// See PurchaseReservedInstanceOffering 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 *OpenSearchService) StartServiceSoftwareUpdateWithContext(ctx aws.Context, input *StartServiceSoftwareUpdateInput, opts ...request.Option) (*StartServiceSoftwareUpdateOutput, error) { - req, out := c.StartServiceSoftwareUpdateRequest(input) +func (c *OpenSearchService) PurchaseReservedInstanceOfferingWithContext(ctx aws.Context, input *PurchaseReservedInstanceOfferingInput, opts ...request.Option) (*PurchaseReservedInstanceOfferingOutput, error) { + req, out := c.PurchaseReservedInstanceOfferingRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateDomainConfig = "UpdateDomainConfig" +const opRejectInboundConnection = "RejectInboundConnection" -// UpdateDomainConfigRequest generates a "aws/request.Request" representing the -// client's request for the UpdateDomainConfig operation. The "output" return +// RejectInboundConnectionRequest generates a "aws/request.Request" representing the +// client's request for the RejectInboundConnection 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 UpdateDomainConfig for more information on using the UpdateDomainConfig +// See RejectInboundConnection for more information on using the RejectInboundConnection // 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 UpdateDomainConfigRequest method. -// req, resp := client.UpdateDomainConfigRequest(params) +// // Example sending a request using the RejectInboundConnectionRequest method. +// req, resp := client.RejectInboundConnectionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig -func (c *OpenSearchService) UpdateDomainConfigRequest(input *UpdateDomainConfigInput) (req *request.Request, output *UpdateDomainConfigOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RejectInboundConnection +func (c *OpenSearchService) RejectInboundConnectionRequest(input *RejectInboundConnectionInput) (req *request.Request, output *RejectInboundConnectionOutput) { op := &request.Operation{ - Name: opUpdateDomainConfig, - HTTPMethod: "POST", - HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/config", + Name: opRejectInboundConnection, + HTTPMethod: "PUT", + HTTPPath: "/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/reject", } if input == nil { - input = &UpdateDomainConfigInput{} + input = &RejectInboundConnectionInput{} } - output = &UpdateDomainConfigOutput{} + output = &RejectInboundConnectionOutput{} req = c.newRequest(op, input, output) return } -// UpdateDomainConfig API operation for Amazon OpenSearch Service. +// RejectInboundConnection API operation for Amazon OpenSearch Service. // -// Modifies the cluster configuration of the specified domain, such as setting -// the instance type and the number of instances. +// Allows the remote Amazon OpenSearch Service domain owner to reject an inbound +// cross-cluster connection request. // // 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 OpenSearch Service's -// API operation UpdateDomainConfig for usage and error information. +// API operation RejectInboundConnection for usage and error information. // // Returned Error Types: // -// - BaseException -// An error occurred while processing the request. -// -// - InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. -// -// - InvalidTypeException -// An exception for trying to create or access sub-resource that is either invalid -// or not supported. Gives http status code of 409. -// -// - LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. -// // - ResourceNotFoundException // An exception for accessing or deleting a resource that does not exist. Gives // http status code of 400. // -// - ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig -func (c *OpenSearchService) UpdateDomainConfig(input *UpdateDomainConfigInput) (*UpdateDomainConfigOutput, error) { - req, out := c.UpdateDomainConfigRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RejectInboundConnection +func (c *OpenSearchService) RejectInboundConnection(input *RejectInboundConnectionInput) (*RejectInboundConnectionOutput, error) { + req, out := c.RejectInboundConnectionRequest(input) return out, req.Send() } -// UpdateDomainConfigWithContext is the same as UpdateDomainConfig with the addition of +// RejectInboundConnectionWithContext is the same as RejectInboundConnection with the addition of // the ability to pass a context and additional request options. // -// See UpdateDomainConfig for details on how to use this API operation. +// See RejectInboundConnection 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 *OpenSearchService) UpdateDomainConfigWithContext(ctx aws.Context, input *UpdateDomainConfigInput, opts ...request.Option) (*UpdateDomainConfigOutput, error) { - req, out := c.UpdateDomainConfigRequest(input) +func (c *OpenSearchService) RejectInboundConnectionWithContext(ctx aws.Context, input *RejectInboundConnectionInput, opts ...request.Option) (*RejectInboundConnectionOutput, error) { + req, out := c.RejectInboundConnectionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdatePackage = "UpdatePackage" +const opRemoveTags = "RemoveTags" -// UpdatePackageRequest generates a "aws/request.Request" representing the -// client's request for the UpdatePackage operation. The "output" return +// RemoveTagsRequest generates a "aws/request.Request" representing the +// client's request for the RemoveTags 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 UpdatePackage for more information on using the UpdatePackage +// See RemoveTags for more information on using the RemoveTags // 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 UpdatePackageRequest method. -// req, resp := client.UpdatePackageRequest(params) +// // Example sending a request using the RemoveTagsRequest method. +// req, resp := client.RemoveTagsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdatePackage -func (c *OpenSearchService) UpdatePackageRequest(input *UpdatePackageInput) (req *request.Request, output *UpdatePackageOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RemoveTags +func (c *OpenSearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { op := &request.Operation{ - Name: opUpdatePackage, + Name: opRemoveTags, HTTPMethod: "POST", - HTTPPath: "/2021-01-01/packages/update", + HTTPPath: "/2021-01-01/tags-removal", } if input == nil { - input = &UpdatePackageInput{} + input = &RemoveTagsInput{} } - output = &UpdatePackageOutput{} + output = &RemoveTagsOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdatePackage API operation for Amazon OpenSearch Service. +// RemoveTags API operation for Amazon OpenSearch Service. // -// Updates a package for use with Amazon OpenSearch Service domains. +// Removes the specified set of tags from an Amazon OpenSearch Service domain. +// For more information, see Tagging Amazon OpenSearch Service domains (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains.html#managedomains-awsresorcetagging). // // 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 OpenSearch Service's -// API operation UpdatePackage for usage and error information. +// API operation RemoveTags for usage and error information. // // Returned Error Types: // // - BaseException // An error occurred while processing the request. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// // - InternalException // The request processing has failed because of an unknown error, exception // or failure (the failure is internal to the service) . Gives http status code // of 500. // -// - LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. -// -// - ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. -// -// - AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. -// -// - ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdatePackage -func (c *OpenSearchService) UpdatePackage(input *UpdatePackageInput) (*UpdatePackageOutput, error) { - req, out := c.UpdatePackageRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RemoveTags +func (c *OpenSearchService) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { + req, out := c.RemoveTagsRequest(input) return out, req.Send() } -// UpdatePackageWithContext is the same as UpdatePackage with the addition of +// RemoveTagsWithContext is the same as RemoveTags with the addition of // the ability to pass a context and additional request options. // -// See UpdatePackage for details on how to use this API operation. +// See RemoveTags 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 *OpenSearchService) UpdatePackageWithContext(ctx aws.Context, input *UpdatePackageInput, opts ...request.Option) (*UpdatePackageOutput, error) { - req, out := c.UpdatePackageRequest(input) +func (c *OpenSearchService) RemoveTagsWithContext(ctx aws.Context, input *RemoveTagsInput, opts ...request.Option) (*RemoveTagsOutput, error) { + req, out := c.RemoveTagsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpgradeDomain = "UpgradeDomain" +const opRevokeVpcEndpointAccess = "RevokeVpcEndpointAccess" -// UpgradeDomainRequest generates a "aws/request.Request" representing the -// client's request for the UpgradeDomain operation. The "output" return +// RevokeVpcEndpointAccessRequest generates a "aws/request.Request" representing the +// client's request for the RevokeVpcEndpointAccess 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 UpgradeDomain for more information on using the UpgradeDomain +// See RevokeVpcEndpointAccess for more information on using the RevokeVpcEndpointAccess // 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 UpgradeDomainRequest method. -// req, resp := client.UpgradeDomainRequest(params) +// // Example sending a request using the RevokeVpcEndpointAccessRequest method. +// req, resp := client.RevokeVpcEndpointAccessRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpgradeDomain -func (c *OpenSearchService) UpgradeDomainRequest(input *UpgradeDomainInput) (req *request.Request, output *UpgradeDomainOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RevokeVpcEndpointAccess +func (c *OpenSearchService) RevokeVpcEndpointAccessRequest(input *RevokeVpcEndpointAccessInput) (req *request.Request, output *RevokeVpcEndpointAccessOutput) { op := &request.Operation{ - Name: opUpgradeDomain, + Name: opRevokeVpcEndpointAccess, HTTPMethod: "POST", - HTTPPath: "/2021-01-01/opensearch/upgradeDomain", + HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/revokeVpcEndpointAccess", } if input == nil { - input = &UpgradeDomainInput{} + input = &RevokeVpcEndpointAccessInput{} } - output = &UpgradeDomainOutput{} + output = &RevokeVpcEndpointAccessOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpgradeDomain API operation for Amazon OpenSearch Service. +// RevokeVpcEndpointAccess API operation for Amazon OpenSearch Service. // -// Allows you to either upgrade your domain or perform an upgrade eligibility -// check to a compatible version of OpenSearch or Elasticsearch. +// Revokes access to an Amazon OpenSearch Service domain that was provided through +// an interface VPC endpoint. // // 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 OpenSearch Service's -// API operation UpgradeDomain for usage and error information. +// API operation RevokeVpcEndpointAccess for usage and error information. // // Returned Error Types: // -// - BaseException -// An error occurred while processing the request. -// // - ResourceNotFoundException // An exception for accessing or deleting a resource that does not exist. Gives // http status code of 400. // -// - ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // - DisabledOperationException // An error occured because the client wanted to access a not supported operation. // Gives http status code of 409. // -// - ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. -// // - InternalException // The request processing has failed because of an unknown error, exception // or failure (the failure is internal to the service) . Gives http status code // of 500. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpgradeDomain -func (c *OpenSearchService) UpgradeDomain(input *UpgradeDomainInput) (*UpgradeDomainOutput, error) { - req, out := c.UpgradeDomainRequest(input) +// - BaseException +// An error occurred while processing the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RevokeVpcEndpointAccess +func (c *OpenSearchService) RevokeVpcEndpointAccess(input *RevokeVpcEndpointAccessInput) (*RevokeVpcEndpointAccessOutput, error) { + req, out := c.RevokeVpcEndpointAccessRequest(input) return out, req.Send() } -// UpgradeDomainWithContext is the same as UpgradeDomain with the addition of +// RevokeVpcEndpointAccessWithContext is the same as RevokeVpcEndpointAccess with the addition of // the ability to pass a context and additional request options. // -// See UpgradeDomain for details on how to use this API operation. +// See RevokeVpcEndpointAccess 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 *OpenSearchService) UpgradeDomainWithContext(ctx aws.Context, input *UpgradeDomainInput, opts ...request.Option) (*UpgradeDomainOutput, error) { - req, out := c.UpgradeDomainRequest(input) +func (c *OpenSearchService) RevokeVpcEndpointAccessWithContext(ctx aws.Context, input *RevokeVpcEndpointAccessInput, opts ...request.Option) (*RevokeVpcEndpointAccessOutput, error) { + req, out := c.RevokeVpcEndpointAccessRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -type AWSDomainInformation struct { - _ struct{} `type:"structure"` +const opStartServiceSoftwareUpdate = "StartServiceSoftwareUpdate" - // The name of an domain. Domain names are unique across the domains owned by - // an account within an AWS region. Domain names start with a letter or number - // and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). - // - // DomainName is a required field - DomainName *string `min:"3" type:"string" required:"true"` +// StartServiceSoftwareUpdateRequest generates a "aws/request.Request" representing the +// client's request for the StartServiceSoftwareUpdate 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 StartServiceSoftwareUpdate for more information on using the StartServiceSoftwareUpdate +// 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 StartServiceSoftwareUpdateRequest method. +// req, resp := client.StartServiceSoftwareUpdateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartServiceSoftwareUpdate +func (c *OpenSearchService) StartServiceSoftwareUpdateRequest(input *StartServiceSoftwareUpdateInput) (req *request.Request, output *StartServiceSoftwareUpdateOutput) { + op := &request.Operation{ + Name: opStartServiceSoftwareUpdate, + HTTPMethod: "POST", + HTTPPath: "/2021-01-01/opensearch/serviceSoftwareUpdate/start", + } - OwnerId *string `min:"12" type:"string"` + if input == nil { + input = &StartServiceSoftwareUpdateInput{} + } - Region *string `min:"5" type:"string"` + output = &StartServiceSoftwareUpdateOutput{} + req = c.newRequest(op, input, output) + return } -// String returns the string representation. +// StartServiceSoftwareUpdate API operation for Amazon OpenSearch Service. // -// 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 AWSDomainInformation) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. +// Schedules a service software update for an Amazon OpenSearch Service domain. +// For more information, see Service software updates in Amazon OpenSearch Service +// (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html). // -// 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 AWSDomainInformation) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *AWSDomainInformation) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AWSDomainInformation"} - if s.DomainName == nil { - invalidParams.Add(request.NewErrParamRequired("DomainName")) - } - if s.DomainName != nil && len(*s.DomainName) < 3 { - invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) +// 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 OpenSearch Service's +// API operation StartServiceSoftwareUpdate for usage and error information. +// +// Returned Error Types: +// +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartServiceSoftwareUpdate +func (c *OpenSearchService) StartServiceSoftwareUpdate(input *StartServiceSoftwareUpdateInput) (*StartServiceSoftwareUpdateOutput, error) { + req, out := c.StartServiceSoftwareUpdateRequest(input) + return out, req.Send() +} + +// StartServiceSoftwareUpdateWithContext is the same as StartServiceSoftwareUpdate with the addition of +// the ability to pass a context and additional request options. +// +// See StartServiceSoftwareUpdate 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 *OpenSearchService) StartServiceSoftwareUpdateWithContext(ctx aws.Context, input *StartServiceSoftwareUpdateInput, opts ...request.Option) (*StartServiceSoftwareUpdateOutput, error) { + req, out := c.StartServiceSoftwareUpdateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateDomainConfig = "UpdateDomainConfig" + +// UpdateDomainConfigRequest generates a "aws/request.Request" representing the +// client's request for the UpdateDomainConfig 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 UpdateDomainConfig for more information on using the UpdateDomainConfig +// 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 UpdateDomainConfigRequest method. +// req, resp := client.UpdateDomainConfigRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig +func (c *OpenSearchService) UpdateDomainConfigRequest(input *UpdateDomainConfigInput) (req *request.Request, output *UpdateDomainConfigOutput) { + op := &request.Operation{ + Name: opUpdateDomainConfig, + HTTPMethod: "POST", + HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/config", + } + + if input == nil { + input = &UpdateDomainConfigInput{} + } + + output = &UpdateDomainConfigOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateDomainConfig API operation for Amazon OpenSearch Service. +// +// Modifies the cluster configuration of the specified Amazon OpenSearch Service +// domain. +// +// 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 OpenSearch Service's +// API operation UpdateDomainConfig for usage and error information. +// +// Returned Error Types: +// +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// - InvalidTypeException +// An exception for trying to create or access sub-resource that is either invalid +// or not supported. Gives http status code of 409. +// +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig +func (c *OpenSearchService) UpdateDomainConfig(input *UpdateDomainConfigInput) (*UpdateDomainConfigOutput, error) { + req, out := c.UpdateDomainConfigRequest(input) + return out, req.Send() +} + +// UpdateDomainConfigWithContext is the same as UpdateDomainConfig with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateDomainConfig 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 *OpenSearchService) UpdateDomainConfigWithContext(ctx aws.Context, input *UpdateDomainConfigInput, opts ...request.Option) (*UpdateDomainConfigOutput, error) { + req, out := c.UpdateDomainConfigRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdatePackage = "UpdatePackage" + +// UpdatePackageRequest generates a "aws/request.Request" representing the +// client's request for the UpdatePackage 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 UpdatePackage for more information on using the UpdatePackage +// 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 UpdatePackageRequest method. +// req, resp := client.UpdatePackageRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdatePackage +func (c *OpenSearchService) UpdatePackageRequest(input *UpdatePackageInput) (req *request.Request, output *UpdatePackageOutput) { + op := &request.Operation{ + Name: opUpdatePackage, + HTTPMethod: "POST", + HTTPPath: "/2021-01-01/packages/update", + } + + if input == nil { + input = &UpdatePackageInput{} + } + + output = &UpdatePackageOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdatePackage API operation for Amazon OpenSearch Service. +// +// Updates a package for use with Amazon OpenSearch Service domains. For more +// information, see Custom packages for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html). +// +// 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 OpenSearch Service's +// API operation UpdatePackage for usage and error information. +// +// Returned Error Types: +// +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdatePackage +func (c *OpenSearchService) UpdatePackage(input *UpdatePackageInput) (*UpdatePackageOutput, error) { + req, out := c.UpdatePackageRequest(input) + return out, req.Send() +} + +// UpdatePackageWithContext is the same as UpdatePackage with the addition of +// the ability to pass a context and additional request options. +// +// See UpdatePackage 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 *OpenSearchService) UpdatePackageWithContext(ctx aws.Context, input *UpdatePackageInput, opts ...request.Option) (*UpdatePackageOutput, error) { + req, out := c.UpdatePackageRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateVpcEndpoint = "UpdateVpcEndpoint" + +// UpdateVpcEndpointRequest generates a "aws/request.Request" representing the +// client's request for the UpdateVpcEndpoint 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 UpdateVpcEndpoint for more information on using the UpdateVpcEndpoint +// 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 UpdateVpcEndpointRequest method. +// req, resp := client.UpdateVpcEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateVpcEndpoint +func (c *OpenSearchService) UpdateVpcEndpointRequest(input *UpdateVpcEndpointInput) (req *request.Request, output *UpdateVpcEndpointOutput) { + op := &request.Operation{ + Name: opUpdateVpcEndpoint, + HTTPMethod: "POST", + HTTPPath: "/2021-01-01/opensearch/vpcEndpoints/update", + } + + if input == nil { + input = &UpdateVpcEndpointInput{} + } + + output = &UpdateVpcEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateVpcEndpoint API operation for Amazon OpenSearch Service. +// +// Modifies an Amazon OpenSearch Service-managed interface VPC endpoint. +// +// 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 OpenSearch Service's +// API operation UpdateVpcEndpoint for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// - ConflictException +// An error occurred because the client attempts to remove a resource that is +// currently in use. Returns HTTP status code 409. +// +// - BaseException +// An error occurred while processing the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateVpcEndpoint +func (c *OpenSearchService) UpdateVpcEndpoint(input *UpdateVpcEndpointInput) (*UpdateVpcEndpointOutput, error) { + req, out := c.UpdateVpcEndpointRequest(input) + return out, req.Send() +} + +// UpdateVpcEndpointWithContext is the same as UpdateVpcEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateVpcEndpoint 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 *OpenSearchService) UpdateVpcEndpointWithContext(ctx aws.Context, input *UpdateVpcEndpointInput, opts ...request.Option) (*UpdateVpcEndpointOutput, error) { + req, out := c.UpdateVpcEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpgradeDomain = "UpgradeDomain" + +// UpgradeDomainRequest generates a "aws/request.Request" representing the +// client's request for the UpgradeDomain 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 UpgradeDomain for more information on using the UpgradeDomain +// 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 UpgradeDomainRequest method. +// req, resp := client.UpgradeDomainRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpgradeDomain +func (c *OpenSearchService) UpgradeDomainRequest(input *UpgradeDomainInput) (req *request.Request, output *UpgradeDomainOutput) { + op := &request.Operation{ + Name: opUpgradeDomain, + HTTPMethod: "POST", + HTTPPath: "/2021-01-01/opensearch/upgradeDomain", + } + + if input == nil { + input = &UpgradeDomainInput{} + } + + output = &UpgradeDomainOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpgradeDomain API operation for Amazon OpenSearch Service. +// +// Allows you to either upgrade your Amazon OpenSearch Service domain or perform +// an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch. +// +// 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 OpenSearch Service's +// API operation UpgradeDomain for usage and error information. +// +// Returned Error Types: +// +// - BaseException +// An error occurred while processing the request. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpgradeDomain +func (c *OpenSearchService) UpgradeDomain(input *UpgradeDomainInput) (*UpgradeDomainOutput, error) { + req, out := c.UpgradeDomainRequest(input) + return out, req.Send() +} + +// UpgradeDomainWithContext is the same as UpgradeDomain with the addition of +// the ability to pass a context and additional request options. +// +// See UpgradeDomain 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 *OpenSearchService) UpgradeDomainWithContext(ctx aws.Context, input *UpgradeDomainInput, opts ...request.Option) (*UpgradeDomainOutput, error) { + req, out := c.UpgradeDomainRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Information about an Amazon OpenSearch Service domain. +type AWSDomainInformation struct { + _ struct{} `type:"structure"` + + // Name of the domain. + // + // DomainName is a required field + DomainName *string `min:"3" type:"string" required:"true"` + + // The Amazon Web Services account ID of the domain owner. + OwnerId *string `min:"12" type:"string"` + + // The Amazon Web Services Region in which the domain is located. + Region *string `min:"5" 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 AWSDomainInformation) 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 AWSDomainInformation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AWSDomainInformation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AWSDomainInformation"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) } if s.OwnerId != nil && len(*s.OwnerId) < 12 { invalidParams.Add(request.NewErrParamMinLen("OwnerId", 12)) @@ -4541,7 +5431,7 @@ func (s *AWSDomainInformation) SetRegion(v string) *AWSDomainInformation { type AcceptInboundConnectionInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The ID of the inbound connection you want to accept. + // The ID of the inbound connection to accept. // // ConnectionId is a required field ConnectionId *string `location:"uri" locationName:"ConnectionId" min:"10" type:"string" required:"true"` @@ -4587,12 +5477,11 @@ func (s *AcceptInboundConnectionInput) SetConnectionId(v string) *AcceptInboundC return s } -// The result of an AcceptInboundConnection operation. Contains details about -// the accepted inbound connection. +// Contains details about the accepted inbound connection. type AcceptInboundConnectionOutput struct { _ struct{} `type:"structure"` - // The InboundConnection of the accepted inbound connection. + // Information about the accepted inbound connection. Connection *InboundConnection `type:"structure"` } @@ -4685,20 +5574,19 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } -// The configured access rules for the domain's document and search endpoints, -// and the current status of those rules. +// The configured access rules for the domain's search endpoint, and the current +// status of those rules. type AccessPoliciesStatus struct { _ struct{} `type:"structure"` // The access policy configured for the domain. Access policies can be resource-based, - // IP-based, or IAM-based. See Configuring access policies (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-access-policies)for - // more information. + // IP-based, or IAM-based. For more information, see Configuring access policies + // (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-access-policies). // // Options is a required field Options *string `type:"string" required:"true"` - // The status of the access policy for the domain. See OptionStatus for the - // status information that's included. + // The status of the access policy for the domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` @@ -4739,12 +5627,13 @@ func (s *AccessPoliciesStatus) SetStatus(v *OptionStatus) *AccessPoliciesStatus type AddTagsInput struct { _ struct{} `type:"structure"` - // Specify the ARN of the domain you want to add tags to. + // Amazon Resource Name (ARN) for the OpenSearch Service domain to which you + // want to attach resource tags. // // ARN is a required field ARN *string `min:"20" type:"string" required:"true"` - // List of Tag to add to the domain. + // List of resource tags. // // TagList is a required field TagList []*Tag `type:"list" required:"true"` @@ -4831,19 +5720,20 @@ func (s AddTagsOutput) GoString() string { return s.String() } -// List of limits that are specific to a given InstanceType and for each of -// its InstanceRole . +// List of limits that are specific to a given instance type. type AdditionalLimit struct { _ struct{} `type:"structure"` - // Additional limit is specific to a given InstanceType and for each of its - // InstanceRole etc. Attributes and their details: - // * MaximumNumberOfDataNodesSupported + // * MaximumNumberOfDataNodesSupported - This attribute only applies to master + // nodes and specifies the maximum number of data nodes of a given instance + // type a master node can support. // - // * MaximumNumberOfDataNodesWithoutMasterNode + // * MaximumNumberOfDataNodesWithoutMasterNode - This attribute only applies + // to data nodes and specifies the maximum number of data nodes of a given + // instance type can exist without a master node governing them. LimitName *string `type:"string"` - // Value for a given AdditionalLimit$LimitName . + // The values of the additional instance type limits. LimitValues []*string `type:"list"` } @@ -4877,17 +5767,31 @@ func (s *AdditionalLimit) SetLimitValues(v []*string) *AdditionalLimit { return s } -// Status of the advanced options for the specified domain. Currently, the following -// advanced options are available: +// Status of the advanced options for the specified domain. The following options +// are available: +// +// - "rest.action.multi.allow_explicit_index": "true" | "false" - Note the +// use of a string rather than a boolean. Specifies whether explicit references +// to indexes are allowed inside the body of HTTP requests. If you want to +// configure access policies for domain sub-resources, such as specific indexes +// and domain APIs, you must disable this property. Default is true. // -// - Option to allow references to indices in an HTTP request body. Must -// be false when configuring access to individual sub-resources. By default, -// the value is true. See Advanced cluster parameters for more information. +// - "indices.fielddata.cache.size": "80" - Note the use of a string rather +// than a boolean. Specifies the percentage of heap space allocated to field +// data. Default is unbounded. // -// - Option to specify the percentage of heap space allocated to field data. -// By default, this setting is unbounded. +// - "indices.query.bool.max_clause_count": "1024" - Note the use of a string +// rather than a boolean. Specifies the maximum number of clauses allowed +// in a Lucene boolean query. Default is 1,024. Queries with more than the +// permitted number of clauses result in a TooManyClauses error. // -// For more information, see Advanced cluster parameters (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options). +// - "override_main_response_version": "true" | "false" - Note the use of +// a string rather than a boolean. Specifies whether the domain reports its +// version as 7.10 to allow Elasticsearch OSS clients and plugins to continue +// working with it. Default is false when creating a domain and true when +// upgrading a domain. +// +// For more information, see Advanced cluster parameters (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options). type AdvancedOptionsStatus struct { _ struct{} `type:"structure"` @@ -4896,7 +5800,7 @@ type AdvancedOptionsStatus struct { // Options is a required field Options map[string]*string `type:"map" required:"true"` - // The OptionStatus for advanced options for the specified domain. + // The status of advanced options for the specified domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` @@ -4932,25 +5836,26 @@ func (s *AdvancedOptionsStatus) SetStatus(v *OptionStatus) *AdvancedOptionsStatu return s } -// The advanced security configuration: whether advanced security is enabled, -// whether the internal database option is enabled. +// Container for fine-grained access control settings. type AdvancedSecurityOptions struct { _ struct{} `type:"structure"` - // Specifies the Anonymous Auth Disable Date when Anonymous Auth is enabled. + // Date and time when the migration period will be disabled. Only necessary + // when enabling fine-grained access control on an existing domain (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing). AnonymousAuthDisableDate *time.Time `type:"timestamp"` - // True if Anonymous auth is enabled. Anonymous auth can be enabled only when - // AdvancedSecurity is enabled on existing domains. + // True if a 30-day migration period is enabled, during which administrators + // can create role mappings. Only necessary when enabling fine-grained access + // control on an existing domain (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing). AnonymousAuthEnabled *bool `type:"boolean"` - // True if advanced security is enabled. + // True if fine-grained access control is enabled. Enabled *bool `type:"boolean"` // True if the internal user database is enabled. InternalUserDatabaseEnabled *bool `type:"boolean"` - // Describes the SAML application configured for a domain. + // Container for information about the SAML configuration for OpenSearch Dashboards. SAMLOptions *SAMLOptionsOutput_ `type:"structure"` } @@ -5002,26 +5907,27 @@ func (s *AdvancedSecurityOptions) SetSAMLOptions(v *SAMLOptionsOutput_) *Advance return s } -// The advanced security configuration: whether advanced security is enabled, -// whether the internal database option is enabled, master username and password -// (if internal database is enabled), and master user ARN (if IAM is enabled). +// Options for enabling and configuring fine-grained access control. For more +// information, see Fine-grained access control in Amazon OpenSearch Service +// (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html). type AdvancedSecurityOptionsInput_ struct { _ struct{} `type:"structure"` - // True if Anonymous auth is enabled. Anonymous auth can be enabled only when - // AdvancedSecurity is enabled on existing domains. + // True to enable a 30-day migration period during which administrators can + // create role mappings. Only necessary when enabling fine-grained access control + // on an existing domain (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing). AnonymousAuthEnabled *bool `type:"boolean"` - // True if advanced security is enabled. + // True to enable fine-grained access control. Enabled *bool `type:"boolean"` - // True if the internal user database is enabled. + // True to enable the internal user database. InternalUserDatabaseEnabled *bool `type:"boolean"` - // Credentials for the master user: username and password, ARN, or both. + // Container for information about the master user. MasterUserOptions *MasterUserOptions `type:"structure"` - // The SAML application configuration for the domain. + // Container for information about the SAML configuration for OpenSearch Dashboards. SAMLOptions *SAMLOptionsInput_ `type:"structure"` } @@ -5093,16 +5999,16 @@ func (s *AdvancedSecurityOptionsInput_) SetSAMLOptions(v *SAMLOptionsInput_) *Ad return s } -// The status of advanced security options for the specified domain. +// The status of fine-grained access control settings for a domain. type AdvancedSecurityOptionsStatus struct { _ struct{} `type:"structure"` - // Advanced security options for the specified domain. + // Container for fine-grained access control settings. // // Options is a required field Options *AdvancedSecurityOptions `type:"structure" required:"true"` - // Status of the advanced security options for the specified domain. + // Status of the fine-grained access control settings for a domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` @@ -5142,7 +6048,7 @@ func (s *AdvancedSecurityOptionsStatus) SetStatus(v *OptionStatus) *AdvancedSecu type AssociatePackageInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the domain to associate the package with. + // Name of the domain to associate the package with. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` @@ -5206,11 +6112,11 @@ func (s *AssociatePackageInput) SetPackageID(v string) *AssociatePackageInput { return s } -// Container for the response returned by AssociatePackage operation. +// Container for the response returned by the AssociatePackage operation. type AssociatePackageOutput struct { _ struct{} `type:"structure"` - // DomainPackageDetails + // Information about a package that is associated with a domain. DomainPackageDetails *DomainPackageDetails `type:"structure"` } @@ -5238,16 +6144,156 @@ func (s *AssociatePackageOutput) SetDomainPackageDetails(v *DomainPackageDetails return s } -// Specifies the Auto-Tune type and Auto-Tune action details. +type AuthorizeVpcEndpointAccessInput struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services account ID to grant access to. + // + // Account is a required field + Account *string `type:"string" required:"true"` + + // The name of the OpenSearch Service domain to provide access to. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"3" 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 AuthorizeVpcEndpointAccessInput) 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 AuthorizeVpcEndpointAccessInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AuthorizeVpcEndpointAccessInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AuthorizeVpcEndpointAccessInput"} + if s.Account == nil { + invalidParams.Add(request.NewErrParamRequired("Account")) + } + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccount sets the Account field's value. +func (s *AuthorizeVpcEndpointAccessInput) SetAccount(v string) *AuthorizeVpcEndpointAccessInput { + s.Account = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *AuthorizeVpcEndpointAccessInput) SetDomainName(v string) *AuthorizeVpcEndpointAccessInput { + s.DomainName = &v + return s +} + +type AuthorizeVpcEndpointAccessOutput struct { + _ struct{} `type:"structure"` + + // Information about the Amazon Web Services account or service that was provided + // access to the domain. + // + // AuthorizedPrincipal is a required field + AuthorizedPrincipal *AuthorizedPrincipal `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AuthorizeVpcEndpointAccessOutput) 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 AuthorizeVpcEndpointAccessOutput) GoString() string { + return s.String() +} + +// SetAuthorizedPrincipal sets the AuthorizedPrincipal field's value. +func (s *AuthorizeVpcEndpointAccessOutput) SetAuthorizedPrincipal(v *AuthorizedPrincipal) *AuthorizeVpcEndpointAccessOutput { + s.AuthorizedPrincipal = v + return s +} + +// Information about an Amazon Web Services account or service that has access +// to an Amazon OpenSearch Service domain through the use of an interface VPC +// endpoint. +type AuthorizedPrincipal struct { + _ struct{} `type:"structure"` + + // The IAM principal (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html) + // that is allowed access to the domain. + Principal *string `type:"string"` + + // The type of principal. + PrincipalType *string `type:"string" enum:"PrincipalType"` +} + +// 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 AuthorizedPrincipal) 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 AuthorizedPrincipal) GoString() string { + return s.String() +} + +// SetPrincipal sets the Principal field's value. +func (s *AuthorizedPrincipal) SetPrincipal(v string) *AuthorizedPrincipal { + s.Principal = &v + return s +} + +// SetPrincipalType sets the PrincipalType field's value. +func (s *AuthorizedPrincipal) SetPrincipalType(v string) *AuthorizedPrincipal { + s.PrincipalType = &v + return s +} + +// Information about an Auto-Tune action. For more information, see Auto-Tune +// for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html). type AutoTune struct { _ struct{} `type:"structure"` - // Specifies details about the Auto-Tune action. See Auto-Tune for Amazon OpenSearch - // Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) - // for more information. + // Details about an Auto-Tune action. AutoTuneDetails *AutoTuneDetails `type:"structure"` - // Specifies the Auto-Tune type. Valid value is SCHEDULED_ACTION. + // The type of Auto-Tune action. AutoTuneType *string `type:"string" enum:"AutoTuneType"` } @@ -5281,15 +6327,12 @@ func (s *AutoTune) SetAutoTuneType(v string) *AutoTune { return s } -// Specifies details about the Auto-Tune action. See Auto-Tune for Amazon OpenSearch -// Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) -// for more information. +// Specifies details about a scheduled Auto-Tune action. For more information, +// see Auto-Tune for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html). type AutoTuneDetails struct { _ struct{} `type:"structure"` - // Specifies details about the scheduled Auto-Tune action. See Auto-Tune for - // Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) - // for more information. + // Container for details about a scheduled Auto-Tune action. ScheduledAutoTuneDetails *ScheduledAutoTuneDetails `type:"structure"` } @@ -5317,23 +6360,20 @@ func (s *AutoTuneDetails) SetScheduledAutoTuneDetails(v *ScheduledAutoTuneDetail return s } -// Specifies the Auto-Tune maintenance schedule. See Auto-Tune for Amazon OpenSearch -// Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) -// for more information. +// The Auto-Tune maintenance schedule. For more information, see Auto-Tune for +// Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html). type AutoTuneMaintenanceSchedule struct { _ struct{} `type:"structure"` - // A cron expression for a recurring maintenance schedule. See Auto-Tune for - // Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) - // for more information. + // A cron expression for a recurring maintenance schedule during which Auto-Tune + // can deploy changes. CronExpressionForRecurrence *string `type:"string"` - // Specifies maintenance schedule duration: duration value and duration unit. - // See Auto-Tune for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) - // for more information. + // The duration of the maintenance schedule. For example, "Duration": {"Value": + // 2, "Unit": "HOURS"}. Duration *Duration `type:"structure"` - // The timestamp at which the Auto-Tune maintenance schedule starts. + // The Epoch timestamp at which the Auto-Tune maintenance schedule starts. StartAt *time.Time `type:"timestamp"` } @@ -5388,21 +6428,21 @@ func (s *AutoTuneMaintenanceSchedule) SetStartAt(v time.Time) *AutoTuneMaintenan return s } -// The Auto-Tune options: the Auto-Tune desired state for the domain, rollback -// state when disabling Auto-Tune options and list of maintenance schedules. +// Auto-Tune settings when updating a domain. For more information, see Auto-Tune +// for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html). type AutoTuneOptions struct { _ struct{} `type:"structure"` - // The Auto-Tune desired state. Valid values are ENABLED and DISABLED. + // Whether Auto-Tune is enabled or disabled. DesiredState *string `type:"string" enum:"AutoTuneDesiredState"` - // A list of maintenance schedules. See Auto-Tune for Amazon OpenSearch Service - // (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) - // for more information. + // A list of maintenance schedules during which Auto-Tune can deploy changes. MaintenanceSchedules []*AutoTuneMaintenanceSchedule `type:"list"` - // The rollback state while disabling Auto-Tune for the domain. Valid values - // are NO_ROLLBACK and DEFAULT_ROLLBACK. + // When disabling Auto-Tune, specify NO_ROLLBACK to retain all prior Auto-Tune + // settings or DEFAULT_ROLLBACK to revert to the OpenSearch Service defaults. + // If you specify DEFAULT_ROLLBACK, you must include a MaintenanceSchedule in + // the request. Otherwise, OpenSearch Service is unable to perform the rollback. RollbackOnDisable *string `type:"string" enum:"RollbackOnDisable"` } @@ -5462,17 +6502,19 @@ func (s *AutoTuneOptions) SetRollbackOnDisable(v string) *AutoTuneOptions { return s } -// The Auto-Tune options: the Auto-Tune desired state for the domain and list -// of maintenance schedules. +// Options for configuring Auto-Tune. For more information, see Auto-Tune for +// Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html). type AutoTuneOptionsInput_ struct { _ struct{} `type:"structure"` - // The Auto-Tune desired state. Valid values are ENABLED and DISABLED. + // Whether Auto-Tune is enabled or disabled. DesiredState *string `type:"string" enum:"AutoTuneDesiredState"` - // A list of maintenance schedules. See Auto-Tune for Amazon OpenSearch Service - // (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) - // for more information. + // A list of maintenance schedules during which Auto-Tune can deploy changes. + // Maintenance schedules are overwrite, not append. If your request includes + // no schedules, the request deletes all existing schedules. To preserve existing + // schedules, make a call to DescribeDomainConfig first and use the MaintenanceSchedules + // portion of the response as the basis for this section. MaintenanceSchedules []*AutoTuneMaintenanceSchedule `type:"list"` } @@ -5526,15 +6568,15 @@ func (s *AutoTuneOptionsInput_) SetMaintenanceSchedules(v []*AutoTuneMaintenance return s } -// The Auto-Tune options: the Auto-Tune desired state for the domain and list -// of maintenance schedules. +// The Auto-Tune settings for a domain, displayed when enabling or disabling +// Auto-Tune. type AutoTuneOptionsOutput_ struct { _ struct{} `type:"structure"` - // The error message while enabling or disabling Auto-Tune. + // Any errors that occurred while enabling or disabling Auto-Tune. ErrorMessage *string `type:"string"` - // The AutoTuneState for the domain. + // The current state of Auto-Tune on the domain. State *string `type:"string" enum:"AutoTuneState"` } @@ -5572,10 +6614,10 @@ func (s *AutoTuneOptionsOutput_) SetState(v string) *AutoTuneOptionsOutput_ { type AutoTuneOptionsStatus struct { _ struct{} `type:"structure"` - // Specifies Auto-Tune options for the domain. + // Auto-Tune settings for updating a domain. Options *AutoTuneOptions `type:"structure"` - // The status of the Auto-Tune options for the domain. + // The current status of Auto-Tune for a domain. Status *AutoTuneStatus `type:"structure"` } @@ -5609,27 +6651,28 @@ func (s *AutoTuneOptionsStatus) SetStatus(v *AutoTuneStatus) *AutoTuneOptionsSta return s } -// Provides the current Auto-Tune status for the domain. +// The current status of Auto-Tune for the domain. For more information, see +// Auto-Tune for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html). type AutoTuneStatus struct { _ struct{} `type:"structure"` - // The timestamp of the Auto-Tune options creation date. + // Date and time when Auto-Tune was enabled for the domain. // // CreationDate is a required field CreationDate *time.Time `type:"timestamp" required:"true"` - // The error message while enabling or disabling Auto-Tune. + // Any errors that occurred while enabling or disabling Auto-Tune. ErrorMessage *string `type:"string"` // Indicates whether the domain is being deleted. PendingDeletion *bool `type:"boolean"` - // The AutoTuneState for the domain. + // The current state of Auto-Tune on the domain. // // State is a required field State *string `type:"string" required:"true" enum:"AutoTuneState"` - // The timestamp of when the Auto-Tune options were last updated. + // Date and time when the Auto-Tune options were last updated for the domain. // // UpdateDate is a required field UpdateDate *time.Time `type:"timestamp" required:"true"` @@ -5757,14 +6800,12 @@ func (s *BaseException) RequestID() string { return s.RespMetadata.RequestID } -// Container for the parameters to the CancelServiceSoftwareUpdate operation. -// Specifies the name of the domain that you wish to cancel a service software -// update on. +// Container for the request parameters to cancel a service software update. type CancelServiceSoftwareUpdateInput struct { _ struct{} `type:"structure"` - // The name of the domain that you want to stop the latest service software - // update on. + // Name of the OpenSearch Service domain that you want to cancel the service + // software update on. // // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` @@ -5810,12 +6851,12 @@ func (s *CancelServiceSoftwareUpdateInput) SetDomainName(v string) *CancelServic return s } -// The result of a CancelServiceSoftwareUpdate operation. Contains the status -// of the update. +// Container for the response to a CancelServiceSoftwareUpdate operation. Contains +// the status of the update. type CancelServiceSoftwareUpdateOutput struct { _ struct{} `type:"structure"` - // The current status of the OpenSearch service software update. + // Container for the state of your domain relative to the latest service software. ServiceSoftwareOptions *ServiceSoftwareOptions `type:"structure"` } @@ -5843,15 +6884,14 @@ func (s *CancelServiceSoftwareUpdateOutput) SetServiceSoftwareOptions(v *Service return s } -// Specifies change details of the domain configuration change. +// Container for information about a configuration change happening on a domain. type ChangeProgressDetails struct { _ struct{} `type:"structure"` - // The unique change identifier associated with a specific domain configuration - // change. + // The ID of the configuration change. ChangeId *string `min:"36" type:"string"` - // Contains an optional message associated with the domain configuration change. + // A message corresponding to the status of the configuration change. Message *string `type:"string"` } @@ -5885,20 +6925,20 @@ func (s *ChangeProgressDetails) SetMessage(v string) *ChangeProgressDetails { return s } -// A progress stage details of a specific domain configuration change. +// Progress details for each stage of a domain update. type ChangeProgressStage struct { _ struct{} `type:"structure"` - // The description of the progress stage. + // The description of the stage. Description *string `type:"string"` - // The last updated timestamp of the progress stage. + // The most recent updated timestamp of the stage. LastUpdated *time.Time `type:"timestamp"` - // The name of the specific progress stage. + // The name of the stage. Name *string `min:"1" type:"string"` - // The overall status of a specific progress stage. + // The status of the stage. Status *string `min:"1" type:"string"` } @@ -5956,19 +6996,17 @@ type ChangeProgressStatusDetails struct { // change. ChangeProgressStages []*ChangeProgressStage `type:"list"` - // The list of properties involved in the domain configuration change that are - // completed. + // The list of properties in the domain configuration change that have completed. CompletedProperties []*string `type:"list"` - // The list of properties involved in the domain configuration change that are - // still in pending. + // The list of properties in the domain configuration change that are still + // pending. PendingProperties []*string `type:"list"` // The time at which the configuration change is made on the domain. StartTime *time.Time `type:"timestamp"` - // The overall status of the domain configuration change. This field can take - // the following values: PENDING, PROCESSING, COMPLETED and FAILED + // The overall status of the domain configuration change. Status *string `type:"string" enum:"OverallChangeStatus"` // The total number of stages required for the configuration change. @@ -6035,47 +7073,49 @@ func (s *ChangeProgressStatusDetails) SetTotalNumberOfStages(v int64) *ChangePro return s } -// The configuration for the domain cluster, such as the type and number of -// instances. +// Container for the cluster configuration of an OpenSearch Service domain. +// For more information, see Creating and managing Amazon OpenSearch Service +// domains (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html). type ClusterConfig struct { _ struct{} `type:"structure"` - // Specifies the ColdStorageOptions config for a Domain + // Container for cold storage configuration options. ColdStorageOptions *ColdStorageOptions `type:"structure"` - // Total number of dedicated master nodes, active and on standby, for the cluster. + // Number of dedicated master nodes in the cluster. This number must be greater + // than 1, otherwise you receive a validation exception. DedicatedMasterCount *int64 `type:"integer"` - // A boolean value to indicate whether a dedicated master node is enabled. See - // Dedicated master nodes in Amazon OpenSearch Service (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains.html#managedomains-dedicatedmasternodes) - // for more information. + // Indicates whether dedicated master nodes are enabled for the cluster.True + // if the cluster will use a dedicated master node.False if the cluster will + // not. DedicatedMasterEnabled *bool `type:"boolean"` - // The instance type for a dedicated master node. + // OpenSearch Service instance type of the dedicated master nodes in the cluster. DedicatedMasterType *string `type:"string" enum:"OpenSearchPartitionInstanceType"` - // The number of instances in the specified domain cluster. + // Number of dedicated master nodes in the cluster. This number must be greater + // than 1, otherwise you receive a validation exception. InstanceCount *int64 `type:"integer"` - // The instance type for an OpenSearch cluster. UltraWarm instance types are - // not supported for data instances. + // Instance type of data nodes in the cluster. InstanceType *string `type:"string" enum:"OpenSearchPartitionInstanceType"` - // The number of UltraWarm nodes in the cluster. + // The number of warm nodes in the cluster. WarmCount *int64 `type:"integer"` - // True to enable UltraWarm storage. + // Whether to enable warm storage for the cluster. WarmEnabled *bool `type:"boolean"` - // The instance type for the OpenSearch cluster's warm nodes. + // The instance type for the cluster's warm nodes. WarmType *string `type:"string" enum:"OpenSearchWarmPartitionInstanceType"` - // The zone awareness configuration for a domain when zone awareness is enabled. + // Container for zone awareness configuration options. Only required if ZoneAwarenessEnabled + // is true. ZoneAwarenessConfig *ZoneAwarenessConfig `type:"structure"` - // A boolean value to indicate whether zone awareness is enabled. See Configuring - // a multi-AZ domain in Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html) - // for more information. + // Indicates whether multiple Availability Zones are enabled. For more information, + // see Configuring a multi-AZ domain in Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html). ZoneAwarenessEnabled *bool `type:"boolean"` } @@ -6178,16 +7218,16 @@ func (s *ClusterConfig) SetZoneAwarenessEnabled(v bool) *ClusterConfig { return s } -// The configuration status for the specified domain. +// The cluster configuration status for a domain. type ClusterConfigStatus struct { _ struct{} `type:"structure"` - // The cluster configuration for the specified domain. + // Cluster configuration options for the specified domain. // // Options is a required field Options *ClusterConfig `type:"structure" required:"true"` - // The cluster configuration status for the specified domain. + // The status of cluster configuration options for the specified domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` @@ -6223,22 +7263,26 @@ func (s *ClusterConfigStatus) SetStatus(v *OptionStatus) *ClusterConfigStatus { return s } -// Options to specify the Cognito user and identity pools for OpenSearch Dashboards -// authentication. For more information, see Configuring Amazon Cognito authentication -// for OpenSearch Dashboards (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/cognito-auth.html). +// Container for the parameters required to enable Cognito authentication for +// an OpenSearch Service domain. For more information, see Configuring Amazon +// Cognito authentication for OpenSearch Dashboards (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cognito-auth.html). type CognitoOptions struct { _ struct{} `type:"structure"` - // The option to enable Cognito for OpenSearch Dashboards authentication. + // Whether to enable or disable Amazon Cognito authentication for OpenSearch + // Dashboards. Enabled *bool `type:"boolean"` - // The Cognito identity pool ID for OpenSearch Dashboards authentication. + // The Amazon Cognito identity pool ID that you want OpenSearch Service to use + // for OpenSearch Dashboards authentication. IdentityPoolId *string `min:"1" type:"string"` - // The role ARN that provides OpenSearch permissions for accessing Cognito resources. + // The AmazonOpenSearchServiceCognitoAccess role that allows OpenSearch Service + // to configure your user pool and identity pool. RoleArn *string `min:"20" type:"string"` - // The Cognito user pool ID for OpenSearch Dashboards authentication. + // The Amazon Cognito user pool ID that you want OpenSearch Service to use for + // OpenSearch Dashboards authentication. UserPoolId *string `min:"1" type:"string"` } @@ -6348,11 +7392,13 @@ func (s *CognitoOptionsStatus) SetStatus(v *OptionStatus) *CognitoOptionsStatus return s } -// Specifies the configuration for cold storage options such as enabled +// Container for the parameters required to enable cold storage for an OpenSearch +// Service domain. For more information, see Cold storage for Amazon OpenSearch +// Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cold-storage.html). type ColdStorageOptions struct { _ struct{} `type:"structure"` - // Enable cold storage option. Accepted values true or false + // Whether to enable or disable cold storage on the domain. // // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` @@ -6395,15 +7441,15 @@ func (s *ColdStorageOptions) SetEnabled(v bool) *ColdStorageOptions { return s } -// A map from an EngineVersion to a list of compatible EngineVersion s to which -// the domain can be upgraded. +// A map of OpenSearch or Elasticsearch versions and the versions you can upgrade +// them to. type CompatibleVersionsMap struct { _ struct{} `type:"structure"` - // The current version of OpenSearch a domain is on. + // The current version that the OpenSearch Service domain is running. SourceVersion *string `min:"14" type:"string"` - // List of supported OpenSearch versions. + // The possible versions that you can upgrade the domain to. TargetVersions []*string `type:"list"` } @@ -6505,71 +7551,90 @@ func (s *ConflictException) RequestID() string { type CreateDomainInput struct { _ struct{} `type:"structure"` - // IAM access policy as a JSON-formatted string. + // Identity and Access Management (IAM) policy document specifying the access + // policies for the new domain. AccessPolicies *string `type:"string"` - // Option to allow references to indices in an HTTP request body. Must be false - // when configuring access to individual sub-resources. By default, the value - // is true. See Advanced cluster parameters (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options) - // for more information. + // Key-value pairs to specify advanced configuration options. The following + // key-value pairs are supported: + // + // * "rest.action.multi.allow_explicit_index": "true" | "false" - Note the + // use of a string rather than a boolean. Specifies whether explicit references + // to indexes are allowed inside the body of HTTP requests. If you want to + // configure access policies for domain sub-resources, such as specific indexes + // and domain APIs, you must disable this property. Default is true. + // + // * "indices.fielddata.cache.size": "80" - Note the use of a string rather + // than a boolean. Specifies the percentage of heap space allocated to field + // data. Default is unbounded. + // + // * "indices.query.bool.max_clause_count": "1024" - Note the use of a string + // rather than a boolean. Specifies the maximum number of clauses allowed + // in a Lucene boolean query. Default is 1,024. Queries with more than the + // permitted number of clauses result in a TooManyClauses error. + // + // * "override_main_response_version": "true" | "false" - Note the use of + // a string rather than a boolean. Specifies whether the domain reports its + // version as 7.10 to allow Elasticsearch OSS clients and plugins to continue + // working with it. Default is false when creating a domain and true when + // upgrading a domain. + // + // For more information, see Advanced cluster parameters (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options). AdvancedOptions map[string]*string `type:"map"` - // Specifies advanced security options. + // Options for fine-grained access control. AdvancedSecurityOptions *AdvancedSecurityOptionsInput_ `type:"structure"` - // Specifies Auto-Tune options. + // Options for Auto-Tune. AutoTuneOptions *AutoTuneOptionsInput_ `type:"structure"` - // Configuration options for a domain. Specifies the instance type and number - // of instances in the domain. + // Container for the cluster configuration of a domain. ClusterConfig *ClusterConfig `type:"structure"` - // Options to specify the Cognito user and identity pools for OpenSearch Dashboards - // authentication. For more information, see Configuring Amazon Cognito authentication - // for OpenSearch Dashboards (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/cognito-auth.html). + // Key-value pairs to configure Amazon Cognito authentication. For more information, + // see Configuring Amazon Cognito authentication for OpenSearch Dashboards (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cognito-auth.html). CognitoOptions *CognitoOptions `type:"structure"` - // Options to specify configurations that will be applied to the domain endpoint. + // Additional options for the domain endpoint, such as whether to require HTTPS + // for all traffic. DomainEndpointOptions *DomainEndpointOptions `type:"structure"` - // The name of the Amazon OpenSearch Service domain you're creating. Domain - // names are unique across the domains owned by an account within an AWS region. - // Domain names must start with a lowercase letter and can contain the following - // characters: a-z (lowercase), 0-9, and - (hyphen). + // Name of the OpenSearch Service domain to create. Domain names are unique + // across the domains owned by an account within an Amazon Web Services Region. // // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` - // Options to enable, disable, and specify the type and size of EBS storage - // volumes. + // Container for the parameters required to enable EBS-based storage for an + // OpenSearch Service domain. EBSOptions *EBSOptions `type:"structure"` - // Options for encryption of data at rest. + // Key-value pairs to enable encryption at rest. EncryptionAtRestOptions *EncryptionAtRestOptions `type:"structure"` // String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine - // version for the Amazon OpenSearch Service domain. For example, "OpenSearch_1.0" - // or "Elasticsearch_7.9". For more information, see Creating and managing Amazon - // OpenSearch Service domains (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomains). + // version for the OpenSearch Service domain. For example, OpenSearch_1.0 or + // Elasticsearch_7.9. For more information, see Creating and managing Amazon + // OpenSearch Service domains (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomains). EngineVersion *string `min:"14" type:"string"` - // Map of LogType and LogPublishingOption, each containing options to publish - // a given type of OpenSearch log. + // Key-value pairs to configure slow log publishing. LogPublishingOptions map[string]*LogPublishingOption `type:"map"` - // Node-to-node encryption options. + // Enables node-to-node encryption. NodeToNodeEncryptionOptions *NodeToNodeEncryptionOptions `type:"structure"` - // Option to set time, in UTC format, of the daily automated snapshot. Default - // value is 0 hours. + // DEPRECATED. Container for the parameters required to configure automated + // snapshots of domain indexes. SnapshotOptions *SnapshotOptions `type:"structure"` - // A list of Tag added during domain creation. + // List of tags to add to the domain upon creation. TagList []*Tag `type:"list"` - // Options to specify the subnets and security groups for a VPC endpoint. For - // more information, see Launching your Amazon OpenSearch Service domains using - // a VPC (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html). + // Container for the values required to configure VPC access domains. If you + // don't specify these values, OpenSearch Service creates the domain with a + // public endpoint. For more information, see Launching your Amazon OpenSearch + // Service domains using a VPC (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html). VPCOptions *VPCOptions `type:"structure"` } @@ -6757,7 +7822,7 @@ func (s *CreateDomainInput) SetVPCOptions(v *VPCOptions) *CreateDomainInput { } // The result of a CreateDomain operation. Contains the status of the newly -// created Amazon OpenSearch Service domain. +// created domain. type CreateDomainOutput struct { _ struct{} `type:"structure"` @@ -6793,17 +7858,17 @@ func (s *CreateDomainOutput) SetDomainStatus(v *DomainStatus) *CreateDomainOutpu type CreateOutboundConnectionInput struct { _ struct{} `type:"structure"` - // The connection alias used used by the customer for this cross-cluster connection. + // Name of the connection. // // ConnectionAlias is a required field ConnectionAlias *string `min:"2" type:"string" required:"true"` - // The AWSDomainInformation for the local OpenSearch domain. + // Name and Region of the source (local) domain. // // LocalDomainInfo is a required field LocalDomainInfo *DomainInformationContainer `type:"structure" required:"true"` - // The AWSDomainInformation for the remote OpenSearch domain. + // Name and Region of the destination (remote) domain. // // RemoteDomainInfo is a required field RemoteDomainInfo *DomainInformationContainer `type:"structure" required:"true"` @@ -6877,25 +7942,25 @@ func (s *CreateOutboundConnectionInput) SetRemoteDomainInfo(v *DomainInformation return s } -// The result of a CreateOutboundConnection request. Contains the details about +// The result of a CreateOutboundConnection request. Contains details about // the newly created cross-cluster connection. type CreateOutboundConnectionOutput struct { _ struct{} `type:"structure"` - // The connection alias provided during the create connection request. + // Name of the connection. ConnectionAlias *string `min:"2" type:"string"` - // The unique ID for the created outbound connection, which is used for subsequent - // operations on the connection. + // The unique identifier for the created outbound connection, which is used + // for subsequent operations on the connection. ConnectionId *string `min:"10" type:"string"` - // The OutboundConnectionStatus for the newly created connection. + // The status of the connection. ConnectionStatus *OutboundConnectionStatus `type:"structure"` - // The AWSDomainInformation for the local OpenSearch domain. + // Information about the source (local) domain. LocalDomainInfo *DomainInformationContainer `type:"structure"` - // The AWSDomainInformation for the remote OpenSearch domain. + // Information about the destination (remote) domain. RemoteDomainInfo *DomainInformationContainer `type:"structure"` } @@ -6954,7 +8019,7 @@ type CreatePackageInput struct { // Description of the package. PackageDescription *string `type:"string"` - // Unique identifier for the package. + // Unique name for the package. // // PackageName is a required field PackageName *string `min:"3" type:"string" required:"true"` @@ -6964,7 +8029,7 @@ type CreatePackageInput struct { // PackageSource is a required field PackageSource *PackageSource `type:"structure" required:"true"` - // Type of package. Currently supports only TXT-DICTIONARY. + // Type of package. // // PackageType is a required field PackageType *string `type:"string" required:"true" enum:"PackageType"` @@ -7043,7 +8108,7 @@ func (s *CreatePackageInput) SetPackageType(v string) *CreatePackageInput { type CreatePackageOutput struct { _ struct{} `type:"structure"` - // Information about the package. + // Basic information about an OpenSearch Service package. PackageDetails *PackageDetails `type:"structure"` } @@ -7071,8 +8136,115 @@ func (s *CreatePackageOutput) SetPackageDetails(v *PackageDetails) *CreatePackag return s } -// Container for the parameters to the DeleteDomain operation. Specifies the -// name of the domain you want to delete. +type CreateVpcEndpointInput struct { + _ struct{} `type:"structure"` + + // Unique, case-sensitive identifier to ensure idempotency of the request. + ClientToken *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the domain to grant access to. + // + // DomainArn is a required field + DomainArn *string `min:"1" type:"string" required:"true"` + + // Options to specify the subnets and security groups for the endpoint. + // + // VpcOptions is a required field + VpcOptions *VPCOptions `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVpcEndpointInput) 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 CreateVpcEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateVpcEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateVpcEndpointInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.DomainArn == nil { + invalidParams.Add(request.NewErrParamRequired("DomainArn")) + } + if s.DomainArn != nil && len(*s.DomainArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainArn", 1)) + } + if s.VpcOptions == nil { + invalidParams.Add(request.NewErrParamRequired("VpcOptions")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateVpcEndpointInput) SetClientToken(v string) *CreateVpcEndpointInput { + s.ClientToken = &v + return s +} + +// SetDomainArn sets the DomainArn field's value. +func (s *CreateVpcEndpointInput) SetDomainArn(v string) *CreateVpcEndpointInput { + s.DomainArn = &v + return s +} + +// SetVpcOptions sets the VpcOptions field's value. +func (s *CreateVpcEndpointInput) SetVpcOptions(v *VPCOptions) *CreateVpcEndpointInput { + s.VpcOptions = v + return s +} + +type CreateVpcEndpointOutput struct { + _ struct{} `type:"structure"` + + // Information about the newly created VPC endpoint. + // + // VpcEndpoint is a required field + VpcEndpoint *VpcEndpoint `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateVpcEndpointOutput) 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 CreateVpcEndpointOutput) GoString() string { + return s.String() +} + +// SetVpcEndpoint sets the VpcEndpoint field's value. +func (s *CreateVpcEndpointOutput) SetVpcEndpoint(v *VpcEndpoint) *CreateVpcEndpointOutput { + s.VpcEndpoint = v + return s +} + +// Container for the parameters to the DeleteDomain operation. type DeleteDomainInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -7122,7 +8294,7 @@ func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput { return s } -// The result of a DeleteDomain request. Contains the status of the pending +// The results of a DeleteDomain request. Contains the status of the pending // deletion, or a "domain not found" error if the domain and all of its resources // have been deleted. type DeleteDomainOutput struct { @@ -7206,12 +8378,12 @@ func (s *DeleteInboundConnectionInput) SetConnectionId(v string) *DeleteInboundC return s } -// The result of a DeleteInboundConnection operation. Contains details about +// The results of a DeleteInboundConnection operation. Contains details about // the deleted inbound connection. type DeleteInboundConnectionOutput struct { _ struct{} `type:"structure"` - // The InboundConnection of the deleted inbound connection. + // The deleted inbound connection. Connection *InboundConnection `type:"structure"` } @@ -7289,12 +8461,11 @@ func (s *DeleteOutboundConnectionInput) SetConnectionId(v string) *DeleteOutboun return s } -// The result of a DeleteOutboundConnection operation. Contains details about -// the deleted outbound connection. +// Details about the deleted outbound connection. type DeleteOutboundConnectionOutput struct { _ struct{} `type:"structure"` - // The OutboundConnection of the deleted outbound connection. + // The deleted inbound connection. Connection *OutboundConnection `type:"structure"` } @@ -7322,15 +8493,97 @@ func (s *DeleteOutboundConnectionOutput) SetConnection(v *OutboundConnection) *D return s } -// Container for the request parameters to the DeletePackage operation. -type DeletePackageInput struct { +// Deletes a package from OpenSearch Service. The package can't be associated +// with any OpenSearch Service domain. +type DeletePackageInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The internal ID of the package you want to delete. Use DescribePackages to + // find this value. + // + // PackageID is a required field + PackageID *string `location:"uri" locationName:"PackageID" 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 DeletePackageInput) 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 DeletePackageInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeletePackageInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeletePackageInput"} + if s.PackageID == nil { + invalidParams.Add(request.NewErrParamRequired("PackageID")) + } + if s.PackageID != nil && len(*s.PackageID) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PackageID", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPackageID sets the PackageID field's value. +func (s *DeletePackageInput) SetPackageID(v string) *DeletePackageInput { + s.PackageID = &v + return s +} + +// Container for the response parameters to the DeletePackage operation. +type DeletePackageOutput struct { + _ struct{} `type:"structure"` + + // Information about the deleted package. + PackageDetails *PackageDetails `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 DeletePackageOutput) 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 DeletePackageOutput) GoString() string { + return s.String() +} + +// SetPackageDetails sets the PackageDetails field's value. +func (s *DeletePackageOutput) SetPackageDetails(v *PackageDetails) *DeletePackageOutput { + s.PackageDetails = v + return s +} + +type DeleteVpcEndpointInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The internal ID of the package you want to delete. Use DescribePackages to - // find this value. + // The unique identifier of the endpoint. // - // PackageID is a required field - PackageID *string `location:"uri" locationName:"PackageID" type:"string" required:"true"` + // VpcEndpointId is a required field + VpcEndpointId *string `location:"uri" locationName:"VpcEndpointId" min:"5" type:"string" required:"true"` } // String returns the string representation. @@ -7338,7 +8591,7 @@ type DeletePackageInput struct { // 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 DeletePackageInput) String() string { +func (s DeleteVpcEndpointInput) String() string { return awsutil.Prettify(s) } @@ -7347,18 +8600,18 @@ func (s DeletePackageInput) String() string { // 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 DeletePackageInput) GoString() string { +func (s DeleteVpcEndpointInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeletePackageInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeletePackageInput"} - if s.PackageID == nil { - invalidParams.Add(request.NewErrParamRequired("PackageID")) +func (s *DeleteVpcEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteVpcEndpointInput"} + if s.VpcEndpointId == nil { + invalidParams.Add(request.NewErrParamRequired("VpcEndpointId")) } - if s.PackageID != nil && len(*s.PackageID) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PackageID", 1)) + if s.VpcEndpointId != nil && len(*s.VpcEndpointId) < 5 { + invalidParams.Add(request.NewErrParamMinLen("VpcEndpointId", 5)) } if invalidParams.Len() > 0 { @@ -7367,18 +8620,20 @@ func (s *DeletePackageInput) Validate() error { return nil } -// SetPackageID sets the PackageID field's value. -func (s *DeletePackageInput) SetPackageID(v string) *DeletePackageInput { - s.PackageID = &v +// SetVpcEndpointId sets the VpcEndpointId field's value. +func (s *DeleteVpcEndpointInput) SetVpcEndpointId(v string) *DeleteVpcEndpointInput { + s.VpcEndpointId = &v return s } -// Container for the response parameters to the DeletePackage operation. -type DeletePackageOutput struct { +type DeleteVpcEndpointOutput struct { _ struct{} `type:"structure"` - // PackageDetails - PackageDetails *PackageDetails `type:"structure"` + // Information about the deleted endpoint, including its current status (DELETING + // or DELETE_FAILED). + // + // VpcEndpointSummary is a required field + VpcEndpointSummary *VpcEndpointSummary `type:"structure" required:"true"` } // String returns the string representation. @@ -7386,7 +8641,7 @@ type DeletePackageOutput struct { // 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 DeletePackageOutput) String() string { +func (s DeleteVpcEndpointOutput) String() string { return awsutil.Prettify(s) } @@ -7395,13 +8650,13 @@ func (s DeletePackageOutput) String() string { // 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 DeletePackageOutput) GoString() string { +func (s DeleteVpcEndpointOutput) GoString() string { return s.String() } -// SetPackageDetails sets the PackageDetails field's value. -func (s *DeletePackageOutput) SetPackageDetails(v *PackageDetails) *DeletePackageOutput { - s.PackageDetails = v +// SetVpcEndpointSummary sets the VpcEndpointSummary field's value. +func (s *DeleteVpcEndpointOutput) SetVpcEndpointSummary(v *VpcEndpointSummary) *DeleteVpcEndpointOutput { + s.VpcEndpointSummary = v return s } @@ -7409,17 +8664,18 @@ func (s *DeletePackageOutput) SetPackageDetails(v *PackageDetails) *DeletePackag type DescribeDomainAutoTunesInput struct { _ struct{} `type:"structure"` - // The domain name for which you want Auto-Tune action details. + // Name of the domain that you want Auto-Tune details about. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` - // Set this value to limit the number of results returned. If not specified, - // defaults to 100. + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. MaxResults *int64 `type:"integer"` - // NextToken is sent in case the earlier API call results contain the NextToken. - // Used for pagination. + // If your initial DescribeDomainAutoTunes operation returns a nextToken, you + // can include the returned nextToken in subsequent DescribeDomainAutoTunes + // operations, which returns results in the next page. NextToken *string `type:"string"` } @@ -7475,18 +8731,16 @@ func (s *DescribeDomainAutoTunesInput) SetNextToken(v string) *DescribeDomainAut return s } -// The result of a DescribeDomainAutoTunes request. See Auto-Tune for Amazon -// OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) -// for more information. +// The result of a DescribeDomainAutoTunes request. type DescribeDomainAutoTunesOutput struct { _ struct{} `type:"structure"` - // The list of setting adjustments that Auto-Tune has made to the domain. See - // Auto-Tune for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) - // for more information. + // The list of setting adjustments that Auto-Tune has made to the domain. AutoTunes []*AutoTune `type:"list"` - // An identifier to allow retrieval of paginated results. + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. NextToken *string `type:"string"` } @@ -7521,17 +8775,15 @@ func (s *DescribeDomainAutoTunesOutput) SetNextToken(v string) *DescribeDomainAu } // Container for the parameters to the DescribeDomainChangeProgress operation. -// Specifies the domain name and optional change specific identity for which -// you want progress information. type DescribeDomainChangeProgressInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The specific change ID for which you want to get progress information. This - // is an optional parameter. If omitted, the service returns information about - // the most recent configuration change. + // The specific change ID for which you want to get progress information. If + // omitted, the request returns information about the most recent configuration + // change. ChangeId *string `location:"querystring" locationName:"changeid" min:"36" type:"string"` - // The domain you want to get the progress information about. + // The name of the domain to get progress information for. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` @@ -7586,13 +8838,13 @@ func (s *DescribeDomainChangeProgressInput) SetDomainName(v string) *DescribeDom return s } -// The result of a DescribeDomainChangeProgress request. Contains the progress -// information of the requested domain change. +// The result of a DescribeDomainChangeProgress request. Contains progress information +// for the requested domain change. type DescribeDomainChangeProgressOutput struct { _ struct{} `type:"structure"` - // Progress information for the configuration change that is requested in the - // DescribeDomainChangeProgress request. + // Container for information about the stages of a configuration change happening + // on a domain. ChangeProgressStatus *ChangeProgressStatusDetails `type:"structure"` } @@ -7620,12 +8872,11 @@ func (s *DescribeDomainChangeProgressOutput) SetChangeProgressStatus(v *ChangePr return s } -// Container for the parameters to the DescribeDomainConfig operation. Specifies -// the domain name for which you want configuration information. +// Container for the parameters to the DescribeDomainConfig operation. type DescribeDomainConfigInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The domain you want to get information about. + // Name of the OpenSearch Service domain configuration that you want to describe. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` @@ -7671,13 +8922,11 @@ func (s *DescribeDomainConfigInput) SetDomainName(v string) *DescribeDomainConfi return s } -// The result of a DescribeDomainConfig request. Contains the configuration -// information of the requested domain. +// Contains the configuration information of the requested domain. type DescribeDomainConfigOutput struct { _ struct{} `type:"structure"` - // The configuration information of the domain requested in the DescribeDomainConfig - // request. + // Container for the configuration of the OpenSearch Service domain. // // DomainConfig is a required field DomainConfig *DomainConfig `type:"structure" required:"true"` @@ -7711,7 +8960,7 @@ func (s *DescribeDomainConfigOutput) SetDomainConfig(v *DomainConfig) *DescribeD type DescribeDomainInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the domain for which you want information. + // The name of the domain that you want information about. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` @@ -7757,12 +9006,11 @@ func (s *DescribeDomainInput) SetDomainName(v string) *DescribeDomainInput { return s } -// The result of a DescribeDomain request. Contains the status of the domain -// specified in the request. +// Contains the status of the domain specified in the request. type DescribeDomainOutput struct { _ struct{} `type:"structure"` - // The current status of the domain. + // List that contains the status of each specified OpenSearch Service domain. // // DomainStatus is a required field DomainStatus *DomainStatus `type:"structure" required:"true"` @@ -7792,12 +9040,13 @@ func (s *DescribeDomainOutput) SetDomainStatus(v *DomainStatus) *DescribeDomainO return s } -// Container for the parameters to the DescribeDomains operation. By default, -// the API returns the status of all domains. +// Container for the parameters to the DescribeDomains operation. type DescribeDomainsInput struct { _ struct{} `type:"structure"` - // The domains for which you want information. + // Array of OpenSearch Service domain names that you want information about. + // If you don't specify any domains, OpenSearch Service returns information + // about all domains owned by the account. // // DomainNames is a required field DomainNames []*string `type:"list" required:"true"` @@ -7840,12 +9089,12 @@ func (s *DescribeDomainsInput) SetDomainNames(v []*string) *DescribeDomainsInput return s } -// The result of a DescribeDomains request. Contains the status of the specified -// domains or all domains owned by the account. +// Contains the status of the specified domains or all domains owned by the +// account. type DescribeDomainsOutput struct { _ struct{} `type:"structure"` - // The status of the domains requested in the DescribeDomains request. + // The status of the requested domains. // // DomainStatusList is a required field DomainStatusList []*DomainStatus `type:"list" required:"true"` @@ -7880,24 +9129,15 @@ type DescribeInboundConnectionsInput struct { _ struct{} `type:"structure"` // A list of filters used to match properties for inbound cross-cluster connections. - // Available Filter values are: - // * connection-id - // - // * local-domain-info.domain-name - // - // * local-domain-info.owner-id - // - // * local-domain-info.region - // - // * remote-domain-info.domain-name Filters []*Filter `type:"list"` - // Set this value to limit the number of results returned. If not specified, - // defaults to 100. + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. MaxResults *int64 `type:"integer"` - // If more results are available and NextToken is present, make the next request - // to the same API with the received NextToken to paginate the remaining results. + // If your initial DescribeInboundConnections operation returns a nextToken, + // you can include the returned nextToken in subsequent DescribeInboundConnections + // operations, which returns results in the next page. NextToken *string `type:"string"` } @@ -7957,16 +9197,16 @@ func (s *DescribeInboundConnectionsInput) SetNextToken(v string) *DescribeInboun return s } -// The result of a DescribeInboundConnections request. Contains a list of connections -// matching the filter criteria. +// Contains a list of connections matching the filter criteria. type DescribeInboundConnectionsOutput struct { _ struct{} `type:"structure"` - // A list of InboundConnection matching the specified filter criteria. + // List of inbound connections. Connections []*InboundConnection `type:"list"` - // If more results are available and NextToken is present, make the next request - // to the same API with the received NextToken to paginate the remaining results. + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. NextToken *string `type:"string"` } @@ -8004,17 +9244,17 @@ func (s *DescribeInboundConnectionsOutput) SetNextToken(v string) *DescribeInbou type DescribeInstanceTypeLimitsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the domain you want to modify. Only include this value if you're - // querying OpenSearch Limits for an existing domain. + // The name of the domain. Only specify if you need the limits for an existing + // domain. DomainName *string `location:"querystring" locationName:"domainName" min:"3" type:"string"` - // Version of OpenSearch for which Limits are needed. + // Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or + // OpenSearch_X.Y. Defaults to the latest version of OpenSearch. // // EngineVersion is a required field EngineVersion *string `location:"uri" locationName:"EngineVersion" min:"14" type:"string" required:"true"` - // The instance type for an OpenSearch cluster for which OpenSearch Limits are - // needed. + // The OpenSearch Service instance type for which you need limit information. // // InstanceType is a required field InstanceType *string `location:"uri" locationName:"InstanceType" type:"string" required:"true" enum:"OpenSearchPartitionInstanceType"` @@ -8086,13 +9326,8 @@ func (s *DescribeInstanceTypeLimitsInput) SetInstanceType(v string) *DescribeIns type DescribeInstanceTypeLimitsOutput struct { _ struct{} `type:"structure"` - // The role of a given instance and all applicable limits. The role performed - // by a given OpenSearch instance can be one of the following: - // * data: If the given InstanceType is used as a data node - // - // * master: If the given InstanceType is used as a master node - // - // * ultra_warm: If the given InstanceType is used as a warm node + // Map that contains all applicable instance type limits.data refers to data + // nodes.master refers to dedicated master nodes. LimitsByRole map[string]*Limits `type:"map"` } @@ -8124,25 +9359,16 @@ func (s *DescribeInstanceTypeLimitsOutput) SetLimitsByRole(v map[string]*Limits) type DescribeOutboundConnectionsInput struct { _ struct{} `type:"structure"` - // A list of filters used to match properties for outbound cross-cluster connections. - // Available Filter names for this operation are: - // * connection-id - // - // * remote-domain-info.domain-name - // - // * remote-domain-info.owner-id - // - // * remote-domain-info.region - // - // * local-domain-info.domain-name + // List of filter names and values that you can use for requests. Filters []*Filter `type:"list"` - // Set this value to limit the number of results returned. If not specified, - // defaults to 100. + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. MaxResults *int64 `type:"integer"` - // NextToken is sent in case the earlier API call results contain the NextToken - // parameter. Used for pagination. + // If your initial DescribeOutboundConnections operation returns a nextToken, + // you can include the returned nextToken in subsequent DescribeOutboundConnections + // operations, which returns results in the next page. NextToken *string `type:"string"` } @@ -8202,16 +9428,16 @@ func (s *DescribeOutboundConnectionsInput) SetNextToken(v string) *DescribeOutbo return s } -// The result of a DescribeOutboundConnections request. Contains the list of -// connections matching the filter criteria. +// Contains a list of connections matching the filter criteria. type DescribeOutboundConnectionsOutput struct { _ struct{} `type:"structure"` - // A list of OutboundConnection matching the specified filter criteria. + // List of outbound connections that match the filter criteria. Connections []*OutboundConnection `type:"list"` - // If more results are available and NextToken is present, make the next request - // to the same API with the received NextToken to paginate the remaining results. + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. NextToken *string `type:"string"` } @@ -8252,7 +9478,7 @@ type DescribePackagesFilter struct { // Any field from PackageDetails. Name *string `type:"string" enum:"DescribePackagesFilterName"` - // A list of values for the specified field. + // A list of values for the specified filter field. Value []*string `type:"list"` } @@ -8293,11 +9519,13 @@ type DescribePackagesInput struct { // Only returns packages that match the DescribePackagesFilterList values. Filters []*DescribePackagesFilter `type:"list"` - // Limits results to a maximum number of packages. + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. MaxResults *int64 `type:"integer"` - // Used for pagination. Only necessary if a previous API call includes a non-null - // NextToken value. If provided, returns results for the next page. + // If your initial DescribePackageFilters operation returns a nextToken, you + // can include the returned nextToken in subsequent DescribePackageFilters operations, + // which returns results in the next page. NextToken *string `type:"string"` } @@ -8341,9 +9569,12 @@ func (s *DescribePackagesInput) SetNextToken(v string) *DescribePackagesInput { type DescribePackagesOutput struct { _ struct{} `type:"structure"` + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. NextToken *string `type:"string"` - // List of PackageDetails objects. + // Basic information about a package. PackageDetailsList []*PackageDetails `type:"list"` } @@ -8377,19 +9608,22 @@ func (s *DescribePackagesOutput) SetPackageDetailsList(v []*PackageDetails) *Des return s } -// Container for parameters to DescribeReservedInstanceOfferings +// Container for the request parameters to a DescribeReservedInstanceOfferings +// operation. type DescribeReservedInstanceOfferingsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Set this value to limit the number of results returned. If not specified, - // defaults to 100. + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` - // Provides an identifier to allow retrieval of paginated results. + // If your initial DescribeReservedInstanceOfferings operation returns a nextToken, + // you can include the returned nextToken in subsequent DescribeReservedInstanceOfferings + // operations, which returns results in the next page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - // The offering identifier filter value. Use this parameter to show only the - // available offering that matches the specified reservation identifier. + // The Reserved Instance identifier filter value. Use this parameter to show + // only the available instance types that match the specified reservation identifier. ReservedInstanceOfferingId *string `location:"querystring" locationName:"offeringId" min:"36" type:"string"` } @@ -8442,14 +9676,16 @@ func (s *DescribeReservedInstanceOfferingsInput) SetReservedInstanceOfferingId(v return s } -// Container for results from DescribeReservedInstanceOfferings +// Container for results of a DescribeReservedInstanceOfferings request. type DescribeReservedInstanceOfferingsOutput struct { _ struct{} `type:"structure"` - // Provides an identifier to allow retrieval of paginated results. + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. NextToken *string `type:"string"` - // List of reserved OpenSearch instance offerings + // List of Reserved Instance offerings. ReservedInstanceOfferings []*ReservedInstanceOffering `type:"list"` } @@ -8483,15 +9719,17 @@ func (s *DescribeReservedInstanceOfferingsOutput) SetReservedInstanceOfferings(v return s } -// Container for parameters to DescribeReservedInstances +// Container for the request parameters to the DescribeReservedInstances operation. type DescribeReservedInstancesInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Set this value to limit the number of results returned. If not specified, - // defaults to 100. + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` - // Provides an identifier to allow retrieval of paginated results. + // If your initial DescribeReservedInstances operation returns a nextToken, + // you can include the returned nextToken in subsequent DescribeReservedInstances + // operations, which returns results in the next page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The reserved instance identifier filter value. Use this parameter to show @@ -8553,10 +9791,12 @@ func (s *DescribeReservedInstancesInput) SetReservedInstanceId(v string) *Descri type DescribeReservedInstancesOutput struct { _ struct{} `type:"structure"` - // Provides an identifier to allow retrieval of paginated results. + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. NextToken *string `type:"string"` - // List of reserved OpenSearch instances. + // List of Reserved Instances in the current Region. ReservedInstances []*ReservedInstance `type:"list"` } @@ -8590,6 +9830,96 @@ func (s *DescribeReservedInstancesOutput) SetReservedInstances(v []*ReservedInst return s } +type DescribeVpcEndpointsInput struct { + _ struct{} `type:"structure"` + + // The unique identifiers of the endpoints to get information about. + // + // VpcEndpointIds is a required field + VpcEndpointIds []*string `type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVpcEndpointsInput) 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 DescribeVpcEndpointsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeVpcEndpointsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeVpcEndpointsInput"} + if s.VpcEndpointIds == nil { + invalidParams.Add(request.NewErrParamRequired("VpcEndpointIds")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetVpcEndpointIds sets the VpcEndpointIds field's value. +func (s *DescribeVpcEndpointsInput) SetVpcEndpointIds(v []*string) *DescribeVpcEndpointsInput { + s.VpcEndpointIds = v + return s +} + +type DescribeVpcEndpointsOutput struct { + _ struct{} `type:"structure"` + + // Any errors associated with the request. + // + // VpcEndpointErrors is a required field + VpcEndpointErrors []*VpcEndpointError `type:"list" required:"true"` + + // Information about each requested VPC endpoint. + // + // VpcEndpoints is a required field + VpcEndpoints []*VpcEndpoint `type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeVpcEndpointsOutput) 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 DescribeVpcEndpointsOutput) GoString() string { + return s.String() +} + +// SetVpcEndpointErrors sets the VpcEndpointErrors field's value. +func (s *DescribeVpcEndpointsOutput) SetVpcEndpointErrors(v []*VpcEndpointError) *DescribeVpcEndpointsOutput { + s.VpcEndpointErrors = v + return s +} + +// SetVpcEndpoints sets the VpcEndpoints field's value. +func (s *DescribeVpcEndpointsOutput) SetVpcEndpoints(v []*VpcEndpoint) *DescribeVpcEndpointsOutput { + s.VpcEndpoints = v + return s +} + // An error occured because the client wanted to access a not supported operation. // Gives http status code of 409. type DisabledOperationException struct { @@ -8659,12 +9989,12 @@ func (s *DisabledOperationException) RequestID() string { type DissociatePackageInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the domain to associate the package with. + // Name of the domain to dissociate the package from. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` - // The internal ID of the package to associate with a domain. Use DescribePackages + // Internal ID of the package to dissociate from the domain. Use ListPackagesForDomain // to find this value. // // PackageID is a required field @@ -8723,11 +10053,11 @@ func (s *DissociatePackageInput) SetPackageID(v string) *DissociatePackageInput return s } -// Container for the response returned by DissociatePackage operation. +// Container for the response returned by an DissociatePackage operation. type DissociatePackageOutput struct { _ struct{} `type:"structure"` - // DomainPackageDetails + // Information about a package that has been dissociated from the domain. DomainPackageDetails *DomainPackageDetails `type:"structure"` } @@ -8755,57 +10085,58 @@ func (s *DissociatePackageOutput) SetDomainPackageDetails(v *DomainPackageDetail return s } -// The configuration of a domain. +// Container for the configuration of an OpenSearch Service domain. type DomainConfig struct { _ struct{} `type:"structure"` - // IAM access policy as a JSON-formatted string. + // Specifies the access policies for the domain. AccessPolicies *AccessPoliciesStatus `type:"structure"` - // The AdvancedOptions for the domain. See Advanced options (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options) - // for more information. + // Key-value pairs to specify advanced configuration options. For more information, + // see Advanced options (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options). AdvancedOptions *AdvancedOptionsStatus `type:"structure"` - // Specifies AdvancedSecurityOptions for the domain. + // Container for fine-grained access control settings for the domain. AdvancedSecurityOptions *AdvancedSecurityOptionsStatus `type:"structure"` - // Specifies AutoTuneOptions for the domain. + // Container for Auto-Tune settings for the domain. AutoTuneOptions *AutoTuneOptionsStatus `type:"structure"` - // Specifies change details of the domain configuration change. + // Container for information about the progress of an existing configuration + // change. ChangeProgressDetails *ChangeProgressDetails `type:"structure"` - // The ClusterConfig for the domain. + // Container for the cluster configuration of a the domain. ClusterConfig *ClusterConfigStatus `type:"structure"` - // The CognitoOptions for the specified domain. For more information, see Configuring - // Amazon Cognito authentication for OpenSearch Dashboards (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/cognito-auth.html). + // Container for Amazon Cognito options for the domain. CognitoOptions *CognitoOptionsStatus `type:"structure"` - // The DomainEndpointOptions for the domain. + // Additional options for the domain endpoint, such as whether to require HTTPS + // for all traffic. DomainEndpointOptions *DomainEndpointOptionsStatus `type:"structure"` - // The EBSOptions for the domain. + // Container for EBS options configured for an OpenSearch Service domain. EBSOptions *EBSOptionsStatus `type:"structure"` - // The EncryptionAtRestOptions for the domain. + // Key-value pairs to enable encryption at rest. EncryptionAtRestOptions *EncryptionAtRestOptionsStatus `type:"structure"` - // String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine - // version for the OpenSearch or Elasticsearch domain. + // The OpenSearch or Elasticsearch version that the domain is running. EngineVersion *VersionStatus `type:"structure"` - // Log publishing options for the given domain. + // Key-value pairs to configure slow log publishing. LogPublishingOptions *LogPublishingOptionsStatus `type:"structure"` - // The NodeToNodeEncryptionOptions for the domain. + // Whether node-to-node encryption is enabled or disabled. NodeToNodeEncryptionOptions *NodeToNodeEncryptionOptionsStatus `type:"structure"` - // The SnapshotOptions for the domain. + // DEPRECATED. Container for parameters required to configure automated snapshots + // of domain indexes. SnapshotOptions *SnapshotOptionsStatus `type:"structure"` - // The VPCOptions for the specified domain. For more information, see Launching - // your Amazon OpenSearch Service domains using a VPC (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html). + // The current VPC options for the domain and the status of any updates to their + // configuration. VPCOptions *VPCDerivedInfoStatus `type:"structure"` } @@ -8917,29 +10248,32 @@ func (s *DomainConfig) SetVPCOptions(v *VPCDerivedInfoStatus) *DomainConfig { return s } -// Options to configure the endpoint for the domain. +// Options to configure a custom endpoint for an OpenSearch Service domain. type DomainEndpointOptions struct { _ struct{} `type:"structure"` - // The fully qualified domain for your custom endpoint. + // The fully qualified URL for the custom endpoint. CustomEndpoint *string `min:"1" type:"string"` - // The ACM certificate ARN for your custom endpoint. + // The ARN for your security certificate, managed in Amazon Web Services Certificate + // Manager (ACM). CustomEndpointCertificateArn *string `min:"20" type:"string"` // Whether to enable a custom endpoint for the domain. CustomEndpointEnabled *bool `type:"boolean"` - // Whether only HTTPS endpoint should be enabled for the domain. + // True to require that all traffic to the domain arrive over HTTPS. EnforceHTTPS *bool `type:"boolean"` // Specify the TLS security policy to apply to the HTTPS endpoint of the domain. + // // Can be one of the following values: - // * Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLSv1.0 - // and higher. + // + // * Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLS version + // 1.0 and higher. // // * Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only - // TLSv1.2 + // TLS version 1.2 TLSSecurityPolicy *string `type:"string" enum:"TLSSecurityPolicy"` } @@ -9007,17 +10341,16 @@ func (s *DomainEndpointOptions) SetTLSSecurityPolicy(v string) *DomainEndpointOp return s } -// The configured endpoint options for the domain and their current status. +// The configured endpoint options for a domain and their current status. type DomainEndpointOptionsStatus struct { _ struct{} `type:"structure"` - // Options to configure the endpoint for the domain. + // Options to configure the endpoint for a domain. // // Options is a required field Options *DomainEndpointOptions `type:"structure" required:"true"` - // The status of the endpoint options for the domain. See OptionStatus for the - // status information that's included. + // The status of the endpoint options for a domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` @@ -9053,13 +10386,15 @@ func (s *DomainEndpointOptionsStatus) SetStatus(v *OptionStatus) *DomainEndpoint return s } +// Information about an OpenSearch Service domain. type DomainInfo struct { _ struct{} `type:"structure"` - // The DomainName. + // Name of the domain. DomainName *string `min:"3" type:"string"` - // Specifies the EngineType of the domain. + // The type of search engine that the domain is running.OpenSearch for an OpenSearch + // engine, or Elasticsearch for a legacy Elasticsearch OSS engine. EngineType *string `type:"string" enum:"EngineType"` } @@ -9093,9 +10428,11 @@ func (s *DomainInfo) SetEngineType(v string) *DomainInfo { return s } +// Container for information about an OpenSearch Service domain. type DomainInformationContainer struct { _ struct{} `type:"structure"` + // Information about an Amazon OpenSearch Service domain. AWSDomainInformation *AWSDomainInformation `type:"structure"` } @@ -9138,36 +10475,37 @@ func (s *DomainInformationContainer) SetAWSDomainInformation(v *AWSDomainInforma return s } -// Information on a package associated with a domain. +// Information about a package that is associated with a domain. For more information, +// see Custom packages for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html). type DomainPackageDetails struct { _ struct{} `type:"structure"` - // The name of the domain you've associated a package with. + // Name of the domain that the package is associated with. DomainName *string `min:"3" type:"string"` - // State of the association. Values are ASSOCIATING, ASSOCIATION_FAILED, ACTIVE, - // DISSOCIATING, and DISSOCIATION_FAILED. + // State of the association. DomainPackageStatus *string `type:"string" enum:"DomainPackageStatus"` // Additional information if the package is in an error state. Null otherwise. ErrorDetails *ErrorDetails `type:"structure"` - // The timestamp of the most recent update to the package association status. + // Timestamp of the most recent update to the package association status. LastUpdated *time.Time `type:"timestamp"` - // The internal ID of the package. + // Internal ID of the package. PackageID *string `type:"string"` // User-specified name of the package. PackageName *string `min:"3" type:"string"` - // Currently supports only TXT-DICTIONARY. + // The type of package. PackageType *string `type:"string" enum:"PackageType"` + // The current version of the package. PackageVersion *string `type:"string"` - // The relative path on Amazon OpenSearch Service nodes, which can be used as - // synonym_path when the package is a synonym file. + // Denotes the location of the package on the OpenSearch Service cluster nodes. + // It's the same as synonym_path for dictionary files. ReferencePath *string `type:"string"` } @@ -9243,102 +10581,107 @@ func (s *DomainPackageDetails) SetReferencePath(v string) *DomainPackageDetails return s } -// The current status of a domain. +// The current status of an OpenSearch Service domain. type DomainStatus struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of a domain. See IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) - // in the AWS Identity and Access Management User Guide for more information. + // The Amazon Resource Name (ARN) of the domain. For more information, see IAM + // identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) + // in the AWS Identity and Access Management User Guide. // // ARN is a required field ARN *string `min:"20" type:"string" required:"true"` - // IAM access policy as a JSON-formatted string. + // Identity and Access Management (IAM) policy document specifying the access + // policies for the domain. AccessPolicies *string `type:"string"` - // The status of the AdvancedOptions. + // Key-value pairs that specify advanced configuration options. AdvancedOptions map[string]*string `type:"map"` - // The current status of the domain's advanced security options. + // Settings for fine-grained access control. AdvancedSecurityOptions *AdvancedSecurityOptions `type:"structure"` - // The current status of the domain's Auto-Tune options. + // Auto-Tune settings for the domain. AutoTuneOptions *AutoTuneOptionsOutput_ `type:"structure"` - // Specifies change details of the domain configuration change. + // Information about a configuration change happening on the domain. ChangeProgressDetails *ChangeProgressDetails `type:"structure"` - // The type and number of instances in the domain. + // Container for the cluster configuration of the domain. // // ClusterConfig is a required field ClusterConfig *ClusterConfig `type:"structure" required:"true"` - // The CognitoOptions for the specified domain. For more information, see Configuring - // Amazon Cognito authentication for OpenSearch Dashboards (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/cognito-auth.html). + // Key-value pairs to configure Amazon Cognito authentication for OpenSearch + // Dashboards. CognitoOptions *CognitoOptions `type:"structure"` - // The domain creation status. True if the creation of a domain is complete. - // False if domain creation is still in progress. + // Creation status of an OpenSearch Service domain. True if domain creation + // is complete. False if domain creation is still in progress. Created *bool `type:"boolean"` - // The domain deletion status. True if a delete request has been received for - // the domain but resource cleanup is still in progress. False if the domain - // has not been deleted. Once domain deletion is complete, the status of the - // domain is no longer returned. + // Deletion status of an OpenSearch Service domain. True if domain deletion + // is complete. False if domain deletion is still in progress. Once deletion + // is complete, the status of the domain is no longer returned. Deleted *bool `type:"boolean"` - // The current status of the domain's endpoint options. + // Additional options for the domain endpoint, such as whether to require HTTPS + // for all traffic. DomainEndpointOptions *DomainEndpointOptions `type:"structure"` - // The unique identifier for the specified domain. + // Unique identifier for the domain. // // DomainId is a required field DomainId *string `min:"1" type:"string" required:"true"` - // The name of a domain. Domain names are unique across the domains owned by - // an account within an AWS region. Domain names start with a letter or number - // and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). + // Name of the domain. Domain names are unique across all domains owned by the + // same account within an Amazon Web Services Region. // // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` - // The EBSOptions for the specified domain. + // Container for EBS-based storage settings for the domain. EBSOptions *EBSOptions `type:"structure"` - // The status of the EncryptionAtRestOptions. + // Encryption at rest settings for the domain. EncryptionAtRestOptions *EncryptionAtRestOptions `type:"structure"` - // The domain endpoint that you use to submit index and search requests. + // Domain-specific endpoint used to submit index, search, and data upload requests + // to the domain. Endpoint *string `type:"string"` - // Map containing the domain endpoints used to submit index and search requests. - // Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'. + // The key-value pair that exists if the OpenSearch Service domain uses VPC + // endpoints.. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'. Endpoints map[string]*string `type:"map"` + // Version of OpenSearch or Elasticsearch that the domain is running, in the + // format Elasticsearch_X.Y or OpenSearch_X.Y. EngineVersion *string `min:"14" type:"string"` - // Log publishing options for the given domain. + // Log publishing options for the domain. LogPublishingOptions map[string]*LogPublishingOption `type:"map"` - // The status of the NodeToNodeEncryptionOptions. + // Whether node-to-node encryption is enabled or disabled. NodeToNodeEncryptionOptions *NodeToNodeEncryptionOptions `type:"structure"` - // The status of the domain configuration. True if Amazon OpenSearch Service - // is processing configuration changes. False if the configuration is active. + // The status of the domain configuration. True if OpenSearch Service is processing + // configuration changes. False if the configuration is active. Processing *bool `type:"boolean"` // The current status of the domain's service software. ServiceSoftwareOptions *ServiceSoftwareOptions `type:"structure"` - // The status of the SnapshotOptions. + // DEPRECATED. Container for parameters required to configure automated snapshots + // of domain indexes. SnapshotOptions *SnapshotOptions `type:"structure"` - // The status of a domain version upgrade. True if Amazon OpenSearch Service - // is undergoing a version upgrade. False if the configuration is active. + // The status of a domain version upgrade to a new version of OpenSearch or + // Elasticsearch. True if OpenSearch Service is in the process of a version + // upgrade. False if the configuration is active. UpgradeProcessing *bool `type:"boolean"` - // The VPCOptions for the specified domain. For more information, see Launching - // your Amazon OpenSearch Service domains using a VPC (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html). + // The VPC configuration for the domain. VPCOptions *VPCDerivedInfo `type:"structure"` } @@ -9510,17 +10853,24 @@ func (s *DomainStatus) SetVPCOptions(v *VPCDerivedInfo) *DomainStatus { return s } +// Results of a dry run performed in an update domain request. type DryRunResults struct { _ struct{} `type:"structure"` - // Specifies the way in which Amazon OpenSearch Service applies the update. - // Possible responses are Blue/Green (the update requires a blue/green deployment), - // DynamicUpdate (no blue/green required), Undetermined (the domain is undergoing - // an update and can't predict the deployment type; try again after the update - // is complete), and None (the request doesn't include any configuration changes). + // Specifies the way in which OpenSearch Service will apply an update. Possible + // values are: + // + // * Blue/Green - The update requires a blue/green deployment. + // + // * DynamicUpdate - No blue/green deployment required + // + // * Undetermined - The domain is in the middle of an update and can't predict + // the deployment type. Try again after the update is complete. + // + // * None - The request doesn't include any configuration changes. DeploymentType *string `min:"2" type:"string"` - // Contains an optional message associated with the DryRunResults. + // A message corresponding to the deployment type. Message *string `type:"string"` } @@ -9554,20 +10904,15 @@ func (s *DryRunResults) SetMessage(v string) *DryRunResults { return s } -// The maintenance schedule duration: duration value and duration unit. See -// Auto-Tune for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) -// for more information. +// The duration of a maintenance schedule. For more information, see Auto-Tune +// for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html). type Duration struct { _ struct{} `type:"structure"` - // The unit of a maintenance schedule duration. Valid value is HOURS. See Auto-Tune - // for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) - // for more information. + // The unit of measurement for the duration of a maintenance schedule. Unit *string `type:"string" enum:"TimeUnit"` - // Integer to specify the value of a maintenance schedule duration. See Auto-Tune - // for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) - // for more information. + // Integer to specify the value of a maintenance schedule duration. Value *int64 `min:"1" type:"long"` } @@ -9614,23 +10959,28 @@ func (s *Duration) SetValue(v int64) *Duration { return s } -// Options to enable, disable, and specify the properties of EBS storage volumes. +// Container for the parameters required to enable EBS-based storage for an +// OpenSearch Service domain. type EBSOptions struct { _ struct{} `type:"structure"` - // Whether EBS-based storage is enabled. + // Indicates whether EBS volumes are attached to data nodes in an OpenSearch + // Service domain. EBSEnabled *bool `type:"boolean"` - // The IOPS for Provisioned IOPS And GP3 EBS volume (SSD). + // Specifies the baseline input/output (I/O) performance of EBS volumes attached + // to data nodes. Applicable only for the gp3 and provisioned IOPS EBS volume + // types. Iops *int64 `type:"integer"` - // The Throughput for GP3 EBS volume (SSD). + // Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. + // Applicable only for the gp3 volume type. Throughput *int64 `type:"integer"` - // Integer to specify the size of an EBS volume. + // Specifies the size (in GiB) of EBS volumes attached to data nodes. VolumeSize *int64 `type:"integer"` - // The volume type for EBS-based storage. + // Specifies the type of EBS volumes attached to data nodes. VolumeType *string `type:"string" enum:"VolumeType"` } @@ -9682,11 +11032,11 @@ func (s *EBSOptions) SetVolumeType(v string) *EBSOptions { return s } -// Status of the EBS options for the specified domain. +// The status of the EBS options for the specified OpenSearch Service domain. type EBSOptionsStatus struct { _ struct{} `type:"structure"` - // The EBS options for the specified domain. + // The configured EBS options for the specified domain. // // Options is a required field Options *EBSOptions `type:"structure" required:"true"` @@ -9727,14 +11077,16 @@ func (s *EBSOptionsStatus) SetStatus(v *OptionStatus) *EBSOptionsStatus { return s } -// Specifies encryption at rest options. +// Specifies whether the domain should encrypt data at rest, and if so, the +// Key Management Service (KMS) key to use. Can be used only to create a new +// domain, not update an existing one. type EncryptionAtRestOptions struct { _ struct{} `type:"structure"` - // The option to enable encryption at rest. + // True to enable encryption at rest. Enabled *bool `type:"boolean"` - // The KMS key ID for encryption at rest options. + // The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a. KmsKeyId *string `min:"1" type:"string"` } @@ -9781,16 +11133,17 @@ func (s *EncryptionAtRestOptions) SetKmsKeyId(v string) *EncryptionAtRestOptions return s } -// Status of the encryption At Rest options for the specified domain. +// Status of the encryption at rest options for the specified OpenSearch Service +// domain. type EncryptionAtRestOptionsStatus struct { _ struct{} `type:"structure"` - // The Encryption At Rest options for the specified domain. + // Encryption at rest options for the specified domain. // // Options is a required field Options *EncryptionAtRestOptions `type:"structure" required:"true"` - // The status of the Encryption At Rest options for the specified domain. + // The status of the encryption at rest options for the specified domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` @@ -9826,11 +11179,14 @@ func (s *EncryptionAtRestOptionsStatus) SetStatus(v *OptionStatus) *EncryptionAt return s } +// Additional information if the package is in an error state. Null otherwise. type ErrorDetails struct { _ struct{} `type:"structure"` + // A message describing the error. ErrorMessage *string `type:"string"` + // The type of error that occurred. ErrorType *string `type:"string"` } @@ -9865,7 +11221,7 @@ func (s *ErrorDetails) SetErrorType(v string) *ErrorDetails { } // A filter used to limit results when describing inbound or outbound cross-cluster -// connections. Multiple values can be specified per filter. A cross-cluster +// connections. You can specify multiple values per filter. A cross-cluster // connection must match at least one of the specified values for it to be returned // from an operation. type Filter struct { @@ -9874,7 +11230,7 @@ type Filter struct { // The name of the filter. Name *string `min:"1" type:"string"` - // Contains one or more values for the filter. + // One or more values for the filter. Values []*string `min:"1" type:"list"` } @@ -9928,9 +11284,8 @@ func (s *Filter) SetValues(v []*string) *Filter { type GetCompatibleVersionsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of an domain. Domain names are unique across the domains owned by - // an account within an AWS region. Domain names start with a letter or number - // and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). + // The name of an existing domain. Provide this parameter to limit the results + // to a single domain. DomainName *string `location:"querystring" locationName:"domainName" min:"3" type:"string"` } @@ -9975,8 +11330,8 @@ func (s *GetCompatibleVersionsInput) SetDomainName(v string) *GetCompatibleVersi type GetCompatibleVersionsOutput struct { _ struct{} `type:"structure"` - // A map of compatible OpenSearch versions returned as part of the GetCompatibleVersions - // operation. + // A map of OpenSearch or Elasticsearch versions and the versions you can upgrade + // them to. CompatibleVersions []*CompatibleVersionsMap `type:"list"` } @@ -10008,14 +11363,16 @@ func (s *GetCompatibleVersionsOutput) SetCompatibleVersions(v []*CompatibleVersi type GetPackageVersionHistoryInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Limits results to a maximum number of package versions. + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` - // Used for pagination. Only necessary if a previous API call includes a non-null - // NextToken value. If provided, returns results for the next page. + // If your initial GetPackageVersionHistory operation returns a nextToken, you + // can include the returned nextToken in subsequent GetPackageVersionHistory + // operations, which returns results in the next page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - // Returns an audit history of package versions. + // The unique identifier of the package. // // PackageID is a required field PackageID *string `location:"uri" locationName:"PackageID" type:"string" required:"true"` @@ -10077,11 +11434,15 @@ func (s *GetPackageVersionHistoryInput) SetPackageID(v string) *GetPackageVersio type GetPackageVersionHistoryOutput struct { _ struct{} `type:"structure"` + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. NextToken *string `type:"string"` + // The unique identifier of the package. PackageID *string `type:"string"` - // List of PackageVersionHistory objects. + // A list of package versions, along with their creation time and commit message. PackageVersionHistoryList []*PackageVersionHistory `type:"list"` } @@ -10125,19 +11486,18 @@ func (s *GetPackageVersionHistoryOutput) SetPackageVersionHistoryList(v []*Packa type GetUpgradeHistoryInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of an domain. Domain names are unique across the domains owned by - // an account within an AWS region. Domain names start with a letter or number - // and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). + // The name of an existing domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` - // Set this value to limit the number of results returned. + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` - // Paginated APIs accept the NextToken input to return the next page of results - // and provide a NextToken output in the response, which you can use to retrieve - // more results. + // If your initial GetUpgradeHistory operation returns a nextToken, you can + // include the returned nextToken in subsequent GetUpgradeHistory operations, + // which returns results in the next page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -10197,13 +11557,13 @@ func (s *GetUpgradeHistoryInput) SetNextToken(v string) *GetUpgradeHistoryInput type GetUpgradeHistoryOutput struct { _ struct{} `type:"structure"` - // Pagination token that needs to be supplied to the next call to get the next - // page of results. + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. NextToken *string `type:"string"` - // A list of UpgradeHistory objects corresponding to each upgrade or upgrade - // eligibility check performed on a domain returned as part of the GetUpgradeHistoryResponse - // object. + // A list of objects corresponding to each upgrade or upgrade eligibility check + // performed on a domain. UpgradeHistories []*UpgradeHistory `type:"list"` } @@ -10241,9 +11601,7 @@ func (s *GetUpgradeHistoryOutput) SetUpgradeHistories(v []*UpgradeHistory) *GetU type GetUpgradeStatusInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of an domain. Domain names are unique across the domains owned by - // an account within an AWS region. Domain names start with a letter or number - // and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). + // The domain of the domain to get upgrade status information for. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` @@ -10293,26 +11651,13 @@ func (s *GetUpgradeStatusInput) SetDomainName(v string) *GetUpgradeStatusInput { type GetUpgradeStatusOutput struct { _ struct{} `type:"structure"` - // One of four statuses an upgrade have, returned as part of the GetUpgradeStatusResponse - // object. The status can take one of the following values: - // * In Progress - // - // * Succeeded - // - // * Succeeded with Issues - // - // * Failed + // The status of the current step that an upgrade is on. StepStatus *string `type:"string" enum:"UpgradeStatus"` - // A string that briefly describes the update. + // A string that describes the update. UpgradeName *string `type:"string"` - // One of three steps an upgrade or upgrade eligibility check goes through: - // * PreUpgradeCheck - // - // * Snapshot - // - // * Upgrade + // One of three steps that an upgrade or upgrade eligibility check goes through. UpgradeStep *string `type:"string" enum:"UpgradeStep"` } @@ -10352,20 +11697,22 @@ func (s *GetUpgradeStatusOutput) SetUpgradeStep(v string) *GetUpgradeStatusOutpu return s } -// Details of an inbound connection. +// Describes an inbound cross-cluster connection for Amazon OpenSearch Service. +// For more information, see Cross-cluster search for Amazon OpenSearch Service +// (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cross-cluster-search.html). type InboundConnection struct { _ struct{} `type:"structure"` - // The connection ID for the inbound cross-cluster connection. + // The unique identifier of the connection. ConnectionId *string `min:"10" type:"string"` - // The InboundConnectionStatus for the outbound connection. + // The current status of the connection. ConnectionStatus *InboundConnectionStatus `type:"structure"` - // The AWSDomainInformation for the local OpenSearch domain. + // Information about the source (local) domain. LocalDomainInfo *DomainInformationContainer `type:"structure"` - // The AWSDomainInformation for the remote OpenSearch domain. + // Information about the destination (remote) domain. RemoteDomainInfo *DomainInformationContainer `type:"structure"` } @@ -10411,22 +11758,22 @@ func (s *InboundConnection) SetRemoteDomainInfo(v *DomainInformationContainer) * return s } -// The connection status of an inbound cross-cluster connection. +// The status of an inbound cross-cluster connection for OpenSearch Service. type InboundConnectionStatus struct { _ struct{} `type:"structure"` - // Verbose information for the inbound connection status. + // Information about the connection. Message *string `type:"string"` - // The state code for the inbound connection. Can be one of the following: + // The status code for the connection. Can be one of the following: // - // * PENDING_ACCEPTANCE: Inbound connection is not yet accepted by the remote + // * PENDING_ACCEPTANCE - Inbound connection is not yet accepted by the remote // domain owner. // // * APPROVED: Inbound connection is pending acceptance by the remote domain // owner. // - // * PROVISIONING: Inbound connection provisioning is in progress. + // * PROVISIONING: Inbound connection is being provisioned. // // * ACTIVE: Inbound connection is active and ready to use. // @@ -10470,15 +11817,15 @@ func (s *InboundConnectionStatus) SetStatusCode(v string) *InboundConnectionStat return s } -// InstanceCountLimits represents the limits on the number of instances that -// can be created in Amazon OpenSearch Service for a given InstanceType. +// Limits on the number of instances that can be created in OpenSearch Service +// for a given instance type. type InstanceCountLimits struct { _ struct{} `type:"structure"` - // Maximum number of instances that can be instantiated for a given InstanceType. + // The minimum allowed number of instances. MaximumInstanceCount *int64 `type:"integer"` - // Minimum number of instances that can be instantiated for a given InstanceType. + // The maximum allowed number of instances. MinimumInstanceCount *int64 `type:"integer"` } @@ -10512,13 +11859,12 @@ func (s *InstanceCountLimits) SetMinimumInstanceCount(v int64) *InstanceCountLim return s } -// InstanceLimits represents the list of instance-related attributes that are -// available for a given InstanceType. +// Instance-related attributes that are available for a given instance type. type InstanceLimits struct { _ struct{} `type:"structure"` - // InstanceCountLimits represents the limits on the number of instances that - // can be created in Amazon OpenSearch Service for a given InstanceType. + // Limits on the number of instances that can be created for a given instance + // type. InstanceCountLimits *InstanceCountLimits `type:"structure"` } @@ -10546,21 +11892,32 @@ func (s *InstanceLimits) SetInstanceCountLimits(v *InstanceCountLimits) *Instanc return s } +// Lists all instance types and available features for a given OpenSearch or +// Elasticsearch version. type InstanceTypeDetails struct { _ struct{} `type:"structure"` + // Whether fine-grained access control is supported for the instance type. AdvancedSecurityEnabled *bool `type:"boolean"` + // Whether logging is supported for the instance type. AppLogsEnabled *bool `type:"boolean"` + // Whether Amazon Cognito access is supported for the instance type. CognitoEnabled *bool `type:"boolean"` + // Whether encryption at rest and node-to-node encryption are supported for + // the instance type. EncryptionEnabled *bool `type:"boolean"` + // Whether the instance acts as a data node, a dedicated master node, or an + // UltraWarm node. InstanceRole []*string `type:"list"` + // The instance type. InstanceType *string `type:"string" enum:"OpenSearchPartitionInstanceType"` + // Whether UltraWarm is supported for the instance type. WarmEnabled *bool `type:"boolean"` } @@ -10612,22 +11969,152 @@ func (s *InstanceTypeDetails) SetInstanceRole(v []*string) *InstanceTypeDetails return s } -// SetInstanceType sets the InstanceType field's value. -func (s *InstanceTypeDetails) SetInstanceType(v string) *InstanceTypeDetails { - s.InstanceType = &v - return s +// SetInstanceType sets the InstanceType field's value. +func (s *InstanceTypeDetails) SetInstanceType(v string) *InstanceTypeDetails { + s.InstanceType = &v + return s +} + +// SetWarmEnabled sets the WarmEnabled field's value. +func (s *InstanceTypeDetails) SetWarmEnabled(v bool) *InstanceTypeDetails { + s.WarmEnabled = &v + return s +} + +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +type InternalException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalException) 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 InternalException) GoString() string { + return s.String() +} + +func newErrorInternalException(v protocol.ResponseMetadata) error { + return &InternalException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalException) Code() string { + return "InternalException" +} + +// Message returns the exception's message. +func (s *InternalException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalException) OrigErr() error { + return nil +} + +func (s *InternalException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The request processing has failed because of invalid pagination token provided +// by customer. Returns an HTTP status code of 400. +type InvalidPaginationTokenException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InvalidPaginationTokenException) 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 InvalidPaginationTokenException) GoString() string { + return s.String() +} + +func newErrorInvalidPaginationTokenException(v protocol.ResponseMetadata) error { + return &InvalidPaginationTokenException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidPaginationTokenException) Code() string { + return "InvalidPaginationTokenException" +} + +// Message returns the exception's message. +func (s *InvalidPaginationTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidPaginationTokenException) OrigErr() error { + return nil +} + +func (s *InvalidPaginationTokenException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InvalidPaginationTokenException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetWarmEnabled sets the WarmEnabled field's value. -func (s *InstanceTypeDetails) SetWarmEnabled(v bool) *InstanceTypeDetails { - s.WarmEnabled = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *InvalidPaginationTokenException) RequestID() string { + return s.RespMetadata.RequestID } -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. -type InternalException struct { +// An exception for trying to create or access sub-resource that is either invalid +// or not supported. Gives http status code of 409. +type InvalidTypeException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -10639,7 +12126,7 @@ type InternalException struct { // 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 InternalException) String() string { +func (s InvalidTypeException) String() string { return awsutil.Prettify(s) } @@ -10648,23 +12135,23 @@ func (s InternalException) String() string { // 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 InternalException) GoString() string { +func (s InvalidTypeException) GoString() string { return s.String() } -func newErrorInternalException(v protocol.ResponseMetadata) error { - return &InternalException{ +func newErrorInvalidTypeException(v protocol.ResponseMetadata) error { + return &InvalidTypeException{ RespMetadata: v, } } // Code returns the exception type name. -func (s *InternalException) Code() string { - return "InternalException" +func (s *InvalidTypeException) Code() string { + return "InvalidTypeException" } // Message returns the exception's message. -func (s *InternalException) Message() string { +func (s *InvalidTypeException) Message() string { if s.Message_ != nil { return *s.Message_ } @@ -10672,27 +12159,27 @@ func (s *InternalException) Message() string { } // OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InternalException) OrigErr() error { +func (s *InvalidTypeException) OrigErr() error { return nil } -func (s *InternalException) Error() string { +func (s *InvalidTypeException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. -func (s *InternalException) StatusCode() int { +func (s *InvalidTypeException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. -func (s *InternalException) RequestID() string { +func (s *InvalidTypeException) RequestID() string { return s.RespMetadata.RequestID } -// The request processing has failed because of invalid pagination token provided -// by customer. Returns an HTTP status code of 400. -type InvalidPaginationTokenException struct { +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. +type LimitExceededException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -10704,7 +12191,7 @@ type InvalidPaginationTokenException struct { // 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 InvalidPaginationTokenException) String() string { +func (s LimitExceededException) String() string { return awsutil.Prettify(s) } @@ -10713,23 +12200,23 @@ func (s InvalidPaginationTokenException) String() string { // 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 InvalidPaginationTokenException) GoString() string { +func (s LimitExceededException) GoString() string { return s.String() } -func newErrorInvalidPaginationTokenException(v protocol.ResponseMetadata) error { - return &InvalidPaginationTokenException{ +func newErrorLimitExceededException(v protocol.ResponseMetadata) error { + return &LimitExceededException{ RespMetadata: v, } } // Code returns the exception type name. -func (s *InvalidPaginationTokenException) Code() string { - return "InvalidPaginationTokenException" +func (s *LimitExceededException) Code() string { + return "LimitExceededException" } // Message returns the exception's message. -func (s *InvalidPaginationTokenException) Message() string { +func (s *LimitExceededException) Message() string { if s.Message_ != nil { return *s.Message_ } @@ -10737,31 +12224,37 @@ func (s *InvalidPaginationTokenException) Message() string { } // OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidPaginationTokenException) OrigErr() error { +func (s *LimitExceededException) OrigErr() error { return nil } -func (s *InvalidPaginationTokenException) Error() string { +func (s *LimitExceededException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. -func (s *InvalidPaginationTokenException) StatusCode() int { +func (s *LimitExceededException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. -func (s *InvalidPaginationTokenException) RequestID() string { +func (s *LimitExceededException) RequestID() string { return s.RespMetadata.RequestID } -// An exception for trying to create or access sub-resource that is either invalid -// or not supported. Gives http status code of 409. -type InvalidTypeException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// Limits for a given instance type and for each of its roles. +type Limits struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // List of additional limits that are specific to a given instance type for + // each of its instance roles. + AdditionalLimits []*AdditionalLimit `type:"list"` + + // The limits for a given instance type. + InstanceLimits *InstanceLimits `type:"structure"` + + // Storage-related attributes that are available for a given instance type. + StorageTypes []*StorageType `type:"list"` } // String returns the string representation. @@ -10769,7 +12262,7 @@ type InvalidTypeException struct { // 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 InvalidTypeException) String() string { +func (s Limits) String() string { return awsutil.Prettify(s) } @@ -10778,55 +12271,228 @@ func (s InvalidTypeException) String() string { // 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 InvalidTypeException) GoString() string { +func (s Limits) GoString() string { return s.String() } -func newErrorInvalidTypeException(v protocol.ResponseMetadata) error { - return &InvalidTypeException{ - RespMetadata: v, - } +// SetAdditionalLimits sets the AdditionalLimits field's value. +func (s *Limits) SetAdditionalLimits(v []*AdditionalLimit) *Limits { + s.AdditionalLimits = v + return s } -// Code returns the exception type name. -func (s *InvalidTypeException) Code() string { - return "InvalidTypeException" +// SetInstanceLimits sets the InstanceLimits field's value. +func (s *Limits) SetInstanceLimits(v *InstanceLimits) *Limits { + s.InstanceLimits = v + return s } -// Message returns the exception's message. -func (s *InvalidTypeException) Message() string { - if s.Message_ != nil { - return *s.Message_ +// SetStorageTypes sets the StorageTypes field's value. +func (s *Limits) SetStorageTypes(v []*StorageType) *Limits { + s.StorageTypes = v + return s +} + +// Container for the parameters to the ListDomainNames operation. +type ListDomainNamesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Filters the output by domain engine type. + EngineType *string `location:"querystring" locationName:"engineType" type:"string" enum:"EngineType"` +} + +// 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 ListDomainNamesInput) 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 ListDomainNamesInput) GoString() string { + return s.String() +} + +// SetEngineType sets the EngineType field's value. +func (s *ListDomainNamesInput) SetEngineType(v string) *ListDomainNamesInput { + s.EngineType = &v + return s +} + +// The results of a ListDomainNames operation. Contains the names of all domains +// owned by this account and their respective engine types. +type ListDomainNamesOutput struct { + _ struct{} `type:"structure"` + + // The names of all OpenSearch Service domains owned by the current user and + // their respective engine types. + DomainNames []*DomainInfo `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 ListDomainNamesOutput) 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 ListDomainNamesOutput) GoString() string { + return s.String() +} + +// SetDomainNames sets the DomainNames field's value. +func (s *ListDomainNamesOutput) SetDomainNames(v []*DomainInfo) *ListDomainNamesOutput { + s.DomainNames = v + return s +} + +// Container for the request parameters to the ListDomainsForPackage operation. +type ListDomainsForPackageInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // If your initial ListDomainsForPackage operation returns a nextToken, you + // can include the returned nextToken in subsequent ListDomainsForPackage operations, + // which returns results in the next page. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The unique identifier of the package for which to list associated domains. + // + // PackageID is a required field + PackageID *string `location:"uri" locationName:"PackageID" 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 ListDomainsForPackageInput) 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 ListDomainsForPackageInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDomainsForPackageInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDomainsForPackageInput"} + if s.PackageID == nil { + invalidParams.Add(request.NewErrParamRequired("PackageID")) } - return "" + if s.PackageID != nil && len(*s.PackageID) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PackageID", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListDomainsForPackageInput) SetMaxResults(v int64) *ListDomainsForPackageInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDomainsForPackageInput) SetNextToken(v string) *ListDomainsForPackageInput { + s.NextToken = &v + return s +} + +// SetPackageID sets the PackageID field's value. +func (s *ListDomainsForPackageInput) SetPackageID(v string) *ListDomainsForPackageInput { + s.PackageID = &v + return s +} + +// Container for the response parameters to the ListDomainsForPackage operation. +type ListDomainsForPackageOutput struct { + _ struct{} `type:"structure"` + + // Information about all domains associated with a package. + DomainPackageDetailsList []*DomainPackageDetails `type:"list"` + + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListDomainsForPackageOutput) String() string { + return awsutil.Prettify(s) } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidTypeException) OrigErr() error { - return nil +// 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 ListDomainsForPackageOutput) GoString() string { + return s.String() } -func (s *InvalidTypeException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetDomainPackageDetailsList sets the DomainPackageDetailsList field's value. +func (s *ListDomainsForPackageOutput) SetDomainPackageDetailsList(v []*DomainPackageDetails) *ListDomainsForPackageOutput { + s.DomainPackageDetailsList = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *InvalidTypeException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetNextToken sets the NextToken field's value. +func (s *ListDomainsForPackageOutput) SetNextToken(v string) *ListDomainsForPackageOutput { + s.NextToken = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *InvalidTypeException) RequestID() string { - return s.RespMetadata.RequestID -} +type ListInstanceTypeDetailsInput struct { + _ struct{} `type:"structure" nopayload:"true"` -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. -type LimitExceededException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // Name of the domain to list instance type details for. + DomainName *string `location:"querystring" locationName:"domainName" min:"3" type:"string"` - Message_ *string `locationName:"message" type:"string"` + // Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or + // OpenSearch_X.Y. Defaults to the latest version of OpenSearch. + // + // EngineVersion is a required field + EngineVersion *string `location:"uri" locationName:"EngineVersion" min:"14" type:"string" required:"true"` + + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // If your initial ListInstanceTypeDetails operation returns a nextToken, you + // can include the returned nextToken in subsequent ListInstanceTypeDetails + // operations, which returns results in the next page. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -10834,7 +12500,7 @@ type LimitExceededException struct { // 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 LimitExceededException) String() string { +func (s ListInstanceTypeDetailsInput) String() string { return awsutil.Prettify(s) } @@ -10843,63 +12509,64 @@ func (s LimitExceededException) String() string { // 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 LimitExceededException) GoString() string { +func (s ListInstanceTypeDetailsInput) GoString() string { return s.String() } -func newErrorLimitExceededException(v protocol.ResponseMetadata) error { - return &LimitExceededException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListInstanceTypeDetailsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInstanceTypeDetailsInput"} + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + if s.EngineVersion == nil { + invalidParams.Add(request.NewErrParamRequired("EngineVersion")) + } + if s.EngineVersion != nil && len(*s.EngineVersion) < 14 { + invalidParams.Add(request.NewErrParamMinLen("EngineVersion", 14)) } -} - -// Code returns the exception type name. -func (s *LimitExceededException) Code() string { - return "LimitExceededException" -} -// Message returns the exception's message. -func (s *LimitExceededException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if invalidParams.Len() > 0 { + return invalidParams } - return "" + return nil } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *LimitExceededException) OrigErr() error { - return nil +// SetDomainName sets the DomainName field's value. +func (s *ListInstanceTypeDetailsInput) SetDomainName(v string) *ListInstanceTypeDetailsInput { + s.DomainName = &v + return s } -func (s *LimitExceededException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetEngineVersion sets the EngineVersion field's value. +func (s *ListInstanceTypeDetailsInput) SetEngineVersion(v string) *ListInstanceTypeDetailsInput { + s.EngineVersion = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *LimitExceededException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetMaxResults sets the MaxResults field's value. +func (s *ListInstanceTypeDetailsInput) SetMaxResults(v int64) *ListInstanceTypeDetailsInput { + s.MaxResults = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *LimitExceededException) RequestID() string { - return s.RespMetadata.RequestID +// SetNextToken sets the NextToken field's value. +func (s *ListInstanceTypeDetailsInput) SetNextToken(v string) *ListInstanceTypeDetailsInput { + s.NextToken = &v + return s } -// Limits for a given InstanceType and for each of its roles. Limits contains -// the following: StorageTypes , InstanceLimits , and AdditionalLimits -type Limits struct { +type ListInstanceTypeDetailsOutput struct { _ struct{} `type:"structure"` - // List of additional limits that are specific to a given InstanceType and for - // each of its InstanceRole . - AdditionalLimits []*AdditionalLimit `type:"list"` - - // InstanceLimits represents the list of instance-related attributes that are - // available for a given InstanceType. - InstanceLimits *InstanceLimits `type:"structure"` + // Lists all supported instance types and features for the given OpenSearch + // or Elasticsearch version. + InstanceTypeDetails []*InstanceTypeDetails `type:"list"` - // Storage-related types and attributes that are available for a given InstanceType. - StorageTypes []*StorageType `type:"list"` + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. + NextToken *string `type:"string"` } // String returns the string representation. @@ -10907,7 +12574,7 @@ type Limits struct { // 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 Limits) String() string { +func (s ListInstanceTypeDetailsOutput) String() string { return awsutil.Prettify(s) } @@ -10916,35 +12583,39 @@ func (s Limits) String() string { // 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 Limits) GoString() string { +func (s ListInstanceTypeDetailsOutput) GoString() string { return s.String() } -// SetAdditionalLimits sets the AdditionalLimits field's value. -func (s *Limits) SetAdditionalLimits(v []*AdditionalLimit) *Limits { - s.AdditionalLimits = v - return s -} - -// SetInstanceLimits sets the InstanceLimits field's value. -func (s *Limits) SetInstanceLimits(v *InstanceLimits) *Limits { - s.InstanceLimits = v +// SetInstanceTypeDetails sets the InstanceTypeDetails field's value. +func (s *ListInstanceTypeDetailsOutput) SetInstanceTypeDetails(v []*InstanceTypeDetails) *ListInstanceTypeDetailsOutput { + s.InstanceTypeDetails = v return s } -// SetStorageTypes sets the StorageTypes field's value. -func (s *Limits) SetStorageTypes(v []*StorageType) *Limits { - s.StorageTypes = v +// SetNextToken sets the NextToken field's value. +func (s *ListInstanceTypeDetailsOutput) SetNextToken(v string) *ListInstanceTypeDetailsOutput { + s.NextToken = &v return s } -// Container for the parameters to the ListDomainNames operation. -type ListDomainNamesInput struct { +// Container for the request parameters to the ListPackagesForDomain operation. +type ListPackagesForDomainInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Optional parameter to filter the output by domain engine type. Acceptable - // values are 'Elasticsearch' and 'OpenSearch'. - EngineType *string `location:"querystring" locationName:"engineType" type:"string" enum:"EngineType"` + // The name of the domain for which you want to list associated packages. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` + + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // If your initial ListPackagesForDomain operation returns a nextToken, you + // can include the returned nextToken in subsequent ListPackagesForDomain operations, + // which returns results in the next page. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -10952,7 +12623,7 @@ type ListDomainNamesInput struct { // 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 ListDomainNamesInput) String() string { +func (s ListPackagesForDomainInput) String() string { return awsutil.Prettify(s) } @@ -10961,23 +12632,55 @@ func (s ListDomainNamesInput) String() string { // 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 ListDomainNamesInput) GoString() string { +func (s ListPackagesForDomainInput) GoString() string { return s.String() } -// SetEngineType sets the EngineType field's value. -func (s *ListDomainNamesInput) SetEngineType(v string) *ListDomainNamesInput { - s.EngineType = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListPackagesForDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListPackagesForDomainInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *ListPackagesForDomainInput) SetDomainName(v string) *ListPackagesForDomainInput { + s.DomainName = &v return s } -// The result of a ListDomainNames operation. Contains the names of all domains -// owned by this account and their respective engine types. -type ListDomainNamesOutput struct { +// SetMaxResults sets the MaxResults field's value. +func (s *ListPackagesForDomainInput) SetMaxResults(v int64) *ListPackagesForDomainInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListPackagesForDomainInput) SetNextToken(v string) *ListPackagesForDomainInput { + s.NextToken = &v + return s +} + +// Container for the response parameters to the ListPackagesForDomain operation. +type ListPackagesForDomainOutput struct { _ struct{} `type:"structure"` - // List of domain names and respective engine types. - DomainNames []*DomainInfo `type:"list"` + // List of all packages associated with a domain. + DomainPackageDetailsList []*DomainPackageDetails `type:"list"` + + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. + NextToken *string `type:"string"` } // String returns the string representation. @@ -10985,7 +12688,7 @@ type ListDomainNamesOutput struct { // 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 ListDomainNamesOutput) String() string { +func (s ListPackagesForDomainOutput) String() string { return awsutil.Prettify(s) } @@ -10994,31 +12697,30 @@ func (s ListDomainNamesOutput) String() string { // 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 ListDomainNamesOutput) GoString() string { +func (s ListPackagesForDomainOutput) GoString() string { return s.String() } -// SetDomainNames sets the DomainNames field's value. -func (s *ListDomainNamesOutput) SetDomainNames(v []*DomainInfo) *ListDomainNamesOutput { - s.DomainNames = v +// SetDomainPackageDetailsList sets the DomainPackageDetailsList field's value. +func (s *ListPackagesForDomainOutput) SetDomainPackageDetailsList(v []*DomainPackageDetails) *ListPackagesForDomainOutput { + s.DomainPackageDetailsList = v return s } -// Container for the request parameters to the ListDomainsForPackage operation. -type ListDomainsForPackageInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // Limits the results to a maximum number of domains. - MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` +// SetNextToken sets the NextToken field's value. +func (s *ListPackagesForDomainOutput) SetNextToken(v string) *ListPackagesForDomainOutput { + s.NextToken = &v + return s +} - // Used for pagination. Only necessary if a previous API call includes a non-null - // NextToken value. If provided, returns results for the next page. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +// Container for the parameters to the ListTags operation. +type ListTagsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The package for which to list associated domains. + // Amazon Resource Name (ARN) for the domain to view tags for. // - // PackageID is a required field - PackageID *string `location:"uri" locationName:"PackageID" type:"string" required:"true"` + // ARN is a required field + ARN *string `location:"querystring" locationName:"arn" min:"20" type:"string" required:"true"` } // String returns the string representation. @@ -11026,7 +12728,7 @@ type ListDomainsForPackageInput struct { // 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 ListDomainsForPackageInput) String() string { +func (s ListTagsInput) String() string { return awsutil.Prettify(s) } @@ -11035,18 +12737,18 @@ func (s ListDomainsForPackageInput) String() string { // 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 ListDomainsForPackageInput) GoString() string { +func (s ListTagsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListDomainsForPackageInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListDomainsForPackageInput"} - if s.PackageID == nil { - invalidParams.Add(request.NewErrParamRequired("PackageID")) +func (s *ListTagsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsInput"} + if s.ARN == nil { + invalidParams.Add(request.NewErrParamRequired("ARN")) } - if s.PackageID != nil && len(*s.PackageID) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PackageID", 1)) + if s.ARN != nil && len(*s.ARN) < 20 { + invalidParams.Add(request.NewErrParamMinLen("ARN", 20)) } if invalidParams.Len() > 0 { @@ -11055,32 +12757,18 @@ func (s *ListDomainsForPackageInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListDomainsForPackageInput) SetMaxResults(v int64) *ListDomainsForPackageInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDomainsForPackageInput) SetNextToken(v string) *ListDomainsForPackageInput { - s.NextToken = &v - return s -} - -// SetPackageID sets the PackageID field's value. -func (s *ListDomainsForPackageInput) SetPackageID(v string) *ListDomainsForPackageInput { - s.PackageID = &v +// SetARN sets the ARN field's value. +func (s *ListTagsInput) SetARN(v string) *ListTagsInput { + s.ARN = &v return s } -// Container for the response parameters to the ListDomainsForPackage operation. -type ListDomainsForPackageOutput struct { +// The results of a ListTags operation. +type ListTagsOutput struct { _ struct{} `type:"structure"` - // List of DomainPackageDetails objects. - DomainPackageDetailsList []*DomainPackageDetails `type:"list"` - - NextToken *string `type:"string"` + // List of resource tags associated with the specified domain. + TagList []*Tag `type:"list"` } // String returns the string representation. @@ -11088,7 +12776,7 @@ type ListDomainsForPackageOutput struct { // 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 ListDomainsForPackageOutput) String() string { +func (s ListTagsOutput) String() string { return awsutil.Prettify(s) } @@ -11097,39 +12785,27 @@ func (s ListDomainsForPackageOutput) String() string { // 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 ListDomainsForPackageOutput) GoString() string { +func (s ListTagsOutput) GoString() string { return s.String() } -// SetDomainPackageDetailsList sets the DomainPackageDetailsList field's value. -func (s *ListDomainsForPackageOutput) SetDomainPackageDetailsList(v []*DomainPackageDetails) *ListDomainsForPackageOutput { - s.DomainPackageDetailsList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDomainsForPackageOutput) SetNextToken(v string) *ListDomainsForPackageOutput { - s.NextToken = &v +// SetTagList sets the TagList field's value. +func (s *ListTagsOutput) SetTagList(v []*Tag) *ListTagsOutput { + s.TagList = v return s } -type ListInstanceTypeDetailsInput struct { +// Container for the request parameters to the ListVersions operation. +type ListVersionsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of an domain. Domain names are unique across the domains owned by - // an account within an AWS region. Domain names start with a letter or number - // and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). - DomainName *string `location:"querystring" locationName:"domainName" min:"3" type:"string"` - - // EngineVersion is a required field - EngineVersion *string `location:"uri" locationName:"EngineVersion" min:"14" type:"string" required:"true"` - - // Set this value to limit the number of results returned. + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` - // Paginated APIs accept the NextToken input to return the next page of results - // and provide a NextToken output in the response, which you can use to retrieve - // more results. + // If your initial ListVersions operation returns a nextToken, you can include + // the returned nextToken in subsequent ListVersions operations, which returns + // results in the next page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -11138,7 +12814,7 @@ type ListInstanceTypeDetailsInput struct { // 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 ListInstanceTypeDetailsInput) String() string { +func (s ListVersionsInput) String() string { return awsutil.Prettify(s) } @@ -11147,62 +12823,35 @@ func (s ListInstanceTypeDetailsInput) String() string { // 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 ListInstanceTypeDetailsInput) GoString() string { +func (s ListVersionsInput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListInstanceTypeDetailsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListInstanceTypeDetailsInput"} - if s.DomainName != nil && len(*s.DomainName) < 3 { - invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) - } - if s.EngineVersion == nil { - invalidParams.Add(request.NewErrParamRequired("EngineVersion")) - } - if s.EngineVersion != nil && len(*s.EngineVersion) < 14 { - invalidParams.Add(request.NewErrParamMinLen("EngineVersion", 14)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDomainName sets the DomainName field's value. -func (s *ListInstanceTypeDetailsInput) SetDomainName(v string) *ListInstanceTypeDetailsInput { - s.DomainName = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *ListInstanceTypeDetailsInput) SetEngineVersion(v string) *ListInstanceTypeDetailsInput { - s.EngineVersion = &v - return s -} - // SetMaxResults sets the MaxResults field's value. -func (s *ListInstanceTypeDetailsInput) SetMaxResults(v int64) *ListInstanceTypeDetailsInput { +func (s *ListVersionsInput) SetMaxResults(v int64) *ListVersionsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListInstanceTypeDetailsInput) SetNextToken(v string) *ListInstanceTypeDetailsInput { +func (s *ListVersionsInput) SetNextToken(v string) *ListVersionsInput { s.NextToken = &v return s } -type ListInstanceTypeDetailsOutput struct { +// Container for the parameters for response received from the ListVersions +// operation. +type ListVersionsOutput struct { _ struct{} `type:"structure"` - InstanceTypeDetails []*InstanceTypeDetails `type:"list"` - - // Paginated APIs accept the NextToken input to return the next page of results - // and provide a NextToken output in the response, which you can use to retrieve - // more results. + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. NextToken *string `type:"string"` + + // A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch + // Service supports. + Versions []*string `type:"list"` } // String returns the string representation. @@ -11210,7 +12859,7 @@ type ListInstanceTypeDetailsOutput struct { // 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 ListInstanceTypeDetailsOutput) String() string { +func (s ListVersionsOutput) String() string { return awsutil.Prettify(s) } @@ -11219,36 +12868,34 @@ func (s ListInstanceTypeDetailsOutput) String() string { // 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 ListInstanceTypeDetailsOutput) GoString() string { +func (s ListVersionsOutput) GoString() string { return s.String() } -// SetInstanceTypeDetails sets the InstanceTypeDetails field's value. -func (s *ListInstanceTypeDetailsOutput) SetInstanceTypeDetails(v []*InstanceTypeDetails) *ListInstanceTypeDetailsOutput { - s.InstanceTypeDetails = v +// SetNextToken sets the NextToken field's value. +func (s *ListVersionsOutput) SetNextToken(v string) *ListVersionsOutput { + s.NextToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListInstanceTypeDetailsOutput) SetNextToken(v string) *ListInstanceTypeDetailsOutput { - s.NextToken = &v +// SetVersions sets the Versions field's value. +func (s *ListVersionsOutput) SetVersions(v []*string) *ListVersionsOutput { + s.Versions = v return s } -// Container for the request parameters to the ListPackagesForDomain operation. -type ListPackagesForDomainInput struct { +type ListVpcEndpointAccessInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the domain for which you want to list associated packages. + // The name of the OpenSearch Service domain to retrieve access information + // for. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` - // Limits results to a maximum number of packages. - MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` - - // Used for pagination. Only necessary if a previous API call includes a non-null - // NextToken value. If provided, returns results for the next page. + // If your initial ListVpcEndpointAccess operation returns a nextToken, you + // can include the returned nextToken in subsequent ListVpcEndpointAccess operations, + // which returns results in the next page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -11257,7 +12904,7 @@ type ListPackagesForDomainInput struct { // 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 ListPackagesForDomainInput) String() string { +func (s ListVpcEndpointAccessInput) String() string { return awsutil.Prettify(s) } @@ -11266,13 +12913,13 @@ func (s ListPackagesForDomainInput) String() string { // 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 ListPackagesForDomainInput) GoString() string { +func (s ListVpcEndpointAccessInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListPackagesForDomainInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListPackagesForDomainInput"} +func (s *ListVpcEndpointAccessInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListVpcEndpointAccessInput"} if s.DomainName == nil { invalidParams.Add(request.NewErrParamRequired("DomainName")) } @@ -11287,32 +12934,32 @@ func (s *ListPackagesForDomainInput) Validate() error { } // SetDomainName sets the DomainName field's value. -func (s *ListPackagesForDomainInput) SetDomainName(v string) *ListPackagesForDomainInput { +func (s *ListVpcEndpointAccessInput) SetDomainName(v string) *ListVpcEndpointAccessInput { s.DomainName = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListPackagesForDomainInput) SetMaxResults(v int64) *ListPackagesForDomainInput { - s.MaxResults = &v - return s -} - // SetNextToken sets the NextToken field's value. -func (s *ListPackagesForDomainInput) SetNextToken(v string) *ListPackagesForDomainInput { +func (s *ListVpcEndpointAccessInput) SetNextToken(v string) *ListVpcEndpointAccessInput { s.NextToken = &v return s } -// Container for the response parameters to the ListPackagesForDomain operation. -type ListPackagesForDomainOutput struct { +type ListVpcEndpointAccessOutput struct { _ struct{} `type:"structure"` - // List of DomainPackageDetails objects. - DomainPackageDetailsList []*DomainPackageDetails `type:"list"` + // A list of IAM principals (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html) + // that can currently access the domain. + // + // AuthorizedPrincipalList is a required field + AuthorizedPrincipalList []*AuthorizedPrincipal `type:"list" required:"true"` - // Pagination token to supply to the next call to get the next page of results. - NextToken *string `type:"string"` + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. + // + // NextToken is a required field + NextToken *string `type:"string" required:"true"` } // String returns the string representation. @@ -11320,7 +12967,7 @@ type ListPackagesForDomainOutput struct { // 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 ListPackagesForDomainOutput) String() string { +func (s ListVpcEndpointAccessOutput) String() string { return awsutil.Prettify(s) } @@ -11329,32 +12976,34 @@ func (s ListPackagesForDomainOutput) String() string { // 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 ListPackagesForDomainOutput) GoString() string { +func (s ListVpcEndpointAccessOutput) GoString() string { return s.String() } -// SetDomainPackageDetailsList sets the DomainPackageDetailsList field's value. -func (s *ListPackagesForDomainOutput) SetDomainPackageDetailsList(v []*DomainPackageDetails) *ListPackagesForDomainOutput { - s.DomainPackageDetailsList = v +// SetAuthorizedPrincipalList sets the AuthorizedPrincipalList field's value. +func (s *ListVpcEndpointAccessOutput) SetAuthorizedPrincipalList(v []*AuthorizedPrincipal) *ListVpcEndpointAccessOutput { + s.AuthorizedPrincipalList = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListPackagesForDomainOutput) SetNextToken(v string) *ListPackagesForDomainOutput { +func (s *ListVpcEndpointAccessOutput) SetNextToken(v string) *ListVpcEndpointAccessOutput { s.NextToken = &v return s } -// Container for the parameters to the ListTags operation. Specify the ARN of -// the domain that the tags you want to view are attached to. -type ListTagsInput struct { +type ListVpcEndpointsForDomainInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Specify the ARN of the domain that the tags you want to view are attached - // to. + // The name of the domain to list associated VPC endpoints for. // - // ARN is a required field - ARN *string `location:"querystring" locationName:"arn" min:"20" type:"string" required:"true"` + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` + + // If your initial ListEndpointsForDomain operation returns a nextToken, you + // can include the returned nextToken in subsequent ListEndpointsForDomain operations, + // which returns results in the next page. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -11362,7 +13011,7 @@ type ListTagsInput struct { // 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 ListTagsInput) String() string { +func (s ListVpcEndpointsForDomainInput) String() string { return awsutil.Prettify(s) } @@ -11371,18 +13020,18 @@ func (s ListTagsInput) String() string { // 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 ListTagsInput) GoString() string { +func (s ListVpcEndpointsForDomainInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListTagsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListTagsInput"} - if s.ARN == nil { - invalidParams.Add(request.NewErrParamRequired("ARN")) +func (s *ListVpcEndpointsForDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListVpcEndpointsForDomainInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) } - if s.ARN != nil && len(*s.ARN) < 20 { - invalidParams.Add(request.NewErrParamMinLen("ARN", 20)) + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) } if invalidParams.Len() > 0 { @@ -11391,18 +13040,32 @@ func (s *ListTagsInput) Validate() error { return nil } -// SetARN sets the ARN field's value. -func (s *ListTagsInput) SetARN(v string) *ListTagsInput { - s.ARN = &v +// SetDomainName sets the DomainName field's value. +func (s *ListVpcEndpointsForDomainInput) SetDomainName(v string) *ListVpcEndpointsForDomainInput { + s.DomainName = &v return s } -// The result of a ListTags operation. Contains tags for all requested domains. -type ListTagsOutput struct { +// SetNextToken sets the NextToken field's value. +func (s *ListVpcEndpointsForDomainInput) SetNextToken(v string) *ListVpcEndpointsForDomainInput { + s.NextToken = &v + return s +} + +type ListVpcEndpointsForDomainOutput struct { _ struct{} `type:"structure"` - // List of Tag for the requested domain. - TagList []*Tag `type:"list"` + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. + // + // NextToken is a required field + NextToken *string `type:"string" required:"true"` + + // Information about each endpoint associated with the domain. + // + // VpcEndpointSummaryList is a required field + VpcEndpointSummaryList []*VpcEndpointSummary `type:"list" required:"true"` } // String returns the string representation. @@ -11410,7 +13073,7 @@ type ListTagsOutput struct { // 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 ListTagsOutput) String() string { +func (s ListVpcEndpointsForDomainOutput) String() string { return awsutil.Prettify(s) } @@ -11419,32 +13082,28 @@ func (s ListTagsOutput) String() string { // 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 ListTagsOutput) GoString() string { +func (s ListVpcEndpointsForDomainOutput) GoString() string { return s.String() } -// SetTagList sets the TagList field's value. -func (s *ListTagsOutput) SetTagList(v []*Tag) *ListTagsOutput { - s.TagList = v +// SetNextToken sets the NextToken field's value. +func (s *ListVpcEndpointsForDomainOutput) SetNextToken(v string) *ListVpcEndpointsForDomainOutput { + s.NextToken = &v return s } -// Container for the parameters to the ListVersions operation. -// Use MaxResults to control the maximum number of results to retrieve in a -// single call. -// -// Use NextToken in response to retrieve more results. If the received response -// does not contain a NextToken, there are no more results to retrieve. -type ListVersionsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetVpcEndpointSummaryList sets the VpcEndpointSummaryList field's value. +func (s *ListVpcEndpointsForDomainOutput) SetVpcEndpointSummaryList(v []*VpcEndpointSummary) *ListVpcEndpointsForDomainOutput { + s.VpcEndpointSummaryList = v + return s +} - // Set this value to limit the number of results returned. Value must be greater - // than 10 or it won't be honored. - MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` +type ListVpcEndpointsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Paginated APIs accept the NextToken input to return the next page of results - // and provide a NextToken output in the response, which you can use to retrieve - // more results. + // If your initial ListVpcEndpoints operation returns a nextToken, you can include + // the returned nextToken in subsequent ListVpcEndpoints operations, which returns + // results in the next page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -11453,7 +13112,7 @@ type ListVersionsInput struct { // 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 ListVersionsInput) String() string { +func (s ListVpcEndpointsInput) String() string { return awsutil.Prettify(s) } @@ -11462,34 +13121,30 @@ func (s ListVersionsInput) String() string { // 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 ListVersionsInput) GoString() string { +func (s ListVpcEndpointsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListVersionsInput) SetMaxResults(v int64) *ListVersionsInput { - s.MaxResults = &v - return s -} - // SetNextToken sets the NextToken field's value. -func (s *ListVersionsInput) SetNextToken(v string) *ListVersionsInput { +func (s *ListVpcEndpointsInput) SetNextToken(v string) *ListVpcEndpointsInput { s.NextToken = &v return s } -// Container for the parameters for response received from the ListVersions -// operation. -type ListVersionsOutput struct { +type ListVpcEndpointsOutput struct { _ struct{} `type:"structure"` - // Paginated APIs accept the NextToken input to return the next page of results - // and provide a NextToken output in the response, which you can use to retrieve - // more results. - NextToken *string `type:"string"` + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. + // + // NextToken is a required field + NextToken *string `type:"string" required:"true"` - // List of supported OpenSearch versions. - Versions []*string `type:"list"` + // Information about each endpoint. + // + // VpcEndpointSummaryList is a required field + VpcEndpointSummaryList []*VpcEndpointSummary `type:"list" required:"true"` } // String returns the string representation. @@ -11497,7 +13152,7 @@ type ListVersionsOutput struct { // 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 ListVersionsOutput) String() string { +func (s ListVpcEndpointsOutput) String() string { return awsutil.Prettify(s) } @@ -11506,37 +13161,36 @@ func (s ListVersionsOutput) String() string { // 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 ListVersionsOutput) GoString() string { +func (s ListVpcEndpointsOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListVersionsOutput) SetNextToken(v string) *ListVersionsOutput { +func (s *ListVpcEndpointsOutput) SetNextToken(v string) *ListVpcEndpointsOutput { s.NextToken = &v return s } -// SetVersions sets the Versions field's value. -func (s *ListVersionsOutput) SetVersions(v []*string) *ListVersionsOutput { - s.Versions = v +// SetVpcEndpointSummaryList sets the VpcEndpointSummaryList field's value. +func (s *ListVpcEndpointsOutput) SetVpcEndpointSummaryList(v []*VpcEndpointSummary) *ListVpcEndpointsOutput { + s.VpcEndpointSummaryList = v return s } -// Log Publishing option that is set for a given domain. Attributes and their -// details: +// Specifies whether the Amazon OpenSearch Service domain publishes the OpenSearch +// application and slow logs to Amazon CloudWatch. For more information, see +// Monitoring OpenSearch logs with Amazon CloudWatch Logs (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createdomain-configure-slow-logs.html). // -// - CloudWatchLogsLogGroupArn: ARN of the Cloudwatch log group to publish -// logs to. -// -// - Enabled: Whether the log publishing for a given log type is enabled -// or not. +// After you enable log publishing, you still have to enable the collection +// of slow logs using the OpenSearch REST API. type LogPublishingOption struct { _ struct{} `type:"structure"` - // ARN of the Cloudwatch log group to publish logs to. + // The Amazon Resource Name (ARN) of the CloudWatch Logs group to publish logs + // to. CloudWatchLogsLogGroupArn *string `min:"20" type:"string"` - // Whether the given log publishing option is enabled or not. + // Whether the log should be published. Enabled *bool `type:"boolean"` } @@ -11590,8 +13244,7 @@ type LogPublishingOptionsStatus struct { // The log publishing options configured for the domain. Options map[string]*LogPublishingOption `type:"map"` - // The status of the log publishing options for the domain. See OptionStatus - // for the status information that's included. + // The status of the log publishing options for the domain. Status *OptionStatus `type:"structure"` } @@ -11625,23 +13278,24 @@ func (s *LogPublishingOptionsStatus) SetStatus(v *OptionStatus) *LogPublishingOp return s } -// Credentials for the master user: username and password, ARN, or both. +// Credentials for the master user for a domain. type MasterUserOptions struct { _ struct{} `type:"structure"` - // ARN for the master user (if IAM is enabled). + // Amazon Resource Name (ARN) for the master user. Only specify if InternalUserDatabaseEnabled + // is false. MasterUserARN *string `min:"20" type:"string"` - // The master user's username, which is stored in the Amazon OpenSearch Service - // domain's internal database. + // User name for the master user. Only specify if InternalUserDatabaseEnabled + // is true. // // MasterUserName is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by MasterUserOptions's // String and GoString methods. MasterUserName *string `min:"1" type:"string" sensitive:"true"` - // The master user's password, which is stored in the Amazon OpenSearch Service - // domain's internal database. + // Password for the master user. Only specify if InternalUserDatabaseEnabled + // is true. // // MasterUserPassword is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by MasterUserOptions's @@ -11704,7 +13358,8 @@ func (s *MasterUserOptions) SetMasterUserPassword(v string) *MasterUserOptions { return s } -// The node-to-node encryption options. +// Enables or disables node-to-node encryption. For more information, see Node-to-node +// encryption for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ntn.html). type NodeToNodeEncryptionOptions struct { _ struct{} `type:"structure"` @@ -11781,19 +13436,19 @@ func (s *NodeToNodeEncryptionOptionsStatus) SetStatus(v *OptionStatus) *NodeToNo return s } -// Provides the current status of the entity. +// Provides the current status of an entity. type OptionStatus struct { _ struct{} `type:"structure"` - // The timestamp of when the entity was created. + // The timestamp when the entity was created. // // CreationDate is a required field CreationDate *time.Time `type:"timestamp" required:"true"` - // Indicates whether the domain is being deleted. + // Indicates whether the entity is being deleted. PendingDeletion *bool `type:"boolean"` - // Provides the OptionState for the domain. + // The state of the entity. // // State is a required field State *string `type:"string" required:"true" enum:"OptionState"` @@ -11855,23 +13510,23 @@ func (s *OptionStatus) SetUpdateVersion(v int64) *OptionStatus { return s } -// Specifies details about an outbound connection. +// Specifies details about an outbound cross-cluster connection. type OutboundConnection struct { _ struct{} `type:"structure"` - // The connection alias for the outbound cross-cluster connection. + // Name of the connection. ConnectionAlias *string `min:"2" type:"string"` - // The connection ID for the outbound cross-cluster connection. + // Unique identifier of the connection. ConnectionId *string `min:"10" type:"string"` - // The OutboundConnectionStatus for the outbound connection. + // Status of the connection. ConnectionStatus *OutboundConnectionStatus `type:"structure"` - // The DomainInformation for the local OpenSearch domain. + // Information about the source (local) domain. LocalDomainInfo *DomainInformationContainer `type:"structure"` - // The DomainInformation for the remote OpenSearch domain. + // Information about the destination (remote) domain. RemoteDomainInfo *DomainInformationContainer `type:"structure"` } @@ -11923,37 +13578,38 @@ func (s *OutboundConnection) SetRemoteDomainInfo(v *DomainInformationContainer) return s } -// The connection status of an outbound cross-cluster connection. +// The status of an outbound cross-cluster connection. type OutboundConnectionStatus struct { _ struct{} `type:"structure"` - // Verbose information for the outbound connection status. + // Verbose information for the outbound connection. Message *string `type:"string"` - // The state code for the outbound connection. Can be one of the following: + // The status code for the outbound connection. Can be one of the following: // - // * VALIDATING: The outbound connection request is being validated. + // * VALIDATING - The outbound connection request is being validated. // - // * VALIDATION_FAILED: Validation failed for the connection request. + // * VALIDATION_FAILED - Validation failed for the connection request. // // * PENDING_ACCEPTANCE: Outbound connection request is validated and is // not yet accepted by the remote domain owner. // - // * APPROVED: Outbound connection has been approved by the remote domain + // * APPROVED - Outbound connection has been approved by the remote domain // owner for getting provisioned. // - // * PROVISIONING: Outbound connection request is in process. + // * PROVISIONING - Outbound connection request is in process. // - // * ACTIVE: Outbound connection is active and ready to use. + // * ACTIVE - Outbound connection is active and ready to use. // - // * REJECTING: Outbound connection rejection by remote domain owner is in - // progress. + // * REJECTING - Outbound connection rejection by remote domain owner is + // in progress. // - // * REJECTED: Outbound connection request is rejected by remote domain owner. + // * REJECTED - Outbound connection request is rejected by remote domain + // owner. // - // * DELETING: Outbound connection deletion is in progress. + // * DELETING - Outbound connection deletion is in progress. // - // * DELETED: Outbound connection is deleted and can no longer be used. + // * DELETED - Outbound connection is deleted and can no longer be used. StatusCode *string `type:"string" enum:"OutboundConnectionStatusCode"` } @@ -11991,30 +13647,31 @@ func (s *OutboundConnectionStatus) SetStatusCode(v string) *OutboundConnectionSt type PackageDetails struct { _ struct{} `type:"structure"` + // The package version. AvailablePackageVersion *string `type:"string"` - // The timestamp of when the package was created. + // The timestamp when the package was created. CreatedAt *time.Time `type:"timestamp"` // Additional information if the package is in an error state. Null otherwise. ErrorDetails *ErrorDetails `type:"structure"` + // Date and time when the package was last updated. LastUpdatedAt *time.Time `type:"timestamp"` // User-specified description of the package. PackageDescription *string `type:"string"` - // Internal ID of the package. + // The unique identifier of the package. PackageID *string `type:"string"` // User-specified name of the package. PackageName *string `min:"3" type:"string"` - // Current state of the package. Values are COPYING, COPY_FAILED, AVAILABLE, - // DELETING, and DELETE_FAILED. + // Current status of the package. PackageStatus *string `type:"string" enum:"PackageStatus"` - // Currently supports only TXT-DICTIONARY. + // The type of package. PackageType *string `type:"string" enum:"PackageType"` } @@ -12090,8 +13747,7 @@ func (s *PackageDetails) SetPackageType(v string) *PackageDetails { return s } -// The Amazon S3 location for importing the package specified as S3BucketName -// and S3Key +// The Amazon S3 location to import the package from. type PackageSource struct { _ struct{} `type:"structure"` @@ -12148,14 +13804,14 @@ func (s *PackageSource) SetS3Key(v string) *PackageSource { return s } -// Details of a package version. +// Details about a package version. type PackageVersionHistory struct { _ struct{} `type:"structure"` - // A message associated with the package version. + // A message associated with the package version when it was uploaded. CommitMessage *string `type:"string"` - // The timestamp of when the package was created. + // The date and time when the package was created. CreatedAt *time.Time `type:"timestamp"` // The package version. @@ -12198,7 +13854,8 @@ func (s *PackageVersionHistory) SetPackageVersion(v string) *PackageVersionHisto return s } -// Container for parameters to PurchaseReservedInstanceOffering +// Container for request parameters to the PurchaseReservedInstanceOffering +// operation. type PurchaseReservedInstanceOfferingInput struct { _ struct{} `type:"structure"` @@ -12210,7 +13867,7 @@ type PurchaseReservedInstanceOfferingInput struct { // ReservationName is a required field ReservationName *string `min:"5" type:"string" required:"true"` - // The ID of the reserved OpenSearch instance offering to purchase. + // The ID of the Reserved Instance offering to purchase. // // ReservedInstanceOfferingId is a required field ReservedInstanceOfferingId *string `min:"36" type:"string" required:"true"` @@ -12284,7 +13941,7 @@ type PurchaseReservedInstanceOfferingOutput struct { // The customer-specified identifier used to track this reservation. ReservationName *string `min:"5" type:"string"` - // Details of the reserved OpenSearch instance which was purchased. + // The ID of the Reserved Instance offering that was purchased. ReservedInstanceId *string `min:"36" type:"string"` } @@ -12318,8 +13975,8 @@ func (s *PurchaseReservedInstanceOfferingOutput) SetReservedInstanceId(v string) return s } -// Contains the specific price and frequency of a recurring charges for a reserved -// OpenSearch instance, or for a reserved OpenSearch instance offering. +// Contains the specific price and frequency of a recurring charges for an OpenSearch +// Reserved Instance, or for a Reserved Instance offering. type RecurringCharge struct { _ struct{} `type:"structure"` @@ -12360,11 +14017,11 @@ func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge return s } -// Container for the parameters to the RejectInboundConnection operation. +// Container for the request parameters to the RejectInboundConnection operation. type RejectInboundConnectionInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The ID of the inbound connection to reject. + // The unique identifier of the inbound connection to reject. // // ConnectionId is a required field ConnectionId *string `location:"uri" locationName:"ConnectionId" min:"10" type:"string" required:"true"` @@ -12410,12 +14067,11 @@ func (s *RejectInboundConnectionInput) SetConnectionId(v string) *RejectInboundC return s } -// The result of a RejectInboundConnection operation. Contains details about -// the rejected inbound connection. +// Represents the output of a RejectInboundConnection operation. type RejectInboundConnectionOutput struct { _ struct{} `type:"structure"` - // The InboundConnection of the rejected inbound connection. + // Contains details about the rejected inbound connection. Connection *InboundConnection `type:"structure"` } @@ -12443,17 +14099,17 @@ func (s *RejectInboundConnectionOutput) SetConnection(v *InboundConnection) *Rej return s } -// Container for the parameters to the RemoveTags operation. Specify the ARN -// for the domain from which you want to remove the specified TagKey. +// Container for the request parameters to the RemoveTags operation. type RemoveTagsInput struct { _ struct{} `type:"structure"` - // The ARN of the domain from which you want to delete the specified tags. + // The Amazon Resource Name (ARN) of the domain from which you want to delete + // the specified tags. // // ARN is a required field ARN *string `min:"20" type:"string" required:"true"` - // The TagKey list you want to remove from the domain. + // The list of tag keys to remove from the domain. // // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` @@ -12530,33 +14186,34 @@ func (s RemoveTagsOutput) GoString() string { return s.String() } -// Details of a reserved OpenSearch instance. +// Details of an OpenSearch Reserved Instance. type ReservedInstance struct { _ struct{} `type:"structure"` + // The unique identifier of the billing subscription. BillingSubscriptionId *int64 `type:"long"` - // The currency code for the reserved OpenSearch instance offering. + // The currency code for the offering. CurrencyCode *string `type:"string"` // The duration, in seconds, for which the OpenSearch instance is reserved. Duration *int64 `type:"integer"` - // The upfront fixed charge you will paid to purchase the specific reserved - // OpenSearch instance offering. + // The upfront fixed charge you will paid to purchase the specific Reserved + // Instance offering. FixedPrice *float64 `type:"double"` // The number of OpenSearch instances that have been reserved. InstanceCount *int64 `type:"integer"` - // The OpenSearch instance type offered by the reserved instance offering. + // The OpenSearch instance type offered by theReserved Instance offering. InstanceType *string `type:"string" enum:"OpenSearchPartitionInstanceType"` - // The payment option as defined in the reserved OpenSearch instance offering. + // The payment option as defined in the Reserved Instance offering. PaymentOption *string `type:"string" enum:"ReservedInstancePaymentOption"` - // The charge to your account regardless of whether you are creating any domains - // using the instance offering. + // The recurring charge to your account, regardless of whether you create any + // domains using the Reserved Instance offering. RecurringCharges []*RecurringCharge `type:"list"` // The customer-specified identifier to track this reservation. @@ -12565,17 +14222,17 @@ type ReservedInstance struct { // The unique identifier for the reservation. ReservedInstanceId *string `min:"36" type:"string"` - // The offering identifier. + // The unique identifier of the Reserved Instance offering. ReservedInstanceOfferingId *string `type:"string"` - // The time the reservation started. + // The date and time when the reservation was purchased. StartTime *time.Time `type:"timestamp"` - // The state of the reserved OpenSearch instance. + // The state of the Reserved Instance. State *string `type:"string"` - // The rate you are charged for each hour for the domain that is using this - // reserved instance. + // The hourly rate at which you're charged for the domain using this Reserved + // Instance. UsagePrice *float64 `type:"double"` } @@ -12681,36 +14338,36 @@ func (s *ReservedInstance) SetUsagePrice(v float64) *ReservedInstance { return s } -// Details of a reserved OpenSearch instance offering. +// Details of an OpenSearch Reserved Instance offering. type ReservedInstanceOffering struct { _ struct{} `type:"structure"` - // The currency code for the reserved OpenSearch instance offering. + // The currency code for the Reserved Instance offering. CurrencyCode *string `type:"string"` // The duration, in seconds, for which the offering will reserve the OpenSearch // instance. Duration *int64 `type:"integer"` - // The upfront fixed charge you will pay to purchase the specific reserved OpenSearch - // instance offering. + // The upfront fixed charge you will pay to purchase the specific Reserved Instance + // offering. FixedPrice *float64 `type:"double"` - // The OpenSearch instance type offered by the reserved instance offering. + // The OpenSearch instance type offered by the Reserved Instance offering. InstanceType *string `type:"string" enum:"OpenSearchPartitionInstanceType"` - // Payment option for the reserved OpenSearch instance offering + // Payment option for the Reserved Instance offering PaymentOption *string `type:"string" enum:"ReservedInstancePaymentOption"` - // The charge to your account regardless of whether you are creating any domains - // using the instance offering. + // The recurring charge to your account, regardless of whether you creates any + // domains using the offering. RecurringCharges []*RecurringCharge `type:"list"` - // The OpenSearch reserved instance offering identifier. + // The unique identifier of the Reserved Instance offering. ReservedInstanceOfferingId *string `min:"36" type:"string"` - // The rate you are charged for each hour the domain that is using the offering - // is running. + // The hourly rate at which you're charged for the domain using this Reserved + // Instance. UsagePrice *float64 `type:"double"` } @@ -12900,26 +14557,111 @@ func (s *ResourceNotFoundException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceNotFoundException) StatusCode() int { - return s.RespMetadata.StatusCode +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +type RevokeVpcEndpointAccessInput struct { + _ struct{} `type:"structure"` + + // The account ID to revoke access from. + // + // Account is a required field + Account *string `type:"string" required:"true"` + + // The name of the OpenSearch Service domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"3" 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 RevokeVpcEndpointAccessInput) 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 RevokeVpcEndpointAccessInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RevokeVpcEndpointAccessInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RevokeVpcEndpointAccessInput"} + if s.Account == nil { + invalidParams.Add(request.NewErrParamRequired("Account")) + } + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccount sets the Account field's value. +func (s *RevokeVpcEndpointAccessInput) SetAccount(v string) *RevokeVpcEndpointAccessInput { + s.Account = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *RevokeVpcEndpointAccessInput) SetDomainName(v string) *RevokeVpcEndpointAccessInput { + s.DomainName = &v + return s +} + +type RevokeVpcEndpointAccessOutput struct { + _ struct{} `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 RevokeVpcEndpointAccessOutput) String() string { + return awsutil.Prettify(s) } -// RequestID returns the service's response RequestID for request. -func (s *ResourceNotFoundException) RequestID() string { - return s.RespMetadata.RequestID +// 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 RevokeVpcEndpointAccessOutput) GoString() string { + return s.String() } -// The SAML identity povider's information. +// The SAML identity povider information. type SAMLIdp struct { _ struct{} `type:"structure"` - // The unique entity ID of the application in SAML identity provider. + // The unique entity ID of the application in the SAML identity provider. // // EntityId is a required field EntityId *string `min:"8" type:"string" required:"true"` - // The metadata of the SAML application in XML format. + // The metadata of the SAML application, in XML format. // // MetadataContent is a required field MetadataContent *string `min:"1" type:"string" required:"true"` @@ -12977,11 +14719,11 @@ func (s *SAMLIdp) SetMetadataContent(v string) *SAMLIdp { return s } -// The SAML application configuration for the domain. +// The SAML authentication configuration for an Amazon OpenSearch Service domain. type SAMLOptionsInput_ struct { _ struct{} `type:"structure"` - // True if SAML is enabled. + // True to enable SAML authentication for a domain. Enabled *bool `type:"boolean"` // The SAML Identity Provider's information. @@ -12990,8 +14732,8 @@ type SAMLOptionsInput_ struct { // The backend role that the SAML master user is mapped to. MasterBackendRole *string `min:"1" type:"string"` - // The SAML master username, which is stored in the Amazon OpenSearch Service - // domain's internal database. + // The SAML master user name, which is stored in the domain's internal user + // database. // // MasterUserName is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by SAMLOptionsInput_'s @@ -13005,7 +14747,7 @@ type SAMLOptionsInput_ struct { // values are between 1 and 1440, and the default value is 60. SessionTimeoutMinutes *int64 `type:"integer"` - // Element of the SAML assertion to use for username. Default is NameID. + // Element of the SAML assertion to use for the user name. Default is NameID. SubjectKey *string `type:"string"` } @@ -13158,22 +14900,21 @@ func (s *SAMLOptionsOutput_) SetSubjectKey(v string) *SAMLOptionsOutput_ { return s } -// Specifies details about the scheduled Auto-Tune action. See Auto-Tune for -// Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) -// for more information. +// Specifies details about a scheduled Auto-Tune action. For more information, +// see Auto-Tune for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html). type ScheduledAutoTuneDetails struct { _ struct{} `type:"structure"` - // The Auto-Tune action description. + // A description of the Auto-Tune action. Action *string `type:"string"` - // The Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and JVM_YOUNG_GEN_TUNING. + // The type of Auto-Tune action. ActionType *string `type:"string" enum:"ScheduledAutoTuneActionType"` - // The timestamp of the Auto-Tune action scheduled for the domain. + // The date and time when the Auto-Tune action is scheduled for the domain. Date *time.Time `type:"timestamp"` - // The Auto-Tune action severity. Valid values are LOW, MEDIUM, and HIGH. + // The severity of the Auto-Tune action. Valid values are LOW, MEDIUM, and HIGH. Severity *string `type:"string" enum:"ScheduledAutoTuneSeverityType"` } @@ -13219,7 +14960,9 @@ func (s *ScheduledAutoTuneDetails) SetSeverity(v string) *ScheduledAutoTuneDetai return s } -// The current options of an domain service software options. +// The current status of the service software for an Amazon OpenSearch Service +// domain. For more information, see Service software updates in Amazon OpenSearch +// Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html). type ServiceSoftwareOptions struct { _ struct{} `type:"structure"` @@ -13234,22 +14977,21 @@ type ServiceSoftwareOptions struct { // The current service software version present on the domain. CurrentVersion *string `type:"string"` - // The description of the UpdateStatus. + // A description of the service software update status. Description *string `type:"string"` - // The new service software version if one is available. + // The new service software version, if one is available. NewVersion *string `type:"string"` // True if a service software is never automatically updated. False if a service - // software is automatically updated after AutomatedUpdateDate. + // software is automatically updated after the automated update date. OptionalDeployment *bool `type:"boolean"` // True if you're able to update your service software version. False if you // can't update your service software version. UpdateAvailable *bool `type:"boolean"` - // The status of your service software update. This field can take the following - // values: ELIGIBLE, PENDING_UPDATE, IN_PROGRESS, COMPLETED, and NOT_ELIGIBLE. + // The status of your service software update. UpdateStatus *string `type:"string" enum:"DeploymentStatus"` } @@ -13319,13 +15061,13 @@ func (s *ServiceSoftwareOptions) SetUpdateStatus(v string) *ServiceSoftwareOptio return s } -// The time, in UTC format, when the service takes a daily automated snapshot -// of the specified domain. Default is 0 hours. +// The time, in UTC format, when OpenSearch Service takes a daily automated +// snapshot of the specified domain. Default is 0 hours. type SnapshotOptions struct { _ struct{} `type:"structure"` - // The time, in UTC format, when the service takes a daily automated snapshot - // of the specified domain. Default is 0 hours. + // The time, in UTC format, when OpenSearch Service takes a daily automated + // snapshot of the specified domain. Default is 0 hours. AutomatedSnapshotStartHour *int64 `type:"integer"` } @@ -13353,7 +15095,8 @@ func (s *SnapshotOptions) SetAutomatedSnapshotStartHour(v int64) *SnapshotOption return s } -// Status of a daily automated snapshot. +// Container for information about a daily automated snapshot for an OpenSearch +// Service domain. type SnapshotOptionsStatus struct { _ struct{} `type:"structure"` @@ -13398,8 +15141,7 @@ func (s *SnapshotOptionsStatus) SetStatus(v *OptionStatus) *SnapshotOptionsStatu return s } -// Container for the parameters to the StartServiceSoftwareUpdate operation. -// Specifies the name of the domain to schedule a service software update for. +// Container for the request parameters to the StartServiceSoftwareUpdate operation. type StartServiceSoftwareUpdateInput struct { _ struct{} `type:"structure"` @@ -13449,12 +15191,12 @@ func (s *StartServiceSoftwareUpdateInput) SetDomainName(v string) *StartServiceS return s } -// The result of a StartServiceSoftwareUpdate operation. Contains the status -// of the update. +// Represents the output of a StartServiceSoftwareUpdate operation. Contains +// the status of the update. type StartServiceSoftwareUpdateOutput struct { _ struct{} `type:"structure"` - // The current status of the OpenSearch service software update. + // The current status of the OpenSearch Service software update. ServiceSoftwareOptions *ServiceSoftwareOptions `type:"structure"` } @@ -13482,22 +15224,18 @@ func (s *StartServiceSoftwareUpdateOutput) SetServiceSoftwareOptions(v *ServiceS return s } -// StorageTypes represents the list of storage-related types and their attributes -// that are available for a given InstanceType. +// A list of storage types for an Amazon OpenSearch Service domain that are +// available for a given intance type. type StorageType struct { _ struct{} `type:"structure"` - // Sub-type of the given storage type. List of available sub-storage options: - // "instance" storageType has no storageSubType. "ebs" storageType has the following - // valid storageSubTypes: standard gp2 gp3 io1 See VolumeType for more information - // regarding each EBS storage option. + // The storage sub-type, such as gp3 or io1. StorageSubTypeName *string `type:"string"` // Limits that are applicable for the given storage type. StorageTypeLimits []*StorageTypeLimit `type:"list"` - // Type of storage. List of available storage options: instance Built-in storage - // available for the instance ebs Elastic block storage attached to the instance + // The name of the storage type. StorageTypeName *string `type:"string"` } @@ -13537,25 +15275,34 @@ func (s *StorageType) SetStorageTypeName(v string) *StorageType { return s } -// Limits that are applicable for the given storage type. +// Limits that are applicable for the given Amazon OpenSearch Service storage +// type. type StorageTypeLimit struct { _ struct{} `type:"structure"` // Name of storage limits that are applicable for the given storage type. If - // StorageType is "ebs", the following storage options are applicable: MinimumVolumeSize - // Minimum amount of volume size that is applicable for the given storage type. - // Can be empty if not applicable. MaximumVolumeSize Maximum amount of volume - // size that is applicable for the given storage type. Can be empty if not applicable. - // MaximumIops Maximum amount of Iops that is applicable for given the storage - // type. Can be empty if not applicable. MinimumIops Minimum amount of Iops - // that is applicable for given the storage type. Can be empty if not applicable. - // MaximumThroughput Maximum amount of Throughput that is applicable for given - // the storage type. Can be empty if not applicable. MinimumThroughput Minimum - // amount of Throughput that is applicable for given the storage type. Can be - // empty if not applicable. + // StorageType is ebs, the following options are available: + // + // * MinimumVolumeSize - Minimum volume size that is available for the given + // storage type. Can be empty if not applicable. + // + // * MaximumVolumeSize - Maximum volume size that is available for the given + // storage type. Can be empty if not applicable. + // + // * MaximumIops - Maximum amount of IOPS that is available for the given + // the storage type. Can be empty if not applicable. + // + // * MinimumIops - Minimum amount of IOPS that is available for the given + // the storage type. Can be empty if not applicable. + // + // * MaximumThroughput - Maximum amount of throughput that is available for + // the given the storage type. Can be empty if not applicable. + // + // * MinimumThroughput - Minimum amount of throughput that is available for + // the given the storage type. Can be empty if not applicable. LimitName *string `type:"string"` - // Values for the StorageTypeLimit$LimitName . + // The limit values. LimitValues []*string `type:"list"` } @@ -13589,20 +15336,18 @@ func (s *StorageTypeLimit) SetLimitValues(v []*string) *StorageTypeLimit { return s } -// A key value pair for a resource tag. +// A tag (key-value pair) for an Amazon OpenSearch Service resource. type Tag struct { _ struct{} `type:"structure"` - // The TagKey, the name of the tag. Tag keys must be unique for the domain to - // which they are attached. + // The tag key. Tag keys must be unique for the domain to which they are attached. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` - // The TagValue, the value assigned to the corresponding tag key. Tag values - // can be null and don't have to be unique in a tag set. For example, you can - // have a key value pair in a tag set of project : Trinity and cost-center : - // Trinity + // The value assigned to the corresponding tag key. Tag values can be null and + // don't have to be unique in a tag set. For example, you can have a key value + // pair in a tag set of project : Trinity and cost-center : Trinity // // Value is a required field Value *string `type:"string" required:"true"` @@ -13657,67 +15402,86 @@ func (s *Tag) SetValue(v string) *Tag { return s } -// Container for the parameters to the UpdateDomain operation. Specifies the -// type and number of instances in the domain cluster. +// Container for the request parameters to the UpdateDomain operation. type UpdateDomainConfigInput struct { _ struct{} `type:"structure"` - // IAM access policy as a JSON-formatted string. + // Identity and Access Management (IAM) access policy as a JSON-formatted string. AccessPolicies *string `type:"string"` - // Modifies the advanced option to allow references to indices in an HTTP request - // body. Must be false when configuring access to individual sub-resources. - // By default, the value is true. See Advanced options (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options) - // for more information. + // Key-value pairs to specify advanced configuration options. The following + // key-value pairs are supported: + // + // * "rest.action.multi.allow_explicit_index": "true" | "false" - Note the + // use of a string rather than a boolean. Specifies whether explicit references + // to indexes are allowed inside the body of HTTP requests. If you want to + // configure access policies for domain sub-resources, such as specific indexes + // and domain APIs, you must disable this property. Default is true. + // + // * "indices.fielddata.cache.size": "80" - Note the use of a string rather + // than a boolean. Specifies the percentage of heap space allocated to field + // data. Default is unbounded. + // + // * "indices.query.bool.max_clause_count": "1024" - Note the use of a string + // rather than a boolean. Specifies the maximum number of clauses allowed + // in a Lucene boolean query. Default is 1,024. Queries with more than the + // permitted number of clauses result in a TooManyClauses error. + // + // * "override_main_response_version": "true" | "false" - Note the use of + // a string rather than a boolean. Specifies whether the domain reports its + // version as 7.10 to allow Elasticsearch OSS clients and plugins to continue + // working with it. Default is false when creating a domain and true when + // upgrading a domain. + // + // For more information, see Advanced cluster parameters (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options). AdvancedOptions map[string]*string `type:"map"` - // Specifies advanced security options. + // Options for fine-grained access control. AdvancedSecurityOptions *AdvancedSecurityOptionsInput_ `type:"structure"` - // Specifies Auto-Tune options. + // Options for Auto-Tune. AutoTuneOptions *AutoTuneOptions `type:"structure"` - // The type and number of instances to instantiate for the domain cluster. + // Changes that you want to make to the cluster configuration, such as the instance + // type and number of EC2 instances. ClusterConfig *ClusterConfig `type:"structure"` - // Options to specify the Cognito user and identity pools for OpenSearch Dashboards - // authentication. For more information, see Configuring Amazon Cognito authentication - // for OpenSearch Dashboards (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/cognito-auth.html). + // Key-value pairs to configure Amazon Cognito authentication for OpenSearch + // Dashboards. CognitoOptions *CognitoOptions `type:"structure"` - // Options to specify configuration that will be applied to the domain endpoint. + // Additional options for the domain endpoint, such as whether to require HTTPS + // for all traffic. DomainEndpointOptions *DomainEndpointOptions `type:"structure"` - // The name of the domain you're updating. + // The name of the domain that you're updating. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // This flag, when set to True, specifies whether the UpdateDomain request should - // return the results of validation checks (DryRunResults) without actually - // applying the change. + // return the results of validation check without actually applying the change. DryRun *bool `type:"boolean"` - // Specify the type and size of the EBS volume to use. + // The type and size of the EBS volume to attach to instances in the domain. EBSOptions *EBSOptions `type:"structure"` - // Specifies encryption of data at rest options. + // Encryption at rest options for the domain. EncryptionAtRestOptions *EncryptionAtRestOptions `type:"structure"` - // Map of LogType and LogPublishingOption, each containing options to publish - // a given type of OpenSearch log. + // Options to publish OpenSearch lots to Amazon CloudWatch Logs. LogPublishingOptions map[string]*LogPublishingOption `type:"map"` - // Specifies node-to-node encryption options. + // Node-To-Node Encryption options for the domain. NodeToNodeEncryptionOptions *NodeToNodeEncryptionOptions `type:"structure"` // Option to set the time, in UTC format, for the daily automated snapshot. // Default value is 0 hours. SnapshotOptions *SnapshotOptions `type:"structure"` - // Options to specify the subnets and security groups for the VPC endpoint. - // For more information, see Launching your Amazon OpenSearch Service domains - // using a VPC (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html). + // Options to specify the subnets and security groups for a VPC endpoint. For + // more information, see Launching your Amazon OpenSearch Service domains using + // a VPC (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html). VPCOptions *VPCOptions `type:"structure"` } @@ -13885,7 +15649,7 @@ func (s *UpdateDomainConfigInput) SetVPCOptions(v *VPCOptions) *UpdateDomainConf return s } -// The result of an UpdateDomain request. Contains the status of the domain +// The results of an UpdateDomain request. Contains the status of the domain // being updated. type UpdateDomainConfigOutput struct { _ struct{} `type:"structure"` @@ -13895,7 +15659,7 @@ type UpdateDomainConfigOutput struct { // DomainConfig is a required field DomainConfig *DomainConfig `type:"structure" required:"true"` - // Contains result of DryRun. + // Results of a dry run performed in an update domain request. DryRunResults *DryRunResults `type:"structure"` } @@ -13933,7 +15697,7 @@ func (s *UpdateDomainConfigOutput) SetDryRunResults(v *DryRunResults) *UpdateDom type UpdatePackageInput struct { _ struct{} `type:"structure"` - // A commit message for the new version which is shown as part of GetPackageVersionHistoryResponse. + // Commit message for the updated file, which is shown as part of GetPackageVersionHistoryResponse. CommitMessage *string `type:"string"` // A new description of the package. @@ -13944,8 +15708,7 @@ type UpdatePackageInput struct { // PackageID is a required field PackageID *string `type:"string" required:"true"` - // The Amazon S3 location for importing the package specified as S3BucketName - // and S3Key + // Amazon S3 bucket and key for the package. // // PackageSource is a required field PackageSource *PackageSource `type:"structure" required:"true"` @@ -14018,7 +15781,7 @@ func (s *UpdatePackageInput) SetPackageSource(v *PackageSource) *UpdatePackageIn type UpdatePackageOutput struct { _ struct{} `type:"structure"` - // Information about the package. + // Information about a package. PackageDetails *PackageDetails `type:"structure"` } @@ -14046,26 +15809,113 @@ func (s *UpdatePackageOutput) SetPackageDetails(v *PackageDetails) *UpdatePackag return s } -// Container for the request parameters to UpgradeDomain operation. -type UpgradeDomainInput struct { +type UpdateVpcEndpointInput struct { _ struct{} `type:"structure"` - // Exposes select native OpenSearch configuration values from opensearch.yml. - // Currently, the following advanced options are available: + // The unique identifier of the endpoint. // - // * Option to allow references to indices in an HTTP request body. Must - // be false when configuring access to individual sub-resources. By default, - // the value is true. See Advanced cluster parameters for more information. + // VpcEndpointId is a required field + VpcEndpointId *string `min:"5" type:"string" required:"true"` + + // The security groups and/or subnets to add, remove, or modify. // - // * Option to specify the percentage of heap space allocated to field data. - // By default, this setting is unbounded. + // VpcOptions is a required field + VpcOptions *VPCOptions `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateVpcEndpointInput) 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 UpdateVpcEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateVpcEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateVpcEndpointInput"} + if s.VpcEndpointId == nil { + invalidParams.Add(request.NewErrParamRequired("VpcEndpointId")) + } + if s.VpcEndpointId != nil && len(*s.VpcEndpointId) < 5 { + invalidParams.Add(request.NewErrParamMinLen("VpcEndpointId", 5)) + } + if s.VpcOptions == nil { + invalidParams.Add(request.NewErrParamRequired("VpcOptions")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetVpcEndpointId sets the VpcEndpointId field's value. +func (s *UpdateVpcEndpointInput) SetVpcEndpointId(v string) *UpdateVpcEndpointInput { + s.VpcEndpointId = &v + return s +} + +// SetVpcOptions sets the VpcOptions field's value. +func (s *UpdateVpcEndpointInput) SetVpcOptions(v *VPCOptions) *UpdateVpcEndpointInput { + s.VpcOptions = v + return s +} + +type UpdateVpcEndpointOutput struct { + _ struct{} `type:"structure"` + + // The endpoint to be updated. // - // For more information, see Advanced cluster parameters (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options). + // VpcEndpoint is a required field + VpcEndpoint *VpcEndpoint `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateVpcEndpointOutput) 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 UpdateVpcEndpointOutput) GoString() string { + return s.String() +} + +// SetVpcEndpoint sets the VpcEndpoint field's value. +func (s *UpdateVpcEndpointOutput) SetVpcEndpoint(v *VpcEndpoint) *UpdateVpcEndpointOutput { + s.VpcEndpoint = v + return s +} + +// Container for the request parameters to the UpgradeDomain operation. +type UpgradeDomainInput struct { + _ struct{} `type:"structure"` + + // Only supports the override_main_response_version parameter and not other + // advanced options. You can only include this option when upgrading to an OpenSearch + // version. Specifies whether the domain reports its version as 7.10 so that + // it continues to work with Elasticsearch OSS clients and plugins. AdvancedOptions map[string]*string `type:"map"` - // The name of an domain. Domain names are unique across the domains owned by - // an account within an AWS region. Domain names start with a letter or number - // and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). + // Name of the OpenSearch Service domain that you want to upgrade. // // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` @@ -14074,7 +15924,8 @@ type UpgradeDomainInput struct { // Does not actually perform the upgrade. PerformCheckOnly *bool `type:"boolean"` - // The version of OpenSearch you intend to upgrade the domain to. + // OpenSearch or Elasticsearch version to which you want to upgrade, in the + // format Opensearch_X.Y or Elasticsearch_X.Y. // // TargetVersion is a required field TargetVersion *string `min:"14" type:"string" required:"true"` @@ -14144,38 +15995,26 @@ func (s *UpgradeDomainInput) SetTargetVersion(v string) *UpgradeDomainInput { return s } -// Container for response returned by UpgradeDomain operation. +// Container for the response returned by UpgradeDomain operation. type UpgradeDomainOutput struct { _ struct{} `type:"structure"` - // Exposes select native OpenSearch configuration values from opensearch.yml. - // Currently, the following advanced options are available: - // - // * Option to allow references to indices in an HTTP request body. Must - // be false when configuring access to individual sub-resources. By default, - // the value is true. See Advanced cluster parameters for more information. - // - // * Option to specify the percentage of heap space allocated to field data. - // By default, this setting is unbounded. - // - // For more information, see Advanced cluster parameters (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options). + // The advanced options configuration for the domain. AdvancedOptions map[string]*string `type:"map"` - // Specifies change details of the domain configuration change. + // Container for information about a configuration change happening on a domain. ChangeProgressDetails *ChangeProgressDetails `type:"structure"` - // The name of an domain. Domain names are unique across the domains owned by - // an account within an AWS region. Domain names start with a letter or number - // and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). + // The name of the domain that was upgraded. DomainName *string `min:"3" type:"string"` - // When true, indicates that an upgrade eligibility check needs to be performed. - // Does not actually perform the upgrade. + // When true, indicates that an upgrade eligibility check was performed. PerformCheckOnly *bool `type:"boolean"` - // The version of OpenSearch that you intend to upgrade the domain to. + // OpenSearch or Elasticsearch version that the domain was upgraded to. TargetVersion *string `min:"14" type:"string"` + // The unique identifier of the domain upgrade. UpgradeId *string `type:"string"` } @@ -14233,23 +16072,24 @@ func (s *UpgradeDomainOutput) SetUpgradeId(v string) *UpgradeDomainOutput { return s } -// History of the last 10 upgrades and upgrade eligibility checks. +// History of the last 10 upgrades and upgrade eligibility checks for an Amazon +// OpenSearch Service domain. type UpgradeHistory struct { _ struct{} `type:"structure"` - // UTC timestamp at which the upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" - // format. + // UTC timestamp at which the upgrade API call was made, in the format yyyy-MM-ddTHH:mm:ssZ. StartTimestamp *time.Time `type:"timestamp"` - // A list of UpgradeStepItem s representing information about each step performed - // as part of a specific upgrade or upgrade eligibility check. + // A list of each step performed as part of a specific upgrade or upgrade eligibility + // check. StepsList []*UpgradeStepItem `type:"list"` - // A string that briefly describes the upgrade. + // A string that describes the upgrade. UpgradeName *string `type:"string"` // The current status of the upgrade. The status can take one of the following // values: + // // * In Progress // // * Succeeded @@ -14302,7 +16142,7 @@ func (s *UpgradeHistory) SetUpgradeStatus(v string) *UpgradeHistory { return s } -// Represents a single step of the upgrade or upgrade eligibility check workflow. +// Represents a single step of an upgrade or upgrade eligibility check workflow. type UpgradeStepItem struct { _ struct{} `type:"structure"` @@ -14314,7 +16154,8 @@ type UpgradeStepItem struct { // step. ProgressPercent *float64 `type:"double"` - // One of three steps an upgrade or upgrade eligibility check goes through: + // One of three steps that an upgrade or upgrade eligibility check goes through: + // // * PreUpgradeCheck // // * Snapshot @@ -14324,6 +16165,7 @@ type UpgradeStepItem struct { // The current status of the upgrade. The status can take one of the following // values: + // // * In Progress // // * Succeeded @@ -14376,23 +16218,25 @@ func (s *UpgradeStepItem) SetUpgradeStepStatus(v string) *UpgradeStepItem { return s } -// Options to specify the subnets and security groups for the VPC endpoint. -// For more information, see Launching your Amazon OpenSearch Service domains -// using a VPC (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html). +// Information about the subnets and security groups for an Amazon OpenSearch +// Service domain provisioned within a virtual private cloud (VPC). For more +// information, see Launching your Amazon OpenSearch Service domains using a +// VPC (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html). +// This information only exists if the domain was created with VPCOptions. type VPCDerivedInfo struct { _ struct{} `type:"structure"` - // The Availability Zones for the domain. Exists only if the domain was created - // with VPCOptions. + // The list of Availability Zones associated with the VPC subnets. AvailabilityZones []*string `type:"list"` - // The security groups for the VPC endpoint. + // The list of security group IDs associated with the VPC endpoints for the + // domain. SecurityGroupIds []*string `type:"list"` - // The subnets for the VPC endpoint. + // A list of subnet IDs associated with the VPC endpoints for the domain. SubnetIds []*string `type:"list"` - // The VPC ID for the domain. Exists only if the domain was created with VPCOptions. + // The ID for your VPC. Amazon VPC generates this value when you create a VPC. VPCId *string `type:"string"` } @@ -14438,7 +16282,7 @@ func (s *VPCDerivedInfo) SetVPCId(v string) *VPCDerivedInfo { return s } -// Status of the VPC options for the specified domain. +// Status of the VPC options for a specified domain. type VPCDerivedInfoStatus struct { _ struct{} `type:"structure"` @@ -14483,16 +16327,20 @@ func (s *VPCDerivedInfoStatus) SetStatus(v *OptionStatus) *VPCDerivedInfoStatus return s } -// Options to specify the subnets and security groups for the VPC endpoint. -// For more information, see Launching your Amazon OpenSearch Service domains -// using a VPC (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html). +// Options to specify the subnets and security groups for an Amazon OpenSearch +// Service VPC endpoint. For more information, see Launching your Amazon OpenSearch +// Service domains using a VPC (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html). type VPCOptions struct { _ struct{} `type:"structure"` - // The security groups for the VPC endpoint. + // The list of security group IDs associated with the VPC endpoints for the + // domain. If you do not provide a security group ID, OpenSearch Service uses + // the default security group for the VPC. SecurityGroupIds []*string `type:"list"` - // The subnets for the VPC endpoint. + // A list of subnet IDs associated with the VPC endpoints for the domain. If + // your domain uses multiple Availability Zones, you need to provide two subnet + // IDs, one per zone. Otherwise, provide only one. SubnetIds []*string `type:"list"` } @@ -14591,18 +16439,17 @@ func (s *ValidationException) RequestID() string { return s.RespMetadata.RequestID } -// The status of the OpenSearch version options for the specified OpenSearch -// domain. +// The status of the the OpenSearch or Elasticsearch version options for the +// specified Amazon OpenSearch Service domain. type VersionStatus struct { _ struct{} `type:"structure"` - // The OpenSearch version for the specified OpenSearch domain. + // The OpenSearch or Elasticsearch version for the specified domain. // // Options is a required field Options *string `min:"14" type:"string" required:"true"` - // The status of the OpenSearch version options for the specified OpenSearch - // domain. + // The status of the version options for the specified domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` @@ -14638,14 +16485,202 @@ func (s *VersionStatus) SetStatus(v *OptionStatus) *VersionStatus { return s } -// The zone awareness configuration for the domain cluster, such as the number -// of availability zones. +// The connection endpoint for connecting to an Amazon OpenSearch Service domain +// through a proxy. +type VpcEndpoint struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the domain associated with the endpoint. + DomainArn *string `min:"1" type:"string"` + + // The connection endpoint ID for connecting to the domain. + Endpoint *string `type:"string"` + + // The current status of the endpoint. + Status *string `type:"string" enum:"VpcEndpointStatus"` + + // The unique identifier of the endpoint. + VpcEndpointId *string `min:"5" type:"string"` + + // The creator of the endpoint. + VpcEndpointOwner *string `type:"string"` + + // Options to specify the subnets and security groups for an Amazon OpenSearch + // Service VPC endpoint. + VpcOptions *VPCDerivedInfo `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 VpcEndpoint) 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 VpcEndpoint) GoString() string { + return s.String() +} + +// SetDomainArn sets the DomainArn field's value. +func (s *VpcEndpoint) SetDomainArn(v string) *VpcEndpoint { + s.DomainArn = &v + return s +} + +// SetEndpoint sets the Endpoint field's value. +func (s *VpcEndpoint) SetEndpoint(v string) *VpcEndpoint { + s.Endpoint = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *VpcEndpoint) SetStatus(v string) *VpcEndpoint { + s.Status = &v + return s +} + +// SetVpcEndpointId sets the VpcEndpointId field's value. +func (s *VpcEndpoint) SetVpcEndpointId(v string) *VpcEndpoint { + s.VpcEndpointId = &v + return s +} + +// SetVpcEndpointOwner sets the VpcEndpointOwner field's value. +func (s *VpcEndpoint) SetVpcEndpointOwner(v string) *VpcEndpoint { + s.VpcEndpointOwner = &v + return s +} + +// SetVpcOptions sets the VpcOptions field's value. +func (s *VpcEndpoint) SetVpcOptions(v *VPCDerivedInfo) *VpcEndpoint { + s.VpcOptions = v + return s +} + +// Error information when attempting to describe an Amazon OpenSearch Service-managed +// VPC endpoint. +type VpcEndpointError struct { + _ struct{} `type:"structure"` + + // The code associated with the error. + ErrorCode *string `type:"string" enum:"VpcEndpointErrorCode"` + + // A message describing the error. + ErrorMessage *string `type:"string"` + + // The unique identifier of the endpoint. + VpcEndpointId *string `min:"5" 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 VpcEndpointError) 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 VpcEndpointError) GoString() string { + return s.String() +} + +// SetErrorCode sets the ErrorCode field's value. +func (s *VpcEndpointError) SetErrorCode(v string) *VpcEndpointError { + s.ErrorCode = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *VpcEndpointError) SetErrorMessage(v string) *VpcEndpointError { + s.ErrorMessage = &v + return s +} + +// SetVpcEndpointId sets the VpcEndpointId field's value. +func (s *VpcEndpointError) SetVpcEndpointId(v string) *VpcEndpointError { + s.VpcEndpointId = &v + return s +} + +// Summary information for an Amazon OpenSearch Service-managed VPC endpoint. +type VpcEndpointSummary struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the domain associated with the endpoint. + DomainArn *string `min:"1" type:"string"` + + // The current status of the endpoint. + Status *string `type:"string" enum:"VpcEndpointStatus"` + + // The unique identifier of the endpoint. + VpcEndpointId *string `min:"5" type:"string"` + + // The creator of the endpoint. + VpcEndpointOwner *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 VpcEndpointSummary) 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 VpcEndpointSummary) GoString() string { + return s.String() +} + +// SetDomainArn sets the DomainArn field's value. +func (s *VpcEndpointSummary) SetDomainArn(v string) *VpcEndpointSummary { + s.DomainArn = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *VpcEndpointSummary) SetStatus(v string) *VpcEndpointSummary { + s.Status = &v + return s +} + +// SetVpcEndpointId sets the VpcEndpointId field's value. +func (s *VpcEndpointSummary) SetVpcEndpointId(v string) *VpcEndpointSummary { + s.VpcEndpointId = &v + return s +} + +// SetVpcEndpointOwner sets the VpcEndpointOwner field's value. +func (s *VpcEndpointSummary) SetVpcEndpointOwner(v string) *VpcEndpointSummary { + s.VpcEndpointOwner = &v + return s +} + +// The zone awareness configuration for an Amazon OpenSearch Service domain. type ZoneAwarenessConfig struct { _ struct{} `type:"structure"` - // An integer value to indicate the number of availability zones for a domain - // when zone awareness is enabled. This should be equal to number of subnets - // if VPC endpoints is enabled. + // If you enabled multiple Availability Zones, this value is the number of zones + // that you want the domain to use. Valid values are 2 and 3. If your domain + // is provisioned within a VPC, this value be equal to number of subnets. AvailabilityZoneCount *int64 `type:"integer"` } @@ -14881,20 +16916,20 @@ func InboundConnectionStatusCode_Values() []string { } } -// Type of log file. Can be one of the following: +// The type of log file. Can be one of the following: // -// - INDEX_SLOW_LOGS: Index slow logs contain insert requests that took more -// time than configured index query log threshold to execute. +// - INDEX_SLOW_LOGS - Index slow logs contain insert requests that took +// more time than the configured index query log threshold to execute. // -// - SEARCH_SLOW_LOGS: Search slow logs contain search queries that took -// more time than configured search query log threshold to execute. +// - SEARCH_SLOW_LOGS - Search slow logs contain search queries that took +// more time than the configured search query log threshold to execute. // -// - ES_APPLICATION_LOGS: OpenSearch application logs contain information +// - ES_APPLICATION_LOGS - OpenSearch application logs contain information // about errors and warnings raised during the operation of the service and // can be useful for troubleshooting. // -// - AUDIT_LOGS: Audit logs contain records of user requests for access from -// the domain. +// - AUDIT_LOGS - Audit logs contain records of user requests for access +// to the domain. const ( // LogTypeIndexSlowLogs is a LogType enum value LogTypeIndexSlowLogs = "INDEX_SLOW_LOGS" @@ -15327,11 +17362,11 @@ func OpenSearchWarmPartitionInstanceType_Values() []string { } } -// The state of a requested change. One of the following: +// The state of a requested domain configuration change. Can be one of the following: // -// - Processing: The request change is still in progress. +// - Processing - The requested change is still in progress. // -// - Active: The request change is processed and deployed to the domain. +// - Active - The requested change is processed and deployed to the domain. const ( // OptionStateRequiresIndexDocuments is a OptionState enum value OptionStateRequiresIndexDocuments = "RequiresIndexDocuments" @@ -15477,6 +17512,22 @@ func PackageType_Values() []string { } } +const ( + // PrincipalTypeAwsAccount is a PrincipalType enum value + PrincipalTypeAwsAccount = "AWS_ACCOUNT" + + // PrincipalTypeAwsService is a PrincipalType enum value + PrincipalTypeAwsService = "AWS_SERVICE" +) + +// PrincipalType_Values returns all elements of the PrincipalType enum +func PrincipalType_Values() []string { + return []string{ + PrincipalTypeAwsAccount, + PrincipalTypeAwsService, + } +} + const ( // ReservedInstancePaymentOptionAllUpfront is a ReservedInstancePaymentOption enum value ReservedInstancePaymentOptionAllUpfront = "ALL_UPFRONT" @@ -15497,8 +17548,7 @@ func ReservedInstancePaymentOption_Values() []string { } } -// The rollback state while disabling Auto-Tune for the domain. Valid values -// are NO_ROLLBACK and DEFAULT_ROLLBACK. +// The rollback state while disabling Auto-Tune for the domain. const ( // RollbackOnDisableNoRollback is a RollbackOnDisable enum value RollbackOnDisableNoRollback = "NO_ROLLBACK" @@ -15515,7 +17565,7 @@ func RollbackOnDisable_Values() []string { } } -// The Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING, and JVM_YOUNG_GEN_TUNING. +// The Auto-Tune action type. const ( // ScheduledAutoTuneActionTypeJvmHeapSizeTuning is a ScheduledAutoTuneActionType enum value ScheduledAutoTuneActionTypeJvmHeapSizeTuning = "JVM_HEAP_SIZE_TUNING" @@ -15532,7 +17582,7 @@ func ScheduledAutoTuneActionType_Values() []string { } } -// The Auto-Tune action severity. Valid values are LOW, MEDIUM, and HIGH. +// The Auto-Tune action severity. const ( // ScheduledAutoTuneSeverityTypeLow is a ScheduledAutoTuneSeverityType enum value ScheduledAutoTuneSeverityTypeLow = "LOW" @@ -15569,9 +17619,7 @@ func TLSSecurityPolicy_Values() []string { } } -// The unit of a maintenance schedule duration. Valid value is HOUR. See Auto-Tune -// for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html) -// for more information. +// The unit of a maintenance schedule duration. Valid value is HOUR. const ( // TimeUnitHours is a TimeUnit enum value TimeUnitHours = "HOURS" @@ -15628,9 +17676,8 @@ func UpgradeStep_Values() []string { } } -// The type of EBS volume, standard, gp2, gp3 or io1. See Configuring EBS-based -// Storage (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/opensearch-createupdatedomains.html#opensearch-createdomain-configure-ebs) -// for more information. +// The type of EBS volume that a domain uses. For more information, see Configuring +// EBS-based storage (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/opensearch-createupdatedomains.html#opensearch-createdomain-configure-ebs). const ( // VolumeTypeStandard is a VolumeType enum value VolumeTypeStandard = "standard" @@ -15654,3 +17701,55 @@ func VolumeType_Values() []string { VolumeTypeGp3, } } + +const ( + // VpcEndpointErrorCodeEndpointNotFound is a VpcEndpointErrorCode enum value + VpcEndpointErrorCodeEndpointNotFound = "ENDPOINT_NOT_FOUND" + + // VpcEndpointErrorCodeServerError is a VpcEndpointErrorCode enum value + VpcEndpointErrorCodeServerError = "SERVER_ERROR" +) + +// VpcEndpointErrorCode_Values returns all elements of the VpcEndpointErrorCode enum +func VpcEndpointErrorCode_Values() []string { + return []string{ + VpcEndpointErrorCodeEndpointNotFound, + VpcEndpointErrorCodeServerError, + } +} + +const ( + // VpcEndpointStatusCreating is a VpcEndpointStatus enum value + VpcEndpointStatusCreating = "CREATING" + + // VpcEndpointStatusCreateFailed is a VpcEndpointStatus enum value + VpcEndpointStatusCreateFailed = "CREATE_FAILED" + + // VpcEndpointStatusActive is a VpcEndpointStatus enum value + VpcEndpointStatusActive = "ACTIVE" + + // VpcEndpointStatusUpdating is a VpcEndpointStatus enum value + VpcEndpointStatusUpdating = "UPDATING" + + // VpcEndpointStatusUpdateFailed is a VpcEndpointStatus enum value + VpcEndpointStatusUpdateFailed = "UPDATE_FAILED" + + // VpcEndpointStatusDeleting is a VpcEndpointStatus enum value + VpcEndpointStatusDeleting = "DELETING" + + // VpcEndpointStatusDeleteFailed is a VpcEndpointStatus enum value + VpcEndpointStatusDeleteFailed = "DELETE_FAILED" +) + +// VpcEndpointStatus_Values returns all elements of the VpcEndpointStatus enum +func VpcEndpointStatus_Values() []string { + return []string{ + VpcEndpointStatusCreating, + VpcEndpointStatusCreateFailed, + VpcEndpointStatusActive, + VpcEndpointStatusUpdating, + VpcEndpointStatusUpdateFailed, + VpcEndpointStatusDeleting, + VpcEndpointStatusDeleteFailed, + } +} diff --git a/service/opensearchservice/doc.go b/service/opensearchservice/doc.go index c9e7942419..e18275bf6a 100644 --- a/service/opensearchservice/doc.go +++ b/service/opensearchservice/doc.go @@ -3,17 +3,16 @@ // Package opensearchservice provides the client and types for making API // requests to Amazon OpenSearch Service. // -// Use the Amazon OpenSearch configuration API to create, configure, and manage -// Amazon OpenSearch Service domains. +// Use the Amazon OpenSearch Service configuration API to create, configure, +// and manage OpenSearch Service domains. // // For sample code that uses the configuration API, see the Amazon OpenSearch // Service Developer Guide (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/opensearch-configuration-samples.html). -// The guide also contains sample code for sending signed HTTP requests to the -// OpenSearch APIs (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/request-signing.html). -// -// The endpoint for configuration service requests is region-specific: es.region.amazonaws.com. +// The guide also contains sample code (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/request-signing.html) +// for sending signed HTTP requests to the OpenSearch APIs. The endpoint for +// configuration service requests is Region specific: es.region.amazonaws.com. // For example, es.us-east-1.amazonaws.com. For a current list of supported -// regions and endpoints, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#service-regions). +// Regions and endpoints, see Amazon Web Services service endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#service-regions). // // See https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01 for more information on this service. // diff --git a/service/opensearchservice/opensearchserviceiface/interface.go b/service/opensearchservice/opensearchserviceiface/interface.go index ffdb40ced8..9e0af199c7 100644 --- a/service/opensearchservice/opensearchserviceiface/interface.go +++ b/service/opensearchservice/opensearchserviceiface/interface.go @@ -72,6 +72,10 @@ type OpenSearchServiceAPI interface { AssociatePackageWithContext(aws.Context, *opensearchservice.AssociatePackageInput, ...request.Option) (*opensearchservice.AssociatePackageOutput, error) AssociatePackageRequest(*opensearchservice.AssociatePackageInput) (*request.Request, *opensearchservice.AssociatePackageOutput) + AuthorizeVpcEndpointAccess(*opensearchservice.AuthorizeVpcEndpointAccessInput) (*opensearchservice.AuthorizeVpcEndpointAccessOutput, error) + AuthorizeVpcEndpointAccessWithContext(aws.Context, *opensearchservice.AuthorizeVpcEndpointAccessInput, ...request.Option) (*opensearchservice.AuthorizeVpcEndpointAccessOutput, error) + AuthorizeVpcEndpointAccessRequest(*opensearchservice.AuthorizeVpcEndpointAccessInput) (*request.Request, *opensearchservice.AuthorizeVpcEndpointAccessOutput) + CancelServiceSoftwareUpdate(*opensearchservice.CancelServiceSoftwareUpdateInput) (*opensearchservice.CancelServiceSoftwareUpdateOutput, error) CancelServiceSoftwareUpdateWithContext(aws.Context, *opensearchservice.CancelServiceSoftwareUpdateInput, ...request.Option) (*opensearchservice.CancelServiceSoftwareUpdateOutput, error) CancelServiceSoftwareUpdateRequest(*opensearchservice.CancelServiceSoftwareUpdateInput) (*request.Request, *opensearchservice.CancelServiceSoftwareUpdateOutput) @@ -88,6 +92,10 @@ type OpenSearchServiceAPI interface { CreatePackageWithContext(aws.Context, *opensearchservice.CreatePackageInput, ...request.Option) (*opensearchservice.CreatePackageOutput, error) CreatePackageRequest(*opensearchservice.CreatePackageInput) (*request.Request, *opensearchservice.CreatePackageOutput) + CreateVpcEndpoint(*opensearchservice.CreateVpcEndpointInput) (*opensearchservice.CreateVpcEndpointOutput, error) + CreateVpcEndpointWithContext(aws.Context, *opensearchservice.CreateVpcEndpointInput, ...request.Option) (*opensearchservice.CreateVpcEndpointOutput, error) + CreateVpcEndpointRequest(*opensearchservice.CreateVpcEndpointInput) (*request.Request, *opensearchservice.CreateVpcEndpointOutput) + DeleteDomain(*opensearchservice.DeleteDomainInput) (*opensearchservice.DeleteDomainOutput, error) DeleteDomainWithContext(aws.Context, *opensearchservice.DeleteDomainInput, ...request.Option) (*opensearchservice.DeleteDomainOutput, error) DeleteDomainRequest(*opensearchservice.DeleteDomainInput) (*request.Request, *opensearchservice.DeleteDomainOutput) @@ -104,6 +112,10 @@ type OpenSearchServiceAPI interface { DeletePackageWithContext(aws.Context, *opensearchservice.DeletePackageInput, ...request.Option) (*opensearchservice.DeletePackageOutput, error) DeletePackageRequest(*opensearchservice.DeletePackageInput) (*request.Request, *opensearchservice.DeletePackageOutput) + DeleteVpcEndpoint(*opensearchservice.DeleteVpcEndpointInput) (*opensearchservice.DeleteVpcEndpointOutput, error) + DeleteVpcEndpointWithContext(aws.Context, *opensearchservice.DeleteVpcEndpointInput, ...request.Option) (*opensearchservice.DeleteVpcEndpointOutput, error) + DeleteVpcEndpointRequest(*opensearchservice.DeleteVpcEndpointInput) (*request.Request, *opensearchservice.DeleteVpcEndpointOutput) + DescribeDomain(*opensearchservice.DescribeDomainInput) (*opensearchservice.DescribeDomainOutput, error) DescribeDomainWithContext(aws.Context, *opensearchservice.DescribeDomainInput, ...request.Option) (*opensearchservice.DescribeDomainOutput, error) DescribeDomainRequest(*opensearchservice.DescribeDomainInput) (*request.Request, *opensearchservice.DescribeDomainOutput) @@ -166,6 +178,10 @@ type OpenSearchServiceAPI interface { DescribeReservedInstancesPages(*opensearchservice.DescribeReservedInstancesInput, func(*opensearchservice.DescribeReservedInstancesOutput, bool) bool) error DescribeReservedInstancesPagesWithContext(aws.Context, *opensearchservice.DescribeReservedInstancesInput, func(*opensearchservice.DescribeReservedInstancesOutput, bool) bool, ...request.Option) error + DescribeVpcEndpoints(*opensearchservice.DescribeVpcEndpointsInput) (*opensearchservice.DescribeVpcEndpointsOutput, error) + DescribeVpcEndpointsWithContext(aws.Context, *opensearchservice.DescribeVpcEndpointsInput, ...request.Option) (*opensearchservice.DescribeVpcEndpointsOutput, error) + DescribeVpcEndpointsRequest(*opensearchservice.DescribeVpcEndpointsInput) (*request.Request, *opensearchservice.DescribeVpcEndpointsOutput) + DissociatePackage(*opensearchservice.DissociatePackageInput) (*opensearchservice.DissociatePackageOutput, error) DissociatePackageWithContext(aws.Context, *opensearchservice.DissociatePackageInput, ...request.Option) (*opensearchservice.DissociatePackageOutput, error) DissociatePackageRequest(*opensearchservice.DissociatePackageInput) (*request.Request, *opensearchservice.DissociatePackageOutput) @@ -228,6 +244,18 @@ type OpenSearchServiceAPI interface { ListVersionsPages(*opensearchservice.ListVersionsInput, func(*opensearchservice.ListVersionsOutput, bool) bool) error ListVersionsPagesWithContext(aws.Context, *opensearchservice.ListVersionsInput, func(*opensearchservice.ListVersionsOutput, bool) bool, ...request.Option) error + ListVpcEndpointAccess(*opensearchservice.ListVpcEndpointAccessInput) (*opensearchservice.ListVpcEndpointAccessOutput, error) + ListVpcEndpointAccessWithContext(aws.Context, *opensearchservice.ListVpcEndpointAccessInput, ...request.Option) (*opensearchservice.ListVpcEndpointAccessOutput, error) + ListVpcEndpointAccessRequest(*opensearchservice.ListVpcEndpointAccessInput) (*request.Request, *opensearchservice.ListVpcEndpointAccessOutput) + + ListVpcEndpoints(*opensearchservice.ListVpcEndpointsInput) (*opensearchservice.ListVpcEndpointsOutput, error) + ListVpcEndpointsWithContext(aws.Context, *opensearchservice.ListVpcEndpointsInput, ...request.Option) (*opensearchservice.ListVpcEndpointsOutput, error) + ListVpcEndpointsRequest(*opensearchservice.ListVpcEndpointsInput) (*request.Request, *opensearchservice.ListVpcEndpointsOutput) + + ListVpcEndpointsForDomain(*opensearchservice.ListVpcEndpointsForDomainInput) (*opensearchservice.ListVpcEndpointsForDomainOutput, error) + ListVpcEndpointsForDomainWithContext(aws.Context, *opensearchservice.ListVpcEndpointsForDomainInput, ...request.Option) (*opensearchservice.ListVpcEndpointsForDomainOutput, error) + ListVpcEndpointsForDomainRequest(*opensearchservice.ListVpcEndpointsForDomainInput) (*request.Request, *opensearchservice.ListVpcEndpointsForDomainOutput) + PurchaseReservedInstanceOffering(*opensearchservice.PurchaseReservedInstanceOfferingInput) (*opensearchservice.PurchaseReservedInstanceOfferingOutput, error) PurchaseReservedInstanceOfferingWithContext(aws.Context, *opensearchservice.PurchaseReservedInstanceOfferingInput, ...request.Option) (*opensearchservice.PurchaseReservedInstanceOfferingOutput, error) PurchaseReservedInstanceOfferingRequest(*opensearchservice.PurchaseReservedInstanceOfferingInput) (*request.Request, *opensearchservice.PurchaseReservedInstanceOfferingOutput) @@ -240,6 +268,10 @@ type OpenSearchServiceAPI interface { RemoveTagsWithContext(aws.Context, *opensearchservice.RemoveTagsInput, ...request.Option) (*opensearchservice.RemoveTagsOutput, error) RemoveTagsRequest(*opensearchservice.RemoveTagsInput) (*request.Request, *opensearchservice.RemoveTagsOutput) + RevokeVpcEndpointAccess(*opensearchservice.RevokeVpcEndpointAccessInput) (*opensearchservice.RevokeVpcEndpointAccessOutput, error) + RevokeVpcEndpointAccessWithContext(aws.Context, *opensearchservice.RevokeVpcEndpointAccessInput, ...request.Option) (*opensearchservice.RevokeVpcEndpointAccessOutput, error) + RevokeVpcEndpointAccessRequest(*opensearchservice.RevokeVpcEndpointAccessInput) (*request.Request, *opensearchservice.RevokeVpcEndpointAccessOutput) + StartServiceSoftwareUpdate(*opensearchservice.StartServiceSoftwareUpdateInput) (*opensearchservice.StartServiceSoftwareUpdateOutput, error) StartServiceSoftwareUpdateWithContext(aws.Context, *opensearchservice.StartServiceSoftwareUpdateInput, ...request.Option) (*opensearchservice.StartServiceSoftwareUpdateOutput, error) StartServiceSoftwareUpdateRequest(*opensearchservice.StartServiceSoftwareUpdateInput) (*request.Request, *opensearchservice.StartServiceSoftwareUpdateOutput) @@ -252,6 +284,10 @@ type OpenSearchServiceAPI interface { UpdatePackageWithContext(aws.Context, *opensearchservice.UpdatePackageInput, ...request.Option) (*opensearchservice.UpdatePackageOutput, error) UpdatePackageRequest(*opensearchservice.UpdatePackageInput) (*request.Request, *opensearchservice.UpdatePackageOutput) + UpdateVpcEndpoint(*opensearchservice.UpdateVpcEndpointInput) (*opensearchservice.UpdateVpcEndpointOutput, error) + UpdateVpcEndpointWithContext(aws.Context, *opensearchservice.UpdateVpcEndpointInput, ...request.Option) (*opensearchservice.UpdateVpcEndpointOutput, error) + UpdateVpcEndpointRequest(*opensearchservice.UpdateVpcEndpointInput) (*request.Request, *opensearchservice.UpdateVpcEndpointOutput) + UpgradeDomain(*opensearchservice.UpgradeDomainInput) (*opensearchservice.UpgradeDomainOutput, error) UpgradeDomainWithContext(aws.Context, *opensearchservice.UpgradeDomainInput, ...request.Option) (*opensearchservice.UpgradeDomainOutput, error) UpgradeDomainRequest(*opensearchservice.UpgradeDomainInput) (*request.Request, *opensearchservice.UpgradeDomainOutput) diff --git a/service/polly/api.go b/service/polly/api.go index 55a30cc15a..6ad834326f 100644 --- a/service/polly/api.go +++ b/service/polly/api.go @@ -4335,6 +4335,18 @@ const ( // VoiceIdHiujin is a VoiceId enum value VoiceIdHiujin = "Hiujin" + + // VoiceIdLaura is a VoiceId enum value + VoiceIdLaura = "Laura" + + // VoiceIdElin is a VoiceId enum value + VoiceIdElin = "Elin" + + // VoiceIdIda is a VoiceId enum value + VoiceIdIda = "Ida" + + // VoiceIdSuvi is a VoiceId enum value + VoiceIdSuvi = "Suvi" ) // VoiceId_Values returns all elements of the VoiceId enum @@ -4413,5 +4425,9 @@ func VoiceId_Values() []string { VoiceIdPedro, VoiceIdKajal, VoiceIdHiujin, + VoiceIdLaura, + VoiceIdElin, + VoiceIdIda, + VoiceIdSuvi, } } diff --git a/service/resourceexplorer2/api.go b/service/resourceexplorer2/api.go new file mode 100644 index 0000000000..f9b1020fb8 --- /dev/null +++ b/service/resourceexplorer2/api.go @@ -0,0 +1,5372 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package resourceexplorer2 + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +const opAssociateDefaultView = "AssociateDefaultView" + +// AssociateDefaultViewRequest generates a "aws/request.Request" representing the +// client's request for the AssociateDefaultView 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 AssociateDefaultView for more information on using the AssociateDefaultView +// 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 AssociateDefaultViewRequest method. +// req, resp := client.AssociateDefaultViewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/AssociateDefaultView +func (c *ResourceExplorer2) AssociateDefaultViewRequest(input *AssociateDefaultViewInput) (req *request.Request, output *AssociateDefaultViewOutput) { + op := &request.Operation{ + Name: opAssociateDefaultView, + HTTPMethod: "POST", + HTTPPath: "/AssociateDefaultView", + } + + if input == nil { + input = &AssociateDefaultViewInput{} + } + + output = &AssociateDefaultViewOutput{} + req = c.newRequest(op, input, output) + return +} + +// AssociateDefaultView API operation for AWS Resource Explorer. +// +// Sets the specified view as the default for the Amazon Web Services Region +// in which you call this operation. When a user performs a Search that doesn't +// explicitly specify which view to use, then Amazon Web Services Resource Explorer +// automatically chooses this default view for searches performed in this Amazon +// Web Services Region. +// +// If an Amazon Web Services Region doesn't have a default view configured, +// then users must explicitly specify a view with every Search operation performed +// in that Region. +// +// 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 Resource Explorer's +// API operation AssociateDefaultView for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// You specified a resource that doesn't exist. Check the ID or ARN that you +// used to identity the resource, and try again. +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/AssociateDefaultView +func (c *ResourceExplorer2) AssociateDefaultView(input *AssociateDefaultViewInput) (*AssociateDefaultViewOutput, error) { + req, out := c.AssociateDefaultViewRequest(input) + return out, req.Send() +} + +// AssociateDefaultViewWithContext is the same as AssociateDefaultView with the addition of +// the ability to pass a context and additional request options. +// +// See AssociateDefaultView 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 *ResourceExplorer2) AssociateDefaultViewWithContext(ctx aws.Context, input *AssociateDefaultViewInput, opts ...request.Option) (*AssociateDefaultViewOutput, error) { + req, out := c.AssociateDefaultViewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opBatchGetView = "BatchGetView" + +// BatchGetViewRequest generates a "aws/request.Request" representing the +// client's request for the BatchGetView 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 BatchGetView for more information on using the BatchGetView +// 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 BatchGetViewRequest method. +// req, resp := client.BatchGetViewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/BatchGetView +func (c *ResourceExplorer2) BatchGetViewRequest(input *BatchGetViewInput) (req *request.Request, output *BatchGetViewOutput) { + op := &request.Operation{ + Name: opBatchGetView, + HTTPMethod: "POST", + HTTPPath: "/BatchGetView", + } + + if input == nil { + input = &BatchGetViewInput{} + } + + output = &BatchGetViewOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchGetView API operation for AWS Resource Explorer. +// +// Retrieves details about a list of views. +// +// 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 Resource Explorer's +// API operation BatchGetView for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - UnauthorizedException +// The principal making the request isn't permitted to perform the operation. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/BatchGetView +func (c *ResourceExplorer2) BatchGetView(input *BatchGetViewInput) (*BatchGetViewOutput, error) { + req, out := c.BatchGetViewRequest(input) + return out, req.Send() +} + +// BatchGetViewWithContext is the same as BatchGetView with the addition of +// the ability to pass a context and additional request options. +// +// See BatchGetView 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 *ResourceExplorer2) BatchGetViewWithContext(ctx aws.Context, input *BatchGetViewInput, opts ...request.Option) (*BatchGetViewOutput, error) { + req, out := c.BatchGetViewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateIndex = "CreateIndex" + +// CreateIndexRequest generates a "aws/request.Request" representing the +// client's request for the CreateIndex 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 CreateIndex for more information on using the CreateIndex +// 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 CreateIndexRequest method. +// req, resp := client.CreateIndexRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/CreateIndex +func (c *ResourceExplorer2) CreateIndexRequest(input *CreateIndexInput) (req *request.Request, output *CreateIndexOutput) { + op := &request.Operation{ + Name: opCreateIndex, + HTTPMethod: "POST", + HTTPPath: "/CreateIndex", + } + + if input == nil { + input = &CreateIndexInput{} + } + + output = &CreateIndexOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateIndex API operation for AWS Resource Explorer. +// +// Turns on Amazon Web Services Resource Explorer in the Amazon Web Services +// Region in which you called this operation by creating an index. Resource +// Explorer begins discovering the resources in this Region and stores the details +// about the resources in the index so that they can be queried by using the +// Search operation. You can create only one index in a Region. +// +// This operation creates only a local index. To promote the local index in +// one Amazon Web Services Region into the aggregator index for the Amazon Web +// Services account, use the UpdateIndexType operation. For more information, +// see Turning on cross-Region search by creating an aggregator index (https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html) +// in the Amazon Web Services Resource Explorer User Guide. +// +// For more details about what happens when you turn on Resource Explorer in +// an Amazon Web Services Region, see Turn on Resource Explorer to index your +// resources in an Amazon Web Services Region (https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-service-activate.html) +// in the Amazon Web Services Resource Explorer User Guide. +// +// If this is the first Amazon Web Services Region in which you've created an +// index for Resource Explorer, then this operation also creates a service-linked +// role (https://docs.aws.amazon.com/arexug/mainline/security_iam_service-linked-roles.html) +// in your Amazon Web Services account that allows Resource Explorer to enumerate +// your resources to populate the index. +// +//
  • Action: resource-explorer-2:CreateIndex +//

    Resource: The ARN of the index (as it will exist after +// the operation completes) in the Amazon Web Services Region and account +// in which you're trying to create the index. Use the wildcard character +// (*) at the end of the string to match the eventual UUID. +// For example, the following Resource element restricts the +// role or user to creating an index in only the us-east-2 Region +// of the specified account.

    "Resource": "arn:aws:resource-explorer-2:us-east-2::index/*" +//

    Alternatively, you can use "Resource": "*" to allow +// the role or user to create an index in any Region.

  • +// Action: iam:CreateServiceLinkedRole

    Resource: +// No specific resource (*).

    This permission is required only the +// first time you create an index to turn on Resource Explorer in the account. +// Resource Explorer uses this to create the service-linked +// role needed to index the resources in your account. Resource Explorer +// uses the same service-linked role for all additional indexes you create +// afterwards.

+// +// 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 Resource Explorer's +// API operation CreateIndex for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ConflictException +// You tried to create a new view or index when one already exists, and you +// either didn't specify or specified a different idempotency token as the original +// request. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/CreateIndex +func (c *ResourceExplorer2) CreateIndex(input *CreateIndexInput) (*CreateIndexOutput, error) { + req, out := c.CreateIndexRequest(input) + return out, req.Send() +} + +// CreateIndexWithContext is the same as CreateIndex with the addition of +// the ability to pass a context and additional request options. +// +// See CreateIndex 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 *ResourceExplorer2) CreateIndexWithContext(ctx aws.Context, input *CreateIndexInput, opts ...request.Option) (*CreateIndexOutput, error) { + req, out := c.CreateIndexRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateView = "CreateView" + +// CreateViewRequest generates a "aws/request.Request" representing the +// client's request for the CreateView 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 CreateView for more information on using the CreateView +// 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 CreateViewRequest method. +// req, resp := client.CreateViewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/CreateView +func (c *ResourceExplorer2) CreateViewRequest(input *CreateViewInput) (req *request.Request, output *CreateViewOutput) { + op := &request.Operation{ + Name: opCreateView, + HTTPMethod: "POST", + HTTPPath: "/CreateView", + } + + if input == nil { + input = &CreateViewInput{} + } + + output = &CreateViewOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateView API operation for AWS Resource Explorer. +// +// Creates a view that users can query by using the Search operation. Results +// from queries that you make using this view include only resources that match +// the view's Filters. For more information about Amazon Web Services Resource +// Explorer views, see Managing views (https://docs.aws.amazon.com/arexug/mainline/manage-views.html) +// in the Amazon Web Services Resource Explorer User Guide. +// +// Only the principals with an IAM identity-based policy that grants Allow to +// the Search action on a Resource with the Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) +// of this view can Search using views you create with this operation. +// +// 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 Resource Explorer's +// API operation CreateView for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ConflictException +// You tried to create a new view or index when one already exists, and you +// either didn't specify or specified a different idempotency token as the original +// request. +// +// - ServiceQuotaExceededException +// The request failed because it exceeds a service quota. +// +// - UnauthorizedException +// The principal making the request isn't permitted to perform the operation. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/CreateView +func (c *ResourceExplorer2) CreateView(input *CreateViewInput) (*CreateViewOutput, error) { + req, out := c.CreateViewRequest(input) + return out, req.Send() +} + +// CreateViewWithContext is the same as CreateView with the addition of +// the ability to pass a context and additional request options. +// +// See CreateView 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 *ResourceExplorer2) CreateViewWithContext(ctx aws.Context, input *CreateViewInput, opts ...request.Option) (*CreateViewOutput, error) { + req, out := c.CreateViewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteIndex = "DeleteIndex" + +// DeleteIndexRequest generates a "aws/request.Request" representing the +// client's request for the DeleteIndex 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 DeleteIndex for more information on using the DeleteIndex +// 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 DeleteIndexRequest method. +// req, resp := client.DeleteIndexRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/DeleteIndex +func (c *ResourceExplorer2) DeleteIndexRequest(input *DeleteIndexInput) (req *request.Request, output *DeleteIndexOutput) { + op := &request.Operation{ + Name: opDeleteIndex, + HTTPMethod: "POST", + HTTPPath: "/DeleteIndex", + } + + if input == nil { + input = &DeleteIndexInput{} + } + + output = &DeleteIndexOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteIndex API operation for AWS Resource Explorer. +// +// Deletes the specified index and turns off Amazon Web Services Resource Explorer +// in the specified Amazon Web Services Region. When you delete an index, Resource +// Explorer stops discovering and indexing resources in that Region. Resource +// Explorer also deletes all views in that Region. These actions occur as asynchronous +// background tasks. You can check to see when the actions are complete by using +// the GetIndex operation and checking the Status response value. +// +// 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 Resource Explorer's +// API operation DeleteIndex for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// You specified a resource that doesn't exist. Check the ID or ARN that you +// used to identity the resource, and try again. +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/DeleteIndex +func (c *ResourceExplorer2) DeleteIndex(input *DeleteIndexInput) (*DeleteIndexOutput, error) { + req, out := c.DeleteIndexRequest(input) + return out, req.Send() +} + +// DeleteIndexWithContext is the same as DeleteIndex with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteIndex 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 *ResourceExplorer2) DeleteIndexWithContext(ctx aws.Context, input *DeleteIndexInput, opts ...request.Option) (*DeleteIndexOutput, error) { + req, out := c.DeleteIndexRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteView = "DeleteView" + +// DeleteViewRequest generates a "aws/request.Request" representing the +// client's request for the DeleteView 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 DeleteView for more information on using the DeleteView +// 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 DeleteViewRequest method. +// req, resp := client.DeleteViewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/DeleteView +func (c *ResourceExplorer2) DeleteViewRequest(input *DeleteViewInput) (req *request.Request, output *DeleteViewOutput) { + op := &request.Operation{ + Name: opDeleteView, + HTTPMethod: "POST", + HTTPPath: "/DeleteView", + } + + if input == nil { + input = &DeleteViewInput{} + } + + output = &DeleteViewOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteView API operation for AWS Resource Explorer. +// +// Deletes the specified view. +// +// If the specified view is the default view for its Amazon Web Services Region, +// then all Search operations in that Region must explicitly specify the view +// to use until you configure a new default by calling the AssociateDefaultView +// operation. +// +// 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 Resource Explorer's +// API operation DeleteView for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// You specified a resource that doesn't exist. Check the ID or ARN that you +// used to identity the resource, and try again. +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - UnauthorizedException +// The principal making the request isn't permitted to perform the operation. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/DeleteView +func (c *ResourceExplorer2) DeleteView(input *DeleteViewInput) (*DeleteViewOutput, error) { + req, out := c.DeleteViewRequest(input) + return out, req.Send() +} + +// DeleteViewWithContext is the same as DeleteView with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteView 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 *ResourceExplorer2) DeleteViewWithContext(ctx aws.Context, input *DeleteViewInput, opts ...request.Option) (*DeleteViewOutput, error) { + req, out := c.DeleteViewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDisassociateDefaultView = "DisassociateDefaultView" + +// DisassociateDefaultViewRequest generates a "aws/request.Request" representing the +// client's request for the DisassociateDefaultView 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 DisassociateDefaultView for more information on using the DisassociateDefaultView +// 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 DisassociateDefaultViewRequest method. +// req, resp := client.DisassociateDefaultViewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/DisassociateDefaultView +func (c *ResourceExplorer2) DisassociateDefaultViewRequest(input *DisassociateDefaultViewInput) (req *request.Request, output *DisassociateDefaultViewOutput) { + op := &request.Operation{ + Name: opDisassociateDefaultView, + HTTPMethod: "POST", + HTTPPath: "/DisassociateDefaultView", + } + + if input == nil { + input = &DisassociateDefaultViewInput{} + } + + output = &DisassociateDefaultViewOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DisassociateDefaultView API operation for AWS Resource Explorer. +// +// After you call this operation, the affected Amazon Web Services Region no +// longer has a default view. All Search operations in that Region must explicitly +// specify a view or the operation fails. You can configure a new default by +// calling the AssociateDefaultView operation. +// +// If an Amazon Web Services Region doesn't have a default view configured, +// then users must explicitly specify a view with every Search operation performed +// in that Region. +// +// 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 Resource Explorer's +// API operation DisassociateDefaultView for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/DisassociateDefaultView +func (c *ResourceExplorer2) DisassociateDefaultView(input *DisassociateDefaultViewInput) (*DisassociateDefaultViewOutput, error) { + req, out := c.DisassociateDefaultViewRequest(input) + return out, req.Send() +} + +// DisassociateDefaultViewWithContext is the same as DisassociateDefaultView with the addition of +// the ability to pass a context and additional request options. +// +// See DisassociateDefaultView 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 *ResourceExplorer2) DisassociateDefaultViewWithContext(ctx aws.Context, input *DisassociateDefaultViewInput, opts ...request.Option) (*DisassociateDefaultViewOutput, error) { + req, out := c.DisassociateDefaultViewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetDefaultView = "GetDefaultView" + +// GetDefaultViewRequest generates a "aws/request.Request" representing the +// client's request for the GetDefaultView 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 GetDefaultView for more information on using the GetDefaultView +// 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 GetDefaultViewRequest method. +// req, resp := client.GetDefaultViewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/GetDefaultView +func (c *ResourceExplorer2) GetDefaultViewRequest(input *GetDefaultViewInput) (req *request.Request, output *GetDefaultViewOutput) { + op := &request.Operation{ + Name: opGetDefaultView, + HTTPMethod: "POST", + HTTPPath: "/GetDefaultView", + } + + if input == nil { + input = &GetDefaultViewInput{} + } + + output = &GetDefaultViewOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetDefaultView API operation for AWS Resource Explorer. +// +// Retrieves the Amazon Resource Name (ARN) of the view that is the default +// for the Amazon Web Services Region in which you call this operation. You +// can then call GetView to retrieve the details of that view. +// +// 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 Resource Explorer's +// API operation GetDefaultView for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// You specified a resource that doesn't exist. Check the ID or ARN that you +// used to identity the resource, and try again. +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/GetDefaultView +func (c *ResourceExplorer2) GetDefaultView(input *GetDefaultViewInput) (*GetDefaultViewOutput, error) { + req, out := c.GetDefaultViewRequest(input) + return out, req.Send() +} + +// GetDefaultViewWithContext is the same as GetDefaultView with the addition of +// the ability to pass a context and additional request options. +// +// See GetDefaultView 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 *ResourceExplorer2) GetDefaultViewWithContext(ctx aws.Context, input *GetDefaultViewInput, opts ...request.Option) (*GetDefaultViewOutput, error) { + req, out := c.GetDefaultViewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetIndex = "GetIndex" + +// GetIndexRequest generates a "aws/request.Request" representing the +// client's request for the GetIndex 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 GetIndex for more information on using the GetIndex +// 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 GetIndexRequest method. +// req, resp := client.GetIndexRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/GetIndex +func (c *ResourceExplorer2) GetIndexRequest(input *GetIndexInput) (req *request.Request, output *GetIndexOutput) { + op := &request.Operation{ + Name: opGetIndex, + HTTPMethod: "POST", + HTTPPath: "/GetIndex", + } + + if input == nil { + input = &GetIndexInput{} + } + + output = &GetIndexOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetIndex API operation for AWS Resource Explorer. +// +// Retrieves details about the Amazon Web Services Resource Explorer index in +// the Amazon Web Services Region in which you invoked the operation. +// +// 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 Resource Explorer's +// API operation GetIndex for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// You specified a resource that doesn't exist. Check the ID or ARN that you +// used to identity the resource, and try again. +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/GetIndex +func (c *ResourceExplorer2) GetIndex(input *GetIndexInput) (*GetIndexOutput, error) { + req, out := c.GetIndexRequest(input) + return out, req.Send() +} + +// GetIndexWithContext is the same as GetIndex with the addition of +// the ability to pass a context and additional request options. +// +// See GetIndex 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 *ResourceExplorer2) GetIndexWithContext(ctx aws.Context, input *GetIndexInput, opts ...request.Option) (*GetIndexOutput, error) { + req, out := c.GetIndexRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetView = "GetView" + +// GetViewRequest generates a "aws/request.Request" representing the +// client's request for the GetView 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 GetView for more information on using the GetView +// 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 GetViewRequest method. +// req, resp := client.GetViewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/GetView +func (c *ResourceExplorer2) GetViewRequest(input *GetViewInput) (req *request.Request, output *GetViewOutput) { + op := &request.Operation{ + Name: opGetView, + HTTPMethod: "POST", + HTTPPath: "/GetView", + } + + if input == nil { + input = &GetViewInput{} + } + + output = &GetViewOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetView API operation for AWS Resource Explorer. +// +// Retrieves details of the specified view. +// +// 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 Resource Explorer's +// API operation GetView for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// You specified a resource that doesn't exist. Check the ID or ARN that you +// used to identity the resource, and try again. +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - UnauthorizedException +// The principal making the request isn't permitted to perform the operation. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/GetView +func (c *ResourceExplorer2) GetView(input *GetViewInput) (*GetViewOutput, error) { + req, out := c.GetViewRequest(input) + return out, req.Send() +} + +// GetViewWithContext is the same as GetView with the addition of +// the ability to pass a context and additional request options. +// +// See GetView 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 *ResourceExplorer2) GetViewWithContext(ctx aws.Context, input *GetViewInput, opts ...request.Option) (*GetViewOutput, error) { + req, out := c.GetViewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListIndexes = "ListIndexes" + +// ListIndexesRequest generates a "aws/request.Request" representing the +// client's request for the ListIndexes 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 ListIndexes for more information on using the ListIndexes +// 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 ListIndexesRequest method. +// req, resp := client.ListIndexesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListIndexes +func (c *ResourceExplorer2) ListIndexesRequest(input *ListIndexesInput) (req *request.Request, output *ListIndexesOutput) { + op := &request.Operation{ + Name: opListIndexes, + HTTPMethod: "POST", + HTTPPath: "/ListIndexes", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListIndexesInput{} + } + + output = &ListIndexesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListIndexes API operation for AWS Resource Explorer. +// +// Retrieves a list of all of the indexes in Amazon Web Services Regions that +// are currently collecting resource information for Amazon Web Services Resource +// Explorer. +// +// 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 Resource Explorer's +// API operation ListIndexes for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListIndexes +func (c *ResourceExplorer2) ListIndexes(input *ListIndexesInput) (*ListIndexesOutput, error) { + req, out := c.ListIndexesRequest(input) + return out, req.Send() +} + +// ListIndexesWithContext is the same as ListIndexes with the addition of +// the ability to pass a context and additional request options. +// +// See ListIndexes 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 *ResourceExplorer2) ListIndexesWithContext(ctx aws.Context, input *ListIndexesInput, opts ...request.Option) (*ListIndexesOutput, error) { + req, out := c.ListIndexesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListIndexesPages iterates over the pages of a ListIndexes operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListIndexes method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListIndexes operation. +// pageNum := 0 +// err := client.ListIndexesPages(params, +// func(page *resourceexplorer2.ListIndexesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ResourceExplorer2) ListIndexesPages(input *ListIndexesInput, fn func(*ListIndexesOutput, bool) bool) error { + return c.ListIndexesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListIndexesPagesWithContext same as ListIndexesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ResourceExplorer2) ListIndexesPagesWithContext(ctx aws.Context, input *ListIndexesInput, fn func(*ListIndexesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListIndexesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListIndexesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListIndexesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListSupportedResourceTypes = "ListSupportedResourceTypes" + +// ListSupportedResourceTypesRequest generates a "aws/request.Request" representing the +// client's request for the ListSupportedResourceTypes 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 ListSupportedResourceTypes for more information on using the ListSupportedResourceTypes +// 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 ListSupportedResourceTypesRequest method. +// req, resp := client.ListSupportedResourceTypesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListSupportedResourceTypes +func (c *ResourceExplorer2) ListSupportedResourceTypesRequest(input *ListSupportedResourceTypesInput) (req *request.Request, output *ListSupportedResourceTypesOutput) { + op := &request.Operation{ + Name: opListSupportedResourceTypes, + HTTPMethod: "POST", + HTTPPath: "/ListSupportedResourceTypes", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListSupportedResourceTypesInput{} + } + + output = &ListSupportedResourceTypesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListSupportedResourceTypes API operation for AWS Resource Explorer. +// +// Retrieves a list of all resource types currently supported by Amazon Web +// Services Resource Explorer. +// +// 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 Resource Explorer's +// API operation ListSupportedResourceTypes for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListSupportedResourceTypes +func (c *ResourceExplorer2) ListSupportedResourceTypes(input *ListSupportedResourceTypesInput) (*ListSupportedResourceTypesOutput, error) { + req, out := c.ListSupportedResourceTypesRequest(input) + return out, req.Send() +} + +// ListSupportedResourceTypesWithContext is the same as ListSupportedResourceTypes with the addition of +// the ability to pass a context and additional request options. +// +// See ListSupportedResourceTypes 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 *ResourceExplorer2) ListSupportedResourceTypesWithContext(ctx aws.Context, input *ListSupportedResourceTypesInput, opts ...request.Option) (*ListSupportedResourceTypesOutput, error) { + req, out := c.ListSupportedResourceTypesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListSupportedResourceTypesPages iterates over the pages of a ListSupportedResourceTypes operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListSupportedResourceTypes method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListSupportedResourceTypes operation. +// pageNum := 0 +// err := client.ListSupportedResourceTypesPages(params, +// func(page *resourceexplorer2.ListSupportedResourceTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ResourceExplorer2) ListSupportedResourceTypesPages(input *ListSupportedResourceTypesInput, fn func(*ListSupportedResourceTypesOutput, bool) bool) error { + return c.ListSupportedResourceTypesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListSupportedResourceTypesPagesWithContext same as ListSupportedResourceTypesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ResourceExplorer2) ListSupportedResourceTypesPagesWithContext(ctx aws.Context, input *ListSupportedResourceTypesInput, fn func(*ListSupportedResourceTypesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSupportedResourceTypesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSupportedResourceTypesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSupportedResourceTypesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource 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 ListTagsForResource for more information on using the ListTagsForResource +// 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 ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListTagsForResource +func (c *ResourceExplorer2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for AWS Resource Explorer. +// +// Lists the tags that are attached to the specified resource. +// +// 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 Resource Explorer's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// You specified a resource that doesn't exist. Check the ID or ARN that you +// used to identity the resource, and try again. +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - UnauthorizedException +// The principal making the request isn't permitted to perform the operation. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListTagsForResource +func (c *ResourceExplorer2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource 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 *ResourceExplorer2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListViews = "ListViews" + +// ListViewsRequest generates a "aws/request.Request" representing the +// client's request for the ListViews 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 ListViews for more information on using the ListViews +// 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 ListViewsRequest method. +// req, resp := client.ListViewsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListViews +func (c *ResourceExplorer2) ListViewsRequest(input *ListViewsInput) (req *request.Request, output *ListViewsOutput) { + op := &request.Operation{ + Name: opListViews, + HTTPMethod: "POST", + HTTPPath: "/ListViews", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListViewsInput{} + } + + output = &ListViewsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListViews API operation for AWS Resource Explorer. +// +// Lists the Amazon resource names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) +// of the views available in the Amazon Web Services Region in which you call +// this operation. +// +// Always check the NextToken response parameter for a null value when calling +// a paginated operation. These operations can occasionally return an empty +// set of results even when there are more results available. The NextToken +// response parameter value is null only when there are no more results to display. +// +// 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 Resource Explorer's +// API operation ListViews for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListViews +func (c *ResourceExplorer2) ListViews(input *ListViewsInput) (*ListViewsOutput, error) { + req, out := c.ListViewsRequest(input) + return out, req.Send() +} + +// ListViewsWithContext is the same as ListViews with the addition of +// the ability to pass a context and additional request options. +// +// See ListViews 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 *ResourceExplorer2) ListViewsWithContext(ctx aws.Context, input *ListViewsInput, opts ...request.Option) (*ListViewsOutput, error) { + req, out := c.ListViewsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListViewsPages iterates over the pages of a ListViews operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListViews method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListViews operation. +// pageNum := 0 +// err := client.ListViewsPages(params, +// func(page *resourceexplorer2.ListViewsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ResourceExplorer2) ListViewsPages(input *ListViewsInput, fn func(*ListViewsOutput, bool) bool) error { + return c.ListViewsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListViewsPagesWithContext same as ListViewsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ResourceExplorer2) ListViewsPagesWithContext(ctx aws.Context, input *ListViewsInput, fn func(*ListViewsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListViewsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListViewsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListViewsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opSearch = "Search" + +// SearchRequest generates a "aws/request.Request" representing the +// client's request for the Search 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 Search for more information on using the Search +// 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 SearchRequest method. +// req, resp := client.SearchRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/Search +func (c *ResourceExplorer2) SearchRequest(input *SearchInput) (req *request.Request, output *SearchOutput) { + op := &request.Operation{ + Name: opSearch, + HTTPMethod: "POST", + HTTPPath: "/Search", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &SearchInput{} + } + + output = &SearchOutput{} + req = c.newRequest(op, input, output) + return +} + +// Search API operation for AWS Resource Explorer. +// +// Searches for resources and displays details about all resources that match +// the specified criteria. You must specify a query string. +// +// All search queries must use a view. If you don't explicitly specify a view, +// then Amazon Web Services Resource Explorer uses the default view for the +// Amazon Web Services Region in which you call this operation. The results +// are the logical intersection of the results that match both the QueryString +// parameter supplied to this operation and the SearchFilter parameter attached +// to the view. +// +// For the complete syntax supported by the QueryString parameter, see Search +// query syntax reference for Resource Explorer (https://docs.aws.amazon.com/resource-explorer/latest/APIReference/about-query-syntax.html). +// +// If your search results are empty, or are missing results that you think should +// be there, see Troubleshooting Resource Explorer search (https://docs.aws.amazon.com/resource-explorer/latest/userguide/troubleshooting_search.html). +// +// 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 Resource Explorer's +// API operation Search for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// You specified a resource that doesn't exist. Check the ID or ARN that you +// used to identity the resource, and try again. +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - UnauthorizedException +// The principal making the request isn't permitted to perform the operation. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/Search +func (c *ResourceExplorer2) Search(input *SearchInput) (*SearchOutput, error) { + req, out := c.SearchRequest(input) + return out, req.Send() +} + +// SearchWithContext is the same as Search with the addition of +// the ability to pass a context and additional request options. +// +// See Search 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 *ResourceExplorer2) SearchWithContext(ctx aws.Context, input *SearchInput, opts ...request.Option) (*SearchOutput, error) { + req, out := c.SearchRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// SearchPages iterates over the pages of a Search operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See Search method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a Search operation. +// pageNum := 0 +// err := client.SearchPages(params, +// func(page *resourceexplorer2.SearchOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ResourceExplorer2) SearchPages(input *SearchInput, fn func(*SearchOutput, bool) bool) error { + return c.SearchPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// SearchPagesWithContext same as SearchPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ResourceExplorer2) SearchPagesWithContext(ctx aws.Context, input *SearchInput, fn func(*SearchOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *SearchInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.SearchRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*SearchOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opTagResource = "TagResource" + +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource 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 TagResource for more information on using the TagResource +// 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 TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/TagResource +func (c *ResourceExplorer2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for AWS Resource Explorer. +// +// Adds one or more tag key and value pairs to an Amazon Web Services Resource +// Explorer view or index. +// +// 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 Resource Explorer's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ConflictException +// You tried to create a new view or index when one already exists, and you +// either didn't specify or specified a different idempotency token as the original +// request. +// +// - UnauthorizedException +// The principal making the request isn't permitted to perform the operation. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/TagResource +func (c *ResourceExplorer2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource 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 *ResourceExplorer2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource 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 UntagResource for more information on using the UntagResource +// 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 UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/UntagResource +func (c *ResourceExplorer2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "DELETE", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for AWS Resource Explorer. +// +// Removes one or more tag key and value pairs from an Amazon Web Services Resource +// Explorer view or index. +// +// 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 Resource Explorer's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// You specified a resource that doesn't exist. Check the ID or ARN that you +// used to identity the resource, and try again. +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - UnauthorizedException +// The principal making the request isn't permitted to perform the operation. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/UntagResource +func (c *ResourceExplorer2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource 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 *ResourceExplorer2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateIndexType = "UpdateIndexType" + +// UpdateIndexTypeRequest generates a "aws/request.Request" representing the +// client's request for the UpdateIndexType 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 UpdateIndexType for more information on using the UpdateIndexType +// 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 UpdateIndexTypeRequest method. +// req, resp := client.UpdateIndexTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/UpdateIndexType +func (c *ResourceExplorer2) UpdateIndexTypeRequest(input *UpdateIndexTypeInput) (req *request.Request, output *UpdateIndexTypeOutput) { + op := &request.Operation{ + Name: opUpdateIndexType, + HTTPMethod: "POST", + HTTPPath: "/UpdateIndexType", + } + + if input == nil { + input = &UpdateIndexTypeInput{} + } + + output = &UpdateIndexTypeOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateIndexType API operation for AWS Resource Explorer. +// +// Changes the type of the index from one of the following types to the other. +// For more information about indexes and the role they perform in Amazon Web +// Services Resource Explorer, see Turning on cross-Region search by creating +// an aggregator index (https://docs.aws.amazon.com/arexug/mainline/manage-aggregator-region.html) +// in the Amazon Web Services Resource Explorer User Guide. +// +// - AGGREGATOR index type The index contains information about resources +// from all Amazon Web Services Regions in the Amazon Web Services account +// in which you've created a Resource Explorer index. Resource information +// from all other Regions is replicated to this Region's index. When you +// change the index type to AGGREGATOR, Resource Explorer turns on replication +// of all discovered resource information from the other Amazon Web Services +// Regions in your account to this index. You can then, from this Region +// only, perform resource search queries that span all Amazon Web Services +// Regions in the Amazon Web Services account. Turning on replication from +// all other Regions is performed by asynchronous background tasks. You can +// check the status of the asynchronous tasks by using the GetIndex operation. +// When the asynchronous tasks complete, the Status response of that operation +// changes from UPDATING to ACTIVE. After that, you can start to see results +// from other Amazon Web Services Regions in query results. However, it can +// take several hours for replication from all other Regions to complete. +// You can have only one aggregator index per Amazon Web Services account. +// Before you can promote a different index to be the aggregator index for +// the account, you must first demote the existing aggregator index to type +// LOCAL. +// +// - LOCAL index type The index contains information about resources in only +// the Amazon Web Services Region in which the index exists. If an aggregator +// index in another Region exists, then information in this local index is +// replicated to the aggregator index. When you change the index type to +// LOCAL, Resource Explorer turns off the replication of resource information +// from all other Amazon Web Services Regions in the Amazon Web Services +// account to this Region. The aggregator index remains in the UPDATING state +// until all replication with other Regions successfully stops. You can check +// the status of the asynchronous task by using the GetIndex operation. When +// Resource Explorer successfully stops all replication with other Regions, +// the Status response of that operation changes from UPDATING to ACTIVE. +// Separately, the resource information from other Regions that was previously +// stored in the index is deleted within 30 days by another background task. +// Until that asynchronous task completes, some results from other Regions +// can continue to appear in search results. After you demote an aggregator +// index to a local index, you must wait 24 hours before you can promote +// another index to be the new aggregator index for the account. +// +// 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 Resource Explorer's +// API operation UpdateIndexType for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// You specified a resource that doesn't exist. Check the ID or ARN that you +// used to identity the resource, and try again. +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ConflictException +// You tried to create a new view or index when one already exists, and you +// either didn't specify or specified a different idempotency token as the original +// request. +// +// - ServiceQuotaExceededException +// The request failed because it exceeds a service quota. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/UpdateIndexType +func (c *ResourceExplorer2) UpdateIndexType(input *UpdateIndexTypeInput) (*UpdateIndexTypeOutput, error) { + req, out := c.UpdateIndexTypeRequest(input) + return out, req.Send() +} + +// UpdateIndexTypeWithContext is the same as UpdateIndexType with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateIndexType 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 *ResourceExplorer2) UpdateIndexTypeWithContext(ctx aws.Context, input *UpdateIndexTypeInput, opts ...request.Option) (*UpdateIndexTypeOutput, error) { + req, out := c.UpdateIndexTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateView = "UpdateView" + +// UpdateViewRequest generates a "aws/request.Request" representing the +// client's request for the UpdateView 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 UpdateView for more information on using the UpdateView +// 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 UpdateViewRequest method. +// req, resp := client.UpdateViewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/UpdateView +func (c *ResourceExplorer2) UpdateViewRequest(input *UpdateViewInput) (req *request.Request, output *UpdateViewOutput) { + op := &request.Operation{ + Name: opUpdateView, + HTTPMethod: "POST", + HTTPPath: "/UpdateView", + } + + if input == nil { + input = &UpdateViewInput{} + } + + output = &UpdateViewOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateView API operation for AWS Resource Explorer. +// +// Modifies some of the details of a view. You can change the filter string +// and the list of included properties. You can't change the name of the view. +// +// 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 Resource Explorer's +// API operation UpdateView for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request failed because of internal service error. Try your request again +// later. +// +// - ValidationException +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +// +// - ServiceQuotaExceededException +// The request failed because it exceeds a service quota. +// +// - UnauthorizedException +// The principal making the request isn't permitted to perform the operation. +// +// - ThrottlingException +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +// +// - AccessDeniedException +// The credentials that you used to call this operation don't have the minimum +// required permissions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/UpdateView +func (c *ResourceExplorer2) UpdateView(input *UpdateViewInput) (*UpdateViewOutput, error) { + req, out := c.UpdateViewRequest(input) + return out, req.Send() +} + +// UpdateViewWithContext is the same as UpdateView with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateView 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 *ResourceExplorer2) UpdateViewWithContext(ctx aws.Context, input *UpdateViewInput, opts ...request.Option) (*UpdateViewOutput, error) { + req, out := c.UpdateViewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// The credentials that you used to call this operation don't have the minimum +// required permissions. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) 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 AccessDeniedException) GoString() string { + return s.String() +} + +func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { + return &AccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AccessDeniedException) Code() string { + return "AccessDeniedException" +} + +// Message returns the exception's message. +func (s *AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AccessDeniedException) OrigErr() error { + return nil +} + +func (s *AccessDeniedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *AccessDeniedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *AccessDeniedException) RequestID() string { + return s.RespMetadata.RequestID +} + +type AssociateDefaultViewInput struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view to set as the default for the Amazon Web Services Region and + // Amazon Web Services account in which you call this operation. The specified + // view must already exist in the called Region. + // + // ViewArn is a required field + ViewArn *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AssociateDefaultViewInput) 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 AssociateDefaultViewInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AssociateDefaultViewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AssociateDefaultViewInput"} + if s.ViewArn == nil { + invalidParams.Add(request.NewErrParamRequired("ViewArn")) + } + if s.ViewArn != nil && len(*s.ViewArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ViewArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetViewArn sets the ViewArn field's value. +func (s *AssociateDefaultViewInput) SetViewArn(v string) *AssociateDefaultViewInput { + s.ViewArn = &v + return s +} + +type AssociateDefaultViewOutput struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view that the operation set as the default for queries made in the + // Amazon Web Services Region and Amazon Web Services account in which you called + // this operation. + ViewArn *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 AssociateDefaultViewOutput) 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 AssociateDefaultViewOutput) GoString() string { + return s.String() +} + +// SetViewArn sets the ViewArn field's value. +func (s *AssociateDefaultViewOutput) SetViewArn(v string) *AssociateDefaultViewOutput { + s.ViewArn = &v + return s +} + +// A collection of error messages for any views that Amazon Web Services Resource +// Explorer couldn't retrieve details. +type BatchGetViewError struct { + _ struct{} `type:"structure"` + + // The description of the error for the specified view. + // + // ErrorMessage is a required field + ErrorMessage *string `type:"string" required:"true"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view for which Resource Explorer failed to retrieve details. + // + // ViewArn is a required field + ViewArn *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 BatchGetViewError) 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 BatchGetViewError) GoString() string { + return s.String() +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *BatchGetViewError) SetErrorMessage(v string) *BatchGetViewError { + s.ErrorMessage = &v + return s +} + +// SetViewArn sets the ViewArn field's value. +func (s *BatchGetViewError) SetViewArn(v string) *BatchGetViewError { + s.ViewArn = &v + return s +} + +type BatchGetViewInput struct { + _ struct{} `type:"structure"` + + // A list of Amazon resource names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // that identify the views you want details for. + ViewArns []*string `min:"1" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchGetViewInput) 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 BatchGetViewInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchGetViewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchGetViewInput"} + if s.ViewArns != nil && len(s.ViewArns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ViewArns", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetViewArns sets the ViewArns field's value. +func (s *BatchGetViewInput) SetViewArns(v []*string) *BatchGetViewInput { + s.ViewArns = v + return s +} + +type BatchGetViewOutput struct { + _ struct{} `type:"structure"` + + // If any of the specified ARNs result in an error, then this structure describes + // the error. + Errors []*BatchGetViewError `type:"list"` + + // A structure with a list of objects with details for each of the specified + // views. + Views []*View `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 BatchGetViewOutput) 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 BatchGetViewOutput) GoString() string { + return s.String() +} + +// SetErrors sets the Errors field's value. +func (s *BatchGetViewOutput) SetErrors(v []*BatchGetViewError) *BatchGetViewOutput { + s.Errors = v + return s +} + +// SetViews sets the Views field's value. +func (s *BatchGetViewOutput) SetViews(v []*View) *BatchGetViewOutput { + s.Views = v + return s +} + +// You tried to create a new view or index when one already exists, and you +// either didn't specify or specified a different idempotency token as the original +// request. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) 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 ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +type CreateIndexInput struct { + _ struct{} `type:"structure"` + + // This value helps ensure idempotency. Resource Explorer uses this value to + // prevent the accidental creation of duplicate versions. We recommend that + // you generate a UUID-type value (https://wikipedia.org/wiki/Universally_unique_identifier) + // to ensure the uniqueness of your views. + ClientToken *string `type:"string" idempotencyToken:"true"` + + // The specified tags are attached only to the index created in this Amazon + // Web Services Region. The tags aren't attached to any of the resources listed + // in the index. + Tags map[string]*string `type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateIndexInput) 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 CreateIndexInput) GoString() string { + return s.String() +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateIndexInput) SetClientToken(v string) *CreateIndexInput { + s.ClientToken = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateIndexInput) SetTags(v map[string]*string) *CreateIndexInput { + s.Tags = v + return s +} + +type CreateIndexOutput struct { + _ struct{} `type:"structure"` + + // The ARN of the new local index for the Region. You can reference this ARN + // in IAM permission policies to authorize the following operations: DeleteIndex + // | GetIndex | UpdateIndexType | CreateView + Arn *string `type:"string"` + + // The date and timestamp when the index was created. + CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` + + // Indicates the current state of the index. You can check for changes to the + // state for asynchronous operations by calling the GetIndex operation. + // + // The state can remain in the CREATING or UPDATING state for several hours + // as Resource Explorer discovers the information about your resources and populates + // the index. + State *string `type:"string" enum:"IndexState"` +} + +// 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 CreateIndexOutput) 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 CreateIndexOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateIndexOutput) SetArn(v string) *CreateIndexOutput { + s.Arn = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *CreateIndexOutput) SetCreatedAt(v time.Time) *CreateIndexOutput { + s.CreatedAt = &v + return s +} + +// SetState sets the State field's value. +func (s *CreateIndexOutput) SetState(v string) *CreateIndexOutput { + s.State = &v + return s +} + +type CreateViewInput struct { + _ struct{} `type:"structure"` + + // This value helps ensure idempotency. Resource Explorer uses this value to + // prevent the accidental creation of duplicate versions. We recommend that + // you generate a UUID-type value (https://wikipedia.org/wiki/Universally_unique_identifier) + // to ensure the uniqueness of your views. + ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // An array of strings that specify which resources are included in the results + // of queries made using this view. When you use this view in a Search operation, + // the filter string is combined with the search's QueryString parameter using + // a logical AND operator. + // + // For information about the supported syntax, see Search query reference for + // Resource Explorer (https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) + // in the Amazon Web Services Resource Explorer User Guide. + // + // This query string in the context of this operation supports only filter prefixes + // (https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) + // with optional operators (https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-operators). + // It doesn't support free-form text. For example, the string region:us* service:ec2 + // -tag:stage=prod includes all Amazon EC2 resources in any Amazon Web Services + // Region that begins with the letters us and is not tagged with a key Stage + // that has the value prod. + // + // Filters is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CreateViewInput's + // String and GoString methods. + Filters *SearchFilter `type:"structure" sensitive:"true"` + + // Specifies optional fields that you want included in search results from this + // view. It is a list of objects that each describe a field to include. + // + // The default is an empty list, with no optional fields included in the results. + IncludedProperties []*IncludedProperty `type:"list"` + + // Tag key and value pairs that are attached to the view. + Tags map[string]*string `type:"map"` + + // The name of the new view. This name appears in the list of views in Resource + // Explorer. + // + // The name must be no more than 64 characters long, and can include letters, + // digits, and the dash (-) character. The name must be unique within its Amazon + // Web Services Region. + // + // ViewName is a required field + ViewName *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 CreateViewInput) 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 CreateViewInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateViewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateViewInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.ViewName == nil { + invalidParams.Add(request.NewErrParamRequired("ViewName")) + } + if s.Filters != nil { + if err := s.Filters.Validate(); err != nil { + invalidParams.AddNested("Filters", err.(request.ErrInvalidParams)) + } + } + if s.IncludedProperties != nil { + for i, v := range s.IncludedProperties { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IncludedProperties", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateViewInput) SetClientToken(v string) *CreateViewInput { + s.ClientToken = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *CreateViewInput) SetFilters(v *SearchFilter) *CreateViewInput { + s.Filters = v + return s +} + +// SetIncludedProperties sets the IncludedProperties field's value. +func (s *CreateViewInput) SetIncludedProperties(v []*IncludedProperty) *CreateViewInput { + s.IncludedProperties = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateViewInput) SetTags(v map[string]*string) *CreateViewInput { + s.Tags = v + return s +} + +// SetViewName sets the ViewName field's value. +func (s *CreateViewInput) SetViewName(v string) *CreateViewInput { + s.ViewName = &v + return s +} + +type CreateViewOutput struct { + _ struct{} `type:"structure"` + + // A structure that contains the details about the new view. + View *View `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 CreateViewOutput) 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 CreateViewOutput) GoString() string { + return s.String() +} + +// SetView sets the View field's value. +func (s *CreateViewOutput) SetView(v *View) *CreateViewOutput { + s.View = v + return s +} + +type DeleteIndexInput struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the index that you want to delete. + // + // Arn is a required field + Arn *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 DeleteIndexInput) 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 DeleteIndexInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteIndexInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteIndexInput"} + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetArn sets the Arn field's value. +func (s *DeleteIndexInput) SetArn(v string) *DeleteIndexInput { + s.Arn = &v + return s +} + +type DeleteIndexOutput struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the index that you successfully started the deletion process. + // + // This operation is asynchronous. To check its status, call the GetIndex operation. + Arn *string `type:"string"` + + // The date and time when you last updated this index. + LastUpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` + + // Indicates the current state of the index. + State *string `type:"string" enum:"IndexState"` +} + +// 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 DeleteIndexOutput) 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 DeleteIndexOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DeleteIndexOutput) SetArn(v string) *DeleteIndexOutput { + s.Arn = &v + return s +} + +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *DeleteIndexOutput) SetLastUpdatedAt(v time.Time) *DeleteIndexOutput { + s.LastUpdatedAt = &v + return s +} + +// SetState sets the State field's value. +func (s *DeleteIndexOutput) SetState(v string) *DeleteIndexOutput { + s.State = &v + return s +} + +type DeleteViewInput struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view that you want to delete. + // + // ViewArn is a required field + ViewArn *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteViewInput) 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 DeleteViewInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteViewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteViewInput"} + if s.ViewArn == nil { + invalidParams.Add(request.NewErrParamRequired("ViewArn")) + } + if s.ViewArn != nil && len(*s.ViewArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ViewArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetViewArn sets the ViewArn field's value. +func (s *DeleteViewInput) SetViewArn(v string) *DeleteViewInput { + s.ViewArn = &v + return s +} + +type DeleteViewOutput struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view that you successfully deleted. + ViewArn *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 DeleteViewOutput) 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 DeleteViewOutput) GoString() string { + return s.String() +} + +// SetViewArn sets the ViewArn field's value. +func (s *DeleteViewOutput) SetViewArn(v string) *DeleteViewOutput { + s.ViewArn = &v + return s +} + +type DisassociateDefaultViewInput 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 DisassociateDefaultViewInput) 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 DisassociateDefaultViewInput) GoString() string { + return s.String() +} + +type DisassociateDefaultViewOutput struct { + _ struct{} `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 DisassociateDefaultViewOutput) 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 DisassociateDefaultViewOutput) GoString() string { + return s.String() +} + +type GetDefaultViewInput 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 GetDefaultViewInput) 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 GetDefaultViewInput) GoString() string { + return s.String() +} + +type GetDefaultViewOutput struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view that is the current default for the Amazon Web Services Region + // in which you called this operation. + ViewArn *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 GetDefaultViewOutput) 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 GetDefaultViewOutput) GoString() string { + return s.String() +} + +// SetViewArn sets the ViewArn field's value. +func (s *GetDefaultViewOutput) SetViewArn(v string) *GetDefaultViewOutput { + s.ViewArn = &v + return s +} + +type GetIndexInput 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 GetIndexInput) 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 GetIndexInput) GoString() string { + return s.String() +} + +type GetIndexOutput struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the index. + Arn *string `type:"string"` + + // The date and time when the index was originally created. + CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` + + // The date and time when the index was last updated. + LastUpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` + + // If this index is Type=AGGREGATOR, then this response value contains a list + // of the Amazon Web Services Regions that replicate their content to the index + // in this Region. Not present for a local index. + ReplicatingFrom []*string `type:"list"` + + // Identifies the Amazon Web Services Region that has an index set to Type=AGGREGATOR, + // if one exists. If it does, then the Region you called this operation in replicates + // its index information to the Region specified in this response value. Not + // present if there isn't an aggregator index in the account. + ReplicatingTo []*string `type:"list"` + + // Indicates the current state of the index in this Amazon Web Services Region. + State *string `type:"string" enum:"IndexState"` + + // Tag key and value pairs that are attached to the index. + Tags map[string]*string `type:"map"` + + // Specifies the type of the index in this Region. For information about the + // aggregator index and how it differs from a local index, see Turning on cross-Region + // search by creating an aggregator index (https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html). + Type *string `type:"string" enum:"IndexType"` +} + +// 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 GetIndexOutput) 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 GetIndexOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *GetIndexOutput) SetArn(v string) *GetIndexOutput { + s.Arn = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetIndexOutput) SetCreatedAt(v time.Time) *GetIndexOutput { + s.CreatedAt = &v + return s +} + +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *GetIndexOutput) SetLastUpdatedAt(v time.Time) *GetIndexOutput { + s.LastUpdatedAt = &v + return s +} + +// SetReplicatingFrom sets the ReplicatingFrom field's value. +func (s *GetIndexOutput) SetReplicatingFrom(v []*string) *GetIndexOutput { + s.ReplicatingFrom = v + return s +} + +// SetReplicatingTo sets the ReplicatingTo field's value. +func (s *GetIndexOutput) SetReplicatingTo(v []*string) *GetIndexOutput { + s.ReplicatingTo = v + return s +} + +// SetState sets the State field's value. +func (s *GetIndexOutput) SetState(v string) *GetIndexOutput { + s.State = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetIndexOutput) SetTags(v map[string]*string) *GetIndexOutput { + s.Tags = v + return s +} + +// SetType sets the Type field's value. +func (s *GetIndexOutput) SetType(v string) *GetIndexOutput { + s.Type = &v + return s +} + +type GetViewInput struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view that you want information about. + // + // ViewArn is a required field + ViewArn *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetViewInput) 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 GetViewInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetViewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetViewInput"} + if s.ViewArn == nil { + invalidParams.Add(request.NewErrParamRequired("ViewArn")) + } + if s.ViewArn != nil && len(*s.ViewArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ViewArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetViewArn sets the ViewArn field's value. +func (s *GetViewInput) SetViewArn(v string) *GetViewInput { + s.ViewArn = &v + return s +} + +type GetViewOutput struct { + _ struct{} `type:"structure"` + + // Tag key and value pairs that are attached to the view. + Tags map[string]*string `type:"map"` + + // A structure that contains the details for the requested view. + View *View `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 GetViewOutput) 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 GetViewOutput) GoString() string { + return s.String() +} + +// SetTags sets the Tags field's value. +func (s *GetViewOutput) SetTags(v map[string]*string) *GetViewOutput { + s.Tags = v + return s +} + +// SetView sets the View field's value. +func (s *GetViewOutput) SetView(v *View) *GetViewOutput { + s.View = v + return s +} + +// Information about an additional property that describes a resource, that +// you can optionally include in the view. This lets you view that property +// in search results, and filter your search results based on the value of the +// property. +type IncludedProperty struct { + _ struct{} `type:"structure"` + + // The name of the property that is included in this view. + // + // You can specify the following property names for this field: + // + // * Tags + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IncludedProperty) 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 IncludedProperty) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IncludedProperty) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IncludedProperty"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *IncludedProperty) SetName(v string) *IncludedProperty { + s.Name = &v + return s +} + +// An index is the data store used by Amazon Web Services Resource Explorer +// to hold information about your Amazon Web Services resources that the service +// discovers. Creating an index in an Amazon Web Services Region turns on Resource +// Explorer and lets it discover your resources. +// +// By default, an index is local, meaning that it contains information about +// resources in only the same Region as the index. However, you can promote +// the index of one Region in the account by calling UpdateIndexType to convert +// it into an aggregator index. The aggregator index receives a replicated copy +// of the index information from all other Regions where Resource Explorer is +// turned on. This allows search operations in that Region to return results +// from all Regions in the account. +type Index struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the index. + Arn *string `type:"string"` + + // The Amazon Web Services Region in which the index exists. + Region *string `type:"string"` + + // The type of index. It can be one of the following values: + // + // * LOCAL – The index contains information about resources from only the + // same Amazon Web Services Region. + // + // * AGGREGATOR – Resource Explorer replicates copies of the indexed information + // about resources in all other Amazon Web Services Regions to the aggregator + // index. This lets search results in the Region with the aggregator index + // to include resources from all Regions in the account where Resource Explorer + // is turned on. + Type *string `type:"string" enum:"IndexType"` +} + +// 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 Index) 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 Index) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Index) SetArn(v string) *Index { + s.Arn = &v + return s +} + +// SetRegion sets the Region field's value. +func (s *Index) SetRegion(v string) *Index { + s.Region = &v + return s +} + +// SetType sets the Type field's value. +func (s *Index) SetType(v string) *Index { + s.Type = &v + return s +} + +// The request failed because of internal service error. Try your request again +// later. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} + +type ListIndexesInput struct { + _ struct{} `type:"structure"` + + // The maximum number of results that you want included on each page of the + // response. If you do not include this parameter, it defaults to a value appropriate + // to the operation. If additional items exist beyond those included in the + // current response, the NextToken response element is present and has a value + // (is not null). Include that value as the NextToken request parameter in the + // next call to the operation to get the next part of the results. + // + // An API operation can return fewer results than the maximum even when there + // are more results available. You should check NextToken after every operation + // to ensure that you receive all of the results. + MaxResults *int64 `min:"1" type:"integer"` + + // The parameter for receiving additional results if you receive a NextToken + // response in a previous request. A NextToken response indicates that more + // output is available. Set this parameter to the value of the previous call's + // NextToken response to indicate where the output should continue from. + NextToken *string `min:"1" type:"string"` + + // If specified, limits the response to only information about the index in + // the specified list of Amazon Web Services Regions. + Regions []*string `type:"list"` + + // If specified, limits the output to only indexes of the specified Type, either + // LOCAL or AGGREGATOR. + // + // Use this option to discover the aggregator index for your account. + Type *string `type:"string" enum:"IndexType"` +} + +// 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 ListIndexesInput) 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 ListIndexesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListIndexesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListIndexesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListIndexesInput) SetMaxResults(v int64) *ListIndexesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIndexesInput) SetNextToken(v string) *ListIndexesInput { + s.NextToken = &v + return s +} + +// SetRegions sets the Regions field's value. +func (s *ListIndexesInput) SetRegions(v []*string) *ListIndexesInput { + s.Regions = v + return s +} + +// SetType sets the Type field's value. +func (s *ListIndexesInput) SetType(v string) *ListIndexesInput { + s.Type = &v + return s +} + +type ListIndexesOutput struct { + _ struct{} `type:"structure"` + + // A structure that contains the details and status of each index. + Indexes []*Index `type:"list"` + + // If present, indicates that more output is available than is included in the + // current response. Use this value in the NextToken request parameter in a + // subsequent call to the operation to get the next part of the output. You + // should repeat this until the NextToken response element comes back as null. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListIndexesOutput) 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 ListIndexesOutput) GoString() string { + return s.String() +} + +// SetIndexes sets the Indexes field's value. +func (s *ListIndexesOutput) SetIndexes(v []*Index) *ListIndexesOutput { + s.Indexes = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIndexesOutput) SetNextToken(v string) *ListIndexesOutput { + s.NextToken = &v + return s +} + +type ListSupportedResourceTypesInput struct { + _ struct{} `type:"structure"` + + // The maximum number of results that you want included on each page of the + // response. If you do not include this parameter, it defaults to a value appropriate + // to the operation. If additional items exist beyond those included in the + // current response, the NextToken response element is present and has a value + // (is not null). Include that value as the NextToken request parameter in the + // next call to the operation to get the next part of the results. + // + // An API operation can return fewer results than the maximum even when there + // are more results available. You should check NextToken after every operation + // to ensure that you receive all of the results. + MaxResults *int64 `min:"1" type:"integer"` + + // The parameter for receiving additional results if you receive a NextToken + // response in a previous request. A NextToken response indicates that more + // output is available. Set this parameter to the value of the previous call's + // NextToken response to indicate where the output should continue from. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListSupportedResourceTypesInput) 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 ListSupportedResourceTypesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListSupportedResourceTypesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListSupportedResourceTypesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListSupportedResourceTypesInput) SetMaxResults(v int64) *ListSupportedResourceTypesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSupportedResourceTypesInput) SetNextToken(v string) *ListSupportedResourceTypesInput { + s.NextToken = &v + return s +} + +type ListSupportedResourceTypesOutput struct { + _ struct{} `type:"structure"` + + // If present, indicates that more output is available than is included in the + // current response. Use this value in the NextToken request parameter in a + // subsequent call to the operation to get the next part of the output. You + // should repeat this until the NextToken response element comes back as null. + NextToken *string `type:"string"` + + // The list of resource types supported by Resource Explorer. + ResourceTypes []*SupportedResourceType `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 ListSupportedResourceTypesOutput) 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 ListSupportedResourceTypesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSupportedResourceTypesOutput) SetNextToken(v string) *ListSupportedResourceTypesOutput { + s.NextToken = &v + return s +} + +// SetResourceTypes sets the ResourceTypes field's value. +func (s *ListSupportedResourceTypesOutput) SetResourceTypes(v []*SupportedResourceType) *ListSupportedResourceTypesOutput { + s.ResourceTypes = v + return s +} + +type ListTagsForResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view or index that you want to attach tags to. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" 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 ListTagsForResourceInput) 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 ListTagsForResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { + s.ResourceArn = &v + return s +} + +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + // The tag key and value pairs that you want to attach to the specified view + // or index. + Tags map[string]*string `type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceOutput) 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 ListTagsForResourceOutput) GoString() string { + return s.String() +} + +// SetTags sets the Tags field's value. +func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { + s.Tags = v + return s +} + +type ListViewsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of results that you want included on each page of the + // response. If you do not include this parameter, it defaults to a value appropriate + // to the operation. If additional items exist beyond those included in the + // current response, the NextToken response element is present and has a value + // (is not null). Include that value as the NextToken request parameter in the + // next call to the operation to get the next part of the results. + // + // An API operation can return fewer results than the maximum even when there + // are more results available. You should check NextToken after every operation + // to ensure that you receive all of the results. + MaxResults *int64 `min:"1" type:"integer"` + + // The parameter for receiving additional results if you receive a NextToken + // response in a previous request. A NextToken response indicates that more + // output is available. Set this parameter to the value of the previous call's + // NextToken response to indicate where the output should continue from. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListViewsInput) 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 ListViewsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListViewsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListViewsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListViewsInput) SetMaxResults(v int64) *ListViewsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListViewsInput) SetNextToken(v string) *ListViewsInput { + s.NextToken = &v + return s +} + +type ListViewsOutput struct { + _ struct{} `type:"structure"` + + // If present, indicates that more output is available than is included in the + // current response. Use this value in the NextToken request parameter in a + // subsequent call to the operation to get the next part of the output. You + // should repeat this until the NextToken response element comes back as null. + NextToken *string `type:"string"` + + // The list of views available in the Amazon Web Services Region in which you + // called this operation. + Views []*string `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 ListViewsOutput) 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 ListViewsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListViewsOutput) SetNextToken(v string) *ListViewsOutput { + s.NextToken = &v + return s +} + +// SetViews sets the Views field's value. +func (s *ListViewsOutput) SetViews(v []*string) *ListViewsOutput { + s.Views = v + return s +} + +// A resource in Amazon Web Services that Amazon Web Services Resource Explorer +// has discovered, and for which it has stored information in the index of the +// Amazon Web Services Region that contains the resource. +type Resource struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the resource. + Arn *string `type:"string"` + + // The date and time that Resource Explorer last queried this resource and updated + // the index with the latest information about the resource. + LastReportedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` + + // The Amazon Web Services account that owns the resource. + OwningAccountId *string `type:"string"` + + // A structure with additional type-specific details about the resource. These + // properties can be added by turning on integration between Resource Explorer + // and other Amazon Web Services services. + Properties []*ResourceProperty `type:"list"` + + // The Amazon Web Services Region in which the resource was created and exists. + Region *string `type:"string"` + + // The type of the resource. + ResourceType *string `type:"string"` + + // The Amazon Web Service that owns the resource and is responsible for creating + // and updating it. + Service *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 Resource) 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 Resource) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Resource) SetArn(v string) *Resource { + s.Arn = &v + return s +} + +// SetLastReportedAt sets the LastReportedAt field's value. +func (s *Resource) SetLastReportedAt(v time.Time) *Resource { + s.LastReportedAt = &v + return s +} + +// SetOwningAccountId sets the OwningAccountId field's value. +func (s *Resource) SetOwningAccountId(v string) *Resource { + s.OwningAccountId = &v + return s +} + +// SetProperties sets the Properties field's value. +func (s *Resource) SetProperties(v []*ResourceProperty) *Resource { + s.Properties = v + return s +} + +// SetRegion sets the Region field's value. +func (s *Resource) SetRegion(v string) *Resource { + s.Region = &v + return s +} + +// SetResourceType sets the ResourceType field's value. +func (s *Resource) SetResourceType(v string) *Resource { + s.ResourceType = &v + return s +} + +// SetService sets the Service field's value. +func (s *Resource) SetService(v string) *Resource { + s.Service = &v + return s +} + +// Information about the number of results that match the query. At this time, +// Amazon Web Services Resource Explorer doesn't count more than 1,000 matches +// for any query. This structure provides information about whether the query +// exceeded this limit. +// +// This field is included in every page when you paginate the results. +type ResourceCount struct { + _ struct{} `type:"structure"` + + // Indicates whether the TotalResources value represents an exhaustive count + // of search results. + // + // * If True, it indicates that the search was exhaustive. Every resource + // that matches the query was counted. + // + // * If False, then the search reached the limit of 1,000 matching results, + // and stopped counting. + Complete *bool `type:"boolean"` + + // The number of resources that match the search query. This value can't exceed + // 1,000. If there are more than 1,000 resources that match the query, then + // only 1,000 are counted and the Complete field is set to false. We recommend + // that you refine your query to return a smaller number of results. + TotalResources *int64 `type:"long"` +} + +// 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 ResourceCount) 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 ResourceCount) GoString() string { + return s.String() +} + +// SetComplete sets the Complete field's value. +func (s *ResourceCount) SetComplete(v bool) *ResourceCount { + s.Complete = &v + return s +} + +// SetTotalResources sets the TotalResources field's value. +func (s *ResourceCount) SetTotalResources(v int64) *ResourceCount { + s.TotalResources = &v + return s +} + +// You specified a resource that doesn't exist. Check the ID or ARN that you +// used to identity the resource, and try again. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceNotFoundException) 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 ResourceNotFoundException) GoString() string { + return s.String() +} + +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" +} + +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil +} + +func (s *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +// A structure that describes a property of a resource. +type ResourceProperty struct { + _ struct{} `type:"structure"` + + // The date and time that the information about this resource property was last + // updated. + LastReportedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` + + // The name of this property of the resource. + Name *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 ResourceProperty) 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 ResourceProperty) GoString() string { + return s.String() +} + +// SetLastReportedAt sets the LastReportedAt field's value. +func (s *ResourceProperty) SetLastReportedAt(v time.Time) *ResourceProperty { + s.LastReportedAt = &v + return s +} + +// SetName sets the Name field's value. +func (s *ResourceProperty) SetName(v string) *ResourceProperty { + s.Name = &v + return s +} + +// A search filter defines which resources can be part of a search query result +// set. +type SearchFilter struct { + _ struct{} `type:"structure" sensitive:"true"` + + // The string that contains the search keywords, prefixes, and operators to + // control the results that can be returned by a Search operation. For more + // details, see Search query syntax (https://docs.aws.amazon.com/resource-explorer/latest/APIReference/about-query-syntax.html). + // + // FilterString is a required field + FilterString *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 SearchFilter) 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 SearchFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SearchFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchFilter"} + if s.FilterString == nil { + invalidParams.Add(request.NewErrParamRequired("FilterString")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilterString sets the FilterString field's value. +func (s *SearchFilter) SetFilterString(v string) *SearchFilter { + s.FilterString = &v + return s +} + +type SearchInput struct { + _ struct{} `type:"structure"` + + // The maximum number of results that you want included on each page of the + // response. If you do not include this parameter, it defaults to a value appropriate + // to the operation. If additional items exist beyond those included in the + // current response, the NextToken response element is present and has a value + // (is not null). Include that value as the NextToken request parameter in the + // next call to the operation to get the next part of the results. + // + // An API operation can return fewer results than the maximum even when there + // are more results available. You should check NextToken after every operation + // to ensure that you receive all of the results. + MaxResults *int64 `min:"1" type:"integer"` + + // The parameter for receiving additional results if you receive a NextToken + // response in a previous request. A NextToken response indicates that more + // output is available. Set this parameter to the value of the previous call's + // NextToken response to indicate where the output should continue from. + NextToken *string `min:"1" type:"string"` + + // A string that includes keywords and filters that specify the resources that + // you want to include in the results. + // + // For the complete syntax supported by the QueryString parameter, see Search + // query syntax reference for Resource Explorer (https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html). + // + // The search is completely case insensitive. You can specify an empty string + // to return all results up to the limit of 1,000 total results. + // + // The operation can return only the first 1,000 results. If the resource you + // want is not included, then use a different value for QueryString to refine + // the results. + // + // QueryString is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by SearchInput's + // String and GoString methods. + // + // QueryString is a required field + QueryString *string `type:"string" required:"true" sensitive:"true"` + + // Specifies the Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view to use for the query. If you don't specify a value for this parameter, + // then the operation automatically uses the default view for the Amazon Web + // Services Region in which you called this operation. If the Region either + // doesn't have a default view or if you don't have permission to use the default + // view, then the operation fails with a 401 Unauthorized exception. + ViewArn *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 SearchInput) 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 SearchInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SearchInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.QueryString == nil { + invalidParams.Add(request.NewErrParamRequired("QueryString")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *SearchInput) SetMaxResults(v int64) *SearchInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchInput) SetNextToken(v string) *SearchInput { + s.NextToken = &v + return s +} + +// SetQueryString sets the QueryString field's value. +func (s *SearchInput) SetQueryString(v string) *SearchInput { + s.QueryString = &v + return s +} + +// SetViewArn sets the ViewArn field's value. +func (s *SearchInput) SetViewArn(v string) *SearchInput { + s.ViewArn = &v + return s +} + +type SearchOutput struct { + _ struct{} `type:"structure"` + + // The number of resources that match the query. + Count *ResourceCount `type:"structure"` + + // If present, indicates that more output is available than is included in the + // current response. Use this value in the NextToken request parameter in a + // subsequent call to the operation to get the next part of the output. You + // should repeat this until the NextToken response element comes back as null. + NextToken *string `min:"1" type:"string"` + + // The list of structures that describe the resources that match the query. + Resources []*Resource `type:"list"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view that this operation used to perform the search. + ViewArn *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchOutput) 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 SearchOutput) GoString() string { + return s.String() +} + +// SetCount sets the Count field's value. +func (s *SearchOutput) SetCount(v *ResourceCount) *SearchOutput { + s.Count = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchOutput) SetNextToken(v string) *SearchOutput { + s.NextToken = &v + return s +} + +// SetResources sets the Resources field's value. +func (s *SearchOutput) SetResources(v []*Resource) *SearchOutput { + s.Resources = v + return s +} + +// SetViewArn sets the ViewArn field's value. +func (s *SearchOutput) SetViewArn(v string) *SearchOutput { + s.ViewArn = &v + return s +} + +// The request failed because it exceeds a service quota. +type ServiceQuotaExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The name of the service quota that was exceeded by the request. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // The current value for the quota that the request tried to exceed. + // + // Value is a required field + Value *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 ServiceQuotaExceededException) 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 ServiceQuotaExceededException) GoString() string { + return s.String() +} + +func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error { + return &ServiceQuotaExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ServiceQuotaExceededException) Code() string { + return "ServiceQuotaExceededException" +} + +// Message returns the exception's message. +func (s *ServiceQuotaExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ServiceQuotaExceededException) OrigErr() error { + return nil +} + +func (s *ServiceQuotaExceededException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ServiceQuotaExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ServiceQuotaExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + +// A structure that describes a resource type supported by Amazon Web Services +// Resource Explorer. +type SupportedResourceType struct { + _ struct{} `type:"structure"` + + // The unique identifier of the resource type. + ResourceType *string `type:"string"` + + // The Amazon Web Service that is associated with the resource type. This is + // the primary service that lets you create and interact with resources of this + // type. + Service *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 SupportedResourceType) 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 SupportedResourceType) GoString() string { + return s.String() +} + +// SetResourceType sets the ResourceType field's value. +func (s *SupportedResourceType) SetResourceType(v string) *SupportedResourceType { + s.ResourceType = &v + return s +} + +// SetService sets the Service field's value. +func (s *SupportedResourceType) SetService(v string) *SupportedResourceType { + s.Service = &v + return s +} + +type TagResourceInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the view or index that you want to attach + // tags to. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + + // A list of tag key and value pairs that you want to attach to the specified + // view or index. + Tags map[string]*string `type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceInput) 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 TagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { + s.Tags = v + return s +} + +type TagResourceOutput struct { + _ struct{} `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 TagResourceOutput) 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 TagResourceOutput) GoString() string { + return s.String() +} + +// The request failed because you exceeded a rate limit for this operation. +// For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) GoString() string { + return s.String() +} + +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" +} + +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil +} + +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The principal making the request isn't permitted to perform the operation. +type UnauthorizedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UnauthorizedException) 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 UnauthorizedException) GoString() string { + return s.String() +} + +func newErrorUnauthorizedException(v protocol.ResponseMetadata) error { + return &UnauthorizedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *UnauthorizedException) Code() string { + return "UnauthorizedException" +} + +// Message returns the exception's message. +func (s *UnauthorizedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *UnauthorizedException) OrigErr() error { + return nil +} + +func (s *UnauthorizedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *UnauthorizedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *UnauthorizedException) RequestID() string { + return s.RespMetadata.RequestID +} + +type UntagResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Resource Name (ARN) of the view or index that you want to remove + // tags from. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + + // A list of the keys for the tags that you want to remove from the specified + // view or index. + // + // TagKeys is a required field + TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceInput) 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 UntagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UntagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTagKeys sets the TagKeys field's value. +func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { + s.TagKeys = v + return s +} + +type UntagResourceOutput struct { + _ struct{} `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 UntagResourceOutput) 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 UntagResourceOutput) GoString() string { + return s.String() +} + +type UpdateIndexTypeInput struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the index that you want to update. + // + // Arn is a required field + Arn *string `type:"string" required:"true"` + + // The type of the index. To understand the difference between LOCAL and AGGREGATOR, + // see Turning on cross-Region search (https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html) + // in the Amazon Web Services Resource Explorer User Guide. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"IndexType"` +} + +// 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 UpdateIndexTypeInput) 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 UpdateIndexTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateIndexTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateIndexTypeInput"} + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetArn sets the Arn field's value. +func (s *UpdateIndexTypeInput) SetArn(v string) *UpdateIndexTypeInput { + s.Arn = &v + return s +} + +// SetType sets the Type field's value. +func (s *UpdateIndexTypeInput) SetType(v string) *UpdateIndexTypeInput { + s.Type = &v + return s +} + +type UpdateIndexTypeOutput struct { + _ struct{} `type:"structure"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the index that you updated. + Arn *string `type:"string"` + + // The date and timestamp when the index was last updated. + LastUpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` + + // Indicates the state of the request to update the index. This operation is + // asynchronous. Call the GetIndex operation to check for changes. + State *string `type:"string" enum:"IndexState"` + + // Specifies the type of the specified index after the operation completes. + Type *string `type:"string" enum:"IndexType"` +} + +// 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 UpdateIndexTypeOutput) 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 UpdateIndexTypeOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *UpdateIndexTypeOutput) SetArn(v string) *UpdateIndexTypeOutput { + s.Arn = &v + return s +} + +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *UpdateIndexTypeOutput) SetLastUpdatedAt(v time.Time) *UpdateIndexTypeOutput { + s.LastUpdatedAt = &v + return s +} + +// SetState sets the State field's value. +func (s *UpdateIndexTypeOutput) SetState(v string) *UpdateIndexTypeOutput { + s.State = &v + return s +} + +// SetType sets the Type field's value. +func (s *UpdateIndexTypeOutput) SetType(v string) *UpdateIndexTypeOutput { + s.Type = &v + return s +} + +type UpdateViewInput struct { + _ struct{} `type:"structure"` + + // An array of strings that specify which resources are included in the results + // of queries made using this view. When you use this view in a Search operation, + // the filter string is combined with the search's QueryString parameter using + // a logical AND operator. + // + // For information about the supported syntax, see Search query reference for + // Resource Explorer (https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) + // in the Amazon Web Services Resource Explorer User Guide. + // + // This query string in the context of this operation supports only filter prefixes + // (https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) + // with optional operators (https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-operators). + // It doesn't support free-form text. For example, the string region:us* service:ec2 + // -tag:stage=prod includes all Amazon EC2 resources in any Amazon Web Services + // Region that begins with the letters us and is not tagged with a key Stage + // that has the value prod. + // + // Filters is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by UpdateViewInput's + // String and GoString methods. + Filters *SearchFilter `type:"structure" sensitive:"true"` + + // Specifies optional fields that you want included in search results from this + // view. It is a list of objects that each describe a field to include. + // + // The default is an empty list, with no optional fields included in the results. + IncludedProperties []*IncludedProperty `type:"list"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view that you want to modify. + // + // ViewArn is a required field + ViewArn *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateViewInput) 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 UpdateViewInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateViewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateViewInput"} + if s.ViewArn == nil { + invalidParams.Add(request.NewErrParamRequired("ViewArn")) + } + if s.ViewArn != nil && len(*s.ViewArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ViewArn", 1)) + } + if s.Filters != nil { + if err := s.Filters.Validate(); err != nil { + invalidParams.AddNested("Filters", err.(request.ErrInvalidParams)) + } + } + if s.IncludedProperties != nil { + for i, v := range s.IncludedProperties { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IncludedProperties", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilters sets the Filters field's value. +func (s *UpdateViewInput) SetFilters(v *SearchFilter) *UpdateViewInput { + s.Filters = v + return s +} + +// SetIncludedProperties sets the IncludedProperties field's value. +func (s *UpdateViewInput) SetIncludedProperties(v []*IncludedProperty) *UpdateViewInput { + s.IncludedProperties = v + return s +} + +// SetViewArn sets the ViewArn field's value. +func (s *UpdateViewInput) SetViewArn(v string) *UpdateViewInput { + s.ViewArn = &v + return s +} + +type UpdateViewOutput struct { + _ struct{} `type:"structure"` + + // Details about the view that you changed with this operation. + View *View `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 UpdateViewOutput) 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 UpdateViewOutput) GoString() string { + return s.String() +} + +// SetView sets the View field's value. +func (s *UpdateViewOutput) SetView(v *View) *UpdateViewOutput { + s.View = v + return s +} + +// You provided an invalid value for one of the operation's parameters. Check +// the syntax for the operation, and try again. +type ValidationException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // An array of the request fields that had validation errors. + FieldList []*ValidationExceptionField `type:"list"` + + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationException) GoString() string { + return s.String() +} + +func newErrorValidationException(v protocol.ResponseMetadata) error { + return &ValidationException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ValidationException) Code() string { + return "ValidationException" +} + +// Message returns the exception's message. +func (s *ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ValidationException) OrigErr() error { + return nil +} + +func (s *ValidationException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ValidationException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ValidationException) RequestID() string { + return s.RespMetadata.RequestID +} + +// A structure that describes a request field with a validation error. +type ValidationExceptionField struct { + _ struct{} `type:"structure"` + + // The name of the request field that had a validation error. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // The validation error caused by the request field. + // + // ValidationIssue is a required field + ValidationIssue *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 ValidationExceptionField) 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 ValidationExceptionField) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField { + s.Name = &v + return s +} + +// SetValidationIssue sets the ValidationIssue field's value. +func (s *ValidationExceptionField) SetValidationIssue(v string) *ValidationExceptionField { + s.ValidationIssue = &v + return s +} + +// A view is a structure that defines a set of filters that provide a view into +// the information in the Amazon Web Services Resource Explorer index. The filters +// specify which information from the index is visible to the users of the view. +// For example, you can specify filters that include only resources that are +// tagged with the key "ENV" and the value "DEVELOPMENT" in the results returned +// by this view. You could also create a second view that includes only resources +// that are tagged with "ENV" and "PRODUCTION". +type View struct { + _ struct{} `type:"structure"` + + // An array of SearchFilter objects that specify which resources can be included + // in the results of queries made using this view. + // + // Filters is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by View's + // String and GoString methods. + Filters *SearchFilter `type:"structure" sensitive:"true"` + + // A structure that contains additional information about the view. + IncludedProperties []*IncludedProperty `type:"list"` + + // The date and time when this view was last modified. + LastUpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` + + // The Amazon Web Services account that owns this view. + Owner *string `type:"string"` + + // An Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of an Amazon Web Services account, an organization, or an organizational + // unit (OU) that specifies whether this view includes resources from only the + // specified Amazon Web Services account, all accounts in the specified organization, + // or all accounts in the specified OU. + // + // If not specified, the value defaults to the Amazon Web Services account used + // to call this operation. + Scope *string `type:"string"` + + // The Amazon resource name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the view. + ViewArn *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 View) 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 View) GoString() string { + return s.String() +} + +// SetFilters sets the Filters field's value. +func (s *View) SetFilters(v *SearchFilter) *View { + s.Filters = v + return s +} + +// SetIncludedProperties sets the IncludedProperties field's value. +func (s *View) SetIncludedProperties(v []*IncludedProperty) *View { + s.IncludedProperties = v + return s +} + +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *View) SetLastUpdatedAt(v time.Time) *View { + s.LastUpdatedAt = &v + return s +} + +// SetOwner sets the Owner field's value. +func (s *View) SetOwner(v string) *View { + s.Owner = &v + return s +} + +// SetScope sets the Scope field's value. +func (s *View) SetScope(v string) *View { + s.Scope = &v + return s +} + +// SetViewArn sets the ViewArn field's value. +func (s *View) SetViewArn(v string) *View { + s.ViewArn = &v + return s +} + +const ( + // IndexStateCreating is a IndexState enum value + IndexStateCreating = "CREATING" + + // IndexStateActive is a IndexState enum value + IndexStateActive = "ACTIVE" + + // IndexStateDeleting is a IndexState enum value + IndexStateDeleting = "DELETING" + + // IndexStateDeleted is a IndexState enum value + IndexStateDeleted = "DELETED" + + // IndexStateUpdating is a IndexState enum value + IndexStateUpdating = "UPDATING" +) + +// IndexState_Values returns all elements of the IndexState enum +func IndexState_Values() []string { + return []string{ + IndexStateCreating, + IndexStateActive, + IndexStateDeleting, + IndexStateDeleted, + IndexStateUpdating, + } +} + +const ( + // IndexTypeLocal is a IndexType enum value + IndexTypeLocal = "LOCAL" + + // IndexTypeAggregator is a IndexType enum value + IndexTypeAggregator = "AGGREGATOR" +) + +// IndexType_Values returns all elements of the IndexType enum +func IndexType_Values() []string { + return []string{ + IndexTypeLocal, + IndexTypeAggregator, + } +} diff --git a/service/resourceexplorer2/doc.go b/service/resourceexplorer2/doc.go new file mode 100644 index 0000000000..fbbf633b51 --- /dev/null +++ b/service/resourceexplorer2/doc.go @@ -0,0 +1,67 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package resourceexplorer2 provides the client and types for making API +// requests to AWS Resource Explorer. +// +// Amazon Web Services Resource Explorer is a resource search and discovery +// service. By using Resource Explorer, you can explore your resources using +// an internet search engine-like experience. Examples of resources include +// Amazon Relational Database Service (Amazon RDS) instances, Amazon Simple +// Storage Service (Amazon S3) buckets, or Amazon DynamoDB tables. You can search +// for your resources using resource metadata like names, tags, and IDs. Resource +// Explorer can search across all of the Amazon Web Services Regions in your +// account in which you turn the service on, to simplify your cross-Region workloads. +// +// Resource Explorer scans the resources in each of the Amazon Web Services +// Regions in your Amazon Web Services account in which you turn on Resource +// Explorer. Resource Explorer creates and maintains an index (https://docs.aws.amazon.com/arexug/mainline/getting-started-terms-and-concepts.html#term-index) +// in each Region, with the details of that Region's resources. +// +// You can search across all of the indexed Regions in your account (https://docs.aws.amazon.com/arexug/mainline/manage-aggregator-region.html) +// by designating one of your Amazon Web Services Regions to contain the aggregator +// index for the account. When you promote a local index in a Region to become +// the aggregator index for the account (https://docs.aws.amazon.com/arexug/mainline/manage-aggregator-region-turn-on.html), +// Resource Explorer automatically replicates the index information from all +// local indexes in the other Regions to the aggregator index. Therefore, the +// Region with the aggregator index has a copy of all resource information for +// all Regions in the account where you turned on Resource Explorer. As a result, +// views in the aggregator index Region include resources from all of the indexed +// Regions in your account. +// +//

For more information about Amazon Web Services Resource Explorer, including +// how to enable and configure the service, see the Amazon +// Web Services Resource Explorer User Guide.

The example +// HTTP query requests and responses in this guide are displayed with the +// JSON formatted across multiple lines for +// readability. The actual query responses from the Resource Explorer service +// do not include this extra whitespace.

We want your +// feedback about this documentation

Our goal is to help you +// get everything you can from Resource Explorer. If this guide helps you +// to do that, then let us know. If the guide isn't helping you, then we +// want to hear from you so we can address the issue. Use the Feedback +// link that's in the upper-right corner of every page. That sends your comments +// directly to the writers of this guide. We review every submission, looking +// for opportunities to improve the documentation. Thank you in advance for +// your help!

+// +// See https://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28 for more information on this service. +// +// See resourceexplorer2 package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/resourceexplorer2/ +// +// # Using the Client +// +// To contact AWS Resource Explorer with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS Resource Explorer client ResourceExplorer2 for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/resourceexplorer2/#New +package resourceexplorer2 diff --git a/service/resourceexplorer2/errors.go b/service/resourceexplorer2/errors.go new file mode 100644 index 0000000000..db1053455d --- /dev/null +++ b/service/resourceexplorer2/errors.go @@ -0,0 +1,76 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package resourceexplorer2 + +import ( + "github.com/aws/aws-sdk-go/private/protocol" +) + +const ( + + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // The credentials that you used to call this operation don't have the minimum + // required permissions. + ErrCodeAccessDeniedException = "AccessDeniedException" + + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // You tried to create a new view or index when one already exists, and you + // either didn't specify or specified a different idempotency token as the original + // request. + ErrCodeConflictException = "ConflictException" + + // ErrCodeInternalServerException for service response error code + // "InternalServerException". + // + // The request failed because of internal service error. Try your request again + // later. + ErrCodeInternalServerException = "InternalServerException" + + // ErrCodeResourceNotFoundException for service response error code + // "ResourceNotFoundException". + // + // You specified a resource that doesn't exist. Check the ID or ARN that you + // used to identity the resource, and try again. + ErrCodeResourceNotFoundException = "ResourceNotFoundException" + + // ErrCodeServiceQuotaExceededException for service response error code + // "ServiceQuotaExceededException". + // + // The request failed because it exceeds a service quota. + ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" + + // ErrCodeThrottlingException for service response error code + // "ThrottlingException". + // + // The request failed because you exceeded a rate limit for this operation. + // For more information, see Quotas for Resource Explorer (https://docs.aws.amazon.com/arexug/mainline/quotas.html). + ErrCodeThrottlingException = "ThrottlingException" + + // ErrCodeUnauthorizedException for service response error code + // "UnauthorizedException". + // + // The principal making the request isn't permitted to perform the operation. + ErrCodeUnauthorizedException = "UnauthorizedException" + + // ErrCodeValidationException for service response error code + // "ValidationException". + // + // You provided an invalid value for one of the operation's parameters. Check + // the syntax for the operation, and try again. + ErrCodeValidationException = "ValidationException" +) + +var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ + "AccessDeniedException": newErrorAccessDeniedException, + "ConflictException": newErrorConflictException, + "InternalServerException": newErrorInternalServerException, + "ResourceNotFoundException": newErrorResourceNotFoundException, + "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, + "ThrottlingException": newErrorThrottlingException, + "UnauthorizedException": newErrorUnauthorizedException, + "ValidationException": newErrorValidationException, +} diff --git a/service/resourceexplorer2/resourceexplorer2iface/interface.go b/service/resourceexplorer2/resourceexplorer2iface/interface.go new file mode 100644 index 0000000000..adc5dafecc --- /dev/null +++ b/service/resourceexplorer2/resourceexplorer2iface/interface.go @@ -0,0 +1,152 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package resourceexplorer2iface provides an interface to enable mocking the AWS Resource Explorer service client +// for testing your code. +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. +package resourceexplorer2iface + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/service/resourceexplorer2" +) + +// ResourceExplorer2API provides an interface to enable mocking the +// resourceexplorer2.ResourceExplorer2 service client's API operation, +// paginators, and waiters. This make unit testing your code that calls out +// to the SDK's service client's calls easier. +// +// The best way to use this interface is so the SDK's service client's calls +// can be stubbed out for unit testing your code with the SDK without needing +// to inject custom request handlers into the SDK's request pipeline. +// +// // myFunc uses an SDK service client to make a request to +// // AWS Resource Explorer. +// func myFunc(svc resourceexplorer2iface.ResourceExplorer2API) bool { +// // Make svc.AssociateDefaultView request +// } +// +// func main() { +// sess := session.New() +// svc := resourceexplorer2.New(sess) +// +// myFunc(svc) +// } +// +// In your _test.go file: +// +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockResourceExplorer2Client struct { +// resourceexplorer2iface.ResourceExplorer2API +// } +// func (m *mockResourceExplorer2Client) AssociateDefaultView(input *resourceexplorer2.AssociateDefaultViewInput) (*resourceexplorer2.AssociateDefaultViewOutput, error) { +// // mock response/functionality +// } +// +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockResourceExplorer2Client{} +// +// myfunc(mockSvc) +// +// // Verify myFunc's functionality +// } +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. Its suggested to use the pattern above for testing, or using +// tooling to generate mocks to satisfy the interfaces. +type ResourceExplorer2API interface { + AssociateDefaultView(*resourceexplorer2.AssociateDefaultViewInput) (*resourceexplorer2.AssociateDefaultViewOutput, error) + AssociateDefaultViewWithContext(aws.Context, *resourceexplorer2.AssociateDefaultViewInput, ...request.Option) (*resourceexplorer2.AssociateDefaultViewOutput, error) + AssociateDefaultViewRequest(*resourceexplorer2.AssociateDefaultViewInput) (*request.Request, *resourceexplorer2.AssociateDefaultViewOutput) + + BatchGetView(*resourceexplorer2.BatchGetViewInput) (*resourceexplorer2.BatchGetViewOutput, error) + BatchGetViewWithContext(aws.Context, *resourceexplorer2.BatchGetViewInput, ...request.Option) (*resourceexplorer2.BatchGetViewOutput, error) + BatchGetViewRequest(*resourceexplorer2.BatchGetViewInput) (*request.Request, *resourceexplorer2.BatchGetViewOutput) + + CreateIndex(*resourceexplorer2.CreateIndexInput) (*resourceexplorer2.CreateIndexOutput, error) + CreateIndexWithContext(aws.Context, *resourceexplorer2.CreateIndexInput, ...request.Option) (*resourceexplorer2.CreateIndexOutput, error) + CreateIndexRequest(*resourceexplorer2.CreateIndexInput) (*request.Request, *resourceexplorer2.CreateIndexOutput) + + CreateView(*resourceexplorer2.CreateViewInput) (*resourceexplorer2.CreateViewOutput, error) + CreateViewWithContext(aws.Context, *resourceexplorer2.CreateViewInput, ...request.Option) (*resourceexplorer2.CreateViewOutput, error) + CreateViewRequest(*resourceexplorer2.CreateViewInput) (*request.Request, *resourceexplorer2.CreateViewOutput) + + DeleteIndex(*resourceexplorer2.DeleteIndexInput) (*resourceexplorer2.DeleteIndexOutput, error) + DeleteIndexWithContext(aws.Context, *resourceexplorer2.DeleteIndexInput, ...request.Option) (*resourceexplorer2.DeleteIndexOutput, error) + DeleteIndexRequest(*resourceexplorer2.DeleteIndexInput) (*request.Request, *resourceexplorer2.DeleteIndexOutput) + + DeleteView(*resourceexplorer2.DeleteViewInput) (*resourceexplorer2.DeleteViewOutput, error) + DeleteViewWithContext(aws.Context, *resourceexplorer2.DeleteViewInput, ...request.Option) (*resourceexplorer2.DeleteViewOutput, error) + DeleteViewRequest(*resourceexplorer2.DeleteViewInput) (*request.Request, *resourceexplorer2.DeleteViewOutput) + + DisassociateDefaultView(*resourceexplorer2.DisassociateDefaultViewInput) (*resourceexplorer2.DisassociateDefaultViewOutput, error) + DisassociateDefaultViewWithContext(aws.Context, *resourceexplorer2.DisassociateDefaultViewInput, ...request.Option) (*resourceexplorer2.DisassociateDefaultViewOutput, error) + DisassociateDefaultViewRequest(*resourceexplorer2.DisassociateDefaultViewInput) (*request.Request, *resourceexplorer2.DisassociateDefaultViewOutput) + + GetDefaultView(*resourceexplorer2.GetDefaultViewInput) (*resourceexplorer2.GetDefaultViewOutput, error) + GetDefaultViewWithContext(aws.Context, *resourceexplorer2.GetDefaultViewInput, ...request.Option) (*resourceexplorer2.GetDefaultViewOutput, error) + GetDefaultViewRequest(*resourceexplorer2.GetDefaultViewInput) (*request.Request, *resourceexplorer2.GetDefaultViewOutput) + + GetIndex(*resourceexplorer2.GetIndexInput) (*resourceexplorer2.GetIndexOutput, error) + GetIndexWithContext(aws.Context, *resourceexplorer2.GetIndexInput, ...request.Option) (*resourceexplorer2.GetIndexOutput, error) + GetIndexRequest(*resourceexplorer2.GetIndexInput) (*request.Request, *resourceexplorer2.GetIndexOutput) + + GetView(*resourceexplorer2.GetViewInput) (*resourceexplorer2.GetViewOutput, error) + GetViewWithContext(aws.Context, *resourceexplorer2.GetViewInput, ...request.Option) (*resourceexplorer2.GetViewOutput, error) + GetViewRequest(*resourceexplorer2.GetViewInput) (*request.Request, *resourceexplorer2.GetViewOutput) + + ListIndexes(*resourceexplorer2.ListIndexesInput) (*resourceexplorer2.ListIndexesOutput, error) + ListIndexesWithContext(aws.Context, *resourceexplorer2.ListIndexesInput, ...request.Option) (*resourceexplorer2.ListIndexesOutput, error) + ListIndexesRequest(*resourceexplorer2.ListIndexesInput) (*request.Request, *resourceexplorer2.ListIndexesOutput) + + ListIndexesPages(*resourceexplorer2.ListIndexesInput, func(*resourceexplorer2.ListIndexesOutput, bool) bool) error + ListIndexesPagesWithContext(aws.Context, *resourceexplorer2.ListIndexesInput, func(*resourceexplorer2.ListIndexesOutput, bool) bool, ...request.Option) error + + ListSupportedResourceTypes(*resourceexplorer2.ListSupportedResourceTypesInput) (*resourceexplorer2.ListSupportedResourceTypesOutput, error) + ListSupportedResourceTypesWithContext(aws.Context, *resourceexplorer2.ListSupportedResourceTypesInput, ...request.Option) (*resourceexplorer2.ListSupportedResourceTypesOutput, error) + ListSupportedResourceTypesRequest(*resourceexplorer2.ListSupportedResourceTypesInput) (*request.Request, *resourceexplorer2.ListSupportedResourceTypesOutput) + + ListSupportedResourceTypesPages(*resourceexplorer2.ListSupportedResourceTypesInput, func(*resourceexplorer2.ListSupportedResourceTypesOutput, bool) bool) error + ListSupportedResourceTypesPagesWithContext(aws.Context, *resourceexplorer2.ListSupportedResourceTypesInput, func(*resourceexplorer2.ListSupportedResourceTypesOutput, bool) bool, ...request.Option) error + + ListTagsForResource(*resourceexplorer2.ListTagsForResourceInput) (*resourceexplorer2.ListTagsForResourceOutput, error) + ListTagsForResourceWithContext(aws.Context, *resourceexplorer2.ListTagsForResourceInput, ...request.Option) (*resourceexplorer2.ListTagsForResourceOutput, error) + ListTagsForResourceRequest(*resourceexplorer2.ListTagsForResourceInput) (*request.Request, *resourceexplorer2.ListTagsForResourceOutput) + + ListViews(*resourceexplorer2.ListViewsInput) (*resourceexplorer2.ListViewsOutput, error) + ListViewsWithContext(aws.Context, *resourceexplorer2.ListViewsInput, ...request.Option) (*resourceexplorer2.ListViewsOutput, error) + ListViewsRequest(*resourceexplorer2.ListViewsInput) (*request.Request, *resourceexplorer2.ListViewsOutput) + + ListViewsPages(*resourceexplorer2.ListViewsInput, func(*resourceexplorer2.ListViewsOutput, bool) bool) error + ListViewsPagesWithContext(aws.Context, *resourceexplorer2.ListViewsInput, func(*resourceexplorer2.ListViewsOutput, bool) bool, ...request.Option) error + + Search(*resourceexplorer2.SearchInput) (*resourceexplorer2.SearchOutput, error) + SearchWithContext(aws.Context, *resourceexplorer2.SearchInput, ...request.Option) (*resourceexplorer2.SearchOutput, error) + SearchRequest(*resourceexplorer2.SearchInput) (*request.Request, *resourceexplorer2.SearchOutput) + + SearchPages(*resourceexplorer2.SearchInput, func(*resourceexplorer2.SearchOutput, bool) bool) error + SearchPagesWithContext(aws.Context, *resourceexplorer2.SearchInput, func(*resourceexplorer2.SearchOutput, bool) bool, ...request.Option) error + + TagResource(*resourceexplorer2.TagResourceInput) (*resourceexplorer2.TagResourceOutput, error) + TagResourceWithContext(aws.Context, *resourceexplorer2.TagResourceInput, ...request.Option) (*resourceexplorer2.TagResourceOutput, error) + TagResourceRequest(*resourceexplorer2.TagResourceInput) (*request.Request, *resourceexplorer2.TagResourceOutput) + + UntagResource(*resourceexplorer2.UntagResourceInput) (*resourceexplorer2.UntagResourceOutput, error) + UntagResourceWithContext(aws.Context, *resourceexplorer2.UntagResourceInput, ...request.Option) (*resourceexplorer2.UntagResourceOutput, error) + UntagResourceRequest(*resourceexplorer2.UntagResourceInput) (*request.Request, *resourceexplorer2.UntagResourceOutput) + + UpdateIndexType(*resourceexplorer2.UpdateIndexTypeInput) (*resourceexplorer2.UpdateIndexTypeOutput, error) + UpdateIndexTypeWithContext(aws.Context, *resourceexplorer2.UpdateIndexTypeInput, ...request.Option) (*resourceexplorer2.UpdateIndexTypeOutput, error) + UpdateIndexTypeRequest(*resourceexplorer2.UpdateIndexTypeInput) (*request.Request, *resourceexplorer2.UpdateIndexTypeOutput) + + UpdateView(*resourceexplorer2.UpdateViewInput) (*resourceexplorer2.UpdateViewOutput, error) + UpdateViewWithContext(aws.Context, *resourceexplorer2.UpdateViewInput, ...request.Option) (*resourceexplorer2.UpdateViewOutput, error) + UpdateViewRequest(*resourceexplorer2.UpdateViewInput) (*request.Request, *resourceexplorer2.UpdateViewOutput) +} + +var _ ResourceExplorer2API = (*resourceexplorer2.ResourceExplorer2)(nil) diff --git a/service/resourceexplorer2/service.go b/service/resourceexplorer2/service.go new file mode 100644 index 0000000000..d24f8bdb86 --- /dev/null +++ b/service/resourceexplorer2/service.go @@ -0,0 +1,106 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package resourceexplorer2 + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// ResourceExplorer2 provides the API operation methods for making requests to +// AWS Resource Explorer. See this package's package overview docs +// for details on the service. +// +// ResourceExplorer2 methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type ResourceExplorer2 struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "Resource Explorer 2" // Name of service. + EndpointsID = "resource-explorer-2" // ID to lookup a service endpoint with. + ServiceID = "Resource Explorer 2" // ServiceID is a unique identifier of a specific service. +) + +// New creates a new instance of the ResourceExplorer2 client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// +// mySession := session.Must(session.NewSession()) +// +// // Create a ResourceExplorer2 client from just a session. +// svc := resourceexplorer2.New(mySession) +// +// // Create a ResourceExplorer2 client with additional configuration +// svc := resourceexplorer2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *ResourceExplorer2 { + c := p.ClientConfig(EndpointsID, cfgs...) + if c.SigningNameDerived || len(c.SigningName) == 0 { + c.SigningName = "resource-explorer-2" + } + return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *ResourceExplorer2 { + svc := &ResourceExplorer2{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + ServiceID: ServiceID, + SigningName: signingName, + SigningRegion: signingRegion, + PartitionID: partitionID, + Endpoint: endpoint, + APIVersion: "2022-07-28", + ResolvedRegion: resolvedRegion, + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed( + protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(), + ) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a ResourceExplorer2 operation and runs any +// custom request initialization. +func (c *ResourceExplorer2) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/service/route53/api.go b/service/route53/api.go index faafd0aa36..3c08d2b6b7 100644 --- a/service/route53/api.go +++ b/service/route53/api.go @@ -1400,6 +1400,10 @@ func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfi // it can’t be used with the log group associated with query log. Update // or provide a resource policy to grant permissions for the KMS key. // +// - The Key management service (KMS) key you specified is marked as disabled +// for the log group associated with query log. Update or provide a resource +// policy to grant permissions for the KMS key. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfig func (c *Route53) CreateQueryLoggingConfig(input *CreateQueryLoggingConfigInput) (*CreateQueryLoggingConfigOutput, error) { req, out := c.CreateQueryLoggingConfigRequest(input) @@ -18312,9 +18316,6 @@ type ResourceRecordSet struct { // an ELB load balancer, and is referred to by an IP address or a DNS domain // name, depending on the record type. // - // Although creating latency and latency alias resource record sets in a private - // hosted zone is allowed, it's not supported. - // // When Amazon Route 53 receives a DNS query for a domain name and type for // which you have created latency resource record sets, Route 53 selects the // latency resource record set that has the lowest latency between the end user @@ -20343,6 +20344,9 @@ const ( // CloudWatchRegionEuCentral1 is a CloudWatchRegion enum value CloudWatchRegionEuCentral1 = "eu-central-1" + // CloudWatchRegionEuCentral2 is a CloudWatchRegion enum value + CloudWatchRegionEuCentral2 = "eu-central-2" + // CloudWatchRegionEuWest1 is a CloudWatchRegion enum value CloudWatchRegionEuWest1 = "eu-west-1" @@ -20425,6 +20429,7 @@ func CloudWatchRegion_Values() []string { CloudWatchRegionUsWest2, CloudWatchRegionCaCentral1, CloudWatchRegionEuCentral1, + CloudWatchRegionEuCentral2, CloudWatchRegionEuWest1, CloudWatchRegionEuWest2, CloudWatchRegionEuWest3, @@ -20720,6 +20725,9 @@ const ( // ResourceRecordSetRegionEuCentral1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionEuCentral1 = "eu-central-1" + // ResourceRecordSetRegionEuCentral2 is a ResourceRecordSetRegion enum value + ResourceRecordSetRegionEuCentral2 = "eu-central-2" + // ResourceRecordSetRegionApSoutheast1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionApSoutheast1 = "ap-southeast-1" @@ -20756,6 +20764,9 @@ const ( // ResourceRecordSetRegionMeSouth1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionMeSouth1 = "me-south-1" + // ResourceRecordSetRegionMeCentral1 is a ResourceRecordSetRegion enum value + ResourceRecordSetRegionMeCentral1 = "me-central-1" + // ResourceRecordSetRegionApSouth1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionApSouth1 = "ap-south-1" @@ -20778,6 +20789,7 @@ func ResourceRecordSetRegion_Values() []string { ResourceRecordSetRegionEuWest2, ResourceRecordSetRegionEuWest3, ResourceRecordSetRegionEuCentral1, + ResourceRecordSetRegionEuCentral2, ResourceRecordSetRegionApSoutheast1, ResourceRecordSetRegionApSoutheast2, ResourceRecordSetRegionApSoutheast3, @@ -20790,6 +20802,7 @@ func ResourceRecordSetRegion_Values() []string { ResourceRecordSetRegionCnNorthwest1, ResourceRecordSetRegionApEast1, ResourceRecordSetRegionMeSouth1, + ResourceRecordSetRegionMeCentral1, ResourceRecordSetRegionApSouth1, ResourceRecordSetRegionAfSouth1, ResourceRecordSetRegionEuSouth1, @@ -20877,6 +20890,9 @@ const ( // VPCRegionEuCentral1 is a VPCRegion enum value VPCRegionEuCentral1 = "eu-central-1" + // VPCRegionEuCentral2 is a VPCRegion enum value + VPCRegionEuCentral2 = "eu-central-2" + // VPCRegionApEast1 is a VPCRegion enum value VPCRegionApEast1 = "ap-east-1" @@ -20952,6 +20968,7 @@ func VPCRegion_Values() []string { VPCRegionEuWest2, VPCRegionEuWest3, VPCRegionEuCentral1, + VPCRegionEuCentral2, VPCRegionApEast1, VPCRegionMeSouth1, VPCRegionUsGovWest1, diff --git a/service/route53/doc.go b/service/route53/doc.go index e8efe56f1c..09a352bb6b 100644 --- a/service/route53/doc.go +++ b/service/route53/doc.go @@ -6,6 +6,18 @@ // Amazon Route 53 is a highly available and scalable Domain Name System (DNS) // web service. // +// You can use Route 53 to: +// +// - Register domain names. For more information, see How domain registration +// works (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-domain-registration.html). +// +// - Route internet traffic to the resources for your domain For more information, +// see How internet traffic is routed to your website or web application +// (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html). +// +// - Check the health of your resources. For more information, see How Route +// 53 checks the health of your resources (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-health-checks.html). +// // See https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01 for more information on this service. // // See route53 package documentation for more information. diff --git a/service/route53/errors.go b/service/route53/errors.go index f70b474d9d..a124f2121a 100644 --- a/service/route53/errors.go +++ b/service/route53/errors.go @@ -192,6 +192,10 @@ const ( // * The Key management service (KMS) key you specified doesn’t exist or // it can’t be used with the log group associated with query log. Update // or provide a resource policy to grant permissions for the KMS key. + // + // * The Key management service (KMS) key you specified is marked as disabled + // for the log group associated with query log. Update or provide a resource + // policy to grant permissions for the KMS key. ErrCodeInsufficientCloudWatchLogsResourcePolicy = "InsufficientCloudWatchLogsResourcePolicy" // ErrCodeInvalidArgument for service response error code