@aws-sdk/client-lambda 3.775.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-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/package.json +2 -2
|
@@ -76,28 +76,28 @@ declare const GetAliasCommand_base: {
|
|
|
76
76
|
* @throws {@link LambdaServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
78
78
|
*
|
|
79
|
-
*
|
|
79
|
+
*
|
|
80
80
|
* @example To get a Lambda function alias
|
|
81
81
|
* ```javascript
|
|
82
82
|
* // The following example returns details about an alias named BLUE for a function named my-function
|
|
83
83
|
* const input = {
|
|
84
|
-
*
|
|
85
|
-
*
|
|
84
|
+
* FunctionName: "my-function",
|
|
85
|
+
* Name: "BLUE"
|
|
86
86
|
* };
|
|
87
87
|
* const command = new GetAliasCommand(input);
|
|
88
88
|
* const response = await client.send(command);
|
|
89
|
-
* /* response
|
|
89
|
+
* /* response is
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
91
|
+
* AliasArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE",
|
|
92
|
+
* Description: "Production environment BLUE.",
|
|
93
|
+
* FunctionVersion: "3",
|
|
94
|
+
* Name: "BLUE",
|
|
95
|
+
* RevisionId: "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93"
|
|
96
96
|
* }
|
|
97
97
|
* *\/
|
|
98
|
-
* // example id: to-retrieve-a-lambda-function-alias-1481648742254
|
|
99
98
|
* ```
|
|
100
99
|
*
|
|
100
|
+
* @public
|
|
101
101
|
*/
|
|
102
102
|
export declare class GetAliasCommand extends GetAliasCommand_base {
|
|
103
103
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -76,6 +76,7 @@ declare const GetCodeSigningConfigCommand_base: {
|
|
|
76
76
|
* @throws {@link LambdaServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class GetCodeSigningConfigCommand extends GetCodeSigningConfigCommand_base {
|
|
@@ -148,34 +148,8 @@ declare const GetEventSourceMappingCommand_base: {
|
|
|
148
148
|
* @throws {@link LambdaServiceException}
|
|
149
149
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
150
150
|
*
|
|
151
|
-
* @public
|
|
152
|
-
* @example To get a Lambda function's event source mapping
|
|
153
|
-
* ```javascript
|
|
154
|
-
* // The following example returns details about an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.
|
|
155
|
-
* const input = {
|
|
156
|
-
* "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
|
|
157
|
-
* };
|
|
158
|
-
* const command = new GetEventSourceMappingCommand(input);
|
|
159
|
-
* const response = await client.send(command);
|
|
160
|
-
* /* response ==
|
|
161
|
-
* {
|
|
162
|
-
* "BatchSize": 500,
|
|
163
|
-
* "BisectBatchOnFunctionError": false,
|
|
164
|
-
* "DestinationConfig": {},
|
|
165
|
-
* "EventSourceArn": "arn:aws:sqs:us-east-2:123456789012:mySQSqueue",
|
|
166
|
-
* "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:myFunction",
|
|
167
|
-
* "LastModified": "${timestamp}",
|
|
168
|
-
* "LastProcessingResult": "No records processed",
|
|
169
|
-
* "MaximumRecordAgeInSeconds": 604800,
|
|
170
|
-
* "MaximumRetryAttempts": 10000,
|
|
171
|
-
* "State": "Creating",
|
|
172
|
-
* "StateTransitionReason": "User action",
|
|
173
|
-
* "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
|
|
174
|
-
* }
|
|
175
|
-
* *\/
|
|
176
|
-
* // example id: to-get-a-lambda-functions-event-source-mapping-1481661622799
|
|
177
|
-
* ```
|
|
178
151
|
*
|
|
152
|
+
* @public
|
|
179
153
|
*/
|
|
180
154
|
export declare class GetEventSourceMappingCommand extends GetEventSourceMappingCommand_base {
|
|
181
155
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -67,6 +67,7 @@ declare const GetFunctionCodeSigningConfigCommand_base: {
|
|
|
67
67
|
* @throws {@link LambdaServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class GetFunctionCodeSigningConfigCommand extends GetFunctionCodeSigningConfigCommand_base {
|
|
@@ -188,57 +188,57 @@ declare const GetFunctionCommand_base: {
|
|
|
188
188
|
* @throws {@link LambdaServiceException}
|
|
189
189
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
190
190
|
*
|
|
191
|
-
*
|
|
191
|
+
*
|
|
192
192
|
* @example To get a Lambda function
|
|
193
193
|
* ```javascript
|
|
194
194
|
* // The following example returns code and configuration details for version 1 of a function named my-function.
|
|
195
195
|
* const input = {
|
|
196
|
-
*
|
|
197
|
-
*
|
|
196
|
+
* FunctionName: "my-function",
|
|
197
|
+
* Qualifier: "1"
|
|
198
198
|
* };
|
|
199
199
|
* const command = new GetFunctionCommand(input);
|
|
200
200
|
* const response = await client.send(command);
|
|
201
|
-
* /* response
|
|
201
|
+
* /* response is
|
|
202
202
|
* {
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
*
|
|
203
|
+
* Code: {
|
|
204
|
+
* Location: "https://awslambda-us-west-2-tasks.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-function-e7d9d1ed-xmpl-4f79-904a-4b87f2681f30?versionId=sH3TQwBOaUy...",
|
|
205
|
+
* RepositoryType: "S3"
|
|
206
206
|
* },
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
207
|
+
* Configuration: {
|
|
208
|
+
* CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
|
|
209
|
+
* CodeSize: 5797206,
|
|
210
|
+
* Description: "Process image objects from Amazon S3.",
|
|
211
|
+
* Environment: {
|
|
212
|
+
* Variables: {
|
|
213
|
+
* BUCKET: "my-bucket-1xpuxmplzrlbh",
|
|
214
|
+
* PREFIX: "inbound"
|
|
215
215
|
* }
|
|
216
216
|
* },
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
217
|
+
* FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
|
|
218
|
+
* FunctionName: "my-function",
|
|
219
|
+
* Handler: "index.handler",
|
|
220
|
+
* KMSKeyArn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
|
|
221
|
+
* LastModified: "2020-04-10T19:06:32.563+0000",
|
|
222
|
+
* LastUpdateStatus: "Successful",
|
|
223
|
+
* MemorySize: 256,
|
|
224
|
+
* RevisionId: "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
|
|
225
|
+
* Role: "arn:aws:iam::123456789012:role/lambda-role",
|
|
226
|
+
* Runtime: "nodejs12.x",
|
|
227
|
+
* State: "Active",
|
|
228
|
+
* Timeout: 15,
|
|
229
|
+
* TracingConfig: {
|
|
230
|
+
* Mode: "Active"
|
|
231
231
|
* },
|
|
232
|
-
*
|
|
232
|
+
* Version: "$LATEST"
|
|
233
233
|
* },
|
|
234
|
-
*
|
|
235
|
-
*
|
|
234
|
+
* Tags: {
|
|
235
|
+
* DEPARTMENT: "Assets"
|
|
236
236
|
* }
|
|
237
237
|
* }
|
|
238
238
|
* *\/
|
|
239
|
-
* // example id: to-get-a-lambda-function-1481661622799
|
|
240
239
|
* ```
|
|
241
240
|
*
|
|
241
|
+
* @public
|
|
242
242
|
*/
|
|
243
243
|
export declare class GetFunctionCommand extends GetFunctionCommand_base {
|
|
244
244
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -67,23 +67,23 @@ declare const GetFunctionConcurrencyCommand_base: {
|
|
|
67
67
|
* @throws {@link LambdaServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
69
69
|
*
|
|
70
|
-
*
|
|
70
|
+
*
|
|
71
71
|
* @example To get the reserved concurrency setting for a function
|
|
72
72
|
* ```javascript
|
|
73
73
|
* // The following example returns the reserved concurrency setting for a function named my-function.
|
|
74
74
|
* const input = {
|
|
75
|
-
*
|
|
75
|
+
* FunctionName: "my-function"
|
|
76
76
|
* };
|
|
77
77
|
* const command = new GetFunctionConcurrencyCommand(input);
|
|
78
78
|
* const response = await client.send(command);
|
|
79
|
-
* /* response
|
|
79
|
+
* /* response is
|
|
80
80
|
* {
|
|
81
|
-
*
|
|
81
|
+
* ReservedConcurrentExecutions: 250
|
|
82
82
|
* }
|
|
83
83
|
* *\/
|
|
84
|
-
* // example id: to-get-the-reserved-concurrency-setting-for-a-function-1586481279992
|
|
85
84
|
* ```
|
|
86
85
|
*
|
|
86
|
+
* @public
|
|
87
87
|
*/
|
|
88
88
|
export declare class GetFunctionConcurrencyCommand extends GetFunctionConcurrencyCommand_base {
|
|
89
89
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -169,48 +169,48 @@ declare const GetFunctionConfigurationCommand_base: {
|
|
|
169
169
|
* @throws {@link LambdaServiceException}
|
|
170
170
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
171
171
|
*
|
|
172
|
-
*
|
|
172
|
+
*
|
|
173
173
|
* @example To get a Lambda function's event source mapping
|
|
174
174
|
* ```javascript
|
|
175
175
|
* // The following example returns and configuration details for version 1 of a function named my-function.
|
|
176
176
|
* const input = {
|
|
177
|
-
*
|
|
178
|
-
*
|
|
177
|
+
* FunctionName: "my-function",
|
|
178
|
+
* Qualifier: "1"
|
|
179
179
|
* };
|
|
180
180
|
* const command = new GetFunctionConfigurationCommand(input);
|
|
181
181
|
* const response = await client.send(command);
|
|
182
|
-
* /* response
|
|
182
|
+
* /* response is
|
|
183
183
|
* {
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
184
|
+
* CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
|
|
185
|
+
* CodeSize: 5797206,
|
|
186
|
+
* Description: "Process image objects from Amazon S3.",
|
|
187
|
+
* Environment: {
|
|
188
|
+
* Variables: {
|
|
189
|
+
* BUCKET: "my-bucket-1xpuxmplzrlbh",
|
|
190
|
+
* PREFIX: "inbound"
|
|
191
191
|
* }
|
|
192
192
|
* },
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
193
|
+
* FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
|
|
194
|
+
* FunctionName: "my-function",
|
|
195
|
+
* Handler: "index.handler",
|
|
196
|
+
* KMSKeyArn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
|
|
197
|
+
* LastModified: "2020-04-10T19:06:32.563+0000",
|
|
198
|
+
* LastUpdateStatus: "Successful",
|
|
199
|
+
* MemorySize: 256,
|
|
200
|
+
* RevisionId: "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
|
|
201
|
+
* Role: "arn:aws:iam::123456789012:role/lambda-role",
|
|
202
|
+
* Runtime: "nodejs12.x",
|
|
203
|
+
* State: "Active",
|
|
204
|
+
* Timeout: 15,
|
|
205
|
+
* TracingConfig: {
|
|
206
|
+
* Mode: "Active"
|
|
207
207
|
* },
|
|
208
|
-
*
|
|
208
|
+
* Version: "$LATEST"
|
|
209
209
|
* }
|
|
210
210
|
* *\/
|
|
211
|
-
* // example id: to-get-a-lambda-functions-event-source-mapping-1481661622799
|
|
212
211
|
* ```
|
|
213
212
|
*
|
|
213
|
+
* @public
|
|
214
214
|
*/
|
|
215
215
|
export declare class GetFunctionConfigurationCommand extends GetFunctionConfigurationCommand_base {
|
|
216
216
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,33 +79,8 @@ declare const GetFunctionEventInvokeConfigCommand_base: {
|
|
|
79
79
|
* @throws {@link LambdaServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
81
81
|
*
|
|
82
|
-
* @public
|
|
83
|
-
* @example To get an asynchronous invocation configuration
|
|
84
|
-
* ```javascript
|
|
85
|
-
* // The following example returns the asynchronous invocation configuration for the BLUE alias of a function named my-function.
|
|
86
|
-
* const input = {
|
|
87
|
-
* "FunctionName": "my-function",
|
|
88
|
-
* "Qualifier": "BLUE"
|
|
89
|
-
* };
|
|
90
|
-
* const command = new GetFunctionEventInvokeConfigCommand(input);
|
|
91
|
-
* const response = await client.send(command);
|
|
92
|
-
* /* response ==
|
|
93
|
-
* {
|
|
94
|
-
* "DestinationConfig": {
|
|
95
|
-
* "OnFailure": {
|
|
96
|
-
* "Destination": "arn:aws:sqs:us-east-2:123456789012:failed-invocations"
|
|
97
|
-
* },
|
|
98
|
-
* "OnSuccess": {}
|
|
99
|
-
* },
|
|
100
|
-
* "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
|
|
101
|
-
* "LastModified": "${timestamp}",
|
|
102
|
-
* "MaximumEventAgeInSeconds": 3600,
|
|
103
|
-
* "MaximumRetryAttempts": 0
|
|
104
|
-
* }
|
|
105
|
-
* *\/
|
|
106
|
-
* // example id: to-get-an-asynchronous-invocation-configuration-1586481338463
|
|
107
|
-
* ```
|
|
108
82
|
*
|
|
83
|
+
* @public
|
|
109
84
|
*/
|
|
110
85
|
export declare class GetFunctionEventInvokeConfigCommand extends GetFunctionEventInvokeConfigCommand_base {
|
|
111
86
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -67,6 +67,7 @@ declare const GetFunctionRecursionConfigCommand_base: {
|
|
|
67
67
|
* @throws {@link LambdaServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class GetFunctionRecursionConfigCommand extends GetFunctionRecursionConfigCommand_base {
|
|
@@ -88,6 +88,7 @@ declare const GetFunctionUrlConfigCommand_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
|
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class GetFunctionUrlConfigCommand extends GetFunctionUrlConfigCommand_base {
|
|
@@ -86,35 +86,35 @@ declare const GetLayerVersionByArnCommand_base: {
|
|
|
86
86
|
* @throws {@link LambdaServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
88
88
|
*
|
|
89
|
-
*
|
|
89
|
+
*
|
|
90
90
|
* @example To get information about a Lambda layer version
|
|
91
91
|
* ```javascript
|
|
92
92
|
* // The following example returns information about the layer version with the specified Amazon Resource Name (ARN).
|
|
93
93
|
* const input = {
|
|
94
|
-
*
|
|
94
|
+
* Arn: "arn:aws:lambda:ca-central-1:123456789012:layer:blank-python-lib:3"
|
|
95
95
|
* };
|
|
96
96
|
* const command = new GetLayerVersionByArnCommand(input);
|
|
97
97
|
* const response = await client.send(command);
|
|
98
|
-
* /* response
|
|
98
|
+
* /* response is
|
|
99
99
|
* {
|
|
100
|
-
*
|
|
100
|
+
* CompatibleRuntimes: [
|
|
101
101
|
* "python3.8"
|
|
102
102
|
* ],
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
103
|
+
* Content: {
|
|
104
|
+
* CodeSha256: "6x+xmpl/M3BnQUk7gS9sGmfeFsR/npojXoA3fZUv4eU=",
|
|
105
|
+
* CodeSize: 9529009,
|
|
106
|
+
* Location: "https://awslambda-us-east-2-layers.s3.us-east-2.amazonaws.com/snapshots/123456789012/blank-python-lib-e5212378-xmpl-44ee-8398-9d8ec5113949?versionId=WbZnvf..."
|
|
107
107
|
* },
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
108
|
+
* CreatedDate: "2020-03-31T00:35:18.949+0000",
|
|
109
|
+
* Description: "Dependencies for the blank-python sample app.",
|
|
110
|
+
* LayerArn: "arn:aws:lambda:us-east-2:123456789012:layer:blank-python-lib",
|
|
111
|
+
* LayerVersionArn: "arn:aws:lambda:us-east-2:123456789012:layer:blank-python-lib:3",
|
|
112
|
+
* Version: 3
|
|
113
113
|
* }
|
|
114
114
|
* *\/
|
|
115
|
-
* // example id: to-get-information-about-a-lambda-layer-version-1586481457839
|
|
116
115
|
* ```
|
|
117
116
|
*
|
|
117
|
+
* @public
|
|
118
118
|
*/
|
|
119
119
|
export declare class GetLayerVersionByArnCommand extends GetLayerVersionByArnCommand_base {
|
|
120
120
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -87,38 +87,38 @@ declare const GetLayerVersionCommand_base: {
|
|
|
87
87
|
* @throws {@link LambdaServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
*
|
|
91
91
|
* @example To get information about a Lambda layer version
|
|
92
92
|
* ```javascript
|
|
93
93
|
* // The following example returns information for version 1 of a layer named my-layer.
|
|
94
94
|
* const input = {
|
|
95
|
-
*
|
|
96
|
-
*
|
|
95
|
+
* LayerName: "my-layer",
|
|
96
|
+
* VersionNumber: 1
|
|
97
97
|
* };
|
|
98
98
|
* const command = new GetLayerVersionCommand(input);
|
|
99
99
|
* const response = await client.send(command);
|
|
100
|
-
* /* response
|
|
100
|
+
* /* response is
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
102
|
+
* CompatibleRuntimes: [
|
|
103
103
|
* "python3.6",
|
|
104
104
|
* "python3.7"
|
|
105
105
|
* ],
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
106
|
+
* Content: {
|
|
107
|
+
* CodeSha256: "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=",
|
|
108
|
+
* CodeSize: 169,
|
|
109
|
+
* Location: "https://awslambda-us-east-2-layers.s3.us-east-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH..."
|
|
110
110
|
* },
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
111
|
+
* CreatedDate: "2018-11-14T23:03:52.894+0000",
|
|
112
|
+
* Description: "My Python layer",
|
|
113
|
+
* LayerArn: "arn:aws:lambda:us-east-2:123456789012:layer:my-layer",
|
|
114
|
+
* LayerVersionArn: "arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1",
|
|
115
|
+
* LicenseInfo: "MIT",
|
|
116
|
+
* Version: 1
|
|
117
117
|
* }
|
|
118
118
|
* *\/
|
|
119
|
-
* // example id: to-get-information-about-a-lambda-layer-version-1586481457839
|
|
120
119
|
* ```
|
|
121
120
|
*
|
|
121
|
+
* @public
|
|
122
122
|
*/
|
|
123
123
|
export declare class GetLayerVersionCommand extends GetLayerVersionCommand_base {
|
|
124
124
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -69,6 +69,7 @@ declare const GetLayerVersionPolicyCommand_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 GetLayerVersionPolicyCommand extends GetLayerVersionPolicyCommand_base {
|
|
@@ -68,25 +68,25 @@ declare const GetPolicyCommand_base: {
|
|
|
68
68
|
* @throws {@link LambdaServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
*
|
|
72
72
|
* @example To retrieve a Lambda function policy
|
|
73
73
|
* ```javascript
|
|
74
74
|
* // The following example returns the resource-based policy for version 1 of a Lambda function named my-function.
|
|
75
75
|
* const input = {
|
|
76
|
-
*
|
|
77
|
-
*
|
|
76
|
+
* FunctionName: "my-function",
|
|
77
|
+
* Qualifier: "1"
|
|
78
78
|
* };
|
|
79
79
|
* const command = new GetPolicyCommand(input);
|
|
80
80
|
* const response = await client.send(command);
|
|
81
|
-
* /* response
|
|
81
|
+
* /* response is
|
|
82
82
|
* {
|
|
83
|
-
*
|
|
84
|
-
*
|
|
83
|
+
* Policy: `{"Version":"2012-10-17","Id":"default","Statement":[{"Sid":"xaccount","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::123456789012:root"},"Action":"lambda:InvokeFunction","Resource":"arn:aws:lambda:us-east-2:123456789012:function:my-function:1"}]}`,
|
|
84
|
+
* RevisionId: "4843f2f6-7c59-4fda-b484-afd0bc0e22b8"
|
|
85
85
|
* }
|
|
86
86
|
* *\/
|
|
87
|
-
* // example id: to-retrieve-a-lambda-function-policy-1481649319053
|
|
88
87
|
* ```
|
|
89
88
|
*
|
|
89
|
+
* @public
|
|
90
90
|
*/
|
|
91
91
|
export declare class GetPolicyCommand extends GetPolicyCommand_base {
|
|
92
92
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -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. */
|