From b6bd98148960c3b556c0df0e8378f0e77d11f06f Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 12 Jun 2024 18:18:54 +0000 Subject: [PATCH] feat(client-securitylake): This release updates request validation regex to account for non-commercial aws partitions. --- clients/client-securitylake/src/models/models_0.ts | 6 +++--- codegen/sdk-codegen/aws-models/securitylake.json | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/clients/client-securitylake/src/models/models_0.ts b/clients/client-securitylake/src/models/models_0.ts index 6f09d438d069..dfb952310298 100644 --- a/clients/client-securitylake/src/models/models_0.ts +++ b/clients/client-securitylake/src/models/models_0.ts @@ -1055,7 +1055,7 @@ export namespace LogSourceResource { */ export interface CreateSubscriberRequest { /** - *

The AWS identity used to access your data.

+ *

The Amazon Web Services identity used to access your data.

* @public */ subscriberIdentity: AwsIdentity | undefined; @@ -1129,7 +1129,7 @@ export interface SubscriberResource { subscriberArn: string | undefined; /** - *

The AWS identity used to access your data.

+ *

The Amazon Web Services identity used to access your data.

* @public */ subscriberIdentity: AwsIdentity | undefined; @@ -1190,7 +1190,7 @@ export interface SubscriberResource { subscriberStatus?: SubscriberStatus; /** - *

The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before + *

The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services RAM resource share. Before * accepting the RAM resource share invitation, you can view details related to the RAM * resource share.

*

This field is available only for Lake Formation subscribers created after March 8, 2023.

diff --git a/codegen/sdk-codegen/aws-models/securitylake.json b/codegen/sdk-codegen/aws-models/securitylake.json index 507a2e9bfbed..5dd37a33e9fa 100644 --- a/codegen/sdk-codegen/aws-models/securitylake.json +++ b/codegen/sdk-codegen/aws-models/securitylake.json @@ -59,7 +59,7 @@ "min": 1, "max": 1011 }, - "smithy.api#pattern": "^arn:aws:securitylake:[A-za-z0-9_/.\\-]{0,63}:[A-za-z0-9_/.\\-]{0,63}:[A-Za-z0-9][A-za-z0-9_/.\\-]{0,127}$" + "smithy.api#pattern": "^arn:(aws|aws-us-gov|aws-cn):securitylake:[A-za-z0-9_/.\\-]{0,63}:[A-za-z0-9_/.\\-]{0,63}:[A-Za-z0-9][A-za-z0-9_/.\\-]{0,127}$" } }, "com.amazonaws.securitylake#AwsAccountId": { @@ -851,7 +851,7 @@ "subscriberIdentity": { "target": "com.amazonaws.securitylake#AwsIdentity", "traits": { - "smithy.api#documentation": "

The AWS identity used to access your data.

", + "smithy.api#documentation": "

The Amazon Web Services identity used to access your data.

", "smithy.api#required": {} } }, @@ -979,7 +979,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "^[\\\\\\w\\-_:/.]*$" + "smithy.api#pattern": "^[\\w\\-\\_\\:\\.]*$" } }, "com.amazonaws.securitylake#CustomLogSourceProvider": { @@ -2967,7 +2967,7 @@ "com.amazonaws.securitylake#Region": { "type": "string", "traits": { - "smithy.api#pattern": "^(af|ap|ca|eu|me|sa|us)-(central|north|(north(?:east|west))|south|south(?:east|west)|east|west)-\\d+$" + "smithy.api#pattern": "^(us(-gov)?|af|ap|ca|eu|me|sa)-(central|north|(north(?:east|west))|south|south(?:east|west)|east|west)-\\d+$" } }, "com.amazonaws.securitylake#RegionList": { @@ -3962,7 +3962,7 @@ "subscriberIdentity": { "target": "com.amazonaws.securitylake#AwsIdentity", "traits": { - "smithy.api#documentation": "

The AWS identity used to access your data.

", + "smithy.api#documentation": "

The Amazon Web Services identity used to access your data.

", "smithy.api#required": {} } }, @@ -4019,7 +4019,7 @@ "resourceShareArn": { "target": "com.amazonaws.securitylake#ResourceShareArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before\n accepting the RAM resource share invitation, you can view details related to the RAM\n resource share.

\n

This field is available only for Lake Formation subscribers created after March 8, 2023.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services RAM resource share. Before\n accepting the RAM resource share invitation, you can view details related to the RAM\n resource share.

\n

This field is available only for Lake Formation subscribers created after March 8, 2023.

" } }, "resourceShareName": {