@aws-sdk/client-lambda 3.36.0 → 3.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/dist-cjs/Lambda.js +0 -9
- package/dist-cjs/LambdaClient.js +0 -14
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +0 -29
- package/dist-cjs/commands/AddPermissionCommand.js +0 -36
- package/dist-cjs/commands/CreateAliasCommand.js +0 -29
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +0 -26
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js +0 -88
- package/dist-cjs/commands/CreateFunctionCommand.js +0 -70
- package/dist-cjs/commands/DeleteAliasCommand.js +0 -24
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +0 -25
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +0 -27
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +0 -24
- package/dist-cjs/commands/DeleteFunctionCommand.js +0 -29
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +0 -24
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +0 -25
- package/dist-cjs/commands/DeleteLayerVersionCommand.js +0 -26
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +0 -24
- package/dist-cjs/commands/GetAccountSettingsCommand.js +0 -24
- package/dist-cjs/commands/GetAliasCommand.js +0 -24
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js +0 -24
- package/dist-cjs/commands/GetEventSourceMappingCommand.js +0 -25
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +0 -24
- package/dist-cjs/commands/GetFunctionCommand.js +0 -26
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +0 -25
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js +0 -26
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +0 -25
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js +0 -26
- package/dist-cjs/commands/GetLayerVersionCommand.js +0 -26
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +0 -25
- package/dist-cjs/commands/GetPolicyCommand.js +0 -24
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +0 -24
- package/dist-cjs/commands/InvokeAsyncCommand.js +0 -29
- package/dist-cjs/commands/InvokeCommand.js +0 -50
- package/dist-cjs/commands/ListAliasesCommand.js +0 -25
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +0 -26
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js +0 -25
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +0 -25
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +0 -25
- package/dist-cjs/commands/ListFunctionsCommand.js +0 -32
- package/dist-cjs/commands/ListLayerVersionsCommand.js +0 -27
- package/dist-cjs/commands/ListLayersCommand.js +0 -29
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +0 -24
- package/dist-cjs/commands/ListTagsCommand.js +0 -25
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js +0 -25
- package/dist-cjs/commands/PublishLayerVersionCommand.js +0 -27
- package/dist-cjs/commands/PublishVersionCommand.js +0 -32
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +0 -25
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +0 -32
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +0 -34
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +0 -24
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +0 -26
- package/dist-cjs/commands/RemovePermissionCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateAliasCommand.js +0 -24
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +0 -25
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +0 -49
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js +0 -32
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +0 -38
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +0 -25
- package/dist-cjs/commands/index.js +61 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -74
- package/dist-cjs/models/models_0.js +0 -474
- package/dist-cjs/pagination/ListAliasesPaginator.js +0 -10
- package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js +0 -10
- package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js +0 -10
- package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js +0 -10
- package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js +0 -10
- package/dist-cjs/pagination/ListFunctionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListLayerVersionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListLayersPaginator.js +0 -10
- package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js +0 -10
- package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +14 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-cjs/waiters/waitForFunctionActive.js +0 -9
- package/dist-cjs/waiters/waitForFunctionExists.js +0 -9
- package/dist-cjs/waiters/waitForFunctionUpdated.js +0 -9
- package/dist-es/commands/index.js +58 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -74
- package/dist-es/pagination/index.js +11 -0
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/commands/index.d.ts +58 -0
- package/dist-types/index.d.ts +5 -74
- package/dist-types/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/Lambda.d.ts +59 -478
- package/dist-types/ts3.4/LambdaClient.d.ts +24 -95
- package/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +2 -84
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +5 -32
- package/dist-types/ts3.4/commands/InvokeCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListLayersCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +58 -0
- package/dist-types/ts3.4/index.d.ts +5 -74
- package/dist-types/ts3.4/models/models_0.d.ts +699 -3177
- package/dist-types/ts3.4/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +33 -33
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes a concurrent execution limit from a function.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LambdaClient, DeleteFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
14
|
-
* // const { LambdaClient, DeleteFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
15
|
-
* const client = new LambdaClient(config);
|
|
16
|
-
* const command = new DeleteFunctionConcurrencyCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteFunctionConcurrencyCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteFunctionConcurrencyCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteFunctionConcurrencyCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the configuration for asynchronous invocation for a function, version, or alias.</p>
|
|
10
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { LambdaClient, DeleteFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
15
|
-
* // const { LambdaClient, DeleteFunctionEventInvokeConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
16
|
-
* const client = new LambdaClient(config);
|
|
17
|
-
* const command = new DeleteFunctionEventInvokeConfigCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DeleteFunctionEventInvokeConfigCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DeleteFunctionEventInvokeConfigCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class DeleteFunctionEventInvokeConfigCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
10
|
-
* layer</a>. Deleted versions can no longer be viewed or added to functions. To avoid
|
|
11
|
-
* breaking functions, a copy of the version remains in Lambda until no functions refer to it.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { LambdaClient, DeleteLayerVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
16
|
-
* // const { LambdaClient, DeleteLayerVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
17
|
-
* const client = new LambdaClient(config);
|
|
18
|
-
* const command = new DeleteLayerVersionCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteLayerVersionCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteLayerVersionCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteLayerVersionCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the provisioned concurrency configuration for a function.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LambdaClient, DeleteProvisionedConcurrencyConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
14
|
-
* // const { LambdaClient, DeleteProvisionedConcurrencyConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
15
|
-
* const client = new LambdaClient(config);
|
|
16
|
-
* const command = new DeleteProvisionedConcurrencyConfigCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteProvisionedConcurrencyConfigCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteProvisionedConcurrencyConfigCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteProvisionedConcurrencyConfigCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves details about your account's <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">limits</a> and usage in an Amazon Web Services Region.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LambdaClient, GetAccountSettingsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
14
|
-
* // const { LambdaClient, GetAccountSettingsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
15
|
-
* const client = new LambdaClient(config);
|
|
16
|
-
* const command = new GetAccountSettingsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetAccountSettingsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetAccountSettingsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetAccountSettingsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns details about a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LambdaClient, GetAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
14
|
-
* // const { LambdaClient, GetAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
15
|
-
* const client = new LambdaClient(config);
|
|
16
|
-
* const command = new GetAliasCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetAliasCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetAliasCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetAliasCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about the specified code signing configuration.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LambdaClient, GetCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
14
|
-
* // const { LambdaClient, GetCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
15
|
-
* const client = new LambdaClient(config);
|
|
16
|
-
* const command = new GetCodeSigningConfigCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetCodeSigningConfigCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetCodeSigningConfigCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetCodeSigningConfigCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns details about an event source mapping. You can get the identifier of a mapping from the output of
|
|
10
|
-
* <a>ListEventSourceMappings</a>.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { LambdaClient, GetEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
15
|
-
* // const { LambdaClient, GetEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
16
|
-
* const client = new LambdaClient(config);
|
|
17
|
-
* const command = new GetEventSourceMappingCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetEventSourceMappingCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetEventSourceMappingCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class GetEventSourceMappingCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the code signing configuration for the specified function.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LambdaClient, GetFunctionCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
14
|
-
* // const { LambdaClient, GetFunctionCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
15
|
-
* const client = new LambdaClient(config);
|
|
16
|
-
* const command = new GetFunctionCodeSigningConfigCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetFunctionCodeSigningConfigCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetFunctionCodeSigningConfigCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetFunctionCodeSigningConfigCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about the function or function version, with a link to download the deployment package
|
|
10
|
-
* that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are
|
|
11
|
-
* returned.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { LambdaClient, GetFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
16
|
-
* // const { LambdaClient, GetFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
17
|
-
* const client = new LambdaClient(config);
|
|
18
|
-
* const command = new GetFunctionCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetFunctionCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetFunctionCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetFunctionCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a
|
|
10
|
-
* function, use <a>PutFunctionConcurrency</a>.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { LambdaClient, GetFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
15
|
-
* // const { LambdaClient, GetFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
16
|
-
* const client = new LambdaClient(config);
|
|
17
|
-
* const command = new GetFunctionConcurrencyCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetFunctionConcurrencyCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetFunctionConcurrencyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class GetFunctionConcurrencyCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the version-specific settings of a Lambda function or version. The output includes only options that
|
|
10
|
-
* can vary between versions of a function. To modify these settings, use <a>UpdateFunctionConfiguration</a>.</p>
|
|
11
|
-
* <p>To get all of a function's details, including function-level settings, use <a>GetFunction</a>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { LambdaClient, GetFunctionConfigurationCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
16
|
-
* // const { LambdaClient, GetFunctionConfigurationCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
17
|
-
* const client = new LambdaClient(config);
|
|
18
|
-
* const command = new GetFunctionConfigurationCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetFunctionConfigurationCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetFunctionConfigurationCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetFunctionConfigurationCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the configuration for asynchronous invocation for a function, version, or alias.</p>
|
|
10
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { LambdaClient, GetFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
15
|
-
* // const { LambdaClient, GetFunctionEventInvokeConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
16
|
-
* const client = new LambdaClient(config);
|
|
17
|
-
* const command = new GetFunctionEventInvokeConfigCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetFunctionEventInvokeConfigCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetFunctionEventInvokeConfigCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class GetFunctionEventInvokeConfigCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
10
|
-
* layer</a>, with a link to download the layer archive
|
|
11
|
-
* that's valid for 10 minutes.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { LambdaClient, GetLayerVersionByArnCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
16
|
-
* // const { LambdaClient, GetLayerVersionByArnCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
17
|
-
* const client = new LambdaClient(config);
|
|
18
|
-
* const command = new GetLayerVersionByArnCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetLayerVersionByArnCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetLayerVersionByArnCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetLayerVersionByArnCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
10
|
-
* layer</a>, with a link to download the layer archive
|
|
11
|
-
* that's valid for 10 minutes.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { LambdaClient, GetLayerVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
16
|
-
* // const { LambdaClient, GetLayerVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
17
|
-
* const client = new LambdaClient(config);
|
|
18
|
-
* const command = new GetLayerVersionCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetLayerVersionCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetLayerVersionCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetLayerVersionCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the permission policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
10
|
-
* layer</a>. For more information, see <a>AddLayerVersionPermission</a>.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { LambdaClient, GetLayerVersionPolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
15
|
-
* // const { LambdaClient, GetLayerVersionPolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
16
|
-
* const client = new LambdaClient(config);
|
|
17
|
-
* const command = new GetLayerVersionPolicyCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetLayerVersionPolicyCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetLayerVersionPolicyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class GetLayerVersionPolicyCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based IAM policy</a> for a function, version, or alias.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LambdaClient, GetPolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
14
|
-
* // const { LambdaClient, GetPolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
15
|
-
* const client = new LambdaClient(config);
|
|
16
|
-
* const command = new GetPolicyCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetPolicyCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetPolicyCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetPolicyCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|