Skip to content

Commit 12d2db2

Browse files
authored
chore(clients): remove filterSensitiveLog for service exceptions (#3176)
1 parent 9bf8f1d commit 12d2db2

File tree

318 files changed

+49
-36942
lines changed

Some content is hidden

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

318 files changed

+49
-36942
lines changed

Diff for: clients/client-accessanalyzer/src/models/models_0.ts

-63
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
99
message: string | undefined;
1010
}
1111

12-
export namespace AccessDeniedException {
13-
/**
14-
* @internal
15-
*/
16-
export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
17-
...obj,
18-
});
19-
}
20-
2112
/**
2213
* <p>A conflict exception error.</p>
2314
*/
@@ -36,15 +27,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
3627
resourceType: string | undefined;
3728
}
3829

39-
export namespace ConflictException {
40-
/**
41-
* @internal
42-
*/
43-
export const filterSensitiveLog = (obj: ConflictException): any => ({
44-
...obj,
45-
});
46-
}
47-
4830
/**
4931
* <p>The criteria to use in the filter that defines the archive rule.</p>
5032
*/
@@ -127,15 +109,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
127109
retryAfterSeconds?: number;
128110
}
129111

130-
export namespace InternalServerException {
131-
/**
132-
* @internal
133-
*/
134-
export const filterSensitiveLog = (obj: InternalServerException): any => ({
135-
...obj,
136-
});
137-
}
138-
139112
/**
140113
* <p>The specified resource could not be found.</p>
141114
*/
@@ -154,15 +127,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
154127
resourceType: string | undefined;
155128
}
156129

157-
export namespace ResourceNotFoundException {
158-
/**
159-
* @internal
160-
*/
161-
export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
162-
...obj,
163-
});
164-
}
165-
166130
/**
167131
* <p>Service quote met error.</p>
168132
*/
@@ -181,15 +145,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
181145
resourceType: string | undefined;
182146
}
183147

184-
export namespace ServiceQuotaExceededException {
185-
/**
186-
* @internal
187-
*/
188-
export const filterSensitiveLog = (obj: ServiceQuotaExceededException): any => ({
189-
...obj,
190-
});
191-
}
192-
193148
/**
194149
* <p>Throttling limit exceeded error.</p>
195150
*/
@@ -206,15 +161,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
206161
retryAfterSeconds?: number;
207162
}
208163

209-
export namespace ThrottlingException {
210-
/**
211-
* @internal
212-
*/
213-
export const filterSensitiveLog = (obj: ThrottlingException): any => ({
214-
...obj,
215-
});
216-
}
217-
218164
/**
219165
* <p>Contains information about a validation exception.</p>
220166
*/
@@ -264,15 +210,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
264210
fieldList?: ValidationExceptionField[];
265211
}
266212

267-
export namespace ValidationException {
268-
/**
269-
* @internal
270-
*/
271-
export const filterSensitiveLog = (obj: ValidationException): any => ({
272-
...obj,
273-
});
274-
}
275-
276213
/**
277214
* <p>Deletes an archive rule.</p>
278215
*/

Diff for: clients/client-account/src/models/models_0.ts

-45
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
1111
message: string | undefined;
1212
}
1313

14-
export namespace AccessDeniedException {
15-
/**
16-
* @internal
17-
*/
18-
export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
19-
...obj,
20-
});
21-
}
22-
2314
export enum AlternateContactType {
2415
BILLING = "BILLING",
2516
OPERATIONS = "OPERATIONS",
@@ -75,15 +66,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
7566
message: string | undefined;
7667
}
7768

78-
export namespace InternalServerException {
79-
/**
80-
* @internal
81-
*/
82-
export const filterSensitiveLog = (obj: InternalServerException): any => ({
83-
...obj,
84-
});
85-
}
86-
8769
/**
8870
* <p>The operation failed because it specified a resource that can't be found.</p>
8971
*/
@@ -93,15 +75,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
9375
message: string | undefined;
9476
}
9577

96-
export namespace ResourceNotFoundException {
97-
/**
98-
* @internal
99-
*/
100-
export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
101-
...obj,
102-
});
103-
}
104-
10578
/**
10679
* <p>The operation failed because it was called too frequently and exceeded a throttle
10780
* limit.</p>
@@ -115,15 +88,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
11588
message: string | undefined;
11689
}
11790

118-
export namespace TooManyRequestsException {
119-
/**
120-
* @internal
121-
*/
122-
export const filterSensitiveLog = (obj: TooManyRequestsException): any => ({
123-
...obj,
124-
});
125-
}
126-
12791
/**
12892
* <p>The operation failed because one of the input parameters was invalid.</p>
12993
*/
@@ -133,15 +97,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
13397
message: string | undefined;
13498
}
13599

136-
export namespace ValidationException {
137-
/**
138-
* @internal
139-
*/
140-
export const filterSensitiveLog = (obj: ValidationException): any => ({
141-
...obj,
142-
});
143-
}
144-
145100
export interface GetAlternateContactRequest {
146101
/**
147102
* <p>Specifies which alternate contact you want to retrieve.</p>

0 commit comments

Comments
 (0)