Skip to content

Commit

Permalink
feat: add filterSensitiveLog method to Structure namespaces (#1130)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed May 27, 2020
1 parent 4895ac7 commit 8eff087
Show file tree
Hide file tree
Showing 225 changed files with 135,272 additions and 1 deletion.
238 changes: 238 additions & 0 deletions clients/client-accessanalyzer/models/index.ts

Large diffs are not rendered by default.

283 changes: 283 additions & 0 deletions clients/client-acm-pca/models/index.ts

Large diffs are not rendered by default.

211 changes: 211 additions & 0 deletions clients/client-acm/models/index.ts

Large diffs are not rendered by default.

1,343 changes: 1,343 additions & 0 deletions clients/client-alexa-for-business/models/index.ts

Large diffs are not rendered by default.

468 changes: 468 additions & 0 deletions clients/client-amplify/models/index.ts

Large diffs are not rendered by default.

942 changes: 942 additions & 0 deletions clients/client-api-gateway/models/index.ts

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions clients/client-apigatewaymanagementapi/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
SENSITIVE_STRING,
SmithyException as __SmithyException,
isa as __isa
} from "@aws-sdk/smithy-client";
Expand All @@ -10,6 +11,9 @@ export interface DeleteConnectionRequest {
}

export namespace DeleteConnectionRequest {
export const filterSensitiveLog = (obj: DeleteConnectionRequest): any => ({
...obj
});
export const isa = (o: any): o is DeleteConnectionRequest =>
__isa(o, "DeleteConnectionRequest");
}
Expand All @@ -23,6 +27,9 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
}

export namespace ForbiddenException {
export const filterSensitiveLog = (obj: ForbiddenException): any => ({
...obj
});
export const isa = (o: any): o is ForbiddenException =>
__isa(o, "ForbiddenException");
}
Expand All @@ -33,6 +40,9 @@ export interface GetConnectionRequest {
}

export namespace GetConnectionRequest {
export const filterSensitiveLog = (obj: GetConnectionRequest): any => ({
...obj
});
export const isa = (o: any): o is GetConnectionRequest =>
__isa(o, "GetConnectionRequest");
}
Expand All @@ -52,6 +62,10 @@ export interface GetConnectionResponse {
}

export namespace GetConnectionResponse {
export const filterSensitiveLog = (obj: GetConnectionResponse): any => ({
...obj,
...(obj.Identity && { Identity: Identity.filterSensitiveLog(obj.Identity) })
});
export const isa = (o: any): o is GetConnectionResponse =>
__isa(o, "GetConnectionResponse");
}
Expand All @@ -65,6 +79,9 @@ export interface GoneException extends __SmithyException, $MetadataBearer {
}

export namespace GoneException {
export const filterSensitiveLog = (obj: GoneException): any => ({
...obj
});
export const isa = (o: any): o is GoneException => __isa(o, "GoneException");
}

Expand All @@ -82,6 +99,9 @@ export interface Identity {
}

export namespace Identity {
export const filterSensitiveLog = (obj: Identity): any => ({
...obj
});
export const isa = (o: any): o is Identity => __isa(o, "Identity");
}

Expand All @@ -96,6 +116,9 @@ export interface LimitExceededException
}

export namespace LimitExceededException {
export const filterSensitiveLog = (obj: LimitExceededException): any => ({
...obj
});
export const isa = (o: any): o is LimitExceededException =>
__isa(o, "LimitExceededException");
}
Expand All @@ -112,6 +135,9 @@ export interface PayloadTooLargeException
}

export namespace PayloadTooLargeException {
export const filterSensitiveLog = (obj: PayloadTooLargeException): any => ({
...obj
});
export const isa = (o: any): o is PayloadTooLargeException =>
__isa(o, "PayloadTooLargeException");
}
Expand All @@ -130,6 +156,9 @@ export interface PostToConnectionRequest {
}

export namespace PostToConnectionRequest {
export const filterSensitiveLog = (obj: PostToConnectionRequest): any => ({
...obj
});
export const isa = (o: any): o is PostToConnectionRequest =>
__isa(o, "PostToConnectionRequest");
}
Loading

0 comments on commit 8eff087

Please sign in to comment.