@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.
Files changed (69) hide show
  1. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +10 -10
  2. package/dist-types/commands/AddPermissionCommand.d.ts +16 -17
  3. package/dist-types/commands/CreateAliasCommand.d.ts +12 -12
  4. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +1 -0
  5. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +13 -13
  6. package/dist-types/commands/CreateFunctionCommand.d.ts +45 -45
  7. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +1 -0
  8. package/dist-types/commands/DeleteAliasCommand.d.ts +8 -5
  9. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -0
  10. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -22
  11. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +1 -0
  12. package/dist-types/commands/DeleteFunctionCommand.d.ts +8 -5
  13. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +7 -4
  14. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +8 -5
  15. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +8 -5
  17. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +8 -5
  18. package/dist-types/commands/GetAccountSettingsCommand.d.ts +13 -13
  19. package/dist-types/commands/GetAliasCommand.d.ts +10 -10
  20. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +1 -0
  21. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -27
  22. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +1 -0
  23. package/dist-types/commands/GetFunctionCommand.d.ts +33 -33
  24. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +5 -5
  25. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +27 -27
  26. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -26
  27. package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +1 -0
  28. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +1 -0
  29. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +14 -14
  30. package/dist-types/commands/GetLayerVersionCommand.d.ts +16 -16
  31. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -0
  32. package/dist-types/commands/GetPolicyCommand.d.ts +7 -7
  33. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +18 -19
  34. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -0
  35. package/dist-types/commands/InvokeAsyncCommand.d.ts +6 -6
  36. package/dist-types/commands/InvokeCommand.d.ts +15 -16
  37. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +1 -0
  38. package/dist-types/commands/ListAliasesCommand.d.ts +18 -18
  39. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -0
  40. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +12 -12
  41. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +13 -13
  42. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +1 -0
  43. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -0
  44. package/dist-types/commands/ListFunctionsCommand.d.ts +40 -40
  45. package/dist-types/commands/ListLayerVersionsCommand.d.ts +15 -15
  46. package/dist-types/commands/ListLayersCommand.d.ts +13 -13
  47. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +17 -17
  48. package/dist-types/commands/ListTagsCommand.d.ts +7 -7
  49. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +45 -45
  50. package/dist-types/commands/PublishLayerVersionCommand.d.ts +21 -21
  51. package/dist-types/commands/PublishVersionCommand.d.ts +28 -28
  52. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -0
  53. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +6 -6
  54. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +1 -25
  55. package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +1 -0
  56. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +10 -10
  57. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +1 -0
  58. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +9 -6
  59. package/dist-types/commands/RemovePermissionCommand.d.ts +9 -6
  60. package/dist-types/commands/TagResourceCommand.d.ts +9 -6
  61. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  62. package/dist-types/commands/UpdateAliasCommand.d.ts +17 -17
  63. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +1 -0
  64. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +1 -26
  65. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +21 -21
  66. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +20 -20
  67. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +15 -15
  68. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +1 -0
  69. 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
- * @public
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
- * "FunctionName": "my-function",
85
- * "Name": "BLUE"
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
- * "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"
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
- * @public
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
- * "FunctionName": "my-function",
197
- * "Qualifier": "1"
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
- * "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"
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
- * "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"
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
- * "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"
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
- * "Version": "$LATEST"
232
+ * Version: "$LATEST"
233
233
  * },
234
- * "Tags": {
235
- * "DEPARTMENT": "Assets"
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
- * @public
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
- * "FunctionName": "my-function"
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
- * "ReservedConcurrentExecutions": 250
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
- * @public
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
- * "FunctionName": "my-function",
178
- * "Qualifier": "1"
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
- * "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"
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
- * "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"
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
- * "Version": "$LATEST"
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
- * @public
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
- * "Arn": "arn:aws:lambda:ca-central-1:123456789012:layer:blank-python-lib:3"
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
- * "CompatibleRuntimes": [
100
+ * CompatibleRuntimes: [
101
101
  * "python3.8"
102
102
  * ],
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..."
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
- * "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
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
- * @public
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
- * "LayerName": "my-layer",
96
- * "VersionNumber": 1
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
- * "CompatibleRuntimes": [
102
+ * CompatibleRuntimes: [
103
103
  * "python3.6",
104
104
  * "python3.7"
105
105
  * ],
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..."
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
- * "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
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
- * @public
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
- * "FunctionName": "my-function",
77
- * "Qualifier": "1"
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
- * "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"
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
- * @public
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
- * "FunctionName": "my-function",
84
- * "Qualifier": "BLUE"
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
- * "AllocatedProvisionedConcurrentExecutions": 100,
91
- * "AvailableProvisionedConcurrentExecutions": 100,
92
- * "LastModified": "2019-12-31T20:28:49+0000",
93
- * "RequestedProvisionedConcurrentExecutions": 100,
94
- * "Status": "READY"
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
- * "FunctionName": "my-function",
105
- * "Qualifier": "BLUE"
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
- * "AllocatedProvisionedConcurrentExecutions": 100,
112
- * "AvailableProvisionedConcurrentExecutions": 100,
113
- * "LastModified": "2019-12-31T20:28:49+0000",
114
- * "RequestedProvisionedConcurrentExecutions": 100,
115
- * "Status": "READY"
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
- * @public
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
- * "FunctionName": "my-function",
90
- * "InvokeArgs": "{}"
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
- * "Status": 202
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. */