@aws-sdk/client-lambda
Advanced tools
Comparing version 3.697.0 to 3.698.0
@@ -133,2 +133,5 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client"; | ||
}; | ||
export const EventSourceMappingMetric = { | ||
EventCount: "EventCount", | ||
}; | ||
export const EndPointType = { | ||
@@ -135,0 +138,0 @@ KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS", |
@@ -76,3 +76,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* </ul> | ||
* <p>The following error handling options are available only for stream sources (DynamoDB and Kinesis):</p> | ||
* <p>The following error handling options are available only for DynamoDB and Kinesis event sources:</p> | ||
* <ul> | ||
@@ -85,6 +85,2 @@ * <li> | ||
* <p> | ||
* <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <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> | ||
@@ -101,2 +97,10 @@ * </li> | ||
* </ul> | ||
* <p>For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka), the following option is also available:</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, or | ||
* Amazon S3 bucket.</p> | ||
* </li> | ||
* </ul> | ||
* <p>For information about which configuration parameters apply to each event source, see the following topics.</p> | ||
@@ -221,2 +225,7 @@ * <ul> | ||
* KMSKeyArn: "STRING_VALUE", | ||
* MetricsConfig: { // EventSourceMappingMetricsConfig | ||
* Metrics: [ // EventSourceMappingMetricList | ||
* "EventCount", | ||
* ], | ||
* }, | ||
* }; | ||
@@ -299,2 +308,7 @@ * const command = new CreateEventSourceMappingCommand(input); | ||
* // EventSourceMappingArn: "STRING_VALUE", | ||
* // MetricsConfig: { // EventSourceMappingMetricsConfig | ||
* // Metrics: [ // EventSourceMappingMetricList | ||
* // "EventCount", | ||
* // ], | ||
* // }, | ||
* // }; | ||
@@ -301,0 +315,0 @@ * |
@@ -119,2 +119,7 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* // EventSourceMappingArn: "STRING_VALUE", | ||
* // MetricsConfig: { // EventSourceMappingMetricsConfig | ||
* // Metrics: [ // EventSourceMappingMetricList | ||
* // "EventCount", | ||
* // ], | ||
* // }, | ||
* // }; | ||
@@ -121,0 +126,0 @@ * |
@@ -117,2 +117,7 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* // EventSourceMappingArn: "STRING_VALUE", | ||
* // MetricsConfig: { // EventSourceMappingMetricsConfig | ||
* // Metrics: [ // EventSourceMappingMetricList | ||
* // "EventCount", | ||
* // ], | ||
* // }, | ||
* // }; | ||
@@ -119,0 +124,0 @@ * |
@@ -123,2 +123,7 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* // EventSourceMappingArn: "STRING_VALUE", | ||
* // MetricsConfig: { // EventSourceMappingMetricsConfig | ||
* // Metrics: [ // EventSourceMappingMetricList | ||
* // "EventCount", | ||
* // ], | ||
* // }, | ||
* // }, | ||
@@ -125,0 +130,0 @@ * // ], |
@@ -38,5 +38,8 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* <a>UpdateFunctionConfiguration</a>.</p> | ||
* <p>To send an invocation record to a queue, topic, function, or event bus, specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">destination</a>. You can configure separate destinations for successful invocations (on-success) and events | ||
* <p>To send an invocation record to a queue, topic, S3 bucket, function, or event bus, specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">destination</a>. You can configure separate destinations for successful invocations (on-success) and events | ||
* that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a | ||
* dead-letter queue.</p> | ||
* <note> | ||
* <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p> | ||
* </note> | ||
* @example | ||
@@ -43,0 +46,0 @@ * Use a bare-bones client and the command you need to make an API call. |
@@ -77,3 +77,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* </ul> | ||
* <p>The following error handling options are available only for stream sources (DynamoDB and Kinesis):</p> | ||
* <p>The following error handling options are available only for DynamoDB and Kinesis event sources:</p> | ||
* <ul> | ||
@@ -86,6 +86,2 @@ * <li> | ||
* <p> | ||
* <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <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> | ||
@@ -102,2 +98,10 @@ * </li> | ||
* </ul> | ||
* <p>For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka), the following option is also available:</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, or | ||
* Amazon S3 bucket.</p> | ||
* </li> | ||
* </ul> | ||
* <p>For information about which configuration parameters apply to each event source, see the following topics.</p> | ||
@@ -198,2 +202,7 @@ * <ul> | ||
* KMSKeyArn: "STRING_VALUE", | ||
* MetricsConfig: { // EventSourceMappingMetricsConfig | ||
* Metrics: [ // EventSourceMappingMetricList | ||
* "EventCount", | ||
* ], | ||
* }, | ||
* }; | ||
@@ -276,2 +285,7 @@ * const command = new UpdateEventSourceMappingCommand(input); | ||
* // EventSourceMappingArn: "STRING_VALUE", | ||
* // MetricsConfig: { // EventSourceMappingMetricsConfig | ||
* // Metrics: [ // EventSourceMappingMetricList | ||
* // "EventCount", | ||
* // ], | ||
* // }, | ||
* // }; | ||
@@ -278,0 +292,0 @@ * |
@@ -19,3 +19,3 @@ /** | ||
* <p>For a list of Region-specific endpoints that Lambda supports, | ||
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/">Lambda | ||
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda | ||
* endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> | ||
@@ -22,0 +22,0 @@ * <p>When making the API calls, you will need to |
@@ -504,3 +504,3 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; | ||
* <p>For a list of Region-specific endpoints that Lambda supports, | ||
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/">Lambda | ||
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda | ||
* endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> | ||
@@ -507,0 +507,0 @@ * <p>When making the API calls, you will need to |
@@ -244,3 +244,3 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; | ||
* <p>For a list of Region-specific endpoints that Lambda supports, | ||
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/">Lambda | ||
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda | ||
* endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> | ||
@@ -247,0 +247,0 @@ * <p>When making the API calls, you will need to |
@@ -214,2 +214,10 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; | ||
(typeof FunctionResponseType)[keyof typeof FunctionResponseType]; | ||
export declare const EventSourceMappingMetric: { | ||
readonly EventCount: "EventCount"; | ||
}; | ||
export type EventSourceMappingMetric = | ||
(typeof EventSourceMappingMetric)[keyof typeof EventSourceMappingMetric]; | ||
export interface EventSourceMappingMetricsConfig { | ||
Metrics?: EventSourceMappingMetric[] | undefined; | ||
} | ||
export interface ScalingConfig { | ||
@@ -281,2 +289,3 @@ MaximumConcurrency?: number | undefined; | ||
KMSKeyArn?: string | undefined; | ||
MetricsConfig?: EventSourceMappingMetricsConfig | undefined; | ||
} | ||
@@ -322,2 +331,3 @@ export interface FilterCriteriaError { | ||
EventSourceMappingArn?: string | undefined; | ||
MetricsConfig?: EventSourceMappingMetricsConfig | undefined; | ||
} | ||
@@ -1518,2 +1528,3 @@ export declare class CodeSigningConfigNotFoundException extends __BaseException { | ||
KMSKeyArn?: string | undefined; | ||
MetricsConfig?: EventSourceMappingMetricsConfig | undefined; | ||
} | ||
@@ -1520,0 +1531,0 @@ export interface UpdateFunctionCodeRequest { |
{ | ||
"name": "@aws-sdk/client-lambda", | ||
"description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native", | ||
"version": "3.697.0", | ||
"version": "3.698.0", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", |
@@ -27,3 +27,3 @@ <!-- generated file, do not edit directly --> | ||
<p>For a list of Region-specific endpoints that Lambda supports, | ||
see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/">Lambda | ||
see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda | ||
endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> | ||
@@ -30,0 +30,0 @@ <p>When making the API calls, you will need to |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1750194
39693