@aws-sdk/client-lambda 3.42.0 → 3.47.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/CHANGELOG.md +51 -0
- package/README.md +62 -3
- package/dist-cjs/endpoints.js +176 -23
- package/dist-cjs/models/models_0.js +17 -208
- package/dist-cjs/protocols/Aws_restJson1.js +70 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +176 -23
- package/dist-es/models/models_0.js +10 -136
- package/dist-es/protocols/Aws_restJson1.js +68 -4
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Lambda.d.ts +189 -13
- package/dist-types/LambdaClient.d.ts +67 -4
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +49 -10
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +78 -0
- package/dist-types/models/models_0.d.ts +98 -219
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +26 -136
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -125,12 +125,6 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
|
|
|
125
125
|
*/
|
|
126
126
|
message?: string;
|
|
127
127
|
}
|
|
128
|
-
export declare namespace InvalidParameterValueException {
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
|
|
133
|
-
}
|
|
134
128
|
/**
|
|
135
129
|
* <p>The permissions policy for the resource is too large. <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">Learn more</a>
|
|
136
130
|
* </p>
|
|
@@ -141,12 +135,6 @@ export interface PolicyLengthExceededException extends __SmithyException, $Metad
|
|
|
141
135
|
Type?: string;
|
|
142
136
|
message?: string;
|
|
143
137
|
}
|
|
144
|
-
export declare namespace PolicyLengthExceededException {
|
|
145
|
-
/**
|
|
146
|
-
* @internal
|
|
147
|
-
*/
|
|
148
|
-
const filterSensitiveLog: (obj: PolicyLengthExceededException) => any;
|
|
149
|
-
}
|
|
150
138
|
/**
|
|
151
139
|
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the
|
|
152
140
|
* <code>GetFunction</code> or the <code>GetAlias</code> API to retrieve the latest RevisionId for your
|
|
@@ -164,12 +152,6 @@ export interface PreconditionFailedException extends __SmithyException, $Metadat
|
|
|
164
152
|
*/
|
|
165
153
|
message?: string;
|
|
166
154
|
}
|
|
167
|
-
export declare namespace PreconditionFailedException {
|
|
168
|
-
/**
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
|
-
const filterSensitiveLog: (obj: PreconditionFailedException) => any;
|
|
172
|
-
}
|
|
173
155
|
/**
|
|
174
156
|
* <p>The resource already exists, or another operation is in progress.</p>
|
|
175
157
|
*/
|
|
@@ -185,12 +167,6 @@ export interface ResourceConflictException extends __SmithyException, $MetadataB
|
|
|
185
167
|
*/
|
|
186
168
|
message?: string;
|
|
187
169
|
}
|
|
188
|
-
export declare namespace ResourceConflictException {
|
|
189
|
-
/**
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
192
|
-
const filterSensitiveLog: (obj: ResourceConflictException) => any;
|
|
193
|
-
}
|
|
194
170
|
/**
|
|
195
171
|
* <p>The resource specified in the request does not exist.</p>
|
|
196
172
|
*/
|
|
@@ -200,12 +176,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
200
176
|
Type?: string;
|
|
201
177
|
Message?: string;
|
|
202
178
|
}
|
|
203
|
-
export declare namespace ResourceNotFoundException {
|
|
204
|
-
/**
|
|
205
|
-
* @internal
|
|
206
|
-
*/
|
|
207
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
208
|
-
}
|
|
209
179
|
/**
|
|
210
180
|
* <p>The Lambda service encountered an internal error.</p>
|
|
211
181
|
*/
|
|
@@ -215,12 +185,6 @@ export interface ServiceException extends __SmithyException, $MetadataBearer {
|
|
|
215
185
|
Type?: string;
|
|
216
186
|
Message?: string;
|
|
217
187
|
}
|
|
218
|
-
export declare namespace ServiceException {
|
|
219
|
-
/**
|
|
220
|
-
* @internal
|
|
221
|
-
*/
|
|
222
|
-
const filterSensitiveLog: (obj: ServiceException) => any;
|
|
223
|
-
}
|
|
224
188
|
export declare enum ThrottleReason {
|
|
225
189
|
CallerRateLimitExceeded = "CallerRateLimitExceeded",
|
|
226
190
|
ConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded",
|
|
@@ -242,12 +206,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
242
206
|
message?: string;
|
|
243
207
|
Reason?: ThrottleReason | string;
|
|
244
208
|
}
|
|
245
|
-
export declare namespace TooManyRequestsException {
|
|
246
|
-
/**
|
|
247
|
-
* @internal
|
|
248
|
-
*/
|
|
249
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
250
|
-
}
|
|
251
209
|
export interface AddPermissionRequest {
|
|
252
210
|
/**
|
|
253
211
|
* <p>The name of the Lambda function, version, or alias.</p>
|
|
@@ -591,6 +549,46 @@ export declare namespace DestinationConfig {
|
|
|
591
549
|
*/
|
|
592
550
|
const filterSensitiveLog: (obj: DestinationConfig) => any;
|
|
593
551
|
}
|
|
552
|
+
/**
|
|
553
|
+
* <p>
|
|
554
|
+
* A structure within a <code>FilterCriteria</code> object that defines an event filtering pattern.
|
|
555
|
+
* </p>
|
|
556
|
+
*/
|
|
557
|
+
export interface Filter {
|
|
558
|
+
/**
|
|
559
|
+
* <p>
|
|
560
|
+
* A filter pattern. For more information on the syntax of a filter pattern, see
|
|
561
|
+
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax">
|
|
562
|
+
* Filter rule syntax</a>.
|
|
563
|
+
* </p>
|
|
564
|
+
*/
|
|
565
|
+
Pattern?: string;
|
|
566
|
+
}
|
|
567
|
+
export declare namespace Filter {
|
|
568
|
+
/**
|
|
569
|
+
* @internal
|
|
570
|
+
*/
|
|
571
|
+
const filterSensitiveLog: (obj: Filter) => any;
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* <p>
|
|
575
|
+
* An object that contains the filters for an event source.
|
|
576
|
+
* </p>
|
|
577
|
+
*/
|
|
578
|
+
export interface FilterCriteria {
|
|
579
|
+
/**
|
|
580
|
+
* <p>
|
|
581
|
+
* A list of filters.
|
|
582
|
+
* </p>
|
|
583
|
+
*/
|
|
584
|
+
Filters?: Filter[];
|
|
585
|
+
}
|
|
586
|
+
export declare namespace FilterCriteria {
|
|
587
|
+
/**
|
|
588
|
+
* @internal
|
|
589
|
+
*/
|
|
590
|
+
const filterSensitiveLog: (obj: FilterCriteria) => any;
|
|
591
|
+
}
|
|
594
592
|
export declare enum FunctionResponseType {
|
|
595
593
|
ReportBatchItemFailures = "ReportBatchItemFailures"
|
|
596
594
|
}
|
|
@@ -617,8 +615,10 @@ export declare namespace SelfManagedEventSource {
|
|
|
617
615
|
}
|
|
618
616
|
export declare enum SourceAccessType {
|
|
619
617
|
BASIC_AUTH = "BASIC_AUTH",
|
|
618
|
+
CLIENT_CERTIFICATE_TLS_AUTH = "CLIENT_CERTIFICATE_TLS_AUTH",
|
|
620
619
|
SASL_SCRAM_256_AUTH = "SASL_SCRAM_256_AUTH",
|
|
621
620
|
SASL_SCRAM_512_AUTH = "SASL_SCRAM_512_AUTH",
|
|
621
|
+
SERVER_ROOT_CA_CERTIFICATE = "SERVER_ROOT_CA_CERTIFICATE",
|
|
622
622
|
VIRTUAL_HOST = "VIRTUAL_HOST",
|
|
623
623
|
VPC_SECURITY_GROUP = "VPC_SECURITY_GROUP",
|
|
624
624
|
VPC_SUBNET = "VPC_SUBNET"
|
|
@@ -656,7 +656,18 @@ export interface SourceAccessConfiguration {
|
|
|
656
656
|
* </li>
|
|
657
657
|
* <li>
|
|
658
658
|
* <p>
|
|
659
|
-
* <code>VIRTUAL_HOST</code> - (Amazon MQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source
|
|
659
|
+
* <code>VIRTUAL_HOST</code> - (Amazon MQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source.
|
|
660
|
+
* This property cannot be specified in an UpdateEventSourceMapping API call.</p>
|
|
661
|
+
* </li>
|
|
662
|
+
* <li>
|
|
663
|
+
* <p>
|
|
664
|
+
* <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),
|
|
665
|
+
* private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.</p>
|
|
666
|
+
* </li>
|
|
667
|
+
* <li>
|
|
668
|
+
* <p>
|
|
669
|
+
* <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.
|
|
670
|
+
* </p>
|
|
660
671
|
* </li>
|
|
661
672
|
* </ul>
|
|
662
673
|
*/
|
|
@@ -756,9 +767,18 @@ export interface CreateEventSourceMappingRequest {
|
|
|
756
767
|
* <p>
|
|
757
768
|
* <b>Self-Managed Apache Kafka</b> - Default 100. Max 10,000.</p>
|
|
758
769
|
* </li>
|
|
770
|
+
* <li>
|
|
771
|
+
* <p>
|
|
772
|
+
* <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> - Default 100. Max 10,000.</p>
|
|
773
|
+
* </li>
|
|
759
774
|
* </ul>
|
|
760
775
|
*/
|
|
761
776
|
BatchSize?: number;
|
|
777
|
+
/**
|
|
778
|
+
* <p>(Streams and Amazon SQS) An object that defines the filter criteria that
|
|
779
|
+
* determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p>
|
|
780
|
+
*/
|
|
781
|
+
FilterCriteria?: FilterCriteria;
|
|
762
782
|
/**
|
|
763
783
|
* <p>(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.</p>
|
|
764
784
|
* <p>Default: 0</p>
|
|
@@ -816,7 +836,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
816
836
|
*/
|
|
817
837
|
SelfManagedEventSource?: SelfManagedEventSource;
|
|
818
838
|
/**
|
|
819
|
-
* <p>(Streams
|
|
839
|
+
* <p>(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
820
840
|
*/
|
|
821
841
|
FunctionResponseTypes?: (FunctionResponseType | string)[];
|
|
822
842
|
}
|
|
@@ -864,6 +884,11 @@ export interface EventSourceMappingConfiguration {
|
|
|
864
884
|
* <p>The Amazon Resource Name (ARN) of the event source.</p>
|
|
865
885
|
*/
|
|
866
886
|
EventSourceArn?: string;
|
|
887
|
+
/**
|
|
888
|
+
* <p>(Streams and Amazon SQS) An object that defines the filter criteria that
|
|
889
|
+
* determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p>
|
|
890
|
+
*/
|
|
891
|
+
FilterCriteria?: FilterCriteria;
|
|
867
892
|
/**
|
|
868
893
|
* <p>The ARN of the Lambda function.</p>
|
|
869
894
|
*/
|
|
@@ -944,12 +969,6 @@ export interface CodeSigningConfigNotFoundException extends __SmithyException, $
|
|
|
944
969
|
Type?: string;
|
|
945
970
|
Message?: string;
|
|
946
971
|
}
|
|
947
|
-
export declare namespace CodeSigningConfigNotFoundException {
|
|
948
|
-
/**
|
|
949
|
-
* @internal
|
|
950
|
-
*/
|
|
951
|
-
const filterSensitiveLog: (obj: CodeSigningConfigNotFoundException) => any;
|
|
952
|
-
}
|
|
953
972
|
/**
|
|
954
973
|
* <p>You have exceeded your maximum total code size per account. <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">Learn more</a>
|
|
955
974
|
* </p>
|
|
@@ -963,12 +982,6 @@ export interface CodeStorageExceededException extends __SmithyException, $Metada
|
|
|
963
982
|
Type?: string;
|
|
964
983
|
message?: string;
|
|
965
984
|
}
|
|
966
|
-
export declare namespace CodeStorageExceededException {
|
|
967
|
-
/**
|
|
968
|
-
* @internal
|
|
969
|
-
*/
|
|
970
|
-
const filterSensitiveLog: (obj: CodeStorageExceededException) => any;
|
|
971
|
-
}
|
|
972
985
|
/**
|
|
973
986
|
* <p>The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy
|
|
974
987
|
* is set to ENFORCE. Lambda blocks the deployment. </p>
|
|
@@ -979,12 +992,6 @@ export interface CodeVerificationFailedException extends __SmithyException, $Met
|
|
|
979
992
|
Type?: string;
|
|
980
993
|
Message?: string;
|
|
981
994
|
}
|
|
982
|
-
export declare namespace CodeVerificationFailedException {
|
|
983
|
-
/**
|
|
984
|
-
* @internal
|
|
985
|
-
*/
|
|
986
|
-
const filterSensitiveLog: (obj: CodeVerificationFailedException) => any;
|
|
987
|
-
}
|
|
988
995
|
/**
|
|
989
996
|
* <p>The code for the Lambda function. You can specify either an object in Amazon S3, upload a .zip file archive deployment
|
|
990
997
|
* package directly, or specify the URI of a container image.</p>
|
|
@@ -1194,7 +1201,8 @@ export interface CreateFunctionRequest {
|
|
|
1194
1201
|
*/
|
|
1195
1202
|
FunctionName: string | undefined;
|
|
1196
1203
|
/**
|
|
1197
|
-
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a
|
|
1204
|
+
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a>. Runtime is required if the deployment package is a .zip file archive.
|
|
1205
|
+
* </p>
|
|
1198
1206
|
*/
|
|
1199
1207
|
Runtime?: Runtime | string;
|
|
1200
1208
|
/**
|
|
@@ -1202,7 +1210,8 @@ export interface CreateFunctionRequest {
|
|
|
1202
1210
|
*/
|
|
1203
1211
|
Role: string | undefined;
|
|
1204
1212
|
/**
|
|
1205
|
-
* <p>The name of the method within your code that Lambda calls to execute your function.
|
|
1213
|
+
* <p>The name of the method within your code that Lambda calls to execute your function.
|
|
1214
|
+
* Handler is required if the deployment package is a .zip file archive. The format includes the
|
|
1206
1215
|
* file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information,
|
|
1207
1216
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html">Programming Model</a>.</p>
|
|
1208
1217
|
*/
|
|
@@ -1216,7 +1225,7 @@ export interface CreateFunctionRequest {
|
|
|
1216
1225
|
*/
|
|
1217
1226
|
Description?: string;
|
|
1218
1227
|
/**
|
|
1219
|
-
* <p>The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The
|
|
1228
|
+
* <p>The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The
|
|
1220
1229
|
* maximum allowed value is 900 seconds. For additional information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html">Lambda execution environment</a>.</p>
|
|
1221
1230
|
*/
|
|
1222
1231
|
Timeout?: number;
|
|
@@ -1285,8 +1294,8 @@ export interface CreateFunctionRequest {
|
|
|
1285
1294
|
*/
|
|
1286
1295
|
CodeSigningConfigArn?: string;
|
|
1287
1296
|
/**
|
|
1288
|
-
* <p>The instruction set architecture that the function supports. Enter a string array with one of the valid values.
|
|
1289
|
-
*
|
|
1297
|
+
* <p>The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64).
|
|
1298
|
+
* The default value is <code>x86_64</code>.</p>
|
|
1290
1299
|
*/
|
|
1291
1300
|
Architectures?: (Architecture | string)[];
|
|
1292
1301
|
}
|
|
@@ -1545,7 +1554,7 @@ export interface FunctionConfiguration {
|
|
|
1545
1554
|
Environment?: EnvironmentResponse;
|
|
1546
1555
|
/**
|
|
1547
1556
|
* <p>The KMS key that's used to encrypt the function's environment variables. This key is only returned if you've
|
|
1548
|
-
* configured a customer managed
|
|
1557
|
+
* configured a customer managed key.</p>
|
|
1549
1558
|
*/
|
|
1550
1559
|
KMSKeyArn?: string;
|
|
1551
1560
|
/**
|
|
@@ -1553,7 +1562,7 @@ export interface FunctionConfiguration {
|
|
|
1553
1562
|
*/
|
|
1554
1563
|
TracingConfig?: TracingConfigResponse;
|
|
1555
1564
|
/**
|
|
1556
|
-
* <p>For Lambda@Edge functions, the ARN of the
|
|
1565
|
+
* <p>For Lambda@Edge functions, the ARN of the main function.</p>
|
|
1557
1566
|
*/
|
|
1558
1567
|
MasterArn?: string;
|
|
1559
1568
|
/**
|
|
@@ -1634,12 +1643,6 @@ export interface InvalidCodeSignatureException extends __SmithyException, $Metad
|
|
|
1634
1643
|
Type?: string;
|
|
1635
1644
|
Message?: string;
|
|
1636
1645
|
}
|
|
1637
|
-
export declare namespace InvalidCodeSignatureException {
|
|
1638
|
-
/**
|
|
1639
|
-
* @internal
|
|
1640
|
-
*/
|
|
1641
|
-
const filterSensitiveLog: (obj: InvalidCodeSignatureException) => any;
|
|
1642
|
-
}
|
|
1643
1646
|
export interface DeleteAliasRequest {
|
|
1644
1647
|
/**
|
|
1645
1648
|
* <p>The name of the Lambda function.</p>
|
|
@@ -1717,12 +1720,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
1717
1720
|
Type?: string;
|
|
1718
1721
|
Message?: string;
|
|
1719
1722
|
}
|
|
1720
|
-
export declare namespace ResourceInUseException {
|
|
1721
|
-
/**
|
|
1722
|
-
* @internal
|
|
1723
|
-
*/
|
|
1724
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
1725
|
-
}
|
|
1726
1723
|
export interface DeleteFunctionRequest {
|
|
1727
1724
|
/**
|
|
1728
1725
|
* <p>The name of the Lambda function or version.</p>
|
|
@@ -2599,12 +2596,6 @@ export interface ProvisionedConcurrencyConfigNotFoundException extends __SmithyE
|
|
|
2599
2596
|
Type?: string;
|
|
2600
2597
|
message?: string;
|
|
2601
2598
|
}
|
|
2602
|
-
export declare namespace ProvisionedConcurrencyConfigNotFoundException {
|
|
2603
|
-
/**
|
|
2604
|
-
* @internal
|
|
2605
|
-
*/
|
|
2606
|
-
const filterSensitiveLog: (obj: ProvisionedConcurrencyConfigNotFoundException) => any;
|
|
2607
|
-
}
|
|
2608
2599
|
/**
|
|
2609
2600
|
* <p>Need additional permissions to configure VPC settings.</p>
|
|
2610
2601
|
*/
|
|
@@ -2614,12 +2605,6 @@ export interface EC2AccessDeniedException extends __SmithyException, $MetadataBe
|
|
|
2614
2605
|
Type?: string;
|
|
2615
2606
|
Message?: string;
|
|
2616
2607
|
}
|
|
2617
|
-
export declare namespace EC2AccessDeniedException {
|
|
2618
|
-
/**
|
|
2619
|
-
* @internal
|
|
2620
|
-
*/
|
|
2621
|
-
const filterSensitiveLog: (obj: EC2AccessDeniedException) => any;
|
|
2622
|
-
}
|
|
2623
2608
|
/**
|
|
2624
2609
|
* <p>Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided
|
|
2625
2610
|
* for the Lambda function.</p>
|
|
@@ -2630,12 +2615,6 @@ export interface EC2ThrottledException extends __SmithyException, $MetadataBeare
|
|
|
2630
2615
|
Type?: string;
|
|
2631
2616
|
Message?: string;
|
|
2632
2617
|
}
|
|
2633
|
-
export declare namespace EC2ThrottledException {
|
|
2634
|
-
/**
|
|
2635
|
-
* @internal
|
|
2636
|
-
*/
|
|
2637
|
-
const filterSensitiveLog: (obj: EC2ThrottledException) => any;
|
|
2638
|
-
}
|
|
2639
2618
|
/**
|
|
2640
2619
|
* <p>Lambda received an unexpected EC2 client exception while setting up for the Lambda function.</p>
|
|
2641
2620
|
*/
|
|
@@ -2646,12 +2625,6 @@ export interface EC2UnexpectedException extends __SmithyException, $MetadataBear
|
|
|
2646
2625
|
Message?: string;
|
|
2647
2626
|
EC2ErrorCode?: string;
|
|
2648
2627
|
}
|
|
2649
|
-
export declare namespace EC2UnexpectedException {
|
|
2650
|
-
/**
|
|
2651
|
-
* @internal
|
|
2652
|
-
*/
|
|
2653
|
-
const filterSensitiveLog: (obj: EC2UnexpectedException) => any;
|
|
2654
|
-
}
|
|
2655
2628
|
/**
|
|
2656
2629
|
* <p>An error occurred when reading from or writing to a connected file system.</p>
|
|
2657
2630
|
*/
|
|
@@ -2661,12 +2634,6 @@ export interface EFSIOException extends __SmithyException, $MetadataBearer {
|
|
|
2661
2634
|
Type?: string;
|
|
2662
2635
|
Message?: string;
|
|
2663
2636
|
}
|
|
2664
|
-
export declare namespace EFSIOException {
|
|
2665
|
-
/**
|
|
2666
|
-
* @internal
|
|
2667
|
-
*/
|
|
2668
|
-
const filterSensitiveLog: (obj: EFSIOException) => any;
|
|
2669
|
-
}
|
|
2670
2637
|
/**
|
|
2671
2638
|
* <p>The function couldn't make a network connection to the configured file system.</p>
|
|
2672
2639
|
*/
|
|
@@ -2676,12 +2643,6 @@ export interface EFSMountConnectivityException extends __SmithyException, $Metad
|
|
|
2676
2643
|
Type?: string;
|
|
2677
2644
|
Message?: string;
|
|
2678
2645
|
}
|
|
2679
|
-
export declare namespace EFSMountConnectivityException {
|
|
2680
|
-
/**
|
|
2681
|
-
* @internal
|
|
2682
|
-
*/
|
|
2683
|
-
const filterSensitiveLog: (obj: EFSMountConnectivityException) => any;
|
|
2684
|
-
}
|
|
2685
2646
|
/**
|
|
2686
2647
|
* <p>The function couldn't mount the configured file system due to a permission or configuration issue.</p>
|
|
2687
2648
|
*/
|
|
@@ -2691,12 +2652,6 @@ export interface EFSMountFailureException extends __SmithyException, $MetadataBe
|
|
|
2691
2652
|
Type?: string;
|
|
2692
2653
|
Message?: string;
|
|
2693
2654
|
}
|
|
2694
|
-
export declare namespace EFSMountFailureException {
|
|
2695
|
-
/**
|
|
2696
|
-
* @internal
|
|
2697
|
-
*/
|
|
2698
|
-
const filterSensitiveLog: (obj: EFSMountFailureException) => any;
|
|
2699
|
-
}
|
|
2700
2655
|
/**
|
|
2701
2656
|
* <p>The function was able to make a network connection to the configured file system, but the mount operation
|
|
2702
2657
|
* timed out.</p>
|
|
@@ -2707,12 +2662,6 @@ export interface EFSMountTimeoutException extends __SmithyException, $MetadataBe
|
|
|
2707
2662
|
Type?: string;
|
|
2708
2663
|
Message?: string;
|
|
2709
2664
|
}
|
|
2710
|
-
export declare namespace EFSMountTimeoutException {
|
|
2711
|
-
/**
|
|
2712
|
-
* @internal
|
|
2713
|
-
*/
|
|
2714
|
-
const filterSensitiveLog: (obj: EFSMountTimeoutException) => any;
|
|
2715
|
-
}
|
|
2716
2665
|
/**
|
|
2717
2666
|
* <p>Lambda was not able to create an elastic network interface in the VPC, specified as part of Lambda
|
|
2718
2667
|
* function configuration, because the limit for network interfaces has been reached.</p>
|
|
@@ -2723,12 +2672,6 @@ export interface ENILimitReachedException extends __SmithyException, $MetadataBe
|
|
|
2723
2672
|
Type?: string;
|
|
2724
2673
|
Message?: string;
|
|
2725
2674
|
}
|
|
2726
|
-
export declare namespace ENILimitReachedException {
|
|
2727
|
-
/**
|
|
2728
|
-
* @internal
|
|
2729
|
-
*/
|
|
2730
|
-
const filterSensitiveLog: (obj: ENILimitReachedException) => any;
|
|
2731
|
-
}
|
|
2732
2675
|
/**
|
|
2733
2676
|
* <p>The request body could not be parsed as JSON.</p>
|
|
2734
2677
|
*/
|
|
@@ -2744,12 +2687,6 @@ export interface InvalidRequestContentException extends __SmithyException, $Meta
|
|
|
2744
2687
|
*/
|
|
2745
2688
|
message?: string;
|
|
2746
2689
|
}
|
|
2747
|
-
export declare namespace InvalidRequestContentException {
|
|
2748
|
-
/**
|
|
2749
|
-
* @internal
|
|
2750
|
-
*/
|
|
2751
|
-
const filterSensitiveLog: (obj: InvalidRequestContentException) => any;
|
|
2752
|
-
}
|
|
2753
2690
|
/**
|
|
2754
2691
|
* <p>The runtime or runtime version specified is not supported.</p>
|
|
2755
2692
|
*/
|
|
@@ -2759,12 +2696,6 @@ export interface InvalidRuntimeException extends __SmithyException, $MetadataBea
|
|
|
2759
2696
|
Type?: string;
|
|
2760
2697
|
Message?: string;
|
|
2761
2698
|
}
|
|
2762
|
-
export declare namespace InvalidRuntimeException {
|
|
2763
|
-
/**
|
|
2764
|
-
* @internal
|
|
2765
|
-
*/
|
|
2766
|
-
const filterSensitiveLog: (obj: InvalidRuntimeException) => any;
|
|
2767
|
-
}
|
|
2768
2699
|
/**
|
|
2769
2700
|
* <p>The Security Group ID provided in the Lambda function VPC configuration is invalid.</p>
|
|
2770
2701
|
*/
|
|
@@ -2774,12 +2705,6 @@ export interface InvalidSecurityGroupIDException extends __SmithyException, $Met
|
|
|
2774
2705
|
Type?: string;
|
|
2775
2706
|
Message?: string;
|
|
2776
2707
|
}
|
|
2777
|
-
export declare namespace InvalidSecurityGroupIDException {
|
|
2778
|
-
/**
|
|
2779
|
-
* @internal
|
|
2780
|
-
*/
|
|
2781
|
-
const filterSensitiveLog: (obj: InvalidSecurityGroupIDException) => any;
|
|
2782
|
-
}
|
|
2783
2708
|
/**
|
|
2784
2709
|
* <p>The Subnet ID provided in the Lambda function VPC configuration is invalid.</p>
|
|
2785
2710
|
*/
|
|
@@ -2789,12 +2714,6 @@ export interface InvalidSubnetIDException extends __SmithyException, $MetadataBe
|
|
|
2789
2714
|
Type?: string;
|
|
2790
2715
|
Message?: string;
|
|
2791
2716
|
}
|
|
2792
|
-
export declare namespace InvalidSubnetIDException {
|
|
2793
|
-
/**
|
|
2794
|
-
* @internal
|
|
2795
|
-
*/
|
|
2796
|
-
const filterSensitiveLog: (obj: InvalidSubnetIDException) => any;
|
|
2797
|
-
}
|
|
2798
2717
|
/**
|
|
2799
2718
|
* <p>Lambda could not unzip the deployment package.</p>
|
|
2800
2719
|
*/
|
|
@@ -2804,12 +2723,6 @@ export interface InvalidZipFileException extends __SmithyException, $MetadataBea
|
|
|
2804
2723
|
Type?: string;
|
|
2805
2724
|
Message?: string;
|
|
2806
2725
|
}
|
|
2807
|
-
export declare namespace InvalidZipFileException {
|
|
2808
|
-
/**
|
|
2809
|
-
* @internal
|
|
2810
|
-
*/
|
|
2811
|
-
const filterSensitiveLog: (obj: InvalidZipFileException) => any;
|
|
2812
|
-
}
|
|
2813
2726
|
export declare enum InvocationType {
|
|
2814
2727
|
DryRun = "DryRun",
|
|
2815
2728
|
Event = "Event",
|
|
@@ -2876,6 +2789,9 @@ export interface InvocationRequest {
|
|
|
2876
2789
|
ClientContext?: string;
|
|
2877
2790
|
/**
|
|
2878
2791
|
* <p>The JSON that you want to provide to your Lambda function as input.</p>
|
|
2792
|
+
* <p>You can enter the JSON directly. For example, <code>--payload '{ "key": "value" }'</code>.
|
|
2793
|
+
* You can also specify a file path. For example, <code>--payload file://payload.json</code>.
|
|
2794
|
+
* </p>
|
|
2879
2795
|
*/
|
|
2880
2796
|
Payload?: Uint8Array;
|
|
2881
2797
|
/**
|
|
@@ -2931,12 +2847,6 @@ export interface KMSAccessDeniedException extends __SmithyException, $MetadataBe
|
|
|
2931
2847
|
Type?: string;
|
|
2932
2848
|
Message?: string;
|
|
2933
2849
|
}
|
|
2934
|
-
export declare namespace KMSAccessDeniedException {
|
|
2935
|
-
/**
|
|
2936
|
-
* @internal
|
|
2937
|
-
*/
|
|
2938
|
-
const filterSensitiveLog: (obj: KMSAccessDeniedException) => any;
|
|
2939
|
-
}
|
|
2940
2850
|
/**
|
|
2941
2851
|
* <p>Lambda was unable to decrypt the environment variables because the KMS key used is disabled. Check the Lambda
|
|
2942
2852
|
* function's KMS key settings.</p>
|
|
@@ -2947,12 +2857,6 @@ export interface KMSDisabledException extends __SmithyException, $MetadataBearer
|
|
|
2947
2857
|
Type?: string;
|
|
2948
2858
|
Message?: string;
|
|
2949
2859
|
}
|
|
2950
|
-
export declare namespace KMSDisabledException {
|
|
2951
|
-
/**
|
|
2952
|
-
* @internal
|
|
2953
|
-
*/
|
|
2954
|
-
const filterSensitiveLog: (obj: KMSDisabledException) => any;
|
|
2955
|
-
}
|
|
2956
2860
|
/**
|
|
2957
2861
|
* <p>Lambda was unable to decrypt the environment variables because the KMS key used is in an invalid state for
|
|
2958
2862
|
* Decrypt. Check the function's KMS key settings.</p>
|
|
@@ -2963,12 +2867,6 @@ export interface KMSInvalidStateException extends __SmithyException, $MetadataBe
|
|
|
2963
2867
|
Type?: string;
|
|
2964
2868
|
Message?: string;
|
|
2965
2869
|
}
|
|
2966
|
-
export declare namespace KMSInvalidStateException {
|
|
2967
|
-
/**
|
|
2968
|
-
* @internal
|
|
2969
|
-
*/
|
|
2970
|
-
const filterSensitiveLog: (obj: KMSInvalidStateException) => any;
|
|
2971
|
-
}
|
|
2972
2870
|
/**
|
|
2973
2871
|
* <p>Lambda was unable to decrypt the environment variables because the KMS key was not found. Check the function's
|
|
2974
2872
|
* KMS key settings. </p>
|
|
@@ -2979,12 +2877,6 @@ export interface KMSNotFoundException extends __SmithyException, $MetadataBearer
|
|
|
2979
2877
|
Type?: string;
|
|
2980
2878
|
Message?: string;
|
|
2981
2879
|
}
|
|
2982
|
-
export declare namespace KMSNotFoundException {
|
|
2983
|
-
/**
|
|
2984
|
-
* @internal
|
|
2985
|
-
*/
|
|
2986
|
-
const filterSensitiveLog: (obj: KMSNotFoundException) => any;
|
|
2987
|
-
}
|
|
2988
2880
|
/**
|
|
2989
2881
|
* <p>The request payload exceeded the <code>Invoke</code> request body JSON input limit. For more information, see
|
|
2990
2882
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">Limits</a>. </p>
|
|
@@ -2995,12 +2887,6 @@ export interface RequestTooLargeException extends __SmithyException, $MetadataBe
|
|
|
2995
2887
|
Type?: string;
|
|
2996
2888
|
message?: string;
|
|
2997
2889
|
}
|
|
2998
|
-
export declare namespace RequestTooLargeException {
|
|
2999
|
-
/**
|
|
3000
|
-
* @internal
|
|
3001
|
-
*/
|
|
3002
|
-
const filterSensitiveLog: (obj: RequestTooLargeException) => any;
|
|
3003
|
-
}
|
|
3004
2890
|
/**
|
|
3005
2891
|
* <p>The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to
|
|
3006
2892
|
* reestablish and try again.</p>
|
|
@@ -3017,12 +2903,6 @@ export interface ResourceNotReadyException extends __SmithyException, $MetadataB
|
|
|
3017
2903
|
*/
|
|
3018
2904
|
message?: string;
|
|
3019
2905
|
}
|
|
3020
|
-
export declare namespace ResourceNotReadyException {
|
|
3021
|
-
/**
|
|
3022
|
-
* @internal
|
|
3023
|
-
*/
|
|
3024
|
-
const filterSensitiveLog: (obj: ResourceNotReadyException) => any;
|
|
3025
|
-
}
|
|
3026
2906
|
/**
|
|
3027
2907
|
* <p>Lambda was not able to set up VPC access for the Lambda function because one or more configured subnets
|
|
3028
2908
|
* has no available IP addresses.</p>
|
|
@@ -3033,12 +2913,6 @@ export interface SubnetIPAddressLimitReachedException extends __SmithyException,
|
|
|
3033
2913
|
Type?: string;
|
|
3034
2914
|
Message?: string;
|
|
3035
2915
|
}
|
|
3036
|
-
export declare namespace SubnetIPAddressLimitReachedException {
|
|
3037
|
-
/**
|
|
3038
|
-
* @internal
|
|
3039
|
-
*/
|
|
3040
|
-
const filterSensitiveLog: (obj: SubnetIPAddressLimitReachedException) => any;
|
|
3041
|
-
}
|
|
3042
2916
|
/**
|
|
3043
2917
|
* <p>The content type of the <code>Invoke</code> request body is not JSON.</p>
|
|
3044
2918
|
*/
|
|
@@ -3048,12 +2922,6 @@ export interface UnsupportedMediaTypeException extends __SmithyException, $Metad
|
|
|
3048
2922
|
Type?: string;
|
|
3049
2923
|
message?: string;
|
|
3050
2924
|
}
|
|
3051
|
-
export declare namespace UnsupportedMediaTypeException {
|
|
3052
|
-
/**
|
|
3053
|
-
* @internal
|
|
3054
|
-
*/
|
|
3055
|
-
const filterSensitiveLog: (obj: UnsupportedMediaTypeException) => any;
|
|
3056
|
-
}
|
|
3057
2925
|
export interface InvokeAsyncRequest {
|
|
3058
2926
|
/**
|
|
3059
2927
|
* <p>The name of the Lambda function.</p>
|
|
@@ -4412,9 +4280,18 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
4412
4280
|
* <p>
|
|
4413
4281
|
* <b>Self-Managed Apache Kafka</b> - Default 100. Max 10,000.</p>
|
|
4414
4282
|
* </li>
|
|
4283
|
+
* <li>
|
|
4284
|
+
* <p>
|
|
4285
|
+
* <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> - Default 100. Max 10,000.</p>
|
|
4286
|
+
* </li>
|
|
4415
4287
|
* </ul>
|
|
4416
4288
|
*/
|
|
4417
4289
|
BatchSize?: number;
|
|
4290
|
+
/**
|
|
4291
|
+
* <p>(Streams and Amazon SQS) An object that defines the filter criteria that
|
|
4292
|
+
* determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p>
|
|
4293
|
+
*/
|
|
4294
|
+
FilterCriteria?: FilterCriteria;
|
|
4418
4295
|
/**
|
|
4419
4296
|
* <p>(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.</p>
|
|
4420
4297
|
* <p>Default: 0</p>
|
|
@@ -4450,7 +4327,7 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
4450
4327
|
*/
|
|
4451
4328
|
TumblingWindowInSeconds?: number;
|
|
4452
4329
|
/**
|
|
4453
|
-
* <p>(Streams
|
|
4330
|
+
* <p>(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
4454
4331
|
*/
|
|
4455
4332
|
FunctionResponseTypes?: (FunctionResponseType | string)[];
|
|
4456
4333
|
}
|
|
@@ -4521,8 +4398,8 @@ export interface UpdateFunctionCodeRequest {
|
|
|
4521
4398
|
*/
|
|
4522
4399
|
RevisionId?: string;
|
|
4523
4400
|
/**
|
|
4524
|
-
* <p>The instruction set architecture that the function supports. Enter a string array with one of the valid values.
|
|
4525
|
-
*
|
|
4401
|
+
* <p>The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64).
|
|
4402
|
+
* The default value is <code>x86_64</code>.</p>
|
|
4526
4403
|
*/
|
|
4527
4404
|
Architectures?: (Architecture | string)[];
|
|
4528
4405
|
}
|
|
@@ -4561,7 +4438,8 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4561
4438
|
*/
|
|
4562
4439
|
Role?: string;
|
|
4563
4440
|
/**
|
|
4564
|
-
* <p>The name of the method within your code that Lambda calls to execute your function.
|
|
4441
|
+
* <p>The name of the method within your code that Lambda calls to execute your function.
|
|
4442
|
+
* Handler is required if the deployment package is a .zip file archive. The format includes the
|
|
4565
4443
|
* file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information,
|
|
4566
4444
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html">Programming Model</a>.</p>
|
|
4567
4445
|
*/
|
|
@@ -4571,7 +4449,7 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4571
4449
|
*/
|
|
4572
4450
|
Description?: string;
|
|
4573
4451
|
/**
|
|
4574
|
-
* <p>The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The
|
|
4452
|
+
* <p>The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The
|
|
4575
4453
|
* maximum allowed value is 900 seconds. For additional information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html">Lambda execution environment</a>.</p>
|
|
4576
4454
|
*/
|
|
4577
4455
|
Timeout?: number;
|
|
@@ -4591,7 +4469,8 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4591
4469
|
*/
|
|
4592
4470
|
Environment?: Environment;
|
|
4593
4471
|
/**
|
|
4594
|
-
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a
|
|
4472
|
+
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a>. Runtime is required if the deployment package is a .zip file archive.
|
|
4473
|
+
* </p>
|
|
4595
4474
|
*/
|
|
4596
4475
|
Runtime?: Runtime | string;
|
|
4597
4476
|
/**
|