Skip to content

Commit

Permalink
chore(codegen): update smithy commit to closed enums (#5356)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
kuhe committed Oct 16, 2023
1 parent f05d9c6 commit 7d31222
Show file tree
Hide file tree
Showing 849 changed files with 14,412 additions and 14,373 deletions.
2 changes: 1 addition & 1 deletion clients/client-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@smithy/hash-node": "^2.0.11",
"@smithy/invalid-dependency": "^2.0.11",
"@smithy/middleware-content-length": "^2.0.13",
"@smithy/middleware-endpoint": "^2.1.0",
"@smithy/middleware-endpoint": "^2.1.1",
"@smithy/middleware-retry": "^2.0.16",
"@smithy/middleware-serde": "^2.0.11",
"@smithy/middleware-stack": "^2.0.5",
Expand Down
66 changes: 33 additions & 33 deletions clients/client-accessanalyzer/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export class ValidationException extends __BaseException {
* @public
* <p>The reason for the exception.</p>
*/
reason: ValidationExceptionReason | string | undefined;
reason: ValidationExceptionReason | undefined;

/**
* @public
Expand Down Expand Up @@ -511,7 +511,7 @@ export interface CreateAnalyzerRequest {
* You can create only one analyzer per account per Region. You can create up to 5 analyzers
* per organization per Region.</p>
*/
type: Type | string | undefined;
type: Type | undefined;

/**
* @public
Expand Down Expand Up @@ -601,7 +601,7 @@ export interface StatusReason {
* @public
* <p>The reason code for the current status of the analyzer.</p>
*/
code: ReasonCode | string | undefined;
code: ReasonCode | undefined;
}

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

/**
* @public
Expand Down Expand Up @@ -661,7 +661,7 @@ export interface AnalyzerSummary {
* analyzer creation is in progress and <code>Failed</code> when the analyzer creation has
* failed. </p>
*/
status: AnalyzerStatus | string | undefined;
status: AnalyzerStatus | undefined;

/**
* @public
Expand Down Expand Up @@ -708,7 +708,7 @@ export interface ListAnalyzersRequest {
* @public
* <p>The type of analyzer.</p>
*/
type?: Type | string;
type?: Type;
}

/**
Expand Down Expand Up @@ -988,7 +988,7 @@ export interface KmsGrantConfiguration {
* @public
* <p>A list of operations that the grant permits.</p>
*/
operations: (KmsGrantOperation | string)[] | undefined;
operations: KmsGrantOperation[] | undefined;

/**
* @public
Expand Down Expand Up @@ -1477,7 +1477,7 @@ export interface S3BucketAclGrantConfiguration {
* @public
* <p>The permissions being granted.</p>
*/
permission: AclPermission | string | undefined;
permission: AclPermission | undefined;

/**
* @public
Expand Down Expand Up @@ -1980,7 +1980,7 @@ export interface AccessPreviewStatusReason {
* @public
* <p>The reason code for the current status of the access preview.</p>
*/
code: AccessPreviewStatusReasonCode | string | undefined;
code: AccessPreviewStatusReasonCode | undefined;
}

/**
Expand Down Expand Up @@ -2031,7 +2031,7 @@ export interface AccessPreview {
* </li>
* </ul>
*/
status: AccessPreviewStatus | string | undefined;
status: AccessPreviewStatus | undefined;

/**
* @public
Expand Down Expand Up @@ -2111,7 +2111,7 @@ export interface AnalyzedResource {
* @public
* <p>The type of the resource that was analyzed.</p>
*/
resourceType: ResourceType | string | undefined;
resourceType: ResourceType | undefined;

/**
* @public
Expand Down Expand Up @@ -2156,7 +2156,7 @@ export interface AnalyzedResource {
* @public
* <p>The current status of the finding generated from the analyzed resource.</p>
*/
status?: FindingStatus | string;
status?: FindingStatus;

/**
* @public
Expand Down Expand Up @@ -2238,7 +2238,7 @@ export interface FindingSource {
* @public
* <p>Indicates the type of access that generated the finding.</p>
*/
type: FindingSourceType | string | undefined;
type: FindingSourceType | undefined;

/**
* @public
Expand Down Expand Up @@ -2289,7 +2289,7 @@ export interface Finding {
* @public
* <p>The type of the resource identified in the finding.</p>
*/
resourceType: ResourceType | string | undefined;
resourceType: ResourceType | undefined;

/**
* @public
Expand Down Expand Up @@ -2319,7 +2319,7 @@ export interface Finding {
* @public
* <p>The current status of the finding.</p>
*/
status: FindingStatus | string | undefined;
status: FindingStatus | undefined;

/**
* @public
Expand Down Expand Up @@ -2525,7 +2525,7 @@ export interface JobError {
* @public
* <p>The job error code.</p>
*/
code: JobErrorCode | string | undefined;
code: JobErrorCode | undefined;

/**
* @public
Expand Down Expand Up @@ -2569,7 +2569,7 @@ export interface JobDetails {
* @public
* <p>The status of the job request.</p>
*/
status: JobStatus | string | undefined;
status: JobStatus | undefined;

/**
* @public
Expand Down Expand Up @@ -2684,7 +2684,7 @@ export interface AccessPreviewFinding {
* @public
* <p>The existing status of the finding, provided only for existing findings.</p>
*/
existingFindingStatus?: FindingStatus | string;
existingFindingStatus?: FindingStatus;

/**
* @public
Expand Down Expand Up @@ -2723,7 +2723,7 @@ export interface AccessPreviewFinding {
* @public
* <p>The type of the resource that can be accessed in the finding.</p>
*/
resourceType: ResourceType | string | undefined;
resourceType: ResourceType | undefined;

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

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

/**
* @public
Expand Down Expand Up @@ -2871,7 +2871,7 @@ export interface AccessPreviewSummary {
* </li>
* </ul>
*/
status: AccessPreviewStatus | string | undefined;
status: AccessPreviewStatus | undefined;

/**
* @public
Expand Down Expand Up @@ -2916,7 +2916,7 @@ export interface ListAnalyzedResourcesRequest {
* @public
* <p>The type of resource.</p>
*/
resourceType?: ResourceType | string;
resourceType?: ResourceType;

/**
* @public
Expand Down Expand Up @@ -2952,7 +2952,7 @@ export interface AnalyzedResourceSummary {
* @public
* <p>The type of resource that was analyzed.</p>
*/
resourceType: ResourceType | string | undefined;
resourceType: ResourceType | undefined;
}

/**
Expand Down Expand Up @@ -2993,7 +2993,7 @@ export interface SortCriteria {
* @public
* <p>The sort order, ascending or descending.</p>
*/
orderBy?: OrderBy | string;
orderBy?: OrderBy;
}

/**
Expand Down Expand Up @@ -3074,7 +3074,7 @@ export interface FindingSummary {
* @public
* <p>The type of the resource that the external principal has access to.</p>
*/
resourceType: ResourceType | string | undefined;
resourceType: ResourceType | undefined;

/**
* @public
Expand Down Expand Up @@ -3105,7 +3105,7 @@ export interface FindingSummary {
* @public
* <p>The status of the finding.</p>
*/
status: FindingStatus | string | undefined;
status: FindingStatus | undefined;

/**
* @public
Expand Down Expand Up @@ -3195,7 +3195,7 @@ export interface PolicyGeneration {
* @public
* <p>The status of the policy generation request.</p>
*/
status: JobStatus | string | undefined;
status: JobStatus | undefined;

/**
* @public
Expand Down Expand Up @@ -3469,7 +3469,7 @@ export interface UpdateFindingsRequest {
* <code>ARCHIVE</code> to change an Active finding to an Archived finding. Use
* <code>ACTIVE</code> to change an Archived finding to an Active finding.</p>
*/
status: FindingStatusUpdate | string | undefined;
status: FindingStatusUpdate | undefined;

/**
* @public
Expand Down Expand Up @@ -3552,7 +3552,7 @@ export interface ValidatePolicyRequest {
* @public
* <p>The locale to use for localizing the findings.</p>
*/
locale?: Locale | string;
locale?: Locale;

/**
* @public
Expand Down Expand Up @@ -3583,7 +3583,7 @@ export interface ValidatePolicyRequest {
* input such as identity policy or resource policy or a specific input such as managed policy
* or Amazon S3 bucket policy. </p>
*/
policyType: PolicyType | string | undefined;
policyType: PolicyType | undefined;

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

/**
Expand Down Expand Up @@ -3810,7 +3810,7 @@ export interface ValidatePolicyFinding {
* <p>Suggestions recommend stylistic improvements in the policy that do not impact
* access.</p>
*/
findingType: ValidatePolicyFindingType | string | undefined;
findingType: ValidatePolicyFindingType | undefined;

/**
* @public
Expand Down
2 changes: 1 addition & 1 deletion clients/client-account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@smithy/hash-node": "^2.0.11",
"@smithy/invalid-dependency": "^2.0.11",
"@smithy/middleware-content-length": "^2.0.13",
"@smithy/middleware-endpoint": "^2.1.0",
"@smithy/middleware-endpoint": "^2.1.1",
"@smithy/middleware-retry": "^2.0.16",
"@smithy/middleware-serde": "^2.0.11",
"@smithy/middleware-stack": "^2.0.5",
Expand Down
16 changes: 8 additions & 8 deletions clients/client-account/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export interface DeleteAlternateContactRequest {
* @public
* <p>Specifies which of the alternate contacts to delete. </p>
*/
AlternateContactType: AlternateContactType | string | undefined;
AlternateContactType: AlternateContactType | undefined;

/**
* @public
Expand Down Expand Up @@ -182,7 +182,7 @@ export class ValidationException extends __BaseException {
* @public
* <p>The reason that validation failed.</p>
*/
reason?: ValidationExceptionReason | string;
reason?: ValidationExceptionReason;

/**
* @public
Expand Down Expand Up @@ -213,7 +213,7 @@ export interface GetAlternateContactRequest {
* @public
* <p>Specifies which alternate contact you want to retrieve.</p>
*/
AlternateContactType: AlternateContactType | string | undefined;
AlternateContactType: AlternateContactType | undefined;

/**
* @public
Expand Down Expand Up @@ -273,7 +273,7 @@ export interface AlternateContact {
* @public
* <p>The type of alternate contact.</p>
*/
AlternateContactType?: AlternateContactType | string;
AlternateContactType?: AlternateContactType;
}

/**
Expand Down Expand Up @@ -319,7 +319,7 @@ export interface PutAlternateContactRequest {
* @public
* <p>Specifies which alternate contact you want to create or update.</p>
*/
AlternateContactType: AlternateContactType | string | undefined;
AlternateContactType: AlternateContactType | undefined;

/**
* @public
Expand Down Expand Up @@ -662,7 +662,7 @@ export interface GetRegionOptStatusResponse {
* <p>One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled,
* Disabling, Enabled_By_Default).</p>
*/
RegionOptStatus?: RegionOptStatus | string;
RegionOptStatus?: RegionOptStatus;
}

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

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

/**
Expand Down
2 changes: 1 addition & 1 deletion clients/client-acm-pca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@smithy/hash-node": "^2.0.11",
"@smithy/invalid-dependency": "^2.0.11",
"@smithy/middleware-content-length": "^2.0.13",
"@smithy/middleware-endpoint": "^2.1.0",
"@smithy/middleware-endpoint": "^2.1.1",
"@smithy/middleware-retry": "^2.0.16",
"@smithy/middleware-serde": "^2.0.11",
"@smithy/middleware-stack": "^2.0.5",
Expand Down
Loading

0 comments on commit 7d31222

Please sign in to comment.