@aws-sdk/client-lambda 3.939.0 → 3.942.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/README.md +64 -0
- package/dist-cjs/index.js +630 -21
- package/dist-es/Lambda.js +16 -0
- package/dist-es/commands/CreateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/DeleteCapacityProviderCommand.js +16 -0
- package/dist-es/commands/GetCapacityProviderCommand.js +16 -0
- package/dist-es/commands/GetFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/ListCapacityProvidersCommand.js +16 -0
- package/dist-es/commands/ListFunctionVersionsByCapacityProviderCommand.js +16 -0
- package/dist-es/commands/PutFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/UpdateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/enums.js +50 -6
- package/dist-es/models/errors.js +44 -0
- package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionVersionsByCapacityProviderPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +415 -16
- package/dist-types/Lambda.d.ts +57 -0
- package/dist-types/LambdaClient.d.ts +10 -2
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +162 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +22 -3
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +126 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -4
- package/dist-types/commands/GetCapacityProviderCommand.d.ts +123 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +11 -3
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +11 -3
- package/dist-types/commands/GetFunctionScalingConfigCommand.d.ts +95 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/dist-types/commands/InvokeCommand.d.ts +4 -1
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +4 -1
- package/dist-types/commands/ListCapacityProvidersCommand.d.ts +125 -0
- package/dist-types/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +95 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +11 -3
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +11 -3
- package/dist-types/commands/PublishVersionCommand.d.ts +15 -3
- package/dist-types/commands/PutFunctionScalingConfigCommand.d.ts +94 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +136 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +12 -3
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +18 -3
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/enums.d.ts +90 -14
- package/dist-types/models/errors.d.ts +53 -1
- package/dist-types/models/models_0.d.ts +642 -147
- package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +44 -0
- package/dist-types/ts3.4/Lambda.d.ts +143 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +8 -3
- package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +59 -7
- package/dist-types/ts3.4/models/errors.d.ts +31 -0
- package/dist-types/ts3.4/models/models_0.d.ts +172 -42
- package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +44 -0
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
2
|
-
import { ApplicationLogLevel, Architecture, CodeSigningPolicy, EndPointType, EventSourceMappingMetric, EventSourcePosition, FullDocument, FunctionResponseType, FunctionUrlAuthType, FunctionVersion, InvocationType, InvokeMode, KafkaSchemaRegistryAuthType, KafkaSchemaValidationAttribute, LastUpdateStatus, LastUpdateStatusReasonCode, LogFormat, LogType, PackageType, ProvisionedConcurrencyStatusEnum, RecursiveLoop, ResponseStreamingInvocationType, Runtime, SchemaRegistryEventRecordFormat, SnapStartApplyOn, SnapStartOptimizationStatus, SourceAccessType, State, StateReasonCode, SystemLogLevel, TenantIsolationMode, TracingMode, UpdateRuntimeOn } from "./enums";
|
|
2
|
+
import { ApplicationLogLevel, Architecture, CapacityProviderPredefinedMetricType, CapacityProviderScalingMode, CapacityProviderState, CodeSigningPolicy, EndPointType, EventSourceMappingMetric, EventSourcePosition, FullDocument, FunctionResponseType, FunctionUrlAuthType, FunctionVersion, FunctionVersionLatestPublished, InvocationType, InvokeMode, KafkaSchemaRegistryAuthType, KafkaSchemaValidationAttribute, LastUpdateStatus, LastUpdateStatusReasonCode, LogFormat, LogType, PackageType, ProvisionedConcurrencyStatusEnum, RecursiveLoop, ResponseStreamingInvocationType, Runtime, SchemaRegistryEventRecordFormat, SnapStartApplyOn, SnapStartOptimizationStatus, SourceAccessType, State, StateReasonCode, SystemLogLevel, TenantIsolationMode, TracingMode, UpdateRuntimeOn } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Limits that are related to concurrency and storage. All file and storage sizes are in bytes.</p>
|
|
5
5
|
* @public
|
|
@@ -162,7 +162,7 @@ export interface AddPermissionRequest {
|
|
|
162
162
|
*/
|
|
163
163
|
FunctionUrlAuthType?: FunctionUrlAuthType | undefined;
|
|
164
164
|
/**
|
|
165
|
-
* <p>
|
|
165
|
+
* <p>Indicates whether the permission applies when the function is invoked through a function URL. </p>
|
|
166
166
|
* @public
|
|
167
167
|
*/
|
|
168
168
|
InvokedViaFunctionUrl?: boolean | undefined;
|
|
@@ -304,6 +304,343 @@ export interface AmazonManagedKafkaEventSourceConfig {
|
|
|
304
304
|
*/
|
|
305
305
|
SchemaRegistryConfig?: KafkaSchemaRegistryConfig | undefined;
|
|
306
306
|
}
|
|
307
|
+
/**
|
|
308
|
+
* <p>A scaling policy for the capacity provider that automatically adjusts capacity to maintain a target value for a specific metric.</p>
|
|
309
|
+
* @public
|
|
310
|
+
*/
|
|
311
|
+
export interface TargetTrackingScalingPolicy {
|
|
312
|
+
/**
|
|
313
|
+
* <p>The predefined metric type to track for scaling decisions.</p>
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
PredefinedMetricType: CapacityProviderPredefinedMetricType | undefined;
|
|
317
|
+
/**
|
|
318
|
+
* <p>The target value for the metric that the scaling policy attempts to maintain through scaling actions.</p>
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
TargetValue: number | undefined;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* <p>Configuration that defines how the capacity provider scales compute instances based on demand and policies.</p>
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
export interface CapacityProviderScalingConfig {
|
|
328
|
+
/**
|
|
329
|
+
* <p>The maximum number of vCPUs that the capacity provider can provision across all compute instances.</p>
|
|
330
|
+
* @public
|
|
331
|
+
*/
|
|
332
|
+
MaxVCpuCount?: number | undefined;
|
|
333
|
+
/**
|
|
334
|
+
* <p>The scaling mode that determines how the capacity provider responds to changes in demand.</p>
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
ScalingMode?: CapacityProviderScalingMode | undefined;
|
|
338
|
+
/**
|
|
339
|
+
* <p>A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
ScalingPolicies?: TargetTrackingScalingPolicy[] | undefined;
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* <p>Specifications that define the characteristics and constraints for compute instances used by the capacity provider.</p>
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
export interface InstanceRequirements {
|
|
349
|
+
/**
|
|
350
|
+
* <p>A list of supported CPU architectures for compute instances. Valid values include <code>x86_64</code> and <code>arm64</code>.</p>
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
Architectures?: Architecture[] | undefined;
|
|
354
|
+
/**
|
|
355
|
+
* <p>A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.</p>
|
|
356
|
+
* @public
|
|
357
|
+
*/
|
|
358
|
+
AllowedInstanceTypes?: string[] | undefined;
|
|
359
|
+
/**
|
|
360
|
+
* <p>A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.</p>
|
|
361
|
+
* @public
|
|
362
|
+
*/
|
|
363
|
+
ExcludedInstanceTypes?: string[] | undefined;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* <p>Configuration that specifies the permissions required for the capacity provider to manage compute resources.</p>
|
|
367
|
+
* @public
|
|
368
|
+
*/
|
|
369
|
+
export interface CapacityProviderPermissionsConfig {
|
|
370
|
+
/**
|
|
371
|
+
* <p>The ARN of the IAM role that the capacity provider uses to manage compute instances and other Amazon Web Services resources.</p>
|
|
372
|
+
* @public
|
|
373
|
+
*/
|
|
374
|
+
CapacityProviderOperatorRoleArn: string | undefined;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* <p>VPC configuration that specifies the network settings for compute instances managed by the capacity provider.</p>
|
|
378
|
+
* @public
|
|
379
|
+
*/
|
|
380
|
+
export interface CapacityProviderVpcConfig {
|
|
381
|
+
/**
|
|
382
|
+
* <p>A list of subnet IDs where the capacity provider launches compute instances.</p>
|
|
383
|
+
* @public
|
|
384
|
+
*/
|
|
385
|
+
SubnetIds: string[] | undefined;
|
|
386
|
+
/**
|
|
387
|
+
* <p>A list of security group IDs that control network access for compute instances managed by the capacity provider.</p>
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
SecurityGroupIds: string[] | undefined;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* @public
|
|
394
|
+
*/
|
|
395
|
+
export interface CreateCapacityProviderRequest {
|
|
396
|
+
/**
|
|
397
|
+
* <p>The name of the capacity provider. </p>
|
|
398
|
+
* @public
|
|
399
|
+
*/
|
|
400
|
+
CapacityProviderName: string | undefined;
|
|
401
|
+
/**
|
|
402
|
+
* <p>The VPC configuration for the capacity provider, including subnet IDs and security group IDs where compute instances will be launched.</p>
|
|
403
|
+
* @public
|
|
404
|
+
*/
|
|
405
|
+
VpcConfig: CapacityProviderVpcConfig | undefined;
|
|
406
|
+
/**
|
|
407
|
+
* <p>The permissions configuration that specifies the IAM role ARN used by the capacity provider to manage compute resources.</p>
|
|
408
|
+
* @public
|
|
409
|
+
*/
|
|
410
|
+
PermissionsConfig: CapacityProviderPermissionsConfig | undefined;
|
|
411
|
+
/**
|
|
412
|
+
* <p>The instance requirements that specify the compute instance characteristics, including architectures and allowed or excluded instance types.</p>
|
|
413
|
+
* @public
|
|
414
|
+
*/
|
|
415
|
+
InstanceRequirements?: InstanceRequirements | undefined;
|
|
416
|
+
/**
|
|
417
|
+
* <p>The scaling configuration that defines how the capacity provider scales compute instances, including maximum vCPU count and scaling policies.</p>
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
CapacityProviderScalingConfig?: CapacityProviderScalingConfig | undefined;
|
|
421
|
+
/**
|
|
422
|
+
* <p>The ARN of the KMS key used to encrypt data associated with the capacity provider.</p>
|
|
423
|
+
* @public
|
|
424
|
+
*/
|
|
425
|
+
KmsKeyArn?: string | undefined;
|
|
426
|
+
/**
|
|
427
|
+
* <p>A list of tags to associate with the capacity provider.</p>
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
Tags?: Record<string, string> | undefined;
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* <p>A capacity provider manages compute resources for Lambda functions.</p>
|
|
434
|
+
* @public
|
|
435
|
+
*/
|
|
436
|
+
export interface CapacityProvider {
|
|
437
|
+
/**
|
|
438
|
+
* <p>The Amazon Resource Name (ARN) of the capacity provider.</p>
|
|
439
|
+
* @public
|
|
440
|
+
*/
|
|
441
|
+
CapacityProviderArn: string | undefined;
|
|
442
|
+
/**
|
|
443
|
+
* <p>The current state of the capacity provider.</p>
|
|
444
|
+
* @public
|
|
445
|
+
*/
|
|
446
|
+
State: CapacityProviderState | undefined;
|
|
447
|
+
/**
|
|
448
|
+
* <p>The VPC configuration for the capacity provider.</p>
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
VpcConfig: CapacityProviderVpcConfig | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* <p>The permissions configuration for the capacity provider.</p>
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
PermissionsConfig: CapacityProviderPermissionsConfig | undefined;
|
|
457
|
+
/**
|
|
458
|
+
* <p>The instance requirements for compute resources managed by the capacity provider.</p>
|
|
459
|
+
* @public
|
|
460
|
+
*/
|
|
461
|
+
InstanceRequirements?: InstanceRequirements | undefined;
|
|
462
|
+
/**
|
|
463
|
+
* <p>The scaling configuration for the capacity provider.</p>
|
|
464
|
+
* @public
|
|
465
|
+
*/
|
|
466
|
+
CapacityProviderScalingConfig?: CapacityProviderScalingConfig | undefined;
|
|
467
|
+
/**
|
|
468
|
+
* <p>The ARN of the KMS key used to encrypt the capacity provider's resources.</p>
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
KmsKeyArn?: string | undefined;
|
|
472
|
+
/**
|
|
473
|
+
* <p>The date and time when the capacity provider was last modified.</p>
|
|
474
|
+
* @public
|
|
475
|
+
*/
|
|
476
|
+
LastModified?: string | undefined;
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* @public
|
|
480
|
+
*/
|
|
481
|
+
export interface CreateCapacityProviderResponse {
|
|
482
|
+
/**
|
|
483
|
+
* <p>Information about the capacity provider that was created.</p>
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
CapacityProvider: CapacityProvider | undefined;
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* @public
|
|
490
|
+
*/
|
|
491
|
+
export interface DeleteCapacityProviderRequest {
|
|
492
|
+
/**
|
|
493
|
+
* <p>The name of the capacity provider to delete.</p>
|
|
494
|
+
* @public
|
|
495
|
+
*/
|
|
496
|
+
CapacityProviderName: string | undefined;
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
501
|
+
export interface DeleteCapacityProviderResponse {
|
|
502
|
+
/**
|
|
503
|
+
* <p>Information about the deleted capacity provider.</p>
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
CapacityProvider: CapacityProvider | undefined;
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
export interface GetCapacityProviderRequest {
|
|
512
|
+
/**
|
|
513
|
+
* <p>The name of the capacity provider to retrieve.</p>
|
|
514
|
+
* @public
|
|
515
|
+
*/
|
|
516
|
+
CapacityProviderName: string | undefined;
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* @public
|
|
520
|
+
*/
|
|
521
|
+
export interface GetCapacityProviderResponse {
|
|
522
|
+
/**
|
|
523
|
+
* <p>Information about the capacity provider, including its configuration and current state.</p>
|
|
524
|
+
* @public
|
|
525
|
+
*/
|
|
526
|
+
CapacityProvider: CapacityProvider | undefined;
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* @public
|
|
530
|
+
*/
|
|
531
|
+
export interface ListCapacityProvidersRequest {
|
|
532
|
+
/**
|
|
533
|
+
* <p>Filter capacity providers by their current state.</p>
|
|
534
|
+
* @public
|
|
535
|
+
*/
|
|
536
|
+
State?: CapacityProviderState | undefined;
|
|
537
|
+
/**
|
|
538
|
+
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
539
|
+
* @public
|
|
540
|
+
*/
|
|
541
|
+
Marker?: string | undefined;
|
|
542
|
+
/**
|
|
543
|
+
* <p>The maximum number of capacity providers to return.</p>
|
|
544
|
+
* @public
|
|
545
|
+
*/
|
|
546
|
+
MaxItems?: number | undefined;
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* @public
|
|
550
|
+
*/
|
|
551
|
+
export interface ListCapacityProvidersResponse {
|
|
552
|
+
/**
|
|
553
|
+
* <p>A list of capacity providers in your account.</p>
|
|
554
|
+
* @public
|
|
555
|
+
*/
|
|
556
|
+
CapacityProviders: CapacityProvider[] | undefined;
|
|
557
|
+
/**
|
|
558
|
+
* <p>The pagination token that's included if more results are available.</p>
|
|
559
|
+
* @public
|
|
560
|
+
*/
|
|
561
|
+
NextMarker?: string | undefined;
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* @public
|
|
565
|
+
*/
|
|
566
|
+
export interface ListFunctionVersionsByCapacityProviderRequest {
|
|
567
|
+
/**
|
|
568
|
+
* <p>The name of the capacity provider to list function versions for.</p>
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
CapacityProviderName: string | undefined;
|
|
572
|
+
/**
|
|
573
|
+
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
574
|
+
* @public
|
|
575
|
+
*/
|
|
576
|
+
Marker?: string | undefined;
|
|
577
|
+
/**
|
|
578
|
+
* <p>The maximum number of function versions to return in the response.</p>
|
|
579
|
+
* @public
|
|
580
|
+
*/
|
|
581
|
+
MaxItems?: number | undefined;
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* <p>Information about a function version that uses a specific capacity provider, including its ARN and current state.</p>
|
|
585
|
+
* @public
|
|
586
|
+
*/
|
|
587
|
+
export interface FunctionVersionsByCapacityProviderListItem {
|
|
588
|
+
/**
|
|
589
|
+
* <p>The Amazon Resource Name (ARN) of the function version.</p>
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
FunctionArn: string | undefined;
|
|
593
|
+
/**
|
|
594
|
+
* <p>The current state of the function version.</p>
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
State: State | undefined;
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
export interface ListFunctionVersionsByCapacityProviderResponse {
|
|
603
|
+
/**
|
|
604
|
+
* <p>The Amazon Resource Name (ARN) of the capacity provider.</p>
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
CapacityProviderArn: string | undefined;
|
|
608
|
+
/**
|
|
609
|
+
* <p>A list of function versions that use the specified capacity provider.</p>
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
FunctionVersions: FunctionVersionsByCapacityProviderListItem[] | undefined;
|
|
613
|
+
/**
|
|
614
|
+
* <p>The pagination token that's included if more results are available.</p>
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
617
|
+
NextMarker?: string | undefined;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
export interface UpdateCapacityProviderRequest {
|
|
623
|
+
/**
|
|
624
|
+
* <p>The name of the capacity provider to update.</p>
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
CapacityProviderName: string | undefined;
|
|
628
|
+
/**
|
|
629
|
+
* <p>The updated scaling configuration for the capacity provider.</p>
|
|
630
|
+
* @public
|
|
631
|
+
*/
|
|
632
|
+
CapacityProviderScalingConfig?: CapacityProviderScalingConfig | undefined;
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* @public
|
|
636
|
+
*/
|
|
637
|
+
export interface UpdateCapacityProviderResponse {
|
|
638
|
+
/**
|
|
639
|
+
* <p>Information about the updated capacity provider.</p>
|
|
640
|
+
* @public
|
|
641
|
+
*/
|
|
642
|
+
CapacityProvider: CapacityProvider | undefined;
|
|
643
|
+
}
|
|
307
644
|
/**
|
|
308
645
|
* <p>Code signing configuration <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies">policies</a> specify the validation failure action for signature mismatch or expiry.</p>
|
|
309
646
|
* @public
|
|
@@ -521,6 +858,46 @@ export interface UpdateCodeSigningConfigResponse {
|
|
|
521
858
|
*/
|
|
522
859
|
CodeSigningConfig: CodeSigningConfig | undefined;
|
|
523
860
|
}
|
|
861
|
+
/**
|
|
862
|
+
* @public
|
|
863
|
+
*/
|
|
864
|
+
export interface DeleteFunctionRequest {
|
|
865
|
+
/**
|
|
866
|
+
* <p>The name or ARN of the Lambda function or version.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> – <code>my-function</code> (name-only), <code>my-function:1</code> (with version).</p> </li> <li> <p> <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p> </li> <li> <p> <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p> </li> </ul> <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
867
|
+
* @public
|
|
868
|
+
*/
|
|
869
|
+
FunctionName: string | undefined;
|
|
870
|
+
/**
|
|
871
|
+
* <p>Specify a version to delete. You can't delete a version that an alias references.</p>
|
|
872
|
+
* @public
|
|
873
|
+
*/
|
|
874
|
+
Qualifier?: string | undefined;
|
|
875
|
+
}
|
|
876
|
+
/**
|
|
877
|
+
* @public
|
|
878
|
+
*/
|
|
879
|
+
export interface DeleteFunctionResponse {
|
|
880
|
+
/**
|
|
881
|
+
* <p>The HTTP status code returned by the operation.</p>
|
|
882
|
+
* @public
|
|
883
|
+
*/
|
|
884
|
+
StatusCode?: number | undefined;
|
|
885
|
+
}
|
|
886
|
+
/**
|
|
887
|
+
* @public
|
|
888
|
+
*/
|
|
889
|
+
export interface DeleteFunctionEventInvokeConfigRequest {
|
|
890
|
+
/**
|
|
891
|
+
* <p>The name or ARN of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> - <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p> </li> <li> <p> <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p> </li> <li> <p> <b>Partial ARN</b> - <code>123456789012:function:my-function</code>.</p> </li> </ul> <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
892
|
+
* @public
|
|
893
|
+
*/
|
|
894
|
+
FunctionName: string | undefined;
|
|
895
|
+
/**
|
|
896
|
+
* <p>A version number or alias name.</p>
|
|
897
|
+
* @public
|
|
898
|
+
*/
|
|
899
|
+
Qualifier?: string | undefined;
|
|
900
|
+
}
|
|
524
901
|
/**
|
|
525
902
|
* <p>A destination for events that failed processing. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations">Adding a destination</a>.</p>
|
|
526
903
|
* @public
|
|
@@ -629,7 +1006,7 @@ export interface ProvisionedPollerConfig {
|
|
|
629
1006
|
*/
|
|
630
1007
|
MaximumPollers?: number | undefined;
|
|
631
1008
|
/**
|
|
632
|
-
* <p>(Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the VPC to share Event Poller Unit (EPU) capacity.
|
|
1009
|
+
* <p>(Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.</p>
|
|
633
1010
|
* @public
|
|
634
1011
|
*/
|
|
635
1012
|
PollerGroupName?: string | undefined;
|
|
@@ -1180,6 +1557,38 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
1180
1557
|
*/
|
|
1181
1558
|
ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
|
|
1182
1559
|
}
|
|
1560
|
+
/**
|
|
1561
|
+
* <p>Configuration for Lambda-managed instances used by the capacity provider.</p>
|
|
1562
|
+
* @public
|
|
1563
|
+
*/
|
|
1564
|
+
export interface LambdaManagedInstancesCapacityProviderConfig {
|
|
1565
|
+
/**
|
|
1566
|
+
* <p>The Amazon Resource Name (ARN) of the capacity provider.</p>
|
|
1567
|
+
* @public
|
|
1568
|
+
*/
|
|
1569
|
+
CapacityProviderArn: string | undefined;
|
|
1570
|
+
/**
|
|
1571
|
+
* <p>The maximum number of concurrent execution environments that can run on each compute instance.</p>
|
|
1572
|
+
* @public
|
|
1573
|
+
*/
|
|
1574
|
+
PerExecutionEnvironmentMaxConcurrency?: number | undefined;
|
|
1575
|
+
/**
|
|
1576
|
+
* <p>The amount of memory in GiB allocated per vCPU for execution environments.</p>
|
|
1577
|
+
* @public
|
|
1578
|
+
*/
|
|
1579
|
+
ExecutionEnvironmentMemoryGiBPerVCpu?: number | undefined;
|
|
1580
|
+
}
|
|
1581
|
+
/**
|
|
1582
|
+
* <p>Configuration for the capacity provider that manages compute resources for Lambda functions.</p>
|
|
1583
|
+
* @public
|
|
1584
|
+
*/
|
|
1585
|
+
export interface CapacityProviderConfig {
|
|
1586
|
+
/**
|
|
1587
|
+
* <p>Configuration for Lambda-managed instances used by the capacity provider.</p>
|
|
1588
|
+
* @public
|
|
1589
|
+
*/
|
|
1590
|
+
LambdaManagedInstancesCapacityProviderConfig: LambdaManagedInstancesCapacityProviderConfig | undefined;
|
|
1591
|
+
}
|
|
1183
1592
|
/**
|
|
1184
1593
|
* <p>The code for the Lambda function. You can either specify an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.</p>
|
|
1185
1594
|
* @public
|
|
@@ -1490,6 +1899,16 @@ export interface CreateFunctionRequest {
|
|
|
1490
1899
|
* @public
|
|
1491
1900
|
*/
|
|
1492
1901
|
LoggingConfig?: LoggingConfig | undefined;
|
|
1902
|
+
/**
|
|
1903
|
+
* <p>Configuration for the capacity provider that manages compute resources for Lambda functions.</p>
|
|
1904
|
+
* @public
|
|
1905
|
+
*/
|
|
1906
|
+
CapacityProviderConfig?: CapacityProviderConfig | undefined;
|
|
1907
|
+
/**
|
|
1908
|
+
* <p>Specifies where to publish the function version or configuration.</p>
|
|
1909
|
+
* @public
|
|
1910
|
+
*/
|
|
1911
|
+
PublishTo?: FunctionVersionLatestPublished | undefined;
|
|
1493
1912
|
/**
|
|
1494
1913
|
* <p>Configuration for multi-tenant applications that use Lambda functions. Defines tenant isolation settings and resource allocations. Required for functions supporting multiple tenants.</p>
|
|
1495
1914
|
* @public
|
|
@@ -1856,6 +2275,16 @@ export interface FunctionConfiguration {
|
|
|
1856
2275
|
* @public
|
|
1857
2276
|
*/
|
|
1858
2277
|
LoggingConfig?: LoggingConfig | undefined;
|
|
2278
|
+
/**
|
|
2279
|
+
* <p>Configuration for the capacity provider that manages compute resources for Lambda functions.</p>
|
|
2280
|
+
* @public
|
|
2281
|
+
*/
|
|
2282
|
+
CapacityProviderConfig?: CapacityProviderConfig | undefined;
|
|
2283
|
+
/**
|
|
2284
|
+
* <p>The SHA256 hash of the function configuration.</p>
|
|
2285
|
+
* @public
|
|
2286
|
+
*/
|
|
2287
|
+
ConfigSha256?: string | undefined;
|
|
1859
2288
|
/**
|
|
1860
2289
|
* <p>The function's tenant isolation configuration settings. Determines whether the Lambda function runs on a shared or dedicated infrastructure per unique tenant.</p>
|
|
1861
2290
|
* @public
|
|
@@ -1963,21 +2392,6 @@ export interface CreateFunctionUrlConfigResponse {
|
|
|
1963
2392
|
*/
|
|
1964
2393
|
InvokeMode?: InvokeMode | undefined;
|
|
1965
2394
|
}
|
|
1966
|
-
/**
|
|
1967
|
-
* @public
|
|
1968
|
-
*/
|
|
1969
|
-
export interface DeleteFunctionRequest {
|
|
1970
|
-
/**
|
|
1971
|
-
* <p>The name or ARN of the Lambda function or version.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> – <code>my-function</code> (name-only), <code>my-function:1</code> (with version).</p> </li> <li> <p> <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p> </li> <li> <p> <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p> </li> </ul> <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
1972
|
-
* @public
|
|
1973
|
-
*/
|
|
1974
|
-
FunctionName: string | undefined;
|
|
1975
|
-
/**
|
|
1976
|
-
* <p>Specify a version to delete. You can't delete a version that an alias references.</p>
|
|
1977
|
-
* @public
|
|
1978
|
-
*/
|
|
1979
|
-
Qualifier?: string | undefined;
|
|
1980
|
-
}
|
|
1981
2395
|
/**
|
|
1982
2396
|
* @public
|
|
1983
2397
|
*/
|
|
@@ -1998,21 +2412,6 @@ export interface DeleteFunctionConcurrencyRequest {
|
|
|
1998
2412
|
*/
|
|
1999
2413
|
FunctionName: string | undefined;
|
|
2000
2414
|
}
|
|
2001
|
-
/**
|
|
2002
|
-
* @public
|
|
2003
|
-
*/
|
|
2004
|
-
export interface DeleteFunctionEventInvokeConfigRequest {
|
|
2005
|
-
/**
|
|
2006
|
-
* <p>The name or ARN of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> - <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p> </li> <li> <p> <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p> </li> <li> <p> <b>Partial ARN</b> - <code>123456789012:function:my-function</code>.</p> </li> </ul> <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
2007
|
-
* @public
|
|
2008
|
-
*/
|
|
2009
|
-
FunctionName: string | undefined;
|
|
2010
|
-
/**
|
|
2011
|
-
* <p>A version number or alias name.</p>
|
|
2012
|
-
* @public
|
|
2013
|
-
*/
|
|
2014
|
-
Qualifier?: string | undefined;
|
|
2015
|
-
}
|
|
2016
2415
|
/**
|
|
2017
2416
|
* @public
|
|
2018
2417
|
*/
|
|
@@ -2193,67 +2592,73 @@ export interface GetFunctionConfigurationRequest {
|
|
|
2193
2592
|
/**
|
|
2194
2593
|
* @public
|
|
2195
2594
|
*/
|
|
2196
|
-
export interface
|
|
2197
|
-
/**
|
|
2198
|
-
* <p>The date and time that the configuration was last updated.</p>
|
|
2199
|
-
* @public
|
|
2200
|
-
*/
|
|
2201
|
-
LastModified?: Date | undefined;
|
|
2595
|
+
export interface GetFunctionRecursionConfigRequest {
|
|
2202
2596
|
/**
|
|
2203
|
-
* <p>The
|
|
2597
|
+
* <p>The name of the function.</p>
|
|
2204
2598
|
* @public
|
|
2205
2599
|
*/
|
|
2206
|
-
|
|
2600
|
+
FunctionName: string | undefined;
|
|
2601
|
+
}
|
|
2602
|
+
/**
|
|
2603
|
+
* @public
|
|
2604
|
+
*/
|
|
2605
|
+
export interface GetFunctionRecursionConfigResponse {
|
|
2207
2606
|
/**
|
|
2208
|
-
* <p>
|
|
2607
|
+
* <p>If your function's recursive loop detection configuration is <code>Allow</code>, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop.</p> <p>If your function's recursive loop detection configuration is <code>Terminate</code>, Lambda stops your function being invoked and notifies you when it detects your function being invoked as part of a recursive loop.</p> <p>By default, Lambda sets your function's configuration to <code>Terminate</code>. You can update this configuration using the <a>PutFunctionRecursionConfig</a> action.</p>
|
|
2209
2608
|
* @public
|
|
2210
2609
|
*/
|
|
2211
|
-
|
|
2610
|
+
RecursiveLoop?: RecursiveLoop | undefined;
|
|
2611
|
+
}
|
|
2612
|
+
/**
|
|
2613
|
+
* @public
|
|
2614
|
+
*/
|
|
2615
|
+
export interface GetFunctionScalingConfigRequest {
|
|
2212
2616
|
/**
|
|
2213
|
-
* <p>The
|
|
2617
|
+
* <p>The name or ARN of the Lambda function.</p>
|
|
2214
2618
|
* @public
|
|
2215
2619
|
*/
|
|
2216
|
-
|
|
2620
|
+
FunctionName: string | undefined;
|
|
2217
2621
|
/**
|
|
2218
|
-
* <p>
|
|
2622
|
+
* <p>Specify a version or alias to get the scaling configuration for a published version of the function.</p>
|
|
2219
2623
|
* @public
|
|
2220
2624
|
*/
|
|
2221
|
-
|
|
2625
|
+
Qualifier: string | undefined;
|
|
2222
2626
|
}
|
|
2223
2627
|
/**
|
|
2628
|
+
* <p>Configuration that defines the scaling behavior for a Lambda Managed Instances function, including the minimum and maximum number of execution environments that can be provisioned.</p>
|
|
2224
2629
|
* @public
|
|
2225
2630
|
*/
|
|
2226
|
-
export interface
|
|
2631
|
+
export interface FunctionScalingConfig {
|
|
2227
2632
|
/**
|
|
2228
|
-
* <p>The
|
|
2633
|
+
* <p>The minimum number of execution environments to maintain for the function.</p>
|
|
2229
2634
|
* @public
|
|
2230
2635
|
*/
|
|
2231
|
-
|
|
2636
|
+
MinExecutionEnvironments?: number | undefined;
|
|
2232
2637
|
/**
|
|
2233
|
-
* <p>
|
|
2638
|
+
* <p>The maximum number of execution environments that can be provisioned for the function.</p>
|
|
2234
2639
|
* @public
|
|
2235
2640
|
*/
|
|
2236
|
-
|
|
2641
|
+
MaxExecutionEnvironments?: number | undefined;
|
|
2237
2642
|
}
|
|
2238
2643
|
/**
|
|
2239
2644
|
* @public
|
|
2240
2645
|
*/
|
|
2241
|
-
export interface
|
|
2646
|
+
export interface GetFunctionScalingConfigResponse {
|
|
2647
|
+
/**
|
|
2648
|
+
* <p>The Amazon Resource Name (ARN) of the function.</p>
|
|
2649
|
+
* @public
|
|
2650
|
+
*/
|
|
2651
|
+
FunctionArn?: string | undefined;
|
|
2242
2652
|
/**
|
|
2243
|
-
* <p
|
|
2653
|
+
* <p>The scaling configuration that is currently applied to the function. This represents the actual scaling settings in effect.</p>
|
|
2244
2654
|
* @public
|
|
2245
2655
|
*/
|
|
2246
|
-
|
|
2247
|
-
}
|
|
2248
|
-
/**
|
|
2249
|
-
* @public
|
|
2250
|
-
*/
|
|
2251
|
-
export interface GetFunctionRecursionConfigResponse {
|
|
2656
|
+
AppliedFunctionScalingConfig?: FunctionScalingConfig | undefined;
|
|
2252
2657
|
/**
|
|
2253
|
-
* <p>
|
|
2658
|
+
* <p>The scaling configuration that was requested for the function.</p>
|
|
2254
2659
|
* @public
|
|
2255
2660
|
*/
|
|
2256
|
-
|
|
2661
|
+
RequestedFunctionScalingConfig?: FunctionScalingConfig | undefined;
|
|
2257
2662
|
}
|
|
2258
2663
|
/**
|
|
2259
2664
|
* @public
|
|
@@ -2615,41 +3020,6 @@ export interface InvokeWithResponseStreamResponse {
|
|
|
2615
3020
|
*/
|
|
2616
3021
|
ResponseStreamContentType?: string | undefined;
|
|
2617
3022
|
}
|
|
2618
|
-
/**
|
|
2619
|
-
* @public
|
|
2620
|
-
*/
|
|
2621
|
-
export interface ListFunctionEventInvokeConfigsRequest {
|
|
2622
|
-
/**
|
|
2623
|
-
* <p>The name or ARN of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> - <code>my-function</code>.</p> </li> <li> <p> <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p> </li> <li> <p> <b>Partial ARN</b> - <code>123456789012:function:my-function</code>.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
2624
|
-
* @public
|
|
2625
|
-
*/
|
|
2626
|
-
FunctionName: string | undefined;
|
|
2627
|
-
/**
|
|
2628
|
-
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
2629
|
-
* @public
|
|
2630
|
-
*/
|
|
2631
|
-
Marker?: string | undefined;
|
|
2632
|
-
/**
|
|
2633
|
-
* <p>The maximum number of configurations to return.</p>
|
|
2634
|
-
* @public
|
|
2635
|
-
*/
|
|
2636
|
-
MaxItems?: number | undefined;
|
|
2637
|
-
}
|
|
2638
|
-
/**
|
|
2639
|
-
* @public
|
|
2640
|
-
*/
|
|
2641
|
-
export interface ListFunctionEventInvokeConfigsResponse {
|
|
2642
|
-
/**
|
|
2643
|
-
* <p>A list of configurations.</p>
|
|
2644
|
-
* @public
|
|
2645
|
-
*/
|
|
2646
|
-
FunctionEventInvokeConfigs?: FunctionEventInvokeConfig[] | undefined;
|
|
2647
|
-
/**
|
|
2648
|
-
* <p>The pagination token that's included if more results are available.</p>
|
|
2649
|
-
* @public
|
|
2650
|
-
*/
|
|
2651
|
-
NextMarker?: string | undefined;
|
|
2652
|
-
}
|
|
2653
3023
|
/**
|
|
2654
3024
|
* @public
|
|
2655
3025
|
*/
|
|
@@ -2891,57 +3261,57 @@ export interface PutFunctionConcurrencyRequest {
|
|
|
2891
3261
|
/**
|
|
2892
3262
|
* @public
|
|
2893
3263
|
*/
|
|
2894
|
-
export interface
|
|
3264
|
+
export interface PutFunctionRecursionConfigRequest {
|
|
2895
3265
|
/**
|
|
2896
|
-
* <p>The name or ARN of the Lambda function
|
|
3266
|
+
* <p>The name or ARN of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> – <code>my-function</code>.</p> </li> <li> <p> <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p> </li> <li> <p> <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
2897
3267
|
* @public
|
|
2898
3268
|
*/
|
|
2899
3269
|
FunctionName: string | undefined;
|
|
2900
3270
|
/**
|
|
2901
|
-
* <p>
|
|
2902
|
-
* @public
|
|
2903
|
-
*/
|
|
2904
|
-
Qualifier?: string | undefined;
|
|
2905
|
-
/**
|
|
2906
|
-
* <p>The maximum number of times to retry when the function returns an error.</p>
|
|
2907
|
-
* @public
|
|
2908
|
-
*/
|
|
2909
|
-
MaximumRetryAttempts?: number | undefined;
|
|
2910
|
-
/**
|
|
2911
|
-
* <p>The maximum age of a request that Lambda sends to a function for processing.</p>
|
|
3271
|
+
* <p>If you set your function's recursive loop detection configuration to <code>Allow</code>, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop. We recommend that you only use this setting if your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes it.</p> <p>If you set your function's recursive loop detection configuration to <code>Terminate</code>, Lambda stops your function being invoked and notifies you when it detects your function being invoked as part of a recursive loop.</p> <p>By default, Lambda sets your function's configuration to <code>Terminate</code>.</p> <important> <p>If your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes the function, then use caution and implement suitable guard rails to prevent unexpected charges being billed to your Amazon Web Services account. To learn more about best practices for using recursive invocation patterns, see <a href="https://serverlessland.com/content/service/lambda/guides/aws-lambda-operator-guide/recursive-runaway">Recursive patterns that cause run-away Lambda functions</a> in Serverless Land.</p> </important>
|
|
2912
3272
|
* @public
|
|
2913
3273
|
*/
|
|
2914
|
-
|
|
3274
|
+
RecursiveLoop: RecursiveLoop | undefined;
|
|
3275
|
+
}
|
|
3276
|
+
/**
|
|
3277
|
+
* @public
|
|
3278
|
+
*/
|
|
3279
|
+
export interface PutFunctionRecursionConfigResponse {
|
|
2915
3280
|
/**
|
|
2916
|
-
* <p>
|
|
3281
|
+
* <p>The status of your function's recursive loop detection configuration.</p> <p>When this value is set to <code>Allow</code>and Lambda detects your function being invoked as part of a recursive loop, it doesn't take any action.</p> <p>When this value is set to <code>Terminate</code> and Lambda detects your function being invoked as part of a recursive loop, it stops your function being invoked and notifies you. </p>
|
|
2917
3282
|
* @public
|
|
2918
3283
|
*/
|
|
2919
|
-
|
|
3284
|
+
RecursiveLoop?: RecursiveLoop | undefined;
|
|
2920
3285
|
}
|
|
2921
3286
|
/**
|
|
2922
3287
|
* @public
|
|
2923
3288
|
*/
|
|
2924
|
-
export interface
|
|
3289
|
+
export interface PutFunctionScalingConfigRequest {
|
|
2925
3290
|
/**
|
|
2926
|
-
* <p>The name or ARN of the Lambda function.</p>
|
|
3291
|
+
* <p>The name or ARN of the Lambda function.</p>
|
|
2927
3292
|
* @public
|
|
2928
3293
|
*/
|
|
2929
3294
|
FunctionName: string | undefined;
|
|
2930
3295
|
/**
|
|
2931
|
-
* <p>
|
|
3296
|
+
* <p>Specify a version or alias to set the scaling configuration for a published version of the function.</p>
|
|
2932
3297
|
* @public
|
|
2933
3298
|
*/
|
|
2934
|
-
|
|
3299
|
+
Qualifier: string | undefined;
|
|
3300
|
+
/**
|
|
3301
|
+
* <p>The scaling configuration to apply to the function, including minimum and maximum execution environment limits.</p>
|
|
3302
|
+
* @public
|
|
3303
|
+
*/
|
|
3304
|
+
FunctionScalingConfig?: FunctionScalingConfig | undefined;
|
|
2935
3305
|
}
|
|
2936
3306
|
/**
|
|
2937
3307
|
* @public
|
|
2938
3308
|
*/
|
|
2939
|
-
export interface
|
|
3309
|
+
export interface PutFunctionScalingConfigResponse {
|
|
2940
3310
|
/**
|
|
2941
|
-
* <p>The
|
|
3311
|
+
* <p>The current state of the function after applying the scaling configuration.</p>
|
|
2942
3312
|
* @public
|
|
2943
3313
|
*/
|
|
2944
|
-
|
|
3314
|
+
FunctionState?: State | undefined;
|
|
2945
3315
|
}
|
|
2946
3316
|
/**
|
|
2947
3317
|
* @public
|
|
@@ -3047,6 +3417,11 @@ export interface UpdateFunctionCodeRequest {
|
|
|
3047
3417
|
* @public
|
|
3048
3418
|
*/
|
|
3049
3419
|
SourceKMSKeyArn?: string | undefined;
|
|
3420
|
+
/**
|
|
3421
|
+
* <p>Specifies where to publish the function version or configuration.</p>
|
|
3422
|
+
* @public
|
|
3423
|
+
*/
|
|
3424
|
+
PublishTo?: FunctionVersionLatestPublished | undefined;
|
|
3050
3425
|
}
|
|
3051
3426
|
/**
|
|
3052
3427
|
* @public
|
|
@@ -3147,36 +3522,11 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
3147
3522
|
* @public
|
|
3148
3523
|
*/
|
|
3149
3524
|
LoggingConfig?: LoggingConfig | undefined;
|
|
3150
|
-
}
|
|
3151
|
-
/**
|
|
3152
|
-
* @public
|
|
3153
|
-
*/
|
|
3154
|
-
export interface UpdateFunctionEventInvokeConfigRequest {
|
|
3155
|
-
/**
|
|
3156
|
-
* <p>The name or ARN of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> - <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p> </li> <li> <p> <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p> </li> <li> <p> <b>Partial ARN</b> - <code>123456789012:function:my-function</code>.</p> </li> </ul> <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
3157
|
-
* @public
|
|
3158
|
-
*/
|
|
3159
|
-
FunctionName: string | undefined;
|
|
3160
3525
|
/**
|
|
3161
|
-
* <p>
|
|
3162
|
-
* @public
|
|
3163
|
-
*/
|
|
3164
|
-
Qualifier?: string | undefined;
|
|
3165
|
-
/**
|
|
3166
|
-
* <p>The maximum number of times to retry when the function returns an error.</p>
|
|
3167
|
-
* @public
|
|
3168
|
-
*/
|
|
3169
|
-
MaximumRetryAttempts?: number | undefined;
|
|
3170
|
-
/**
|
|
3171
|
-
* <p>The maximum age of a request that Lambda sends to a function for processing.</p>
|
|
3172
|
-
* @public
|
|
3173
|
-
*/
|
|
3174
|
-
MaximumEventAgeInSeconds?: number | undefined;
|
|
3175
|
-
/**
|
|
3176
|
-
* <p>A destination for events after they have been sent to a function for processing.</p> <p class="title"> <b>Destinations</b> </p> <ul> <li> <p> <b>Function</b> - The Amazon Resource Name (ARN) of a Lambda function.</p> </li> <li> <p> <b>Queue</b> - The ARN of a standard SQS queue.</p> </li> <li> <p> <b>Bucket</b> - The ARN of an Amazon S3 bucket.</p> </li> <li> <p> <b>Topic</b> - The ARN of a standard SNS topic.</p> </li> <li> <p> <b>Event Bus</b> - The ARN of an Amazon EventBridge event bus.</p> </li> </ul> <note> <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p> </note>
|
|
3526
|
+
* <p>Configuration for the capacity provider that manages compute resources for Lambda functions.</p>
|
|
3177
3527
|
* @public
|
|
3178
3528
|
*/
|
|
3179
|
-
|
|
3529
|
+
CapacityProviderConfig?: CapacityProviderConfig | undefined;
|
|
3180
3530
|
}
|
|
3181
3531
|
/**
|
|
3182
3532
|
* @public
|
|
@@ -3442,6 +3792,11 @@ export interface PublishVersionRequest {
|
|
|
3442
3792
|
* @public
|
|
3443
3793
|
*/
|
|
3444
3794
|
RevisionId?: string | undefined;
|
|
3795
|
+
/**
|
|
3796
|
+
* <p>Specifies where to publish the function version or configuration.</p>
|
|
3797
|
+
* @public
|
|
3798
|
+
*/
|
|
3799
|
+
PublishTo?: FunctionVersionLatestPublished | undefined;
|
|
3445
3800
|
}
|
|
3446
3801
|
/**
|
|
3447
3802
|
* @public
|
|
@@ -3463,6 +3818,51 @@ export interface GetAccountSettingsResponse {
|
|
|
3463
3818
|
*/
|
|
3464
3819
|
AccountUsage?: AccountUsage | undefined;
|
|
3465
3820
|
}
|
|
3821
|
+
/**
|
|
3822
|
+
* @public
|
|
3823
|
+
*/
|
|
3824
|
+
export interface FunctionEventInvokeConfig {
|
|
3825
|
+
/**
|
|
3826
|
+
* <p>The date and time that the configuration was last updated.</p>
|
|
3827
|
+
* @public
|
|
3828
|
+
*/
|
|
3829
|
+
LastModified?: Date | undefined;
|
|
3830
|
+
/**
|
|
3831
|
+
* <p>The Amazon Resource Name (ARN) of the function.</p>
|
|
3832
|
+
* @public
|
|
3833
|
+
*/
|
|
3834
|
+
FunctionArn?: string | undefined;
|
|
3835
|
+
/**
|
|
3836
|
+
* <p>The maximum number of times to retry when the function returns an error.</p>
|
|
3837
|
+
* @public
|
|
3838
|
+
*/
|
|
3839
|
+
MaximumRetryAttempts?: number | undefined;
|
|
3840
|
+
/**
|
|
3841
|
+
* <p>The maximum age of a request that Lambda sends to a function for processing.</p>
|
|
3842
|
+
* @public
|
|
3843
|
+
*/
|
|
3844
|
+
MaximumEventAgeInSeconds?: number | undefined;
|
|
3845
|
+
/**
|
|
3846
|
+
* <p>A destination for events after they have been sent to a function for processing.</p> <p class="title"> <b>Destinations</b> </p> <ul> <li> <p> <b>Function</b> - The Amazon Resource Name (ARN) of a Lambda function.</p> </li> <li> <p> <b>Queue</b> - The ARN of a standard SQS queue.</p> </li> <li> <p> <b>Bucket</b> - The ARN of an Amazon S3 bucket.</p> </li> <li> <p> <b>Topic</b> - The ARN of a standard SNS topic.</p> </li> <li> <p> <b>Event Bus</b> - The ARN of an Amazon EventBridge event bus.</p> </li> </ul> <note> <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p> </note>
|
|
3847
|
+
* @public
|
|
3848
|
+
*/
|
|
3849
|
+
DestinationConfig?: DestinationConfig | undefined;
|
|
3850
|
+
}
|
|
3851
|
+
/**
|
|
3852
|
+
* @public
|
|
3853
|
+
*/
|
|
3854
|
+
export interface GetFunctionEventInvokeConfigRequest {
|
|
3855
|
+
/**
|
|
3856
|
+
* <p>The name or ARN of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> - <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p> </li> <li> <p> <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p> </li> <li> <p> <b>Partial ARN</b> - <code>123456789012:function:my-function</code>.</p> </li> </ul> <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
3857
|
+
* @public
|
|
3858
|
+
*/
|
|
3859
|
+
FunctionName: string | undefined;
|
|
3860
|
+
/**
|
|
3861
|
+
* <p>A version number or alias name.</p>
|
|
3862
|
+
* @public
|
|
3863
|
+
*/
|
|
3864
|
+
Qualifier?: string | undefined;
|
|
3865
|
+
}
|
|
3466
3866
|
/**
|
|
3467
3867
|
* @public
|
|
3468
3868
|
*/
|
|
@@ -3897,6 +4297,41 @@ export interface RemoveLayerVersionPermissionRequest {
|
|
|
3897
4297
|
*/
|
|
3898
4298
|
RevisionId?: string | undefined;
|
|
3899
4299
|
}
|
|
4300
|
+
/**
|
|
4301
|
+
* @public
|
|
4302
|
+
*/
|
|
4303
|
+
export interface ListFunctionEventInvokeConfigsRequest {
|
|
4304
|
+
/**
|
|
4305
|
+
* <p>The name or ARN of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> - <code>my-function</code>.</p> </li> <li> <p> <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p> </li> <li> <p> <b>Partial ARN</b> - <code>123456789012:function:my-function</code>.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
4306
|
+
* @public
|
|
4307
|
+
*/
|
|
4308
|
+
FunctionName: string | undefined;
|
|
4309
|
+
/**
|
|
4310
|
+
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
4311
|
+
* @public
|
|
4312
|
+
*/
|
|
4313
|
+
Marker?: string | undefined;
|
|
4314
|
+
/**
|
|
4315
|
+
* <p>The maximum number of configurations to return.</p>
|
|
4316
|
+
* @public
|
|
4317
|
+
*/
|
|
4318
|
+
MaxItems?: number | undefined;
|
|
4319
|
+
}
|
|
4320
|
+
/**
|
|
4321
|
+
* @public
|
|
4322
|
+
*/
|
|
4323
|
+
export interface ListFunctionEventInvokeConfigsResponse {
|
|
4324
|
+
/**
|
|
4325
|
+
* <p>A list of configurations.</p>
|
|
4326
|
+
* @public
|
|
4327
|
+
*/
|
|
4328
|
+
FunctionEventInvokeConfigs?: FunctionEventInvokeConfig[] | undefined;
|
|
4329
|
+
/**
|
|
4330
|
+
* <p>The pagination token that's included if more results are available.</p>
|
|
4331
|
+
* @public
|
|
4332
|
+
*/
|
|
4333
|
+
NextMarker?: string | undefined;
|
|
4334
|
+
}
|
|
3900
4335
|
/**
|
|
3901
4336
|
* @public
|
|
3902
4337
|
*/
|
|
@@ -4062,6 +4497,36 @@ export interface PutProvisionedConcurrencyConfigResponse {
|
|
|
4062
4497
|
*/
|
|
4063
4498
|
LastModified?: string | undefined;
|
|
4064
4499
|
}
|
|
4500
|
+
/**
|
|
4501
|
+
* @public
|
|
4502
|
+
*/
|
|
4503
|
+
export interface PutFunctionEventInvokeConfigRequest {
|
|
4504
|
+
/**
|
|
4505
|
+
* <p>The name or ARN of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> - <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p> </li> <li> <p> <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p> </li> <li> <p> <b>Partial ARN</b> - <code>123456789012:function:my-function</code>.</p> </li> </ul> <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
4506
|
+
* @public
|
|
4507
|
+
*/
|
|
4508
|
+
FunctionName: string | undefined;
|
|
4509
|
+
/**
|
|
4510
|
+
* <p>A version number or alias name.</p>
|
|
4511
|
+
* @public
|
|
4512
|
+
*/
|
|
4513
|
+
Qualifier?: string | undefined;
|
|
4514
|
+
/**
|
|
4515
|
+
* <p>The maximum number of times to retry when the function returns an error.</p>
|
|
4516
|
+
* @public
|
|
4517
|
+
*/
|
|
4518
|
+
MaximumRetryAttempts?: number | undefined;
|
|
4519
|
+
/**
|
|
4520
|
+
* <p>The maximum age of a request that Lambda sends to a function for processing.</p>
|
|
4521
|
+
* @public
|
|
4522
|
+
*/
|
|
4523
|
+
MaximumEventAgeInSeconds?: number | undefined;
|
|
4524
|
+
/**
|
|
4525
|
+
* <p>A destination for events after they have been sent to a function for processing.</p> <p class="title"> <b>Destinations</b> </p> <ul> <li> <p> <b>Function</b> - The Amazon Resource Name (ARN) of a Lambda function.</p> </li> <li> <p> <b>Queue</b> - The ARN of a standard SQS queue.</p> </li> <li> <p> <b>Bucket</b> - The ARN of an Amazon S3 bucket.</p> </li> <li> <p> <b>Topic</b> - The ARN of a standard SNS topic.</p> </li> <li> <p> <b>Event Bus</b> - The ARN of an Amazon EventBridge event bus.</p> </li> </ul> <note> <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p> </note>
|
|
4526
|
+
* @public
|
|
4527
|
+
*/
|
|
4528
|
+
DestinationConfig?: DestinationConfig | undefined;
|
|
4529
|
+
}
|
|
4065
4530
|
/**
|
|
4066
4531
|
* @public
|
|
4067
4532
|
*/
|
|
@@ -4092,3 +4557,33 @@ export interface UntagResourceRequest {
|
|
|
4092
4557
|
*/
|
|
4093
4558
|
TagKeys: string[] | undefined;
|
|
4094
4559
|
}
|
|
4560
|
+
/**
|
|
4561
|
+
* @public
|
|
4562
|
+
*/
|
|
4563
|
+
export interface UpdateFunctionEventInvokeConfigRequest {
|
|
4564
|
+
/**
|
|
4565
|
+
* <p>The name or ARN of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> - <code>my-function</code> (name-only), <code>my-function:v1</code> (with alias).</p> </li> <li> <p> <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p> </li> <li> <p> <b>Partial ARN</b> - <code>123456789012:function:my-function</code>.</p> </li> </ul> <p>You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>
|
|
4566
|
+
* @public
|
|
4567
|
+
*/
|
|
4568
|
+
FunctionName: string | undefined;
|
|
4569
|
+
/**
|
|
4570
|
+
* <p>A version number or alias name.</p>
|
|
4571
|
+
* @public
|
|
4572
|
+
*/
|
|
4573
|
+
Qualifier?: string | undefined;
|
|
4574
|
+
/**
|
|
4575
|
+
* <p>The maximum number of times to retry when the function returns an error.</p>
|
|
4576
|
+
* @public
|
|
4577
|
+
*/
|
|
4578
|
+
MaximumRetryAttempts?: number | undefined;
|
|
4579
|
+
/**
|
|
4580
|
+
* <p>The maximum age of a request that Lambda sends to a function for processing.</p>
|
|
4581
|
+
* @public
|
|
4582
|
+
*/
|
|
4583
|
+
MaximumEventAgeInSeconds?: number | undefined;
|
|
4584
|
+
/**
|
|
4585
|
+
* <p>A destination for events after they have been sent to a function for processing.</p> <p class="title"> <b>Destinations</b> </p> <ul> <li> <p> <b>Function</b> - The Amazon Resource Name (ARN) of a Lambda function.</p> </li> <li> <p> <b>Queue</b> - The ARN of a standard SQS queue.</p> </li> <li> <p> <b>Bucket</b> - The ARN of an Amazon S3 bucket.</p> </li> <li> <p> <b>Topic</b> - The ARN of a standard SNS topic.</p> </li> <li> <p> <b>Event Bus</b> - The ARN of an Amazon EventBridge event bus.</p> </li> </ul> <note> <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p> </note>
|
|
4586
|
+
* @public
|
|
4587
|
+
*/
|
|
4588
|
+
DestinationConfig?: DestinationConfig | undefined;
|
|
4589
|
+
}
|