@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
@@ -97,28 +97,28 @@ declare const AddLayerVersionPermissionCommand_base: {
97
97
  * @throws {@link LambdaServiceException}
98
98
  * <p>Base exception class for all service exceptions from Lambda service.</p>
99
99
  *
100
- * @public
100
+ *
101
101
  * @example To add permissions to a layer version
102
102
  * ```javascript
103
103
  * // The following example grants permission for the account 223456789012 to use version 1 of a layer named my-layer.
104
104
  * const input = {
105
- * "Action": "lambda:GetLayerVersion",
106
- * "LayerName": "my-layer",
107
- * "Principal": "223456789012",
108
- * "StatementId": "xaccount",
109
- * "VersionNumber": 1
105
+ * Action: "lambda:GetLayerVersion",
106
+ * LayerName: "my-layer",
107
+ * Principal: "223456789012",
108
+ * StatementId: "xaccount",
109
+ * VersionNumber: 1
110
110
  * };
111
111
  * const command = new AddLayerVersionPermissionCommand(input);
112
112
  * const response = await client.send(command);
113
- * /* response ==
113
+ * /* response is
114
114
  * {
115
- * "RevisionId": "35d87451-f796-4a3f-a618-95a3671b0a0c",
116
- * "Statement": "{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::223456789012:root\"},\"Action\":\"lambda:GetLayerVersion\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1\"}"
115
+ * RevisionId: "35d87451-f796-4a3f-a618-95a3671b0a0c",
116
+ * Statement: `{"Sid":"xaccount","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::223456789012:root"},"Action":"lambda:GetLayerVersion","Resource":"arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1"}`
117
117
  * }
118
118
  * *\/
119
- * // example id: to-add-permissions-to-a-layer-version-1586479797163
120
119
  * ```
121
120
  *
121
+ * @public
122
122
  */
123
123
  export declare class AddLayerVersionPermissionCommand extends AddLayerVersionPermissionCommand_base {
124
124
  /** @internal type navigation helper, not in runtime. */
@@ -107,47 +107,46 @@ declare const AddPermissionCommand_base: {
107
107
  * @throws {@link LambdaServiceException}
108
108
  * <p>Base exception class for all service exceptions from Lambda service.</p>
109
109
  *
110
- * @public
110
+ *
111
111
  * @example To grant Amazon S3 permission to invoke a function
112
112
  * ```javascript
113
113
  * // The following example adds permission for Amazon S3 to invoke a Lambda function named my-function for notifications from a bucket named my-bucket-1xpuxmplzrlbh in account 123456789012.
114
114
  * const input = {
115
- * "Action": "lambda:InvokeFunction",
116
- * "FunctionName": "my-function",
117
- * "Principal": "s3.amazonaws.com",
118
- * "SourceAccount": "123456789012",
119
- * "SourceArn": "arn:aws:s3:::my-bucket-1xpuxmplzrlbh/*",
120
- * "StatementId": "s3"
115
+ * Action: "lambda:InvokeFunction",
116
+ * FunctionName: "my-function",
117
+ * Principal: "s3.amazonaws.com",
118
+ * SourceAccount: "123456789012",
119
+ * SourceArn: "arn:aws:s3:::my-bucket-1xpuxmplzrlbh/*",
120
+ * StatementId: "s3"
121
121
  * };
122
122
  * const command = new AddPermissionCommand(input);
123
123
  * const response = await client.send(command);
124
- * /* response ==
124
+ * /* response is
125
125
  * {
126
- * "Statement": "{\"Sid\":\"s3\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"s3.amazonaws.com\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function\",\"Condition\":{\"StringEquals\":{\"AWS:SourceAccount\":\"123456789012\"},\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:s3:::my-bucket-1xpuxmplzrlbh\"}}}"
126
+ * Statement: `{"Sid":"s3","Effect":"Allow","Principal":{"Service":"s3.amazonaws.com"},"Action":"lambda:InvokeFunction","Resource":"arn:aws:lambda:us-east-2:123456789012:function:my-function","Condition":{"StringEquals":{"AWS:SourceAccount":"123456789012"},"ArnLike":{"AWS:SourceArn":"arn:aws:s3:::my-bucket-1xpuxmplzrlbh"}}}`
127
127
  * }
128
128
  * *\/
129
- * // example id: add-permission-1474651469455
130
129
  * ```
131
130
  *
132
131
  * @example To grant another account permission to invoke a function
133
132
  * ```javascript
134
133
  * // The following example adds permission for account 223456789012 invoke a Lambda function named my-function.
135
134
  * const input = {
136
- * "Action": "lambda:InvokeFunction",
137
- * "FunctionName": "my-function",
138
- * "Principal": "223456789012",
139
- * "StatementId": "xaccount"
135
+ * Action: "lambda:InvokeFunction",
136
+ * FunctionName: "my-function",
137
+ * Principal: "223456789012",
138
+ * StatementId: "xaccount"
140
139
  * };
141
140
  * const command = new AddPermissionCommand(input);
142
141
  * const response = await client.send(command);
143
- * /* response ==
142
+ * /* response is
144
143
  * {
145
- * "Statement": "{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::223456789012:root\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function\"}"
144
+ * Statement: `{"Sid":"xaccount","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::223456789012:root"},"Action":"lambda:InvokeFunction","Resource":"arn:aws:lambda:us-east-2:123456789012:function:my-function"}`
146
145
  * }
147
146
  * *\/
148
- * // example id: add-permission-1474651469456
149
147
  * ```
150
148
  *
149
+ * @public
151
150
  */
152
151
  export declare class AddPermissionCommand extends AddPermissionCommand_base {
153
152
  /** @internal type navigation helper, not in runtime. */
@@ -91,30 +91,30 @@ declare const CreateAliasCommand_base: {
91
91
  * @throws {@link LambdaServiceException}
92
92
  * <p>Base exception class for all service exceptions from Lambda service.</p>
93
93
  *
94
- * @public
94
+ *
95
95
  * @example To create an alias for a Lambda function
96
96
  * ```javascript
97
97
  * // The following example creates an alias named LIVE that points to version 1 of the my-function Lambda function.
98
98
  * const input = {
99
- * "Description": "alias for live version of function",
100
- * "FunctionName": "my-function",
101
- * "FunctionVersion": "1",
102
- * "Name": "LIVE"
99
+ * Description: "alias for live version of function",
100
+ * FunctionName: "my-function",
101
+ * FunctionVersion: "1",
102
+ * Name: "LIVE"
103
103
  * };
104
104
  * const command = new CreateAliasCommand(input);
105
105
  * const response = await client.send(command);
106
- * /* response ==
106
+ * /* response is
107
107
  * {
108
- * "AliasArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:LIVE",
109
- * "Description": "alias for live version of function",
110
- * "FunctionVersion": "1",
111
- * "Name": "LIVE",
112
- * "RevisionId": "873282ed-xmpl-4dc8-a069-d0c647e470c6"
108
+ * AliasArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:LIVE",
109
+ * Description: "alias for live version of function",
110
+ * FunctionVersion: "1",
111
+ * Name: "LIVE",
112
+ * RevisionId: "873282ed-xmpl-4dc8-a069-d0c647e470c6"
113
113
  * }
114
114
  * *\/
115
- * // example id: to-create-an-alias-for-a-lambda-function-1586480324259
116
115
  * ```
117
116
  *
117
+ * @public
118
118
  */
119
119
  export declare class CreateAliasCommand extends CreateAliasCommand_base {
120
120
  /** @internal type navigation helper, not in runtime. */
@@ -86,6 +86,7 @@ declare const CreateCodeSigningConfigCommand_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 CreateCodeSigningConfigCommand extends CreateCodeSigningConfigCommand_base {
@@ -342,31 +342,31 @@ declare const CreateEventSourceMappingCommand_base: {
342
342
  * @throws {@link LambdaServiceException}
343
343
  * <p>Base exception class for all service exceptions from Lambda service.</p>
344
344
  *
345
- * @public
345
+ *
346
346
  * @example To create a mapping between an event source and an AWS Lambda function
347
347
  * ```javascript
348
348
  * // The following example creates a mapping between an SQS queue and the my-function Lambda function.
349
349
  * const input = {
350
- * "BatchSize": 5,
351
- * "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue",
352
- * "FunctionName": "my-function"
350
+ * BatchSize: 5,
351
+ * EventSourceArn: "arn:aws:sqs:us-west-2:123456789012:my-queue",
352
+ * FunctionName: "my-function"
353
353
  * };
354
354
  * const command = new CreateEventSourceMappingCommand(input);
355
355
  * const response = await client.send(command);
356
- * /* response ==
356
+ * /* response is
357
357
  * {
358
- * "BatchSize": 5,
359
- * "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue",
360
- * "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
361
- * "LastModified": 1569284520.333,
362
- * "State": "Creating",
363
- * "StateTransitionReason": "USER_INITIATED",
364
- * "UUID": "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE"
358
+ * BatchSize: 5,
359
+ * EventSourceArn: "arn:aws:sqs:us-west-2:123456789012:my-queue",
360
+ * FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
361
+ * LastModified: 1.569284520333E9,
362
+ * State: "Creating",
363
+ * StateTransitionReason: "USER_INITIATED",
364
+ * UUID: "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE"
365
365
  * }
366
366
  * *\/
367
- * // example id: to-create-a-mapping-between-an-event-source-and-an-aws-lambda-function-1586480555467
368
367
  * ```
369
368
  *
369
+ * @public
370
370
  */
371
371
  export declare class CreateEventSourceMappingCommand extends CreateEventSourceMappingCommand_base {
372
372
  /** @internal type navigation helper, not in runtime. */
@@ -294,71 +294,71 @@ declare const CreateFunctionCommand_base: {
294
294
  * @throws {@link LambdaServiceException}
295
295
  * <p>Base exception class for all service exceptions from Lambda service.</p>
296
296
  *
297
- * @public
297
+ *
298
298
  * @example To create a function
299
299
  * ```javascript
300
300
  * // The following example creates a function with a deployment package in Amazon S3 and enables X-Ray tracing and environment variable encryption.
301
301
  * const input = {
302
- * "Code": {
303
- * "S3Bucket": "my-bucket-1xpuxmplzrlbh",
304
- * "S3Key": "function.zip"
302
+ * Code: {
303
+ * S3Bucket: "my-bucket-1xpuxmplzrlbh",
304
+ * S3Key: "function.zip"
305
305
  * },
306
- * "Description": "Process image objects from Amazon S3.",
307
- * "Environment": {
308
- * "Variables": {
309
- * "BUCKET": "my-bucket-1xpuxmplzrlbh",
310
- * "PREFIX": "inbound"
306
+ * Description: "Process image objects from Amazon S3.",
307
+ * Environment: {
308
+ * Variables: {
309
+ * BUCKET: "my-bucket-1xpuxmplzrlbh",
310
+ * PREFIX: "inbound"
311
311
  * }
312
312
  * },
313
- * "FunctionName": "my-function",
314
- * "Handler": "index.handler",
315
- * "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
316
- * "MemorySize": 256,
317
- * "Publish": true,
318
- * "Role": "arn:aws:iam::123456789012:role/lambda-role",
319
- * "Runtime": "nodejs12.x",
320
- * "Tags": {
321
- * "DEPARTMENT": "Assets"
313
+ * FunctionName: "my-function",
314
+ * Handler: "index.handler",
315
+ * KMSKeyArn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
316
+ * MemorySize: 256,
317
+ * Publish: true,
318
+ * Role: "arn:aws:iam::123456789012:role/lambda-role",
319
+ * Runtime: "nodejs12.x",
320
+ * Tags: {
321
+ * DEPARTMENT: "Assets"
322
322
  * },
323
- * "Timeout": 15,
324
- * "TracingConfig": {
325
- * "Mode": "Active"
323
+ * Timeout: 15,
324
+ * TracingConfig: {
325
+ * Mode: "Active"
326
326
  * }
327
327
  * };
328
328
  * const command = new CreateFunctionCommand(input);
329
329
  * const response = await client.send(command);
330
- * /* response ==
330
+ * /* response is
331
331
  * {
332
- * "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
333
- * "CodeSize": 5797206,
334
- * "Description": "Process image objects from Amazon S3.",
335
- * "Environment": {
336
- * "Variables": {
337
- * "BUCKET": "my-bucket-1xpuxmplzrlbh",
338
- * "PREFIX": "inbound"
332
+ * CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
333
+ * CodeSize: 5797206,
334
+ * Description: "Process image objects from Amazon S3.",
335
+ * Environment: {
336
+ * Variables: {
337
+ * BUCKET: "my-bucket-1xpuxmplzrlbh",
338
+ * PREFIX: "inbound"
339
339
  * }
340
340
  * },
341
- * "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
342
- * "FunctionName": "my-function",
343
- * "Handler": "index.handler",
344
- * "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
345
- * "LastModified": "2020-04-10T19:06:32.563+0000",
346
- * "LastUpdateStatus": "Successful",
347
- * "MemorySize": 256,
348
- * "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
349
- * "Role": "arn:aws:iam::123456789012:role/lambda-role",
350
- * "Runtime": "nodejs12.x",
351
- * "State": "Active",
352
- * "Timeout": 15,
353
- * "TracingConfig": {
354
- * "Mode": "Active"
341
+ * FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
342
+ * FunctionName: "my-function",
343
+ * Handler: "index.handler",
344
+ * KMSKeyArn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
345
+ * LastModified: "2020-04-10T19:06:32.563+0000",
346
+ * LastUpdateStatus: "Successful",
347
+ * MemorySize: 256,
348
+ * RevisionId: "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
349
+ * Role: "arn:aws:iam::123456789012:role/lambda-role",
350
+ * Runtime: "nodejs12.x",
351
+ * State: "Active",
352
+ * Timeout: 15,
353
+ * TracingConfig: {
354
+ * Mode: "Active"
355
355
  * },
356
- * "Version": "1"
356
+ * Version: "1"
357
357
  * }
358
358
  * *\/
359
- * // example id: to-create-a-function-1586492061186
360
359
  * ```
361
360
  *
361
+ * @public
362
362
  */
363
363
  export declare class CreateFunctionCommand extends CreateFunctionCommand_base {
364
364
  /** @internal type navigation helper, not in runtime. */
@@ -109,6 +109,7 @@ declare const CreateFunctionUrlConfigCommand_base: {
109
109
  * @throws {@link LambdaServiceException}
110
110
  * <p>Base exception class for all service exceptions from Lambda service.</p>
111
111
  *
112
+ *
112
113
  * @public
113
114
  */
114
115
  export declare class CreateFunctionUrlConfigCommand extends CreateFunctionUrlConfigCommand_base {
@@ -65,19 +65,22 @@ declare const DeleteAliasCommand_base: {
65
65
  * @throws {@link LambdaServiceException}
66
66
  * <p>Base exception class for all service exceptions from Lambda service.</p>
67
67
  *
68
- * @public
68
+ *
69
69
  * @example To delete a Lambda function alias
70
70
  * ```javascript
71
71
  * // The following example deletes an alias named BLUE from a function named my-function
72
72
  * const input = {
73
- * "FunctionName": "my-function",
74
- * "Name": "BLUE"
73
+ * FunctionName: "my-function",
74
+ * Name: "BLUE"
75
75
  * };
76
76
  * const command = new DeleteAliasCommand(input);
77
- * await client.send(command);
78
- * // example id: to-delete-a-lambda-function-alias-1481660370804
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * { /* metadata only *\/ }
80
+ * *\/
79
81
  * ```
80
82
  *
83
+ * @public
81
84
  */
82
85
  export declare class DeleteAliasCommand extends DeleteAliasCommand_base {
83
86
  /** @internal type navigation helper, not in runtime. */
@@ -65,6 +65,7 @@ declare const DeleteCodeSigningConfigCommand_base: {
65
65
  * @throws {@link LambdaServiceException}
66
66
  * <p>Base exception class for all service exceptions from Lambda service.</p>
67
67
  *
68
+ *
68
69
  * @public
69
70
  */
70
71
  export declare class DeleteCodeSigningConfigCommand extends DeleteCodeSigningConfigCommand_base {
@@ -157,29 +157,8 @@ declare const DeleteEventSourceMappingCommand_base: {
157
157
  * @throws {@link LambdaServiceException}
158
158
  * <p>Base exception class for all service exceptions from Lambda service.</p>
159
159
  *
160
- * @public
161
- * @example To delete a Lambda function event source mapping
162
- * ```javascript
163
- * // The following example deletes an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.
164
- * const input = {
165
- * "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
166
- * };
167
- * const command = new DeleteEventSourceMappingCommand(input);
168
- * const response = await client.send(command);
169
- * /* response ==
170
- * {
171
- * "BatchSize": 5,
172
- * "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue",
173
- * "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function",
174
- * "LastModified": "${timestamp}",
175
- * "State": "Enabled",
176
- * "StateTransitionReason": "USER_INITIATED",
177
- * "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
178
- * }
179
- * *\/
180
- * // example id: to-delete-a-lambda-function-event-source-mapping-1481658973862
181
- * ```
182
160
  *
161
+ * @public
183
162
  */
184
163
  export declare class DeleteEventSourceMappingCommand extends DeleteEventSourceMappingCommand_base {
185
164
  /** @internal type navigation helper, not in runtime. */
@@ -70,6 +70,7 @@ declare const DeleteFunctionCodeSigningConfigCommand_base: {
70
70
  * @throws {@link LambdaServiceException}
71
71
  * <p>Base exception class for all service exceptions from Lambda service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class DeleteFunctionCodeSigningConfigCommand extends DeleteFunctionCodeSigningConfigCommand_base {
@@ -72,19 +72,22 @@ declare const DeleteFunctionCommand_base: {
72
72
  * @throws {@link LambdaServiceException}
73
73
  * <p>Base exception class for all service exceptions from Lambda service.</p>
74
74
  *
75
- * @public
75
+ *
76
76
  * @example To delete a version of a Lambda function
77
77
  * ```javascript
78
78
  * // The following example deletes version 1 of a Lambda function named my-function.
79
79
  * const input = {
80
- * "FunctionName": "my-function",
81
- * "Qualifier": "1"
80
+ * FunctionName: "my-function",
81
+ * Qualifier: "1"
82
82
  * };
83
83
  * const command = new DeleteFunctionCommand(input);
84
- * await client.send(command);
85
- * // example id: to-delete-a-lambda-function-1481648553696
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 DeleteFunctionCommand extends DeleteFunctionCommand_base {
90
93
  /** @internal type navigation helper, not in runtime. */
@@ -67,18 +67,21 @@ declare const DeleteFunctionConcurrencyCommand_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 remove the reserved concurrent execution limit from a function
72
72
  * ```javascript
73
73
  * // The following example deletes the reserved concurrent execution limit from a function named my-function.
74
74
  * const input = {
75
- * "FunctionName": "my-function"
75
+ * FunctionName: "my-function"
76
76
  * };
77
77
  * const command = new DeleteFunctionConcurrencyCommand(input);
78
- * await client.send(command);
79
- * // example id: to-remove-the-reserved-concurrent-execution-limit-from-a-function-1586480714680
78
+ * const response = await client.send(command);
79
+ * /* response is
80
+ * { /* metadata only *\/ }
81
+ * *\/
80
82
  * ```
81
83
  *
84
+ * @public
82
85
  */
83
86
  export declare class DeleteFunctionConcurrencyCommand extends DeleteFunctionConcurrencyCommand_base {
84
87
  /** @internal type navigation helper, not in runtime. */
@@ -69,19 +69,22 @@ declare const DeleteFunctionEventInvokeConfigCommand_base: {
69
69
  * @throws {@link LambdaServiceException}
70
70
  * <p>Base exception class for all service exceptions from Lambda service.</p>
71
71
  *
72
- * @public
72
+ *
73
73
  * @example To delete an asynchronous invocation configuration
74
74
  * ```javascript
75
75
  * // The following example deletes the asynchronous invocation configuration for the GREEN alias of a function named my-function.
76
76
  * const input = {
77
- * "FunctionName": "my-function",
78
- * "Qualifier": "GREEN"
77
+ * FunctionName: "my-function",
78
+ * Qualifier: "GREEN"
79
79
  * };
80
80
  * const command = new DeleteFunctionEventInvokeConfigCommand(input);
81
- * await client.send(command);
82
- * // example id: to-delete-an-asynchronous-invocation-configuration-1586481102187
81
+ * const response = await client.send(command);
82
+ * /* response is
83
+ * { /* metadata only *\/ }
84
+ * *\/
83
85
  * ```
84
86
  *
87
+ * @public
85
88
  */
86
89
  export declare class DeleteFunctionEventInvokeConfigCommand extends DeleteFunctionEventInvokeConfigCommand_base {
87
90
  /** @internal type navigation helper, not in runtime. */
@@ -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. */