@aws-sdk/client-lambda 3.774.0 → 3.777.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/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/LambdaClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +10 -10
- package/dist-types/commands/AddPermissionCommand.d.ts +16 -17
- package/dist-types/commands/CreateAliasCommand.d.ts +12 -12
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +13 -13
- package/dist-types/commands/CreateFunctionCommand.d.ts +45 -45
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +8 -5
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -22
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +8 -5
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +7 -4
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +8 -5
- package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +1 -0
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +8 -5
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +8 -5
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +13 -13
- package/dist-types/commands/GetAliasCommand.d.ts +10 -10
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -27
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +33 -33
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +5 -5
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +27 -27
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -26
- package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +14 -14
- package/dist-types/commands/GetLayerVersionCommand.d.ts +16 -16
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +7 -7
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +18 -19
- package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -0
- package/dist-types/commands/InvokeAsyncCommand.d.ts +6 -6
- package/dist-types/commands/InvokeCommand.d.ts +15 -16
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +1 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +18 -18
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -0
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +12 -12
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +13 -13
- package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +1 -0
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +40 -40
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +15 -15
- package/dist-types/commands/ListLayersCommand.d.ts +13 -13
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +17 -17
- package/dist-types/commands/ListTagsCommand.d.ts +7 -7
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +45 -45
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +21 -21
- package/dist-types/commands/PublishVersionCommand.d.ts +28 -28
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +6 -6
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +1 -25
- package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +1 -0
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +10 -10
- package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +1 -0
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +9 -6
- package/dist-types/commands/RemovePermissionCommand.d.ts +9 -6
- package/dist-types/commands/TagResourceCommand.d.ts +9 -6
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
- package/dist-types/commands/UpdateAliasCommand.d.ts +17 -17
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +1 -26
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +21 -21
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +20 -20
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +15 -15
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -0
- package/package.json +38 -38
|
@@ -75,49 +75,48 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
75
75
|
* @throws {@link LambdaServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To get a provisioned concurrency configuration
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
84
|
-
*
|
|
83
|
+
* FunctionName: "my-function",
|
|
84
|
+
* Qualifier: "BLUE"
|
|
85
85
|
* };
|
|
86
86
|
* const command = new GetProvisionedConcurrencyConfigCommand(input);
|
|
87
87
|
* const response = await client.send(command);
|
|
88
|
-
* /* response
|
|
88
|
+
* /* response is
|
|
89
89
|
* {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
90
|
+
* AllocatedProvisionedConcurrentExecutions: 100,
|
|
91
|
+
* AvailableProvisionedConcurrentExecutions: 100,
|
|
92
|
+
* LastModified: "2019-12-31T20:28:49+0000",
|
|
93
|
+
* RequestedProvisionedConcurrentExecutions: 100,
|
|
94
|
+
* Status: "READY"
|
|
95
95
|
* }
|
|
96
96
|
* *\/
|
|
97
|
-
* // example id: to-get-a-provisioned-concurrency-configuration-1586490192690
|
|
98
97
|
* ```
|
|
99
98
|
*
|
|
100
99
|
* @example To view a provisioned concurrency configuration
|
|
101
100
|
* ```javascript
|
|
102
101
|
* // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
103
102
|
* const input = {
|
|
104
|
-
*
|
|
105
|
-
*
|
|
103
|
+
* FunctionName: "my-function",
|
|
104
|
+
* Qualifier: "BLUE"
|
|
106
105
|
* };
|
|
107
106
|
* const command = new GetProvisionedConcurrencyConfigCommand(input);
|
|
108
107
|
* const response = await client.send(command);
|
|
109
|
-
* /* response
|
|
108
|
+
* /* response is
|
|
110
109
|
* {
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
110
|
+
* AllocatedProvisionedConcurrentExecutions: 100,
|
|
111
|
+
* AvailableProvisionedConcurrentExecutions: 100,
|
|
112
|
+
* LastModified: "2019-12-31T20:28:49+0000",
|
|
113
|
+
* RequestedProvisionedConcurrentExecutions: 100,
|
|
114
|
+
* Status: "READY"
|
|
116
115
|
* }
|
|
117
116
|
* *\/
|
|
118
|
-
* // example id: to-view-a-provisioned-concurrency-configuration-1586490192690
|
|
119
117
|
* ```
|
|
120
118
|
*
|
|
119
|
+
* @public
|
|
121
120
|
*/
|
|
122
121
|
export declare class GetProvisionedConcurrencyConfigCommand extends GetProvisionedConcurrencyConfigCommand_base {
|
|
123
122
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -71,6 +71,7 @@ declare const GetRuntimeManagementConfigCommand_base: {
|
|
|
71
71
|
* @throws {@link LambdaServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
73
73
|
*
|
|
74
|
+
*
|
|
74
75
|
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class GetRuntimeManagementConfigCommand extends GetRuntimeManagementConfigCommand_base {
|
|
@@ -81,24 +81,24 @@ declare const InvokeAsyncCommand_base: {
|
|
|
81
81
|
* @throws {@link LambdaServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
83
83
|
*
|
|
84
|
-
*
|
|
84
|
+
*
|
|
85
85
|
* @example To invoke a Lambda function asynchronously
|
|
86
86
|
* ```javascript
|
|
87
87
|
* // The following example invokes a Lambda function asynchronously
|
|
88
88
|
* const input = {
|
|
89
|
-
*
|
|
90
|
-
*
|
|
89
|
+
* FunctionName: "my-function",
|
|
90
|
+
* InvokeArgs: "{}"
|
|
91
91
|
* };
|
|
92
92
|
* const command = new InvokeAsyncCommand(input);
|
|
93
93
|
* const response = await client.send(command);
|
|
94
|
-
* /* response
|
|
94
|
+
* /* response is
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
96
|
+
* Status: 202
|
|
97
97
|
* }
|
|
98
98
|
* *\/
|
|
99
|
-
* // example id: to-invoke-a-lambda-function-asynchronously-1481649694923
|
|
100
99
|
* ```
|
|
101
100
|
*
|
|
101
|
+
* @public
|
|
102
102
|
*/
|
|
103
103
|
export declare class InvokeAsyncCommand extends InvokeAsyncCommand_base {
|
|
104
104
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -207,46 +207,45 @@ declare const InvokeCommand_base: {
|
|
|
207
207
|
* @throws {@link LambdaServiceException}
|
|
208
208
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
209
209
|
*
|
|
210
|
-
*
|
|
210
|
+
*
|
|
211
211
|
* @example To invoke a Lambda function
|
|
212
212
|
* ```javascript
|
|
213
213
|
* // The following example invokes version 1 of a function named my-function with an empty event payload.
|
|
214
214
|
* const input = {
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
215
|
+
* FunctionName: "my-function",
|
|
216
|
+
* Payload: "{}",
|
|
217
|
+
* Qualifier: "1"
|
|
218
218
|
* };
|
|
219
219
|
* const command = new InvokeCommand(input);
|
|
220
220
|
* const response = await client.send(command);
|
|
221
|
-
* /* response
|
|
221
|
+
* /* response is
|
|
222
222
|
* {
|
|
223
|
-
*
|
|
224
|
-
*
|
|
223
|
+
* Payload: "200 SUCCESS",
|
|
224
|
+
* StatusCode: 200
|
|
225
225
|
* }
|
|
226
226
|
* *\/
|
|
227
|
-
* // example id: to-invoke-a-lambda-function-1481659683915
|
|
228
227
|
* ```
|
|
229
228
|
*
|
|
230
229
|
* @example To invoke a Lambda function asynchronously
|
|
231
230
|
* ```javascript
|
|
232
231
|
* // The following example invokes version 1 of a function named my-function asynchronously.
|
|
233
232
|
* const input = {
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
233
|
+
* FunctionName: "my-function",
|
|
234
|
+
* InvocationType: "Event",
|
|
235
|
+
* Payload: "{}",
|
|
236
|
+
* Qualifier: "1"
|
|
238
237
|
* };
|
|
239
238
|
* const command = new InvokeCommand(input);
|
|
240
239
|
* const response = await client.send(command);
|
|
241
|
-
* /* response
|
|
240
|
+
* /* response is
|
|
242
241
|
* {
|
|
243
|
-
*
|
|
244
|
-
*
|
|
242
|
+
* Payload: "",
|
|
243
|
+
* StatusCode: 202
|
|
245
244
|
* }
|
|
246
245
|
* *\/
|
|
247
|
-
* // example id: to-invoke-a-lambda-function-async-1481659683915
|
|
248
246
|
* ```
|
|
249
247
|
*
|
|
248
|
+
* @public
|
|
250
249
|
*/
|
|
251
250
|
export declare class InvokeCommand extends InvokeCommand_base {
|
|
252
251
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -184,6 +184,7 @@ declare const InvokeWithResponseStreamCommand_base: {
|
|
|
184
184
|
* @throws {@link LambdaServiceException}
|
|
185
185
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
186
186
|
*
|
|
187
|
+
*
|
|
187
188
|
* @public
|
|
188
189
|
*/
|
|
189
190
|
export declare class InvokeWithResponseStreamCommand extends InvokeWithResponseStreamCommand_base {
|
|
@@ -84,43 +84,43 @@ declare const ListAliasesCommand_base: {
|
|
|
84
84
|
* @throws {@link LambdaServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
86
86
|
*
|
|
87
|
-
*
|
|
87
|
+
*
|
|
88
88
|
* @example To list a function's aliases
|
|
89
89
|
* ```javascript
|
|
90
90
|
* // The following example returns a list of aliases for a function named my-function.
|
|
91
91
|
* const input = {
|
|
92
|
-
*
|
|
92
|
+
* FunctionName: "my-function"
|
|
93
93
|
* };
|
|
94
94
|
* const command = new ListAliasesCommand(input);
|
|
95
95
|
* const response = await client.send(command);
|
|
96
|
-
* /* response
|
|
96
|
+
* /* response is
|
|
97
97
|
* {
|
|
98
|
-
*
|
|
98
|
+
* Aliases: [
|
|
99
99
|
* {
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
100
|
+
* AliasArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function:BETA",
|
|
101
|
+
* Description: "Production environment BLUE.",
|
|
102
|
+
* FunctionVersion: "2",
|
|
103
|
+
* Name: "BLUE",
|
|
104
|
+
* RevisionId: "a410117f-xmpl-494e-8035-7e204bb7933b",
|
|
105
|
+
* RoutingConfig: {
|
|
106
|
+
* AdditionalVersionWeights: {
|
|
107
|
+
* 1: 0.7
|
|
108
108
|
* }
|
|
109
109
|
* }
|
|
110
110
|
* },
|
|
111
111
|
* {
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
112
|
+
* AliasArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function:LIVE",
|
|
113
|
+
* Description: "Production environment GREEN.",
|
|
114
|
+
* FunctionVersion: "1",
|
|
115
|
+
* Name: "GREEN",
|
|
116
|
+
* RevisionId: "21d40116-xmpl-40ba-9360-3ea284da1bb5"
|
|
117
117
|
* }
|
|
118
118
|
* ]
|
|
119
119
|
* }
|
|
120
120
|
* *\/
|
|
121
|
-
* // example id: to-list-a-functions-aliases-1481650199732
|
|
122
121
|
* ```
|
|
123
122
|
*
|
|
123
|
+
* @public
|
|
124
124
|
*/
|
|
125
125
|
export declare class ListAliasesCommand extends ListAliasesCommand_base {
|
|
126
126
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,6 +79,7 @@ declare const ListCodeSigningConfigsCommand_base: {
|
|
|
79
79
|
* @throws {@link LambdaServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class ListCodeSigningConfigsCommand extends ListCodeSigningConfigsCommand_base {
|
|
@@ -156,33 +156,33 @@ declare const ListEventSourceMappingsCommand_base: {
|
|
|
156
156
|
* @throws {@link LambdaServiceException}
|
|
157
157
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
158
158
|
*
|
|
159
|
-
*
|
|
159
|
+
*
|
|
160
160
|
* @example To list the event source mappings for a function
|
|
161
161
|
* ```javascript
|
|
162
162
|
* // The following example returns a list of the event source mappings for a function named my-function.
|
|
163
163
|
* const input = {
|
|
164
|
-
*
|
|
164
|
+
* FunctionName: "my-function"
|
|
165
165
|
* };
|
|
166
166
|
* const command = new ListEventSourceMappingsCommand(input);
|
|
167
167
|
* const response = await client.send(command);
|
|
168
|
-
* /* response
|
|
168
|
+
* /* response is
|
|
169
169
|
* {
|
|
170
|
-
*
|
|
170
|
+
* EventSourceMappings: [
|
|
171
171
|
* {
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
172
|
+
* BatchSize: 5,
|
|
173
|
+
* EventSourceArn: "arn:aws:sqs:us-west-2:123456789012:mySQSqueue",
|
|
174
|
+
* FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
|
|
175
|
+
* LastModified: 1.569284520333E9,
|
|
176
|
+
* State: "Enabled",
|
|
177
|
+
* StateTransitionReason: "USER_INITIATED",
|
|
178
|
+
* UUID: "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE"
|
|
179
179
|
* }
|
|
180
180
|
* ]
|
|
181
181
|
* }
|
|
182
182
|
* *\/
|
|
183
|
-
* // example id: to-list-the-event-source-mappings-for-a-function-1586490285906
|
|
184
183
|
* ```
|
|
185
184
|
*
|
|
185
|
+
* @public
|
|
186
186
|
*/
|
|
187
187
|
export declare class ListEventSourceMappingsCommand extends ListEventSourceMappingsCommand_base {
|
|
188
188
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -85,36 +85,36 @@ declare const ListFunctionEventInvokeConfigsCommand_base: {
|
|
|
85
85
|
* @throws {@link LambdaServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
*
|
|
89
89
|
* @example To view a list of asynchronous invocation configurations
|
|
90
90
|
* ```javascript
|
|
91
91
|
* // The following example returns a list of asynchronous invocation configurations for a function named my-function.
|
|
92
92
|
* const input = {
|
|
93
|
-
*
|
|
93
|
+
* FunctionName: "my-function"
|
|
94
94
|
* };
|
|
95
95
|
* const command = new ListFunctionEventInvokeConfigsCommand(input);
|
|
96
96
|
* const response = await client.send(command);
|
|
97
|
-
* /* response
|
|
97
|
+
* /* response is
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
99
|
+
* FunctionEventInvokeConfigs: [
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
101
|
+
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:GREEN",
|
|
102
|
+
* LastModified: 1.577824406719E9,
|
|
103
|
+
* MaximumEventAgeInSeconds: 1800,
|
|
104
|
+
* MaximumRetryAttempts: 2
|
|
105
105
|
* },
|
|
106
106
|
* {
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
107
|
+
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
|
|
108
|
+
* LastModified: 1.577824396653E9,
|
|
109
|
+
* MaximumEventAgeInSeconds: 3600,
|
|
110
|
+
* MaximumRetryAttempts: 0
|
|
111
111
|
* }
|
|
112
112
|
* ]
|
|
113
113
|
* }
|
|
114
114
|
* *\/
|
|
115
|
-
* // example id: to-view-a-list-of-asynchronous-invocation-configurations-1586490355611
|
|
116
115
|
* ```
|
|
117
116
|
*
|
|
117
|
+
* @public
|
|
118
118
|
*/
|
|
119
119
|
export declare class ListFunctionEventInvokeConfigsCommand extends ListFunctionEventInvokeConfigsCommand_base {
|
|
120
120
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -94,6 +94,7 @@ declare const ListFunctionUrlConfigsCommand_base: {
|
|
|
94
94
|
* @throws {@link LambdaServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
96
96
|
*
|
|
97
|
+
*
|
|
97
98
|
* @public
|
|
98
99
|
*/
|
|
99
100
|
export declare class ListFunctionUrlConfigsCommand extends ListFunctionUrlConfigsCommand_base {
|
|
@@ -69,6 +69,7 @@ declare const ListFunctionsByCodeSigningConfigCommand_base: {
|
|
|
69
69
|
* @throws {@link LambdaServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
71
71
|
*
|
|
72
|
+
*
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
74
75
|
export declare class ListFunctionsByCodeSigningConfigCommand extends ListFunctionsByCodeSigningConfigCommand_base {
|
|
@@ -179,64 +179,64 @@ declare const ListFunctionsCommand_base: {
|
|
|
179
179
|
* @throws {@link LambdaServiceException}
|
|
180
180
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
181
181
|
*
|
|
182
|
-
*
|
|
182
|
+
*
|
|
183
183
|
* @example To get a list of Lambda functions
|
|
184
184
|
* ```javascript
|
|
185
185
|
* // This operation returns a list of Lambda functions.
|
|
186
|
-
* const input = {};
|
|
186
|
+
* const input = { /* empty *\/ };
|
|
187
187
|
* const command = new ListFunctionsCommand(input);
|
|
188
188
|
* const response = await client.send(command);
|
|
189
|
-
* /* response
|
|
189
|
+
* /* response is
|
|
190
190
|
* {
|
|
191
|
-
*
|
|
191
|
+
* Functions: [
|
|
192
192
|
* {
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
193
|
+
* CodeSha256: "dBG9m8SGdmlEjw/JYXlhhvCrAv5TxvXsbL/RMr0fT/I=",
|
|
194
|
+
* CodeSize: 294,
|
|
195
|
+
* Description: "",
|
|
196
|
+
* FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:helloworld",
|
|
197
|
+
* FunctionName: "helloworld",
|
|
198
|
+
* Handler: "helloworld.handler",
|
|
199
|
+
* LastModified: "2019-09-23T18:32:33.857+0000",
|
|
200
|
+
* MemorySize: 128,
|
|
201
|
+
* RevisionId: "1718e831-badf-4253-9518-d0644210af7b",
|
|
202
|
+
* Role: "arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-zgur6bf4",
|
|
203
|
+
* Runtime: "nodejs10.x",
|
|
204
|
+
* Timeout: 3,
|
|
205
|
+
* TracingConfig: {
|
|
206
|
+
* Mode: "PassThrough"
|
|
207
207
|
* },
|
|
208
|
-
*
|
|
208
|
+
* Version: "$LATEST"
|
|
209
209
|
* },
|
|
210
210
|
* {
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
211
|
+
* CodeSha256: "sU0cJ2/hOZevwV/lTxCuQqK3gDZP3i8gUoqUUVRmY6E=",
|
|
212
|
+
* CodeSize: 266,
|
|
213
|
+
* Description: "",
|
|
214
|
+
* FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
|
|
215
|
+
* FunctionName: "my-function",
|
|
216
|
+
* Handler: "index.handler",
|
|
217
|
+
* LastModified: "2019-10-01T16:47:28.490+0000",
|
|
218
|
+
* MemorySize: 256,
|
|
219
|
+
* RevisionId: "93017fc9-59cb-41dc-901b-4845ce4bf668",
|
|
220
|
+
* Role: "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq",
|
|
221
|
+
* Runtime: "nodejs10.x",
|
|
222
|
+
* Timeout: 3,
|
|
223
|
+
* TracingConfig: {
|
|
224
|
+
* Mode: "PassThrough"
|
|
225
225
|
* },
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
226
|
+
* Version: "$LATEST",
|
|
227
|
+
* VpcConfig: {
|
|
228
|
+
* SecurityGroupIds: [],
|
|
229
|
+
* SubnetIds: [],
|
|
230
|
+
* VpcId: ""
|
|
231
231
|
* }
|
|
232
232
|
* }
|
|
233
233
|
* ],
|
|
234
|
-
*
|
|
234
|
+
* NextMarker: ""
|
|
235
235
|
* }
|
|
236
236
|
* *\/
|
|
237
|
-
* // example id: to-get-a-list-of-lambda-functions-1481650507425
|
|
238
237
|
* ```
|
|
239
238
|
*
|
|
239
|
+
* @public
|
|
240
240
|
*/
|
|
241
241
|
export declare class ListFunctionsCommand extends ListFunctionsCommand_base {
|
|
242
242
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -88,42 +88,42 @@ declare const ListLayerVersionsCommand_base: {
|
|
|
88
88
|
* @throws {@link LambdaServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
90
90
|
*
|
|
91
|
-
*
|
|
91
|
+
*
|
|
92
92
|
* @example To list versions of a layer
|
|
93
93
|
* ```javascript
|
|
94
94
|
* // The following example displays information about the versions for the layer named blank-java-lib
|
|
95
95
|
* const input = {
|
|
96
|
-
*
|
|
96
|
+
* LayerName: "blank-java-lib"
|
|
97
97
|
* };
|
|
98
98
|
* const command = new ListLayerVersionsCommand(input);
|
|
99
99
|
* const response = await client.send(command);
|
|
100
|
-
* /* response
|
|
100
|
+
* /* response is
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
102
|
+
* LayerVersions: [
|
|
103
103
|
* {
|
|
104
|
-
*
|
|
104
|
+
* CompatibleRuntimes: [
|
|
105
105
|
* "java8"
|
|
106
106
|
* ],
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
107
|
+
* CreatedDate: "2020-03-18T23:38:42.284+0000",
|
|
108
|
+
* Description: "Dependencies for the blank-java sample app.",
|
|
109
|
+
* LayerVersionArn: "arn:aws:lambda:us-east-2:123456789012:layer:blank-java-lib:7",
|
|
110
|
+
* Version: 7
|
|
111
111
|
* },
|
|
112
112
|
* {
|
|
113
|
-
*
|
|
113
|
+
* CompatibleRuntimes: [
|
|
114
114
|
* "java8"
|
|
115
115
|
* ],
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
116
|
+
* CreatedDate: "2020-03-17T07:24:21.960+0000",
|
|
117
|
+
* Description: "Dependencies for the blank-java sample app.",
|
|
118
|
+
* LayerVersionArn: "arn:aws:lambda:us-east-2:123456789012:layer:blank-java-lib:6",
|
|
119
|
+
* Version: 6
|
|
120
120
|
* }
|
|
121
121
|
* ]
|
|
122
122
|
* }
|
|
123
123
|
* *\/
|
|
124
|
-
* // example id: to-list-versions-of-a-layer-1586490857297
|
|
125
124
|
* ```
|
|
126
125
|
*
|
|
126
|
+
* @public
|
|
127
127
|
*/
|
|
128
128
|
export declare class ListLayerVersionsCommand extends ListLayerVersionsCommand_base {
|
|
129
129
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -90,38 +90,38 @@ declare const ListLayersCommand_base: {
|
|
|
90
90
|
* @throws {@link LambdaServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
92
92
|
*
|
|
93
|
-
*
|
|
93
|
+
*
|
|
94
94
|
* @example To list the layers that are compatible with your function's runtime
|
|
95
95
|
* ```javascript
|
|
96
96
|
* // The following example returns information about layers that are compatible with the Python 3.7 runtime.
|
|
97
97
|
* const input = {
|
|
98
|
-
*
|
|
98
|
+
* CompatibleRuntime: "python3.7"
|
|
99
99
|
* };
|
|
100
100
|
* const command = new ListLayersCommand(input);
|
|
101
101
|
* const response = await client.send(command);
|
|
102
|
-
* /* response
|
|
102
|
+
* /* response is
|
|
103
103
|
* {
|
|
104
|
-
*
|
|
104
|
+
* Layers: [
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
107
|
-
*
|
|
106
|
+
* LatestMatchingVersion: {
|
|
107
|
+
* CompatibleRuntimes: [
|
|
108
108
|
* "python3.6",
|
|
109
109
|
* "python3.7"
|
|
110
110
|
* ],
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
111
|
+
* CreatedDate: "2018-11-15T00:37:46.592+0000",
|
|
112
|
+
* Description: "My layer",
|
|
113
|
+
* LayerVersionArn: "arn:aws:lambda:us-east-2:123456789012:layer:my-layer:2",
|
|
114
|
+
* Version: 2
|
|
115
115
|
* },
|
|
116
|
-
*
|
|
117
|
-
*
|
|
116
|
+
* LayerArn: "arn:aws:lambda:us-east-2:123456789012:layer:my-layer",
|
|
117
|
+
* LayerName: "my-layer"
|
|
118
118
|
* }
|
|
119
119
|
* ]
|
|
120
120
|
* }
|
|
121
121
|
* *\/
|
|
122
|
-
* // example id: to-list-the-layers-that-are-compatible-with-your-functions-runtime-1586490857297
|
|
123
122
|
* ```
|
|
124
123
|
*
|
|
124
|
+
* @public
|
|
125
125
|
*/
|
|
126
126
|
export declare class ListLayersCommand extends ListLayersCommand_base {
|
|
127
127
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,40 +79,40 @@ declare const ListProvisionedConcurrencyConfigsCommand_base: {
|
|
|
79
79
|
* @throws {@link LambdaServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
*
|
|
83
83
|
* @example To get a list of provisioned concurrency configurations
|
|
84
84
|
* ```javascript
|
|
85
85
|
* // The following example returns a list of provisioned concurrency configurations for a function named my-function.
|
|
86
86
|
* const input = {
|
|
87
|
-
*
|
|
87
|
+
* FunctionName: "my-function"
|
|
88
88
|
* };
|
|
89
89
|
* const command = new ListProvisionedConcurrencyConfigsCommand(input);
|
|
90
90
|
* const response = await client.send(command);
|
|
91
|
-
* /* response
|
|
91
|
+
* /* response is
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
93
|
+
* ProvisionedConcurrencyConfigs: [
|
|
94
94
|
* {
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
95
|
+
* AllocatedProvisionedConcurrentExecutions: 100,
|
|
96
|
+
* AvailableProvisionedConcurrentExecutions: 100,
|
|
97
|
+
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:GREEN",
|
|
98
|
+
* LastModified: "2019-12-31T20:29:00+0000",
|
|
99
|
+
* RequestedProvisionedConcurrentExecutions: 100,
|
|
100
|
+
* Status: "READY"
|
|
101
101
|
* },
|
|
102
102
|
* {
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
103
|
+
* AllocatedProvisionedConcurrentExecutions: 100,
|
|
104
|
+
* AvailableProvisionedConcurrentExecutions: 100,
|
|
105
|
+
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
|
|
106
|
+
* LastModified: "2019-12-31T20:28:49+0000",
|
|
107
|
+
* RequestedProvisionedConcurrentExecutions: 100,
|
|
108
|
+
* Status: "READY"
|
|
109
109
|
* }
|
|
110
110
|
* ]
|
|
111
111
|
* }
|
|
112
112
|
* *\/
|
|
113
|
-
* // example id: to-get-a-list-of-provisioned-concurrency-configurations-1586491032592
|
|
114
113
|
* ```
|
|
115
114
|
*
|
|
115
|
+
* @public
|
|
116
116
|
*/
|
|
117
117
|
export declare class ListProvisionedConcurrencyConfigsCommand extends ListProvisionedConcurrencyConfigsCommand_base {
|
|
118
118
|
/** @internal type navigation helper, not in runtime. */
|