Skip to content

Commit 7d31222

Browse files
authored
chore(codegen): update smithy commit to closed enums (#5356)
* chore(codegen): update smithy commit to closed enums * chore(clients): update codegen for closed enums * chore(codegen): update lockfile * chore(codegen): update Records with enum key * chore(codegen): update smithy commit with fix for map enum keys * chore(codegen): update enum codegen * chore(codegen): formatting java
1 parent f05d9c6 commit 7d31222

File tree

849 files changed

+14412
-14373
lines changed

Some content is hidden

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

849 files changed

+14412
-14373
lines changed

clients/client-accessanalyzer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@smithy/hash-node": "^2.0.11",
3939
"@smithy/invalid-dependency": "^2.0.11",
4040
"@smithy/middleware-content-length": "^2.0.13",
41-
"@smithy/middleware-endpoint": "^2.1.0",
41+
"@smithy/middleware-endpoint": "^2.1.1",
4242
"@smithy/middleware-retry": "^2.0.16",
4343
"@smithy/middleware-serde": "^2.0.11",
4444
"@smithy/middleware-stack": "^2.0.5",

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

+33-33
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ export class ValidationException extends __BaseException {
290290
* @public
291291
* <p>The reason for the exception.</p>
292292
*/
293-
reason: ValidationExceptionReason | string | undefined;
293+
reason: ValidationExceptionReason | undefined;
294294

295295
/**
296296
* @public
@@ -511,7 +511,7 @@ export interface CreateAnalyzerRequest {
511511
* You can create only one analyzer per account per Region. You can create up to 5 analyzers
512512
* per organization per Region.</p>
513513
*/
514-
type: Type | string | undefined;
514+
type: Type | undefined;
515515

516516
/**
517517
* @public
@@ -601,7 +601,7 @@ export interface StatusReason {
601601
* @public
602602
* <p>The reason code for the current status of the analyzer.</p>
603603
*/
604-
code: ReasonCode | string | undefined;
604+
code: ReasonCode | undefined;
605605
}
606606

607607
/**
@@ -626,7 +626,7 @@ export interface AnalyzerSummary {
626626
* <p>The type of analyzer, which corresponds to the zone of trust chosen for the
627627
* analyzer.</p>
628628
*/
629-
type: Type | string | undefined;
629+
type: Type | undefined;
630630

631631
/**
632632
* @public
@@ -661,7 +661,7 @@ export interface AnalyzerSummary {
661661
* analyzer creation is in progress and <code>Failed</code> when the analyzer creation has
662662
* failed. </p>
663663
*/
664-
status: AnalyzerStatus | string | undefined;
664+
status: AnalyzerStatus | undefined;
665665

666666
/**
667667
* @public
@@ -708,7 +708,7 @@ export interface ListAnalyzersRequest {
708708
* @public
709709
* <p>The type of analyzer.</p>
710710
*/
711-
type?: Type | string;
711+
type?: Type;
712712
}
713713

714714
/**
@@ -988,7 +988,7 @@ export interface KmsGrantConfiguration {
988988
* @public
989989
* <p>A list of operations that the grant permits.</p>
990990
*/
991-
operations: (KmsGrantOperation | string)[] | undefined;
991+
operations: KmsGrantOperation[] | undefined;
992992

993993
/**
994994
* @public
@@ -1477,7 +1477,7 @@ export interface S3BucketAclGrantConfiguration {
14771477
* @public
14781478
* <p>The permissions being granted.</p>
14791479
*/
1480-
permission: AclPermission | string | undefined;
1480+
permission: AclPermission | undefined;
14811481

14821482
/**
14831483
* @public
@@ -1980,7 +1980,7 @@ export interface AccessPreviewStatusReason {
19801980
* @public
19811981
* <p>The reason code for the current status of the access preview.</p>
19821982
*/
1983-
code: AccessPreviewStatusReasonCode | string | undefined;
1983+
code: AccessPreviewStatusReasonCode | undefined;
19841984
}
19851985

19861986
/**
@@ -2031,7 +2031,7 @@ export interface AccessPreview {
20312031
* </li>
20322032
* </ul>
20332033
*/
2034-
status: AccessPreviewStatus | string | undefined;
2034+
status: AccessPreviewStatus | undefined;
20352035

20362036
/**
20372037
* @public
@@ -2111,7 +2111,7 @@ export interface AnalyzedResource {
21112111
* @public
21122112
* <p>The type of the resource that was analyzed.</p>
21132113
*/
2114-
resourceType: ResourceType | string | undefined;
2114+
resourceType: ResourceType | undefined;
21152115

21162116
/**
21172117
* @public
@@ -2156,7 +2156,7 @@ export interface AnalyzedResource {
21562156
* @public
21572157
* <p>The current status of the finding generated from the analyzed resource.</p>
21582158
*/
2159-
status?: FindingStatus | string;
2159+
status?: FindingStatus;
21602160

21612161
/**
21622162
* @public
@@ -2238,7 +2238,7 @@ export interface FindingSource {
22382238
* @public
22392239
* <p>Indicates the type of access that generated the finding.</p>
22402240
*/
2241-
type: FindingSourceType | string | undefined;
2241+
type: FindingSourceType | undefined;
22422242

22432243
/**
22442244
* @public
@@ -2289,7 +2289,7 @@ export interface Finding {
22892289
* @public
22902290
* <p>The type of the resource identified in the finding.</p>
22912291
*/
2292-
resourceType: ResourceType | string | undefined;
2292+
resourceType: ResourceType | undefined;
22932293

22942294
/**
22952295
* @public
@@ -2319,7 +2319,7 @@ export interface Finding {
23192319
* @public
23202320
* <p>The current status of the finding.</p>
23212321
*/
2322-
status: FindingStatus | string | undefined;
2322+
status: FindingStatus | undefined;
23232323

23242324
/**
23252325
* @public
@@ -2525,7 +2525,7 @@ export interface JobError {
25252525
* @public
25262526
* <p>The job error code.</p>
25272527
*/
2528-
code: JobErrorCode | string | undefined;
2528+
code: JobErrorCode | undefined;
25292529

25302530
/**
25312531
* @public
@@ -2569,7 +2569,7 @@ export interface JobDetails {
25692569
* @public
25702570
* <p>The status of the job request.</p>
25712571
*/
2572-
status: JobStatus | string | undefined;
2572+
status: JobStatus | undefined;
25732573

25742574
/**
25752575
* @public
@@ -2684,7 +2684,7 @@ export interface AccessPreviewFinding {
26842684
* @public
26852685
* <p>The existing status of the finding, provided only for existing findings.</p>
26862686
*/
2687-
existingFindingStatus?: FindingStatus | string;
2687+
existingFindingStatus?: FindingStatus;
26882688

26892689
/**
26902690
* @public
@@ -2723,7 +2723,7 @@ export interface AccessPreviewFinding {
27232723
* @public
27242724
* <p>The type of the resource that can be accessed in the finding.</p>
27252725
*/
2726-
resourceType: ResourceType | string | undefined;
2726+
resourceType: ResourceType | undefined;
27272727

27282728
/**
27292729
* @public
@@ -2755,7 +2755,7 @@ export interface AccessPreviewFinding {
27552755
* and existing status <code>Active</code> indicates the existing <code>Active</code> finding
27562756
* would become <code>Resolved</code> as a result of the proposed permissions change.</p>
27572757
*/
2758-
changeType: FindingChangeType | string | undefined;
2758+
changeType: FindingChangeType | undefined;
27592759

27602760
/**
27612761
* @public
@@ -2765,7 +2765,7 @@ export interface AccessPreviewFinding {
27652765
* <code>Active</code> finding would become <code>Resolved</code> as a result of the
27662766
* proposed permissions change.</p>
27672767
*/
2768-
status: FindingStatus | string | undefined;
2768+
status: FindingStatus | undefined;
27692769

27702770
/**
27712771
* @public
@@ -2871,7 +2871,7 @@ export interface AccessPreviewSummary {
28712871
* </li>
28722872
* </ul>
28732873
*/
2874-
status: AccessPreviewStatus | string | undefined;
2874+
status: AccessPreviewStatus | undefined;
28752875

28762876
/**
28772877
* @public
@@ -2916,7 +2916,7 @@ export interface ListAnalyzedResourcesRequest {
29162916
* @public
29172917
* <p>The type of resource.</p>
29182918
*/
2919-
resourceType?: ResourceType | string;
2919+
resourceType?: ResourceType;
29202920

29212921
/**
29222922
* @public
@@ -2952,7 +2952,7 @@ export interface AnalyzedResourceSummary {
29522952
* @public
29532953
* <p>The type of resource that was analyzed.</p>
29542954
*/
2955-
resourceType: ResourceType | string | undefined;
2955+
resourceType: ResourceType | undefined;
29562956
}
29572957

29582958
/**
@@ -2993,7 +2993,7 @@ export interface SortCriteria {
29932993
* @public
29942994
* <p>The sort order, ascending or descending.</p>
29952995
*/
2996-
orderBy?: OrderBy | string;
2996+
orderBy?: OrderBy;
29972997
}
29982998

29992999
/**
@@ -3074,7 +3074,7 @@ export interface FindingSummary {
30743074
* @public
30753075
* <p>The type of the resource that the external principal has access to.</p>
30763076
*/
3077-
resourceType: ResourceType | string | undefined;
3077+
resourceType: ResourceType | undefined;
30783078

30793079
/**
30803080
* @public
@@ -3105,7 +3105,7 @@ export interface FindingSummary {
31053105
* @public
31063106
* <p>The status of the finding.</p>
31073107
*/
3108-
status: FindingStatus | string | undefined;
3108+
status: FindingStatus | undefined;
31093109

31103110
/**
31113111
* @public
@@ -3195,7 +3195,7 @@ export interface PolicyGeneration {
31953195
* @public
31963196
* <p>The status of the policy generation request.</p>
31973197
*/
3198-
status: JobStatus | string | undefined;
3198+
status: JobStatus | undefined;
31993199

32003200
/**
32013201
* @public
@@ -3469,7 +3469,7 @@ export interface UpdateFindingsRequest {
34693469
* <code>ARCHIVE</code> to change an Active finding to an Archived finding. Use
34703470
* <code>ACTIVE</code> to change an Archived finding to an Active finding.</p>
34713471
*/
3472-
status: FindingStatusUpdate | string | undefined;
3472+
status: FindingStatusUpdate | undefined;
34733473

34743474
/**
34753475
* @public
@@ -3552,7 +3552,7 @@ export interface ValidatePolicyRequest {
35523552
* @public
35533553
* <p>The locale to use for localizing the findings.</p>
35543554
*/
3555-
locale?: Locale | string;
3555+
locale?: Locale;
35563556

35573557
/**
35583558
* @public
@@ -3583,7 +3583,7 @@ export interface ValidatePolicyRequest {
35833583
* input such as identity policy or resource policy or a specific input such as managed policy
35843584
* or Amazon S3 bucket policy. </p>
35853585
*/
3586-
policyType: PolicyType | string | undefined;
3586+
policyType: PolicyType | undefined;
35873587

35883588
/**
35893589
* @public
@@ -3596,7 +3596,7 @@ export interface ValidatePolicyRequest {
35963596
* KMS key, do not specify a value for the policy validation resource type and IAM Access Analyzer
35973597
* will run policy checks that apply to all resource policies.</p>
35983598
*/
3599-
validatePolicyResourceType?: ValidatePolicyResourceType | string;
3599+
validatePolicyResourceType?: ValidatePolicyResourceType;
36003600
}
36013601

36023602
/**
@@ -3810,7 +3810,7 @@ export interface ValidatePolicyFinding {
38103810
* <p>Suggestions recommend stylistic improvements in the policy that do not impact
38113811
* access.</p>
38123812
*/
3813-
findingType: ValidatePolicyFindingType | string | undefined;
3813+
findingType: ValidatePolicyFindingType | undefined;
38143814

38153815
/**
38163816
* @public

clients/client-account/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@smithy/hash-node": "^2.0.11",
3939
"@smithy/invalid-dependency": "^2.0.11",
4040
"@smithy/middleware-content-length": "^2.0.13",
41-
"@smithy/middleware-endpoint": "^2.1.0",
41+
"@smithy/middleware-endpoint": "^2.1.1",
4242
"@smithy/middleware-retry": "^2.0.16",
4343
"@smithy/middleware-serde": "^2.0.11",
4444
"@smithy/middleware-stack": "^2.0.5",

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface DeleteAlternateContactRequest {
4747
* @public
4848
* <p>Specifies which of the alternate contacts to delete. </p>
4949
*/
50-
AlternateContactType: AlternateContactType | string | undefined;
50+
AlternateContactType: AlternateContactType | undefined;
5151

5252
/**
5353
* @public
@@ -182,7 +182,7 @@ export class ValidationException extends __BaseException {
182182
* @public
183183
* <p>The reason that validation failed.</p>
184184
*/
185-
reason?: ValidationExceptionReason | string;
185+
reason?: ValidationExceptionReason;
186186

187187
/**
188188
* @public
@@ -213,7 +213,7 @@ export interface GetAlternateContactRequest {
213213
* @public
214214
* <p>Specifies which alternate contact you want to retrieve.</p>
215215
*/
216-
AlternateContactType: AlternateContactType | string | undefined;
216+
AlternateContactType: AlternateContactType | undefined;
217217

218218
/**
219219
* @public
@@ -273,7 +273,7 @@ export interface AlternateContact {
273273
* @public
274274
* <p>The type of alternate contact.</p>
275275
*/
276-
AlternateContactType?: AlternateContactType | string;
276+
AlternateContactType?: AlternateContactType;
277277
}
278278

279279
/**
@@ -319,7 +319,7 @@ export interface PutAlternateContactRequest {
319319
* @public
320320
* <p>Specifies which alternate contact you want to create or update.</p>
321321
*/
322-
AlternateContactType: AlternateContactType | string | undefined;
322+
AlternateContactType: AlternateContactType | undefined;
323323

324324
/**
325325
* @public
@@ -662,7 +662,7 @@ export interface GetRegionOptStatusResponse {
662662
* <p>One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled,
663663
* Disabling, Enabled_By_Default).</p>
664664
*/
665-
RegionOptStatus?: RegionOptStatus | string;
665+
RegionOptStatus?: RegionOptStatus;
666666
}
667667

668668
/**
@@ -719,7 +719,7 @@ export interface ListRegionsRequest {
719719
* value of ENABLING will only return a list of Regions with a Region status of
720720
* ENABLING.</p>
721721
*/
722-
RegionOptStatusContains?: (RegionOptStatus | string)[];
722+
RegionOptStatusContains?: RegionOptStatus[];
723723
}
724724

725725
/**
@@ -739,7 +739,7 @@ export interface Region {
739739
* <p>One of potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling,
740740
* Enabled_By_Default).</p>
741741
*/
742-
RegionOptStatus?: RegionOptStatus | string;
742+
RegionOptStatus?: RegionOptStatus;
743743
}
744744

745745
/**

clients/client-acm-pca/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@smithy/hash-node": "^2.0.11",
3939
"@smithy/invalid-dependency": "^2.0.11",
4040
"@smithy/middleware-content-length": "^2.0.13",
41-
"@smithy/middleware-endpoint": "^2.1.0",
41+
"@smithy/middleware-endpoint": "^2.1.1",
4242
"@smithy/middleware-retry": "^2.0.16",
4343
"@smithy/middleware-serde": "^2.0.11",
4444
"@smithy/middleware-stack": "^2.0.5",

0 commit comments

Comments
 (0)