Skip to content

Commit d2691b8

Browse files
committed
chore: codegen for fix for array with multiple types
1 parent 803a847 commit d2691b8

File tree

161 files changed

+490
-490
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+490
-490
lines changed

clients/client-acm-pca/models/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ export interface CreatePermissionRequest {
404404
* <code>IssueCertificate</code>, <code>GetCertificate</code>, and
405405
* <code>ListPermissions</code>.</p>
406406
*/
407-
Actions: ActionType | string[] | undefined;
407+
Actions: (ActionType | string)[] | undefined;
408408

409409
/**
410410
* <p>The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the ARN
@@ -1310,7 +1310,7 @@ export interface Permission {
13101310
/**
13111311
* <p>The private CA actions that can be performed by the designated AWS service.</p>
13121312
*/
1313-
Actions?: ActionType | string[];
1313+
Actions?: (ActionType | string)[];
13141314

13151315
/**
13161316
* <p>The Amazon Resource Number (ARN) of the private CA from which the permission was

clients/client-acm-pca/protocols/Aws_json1_1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2846,7 +2846,7 @@ const serializeAws_json1_1ASN1Subject = (
28462846
};
28472847

28482848
const serializeAws_json1_1ActionList = (
2849-
input: ActionType | string[],
2849+
input: (ActionType | string)[],
28502850
context: __SerdeContext
28512851
): any => {
28522852
const contents = [];
@@ -3364,7 +3364,7 @@ const deserializeAws_json1_1ASN1Subject = (
33643364
const deserializeAws_json1_1ActionList = (
33653365
output: any,
33663366
context: __SerdeContext
3367-
): ActionType | string[] => {
3367+
): (ActionType | string)[] => {
33683368
return (output || []).map((entry: any) => entry);
33693369
};
33703370

clients/client-acm/models/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ export interface Filters {
606606
/**
607607
* <p>Specify one or more <a>ExtendedKeyUsage</a> extension values.</p>
608608
*/
609-
extendedKeyUsage?: ExtendedKeyUsageName | string[];
609+
extendedKeyUsage?: (ExtendedKeyUsageName | string)[];
610610

611611
/**
612612
* <p>Specify one or more algorithms that can be used to generate key pairs.</p>
@@ -615,12 +615,12 @@ export interface Filters {
615615
* <code>"keyTypes": ["RSA_2048,RSA_4096"]</code> returns both <code>RSA_2048</code> and
616616
* <code>RSA_4096</code> certificates.</p>
617617
*/
618-
keyTypes?: KeyAlgorithm | string[];
618+
keyTypes?: (KeyAlgorithm | string)[];
619619

620620
/**
621621
* <p>Specify one or more <a>KeyUsage</a> extension values.</p>
622622
*/
623-
keyUsage?: KeyUsageName | string[];
623+
keyUsage?: (KeyUsageName | string)[];
624624
}
625625

626626
export namespace Filters {
@@ -872,7 +872,7 @@ export interface ListCertificatesRequest {
872872
/**
873873
* <p>Filter the certificate list by status value.</p>
874874
*/
875-
CertificateStatuses?: CertificateStatus | string[];
875+
CertificateStatuses?: (CertificateStatus | string)[];
876876

877877
/**
878878
* <p>Filter the certificate list. For more information, see the <a>Filters</a>

clients/client-acm/protocols/Aws_json1_1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ const serializeAws_json1_1CertificateOptions = (
17021702
};
17031703

17041704
const serializeAws_json1_1CertificateStatuses = (
1705-
input: CertificateStatus | string[],
1705+
input: (CertificateStatus | string)[],
17061706
context: __SerdeContext
17071707
): any => {
17081708
const contents = [];
@@ -1785,7 +1785,7 @@ const serializeAws_json1_1ExportCertificateRequest = (
17851785
};
17861786

17871787
const serializeAws_json1_1ExtendedKeyUsageFilterList = (
1788-
input: ExtendedKeyUsageName | string[],
1788+
input: (ExtendedKeyUsageName | string)[],
17891789
context: __SerdeContext
17901790
): any => {
17911791
const contents = [];
@@ -1860,7 +1860,7 @@ const serializeAws_json1_1ImportCertificateRequest = (
18601860
};
18611861

18621862
const serializeAws_json1_1KeyAlgorithmList = (
1863-
input: KeyAlgorithm | string[],
1863+
input: (KeyAlgorithm | string)[],
18641864
context: __SerdeContext
18651865
): any => {
18661866
const contents = [];
@@ -1871,7 +1871,7 @@ const serializeAws_json1_1KeyAlgorithmList = (
18711871
};
18721872

18731873
const serializeAws_json1_1KeyUsageFilterList = (
1874-
input: KeyUsageName | string[],
1874+
input: (KeyUsageName | string)[],
18751875
context: __SerdeContext
18761876
): any => {
18771877
const contents = [];

clients/client-alexa-for-business/models/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4994,7 +4994,7 @@ export interface StartDeviceSyncRequest {
49944994
/**
49954995
* <p>Request structure to start the device sync. Required.</p>
49964996
*/
4997-
Features: Feature | string[] | undefined;
4997+
Features: (Feature | string)[] | undefined;
49984998

49994999
/**
50005000
* <p>The ARN of the room with which the device to sync is associated. Required.</p>

clients/client-alexa-for-business/protocols/Aws_json1_1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9555,7 +9555,7 @@ const serializeAws_json1_1EndOfMeetingReminderMinutesList = (
95559555
};
95569556

95579557
const serializeAws_json1_1Features = (
9558-
input: Feature | string[],
9558+
input: (Feature | string)[],
95599559
context: __SerdeContext
95609560
): any => {
95619561
const contents = [];

clients/client-api-gateway/models/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2180,7 +2180,7 @@ export interface EndpointConfiguration {
21802180
/**
21812181
* <p>A list of endpoint types of an API (<a>RestApi</a>) or its custom domain name (<a>DomainName</a>). For an edge-optimized API and its custom domain name, the endpoint type is <code>"EDGE"</code>. For a regional API and its custom domain name, the endpoint type is <code>REGIONAL</code>. For a private API, the endpoint type is <code>PRIVATE</code>.</p>
21822182
*/
2183-
types?: EndpointType | string[];
2183+
types?: (EndpointType | string)[];
21842184

21852185
/**
21862186
* <p>A list of VpcEndpointIds of an API (<a>RestApi</a>) against which to create Route53 ALIASes. It is only supported for <code>PRIVATE</code> endpoint type.</p>

clients/client-api-gateway/protocols/Aws_restJson1_1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22740,7 +22740,7 @@ const serializeAws_restJson1_1ListOfApiStage = (
2274022740
};
2274122741

2274222742
const serializeAws_restJson1_1ListOfEndpointType = (
22743-
input: EndpointType | string[],
22743+
input: (EndpointType | string)[],
2274422744
context: __SerdeContext
2274522745
): any => {
2274622746
const contents = [];
@@ -23666,7 +23666,7 @@ const deserializeAws_restJson1_1ListOfDomainName = (
2366623666
const deserializeAws_restJson1_1ListOfEndpointType = (
2366723667
output: any,
2366823668
context: __SerdeContext
23669-
): EndpointType | string[] => {
23669+
): (EndpointType | string)[] => {
2367023670
return (output || []).map((entry: any) => entry);
2367123671
};
2367223672

clients/client-app-mesh/models/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ export interface GrpcRetryPolicy {
911911
/**
912912
* <p>Specify at least one of the valid values.</p>
913913
*/
914-
grpcRetryEvents?: GrpcRetryPolicyEvent | string[];
914+
grpcRetryEvents?: (GrpcRetryPolicyEvent | string)[];
915915

916916
/**
917917
* <p>Specify at least one of the following values.</p>
@@ -952,7 +952,7 @@ export interface GrpcRetryPolicy {
952952
/**
953953
* <p>Specify a valid value.</p>
954954
*/
955-
tcpRetryEvents?: TcpRetryPolicyEvent | string[];
955+
tcpRetryEvents?: (TcpRetryPolicyEvent | string)[];
956956
}
957957

958958
export namespace GrpcRetryPolicy {
@@ -1364,7 +1364,7 @@ export interface HttpRetryPolicy {
13641364
/**
13651365
* <p>Specify a valid value.</p>
13661366
*/
1367-
tcpRetryEvents?: TcpRetryPolicyEvent | string[];
1367+
tcpRetryEvents?: (TcpRetryPolicyEvent | string)[];
13681368
}
13691369

13701370
export namespace HttpRetryPolicy {

clients/client-app-mesh/protocols/Aws_restJson1_1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5395,7 +5395,7 @@ const serializeAws_restJson1_1GrpcRetryPolicy = (
53955395
};
53965396

53975397
const serializeAws_restJson1_1GrpcRetryPolicyEvents = (
5398-
input: GrpcRetryPolicyEvent | string[],
5398+
input: (GrpcRetryPolicyEvent | string)[],
53995399
context: __SerdeContext
54005400
): any => {
54015401
const contents = [];
@@ -5860,7 +5860,7 @@ const serializeAws_restJson1_1TagRef = (
58605860
};
58615861

58625862
const serializeAws_restJson1_1TcpRetryPolicyEvents = (
5863-
input: TcpRetryPolicyEvent | string[],
5863+
input: (TcpRetryPolicyEvent | string)[],
58645864
context: __SerdeContext
58655865
): any => {
58665866
const contents = [];
@@ -6251,7 +6251,7 @@ const deserializeAws_restJson1_1GrpcRetryPolicy = (
62516251
const deserializeAws_restJson1_1GrpcRetryPolicyEvents = (
62526252
output: any,
62536253
context: __SerdeContext
6254-
): GrpcRetryPolicyEvent | string[] => {
6254+
): (GrpcRetryPolicyEvent | string)[] => {
62556255
return (output || []).map((entry: any) => entry);
62566256
};
62576257

@@ -7019,7 +7019,7 @@ const deserializeAws_restJson1_1TagRef = (
70197019
const deserializeAws_restJson1_1TcpRetryPolicyEvents = (
70207020
output: any,
70217021
context: __SerdeContext
7022-
): TcpRetryPolicyEvent | string[] => {
7022+
): (TcpRetryPolicyEvent | string)[] => {
70237023
return (output || []).map((entry: any) => entry);
70247024
};
70257025

clients/client-appconfig/models/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export interface ConfigurationProfileSummary {
155155
/**
156156
* <p>The types of validators in the configuration profile.</p>
157157
*/
158-
ValidatorTypes?: ValidatorType | string[];
158+
ValidatorTypes?: (ValidatorType | string)[];
159159
}
160160

161161
export namespace ConfigurationProfileSummary {

clients/client-appconfig/protocols/Aws_restJson1_1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4939,7 +4939,7 @@ const deserializeAws_restJson1_1ValidatorList = (
49394939
const deserializeAws_restJson1_1ValidatorTypeList = (
49404940
output: any,
49414941
context: __SerdeContext
4942-
): ValidatorType | string[] => {
4942+
): (ValidatorType | string)[] => {
49434943
return (output || []).map((entry: any) => entry);
49444944
};
49454945

clients/client-application-discovery-service/models/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1761,7 +1761,7 @@ export interface StartExportTaskRequest {
17611761
* <i>option has been deprecated.</i>
17621762
* </p>
17631763
*/
1764-
exportDataFormat?: ExportDataFormat | string[];
1764+
exportDataFormat?: (ExportDataFormat | string)[];
17651765

17661766
/**
17671767
* <p>If a filter is present, it selects the single <code>agentId</code> of the Application

clients/client-application-discovery-service/protocols/Aws_json1_1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3872,7 +3872,7 @@ const serializeAws_json1_1DisassociateConfigurationItemsFromApplicationRequest =
38723872
};
38733873

38743874
const serializeAws_json1_1ExportDataFormats = (
3875-
input: ExportDataFormat | string[],
3875+
input: (ExportDataFormat | string)[],
38763876
context: __SerdeContext
38773877
): any => {
38783878
const contents = [];

clients/client-appstream/models/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,7 +3231,7 @@ export interface UpdateFleetRequest {
32313231
/**
32323232
* <p>The fleet attributes to delete.</p>
32333233
*/
3234-
AttributesToDelete?: FleetAttribute | string[];
3234+
AttributesToDelete?: (FleetAttribute | string)[];
32353235

32363236
/**
32373237
* <p>The desired capacity for the fleet.</p>
@@ -3454,7 +3454,7 @@ export interface UpdateStackRequest {
34543454
/**
34553455
* <p>The stack attributes to delete.</p>
34563456
*/
3457-
AttributesToDelete?: StackAttribute | string[];
3457+
AttributesToDelete?: (StackAttribute | string)[];
34583458

34593459
/**
34603460
* <p>Deletes the storage connectors currently enabled for the stack.</p>

clients/client-appstream/protocols/Aws_json1_1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5934,7 +5934,7 @@ const serializeAws_json1_1ExpireSessionRequest = (
59345934
};
59355935

59365936
const serializeAws_json1_1FleetAttributes = (
5937-
input: FleetAttribute | string[],
5937+
input: (FleetAttribute | string)[],
59385938
context: __SerdeContext
59395939
): any => {
59405940
const contents = [];
@@ -6034,7 +6034,7 @@ const serializeAws_json1_1ServiceAccountCredentials = (
60346034
};
60356035

60366036
const serializeAws_json1_1StackAttributes = (
6037-
input: StackAttribute | string[],
6037+
input: (StackAttribute | string)[],
60386038
context: __SerdeContext
60396039
): any => {
60406040
const contents = [];

clients/client-backup/models/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ export interface GetBackupVaultNotificationsOutput {
18721872
* <p>An array of events that indicate the status of jobs to back up resources to the backup
18731873
* vault.</p>
18741874
*/
1875-
BackupVaultEvents?: BackupVaultEvent | string[];
1875+
BackupVaultEvents?: (BackupVaultEvent | string)[];
18761876

18771877
/**
18781878
* <p>The name of a logical container where backups are stored. Backup vaults are identified
@@ -2848,7 +2848,7 @@ export interface PutBackupVaultNotificationsInput {
28482848
* <p>An array of events that indicate the status of jobs to back up resources to the backup
28492849
* vault.</p>
28502850
*/
2851-
BackupVaultEvents: BackupVaultEvent | string[] | undefined;
2851+
BackupVaultEvents: (BackupVaultEvent | string)[] | undefined;
28522852

28532853
/**
28542854
* <p>The name of a logical container where backups are stored. Backup vaults are identified

clients/client-backup/protocols/Aws_restJson1_1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7237,7 +7237,7 @@ const serializeAws_restJson1_1BackupSelection = (
72377237
};
72387238

72397239
const serializeAws_restJson1_1BackupVaultEvents = (
7240-
input: BackupVaultEvent | string[],
7240+
input: (BackupVaultEvent | string)[],
72417241
context: __SerdeContext
72427242
): any => {
72437243
const contents = [];
@@ -7749,7 +7749,7 @@ const deserializeAws_restJson1_1BackupSelectionsListMember = (
77497749
const deserializeAws_restJson1_1BackupVaultEvents = (
77507750
output: any,
77517751
context: __SerdeContext
7752-
): BackupVaultEvent | string[] => {
7752+
): (BackupVaultEvent | string)[] => {
77537753
return (output || []).map((entry: any) => entry);
77547754
};
77557755

clients/client-batch/models/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ export interface Device {
12181218
* <p>The explicit permissions to provide to the container for the device. By default, the container has permissions
12191219
* for <code>read</code>, <code>write</code>, and <code>mknod</code> for the device.</p>
12201220
*/
1221-
permissions?: DeviceCgroupPermission | string[];
1221+
permissions?: (DeviceCgroupPermission | string)[];
12221222
}
12231223

12241224
export namespace Device {

clients/client-batch/protocols/Aws_restJson1_1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2211,7 +2211,7 @@ const serializeAws_restJson1_1Device = (
22112211
};
22122212

22132213
const serializeAws_restJson1_1DeviceCgroupPermissions = (
2214-
input: DeviceCgroupPermission | string[],
2214+
input: (DeviceCgroupPermission | string)[],
22152215
context: __SerdeContext
22162216
): any => {
22172217
const contents = [];
@@ -3184,7 +3184,7 @@ const deserializeAws_restJson1_1Device = (
31843184
const deserializeAws_restJson1_1DeviceCgroupPermissions = (
31853185
output: any,
31863186
context: __SerdeContext
3187-
): DeviceCgroupPermission | string[] => {
3187+
): (DeviceCgroupPermission | string)[] => {
31883188
return (output || []).map((entry: any) => entry);
31893189
};
31903190

clients/client-chime/models/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export interface Account {
6767
/**
6868
* <p>Supported licenses for the Amazon Chime account.</p>
6969
*/
70-
SupportedLicenses?: License | string[];
70+
SupportedLicenses?: (License | string)[];
7171
}
7272

7373
export namespace Account {

clients/client-chime/protocols/Aws_restJson1_1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17549,7 +17549,7 @@ const deserializeAws_restJson1_1InviteList = (
1754917549
const deserializeAws_restJson1_1LicenseList = (
1755017550
output: any,
1755117551
context: __SerdeContext
17552-
): License | string[] => {
17552+
): (License | string)[] => {
1755317553
return (output || []).map((entry: any) => entry);
1755417554
};
1755517555

clients/client-cloud9/models/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export interface DescribeEnvironmentMembershipsRequest {
226226
* </ul>
227227
* <p>If no value is specified, information about all environment members are returned.</p>
228228
*/
229-
permissions?: Permissions | string[];
229+
permissions?: (Permissions | string)[];
230230

231231
/**
232232
* <p>The Amazon Resource Name (ARN) of an individual environment member to get information about. If no value is specified, information about all environment members are returned.</p>

clients/client-cloud9/protocols/Aws_json1_1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1804,7 +1804,7 @@ const serializeAws_json1_1ListEnvironmentsRequest = (
18041804
};
18051805

18061806
const serializeAws_json1_1PermissionsList = (
1807-
input: Permissions | string[],
1807+
input: (Permissions | string)[],
18081808
context: __SerdeContext
18091809
): any => {
18101810
const contents = [];

0 commit comments

Comments
 (0)