UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

26 lines (25 loc) 1.21 kB
import { createAggregatedClient } from "@smithy/smithy-client"; import { AssumeRoleCommand } from "./commands/AssumeRoleCommand"; import { AssumeRoleWithSAMLCommand, } from "./commands/AssumeRoleWithSAMLCommand"; import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand"; import { AssumeRootCommand } from "./commands/AssumeRootCommand"; import { DecodeAuthorizationMessageCommand, } from "./commands/DecodeAuthorizationMessageCommand"; import { GetAccessKeyInfoCommand, } from "./commands/GetAccessKeyInfoCommand"; import { GetCallerIdentityCommand, } from "./commands/GetCallerIdentityCommand"; import { GetFederationTokenCommand, } from "./commands/GetFederationTokenCommand"; import { GetSessionTokenCommand, } from "./commands/GetSessionTokenCommand"; import { STSClient } from "./STSClient"; const commands = { AssumeRoleCommand, AssumeRoleWithSAMLCommand, AssumeRoleWithWebIdentityCommand, AssumeRootCommand, DecodeAuthorizationMessageCommand, GetAccessKeyInfoCommand, GetCallerIdentityCommand, GetFederationTokenCommand, GetSessionTokenCommand, }; export class STS extends STSClient { } createAggregatedClient(commands, STS);