@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.
Files changed (76) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/LambdaClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +10 -10
  8. package/dist-types/commands/AddPermissionCommand.d.ts +16 -17
  9. package/dist-types/commands/CreateAliasCommand.d.ts +12 -12
  10. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +1 -0
  11. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +13 -13
  12. package/dist-types/commands/CreateFunctionCommand.d.ts +45 -45
  13. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +1 -0
  14. package/dist-types/commands/DeleteAliasCommand.d.ts +8 -5
  15. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -22
  17. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +1 -0
  18. package/dist-types/commands/DeleteFunctionCommand.d.ts +8 -5
  19. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +7 -4
  20. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +8 -5
  21. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +1 -0
  22. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +8 -5
  23. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +8 -5
  24. package/dist-types/commands/GetAccountSettingsCommand.d.ts +13 -13
  25. package/dist-types/commands/GetAliasCommand.d.ts +10 -10
  26. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +1 -0
  27. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -27
  28. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +1 -0
  29. package/dist-types/commands/GetFunctionCommand.d.ts +33 -33
  30. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +5 -5
  31. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +27 -27
  32. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -26
  33. package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +1 -0
  34. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +1 -0
  35. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +14 -14
  36. package/dist-types/commands/GetLayerVersionCommand.d.ts +16 -16
  37. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -0
  38. package/dist-types/commands/GetPolicyCommand.d.ts +7 -7
  39. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +18 -19
  40. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -0
  41. package/dist-types/commands/InvokeAsyncCommand.d.ts +6 -6
  42. package/dist-types/commands/InvokeCommand.d.ts +15 -16
  43. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +1 -0
  44. package/dist-types/commands/ListAliasesCommand.d.ts +18 -18
  45. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -0
  46. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +12 -12
  47. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +13 -13
  48. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +1 -0
  49. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -0
  50. package/dist-types/commands/ListFunctionsCommand.d.ts +40 -40
  51. package/dist-types/commands/ListLayerVersionsCommand.d.ts +15 -15
  52. package/dist-types/commands/ListLayersCommand.d.ts +13 -13
  53. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +17 -17
  54. package/dist-types/commands/ListTagsCommand.d.ts +7 -7
  55. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +45 -45
  56. package/dist-types/commands/PublishLayerVersionCommand.d.ts +21 -21
  57. package/dist-types/commands/PublishVersionCommand.d.ts +28 -28
  58. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -0
  59. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +6 -6
  60. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +1 -25
  61. package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +1 -0
  62. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +10 -10
  63. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +1 -0
  64. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +9 -6
  65. package/dist-types/commands/RemovePermissionCommand.d.ts +9 -6
  66. package/dist-types/commands/TagResourceCommand.d.ts +9 -6
  67. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  68. package/dist-types/commands/UpdateAliasCommand.d.ts +17 -17
  69. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +1 -0
  70. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +1 -26
  71. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +21 -21
  72. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +20 -20
  73. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +15 -15
  74. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +1 -0
  75. package/dist-types/runtimeConfig.browser.d.ts +3 -0
  76. package/package.json +38 -38
@@ -66,6 +66,7 @@ declare const DeleteFunctionUrlConfigCommand_base: {
66
66
  * @throws {@link LambdaServiceException}
67
67
  * <p>Base exception class for all service exceptions from Lambda service.</p>
68
68
  *
69
+ *
69
70
  * @public
70
71
  */
71
72
  export declare class DeleteFunctionUrlConfigCommand extends DeleteFunctionUrlConfigCommand_base {
@@ -61,19 +61,22 @@ declare const DeleteLayerVersionCommand_base: {
61
61
  * @throws {@link LambdaServiceException}
62
62
  * <p>Base exception class for all service exceptions from Lambda service.</p>
63
63
  *
64
- * @public
64
+ *
65
65
  * @example To delete a version of a Lambda layer
66
66
  * ```javascript
67
67
  * // The following example deletes version 2 of a layer named my-layer.
68
68
  * const input = {
69
- * "LayerName": "my-layer",
70
- * "VersionNumber": 2
69
+ * LayerName: "my-layer",
70
+ * VersionNumber: 2
71
71
  * };
72
72
  * const command = new DeleteLayerVersionCommand(input);
73
- * await client.send(command);
74
- * // example id: to-delete-a-version-of-a-lambda-layer-1586481157547
73
+ * const response = await client.send(command);
74
+ * /* response is
75
+ * { /* metadata only *\/ }
76
+ * *\/
75
77
  * ```
76
78
  *
79
+ * @public
77
80
  */
78
81
  export declare class DeleteLayerVersionCommand extends DeleteLayerVersionCommand_base {
79
82
  /** @internal type navigation helper, not in runtime. */
@@ -68,19 +68,22 @@ declare const DeleteProvisionedConcurrencyConfigCommand_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 delete a provisioned concurrency configuration
73
73
  * ```javascript
74
74
  * // The following example deletes the provisioned concurrency configuration for the GREEN alias of a function named my-function.
75
75
  * const input = {
76
- * "FunctionName": "my-function",
77
- * "Qualifier": "GREEN"
76
+ * FunctionName: "my-function",
77
+ * Qualifier: "GREEN"
78
78
  * };
79
79
  * const command = new DeleteProvisionedConcurrencyConfigCommand(input);
80
- * await client.send(command);
81
- * // example id: to-delete-a-provisioned-concurrency-configuration-1586481032551
80
+ * const response = await client.send(command);
81
+ * /* response is
82
+ * { /* metadata only *\/ }
83
+ * *\/
82
84
  * ```
83
85
  *
86
+ * @public
84
87
  */
85
88
  export declare class DeleteProvisionedConcurrencyConfigCommand extends DeleteProvisionedConcurrencyConfigCommand_base {
86
89
  /** @internal type navigation helper, not in runtime. */
@@ -68,31 +68,31 @@ declare const GetAccountSettingsCommand_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 get account settings
73
73
  * ```javascript
74
74
  * // This operation takes no parameters and returns details about storage and concurrency quotas in the current Region.
75
- * const input = {};
75
+ * const input = { /* empty *\/ };
76
76
  * const command = new GetAccountSettingsCommand(input);
77
77
  * const response = await client.send(command);
78
- * /* response ==
78
+ * /* response is
79
79
  * {
80
- * "AccountLimit": {
81
- * "CodeSizeUnzipped": 262144000,
82
- * "CodeSizeZipped": 52428800,
83
- * "ConcurrentExecutions": 1000,
84
- * "TotalCodeSize": 80530636800,
85
- * "UnreservedConcurrentExecutions": 1000
80
+ * AccountLimit: {
81
+ * CodeSizeUnzipped: 262144000,
82
+ * CodeSizeZipped: 52428800,
83
+ * ConcurrentExecutions: 1000,
84
+ * TotalCodeSize: 80530636800,
85
+ * UnreservedConcurrentExecutions: 1000
86
86
  * },
87
- * "AccountUsage": {
88
- * "FunctionCount": 4,
89
- * "TotalCodeSize": 9426
87
+ * AccountUsage: {
88
+ * FunctionCount: 4,
89
+ * TotalCodeSize: 9426
90
90
  * }
91
91
  * }
92
92
  * *\/
93
- * // example id: to-get-account-settings-1481657495274
94
93
  * ```
95
94
  *
95
+ * @public
96
96
  */
97
97
  export declare class GetAccountSettingsCommand extends GetAccountSettingsCommand_base {
98
98
  /** @internal type navigation helper, not in runtime. */
@@ -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. */