Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(clients): remove filterSensitiveLog for service exceptions #3176

Merged
merged 2 commits into from
Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
63 changes: 0 additions & 63 deletions clients/client-accessanalyzer/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
message: string | undefined;
}

export namespace AccessDeniedException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
...obj,
});
}

/**
* <p>A conflict exception error.</p>
*/
Expand All @@ -36,15 +27,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
resourceType: string | undefined;
}

export namespace ConflictException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: ConflictException): any => ({
...obj,
});
}

/**
* <p>The criteria to use in the filter that defines the archive rule.</p>
*/
Expand Down Expand Up @@ -127,15 +109,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
retryAfterSeconds?: number;
}

export namespace InternalServerException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: InternalServerException): any => ({
...obj,
});
}

/**
* <p>The specified resource could not be found.</p>
*/
Expand All @@ -154,15 +127,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
resourceType: string | undefined;
}

export namespace ResourceNotFoundException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
...obj,
});
}

/**
* <p>Service quote met error.</p>
*/
Expand All @@ -181,15 +145,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
resourceType: string | undefined;
}

export namespace ServiceQuotaExceededException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: ServiceQuotaExceededException): any => ({
...obj,
});
}

/**
* <p>Throttling limit exceeded error.</p>
*/
Expand All @@ -206,15 +161,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
retryAfterSeconds?: number;
}

export namespace ThrottlingException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: ThrottlingException): any => ({
...obj,
});
}

/**
* <p>Contains information about a validation exception.</p>
*/
Expand Down Expand Up @@ -264,15 +210,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
fieldList?: ValidationExceptionField[];
}

export namespace ValidationException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: ValidationException): any => ({
...obj,
});
}

/**
* <p>Deletes an archive rule.</p>
*/
Expand Down
45 changes: 0 additions & 45 deletions clients/client-account/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
message: string | undefined;
}

export namespace AccessDeniedException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
...obj,
});
}

export enum AlternateContactType {
BILLING = "BILLING",
OPERATIONS = "OPERATIONS",
Expand Down Expand Up @@ -75,15 +66,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
message: string | undefined;
}

export namespace InternalServerException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: InternalServerException): any => ({
...obj,
});
}

/**
* <p>The operation failed because it specified a resource that can't be found.</p>
*/
Expand All @@ -93,15 +75,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
message: string | undefined;
}

export namespace ResourceNotFoundException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
...obj,
});
}

/**
* <p>The operation failed because it was called too frequently and exceeded a throttle
* limit.</p>
Expand All @@ -115,15 +88,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
message: string | undefined;
}

export namespace TooManyRequestsException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: TooManyRequestsException): any => ({
...obj,
});
}

/**
* <p>The operation failed because one of the input parameters was invalid.</p>
*/
Expand All @@ -133,15 +97,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
message: string | undefined;
}

export namespace ValidationException {
/**
* @internal
*/
export const filterSensitiveLog = (obj: ValidationException): any => ({
...obj,
});
}

export interface GetAlternateContactRequest {
/**
* <p>Specifies which alternate contact you want to retrieve.</p>
Expand Down
Loading