@aws-sdk/client-lambda 3.36.0 → 3.39.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 (167) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Lambda.js +0 -9
  3. package/dist-cjs/LambdaClient.js +0 -14
  4. package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +0 -29
  5. package/dist-cjs/commands/AddPermissionCommand.js +0 -36
  6. package/dist-cjs/commands/CreateAliasCommand.js +0 -29
  7. package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +0 -26
  8. package/dist-cjs/commands/CreateEventSourceMappingCommand.js +0 -88
  9. package/dist-cjs/commands/CreateFunctionCommand.js +0 -70
  10. package/dist-cjs/commands/DeleteAliasCommand.js +0 -24
  11. package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +0 -25
  12. package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +0 -27
  13. package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +0 -24
  14. package/dist-cjs/commands/DeleteFunctionCommand.js +0 -29
  15. package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +0 -24
  16. package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +0 -25
  17. package/dist-cjs/commands/DeleteLayerVersionCommand.js +0 -26
  18. package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +0 -24
  19. package/dist-cjs/commands/GetAccountSettingsCommand.js +0 -24
  20. package/dist-cjs/commands/GetAliasCommand.js +0 -24
  21. package/dist-cjs/commands/GetCodeSigningConfigCommand.js +0 -24
  22. package/dist-cjs/commands/GetEventSourceMappingCommand.js +0 -25
  23. package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +0 -24
  24. package/dist-cjs/commands/GetFunctionCommand.js +0 -26
  25. package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +0 -25
  26. package/dist-cjs/commands/GetFunctionConfigurationCommand.js +0 -26
  27. package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +0 -25
  28. package/dist-cjs/commands/GetLayerVersionByArnCommand.js +0 -26
  29. package/dist-cjs/commands/GetLayerVersionCommand.js +0 -26
  30. package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +0 -25
  31. package/dist-cjs/commands/GetPolicyCommand.js +0 -24
  32. package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +0 -24
  33. package/dist-cjs/commands/InvokeAsyncCommand.js +0 -29
  34. package/dist-cjs/commands/InvokeCommand.js +0 -50
  35. package/dist-cjs/commands/ListAliasesCommand.js +0 -25
  36. package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +0 -26
  37. package/dist-cjs/commands/ListEventSourceMappingsCommand.js +0 -25
  38. package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +0 -25
  39. package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +0 -25
  40. package/dist-cjs/commands/ListFunctionsCommand.js +0 -32
  41. package/dist-cjs/commands/ListLayerVersionsCommand.js +0 -27
  42. package/dist-cjs/commands/ListLayersCommand.js +0 -29
  43. package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +0 -24
  44. package/dist-cjs/commands/ListTagsCommand.js +0 -25
  45. package/dist-cjs/commands/ListVersionsByFunctionCommand.js +0 -25
  46. package/dist-cjs/commands/PublishLayerVersionCommand.js +0 -27
  47. package/dist-cjs/commands/PublishVersionCommand.js +0 -32
  48. package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +0 -25
  49. package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +0 -32
  50. package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +0 -34
  51. package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +0 -24
  52. package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +0 -26
  53. package/dist-cjs/commands/RemovePermissionCommand.js +0 -25
  54. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  55. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  56. package/dist-cjs/commands/UpdateAliasCommand.js +0 -24
  57. package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +0 -25
  58. package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +0 -49
  59. package/dist-cjs/commands/UpdateFunctionCodeCommand.js +0 -32
  60. package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +0 -38
  61. package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +0 -25
  62. package/dist-cjs/commands/index.js +61 -0
  63. package/dist-cjs/endpoints.js +6 -1
  64. package/dist-cjs/index.js +5 -74
  65. package/dist-cjs/models/models_0.js +0 -474
  66. package/dist-cjs/pagination/ListAliasesPaginator.js +0 -10
  67. package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js +0 -10
  68. package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js +0 -10
  69. package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js +0 -10
  70. package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js +0 -10
  71. package/dist-cjs/pagination/ListFunctionsPaginator.js +0 -10
  72. package/dist-cjs/pagination/ListLayerVersionsPaginator.js +0 -10
  73. package/dist-cjs/pagination/ListLayersPaginator.js +0 -10
  74. package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js +0 -10
  75. package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js +0 -10
  76. package/dist-cjs/pagination/index.js +14 -0
  77. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  78. package/dist-cjs/runtimeConfig.browser.js +1 -5
  79. package/dist-cjs/runtimeConfig.js +1 -5
  80. package/dist-cjs/runtimeConfig.native.js +0 -3
  81. package/dist-cjs/runtimeConfig.shared.js +0 -3
  82. package/dist-cjs/waiters/index.js +6 -0
  83. package/dist-cjs/waiters/waitForFunctionActive.js +0 -9
  84. package/dist-cjs/waiters/waitForFunctionExists.js +0 -9
  85. package/dist-cjs/waiters/waitForFunctionUpdated.js +0 -9
  86. package/dist-es/commands/index.js +58 -0
  87. package/dist-es/endpoints.js +6 -1
  88. package/dist-es/index.js +5 -74
  89. package/dist-es/pagination/index.js +11 -0
  90. package/dist-es/waiters/index.js +3 -0
  91. package/dist-types/commands/index.d.ts +58 -0
  92. package/dist-types/index.d.ts +5 -74
  93. package/dist-types/pagination/index.d.ts +11 -0
  94. package/dist-types/ts3.4/Lambda.d.ts +59 -478
  95. package/dist-types/ts3.4/LambdaClient.d.ts +24 -95
  96. package/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +2 -25
  97. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +2 -32
  98. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +2 -25
  99. package/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +2 -22
  100. package/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +2 -84
  101. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -66
  102. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +2 -21
  104. package/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +2 -23
  105. package/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +2 -20
  106. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -25
  107. package/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +2 -21
  109. package/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +2 -22
  110. package/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +2 -21
  115. package/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +2 -20
  116. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -22
  117. package/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +2 -21
  118. package/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +2 -22
  119. package/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +2 -21
  120. package/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +2 -22
  121. package/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +2 -22
  122. package/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +2 -21
  123. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +5 -32
  126. package/dist-types/ts3.4/commands/InvokeCommand.d.ts +2 -46
  127. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +2 -21
  128. package/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +2 -22
  129. package/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +2 -21
  130. package/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +2 -21
  131. package/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +2 -21
  132. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -28
  133. package/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +2 -23
  134. package/dist-types/ts3.4/commands/ListLayersCommand.d.ts +2 -25
  135. package/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -21
  137. package/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +2 -21
  138. package/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +2 -23
  139. package/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +2 -28
  140. package/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +2 -21
  141. package/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +2 -28
  142. package/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +2 -30
  143. package/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +2 -22
  145. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -21
  146. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  148. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +2 -20
  149. package/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +2 -21
  150. package/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +2 -45
  151. package/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +2 -28
  152. package/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +2 -34
  153. package/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +2 -21
  154. package/dist-types/ts3.4/commands/index.d.ts +58 -0
  155. package/dist-types/ts3.4/index.d.ts +5 -74
  156. package/dist-types/ts3.4/models/models_0.d.ts +699 -3177
  157. package/dist-types/ts3.4/pagination/index.d.ts +11 -0
  158. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  159. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  160. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  161. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  162. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  163. package/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts +2 -9
  164. package/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts +2 -9
  165. package/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts +2 -9
  166. package/dist-types/waiters/index.d.ts +3 -0
  167. package/package.json +33 -33
@@ -58,656 +58,237 @@ import { UpdateFunctionCodeCommandInput, UpdateFunctionCodeCommandOutput } from
58
58
  import { UpdateFunctionConfigurationCommandInput, UpdateFunctionConfigurationCommandOutput } from "./commands/UpdateFunctionConfigurationCommand";
59
59
  import { UpdateFunctionEventInvokeConfigCommandInput, UpdateFunctionEventInvokeConfigCommandOutput } from "./commands/UpdateFunctionEventInvokeConfigCommand";
60
60
  import { LambdaClient } from "./LambdaClient";
61
- /**
62
- * <fullname>Lambda</fullname>
63
- * <p>
64
- * <b>Overview</b>
65
- * </p>
66
- * <p>This is the <i>Lambda API Reference</i>. The Lambda Developer Guide provides additional
67
- * information. For the service overview, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is
68
- * Lambda</a>, and for information about how the service works, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html">Lambda: How it Works</a> in the <b>Lambda Developer Guide</b>.</p>
69
- */
61
+
70
62
  export declare class Lambda extends LambdaClient {
71
- /**
72
- * <p>Adds permissions to the resource-based policy of a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
73
- * layer</a>. Use this action to grant layer
74
- * usage permission to other accounts. You can grant permission to a single account, all accounts in an organization,
75
- * or all Amazon Web Services accounts. </p>
76
- * <p>To revoke permission, call <a>RemoveLayerVersionPermission</a> with the statement ID that you
77
- * specified when you added it.</p>
78
- */
63
+
79
64
  addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Promise<AddLayerVersionPermissionCommandOutput>;
80
65
  addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void): void;
81
66
  addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void): void;
82
- /**
83
- * <p>Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the
84
- * function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier,
85
- * the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.
86
- * Note: Lambda does not support adding policies to version $LATEST.</p>
87
- *
88
- * <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. For Amazon Web Services
89
- * services, the principal is a domain-style identifier defined by the service, like <code>s3.amazonaws.com</code> or
90
- * <code>sns.amazonaws.com</code>. For Amazon Web Services services, you can also specify the ARN of the associated resource as the
91
- * <code>SourceArn</code>. If you grant permission to a service principal without specifying the source, other
92
- * accounts could potentially configure resources in their account to invoke your Lambda function.</p>
93
- *
94
- * <p>This action adds a statement to a resource-based permissions policy for the function. For more information
95
- * about function policies, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">Lambda Function Policies</a>. </p>
96
- */
67
+
97
68
  addPermission(args: AddPermissionCommandInput, options?: __HttpHandlerOptions): Promise<AddPermissionCommandOutput>;
98
69
  addPermission(args: AddPermissionCommandInput, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
99
70
  addPermission(args: AddPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
100
- /**
101
- * <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a> for a
102
- * Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a
103
- * different version.</p>
104
- * <p>You can also map an alias to split invocation requests between two versions. Use the
105
- * <code>RoutingConfig</code> parameter to specify a second version and the percentage of invocation requests that
106
- * it receives.</p>
107
- */
71
+
108
72
  createAlias(args: CreateAliasCommandInput, options?: __HttpHandlerOptions): Promise<CreateAliasCommandOutput>;
109
73
  createAlias(args: CreateAliasCommandInput, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
110
74
  createAlias(args: CreateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
111
- /**
112
- * <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html">code signing configuration</a> defines a list of
113
- * allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment
114
- * validation checks fail). </p>
115
- */
75
+
116
76
  createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateCodeSigningConfigCommandOutput>;
117
77
  createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void): void;
118
78
  createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void): void;
119
- /**
120
- * <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the
121
- * event source and triggers the function.</p>
122
- * <p>For details about each event source type, see the following topics. </p>
123
- * <ul>
124
- * <li>
125
- * <p>
126
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping">
127
- * Configuring a Dynamo DB stream as an event source</a>
128
- * </p>
129
- * </li>
130
- * <li>
131
- * <p>
132
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping">
133
- * Configuring a Kinesis stream as an event source</a>
134
- * </p>
135
- * </li>
136
- * <li>
137
- * <p>
138
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource"> Configuring an
139
- * Amazon SQS queue as an event source</a>
140
- * </p>
141
- * </li>
142
- * <li>
143
- * <p>
144
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping">
145
- * Configuring an MQ broker as an event source</a>
146
- * </p>
147
- * </li>
148
- * <li>
149
- * <p>
150
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html"> Configuring MSK as an event
151
- * source</a>
152
- * </p>
153
- * </li>
154
- * <li>
155
- * <p>
156
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html"> Configuring Self-Managed Apache Kafka
157
- * as an event source</a>
158
- * </p>
159
- * </li>
160
- * </ul>
161
- *
162
- * <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p>
163
- * <ul>
164
- * <li>
165
- * <p>
166
- * <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p>
167
- * </li>
168
- * <li>
169
- * <p>
170
- * <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
171
- * </li>
172
- * <li>
173
- * <p>
174
- * <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
175
- * </li>
176
- * <li>
177
- * <p>
178
- * <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
179
- * </li>
180
- * <li>
181
- * <p>
182
- * <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p>
183
- * </li>
184
- * </ul>
185
- */
79
+
186
80
  createEventSourceMapping(args: CreateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventSourceMappingCommandOutput>;
187
81
  createEventSourceMapping(args: CreateEventSourceMappingCommandInput, cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void): void;
188
82
  createEventSourceMapping(args: CreateEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void): void;
189
- /**
190
- * <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution role</a>. The
191
- * deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services
192
- * services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.</p>
193
- *
194
- * <p>You set the package type to <code>Image</code> if the deployment package is a
195
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container image</a>. For a container image,
196
- * the code property must include the URI of a container image in the Amazon ECR registry.
197
- * You do not need to specify the handler and runtime properties. </p>
198
- *
199
- * <p>You set the package type to <code>Zip</code> if the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file
200
- * archive</a>. For a .zip file archive, the code property specifies the location of the
201
- * .zip file. You must also specify the handler and runtime properties. The code in the
202
- * deployment package must be compatible with the target instruction set architecture of the
203
- * function (<code>x86-64</code> or <code>arm64</code>). If you do not specify the architecture, the default value is
204
- * <code>x86-64</code>.</p>
205
- *
206
- * <p>When you create a function, Lambda provisions an instance of the function and its supporting resources. If
207
- * your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or
208
- * modify the function. The <code>State</code>, <code>StateReason</code>, and <code>StateReasonCode</code> fields in
209
- * the response from <a>GetFunctionConfiguration</a> indicate when the function is ready to invoke. For
210
- * more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Function
211
- * States</a>.</p>
212
- *
213
- * <p>A function has an unpublished version, and can have published versions and aliases. The unpublished version
214
- * changes when you update your function's code and configuration. A published version is a snapshot of your function
215
- * code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be
216
- * changed to map to a different version. Use the <code>Publish</code> parameter to create version <code>1</code> of
217
- * your function from its initial configuration.</p>
218
- *
219
- * <p>The other parameters let you configure version-specific and function-level settings. You can modify
220
- * version-specific settings later with <a>UpdateFunctionConfiguration</a>. Function-level settings apply
221
- * to both the unpublished and published versions of the function, and include tags (<a>TagResource</a>)
222
- * and per-function concurrency limits (<a>PutFunctionConcurrency</a>).</p>
223
- *
224
- * <p>You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function,
225
- * specify the ARN of a code-signing configuration. When a user
226
- * attempts to deploy a code package with <a>UpdateFunctionCode</a>, Lambda checks that the code
227
- * package has a valid signature from a trusted publisher. The code-signing configuration
228
- * includes set set of signing profiles, which define the trusted publishers for this function.</p>
229
- *
230
- * <p>If another account or an Amazon Web Services service invokes your function, use <a>AddPermission</a> to grant
231
- * permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version,
232
- * or on an alias.</p>
233
- *
234
- * <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events
235
- * in other Amazon Web Services services, create an event source mapping (<a>CreateEventSourceMapping</a>), or configure a
236
- * function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Functions</a>.</p>
237
- */
83
+
238
84
  createFunction(args: CreateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<CreateFunctionCommandOutput>;
239
85
  createFunction(args: CreateFunctionCommandInput, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
240
86
  createFunction(args: CreateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
241
- /**
242
- * <p>Deletes a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a>.</p>
243
- */
87
+
244
88
  deleteAlias(args: DeleteAliasCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAliasCommandOutput>;
245
89
  deleteAlias(args: DeleteAliasCommandInput, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
246
90
  deleteAlias(args: DeleteAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
247
- /**
248
- * <p>Deletes the code signing configuration. You can delete the code signing configuration only if no function is
249
- * using it. </p>
250
- */
91
+
251
92
  deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCodeSigningConfigCommandOutput>;
252
93
  deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void): void;
253
94
  deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void): void;
254
- /**
255
- * <p>Deletes an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-invocation-modes.html">event source
256
- * mapping</a>. You can get the identifier of a mapping from the output of <a>ListEventSourceMappings</a>.</p>
257
- * <p>When you delete an event source mapping, it enters a <code>Deleting</code> state and might not be completely
258
- * deleted for several seconds.</p>
259
- */
95
+
260
96
  deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventSourceMappingCommandOutput>;
261
97
  deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void): void;
262
98
  deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void): void;
263
- /**
264
- * <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter.
265
- * Otherwise, all versions and aliases are deleted.</p>
266
- *
267
- * <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>.
268
- * For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you
269
- * originally configured it.</p>
270
- */
99
+
271
100
  deleteFunction(args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionCommandOutput>;
272
101
  deleteFunction(args: DeleteFunctionCommandInput, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
273
102
  deleteFunction(args: DeleteFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
274
- /**
275
- * <p>Removes the code signing configuration from the function.</p>
276
- */
103
+
277
104
  deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionCodeSigningConfigCommandOutput>;
278
105
  deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void): void;
279
106
  deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void): void;
280
- /**
281
- * <p>Removes a concurrent execution limit from a function.</p>
282
- */
107
+
283
108
  deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionConcurrencyCommandOutput>;
284
109
  deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void): void;
285
110
  deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void): void;
286
- /**
287
- * <p>Deletes the configuration for asynchronous invocation for a function, version, or alias.</p>
288
- * <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
289
- */
111
+
290
112
  deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionEventInvokeConfigCommandOutput>;
291
113
  deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void): void;
292
114
  deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void): void;
293
- /**
294
- * <p>Deletes a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
295
- * layer</a>. Deleted versions can no longer be viewed or added to functions. To avoid
296
- * breaking functions, a copy of the version remains in Lambda until no functions refer to it.</p>
297
- */
115
+
298
116
  deleteLayerVersion(args: DeleteLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLayerVersionCommandOutput>;
299
117
  deleteLayerVersion(args: DeleteLayerVersionCommandInput, cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void): void;
300
118
  deleteLayerVersion(args: DeleteLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void): void;
301
- /**
302
- * <p>Deletes the provisioned concurrency configuration for a function.</p>
303
- */
119
+
304
120
  deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProvisionedConcurrencyConfigCommandOutput>;
305
121
  deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void): void;
306
122
  deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void): void;
307
- /**
308
- * <p>Retrieves details about your account's <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">limits</a> and usage in an Amazon Web Services Region.</p>
309
- */
123
+
310
124
  getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountSettingsCommandOutput>;
311
125
  getAccountSettings(args: GetAccountSettingsCommandInput, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
312
126
  getAccountSettings(args: GetAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
313
- /**
314
- * <p>Returns details about a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a>.</p>
315
- */
127
+
316
128
  getAlias(args: GetAliasCommandInput, options?: __HttpHandlerOptions): Promise<GetAliasCommandOutput>;
317
129
  getAlias(args: GetAliasCommandInput, cb: (err: any, data?: GetAliasCommandOutput) => void): void;
318
130
  getAlias(args: GetAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAliasCommandOutput) => void): void;
319
- /**
320
- * <p>Returns information about the specified code signing configuration.</p>
321
- */
131
+
322
132
  getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetCodeSigningConfigCommandOutput>;
323
133
  getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void): void;
324
134
  getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void): void;
325
- /**
326
- * <p>Returns details about an event source mapping. You can get the identifier of a mapping from the output of
327
- * <a>ListEventSourceMappings</a>.</p>
328
- */
135
+
329
136
  getEventSourceMapping(args: GetEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<GetEventSourceMappingCommandOutput>;
330
137
  getEventSourceMapping(args: GetEventSourceMappingCommandInput, cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void): void;
331
138
  getEventSourceMapping(args: GetEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void): void;
332
- /**
333
- * <p>Returns information about the function or function version, with a link to download the deployment package
334
- * that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are
335
- * returned.</p>
336
- */
139
+
337
140
  getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCommandOutput>;
338
141
  getFunction(args: GetFunctionCommandInput, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
339
142
  getFunction(args: GetFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
340
- /**
341
- * <p>Returns the code signing configuration for the specified function.</p>
342
- */
143
+
343
144
  getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCodeSigningConfigCommandOutput>;
344
145
  getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void): void;
345
146
  getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void): void;
346
- /**
347
- * <p>Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a
348
- * function, use <a>PutFunctionConcurrency</a>.</p>
349
- */
147
+
350
148
  getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionConcurrencyCommandOutput>;
351
149
  getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void): void;
352
150
  getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void): void;
353
- /**
354
- * <p>Returns the version-specific settings of a Lambda function or version. The output includes only options that
355
- * can vary between versions of a function. To modify these settings, use <a>UpdateFunctionConfiguration</a>.</p>
356
- * <p>To get all of a function's details, including function-level settings, use <a>GetFunction</a>.</p>
357
- */
151
+
358
152
  getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionConfigurationCommandOutput>;
359
153
  getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void): void;
360
154
  getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void): void;
361
- /**
362
- * <p>Retrieves the configuration for asynchronous invocation for a function, version, or alias.</p>
363
- * <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
364
- */
155
+
365
156
  getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionEventInvokeConfigCommandOutput>;
366
157
  getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void): void;
367
158
  getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void): void;
368
- /**
369
- * <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
370
- * layer</a>, with a link to download the layer archive
371
- * that's valid for 10 minutes.</p>
372
- */
159
+
373
160
  getLayerVersion(args: GetLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetLayerVersionCommandOutput>;
374
161
  getLayerVersion(args: GetLayerVersionCommandInput, cb: (err: any, data?: GetLayerVersionCommandOutput) => void): void;
375
162
  getLayerVersion(args: GetLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionCommandOutput) => void): void;
376
- /**
377
- * <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
378
- * layer</a>, with a link to download the layer archive
379
- * that's valid for 10 minutes.</p>
380
- */
163
+
381
164
  getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, options?: __HttpHandlerOptions): Promise<GetLayerVersionByArnCommandOutput>;
382
165
  getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void): void;
383
166
  getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void): void;
384
- /**
385
- * <p>Returns the permission policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
386
- * layer</a>. For more information, see <a>AddLayerVersionPermission</a>.</p>
387
- */
167
+
388
168
  getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetLayerVersionPolicyCommandOutput>;
389
169
  getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void): void;
390
170
  getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void): void;
391
- /**
392
- * <p>Returns the <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based IAM policy</a> for a function, version, or alias.</p>
393
- */
171
+
394
172
  getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyCommandOutput>;
395
173
  getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
396
174
  getPolicy(args: GetPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
397
- /**
398
- * <p>Retrieves the provisioned concurrency configuration for a function's alias or version.</p>
399
- */
175
+
400
176
  getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetProvisionedConcurrencyConfigCommandOutput>;
401
177
  getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void): void;
402
178
  getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void): void;
403
- /**
404
- * <p>Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or
405
- * asynchronously. To invoke a function asynchronously, set <code>InvocationType</code> to <code>Event</code>.</p>
406
- *
407
- * <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html">synchronous invocation</a>,
408
- * details about the function response, including errors, are included in the response body and headers. For either
409
- * invocation type, you can find more information in the <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html">execution log</a> and <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html">trace</a>.</p>
410
- *
411
- * <p>When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type,
412
- * client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an
413
- * error, Lambda executes the function up to two more times. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.html">Retry Behavior</a>.</p>
414
- *
415
- * <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous invocation</a>,
416
- * Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity
417
- * to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple
418
- * times, even if no error occurs. To retain events that were not processed, configure your function with a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq">dead-letter queue</a>.</p>
419
- *
420
- * <p>The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that
421
- * prevent your function from executing, such as permissions errors, <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">limit errors</a>, or issues with your function's code and configuration.
422
- * For example, Lambda returns <code>TooManyRequestsException</code> if executing the function would cause you to
423
- * exceed a concurrency limit at either the account level (<code>ConcurrentInvocationLimitExceeded</code>) or
424
- * function level (<code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).</p>
425
- *
426
- * <p>For functions with a long timeout, your client might be disconnected during synchronous invocation while it
427
- * waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long
428
- * connections with timeout or keep-alive settings.</p>
429
- *
430
- * <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action.</p>
431
- */
179
+
432
180
  invoke(args: InvokeCommandInput, options?: __HttpHandlerOptions): Promise<InvokeCommandOutput>;
433
181
  invoke(args: InvokeCommandInput, cb: (err: any, data?: InvokeCommandOutput) => void): void;
434
182
  invoke(args: InvokeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeCommandOutput) => void): void;
435
- /**
436
- * @deprecated
437
- *
438
- * <important>
439
- * <p>For asynchronous function invocation, use <a>Invoke</a>.</p>
440
- * </important>
441
- * <p>Invokes a function asynchronously.</p>
442
- */
183
+
443
184
  invokeAsync(args: InvokeAsyncCommandInput, options?: __HttpHandlerOptions): Promise<InvokeAsyncCommandOutput>;
444
185
  invokeAsync(args: InvokeAsyncCommandInput, cb: (err: any, data?: InvokeAsyncCommandOutput) => void): void;
445
186
  invokeAsync(args: InvokeAsyncCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeAsyncCommandOutput) => void): void;
446
- /**
447
- * <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">aliases</a>
448
- * for a Lambda function.</p>
449
- */
187
+
450
188
  listAliases(args: ListAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListAliasesCommandOutput>;
451
189
  listAliases(args: ListAliasesCommandInput, cb: (err: any, data?: ListAliasesCommandOutput) => void): void;
452
190
  listAliases(args: ListAliasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAliasesCommandOutput) => void): void;
453
- /**
454
- * <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuring-codesigning.html">code
455
- * signing configurations</a>. A request returns up to 10,000 configurations per
456
- * call. You can use the <code>MaxItems</code> parameter to return fewer configurations per call. </p>
457
- */
191
+
458
192
  listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListCodeSigningConfigsCommandOutput>;
459
193
  listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void;
460
194
  listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void;
461
- /**
462
- * <p>Lists event source mappings. Specify an <code>EventSourceArn</code> to only show event source mappings for a
463
- * single event source.</p>
464
- */
195
+
465
196
  listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventSourceMappingsCommandOutput>;
466
197
  listEventSourceMappings(args: ListEventSourceMappingsCommandInput, cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void): void;
467
198
  listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void): void;
468
- /**
469
- * <p>Retrieves a list of configurations for asynchronous invocation for a function.</p>
470
- * <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
471
- */
199
+
472
200
  listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionEventInvokeConfigsCommandOutput>;
473
201
  listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void): void;
474
202
  listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void): void;
475
- /**
476
- * <p>Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50
477
- * functions per call.</p>
478
- * <p>Set <code>FunctionVersion</code> to <code>ALL</code> to include all published versions of each function in
479
- * addition to the unpublished version. </p>
480
- * <note>
481
- * <p>The <code>ListFunctions</code> action returns a subset of the <a>FunctionConfiguration</a> fields.
482
- * To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode)
483
- * for a function or version, use <a>GetFunction</a>.</p>
484
- * </note>
485
- */
203
+
486
204
  listFunctions(args: ListFunctionsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionsCommandOutput>;
487
205
  listFunctions(args: ListFunctionsCommandInput, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
488
206
  listFunctions(args: ListFunctionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
489
- /**
490
- * <p>List the functions that use the specified code signing configuration. You can use this method prior to deleting a
491
- * code signing configuration, to verify that no functions are using it.</p>
492
- */
207
+
493
208
  listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionsByCodeSigningConfigCommandOutput>;
494
209
  listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void): void;
495
210
  listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void): void;
496
- /**
497
- * <p>Lists <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html">Lambda
498
- * layers</a> and shows information about the latest version of each. Specify a
499
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime
500
- * identifier</a> to list only layers that indicate that they're compatible with that
501
- * runtime. Specify a compatible architecture to include only layers that are compatible with
502
- * that <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p>
503
- */
211
+
504
212
  listLayers(args: ListLayersCommandInput, options?: __HttpHandlerOptions): Promise<ListLayersCommandOutput>;
505
213
  listLayers(args: ListLayersCommandInput, cb: (err: any, data?: ListLayersCommandOutput) => void): void;
506
214
  listLayers(args: ListLayersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLayersCommandOutput) => void): void;
507
- /**
508
- * <p>Lists the versions of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
509
- * layer</a>. Versions that have been deleted aren't listed. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime identifier</a> to list only
510
- * versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only
511
- * layer versions that are compatible with that architecture.</p>
512
- */
215
+
513
216
  listLayerVersions(args: ListLayerVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListLayerVersionsCommandOutput>;
514
217
  listLayerVersions(args: ListLayerVersionsCommandInput, cb: (err: any, data?: ListLayerVersionsCommandOutput) => void): void;
515
218
  listLayerVersions(args: ListLayerVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLayerVersionsCommandOutput) => void): void;
516
- /**
517
- * <p>Retrieves a list of provisioned concurrency configurations for a function.</p>
518
- */
219
+
519
220
  listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListProvisionedConcurrencyConfigsCommandOutput>;
520
221
  listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, cb: (err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void): void;
521
222
  listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void): void;
522
- /**
523
- * <p>Returns a function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. You can
524
- * also view tags with <a>GetFunction</a>.</p>
525
- */
223
+
526
224
  listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
527
225
  listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
528
226
  listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
529
- /**
530
- * <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">versions</a>,
531
- * with the version-specific configuration of each. Lambda returns up to 50 versions per call.</p>
532
- */
227
+
533
228
  listVersionsByFunction(args: ListVersionsByFunctionCommandInput, options?: __HttpHandlerOptions): Promise<ListVersionsByFunctionCommandOutput>;
534
229
  listVersionsByFunction(args: ListVersionsByFunctionCommandInput, cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void): void;
535
230
  listVersionsByFunction(args: ListVersionsByFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void): void;
536
- /**
537
- * <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
538
- * layer</a> from a ZIP archive. Each time you call <code>PublishLayerVersion</code> with the same
539
- * layer name, a new version is created.</p>
540
- * <p>Add layers to your function with <a>CreateFunction</a> or <a>UpdateFunctionConfiguration</a>.</p>
541
- */
231
+
542
232
  publishLayerVersion(args: PublishLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise<PublishLayerVersionCommandOutput>;
543
233
  publishLayerVersion(args: PublishLayerVersionCommandInput, cb: (err: any, data?: PublishLayerVersionCommandOutput) => void): void;
544
234
  publishLayerVersion(args: PublishLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishLayerVersionCommandOutput) => void): void;
545
- /**
546
- * <p>Creates a <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">version</a> from the
547
- * current code and configuration of a function. Use versions to create a snapshot of your function code and
548
- * configuration that doesn't change.</p>
549
- *
550
- * <p>Lambda doesn't publish a version if the function's configuration and code haven't changed since the last
551
- * version. Use <a>UpdateFunctionCode</a> or <a>UpdateFunctionConfiguration</a> to update the
552
- * function before publishing a version.</p>
553
- *
554
- * <p>Clients can invoke versions directly or with an alias. To create an alias, use <a>CreateAlias</a>.</p>
555
- */
235
+
556
236
  publishVersion(args: PublishVersionCommandInput, options?: __HttpHandlerOptions): Promise<PublishVersionCommandOutput>;
557
237
  publishVersion(args: PublishVersionCommandInput, cb: (err: any, data?: PublishVersionCommandOutput) => void): void;
558
238
  publishVersion(args: PublishVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishVersionCommandOutput) => void): void;
559
- /**
560
- * <p>Update the code signing configuration for the function. Changes to the code signing configuration take effect the
561
- * next time a user tries to deploy a code package to the function. </p>
562
- */
239
+
563
240
  putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutFunctionCodeSigningConfigCommandOutput>;
564
241
  putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void): void;
565
242
  putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void): void;
566
- /**
567
- * <p>Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency
568
- * level.</p>
569
- * <p>Concurrency settings apply to the function as a whole, including all published versions and the unpublished
570
- * version. Reserving concurrency both ensures that your function has capacity to process the specified number of
571
- * events simultaneously, and prevents it from scaling beyond that level. Use <a>GetFunction</a> to see
572
- * the current setting for a function.</p>
573
- * <p>Use <a>GetAccountSettings</a> to see your Regional concurrency limit. You can reserve concurrency
574
- * for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for
575
- * functions that aren't configured with a per-function limit. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html">Managing Concurrency</a>.</p>
576
- */
243
+
577
244
  putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise<PutFunctionConcurrencyCommandOutput>;
578
245
  putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void): void;
579
246
  putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void): void;
580
- /**
581
- * <p>Configures options for <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous
582
- * invocation</a> on a function, version, or alias. If a configuration already exists for a function, version,
583
- * or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without
584
- * affecting existing settings for other options, use <a>UpdateFunctionEventInvokeConfig</a>.</p>
585
- * <p>By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains
586
- * events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous
587
- * invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with
588
- * <a>UpdateFunctionConfiguration</a>.</p>
589
- * <p>To send an invocation record to a queue, topic, function, or event bus, specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">destination</a>. You can configure separate destinations for successful invocations (on-success) and events
590
- * that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a
591
- * dead-letter queue.</p>
592
- */
247
+
593
248
  putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutFunctionEventInvokeConfigCommandOutput>;
594
249
  putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void): void;
595
250
  putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void): void;
596
- /**
597
- * <p>Adds a provisioned concurrency configuration to a function's alias or version.</p>
598
- */
251
+
599
252
  putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutProvisionedConcurrencyConfigCommandOutput>;
600
253
  putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void): void;
601
254
  putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void): void;
602
- /**
603
- * <p>Removes a statement from the permissions policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
604
- * layer</a>. For more information, see
605
- * <a>AddLayerVersionPermission</a>.</p>
606
- */
255
+
607
256
  removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemoveLayerVersionPermissionCommandOutput>;
608
257
  removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void): void;
609
258
  removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void): void;
610
- /**
611
- * <p>Revokes function-use permission from an Amazon Web Services service or another account. You can get the ID of the statement
612
- * from the output of <a>GetPolicy</a>.</p>
613
- */
259
+
614
260
  removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemovePermissionCommandOutput>;
615
261
  removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
616
262
  removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
617
- /**
618
- * <p>Adds <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> to a function.</p>
619
- */
263
+
620
264
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
621
265
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
622
266
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
623
- /**
624
- * <p>Removes <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> from a function.</p>
625
- */
267
+
626
268
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
627
269
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
628
270
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
629
- /**
630
- * <p>Updates the configuration of a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a>.</p>
631
- */
271
+
632
272
  updateAlias(args: UpdateAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAliasCommandOutput>;
633
273
  updateAlias(args: UpdateAliasCommandInput, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
634
274
  updateAlias(args: UpdateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
635
- /**
636
- * <p>Update the code signing configuration. Changes to the code signing configuration take effect the next time a
637
- * user tries to deploy a code package to the function. </p>
638
- */
275
+
639
276
  updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCodeSigningConfigCommandOutput>;
640
277
  updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void): void;
641
278
  updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void): void;
642
- /**
643
- * <p>Updates an event source mapping. You can change the function that Lambda invokes, or pause
644
- * invocation and resume later from the same location.</p>
645
- *
646
- * <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p>
647
- * <ul>
648
- * <li>
649
- * <p>
650
- * <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p>
651
- * </li>
652
- * <li>
653
- * <p>
654
- * <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
655
- * </li>
656
- * <li>
657
- * <p>
658
- * <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
659
- * </li>
660
- * <li>
661
- * <p>
662
- * <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
663
- * </li>
664
- * <li>
665
- * <p>
666
- * <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p>
667
- * </li>
668
- * </ul>
669
- */
279
+
670
280
  updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventSourceMappingCommandOutput>;
671
281
  updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void): void;
672
282
  updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void): void;
673
- /**
674
- * <p>Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed
675
- * by a trusted publisher. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html">Configuring code signing</a>.</p>
676
- *
677
- * <p>The function's code is locked when you publish a version. You can't modify the code of a published version,
678
- * only the unpublished version.</p>
679
- * <note>
680
- * <p>For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if
681
- * you update the image tag to a new image, Lambda does not automatically update the function.</p>
682
- * </note>
683
- */
283
+
684
284
  updateFunctionCode(args: UpdateFunctionCodeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionCodeCommandOutput>;
685
285
  updateFunctionCode(args: UpdateFunctionCodeCommandInput, cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void): void;
686
286
  updateFunctionCode(args: UpdateFunctionCodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void): void;
687
- /**
688
- * <p>Modify the version-specific settings of a Lambda function.</p>
689
- *
690
- * <p>When you update a function, Lambda provisions an instance of the function and its supporting resources. If
691
- * your function connects to a VPC, this process can take a minute. During this time, you can't modify the function,
692
- * but you can still invoke it. The <code>LastUpdateStatus</code>, <code>LastUpdateStatusReason</code>, and
693
- * <code>LastUpdateStatusReasonCode</code> fields in the response from <a>GetFunctionConfiguration</a>
694
- * indicate when the update is complete and the function is processing events with the new configuration. For more
695
- * information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Function
696
- * States</a>.</p>
697
- *
698
- * <p>These settings can vary between versions of a function and are locked when you publish a version. You can't
699
- * modify the configuration of a published version, only the unpublished version.</p>
700
- *
701
- * <p>To configure function concurrency, use <a>PutFunctionConcurrency</a>. To grant invoke permissions
702
- * to an account or Amazon Web Services service, use <a>AddPermission</a>.</p>
703
- */
287
+
704
288
  updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionConfigurationCommandOutput>;
705
289
  updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void): void;
706
290
  updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void): void;
707
- /**
708
- * <p>Updates the configuration for asynchronous invocation for a function, version, or alias.</p>
709
- * <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
710
- */
291
+
711
292
  updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionEventInvokeConfigCommandOutput>;
712
293
  updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void): void;
713
294
  updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void): void;