include node_modules so release .zip is deployable
This commit is contained in:
+51
@@ -0,0 +1,51 @@
|
||||
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
||||
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
||||
import { getSerdePlugin } from "@smithy/middleware-serde";
|
||||
import { Command as $Command } from "@smithy/smithy-client";
|
||||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
||||
import { AssumeRoleResponseFilterSensitiveLog } from "../models/models_0";
|
||||
import { de_AssumeRoleCommand, se_AssumeRoleCommand } from "../protocols/Aws_query";
|
||||
export { $Command };
|
||||
export class AssumeRoleCommand extends $Command {
|
||||
static getEndpointParameterInstructions() {
|
||||
return {
|
||||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
||||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
||||
Endpoint: { type: "builtInParams", name: "endpoint" },
|
||||
Region: { type: "builtInParams", name: "region" },
|
||||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
||||
};
|
||||
}
|
||||
constructor(input) {
|
||||
super();
|
||||
this.input = input;
|
||||
}
|
||||
resolveMiddleware(clientStack, configuration, options) {
|
||||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
||||
this.middlewareStack.use(getEndpointPlugin(configuration, AssumeRoleCommand.getEndpointParameterInstructions()));
|
||||
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
||||
const stack = clientStack.concat(this.middlewareStack);
|
||||
const { logger } = configuration;
|
||||
const clientName = "STSClient";
|
||||
const commandName = "AssumeRoleCommand";
|
||||
const handlerExecutionContext = {
|
||||
logger,
|
||||
clientName,
|
||||
commandName,
|
||||
inputFilterSensitiveLog: (_) => _,
|
||||
outputFilterSensitiveLog: AssumeRoleResponseFilterSensitiveLog,
|
||||
[SMITHY_CONTEXT_KEY]: {
|
||||
service: "AWSSecurityTokenServiceV20110615",
|
||||
operation: "AssumeRole",
|
||||
},
|
||||
};
|
||||
const { requestHandler } = configuration;
|
||||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
||||
}
|
||||
serialize(input, context) {
|
||||
return se_AssumeRoleCommand(input, context);
|
||||
}
|
||||
deserialize(output, context) {
|
||||
return de_AssumeRoleCommand(output, context);
|
||||
}
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
||||
import { getSerdePlugin } from "@smithy/middleware-serde";
|
||||
import { Command as $Command } from "@smithy/smithy-client";
|
||||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
||||
import { AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog, } from "../models/models_0";
|
||||
import { de_AssumeRoleWithSAMLCommand, se_AssumeRoleWithSAMLCommand } from "../protocols/Aws_query";
|
||||
export { $Command };
|
||||
export class AssumeRoleWithSAMLCommand extends $Command {
|
||||
static getEndpointParameterInstructions() {
|
||||
return {
|
||||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
||||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
||||
Endpoint: { type: "builtInParams", name: "endpoint" },
|
||||
Region: { type: "builtInParams", name: "region" },
|
||||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
||||
};
|
||||
}
|
||||
constructor(input) {
|
||||
super();
|
||||
this.input = input;
|
||||
}
|
||||
resolveMiddleware(clientStack, configuration, options) {
|
||||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
||||
this.middlewareStack.use(getEndpointPlugin(configuration, AssumeRoleWithSAMLCommand.getEndpointParameterInstructions()));
|
||||
const stack = clientStack.concat(this.middlewareStack);
|
||||
const { logger } = configuration;
|
||||
const clientName = "STSClient";
|
||||
const commandName = "AssumeRoleWithSAMLCommand";
|
||||
const handlerExecutionContext = {
|
||||
logger,
|
||||
clientName,
|
||||
commandName,
|
||||
inputFilterSensitiveLog: AssumeRoleWithSAMLRequestFilterSensitiveLog,
|
||||
outputFilterSensitiveLog: AssumeRoleWithSAMLResponseFilterSensitiveLog,
|
||||
[SMITHY_CONTEXT_KEY]: {
|
||||
service: "AWSSecurityTokenServiceV20110615",
|
||||
operation: "AssumeRoleWithSAML",
|
||||
},
|
||||
};
|
||||
const { requestHandler } = configuration;
|
||||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
||||
}
|
||||
serialize(input, context) {
|
||||
return se_AssumeRoleWithSAMLCommand(input, context);
|
||||
}
|
||||
deserialize(output, context) {
|
||||
return de_AssumeRoleWithSAMLCommand(output, context);
|
||||
}
|
||||
}
|
||||
Generated
Vendored
+49
@@ -0,0 +1,49 @@
|
||||
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
||||
import { getSerdePlugin } from "@smithy/middleware-serde";
|
||||
import { Command as $Command } from "@smithy/smithy-client";
|
||||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
||||
import { AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, } from "../models/models_0";
|
||||
import { de_AssumeRoleWithWebIdentityCommand, se_AssumeRoleWithWebIdentityCommand } from "../protocols/Aws_query";
|
||||
export { $Command };
|
||||
export class AssumeRoleWithWebIdentityCommand extends $Command {
|
||||
static getEndpointParameterInstructions() {
|
||||
return {
|
||||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
||||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
||||
Endpoint: { type: "builtInParams", name: "endpoint" },
|
||||
Region: { type: "builtInParams", name: "region" },
|
||||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
||||
};
|
||||
}
|
||||
constructor(input) {
|
||||
super();
|
||||
this.input = input;
|
||||
}
|
||||
resolveMiddleware(clientStack, configuration, options) {
|
||||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
||||
this.middlewareStack.use(getEndpointPlugin(configuration, AssumeRoleWithWebIdentityCommand.getEndpointParameterInstructions()));
|
||||
const stack = clientStack.concat(this.middlewareStack);
|
||||
const { logger } = configuration;
|
||||
const clientName = "STSClient";
|
||||
const commandName = "AssumeRoleWithWebIdentityCommand";
|
||||
const handlerExecutionContext = {
|
||||
logger,
|
||||
clientName,
|
||||
commandName,
|
||||
inputFilterSensitiveLog: AssumeRoleWithWebIdentityRequestFilterSensitiveLog,
|
||||
outputFilterSensitiveLog: AssumeRoleWithWebIdentityResponseFilterSensitiveLog,
|
||||
[SMITHY_CONTEXT_KEY]: {
|
||||
service: "AWSSecurityTokenServiceV20110615",
|
||||
operation: "AssumeRoleWithWebIdentity",
|
||||
},
|
||||
};
|
||||
const { requestHandler } = configuration;
|
||||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
||||
}
|
||||
serialize(input, context) {
|
||||
return se_AssumeRoleWithWebIdentityCommand(input, context);
|
||||
}
|
||||
deserialize(output, context) {
|
||||
return de_AssumeRoleWithWebIdentityCommand(output, context);
|
||||
}
|
||||
}
|
||||
Generated
Vendored
+50
@@ -0,0 +1,50 @@
|
||||
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
||||
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
||||
import { getSerdePlugin } from "@smithy/middleware-serde";
|
||||
import { Command as $Command } from "@smithy/smithy-client";
|
||||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
||||
import { de_DecodeAuthorizationMessageCommand, se_DecodeAuthorizationMessageCommand } from "../protocols/Aws_query";
|
||||
export { $Command };
|
||||
export class DecodeAuthorizationMessageCommand extends $Command {
|
||||
static getEndpointParameterInstructions() {
|
||||
return {
|
||||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
||||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
||||
Endpoint: { type: "builtInParams", name: "endpoint" },
|
||||
Region: { type: "builtInParams", name: "region" },
|
||||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
||||
};
|
||||
}
|
||||
constructor(input) {
|
||||
super();
|
||||
this.input = input;
|
||||
}
|
||||
resolveMiddleware(clientStack, configuration, options) {
|
||||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
||||
this.middlewareStack.use(getEndpointPlugin(configuration, DecodeAuthorizationMessageCommand.getEndpointParameterInstructions()));
|
||||
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
||||
const stack = clientStack.concat(this.middlewareStack);
|
||||
const { logger } = configuration;
|
||||
const clientName = "STSClient";
|
||||
const commandName = "DecodeAuthorizationMessageCommand";
|
||||
const handlerExecutionContext = {
|
||||
logger,
|
||||
clientName,
|
||||
commandName,
|
||||
inputFilterSensitiveLog: (_) => _,
|
||||
outputFilterSensitiveLog: (_) => _,
|
||||
[SMITHY_CONTEXT_KEY]: {
|
||||
service: "AWSSecurityTokenServiceV20110615",
|
||||
operation: "DecodeAuthorizationMessage",
|
||||
},
|
||||
};
|
||||
const { requestHandler } = configuration;
|
||||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
||||
}
|
||||
serialize(input, context) {
|
||||
return se_DecodeAuthorizationMessageCommand(input, context);
|
||||
}
|
||||
deserialize(output, context) {
|
||||
return de_DecodeAuthorizationMessageCommand(output, context);
|
||||
}
|
||||
}
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
||||
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
||||
import { getSerdePlugin } from "@smithy/middleware-serde";
|
||||
import { Command as $Command } from "@smithy/smithy-client";
|
||||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
||||
import { de_GetAccessKeyInfoCommand, se_GetAccessKeyInfoCommand } from "../protocols/Aws_query";
|
||||
export { $Command };
|
||||
export class GetAccessKeyInfoCommand extends $Command {
|
||||
static getEndpointParameterInstructions() {
|
||||
return {
|
||||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
||||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
||||
Endpoint: { type: "builtInParams", name: "endpoint" },
|
||||
Region: { type: "builtInParams", name: "region" },
|
||||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
||||
};
|
||||
}
|
||||
constructor(input) {
|
||||
super();
|
||||
this.input = input;
|
||||
}
|
||||
resolveMiddleware(clientStack, configuration, options) {
|
||||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
||||
this.middlewareStack.use(getEndpointPlugin(configuration, GetAccessKeyInfoCommand.getEndpointParameterInstructions()));
|
||||
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
||||
const stack = clientStack.concat(this.middlewareStack);
|
||||
const { logger } = configuration;
|
||||
const clientName = "STSClient";
|
||||
const commandName = "GetAccessKeyInfoCommand";
|
||||
const handlerExecutionContext = {
|
||||
logger,
|
||||
clientName,
|
||||
commandName,
|
||||
inputFilterSensitiveLog: (_) => _,
|
||||
outputFilterSensitiveLog: (_) => _,
|
||||
[SMITHY_CONTEXT_KEY]: {
|
||||
service: "AWSSecurityTokenServiceV20110615",
|
||||
operation: "GetAccessKeyInfo",
|
||||
},
|
||||
};
|
||||
const { requestHandler } = configuration;
|
||||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
||||
}
|
||||
serialize(input, context) {
|
||||
return se_GetAccessKeyInfoCommand(input, context);
|
||||
}
|
||||
deserialize(output, context) {
|
||||
return de_GetAccessKeyInfoCommand(output, context);
|
||||
}
|
||||
}
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
||||
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
||||
import { getSerdePlugin } from "@smithy/middleware-serde";
|
||||
import { Command as $Command } from "@smithy/smithy-client";
|
||||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
||||
import { de_GetCallerIdentityCommand, se_GetCallerIdentityCommand } from "../protocols/Aws_query";
|
||||
export { $Command };
|
||||
export class GetCallerIdentityCommand extends $Command {
|
||||
static getEndpointParameterInstructions() {
|
||||
return {
|
||||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
||||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
||||
Endpoint: { type: "builtInParams", name: "endpoint" },
|
||||
Region: { type: "builtInParams", name: "region" },
|
||||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
||||
};
|
||||
}
|
||||
constructor(input) {
|
||||
super();
|
||||
this.input = input;
|
||||
}
|
||||
resolveMiddleware(clientStack, configuration, options) {
|
||||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
||||
this.middlewareStack.use(getEndpointPlugin(configuration, GetCallerIdentityCommand.getEndpointParameterInstructions()));
|
||||
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
||||
const stack = clientStack.concat(this.middlewareStack);
|
||||
const { logger } = configuration;
|
||||
const clientName = "STSClient";
|
||||
const commandName = "GetCallerIdentityCommand";
|
||||
const handlerExecutionContext = {
|
||||
logger,
|
||||
clientName,
|
||||
commandName,
|
||||
inputFilterSensitiveLog: (_) => _,
|
||||
outputFilterSensitiveLog: (_) => _,
|
||||
[SMITHY_CONTEXT_KEY]: {
|
||||
service: "AWSSecurityTokenServiceV20110615",
|
||||
operation: "GetCallerIdentity",
|
||||
},
|
||||
};
|
||||
const { requestHandler } = configuration;
|
||||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
||||
}
|
||||
serialize(input, context) {
|
||||
return se_GetCallerIdentityCommand(input, context);
|
||||
}
|
||||
deserialize(output, context) {
|
||||
return de_GetCallerIdentityCommand(output, context);
|
||||
}
|
||||
}
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
||||
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
||||
import { getSerdePlugin } from "@smithy/middleware-serde";
|
||||
import { Command as $Command } from "@smithy/smithy-client";
|
||||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
||||
import { GetFederationTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
||||
import { de_GetFederationTokenCommand, se_GetFederationTokenCommand } from "../protocols/Aws_query";
|
||||
export { $Command };
|
||||
export class GetFederationTokenCommand extends $Command {
|
||||
static getEndpointParameterInstructions() {
|
||||
return {
|
||||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
||||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
||||
Endpoint: { type: "builtInParams", name: "endpoint" },
|
||||
Region: { type: "builtInParams", name: "region" },
|
||||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
||||
};
|
||||
}
|
||||
constructor(input) {
|
||||
super();
|
||||
this.input = input;
|
||||
}
|
||||
resolveMiddleware(clientStack, configuration, options) {
|
||||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
||||
this.middlewareStack.use(getEndpointPlugin(configuration, GetFederationTokenCommand.getEndpointParameterInstructions()));
|
||||
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
||||
const stack = clientStack.concat(this.middlewareStack);
|
||||
const { logger } = configuration;
|
||||
const clientName = "STSClient";
|
||||
const commandName = "GetFederationTokenCommand";
|
||||
const handlerExecutionContext = {
|
||||
logger,
|
||||
clientName,
|
||||
commandName,
|
||||
inputFilterSensitiveLog: (_) => _,
|
||||
outputFilterSensitiveLog: GetFederationTokenResponseFilterSensitiveLog,
|
||||
[SMITHY_CONTEXT_KEY]: {
|
||||
service: "AWSSecurityTokenServiceV20110615",
|
||||
operation: "GetFederationToken",
|
||||
},
|
||||
};
|
||||
const { requestHandler } = configuration;
|
||||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
||||
}
|
||||
serialize(input, context) {
|
||||
return se_GetFederationTokenCommand(input, context);
|
||||
}
|
||||
deserialize(output, context) {
|
||||
return de_GetFederationTokenCommand(output, context);
|
||||
}
|
||||
}
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
||||
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
||||
import { getSerdePlugin } from "@smithy/middleware-serde";
|
||||
import { Command as $Command } from "@smithy/smithy-client";
|
||||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
||||
import { GetSessionTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
||||
import { de_GetSessionTokenCommand, se_GetSessionTokenCommand } from "../protocols/Aws_query";
|
||||
export { $Command };
|
||||
export class GetSessionTokenCommand extends $Command {
|
||||
static getEndpointParameterInstructions() {
|
||||
return {
|
||||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
||||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
||||
Endpoint: { type: "builtInParams", name: "endpoint" },
|
||||
Region: { type: "builtInParams", name: "region" },
|
||||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
||||
};
|
||||
}
|
||||
constructor(input) {
|
||||
super();
|
||||
this.input = input;
|
||||
}
|
||||
resolveMiddleware(clientStack, configuration, options) {
|
||||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
||||
this.middlewareStack.use(getEndpointPlugin(configuration, GetSessionTokenCommand.getEndpointParameterInstructions()));
|
||||
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
||||
const stack = clientStack.concat(this.middlewareStack);
|
||||
const { logger } = configuration;
|
||||
const clientName = "STSClient";
|
||||
const commandName = "GetSessionTokenCommand";
|
||||
const handlerExecutionContext = {
|
||||
logger,
|
||||
clientName,
|
||||
commandName,
|
||||
inputFilterSensitiveLog: (_) => _,
|
||||
outputFilterSensitiveLog: GetSessionTokenResponseFilterSensitiveLog,
|
||||
[SMITHY_CONTEXT_KEY]: {
|
||||
service: "AWSSecurityTokenServiceV20110615",
|
||||
operation: "GetSessionToken",
|
||||
},
|
||||
};
|
||||
const { requestHandler } = configuration;
|
||||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
||||
}
|
||||
serialize(input, context) {
|
||||
return se_GetSessionTokenCommand(input, context);
|
||||
}
|
||||
deserialize(output, context) {
|
||||
return de_GetSessionTokenCommand(output, context);
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
export * from "./AssumeRoleCommand";
|
||||
export * from "./AssumeRoleWithSAMLCommand";
|
||||
export * from "./AssumeRoleWithWebIdentityCommand";
|
||||
export * from "./DecodeAuthorizationMessageCommand";
|
||||
export * from "./GetAccessKeyInfoCommand";
|
||||
export * from "./GetCallerIdentityCommand";
|
||||
export * from "./GetFederationTokenCommand";
|
||||
export * from "./GetSessionTokenCommand";
|
||||
Reference in New Issue
Block a user