@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
@@ -174,74 +174,74 @@ declare const ListVersionsByFunctionCommand_base: {
174
174
  * @throws {@link LambdaServiceException}
175
175
  * <p>Base exception class for all service exceptions from Lambda service.</p>
176
176
  *
177
- * @public
177
+ *
178
178
  * @example To list versions of a function
179
179
  * ```javascript
180
180
  * // The following example returns a list of versions of a function named my-function
181
181
  * const input = {
182
- * "FunctionName": "my-function"
182
+ * FunctionName: "my-function"
183
183
  * };
184
184
  * const command = new ListVersionsByFunctionCommand(input);
185
185
  * const response = await client.send(command);
186
- * /* response ==
186
+ * /* response is
187
187
  * {
188
- * "Versions": [
188
+ * Versions: [
189
189
  * {
190
- * "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
191
- * "CodeSize": 5797206,
192
- * "Description": "Process image objects from Amazon S3.",
193
- * "Environment": {
194
- * "Variables": {
195
- * "BUCKET": "my-bucket-1xpuxmplzrlbh",
196
- * "PREFIX": "inbound"
190
+ * CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
191
+ * CodeSize: 5797206,
192
+ * Description: "Process image objects from Amazon S3.",
193
+ * Environment: {
194
+ * Variables: {
195
+ * BUCKET: "my-bucket-1xpuxmplzrlbh",
196
+ * PREFIX: "inbound"
197
197
  * }
198
198
  * },
199
- * "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
200
- * "FunctionName": "my-function",
201
- * "Handler": "index.handler",
202
- * "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
203
- * "LastModified": "2020-04-10T19:06:32.563+0000",
204
- * "MemorySize": 256,
205
- * "RevisionId": "850ca006-2d98-4ff4-86db-8766e9d32fe9",
206
- * "Role": "arn:aws:iam::123456789012:role/lambda-role",
207
- * "Runtime": "nodejs12.x",
208
- * "Timeout": 15,
209
- * "TracingConfig": {
210
- * "Mode": "Active"
199
+ * FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
200
+ * FunctionName: "my-function",
201
+ * Handler: "index.handler",
202
+ * KMSKeyArn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
203
+ * LastModified: "2020-04-10T19:06:32.563+0000",
204
+ * MemorySize: 256,
205
+ * RevisionId: "850ca006-2d98-4ff4-86db-8766e9d32fe9",
206
+ * Role: "arn:aws:iam::123456789012:role/lambda-role",
207
+ * Runtime: "nodejs12.x",
208
+ * Timeout: 15,
209
+ * TracingConfig: {
210
+ * Mode: "Active"
211
211
  * },
212
- * "Version": "$LATEST"
212
+ * Version: "$LATEST"
213
213
  * },
214
214
  * {
215
- * "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
216
- * "CodeSize": 5797206,
217
- * "Description": "Process image objects from Amazon S3.",
218
- * "Environment": {
219
- * "Variables": {
220
- * "BUCKET": "my-bucket-1xpuxmplzrlbh",
221
- * "PREFIX": "inbound"
215
+ * CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
216
+ * CodeSize: 5797206,
217
+ * Description: "Process image objects from Amazon S3.",
218
+ * Environment: {
219
+ * Variables: {
220
+ * BUCKET: "my-bucket-1xpuxmplzrlbh",
221
+ * PREFIX: "inbound"
222
222
  * }
223
223
  * },
224
- * "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
225
- * "FunctionName": "my-function",
226
- * "Handler": "index.handler",
227
- * "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
228
- * "LastModified": "2020-04-10T19:06:32.563+0000",
229
- * "MemorySize": 256,
230
- * "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
231
- * "Role": "arn:aws:iam::123456789012:role/lambda-role",
232
- * "Runtime": "nodejs12.x",
233
- * "Timeout": 5,
234
- * "TracingConfig": {
235
- * "Mode": "Active"
224
+ * FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
225
+ * FunctionName: "my-function",
226
+ * Handler: "index.handler",
227
+ * KMSKeyArn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
228
+ * LastModified: "2020-04-10T19:06:32.563+0000",
229
+ * MemorySize: 256,
230
+ * RevisionId: "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
231
+ * Role: "arn:aws:iam::123456789012:role/lambda-role",
232
+ * Runtime: "nodejs12.x",
233
+ * Timeout: 5,
234
+ * TracingConfig: {
235
+ * Mode: "Active"
236
236
  * },
237
- * "Version": "1"
237
+ * Version: "1"
238
238
  * }
239
239
  * ]
240
240
  * }
241
241
  * *\/
242
- * // example id: to-list-versions-1481650603750
243
242
  * ```
244
243
  *
244
+ * @public
245
245
  */
246
246
  export declare class ListVersionsByFunctionCommand extends ListVersionsByFunctionCommand_base {
247
247
  /** @internal type navigation helper, not in runtime. */
@@ -104,47 +104,47 @@ declare const PublishLayerVersionCommand_base: {
104
104
  * @throws {@link LambdaServiceException}
105
105
  * <p>Base exception class for all service exceptions from Lambda service.</p>
106
106
  *
107
- * @public
107
+ *
108
108
  * @example To create a Lambda layer version
109
109
  * ```javascript
110
110
  * // The following example creates a new Python library layer version. The command retrieves the layer content a file named layer.zip in the specified S3 bucket.
111
111
  * const input = {
112
- * "CompatibleRuntimes": [
112
+ * CompatibleRuntimes: [
113
113
  * "python3.6",
114
114
  * "python3.7"
115
115
  * ],
116
- * "Content": {
117
- * "S3Bucket": "lambda-layers-us-west-2-123456789012",
118
- * "S3Key": "layer.zip"
116
+ * Content: {
117
+ * S3Bucket: "lambda-layers-us-west-2-123456789012",
118
+ * S3Key: "layer.zip"
119
119
  * },
120
- * "Description": "My Python layer",
121
- * "LayerName": "my-layer",
122
- * "LicenseInfo": "MIT"
120
+ * Description: "My Python layer",
121
+ * LayerName: "my-layer",
122
+ * LicenseInfo: "MIT"
123
123
  * };
124
124
  * const command = new PublishLayerVersionCommand(input);
125
125
  * const response = await client.send(command);
126
- * /* response ==
126
+ * /* response is
127
127
  * {
128
- * "CompatibleRuntimes": [
128
+ * CompatibleRuntimes: [
129
129
  * "python3.6",
130
130
  * "python3.7"
131
131
  * ],
132
- * "Content": {
133
- * "CodeSha256": "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=",
134
- * "CodeSize": 169,
135
- * "Location": "https://awslambda-us-west-2-layers.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH..."
132
+ * Content: {
133
+ * CodeSha256: "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=",
134
+ * CodeSize: 169,
135
+ * Location: "https://awslambda-us-west-2-layers.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH..."
136
136
  * },
137
- * "CreatedDate": "2018-11-14T23:03:52.894+0000",
138
- * "Description": "My Python layer",
139
- * "LayerArn": "arn:aws:lambda:us-west-2:123456789012:layer:my-layer",
140
- * "LayerVersionArn": "arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1",
141
- * "LicenseInfo": "MIT",
142
- * "Version": 1
137
+ * CreatedDate: "2018-11-14T23:03:52.894+0000",
138
+ * Description: "My Python layer",
139
+ * LayerArn: "arn:aws:lambda:us-west-2:123456789012:layer:my-layer",
140
+ * LayerVersionArn: "arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1",
141
+ * LicenseInfo: "MIT",
142
+ * Version: 1
143
143
  * }
144
144
  * *\/
145
- * // example id: to-create-a-lambda-layer-version-1586491213595
146
145
  * ```
147
146
  *
147
+ * @public
148
148
  */
149
149
  export declare class PublishLayerVersionCommand extends PublishLayerVersionCommand_base {
150
150
  /** @internal type navigation helper, not in runtime. */
@@ -194,49 +194,49 @@ declare const PublishVersionCommand_base: {
194
194
  * @throws {@link LambdaServiceException}
195
195
  * <p>Base exception class for all service exceptions from Lambda service.</p>
196
196
  *
197
- * @public
197
+ *
198
198
  * @example To publish a version of a Lambda function
199
199
  * ```javascript
200
200
  * // This operation publishes a version of a Lambda function
201
201
  * const input = {
202
- * "CodeSha256": "",
203
- * "Description": "",
204
- * "FunctionName": "myFunction"
202
+ * CodeSha256: "",
203
+ * Description: "",
204
+ * FunctionName: "myFunction"
205
205
  * };
206
206
  * const command = new PublishVersionCommand(input);
207
207
  * const response = await client.send(command);
208
- * /* response ==
208
+ * /* response is
209
209
  * {
210
- * "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
211
- * "CodeSize": 5797206,
212
- * "Description": "Process image objects from Amazon S3.",
213
- * "Environment": {
214
- * "Variables": {
215
- * "BUCKET": "my-bucket-1xpuxmplzrlbh",
216
- * "PREFIX": "inbound"
210
+ * CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
211
+ * CodeSize: 5797206,
212
+ * Description: "Process image objects from Amazon S3.",
213
+ * Environment: {
214
+ * Variables: {
215
+ * BUCKET: "my-bucket-1xpuxmplzrlbh",
216
+ * PREFIX: "inbound"
217
217
  * }
218
218
  * },
219
- * "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
220
- * "FunctionName": "my-function",
221
- * "Handler": "index.handler",
222
- * "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
223
- * "LastModified": "2020-04-10T19:06:32.563+0000",
224
- * "LastUpdateStatus": "Successful",
225
- * "MemorySize": 256,
226
- * "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
227
- * "Role": "arn:aws:iam::123456789012:role/lambda-role",
228
- * "Runtime": "nodejs12.x",
229
- * "State": "Active",
230
- * "Timeout": 5,
231
- * "TracingConfig": {
232
- * "Mode": "Active"
219
+ * FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
220
+ * FunctionName: "my-function",
221
+ * Handler: "index.handler",
222
+ * KMSKeyArn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
223
+ * LastModified: "2020-04-10T19:06:32.563+0000",
224
+ * LastUpdateStatus: "Successful",
225
+ * MemorySize: 256,
226
+ * RevisionId: "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
227
+ * Role: "arn:aws:iam::123456789012:role/lambda-role",
228
+ * Runtime: "nodejs12.x",
229
+ * State: "Active",
230
+ * Timeout: 5,
231
+ * TracingConfig: {
232
+ * Mode: "Active"
233
233
  * },
234
- * "Version": "1"
234
+ * Version: "1"
235
235
  * }
236
236
  * *\/
237
- * // example id: to-publish-a-version-of-a-lambda-function-1481650704986
238
237
  * ```
239
238
  *
239
+ * @public
240
240
  */
241
241
  export declare class PublishVersionCommand extends PublishVersionCommand_base {
242
242
  /** @internal type navigation helper, not in runtime. */
@@ -75,6 +75,7 @@ declare const PutFunctionCodeSigningConfigCommand_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
  * @public
79
80
  */
80
81
  export declare class PutFunctionCodeSigningConfigCommand extends PutFunctionCodeSigningConfigCommand_base {
@@ -78,24 +78,24 @@ declare const PutFunctionConcurrencyCommand_base: {
78
78
  * @throws {@link LambdaServiceException}
79
79
  * <p>Base exception class for all service exceptions from Lambda service.</p>
80
80
  *
81
- * @public
81
+ *
82
82
  * @example To configure a reserved concurrency limit for a function
83
83
  * ```javascript
84
84
  * // The following example configures 100 reserved concurrent executions for the my-function function.
85
85
  * const input = {
86
- * "FunctionName": "my-function",
87
- * "ReservedConcurrentExecutions": 100
86
+ * FunctionName: "my-function",
87
+ * ReservedConcurrentExecutions: 100
88
88
  * };
89
89
  * const command = new PutFunctionConcurrencyCommand(input);
90
90
  * const response = await client.send(command);
91
- * /* response ==
91
+ * /* response is
92
92
  * {
93
- * "ReservedConcurrentExecutions": 100
93
+ * ReservedConcurrentExecutions: 100
94
94
  * }
95
95
  * *\/
96
- * // example id: to-configure-a-reserved-concurrency-limit-for-a-function-1586491405956
97
96
  * ```
98
97
  *
98
+ * @public
99
99
  */
100
100
  export declare class PutFunctionConcurrencyCommand extends PutFunctionConcurrencyCommand_base {
101
101
  /** @internal type navigation helper, not in runtime. */
@@ -104,32 +104,8 @@ declare const PutFunctionEventInvokeConfigCommand_base: {
104
104
  * @throws {@link LambdaServiceException}
105
105
  * <p>Base exception class for all service exceptions from Lambda service.</p>
106
106
  *
107
- * @public
108
- * @example To configure error handling for asynchronous invocation
109
- * ```javascript
110
- * // The following example sets a maximum event age of one hour and disables retries for the specified function.
111
- * const input = {
112
- * "FunctionName": "my-function",
113
- * "MaximumEventAgeInSeconds": 3600,
114
- * "MaximumRetryAttempts": 0
115
- * };
116
- * const command = new PutFunctionEventInvokeConfigCommand(input);
117
- * const response = await client.send(command);
118
- * /* response ==
119
- * {
120
- * "DestinationConfig": {
121
- * "OnFailure": {},
122
- * "OnSuccess": {}
123
- * },
124
- * "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
125
- * "LastModified": "${timestamp}",
126
- * "MaximumEventAgeInSeconds": 3600,
127
- * "MaximumRetryAttempts": 0
128
- * }
129
- * *\/
130
- * // example id: to-configure-error-handling-for-asynchronous-invocation-1586491524021
131
- * ```
132
107
  *
108
+ * @public
133
109
  */
134
110
  export declare class PutFunctionEventInvokeConfigCommand extends PutFunctionEventInvokeConfigCommand_base {
135
111
  /** @internal type navigation helper, not in runtime. */
@@ -76,6 +76,7 @@ declare const PutFunctionRecursionConfigCommand_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 PutFunctionRecursionConfigCommand extends PutFunctionRecursionConfigCommand_base {
@@ -76,28 +76,28 @@ declare const PutProvisionedConcurrencyConfigCommand_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 allocate provisioned concurrency
81
81
  * ```javascript
82
82
  * // The following example allocates 100 provisioned concurrency for the BLUE alias of the specified function.
83
83
  * const input = {
84
- * "FunctionName": "my-function",
85
- * "ProvisionedConcurrentExecutions": 100,
86
- * "Qualifier": "BLUE"
84
+ * FunctionName: "my-function",
85
+ * ProvisionedConcurrentExecutions: 100,
86
+ * Qualifier: "BLUE"
87
87
  * };
88
88
  * const command = new PutProvisionedConcurrencyConfigCommand(input);
89
89
  * const response = await client.send(command);
90
- * /* response ==
90
+ * /* response is
91
91
  * {
92
- * "AllocatedProvisionedConcurrentExecutions": 0,
93
- * "LastModified": "2019-11-21T19:32:12+0000",
94
- * "RequestedProvisionedConcurrentExecutions": 100,
95
- * "Status": "IN_PROGRESS"
92
+ * AllocatedProvisionedConcurrentExecutions: 0,
93
+ * LastModified: "2019-11-21T19:32:12+0000",
94
+ * RequestedProvisionedConcurrentExecutions: 100,
95
+ * Status: "IN_PROGRESS"
96
96
  * }
97
97
  * *\/
98
- * // example id: to-allocate-provisioned-concurrency-1586491651377
99
98
  * ```
100
99
  *
100
+ * @public
101
101
  */
102
102
  export declare class PutProvisionedConcurrencyConfigCommand extends PutProvisionedConcurrencyConfigCommand_base {
103
103
  /** @internal type navigation helper, not in runtime. */
@@ -75,6 +75,7 @@ declare const PutRuntimeManagementConfigCommand_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
  * @public
79
80
  */
80
81
  export declare class PutRuntimeManagementConfigCommand extends PutRuntimeManagementConfigCommand_base {
@@ -82,20 +82,23 @@ declare const RemoveLayerVersionPermissionCommand_base: {
82
82
  * @throws {@link LambdaServiceException}
83
83
  * <p>Base exception class for all service exceptions from Lambda service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example To delete layer-version permissions
87
87
  * ```javascript
88
88
  * // The following example deletes permission for an account to configure a layer version.
89
89
  * const input = {
90
- * "LayerName": "my-layer",
91
- * "StatementId": "xaccount",
92
- * "VersionNumber": 1
90
+ * LayerName: "my-layer",
91
+ * StatementId: "xaccount",
92
+ * VersionNumber: 1
93
93
  * };
94
94
  * const command = new RemoveLayerVersionPermissionCommand(input);
95
- * await client.send(command);
96
- * // example id: to-delete-layer-version-permissions-1586491829416
95
+ * const response = await client.send(command);
96
+ * /* response is
97
+ * { /* metadata only *\/ }
98
+ * *\/
97
99
  * ```
98
100
  *
101
+ * @public
99
102
  */
100
103
  export declare class RemoveLayerVersionPermissionCommand extends RemoveLayerVersionPermissionCommand_base {
101
104
  /** @internal type navigation helper, not in runtime. */
@@ -81,20 +81,23 @@ declare const RemovePermissionCommand_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 remove a Lambda function's permissions
86
86
  * ```javascript
87
87
  * // The following example removes a permissions statement named xaccount from the PROD alias of a function named my-function.
88
88
  * const input = {
89
- * "FunctionName": "my-function",
90
- * "Qualifier": "PROD",
91
- * "StatementId": "xaccount"
89
+ * FunctionName: "my-function",
90
+ * Qualifier: "PROD",
91
+ * StatementId: "xaccount"
92
92
  * };
93
93
  * const command = new RemovePermissionCommand(input);
94
- * await client.send(command);
95
- * // example id: to-remove-a-lambda-functions-permissions-1481661337021
94
+ * const response = await client.send(command);
95
+ * /* response is
96
+ * { /* metadata only *\/ }
97
+ * *\/
96
98
  * ```
97
99
  *
100
+ * @public
98
101
  */
99
102
  export declare class RemovePermissionCommand extends RemovePermissionCommand_base {
100
103
  /** @internal type navigation helper, not in runtime. */
@@ -70,21 +70,24 @@ declare const TagResourceCommand_base: {
70
70
  * @throws {@link LambdaServiceException}
71
71
  * <p>Base exception class for all service exceptions from Lambda service.</p>
72
72
  *
73
- * @public
73
+ *
74
74
  * @example To add tags to an existing Lambda function
75
75
  * ```javascript
76
76
  * // The following example adds a tag with the key name DEPARTMENT and a value of 'Department A' to the specified Lambda function.
77
77
  * const input = {
78
- * "Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
79
- * "Tags": {
80
- * "DEPARTMENT": "Department A"
78
+ * Resource: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
79
+ * Tags: {
80
+ * DEPARTMENT: "Department A"
81
81
  * }
82
82
  * };
83
83
  * const command = new TagResourceCommand(input);
84
- * await client.send(command);
85
- * // example id: to-add-tags-to-an-existing-lambda-function-1586491890446
84
+ * const response = await client.send(command);
85
+ * /* response is
86
+ * { /* metadata only *\/ }
87
+ * *\/
86
88
  * ```
87
89
  *
90
+ * @public
88
91
  */
89
92
  export declare class TagResourceCommand extends TagResourceCommand_base {
90
93
  /** @internal type navigation helper, not in runtime. */
@@ -70,21 +70,24 @@ declare const UntagResourceCommand_base: {
70
70
  * @throws {@link LambdaServiceException}
71
71
  * <p>Base exception class for all service exceptions from Lambda service.</p>
72
72
  *
73
- * @public
73
+ *
74
74
  * @example To remove tags from an existing Lambda function
75
75
  * ```javascript
76
76
  * // The following example removes the tag with the key name DEPARTMENT tag from the my-function Lambda function.
77
77
  * const input = {
78
- * "Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
79
- * "TagKeys": [
78
+ * Resource: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
79
+ * TagKeys: [
80
80
  * "DEPARTMENT"
81
81
  * ]
82
82
  * };
83
83
  * const command = new UntagResourceCommand(input);
84
- * await client.send(command);
85
- * // example id: to-remove-tags-from-an-existing-lambda-function-1586491956425
84
+ * const response = await client.send(command);
85
+ * /* response is
86
+ * { /* metadata only *\/ }
87
+ * *\/
86
88
  * ```
87
89
  *
90
+ * @public
88
91
  */
89
92
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
90
93
  /** @internal type navigation helper, not in runtime. */
@@ -100,39 +100,39 @@ declare const UpdateAliasCommand_base: {
100
100
  * @throws {@link LambdaServiceException}
101
101
  * <p>Base exception class for all service exceptions from Lambda service.</p>
102
102
  *
103
- * @public
103
+ *
104
104
  * @example To update a function alias
105
105
  * ```javascript
106
106
  * // The following example updates the alias named BLUE to send 30% of traffic to version 2 and 70% to version 1.
107
107
  * const input = {
108
- * "FunctionName": "my-function",
109
- * "FunctionVersion": "2",
110
- * "Name": "BLUE",
111
- * "RoutingConfig": {
112
- * "AdditionalVersionWeights": {
113
- * "1": 0.7
108
+ * FunctionName: "my-function",
109
+ * FunctionVersion: "2",
110
+ * Name: "BLUE",
111
+ * RoutingConfig: {
112
+ * AdditionalVersionWeights: {
113
+ * 1: 0.7
114
114
  * }
115
115
  * }
116
116
  * };
117
117
  * const command = new UpdateAliasCommand(input);
118
118
  * const response = await client.send(command);
119
- * /* response ==
119
+ * /* response is
120
120
  * {
121
- * "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE",
122
- * "Description": "Production environment BLUE.",
123
- * "FunctionVersion": "2",
124
- * "Name": "BLUE",
125
- * "RevisionId": "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93",
126
- * "RoutingConfig": {
127
- * "AdditionalVersionWeights": {
128
- * "1": 0.7
121
+ * AliasArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE",
122
+ * Description: "Production environment BLUE.",
123
+ * FunctionVersion: "2",
124
+ * Name: "BLUE",
125
+ * RevisionId: "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93",
126
+ * RoutingConfig: {
127
+ * AdditionalVersionWeights: {
128
+ * 1: 0.7
129
129
  * }
130
130
  * }
131
131
  * }
132
132
  * *\/
133
- * // example id: to-update-a-function-alias-1481650817950
134
133
  * ```
135
134
  *
135
+ * @public
136
136
  */
137
137
  export declare class UpdateAliasCommand extends UpdateAliasCommand_base {
138
138
  /** @internal type navigation helper, not in runtime. */
@@ -86,6 +86,7 @@ declare const UpdateCodeSigningConfigCommand_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
  * @public
90
91
  */
91
92
  export declare class UpdateCodeSigningConfigCommand extends UpdateCodeSigningConfigCommand_base {
@@ -323,33 +323,8 @@ declare const UpdateEventSourceMappingCommand_base: {
323
323
  * @throws {@link LambdaServiceException}
324
324
  * <p>Base exception class for all service exceptions from Lambda service.</p>
325
325
  *
326
- * @public
327
- * @example To update a Lambda function event source mapping
328
- * ```javascript
329
- * // This operation updates a Lambda function event source mapping
330
- * const input = {
331
- * "BatchSize": 123,
332
- * "Enabled": true,
333
- * "FunctionName": "myFunction",
334
- * "UUID": "1234xCy789012"
335
- * };
336
- * const command = new UpdateEventSourceMappingCommand(input);
337
- * const response = await client.send(command);
338
- * /* response ==
339
- * {
340
- * "BatchSize": 123,
341
- * "EventSourceArn": "arn:aws:s3:::examplebucket/*",
342
- * "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction",
343
- * "LastModified": "2016-11-21T19:49:20.006+0000",
344
- * "LastProcessingResult": "",
345
- * "State": "",
346
- * "StateTransitionReason": "",
347
- * "UUID": "1234xCy789012"
348
- * }
349
- * *\/
350
- * // example id: to-update-a-lambda-function-event-source-mapping-1481650907413
351
- * ```
352
326
  *
327
+ * @public
353
328
  */
354
329
  export declare class UpdateEventSourceMappingCommand extends UpdateEventSourceMappingCommand_base {
355
330
  /** @internal type navigation helper, not in runtime. */