@aws-sdk/client-lambda 3.379.1 → 3.382.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-types/models/models_0.d.ts +588 -0
- package/package.json +5 -5
|
@@ -7,23 +7,28 @@ import { LambdaServiceException as __BaseException } from "./LambdaServiceExcept
|
|
|
7
7
|
*/
|
|
8
8
|
export interface AccountLimit {
|
|
9
9
|
/**
|
|
10
|
+
* @public
|
|
10
11
|
* <p>The amount of storage space that you can use for all deployment packages and layer archives.</p>
|
|
11
12
|
*/
|
|
12
13
|
TotalCodeSize?: number;
|
|
13
14
|
/**
|
|
15
|
+
* @public
|
|
14
16
|
* <p>The maximum size of a function's deployment package and layers when they're extracted.</p>
|
|
15
17
|
*/
|
|
16
18
|
CodeSizeUnzipped?: number;
|
|
17
19
|
/**
|
|
20
|
+
* @public
|
|
18
21
|
* <p>The maximum size of a deployment package when it's uploaded directly to Lambda. Use Amazon S3 for larger
|
|
19
22
|
* files.</p>
|
|
20
23
|
*/
|
|
21
24
|
CodeSizeZipped?: number;
|
|
22
25
|
/**
|
|
26
|
+
* @public
|
|
23
27
|
* <p>The maximum number of simultaneous function executions.</p>
|
|
24
28
|
*/
|
|
25
29
|
ConcurrentExecutions?: number;
|
|
26
30
|
/**
|
|
31
|
+
* @public
|
|
27
32
|
* <p>The maximum number of simultaneous function executions, minus the capacity that's reserved for individual
|
|
28
33
|
* functions with <a>PutFunctionConcurrency</a>.</p>
|
|
29
34
|
*/
|
|
@@ -35,10 +40,12 @@ export interface AccountLimit {
|
|
|
35
40
|
*/
|
|
36
41
|
export interface AccountUsage {
|
|
37
42
|
/**
|
|
43
|
+
* @public
|
|
38
44
|
* <p>The amount of storage space, in bytes, that's being used by deployment packages and layer archives.</p>
|
|
39
45
|
*/
|
|
40
46
|
TotalCodeSize?: number;
|
|
41
47
|
/**
|
|
48
|
+
* @public
|
|
42
49
|
* <p>The number of Lambda functions.</p>
|
|
43
50
|
*/
|
|
44
51
|
FunctionCount?: number;
|
|
@@ -48,22 +55,27 @@ export interface AccountUsage {
|
|
|
48
55
|
*/
|
|
49
56
|
export interface AddLayerVersionPermissionRequest {
|
|
50
57
|
/**
|
|
58
|
+
* @public
|
|
51
59
|
* <p>The name or Amazon Resource Name (ARN) of the layer.</p>
|
|
52
60
|
*/
|
|
53
61
|
LayerName: string | undefined;
|
|
54
62
|
/**
|
|
63
|
+
* @public
|
|
55
64
|
* <p>The version number.</p>
|
|
56
65
|
*/
|
|
57
66
|
VersionNumber: number | undefined;
|
|
58
67
|
/**
|
|
68
|
+
* @public
|
|
59
69
|
* <p>An identifier that distinguishes the policy from others on the same layer version.</p>
|
|
60
70
|
*/
|
|
61
71
|
StatementId: string | undefined;
|
|
62
72
|
/**
|
|
73
|
+
* @public
|
|
63
74
|
* <p>The API action that grants access to the layer. For example, <code>lambda:GetLayerVersion</code>.</p>
|
|
64
75
|
*/
|
|
65
76
|
Action: string | undefined;
|
|
66
77
|
/**
|
|
78
|
+
* @public
|
|
67
79
|
* <p>An account ID, or <code>*</code> to grant layer usage permission to all
|
|
68
80
|
* accounts in an organization, or all Amazon Web Services accounts (if <code>organizationId</code> is not specified).
|
|
69
81
|
* For the last case, make sure that you really do want all Amazon Web Services accounts to have usage permission to this layer.
|
|
@@ -71,11 +83,13 @@ export interface AddLayerVersionPermissionRequest {
|
|
|
71
83
|
*/
|
|
72
84
|
Principal: string | undefined;
|
|
73
85
|
/**
|
|
86
|
+
* @public
|
|
74
87
|
* <p>With the principal set to <code>*</code>, grant permission to all accounts in the specified
|
|
75
88
|
* organization.</p>
|
|
76
89
|
*/
|
|
77
90
|
OrganizationId?: string;
|
|
78
91
|
/**
|
|
92
|
+
* @public
|
|
79
93
|
* <p>Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a
|
|
80
94
|
* policy that has changed since you last read it.</p>
|
|
81
95
|
*/
|
|
@@ -86,10 +100,12 @@ export interface AddLayerVersionPermissionRequest {
|
|
|
86
100
|
*/
|
|
87
101
|
export interface AddLayerVersionPermissionResponse {
|
|
88
102
|
/**
|
|
103
|
+
* @public
|
|
89
104
|
* <p>The permission statement.</p>
|
|
90
105
|
*/
|
|
91
106
|
Statement?: string;
|
|
92
107
|
/**
|
|
108
|
+
* @public
|
|
93
109
|
* <p>A unique identifier for the current revision of the policy.</p>
|
|
94
110
|
*/
|
|
95
111
|
RevisionId?: string;
|
|
@@ -102,6 +118,7 @@ export declare class InvalidParameterValueException extends __BaseException {
|
|
|
102
118
|
readonly name: "InvalidParameterValueException";
|
|
103
119
|
readonly $fault: "client";
|
|
104
120
|
/**
|
|
121
|
+
* @public
|
|
105
122
|
* <p>The exception type.</p>
|
|
106
123
|
*/
|
|
107
124
|
Type?: string;
|
|
@@ -132,6 +149,7 @@ export declare class PreconditionFailedException extends __BaseException {
|
|
|
132
149
|
readonly name: "PreconditionFailedException";
|
|
133
150
|
readonly $fault: "client";
|
|
134
151
|
/**
|
|
152
|
+
* @public
|
|
135
153
|
* <p>The exception type.</p>
|
|
136
154
|
*/
|
|
137
155
|
Type?: string;
|
|
@@ -148,6 +166,7 @@ export declare class ResourceConflictException extends __BaseException {
|
|
|
148
166
|
readonly name: "ResourceConflictException";
|
|
149
167
|
readonly $fault: "client";
|
|
150
168
|
/**
|
|
169
|
+
* @public
|
|
151
170
|
* <p>The exception type.</p>
|
|
152
171
|
*/
|
|
153
172
|
Type?: string;
|
|
@@ -208,6 +227,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
208
227
|
readonly name: "TooManyRequestsException";
|
|
209
228
|
readonly $fault: "client";
|
|
210
229
|
/**
|
|
230
|
+
* @public
|
|
211
231
|
* <p>The number of seconds the caller should wait before retrying.</p>
|
|
212
232
|
*/
|
|
213
233
|
retryAfterSeconds?: string;
|
|
@@ -235,6 +255,7 @@ export type FunctionUrlAuthType = (typeof FunctionUrlAuthType)[keyof typeof Func
|
|
|
235
255
|
*/
|
|
236
256
|
export interface AddPermissionRequest {
|
|
237
257
|
/**
|
|
258
|
+
* @public
|
|
238
259
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
239
260
|
* <p class="title">
|
|
240
261
|
* <b>Name formats</b>
|
|
@@ -258,51 +279,61 @@ export interface AddPermissionRequest {
|
|
|
258
279
|
*/
|
|
259
280
|
FunctionName: string | undefined;
|
|
260
281
|
/**
|
|
282
|
+
* @public
|
|
261
283
|
* <p>A statement identifier that differentiates the statement from others in the same policy.</p>
|
|
262
284
|
*/
|
|
263
285
|
StatementId: string | undefined;
|
|
264
286
|
/**
|
|
287
|
+
* @public
|
|
265
288
|
* <p>The action that the principal can use on the function. For example, <code>lambda:InvokeFunction</code> or
|
|
266
289
|
* <code>lambda:GetFunction</code>.</p>
|
|
267
290
|
*/
|
|
268
291
|
Action: string | undefined;
|
|
269
292
|
/**
|
|
293
|
+
* @public
|
|
270
294
|
* <p>The Amazon Web Service or Amazon Web Services account that invokes the function. If you specify a
|
|
271
295
|
* service, use <code>SourceArn</code> or <code>SourceAccount</code> to limit who can invoke the function through
|
|
272
296
|
* that service.</p>
|
|
273
297
|
*/
|
|
274
298
|
Principal: string | undefined;
|
|
275
299
|
/**
|
|
300
|
+
* @public
|
|
276
301
|
* <p>For Amazon Web Services, the ARN of the Amazon Web Services resource that invokes the function. For
|
|
277
302
|
* example, an Amazon S3 bucket or Amazon SNS topic.</p>
|
|
278
303
|
* <p>Note that Lambda configures the comparison using the <code>StringLike</code> operator.</p>
|
|
279
304
|
*/
|
|
280
305
|
SourceArn?: string;
|
|
281
306
|
/**
|
|
307
|
+
* @public
|
|
282
308
|
* <p>For Amazon Web Service, the ID of the Amazon Web Services account that owns the resource. Use this
|
|
283
309
|
* together with <code>SourceArn</code> to ensure that the specified account owns the resource. It is possible for an
|
|
284
310
|
* Amazon S3 bucket to be deleted by its owner and recreated by another account.</p>
|
|
285
311
|
*/
|
|
286
312
|
SourceAccount?: string;
|
|
287
313
|
/**
|
|
314
|
+
* @public
|
|
288
315
|
* <p>For Alexa Smart Home functions, a token that the invoker must supply.</p>
|
|
289
316
|
*/
|
|
290
317
|
EventSourceToken?: string;
|
|
291
318
|
/**
|
|
319
|
+
* @public
|
|
292
320
|
* <p>Specify a version or alias to add permissions to a published version of the function.</p>
|
|
293
321
|
*/
|
|
294
322
|
Qualifier?: string;
|
|
295
323
|
/**
|
|
324
|
+
* @public
|
|
296
325
|
* <p>Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a
|
|
297
326
|
* policy that has changed since you last read it.</p>
|
|
298
327
|
*/
|
|
299
328
|
RevisionId?: string;
|
|
300
329
|
/**
|
|
330
|
+
* @public
|
|
301
331
|
* <p>The identifier for your organization in Organizations. Use this to grant permissions to all the
|
|
302
332
|
* Amazon Web Services accounts under this organization.</p>
|
|
303
333
|
*/
|
|
304
334
|
PrincipalOrgID?: string;
|
|
305
335
|
/**
|
|
336
|
+
* @public
|
|
306
337
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
307
338
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
308
339
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
@@ -314,6 +345,7 @@ export interface AddPermissionRequest {
|
|
|
314
345
|
*/
|
|
315
346
|
export interface AddPermissionResponse {
|
|
316
347
|
/**
|
|
348
|
+
* @public
|
|
317
349
|
* <p>The permission statement that's added to the function policy.</p>
|
|
318
350
|
*/
|
|
319
351
|
Statement?: string;
|
|
@@ -324,6 +356,7 @@ export interface AddPermissionResponse {
|
|
|
324
356
|
*/
|
|
325
357
|
export interface AliasRoutingConfiguration {
|
|
326
358
|
/**
|
|
359
|
+
* @public
|
|
327
360
|
* <p>The second version, and the percentage of traffic that's routed to it.</p>
|
|
328
361
|
*/
|
|
329
362
|
AdditionalVersionWeights?: Record<string, number>;
|
|
@@ -334,27 +367,33 @@ export interface AliasRoutingConfiguration {
|
|
|
334
367
|
*/
|
|
335
368
|
export interface AliasConfiguration {
|
|
336
369
|
/**
|
|
370
|
+
* @public
|
|
337
371
|
* <p>The Amazon Resource Name (ARN) of the alias.</p>
|
|
338
372
|
*/
|
|
339
373
|
AliasArn?: string;
|
|
340
374
|
/**
|
|
375
|
+
* @public
|
|
341
376
|
* <p>The name of the alias.</p>
|
|
342
377
|
*/
|
|
343
378
|
Name?: string;
|
|
344
379
|
/**
|
|
380
|
+
* @public
|
|
345
381
|
* <p>The function version that the alias invokes.</p>
|
|
346
382
|
*/
|
|
347
383
|
FunctionVersion?: string;
|
|
348
384
|
/**
|
|
385
|
+
* @public
|
|
349
386
|
* <p>A description of the alias.</p>
|
|
350
387
|
*/
|
|
351
388
|
Description?: string;
|
|
352
389
|
/**
|
|
390
|
+
* @public
|
|
353
391
|
* <p>The <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html">routing
|
|
354
392
|
* configuration</a> of the alias.</p>
|
|
355
393
|
*/
|
|
356
394
|
RoutingConfig?: AliasRoutingConfiguration;
|
|
357
395
|
/**
|
|
396
|
+
* @public
|
|
358
397
|
* <p>A unique identifier that changes when you update the alias.</p>
|
|
359
398
|
*/
|
|
360
399
|
RevisionId?: string;
|
|
@@ -365,6 +404,7 @@ export interface AliasConfiguration {
|
|
|
365
404
|
*/
|
|
366
405
|
export interface AllowedPublishers {
|
|
367
406
|
/**
|
|
407
|
+
* @public
|
|
368
408
|
* <p>The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user
|
|
369
409
|
* who can sign a code package. </p>
|
|
370
410
|
*/
|
|
@@ -376,6 +416,7 @@ export interface AllowedPublishers {
|
|
|
376
416
|
*/
|
|
377
417
|
export interface AmazonManagedKafkaEventSourceConfig {
|
|
378
418
|
/**
|
|
419
|
+
* @public
|
|
379
420
|
* <p>The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources.
|
|
380
421
|
* After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see
|
|
381
422
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id">Customizable consumer group ID</a>.</p>
|
|
@@ -399,6 +440,7 @@ export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
|
399
440
|
*/
|
|
400
441
|
export interface CreateAliasRequest {
|
|
401
442
|
/**
|
|
443
|
+
* @public
|
|
402
444
|
* <p>The name of the Lambda function.</p>
|
|
403
445
|
* <p class="title">
|
|
404
446
|
* <b>Name formats</b>
|
|
@@ -422,18 +464,22 @@ export interface CreateAliasRequest {
|
|
|
422
464
|
*/
|
|
423
465
|
FunctionName: string | undefined;
|
|
424
466
|
/**
|
|
467
|
+
* @public
|
|
425
468
|
* <p>The name of the alias.</p>
|
|
426
469
|
*/
|
|
427
470
|
Name: string | undefined;
|
|
428
471
|
/**
|
|
472
|
+
* @public
|
|
429
473
|
* <p>The function version that the alias invokes.</p>
|
|
430
474
|
*/
|
|
431
475
|
FunctionVersion: string | undefined;
|
|
432
476
|
/**
|
|
477
|
+
* @public
|
|
433
478
|
* <p>A description of the alias.</p>
|
|
434
479
|
*/
|
|
435
480
|
Description?: string;
|
|
436
481
|
/**
|
|
482
|
+
* @public
|
|
437
483
|
* <p>The <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing">routing
|
|
438
484
|
* configuration</a> of the alias.</p>
|
|
439
485
|
*/
|
|
@@ -458,6 +504,7 @@ export type CodeSigningPolicy = (typeof CodeSigningPolicy)[keyof typeof CodeSign
|
|
|
458
504
|
*/
|
|
459
505
|
export interface CodeSigningPolicies {
|
|
460
506
|
/**
|
|
507
|
+
* @public
|
|
461
508
|
* <p>Code signing configuration policy for deployment validation failure. If you set the policy to
|
|
462
509
|
* <code>Enforce</code>, Lambda blocks the deployment request if signature validation checks fail. If you set the
|
|
463
510
|
* policy to <code>Warn</code>, Lambda allows the deployment and creates a CloudWatch log. </p>
|
|
@@ -471,14 +518,17 @@ export interface CodeSigningPolicies {
|
|
|
471
518
|
*/
|
|
472
519
|
export interface CreateCodeSigningConfigRequest {
|
|
473
520
|
/**
|
|
521
|
+
* @public
|
|
474
522
|
* <p>Descriptive name for this code signing configuration.</p>
|
|
475
523
|
*/
|
|
476
524
|
Description?: string;
|
|
477
525
|
/**
|
|
526
|
+
* @public
|
|
478
527
|
* <p>Signing profiles for this code signing configuration.</p>
|
|
479
528
|
*/
|
|
480
529
|
AllowedPublishers: AllowedPublishers | undefined;
|
|
481
530
|
/**
|
|
531
|
+
* @public
|
|
482
532
|
* <p>The code signing policies define the actions to take if the validation checks fail. </p>
|
|
483
533
|
*/
|
|
484
534
|
CodeSigningPolicies?: CodeSigningPolicies;
|
|
@@ -489,26 +539,32 @@ export interface CreateCodeSigningConfigRequest {
|
|
|
489
539
|
*/
|
|
490
540
|
export interface CodeSigningConfig {
|
|
491
541
|
/**
|
|
542
|
+
* @public
|
|
492
543
|
* <p>Unique identifer for the Code signing configuration.</p>
|
|
493
544
|
*/
|
|
494
545
|
CodeSigningConfigId: string | undefined;
|
|
495
546
|
/**
|
|
547
|
+
* @public
|
|
496
548
|
* <p>The Amazon Resource Name (ARN) of the Code signing configuration.</p>
|
|
497
549
|
*/
|
|
498
550
|
CodeSigningConfigArn: string | undefined;
|
|
499
551
|
/**
|
|
552
|
+
* @public
|
|
500
553
|
* <p>Code signing configuration description.</p>
|
|
501
554
|
*/
|
|
502
555
|
Description?: string;
|
|
503
556
|
/**
|
|
557
|
+
* @public
|
|
504
558
|
* <p>List of allowed publishers.</p>
|
|
505
559
|
*/
|
|
506
560
|
AllowedPublishers: AllowedPublishers | undefined;
|
|
507
561
|
/**
|
|
562
|
+
* @public
|
|
508
563
|
* <p>The code signing policy controls the validation failure action for signature mismatch or expiry.</p>
|
|
509
564
|
*/
|
|
510
565
|
CodeSigningPolicies: CodeSigningPolicies | undefined;
|
|
511
566
|
/**
|
|
567
|
+
* @public
|
|
512
568
|
* <p>The date and time that the Code signing configuration was last modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). </p>
|
|
513
569
|
*/
|
|
514
570
|
LastModified: string | undefined;
|
|
@@ -518,6 +574,7 @@ export interface CodeSigningConfig {
|
|
|
518
574
|
*/
|
|
519
575
|
export interface CreateCodeSigningConfigResponse {
|
|
520
576
|
/**
|
|
577
|
+
* @public
|
|
521
578
|
* <p>The code signing configuration.</p>
|
|
522
579
|
*/
|
|
523
580
|
CodeSigningConfig: CodeSigningConfig | undefined;
|
|
@@ -528,6 +585,7 @@ export interface CreateCodeSigningConfigResponse {
|
|
|
528
585
|
*/
|
|
529
586
|
export interface OnFailure {
|
|
530
587
|
/**
|
|
588
|
+
* @public
|
|
531
589
|
* <p>The Amazon Resource Name (ARN) of the destination resource.</p>
|
|
532
590
|
*/
|
|
533
591
|
Destination?: string;
|
|
@@ -538,6 +596,7 @@ export interface OnFailure {
|
|
|
538
596
|
*/
|
|
539
597
|
export interface OnSuccess {
|
|
540
598
|
/**
|
|
599
|
+
* @public
|
|
541
600
|
* <p>The Amazon Resource Name (ARN) of the destination resource.</p>
|
|
542
601
|
*/
|
|
543
602
|
Destination?: string;
|
|
@@ -548,10 +607,12 @@ export interface OnSuccess {
|
|
|
548
607
|
*/
|
|
549
608
|
export interface DestinationConfig {
|
|
550
609
|
/**
|
|
610
|
+
* @public
|
|
551
611
|
* <p>The destination configuration for successful invocations.</p>
|
|
552
612
|
*/
|
|
553
613
|
OnSuccess?: OnSuccess;
|
|
554
614
|
/**
|
|
615
|
+
* @public
|
|
555
616
|
* <p>The destination configuration for failed invocations.</p>
|
|
556
617
|
*/
|
|
557
618
|
OnFailure?: OnFailure;
|
|
@@ -576,18 +637,21 @@ export type FullDocument = (typeof FullDocument)[keyof typeof FullDocument];
|
|
|
576
637
|
*/
|
|
577
638
|
export interface DocumentDBEventSourceConfig {
|
|
578
639
|
/**
|
|
640
|
+
* @public
|
|
579
641
|
* <p>
|
|
580
642
|
* The name of the database to consume within the DocumentDB cluster.
|
|
581
643
|
* </p>
|
|
582
644
|
*/
|
|
583
645
|
DatabaseName?: string;
|
|
584
646
|
/**
|
|
647
|
+
* @public
|
|
585
648
|
* <p>
|
|
586
649
|
* The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
|
|
587
650
|
* </p>
|
|
588
651
|
*/
|
|
589
652
|
CollectionName?: string;
|
|
590
653
|
/**
|
|
654
|
+
* @public
|
|
591
655
|
* <p>
|
|
592
656
|
* Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
|
|
593
657
|
* </p>
|
|
@@ -602,6 +666,7 @@ export interface DocumentDBEventSourceConfig {
|
|
|
602
666
|
*/
|
|
603
667
|
export interface Filter {
|
|
604
668
|
/**
|
|
669
|
+
* @public
|
|
605
670
|
* <p>
|
|
606
671
|
* A filter pattern. For more information on the syntax of a filter pattern, see
|
|
607
672
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax">
|
|
@@ -618,6 +683,7 @@ export interface Filter {
|
|
|
618
683
|
*/
|
|
619
684
|
export interface FilterCriteria {
|
|
620
685
|
/**
|
|
686
|
+
* @public
|
|
621
687
|
* <p>
|
|
622
688
|
* A list of filters.
|
|
623
689
|
* </p>
|
|
@@ -641,6 +707,7 @@ export type FunctionResponseType = (typeof FunctionResponseType)[keyof typeof Fu
|
|
|
641
707
|
*/
|
|
642
708
|
export interface ScalingConfig {
|
|
643
709
|
/**
|
|
710
|
+
* @public
|
|
644
711
|
* <p>Limits the number of concurrent instances that the Amazon SQS event source can invoke.</p>
|
|
645
712
|
*/
|
|
646
713
|
MaximumConcurrency?: number;
|
|
@@ -662,6 +729,7 @@ export type EndPointType = (typeof EndPointType)[keyof typeof EndPointType];
|
|
|
662
729
|
*/
|
|
663
730
|
export interface SelfManagedEventSource {
|
|
664
731
|
/**
|
|
732
|
+
* @public
|
|
665
733
|
* <p>The list of bootstrap servers for your Kafka brokers in the following format: <code>"KAFKA_BOOTSTRAP_SERVERS":
|
|
666
734
|
* ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]</code>.</p>
|
|
667
735
|
*/
|
|
@@ -673,6 +741,7 @@ export interface SelfManagedEventSource {
|
|
|
673
741
|
*/
|
|
674
742
|
export interface SelfManagedKafkaEventSourceConfig {
|
|
675
743
|
/**
|
|
744
|
+
* @public
|
|
676
745
|
* <p>The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources.
|
|
677
746
|
* After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see
|
|
678
747
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id">Customizable consumer group ID</a>.</p>
|
|
@@ -703,6 +772,7 @@ export type SourceAccessType = (typeof SourceAccessType)[keyof typeof SourceAcce
|
|
|
703
772
|
*/
|
|
704
773
|
export interface SourceAccessConfiguration {
|
|
705
774
|
/**
|
|
775
|
+
* @public
|
|
706
776
|
* <p>The type of authentication protocol, VPC components, or virtual host for your event source. For example: <code>"Type":"SASL_SCRAM_512_AUTH"</code>.</p>
|
|
707
777
|
* <ul>
|
|
708
778
|
* <li>
|
|
@@ -748,6 +818,7 @@ export interface SourceAccessConfiguration {
|
|
|
748
818
|
*/
|
|
749
819
|
Type?: SourceAccessType | string;
|
|
750
820
|
/**
|
|
821
|
+
* @public
|
|
751
822
|
* <p>The value for your chosen configuration in <code>Type</code>. For example: <code>"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"</code>.</p>
|
|
752
823
|
*/
|
|
753
824
|
URI?: string;
|
|
@@ -770,6 +841,7 @@ export type EventSourcePosition = (typeof EventSourcePosition)[keyof typeof Even
|
|
|
770
841
|
*/
|
|
771
842
|
export interface CreateEventSourceMappingRequest {
|
|
772
843
|
/**
|
|
844
|
+
* @public
|
|
773
845
|
* <p>The Amazon Resource Name (ARN) of the event source.</p>
|
|
774
846
|
* <ul>
|
|
775
847
|
* <li>
|
|
@@ -800,6 +872,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
800
872
|
*/
|
|
801
873
|
EventSourceArn?: string;
|
|
802
874
|
/**
|
|
875
|
+
* @public
|
|
803
876
|
* <p>The name of the Lambda function.</p>
|
|
804
877
|
* <p class="title">
|
|
805
878
|
* <b>Name formats</b>
|
|
@@ -827,11 +900,13 @@ export interface CreateEventSourceMappingRequest {
|
|
|
827
900
|
*/
|
|
828
901
|
FunctionName: string | undefined;
|
|
829
902
|
/**
|
|
903
|
+
* @public
|
|
830
904
|
* <p>When true, the event source mapping is active. When false, Lambda pauses polling and invocation.</p>
|
|
831
905
|
* <p>Default: True</p>
|
|
832
906
|
*/
|
|
833
907
|
Enabled?: boolean;
|
|
834
908
|
/**
|
|
909
|
+
* @public
|
|
835
910
|
* <p>The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation
|
|
836
911
|
* (6 MB).</p>
|
|
837
912
|
* <ul>
|
|
@@ -867,11 +942,13 @@ export interface CreateEventSourceMappingRequest {
|
|
|
867
942
|
*/
|
|
868
943
|
BatchSize?: number;
|
|
869
944
|
/**
|
|
945
|
+
* @public
|
|
870
946
|
* <p>An object that defines the filter criteria that
|
|
871
947
|
* determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p>
|
|
872
948
|
*/
|
|
873
949
|
FilterCriteria?: FilterCriteria;
|
|
874
950
|
/**
|
|
951
|
+
* @public
|
|
875
952
|
* <p>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
|
876
953
|
* You can configure <code>MaximumBatchingWindowInSeconds</code> to any value from 0 seconds to 300 seconds in increments of seconds.</p>
|
|
877
954
|
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default
|
|
@@ -881,73 +958,90 @@ export interface CreateEventSourceMappingRequest {
|
|
|
881
958
|
*/
|
|
882
959
|
MaximumBatchingWindowInSeconds?: number;
|
|
883
960
|
/**
|
|
961
|
+
* @public
|
|
884
962
|
* <p>(Kinesis and DynamoDB Streams only) The number of batches to process from each shard concurrently.</p>
|
|
885
963
|
*/
|
|
886
964
|
ParallelizationFactor?: number;
|
|
887
965
|
/**
|
|
966
|
+
* @public
|
|
888
967
|
* <p>The position in a stream from which to start reading. Required for Amazon Kinesis and
|
|
889
968
|
* Amazon DynamoDB Stream event sources. <code>AT_TIMESTAMP</code> is supported only for
|
|
890
969
|
* Amazon Kinesis streams, Amazon DocumentDB, Amazon MSK, and self-managed Apache Kafka.</p>
|
|
891
970
|
*/
|
|
892
971
|
StartingPosition?: EventSourcePosition | string;
|
|
893
972
|
/**
|
|
973
|
+
* @public
|
|
894
974
|
* <p>With <code>StartingPosition</code> set to <code>AT_TIMESTAMP</code>, the time from which to start
|
|
895
975
|
* reading. <code>StartingPositionTimestamp</code> cannot be in the future.</p>
|
|
896
976
|
*/
|
|
897
977
|
StartingPositionTimestamp?: Date;
|
|
898
978
|
/**
|
|
979
|
+
* @public
|
|
899
980
|
* <p>(Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or standard Amazon SNS topic destination for discarded records.</p>
|
|
900
981
|
*/
|
|
901
982
|
DestinationConfig?: DestinationConfig;
|
|
902
983
|
/**
|
|
984
|
+
* @public
|
|
903
985
|
* <p>(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is infinite (-1).</p>
|
|
904
986
|
*/
|
|
905
987
|
MaximumRecordAgeInSeconds?: number;
|
|
906
988
|
/**
|
|
989
|
+
* @public
|
|
907
990
|
* <p>(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.</p>
|
|
908
991
|
*/
|
|
909
992
|
BisectBatchOnFunctionError?: boolean;
|
|
910
993
|
/**
|
|
994
|
+
* @public
|
|
911
995
|
* <p>(Kinesis and DynamoDB Streams only) 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>
|
|
912
996
|
*/
|
|
913
997
|
MaximumRetryAttempts?: number;
|
|
914
998
|
/**
|
|
999
|
+
* @public
|
|
915
1000
|
* <p>(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.</p>
|
|
916
1001
|
*/
|
|
917
1002
|
TumblingWindowInSeconds?: number;
|
|
918
1003
|
/**
|
|
1004
|
+
* @public
|
|
919
1005
|
* <p>The name of the Kafka topic.</p>
|
|
920
1006
|
*/
|
|
921
1007
|
Topics?: string[];
|
|
922
1008
|
/**
|
|
1009
|
+
* @public
|
|
923
1010
|
* <p> (MQ) The name of the Amazon MQ broker destination queue to consume. </p>
|
|
924
1011
|
*/
|
|
925
1012
|
Queues?: string[];
|
|
926
1013
|
/**
|
|
1014
|
+
* @public
|
|
927
1015
|
* <p>An array of authentication protocols or VPC components required to secure your event source.</p>
|
|
928
1016
|
*/
|
|
929
1017
|
SourceAccessConfigurations?: SourceAccessConfiguration[];
|
|
930
1018
|
/**
|
|
1019
|
+
* @public
|
|
931
1020
|
* <p>The self-managed Apache Kafka cluster to receive records from.</p>
|
|
932
1021
|
*/
|
|
933
1022
|
SelfManagedEventSource?: SelfManagedEventSource;
|
|
934
1023
|
/**
|
|
1024
|
+
* @public
|
|
935
1025
|
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
936
1026
|
*/
|
|
937
1027
|
FunctionResponseTypes?: (FunctionResponseType | string)[];
|
|
938
1028
|
/**
|
|
1029
|
+
* @public
|
|
939
1030
|
* <p>Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.</p>
|
|
940
1031
|
*/
|
|
941
1032
|
AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
|
|
942
1033
|
/**
|
|
1034
|
+
* @public
|
|
943
1035
|
* <p>Specific configuration settings for a self-managed Apache Kafka event source.</p>
|
|
944
1036
|
*/
|
|
945
1037
|
SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
|
|
946
1038
|
/**
|
|
1039
|
+
* @public
|
|
947
1040
|
* <p>(Amazon SQS only) The scaling configuration for the event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency">Configuring maximum concurrency for Amazon SQS event sources</a>.</p>
|
|
948
1041
|
*/
|
|
949
1042
|
ScalingConfig?: ScalingConfig;
|
|
950
1043
|
/**
|
|
1044
|
+
* @public
|
|
951
1045
|
* <p>Specific configuration settings for a DocumentDB event source.</p>
|
|
952
1046
|
*/
|
|
953
1047
|
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
|
|
@@ -958,27 +1052,32 @@ export interface CreateEventSourceMappingRequest {
|
|
|
958
1052
|
*/
|
|
959
1053
|
export interface EventSourceMappingConfiguration {
|
|
960
1054
|
/**
|
|
1055
|
+
* @public
|
|
961
1056
|
* <p>The identifier of the event source mapping.</p>
|
|
962
1057
|
*/
|
|
963
1058
|
UUID?: string;
|
|
964
1059
|
/**
|
|
1060
|
+
* @public
|
|
965
1061
|
* <p>The position in a stream from which to start reading. Required for Amazon Kinesis and
|
|
966
1062
|
* Amazon DynamoDB Stream event sources. <code>AT_TIMESTAMP</code> is supported only for
|
|
967
1063
|
* Amazon Kinesis streams, Amazon DocumentDB, Amazon MSK, and self-managed Apache Kafka.</p>
|
|
968
1064
|
*/
|
|
969
1065
|
StartingPosition?: EventSourcePosition | string;
|
|
970
1066
|
/**
|
|
1067
|
+
* @public
|
|
971
1068
|
* <p>With <code>StartingPosition</code> set to <code>AT_TIMESTAMP</code>, the time from which to start
|
|
972
1069
|
* reading. <code>StartingPositionTimestamp</code> cannot be in the future.</p>
|
|
973
1070
|
*/
|
|
974
1071
|
StartingPositionTimestamp?: Date;
|
|
975
1072
|
/**
|
|
1073
|
+
* @public
|
|
976
1074
|
* <p>The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).</p>
|
|
977
1075
|
* <p>Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.</p>
|
|
978
1076
|
* <p>Related setting: When you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</p>
|
|
979
1077
|
*/
|
|
980
1078
|
BatchSize?: number;
|
|
981
1079
|
/**
|
|
1080
|
+
* @public
|
|
982
1081
|
* <p>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
|
983
1082
|
* You can configure <code>MaximumBatchingWindowInSeconds</code> to any value from 0 seconds to 300 seconds in increments of seconds.</p>
|
|
984
1083
|
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default
|
|
@@ -988,61 +1087,75 @@ export interface EventSourceMappingConfiguration {
|
|
|
988
1087
|
*/
|
|
989
1088
|
MaximumBatchingWindowInSeconds?: number;
|
|
990
1089
|
/**
|
|
1090
|
+
* @public
|
|
991
1091
|
* <p>(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.</p>
|
|
992
1092
|
*/
|
|
993
1093
|
ParallelizationFactor?: number;
|
|
994
1094
|
/**
|
|
1095
|
+
* @public
|
|
995
1096
|
* <p>The Amazon Resource Name (ARN) of the event source.</p>
|
|
996
1097
|
*/
|
|
997
1098
|
EventSourceArn?: string;
|
|
998
1099
|
/**
|
|
1100
|
+
* @public
|
|
999
1101
|
* <p>An object that defines the filter criteria that
|
|
1000
1102
|
* determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p>
|
|
1001
1103
|
*/
|
|
1002
1104
|
FilterCriteria?: FilterCriteria;
|
|
1003
1105
|
/**
|
|
1106
|
+
* @public
|
|
1004
1107
|
* <p>The ARN of the Lambda function.</p>
|
|
1005
1108
|
*/
|
|
1006
1109
|
FunctionArn?: string;
|
|
1007
1110
|
/**
|
|
1111
|
+
* @public
|
|
1008
1112
|
* <p>The date that the event source mapping was last updated or that its state changed.</p>
|
|
1009
1113
|
*/
|
|
1010
1114
|
LastModified?: Date;
|
|
1011
1115
|
/**
|
|
1116
|
+
* @public
|
|
1012
1117
|
* <p>The result of the last Lambda invocation of your function.</p>
|
|
1013
1118
|
*/
|
|
1014
1119
|
LastProcessingResult?: string;
|
|
1015
1120
|
/**
|
|
1121
|
+
* @public
|
|
1016
1122
|
* <p>The state of the event source mapping. It can be one of the following: <code>Creating</code>,
|
|
1017
1123
|
* <code>Enabling</code>, <code>Enabled</code>, <code>Disabling</code>, <code>Disabled</code>,
|
|
1018
1124
|
* <code>Updating</code>, or <code>Deleting</code>.</p>
|
|
1019
1125
|
*/
|
|
1020
1126
|
State?: string;
|
|
1021
1127
|
/**
|
|
1128
|
+
* @public
|
|
1022
1129
|
* <p>Indicates whether a user or Lambda made the last change to the event source mapping.</p>
|
|
1023
1130
|
*/
|
|
1024
1131
|
StateTransitionReason?: string;
|
|
1025
1132
|
/**
|
|
1133
|
+
* @public
|
|
1026
1134
|
* <p>(Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.</p>
|
|
1027
1135
|
*/
|
|
1028
1136
|
DestinationConfig?: DestinationConfig;
|
|
1029
1137
|
/**
|
|
1138
|
+
* @public
|
|
1030
1139
|
* <p>The name of the Kafka topic.</p>
|
|
1031
1140
|
*/
|
|
1032
1141
|
Topics?: string[];
|
|
1033
1142
|
/**
|
|
1143
|
+
* @public
|
|
1034
1144
|
* <p> (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.</p>
|
|
1035
1145
|
*/
|
|
1036
1146
|
Queues?: string[];
|
|
1037
1147
|
/**
|
|
1148
|
+
* @public
|
|
1038
1149
|
* <p>An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.</p>
|
|
1039
1150
|
*/
|
|
1040
1151
|
SourceAccessConfigurations?: SourceAccessConfiguration[];
|
|
1041
1152
|
/**
|
|
1153
|
+
* @public
|
|
1042
1154
|
* <p>The self-managed Apache Kafka cluster for your event source.</p>
|
|
1043
1155
|
*/
|
|
1044
1156
|
SelfManagedEventSource?: SelfManagedEventSource;
|
|
1045
1157
|
/**
|
|
1158
|
+
* @public
|
|
1046
1159
|
* <p>(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1,
|
|
1047
1160
|
* which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.</p>
|
|
1048
1161
|
* <note>
|
|
@@ -1051,35 +1164,43 @@ export interface EventSourceMappingConfiguration {
|
|
|
1051
1164
|
*/
|
|
1052
1165
|
MaximumRecordAgeInSeconds?: number;
|
|
1053
1166
|
/**
|
|
1167
|
+
* @public
|
|
1054
1168
|
* <p>(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.</p>
|
|
1055
1169
|
*/
|
|
1056
1170
|
BisectBatchOnFunctionError?: boolean;
|
|
1057
1171
|
/**
|
|
1172
|
+
* @public
|
|
1058
1173
|
* <p>(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1,
|
|
1059
1174
|
* which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.</p>
|
|
1060
1175
|
*/
|
|
1061
1176
|
MaximumRetryAttempts?: number;
|
|
1062
1177
|
/**
|
|
1178
|
+
* @public
|
|
1063
1179
|
* <p>(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.</p>
|
|
1064
1180
|
*/
|
|
1065
1181
|
TumblingWindowInSeconds?: number;
|
|
1066
1182
|
/**
|
|
1183
|
+
* @public
|
|
1067
1184
|
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
1068
1185
|
*/
|
|
1069
1186
|
FunctionResponseTypes?: (FunctionResponseType | string)[];
|
|
1070
1187
|
/**
|
|
1188
|
+
* @public
|
|
1071
1189
|
* <p>Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.</p>
|
|
1072
1190
|
*/
|
|
1073
1191
|
AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
|
|
1074
1192
|
/**
|
|
1193
|
+
* @public
|
|
1075
1194
|
* <p>Specific configuration settings for a self-managed Apache Kafka event source.</p>
|
|
1076
1195
|
*/
|
|
1077
1196
|
SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
|
|
1078
1197
|
/**
|
|
1198
|
+
* @public
|
|
1079
1199
|
* <p>(Amazon SQS only) The scaling configuration for the event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency">Configuring maximum concurrency for Amazon SQS event sources</a>.</p>
|
|
1080
1200
|
*/
|
|
1081
1201
|
ScalingConfig?: ScalingConfig;
|
|
1082
1202
|
/**
|
|
1203
|
+
* @public
|
|
1083
1204
|
* <p>Specific configuration settings for a DocumentDB event source.</p>
|
|
1084
1205
|
*/
|
|
1085
1206
|
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
|
|
@@ -1106,6 +1227,7 @@ export declare class CodeStorageExceededException extends __BaseException {
|
|
|
1106
1227
|
readonly name: "CodeStorageExceededException";
|
|
1107
1228
|
readonly $fault: "client";
|
|
1108
1229
|
/**
|
|
1230
|
+
* @public
|
|
1109
1231
|
* <p>The exception type.</p>
|
|
1110
1232
|
*/
|
|
1111
1233
|
Type?: string;
|
|
@@ -1136,23 +1258,28 @@ export declare class CodeVerificationFailedException extends __BaseException {
|
|
|
1136
1258
|
*/
|
|
1137
1259
|
export interface FunctionCode {
|
|
1138
1260
|
/**
|
|
1261
|
+
* @public
|
|
1139
1262
|
* <p>The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for
|
|
1140
1263
|
* you.</p>
|
|
1141
1264
|
*/
|
|
1142
1265
|
ZipFile?: Uint8Array;
|
|
1143
1266
|
/**
|
|
1267
|
+
* @public
|
|
1144
1268
|
* <p>An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.</p>
|
|
1145
1269
|
*/
|
|
1146
1270
|
S3Bucket?: string;
|
|
1147
1271
|
/**
|
|
1272
|
+
* @public
|
|
1148
1273
|
* <p>The Amazon S3 key of the deployment package.</p>
|
|
1149
1274
|
*/
|
|
1150
1275
|
S3Key?: string;
|
|
1151
1276
|
/**
|
|
1277
|
+
* @public
|
|
1152
1278
|
* <p>For versioned objects, the version of the deployment package object to use.</p>
|
|
1153
1279
|
*/
|
|
1154
1280
|
S3ObjectVersion?: string;
|
|
1155
1281
|
/**
|
|
1282
|
+
* @public
|
|
1156
1283
|
* <p>URI of a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container image</a> in the
|
|
1157
1284
|
* Amazon ECR registry.</p>
|
|
1158
1285
|
*/
|
|
@@ -1165,6 +1292,7 @@ export interface FunctionCode {
|
|
|
1165
1292
|
*/
|
|
1166
1293
|
export interface DeadLetterConfig {
|
|
1167
1294
|
/**
|
|
1295
|
+
* @public
|
|
1168
1296
|
* <p>The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.</p>
|
|
1169
1297
|
*/
|
|
1170
1298
|
TargetArn?: string;
|
|
@@ -1177,6 +1305,7 @@ export interface DeadLetterConfig {
|
|
|
1177
1305
|
*/
|
|
1178
1306
|
export interface Environment {
|
|
1179
1307
|
/**
|
|
1308
|
+
* @public
|
|
1180
1309
|
* <p>Environment variable key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html">Using Lambda environment variables</a>.</p>
|
|
1181
1310
|
*/
|
|
1182
1311
|
Variables?: Record<string, string>;
|
|
@@ -1188,6 +1317,7 @@ export interface Environment {
|
|
|
1188
1317
|
*/
|
|
1189
1318
|
export interface EphemeralStorage {
|
|
1190
1319
|
/**
|
|
1320
|
+
* @public
|
|
1191
1321
|
* <p>The size of the function's <code>/tmp</code> directory.</p>
|
|
1192
1322
|
*/
|
|
1193
1323
|
Size: number | undefined;
|
|
@@ -1198,11 +1328,13 @@ export interface EphemeralStorage {
|
|
|
1198
1328
|
*/
|
|
1199
1329
|
export interface FileSystemConfig {
|
|
1200
1330
|
/**
|
|
1331
|
+
* @public
|
|
1201
1332
|
* <p>The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file
|
|
1202
1333
|
* system.</p>
|
|
1203
1334
|
*/
|
|
1204
1335
|
Arn: string | undefined;
|
|
1205
1336
|
/**
|
|
1337
|
+
* @public
|
|
1206
1338
|
* <p>The path where the function can access the file system, starting with <code>/mnt/</code>.</p>
|
|
1207
1339
|
*/
|
|
1208
1340
|
LocalMountPath: string | undefined;
|
|
@@ -1214,15 +1346,18 @@ export interface FileSystemConfig {
|
|
|
1214
1346
|
*/
|
|
1215
1347
|
export interface ImageConfig {
|
|
1216
1348
|
/**
|
|
1349
|
+
* @public
|
|
1217
1350
|
* <p>Specifies the entry point to their application, which is typically the location of the runtime
|
|
1218
1351
|
* executable.</p>
|
|
1219
1352
|
*/
|
|
1220
1353
|
EntryPoint?: string[];
|
|
1221
1354
|
/**
|
|
1355
|
+
* @public
|
|
1222
1356
|
* <p>Specifies parameters that you want to pass in with ENTRYPOINT.</p>
|
|
1223
1357
|
*/
|
|
1224
1358
|
Command?: string[];
|
|
1225
1359
|
/**
|
|
1360
|
+
* @public
|
|
1226
1361
|
* <p>Specifies the working directory.</p>
|
|
1227
1362
|
*/
|
|
1228
1363
|
WorkingDirectory?: string;
|
|
@@ -1300,6 +1435,7 @@ export type SnapStartApplyOn = (typeof SnapStartApplyOn)[keyof typeof SnapStartA
|
|
|
1300
1435
|
*/
|
|
1301
1436
|
export interface SnapStart {
|
|
1302
1437
|
/**
|
|
1438
|
+
* @public
|
|
1303
1439
|
* <p>Set to <code>PublishedVersions</code> to create a snapshot of the initialized execution environment when you publish a function version.</p>
|
|
1304
1440
|
*/
|
|
1305
1441
|
ApplyOn?: SnapStartApplyOn | string;
|
|
@@ -1323,6 +1459,7 @@ export type TracingMode = (typeof TracingMode)[keyof typeof TracingMode];
|
|
|
1323
1459
|
*/
|
|
1324
1460
|
export interface TracingConfig {
|
|
1325
1461
|
/**
|
|
1462
|
+
* @public
|
|
1326
1463
|
* <p>The tracing mode.</p>
|
|
1327
1464
|
*/
|
|
1328
1465
|
Mode?: TracingMode | string;
|
|
@@ -1335,10 +1472,12 @@ export interface TracingConfig {
|
|
|
1335
1472
|
*/
|
|
1336
1473
|
export interface VpcConfig {
|
|
1337
1474
|
/**
|
|
1475
|
+
* @public
|
|
1338
1476
|
* <p>A list of VPC subnet IDs.</p>
|
|
1339
1477
|
*/
|
|
1340
1478
|
SubnetIds?: string[];
|
|
1341
1479
|
/**
|
|
1480
|
+
* @public
|
|
1342
1481
|
* <p>A list of VPC security group IDs.</p>
|
|
1343
1482
|
*/
|
|
1344
1483
|
SecurityGroupIds?: string[];
|
|
@@ -1348,6 +1487,7 @@ export interface VpcConfig {
|
|
|
1348
1487
|
*/
|
|
1349
1488
|
export interface CreateFunctionRequest {
|
|
1350
1489
|
/**
|
|
1490
|
+
* @public
|
|
1351
1491
|
* <p>The name of the Lambda function.</p>
|
|
1352
1492
|
* <p class="title">
|
|
1353
1493
|
* <b>Name formats</b>
|
|
@@ -1371,15 +1511,18 @@ export interface CreateFunctionRequest {
|
|
|
1371
1511
|
*/
|
|
1372
1512
|
FunctionName: string | undefined;
|
|
1373
1513
|
/**
|
|
1514
|
+
* @public
|
|
1374
1515
|
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a>. Runtime is required if the deployment package is a .zip file archive.</p>
|
|
1375
1516
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
1376
1517
|
*/
|
|
1377
1518
|
Runtime?: Runtime | string;
|
|
1378
1519
|
/**
|
|
1520
|
+
* @public
|
|
1379
1521
|
* <p>The Amazon Resource Name (ARN) of the function's execution role.</p>
|
|
1380
1522
|
*/
|
|
1381
1523
|
Role: string | undefined;
|
|
1382
1524
|
/**
|
|
1525
|
+
* @public
|
|
1383
1526
|
* <p>The name of the method within your code that Lambda calls to run your function.
|
|
1384
1527
|
* Handler is required if the deployment package is a .zip file archive. The format includes the
|
|
1385
1528
|
* file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information,
|
|
@@ -1387,47 +1530,57 @@ export interface CreateFunctionRequest {
|
|
|
1387
1530
|
*/
|
|
1388
1531
|
Handler?: string;
|
|
1389
1532
|
/**
|
|
1533
|
+
* @public
|
|
1390
1534
|
* <p>The code for the function.</p>
|
|
1391
1535
|
*/
|
|
1392
1536
|
Code: FunctionCode | undefined;
|
|
1393
1537
|
/**
|
|
1538
|
+
* @public
|
|
1394
1539
|
* <p>A description of the function.</p>
|
|
1395
1540
|
*/
|
|
1396
1541
|
Description?: string;
|
|
1397
1542
|
/**
|
|
1543
|
+
* @public
|
|
1398
1544
|
* <p>The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The
|
|
1399
1545
|
* maximum allowed value is 900 seconds. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html">Lambda execution environment</a>.</p>
|
|
1400
1546
|
*/
|
|
1401
1547
|
Timeout?: number;
|
|
1402
1548
|
/**
|
|
1549
|
+
* @public
|
|
1403
1550
|
* <p>The amount of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console">memory available to the function</a> at runtime.
|
|
1404
1551
|
* Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.</p>
|
|
1405
1552
|
*/
|
|
1406
1553
|
MemorySize?: number;
|
|
1407
1554
|
/**
|
|
1555
|
+
* @public
|
|
1408
1556
|
* <p>Set to true to publish the first version of the function during creation.</p>
|
|
1409
1557
|
*/
|
|
1410
1558
|
Publish?: boolean;
|
|
1411
1559
|
/**
|
|
1560
|
+
* @public
|
|
1412
1561
|
* <p>For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC.
|
|
1413
1562
|
* When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more
|
|
1414
1563
|
* information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">Configuring a Lambda function to access resources in a VPC</a>.</p>
|
|
1415
1564
|
*/
|
|
1416
1565
|
VpcConfig?: VpcConfig;
|
|
1417
1566
|
/**
|
|
1567
|
+
* @public
|
|
1418
1568
|
* <p>The type of deployment package. Set to <code>Image</code> for container image and set to <code>Zip</code> for .zip file archive.</p>
|
|
1419
1569
|
*/
|
|
1420
1570
|
PackageType?: PackageType | string;
|
|
1421
1571
|
/**
|
|
1572
|
+
* @public
|
|
1422
1573
|
* <p>A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events
|
|
1423
1574
|
* when they fail processing. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq">Dead-letter queues</a>.</p>
|
|
1424
1575
|
*/
|
|
1425
1576
|
DeadLetterConfig?: DeadLetterConfig;
|
|
1426
1577
|
/**
|
|
1578
|
+
* @public
|
|
1427
1579
|
* <p>Environment variables that are accessible from function code during execution.</p>
|
|
1428
1580
|
*/
|
|
1429
1581
|
Environment?: Environment;
|
|
1430
1582
|
/**
|
|
1583
|
+
* @public
|
|
1431
1584
|
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's
|
|
1432
1585
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>. When
|
|
1433
1586
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> is activated, Lambda also uses
|
|
@@ -1437,45 +1590,54 @@ export interface CreateFunctionRequest {
|
|
|
1437
1590
|
*/
|
|
1438
1591
|
KMSKeyArn?: string;
|
|
1439
1592
|
/**
|
|
1593
|
+
* @public
|
|
1440
1594
|
* <p>Set <code>Mode</code> to <code>Active</code> to sample and trace a subset of incoming requests with
|
|
1441
1595
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html">X-Ray</a>.</p>
|
|
1442
1596
|
*/
|
|
1443
1597
|
TracingConfig?: TracingConfig;
|
|
1444
1598
|
/**
|
|
1599
|
+
* @public
|
|
1445
1600
|
* <p>A list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> to apply to the
|
|
1446
1601
|
* function.</p>
|
|
1447
1602
|
*/
|
|
1448
1603
|
Tags?: Record<string, string>;
|
|
1449
1604
|
/**
|
|
1605
|
+
* @public
|
|
1450
1606
|
* <p>A list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">function layers</a>
|
|
1451
1607
|
* to add to the function's execution environment. Specify each layer by its ARN, including the version.</p>
|
|
1452
1608
|
*/
|
|
1453
1609
|
Layers?: string[];
|
|
1454
1610
|
/**
|
|
1611
|
+
* @public
|
|
1455
1612
|
* <p>Connection settings for an Amazon EFS file system.</p>
|
|
1456
1613
|
*/
|
|
1457
1614
|
FileSystemConfigs?: FileSystemConfig[];
|
|
1458
1615
|
/**
|
|
1616
|
+
* @public
|
|
1459
1617
|
* <p>Container image <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-images.html#configuration-images-settings">configuration
|
|
1460
1618
|
* values</a> that override the values in the container image Dockerfile.</p>
|
|
1461
1619
|
*/
|
|
1462
1620
|
ImageConfig?: ImageConfig;
|
|
1463
1621
|
/**
|
|
1622
|
+
* @public
|
|
1464
1623
|
* <p>To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration
|
|
1465
1624
|
* includes a set of signing profiles, which define the trusted publishers for this function.</p>
|
|
1466
1625
|
*/
|
|
1467
1626
|
CodeSigningConfigArn?: string;
|
|
1468
1627
|
/**
|
|
1628
|
+
* @public
|
|
1469
1629
|
* <p>The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64).
|
|
1470
1630
|
* The default value is <code>x86_64</code>.</p>
|
|
1471
1631
|
*/
|
|
1472
1632
|
Architectures?: (Architecture | string)[];
|
|
1473
1633
|
/**
|
|
1634
|
+
* @public
|
|
1474
1635
|
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
|
|
1475
1636
|
* number between 512 and 10,240 MB.</p>
|
|
1476
1637
|
*/
|
|
1477
1638
|
EphemeralStorage?: EphemeralStorage;
|
|
1478
1639
|
/**
|
|
1640
|
+
* @public
|
|
1479
1641
|
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">SnapStart</a> setting.</p>
|
|
1480
1642
|
*/
|
|
1481
1643
|
SnapStart?: SnapStart;
|
|
@@ -1486,10 +1648,12 @@ export interface CreateFunctionRequest {
|
|
|
1486
1648
|
*/
|
|
1487
1649
|
export interface EnvironmentError {
|
|
1488
1650
|
/**
|
|
1651
|
+
* @public
|
|
1489
1652
|
* <p>The error code.</p>
|
|
1490
1653
|
*/
|
|
1491
1654
|
ErrorCode?: string;
|
|
1492
1655
|
/**
|
|
1656
|
+
* @public
|
|
1493
1657
|
* <p>The error message.</p>
|
|
1494
1658
|
*/
|
|
1495
1659
|
Message?: string;
|
|
@@ -1501,10 +1665,12 @@ export interface EnvironmentError {
|
|
|
1501
1665
|
*/
|
|
1502
1666
|
export interface EnvironmentResponse {
|
|
1503
1667
|
/**
|
|
1668
|
+
* @public
|
|
1504
1669
|
* <p>Environment variable key-value pairs. Omitted from CloudTrail logs.</p>
|
|
1505
1670
|
*/
|
|
1506
1671
|
Variables?: Record<string, string>;
|
|
1507
1672
|
/**
|
|
1673
|
+
* @public
|
|
1508
1674
|
* <p>Error messages for environment variables that couldn't be applied.</p>
|
|
1509
1675
|
*/
|
|
1510
1676
|
Error?: EnvironmentError;
|
|
@@ -1515,10 +1681,12 @@ export interface EnvironmentResponse {
|
|
|
1515
1681
|
*/
|
|
1516
1682
|
export interface ImageConfigError {
|
|
1517
1683
|
/**
|
|
1684
|
+
* @public
|
|
1518
1685
|
* <p>Error code.</p>
|
|
1519
1686
|
*/
|
|
1520
1687
|
ErrorCode?: string;
|
|
1521
1688
|
/**
|
|
1689
|
+
* @public
|
|
1522
1690
|
* <p>Error message.</p>
|
|
1523
1691
|
*/
|
|
1524
1692
|
Message?: string;
|
|
@@ -1529,10 +1697,12 @@ export interface ImageConfigError {
|
|
|
1529
1697
|
*/
|
|
1530
1698
|
export interface ImageConfigResponse {
|
|
1531
1699
|
/**
|
|
1700
|
+
* @public
|
|
1532
1701
|
* <p>Configuration values that override the container image Dockerfile.</p>
|
|
1533
1702
|
*/
|
|
1534
1703
|
ImageConfig?: ImageConfig;
|
|
1535
1704
|
/**
|
|
1705
|
+
* @public
|
|
1536
1706
|
* <p>Error response to <code>GetFunctionConfiguration</code>.</p>
|
|
1537
1707
|
*/
|
|
1538
1708
|
Error?: ImageConfigError;
|
|
@@ -1588,18 +1758,22 @@ export type LastUpdateStatusReasonCode = (typeof LastUpdateStatusReasonCode)[key
|
|
|
1588
1758
|
*/
|
|
1589
1759
|
export interface Layer {
|
|
1590
1760
|
/**
|
|
1761
|
+
* @public
|
|
1591
1762
|
* <p>The Amazon Resource Name (ARN) of the function layer.</p>
|
|
1592
1763
|
*/
|
|
1593
1764
|
Arn?: string;
|
|
1594
1765
|
/**
|
|
1766
|
+
* @public
|
|
1595
1767
|
* <p>The size of the layer archive in bytes.</p>
|
|
1596
1768
|
*/
|
|
1597
1769
|
CodeSize?: number;
|
|
1598
1770
|
/**
|
|
1771
|
+
* @public
|
|
1599
1772
|
* <p>The Amazon Resource Name (ARN) for a signing profile version.</p>
|
|
1600
1773
|
*/
|
|
1601
1774
|
SigningProfileVersionArn?: string;
|
|
1602
1775
|
/**
|
|
1776
|
+
* @public
|
|
1603
1777
|
* <p>The Amazon Resource Name (ARN) of a signing job.</p>
|
|
1604
1778
|
*/
|
|
1605
1779
|
SigningJobArn?: string;
|
|
@@ -1610,10 +1784,12 @@ export interface Layer {
|
|
|
1610
1784
|
*/
|
|
1611
1785
|
export interface RuntimeVersionError {
|
|
1612
1786
|
/**
|
|
1787
|
+
* @public
|
|
1613
1788
|
* <p>The error code.</p>
|
|
1614
1789
|
*/
|
|
1615
1790
|
ErrorCode?: string;
|
|
1616
1791
|
/**
|
|
1792
|
+
* @public
|
|
1617
1793
|
* <p>The error message.</p>
|
|
1618
1794
|
*/
|
|
1619
1795
|
Message?: string;
|
|
@@ -1624,10 +1800,12 @@ export interface RuntimeVersionError {
|
|
|
1624
1800
|
*/
|
|
1625
1801
|
export interface RuntimeVersionConfig {
|
|
1626
1802
|
/**
|
|
1803
|
+
* @public
|
|
1627
1804
|
* <p>The ARN of the runtime version you want the function to use.</p>
|
|
1628
1805
|
*/
|
|
1629
1806
|
RuntimeVersionArn?: string;
|
|
1630
1807
|
/**
|
|
1808
|
+
* @public
|
|
1631
1809
|
* <p>Error response when Lambda is unable to retrieve the runtime version for a function.</p>
|
|
1632
1810
|
*/
|
|
1633
1811
|
Error?: RuntimeVersionError;
|
|
@@ -1650,10 +1828,12 @@ export type SnapStartOptimizationStatus = (typeof SnapStartOptimizationStatus)[k
|
|
|
1650
1828
|
*/
|
|
1651
1829
|
export interface SnapStartResponse {
|
|
1652
1830
|
/**
|
|
1831
|
+
* @public
|
|
1653
1832
|
* <p>When set to <code>PublishedVersions</code>, Lambda creates a snapshot of the execution environment when you publish a function version.</p>
|
|
1654
1833
|
*/
|
|
1655
1834
|
ApplyOn?: SnapStartApplyOn | string;
|
|
1656
1835
|
/**
|
|
1836
|
+
* @public
|
|
1657
1837
|
* <p>When you provide a <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using">qualified Amazon Resource Name (ARN)</a>, this response element indicates whether SnapStart is activated for the specified function version.</p>
|
|
1658
1838
|
*/
|
|
1659
1839
|
OptimizationStatus?: SnapStartOptimizationStatus | string;
|
|
@@ -1712,6 +1892,7 @@ export type StateReasonCode = (typeof StateReasonCode)[keyof typeof StateReasonC
|
|
|
1712
1892
|
*/
|
|
1713
1893
|
export interface TracingConfigResponse {
|
|
1714
1894
|
/**
|
|
1895
|
+
* @public
|
|
1715
1896
|
* <p>The tracing mode.</p>
|
|
1716
1897
|
*/
|
|
1717
1898
|
Mode?: TracingMode | string;
|
|
@@ -1722,14 +1903,17 @@ export interface TracingConfigResponse {
|
|
|
1722
1903
|
*/
|
|
1723
1904
|
export interface VpcConfigResponse {
|
|
1724
1905
|
/**
|
|
1906
|
+
* @public
|
|
1725
1907
|
* <p>A list of VPC subnet IDs.</p>
|
|
1726
1908
|
*/
|
|
1727
1909
|
SubnetIds?: string[];
|
|
1728
1910
|
/**
|
|
1911
|
+
* @public
|
|
1729
1912
|
* <p>A list of VPC security group IDs.</p>
|
|
1730
1913
|
*/
|
|
1731
1914
|
SecurityGroupIds?: string[];
|
|
1732
1915
|
/**
|
|
1916
|
+
* @public
|
|
1733
1917
|
* <p>The ID of the VPC.</p>
|
|
1734
1918
|
*/
|
|
1735
1919
|
VpcId?: string;
|
|
@@ -1740,150 +1924,185 @@ export interface VpcConfigResponse {
|
|
|
1740
1924
|
*/
|
|
1741
1925
|
export interface FunctionConfiguration {
|
|
1742
1926
|
/**
|
|
1927
|
+
* @public
|
|
1743
1928
|
* <p>The name of the function.</p>
|
|
1744
1929
|
*/
|
|
1745
1930
|
FunctionName?: string;
|
|
1746
1931
|
/**
|
|
1932
|
+
* @public
|
|
1747
1933
|
* <p>The function's Amazon Resource Name (ARN).</p>
|
|
1748
1934
|
*/
|
|
1749
1935
|
FunctionArn?: string;
|
|
1750
1936
|
/**
|
|
1937
|
+
* @public
|
|
1751
1938
|
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a>. Runtime is required if the deployment package is a .zip file archive.</p>
|
|
1752
1939
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
1753
1940
|
*/
|
|
1754
1941
|
Runtime?: Runtime | string;
|
|
1755
1942
|
/**
|
|
1943
|
+
* @public
|
|
1756
1944
|
* <p>The function's execution role.</p>
|
|
1757
1945
|
*/
|
|
1758
1946
|
Role?: string;
|
|
1759
1947
|
/**
|
|
1948
|
+
* @public
|
|
1760
1949
|
* <p>The function that Lambda calls to begin running your function.</p>
|
|
1761
1950
|
*/
|
|
1762
1951
|
Handler?: string;
|
|
1763
1952
|
/**
|
|
1953
|
+
* @public
|
|
1764
1954
|
* <p>The size of the function's deployment package, in bytes.</p>
|
|
1765
1955
|
*/
|
|
1766
1956
|
CodeSize?: number;
|
|
1767
1957
|
/**
|
|
1958
|
+
* @public
|
|
1768
1959
|
* <p>The function's description.</p>
|
|
1769
1960
|
*/
|
|
1770
1961
|
Description?: string;
|
|
1771
1962
|
/**
|
|
1963
|
+
* @public
|
|
1772
1964
|
* <p>The amount of time in seconds that Lambda allows a function to run before stopping it.</p>
|
|
1773
1965
|
*/
|
|
1774
1966
|
Timeout?: number;
|
|
1775
1967
|
/**
|
|
1968
|
+
* @public
|
|
1776
1969
|
* <p>The amount of memory available to the function at runtime.</p>
|
|
1777
1970
|
*/
|
|
1778
1971
|
MemorySize?: number;
|
|
1779
1972
|
/**
|
|
1973
|
+
* @public
|
|
1780
1974
|
* <p>The date and time that the function was last updated, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
1781
1975
|
*/
|
|
1782
1976
|
LastModified?: string;
|
|
1783
1977
|
/**
|
|
1978
|
+
* @public
|
|
1784
1979
|
* <p>The SHA256 hash of the function's deployment package.</p>
|
|
1785
1980
|
*/
|
|
1786
1981
|
CodeSha256?: string;
|
|
1787
1982
|
/**
|
|
1983
|
+
* @public
|
|
1788
1984
|
* <p>The version of the Lambda function.</p>
|
|
1789
1985
|
*/
|
|
1790
1986
|
Version?: string;
|
|
1791
1987
|
/**
|
|
1988
|
+
* @public
|
|
1792
1989
|
* <p>The function's networking configuration.</p>
|
|
1793
1990
|
*/
|
|
1794
1991
|
VpcConfig?: VpcConfigResponse;
|
|
1795
1992
|
/**
|
|
1993
|
+
* @public
|
|
1796
1994
|
* <p>The function's dead letter queue.</p>
|
|
1797
1995
|
*/
|
|
1798
1996
|
DeadLetterConfig?: DeadLetterConfig;
|
|
1799
1997
|
/**
|
|
1998
|
+
* @public
|
|
1800
1999
|
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html">environment variables</a>. Omitted from CloudTrail logs.</p>
|
|
1801
2000
|
*/
|
|
1802
2001
|
Environment?: EnvironmentResponse;
|
|
1803
2002
|
/**
|
|
2003
|
+
* @public
|
|
1804
2004
|
* <p>The KMS key that's used to encrypt the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>. When <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> is activated, this key is also used to encrypt the function's snapshot. This key is
|
|
1805
2005
|
* returned only if you've configured a customer managed key.</p>
|
|
1806
2006
|
*/
|
|
1807
2007
|
KMSKeyArn?: string;
|
|
1808
2008
|
/**
|
|
2009
|
+
* @public
|
|
1809
2010
|
* <p>The function's X-Ray tracing configuration.</p>
|
|
1810
2011
|
*/
|
|
1811
2012
|
TracingConfig?: TracingConfigResponse;
|
|
1812
2013
|
/**
|
|
2014
|
+
* @public
|
|
1813
2015
|
* <p>For Lambda@Edge functions, the ARN of the main function.</p>
|
|
1814
2016
|
*/
|
|
1815
2017
|
MasterArn?: string;
|
|
1816
2018
|
/**
|
|
2019
|
+
* @public
|
|
1817
2020
|
* <p>The latest updated revision of the function or alias.</p>
|
|
1818
2021
|
*/
|
|
1819
2022
|
RevisionId?: string;
|
|
1820
2023
|
/**
|
|
2024
|
+
* @public
|
|
1821
2025
|
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">layers</a>.</p>
|
|
1822
2026
|
*/
|
|
1823
2027
|
Layers?: Layer[];
|
|
1824
2028
|
/**
|
|
2029
|
+
* @public
|
|
1825
2030
|
* <p>The current state of the function. When the state is <code>Inactive</code>, you can reactivate the function by
|
|
1826
2031
|
* invoking it.</p>
|
|
1827
2032
|
*/
|
|
1828
2033
|
State?: State | string;
|
|
1829
2034
|
/**
|
|
2035
|
+
* @public
|
|
1830
2036
|
* <p>The reason for the function's current state.</p>
|
|
1831
2037
|
*/
|
|
1832
2038
|
StateReason?: string;
|
|
1833
2039
|
/**
|
|
2040
|
+
* @public
|
|
1834
2041
|
* <p>The reason code for the function's current state. When the code is <code>Creating</code>, you can't invoke or
|
|
1835
2042
|
* modify the function.</p>
|
|
1836
2043
|
*/
|
|
1837
2044
|
StateReasonCode?: StateReasonCode | string;
|
|
1838
2045
|
/**
|
|
2046
|
+
* @public
|
|
1839
2047
|
* <p>The status of the last update that was performed on the function. This is first set to <code>Successful</code>
|
|
1840
2048
|
* after function creation completes.</p>
|
|
1841
2049
|
*/
|
|
1842
2050
|
LastUpdateStatus?: LastUpdateStatus | string;
|
|
1843
2051
|
/**
|
|
2052
|
+
* @public
|
|
1844
2053
|
* <p>The reason for the last update that was performed on the function.</p>
|
|
1845
2054
|
*/
|
|
1846
2055
|
LastUpdateStatusReason?: string;
|
|
1847
2056
|
/**
|
|
2057
|
+
* @public
|
|
1848
2058
|
* <p>The reason code for the last update that was performed on the function.</p>
|
|
1849
2059
|
*/
|
|
1850
2060
|
LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode | string;
|
|
1851
2061
|
/**
|
|
2062
|
+
* @public
|
|
1852
2063
|
* <p>Connection settings for an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html">Amazon EFS file system</a>.</p>
|
|
1853
2064
|
*/
|
|
1854
2065
|
FileSystemConfigs?: FileSystemConfig[];
|
|
1855
2066
|
/**
|
|
2067
|
+
* @public
|
|
1856
2068
|
* <p>The type of deployment package. Set to <code>Image</code> for container image and set <code>Zip</code> for .zip file archive.</p>
|
|
1857
2069
|
*/
|
|
1858
2070
|
PackageType?: PackageType | string;
|
|
1859
2071
|
/**
|
|
2072
|
+
* @public
|
|
1860
2073
|
* <p>The function's image configuration values.</p>
|
|
1861
2074
|
*/
|
|
1862
2075
|
ImageConfigResponse?: ImageConfigResponse;
|
|
1863
2076
|
/**
|
|
2077
|
+
* @public
|
|
1864
2078
|
* <p>The ARN of the signing profile version.</p>
|
|
1865
2079
|
*/
|
|
1866
2080
|
SigningProfileVersionArn?: string;
|
|
1867
2081
|
/**
|
|
2082
|
+
* @public
|
|
1868
2083
|
* <p>The ARN of the signing job.</p>
|
|
1869
2084
|
*/
|
|
1870
2085
|
SigningJobArn?: string;
|
|
1871
2086
|
/**
|
|
2087
|
+
* @public
|
|
1872
2088
|
* <p>The instruction set architecture that the function supports. Architecture is a string array with one of the
|
|
1873
2089
|
* valid values. The default architecture value is <code>x86_64</code>.</p>
|
|
1874
2090
|
*/
|
|
1875
2091
|
Architectures?: (Architecture | string)[];
|
|
1876
2092
|
/**
|
|
2093
|
+
* @public
|
|
1877
2094
|
* <p>The size of the function’s <code>/tmp</code> directory in MB. The default value is 512, but it can be any
|
|
1878
2095
|
* whole number between 512 and 10,240 MB.</p>
|
|
1879
2096
|
*/
|
|
1880
2097
|
EphemeralStorage?: EphemeralStorage;
|
|
1881
2098
|
/**
|
|
2099
|
+
* @public
|
|
1882
2100
|
* <p>Set <code>ApplyOn</code> to <code>PublishedVersions</code> to create a snapshot of the initialized execution
|
|
1883
2101
|
* environment when you publish a function version. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">Improving startup performance with Lambda SnapStart</a>.</p>
|
|
1884
2102
|
*/
|
|
1885
2103
|
SnapStart?: SnapStartResponse;
|
|
1886
2104
|
/**
|
|
2105
|
+
* @public
|
|
1887
2106
|
* <p>The ARN of the runtime and any errors that occured.</p>
|
|
1888
2107
|
*/
|
|
1889
2108
|
RuntimeVersionConfig?: RuntimeVersionConfig;
|
|
@@ -1912,32 +2131,38 @@ export declare class InvalidCodeSignatureException extends __BaseException {
|
|
|
1912
2131
|
*/
|
|
1913
2132
|
export interface Cors {
|
|
1914
2133
|
/**
|
|
2134
|
+
* @public
|
|
1915
2135
|
* <p>Whether to allow cookies or other credentials in requests to your function URL. The default is
|
|
1916
2136
|
* <code>false</code>.</p>
|
|
1917
2137
|
*/
|
|
1918
2138
|
AllowCredentials?: boolean;
|
|
1919
2139
|
/**
|
|
2140
|
+
* @public
|
|
1920
2141
|
* <p>The HTTP headers that origins can include in requests to your function URL. For example: <code>Date</code>, <code>Keep-Alive</code>,
|
|
1921
2142
|
* <code>X-Custom-Header</code>.</p>
|
|
1922
2143
|
*/
|
|
1923
2144
|
AllowHeaders?: string[];
|
|
1924
2145
|
/**
|
|
2146
|
+
* @public
|
|
1925
2147
|
* <p>The HTTP methods that are allowed when calling your function URL. For example: <code>GET</code>, <code>POST</code>, <code>DELETE</code>,
|
|
1926
2148
|
* or the wildcard character (<code>*</code>).</p>
|
|
1927
2149
|
*/
|
|
1928
2150
|
AllowMethods?: string[];
|
|
1929
2151
|
/**
|
|
2152
|
+
* @public
|
|
1930
2153
|
* <p>The origins that can access your function URL. You can list any number of specific origins, separated by a comma. For example:
|
|
1931
2154
|
* <code>https://www.example.com</code>, <code>http://localhost:60905</code>.</p>
|
|
1932
2155
|
* <p>Alternatively, you can grant access to all origins using the wildcard character (<code>*</code>).</p>
|
|
1933
2156
|
*/
|
|
1934
2157
|
AllowOrigins?: string[];
|
|
1935
2158
|
/**
|
|
2159
|
+
* @public
|
|
1936
2160
|
* <p>The HTTP headers in your function response that you want to expose to origins that call your function URL. For example:
|
|
1937
2161
|
* <code>Date</code>, <code>Keep-Alive</code>, <code>X-Custom-Header</code>.</p>
|
|
1938
2162
|
*/
|
|
1939
2163
|
ExposeHeaders?: string[];
|
|
1940
2164
|
/**
|
|
2165
|
+
* @public
|
|
1941
2166
|
* <p>The maximum amount of time, in seconds, that web browsers can cache results of a preflight request. By
|
|
1942
2167
|
* default, this is set to <code>0</code>, which means that the browser doesn't cache results.</p>
|
|
1943
2168
|
*/
|
|
@@ -1960,6 +2185,7 @@ export type InvokeMode = (typeof InvokeMode)[keyof typeof InvokeMode];
|
|
|
1960
2185
|
*/
|
|
1961
2186
|
export interface CreateFunctionUrlConfigRequest {
|
|
1962
2187
|
/**
|
|
2188
|
+
* @public
|
|
1963
2189
|
* <p>The name of the Lambda function.</p>
|
|
1964
2190
|
* <p class="title">
|
|
1965
2191
|
* <b>Name formats</b>
|
|
@@ -1983,21 +2209,25 @@ export interface CreateFunctionUrlConfigRequest {
|
|
|
1983
2209
|
*/
|
|
1984
2210
|
FunctionName: string | undefined;
|
|
1985
2211
|
/**
|
|
2212
|
+
* @public
|
|
1986
2213
|
* <p>The alias name.</p>
|
|
1987
2214
|
*/
|
|
1988
2215
|
Qualifier?: string;
|
|
1989
2216
|
/**
|
|
2217
|
+
* @public
|
|
1990
2218
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
1991
2219
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
1992
2220
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
1993
2221
|
*/
|
|
1994
2222
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
1995
2223
|
/**
|
|
2224
|
+
* @public
|
|
1996
2225
|
* <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
|
|
1997
2226
|
* for your function URL.</p>
|
|
1998
2227
|
*/
|
|
1999
2228
|
Cors?: Cors;
|
|
2000
2229
|
/**
|
|
2230
|
+
* @public
|
|
2001
2231
|
* <p>Use one of the following options:</p>
|
|
2002
2232
|
* <ul>
|
|
2003
2233
|
* <li>
|
|
@@ -2019,29 +2249,35 @@ export interface CreateFunctionUrlConfigRequest {
|
|
|
2019
2249
|
*/
|
|
2020
2250
|
export interface CreateFunctionUrlConfigResponse {
|
|
2021
2251
|
/**
|
|
2252
|
+
* @public
|
|
2022
2253
|
* <p>The HTTP URL endpoint for your function.</p>
|
|
2023
2254
|
*/
|
|
2024
2255
|
FunctionUrl: string | undefined;
|
|
2025
2256
|
/**
|
|
2257
|
+
* @public
|
|
2026
2258
|
* <p>The Amazon Resource Name (ARN) of your function.</p>
|
|
2027
2259
|
*/
|
|
2028
2260
|
FunctionArn: string | undefined;
|
|
2029
2261
|
/**
|
|
2262
|
+
* @public
|
|
2030
2263
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
2031
2264
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
2032
2265
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
2033
2266
|
*/
|
|
2034
2267
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
2035
2268
|
/**
|
|
2269
|
+
* @public
|
|
2036
2270
|
* <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
|
|
2037
2271
|
* for your function URL.</p>
|
|
2038
2272
|
*/
|
|
2039
2273
|
Cors?: Cors;
|
|
2040
2274
|
/**
|
|
2275
|
+
* @public
|
|
2041
2276
|
* <p>When the function URL was created, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
2042
2277
|
*/
|
|
2043
2278
|
CreationTime: string | undefined;
|
|
2044
2279
|
/**
|
|
2280
|
+
* @public
|
|
2045
2281
|
* <p>Use one of the following options:</p>
|
|
2046
2282
|
* <ul>
|
|
2047
2283
|
* <li>
|
|
@@ -2063,6 +2299,7 @@ export interface CreateFunctionUrlConfigResponse {
|
|
|
2063
2299
|
*/
|
|
2064
2300
|
export interface DeleteAliasRequest {
|
|
2065
2301
|
/**
|
|
2302
|
+
* @public
|
|
2066
2303
|
* <p>The name of the Lambda function.</p>
|
|
2067
2304
|
* <p class="title">
|
|
2068
2305
|
* <b>Name formats</b>
|
|
@@ -2086,6 +2323,7 @@ export interface DeleteAliasRequest {
|
|
|
2086
2323
|
*/
|
|
2087
2324
|
FunctionName: string | undefined;
|
|
2088
2325
|
/**
|
|
2326
|
+
* @public
|
|
2089
2327
|
* <p>The name of the alias.</p>
|
|
2090
2328
|
*/
|
|
2091
2329
|
Name: string | undefined;
|
|
@@ -2095,6 +2333,7 @@ export interface DeleteAliasRequest {
|
|
|
2095
2333
|
*/
|
|
2096
2334
|
export interface DeleteCodeSigningConfigRequest {
|
|
2097
2335
|
/**
|
|
2336
|
+
* @public
|
|
2098
2337
|
* <p>The The Amazon Resource Name (ARN) of the code signing configuration.</p>
|
|
2099
2338
|
*/
|
|
2100
2339
|
CodeSigningConfigArn: string | undefined;
|
|
@@ -2109,6 +2348,7 @@ export interface DeleteCodeSigningConfigResponse {
|
|
|
2109
2348
|
*/
|
|
2110
2349
|
export interface DeleteEventSourceMappingRequest {
|
|
2111
2350
|
/**
|
|
2351
|
+
* @public
|
|
2112
2352
|
* <p>The identifier of the event source mapping.</p>
|
|
2113
2353
|
*/
|
|
2114
2354
|
UUID: string | undefined;
|
|
@@ -2133,6 +2373,7 @@ export declare class ResourceInUseException extends __BaseException {
|
|
|
2133
2373
|
*/
|
|
2134
2374
|
export interface DeleteFunctionRequest {
|
|
2135
2375
|
/**
|
|
2376
|
+
* @public
|
|
2136
2377
|
* <p>The name of the Lambda function or version.</p>
|
|
2137
2378
|
* <p class="title">
|
|
2138
2379
|
* <b>Name formats</b>
|
|
@@ -2156,6 +2397,7 @@ export interface DeleteFunctionRequest {
|
|
|
2156
2397
|
*/
|
|
2157
2398
|
FunctionName: string | undefined;
|
|
2158
2399
|
/**
|
|
2400
|
+
* @public
|
|
2159
2401
|
* <p>Specify a version to delete. You can't delete a version that an alias references.</p>
|
|
2160
2402
|
*/
|
|
2161
2403
|
Qualifier?: string;
|
|
@@ -2165,6 +2407,7 @@ export interface DeleteFunctionRequest {
|
|
|
2165
2407
|
*/
|
|
2166
2408
|
export interface DeleteFunctionCodeSigningConfigRequest {
|
|
2167
2409
|
/**
|
|
2410
|
+
* @public
|
|
2168
2411
|
* <p>The name of the Lambda function.</p>
|
|
2169
2412
|
* <p class="title">
|
|
2170
2413
|
* <b>Name formats</b>
|
|
@@ -2193,6 +2436,7 @@ export interface DeleteFunctionCodeSigningConfigRequest {
|
|
|
2193
2436
|
*/
|
|
2194
2437
|
export interface DeleteFunctionConcurrencyRequest {
|
|
2195
2438
|
/**
|
|
2439
|
+
* @public
|
|
2196
2440
|
* <p>The name of the Lambda function.</p>
|
|
2197
2441
|
* <p class="title">
|
|
2198
2442
|
* <b>Name formats</b>
|
|
@@ -2221,6 +2465,7 @@ export interface DeleteFunctionConcurrencyRequest {
|
|
|
2221
2465
|
*/
|
|
2222
2466
|
export interface DeleteFunctionEventInvokeConfigRequest {
|
|
2223
2467
|
/**
|
|
2468
|
+
* @public
|
|
2224
2469
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
2225
2470
|
* <p class="title">
|
|
2226
2471
|
* <b>Name formats</b>
|
|
@@ -2244,6 +2489,7 @@ export interface DeleteFunctionEventInvokeConfigRequest {
|
|
|
2244
2489
|
*/
|
|
2245
2490
|
FunctionName: string | undefined;
|
|
2246
2491
|
/**
|
|
2492
|
+
* @public
|
|
2247
2493
|
* <p>A version number or alias name.</p>
|
|
2248
2494
|
*/
|
|
2249
2495
|
Qualifier?: string;
|
|
@@ -2253,6 +2499,7 @@ export interface DeleteFunctionEventInvokeConfigRequest {
|
|
|
2253
2499
|
*/
|
|
2254
2500
|
export interface DeleteFunctionUrlConfigRequest {
|
|
2255
2501
|
/**
|
|
2502
|
+
* @public
|
|
2256
2503
|
* <p>The name of the Lambda function.</p>
|
|
2257
2504
|
* <p class="title">
|
|
2258
2505
|
* <b>Name formats</b>
|
|
@@ -2276,6 +2523,7 @@ export interface DeleteFunctionUrlConfigRequest {
|
|
|
2276
2523
|
*/
|
|
2277
2524
|
FunctionName: string | undefined;
|
|
2278
2525
|
/**
|
|
2526
|
+
* @public
|
|
2279
2527
|
* <p>The alias name.</p>
|
|
2280
2528
|
*/
|
|
2281
2529
|
Qualifier?: string;
|
|
@@ -2285,10 +2533,12 @@ export interface DeleteFunctionUrlConfigRequest {
|
|
|
2285
2533
|
*/
|
|
2286
2534
|
export interface DeleteLayerVersionRequest {
|
|
2287
2535
|
/**
|
|
2536
|
+
* @public
|
|
2288
2537
|
* <p>The name or Amazon Resource Name (ARN) of the layer.</p>
|
|
2289
2538
|
*/
|
|
2290
2539
|
LayerName: string | undefined;
|
|
2291
2540
|
/**
|
|
2541
|
+
* @public
|
|
2292
2542
|
* <p>The version number.</p>
|
|
2293
2543
|
*/
|
|
2294
2544
|
VersionNumber: number | undefined;
|
|
@@ -2298,6 +2548,7 @@ export interface DeleteLayerVersionRequest {
|
|
|
2298
2548
|
*/
|
|
2299
2549
|
export interface DeleteProvisionedConcurrencyConfigRequest {
|
|
2300
2550
|
/**
|
|
2551
|
+
* @public
|
|
2301
2552
|
* <p>The name of the Lambda function.</p>
|
|
2302
2553
|
* <p class="title">
|
|
2303
2554
|
* <b>Name formats</b>
|
|
@@ -2321,6 +2572,7 @@ export interface DeleteProvisionedConcurrencyConfigRequest {
|
|
|
2321
2572
|
*/
|
|
2322
2573
|
FunctionName: string | undefined;
|
|
2323
2574
|
/**
|
|
2575
|
+
* @public
|
|
2324
2576
|
* <p>The version number or alias name.</p>
|
|
2325
2577
|
*/
|
|
2326
2578
|
Qualifier: string | undefined;
|
|
@@ -2335,10 +2587,12 @@ export interface GetAccountSettingsRequest {
|
|
|
2335
2587
|
*/
|
|
2336
2588
|
export interface GetAccountSettingsResponse {
|
|
2337
2589
|
/**
|
|
2590
|
+
* @public
|
|
2338
2591
|
* <p>Limits that are related to concurrency and code storage.</p>
|
|
2339
2592
|
*/
|
|
2340
2593
|
AccountLimit?: AccountLimit;
|
|
2341
2594
|
/**
|
|
2595
|
+
* @public
|
|
2342
2596
|
* <p>The number of functions and amount of storage in use.</p>
|
|
2343
2597
|
*/
|
|
2344
2598
|
AccountUsage?: AccountUsage;
|
|
@@ -2348,6 +2602,7 @@ export interface GetAccountSettingsResponse {
|
|
|
2348
2602
|
*/
|
|
2349
2603
|
export interface GetAliasRequest {
|
|
2350
2604
|
/**
|
|
2605
|
+
* @public
|
|
2351
2606
|
* <p>The name of the Lambda function.</p>
|
|
2352
2607
|
* <p class="title">
|
|
2353
2608
|
* <b>Name formats</b>
|
|
@@ -2371,6 +2626,7 @@ export interface GetAliasRequest {
|
|
|
2371
2626
|
*/
|
|
2372
2627
|
FunctionName: string | undefined;
|
|
2373
2628
|
/**
|
|
2629
|
+
* @public
|
|
2374
2630
|
* <p>The name of the alias.</p>
|
|
2375
2631
|
*/
|
|
2376
2632
|
Name: string | undefined;
|
|
@@ -2380,6 +2636,7 @@ export interface GetAliasRequest {
|
|
|
2380
2636
|
*/
|
|
2381
2637
|
export interface GetCodeSigningConfigRequest {
|
|
2382
2638
|
/**
|
|
2639
|
+
* @public
|
|
2383
2640
|
* <p>The The Amazon Resource Name (ARN) of the code signing configuration. </p>
|
|
2384
2641
|
*/
|
|
2385
2642
|
CodeSigningConfigArn: string | undefined;
|
|
@@ -2389,6 +2646,7 @@ export interface GetCodeSigningConfigRequest {
|
|
|
2389
2646
|
*/
|
|
2390
2647
|
export interface GetCodeSigningConfigResponse {
|
|
2391
2648
|
/**
|
|
2649
|
+
* @public
|
|
2392
2650
|
* <p>The code signing configuration</p>
|
|
2393
2651
|
*/
|
|
2394
2652
|
CodeSigningConfig: CodeSigningConfig | undefined;
|
|
@@ -2398,6 +2656,7 @@ export interface GetCodeSigningConfigResponse {
|
|
|
2398
2656
|
*/
|
|
2399
2657
|
export interface GetEventSourceMappingRequest {
|
|
2400
2658
|
/**
|
|
2659
|
+
* @public
|
|
2401
2660
|
* <p>The identifier of the event source mapping.</p>
|
|
2402
2661
|
*/
|
|
2403
2662
|
UUID: string | undefined;
|
|
@@ -2407,6 +2666,7 @@ export interface GetEventSourceMappingRequest {
|
|
|
2407
2666
|
*/
|
|
2408
2667
|
export interface GetFunctionRequest {
|
|
2409
2668
|
/**
|
|
2669
|
+
* @public
|
|
2410
2670
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
2411
2671
|
* <p class="title">
|
|
2412
2672
|
* <b>Name formats</b>
|
|
@@ -2430,6 +2690,7 @@ export interface GetFunctionRequest {
|
|
|
2430
2690
|
*/
|
|
2431
2691
|
FunctionName: string | undefined;
|
|
2432
2692
|
/**
|
|
2693
|
+
* @public
|
|
2433
2694
|
* <p>Specify a version or alias to get details about a published version of the function.</p>
|
|
2434
2695
|
*/
|
|
2435
2696
|
Qualifier?: string;
|
|
@@ -2440,18 +2701,22 @@ export interface GetFunctionRequest {
|
|
|
2440
2701
|
*/
|
|
2441
2702
|
export interface FunctionCodeLocation {
|
|
2442
2703
|
/**
|
|
2704
|
+
* @public
|
|
2443
2705
|
* <p>The service that's hosting the file.</p>
|
|
2444
2706
|
*/
|
|
2445
2707
|
RepositoryType?: string;
|
|
2446
2708
|
/**
|
|
2709
|
+
* @public
|
|
2447
2710
|
* <p>A presigned URL that you can use to download the deployment package.</p>
|
|
2448
2711
|
*/
|
|
2449
2712
|
Location?: string;
|
|
2450
2713
|
/**
|
|
2714
|
+
* @public
|
|
2451
2715
|
* <p>URI of a container image in the Amazon ECR registry.</p>
|
|
2452
2716
|
*/
|
|
2453
2717
|
ImageUri?: string;
|
|
2454
2718
|
/**
|
|
2719
|
+
* @public
|
|
2455
2720
|
* <p>The resolved URI for the image.</p>
|
|
2456
2721
|
*/
|
|
2457
2722
|
ResolvedImageUri?: string;
|
|
@@ -2461,6 +2726,7 @@ export interface FunctionCodeLocation {
|
|
|
2461
2726
|
*/
|
|
2462
2727
|
export interface Concurrency {
|
|
2463
2728
|
/**
|
|
2729
|
+
* @public
|
|
2464
2730
|
* <p>The number of concurrent executions that are reserved for this function. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html">Managing Lambda reserved
|
|
2465
2731
|
* concurrency</a>.</p>
|
|
2466
2732
|
*/
|
|
@@ -2471,18 +2737,22 @@ export interface Concurrency {
|
|
|
2471
2737
|
*/
|
|
2472
2738
|
export interface GetFunctionResponse {
|
|
2473
2739
|
/**
|
|
2740
|
+
* @public
|
|
2474
2741
|
* <p>The configuration of the function or version.</p>
|
|
2475
2742
|
*/
|
|
2476
2743
|
Configuration?: FunctionConfiguration;
|
|
2477
2744
|
/**
|
|
2745
|
+
* @public
|
|
2478
2746
|
* <p>The deployment package of the function or version.</p>
|
|
2479
2747
|
*/
|
|
2480
2748
|
Code?: FunctionCodeLocation;
|
|
2481
2749
|
/**
|
|
2750
|
+
* @public
|
|
2482
2751
|
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>.</p>
|
|
2483
2752
|
*/
|
|
2484
2753
|
Tags?: Record<string, string>;
|
|
2485
2754
|
/**
|
|
2755
|
+
* @public
|
|
2486
2756
|
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html">reserved
|
|
2487
2757
|
* concurrency</a>.</p>
|
|
2488
2758
|
*/
|
|
@@ -2493,6 +2763,7 @@ export interface GetFunctionResponse {
|
|
|
2493
2763
|
*/
|
|
2494
2764
|
export interface GetFunctionCodeSigningConfigRequest {
|
|
2495
2765
|
/**
|
|
2766
|
+
* @public
|
|
2496
2767
|
* <p>The name of the Lambda function.</p>
|
|
2497
2768
|
* <p class="title">
|
|
2498
2769
|
* <b>Name formats</b>
|
|
@@ -2521,10 +2792,12 @@ export interface GetFunctionCodeSigningConfigRequest {
|
|
|
2521
2792
|
*/
|
|
2522
2793
|
export interface GetFunctionCodeSigningConfigResponse {
|
|
2523
2794
|
/**
|
|
2795
|
+
* @public
|
|
2524
2796
|
* <p>The The Amazon Resource Name (ARN) of the code signing configuration.</p>
|
|
2525
2797
|
*/
|
|
2526
2798
|
CodeSigningConfigArn: string | undefined;
|
|
2527
2799
|
/**
|
|
2800
|
+
* @public
|
|
2528
2801
|
* <p>The name of the Lambda function.</p>
|
|
2529
2802
|
* <p class="title">
|
|
2530
2803
|
* <b>Name formats</b>
|
|
@@ -2553,6 +2826,7 @@ export interface GetFunctionCodeSigningConfigResponse {
|
|
|
2553
2826
|
*/
|
|
2554
2827
|
export interface GetFunctionConcurrencyRequest {
|
|
2555
2828
|
/**
|
|
2829
|
+
* @public
|
|
2556
2830
|
* <p>The name of the Lambda function.</p>
|
|
2557
2831
|
* <p class="title">
|
|
2558
2832
|
* <b>Name formats</b>
|
|
@@ -2581,6 +2855,7 @@ export interface GetFunctionConcurrencyRequest {
|
|
|
2581
2855
|
*/
|
|
2582
2856
|
export interface GetFunctionConcurrencyResponse {
|
|
2583
2857
|
/**
|
|
2858
|
+
* @public
|
|
2584
2859
|
* <p>The number of simultaneous executions that are reserved for the function.</p>
|
|
2585
2860
|
*/
|
|
2586
2861
|
ReservedConcurrentExecutions?: number;
|
|
@@ -2590,6 +2865,7 @@ export interface GetFunctionConcurrencyResponse {
|
|
|
2590
2865
|
*/
|
|
2591
2866
|
export interface GetFunctionConfigurationRequest {
|
|
2592
2867
|
/**
|
|
2868
|
+
* @public
|
|
2593
2869
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
2594
2870
|
* <p class="title">
|
|
2595
2871
|
* <b>Name formats</b>
|
|
@@ -2613,6 +2889,7 @@ export interface GetFunctionConfigurationRequest {
|
|
|
2613
2889
|
*/
|
|
2614
2890
|
FunctionName: string | undefined;
|
|
2615
2891
|
/**
|
|
2892
|
+
* @public
|
|
2616
2893
|
* <p>Specify a version or alias to get details about a published version of the function.</p>
|
|
2617
2894
|
*/
|
|
2618
2895
|
Qualifier?: string;
|
|
@@ -2622,22 +2899,27 @@ export interface GetFunctionConfigurationRequest {
|
|
|
2622
2899
|
*/
|
|
2623
2900
|
export interface FunctionEventInvokeConfig {
|
|
2624
2901
|
/**
|
|
2902
|
+
* @public
|
|
2625
2903
|
* <p>The date and time that the configuration was last updated.</p>
|
|
2626
2904
|
*/
|
|
2627
2905
|
LastModified?: Date;
|
|
2628
2906
|
/**
|
|
2907
|
+
* @public
|
|
2629
2908
|
* <p>The Amazon Resource Name (ARN) of the function.</p>
|
|
2630
2909
|
*/
|
|
2631
2910
|
FunctionArn?: string;
|
|
2632
2911
|
/**
|
|
2912
|
+
* @public
|
|
2633
2913
|
* <p>The maximum number of times to retry when the function returns an error.</p>
|
|
2634
2914
|
*/
|
|
2635
2915
|
MaximumRetryAttempts?: number;
|
|
2636
2916
|
/**
|
|
2917
|
+
* @public
|
|
2637
2918
|
* <p>The maximum age of a request that Lambda sends to a function for processing.</p>
|
|
2638
2919
|
*/
|
|
2639
2920
|
MaximumEventAgeInSeconds?: number;
|
|
2640
2921
|
/**
|
|
2922
|
+
* @public
|
|
2641
2923
|
* <p>A destination for events after they have been sent to a function for processing.</p>
|
|
2642
2924
|
* <p class="title">
|
|
2643
2925
|
* <b>Destinations</b>
|
|
@@ -2668,6 +2950,7 @@ export interface FunctionEventInvokeConfig {
|
|
|
2668
2950
|
*/
|
|
2669
2951
|
export interface GetFunctionEventInvokeConfigRequest {
|
|
2670
2952
|
/**
|
|
2953
|
+
* @public
|
|
2671
2954
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
2672
2955
|
* <p class="title">
|
|
2673
2956
|
* <b>Name formats</b>
|
|
@@ -2691,6 +2974,7 @@ export interface GetFunctionEventInvokeConfigRequest {
|
|
|
2691
2974
|
*/
|
|
2692
2975
|
FunctionName: string | undefined;
|
|
2693
2976
|
/**
|
|
2977
|
+
* @public
|
|
2694
2978
|
* <p>A version number or alias name.</p>
|
|
2695
2979
|
*/
|
|
2696
2980
|
Qualifier?: string;
|
|
@@ -2700,6 +2984,7 @@ export interface GetFunctionEventInvokeConfigRequest {
|
|
|
2700
2984
|
*/
|
|
2701
2985
|
export interface GetFunctionUrlConfigRequest {
|
|
2702
2986
|
/**
|
|
2987
|
+
* @public
|
|
2703
2988
|
* <p>The name of the Lambda function.</p>
|
|
2704
2989
|
* <p class="title">
|
|
2705
2990
|
* <b>Name formats</b>
|
|
@@ -2723,6 +3008,7 @@ export interface GetFunctionUrlConfigRequest {
|
|
|
2723
3008
|
*/
|
|
2724
3009
|
FunctionName: string | undefined;
|
|
2725
3010
|
/**
|
|
3011
|
+
* @public
|
|
2726
3012
|
* <p>The alias name.</p>
|
|
2727
3013
|
*/
|
|
2728
3014
|
Qualifier?: string;
|
|
@@ -2732,33 +3018,40 @@ export interface GetFunctionUrlConfigRequest {
|
|
|
2732
3018
|
*/
|
|
2733
3019
|
export interface GetFunctionUrlConfigResponse {
|
|
2734
3020
|
/**
|
|
3021
|
+
* @public
|
|
2735
3022
|
* <p>The HTTP URL endpoint for your function.</p>
|
|
2736
3023
|
*/
|
|
2737
3024
|
FunctionUrl: string | undefined;
|
|
2738
3025
|
/**
|
|
3026
|
+
* @public
|
|
2739
3027
|
* <p>The Amazon Resource Name (ARN) of your function.</p>
|
|
2740
3028
|
*/
|
|
2741
3029
|
FunctionArn: string | undefined;
|
|
2742
3030
|
/**
|
|
3031
|
+
* @public
|
|
2743
3032
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
2744
3033
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
2745
3034
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
2746
3035
|
*/
|
|
2747
3036
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
2748
3037
|
/**
|
|
3038
|
+
* @public
|
|
2749
3039
|
* <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
|
|
2750
3040
|
* for your function URL.</p>
|
|
2751
3041
|
*/
|
|
2752
3042
|
Cors?: Cors;
|
|
2753
3043
|
/**
|
|
3044
|
+
* @public
|
|
2754
3045
|
* <p>When the function URL was created, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
2755
3046
|
*/
|
|
2756
3047
|
CreationTime: string | undefined;
|
|
2757
3048
|
/**
|
|
3049
|
+
* @public
|
|
2758
3050
|
* <p>When the function URL configuration was last updated, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
2759
3051
|
*/
|
|
2760
3052
|
LastModifiedTime: string | undefined;
|
|
2761
3053
|
/**
|
|
3054
|
+
* @public
|
|
2762
3055
|
* <p>Use one of the following options:</p>
|
|
2763
3056
|
* <ul>
|
|
2764
3057
|
* <li>
|
|
@@ -2780,10 +3073,12 @@ export interface GetFunctionUrlConfigResponse {
|
|
|
2780
3073
|
*/
|
|
2781
3074
|
export interface GetLayerVersionRequest {
|
|
2782
3075
|
/**
|
|
3076
|
+
* @public
|
|
2783
3077
|
* <p>The name or Amazon Resource Name (ARN) of the layer.</p>
|
|
2784
3078
|
*/
|
|
2785
3079
|
LayerName: string | undefined;
|
|
2786
3080
|
/**
|
|
3081
|
+
* @public
|
|
2787
3082
|
* <p>The version number.</p>
|
|
2788
3083
|
*/
|
|
2789
3084
|
VersionNumber: number | undefined;
|
|
@@ -2795,22 +3090,27 @@ export interface GetLayerVersionRequest {
|
|
|
2795
3090
|
*/
|
|
2796
3091
|
export interface LayerVersionContentOutput {
|
|
2797
3092
|
/**
|
|
3093
|
+
* @public
|
|
2798
3094
|
* <p>A link to the layer archive in Amazon S3 that is valid for 10 minutes.</p>
|
|
2799
3095
|
*/
|
|
2800
3096
|
Location?: string;
|
|
2801
3097
|
/**
|
|
3098
|
+
* @public
|
|
2802
3099
|
* <p>The SHA-256 hash of the layer archive.</p>
|
|
2803
3100
|
*/
|
|
2804
3101
|
CodeSha256?: string;
|
|
2805
3102
|
/**
|
|
3103
|
+
* @public
|
|
2806
3104
|
* <p>The size of the layer archive in bytes.</p>
|
|
2807
3105
|
*/
|
|
2808
3106
|
CodeSize?: number;
|
|
2809
3107
|
/**
|
|
3108
|
+
* @public
|
|
2810
3109
|
* <p>The Amazon Resource Name (ARN) for a signing profile version.</p>
|
|
2811
3110
|
*/
|
|
2812
3111
|
SigningProfileVersionArn?: string;
|
|
2813
3112
|
/**
|
|
3113
|
+
* @public
|
|
2814
3114
|
* <p>The Amazon Resource Name (ARN) of a signing job.</p>
|
|
2815
3115
|
*/
|
|
2816
3116
|
SigningJobArn?: string;
|
|
@@ -2820,39 +3120,48 @@ export interface LayerVersionContentOutput {
|
|
|
2820
3120
|
*/
|
|
2821
3121
|
export interface GetLayerVersionResponse {
|
|
2822
3122
|
/**
|
|
3123
|
+
* @public
|
|
2823
3124
|
* <p>Details about the layer version.</p>
|
|
2824
3125
|
*/
|
|
2825
3126
|
Content?: LayerVersionContentOutput;
|
|
2826
3127
|
/**
|
|
3128
|
+
* @public
|
|
2827
3129
|
* <p>The ARN of the layer.</p>
|
|
2828
3130
|
*/
|
|
2829
3131
|
LayerArn?: string;
|
|
2830
3132
|
/**
|
|
3133
|
+
* @public
|
|
2831
3134
|
* <p>The ARN of the layer version.</p>
|
|
2832
3135
|
*/
|
|
2833
3136
|
LayerVersionArn?: string;
|
|
2834
3137
|
/**
|
|
3138
|
+
* @public
|
|
2835
3139
|
* <p>The description of the version.</p>
|
|
2836
3140
|
*/
|
|
2837
3141
|
Description?: string;
|
|
2838
3142
|
/**
|
|
3143
|
+
* @public
|
|
2839
3144
|
* <p>The date that the layer version was created, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
2840
3145
|
*/
|
|
2841
3146
|
CreatedDate?: string;
|
|
2842
3147
|
/**
|
|
3148
|
+
* @public
|
|
2843
3149
|
* <p>The version number.</p>
|
|
2844
3150
|
*/
|
|
2845
3151
|
Version?: number;
|
|
2846
3152
|
/**
|
|
3153
|
+
* @public
|
|
2847
3154
|
* <p>The layer's compatible runtimes.</p>
|
|
2848
3155
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
2849
3156
|
*/
|
|
2850
3157
|
CompatibleRuntimes?: (Runtime | string)[];
|
|
2851
3158
|
/**
|
|
3159
|
+
* @public
|
|
2852
3160
|
* <p>The layer's software license.</p>
|
|
2853
3161
|
*/
|
|
2854
3162
|
LicenseInfo?: string;
|
|
2855
3163
|
/**
|
|
3164
|
+
* @public
|
|
2856
3165
|
* <p>A list of compatible
|
|
2857
3166
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
|
|
2858
3167
|
*/
|
|
@@ -2863,6 +3172,7 @@ export interface GetLayerVersionResponse {
|
|
|
2863
3172
|
*/
|
|
2864
3173
|
export interface GetLayerVersionByArnRequest {
|
|
2865
3174
|
/**
|
|
3175
|
+
* @public
|
|
2866
3176
|
* <p>The ARN of the layer version.</p>
|
|
2867
3177
|
*/
|
|
2868
3178
|
Arn: string | undefined;
|
|
@@ -2872,10 +3182,12 @@ export interface GetLayerVersionByArnRequest {
|
|
|
2872
3182
|
*/
|
|
2873
3183
|
export interface GetLayerVersionPolicyRequest {
|
|
2874
3184
|
/**
|
|
3185
|
+
* @public
|
|
2875
3186
|
* <p>The name or Amazon Resource Name (ARN) of the layer.</p>
|
|
2876
3187
|
*/
|
|
2877
3188
|
LayerName: string | undefined;
|
|
2878
3189
|
/**
|
|
3190
|
+
* @public
|
|
2879
3191
|
* <p>The version number.</p>
|
|
2880
3192
|
*/
|
|
2881
3193
|
VersionNumber: number | undefined;
|
|
@@ -2885,10 +3197,12 @@ export interface GetLayerVersionPolicyRequest {
|
|
|
2885
3197
|
*/
|
|
2886
3198
|
export interface GetLayerVersionPolicyResponse {
|
|
2887
3199
|
/**
|
|
3200
|
+
* @public
|
|
2888
3201
|
* <p>The policy document.</p>
|
|
2889
3202
|
*/
|
|
2890
3203
|
Policy?: string;
|
|
2891
3204
|
/**
|
|
3205
|
+
* @public
|
|
2892
3206
|
* <p>A unique identifier for the current revision of the policy.</p>
|
|
2893
3207
|
*/
|
|
2894
3208
|
RevisionId?: string;
|
|
@@ -2898,6 +3212,7 @@ export interface GetLayerVersionPolicyResponse {
|
|
|
2898
3212
|
*/
|
|
2899
3213
|
export interface GetPolicyRequest {
|
|
2900
3214
|
/**
|
|
3215
|
+
* @public
|
|
2901
3216
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
2902
3217
|
* <p class="title">
|
|
2903
3218
|
* <b>Name formats</b>
|
|
@@ -2921,6 +3236,7 @@ export interface GetPolicyRequest {
|
|
|
2921
3236
|
*/
|
|
2922
3237
|
FunctionName: string | undefined;
|
|
2923
3238
|
/**
|
|
3239
|
+
* @public
|
|
2924
3240
|
* <p>Specify a version or alias to get the policy for that resource.</p>
|
|
2925
3241
|
*/
|
|
2926
3242
|
Qualifier?: string;
|
|
@@ -2930,10 +3246,12 @@ export interface GetPolicyRequest {
|
|
|
2930
3246
|
*/
|
|
2931
3247
|
export interface GetPolicyResponse {
|
|
2932
3248
|
/**
|
|
3249
|
+
* @public
|
|
2933
3250
|
* <p>The resource-based policy.</p>
|
|
2934
3251
|
*/
|
|
2935
3252
|
Policy?: string;
|
|
2936
3253
|
/**
|
|
3254
|
+
* @public
|
|
2937
3255
|
* <p>A unique identifier for the current revision of the policy.</p>
|
|
2938
3256
|
*/
|
|
2939
3257
|
RevisionId?: string;
|
|
@@ -2943,6 +3261,7 @@ export interface GetPolicyResponse {
|
|
|
2943
3261
|
*/
|
|
2944
3262
|
export interface GetProvisionedConcurrencyConfigRequest {
|
|
2945
3263
|
/**
|
|
3264
|
+
* @public
|
|
2946
3265
|
* <p>The name of the Lambda function.</p>
|
|
2947
3266
|
* <p class="title">
|
|
2948
3267
|
* <b>Name formats</b>
|
|
@@ -2966,6 +3285,7 @@ export interface GetProvisionedConcurrencyConfigRequest {
|
|
|
2966
3285
|
*/
|
|
2967
3286
|
FunctionName: string | undefined;
|
|
2968
3287
|
/**
|
|
3288
|
+
* @public
|
|
2969
3289
|
* <p>The version number or alias name.</p>
|
|
2970
3290
|
*/
|
|
2971
3291
|
Qualifier: string | undefined;
|
|
@@ -2988,26 +3308,32 @@ export type ProvisionedConcurrencyStatusEnum = (typeof ProvisionedConcurrencySta
|
|
|
2988
3308
|
*/
|
|
2989
3309
|
export interface GetProvisionedConcurrencyConfigResponse {
|
|
2990
3310
|
/**
|
|
3311
|
+
* @public
|
|
2991
3312
|
* <p>The amount of provisioned concurrency requested.</p>
|
|
2992
3313
|
*/
|
|
2993
3314
|
RequestedProvisionedConcurrentExecutions?: number;
|
|
2994
3315
|
/**
|
|
3316
|
+
* @public
|
|
2995
3317
|
* <p>The amount of provisioned concurrency available.</p>
|
|
2996
3318
|
*/
|
|
2997
3319
|
AvailableProvisionedConcurrentExecutions?: number;
|
|
2998
3320
|
/**
|
|
3321
|
+
* @public
|
|
2999
3322
|
* <p>The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.</p>
|
|
3000
3323
|
*/
|
|
3001
3324
|
AllocatedProvisionedConcurrentExecutions?: number;
|
|
3002
3325
|
/**
|
|
3326
|
+
* @public
|
|
3003
3327
|
* <p>The status of the allocation process.</p>
|
|
3004
3328
|
*/
|
|
3005
3329
|
Status?: ProvisionedConcurrencyStatusEnum | string;
|
|
3006
3330
|
/**
|
|
3331
|
+
* @public
|
|
3007
3332
|
* <p>For failed allocations, the reason that provisioned concurrency could not be allocated.</p>
|
|
3008
3333
|
*/
|
|
3009
3334
|
StatusReason?: string;
|
|
3010
3335
|
/**
|
|
3336
|
+
* @public
|
|
3011
3337
|
* <p>The date and time that a user last updated the configuration, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format</a>.</p>
|
|
3012
3338
|
*/
|
|
3013
3339
|
LastModified?: string;
|
|
@@ -3030,6 +3356,7 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends __Bas
|
|
|
3030
3356
|
*/
|
|
3031
3357
|
export interface GetRuntimeManagementConfigRequest {
|
|
3032
3358
|
/**
|
|
3359
|
+
* @public
|
|
3033
3360
|
* <p>The name of the Lambda function.</p>
|
|
3034
3361
|
* <p class="title">
|
|
3035
3362
|
* <b>Name formats</b>
|
|
@@ -3053,6 +3380,7 @@ export interface GetRuntimeManagementConfigRequest {
|
|
|
3053
3380
|
*/
|
|
3054
3381
|
FunctionName: string | undefined;
|
|
3055
3382
|
/**
|
|
3383
|
+
* @public
|
|
3056
3384
|
* <p>Specify a version of the function. This can be <code>$LATEST</code> or a published version number. If no value is specified, the configuration for the
|
|
3057
3385
|
* <code>$LATEST</code> version is returned.</p>
|
|
3058
3386
|
*/
|
|
@@ -3076,15 +3404,18 @@ export type UpdateRuntimeOn = (typeof UpdateRuntimeOn)[keyof typeof UpdateRuntim
|
|
|
3076
3404
|
*/
|
|
3077
3405
|
export interface GetRuntimeManagementConfigResponse {
|
|
3078
3406
|
/**
|
|
3407
|
+
* @public
|
|
3079
3408
|
* <p>The current runtime update mode of the function.</p>
|
|
3080
3409
|
*/
|
|
3081
3410
|
UpdateRuntimeOn?: UpdateRuntimeOn | string;
|
|
3082
3411
|
/**
|
|
3412
|
+
* @public
|
|
3083
3413
|
* <p>The ARN of the runtime the function is configured to use. If the runtime update mode is <b>Manual</b>, the ARN is returned, otherwise <code>null</code>
|
|
3084
3414
|
* is returned.</p>
|
|
3085
3415
|
*/
|
|
3086
3416
|
RuntimeVersionArn?: string;
|
|
3087
3417
|
/**
|
|
3418
|
+
* @public
|
|
3088
3419
|
* <p>The Amazon Resource Name (ARN) of your function.</p>
|
|
3089
3420
|
*/
|
|
3090
3421
|
FunctionArn?: string;
|
|
@@ -3216,6 +3547,7 @@ export declare class InvalidRequestContentException extends __BaseException {
|
|
|
3216
3547
|
readonly name: "InvalidRequestContentException";
|
|
3217
3548
|
readonly $fault: "client";
|
|
3218
3549
|
/**
|
|
3550
|
+
* @public
|
|
3219
3551
|
* <p>The exception type.</p>
|
|
3220
3552
|
*/
|
|
3221
3553
|
Type?: string;
|
|
@@ -3310,6 +3642,7 @@ export type LogType = (typeof LogType)[keyof typeof LogType];
|
|
|
3310
3642
|
*/
|
|
3311
3643
|
export interface InvocationRequest {
|
|
3312
3644
|
/**
|
|
3645
|
+
* @public
|
|
3313
3646
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
3314
3647
|
* <p class="title">
|
|
3315
3648
|
* <b>Name formats</b>
|
|
@@ -3333,6 +3666,7 @@ export interface InvocationRequest {
|
|
|
3333
3666
|
*/
|
|
3334
3667
|
FunctionName: string | undefined;
|
|
3335
3668
|
/**
|
|
3669
|
+
* @public
|
|
3336
3670
|
* <p>Choose from the following options.</p>
|
|
3337
3671
|
* <ul>
|
|
3338
3672
|
* <li>
|
|
@@ -3355,21 +3689,25 @@ export interface InvocationRequest {
|
|
|
3355
3689
|
*/
|
|
3356
3690
|
InvocationType?: InvocationType | string;
|
|
3357
3691
|
/**
|
|
3692
|
+
* @public
|
|
3358
3693
|
* <p>Set to <code>Tail</code> to include the execution log in the response. Applies to synchronously invoked functions only.</p>
|
|
3359
3694
|
*/
|
|
3360
3695
|
LogType?: LogType | string;
|
|
3361
3696
|
/**
|
|
3697
|
+
* @public
|
|
3362
3698
|
* <p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context
|
|
3363
3699
|
* object.</p>
|
|
3364
3700
|
*/
|
|
3365
3701
|
ClientContext?: string;
|
|
3366
3702
|
/**
|
|
3703
|
+
* @public
|
|
3367
3704
|
* <p>The JSON that you want to provide to your Lambda function as input.</p>
|
|
3368
3705
|
* <p>You can enter the JSON directly. For example, <code>--payload '\{ "key": "value" \}'</code>. You can also
|
|
3369
3706
|
* specify a file path. For example, <code>--payload file://payload.json</code>.</p>
|
|
3370
3707
|
*/
|
|
3371
3708
|
Payload?: Uint8Array;
|
|
3372
3709
|
/**
|
|
3710
|
+
* @public
|
|
3373
3711
|
* <p>Specify a version or alias to invoke a published version of the function.</p>
|
|
3374
3712
|
*/
|
|
3375
3713
|
Qualifier?: string;
|
|
@@ -3379,25 +3717,30 @@ export interface InvocationRequest {
|
|
|
3379
3717
|
*/
|
|
3380
3718
|
export interface InvocationResponse {
|
|
3381
3719
|
/**
|
|
3720
|
+
* @public
|
|
3382
3721
|
* <p>The HTTP status code is in the 200 range for a successful request. For the <code>RequestResponse</code>
|
|
3383
3722
|
* invocation type, this status code is 200. For the <code>Event</code> invocation type, this status code is 202. For
|
|
3384
3723
|
* the <code>DryRun</code> invocation type, the status code is 204.</p>
|
|
3385
3724
|
*/
|
|
3386
3725
|
StatusCode?: number;
|
|
3387
3726
|
/**
|
|
3727
|
+
* @public
|
|
3388
3728
|
* <p>If present, indicates that an error occurred during function execution. Details about the error are included
|
|
3389
3729
|
* in the response payload.</p>
|
|
3390
3730
|
*/
|
|
3391
3731
|
FunctionError?: string;
|
|
3392
3732
|
/**
|
|
3733
|
+
* @public
|
|
3393
3734
|
* <p>The last 4 KB of the execution log, which is base64-encoded.</p>
|
|
3394
3735
|
*/
|
|
3395
3736
|
LogResult?: string;
|
|
3396
3737
|
/**
|
|
3738
|
+
* @public
|
|
3397
3739
|
* <p>The response from the function, or an error object.</p>
|
|
3398
3740
|
*/
|
|
3399
3741
|
Payload?: Uint8Array;
|
|
3400
3742
|
/**
|
|
3743
|
+
* @public
|
|
3401
3744
|
* <p>The version of the function that executed. When you invoke a function with an alias, this indicates which
|
|
3402
3745
|
* version the alias resolved to.</p>
|
|
3403
3746
|
*/
|
|
@@ -3470,10 +3813,12 @@ export declare class RecursiveInvocationException extends __BaseException {
|
|
|
3470
3813
|
readonly name: "RecursiveInvocationException";
|
|
3471
3814
|
readonly $fault: "client";
|
|
3472
3815
|
/**
|
|
3816
|
+
* @public
|
|
3473
3817
|
* <p>The exception type.</p>
|
|
3474
3818
|
*/
|
|
3475
3819
|
Type?: string;
|
|
3476
3820
|
/**
|
|
3821
|
+
* @public
|
|
3477
3822
|
* <p>The exception message.</p>
|
|
3478
3823
|
*/
|
|
3479
3824
|
Message?: string;
|
|
@@ -3505,6 +3850,7 @@ export declare class ResourceNotReadyException extends __BaseException {
|
|
|
3505
3850
|
readonly name: "ResourceNotReadyException";
|
|
3506
3851
|
readonly $fault: "server";
|
|
3507
3852
|
/**
|
|
3853
|
+
* @public
|
|
3508
3854
|
* <p>The exception type.</p>
|
|
3509
3855
|
*/
|
|
3510
3856
|
Type?: string;
|
|
@@ -3589,6 +3935,7 @@ export declare class UnsupportedMediaTypeException extends __BaseException {
|
|
|
3589
3935
|
*/
|
|
3590
3936
|
export interface InvokeAsyncRequest {
|
|
3591
3937
|
/**
|
|
3938
|
+
* @public
|
|
3592
3939
|
* <p>The name of the Lambda function.</p>
|
|
3593
3940
|
* <p class="title">
|
|
3594
3941
|
* <b>Name formats</b>
|
|
@@ -3612,6 +3959,7 @@ export interface InvokeAsyncRequest {
|
|
|
3612
3959
|
*/
|
|
3613
3960
|
FunctionName: string | undefined;
|
|
3614
3961
|
/**
|
|
3962
|
+
* @public
|
|
3615
3963
|
* <p>The JSON that you want to provide to your Lambda function as input.</p>
|
|
3616
3964
|
*/
|
|
3617
3965
|
InvokeArgs: StreamingBlobTypes | undefined;
|
|
@@ -3624,6 +3972,7 @@ export interface InvokeAsyncRequest {
|
|
|
3624
3972
|
*/
|
|
3625
3973
|
export interface InvokeAsyncResponse {
|
|
3626
3974
|
/**
|
|
3975
|
+
* @public
|
|
3627
3976
|
* <p>The status code.</p>
|
|
3628
3977
|
*/
|
|
3629
3978
|
Status?: number;
|
|
@@ -3645,6 +3994,7 @@ export type ResponseStreamingInvocationType = (typeof ResponseStreamingInvocatio
|
|
|
3645
3994
|
*/
|
|
3646
3995
|
export interface InvokeWithResponseStreamRequest {
|
|
3647
3996
|
/**
|
|
3997
|
+
* @public
|
|
3648
3998
|
* <p>The name of the Lambda function.</p>
|
|
3649
3999
|
* <p class="title">
|
|
3650
4000
|
* <b>Name formats</b>
|
|
@@ -3668,6 +4018,7 @@ export interface InvokeWithResponseStreamRequest {
|
|
|
3668
4018
|
*/
|
|
3669
4019
|
FunctionName: string | undefined;
|
|
3670
4020
|
/**
|
|
4021
|
+
* @public
|
|
3671
4022
|
* <p>Use one of the following options:</p>
|
|
3672
4023
|
* <ul>
|
|
3673
4024
|
* <li>
|
|
@@ -3685,19 +4036,23 @@ export interface InvokeWithResponseStreamRequest {
|
|
|
3685
4036
|
*/
|
|
3686
4037
|
InvocationType?: ResponseStreamingInvocationType | string;
|
|
3687
4038
|
/**
|
|
4039
|
+
* @public
|
|
3688
4040
|
* <p>Set to <code>Tail</code> to include the execution log in the response. Applies to synchronously invoked functions only.</p>
|
|
3689
4041
|
*/
|
|
3690
4042
|
LogType?: LogType | string;
|
|
3691
4043
|
/**
|
|
4044
|
+
* @public
|
|
3692
4045
|
* <p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context
|
|
3693
4046
|
* object.</p>
|
|
3694
4047
|
*/
|
|
3695
4048
|
ClientContext?: string;
|
|
3696
4049
|
/**
|
|
4050
|
+
* @public
|
|
3697
4051
|
* <p>The alias name.</p>
|
|
3698
4052
|
*/
|
|
3699
4053
|
Qualifier?: string;
|
|
3700
4054
|
/**
|
|
4055
|
+
* @public
|
|
3701
4056
|
* <p>The JSON that you want to provide to your Lambda function as input.</p>
|
|
3702
4057
|
* <p>You can enter the JSON directly. For example, <code>--payload '\{ "key": "value" \}'</code>. You can also
|
|
3703
4058
|
* specify a file path. For example, <code>--payload file://payload.json</code>.</p>
|
|
@@ -3710,14 +4065,17 @@ export interface InvokeWithResponseStreamRequest {
|
|
|
3710
4065
|
*/
|
|
3711
4066
|
export interface InvokeWithResponseStreamCompleteEvent {
|
|
3712
4067
|
/**
|
|
4068
|
+
* @public
|
|
3713
4069
|
* <p>An error code.</p>
|
|
3714
4070
|
*/
|
|
3715
4071
|
ErrorCode?: string;
|
|
3716
4072
|
/**
|
|
4073
|
+
* @public
|
|
3717
4074
|
* <p>The details of any returned error.</p>
|
|
3718
4075
|
*/
|
|
3719
4076
|
ErrorDetails?: string;
|
|
3720
4077
|
/**
|
|
4078
|
+
* @public
|
|
3721
4079
|
* <p>The last 4 KB of the execution log, which is base64-encoded.</p>
|
|
3722
4080
|
*/
|
|
3723
4081
|
LogResult?: string;
|
|
@@ -3728,6 +4086,7 @@ export interface InvokeWithResponseStreamCompleteEvent {
|
|
|
3728
4086
|
*/
|
|
3729
4087
|
export interface InvokeResponseStreamUpdate {
|
|
3730
4088
|
/**
|
|
4089
|
+
* @public
|
|
3731
4090
|
* <p>Data returned by your Lambda function.</p>
|
|
3732
4091
|
*/
|
|
3733
4092
|
Payload?: Uint8Array;
|
|
@@ -3742,6 +4101,7 @@ export type InvokeWithResponseStreamResponseEvent = InvokeWithResponseStreamResp
|
|
|
3742
4101
|
*/
|
|
3743
4102
|
export declare namespace InvokeWithResponseStreamResponseEvent {
|
|
3744
4103
|
/**
|
|
4104
|
+
* @public
|
|
3745
4105
|
* <p>A chunk of the streamed response payload.</p>
|
|
3746
4106
|
*/
|
|
3747
4107
|
interface PayloadChunkMember {
|
|
@@ -3750,6 +4110,7 @@ export declare namespace InvokeWithResponseStreamResponseEvent {
|
|
|
3750
4110
|
$unknown?: never;
|
|
3751
4111
|
}
|
|
3752
4112
|
/**
|
|
4113
|
+
* @public
|
|
3753
4114
|
* <p>An object that's returned when the stream has ended and all the payload chunks have been
|
|
3754
4115
|
* returned.</p>
|
|
3755
4116
|
*/
|
|
@@ -3758,6 +4119,9 @@ export declare namespace InvokeWithResponseStreamResponseEvent {
|
|
|
3758
4119
|
InvokeComplete: InvokeWithResponseStreamCompleteEvent;
|
|
3759
4120
|
$unknown?: never;
|
|
3760
4121
|
}
|
|
4122
|
+
/**
|
|
4123
|
+
* @public
|
|
4124
|
+
*/
|
|
3761
4125
|
interface $UnknownMember {
|
|
3762
4126
|
PayloadChunk?: never;
|
|
3763
4127
|
InvokeComplete?: never;
|
|
@@ -3775,21 +4139,25 @@ export declare namespace InvokeWithResponseStreamResponseEvent {
|
|
|
3775
4139
|
*/
|
|
3776
4140
|
export interface InvokeWithResponseStreamResponse {
|
|
3777
4141
|
/**
|
|
4142
|
+
* @public
|
|
3778
4143
|
* <p>For a successful request, the HTTP status code is in the 200 range. For the
|
|
3779
4144
|
* <code>RequestResponse</code> invocation type, this status code is 200. For the <code>DryRun</code>
|
|
3780
4145
|
* invocation type, this status code is 204.</p>
|
|
3781
4146
|
*/
|
|
3782
4147
|
StatusCode?: number;
|
|
3783
4148
|
/**
|
|
4149
|
+
* @public
|
|
3784
4150
|
* <p>The version of the function that executed. When you invoke a function with an alias, this
|
|
3785
4151
|
* indicates which version the alias resolved to.</p>
|
|
3786
4152
|
*/
|
|
3787
4153
|
ExecutedVersion?: string;
|
|
3788
4154
|
/**
|
|
4155
|
+
* @public
|
|
3789
4156
|
* <p>The stream of response payloads.</p>
|
|
3790
4157
|
*/
|
|
3791
4158
|
EventStream?: AsyncIterable<InvokeWithResponseStreamResponseEvent>;
|
|
3792
4159
|
/**
|
|
4160
|
+
* @public
|
|
3793
4161
|
* <p>The type of data the stream is returning.</p>
|
|
3794
4162
|
*/
|
|
3795
4163
|
ResponseStreamContentType?: string;
|
|
@@ -3799,6 +4167,7 @@ export interface InvokeWithResponseStreamResponse {
|
|
|
3799
4167
|
*/
|
|
3800
4168
|
export interface ListAliasesRequest {
|
|
3801
4169
|
/**
|
|
4170
|
+
* @public
|
|
3802
4171
|
* <p>The name of the Lambda function.</p>
|
|
3803
4172
|
* <p class="title">
|
|
3804
4173
|
* <b>Name formats</b>
|
|
@@ -3822,14 +4191,17 @@ export interface ListAliasesRequest {
|
|
|
3822
4191
|
*/
|
|
3823
4192
|
FunctionName: string | undefined;
|
|
3824
4193
|
/**
|
|
4194
|
+
* @public
|
|
3825
4195
|
* <p>Specify a function version to only list aliases that invoke that version.</p>
|
|
3826
4196
|
*/
|
|
3827
4197
|
FunctionVersion?: string;
|
|
3828
4198
|
/**
|
|
4199
|
+
* @public
|
|
3829
4200
|
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
3830
4201
|
*/
|
|
3831
4202
|
Marker?: string;
|
|
3832
4203
|
/**
|
|
4204
|
+
* @public
|
|
3833
4205
|
* <p>Limit the number of aliases returned.</p>
|
|
3834
4206
|
*/
|
|
3835
4207
|
MaxItems?: number;
|
|
@@ -3839,10 +4211,12 @@ export interface ListAliasesRequest {
|
|
|
3839
4211
|
*/
|
|
3840
4212
|
export interface ListAliasesResponse {
|
|
3841
4213
|
/**
|
|
4214
|
+
* @public
|
|
3842
4215
|
* <p>The pagination token that's included if more results are available.</p>
|
|
3843
4216
|
*/
|
|
3844
4217
|
NextMarker?: string;
|
|
3845
4218
|
/**
|
|
4219
|
+
* @public
|
|
3846
4220
|
* <p>A list of aliases.</p>
|
|
3847
4221
|
*/
|
|
3848
4222
|
Aliases?: AliasConfiguration[];
|
|
@@ -3852,10 +4226,12 @@ export interface ListAliasesResponse {
|
|
|
3852
4226
|
*/
|
|
3853
4227
|
export interface ListCodeSigningConfigsRequest {
|
|
3854
4228
|
/**
|
|
4229
|
+
* @public
|
|
3855
4230
|
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
3856
4231
|
*/
|
|
3857
4232
|
Marker?: string;
|
|
3858
4233
|
/**
|
|
4234
|
+
* @public
|
|
3859
4235
|
* <p>Maximum number of items to return.</p>
|
|
3860
4236
|
*/
|
|
3861
4237
|
MaxItems?: number;
|
|
@@ -3865,10 +4241,12 @@ export interface ListCodeSigningConfigsRequest {
|
|
|
3865
4241
|
*/
|
|
3866
4242
|
export interface ListCodeSigningConfigsResponse {
|
|
3867
4243
|
/**
|
|
4244
|
+
* @public
|
|
3868
4245
|
* <p>The pagination token that's included if more results are available.</p>
|
|
3869
4246
|
*/
|
|
3870
4247
|
NextMarker?: string;
|
|
3871
4248
|
/**
|
|
4249
|
+
* @public
|
|
3872
4250
|
* <p>The code signing configurations</p>
|
|
3873
4251
|
*/
|
|
3874
4252
|
CodeSigningConfigs?: CodeSigningConfig[];
|
|
@@ -3878,6 +4256,7 @@ export interface ListCodeSigningConfigsResponse {
|
|
|
3878
4256
|
*/
|
|
3879
4257
|
export interface ListEventSourceMappingsRequest {
|
|
3880
4258
|
/**
|
|
4259
|
+
* @public
|
|
3881
4260
|
* <p>The Amazon Resource Name (ARN) of the event source.</p>
|
|
3882
4261
|
* <ul>
|
|
3883
4262
|
* <li>
|
|
@@ -3908,6 +4287,7 @@ export interface ListEventSourceMappingsRequest {
|
|
|
3908
4287
|
*/
|
|
3909
4288
|
EventSourceArn?: string;
|
|
3910
4289
|
/**
|
|
4290
|
+
* @public
|
|
3911
4291
|
* <p>The name of the Lambda function.</p>
|
|
3912
4292
|
* <p class="title">
|
|
3913
4293
|
* <b>Name formats</b>
|
|
@@ -3935,10 +4315,12 @@ export interface ListEventSourceMappingsRequest {
|
|
|
3935
4315
|
*/
|
|
3936
4316
|
FunctionName?: string;
|
|
3937
4317
|
/**
|
|
4318
|
+
* @public
|
|
3938
4319
|
* <p>A pagination token returned by a previous call.</p>
|
|
3939
4320
|
*/
|
|
3940
4321
|
Marker?: string;
|
|
3941
4322
|
/**
|
|
4323
|
+
* @public
|
|
3942
4324
|
* <p>The maximum number of event source mappings to return. Note that ListEventSourceMappings returns a maximum of
|
|
3943
4325
|
* 100 items in each response, even if you set the number higher.</p>
|
|
3944
4326
|
*/
|
|
@@ -3949,10 +4331,12 @@ export interface ListEventSourceMappingsRequest {
|
|
|
3949
4331
|
*/
|
|
3950
4332
|
export interface ListEventSourceMappingsResponse {
|
|
3951
4333
|
/**
|
|
4334
|
+
* @public
|
|
3952
4335
|
* <p>A pagination token that's returned when the response doesn't contain all event source mappings.</p>
|
|
3953
4336
|
*/
|
|
3954
4337
|
NextMarker?: string;
|
|
3955
4338
|
/**
|
|
4339
|
+
* @public
|
|
3956
4340
|
* <p>A list of event source mappings.</p>
|
|
3957
4341
|
*/
|
|
3958
4342
|
EventSourceMappings?: EventSourceMappingConfiguration[];
|
|
@@ -3962,6 +4346,7 @@ export interface ListEventSourceMappingsResponse {
|
|
|
3962
4346
|
*/
|
|
3963
4347
|
export interface ListFunctionEventInvokeConfigsRequest {
|
|
3964
4348
|
/**
|
|
4349
|
+
* @public
|
|
3965
4350
|
* <p>The name of the Lambda function.</p>
|
|
3966
4351
|
* <p class="title">
|
|
3967
4352
|
* <b>Name formats</b>
|
|
@@ -3985,10 +4370,12 @@ export interface ListFunctionEventInvokeConfigsRequest {
|
|
|
3985
4370
|
*/
|
|
3986
4371
|
FunctionName: string | undefined;
|
|
3987
4372
|
/**
|
|
4373
|
+
* @public
|
|
3988
4374
|
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
3989
4375
|
*/
|
|
3990
4376
|
Marker?: string;
|
|
3991
4377
|
/**
|
|
4378
|
+
* @public
|
|
3992
4379
|
* <p>The maximum number of configurations to return.</p>
|
|
3993
4380
|
*/
|
|
3994
4381
|
MaxItems?: number;
|
|
@@ -3998,10 +4385,12 @@ export interface ListFunctionEventInvokeConfigsRequest {
|
|
|
3998
4385
|
*/
|
|
3999
4386
|
export interface ListFunctionEventInvokeConfigsResponse {
|
|
4000
4387
|
/**
|
|
4388
|
+
* @public
|
|
4001
4389
|
* <p>A list of configurations.</p>
|
|
4002
4390
|
*/
|
|
4003
4391
|
FunctionEventInvokeConfigs?: FunctionEventInvokeConfig[];
|
|
4004
4392
|
/**
|
|
4393
|
+
* @public
|
|
4005
4394
|
* <p>The pagination token that's included if more results are available.</p>
|
|
4006
4395
|
*/
|
|
4007
4396
|
NextMarker?: string;
|
|
@@ -4022,6 +4411,7 @@ export type FunctionVersion = (typeof FunctionVersion)[keyof typeof FunctionVers
|
|
|
4022
4411
|
*/
|
|
4023
4412
|
export interface ListFunctionsRequest {
|
|
4024
4413
|
/**
|
|
4414
|
+
* @public
|
|
4025
4415
|
* <p>For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example,
|
|
4026
4416
|
* <code>us-east-1</code> filters the list of functions to include only Lambda@Edge functions replicated from a
|
|
4027
4417
|
* master function in US East (N. Virginia). If specified, you must set <code>FunctionVersion</code> to
|
|
@@ -4029,14 +4419,17 @@ export interface ListFunctionsRequest {
|
|
|
4029
4419
|
*/
|
|
4030
4420
|
MasterRegion?: string;
|
|
4031
4421
|
/**
|
|
4422
|
+
* @public
|
|
4032
4423
|
* <p>Set to <code>ALL</code> to include entries for all published versions of each function.</p>
|
|
4033
4424
|
*/
|
|
4034
4425
|
FunctionVersion?: FunctionVersion | string;
|
|
4035
4426
|
/**
|
|
4427
|
+
* @public
|
|
4036
4428
|
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
4037
4429
|
*/
|
|
4038
4430
|
Marker?: string;
|
|
4039
4431
|
/**
|
|
4432
|
+
* @public
|
|
4040
4433
|
* <p>The maximum number of functions to return in the response. Note that <code>ListFunctions</code> returns a maximum of 50 items in each response,
|
|
4041
4434
|
* even if you set the number higher.</p>
|
|
4042
4435
|
*/
|
|
@@ -4048,10 +4441,12 @@ export interface ListFunctionsRequest {
|
|
|
4048
4441
|
*/
|
|
4049
4442
|
export interface ListFunctionsResponse {
|
|
4050
4443
|
/**
|
|
4444
|
+
* @public
|
|
4051
4445
|
* <p>The pagination token that's included if more results are available.</p>
|
|
4052
4446
|
*/
|
|
4053
4447
|
NextMarker?: string;
|
|
4054
4448
|
/**
|
|
4449
|
+
* @public
|
|
4055
4450
|
* <p>A list of Lambda functions.</p>
|
|
4056
4451
|
*/
|
|
4057
4452
|
Functions?: FunctionConfiguration[];
|
|
@@ -4061,14 +4456,17 @@ export interface ListFunctionsResponse {
|
|
|
4061
4456
|
*/
|
|
4062
4457
|
export interface ListFunctionsByCodeSigningConfigRequest {
|
|
4063
4458
|
/**
|
|
4459
|
+
* @public
|
|
4064
4460
|
* <p>The The Amazon Resource Name (ARN) of the code signing configuration.</p>
|
|
4065
4461
|
*/
|
|
4066
4462
|
CodeSigningConfigArn: string | undefined;
|
|
4067
4463
|
/**
|
|
4464
|
+
* @public
|
|
4068
4465
|
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
4069
4466
|
*/
|
|
4070
4467
|
Marker?: string;
|
|
4071
4468
|
/**
|
|
4469
|
+
* @public
|
|
4072
4470
|
* <p>Maximum number of items to return.</p>
|
|
4073
4471
|
*/
|
|
4074
4472
|
MaxItems?: number;
|
|
@@ -4078,10 +4476,12 @@ export interface ListFunctionsByCodeSigningConfigRequest {
|
|
|
4078
4476
|
*/
|
|
4079
4477
|
export interface ListFunctionsByCodeSigningConfigResponse {
|
|
4080
4478
|
/**
|
|
4479
|
+
* @public
|
|
4081
4480
|
* <p>The pagination token that's included if more results are available.</p>
|
|
4082
4481
|
*/
|
|
4083
4482
|
NextMarker?: string;
|
|
4084
4483
|
/**
|
|
4484
|
+
* @public
|
|
4085
4485
|
* <p>The function ARNs. </p>
|
|
4086
4486
|
*/
|
|
4087
4487
|
FunctionArns?: string[];
|
|
@@ -4091,6 +4491,7 @@ export interface ListFunctionsByCodeSigningConfigResponse {
|
|
|
4091
4491
|
*/
|
|
4092
4492
|
export interface ListFunctionUrlConfigsRequest {
|
|
4093
4493
|
/**
|
|
4494
|
+
* @public
|
|
4094
4495
|
* <p>The name of the Lambda function.</p>
|
|
4095
4496
|
* <p class="title">
|
|
4096
4497
|
* <b>Name formats</b>
|
|
@@ -4114,10 +4515,12 @@ export interface ListFunctionUrlConfigsRequest {
|
|
|
4114
4515
|
*/
|
|
4115
4516
|
FunctionName: string | undefined;
|
|
4116
4517
|
/**
|
|
4518
|
+
* @public
|
|
4117
4519
|
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
4118
4520
|
*/
|
|
4119
4521
|
Marker?: string;
|
|
4120
4522
|
/**
|
|
4523
|
+
* @public
|
|
4121
4524
|
* <p>The maximum number of function URLs to return in the response. Note that <code>ListFunctionUrlConfigs</code>
|
|
4122
4525
|
* returns a maximum of 50 items in each response, even if you set the number higher.</p>
|
|
4123
4526
|
*/
|
|
@@ -4129,33 +4532,40 @@ export interface ListFunctionUrlConfigsRequest {
|
|
|
4129
4532
|
*/
|
|
4130
4533
|
export interface FunctionUrlConfig {
|
|
4131
4534
|
/**
|
|
4535
|
+
* @public
|
|
4132
4536
|
* <p>The HTTP URL endpoint for your function.</p>
|
|
4133
4537
|
*/
|
|
4134
4538
|
FunctionUrl: string | undefined;
|
|
4135
4539
|
/**
|
|
4540
|
+
* @public
|
|
4136
4541
|
* <p>The Amazon Resource Name (ARN) of your function.</p>
|
|
4137
4542
|
*/
|
|
4138
4543
|
FunctionArn: string | undefined;
|
|
4139
4544
|
/**
|
|
4545
|
+
* @public
|
|
4140
4546
|
* <p>When the function URL was created, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
4141
4547
|
*/
|
|
4142
4548
|
CreationTime: string | undefined;
|
|
4143
4549
|
/**
|
|
4550
|
+
* @public
|
|
4144
4551
|
* <p>When the function URL configuration was last updated, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
4145
4552
|
*/
|
|
4146
4553
|
LastModifiedTime: string | undefined;
|
|
4147
4554
|
/**
|
|
4555
|
+
* @public
|
|
4148
4556
|
* <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
|
|
4149
4557
|
* for your function URL.</p>
|
|
4150
4558
|
*/
|
|
4151
4559
|
Cors?: Cors;
|
|
4152
4560
|
/**
|
|
4561
|
+
* @public
|
|
4153
4562
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
4154
4563
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
4155
4564
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
4156
4565
|
*/
|
|
4157
4566
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
4158
4567
|
/**
|
|
4568
|
+
* @public
|
|
4159
4569
|
* <p>Use one of the following options:</p>
|
|
4160
4570
|
* <ul>
|
|
4161
4571
|
* <li>
|
|
@@ -4179,10 +4589,12 @@ export interface FunctionUrlConfig {
|
|
|
4179
4589
|
*/
|
|
4180
4590
|
export interface ListFunctionUrlConfigsResponse {
|
|
4181
4591
|
/**
|
|
4592
|
+
* @public
|
|
4182
4593
|
* <p>A list of function URL configurations.</p>
|
|
4183
4594
|
*/
|
|
4184
4595
|
FunctionUrlConfigs: FunctionUrlConfig[] | undefined;
|
|
4185
4596
|
/**
|
|
4597
|
+
* @public
|
|
4186
4598
|
* <p>The pagination token that's included if more results are available.</p>
|
|
4187
4599
|
*/
|
|
4188
4600
|
NextMarker?: string;
|
|
@@ -4192,19 +4604,23 @@ export interface ListFunctionUrlConfigsResponse {
|
|
|
4192
4604
|
*/
|
|
4193
4605
|
export interface ListLayersRequest {
|
|
4194
4606
|
/**
|
|
4607
|
+
* @public
|
|
4195
4608
|
* <p>A runtime identifier. For example, <code>go1.x</code>.</p>
|
|
4196
4609
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
4197
4610
|
*/
|
|
4198
4611
|
CompatibleRuntime?: Runtime | string;
|
|
4199
4612
|
/**
|
|
4613
|
+
* @public
|
|
4200
4614
|
* <p>A pagination token returned by a previous call.</p>
|
|
4201
4615
|
*/
|
|
4202
4616
|
Marker?: string;
|
|
4203
4617
|
/**
|
|
4618
|
+
* @public
|
|
4204
4619
|
* <p>The maximum number of layers to return.</p>
|
|
4205
4620
|
*/
|
|
4206
4621
|
MaxItems?: number;
|
|
4207
4622
|
/**
|
|
4623
|
+
* @public
|
|
4208
4624
|
* <p>The compatible
|
|
4209
4625
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p>
|
|
4210
4626
|
*/
|
|
@@ -4217,31 +4633,38 @@ export interface ListLayersRequest {
|
|
|
4217
4633
|
*/
|
|
4218
4634
|
export interface LayerVersionsListItem {
|
|
4219
4635
|
/**
|
|
4636
|
+
* @public
|
|
4220
4637
|
* <p>The ARN of the layer version.</p>
|
|
4221
4638
|
*/
|
|
4222
4639
|
LayerVersionArn?: string;
|
|
4223
4640
|
/**
|
|
4641
|
+
* @public
|
|
4224
4642
|
* <p>The version number.</p>
|
|
4225
4643
|
*/
|
|
4226
4644
|
Version?: number;
|
|
4227
4645
|
/**
|
|
4646
|
+
* @public
|
|
4228
4647
|
* <p>The description of the version.</p>
|
|
4229
4648
|
*/
|
|
4230
4649
|
Description?: string;
|
|
4231
4650
|
/**
|
|
4651
|
+
* @public
|
|
4232
4652
|
* <p>The date that the version was created, in ISO 8601 format. For example, <code>2018-11-27T15:10:45.123+0000</code>.</p>
|
|
4233
4653
|
*/
|
|
4234
4654
|
CreatedDate?: string;
|
|
4235
4655
|
/**
|
|
4656
|
+
* @public
|
|
4236
4657
|
* <p>The layer's compatible runtimes.</p>
|
|
4237
4658
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
4238
4659
|
*/
|
|
4239
4660
|
CompatibleRuntimes?: (Runtime | string)[];
|
|
4240
4661
|
/**
|
|
4662
|
+
* @public
|
|
4241
4663
|
* <p>The layer's open-source license.</p>
|
|
4242
4664
|
*/
|
|
4243
4665
|
LicenseInfo?: string;
|
|
4244
4666
|
/**
|
|
4667
|
+
* @public
|
|
4245
4668
|
* <p>A list of compatible
|
|
4246
4669
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
|
|
4247
4670
|
*/
|
|
@@ -4254,14 +4677,17 @@ export interface LayerVersionsListItem {
|
|
|
4254
4677
|
*/
|
|
4255
4678
|
export interface LayersListItem {
|
|
4256
4679
|
/**
|
|
4680
|
+
* @public
|
|
4257
4681
|
* <p>The name of the layer.</p>
|
|
4258
4682
|
*/
|
|
4259
4683
|
LayerName?: string;
|
|
4260
4684
|
/**
|
|
4685
|
+
* @public
|
|
4261
4686
|
* <p>The Amazon Resource Name (ARN) of the function layer.</p>
|
|
4262
4687
|
*/
|
|
4263
4688
|
LayerArn?: string;
|
|
4264
4689
|
/**
|
|
4690
|
+
* @public
|
|
4265
4691
|
* <p>The newest version of the layer.</p>
|
|
4266
4692
|
*/
|
|
4267
4693
|
LatestMatchingVersion?: LayerVersionsListItem;
|
|
@@ -4271,10 +4697,12 @@ export interface LayersListItem {
|
|
|
4271
4697
|
*/
|
|
4272
4698
|
export interface ListLayersResponse {
|
|
4273
4699
|
/**
|
|
4700
|
+
* @public
|
|
4274
4701
|
* <p>A pagination token returned when the response doesn't contain all layers.</p>
|
|
4275
4702
|
*/
|
|
4276
4703
|
NextMarker?: string;
|
|
4277
4704
|
/**
|
|
4705
|
+
* @public
|
|
4278
4706
|
* <p>A list of function layers.</p>
|
|
4279
4707
|
*/
|
|
4280
4708
|
Layers?: LayersListItem[];
|
|
@@ -4284,23 +4712,28 @@ export interface ListLayersResponse {
|
|
|
4284
4712
|
*/
|
|
4285
4713
|
export interface ListLayerVersionsRequest {
|
|
4286
4714
|
/**
|
|
4715
|
+
* @public
|
|
4287
4716
|
* <p>A runtime identifier. For example, <code>go1.x</code>.</p>
|
|
4288
4717
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
4289
4718
|
*/
|
|
4290
4719
|
CompatibleRuntime?: Runtime | string;
|
|
4291
4720
|
/**
|
|
4721
|
+
* @public
|
|
4292
4722
|
* <p>The name or Amazon Resource Name (ARN) of the layer.</p>
|
|
4293
4723
|
*/
|
|
4294
4724
|
LayerName: string | undefined;
|
|
4295
4725
|
/**
|
|
4726
|
+
* @public
|
|
4296
4727
|
* <p>A pagination token returned by a previous call.</p>
|
|
4297
4728
|
*/
|
|
4298
4729
|
Marker?: string;
|
|
4299
4730
|
/**
|
|
4731
|
+
* @public
|
|
4300
4732
|
* <p>The maximum number of versions to return.</p>
|
|
4301
4733
|
*/
|
|
4302
4734
|
MaxItems?: number;
|
|
4303
4735
|
/**
|
|
4736
|
+
* @public
|
|
4304
4737
|
* <p>The compatible
|
|
4305
4738
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p>
|
|
4306
4739
|
*/
|
|
@@ -4311,10 +4744,12 @@ export interface ListLayerVersionsRequest {
|
|
|
4311
4744
|
*/
|
|
4312
4745
|
export interface ListLayerVersionsResponse {
|
|
4313
4746
|
/**
|
|
4747
|
+
* @public
|
|
4314
4748
|
* <p>A pagination token returned when the response doesn't contain all versions.</p>
|
|
4315
4749
|
*/
|
|
4316
4750
|
NextMarker?: string;
|
|
4317
4751
|
/**
|
|
4752
|
+
* @public
|
|
4318
4753
|
* <p>A list of versions.</p>
|
|
4319
4754
|
*/
|
|
4320
4755
|
LayerVersions?: LayerVersionsListItem[];
|
|
@@ -4324,6 +4759,7 @@ export interface ListLayerVersionsResponse {
|
|
|
4324
4759
|
*/
|
|
4325
4760
|
export interface ListProvisionedConcurrencyConfigsRequest {
|
|
4326
4761
|
/**
|
|
4762
|
+
* @public
|
|
4327
4763
|
* <p>The name of the Lambda function.</p>
|
|
4328
4764
|
* <p class="title">
|
|
4329
4765
|
* <b>Name formats</b>
|
|
@@ -4347,10 +4783,12 @@ export interface ListProvisionedConcurrencyConfigsRequest {
|
|
|
4347
4783
|
*/
|
|
4348
4784
|
FunctionName: string | undefined;
|
|
4349
4785
|
/**
|
|
4786
|
+
* @public
|
|
4350
4787
|
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
4351
4788
|
*/
|
|
4352
4789
|
Marker?: string;
|
|
4353
4790
|
/**
|
|
4791
|
+
* @public
|
|
4354
4792
|
* <p>Specify a number to limit the number of configurations returned.</p>
|
|
4355
4793
|
*/
|
|
4356
4794
|
MaxItems?: number;
|
|
@@ -4361,30 +4799,37 @@ export interface ListProvisionedConcurrencyConfigsRequest {
|
|
|
4361
4799
|
*/
|
|
4362
4800
|
export interface ProvisionedConcurrencyConfigListItem {
|
|
4363
4801
|
/**
|
|
4802
|
+
* @public
|
|
4364
4803
|
* <p>The Amazon Resource Name (ARN) of the alias or version.</p>
|
|
4365
4804
|
*/
|
|
4366
4805
|
FunctionArn?: string;
|
|
4367
4806
|
/**
|
|
4807
|
+
* @public
|
|
4368
4808
|
* <p>The amount of provisioned concurrency requested.</p>
|
|
4369
4809
|
*/
|
|
4370
4810
|
RequestedProvisionedConcurrentExecutions?: number;
|
|
4371
4811
|
/**
|
|
4812
|
+
* @public
|
|
4372
4813
|
* <p>The amount of provisioned concurrency available.</p>
|
|
4373
4814
|
*/
|
|
4374
4815
|
AvailableProvisionedConcurrentExecutions?: number;
|
|
4375
4816
|
/**
|
|
4817
|
+
* @public
|
|
4376
4818
|
* <p>The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.</p>
|
|
4377
4819
|
*/
|
|
4378
4820
|
AllocatedProvisionedConcurrentExecutions?: number;
|
|
4379
4821
|
/**
|
|
4822
|
+
* @public
|
|
4380
4823
|
* <p>The status of the allocation process.</p>
|
|
4381
4824
|
*/
|
|
4382
4825
|
Status?: ProvisionedConcurrencyStatusEnum | string;
|
|
4383
4826
|
/**
|
|
4827
|
+
* @public
|
|
4384
4828
|
* <p>For failed allocations, the reason that provisioned concurrency could not be allocated.</p>
|
|
4385
4829
|
*/
|
|
4386
4830
|
StatusReason?: string;
|
|
4387
4831
|
/**
|
|
4832
|
+
* @public
|
|
4388
4833
|
* <p>The date and time that a user last updated the configuration, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format</a>.</p>
|
|
4389
4834
|
*/
|
|
4390
4835
|
LastModified?: string;
|
|
@@ -4394,10 +4839,12 @@ export interface ProvisionedConcurrencyConfigListItem {
|
|
|
4394
4839
|
*/
|
|
4395
4840
|
export interface ListProvisionedConcurrencyConfigsResponse {
|
|
4396
4841
|
/**
|
|
4842
|
+
* @public
|
|
4397
4843
|
* <p>A list of provisioned concurrency configurations.</p>
|
|
4398
4844
|
*/
|
|
4399
4845
|
ProvisionedConcurrencyConfigs?: ProvisionedConcurrencyConfigListItem[];
|
|
4400
4846
|
/**
|
|
4847
|
+
* @public
|
|
4401
4848
|
* <p>The pagination token that's included if more results are available.</p>
|
|
4402
4849
|
*/
|
|
4403
4850
|
NextMarker?: string;
|
|
@@ -4407,6 +4854,7 @@ export interface ListProvisionedConcurrencyConfigsResponse {
|
|
|
4407
4854
|
*/
|
|
4408
4855
|
export interface ListTagsRequest {
|
|
4409
4856
|
/**
|
|
4857
|
+
* @public
|
|
4410
4858
|
* <p>The function's Amazon Resource Name (ARN).
|
|
4411
4859
|
* Note: Lambda does not support adding tags to aliases or versions.</p>
|
|
4412
4860
|
*/
|
|
@@ -4417,6 +4865,7 @@ export interface ListTagsRequest {
|
|
|
4417
4865
|
*/
|
|
4418
4866
|
export interface ListTagsResponse {
|
|
4419
4867
|
/**
|
|
4868
|
+
* @public
|
|
4420
4869
|
* <p>The function's tags.</p>
|
|
4421
4870
|
*/
|
|
4422
4871
|
Tags?: Record<string, string>;
|
|
@@ -4426,6 +4875,7 @@ export interface ListTagsResponse {
|
|
|
4426
4875
|
*/
|
|
4427
4876
|
export interface ListVersionsByFunctionRequest {
|
|
4428
4877
|
/**
|
|
4878
|
+
* @public
|
|
4429
4879
|
* <p>The name of the Lambda function.</p>
|
|
4430
4880
|
* <p class="title">
|
|
4431
4881
|
* <b>Name formats</b>
|
|
@@ -4449,10 +4899,12 @@ export interface ListVersionsByFunctionRequest {
|
|
|
4449
4899
|
*/
|
|
4450
4900
|
FunctionName: string | undefined;
|
|
4451
4901
|
/**
|
|
4902
|
+
* @public
|
|
4452
4903
|
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
4453
4904
|
*/
|
|
4454
4905
|
Marker?: string;
|
|
4455
4906
|
/**
|
|
4907
|
+
* @public
|
|
4456
4908
|
* <p>The maximum number of versions to return. Note that <code>ListVersionsByFunction</code> returns a maximum of 50 items in each response,
|
|
4457
4909
|
* even if you set the number higher.</p>
|
|
4458
4910
|
*/
|
|
@@ -4463,10 +4915,12 @@ export interface ListVersionsByFunctionRequest {
|
|
|
4463
4915
|
*/
|
|
4464
4916
|
export interface ListVersionsByFunctionResponse {
|
|
4465
4917
|
/**
|
|
4918
|
+
* @public
|
|
4466
4919
|
* <p>The pagination token that's included if more results are available.</p>
|
|
4467
4920
|
*/
|
|
4468
4921
|
NextMarker?: string;
|
|
4469
4922
|
/**
|
|
4923
|
+
* @public
|
|
4470
4924
|
* <p>A list of Lambda function versions.</p>
|
|
4471
4925
|
*/
|
|
4472
4926
|
Versions?: FunctionConfiguration[];
|
|
@@ -4479,18 +4933,22 @@ export interface ListVersionsByFunctionResponse {
|
|
|
4479
4933
|
*/
|
|
4480
4934
|
export interface LayerVersionContentInput {
|
|
4481
4935
|
/**
|
|
4936
|
+
* @public
|
|
4482
4937
|
* <p>The Amazon S3 bucket of the layer archive.</p>
|
|
4483
4938
|
*/
|
|
4484
4939
|
S3Bucket?: string;
|
|
4485
4940
|
/**
|
|
4941
|
+
* @public
|
|
4486
4942
|
* <p>The Amazon S3 key of the layer archive.</p>
|
|
4487
4943
|
*/
|
|
4488
4944
|
S3Key?: string;
|
|
4489
4945
|
/**
|
|
4946
|
+
* @public
|
|
4490
4947
|
* <p>For versioned objects, the version of the layer archive object to use.</p>
|
|
4491
4948
|
*/
|
|
4492
4949
|
S3ObjectVersion?: string;
|
|
4493
4950
|
/**
|
|
4951
|
+
* @public
|
|
4494
4952
|
* <p>The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for
|
|
4495
4953
|
* you.</p>
|
|
4496
4954
|
*/
|
|
@@ -4501,24 +4959,29 @@ export interface LayerVersionContentInput {
|
|
|
4501
4959
|
*/
|
|
4502
4960
|
export interface PublishLayerVersionRequest {
|
|
4503
4961
|
/**
|
|
4962
|
+
* @public
|
|
4504
4963
|
* <p>The name or Amazon Resource Name (ARN) of the layer.</p>
|
|
4505
4964
|
*/
|
|
4506
4965
|
LayerName: string | undefined;
|
|
4507
4966
|
/**
|
|
4967
|
+
* @public
|
|
4508
4968
|
* <p>The description of the version.</p>
|
|
4509
4969
|
*/
|
|
4510
4970
|
Description?: string;
|
|
4511
4971
|
/**
|
|
4972
|
+
* @public
|
|
4512
4973
|
* <p>The function layer archive.</p>
|
|
4513
4974
|
*/
|
|
4514
4975
|
Content: LayerVersionContentInput | undefined;
|
|
4515
4976
|
/**
|
|
4977
|
+
* @public
|
|
4516
4978
|
* <p>A list of compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">function
|
|
4517
4979
|
* runtimes</a>. Used for filtering with <a>ListLayers</a> and <a>ListLayerVersions</a>.</p>
|
|
4518
4980
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
4519
4981
|
*/
|
|
4520
4982
|
CompatibleRuntimes?: (Runtime | string)[];
|
|
4521
4983
|
/**
|
|
4984
|
+
* @public
|
|
4522
4985
|
* <p>The layer's software license. It can be any of the following:</p>
|
|
4523
4986
|
* <ul>
|
|
4524
4987
|
* <li>
|
|
@@ -4536,6 +4999,7 @@ export interface PublishLayerVersionRequest {
|
|
|
4536
4999
|
*/
|
|
4537
5000
|
LicenseInfo?: string;
|
|
4538
5001
|
/**
|
|
5002
|
+
* @public
|
|
4539
5003
|
* <p>A list of compatible
|
|
4540
5004
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
|
|
4541
5005
|
*/
|
|
@@ -4546,39 +5010,48 @@ export interface PublishLayerVersionRequest {
|
|
|
4546
5010
|
*/
|
|
4547
5011
|
export interface PublishLayerVersionResponse {
|
|
4548
5012
|
/**
|
|
5013
|
+
* @public
|
|
4549
5014
|
* <p>Details about the layer version.</p>
|
|
4550
5015
|
*/
|
|
4551
5016
|
Content?: LayerVersionContentOutput;
|
|
4552
5017
|
/**
|
|
5018
|
+
* @public
|
|
4553
5019
|
* <p>The ARN of the layer.</p>
|
|
4554
5020
|
*/
|
|
4555
5021
|
LayerArn?: string;
|
|
4556
5022
|
/**
|
|
5023
|
+
* @public
|
|
4557
5024
|
* <p>The ARN of the layer version.</p>
|
|
4558
5025
|
*/
|
|
4559
5026
|
LayerVersionArn?: string;
|
|
4560
5027
|
/**
|
|
5028
|
+
* @public
|
|
4561
5029
|
* <p>The description of the version.</p>
|
|
4562
5030
|
*/
|
|
4563
5031
|
Description?: string;
|
|
4564
5032
|
/**
|
|
5033
|
+
* @public
|
|
4565
5034
|
* <p>The date that the layer version was created, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
4566
5035
|
*/
|
|
4567
5036
|
CreatedDate?: string;
|
|
4568
5037
|
/**
|
|
5038
|
+
* @public
|
|
4569
5039
|
* <p>The version number.</p>
|
|
4570
5040
|
*/
|
|
4571
5041
|
Version?: number;
|
|
4572
5042
|
/**
|
|
5043
|
+
* @public
|
|
4573
5044
|
* <p>The layer's compatible runtimes.</p>
|
|
4574
5045
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
4575
5046
|
*/
|
|
4576
5047
|
CompatibleRuntimes?: (Runtime | string)[];
|
|
4577
5048
|
/**
|
|
5049
|
+
* @public
|
|
4578
5050
|
* <p>The layer's software license.</p>
|
|
4579
5051
|
*/
|
|
4580
5052
|
LicenseInfo?: string;
|
|
4581
5053
|
/**
|
|
5054
|
+
* @public
|
|
4582
5055
|
* <p>A list of compatible
|
|
4583
5056
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
|
|
4584
5057
|
*/
|
|
@@ -4589,6 +5062,7 @@ export interface PublishLayerVersionResponse {
|
|
|
4589
5062
|
*/
|
|
4590
5063
|
export interface PublishVersionRequest {
|
|
4591
5064
|
/**
|
|
5065
|
+
* @public
|
|
4592
5066
|
* <p>The name of the Lambda function.</p>
|
|
4593
5067
|
* <p class="title">
|
|
4594
5068
|
* <b>Name formats</b>
|
|
@@ -4612,16 +5086,19 @@ export interface PublishVersionRequest {
|
|
|
4612
5086
|
*/
|
|
4613
5087
|
FunctionName: string | undefined;
|
|
4614
5088
|
/**
|
|
5089
|
+
* @public
|
|
4615
5090
|
* <p>Only publish a version if the hash value matches the value that's specified. Use this option to avoid
|
|
4616
5091
|
* publishing a version if the function code has changed since you last updated it. You can get the hash for the
|
|
4617
5092
|
* version that you uploaded from the output of <a>UpdateFunctionCode</a>.</p>
|
|
4618
5093
|
*/
|
|
4619
5094
|
CodeSha256?: string;
|
|
4620
5095
|
/**
|
|
5096
|
+
* @public
|
|
4621
5097
|
* <p>A description for the version to override the description in the function configuration.</p>
|
|
4622
5098
|
*/
|
|
4623
5099
|
Description?: string;
|
|
4624
5100
|
/**
|
|
5101
|
+
* @public
|
|
4625
5102
|
* <p>Only update the function if the revision ID matches the ID that's specified. Use this option to avoid
|
|
4626
5103
|
* publishing a version if the function configuration has changed since you last updated it.</p>
|
|
4627
5104
|
*/
|
|
@@ -4632,10 +5109,12 @@ export interface PublishVersionRequest {
|
|
|
4632
5109
|
*/
|
|
4633
5110
|
export interface PutFunctionCodeSigningConfigRequest {
|
|
4634
5111
|
/**
|
|
5112
|
+
* @public
|
|
4635
5113
|
* <p>The The Amazon Resource Name (ARN) of the code signing configuration.</p>
|
|
4636
5114
|
*/
|
|
4637
5115
|
CodeSigningConfigArn: string | undefined;
|
|
4638
5116
|
/**
|
|
5117
|
+
* @public
|
|
4639
5118
|
* <p>The name of the Lambda function.</p>
|
|
4640
5119
|
* <p class="title">
|
|
4641
5120
|
* <b>Name formats</b>
|
|
@@ -4664,10 +5143,12 @@ export interface PutFunctionCodeSigningConfigRequest {
|
|
|
4664
5143
|
*/
|
|
4665
5144
|
export interface PutFunctionCodeSigningConfigResponse {
|
|
4666
5145
|
/**
|
|
5146
|
+
* @public
|
|
4667
5147
|
* <p>The The Amazon Resource Name (ARN) of the code signing configuration.</p>
|
|
4668
5148
|
*/
|
|
4669
5149
|
CodeSigningConfigArn: string | undefined;
|
|
4670
5150
|
/**
|
|
5151
|
+
* @public
|
|
4671
5152
|
* <p>The name of the Lambda function.</p>
|
|
4672
5153
|
* <p class="title">
|
|
4673
5154
|
* <b>Name formats</b>
|
|
@@ -4696,6 +5177,7 @@ export interface PutFunctionCodeSigningConfigResponse {
|
|
|
4696
5177
|
*/
|
|
4697
5178
|
export interface PutFunctionConcurrencyRequest {
|
|
4698
5179
|
/**
|
|
5180
|
+
* @public
|
|
4699
5181
|
* <p>The name of the Lambda function.</p>
|
|
4700
5182
|
* <p class="title">
|
|
4701
5183
|
* <b>Name formats</b>
|
|
@@ -4719,6 +5201,7 @@ export interface PutFunctionConcurrencyRequest {
|
|
|
4719
5201
|
*/
|
|
4720
5202
|
FunctionName: string | undefined;
|
|
4721
5203
|
/**
|
|
5204
|
+
* @public
|
|
4722
5205
|
* <p>The number of simultaneous executions to reserve for the function.</p>
|
|
4723
5206
|
*/
|
|
4724
5207
|
ReservedConcurrentExecutions: number | undefined;
|
|
@@ -4728,6 +5211,7 @@ export interface PutFunctionConcurrencyRequest {
|
|
|
4728
5211
|
*/
|
|
4729
5212
|
export interface PutFunctionEventInvokeConfigRequest {
|
|
4730
5213
|
/**
|
|
5214
|
+
* @public
|
|
4731
5215
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
4732
5216
|
* <p class="title">
|
|
4733
5217
|
* <b>Name formats</b>
|
|
@@ -4751,18 +5235,22 @@ export interface PutFunctionEventInvokeConfigRequest {
|
|
|
4751
5235
|
*/
|
|
4752
5236
|
FunctionName: string | undefined;
|
|
4753
5237
|
/**
|
|
5238
|
+
* @public
|
|
4754
5239
|
* <p>A version number or alias name.</p>
|
|
4755
5240
|
*/
|
|
4756
5241
|
Qualifier?: string;
|
|
4757
5242
|
/**
|
|
5243
|
+
* @public
|
|
4758
5244
|
* <p>The maximum number of times to retry when the function returns an error.</p>
|
|
4759
5245
|
*/
|
|
4760
5246
|
MaximumRetryAttempts?: number;
|
|
4761
5247
|
/**
|
|
5248
|
+
* @public
|
|
4762
5249
|
* <p>The maximum age of a request that Lambda sends to a function for processing.</p>
|
|
4763
5250
|
*/
|
|
4764
5251
|
MaximumEventAgeInSeconds?: number;
|
|
4765
5252
|
/**
|
|
5253
|
+
* @public
|
|
4766
5254
|
* <p>A destination for events after they have been sent to a function for processing.</p>
|
|
4767
5255
|
* <p class="title">
|
|
4768
5256
|
* <b>Destinations</b>
|
|
@@ -4793,6 +5281,7 @@ export interface PutFunctionEventInvokeConfigRequest {
|
|
|
4793
5281
|
*/
|
|
4794
5282
|
export interface PutProvisionedConcurrencyConfigRequest {
|
|
4795
5283
|
/**
|
|
5284
|
+
* @public
|
|
4796
5285
|
* <p>The name of the Lambda function.</p>
|
|
4797
5286
|
* <p class="title">
|
|
4798
5287
|
* <b>Name formats</b>
|
|
@@ -4816,10 +5305,12 @@ export interface PutProvisionedConcurrencyConfigRequest {
|
|
|
4816
5305
|
*/
|
|
4817
5306
|
FunctionName: string | undefined;
|
|
4818
5307
|
/**
|
|
5308
|
+
* @public
|
|
4819
5309
|
* <p>The version number or alias name.</p>
|
|
4820
5310
|
*/
|
|
4821
5311
|
Qualifier: string | undefined;
|
|
4822
5312
|
/**
|
|
5313
|
+
* @public
|
|
4823
5314
|
* <p>The amount of provisioned concurrency to allocate for the version or alias.</p>
|
|
4824
5315
|
*/
|
|
4825
5316
|
ProvisionedConcurrentExecutions: number | undefined;
|
|
@@ -4829,26 +5320,32 @@ export interface PutProvisionedConcurrencyConfigRequest {
|
|
|
4829
5320
|
*/
|
|
4830
5321
|
export interface PutProvisionedConcurrencyConfigResponse {
|
|
4831
5322
|
/**
|
|
5323
|
+
* @public
|
|
4832
5324
|
* <p>The amount of provisioned concurrency requested.</p>
|
|
4833
5325
|
*/
|
|
4834
5326
|
RequestedProvisionedConcurrentExecutions?: number;
|
|
4835
5327
|
/**
|
|
5328
|
+
* @public
|
|
4836
5329
|
* <p>The amount of provisioned concurrency available.</p>
|
|
4837
5330
|
*/
|
|
4838
5331
|
AvailableProvisionedConcurrentExecutions?: number;
|
|
4839
5332
|
/**
|
|
5333
|
+
* @public
|
|
4840
5334
|
* <p>The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.</p>
|
|
4841
5335
|
*/
|
|
4842
5336
|
AllocatedProvisionedConcurrentExecutions?: number;
|
|
4843
5337
|
/**
|
|
5338
|
+
* @public
|
|
4844
5339
|
* <p>The status of the allocation process.</p>
|
|
4845
5340
|
*/
|
|
4846
5341
|
Status?: ProvisionedConcurrencyStatusEnum | string;
|
|
4847
5342
|
/**
|
|
5343
|
+
* @public
|
|
4848
5344
|
* <p>For failed allocations, the reason that provisioned concurrency could not be allocated.</p>
|
|
4849
5345
|
*/
|
|
4850
5346
|
StatusReason?: string;
|
|
4851
5347
|
/**
|
|
5348
|
+
* @public
|
|
4852
5349
|
* <p>The date and time that a user last updated the configuration, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format</a>.</p>
|
|
4853
5350
|
*/
|
|
4854
5351
|
LastModified?: string;
|
|
@@ -4858,6 +5355,7 @@ export interface PutProvisionedConcurrencyConfigResponse {
|
|
|
4858
5355
|
*/
|
|
4859
5356
|
export interface PutRuntimeManagementConfigRequest {
|
|
4860
5357
|
/**
|
|
5358
|
+
* @public
|
|
4861
5359
|
* <p>The name of the Lambda function.</p>
|
|
4862
5360
|
* <p class="title">
|
|
4863
5361
|
* <b>Name formats</b>
|
|
@@ -4881,11 +5379,13 @@ export interface PutRuntimeManagementConfigRequest {
|
|
|
4881
5379
|
*/
|
|
4882
5380
|
FunctionName: string | undefined;
|
|
4883
5381
|
/**
|
|
5382
|
+
* @public
|
|
4884
5383
|
* <p>Specify a version of the function. This can be <code>$LATEST</code> or a published version number. If no value is specified, the configuration for the
|
|
4885
5384
|
* <code>$LATEST</code> version is returned.</p>
|
|
4886
5385
|
*/
|
|
4887
5386
|
Qualifier?: string;
|
|
4888
5387
|
/**
|
|
5388
|
+
* @public
|
|
4889
5389
|
* <p>Specify the runtime update mode.</p>
|
|
4890
5390
|
* <ul>
|
|
4891
5391
|
* <li>
|
|
@@ -4909,6 +5409,7 @@ export interface PutRuntimeManagementConfigRequest {
|
|
|
4909
5409
|
*/
|
|
4910
5410
|
UpdateRuntimeOn: UpdateRuntimeOn | string | undefined;
|
|
4911
5411
|
/**
|
|
5412
|
+
* @public
|
|
4912
5413
|
* <p>The ARN of the runtime version you want the function to use.</p>
|
|
4913
5414
|
* <note>
|
|
4914
5415
|
* <p>This is only required if you're using the <b>Manual</b> runtime update mode.</p>
|
|
@@ -4921,14 +5422,17 @@ export interface PutRuntimeManagementConfigRequest {
|
|
|
4921
5422
|
*/
|
|
4922
5423
|
export interface PutRuntimeManagementConfigResponse {
|
|
4923
5424
|
/**
|
|
5425
|
+
* @public
|
|
4924
5426
|
* <p>The runtime update mode.</p>
|
|
4925
5427
|
*/
|
|
4926
5428
|
UpdateRuntimeOn: UpdateRuntimeOn | string | undefined;
|
|
4927
5429
|
/**
|
|
5430
|
+
* @public
|
|
4928
5431
|
* <p>The ARN of the function</p>
|
|
4929
5432
|
*/
|
|
4930
5433
|
FunctionArn: string | undefined;
|
|
4931
5434
|
/**
|
|
5435
|
+
* @public
|
|
4932
5436
|
* <p>The ARN of the runtime the function is configured to use. If the runtime update mode is <b>manual</b>, the ARN is returned, otherwise <code>null</code>
|
|
4933
5437
|
* is returned.</p>
|
|
4934
5438
|
*/
|
|
@@ -4939,18 +5443,22 @@ export interface PutRuntimeManagementConfigResponse {
|
|
|
4939
5443
|
*/
|
|
4940
5444
|
export interface RemoveLayerVersionPermissionRequest {
|
|
4941
5445
|
/**
|
|
5446
|
+
* @public
|
|
4942
5447
|
* <p>The name or Amazon Resource Name (ARN) of the layer.</p>
|
|
4943
5448
|
*/
|
|
4944
5449
|
LayerName: string | undefined;
|
|
4945
5450
|
/**
|
|
5451
|
+
* @public
|
|
4946
5452
|
* <p>The version number.</p>
|
|
4947
5453
|
*/
|
|
4948
5454
|
VersionNumber: number | undefined;
|
|
4949
5455
|
/**
|
|
5456
|
+
* @public
|
|
4950
5457
|
* <p>The identifier that was specified when the statement was added.</p>
|
|
4951
5458
|
*/
|
|
4952
5459
|
StatementId: string | undefined;
|
|
4953
5460
|
/**
|
|
5461
|
+
* @public
|
|
4954
5462
|
* <p>Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a
|
|
4955
5463
|
* policy that has changed since you last read it.</p>
|
|
4956
5464
|
*/
|
|
@@ -4961,6 +5469,7 @@ export interface RemoveLayerVersionPermissionRequest {
|
|
|
4961
5469
|
*/
|
|
4962
5470
|
export interface RemovePermissionRequest {
|
|
4963
5471
|
/**
|
|
5472
|
+
* @public
|
|
4964
5473
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
4965
5474
|
* <p class="title">
|
|
4966
5475
|
* <b>Name formats</b>
|
|
@@ -4984,14 +5493,17 @@ export interface RemovePermissionRequest {
|
|
|
4984
5493
|
*/
|
|
4985
5494
|
FunctionName: string | undefined;
|
|
4986
5495
|
/**
|
|
5496
|
+
* @public
|
|
4987
5497
|
* <p>Statement ID of the permission to remove.</p>
|
|
4988
5498
|
*/
|
|
4989
5499
|
StatementId: string | undefined;
|
|
4990
5500
|
/**
|
|
5501
|
+
* @public
|
|
4991
5502
|
* <p>Specify a version or alias to remove permissions from a published version of the function.</p>
|
|
4992
5503
|
*/
|
|
4993
5504
|
Qualifier?: string;
|
|
4994
5505
|
/**
|
|
5506
|
+
* @public
|
|
4995
5507
|
* <p>Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a
|
|
4996
5508
|
* policy that has changed since you last read it.</p>
|
|
4997
5509
|
*/
|
|
@@ -5002,10 +5514,12 @@ export interface RemovePermissionRequest {
|
|
|
5002
5514
|
*/
|
|
5003
5515
|
export interface TagResourceRequest {
|
|
5004
5516
|
/**
|
|
5517
|
+
* @public
|
|
5005
5518
|
* <p>The function's Amazon Resource Name (ARN).</p>
|
|
5006
5519
|
*/
|
|
5007
5520
|
Resource: string | undefined;
|
|
5008
5521
|
/**
|
|
5522
|
+
* @public
|
|
5009
5523
|
* <p>A list of tags to apply to the function.</p>
|
|
5010
5524
|
*/
|
|
5011
5525
|
Tags: Record<string, string> | undefined;
|
|
@@ -5015,10 +5529,12 @@ export interface TagResourceRequest {
|
|
|
5015
5529
|
*/
|
|
5016
5530
|
export interface UntagResourceRequest {
|
|
5017
5531
|
/**
|
|
5532
|
+
* @public
|
|
5018
5533
|
* <p>The function's Amazon Resource Name (ARN).</p>
|
|
5019
5534
|
*/
|
|
5020
5535
|
Resource: string | undefined;
|
|
5021
5536
|
/**
|
|
5537
|
+
* @public
|
|
5022
5538
|
* <p>A list of tag keys to remove from the function.</p>
|
|
5023
5539
|
*/
|
|
5024
5540
|
TagKeys: string[] | undefined;
|
|
@@ -5028,6 +5544,7 @@ export interface UntagResourceRequest {
|
|
|
5028
5544
|
*/
|
|
5029
5545
|
export interface UpdateAliasRequest {
|
|
5030
5546
|
/**
|
|
5547
|
+
* @public
|
|
5031
5548
|
* <p>The name of the Lambda function.</p>
|
|
5032
5549
|
* <p class="title">
|
|
5033
5550
|
* <b>Name formats</b>
|
|
@@ -5051,23 +5568,28 @@ export interface UpdateAliasRequest {
|
|
|
5051
5568
|
*/
|
|
5052
5569
|
FunctionName: string | undefined;
|
|
5053
5570
|
/**
|
|
5571
|
+
* @public
|
|
5054
5572
|
* <p>The name of the alias.</p>
|
|
5055
5573
|
*/
|
|
5056
5574
|
Name: string | undefined;
|
|
5057
5575
|
/**
|
|
5576
|
+
* @public
|
|
5058
5577
|
* <p>The function version that the alias invokes.</p>
|
|
5059
5578
|
*/
|
|
5060
5579
|
FunctionVersion?: string;
|
|
5061
5580
|
/**
|
|
5581
|
+
* @public
|
|
5062
5582
|
* <p>A description of the alias.</p>
|
|
5063
5583
|
*/
|
|
5064
5584
|
Description?: string;
|
|
5065
5585
|
/**
|
|
5586
|
+
* @public
|
|
5066
5587
|
* <p>The <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing">routing
|
|
5067
5588
|
* configuration</a> of the alias.</p>
|
|
5068
5589
|
*/
|
|
5069
5590
|
RoutingConfig?: AliasRoutingConfiguration;
|
|
5070
5591
|
/**
|
|
5592
|
+
* @public
|
|
5071
5593
|
* <p>Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying
|
|
5072
5594
|
* an alias that has changed since you last read it.</p>
|
|
5073
5595
|
*/
|
|
@@ -5078,18 +5600,22 @@ export interface UpdateAliasRequest {
|
|
|
5078
5600
|
*/
|
|
5079
5601
|
export interface UpdateCodeSigningConfigRequest {
|
|
5080
5602
|
/**
|
|
5603
|
+
* @public
|
|
5081
5604
|
* <p>The The Amazon Resource Name (ARN) of the code signing configuration.</p>
|
|
5082
5605
|
*/
|
|
5083
5606
|
CodeSigningConfigArn: string | undefined;
|
|
5084
5607
|
/**
|
|
5608
|
+
* @public
|
|
5085
5609
|
* <p>Descriptive name for this code signing configuration.</p>
|
|
5086
5610
|
*/
|
|
5087
5611
|
Description?: string;
|
|
5088
5612
|
/**
|
|
5613
|
+
* @public
|
|
5089
5614
|
* <p>Signing profiles for this code signing configuration.</p>
|
|
5090
5615
|
*/
|
|
5091
5616
|
AllowedPublishers?: AllowedPublishers;
|
|
5092
5617
|
/**
|
|
5618
|
+
* @public
|
|
5093
5619
|
* <p>The code signing policy.</p>
|
|
5094
5620
|
*/
|
|
5095
5621
|
CodeSigningPolicies?: CodeSigningPolicies;
|
|
@@ -5099,6 +5625,7 @@ export interface UpdateCodeSigningConfigRequest {
|
|
|
5099
5625
|
*/
|
|
5100
5626
|
export interface UpdateCodeSigningConfigResponse {
|
|
5101
5627
|
/**
|
|
5628
|
+
* @public
|
|
5102
5629
|
* <p>The code signing configuration</p>
|
|
5103
5630
|
*/
|
|
5104
5631
|
CodeSigningConfig: CodeSigningConfig | undefined;
|
|
@@ -5108,10 +5635,12 @@ export interface UpdateCodeSigningConfigResponse {
|
|
|
5108
5635
|
*/
|
|
5109
5636
|
export interface UpdateEventSourceMappingRequest {
|
|
5110
5637
|
/**
|
|
5638
|
+
* @public
|
|
5111
5639
|
* <p>The identifier of the event source mapping.</p>
|
|
5112
5640
|
*/
|
|
5113
5641
|
UUID: string | undefined;
|
|
5114
5642
|
/**
|
|
5643
|
+
* @public
|
|
5115
5644
|
* <p>The name of the Lambda function.</p>
|
|
5116
5645
|
* <p class="title">
|
|
5117
5646
|
* <b>Name formats</b>
|
|
@@ -5139,11 +5668,13 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
5139
5668
|
*/
|
|
5140
5669
|
FunctionName?: string;
|
|
5141
5670
|
/**
|
|
5671
|
+
* @public
|
|
5142
5672
|
* <p>When true, the event source mapping is active. When false, Lambda pauses polling and invocation.</p>
|
|
5143
5673
|
* <p>Default: True</p>
|
|
5144
5674
|
*/
|
|
5145
5675
|
Enabled?: boolean;
|
|
5146
5676
|
/**
|
|
5677
|
+
* @public
|
|
5147
5678
|
* <p>The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation
|
|
5148
5679
|
* (6 MB).</p>
|
|
5149
5680
|
* <ul>
|
|
@@ -5179,11 +5710,13 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
5179
5710
|
*/
|
|
5180
5711
|
BatchSize?: number;
|
|
5181
5712
|
/**
|
|
5713
|
+
* @public
|
|
5182
5714
|
* <p>An object that defines the filter criteria that
|
|
5183
5715
|
* determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p>
|
|
5184
5716
|
*/
|
|
5185
5717
|
FilterCriteria?: FilterCriteria;
|
|
5186
5718
|
/**
|
|
5719
|
+
* @public
|
|
5187
5720
|
* <p>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
|
5188
5721
|
* You can configure <code>MaximumBatchingWindowInSeconds</code> to any value from 0 seconds to 300 seconds in increments of seconds.</p>
|
|
5189
5722
|
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default
|
|
@@ -5193,42 +5726,52 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
5193
5726
|
*/
|
|
5194
5727
|
MaximumBatchingWindowInSeconds?: number;
|
|
5195
5728
|
/**
|
|
5729
|
+
* @public
|
|
5196
5730
|
* <p>(Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or standard Amazon SNS topic destination for discarded records.</p>
|
|
5197
5731
|
*/
|
|
5198
5732
|
DestinationConfig?: DestinationConfig;
|
|
5199
5733
|
/**
|
|
5734
|
+
* @public
|
|
5200
5735
|
* <p>(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is infinite (-1).</p>
|
|
5201
5736
|
*/
|
|
5202
5737
|
MaximumRecordAgeInSeconds?: number;
|
|
5203
5738
|
/**
|
|
5739
|
+
* @public
|
|
5204
5740
|
* <p>(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.</p>
|
|
5205
5741
|
*/
|
|
5206
5742
|
BisectBatchOnFunctionError?: boolean;
|
|
5207
5743
|
/**
|
|
5744
|
+
* @public
|
|
5208
5745
|
* <p>(Kinesis and DynamoDB Streams only) 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>
|
|
5209
5746
|
*/
|
|
5210
5747
|
MaximumRetryAttempts?: number;
|
|
5211
5748
|
/**
|
|
5749
|
+
* @public
|
|
5212
5750
|
* <p>(Kinesis and DynamoDB Streams only) The number of batches to process from each shard concurrently.</p>
|
|
5213
5751
|
*/
|
|
5214
5752
|
ParallelizationFactor?: number;
|
|
5215
5753
|
/**
|
|
5754
|
+
* @public
|
|
5216
5755
|
* <p>An array of authentication protocols or VPC components required to secure your event source.</p>
|
|
5217
5756
|
*/
|
|
5218
5757
|
SourceAccessConfigurations?: SourceAccessConfiguration[];
|
|
5219
5758
|
/**
|
|
5759
|
+
* @public
|
|
5220
5760
|
* <p>(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.</p>
|
|
5221
5761
|
*/
|
|
5222
5762
|
TumblingWindowInSeconds?: number;
|
|
5223
5763
|
/**
|
|
5764
|
+
* @public
|
|
5224
5765
|
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
5225
5766
|
*/
|
|
5226
5767
|
FunctionResponseTypes?: (FunctionResponseType | string)[];
|
|
5227
5768
|
/**
|
|
5769
|
+
* @public
|
|
5228
5770
|
* <p>(Amazon SQS only) The scaling configuration for the event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency">Configuring maximum concurrency for Amazon SQS event sources</a>.</p>
|
|
5229
5771
|
*/
|
|
5230
5772
|
ScalingConfig?: ScalingConfig;
|
|
5231
5773
|
/**
|
|
5774
|
+
* @public
|
|
5232
5775
|
* <p>Specific configuration settings for a DocumentDB event source.</p>
|
|
5233
5776
|
*/
|
|
5234
5777
|
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
|
|
@@ -5238,6 +5781,7 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
5238
5781
|
*/
|
|
5239
5782
|
export interface UpdateFunctionCodeRequest {
|
|
5240
5783
|
/**
|
|
5784
|
+
* @public
|
|
5241
5785
|
* <p>The name of the Lambda function.</p>
|
|
5242
5786
|
* <p class="title">
|
|
5243
5787
|
* <b>Name formats</b>
|
|
@@ -5261,44 +5805,53 @@ export interface UpdateFunctionCodeRequest {
|
|
|
5261
5805
|
*/
|
|
5262
5806
|
FunctionName: string | undefined;
|
|
5263
5807
|
/**
|
|
5808
|
+
* @public
|
|
5264
5809
|
* <p>The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients
|
|
5265
5810
|
* handle the encoding for you. Use only with a function defined with a .zip file archive deployment package.</p>
|
|
5266
5811
|
*/
|
|
5267
5812
|
ZipFile?: Uint8Array;
|
|
5268
5813
|
/**
|
|
5814
|
+
* @public
|
|
5269
5815
|
* <p>An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different
|
|
5270
5816
|
* Amazon Web Services account. Use only with a function defined with a .zip file archive deployment package.</p>
|
|
5271
5817
|
*/
|
|
5272
5818
|
S3Bucket?: string;
|
|
5273
5819
|
/**
|
|
5820
|
+
* @public
|
|
5274
5821
|
* <p>The Amazon S3 key of the deployment package. Use only with a function defined with a .zip file archive deployment package.</p>
|
|
5275
5822
|
*/
|
|
5276
5823
|
S3Key?: string;
|
|
5277
5824
|
/**
|
|
5825
|
+
* @public
|
|
5278
5826
|
* <p>For versioned objects, the version of the deployment package object to use.</p>
|
|
5279
5827
|
*/
|
|
5280
5828
|
S3ObjectVersion?: string;
|
|
5281
5829
|
/**
|
|
5830
|
+
* @public
|
|
5282
5831
|
* <p>URI of a container image in the Amazon ECR registry. Do not use for a function defined with a .zip
|
|
5283
5832
|
* file archive.</p>
|
|
5284
5833
|
*/
|
|
5285
5834
|
ImageUri?: string;
|
|
5286
5835
|
/**
|
|
5836
|
+
* @public
|
|
5287
5837
|
* <p>Set to true to publish a new version of the function after updating the code. This has the same effect as
|
|
5288
5838
|
* calling <a>PublishVersion</a> separately.</p>
|
|
5289
5839
|
*/
|
|
5290
5840
|
Publish?: boolean;
|
|
5291
5841
|
/**
|
|
5842
|
+
* @public
|
|
5292
5843
|
* <p>Set to true to validate the request parameters and access permissions without modifying the function
|
|
5293
5844
|
* code.</p>
|
|
5294
5845
|
*/
|
|
5295
5846
|
DryRun?: boolean;
|
|
5296
5847
|
/**
|
|
5848
|
+
* @public
|
|
5297
5849
|
* <p>Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a
|
|
5298
5850
|
* function that has changed since you last read it.</p>
|
|
5299
5851
|
*/
|
|
5300
5852
|
RevisionId?: string;
|
|
5301
5853
|
/**
|
|
5854
|
+
* @public
|
|
5302
5855
|
* <p>The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64).
|
|
5303
5856
|
* The default value is <code>x86_64</code>.</p>
|
|
5304
5857
|
*/
|
|
@@ -5309,6 +5862,7 @@ export interface UpdateFunctionCodeRequest {
|
|
|
5309
5862
|
*/
|
|
5310
5863
|
export interface UpdateFunctionConfigurationRequest {
|
|
5311
5864
|
/**
|
|
5865
|
+
* @public
|
|
5312
5866
|
* <p>The name of the Lambda function.</p>
|
|
5313
5867
|
* <p class="title">
|
|
5314
5868
|
* <b>Name formats</b>
|
|
@@ -5332,10 +5886,12 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
5332
5886
|
*/
|
|
5333
5887
|
FunctionName: string | undefined;
|
|
5334
5888
|
/**
|
|
5889
|
+
* @public
|
|
5335
5890
|
* <p>The Amazon Resource Name (ARN) of the function's execution role.</p>
|
|
5336
5891
|
*/
|
|
5337
5892
|
Role?: string;
|
|
5338
5893
|
/**
|
|
5894
|
+
* @public
|
|
5339
5895
|
* <p>The name of the method within your code that Lambda calls to run your function.
|
|
5340
5896
|
* Handler is required if the deployment package is a .zip file archive. The format includes the
|
|
5341
5897
|
* file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information,
|
|
@@ -5343,40 +5899,48 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
5343
5899
|
*/
|
|
5344
5900
|
Handler?: string;
|
|
5345
5901
|
/**
|
|
5902
|
+
* @public
|
|
5346
5903
|
* <p>A description of the function.</p>
|
|
5347
5904
|
*/
|
|
5348
5905
|
Description?: string;
|
|
5349
5906
|
/**
|
|
5907
|
+
* @public
|
|
5350
5908
|
* <p>The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The
|
|
5351
5909
|
* maximum allowed value is 900 seconds. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html">Lambda execution environment</a>.</p>
|
|
5352
5910
|
*/
|
|
5353
5911
|
Timeout?: number;
|
|
5354
5912
|
/**
|
|
5913
|
+
* @public
|
|
5355
5914
|
* <p>The amount of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console">memory available to the function</a> at runtime.
|
|
5356
5915
|
* Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.</p>
|
|
5357
5916
|
*/
|
|
5358
5917
|
MemorySize?: number;
|
|
5359
5918
|
/**
|
|
5919
|
+
* @public
|
|
5360
5920
|
* <p>For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC.
|
|
5361
5921
|
* When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more
|
|
5362
5922
|
* information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">Configuring a Lambda function to access resources in a VPC</a>.</p>
|
|
5363
5923
|
*/
|
|
5364
5924
|
VpcConfig?: VpcConfig;
|
|
5365
5925
|
/**
|
|
5926
|
+
* @public
|
|
5366
5927
|
* <p>Environment variables that are accessible from function code during execution.</p>
|
|
5367
5928
|
*/
|
|
5368
5929
|
Environment?: Environment;
|
|
5369
5930
|
/**
|
|
5931
|
+
* @public
|
|
5370
5932
|
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a>. Runtime is required if the deployment package is a .zip file archive.</p>
|
|
5371
5933
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
5372
5934
|
*/
|
|
5373
5935
|
Runtime?: Runtime | string;
|
|
5374
5936
|
/**
|
|
5937
|
+
* @public
|
|
5375
5938
|
* <p>A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events
|
|
5376
5939
|
* when they fail processing. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq">Dead-letter queues</a>.</p>
|
|
5377
5940
|
*/
|
|
5378
5941
|
DeadLetterConfig?: DeadLetterConfig;
|
|
5379
5942
|
/**
|
|
5943
|
+
* @public
|
|
5380
5944
|
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's
|
|
5381
5945
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>. When
|
|
5382
5946
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> is activated, Lambda also uses
|
|
@@ -5386,36 +5950,43 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
5386
5950
|
*/
|
|
5387
5951
|
KMSKeyArn?: string;
|
|
5388
5952
|
/**
|
|
5953
|
+
* @public
|
|
5389
5954
|
* <p>Set <code>Mode</code> to <code>Active</code> to sample and trace a subset of incoming requests with
|
|
5390
5955
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html">X-Ray</a>.</p>
|
|
5391
5956
|
*/
|
|
5392
5957
|
TracingConfig?: TracingConfig;
|
|
5393
5958
|
/**
|
|
5959
|
+
* @public
|
|
5394
5960
|
* <p>Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a
|
|
5395
5961
|
* function that has changed since you last read it.</p>
|
|
5396
5962
|
*/
|
|
5397
5963
|
RevisionId?: string;
|
|
5398
5964
|
/**
|
|
5965
|
+
* @public
|
|
5399
5966
|
* <p>A list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">function layers</a>
|
|
5400
5967
|
* to add to the function's execution environment. Specify each layer by its ARN, including the version.</p>
|
|
5401
5968
|
*/
|
|
5402
5969
|
Layers?: string[];
|
|
5403
5970
|
/**
|
|
5971
|
+
* @public
|
|
5404
5972
|
* <p>Connection settings for an Amazon EFS file system.</p>
|
|
5405
5973
|
*/
|
|
5406
5974
|
FileSystemConfigs?: FileSystemConfig[];
|
|
5407
5975
|
/**
|
|
5976
|
+
* @public
|
|
5408
5977
|
* <p>
|
|
5409
5978
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html">Container image configuration
|
|
5410
5979
|
* values</a> that override the values in the container image Docker file.</p>
|
|
5411
5980
|
*/
|
|
5412
5981
|
ImageConfig?: ImageConfig;
|
|
5413
5982
|
/**
|
|
5983
|
+
* @public
|
|
5414
5984
|
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
|
|
5415
5985
|
* number between 512 and 10,240 MB.</p>
|
|
5416
5986
|
*/
|
|
5417
5987
|
EphemeralStorage?: EphemeralStorage;
|
|
5418
5988
|
/**
|
|
5989
|
+
* @public
|
|
5419
5990
|
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">SnapStart</a> setting.</p>
|
|
5420
5991
|
*/
|
|
5421
5992
|
SnapStart?: SnapStart;
|
|
@@ -5425,6 +5996,7 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
5425
5996
|
*/
|
|
5426
5997
|
export interface UpdateFunctionEventInvokeConfigRequest {
|
|
5427
5998
|
/**
|
|
5999
|
+
* @public
|
|
5428
6000
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
5429
6001
|
* <p class="title">
|
|
5430
6002
|
* <b>Name formats</b>
|
|
@@ -5448,18 +6020,22 @@ export interface UpdateFunctionEventInvokeConfigRequest {
|
|
|
5448
6020
|
*/
|
|
5449
6021
|
FunctionName: string | undefined;
|
|
5450
6022
|
/**
|
|
6023
|
+
* @public
|
|
5451
6024
|
* <p>A version number or alias name.</p>
|
|
5452
6025
|
*/
|
|
5453
6026
|
Qualifier?: string;
|
|
5454
6027
|
/**
|
|
6028
|
+
* @public
|
|
5455
6029
|
* <p>The maximum number of times to retry when the function returns an error.</p>
|
|
5456
6030
|
*/
|
|
5457
6031
|
MaximumRetryAttempts?: number;
|
|
5458
6032
|
/**
|
|
6033
|
+
* @public
|
|
5459
6034
|
* <p>The maximum age of a request that Lambda sends to a function for processing.</p>
|
|
5460
6035
|
*/
|
|
5461
6036
|
MaximumEventAgeInSeconds?: number;
|
|
5462
6037
|
/**
|
|
6038
|
+
* @public
|
|
5463
6039
|
* <p>A destination for events after they have been sent to a function for processing.</p>
|
|
5464
6040
|
* <p class="title">
|
|
5465
6041
|
* <b>Destinations</b>
|
|
@@ -5490,6 +6066,7 @@ export interface UpdateFunctionEventInvokeConfigRequest {
|
|
|
5490
6066
|
*/
|
|
5491
6067
|
export interface UpdateFunctionUrlConfigRequest {
|
|
5492
6068
|
/**
|
|
6069
|
+
* @public
|
|
5493
6070
|
* <p>The name of the Lambda function.</p>
|
|
5494
6071
|
* <p class="title">
|
|
5495
6072
|
* <b>Name formats</b>
|
|
@@ -5513,21 +6090,25 @@ export interface UpdateFunctionUrlConfigRequest {
|
|
|
5513
6090
|
*/
|
|
5514
6091
|
FunctionName: string | undefined;
|
|
5515
6092
|
/**
|
|
6093
|
+
* @public
|
|
5516
6094
|
* <p>The alias name.</p>
|
|
5517
6095
|
*/
|
|
5518
6096
|
Qualifier?: string;
|
|
5519
6097
|
/**
|
|
6098
|
+
* @public
|
|
5520
6099
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
5521
6100
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
5522
6101
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
5523
6102
|
*/
|
|
5524
6103
|
AuthType?: FunctionUrlAuthType | string;
|
|
5525
6104
|
/**
|
|
6105
|
+
* @public
|
|
5526
6106
|
* <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
|
|
5527
6107
|
* for your function URL.</p>
|
|
5528
6108
|
*/
|
|
5529
6109
|
Cors?: Cors;
|
|
5530
6110
|
/**
|
|
6111
|
+
* @public
|
|
5531
6112
|
* <p>Use one of the following options:</p>
|
|
5532
6113
|
* <ul>
|
|
5533
6114
|
* <li>
|
|
@@ -5549,33 +6130,40 @@ export interface UpdateFunctionUrlConfigRequest {
|
|
|
5549
6130
|
*/
|
|
5550
6131
|
export interface UpdateFunctionUrlConfigResponse {
|
|
5551
6132
|
/**
|
|
6133
|
+
* @public
|
|
5552
6134
|
* <p>The HTTP URL endpoint for your function.</p>
|
|
5553
6135
|
*/
|
|
5554
6136
|
FunctionUrl: string | undefined;
|
|
5555
6137
|
/**
|
|
6138
|
+
* @public
|
|
5556
6139
|
* <p>The Amazon Resource Name (ARN) of your function.</p>
|
|
5557
6140
|
*/
|
|
5558
6141
|
FunctionArn: string | undefined;
|
|
5559
6142
|
/**
|
|
6143
|
+
* @public
|
|
5560
6144
|
* <p>The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict access to authenticated
|
|
5561
6145
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
5562
6146
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
5563
6147
|
*/
|
|
5564
6148
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
5565
6149
|
/**
|
|
6150
|
+
* @public
|
|
5566
6151
|
* <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
|
|
5567
6152
|
* for your function URL.</p>
|
|
5568
6153
|
*/
|
|
5569
6154
|
Cors?: Cors;
|
|
5570
6155
|
/**
|
|
6156
|
+
* @public
|
|
5571
6157
|
* <p>When the function URL was created, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
5572
6158
|
*/
|
|
5573
6159
|
CreationTime: string | undefined;
|
|
5574
6160
|
/**
|
|
6161
|
+
* @public
|
|
5575
6162
|
* <p>When the function URL configuration was last updated, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
5576
6163
|
*/
|
|
5577
6164
|
LastModifiedTime: string | undefined;
|
|
5578
6165
|
/**
|
|
6166
|
+
* @public
|
|
5579
6167
|
* <p>Use one of the following options:</p>
|
|
5580
6168
|
* <ul>
|
|
5581
6169
|
* <li>
|