@aws-sdk/client-lambda 3.315.0 → 3.316.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.
- package/dist-cjs/Lambda.js +70 -924
- package/dist-es/Lambda.js +70 -924
- package/dist-types/Lambda.d.ts +137 -631
- package/dist-types/ts3.4/Lambda.d.ts +2 -1
- package/package.json +6 -6
package/dist-types/Lambda.d.ts
CHANGED
|
@@ -66,965 +66,471 @@ import { UpdateFunctionConfigurationCommandInput, UpdateFunctionConfigurationCom
|
|
|
66
66
|
import { UpdateFunctionEventInvokeConfigCommandInput, UpdateFunctionEventInvokeConfigCommandOutput } from "./commands/UpdateFunctionEventInvokeConfigCommand";
|
|
67
67
|
import { UpdateFunctionUrlConfigCommandInput, UpdateFunctionUrlConfigCommandOutput } from "./commands/UpdateFunctionUrlConfigCommand";
|
|
68
68
|
import { LambdaClient } from "./LambdaClient";
|
|
69
|
-
|
|
70
|
-
* @public
|
|
71
|
-
* <fullname>Lambda</fullname>
|
|
72
|
-
* <p>
|
|
73
|
-
* <b>Overview</b>
|
|
74
|
-
* </p>
|
|
75
|
-
* <p>Lambda is a compute service that lets you run code without provisioning or managing servers.
|
|
76
|
-
* Lambda runs your code on a high-availability compute infrastructure and performs all of the
|
|
77
|
-
* administration of the compute resources, including server and operating system maintenance, capacity provisioning
|
|
78
|
-
* and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any
|
|
79
|
-
* type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p>
|
|
80
|
-
* <p>The <i>Lambda API Reference</i> provides information about
|
|
81
|
-
* each of the API methods, including details about the parameters in each API request and
|
|
82
|
-
* response. </p>
|
|
83
|
-
* <p></p>
|
|
84
|
-
* <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command
|
|
85
|
-
* line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for
|
|
86
|
-
* Amazon Web Services</a>. </p>
|
|
87
|
-
* <p>For a list of Region-specific endpoints that Lambda supports,
|
|
88
|
-
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/">Lambda
|
|
89
|
-
* endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p>
|
|
90
|
-
* <p>When making the API calls, you will need to
|
|
91
|
-
* authenticate your request by providing a signature. Lambda supports signature version 4. For more information,
|
|
92
|
-
* see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the
|
|
93
|
-
* <i>Amazon Web Services General Reference.</i>. </p>
|
|
94
|
-
* <p>
|
|
95
|
-
* <b>CA certificates</b>
|
|
96
|
-
* </p>
|
|
97
|
-
* <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers
|
|
98
|
-
* can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your
|
|
99
|
-
* computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate
|
|
100
|
-
* environment and do not manage your own computer, you might need to ask an administrator to assist with the
|
|
101
|
-
* update process. The following list shows minimum operating system and Java versions:</p>
|
|
102
|
-
* <ul>
|
|
103
|
-
* <li>
|
|
104
|
-
* <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one
|
|
105
|
-
* of the required CAs in their trust list. </p>
|
|
106
|
-
* </li>
|
|
107
|
-
* <li>
|
|
108
|
-
* <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and
|
|
109
|
-
* later versions contain at least one of the required CAs in their trust list. </p>
|
|
110
|
-
* </li>
|
|
111
|
-
* <li>
|
|
112
|
-
* <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the
|
|
113
|
-
* required CAs in their default trusted CA list. </p>
|
|
114
|
-
* </li>
|
|
115
|
-
* <li>
|
|
116
|
-
* <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December
|
|
117
|
-
* 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p>
|
|
118
|
-
* </li>
|
|
119
|
-
* </ul>
|
|
120
|
-
* <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or
|
|
121
|
-
* programmatically, you will need to ensure your client machines support any of the following CAs: </p>
|
|
122
|
-
* <ul>
|
|
123
|
-
* <li>
|
|
124
|
-
* <p>Amazon Root CA 1</p>
|
|
125
|
-
* </li>
|
|
126
|
-
* <li>
|
|
127
|
-
* <p>Starfield Services Root Certificate Authority - G2</p>
|
|
128
|
-
* </li>
|
|
129
|
-
* <li>
|
|
130
|
-
* <p>Starfield Class 2 Certification Authority</p>
|
|
131
|
-
* </li>
|
|
132
|
-
* </ul>
|
|
133
|
-
* <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer
|
|
134
|
-
* up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a>
|
|
135
|
-
* </p>
|
|
136
|
-
*/
|
|
137
|
-
export declare class Lambda extends LambdaClient {
|
|
69
|
+
export interface Lambda {
|
|
138
70
|
/**
|
|
139
|
-
* @
|
|
140
|
-
* <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
|
|
141
|
-
* layer</a>. Use this action to grant layer
|
|
142
|
-
* usage permission to other accounts. You can grant permission to a single account, all accounts in an organization,
|
|
143
|
-
* or all Amazon Web Services accounts. </p>
|
|
144
|
-
* <p>To revoke permission, call <a>RemoveLayerVersionPermission</a> with the statement ID that you
|
|
145
|
-
* specified when you added it.</p>
|
|
71
|
+
* @see {@link AddLayerVersionPermissionCommand}
|
|
146
72
|
*/
|
|
147
73
|
addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Promise<AddLayerVersionPermissionCommandOutput>;
|
|
148
74
|
addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void): void;
|
|
149
75
|
addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void): void;
|
|
150
76
|
/**
|
|
151
|
-
* @
|
|
152
|
-
* <p>Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization
|
|
153
|
-
* permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict
|
|
154
|
-
* access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name
|
|
155
|
-
* (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies
|
|
156
|
-
* to version $LATEST.</p>
|
|
157
|
-
* <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. To grant
|
|
158
|
-
* permission to an organization defined in Organizations, specify the organization ID as the
|
|
159
|
-
* <code>PrincipalOrgID</code>. For Amazon Web Services, the principal is a domain-style identifier that
|
|
160
|
-
* the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Services, you can also specify the ARN of the associated resource as the <code>SourceArn</code>. If
|
|
161
|
-
* you grant permission to a service principal without specifying the source, other accounts could potentially
|
|
162
|
-
* configure resources in their account to invoke your Lambda function.</p>
|
|
163
|
-
* <p>This operation adds a statement to a resource-based permissions policy for the function. For more information
|
|
164
|
-
* about function policies, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">Using resource-based policies for Lambda</a>.</p>
|
|
77
|
+
* @see {@link AddPermissionCommand}
|
|
165
78
|
*/
|
|
166
79
|
addPermission(args: AddPermissionCommandInput, options?: __HttpHandlerOptions): Promise<AddPermissionCommandOutput>;
|
|
167
80
|
addPermission(args: AddPermissionCommandInput, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
|
|
168
81
|
addPermission(args: AddPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
|
|
169
82
|
/**
|
|
170
|
-
* @
|
|
171
|
-
* <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a> for a
|
|
172
|
-
* Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a
|
|
173
|
-
* different version.</p>
|
|
174
|
-
* <p>You can also map an alias to split invocation requests between two versions. Use the
|
|
175
|
-
* <code>RoutingConfig</code> parameter to specify a second version and the percentage of invocation requests that
|
|
176
|
-
* it receives.</p>
|
|
83
|
+
* @see {@link CreateAliasCommand}
|
|
177
84
|
*/
|
|
178
85
|
createAlias(args: CreateAliasCommandInput, options?: __HttpHandlerOptions): Promise<CreateAliasCommandOutput>;
|
|
179
86
|
createAlias(args: CreateAliasCommandInput, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
|
|
180
87
|
createAlias(args: CreateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
|
|
181
88
|
/**
|
|
182
|
-
* @
|
|
183
|
-
* <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">code signing configuration</a> defines a list of
|
|
184
|
-
* allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment
|
|
185
|
-
* validation checks fail). </p>
|
|
89
|
+
* @see {@link CreateCodeSigningConfigCommand}
|
|
186
90
|
*/
|
|
187
91
|
createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateCodeSigningConfigCommandOutput>;
|
|
188
92
|
createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void): void;
|
|
189
93
|
createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void): void;
|
|
190
94
|
/**
|
|
191
|
-
* @
|
|
192
|
-
* <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.</p>
|
|
193
|
-
* <p>For details about how to configure different event sources, see the following topics. </p>
|
|
194
|
-
* <ul>
|
|
195
|
-
* <li>
|
|
196
|
-
* <p>
|
|
197
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping">
|
|
198
|
-
* Amazon DynamoDB Streams</a>
|
|
199
|
-
* </p>
|
|
200
|
-
* </li>
|
|
201
|
-
* <li>
|
|
202
|
-
* <p>
|
|
203
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping">
|
|
204
|
-
* Amazon Kinesis</a>
|
|
205
|
-
* </p>
|
|
206
|
-
* </li>
|
|
207
|
-
* <li>
|
|
208
|
-
* <p>
|
|
209
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource">
|
|
210
|
-
* Amazon SQS</a>
|
|
211
|
-
* </p>
|
|
212
|
-
* </li>
|
|
213
|
-
* <li>
|
|
214
|
-
* <p>
|
|
215
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping">
|
|
216
|
-
* Amazon MQ and RabbitMQ</a>
|
|
217
|
-
* </p>
|
|
218
|
-
* </li>
|
|
219
|
-
* <li>
|
|
220
|
-
* <p>
|
|
221
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html">
|
|
222
|
-
* Amazon MSK</a>
|
|
223
|
-
* </p>
|
|
224
|
-
* </li>
|
|
225
|
-
* <li>
|
|
226
|
-
* <p>
|
|
227
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html">
|
|
228
|
-
* Apache Kafka</a>
|
|
229
|
-
* </p>
|
|
230
|
-
* </li>
|
|
231
|
-
* <li>
|
|
232
|
-
* <p>
|
|
233
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html">
|
|
234
|
-
* Amazon DocumentDB</a>
|
|
235
|
-
* </p>
|
|
236
|
-
* </li>
|
|
237
|
-
* </ul>
|
|
238
|
-
* <p>The following error handling options are available only for stream sources (DynamoDB and Kinesis):</p>
|
|
239
|
-
* <ul>
|
|
240
|
-
* <li>
|
|
241
|
-
* <p>
|
|
242
|
-
* <code>BisectBatchOnFunctionError</code> – If the function returns an error, split the batch in two and retry.</p>
|
|
243
|
-
* </li>
|
|
244
|
-
* <li>
|
|
245
|
-
* <p>
|
|
246
|
-
* <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
|
|
247
|
-
* </li>
|
|
248
|
-
* <li>
|
|
249
|
-
* <p>
|
|
250
|
-
* <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>
|
|
251
|
-
* </li>
|
|
252
|
-
* <li>
|
|
253
|
-
* <p>
|
|
254
|
-
* <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>
|
|
255
|
-
* </li>
|
|
256
|
-
* <li>
|
|
257
|
-
* <p>
|
|
258
|
-
* <code>ParallelizationFactor</code> – Process multiple batches from each shard concurrently.</p>
|
|
259
|
-
* </li>
|
|
260
|
-
* </ul>
|
|
261
|
-
* <p>For information about which configuration parameters apply to each event source, see the following topics.</p>
|
|
262
|
-
* <ul>
|
|
263
|
-
* <li>
|
|
264
|
-
* <p>
|
|
265
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params">
|
|
266
|
-
* Amazon DynamoDB Streams</a>
|
|
267
|
-
* </p>
|
|
268
|
-
* </li>
|
|
269
|
-
* <li>
|
|
270
|
-
* <p>
|
|
271
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params">
|
|
272
|
-
* Amazon Kinesis</a>
|
|
273
|
-
* </p>
|
|
274
|
-
* </li>
|
|
275
|
-
* <li>
|
|
276
|
-
* <p>
|
|
277
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params">
|
|
278
|
-
* Amazon SQS</a>
|
|
279
|
-
* </p>
|
|
280
|
-
* </li>
|
|
281
|
-
* <li>
|
|
282
|
-
* <p>
|
|
283
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params">
|
|
284
|
-
* Amazon MQ and RabbitMQ</a>
|
|
285
|
-
* </p>
|
|
286
|
-
* </li>
|
|
287
|
-
* <li>
|
|
288
|
-
* <p>
|
|
289
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms">
|
|
290
|
-
* Amazon MSK</a>
|
|
291
|
-
* </p>
|
|
292
|
-
* </li>
|
|
293
|
-
* <li>
|
|
294
|
-
* <p>
|
|
295
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms">
|
|
296
|
-
* Apache Kafka</a>
|
|
297
|
-
* </p>
|
|
298
|
-
* </li>
|
|
299
|
-
* <li>
|
|
300
|
-
* <p>
|
|
301
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration">
|
|
302
|
-
* Amazon DocumentDB</a>
|
|
303
|
-
* </p>
|
|
304
|
-
* </li>
|
|
305
|
-
* </ul>
|
|
95
|
+
* @see {@link CreateEventSourceMappingCommand}
|
|
306
96
|
*/
|
|
307
97
|
createEventSourceMapping(args: CreateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventSourceMappingCommandOutput>;
|
|
308
98
|
createEventSourceMapping(args: CreateEventSourceMappingCommandInput, cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void): void;
|
|
309
99
|
createEventSourceMapping(args: CreateEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void): void;
|
|
310
100
|
/**
|
|
311
|
-
* @
|
|
312
|
-
* <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
|
|
313
|
-
* deployment package is a .zip file archive or container image that contains your function code. The execution role
|
|
314
|
-
* grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log
|
|
315
|
-
* streaming and X-Ray for request tracing.</p>
|
|
316
|
-
* <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container
|
|
317
|
-
* image</a>, then you set the package type to <code>Image</code>. For a container image, the code property
|
|
318
|
-
* must include the URI of a container image in the Amazon ECR registry. You do not need to specify the
|
|
319
|
-
* handler and runtime properties.</p>
|
|
320
|
-
* <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file archive</a>, then
|
|
321
|
-
* you set the package type to <code>Zip</code>. For a .zip file archive, the code property specifies the location of
|
|
322
|
-
* the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must
|
|
323
|
-
* be compatible with the target instruction set architecture of the function (<code>x86-64</code> or
|
|
324
|
-
* <code>arm64</code>). If you do not specify the architecture, then the default value is
|
|
325
|
-
* <code>x86-64</code>.</p>
|
|
326
|
-
* <p>When you create a function, Lambda provisions an instance of the function and its supporting
|
|
327
|
-
* resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't
|
|
328
|
-
* invoke or modify the function. The <code>State</code>, <code>StateReason</code>, and <code>StateReasonCode</code>
|
|
329
|
-
* fields in the response from <a>GetFunctionConfiguration</a> indicate when the function is ready to
|
|
330
|
-
* invoke. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Lambda function states</a>.</p>
|
|
331
|
-
* <p>A function has an unpublished version, and can have published versions and aliases. The unpublished version
|
|
332
|
-
* changes when you update your function's code and configuration. A published version is a snapshot of your function
|
|
333
|
-
* code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be
|
|
334
|
-
* changed to map to a different version. Use the <code>Publish</code> parameter to create version <code>1</code> of
|
|
335
|
-
* your function from its initial configuration.</p>
|
|
336
|
-
* <p>The other parameters let you configure version-specific and function-level settings. You can modify
|
|
337
|
-
* version-specific settings later with <a>UpdateFunctionConfiguration</a>. Function-level settings apply
|
|
338
|
-
* to both the unpublished and published versions of the function, and include tags (<a>TagResource</a>)
|
|
339
|
-
* and per-function concurrency limits (<a>PutFunctionConcurrency</a>).</p>
|
|
340
|
-
* <p>You can use code signing if your deployment package is a .zip file archive. To enable code signing for this
|
|
341
|
-
* function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with
|
|
342
|
-
* <a>UpdateFunctionCode</a>, Lambda checks that the code package has a valid signature from
|
|
343
|
-
* a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted
|
|
344
|
-
* publishers for this function.</p>
|
|
345
|
-
* <p>If another Amazon Web Services account or an Amazon Web Service invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p>
|
|
346
|
-
* <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events
|
|
347
|
-
* in other Amazon Web Services, create an event source mapping (<a>CreateEventSourceMapping</a>),
|
|
348
|
-
* or configure a function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Lambda
|
|
349
|
-
* functions</a>.</p>
|
|
101
|
+
* @see {@link CreateFunctionCommand}
|
|
350
102
|
*/
|
|
351
103
|
createFunction(args: CreateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<CreateFunctionCommandOutput>;
|
|
352
104
|
createFunction(args: CreateFunctionCommandInput, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
|
|
353
105
|
createFunction(args: CreateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
|
|
354
106
|
/**
|
|
355
|
-
* @
|
|
356
|
-
* <p>Creates a Lambda function URL with the specified configuration parameters. A function URL is
|
|
357
|
-
* a dedicated HTTP(S) endpoint that you can use to invoke your function.</p>
|
|
107
|
+
* @see {@link CreateFunctionUrlConfigCommand}
|
|
358
108
|
*/
|
|
359
109
|
createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateFunctionUrlConfigCommandOutput>;
|
|
360
110
|
createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, cb: (err: any, data?: CreateFunctionUrlConfigCommandOutput) => void): void;
|
|
361
111
|
createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFunctionUrlConfigCommandOutput) => void): void;
|
|
362
112
|
/**
|
|
363
|
-
* @
|
|
364
|
-
* <p>Deletes a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>.</p>
|
|
113
|
+
* @see {@link DeleteAliasCommand}
|
|
365
114
|
*/
|
|
366
115
|
deleteAlias(args: DeleteAliasCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAliasCommandOutput>;
|
|
367
116
|
deleteAlias(args: DeleteAliasCommandInput, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
|
|
368
117
|
deleteAlias(args: DeleteAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
|
|
369
118
|
/**
|
|
370
|
-
* @
|
|
371
|
-
* <p>Deletes the code signing configuration. You can delete the code signing configuration only if no function is
|
|
372
|
-
* using it. </p>
|
|
119
|
+
* @see {@link DeleteCodeSigningConfigCommand}
|
|
373
120
|
*/
|
|
374
121
|
deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCodeSigningConfigCommandOutput>;
|
|
375
122
|
deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void): void;
|
|
376
123
|
deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void): void;
|
|
377
124
|
/**
|
|
378
|
-
* @
|
|
379
|
-
* <p>Deletes an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-invocation-modes.html">event source
|
|
380
|
-
* mapping</a>. You can get the identifier of a mapping from the output of <a>ListEventSourceMappings</a>.</p>
|
|
381
|
-
* <p>When you delete an event source mapping, it enters a <code>Deleting</code> state and might not be completely
|
|
382
|
-
* deleted for several seconds.</p>
|
|
125
|
+
* @see {@link DeleteEventSourceMappingCommand}
|
|
383
126
|
*/
|
|
384
127
|
deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventSourceMappingCommandOutput>;
|
|
385
128
|
deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void): void;
|
|
386
129
|
deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void): void;
|
|
387
130
|
/**
|
|
388
|
-
* @
|
|
389
|
-
* <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter.
|
|
390
|
-
* Otherwise, all versions and aliases are deleted.</p>
|
|
391
|
-
* <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Services and resources that invoke your function
|
|
392
|
-
* directly, delete the trigger in the service where you originally configured it.</p>
|
|
131
|
+
* @see {@link DeleteFunctionCommand}
|
|
393
132
|
*/
|
|
394
133
|
deleteFunction(args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionCommandOutput>;
|
|
395
134
|
deleteFunction(args: DeleteFunctionCommandInput, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
|
|
396
135
|
deleteFunction(args: DeleteFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
|
|
397
136
|
/**
|
|
398
|
-
* @
|
|
399
|
-
* <p>Removes the code signing configuration from the function.</p>
|
|
137
|
+
* @see {@link DeleteFunctionCodeSigningConfigCommand}
|
|
400
138
|
*/
|
|
401
139
|
deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionCodeSigningConfigCommandOutput>;
|
|
402
140
|
deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void): void;
|
|
403
141
|
deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void): void;
|
|
404
142
|
/**
|
|
405
|
-
* @
|
|
406
|
-
* <p>Removes a concurrent execution limit from a function.</p>
|
|
143
|
+
* @see {@link DeleteFunctionConcurrencyCommand}
|
|
407
144
|
*/
|
|
408
145
|
deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionConcurrencyCommandOutput>;
|
|
409
146
|
deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void): void;
|
|
410
147
|
deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void): void;
|
|
411
148
|
/**
|
|
412
|
-
* @
|
|
413
|
-
* <p>Deletes the configuration for asynchronous invocation for a function, version, or alias.</p>
|
|
414
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
149
|
+
* @see {@link DeleteFunctionEventInvokeConfigCommand}
|
|
415
150
|
*/
|
|
416
151
|
deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionEventInvokeConfigCommandOutput>;
|
|
417
152
|
deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
418
153
|
deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
419
154
|
/**
|
|
420
|
-
* @
|
|
421
|
-
* <p>Deletes a Lambda function URL. When you delete a function URL, you
|
|
422
|
-
* can't recover it. Creating a new function URL results in a different URL address.</p>
|
|
155
|
+
* @see {@link DeleteFunctionUrlConfigCommand}
|
|
423
156
|
*/
|
|
424
157
|
deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionUrlConfigCommandOutput>;
|
|
425
158
|
deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, cb: (err: any, data?: DeleteFunctionUrlConfigCommandOutput) => void): void;
|
|
426
159
|
deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionUrlConfigCommandOutput) => void): void;
|
|
427
160
|
/**
|
|
428
|
-
* @
|
|
429
|
-
* <p>Deletes a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
430
|
-
* layer</a>. Deleted versions can no longer be viewed or added to functions. To avoid
|
|
431
|
-
* breaking functions, a copy of the version remains in Lambda until no functions refer to it.</p>
|
|
161
|
+
* @see {@link DeleteLayerVersionCommand}
|
|
432
162
|
*/
|
|
433
163
|
deleteLayerVersion(args: DeleteLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLayerVersionCommandOutput>;
|
|
434
164
|
deleteLayerVersion(args: DeleteLayerVersionCommandInput, cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void): void;
|
|
435
165
|
deleteLayerVersion(args: DeleteLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void): void;
|
|
436
166
|
/**
|
|
437
|
-
* @
|
|
438
|
-
* <p>Deletes the provisioned concurrency configuration for a function.</p>
|
|
167
|
+
* @see {@link DeleteProvisionedConcurrencyConfigCommand}
|
|
439
168
|
*/
|
|
440
169
|
deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProvisionedConcurrencyConfigCommandOutput>;
|
|
441
170
|
deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void): void;
|
|
442
171
|
deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void): void;
|
|
443
172
|
/**
|
|
444
|
-
* @
|
|
445
|
-
* <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>
|
|
173
|
+
* @see {@link GetAccountSettingsCommand}
|
|
446
174
|
*/
|
|
447
175
|
getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountSettingsCommandOutput>;
|
|
448
176
|
getAccountSettings(args: GetAccountSettingsCommandInput, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
|
|
449
177
|
getAccountSettings(args: GetAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
|
|
450
178
|
/**
|
|
451
|
-
* @
|
|
452
|
-
* <p>Returns details about a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>.</p>
|
|
179
|
+
* @see {@link GetAliasCommand}
|
|
453
180
|
*/
|
|
454
181
|
getAlias(args: GetAliasCommandInput, options?: __HttpHandlerOptions): Promise<GetAliasCommandOutput>;
|
|
455
182
|
getAlias(args: GetAliasCommandInput, cb: (err: any, data?: GetAliasCommandOutput) => void): void;
|
|
456
183
|
getAlias(args: GetAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAliasCommandOutput) => void): void;
|
|
457
184
|
/**
|
|
458
|
-
* @
|
|
459
|
-
* <p>Returns information about the specified code signing configuration.</p>
|
|
185
|
+
* @see {@link GetCodeSigningConfigCommand}
|
|
460
186
|
*/
|
|
461
187
|
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetCodeSigningConfigCommandOutput>;
|
|
462
188
|
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void): void;
|
|
463
189
|
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void): void;
|
|
464
190
|
/**
|
|
465
|
-
* @
|
|
466
|
-
* <p>Returns details about an event source mapping. You can get the identifier of a mapping from the output of
|
|
467
|
-
* <a>ListEventSourceMappings</a>.</p>
|
|
191
|
+
* @see {@link GetEventSourceMappingCommand}
|
|
468
192
|
*/
|
|
469
193
|
getEventSourceMapping(args: GetEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<GetEventSourceMappingCommandOutput>;
|
|
470
194
|
getEventSourceMapping(args: GetEventSourceMappingCommandInput, cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void): void;
|
|
471
195
|
getEventSourceMapping(args: GetEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void): void;
|
|
472
196
|
/**
|
|
473
|
-
* @
|
|
474
|
-
* <p>Returns information about the function or function version, with a link to download the deployment package
|
|
475
|
-
* that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are
|
|
476
|
-
* returned.</p>
|
|
197
|
+
* @see {@link GetFunctionCommand}
|
|
477
198
|
*/
|
|
478
199
|
getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCommandOutput>;
|
|
479
200
|
getFunction(args: GetFunctionCommandInput, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
|
|
480
201
|
getFunction(args: GetFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
|
|
481
202
|
/**
|
|
482
|
-
* @
|
|
483
|
-
* <p>Returns the code signing configuration for the specified function.</p>
|
|
203
|
+
* @see {@link GetFunctionCodeSigningConfigCommand}
|
|
484
204
|
*/
|
|
485
205
|
getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCodeSigningConfigCommandOutput>;
|
|
486
206
|
getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void): void;
|
|
487
207
|
getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void): void;
|
|
488
208
|
/**
|
|
489
|
-
* @
|
|
490
|
-
* <p>Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a
|
|
491
|
-
* function, use <a>PutFunctionConcurrency</a>.</p>
|
|
209
|
+
* @see {@link GetFunctionConcurrencyCommand}
|
|
492
210
|
*/
|
|
493
211
|
getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionConcurrencyCommandOutput>;
|
|
494
212
|
getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void): void;
|
|
495
213
|
getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void): void;
|
|
496
214
|
/**
|
|
497
|
-
* @
|
|
498
|
-
* <p>Returns the version-specific settings of a Lambda function or version. The output includes only options that
|
|
499
|
-
* can vary between versions of a function. To modify these settings, use <a>UpdateFunctionConfiguration</a>.</p>
|
|
500
|
-
* <p>To get all of a function's details, including function-level settings, use <a>GetFunction</a>.</p>
|
|
215
|
+
* @see {@link GetFunctionConfigurationCommand}
|
|
501
216
|
*/
|
|
502
217
|
getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionConfigurationCommandOutput>;
|
|
503
218
|
getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void): void;
|
|
504
219
|
getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void): void;
|
|
505
220
|
/**
|
|
506
|
-
* @
|
|
507
|
-
* <p>Retrieves the configuration for asynchronous invocation for a function, version, or alias.</p>
|
|
508
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
221
|
+
* @see {@link GetFunctionEventInvokeConfigCommand}
|
|
509
222
|
*/
|
|
510
223
|
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionEventInvokeConfigCommandOutput>;
|
|
511
224
|
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
512
225
|
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
513
226
|
/**
|
|
514
|
-
* @
|
|
515
|
-
* <p>Returns details about a Lambda function URL.</p>
|
|
227
|
+
* @see {@link GetFunctionUrlConfigCommand}
|
|
516
228
|
*/
|
|
517
229
|
getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionUrlConfigCommandOutput>;
|
|
518
230
|
getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, cb: (err: any, data?: GetFunctionUrlConfigCommandOutput) => void): void;
|
|
519
231
|
getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionUrlConfigCommandOutput) => void): void;
|
|
520
232
|
/**
|
|
521
|
-
* @
|
|
522
|
-
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
523
|
-
* layer</a>, with a link to download the layer archive
|
|
524
|
-
* that's valid for 10 minutes.</p>
|
|
233
|
+
* @see {@link GetLayerVersionCommand}
|
|
525
234
|
*/
|
|
526
235
|
getLayerVersion(args: GetLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetLayerVersionCommandOutput>;
|
|
527
236
|
getLayerVersion(args: GetLayerVersionCommandInput, cb: (err: any, data?: GetLayerVersionCommandOutput) => void): void;
|
|
528
237
|
getLayerVersion(args: GetLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionCommandOutput) => void): void;
|
|
529
238
|
/**
|
|
530
|
-
* @
|
|
531
|
-
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
532
|
-
* layer</a>, with a link to download the layer archive
|
|
533
|
-
* that's valid for 10 minutes.</p>
|
|
239
|
+
* @see {@link GetLayerVersionByArnCommand}
|
|
534
240
|
*/
|
|
535
241
|
getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, options?: __HttpHandlerOptions): Promise<GetLayerVersionByArnCommandOutput>;
|
|
536
242
|
getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void): void;
|
|
537
243
|
getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void): void;
|
|
538
244
|
/**
|
|
539
|
-
* @
|
|
540
|
-
* <p>Returns the permission policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
541
|
-
* layer</a>. For more information, see <a>AddLayerVersionPermission</a>.</p>
|
|
245
|
+
* @see {@link GetLayerVersionPolicyCommand}
|
|
542
246
|
*/
|
|
543
247
|
getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetLayerVersionPolicyCommandOutput>;
|
|
544
248
|
getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void): void;
|
|
545
249
|
getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void): void;
|
|
546
250
|
/**
|
|
547
|
-
* @
|
|
548
|
-
* <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>
|
|
251
|
+
* @see {@link GetPolicyCommand}
|
|
549
252
|
*/
|
|
550
253
|
getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyCommandOutput>;
|
|
551
254
|
getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
|
|
552
255
|
getPolicy(args: GetPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
|
|
553
256
|
/**
|
|
554
|
-
* @
|
|
555
|
-
* <p>Retrieves the provisioned concurrency configuration for a function's alias or version.</p>
|
|
257
|
+
* @see {@link GetProvisionedConcurrencyConfigCommand}
|
|
556
258
|
*/
|
|
557
259
|
getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetProvisionedConcurrencyConfigCommandOutput>;
|
|
558
260
|
getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void): void;
|
|
559
261
|
getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void): void;
|
|
560
262
|
/**
|
|
561
|
-
* @
|
|
562
|
-
* <p>Retrieves the runtime management configuration for a function's version. If the runtime update mode is <b>Manual</b>, this includes the ARN of the
|
|
563
|
-
* runtime version and the runtime update mode. If the runtime update mode is <b>Auto</b> or <b>Function update</b>,
|
|
564
|
-
* this includes the runtime update mode and <code>null</code> is returned for the ARN. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html">Runtime updates</a>.</p>
|
|
263
|
+
* @see {@link GetRuntimeManagementConfigCommand}
|
|
565
264
|
*/
|
|
566
265
|
getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetRuntimeManagementConfigCommandOutput>;
|
|
567
266
|
getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, cb: (err: any, data?: GetRuntimeManagementConfigCommandOutput) => void): void;
|
|
568
267
|
getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuntimeManagementConfigCommandOutput) => void): void;
|
|
569
268
|
/**
|
|
570
|
-
* @
|
|
571
|
-
* <p>Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or
|
|
572
|
-
* asynchronously. To invoke a function asynchronously, set <code>InvocationType</code> to <code>Event</code>.</p>
|
|
573
|
-
* <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html">synchronous invocation</a>,
|
|
574
|
-
* details about the function response, including errors, are included in the response body and headers. For either
|
|
575
|
-
* 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>
|
|
576
|
-
* <p>When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type,
|
|
577
|
-
* client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an
|
|
578
|
-
* error, Lambda executes the function up to two more times. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html">Error handling and automatic retries in
|
|
579
|
-
* Lambda</a>.</p>
|
|
580
|
-
* <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous invocation</a>,
|
|
581
|
-
* Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity
|
|
582
|
-
* to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple
|
|
583
|
-
* 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#invocation-dlq">dead-letter queue</a>.</p>
|
|
584
|
-
* <p>The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that
|
|
585
|
-
* prevent your function from executing, such as permissions errors, <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">quota</a> errors, or issues with your function's code and
|
|
586
|
-
* configuration. For example, Lambda returns <code>TooManyRequestsException</code> if running the
|
|
587
|
-
* function would cause you to exceed a concurrency limit at either the account level
|
|
588
|
-
* (<code>ConcurrentInvocationLimitExceeded</code>) or function level
|
|
589
|
-
* (<code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).</p>
|
|
590
|
-
* <p>For functions with a long timeout, your client might disconnect during synchronous invocation while it waits
|
|
591
|
-
* for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long
|
|
592
|
-
* connections with timeout or keep-alive settings.</p>
|
|
593
|
-
* <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up
|
|
594
|
-
* permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function
|
|
595
|
-
* access to other accounts</a>.</p>
|
|
269
|
+
* @see {@link InvokeCommand}
|
|
596
270
|
*/
|
|
597
271
|
invoke(args: InvokeCommandInput, options?: __HttpHandlerOptions): Promise<InvokeCommandOutput>;
|
|
598
272
|
invoke(args: InvokeCommandInput, cb: (err: any, data?: InvokeCommandOutput) => void): void;
|
|
599
273
|
invoke(args: InvokeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeCommandOutput) => void): void;
|
|
600
274
|
/**
|
|
601
|
-
* @
|
|
602
|
-
* @deprecated
|
|
603
|
-
*
|
|
604
|
-
* <important>
|
|
605
|
-
* <p>For asynchronous function invocation, use <a>Invoke</a>.</p>
|
|
606
|
-
* </important>
|
|
607
|
-
* <p>Invokes a function asynchronously.</p>
|
|
275
|
+
* @see {@link InvokeAsyncCommand}
|
|
608
276
|
*/
|
|
609
277
|
invokeAsync(args: InvokeAsyncCommandInput, options?: __HttpHandlerOptions): Promise<InvokeAsyncCommandOutput>;
|
|
610
278
|
invokeAsync(args: InvokeAsyncCommandInput, cb: (err: any, data?: InvokeAsyncCommandOutput) => void): void;
|
|
611
279
|
invokeAsync(args: InvokeAsyncCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeAsyncCommandOutput) => void): void;
|
|
612
280
|
/**
|
|
613
|
-
* @
|
|
614
|
-
* <p>Configure your Lambda functions to stream response payloads back to clients. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html">Configuring a Lambda function to stream responses</a>.</p>
|
|
615
|
-
* <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up
|
|
616
|
-
* permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function
|
|
617
|
-
* access to other accounts</a>.</p>
|
|
281
|
+
* @see {@link InvokeWithResponseStreamCommand}
|
|
618
282
|
*/
|
|
619
283
|
invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, options?: __HttpHandlerOptions): Promise<InvokeWithResponseStreamCommandOutput>;
|
|
620
284
|
invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, cb: (err: any, data?: InvokeWithResponseStreamCommandOutput) => void): void;
|
|
621
285
|
invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeWithResponseStreamCommandOutput) => void): void;
|
|
622
286
|
/**
|
|
623
|
-
* @
|
|
624
|
-
* <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">aliases</a>
|
|
625
|
-
* for a Lambda function.</p>
|
|
287
|
+
* @see {@link ListAliasesCommand}
|
|
626
288
|
*/
|
|
627
289
|
listAliases(args: ListAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListAliasesCommandOutput>;
|
|
628
290
|
listAliases(args: ListAliasesCommandInput, cb: (err: any, data?: ListAliasesCommandOutput) => void): void;
|
|
629
291
|
listAliases(args: ListAliasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAliasesCommandOutput) => void): void;
|
|
630
292
|
/**
|
|
631
|
-
* @
|
|
632
|
-
* <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuring-codesigning.html">code
|
|
633
|
-
* signing configurations</a>. A request returns up to 10,000 configurations per
|
|
634
|
-
* call. You can use the <code>MaxItems</code> parameter to return fewer configurations per call. </p>
|
|
293
|
+
* @see {@link ListCodeSigningConfigsCommand}
|
|
635
294
|
*/
|
|
636
295
|
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListCodeSigningConfigsCommandOutput>;
|
|
637
296
|
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void;
|
|
638
297
|
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void;
|
|
639
298
|
/**
|
|
640
|
-
* @
|
|
641
|
-
* <p>Lists event source mappings. Specify an <code>EventSourceArn</code> to show only event source mappings for a
|
|
642
|
-
* single event source.</p>
|
|
299
|
+
* @see {@link ListEventSourceMappingsCommand}
|
|
643
300
|
*/
|
|
644
301
|
listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventSourceMappingsCommandOutput>;
|
|
645
302
|
listEventSourceMappings(args: ListEventSourceMappingsCommandInput, cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void): void;
|
|
646
303
|
listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void): void;
|
|
647
304
|
/**
|
|
648
|
-
* @
|
|
649
|
-
* <p>Retrieves a list of configurations for asynchronous invocation for a function.</p>
|
|
650
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
305
|
+
* @see {@link ListFunctionEventInvokeConfigsCommand}
|
|
651
306
|
*/
|
|
652
307
|
listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionEventInvokeConfigsCommandOutput>;
|
|
653
308
|
listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void): void;
|
|
654
309
|
listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void): void;
|
|
655
310
|
/**
|
|
656
|
-
* @
|
|
657
|
-
* <p>Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50
|
|
658
|
-
* functions per call.</p>
|
|
659
|
-
* <p>Set <code>FunctionVersion</code> to <code>ALL</code> to include all published versions of each function in
|
|
660
|
-
* addition to the unpublished version.</p>
|
|
661
|
-
* <note>
|
|
662
|
-
* <p>The <code>ListFunctions</code> operation returns a subset of the <a>FunctionConfiguration</a> fields.
|
|
663
|
-
* To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason,
|
|
664
|
-
* LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use <a>GetFunction</a>.</p>
|
|
665
|
-
* </note>
|
|
311
|
+
* @see {@link ListFunctionsCommand}
|
|
666
312
|
*/
|
|
667
313
|
listFunctions(args: ListFunctionsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionsCommandOutput>;
|
|
668
314
|
listFunctions(args: ListFunctionsCommandInput, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
|
|
669
315
|
listFunctions(args: ListFunctionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
|
|
670
316
|
/**
|
|
671
|
-
* @
|
|
672
|
-
* <p>List the functions that use the specified code signing configuration. You can use this method prior to deleting a
|
|
673
|
-
* code signing configuration, to verify that no functions are using it.</p>
|
|
317
|
+
* @see {@link ListFunctionsByCodeSigningConfigCommand}
|
|
674
318
|
*/
|
|
675
319
|
listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionsByCodeSigningConfigCommandOutput>;
|
|
676
320
|
listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void): void;
|
|
677
321
|
listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void): void;
|
|
678
322
|
/**
|
|
679
|
-
* @
|
|
680
|
-
* <p>Returns a list of Lambda function URLs for the specified function.</p>
|
|
323
|
+
* @see {@link ListFunctionUrlConfigsCommand}
|
|
681
324
|
*/
|
|
682
325
|
listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionUrlConfigsCommandOutput>;
|
|
683
326
|
listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, cb: (err: any, data?: ListFunctionUrlConfigsCommandOutput) => void): void;
|
|
684
327
|
listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionUrlConfigsCommandOutput) => void): void;
|
|
685
328
|
/**
|
|
686
|
-
* @
|
|
687
|
-
* <p>Lists <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html">Lambda
|
|
688
|
-
* layers</a> and shows information about the latest version of each. Specify a
|
|
689
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime
|
|
690
|
-
* identifier</a> to list only layers that indicate that they're compatible with that
|
|
691
|
-
* runtime. Specify a compatible architecture to include only layers that are compatible with
|
|
692
|
-
* that <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p>
|
|
329
|
+
* @see {@link ListLayersCommand}
|
|
693
330
|
*/
|
|
694
331
|
listLayers(args: ListLayersCommandInput, options?: __HttpHandlerOptions): Promise<ListLayersCommandOutput>;
|
|
695
332
|
listLayers(args: ListLayersCommandInput, cb: (err: any, data?: ListLayersCommandOutput) => void): void;
|
|
696
333
|
listLayers(args: ListLayersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLayersCommandOutput) => void): void;
|
|
697
334
|
/**
|
|
698
|
-
* @
|
|
699
|
-
* <p>Lists the versions of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
700
|
-
* 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
|
|
701
|
-
* versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only
|
|
702
|
-
* layer versions that are compatible with that architecture.</p>
|
|
335
|
+
* @see {@link ListLayerVersionsCommand}
|
|
703
336
|
*/
|
|
704
337
|
listLayerVersions(args: ListLayerVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListLayerVersionsCommandOutput>;
|
|
705
338
|
listLayerVersions(args: ListLayerVersionsCommandInput, cb: (err: any, data?: ListLayerVersionsCommandOutput) => void): void;
|
|
706
339
|
listLayerVersions(args: ListLayerVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLayerVersionsCommandOutput) => void): void;
|
|
707
340
|
/**
|
|
708
|
-
* @
|
|
709
|
-
* <p>Retrieves a list of provisioned concurrency configurations for a function.</p>
|
|
341
|
+
* @see {@link ListProvisionedConcurrencyConfigsCommand}
|
|
710
342
|
*/
|
|
711
343
|
listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListProvisionedConcurrencyConfigsCommandOutput>;
|
|
712
344
|
listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, cb: (err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void): void;
|
|
713
345
|
listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void): void;
|
|
714
346
|
/**
|
|
715
|
-
* @
|
|
716
|
-
* <p>Returns a function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. You can
|
|
717
|
-
* also view tags with <a>GetFunction</a>.</p>
|
|
347
|
+
* @see {@link ListTagsCommand}
|
|
718
348
|
*/
|
|
719
349
|
listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
|
|
720
350
|
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
721
351
|
listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
722
352
|
/**
|
|
723
|
-
* @
|
|
724
|
-
* <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">versions</a>,
|
|
725
|
-
* with the version-specific configuration of each. Lambda returns up to 50 versions per call.</p>
|
|
353
|
+
* @see {@link ListVersionsByFunctionCommand}
|
|
726
354
|
*/
|
|
727
355
|
listVersionsByFunction(args: ListVersionsByFunctionCommandInput, options?: __HttpHandlerOptions): Promise<ListVersionsByFunctionCommandOutput>;
|
|
728
356
|
listVersionsByFunction(args: ListVersionsByFunctionCommandInput, cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void): void;
|
|
729
357
|
listVersionsByFunction(args: ListVersionsByFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void): void;
|
|
730
358
|
/**
|
|
731
|
-
* @
|
|
732
|
-
* <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
733
|
-
* layer</a> from a ZIP archive. Each time you call <code>PublishLayerVersion</code> with the same
|
|
734
|
-
* layer name, a new version is created.</p>
|
|
735
|
-
* <p>Add layers to your function with <a>CreateFunction</a> or <a>UpdateFunctionConfiguration</a>.</p>
|
|
359
|
+
* @see {@link PublishLayerVersionCommand}
|
|
736
360
|
*/
|
|
737
361
|
publishLayerVersion(args: PublishLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise<PublishLayerVersionCommandOutput>;
|
|
738
362
|
publishLayerVersion(args: PublishLayerVersionCommandInput, cb: (err: any, data?: PublishLayerVersionCommandOutput) => void): void;
|
|
739
363
|
publishLayerVersion(args: PublishLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishLayerVersionCommandOutput) => void): void;
|
|
740
364
|
/**
|
|
741
|
-
* @
|
|
742
|
-
* <p>Creates a <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">version</a> from the
|
|
743
|
-
* current code and configuration of a function. Use versions to create a snapshot of your function code and
|
|
744
|
-
* configuration that doesn't change.</p>
|
|
745
|
-
* <p>Lambda doesn't publish a version if the function's configuration and code haven't changed since the last
|
|
746
|
-
* version. Use <a>UpdateFunctionCode</a> or <a>UpdateFunctionConfiguration</a> to update the
|
|
747
|
-
* function before publishing a version.</p>
|
|
748
|
-
* <p>Clients can invoke versions directly or with an alias. To create an alias, use <a>CreateAlias</a>.</p>
|
|
365
|
+
* @see {@link PublishVersionCommand}
|
|
749
366
|
*/
|
|
750
367
|
publishVersion(args: PublishVersionCommandInput, options?: __HttpHandlerOptions): Promise<PublishVersionCommandOutput>;
|
|
751
368
|
publishVersion(args: PublishVersionCommandInput, cb: (err: any, data?: PublishVersionCommandOutput) => void): void;
|
|
752
369
|
publishVersion(args: PublishVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishVersionCommandOutput) => void): void;
|
|
753
370
|
/**
|
|
754
|
-
* @
|
|
755
|
-
* <p>Update the code signing configuration for the function. Changes to the code signing configuration take effect the
|
|
756
|
-
* next time a user tries to deploy a code package to the function. </p>
|
|
371
|
+
* @see {@link PutFunctionCodeSigningConfigCommand}
|
|
757
372
|
*/
|
|
758
373
|
putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutFunctionCodeSigningConfigCommandOutput>;
|
|
759
374
|
putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void): void;
|
|
760
375
|
putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void): void;
|
|
761
376
|
/**
|
|
762
|
-
* @
|
|
763
|
-
* <p>Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency
|
|
764
|
-
* level.</p>
|
|
765
|
-
* <p>Concurrency settings apply to the function as a whole, including all published versions and the unpublished
|
|
766
|
-
* version. Reserving concurrency both ensures that your function has capacity to process the specified number of
|
|
767
|
-
* events simultaneously, and prevents it from scaling beyond that level. Use <a>GetFunction</a> to see
|
|
768
|
-
* the current setting for a function.</p>
|
|
769
|
-
* <p>Use <a>GetAccountSettings</a> to see your Regional concurrency limit. You can reserve concurrency
|
|
770
|
-
* for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for
|
|
771
|
-
* functions that aren't configured with a per-function limit. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html">Lambda function scaling</a>.</p>
|
|
377
|
+
* @see {@link PutFunctionConcurrencyCommand}
|
|
772
378
|
*/
|
|
773
379
|
putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise<PutFunctionConcurrencyCommandOutput>;
|
|
774
380
|
putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void): void;
|
|
775
381
|
putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void): void;
|
|
776
382
|
/**
|
|
777
|
-
* @
|
|
778
|
-
* <p>Configures options for <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous
|
|
779
|
-
* invocation</a> on a function, version, or alias. If a configuration already exists for a function, version,
|
|
780
|
-
* or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without
|
|
781
|
-
* affecting existing settings for other options, use <a>UpdateFunctionEventInvokeConfig</a>.</p>
|
|
782
|
-
* <p>By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains
|
|
783
|
-
* events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous
|
|
784
|
-
* invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with
|
|
785
|
-
* <a>UpdateFunctionConfiguration</a>.</p>
|
|
786
|
-
* <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
|
|
787
|
-
* that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a
|
|
788
|
-
* dead-letter queue.</p>
|
|
383
|
+
* @see {@link PutFunctionEventInvokeConfigCommand}
|
|
789
384
|
*/
|
|
790
385
|
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutFunctionEventInvokeConfigCommandOutput>;
|
|
791
386
|
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
792
387
|
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
793
388
|
/**
|
|
794
|
-
* @
|
|
795
|
-
* <p>Adds a provisioned concurrency configuration to a function's alias or version.</p>
|
|
389
|
+
* @see {@link PutProvisionedConcurrencyConfigCommand}
|
|
796
390
|
*/
|
|
797
391
|
putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutProvisionedConcurrencyConfigCommandOutput>;
|
|
798
392
|
putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void): void;
|
|
799
393
|
putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void): void;
|
|
800
394
|
/**
|
|
801
|
-
* @
|
|
802
|
-
* <p>Sets the runtime management configuration for a function's version. For more information,
|
|
803
|
-
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html">Runtime updates</a>.</p>
|
|
395
|
+
* @see {@link PutRuntimeManagementConfigCommand}
|
|
804
396
|
*/
|
|
805
397
|
putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutRuntimeManagementConfigCommandOutput>;
|
|
806
398
|
putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, cb: (err: any, data?: PutRuntimeManagementConfigCommandOutput) => void): void;
|
|
807
399
|
putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuntimeManagementConfigCommandOutput) => void): void;
|
|
808
400
|
/**
|
|
809
|
-
* @
|
|
810
|
-
* <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
|
|
811
|
-
* layer</a>. For more information, see
|
|
812
|
-
* <a>AddLayerVersionPermission</a>.</p>
|
|
401
|
+
* @see {@link RemoveLayerVersionPermissionCommand}
|
|
813
402
|
*/
|
|
814
403
|
removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemoveLayerVersionPermissionCommandOutput>;
|
|
815
404
|
removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void): void;
|
|
816
405
|
removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void): void;
|
|
817
406
|
/**
|
|
818
|
-
* @
|
|
819
|
-
* <p>Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You
|
|
820
|
-
* can get the ID of the statement from the output of <a>GetPolicy</a>.</p>
|
|
407
|
+
* @see {@link RemovePermissionCommand}
|
|
821
408
|
*/
|
|
822
409
|
removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemovePermissionCommandOutput>;
|
|
823
410
|
removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
|
|
824
411
|
removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
|
|
825
412
|
/**
|
|
826
|
-
* @
|
|
827
|
-
* <p>Adds <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> to a function.</p>
|
|
413
|
+
* @see {@link TagResourceCommand}
|
|
828
414
|
*/
|
|
829
415
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
830
416
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
831
417
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
832
418
|
/**
|
|
833
|
-
* @
|
|
834
|
-
* <p>Removes <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> from a function.</p>
|
|
419
|
+
* @see {@link UntagResourceCommand}
|
|
835
420
|
*/
|
|
836
421
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
837
422
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
838
423
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
839
424
|
/**
|
|
840
|
-
* @
|
|
841
|
-
* <p>Updates the configuration of a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>.</p>
|
|
425
|
+
* @see {@link UpdateAliasCommand}
|
|
842
426
|
*/
|
|
843
427
|
updateAlias(args: UpdateAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAliasCommandOutput>;
|
|
844
428
|
updateAlias(args: UpdateAliasCommandInput, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
|
|
845
429
|
updateAlias(args: UpdateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
|
|
846
430
|
/**
|
|
847
|
-
* @
|
|
848
|
-
* <p>Update the code signing configuration. Changes to the code signing configuration take effect the next time a
|
|
849
|
-
* user tries to deploy a code package to the function. </p>
|
|
431
|
+
* @see {@link UpdateCodeSigningConfigCommand}
|
|
850
432
|
*/
|
|
851
433
|
updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCodeSigningConfigCommandOutput>;
|
|
852
434
|
updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void): void;
|
|
853
435
|
updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void): void;
|
|
854
436
|
/**
|
|
855
|
-
* @
|
|
856
|
-
* <p>Updates an event source mapping. You can change the function that Lambda invokes, or pause
|
|
857
|
-
* invocation and resume later from the same location.</p>
|
|
858
|
-
* <p>For details about how to configure different event sources, see the following topics. </p>
|
|
859
|
-
* <ul>
|
|
860
|
-
* <li>
|
|
861
|
-
* <p>
|
|
862
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping">
|
|
863
|
-
* Amazon DynamoDB Streams</a>
|
|
864
|
-
* </p>
|
|
865
|
-
* </li>
|
|
866
|
-
* <li>
|
|
867
|
-
* <p>
|
|
868
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping">
|
|
869
|
-
* Amazon Kinesis</a>
|
|
870
|
-
* </p>
|
|
871
|
-
* </li>
|
|
872
|
-
* <li>
|
|
873
|
-
* <p>
|
|
874
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource">
|
|
875
|
-
* Amazon SQS</a>
|
|
876
|
-
* </p>
|
|
877
|
-
* </li>
|
|
878
|
-
* <li>
|
|
879
|
-
* <p>
|
|
880
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping">
|
|
881
|
-
* Amazon MQ and RabbitMQ</a>
|
|
882
|
-
* </p>
|
|
883
|
-
* </li>
|
|
884
|
-
* <li>
|
|
885
|
-
* <p>
|
|
886
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html">
|
|
887
|
-
* Amazon MSK</a>
|
|
888
|
-
* </p>
|
|
889
|
-
* </li>
|
|
890
|
-
* <li>
|
|
891
|
-
* <p>
|
|
892
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html">
|
|
893
|
-
* Apache Kafka</a>
|
|
894
|
-
* </p>
|
|
895
|
-
* </li>
|
|
896
|
-
* <li>
|
|
897
|
-
* <p>
|
|
898
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html">
|
|
899
|
-
* Amazon DocumentDB</a>
|
|
900
|
-
* </p>
|
|
901
|
-
* </li>
|
|
902
|
-
* </ul>
|
|
903
|
-
* <p>The following error handling options are available only for stream sources (DynamoDB and Kinesis):</p>
|
|
904
|
-
* <ul>
|
|
905
|
-
* <li>
|
|
906
|
-
* <p>
|
|
907
|
-
* <code>BisectBatchOnFunctionError</code> – If the function returns an error, split the batch in two and retry.</p>
|
|
908
|
-
* </li>
|
|
909
|
-
* <li>
|
|
910
|
-
* <p>
|
|
911
|
-
* <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
|
|
912
|
-
* </li>
|
|
913
|
-
* <li>
|
|
914
|
-
* <p>
|
|
915
|
-
* <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>
|
|
916
|
-
* </li>
|
|
917
|
-
* <li>
|
|
918
|
-
* <p>
|
|
919
|
-
* <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>
|
|
920
|
-
* </li>
|
|
921
|
-
* <li>
|
|
922
|
-
* <p>
|
|
923
|
-
* <code>ParallelizationFactor</code> – Process multiple batches from each shard concurrently.</p>
|
|
924
|
-
* </li>
|
|
925
|
-
* </ul>
|
|
926
|
-
* <p>For information about which configuration parameters apply to each event source, see the following topics.</p>
|
|
927
|
-
* <ul>
|
|
928
|
-
* <li>
|
|
929
|
-
* <p>
|
|
930
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params">
|
|
931
|
-
* Amazon DynamoDB Streams</a>
|
|
932
|
-
* </p>
|
|
933
|
-
* </li>
|
|
934
|
-
* <li>
|
|
935
|
-
* <p>
|
|
936
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params">
|
|
937
|
-
* Amazon Kinesis</a>
|
|
938
|
-
* </p>
|
|
939
|
-
* </li>
|
|
940
|
-
* <li>
|
|
941
|
-
* <p>
|
|
942
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params">
|
|
943
|
-
* Amazon SQS</a>
|
|
944
|
-
* </p>
|
|
945
|
-
* </li>
|
|
946
|
-
* <li>
|
|
947
|
-
* <p>
|
|
948
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params">
|
|
949
|
-
* Amazon MQ and RabbitMQ</a>
|
|
950
|
-
* </p>
|
|
951
|
-
* </li>
|
|
952
|
-
* <li>
|
|
953
|
-
* <p>
|
|
954
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms">
|
|
955
|
-
* Amazon MSK</a>
|
|
956
|
-
* </p>
|
|
957
|
-
* </li>
|
|
958
|
-
* <li>
|
|
959
|
-
* <p>
|
|
960
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms">
|
|
961
|
-
* Apache Kafka</a>
|
|
962
|
-
* </p>
|
|
963
|
-
* </li>
|
|
964
|
-
* <li>
|
|
965
|
-
* <p>
|
|
966
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration">
|
|
967
|
-
* Amazon DocumentDB</a>
|
|
968
|
-
* </p>
|
|
969
|
-
* </li>
|
|
970
|
-
* </ul>
|
|
437
|
+
* @see {@link UpdateEventSourceMappingCommand}
|
|
971
438
|
*/
|
|
972
439
|
updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventSourceMappingCommandOutput>;
|
|
973
440
|
updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void): void;
|
|
974
441
|
updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void): void;
|
|
975
442
|
/**
|
|
976
|
-
* @
|
|
977
|
-
* <p>Updates a Lambda function's code. If code signing is enabled for the function, the code package
|
|
978
|
-
* must be signed by a trusted publisher. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">Configuring code signing for Lambda</a>.</p>
|
|
979
|
-
* <p>If the function's package type is <code>Image</code>, then you must specify the code package in
|
|
980
|
-
* <code>ImageUri</code> as the URI of a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container image</a> in the Amazon ECR registry.</p>
|
|
981
|
-
* <p>If the function's package type is <code>Zip</code>, then you must specify the deployment package as a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file
|
|
982
|
-
* archive</a>. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide
|
|
983
|
-
* the function code inline using the <code>ZipFile</code> field.</p>
|
|
984
|
-
* <p>The code in the deployment package must be compatible with the target instruction set architecture of the
|
|
985
|
-
* function (<code>x86-64</code> or <code>arm64</code>).</p>
|
|
986
|
-
* <p>The function's code is locked when you publish a version. You can't modify the code of a published version,
|
|
987
|
-
* only the unpublished version.</p>
|
|
988
|
-
* <note>
|
|
989
|
-
* <p>For a function defined as a container image, Lambda resolves the image tag to an image digest. In
|
|
990
|
-
* Amazon ECR, if you update the image tag to a new image, Lambda does not automatically
|
|
991
|
-
* update the function.</p>
|
|
992
|
-
* </note>
|
|
443
|
+
* @see {@link UpdateFunctionCodeCommand}
|
|
993
444
|
*/
|
|
994
445
|
updateFunctionCode(args: UpdateFunctionCodeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionCodeCommandOutput>;
|
|
995
446
|
updateFunctionCode(args: UpdateFunctionCodeCommandInput, cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void): void;
|
|
996
447
|
updateFunctionCode(args: UpdateFunctionCodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void): void;
|
|
997
448
|
/**
|
|
998
|
-
* @
|
|
999
|
-
* <p>Modify the version-specific settings of a Lambda function.</p>
|
|
1000
|
-
* <p>When you update a function, Lambda provisions an instance of the function and its supporting
|
|
1001
|
-
* resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify
|
|
1002
|
-
* the function, but you can still invoke it. The <code>LastUpdateStatus</code>, <code>LastUpdateStatusReason</code>,
|
|
1003
|
-
* and <code>LastUpdateStatusReasonCode</code> fields in the response from <a>GetFunctionConfiguration</a>
|
|
1004
|
-
* indicate when the update is complete and the function is processing events with the new configuration. For more
|
|
1005
|
-
* information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Lambda
|
|
1006
|
-
* function states</a>.</p>
|
|
1007
|
-
* <p>These settings can vary between versions of a function and are locked when you publish a version. You can't
|
|
1008
|
-
* modify the configuration of a published version, only the unpublished version.</p>
|
|
1009
|
-
* <p>To configure function concurrency, use <a>PutFunctionConcurrency</a>. To grant invoke permissions
|
|
1010
|
-
* to an Amazon Web Services account or Amazon Web Service, use <a>AddPermission</a>.</p>
|
|
449
|
+
* @see {@link UpdateFunctionConfigurationCommand}
|
|
1011
450
|
*/
|
|
1012
451
|
updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionConfigurationCommandOutput>;
|
|
1013
452
|
updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void): void;
|
|
1014
453
|
updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void): void;
|
|
1015
454
|
/**
|
|
1016
|
-
* @
|
|
1017
|
-
* <p>Updates the configuration for asynchronous invocation for a function, version, or alias.</p>
|
|
1018
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
455
|
+
* @see {@link UpdateFunctionEventInvokeConfigCommand}
|
|
1019
456
|
*/
|
|
1020
457
|
updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionEventInvokeConfigCommandOutput>;
|
|
1021
458
|
updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
1022
459
|
updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
1023
460
|
/**
|
|
1024
|
-
* @
|
|
1025
|
-
* <p>Updates the configuration for a Lambda function URL.</p>
|
|
461
|
+
* @see {@link UpdateFunctionUrlConfigCommand}
|
|
1026
462
|
*/
|
|
1027
463
|
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionUrlConfigCommandOutput>;
|
|
1028
464
|
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void): void;
|
|
1029
465
|
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void): void;
|
|
1030
466
|
}
|
|
467
|
+
/**
|
|
468
|
+
* @public
|
|
469
|
+
* <fullname>Lambda</fullname>
|
|
470
|
+
* <p>
|
|
471
|
+
* <b>Overview</b>
|
|
472
|
+
* </p>
|
|
473
|
+
* <p>Lambda is a compute service that lets you run code without provisioning or managing servers.
|
|
474
|
+
* Lambda runs your code on a high-availability compute infrastructure and performs all of the
|
|
475
|
+
* administration of the compute resources, including server and operating system maintenance, capacity provisioning
|
|
476
|
+
* and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any
|
|
477
|
+
* type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p>
|
|
478
|
+
* <p>The <i>Lambda API Reference</i> provides information about
|
|
479
|
+
* each of the API methods, including details about the parameters in each API request and
|
|
480
|
+
* response. </p>
|
|
481
|
+
* <p></p>
|
|
482
|
+
* <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command
|
|
483
|
+
* line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for
|
|
484
|
+
* Amazon Web Services</a>. </p>
|
|
485
|
+
* <p>For a list of Region-specific endpoints that Lambda supports,
|
|
486
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/">Lambda
|
|
487
|
+
* endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p>
|
|
488
|
+
* <p>When making the API calls, you will need to
|
|
489
|
+
* authenticate your request by providing a signature. Lambda supports signature version 4. For more information,
|
|
490
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the
|
|
491
|
+
* <i>Amazon Web Services General Reference.</i>. </p>
|
|
492
|
+
* <p>
|
|
493
|
+
* <b>CA certificates</b>
|
|
494
|
+
* </p>
|
|
495
|
+
* <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers
|
|
496
|
+
* can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your
|
|
497
|
+
* computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate
|
|
498
|
+
* environment and do not manage your own computer, you might need to ask an administrator to assist with the
|
|
499
|
+
* update process. The following list shows minimum operating system and Java versions:</p>
|
|
500
|
+
* <ul>
|
|
501
|
+
* <li>
|
|
502
|
+
* <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one
|
|
503
|
+
* of the required CAs in their trust list. </p>
|
|
504
|
+
* </li>
|
|
505
|
+
* <li>
|
|
506
|
+
* <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and
|
|
507
|
+
* later versions contain at least one of the required CAs in their trust list. </p>
|
|
508
|
+
* </li>
|
|
509
|
+
* <li>
|
|
510
|
+
* <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the
|
|
511
|
+
* required CAs in their default trusted CA list. </p>
|
|
512
|
+
* </li>
|
|
513
|
+
* <li>
|
|
514
|
+
* <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December
|
|
515
|
+
* 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p>
|
|
516
|
+
* </li>
|
|
517
|
+
* </ul>
|
|
518
|
+
* <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or
|
|
519
|
+
* programmatically, you will need to ensure your client machines support any of the following CAs: </p>
|
|
520
|
+
* <ul>
|
|
521
|
+
* <li>
|
|
522
|
+
* <p>Amazon Root CA 1</p>
|
|
523
|
+
* </li>
|
|
524
|
+
* <li>
|
|
525
|
+
* <p>Starfield Services Root Certificate Authority - G2</p>
|
|
526
|
+
* </li>
|
|
527
|
+
* <li>
|
|
528
|
+
* <p>Starfield Class 2 Certification Authority</p>
|
|
529
|
+
* </li>
|
|
530
|
+
* </ul>
|
|
531
|
+
* <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer
|
|
532
|
+
* up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a>
|
|
533
|
+
* </p>
|
|
534
|
+
*/
|
|
535
|
+
export declare class Lambda extends LambdaClient implements Lambda {
|
|
536
|
+
}
|