Skip to content

Commit 4817524

Browse files
authored
chore(clients): update codegen for exactOptionalPropertyTypes (#6654)
* chore(codegen): support exactOptionalPropertyTypes * chore(clients): codegen exactOptionalPropertyTypes * chore: update non-codegen pkgs * chore: update lockfile
1 parent ab5b4b4 commit 4817524

File tree

504 files changed

+127463
-127757
lines changed

Some content is hidden

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

504 files changed

+127463
-127757
lines changed

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

+187-187
Large diffs are not rendered by default.

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

+36-36
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface AcceptPrimaryEmailUpdateResponse {
6464
* <p>Retrieves the status of the accepted primary email update request.</p>
6565
* @public
6666
*/
67-
Status?: PrimaryEmailUpdateStatus;
67+
Status?: PrimaryEmailUpdateStatus | undefined;
6868
}
6969

7070
/**
@@ -219,13 +219,13 @@ export class ValidationException extends __BaseException {
219219
* <p>The reason that validation failed.</p>
220220
* @public
221221
*/
222-
reason?: ValidationExceptionReason;
222+
reason?: ValidationExceptionReason | undefined;
223223

224224
/**
225225
* <p>The field where the invalid entry was detected.</p>
226226
* @public
227227
*/
228-
fieldList?: ValidationExceptionField[];
228+
fieldList?: ValidationExceptionField[] | undefined;
229229

230230
/**
231231
* @internal
@@ -288,7 +288,7 @@ export interface DeleteAlternateContactRequest {
288288
* the account whose contacts you wish to retrieve or modify.</p>
289289
* @public
290290
*/
291-
AccountId?: string;
291+
AccountId?: string | undefined;
292292
}
293293

294294
/**
@@ -322,7 +322,7 @@ export interface GetAlternateContactRequest {
322322
* the account whose contacts you wish to retrieve or modify.</p>
323323
* @public
324324
*/
325-
AccountId?: string;
325+
AccountId?: string | undefined;
326326
}
327327

328328
/**
@@ -335,31 +335,31 @@ export interface AlternateContact {
335335
* <p>The name associated with this alternate contact.</p>
336336
* @public
337337
*/
338-
Name?: string;
338+
Name?: string | undefined;
339339

340340
/**
341341
* <p>The title associated with this alternate contact.</p>
342342
* @public
343343
*/
344-
Title?: string;
344+
Title?: string | undefined;
345345

346346
/**
347347
* <p>The email address associated with this alternate contact.</p>
348348
* @public
349349
*/
350-
EmailAddress?: string;
350+
EmailAddress?: string | undefined;
351351

352352
/**
353353
* <p>The phone number associated with this alternate contact.</p>
354354
* @public
355355
*/
356-
PhoneNumber?: string;
356+
PhoneNumber?: string | undefined;
357357

358358
/**
359359
* <p>The type of alternate contact.</p>
360360
* @public
361361
*/
362-
AlternateContactType?: AlternateContactType;
362+
AlternateContactType?: AlternateContactType | undefined;
363363
}
364364

365365
/**
@@ -370,7 +370,7 @@ export interface GetAlternateContactResponse {
370370
* <p>A structure that contains the details for the specified alternate contact.</p>
371371
* @public
372372
*/
373-
AlternateContact?: AlternateContact;
373+
AlternateContact?: AlternateContact | undefined;
374374
}
375375

376376
/**
@@ -428,7 +428,7 @@ export interface PutAlternateContactRequest {
428428
* the account whose contacts you wish to retrieve or modify.</p>
429429
* @public
430430
*/
431-
AccountId?: string;
431+
AccountId?: string | undefined;
432432
}
433433

434434
/**
@@ -456,7 +456,7 @@ export interface GetContactInformationRequest {
456456
* account whose contacts you wish to retrieve or modify.</p>
457457
* @public
458458
*/
459-
AccountId?: string;
459+
AccountId?: string | undefined;
460460
}
461461

462462
/**
@@ -481,13 +481,13 @@ export interface ContactInformation {
481481
* <p>The second line of the primary contact address, if any.</p>
482482
* @public
483483
*/
484-
AddressLine2?: string;
484+
AddressLine2?: string | undefined;
485485

486486
/**
487487
* <p>The third line of the primary contact address, if any.</p>
488488
* @public
489489
*/
490-
AddressLine3?: string;
490+
AddressLine3?: string | undefined;
491491

492492
/**
493493
* <p>The city of the primary contact address.</p>
@@ -503,13 +503,13 @@ export interface ContactInformation {
503503
* and <code>BR</code>.</p>
504504
* @public
505505
*/
506-
StateOrRegion?: string;
506+
StateOrRegion?: string | undefined;
507507

508508
/**
509509
* <p>The district or county of the primary contact address, if any.</p>
510510
* @public
511511
*/
512-
DistrictOrCounty?: string;
512+
DistrictOrCounty?: string | undefined;
513513

514514
/**
515515
* <p>The postal code of the primary contact address.</p>
@@ -535,13 +535,13 @@ export interface ContactInformation {
535535
* any.</p>
536536
* @public
537537
*/
538-
CompanyName?: string;
538+
CompanyName?: string | undefined;
539539

540540
/**
541541
* <p>The URL of the website associated with the primary contact information, if any.</p>
542542
* @public
543543
*/
544-
WebsiteUrl?: string;
544+
WebsiteUrl?: string | undefined;
545545
}
546546

547547
/**
@@ -553,7 +553,7 @@ export interface GetContactInformationResponse {
553553
* Amazon Web Services account.</p>
554554
* @public
555555
*/
556-
ContactInformation?: ContactInformation;
556+
ContactInformation?: ContactInformation | undefined;
557557
}
558558

559559
/**
@@ -588,7 +588,7 @@ export interface PutContactInformationRequest {
588588
* account whose contacts you wish to retrieve or modify.</p>
589589
* @public
590590
*/
591-
AccountId?: string;
591+
AccountId?: string | undefined;
592592
}
593593

594594
/**
@@ -624,7 +624,7 @@ export interface GetPrimaryEmailResponse {
624624
* account.</p>
625625
* @public
626626
*/
627-
PrimaryEmail?: string;
627+
PrimaryEmail?: string | undefined;
628628
}
629629

630630
/**
@@ -666,7 +666,7 @@ export interface StartPrimaryEmailUpdateResponse {
666666
* <p>The status of the primary email update request.</p>
667667
* @public
668668
*/
669-
Status?: PrimaryEmailUpdateStatus;
669+
Status?: PrimaryEmailUpdateStatus | undefined;
670670
}
671671

672672
/**
@@ -694,7 +694,7 @@ export interface DisableRegionRequest {
694694
* account whose contacts you wish to retrieve or modify.</p>
695695
* @public
696696
*/
697-
AccountId?: string;
697+
AccountId?: string | undefined;
698698

699699
/**
700700
* <p>Specifies the Region-code for a given Region name (for example,
@@ -732,7 +732,7 @@ export interface EnableRegionRequest {
732732
* account whose contacts you wish to retrieve or modify.</p>
733733
* @public
734734
*/
735-
AccountId?: string;
735+
AccountId?: string | undefined;
736736

737737
/**
738738
* <p>Specifies the Region-code for a given Region name (for example,
@@ -771,7 +771,7 @@ export interface GetRegionOptStatusRequest {
771771
* account whose contacts you wish to retrieve or modify.</p>
772772
* @public
773773
*/
774-
AccountId?: string;
774+
AccountId?: string | undefined;
775775

776776
/**
777777
* <p>Specifies the Region-code for a given Region name (for example,
@@ -807,14 +807,14 @@ export interface GetRegionOptStatusResponse {
807807
* <p>The Region code that was passed in.</p>
808808
* @public
809809
*/
810-
RegionName?: string;
810+
RegionName?: string | undefined;
811811

812812
/**
813813
* <p>One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled,
814814
* Disabling, Enabled_By_Default).</p>
815815
* @public
816816
*/
817-
RegionOptStatus?: RegionOptStatus;
817+
RegionOptStatus?: RegionOptStatus | undefined;
818818
}
819819

820820
/**
@@ -842,7 +842,7 @@ export interface ListRegionsRequest {
842842
* account whose contacts you wish to retrieve or modify.</p>
843843
* @public
844844
*/
845-
AccountId?: string;
845+
AccountId?: string | undefined;
846846

847847
/**
848848
* <p>The total number of items to return in the command’s output. If the total number of
@@ -854,15 +854,15 @@ export interface ListRegionsRequest {
854854
* Guide</i>. </p>
855855
* @public
856856
*/
857-
MaxResults?: number;
857+
MaxResults?: number | undefined;
858858

859859
/**
860860
* <p>A token used to specify where to start paginating. This is the <code>NextToken</code>
861861
* from a previously truncated response. For usage examples, see <a href="http://docs.aws.amazon.com/cli/latest/userguide/pagination.html">Pagination</a> in the
862862
* <i>Amazon Web Services Command Line Interface User Guide</i>.</p>
863863
* @public
864864
*/
865-
NextToken?: string;
865+
NextToken?: string | undefined;
866866

867867
/**
868868
* <p>A list of Region statuses (Enabling, Enabled, Disabling, Disabled, Enabled_by_default)
@@ -871,7 +871,7 @@ export interface ListRegionsRequest {
871871
* ENABLING.</p>
872872
* @public
873873
*/
874-
RegionOptStatusContains?: RegionOptStatus[];
874+
RegionOptStatusContains?: RegionOptStatus[] | undefined;
875875
}
876876

877877
/**
@@ -884,14 +884,14 @@ export interface Region {
884884
* <p>The Region code of a given Region (for example, <code>us-east-1</code>).</p>
885885
* @public
886886
*/
887-
RegionName?: string;
887+
RegionName?: string | undefined;
888888

889889
/**
890890
* <p>One of potential statuses a Region can undergo (Enabled, Enabling, Disabled,
891891
* Disabling, Enabled_By_Default).</p>
892892
* @public
893893
*/
894-
RegionOptStatus?: RegionOptStatus;
894+
RegionOptStatus?: RegionOptStatus | undefined;
895895
}
896896

897897
/**
@@ -903,15 +903,15 @@ export interface ListRegionsResponse {
903903
* the <code>next-token</code> request parameter of <code>list-regions</code>.</p>
904904
* @public
905905
*/
906-
NextToken?: string;
906+
NextToken?: string | undefined;
907907

908908
/**
909909
* <p>This is a list of Regions for a given account, or if the filtered parameter was used,
910910
* a list of Regions that match the filter criteria set in the <code>filter</code>
911911
* parameter.</p>
912912
* @public
913913
*/
914-
Regions?: Region[];
914+
Regions?: Region[] | undefined;
915915
}
916916

917917
/**

0 commit comments

Comments
 (0)