From bbeed81f5d6ff109a6d99c2e467c6ce4f181e429 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 13 Feb 2024 14:29:03 -0500 Subject: [PATCH] Release v1.50.17 (2024-02-13) (#5169) Release v1.50.17 (2024-02-13) === ### Service Client Updates * `service/lightsail`: Updates service API and documentation * This release adds support to upgrade the major version of a database. * `service/marketplace-catalog`: Updates service API and documentation * `service/resource-explorer-2`: Adds new service * `service/securitylake`: Updates service documentation --- CHANGELOG.md | 10 + aws/endpoints/defaults.go | 137 ++---------- aws/version.go | 2 +- models/apis/lightsail/2016-11-28/api-2.json | 3 +- models/apis/lightsail/2016-11-28/docs-2.json | 3 +- .../marketplace-catalog/2018-09-17/api-2.json | 13 ++ .../2018-09-17/docs-2.json | 21 +- .../2022-07-28/endpoint-rule-set-1.json | 161 ++++++++++---- .../2022-07-28/endpoint-tests-1.json | 207 +++++++++++++++++- .../apis/securitylake/2018-05-10/docs-2.json | 10 +- .../2018-05-10/endpoint-rule-set-1.json | 64 +++--- models/endpoints/endpoints.json | 120 ++-------- service/lightsail/api.go | 13 ++ service/marketplacecatalog/api.go | 62 +++++- service/securitylake/api.go | 28 ++- 15 files changed, 516 insertions(+), 338 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3e8e8869ea..e6c9d0f3b81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +Release v1.50.17 (2024-02-13) +=== + +### Service Client Updates +* `service/lightsail`: Updates service API and documentation + * This release adds support to upgrade the major version of a database. +* `service/marketplace-catalog`: Updates service API and documentation +* `service/resource-explorer-2`: Adds new service +* `service/securitylake`: Updates service documentation + Release v1.50.16 (2024-02-12) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 44819226422..09370d9d541 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -24783,113 +24783,64 @@ var awsPartition = partition{ }, }, "resource-explorer-2": service{ - Defaults: endpointDefaults{ - defaultKey{}: endpoint{ - DNSSuffix: "api.aws", - }, - defaultKey{ - Variant: fipsVariant, - }: endpoint{ - Hostname: "{service}-fips.{region}.{dnsSuffix}", - DNSSuffix: "api.aws", - }, - }, Endpoints: serviceEndpoints{ endpointKey{ Region: "ap-northeast-1", - }: endpoint{ - Hostname: "resource-explorer-2.ap-northeast-1.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "ap-northeast-2", - }: endpoint{ - Hostname: "resource-explorer-2.ap-northeast-2.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "ap-northeast-3", - }: endpoint{ - Hostname: "resource-explorer-2.ap-northeast-3.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "ap-south-1", - }: endpoint{ - Hostname: "resource-explorer-2.ap-south-1.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", - }: endpoint{ - Hostname: "resource-explorer-2.ap-southeast-1.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "ap-southeast-2", - }: endpoint{ - Hostname: "resource-explorer-2.ap-southeast-2.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "ap-southeast-3", - }: endpoint{ - Hostname: "resource-explorer-2.ap-southeast-3.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "ca-central-1", - }: endpoint{ - Hostname: "resource-explorer-2.ca-central-1.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "eu-central-1", - }: endpoint{ - Hostname: "resource-explorer-2.eu-central-1.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "eu-north-1", - }: endpoint{ - Hostname: "resource-explorer-2.eu-north-1.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "eu-west-1", - }: endpoint{ - Hostname: "resource-explorer-2.eu-west-1.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "eu-west-2", - }: endpoint{ - Hostname: "resource-explorer-2.eu-west-2.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "eu-west-3", - }: endpoint{ - Hostname: "resource-explorer-2.eu-west-3.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "me-south-1", - }: endpoint{ - Hostname: "resource-explorer-2.me-south-1.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "sa-east-1", - }: endpoint{ - Hostname: "resource-explorer-2.sa-east-1.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "us-east-1", - }: endpoint{ - Hostname: "resource-explorer-2.us-east-1.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "us-east-2", - }: endpoint{ - Hostname: "resource-explorer-2.us-east-2.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "us-west-1", - }: endpoint{ - Hostname: "resource-explorer-2.us-west-1.api.aws", - }, + }: endpoint{}, endpointKey{ Region: "us-west-2", - }: endpoint{ - Hostname: "resource-explorer-2.us-west-2.api.aws", - }, + }: endpoint{}, }, }, "resource-groups": service{ @@ -35996,31 +35947,6 @@ var awscnPartition = partition{ }: endpoint{}, }, }, - "resource-explorer-2": service{ - Defaults: endpointDefaults{ - defaultKey{}: endpoint{ - DNSSuffix: "api.amazonwebservices.com.cn", - }, - 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{ @@ -41446,31 +41372,6 @@ var awsusgovPartition = partition{ }, }, }, - "resource-explorer-2": service{ - Defaults: endpointDefaults{ - defaultKey{}: endpoint{ - DNSSuffix: "api.aws", - }, - 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 86437373e36..f7c969c0908 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.50.16" +const SDKVersion = "1.50.17" diff --git a/models/apis/lightsail/2016-11-28/api-2.json b/models/apis/lightsail/2016-11-28/api-2.json index cf47105ec27..eb165069453 100644 --- a/models/apis/lightsail/2016-11-28/api-2.json +++ b/models/apis/lightsail/2016-11-28/api-2.json @@ -8128,7 +8128,8 @@ "disableBackupRetention":{"shape":"boolean"}, "publiclyAccessible":{"shape":"boolean"}, "applyImmediately":{"shape":"boolean"}, - "caCertificateIdentifier":{"shape":"string"} + "caCertificateIdentifier":{"shape":"string"}, + "relationalDatabaseBlueprintId":{"shape":"string"} } }, "UpdateRelationalDatabaseResult":{ diff --git a/models/apis/lightsail/2016-11-28/docs-2.json b/models/apis/lightsail/2016-11-28/docs-2.json index 83d8c7cf8f8..caf2d390869 100644 --- a/models/apis/lightsail/2016-11-28/docs-2.json +++ b/models/apis/lightsail/2016-11-28/docs-2.json @@ -4927,7 +4927,8 @@ "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 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.

" + "UpdateRelationalDatabaseRequest$caCertificateIdentifier": "

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

", + "UpdateRelationalDatabaseRequest$relationalDatabaseBlueprintId": "

This parameter is used to update the major version of the database. Enter the blueprintId for the major version that you want to update to.

Use the GetRelationalDatabaseBlueprints action to get a list of available blueprint IDs.

" } }, "timestamp": { diff --git a/models/apis/marketplace-catalog/2018-09-17/api-2.json b/models/apis/marketplace-catalog/2018-09-17/api-2.json index 94e18ac083f..3d09902129b 100644 --- a/models/apis/marketplace-catalog/2018-09-17/api-2.json +++ b/models/apis/marketplace-catalog/2018-09-17/api-2.json @@ -1112,6 +1112,9 @@ "FailureDescription": { "shape": "ExceptionMessageContent" }, + "Intent": { + "shape": "Intent" + }, "StartTime": { "shape": "DateTimeISO8601" }, @@ -1439,6 +1442,13 @@ "pattern": "^[\\w\\-@]+$", "type": "string" }, + "Intent": { + "enum": [ + "VALIDATE", + "APPLY" + ], + "type": "string" + }, "InternalServiceException": { "error": { "httpStatusCode": 500 @@ -2637,6 +2647,9 @@ "ClientRequestToken": { "idempotencyToken": true, "shape": "ClientRequestToken" + }, + "Intent": { + "shape": "Intent" } }, "required": [ diff --git a/models/apis/marketplace-catalog/2018-09-17/docs-2.json b/models/apis/marketplace-catalog/2018-09-17/docs-2.json index dc477488bd9..ae0f5b5d15b 100644 --- a/models/apis/marketplace-catalog/2018-09-17/docs-2.json +++ b/models/apis/marketplace-catalog/2018-09-17/docs-2.json @@ -2,7 +2,7 @@ "version": "2.0", "service": "

Catalog API actions allow you to manage your entities through list, describe, and update capabilities. An entity can be a product or an offer on AWS Marketplace.

You can automate your entity update process by integrating the AWS Marketplace Catalog API with your AWS Marketplace product build or deployment pipelines. You can also create your own applications on top of the Catalog API to manage your products on AWS Marketplace.

", "operations": { - "BatchDescribeEntities": "

Returns metadata and content for multiple entities.

", + "BatchDescribeEntities": "

Returns metadata and content for multiple entities. This is the Batch version of the DescribeEntity API and uses the same IAM permission action as DescribeEntity API.

", "CancelChangeSet": "

Used to cancel an open change request. Must be sent before the status of the request changes to APPLYING, the final stage of completing your change request. You can describe a change during the 60-day request history retention period for API calls.

", "DeleteResourcePolicy": "

Deletes a resource-based policy on an entity that is identified by its resource ARN.

", "DescribeChangeSet": "

Provides information about a given change set.

", @@ -53,7 +53,7 @@ } }, "AmiProductFilters": { - "base": "

Object containing all the filter fields for AMI products. Client can add a maximum of 8 filters in a single ListEntities request.

", + "base": "

Object containing all the filter fields for AMI products. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

", "refs": { "EntityTypeFilters$AmiProductFilters": "

A filter for AMI products.

" } @@ -261,7 +261,7 @@ } }, "ContainerProductFilters": { - "base": "

Object containing all the filter fields for container products. Client can add a maximum of 8 filters in a single ListEntities request.

", + "base": "

Object containing all the filter fields for container products. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

", "refs": { "EntityTypeFilters$ContainerProductFilters": "

A filter for container products.

" } @@ -354,7 +354,7 @@ } }, "DataProductFilters": { - "base": "

Object containing all the filter fields for data products. Client can add a maximum of 8 filters in a single ListEntities request.

", + "base": "

Object containing all the filter fields for data products. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

", "refs": { "EntityTypeFilters$DataProductFilters": "

A filter for data products.

" } @@ -664,6 +664,13 @@ "EntityDetail$EntityIdentifier": "

The ID of the entity, in the format of EntityId@RevisionId.

" } }, + "Intent": { + "base": null, + "refs": { + "DescribeChangeSetResponse$Intent": "

The optional intent provided in the StartChangeSet request. If you do not provide an intent, APPLY is set by default.

", + "StartChangeSetRequest$Intent": "

The intent related to the request. The default is APPLY. To test your request before applying changes to your entities, use VALIDATE. This feature is currently available for adding versions to single-AMI products. For more information, see Add a new version.

" + } + }, "InternalServiceException": { "base": "

There was an internal service exception.

HTTP status code: 500

", "refs": { @@ -792,7 +799,7 @@ } }, "OfferFilters": { - "base": "

A filter for offers entity.

", + "base": "

Object containing all the filter fields for offers entity. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

", "refs": { "EntityTypeFilters$OfferFilters": "

A filter for offers.

" } @@ -999,7 +1006,7 @@ } }, "ResaleAuthorizationFilters": { - "base": "

A filter for ResaleAuthorization entity.

", + "base": "

Object containing all the filter fields for resale authorization entity. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

", "refs": { "EntityTypeFilters$ResaleAuthorizationFilters": "

A filter for Resale Authorizations.

" } @@ -1320,7 +1327,7 @@ } }, "SaaSProductFilters": { - "base": "

Object containing all the filter fields for SaaS products. Client can add a maximum of 8 filters in a single ListEntities request.

", + "base": "

Object containing all the filter fields for SaaS products. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

", "refs": { "EntityTypeFilters$SaaSProductFilters": "

A filter for SaaS products.

" } 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 index 003af7baa24..4d806fc8104 100644 --- 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 @@ -7,6 +7,13 @@ "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, @@ -49,6 +56,21 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, { "conditions": [], "endpoint": { @@ -93,16 +115,19 @@ { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true ] } ], @@ -112,61 +137,51 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] - } - ], - "rules": [ + }, { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] + "ref": "PartitionResult" }, - true + "supportsDualStack" ] } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, + ] + } + ], + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" }, { "conditions": [], - "endpoint": { - "url": "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ], "type": "tree" @@ -223,6 +238,58 @@ ], "type": "tree" }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, { "conditions": [], "endpoint": { 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 index 6bc38817f06..de57bc625a4 100644 --- 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 @@ -9,7 +9,21 @@ }, "params": { "Region": "us-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { @@ -21,7 +35,21 @@ }, "params": { "Region": "us-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -33,7 +61,21 @@ }, "params": { "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false } }, { @@ -45,7 +87,21 @@ }, "params": { "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -57,7 +113,21 @@ }, "params": { "Region": "us-gov-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { @@ -69,7 +139,117 @@ }, "params": { "Region": "us-gov-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "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": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "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": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://resource-explorer-2.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -82,6 +262,7 @@ "params": { "Region": "us-east-1", "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -94,6 +275,7 @@ }, "params": { "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -105,6 +287,19 @@ "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" } }, diff --git a/models/apis/securitylake/2018-05-10/docs-2.json b/models/apis/securitylake/2018-05-10/docs-2.json index 91e4d9c86b4..82d3b151d74 100644 --- a/models/apis/securitylake/2018-05-10/docs-2.json +++ b/models/apis/securitylake/2018-05-10/docs-2.json @@ -362,7 +362,7 @@ } }, "DataLakeReplicationConfiguration": { - "base": "

Provides replication details of Amazon Security Lake object.

", + "base": "

Provides replication details for objects stored in the Amazon Security Lake data lake.

", "refs": { "DataLakeConfiguration$replicationConfiguration": "

Provides replication details of Amazon Security Lake object.

", "DataLakeResource$replicationConfiguration": "

Provides replication details of Amazon Security Lake object.

" @@ -734,11 +734,11 @@ "base": null, "refs": { "AwsLogSourceConfiguration$regions": "

Specify the Regions where you want to enable Security Lake.

", - "DataLakeReplicationConfiguration$regions": "

Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon S3 buckets that are configured for object replication can be owned by the same Amazon Web Services account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets. The destination buckets can be in different Amazon Web Services Regions or within the same Region as the source bucket.

Set up one or more rollup Regions by providing the Region or Regions that should contribute to the central rollup Region.

", + "DataLakeReplicationConfiguration$regions": "

Specifies one or more centralized rollup Regions. The Amazon Web Services Region specified in the region parameter of the CreateDataLake or UpdateDataLake operations contributes data to the rollup Region or Regions specified in this parameter.

Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. S3 buckets that are configured for object replication can be owned by the same Amazon Web Services account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets. The destination buckets can be in different Regions or within the same Region as the source bucket.

", "DeleteDataLakeRequest$regions": "

The list of Regions where Security Lake is enabled.

", - "ListDataLakeExceptionsRequest$regions": "

List the Amazon Web Services Regions from which exceptions are retrieved.

", - "ListDataLakesRequest$regions": "

The list of regions where Security Lake is enabled.

", - "ListLogSourcesRequest$regions": "

The list of regions for which log sources are displayed.

" + "ListDataLakeExceptionsRequest$regions": "

The Amazon Web Services Regions from which exceptions are retrieved.

", + "ListDataLakesRequest$regions": "

The list of Regions where Security Lake is enabled.

", + "ListLogSourcesRequest$regions": "

The list of Regions for which log sources are displayed.

" } }, "RegisterDataLakeDelegatedAdministratorRequest": { diff --git a/models/apis/securitylake/2018-05-10/endpoint-rule-set-1.json b/models/apis/securitylake/2018-05-10/endpoint-rule-set-1.json index 565deb8ab10..f72c5adafee 100644 --- a/models/apis/securitylake/2018-05-10/endpoint-rule-set-1.json +++ b/models/apis/securitylake/2018-05-10/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 66628592e43..8ed378172ba 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -14341,72 +14341,26 @@ } }, "resource-explorer-2" : { - "defaults" : { - "dnsSuffix" : "api.aws", - "variants" : [ { - "dnsSuffix" : "api.aws", - "hostname" : "{service}-fips.{region}.{dnsSuffix}", - "tags" : [ "fips" ] - } ] - }, "endpoints" : { - "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" - }, - "ap-southeast-3" : { - "hostname" : "resource-explorer-2.ap-southeast-3.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" - }, - "me-south-1" : { - "hostname" : "resource-explorer-2.me-south-1.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" - } + "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-west-1" : { }, + "eu-west-2" : { }, + "eu-west-3" : { }, + "me-south-1" : { }, + "sa-east-1" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-1" : { }, + "us-west-2" : { } } }, "resource-groups" : { @@ -21044,24 +20998,6 @@ "cn-north-1" : { } } }, - "resource-explorer-2" : { - "defaults" : { - "dnsSuffix" : "api.amazonwebservices.com.cn", - "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" : { }, @@ -24968,24 +24904,6 @@ } } }, - "resource-explorer-2" : { - "defaults" : { - "dnsSuffix" : "api.aws", - "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/lightsail/api.go b/service/lightsail/api.go index 8664ebec7db..a51a0d4175e 100644 --- a/service/lightsail/api.go +++ b/service/lightsail/api.go @@ -45426,6 +45426,13 @@ type UpdateRelationalDatabaseInput struct { // resources in the same region as your database. PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"` + // This parameter is used to update the major version of the database. Enter + // the blueprintId for the major version that you want to update to. + // + // Use the GetRelationalDatabaseBlueprints (https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRelationalDatabaseBlueprints.html) + // action to get a list of available blueprint IDs. + RelationalDatabaseBlueprintId *string `locationName:"relationalDatabaseBlueprintId" type:"string"` + // The name of your Lightsail database resource to update. // // RelationalDatabaseName is a required field @@ -45518,6 +45525,12 @@ func (s *UpdateRelationalDatabaseInput) SetPubliclyAccessible(v bool) *UpdateRel return s } +// SetRelationalDatabaseBlueprintId sets the RelationalDatabaseBlueprintId field's value. +func (s *UpdateRelationalDatabaseInput) SetRelationalDatabaseBlueprintId(v string) *UpdateRelationalDatabaseInput { + s.RelationalDatabaseBlueprintId = &v + return s +} + // SetRelationalDatabaseName sets the RelationalDatabaseName field's value. func (s *UpdateRelationalDatabaseInput) SetRelationalDatabaseName(v string) *UpdateRelationalDatabaseInput { s.RelationalDatabaseName = &v diff --git a/service/marketplacecatalog/api.go b/service/marketplacecatalog/api.go index a8575a0de9f..7c988306df4 100644 --- a/service/marketplacecatalog/api.go +++ b/service/marketplacecatalog/api.go @@ -55,7 +55,9 @@ func (c *MarketplaceCatalog) BatchDescribeEntitiesRequest(input *BatchDescribeEn // BatchDescribeEntities API operation for AWS Marketplace Catalog Service. // -// Returns metadata and content for multiple entities. +// Returns metadata and content for multiple entities. This is the Batch version +// of the DescribeEntity API and uses the same IAM permission action as DescribeEntity +// API. // // 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 @@ -1589,7 +1591,8 @@ func (s *AmiProductEntityIdFilter) SetValueList(v []*string) *AmiProductEntityId } // Object containing all the filter fields for AMI products. Client can add -// a maximum of 8 filters in a single ListEntities request. +// only one wildcard filter and a maximum of 8 filters in a single ListEntities +// request. type AmiProductFilters struct { _ struct{} `type:"structure"` @@ -2563,7 +2566,8 @@ func (s *ContainerProductEntityIdFilter) SetValueList(v []*string) *ContainerPro } // Object containing all the filter fields for container products. Client can -// add a maximum of 8 filters in a single ListEntities request. +// add only one wildcard filter and a maximum of 8 filters in a single ListEntities +// request. type ContainerProductFilters struct { _ struct{} `type:"structure"` @@ -2992,7 +2996,8 @@ func (s *DataProductEntityIdFilter) SetValueList(v []*string) *DataProductEntity } // Object containing all the filter fields for data products. Client can add -// a maximum of 8 filters in a single ListEntities request. +// only one wildcard filter and a maximum of 8 filters in a single ListEntities +// request. type DataProductFilters struct { _ struct{} `type:"structure"` @@ -3545,6 +3550,10 @@ type DescribeChangeSetOutput struct { // related to any of the changes in the request. FailureDescription *string `min:"1" type:"string"` + // The optional intent provided in the StartChangeSet request. If you do not + // provide an intent, APPLY is set by default. + Intent *string `type:"string" enum:"Intent"` + // The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request // started. StartTime *string `min:"20" type:"string"` @@ -3613,6 +3622,12 @@ func (s *DescribeChangeSetOutput) SetFailureDescription(v string) *DescribeChang return s } +// SetIntent sets the Intent field's value. +func (s *DescribeChangeSetOutput) SetIntent(v string) *DescribeChangeSetOutput { + s.Intent = &v + return s +} + // SetStartTime sets the StartTime field's value. func (s *DescribeChangeSetOutput) SetStartTime(v string) *DescribeChangeSetOutput { s.StartTime = &v @@ -5199,7 +5214,9 @@ func (s *OfferEntityIdFilter) SetValueList(v []*string) *OfferEntityIdFilter { return s } -// A filter for offers entity. +// Object containing all the filter fields for offers entity. Client can add +// only one wildcard filter and a maximum of 8 filters in a single ListEntities +// request. type OfferFilters struct { _ struct{} `type:"structure"` @@ -6259,7 +6276,9 @@ func (s *ResaleAuthorizationEntityIdFilter) SetValueList(v []*string) *ResaleAut return s } -// A filter for ResaleAuthorization entity. +// Object containing all the filter fields for resale authorization entity. +// Client can add only one wildcard filter and a maximum of 8 filters in a single +// ListEntities request. type ResaleAuthorizationFilters struct { _ struct{} `type:"structure"` @@ -7485,7 +7504,8 @@ func (s *SaaSProductEntityIdFilter) SetValueList(v []*string) *SaaSProductEntity } // Object containing all the filter fields for SaaS products. Client can add -// a maximum of 8 filters in a single ListEntities request. +// only one wildcard filter and a maximum of 8 filters in a single ListEntities +// request. type SaaSProductFilters struct { _ struct{} `type:"structure"` @@ -8012,6 +8032,12 @@ type StartChangeSetInput struct { // A unique token to identify the request to ensure idempotency. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // The intent related to the request. The default is APPLY. To test your request + // before applying changes to your entities, use VALIDATE. This feature is currently + // available for adding versions to single-AMI products. For more information, + // see Add a new version (https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#ami-add-version). + Intent *string `type:"string" enum:"Intent"` } // String returns the string representation. @@ -8113,6 +8139,12 @@ func (s *StartChangeSetInput) SetClientRequestToken(v string) *StartChangeSetInp return s } +// SetIntent sets the Intent field's value. +func (s *StartChangeSetInput) SetIntent(v string) *StartChangeSetInput { + s.Intent = &v + return s +} + type StartChangeSetOutput struct { _ struct{} `type:"structure"` @@ -8731,6 +8763,22 @@ func FailureCode_Values() []string { } } +const ( + // IntentValidate is a Intent enum value + IntentValidate = "VALIDATE" + + // IntentApply is a Intent enum value + IntentApply = "APPLY" +) + +// Intent_Values returns all elements of the Intent enum +func Intent_Values() []string { + return []string{ + IntentValidate, + IntentApply, + } +} + const ( // OfferSortByEntityId is a OfferSortBy enum value OfferSortByEntityId = "EntityId" diff --git a/service/securitylake/api.go b/service/securitylake/api.go index de438ab879d..3fc54a84766 100644 --- a/service/securitylake/api.go +++ b/service/securitylake/api.go @@ -5498,19 +5498,23 @@ func (s *DataLakeLifecycleTransition) SetStorageClass(v string) *DataLakeLifecyc return s } -// Provides replication details of Amazon Security Lake object. +// Provides replication details for objects stored in the Amazon Security Lake +// data lake. type DataLakeReplicationConfiguration struct { _ struct{} `type:"structure"` - // Replication enables automatic, asynchronous copying of objects across Amazon - // S3 buckets. Amazon S3 buckets that are configured for object replication - // can be owned by the same Amazon Web Services account or by different accounts. - // You can replicate objects to a single destination bucket or to multiple destination - // buckets. The destination buckets can be in different Amazon Web Services - // Regions or within the same Region as the source bucket. + // Specifies one or more centralized rollup Regions. The Amazon Web Services + // Region specified in the region parameter of the CreateDataLake (https://docs.aws.amazon.com/security-lake/latest/APIReference/API_CreateDataLake.html) + // or UpdateDataLake (https://docs.aws.amazon.com/security-lake/latest/APIReference/API_UpdateDataLake.html) + // operations contributes data to the rollup Region or Regions specified in + // this parameter. // - // Set up one or more rollup Regions by providing the Region or Regions that - // should contribute to the central rollup Region. + // Replication enables automatic, asynchronous copying of objects across Amazon + // S3 buckets. S3 buckets that are configured for object replication can be + // owned by the same Amazon Web Services account or by different accounts. You + // can replicate objects to a single destination bucket or to multiple destination + // buckets. The destination buckets can be in different Regions or within the + // same Region as the source bucket. Regions []*string `locationName:"regions" type:"list"` // Replication settings for the Amazon S3 buckets. This parameter uses the Identity @@ -6968,7 +6972,7 @@ type ListDataLakeExceptionsInput struct { // token will return an HTTP 400 InvalidToken error. NextToken *string `locationName:"nextToken" type:"string"` - // List the Amazon Web Services Regions from which exceptions are retrieved. + // The Amazon Web Services Regions from which exceptions are retrieved. Regions []*string `locationName:"regions" type:"list"` } @@ -7069,7 +7073,7 @@ func (s *ListDataLakeExceptionsOutput) SetNextToken(v string) *ListDataLakeExcep type ListDataLakesInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The list of regions where Security Lake is enabled. + // The list of Regions where Security Lake is enabled. Regions []*string `location:"querystring" locationName:"regions" type:"list"` } @@ -7141,7 +7145,7 @@ type ListLogSourcesInput struct { // the call using the returned token to retrieve the next page. NextToken *string `locationName:"nextToken" type:"string"` - // The list of regions for which log sources are displayed. + // The list of Regions for which log sources are displayed. Regions []*string `locationName:"regions" type:"list"` // The list of sources for which log sources are displayed.