Skip to content

Commit 1fefd3d

Browse files
committed
chore: remove filterSensitiveLog from union exceptions
1 parent 01031d6 commit 1fefd3d

File tree

318 files changed

+36884
-17
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

+36884
-17
lines changed

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

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ 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+
1221
/**
1322
* <p>A conflict exception error.</p>
1423
*/
@@ -27,6 +36,15 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
2736
resourceType: string | undefined;
2837
}
2938

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

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

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

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

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

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

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

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ 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+
1423
export enum AlternateContactType {
1524
BILLING = "BILLING",
1625
OPERATIONS = "OPERATIONS",
@@ -66,6 +75,15 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
6675
message: string | undefined;
6776
}
6877

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

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

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

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

0 commit comments

Comments
 (0)