@aws-sdk/client-lambda 3.245.0 → 3.252.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.
@@ -8,8 +8,7 @@ export interface CreateEventSourceMappingCommandInput extends CreateEventSourceM
8
8
  export interface CreateEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the
12
- * event source and invokes the function.</p>
11
+ * <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.</p>
13
12
  * <p>For details about how to configure different event sources, see the following topics. </p>
14
13
  * <ul>
15
14
  * <li>
@@ -49,28 +48,27 @@ export interface CreateEventSourceMappingCommandOutput extends EventSourceMappin
49
48
  * </p>
50
49
  * </li>
51
50
  * </ul>
52
- *
53
51
  * <p>The following error handling options are available only for stream sources (DynamoDB and Kinesis):</p>
54
52
  * <ul>
55
53
  * <li>
56
54
  * <p>
57
- * <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p>
55
+ * <code>BisectBatchOnFunctionError</code> If the function returns an error, split the batch in two and retry.</p>
58
56
  * </li>
59
57
  * <li>
60
58
  * <p>
61
- * <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
59
+ * <code>DestinationConfig</code> Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
62
60
  * </li>
63
61
  * <li>
64
62
  * <p>
65
- * <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
63
+ * <code>MaximumRecordAgeInSeconds</code> Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
66
64
  * </li>
67
65
  * <li>
68
66
  * <p>
69
- * <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
67
+ * <code>MaximumRetryAttempts</code> Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
70
68
  * </li>
71
69
  * <li>
72
70
  * <p>
73
- * <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p>
71
+ * <code>ParallelizationFactor</code> Process multiple batches from each shard concurrently.</p>
74
72
  * </li>
75
73
  * </ul>
76
74
  * <p>For information about which configuration parameters apply to each event source, see the following topics.</p>
@@ -12,44 +12,36 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
12
12
  * deployment package is a .zip file archive or container image that contains your function code. The execution role
13
13
  * grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log
14
14
  * streaming and X-Ray for request tracing.</p>
15
- *
16
15
  * <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container
17
16
  * image</a>, then you set the package type to <code>Image</code>. For a container image, the code property
18
17
  * must include the URI of a container image in the Amazon ECR registry. You do not need to specify the
19
18
  * handler and runtime properties.</p>
20
- *
21
19
  * <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file archive</a>, then
22
20
  * you set the package type to <code>Zip</code>. For a .zip file archive, the code property specifies the location of
23
21
  * the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must
24
22
  * be compatible with the target instruction set architecture of the function (<code>x86-64</code> or
25
23
  * <code>arm64</code>). If you do not specify the architecture, then the default value is
26
24
  * <code>x86-64</code>.</p>
27
- *
28
25
  * <p>When you create a function, Lambda provisions an instance of the function and its supporting
29
26
  * resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't
30
27
  * invoke or modify the function. The <code>State</code>, <code>StateReason</code>, and <code>StateReasonCode</code>
31
28
  * fields in the response from <a>GetFunctionConfiguration</a> indicate when the function is ready to
32
29
  * invoke. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Lambda function states</a>.</p>
33
- *
34
30
  * <p>A function has an unpublished version, and can have published versions and aliases. The unpublished version
35
31
  * changes when you update your function's code and configuration. A published version is a snapshot of your function
36
32
  * code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be
37
33
  * changed to map to a different version. Use the <code>Publish</code> parameter to create version <code>1</code> of
38
34
  * your function from its initial configuration.</p>
39
- *
40
35
  * <p>The other parameters let you configure version-specific and function-level settings. You can modify
41
36
  * version-specific settings later with <a>UpdateFunctionConfiguration</a>. Function-level settings apply
42
37
  * to both the unpublished and published versions of the function, and include tags (<a>TagResource</a>)
43
38
  * and per-function concurrency limits (<a>PutFunctionConcurrency</a>).</p>
44
- *
45
39
  * <p>You can use code signing if your deployment package is a .zip file archive. To enable code signing for this
46
40
  * function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with
47
41
  * <a>UpdateFunctionCode</a>, Lambda checks that the code package has a valid signature from
48
42
  * a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted
49
43
  * publishers for this function.</p>
50
- *
51
44
  * <p>If another Amazon Web Services account or an Amazon Web Service invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p>
52
- *
53
45
  * <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events
54
46
  * in other Amazon Web Services, create an event source mapping (<a>CreateEventSourceMapping</a>),
55
47
  * or configure a function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Lambda
@@ -10,7 +10,6 @@ export interface DeleteFunctionCommandOutput extends __MetadataBearer {
10
10
  /**
11
11
  * <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter.
12
12
  * Otherwise, all versions and aliases are deleted.</p>
13
- *
14
13
  * <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Services and resources that invoke your function
15
14
  * directly, delete the trigger in the service where you originally configured it.</p>
16
15
  * @example
@@ -10,32 +10,26 @@ export interface InvokeCommandOutput extends InvocationResponse, __MetadataBeare
10
10
  /**
11
11
  * <p>Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or
12
12
  * asynchronously. To invoke a function asynchronously, set <code>InvocationType</code> to <code>Event</code>.</p>
13
- *
14
13
  * <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html">synchronous invocation</a>,
15
14
  * details about the function response, including errors, are included in the response body and headers. For either
16
15
  * invocation type, you can find more information in the <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html">execution log</a> and <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html">trace</a>.</p>
17
- *
18
16
  * <p>When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type,
19
17
  * client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an
20
18
  * error, Lambda executes the function up to two more times. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html">Error handling and automatic retries in
21
19
  * Lambda</a>.</p>
22
- *
23
20
  * <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous invocation</a>,
24
21
  * Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity
25
22
  * to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple
26
23
  * times, even if no error occurs. To retain events that were not processed, configure your function with a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq">dead-letter queue</a>.</p>
27
- *
28
24
  * <p>The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that
29
25
  * prevent your function from executing, such as permissions errors, <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">quota</a> errors, or issues with your function's code and
30
26
  * configuration. For example, Lambda returns <code>TooManyRequestsException</code> if running the
31
27
  * function would cause you to exceed a concurrency limit at either the account level
32
28
  * (<code>ConcurrentInvocationLimitExceeded</code>) or function level
33
29
  * (<code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).</p>
34
- *
35
30
  * <p>For functions with a long timeout, your client might disconnect during synchronous invocation while it waits
36
31
  * for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long
37
32
  * connections with timeout or keep-alive settings.</p>
38
- *
39
33
  * <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up
40
34
  * permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function
41
35
  * access to other accounts</a>.</p>
@@ -11,11 +11,9 @@ export interface PublishVersionCommandOutput extends FunctionConfiguration, __Me
11
11
  * <p>Creates a <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">version</a> from the
12
12
  * current code and configuration of a function. Use versions to create a snapshot of your function code and
13
13
  * configuration that doesn't change.</p>
14
- *
15
14
  * <p>Lambda doesn't publish a version if the function's configuration and code haven't changed since the last
16
15
  * version. Use <a>UpdateFunctionCode</a> or <a>UpdateFunctionConfiguration</a> to update the
17
16
  * function before publishing a version.</p>
18
- *
19
17
  * <p>Clients can invoke versions directly or with an alias. To create an alias, use <a>CreateAlias</a>.</p>
20
18
  * @example
21
19
  * Use a bare-bones client and the command you need to make an API call.
@@ -49,28 +49,27 @@ export interface UpdateEventSourceMappingCommandOutput extends EventSourceMappin
49
49
  * </p>
50
50
  * </li>
51
51
  * </ul>
52
- *
53
52
  * <p>The following error handling options are available only for stream sources (DynamoDB and Kinesis):</p>
54
53
  * <ul>
55
54
  * <li>
56
55
  * <p>
57
- * <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p>
56
+ * <code>BisectBatchOnFunctionError</code> If the function returns an error, split the batch in two and retry.</p>
58
57
  * </li>
59
58
  * <li>
60
59
  * <p>
61
- * <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
60
+ * <code>DestinationConfig</code> Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
62
61
  * </li>
63
62
  * <li>
64
63
  * <p>
65
- * <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
64
+ * <code>MaximumRecordAgeInSeconds</code> Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
66
65
  * </li>
67
66
  * <li>
68
67
  * <p>
69
- * <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
68
+ * <code>MaximumRetryAttempts</code> Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
70
69
  * </li>
71
70
  * <li>
72
71
  * <p>
73
- * <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p>
72
+ * <code>ParallelizationFactor</code> Process multiple batches from each shard concurrently.</p>
74
73
  * </li>
75
74
  * </ul>
76
75
  * <p>For information about which configuration parameters apply to each event source, see the following topics.</p>
@@ -10,16 +10,13 @@ export interface UpdateFunctionCodeCommandOutput extends FunctionConfiguration,
10
10
  /**
11
11
  * <p>Updates a Lambda function's code. If code signing is enabled for the function, the code package
12
12
  * must be signed by a trusted publisher. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">Configuring code signing for Lambda</a>.</p>
13
- *
14
13
  * <p>If the function's package type is <code>Image</code>, then you must specify the code package in
15
14
  * <code>ImageUri</code> as the URI of a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container image</a> in the Amazon ECR registry.</p>
16
- *
17
15
  * <p>If the function's package type is <code>Zip</code>, then you must specify the deployment package as a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file
18
16
  * archive</a>. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide
19
17
  * the function code inline using the <code>ZipFile</code> field.</p>
20
18
  * <p>The code in the deployment package must be compatible with the target instruction set architecture of the
21
19
  * function (<code>x86-64</code> or <code>arm64</code>).</p>
22
- *
23
20
  * <p>The function's code is locked when you publish a version. You can't modify the code of a published version,
24
21
  * only the unpublished version.</p>
25
22
  * <note>
@@ -9,7 +9,6 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
9
9
  }
10
10
  /**
11
11
  * <p>Modify the version-specific settings of a Lambda function.</p>
12
- *
13
12
  * <p>When you update a function, Lambda provisions an instance of the function and its supporting
14
13
  * resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify
15
14
  * the function, but you can still invoke it. The <code>LastUpdateStatus</code>, <code>LastUpdateStatusReason</code>,
@@ -17,10 +16,8 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
17
16
  * indicate when the update is complete and the function is processing events with the new configuration. For more
18
17
  * information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Lambda
19
18
  * function states</a>.</p>
20
- *
21
19
  * <p>These settings can vary between versions of a function and are locked when you publish a version. You can't
22
20
  * modify the configuration of a published version, only the unpublished version.</p>
23
- *
24
21
  * <p>To configure function concurrency, use <a>PutFunctionConcurrency</a>. To grant invoke permissions
25
22
  * to an Amazon Web Services account or Amazon Web Service, use <a>AddPermission</a>.</p>
26
23
  * @example
@@ -517,6 +517,15 @@ export interface FilterCriteria {
517
517
  export declare enum FunctionResponseType {
518
518
  ReportBatchItemFailures = "ReportBatchItemFailures"
519
519
  }
520
+ /**
521
+ * <p>(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.</p>
522
+ */
523
+ export interface ScalingConfig {
524
+ /**
525
+ * <p>Limits the number of concurrent instances that the Amazon SQS event source can invoke.</p>
526
+ */
527
+ MaximumConcurrency?: number;
528
+ }
520
529
  export declare enum EndPointType {
521
530
  KAFKA_BOOTSTRAP_SERVERS = "KAFKA_BOOTSTRAP_SERVERS"
522
531
  }
@@ -560,41 +569,41 @@ export interface SourceAccessConfiguration {
560
569
  * <ul>
561
570
  * <li>
562
571
  * <p>
563
- * <code>BASIC_AUTH</code> - (Amazon MQ) The Secrets Manager secret that stores your broker credentials.</p>
572
+ * <code>BASIC_AUTH</code> (Amazon MQ) The Secrets Manager secret that stores your broker credentials.</p>
564
573
  * </li>
565
574
  * <li>
566
575
  * <p>
567
- * <code>BASIC_AUTH</code> - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.</p>
576
+ * <code>BASIC_AUTH</code> (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.</p>
568
577
  * </li>
569
578
  * <li>
570
579
  * <p>
571
- * <code>VPC_SUBNET</code> - (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.</p>
580
+ * <code>VPC_SUBNET</code> (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.</p>
572
581
  * </li>
573
582
  * <li>
574
583
  * <p>
575
- * <code>VPC_SECURITY_GROUP</code> - (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.</p>
584
+ * <code>VPC_SECURITY_GROUP</code> (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.</p>
576
585
  * </li>
577
586
  * <li>
578
587
  * <p>
579
- * <code>SASL_SCRAM_256_AUTH</code> - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.</p>
588
+ * <code>SASL_SCRAM_256_AUTH</code> (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.</p>
580
589
  * </li>
581
590
  * <li>
582
591
  * <p>
583
- * <code>SASL_SCRAM_512_AUTH</code> - (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.</p>
592
+ * <code>SASL_SCRAM_512_AUTH</code> (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.</p>
584
593
  * </li>
585
594
  * <li>
586
595
  * <p>
587
- * <code>VIRTUAL_HOST</code> - (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source.
596
+ * <code>VIRTUAL_HOST</code> –- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source.
588
597
  * This property cannot be specified in an UpdateEventSourceMapping API call.</p>
589
598
  * </li>
590
599
  * <li>
591
600
  * <p>
592
- * <code>CLIENT_CERTIFICATE_TLS_AUTH</code> - (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM),
601
+ * <code>CLIENT_CERTIFICATE_TLS_AUTH</code> (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM),
593
602
  * private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.</p>
594
603
  * </li>
595
604
  * <li>
596
605
  * <p>
597
- * <code>SERVER_ROOT_CA_CERTIFICATE</code> - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
606
+ * <code>SERVER_ROOT_CA_CERTIFICATE</code> (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
598
607
  * </p>
599
608
  * </li>
600
609
  * </ul>
@@ -616,23 +625,23 @@ export interface CreateEventSourceMappingRequest {
616
625
  * <ul>
617
626
  * <li>
618
627
  * <p>
619
- * <b>Amazon Kinesis</b> - The ARN of the data stream or a stream consumer.</p>
628
+ * <b>Amazon Kinesis</b> The ARN of the data stream or a stream consumer.</p>
620
629
  * </li>
621
630
  * <li>
622
631
  * <p>
623
- * <b>Amazon DynamoDB Streams</b> - The ARN of the stream.</p>
632
+ * <b>Amazon DynamoDB Streams</b> The ARN of the stream.</p>
624
633
  * </li>
625
634
  * <li>
626
635
  * <p>
627
- * <b>Amazon Simple Queue Service</b> - The ARN of the queue.</p>
636
+ * <b>Amazon Simple Queue Service</b> The ARN of the queue.</p>
628
637
  * </li>
629
638
  * <li>
630
639
  * <p>
631
- * <b>Amazon Managed Streaming for Apache Kafka</b> - The ARN of the cluster.</p>
640
+ * <b>Amazon Managed Streaming for Apache Kafka</b> The ARN of the cluster.</p>
632
641
  * </li>
633
642
  * <li>
634
643
  * <p>
635
- * <b>Amazon MQ</b> - The ARN of the broker.</p>
644
+ * <b>Amazon MQ</b> The ARN of the broker.</p>
636
645
  * </li>
637
646
  * </ul>
638
647
  */
@@ -645,19 +654,19 @@ export interface CreateEventSourceMappingRequest {
645
654
  * <ul>
646
655
  * <li>
647
656
  * <p>
648
- * <b>Function name</b> - <code>MyFunction</code>.</p>
657
+ * <b>Function name</b> <code>MyFunction</code>.</p>
649
658
  * </li>
650
659
  * <li>
651
660
  * <p>
652
- * <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction</code>.</p>
661
+ * <b>Function ARN</b> <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction</code>.</p>
653
662
  * </li>
654
663
  * <li>
655
664
  * <p>
656
- * <b>Version or Alias ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD</code>.</p>
665
+ * <b>Version or Alias ARN</b> <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD</code>.</p>
657
666
  * </li>
658
667
  * <li>
659
668
  * <p>
660
- * <b>Partial ARN</b> - <code>123456789012:function:MyFunction</code>.</p>
669
+ * <b>Partial ARN</b> <code>123456789012:function:MyFunction</code>.</p>
661
670
  * </li>
662
671
  * </ul>
663
672
  * <p>The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64
@@ -675,27 +684,27 @@ export interface CreateEventSourceMappingRequest {
675
684
  * <ul>
676
685
  * <li>
677
686
  * <p>
678
- * <b>Amazon Kinesis</b> - Default 100. Max 10,000.</p>
687
+ * <b>Amazon Kinesis</b> Default 100. Max 10,000.</p>
679
688
  * </li>
680
689
  * <li>
681
690
  * <p>
682
- * <b>Amazon DynamoDB Streams</b> - Default 100. Max 10,000.</p>
691
+ * <b>Amazon DynamoDB Streams</b> Default 100. Max 10,000.</p>
683
692
  * </li>
684
693
  * <li>
685
694
  * <p>
686
- * <b>Amazon Simple Queue Service</b> - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.</p>
695
+ * <b>Amazon Simple Queue Service</b> Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.</p>
687
696
  * </li>
688
697
  * <li>
689
698
  * <p>
690
- * <b>Amazon Managed Streaming for Apache Kafka</b> - Default 100. Max 10,000.</p>
699
+ * <b>Amazon Managed Streaming for Apache Kafka</b> Default 100. Max 10,000.</p>
691
700
  * </li>
692
701
  * <li>
693
702
  * <p>
694
- * <b>Self-managed Apache Kafka</b> - Default 100. Max 10,000.</p>
703
+ * <b>Self-managed Apache Kafka</b> Default 100. Max 10,000.</p>
695
704
  * </li>
696
705
  * <li>
697
706
  * <p>
698
- * <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> - Default 100. Max 10,000.</p>
707
+ * <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> Default 100. Max 10,000.</p>
699
708
  * </li>
700
709
  * </ul>
701
710
  */
@@ -777,6 +786,10 @@ export interface CreateEventSourceMappingRequest {
777
786
  * <p>Specific configuration settings for a self-managed Apache Kafka event source.</p>
778
787
  */
779
788
  SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
789
+ /**
790
+ * <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>
791
+ */
792
+ ScalingConfig?: ScalingConfig;
780
793
  }
781
794
  /**
782
795
  * <p>A mapping between an Amazon Web Services resource and a Lambda function. For details, see <a>CreateEventSourceMapping</a>.</p>
@@ -896,6 +909,10 @@ export interface EventSourceMappingConfiguration {
896
909
  * <p>Specific configuration settings for a self-managed Apache Kafka event source.</p>
897
910
  */
898
911
  SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
912
+ /**
913
+ * <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>
914
+ */
915
+ ScalingConfig?: ScalingConfig;
899
916
  }
900
917
  /**
901
918
  * <p>The specified code signing configuration does not exist.</p>
@@ -1070,9 +1087,10 @@ export declare enum SnapStartApplyOn {
1070
1087
  PublishedVersions = "PublishedVersions"
1071
1088
  }
1072
1089
  /**
1073
- * <p>The function's SnapStart setting. Set <code>ApplyOn</code> to <code>PublishedVersions</code> to create a
1074
- * snapshot of the initialized execution environment when you publish a function version. For more information, see
1075
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">Reducing startup time with Lambda
1090
+ * <p>The function's Lambda SnapStart setting. Set <code>ApplyOn</code> to <code>PublishedVersions</code> to create a
1091
+ * snapshot of the initialized execution environment when you publish a function version.</p>
1092
+ * <p>SnapStart is supported with the <code>java11</code> runtime. For more information, see
1093
+ * <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">Improving startup performance with Lambda
1076
1094
  * SnapStart</a>.</p>
1077
1095
  */
1078
1096
  export interface SnapStart {
@@ -1562,7 +1580,7 @@ export interface FunctionConfiguration {
1562
1580
  EphemeralStorage?: EphemeralStorage;
1563
1581
  /**
1564
1582
  * <p>Set <code>ApplyOn</code> to <code>PublishedVersions</code> to create a snapshot of the initialized execution
1565
- * environment when you publish a function version. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">Reducing startup time with Lambda SnapStart</a>.</p>
1583
+ * 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>
1566
1584
  */
1567
1585
  SnapStart?: SnapStartResponse;
1568
1586
  }
@@ -3049,23 +3067,23 @@ export interface ListEventSourceMappingsRequest {
3049
3067
  * <ul>
3050
3068
  * <li>
3051
3069
  * <p>
3052
- * <b>Amazon Kinesis</b> - The ARN of the data stream or a stream consumer.</p>
3070
+ * <b>Amazon Kinesis</b> The ARN of the data stream or a stream consumer.</p>
3053
3071
  * </li>
3054
3072
  * <li>
3055
3073
  * <p>
3056
- * <b>Amazon DynamoDB Streams</b> - The ARN of the stream.</p>
3074
+ * <b>Amazon DynamoDB Streams</b> The ARN of the stream.</p>
3057
3075
  * </li>
3058
3076
  * <li>
3059
3077
  * <p>
3060
- * <b>Amazon Simple Queue Service</b> - The ARN of the queue.</p>
3078
+ * <b>Amazon Simple Queue Service</b> The ARN of the queue.</p>
3061
3079
  * </li>
3062
3080
  * <li>
3063
3081
  * <p>
3064
- * <b>Amazon Managed Streaming for Apache Kafka</b> - The ARN of the cluster.</p>
3082
+ * <b>Amazon Managed Streaming for Apache Kafka</b> The ARN of the cluster.</p>
3065
3083
  * </li>
3066
3084
  * <li>
3067
3085
  * <p>
3068
- * <b>Amazon MQ</b> - The ARN of the broker.</p>
3086
+ * <b>Amazon MQ</b> The ARN of the broker.</p>
3069
3087
  * </li>
3070
3088
  * </ul>
3071
3089
  */
@@ -3078,19 +3096,19 @@ export interface ListEventSourceMappingsRequest {
3078
3096
  * <ul>
3079
3097
  * <li>
3080
3098
  * <p>
3081
- * <b>Function name</b> - <code>MyFunction</code>.</p>
3099
+ * <b>Function name</b> <code>MyFunction</code>.</p>
3082
3100
  * </li>
3083
3101
  * <li>
3084
3102
  * <p>
3085
- * <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction</code>.</p>
3103
+ * <b>Function ARN</b> <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction</code>.</p>
3086
3104
  * </li>
3087
3105
  * <li>
3088
3106
  * <p>
3089
- * <b>Version or Alias ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD</code>.</p>
3107
+ * <b>Version or Alias ARN</b> <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD</code>.</p>
3090
3108
  * </li>
3091
3109
  * <li>
3092
3110
  * <p>
3093
- * <b>Partial ARN</b> - <code>123456789012:function:MyFunction</code>.</p>
3111
+ * <b>Partial ARN</b> <code>123456789012:function:MyFunction</code>.</p>
3094
3112
  * </li>
3095
3113
  * </ul>
3096
3114
  * <p>The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64
@@ -4059,19 +4077,19 @@ export interface UpdateEventSourceMappingRequest {
4059
4077
  * <ul>
4060
4078
  * <li>
4061
4079
  * <p>
4062
- * <b>Function name</b> - <code>MyFunction</code>.</p>
4080
+ * <b>Function name</b> <code>MyFunction</code>.</p>
4063
4081
  * </li>
4064
4082
  * <li>
4065
4083
  * <p>
4066
- * <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction</code>.</p>
4084
+ * <b>Function ARN</b> <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction</code>.</p>
4067
4085
  * </li>
4068
4086
  * <li>
4069
4087
  * <p>
4070
- * <b>Version or Alias ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD</code>.</p>
4088
+ * <b>Version or Alias ARN</b> <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD</code>.</p>
4071
4089
  * </li>
4072
4090
  * <li>
4073
4091
  * <p>
4074
- * <b>Partial ARN</b> - <code>123456789012:function:MyFunction</code>.</p>
4092
+ * <b>Partial ARN</b> <code>123456789012:function:MyFunction</code>.</p>
4075
4093
  * </li>
4076
4094
  * </ul>
4077
4095
  * <p>The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64
@@ -4089,27 +4107,27 @@ export interface UpdateEventSourceMappingRequest {
4089
4107
  * <ul>
4090
4108
  * <li>
4091
4109
  * <p>
4092
- * <b>Amazon Kinesis</b> - Default 100. Max 10,000.</p>
4110
+ * <b>Amazon Kinesis</b> Default 100. Max 10,000.</p>
4093
4111
  * </li>
4094
4112
  * <li>
4095
4113
  * <p>
4096
- * <b>Amazon DynamoDB Streams</b> - Default 100. Max 10,000.</p>
4114
+ * <b>Amazon DynamoDB Streams</b> Default 100. Max 10,000.</p>
4097
4115
  * </li>
4098
4116
  * <li>
4099
4117
  * <p>
4100
- * <b>Amazon Simple Queue Service</b> - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.</p>
4118
+ * <b>Amazon Simple Queue Service</b> Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.</p>
4101
4119
  * </li>
4102
4120
  * <li>
4103
4121
  * <p>
4104
- * <b>Amazon Managed Streaming for Apache Kafka</b> - Default 100. Max 10,000.</p>
4122
+ * <b>Amazon Managed Streaming for Apache Kafka</b> Default 100. Max 10,000.</p>
4105
4123
  * </li>
4106
4124
  * <li>
4107
4125
  * <p>
4108
- * <b>Self-managed Apache Kafka</b> - Default 100. Max 10,000.</p>
4126
+ * <b>Self-managed Apache Kafka</b> Default 100. Max 10,000.</p>
4109
4127
  * </li>
4110
4128
  * <li>
4111
4129
  * <p>
4112
- * <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> - Default 100. Max 10,000.</p>
4130
+ * <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> Default 100. Max 10,000.</p>
4113
4131
  * </li>
4114
4132
  * </ul>
4115
4133
  */
@@ -4160,6 +4178,10 @@ export interface UpdateEventSourceMappingRequest {
4160
4178
  * <p>(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
4161
4179
  */
4162
4180
  FunctionResponseTypes?: (FunctionResponseType | string)[];
4181
+ /**
4182
+ * <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>
4183
+ */
4184
+ ScalingConfig?: ScalingConfig;
4163
4185
  }
4164
4186
  export interface UpdateFunctionCodeRequest {
4165
4187
  /**
@@ -4549,6 +4571,10 @@ export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
4549
4571
  * @internal
4550
4572
  */
4551
4573
  export declare const FilterCriteriaFilterSensitiveLog: (obj: FilterCriteria) => any;
4574
+ /**
4575
+ * @internal
4576
+ */
4577
+ export declare const ScalingConfigFilterSensitiveLog: (obj: ScalingConfig) => any;
4552
4578
  /**
4553
4579
  * @internal
4554
4580
  */
@@ -181,6 +181,9 @@ export interface FilterCriteria {
181
181
  export declare enum FunctionResponseType {
182
182
  ReportBatchItemFailures = "ReportBatchItemFailures",
183
183
  }
184
+ export interface ScalingConfig {
185
+ MaximumConcurrency?: number;
186
+ }
184
187
  export declare enum EndPointType {
185
188
  KAFKA_BOOTSTRAP_SERVERS = "KAFKA_BOOTSTRAP_SERVERS",
186
189
  }
@@ -231,6 +234,7 @@ export interface CreateEventSourceMappingRequest {
231
234
  FunctionResponseTypes?: (FunctionResponseType | string)[];
232
235
  AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
233
236
  SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
237
+ ScalingConfig?: ScalingConfig;
234
238
  }
235
239
  export interface EventSourceMappingConfiguration {
236
240
  UUID?: string;
@@ -258,6 +262,7 @@ export interface EventSourceMappingConfiguration {
258
262
  FunctionResponseTypes?: (FunctionResponseType | string)[];
259
263
  AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
260
264
  SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
265
+ ScalingConfig?: ScalingConfig;
261
266
  }
262
267
  export declare class CodeSigningConfigNotFoundException extends __BaseException {
263
268
  readonly name: "CodeSigningConfigNotFoundException";
@@ -1254,6 +1259,7 @@ export interface UpdateEventSourceMappingRequest {
1254
1259
  SourceAccessConfigurations?: SourceAccessConfiguration[];
1255
1260
  TumblingWindowInSeconds?: number;
1256
1261
  FunctionResponseTypes?: (FunctionResponseType | string)[];
1262
+ ScalingConfig?: ScalingConfig;
1257
1263
  }
1258
1264
  export interface UpdateFunctionCodeRequest {
1259
1265
  FunctionName: string | undefined;
@@ -1358,6 +1364,9 @@ export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
1358
1364
  export declare const FilterCriteriaFilterSensitiveLog: (
1359
1365
  obj: FilterCriteria
1360
1366
  ) => any;
1367
+ export declare const ScalingConfigFilterSensitiveLog: (
1368
+ obj: ScalingConfig
1369
+ ) => any;
1361
1370
  export declare const SelfManagedEventSourceFilterSensitiveLog: (
1362
1371
  obj: SelfManagedEventSource
1363
1372
  ) => any;