Skip to content

Commit b6bd981

Browse files
author
awstools
committed
feat(client-securitylake): This release updates request validation regex to account for non-commercial aws partitions.
1 parent 5ee744b commit b6bd981

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

clients/client-securitylake/src/models/models_0.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ export namespace LogSourceResource {
10551055
*/
10561056
export interface CreateSubscriberRequest {
10571057
/**
1058-
* <p>The AWS identity used to access your data.</p>
1058+
* <p>The Amazon Web Services identity used to access your data.</p>
10591059
* @public
10601060
*/
10611061
subscriberIdentity: AwsIdentity | undefined;
@@ -1129,7 +1129,7 @@ export interface SubscriberResource {
11291129
subscriberArn: string | undefined;
11301130

11311131
/**
1132-
* <p>The AWS identity used to access your data.</p>
1132+
* <p>The Amazon Web Services identity used to access your data.</p>
11331133
* @public
11341134
*/
11351135
subscriberIdentity: AwsIdentity | undefined;
@@ -1190,7 +1190,7 @@ export interface SubscriberResource {
11901190
subscriberStatus?: SubscriberStatus;
11911191

11921192
/**
1193-
* <p>The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before
1193+
* <p>The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services RAM resource share. Before
11941194
* accepting the RAM resource share invitation, you can view details related to the RAM
11951195
* resource share.</p>
11961196
* <p>This field is available only for Lake Formation subscribers created after March 8, 2023.</p>

codegen/sdk-codegen/aws-models/securitylake.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"min": 1,
6060
"max": 1011
6161
},
62-
"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}$"
62+
"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}$"
6363
}
6464
},
6565
"com.amazonaws.securitylake#AwsAccountId": {
@@ -851,7 +851,7 @@
851851
"subscriberIdentity": {
852852
"target": "com.amazonaws.securitylake#AwsIdentity",
853853
"traits": {
854-
"smithy.api#documentation": "<p>The AWS identity used to access your data.</p>",
854+
"smithy.api#documentation": "<p>The Amazon Web Services identity used to access your data.</p>",
855855
"smithy.api#required": {}
856856
}
857857
},
@@ -979,7 +979,7 @@
979979
"min": 1,
980980
"max": 64
981981
},
982-
"smithy.api#pattern": "^[\\\\\\w\\-_:/.]*$"
982+
"smithy.api#pattern": "^[\\w\\-\\_\\:\\.]*$"
983983
}
984984
},
985985
"com.amazonaws.securitylake#CustomLogSourceProvider": {
@@ -2967,7 +2967,7 @@
29672967
"com.amazonaws.securitylake#Region": {
29682968
"type": "string",
29692969
"traits": {
2970-
"smithy.api#pattern": "^(af|ap|ca|eu|me|sa|us)-(central|north|(north(?:east|west))|south|south(?:east|west)|east|west)-\\d+$"
2970+
"smithy.api#pattern": "^(us(-gov)?|af|ap|ca|eu|me|sa)-(central|north|(north(?:east|west))|south|south(?:east|west)|east|west)-\\d+$"
29712971
}
29722972
},
29732973
"com.amazonaws.securitylake#RegionList": {
@@ -3962,7 +3962,7 @@
39623962
"subscriberIdentity": {
39633963
"target": "com.amazonaws.securitylake#AwsIdentity",
39643964
"traits": {
3965-
"smithy.api#documentation": "<p>The AWS identity used to access your data.</p>",
3965+
"smithy.api#documentation": "<p>The Amazon Web Services identity used to access your data.</p>",
39663966
"smithy.api#required": {}
39673967
}
39683968
},
@@ -4019,7 +4019,7 @@
40194019
"resourceShareArn": {
40204020
"target": "com.amazonaws.securitylake#ResourceShareArn",
40214021
"traits": {
4022-
"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>"
4022+
"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>"
40234023
}
40244024
},
40254025
"resourceShareName": {

0 commit comments

Comments
 (0)