Skip to content

Commit

Permalink
feat(client-securitylake): This release updates request validation re…
Browse files Browse the repository at this point in the history
…gex to account for non-commercial aws partitions.
  • Loading branch information
awstools committed Jun 12, 2024
1 parent 5ee744b commit b6bd981
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions clients/client-securitylake/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ export namespace LogSourceResource {
*/
export interface CreateSubscriberRequest {
/**
* <p>The AWS identity used to access your data.</p>
* <p>The Amazon Web Services identity used to access your data.</p>
* @public
*/
subscriberIdentity: AwsIdentity | undefined;
Expand Down Expand Up @@ -1129,7 +1129,7 @@ export interface SubscriberResource {
subscriberArn: string | undefined;

/**
* <p>The AWS identity used to access your data.</p>
* <p>The Amazon Web Services identity used to access your data.</p>
* @public
*/
subscriberIdentity: AwsIdentity | undefined;
Expand Down Expand Up @@ -1190,7 +1190,7 @@ export interface SubscriberResource {
subscriberStatus?: SubscriberStatus;

/**
* <p>The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before
* <p>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.</p>
* <p>This field is available only for Lake Formation subscribers created after March 8, 2023.</p>
Expand Down
12 changes: 6 additions & 6 deletions codegen/sdk-codegen/aws-models/securitylake.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -851,7 +851,7 @@
"subscriberIdentity": {
"target": "com.amazonaws.securitylake#AwsIdentity",
"traits": {
"smithy.api#documentation": "<p>The AWS identity used to access your data.</p>",
"smithy.api#documentation": "<p>The Amazon Web Services identity used to access your data.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -979,7 +979,7 @@
"min": 1,
"max": 64
},
"smithy.api#pattern": "^[\\\\\\w\\-_:/.]*$"
"smithy.api#pattern": "^[\\w\\-\\_\\:\\.]*$"
}
},
"com.amazonaws.securitylake#CustomLogSourceProvider": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -3962,7 +3962,7 @@
"subscriberIdentity": {
"target": "com.amazonaws.securitylake#AwsIdentity",
"traits": {
"smithy.api#documentation": "<p>The AWS identity used to access your data.</p>",
"smithy.api#documentation": "<p>The Amazon Web Services identity used to access your data.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -4019,7 +4019,7 @@
"resourceShareArn": {
"target": "com.amazonaws.securitylake#ResourceShareArn",
"traits": {
"smithy.api#documentation": "<p>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.</p>\n <p>This field is available only for Lake Formation subscribers created after March 8, 2023.</p>"
"smithy.api#documentation": "<p>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.</p>\n <p>This field is available only for Lake Formation subscribers created after March 8, 2023.</p>"
}
},
"resourceShareName": {
Expand Down

0 comments on commit b6bd981

Please sign in to comment.