@aws-sdk/client-lambda 3.306.0 → 3.310.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 +8 -0
- package/dist-cjs/Lambda.js +15 -0
- package/dist-cjs/LambdaClient.js +4 -2
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +2 -2
- package/dist-cjs/commands/AddPermissionCommand.js +2 -2
- package/dist-cjs/commands/CreateAliasCommand.js +2 -2
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js +2 -2
- package/dist-cjs/commands/CreateFunctionCommand.js +2 -2
- package/dist-cjs/commands/CreateFunctionUrlConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteAliasCommand.js +2 -2
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionUrlConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteLayerVersionCommand.js +2 -2
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +2 -2
- package/dist-cjs/commands/GetAccountSettingsCommand.js +2 -2
- package/dist-cjs/commands/GetAliasCommand.js +2 -2
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/GetEventSourceMappingCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +2 -2
- package/dist-cjs/commands/GetFunctionUrlConfigCommand.js +2 -2
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js +2 -2
- package/dist-cjs/commands/GetLayerVersionCommand.js +2 -2
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +2 -2
- package/dist-cjs/commands/GetPolicyCommand.js +2 -2
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +2 -2
- package/dist-cjs/commands/GetRuntimeManagementConfigCommand.js +2 -2
- package/dist-cjs/commands/InvokeAsyncCommand.js +2 -2
- package/dist-cjs/commands/InvokeCommand.js +2 -2
- package/dist-cjs/commands/InvokeWithResponseStreamCommand.js +46 -0
- package/dist-cjs/commands/ListAliasesCommand.js +2 -2
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js +2 -2
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListFunctionUrlConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/ListFunctionsCommand.js +2 -2
- package/dist-cjs/commands/ListLayerVersionsCommand.js +2 -2
- package/dist-cjs/commands/ListLayersCommand.js +2 -2
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsCommand.js +2 -2
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js +2 -2
- package/dist-cjs/commands/PublishLayerVersionCommand.js +2 -2
- package/dist-cjs/commands/PublishVersionCommand.js +2 -2
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +2 -2
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +2 -2
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +2 -2
- package/dist-cjs/commands/PutRuntimeManagementConfigCommand.js +2 -2
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +2 -2
- package/dist-cjs/commands/RemovePermissionCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateAliasCommand.js +2 -2
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +2 -2
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js +2 -2
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +2 -2
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateFunctionUrlConfigCommand.js +2 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +44 -2
- package/dist-cjs/protocols/Aws_restJson1.js +1338 -1217
- package/dist-cjs/runtimeConfig.browser.js +2 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/Lambda.js +15 -0
- package/dist-es/LambdaClient.js +4 -2
- package/dist-es/commands/AddLayerVersionPermissionCommand.js +3 -3
- package/dist-es/commands/AddPermissionCommand.js +3 -3
- package/dist-es/commands/CreateAliasCommand.js +3 -3
- package/dist-es/commands/CreateCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/CreateEventSourceMappingCommand.js +3 -3
- package/dist-es/commands/CreateFunctionCommand.js +3 -3
- package/dist-es/commands/CreateFunctionUrlConfigCommand.js +3 -3
- package/dist-es/commands/DeleteAliasCommand.js +3 -3
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/DeleteEventSourceMappingCommand.js +3 -3
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/DeleteFunctionCommand.js +3 -3
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +3 -3
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +3 -3
- package/dist-es/commands/DeleteLayerVersionCommand.js +3 -3
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-es/commands/GetAccountSettingsCommand.js +3 -3
- package/dist-es/commands/GetAliasCommand.js +3 -3
- package/dist-es/commands/GetCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/GetEventSourceMappingCommand.js +3 -3
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/GetFunctionCommand.js +3 -3
- package/dist-es/commands/GetFunctionConcurrencyCommand.js +3 -3
- package/dist-es/commands/GetFunctionConfigurationCommand.js +3 -3
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-es/commands/GetFunctionUrlConfigCommand.js +3 -3
- package/dist-es/commands/GetLayerVersionByArnCommand.js +3 -3
- package/dist-es/commands/GetLayerVersionCommand.js +3 -3
- package/dist-es/commands/GetLayerVersionPolicyCommand.js +3 -3
- package/dist-es/commands/GetPolicyCommand.js +3 -3
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-es/commands/GetRuntimeManagementConfigCommand.js +3 -3
- package/dist-es/commands/InvokeAsyncCommand.js +3 -3
- package/dist-es/commands/InvokeCommand.js +3 -3
- package/dist-es/commands/InvokeWithResponseStreamCommand.js +42 -0
- package/dist-es/commands/ListAliasesCommand.js +3 -3
- package/dist-es/commands/ListCodeSigningConfigsCommand.js +3 -3
- package/dist-es/commands/ListEventSourceMappingsCommand.js +3 -3
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +3 -3
- package/dist-es/commands/ListFunctionUrlConfigsCommand.js +3 -3
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/ListFunctionsCommand.js +3 -3
- package/dist-es/commands/ListLayerVersionsCommand.js +3 -3
- package/dist-es/commands/ListLayersCommand.js +3 -3
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +3 -3
- package/dist-es/commands/ListTagsCommand.js +3 -3
- package/dist-es/commands/ListVersionsByFunctionCommand.js +3 -3
- package/dist-es/commands/PublishLayerVersionCommand.js +3 -3
- package/dist-es/commands/PublishVersionCommand.js +3 -3
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/PutFunctionConcurrencyCommand.js +3 -3
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +3 -3
- package/dist-es/commands/PutRuntimeManagementConfigCommand.js +3 -3
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +3 -3
- package/dist-es/commands/RemovePermissionCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateAliasCommand.js +3 -3
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js +3 -3
- package/dist-es/commands/UpdateEventSourceMappingCommand.js +3 -3
- package/dist-es/commands/UpdateFunctionCodeCommand.js +3 -3
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js +3 -3
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +3 -3
- package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +3 -3
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +38 -0
- package/dist-es/protocols/Aws_restJson1.js +1203 -1084
- package/dist-es/runtimeConfig.browser.js +2 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/Lambda.d.ts +32 -0
- package/dist-types/LambdaClient.d.ts +11 -5
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +12 -0
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +1 -0
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +158 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +12 -0
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +340 -32
- package/dist-types/protocols/Aws_restJson1.d.ts +530 -131
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Lambda.d.ts +17 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +14 -0
- package/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +81 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +146 -131
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -36
|
@@ -793,6 +793,10 @@ export interface CreateEventSourceMappingRequest {
|
|
|
793
793
|
* <p>
|
|
794
794
|
* <b>Amazon MQ</b> – The ARN of the broker.</p>
|
|
795
795
|
* </li>
|
|
796
|
+
* <li>
|
|
797
|
+
* <p>
|
|
798
|
+
* <b>Amazon DocumentDB</b> – The ARN of the DocumentDB change stream.</p>
|
|
799
|
+
* </li>
|
|
796
800
|
* </ul>
|
|
797
801
|
*/
|
|
798
802
|
EventSourceArn?: string;
|
|
@@ -856,6 +860,10 @@ export interface CreateEventSourceMappingRequest {
|
|
|
856
860
|
* <p>
|
|
857
861
|
* <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> – Default 100. Max 10,000.</p>
|
|
858
862
|
* </li>
|
|
863
|
+
* <li>
|
|
864
|
+
* <p>
|
|
865
|
+
* <b>DocumentDB</b> – Default 100. Max 10,000.</p>
|
|
866
|
+
* </li>
|
|
859
867
|
* </ul>
|
|
860
868
|
*/
|
|
861
869
|
BatchSize?: number;
|
|
@@ -867,20 +875,20 @@ export interface CreateEventSourceMappingRequest {
|
|
|
867
875
|
/**
|
|
868
876
|
* <p>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
|
869
877
|
* You can configure <code>MaximumBatchingWindowInSeconds</code> to any value from 0 seconds to 300 seconds in increments of seconds.</p>
|
|
870
|
-
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka,
|
|
878
|
+
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default
|
|
871
879
|
* batching window is 500 ms. Note that because you can only change <code>MaximumBatchingWindowInSeconds</code> in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it.
|
|
872
880
|
* To restore the default batching window, you must create a new event source mapping.</p>
|
|
873
881
|
* <p>Related setting: For streams and Amazon SQS event sources, when you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</p>
|
|
874
882
|
*/
|
|
875
883
|
MaximumBatchingWindowInSeconds?: number;
|
|
876
884
|
/**
|
|
877
|
-
* <p>(Streams only) The number of batches to process from each shard concurrently.</p>
|
|
885
|
+
* <p>(Kinesis and DynamoDB Streams only) The number of batches to process from each shard concurrently.</p>
|
|
878
886
|
*/
|
|
879
887
|
ParallelizationFactor?: number;
|
|
880
888
|
/**
|
|
881
889
|
* <p>The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon
|
|
882
890
|
* DynamoDB, and Amazon MSK Streams sources. <code>AT_TIMESTAMP</code> is supported only for
|
|
883
|
-
* Amazon Kinesis streams.</p>
|
|
891
|
+
* Amazon Kinesis streams and Amazon DocumentDB.</p>
|
|
884
892
|
*/
|
|
885
893
|
StartingPosition?: EventSourcePosition | string;
|
|
886
894
|
/**
|
|
@@ -889,23 +897,23 @@ export interface CreateEventSourceMappingRequest {
|
|
|
889
897
|
*/
|
|
890
898
|
StartingPositionTimestamp?: Date;
|
|
891
899
|
/**
|
|
892
|
-
* <p>(Streams only)
|
|
900
|
+
* <p>(Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or standard Amazon SNS topic destination for discarded records.</p>
|
|
893
901
|
*/
|
|
894
902
|
DestinationConfig?: DestinationConfig;
|
|
895
903
|
/**
|
|
896
|
-
* <p>(Streams only) Discard records older than the specified age. The default value is infinite (-1).</p>
|
|
904
|
+
* <p>(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is infinite (-1).</p>
|
|
897
905
|
*/
|
|
898
906
|
MaximumRecordAgeInSeconds?: number;
|
|
899
907
|
/**
|
|
900
|
-
* <p>(Streams only) If the function returns an error, split the batch in two and retry.</p>
|
|
908
|
+
* <p>(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.</p>
|
|
901
909
|
*/
|
|
902
910
|
BisectBatchOnFunctionError?: boolean;
|
|
903
911
|
/**
|
|
904
|
-
* <p>(Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
|
|
912
|
+
* <p>(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
|
|
905
913
|
*/
|
|
906
914
|
MaximumRetryAttempts?: number;
|
|
907
915
|
/**
|
|
908
|
-
* <p>(Streams only) The duration in seconds of a processing window.
|
|
916
|
+
* <p>(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.</p>
|
|
909
917
|
*/
|
|
910
918
|
TumblingWindowInSeconds?: number;
|
|
911
919
|
/**
|
|
@@ -925,7 +933,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
925
933
|
*/
|
|
926
934
|
SelfManagedEventSource?: SelfManagedEventSource;
|
|
927
935
|
/**
|
|
928
|
-
* <p>(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
936
|
+
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
929
937
|
*/
|
|
930
938
|
FunctionResponseTypes?: (FunctionResponseType | string)[];
|
|
931
939
|
/**
|
|
@@ -956,7 +964,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
956
964
|
UUID?: string;
|
|
957
965
|
/**
|
|
958
966
|
* <p>The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. <code>AT_TIMESTAMP</code> is supported only for Amazon Kinesis
|
|
959
|
-
* streams.</p>
|
|
967
|
+
* streams and Amazon DocumentDB.</p>
|
|
960
968
|
*/
|
|
961
969
|
StartingPosition?: EventSourcePosition | string;
|
|
962
970
|
/**
|
|
@@ -973,14 +981,14 @@ export interface EventSourceMappingConfiguration {
|
|
|
973
981
|
/**
|
|
974
982
|
* <p>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
|
975
983
|
* You can configure <code>MaximumBatchingWindowInSeconds</code> to any value from 0 seconds to 300 seconds in increments of seconds.</p>
|
|
976
|
-
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka,
|
|
984
|
+
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default
|
|
977
985
|
* batching window is 500 ms. Note that because you can only change <code>MaximumBatchingWindowInSeconds</code> in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it.
|
|
978
986
|
* To restore the default batching window, you must create a new event source mapping.</p>
|
|
979
987
|
* <p>Related setting: For streams and Amazon SQS event sources, when you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</p>
|
|
980
988
|
*/
|
|
981
989
|
MaximumBatchingWindowInSeconds?: number;
|
|
982
990
|
/**
|
|
983
|
-
* <p>(Streams only) The number of batches to process concurrently from each shard. The default value is 1.</p>
|
|
991
|
+
* <p>(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.</p>
|
|
984
992
|
*/
|
|
985
993
|
ParallelizationFactor?: number;
|
|
986
994
|
/**
|
|
@@ -1015,7 +1023,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
1015
1023
|
*/
|
|
1016
1024
|
StateTransitionReason?: string;
|
|
1017
1025
|
/**
|
|
1018
|
-
* <p>(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.</p>
|
|
1026
|
+
* <p>(Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.</p>
|
|
1019
1027
|
*/
|
|
1020
1028
|
DestinationConfig?: DestinationConfig;
|
|
1021
1029
|
/**
|
|
@@ -1035,25 +1043,25 @@ export interface EventSourceMappingConfiguration {
|
|
|
1035
1043
|
*/
|
|
1036
1044
|
SelfManagedEventSource?: SelfManagedEventSource;
|
|
1037
1045
|
/**
|
|
1038
|
-
* <p>(Streams only) Discard records older than the specified age. The default value is -1,
|
|
1046
|
+
* <p>(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1,
|
|
1039
1047
|
* which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records. </p>
|
|
1040
1048
|
*/
|
|
1041
1049
|
MaximumRecordAgeInSeconds?: number;
|
|
1042
1050
|
/**
|
|
1043
|
-
* <p>(Streams only) If the function returns an error, split the batch in two and retry. The default value is false.</p>
|
|
1051
|
+
* <p>(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.</p>
|
|
1044
1052
|
*/
|
|
1045
1053
|
BisectBatchOnFunctionError?: boolean;
|
|
1046
1054
|
/**
|
|
1047
|
-
* <p>(Streams only) Discard records after the specified number of retries. The default value is -1,
|
|
1055
|
+
* <p>(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1,
|
|
1048
1056
|
* which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.</p>
|
|
1049
1057
|
*/
|
|
1050
1058
|
MaximumRetryAttempts?: number;
|
|
1051
1059
|
/**
|
|
1052
|
-
* <p>(Streams only) The duration in seconds of a processing window.
|
|
1060
|
+
* <p>(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.</p>
|
|
1053
1061
|
*/
|
|
1054
1062
|
TumblingWindowInSeconds?: number;
|
|
1055
1063
|
/**
|
|
1056
|
-
* <p>(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
1064
|
+
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
1057
1065
|
*/
|
|
1058
1066
|
FunctionResponseTypes?: (FunctionResponseType | string)[];
|
|
1059
1067
|
/**
|
|
@@ -1925,6 +1933,18 @@ export interface Cors {
|
|
|
1925
1933
|
*/
|
|
1926
1934
|
MaxAge?: number;
|
|
1927
1935
|
}
|
|
1936
|
+
/**
|
|
1937
|
+
* @public
|
|
1938
|
+
* @enum
|
|
1939
|
+
*/
|
|
1940
|
+
export declare const InvokeMode: {
|
|
1941
|
+
readonly BUFFERED: "BUFFERED";
|
|
1942
|
+
readonly RESPONSE_STREAM: "RESPONSE_STREAM";
|
|
1943
|
+
};
|
|
1944
|
+
/**
|
|
1945
|
+
* @public
|
|
1946
|
+
*/
|
|
1947
|
+
export type InvokeMode = (typeof InvokeMode)[keyof typeof InvokeMode];
|
|
1928
1948
|
/**
|
|
1929
1949
|
* @public
|
|
1930
1950
|
*/
|
|
@@ -1967,6 +1987,22 @@ export interface CreateFunctionUrlConfigRequest {
|
|
|
1967
1987
|
* for your function URL.</p>
|
|
1968
1988
|
*/
|
|
1969
1989
|
Cors?: Cors;
|
|
1990
|
+
/**
|
|
1991
|
+
* <p>Use one of the following options:</p>
|
|
1992
|
+
* <ul>
|
|
1993
|
+
* <li>
|
|
1994
|
+
* <p>
|
|
1995
|
+
* <code>BUFFERED</code> – This is the default option. Lambda invokes your function using the <code>Invoke</code> API operation. Invocation results
|
|
1996
|
+
* are available when the payload is complete. The maximum payload size is 6 MB.</p>
|
|
1997
|
+
* </li>
|
|
1998
|
+
* <li>
|
|
1999
|
+
* <p>
|
|
2000
|
+
* <code>RESPONSE_STREAM</code> – Your function streams payload results as they become available. Lambda invokes your function using
|
|
2001
|
+
* the <code>InvokeWithResponseStream</code> API operation. The maximum response payload size is 20 MB, however, you can <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html">request a quota increase</a>.</p>
|
|
2002
|
+
* </li>
|
|
2003
|
+
* </ul>
|
|
2004
|
+
*/
|
|
2005
|
+
InvokeMode?: InvokeMode | string;
|
|
1970
2006
|
}
|
|
1971
2007
|
/**
|
|
1972
2008
|
* @public
|
|
@@ -1995,6 +2031,22 @@ export interface CreateFunctionUrlConfigResponse {
|
|
|
1995
2031
|
* <p>When the function URL was created, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
1996
2032
|
*/
|
|
1997
2033
|
CreationTime: string | undefined;
|
|
2034
|
+
/**
|
|
2035
|
+
* <p>Use one of the following options:</p>
|
|
2036
|
+
* <ul>
|
|
2037
|
+
* <li>
|
|
2038
|
+
* <p>
|
|
2039
|
+
* <code>BUFFERED</code> – This is the default option. Lambda invokes your function using the <code>Invoke</code> API operation. Invocation results
|
|
2040
|
+
* are available when the payload is complete. The maximum payload size is 6 MB.</p>
|
|
2041
|
+
* </li>
|
|
2042
|
+
* <li>
|
|
2043
|
+
* <p>
|
|
2044
|
+
* <code>RESPONSE_STREAM</code> – Your function streams payload results as they become available. Lambda invokes your function using
|
|
2045
|
+
* the <code>InvokeWithResponseStream</code> API operation. The maximum response payload size is 20 MB, however, you can <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html">request a quota increase</a>.</p>
|
|
2046
|
+
* </li>
|
|
2047
|
+
* </ul>
|
|
2048
|
+
*/
|
|
2049
|
+
InvokeMode?: InvokeMode | string;
|
|
1998
2050
|
}
|
|
1999
2051
|
/**
|
|
2000
2052
|
* @public
|
|
@@ -2587,11 +2639,11 @@ export interface FunctionEventInvokeConfig {
|
|
|
2587
2639
|
* </li>
|
|
2588
2640
|
* <li>
|
|
2589
2641
|
* <p>
|
|
2590
|
-
* <b>Queue</b> - The ARN of
|
|
2642
|
+
* <b>Queue</b> - The ARN of a standard SQS queue.</p>
|
|
2591
2643
|
* </li>
|
|
2592
2644
|
* <li>
|
|
2593
2645
|
* <p>
|
|
2594
|
-
* <b>Topic</b> - The ARN of
|
|
2646
|
+
* <b>Topic</b> - The ARN of a standard SNS topic.</p>
|
|
2595
2647
|
* </li>
|
|
2596
2648
|
* <li>
|
|
2597
2649
|
* <p>
|
|
@@ -2696,6 +2748,22 @@ export interface GetFunctionUrlConfigResponse {
|
|
|
2696
2748
|
* <p>When the function URL configuration was last updated, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
2697
2749
|
*/
|
|
2698
2750
|
LastModifiedTime: string | undefined;
|
|
2751
|
+
/**
|
|
2752
|
+
* <p>Use one of the following options:</p>
|
|
2753
|
+
* <ul>
|
|
2754
|
+
* <li>
|
|
2755
|
+
* <p>
|
|
2756
|
+
* <code>BUFFERED</code> – This is the default option. Lambda invokes your function using the <code>Invoke</code> API operation. Invocation results
|
|
2757
|
+
* are available when the payload is complete. The maximum payload size is 6 MB.</p>
|
|
2758
|
+
* </li>
|
|
2759
|
+
* <li>
|
|
2760
|
+
* <p>
|
|
2761
|
+
* <code>RESPONSE_STREAM</code> – Your function streams payload results as they become available. Lambda invokes your function using
|
|
2762
|
+
* the <code>InvokeWithResponseStream</code> API operation. The maximum response payload size is 20 MB, however, you can <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html">request a quota increase</a>.</p>
|
|
2763
|
+
* </li>
|
|
2764
|
+
* </ul>
|
|
2765
|
+
*/
|
|
2766
|
+
InvokeMode?: InvokeMode | string;
|
|
2699
2767
|
}
|
|
2700
2768
|
/**
|
|
2701
2769
|
* @public
|
|
@@ -3529,6 +3597,172 @@ export interface InvokeAsyncResponse {
|
|
|
3529
3597
|
*/
|
|
3530
3598
|
Status?: number;
|
|
3531
3599
|
}
|
|
3600
|
+
/**
|
|
3601
|
+
* @public
|
|
3602
|
+
* @enum
|
|
3603
|
+
*/
|
|
3604
|
+
export declare const ResponseStreamingInvocationType: {
|
|
3605
|
+
readonly DryRun: "DryRun";
|
|
3606
|
+
readonly RequestResponse: "RequestResponse";
|
|
3607
|
+
};
|
|
3608
|
+
/**
|
|
3609
|
+
* @public
|
|
3610
|
+
*/
|
|
3611
|
+
export type ResponseStreamingInvocationType = (typeof ResponseStreamingInvocationType)[keyof typeof ResponseStreamingInvocationType];
|
|
3612
|
+
/**
|
|
3613
|
+
* @public
|
|
3614
|
+
*/
|
|
3615
|
+
export interface InvokeWithResponseStreamRequest {
|
|
3616
|
+
/**
|
|
3617
|
+
* <p>The name of the Lambda function.</p>
|
|
3618
|
+
* <p class="title">
|
|
3619
|
+
* <b>Name formats</b>
|
|
3620
|
+
* </p>
|
|
3621
|
+
* <ul>
|
|
3622
|
+
* <li>
|
|
3623
|
+
* <p>
|
|
3624
|
+
* <b>Function name</b> – <code>my-function</code>.</p>
|
|
3625
|
+
* </li>
|
|
3626
|
+
* <li>
|
|
3627
|
+
* <p>
|
|
3628
|
+
* <b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p>
|
|
3629
|
+
* </li>
|
|
3630
|
+
* <li>
|
|
3631
|
+
* <p>
|
|
3632
|
+
* <b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p>
|
|
3633
|
+
* </li>
|
|
3634
|
+
* </ul>
|
|
3635
|
+
* <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64
|
|
3636
|
+
* characters in length.</p>
|
|
3637
|
+
*/
|
|
3638
|
+
FunctionName: string | undefined;
|
|
3639
|
+
/**
|
|
3640
|
+
* <p>Use one of the following options:</p>
|
|
3641
|
+
* <ul>
|
|
3642
|
+
* <li>
|
|
3643
|
+
* <p>
|
|
3644
|
+
* <code>RequestResponse</code> (default) – Invoke the function synchronously. Keep the
|
|
3645
|
+
* connection open until the function returns a response or times out. The API operation
|
|
3646
|
+
* response includes the function response and additional data.</p>
|
|
3647
|
+
* </li>
|
|
3648
|
+
* <li>
|
|
3649
|
+
* <p>
|
|
3650
|
+
* <code>DryRun</code> – Validate parameter values and verify that the IAM user or role has permission to invoke
|
|
3651
|
+
* the function.</p>
|
|
3652
|
+
* </li>
|
|
3653
|
+
* </ul>
|
|
3654
|
+
*/
|
|
3655
|
+
InvocationType?: ResponseStreamingInvocationType | string;
|
|
3656
|
+
/**
|
|
3657
|
+
* <p>Set to <code>Tail</code> to include the execution log in the response. Applies to synchronously invoked functions only.</p>
|
|
3658
|
+
*/
|
|
3659
|
+
LogType?: LogType | string;
|
|
3660
|
+
/**
|
|
3661
|
+
* <p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context
|
|
3662
|
+
* object.</p>
|
|
3663
|
+
*/
|
|
3664
|
+
ClientContext?: string;
|
|
3665
|
+
/**
|
|
3666
|
+
* <p>The alias name.</p>
|
|
3667
|
+
*/
|
|
3668
|
+
Qualifier?: string;
|
|
3669
|
+
/**
|
|
3670
|
+
* <p>The JSON that you want to provide to your Lambda function as input.</p>
|
|
3671
|
+
* <p>You can enter the JSON directly. For example, <code>--payload '\{ "key": "value" \}'</code>. You can also
|
|
3672
|
+
* specify a file path. For example, <code>--payload file://payload.json</code>.</p>
|
|
3673
|
+
*/
|
|
3674
|
+
Payload?: Uint8Array;
|
|
3675
|
+
}
|
|
3676
|
+
/**
|
|
3677
|
+
* @public
|
|
3678
|
+
* <p>A response confirming that the event stream is complete.</p>
|
|
3679
|
+
*/
|
|
3680
|
+
export interface InvokeWithResponseStreamCompleteEvent {
|
|
3681
|
+
/**
|
|
3682
|
+
* <p>An error code.</p>
|
|
3683
|
+
*/
|
|
3684
|
+
ErrorCode?: string;
|
|
3685
|
+
/**
|
|
3686
|
+
* <p>The details of any returned error.</p>
|
|
3687
|
+
*/
|
|
3688
|
+
ErrorDetails?: string;
|
|
3689
|
+
/**
|
|
3690
|
+
* <p>The last 4 KB of the execution log, which is base64-encoded.</p>
|
|
3691
|
+
*/
|
|
3692
|
+
LogResult?: string;
|
|
3693
|
+
}
|
|
3694
|
+
/**
|
|
3695
|
+
* @public
|
|
3696
|
+
* <p>A chunk of the streamed response payload.</p>
|
|
3697
|
+
*/
|
|
3698
|
+
export interface InvokeResponseStreamUpdate {
|
|
3699
|
+
/**
|
|
3700
|
+
* <p>Data returned by your Lambda function.</p>
|
|
3701
|
+
*/
|
|
3702
|
+
Payload?: Uint8Array;
|
|
3703
|
+
}
|
|
3704
|
+
/**
|
|
3705
|
+
* @public
|
|
3706
|
+
* <p>An object that includes a chunk of the response payload. When the stream has ended, Lambda includes a <code>InvokeComplete</code> object.</p>
|
|
3707
|
+
*/
|
|
3708
|
+
export type InvokeWithResponseStreamResponseEvent = InvokeWithResponseStreamResponseEvent.InvokeCompleteMember | InvokeWithResponseStreamResponseEvent.PayloadChunkMember | InvokeWithResponseStreamResponseEvent.$UnknownMember;
|
|
3709
|
+
/**
|
|
3710
|
+
* @public
|
|
3711
|
+
*/
|
|
3712
|
+
export declare namespace InvokeWithResponseStreamResponseEvent {
|
|
3713
|
+
/**
|
|
3714
|
+
* <p>A chunk of the streamed response payload.</p>
|
|
3715
|
+
*/
|
|
3716
|
+
interface PayloadChunkMember {
|
|
3717
|
+
PayloadChunk: InvokeResponseStreamUpdate;
|
|
3718
|
+
InvokeComplete?: never;
|
|
3719
|
+
$unknown?: never;
|
|
3720
|
+
}
|
|
3721
|
+
/**
|
|
3722
|
+
* <p>An object that's returned when the stream has ended and all the payload chunks have been
|
|
3723
|
+
* returned.</p>
|
|
3724
|
+
*/
|
|
3725
|
+
interface InvokeCompleteMember {
|
|
3726
|
+
PayloadChunk?: never;
|
|
3727
|
+
InvokeComplete: InvokeWithResponseStreamCompleteEvent;
|
|
3728
|
+
$unknown?: never;
|
|
3729
|
+
}
|
|
3730
|
+
interface $UnknownMember {
|
|
3731
|
+
PayloadChunk?: never;
|
|
3732
|
+
InvokeComplete?: never;
|
|
3733
|
+
$unknown: [string, any];
|
|
3734
|
+
}
|
|
3735
|
+
interface Visitor<T> {
|
|
3736
|
+
PayloadChunk: (value: InvokeResponseStreamUpdate) => T;
|
|
3737
|
+
InvokeComplete: (value: InvokeWithResponseStreamCompleteEvent) => T;
|
|
3738
|
+
_: (name: string, value: any) => T;
|
|
3739
|
+
}
|
|
3740
|
+
const visit: <T>(value: InvokeWithResponseStreamResponseEvent, visitor: Visitor<T>) => T;
|
|
3741
|
+
}
|
|
3742
|
+
/**
|
|
3743
|
+
* @public
|
|
3744
|
+
*/
|
|
3745
|
+
export interface InvokeWithResponseStreamResponse {
|
|
3746
|
+
/**
|
|
3747
|
+
* <p>For a successful request, the HTTP status code is in the 200 range. For the
|
|
3748
|
+
* <code>RequestResponse</code> invocation type, this status code is 200. For the <code>DryRun</code>
|
|
3749
|
+
* invocation type, this status code is 204.</p>
|
|
3750
|
+
*/
|
|
3751
|
+
StatusCode?: number;
|
|
3752
|
+
/**
|
|
3753
|
+
* <p>The version of the function that executed. When you invoke a function with an alias, this
|
|
3754
|
+
* indicates which version the alias resolved to.</p>
|
|
3755
|
+
*/
|
|
3756
|
+
ExecutedVersion?: string;
|
|
3757
|
+
/**
|
|
3758
|
+
* <p>The stream of response payloads.</p>
|
|
3759
|
+
*/
|
|
3760
|
+
EventStream?: AsyncIterable<InvokeWithResponseStreamResponseEvent>;
|
|
3761
|
+
/**
|
|
3762
|
+
* <p>The type of data the stream is returning.</p>
|
|
3763
|
+
*/
|
|
3764
|
+
ResponseStreamContentType?: string;
|
|
3765
|
+
}
|
|
3532
3766
|
/**
|
|
3533
3767
|
* @public
|
|
3534
3768
|
*/
|
|
@@ -3635,6 +3869,10 @@ export interface ListEventSourceMappingsRequest {
|
|
|
3635
3869
|
* <p>
|
|
3636
3870
|
* <b>Amazon MQ</b> – The ARN of the broker.</p>
|
|
3637
3871
|
* </li>
|
|
3872
|
+
* <li>
|
|
3873
|
+
* <p>
|
|
3874
|
+
* <b>Amazon DocumentDB</b> – The ARN of the DocumentDB change stream.</p>
|
|
3875
|
+
* </li>
|
|
3638
3876
|
* </ul>
|
|
3639
3877
|
*/
|
|
3640
3878
|
EventSourceArn?: string;
|
|
@@ -3886,6 +4124,24 @@ export interface FunctionUrlConfig {
|
|
|
3886
4124
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
3887
4125
|
*/
|
|
3888
4126
|
AuthType: FunctionUrlAuthType | string | undefined;
|
|
4127
|
+
/**
|
|
4128
|
+
* <p>Use one of the following options:</p>
|
|
4129
|
+
* <ul>
|
|
4130
|
+
* <li>
|
|
4131
|
+
* <p>
|
|
4132
|
+
* <code>BUFFERED</code> – This is the default option. Lambda invokes your function
|
|
4133
|
+
* using the <code>Invoke</code> API operation. Invocation results are available when the
|
|
4134
|
+
* payload is complete. The maximum payload size is 6 MB.</p>
|
|
4135
|
+
* </li>
|
|
4136
|
+
* <li>
|
|
4137
|
+
* <p>
|
|
4138
|
+
* <code>RESPONSE_STREAM</code> – Your function streams payload results as they become available.
|
|
4139
|
+
* Lambda invokes your function using the <code>InvokeWithResponseStream</code>
|
|
4140
|
+
* API operation. The maximum response payload size is 20 MB, however, you can <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html">request a quota increase</a>.</p>
|
|
4141
|
+
* </li>
|
|
4142
|
+
* </ul>
|
|
4143
|
+
*/
|
|
4144
|
+
InvokeMode?: InvokeMode | string;
|
|
3889
4145
|
}
|
|
3890
4146
|
/**
|
|
3891
4147
|
* @public
|
|
@@ -4482,11 +4738,11 @@ export interface PutFunctionEventInvokeConfigRequest {
|
|
|
4482
4738
|
* </li>
|
|
4483
4739
|
* <li>
|
|
4484
4740
|
* <p>
|
|
4485
|
-
* <b>Queue</b> - The ARN of
|
|
4741
|
+
* <b>Queue</b> - The ARN of a standard SQS queue.</p>
|
|
4486
4742
|
* </li>
|
|
4487
4743
|
* <li>
|
|
4488
4744
|
* <p>
|
|
4489
|
-
* <b>Topic</b> - The ARN of
|
|
4745
|
+
* <b>Topic</b> - The ARN of a standard SNS topic.</p>
|
|
4490
4746
|
* </li>
|
|
4491
4747
|
* <li>
|
|
4492
4748
|
* <p>
|
|
@@ -4879,6 +5135,10 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
4879
5135
|
* <p>
|
|
4880
5136
|
* <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> – Default 100. Max 10,000.</p>
|
|
4881
5137
|
* </li>
|
|
5138
|
+
* <li>
|
|
5139
|
+
* <p>
|
|
5140
|
+
* <b>DocumentDB</b> – Default 100. Max 10,000.</p>
|
|
5141
|
+
* </li>
|
|
4882
5142
|
* </ul>
|
|
4883
5143
|
*/
|
|
4884
5144
|
BatchSize?: number;
|
|
@@ -4890,30 +5150,30 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
4890
5150
|
/**
|
|
4891
5151
|
* <p>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
|
4892
5152
|
* You can configure <code>MaximumBatchingWindowInSeconds</code> to any value from 0 seconds to 300 seconds in increments of seconds.</p>
|
|
4893
|
-
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka,
|
|
5153
|
+
* <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default
|
|
4894
5154
|
* batching window is 500 ms. Note that because you can only change <code>MaximumBatchingWindowInSeconds</code> in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it.
|
|
4895
5155
|
* To restore the default batching window, you must create a new event source mapping.</p>
|
|
4896
5156
|
* <p>Related setting: For streams and Amazon SQS event sources, when you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</p>
|
|
4897
5157
|
*/
|
|
4898
5158
|
MaximumBatchingWindowInSeconds?: number;
|
|
4899
5159
|
/**
|
|
4900
|
-
* <p>(Streams only)
|
|
5160
|
+
* <p>(Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or standard Amazon SNS topic destination for discarded records.</p>
|
|
4901
5161
|
*/
|
|
4902
5162
|
DestinationConfig?: DestinationConfig;
|
|
4903
5163
|
/**
|
|
4904
|
-
* <p>(Streams only) Discard records older than the specified age. The default value is infinite (-1).</p>
|
|
5164
|
+
* <p>(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is infinite (-1).</p>
|
|
4905
5165
|
*/
|
|
4906
5166
|
MaximumRecordAgeInSeconds?: number;
|
|
4907
5167
|
/**
|
|
4908
|
-
* <p>(Streams only) If the function returns an error, split the batch in two and retry.</p>
|
|
5168
|
+
* <p>(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.</p>
|
|
4909
5169
|
*/
|
|
4910
5170
|
BisectBatchOnFunctionError?: boolean;
|
|
4911
5171
|
/**
|
|
4912
|
-
* <p>(Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
|
|
5172
|
+
* <p>(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
|
|
4913
5173
|
*/
|
|
4914
5174
|
MaximumRetryAttempts?: number;
|
|
4915
5175
|
/**
|
|
4916
|
-
* <p>(Streams only) The number of batches to process from each shard concurrently.</p>
|
|
5176
|
+
* <p>(Kinesis and DynamoDB Streams only) The number of batches to process from each shard concurrently.</p>
|
|
4917
5177
|
*/
|
|
4918
5178
|
ParallelizationFactor?: number;
|
|
4919
5179
|
/**
|
|
@@ -4921,11 +5181,11 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
4921
5181
|
*/
|
|
4922
5182
|
SourceAccessConfigurations?: SourceAccessConfiguration[];
|
|
4923
5183
|
/**
|
|
4924
|
-
* <p>(Streams only) The duration in seconds of a processing window.
|
|
5184
|
+
* <p>(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.</p>
|
|
4925
5185
|
*/
|
|
4926
5186
|
TumblingWindowInSeconds?: number;
|
|
4927
5187
|
/**
|
|
4928
|
-
* <p>(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
5188
|
+
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
4929
5189
|
*/
|
|
4930
5190
|
FunctionResponseTypes?: (FunctionResponseType | string)[];
|
|
4931
5191
|
/**
|
|
@@ -5170,11 +5430,11 @@ export interface UpdateFunctionEventInvokeConfigRequest {
|
|
|
5170
5430
|
* </li>
|
|
5171
5431
|
* <li>
|
|
5172
5432
|
* <p>
|
|
5173
|
-
* <b>Queue</b> - The ARN of
|
|
5433
|
+
* <b>Queue</b> - The ARN of a standard SQS queue.</p>
|
|
5174
5434
|
* </li>
|
|
5175
5435
|
* <li>
|
|
5176
5436
|
* <p>
|
|
5177
|
-
* <b>Topic</b> - The ARN of
|
|
5437
|
+
* <b>Topic</b> - The ARN of a standard SNS topic.</p>
|
|
5178
5438
|
* </li>
|
|
5179
5439
|
* <li>
|
|
5180
5440
|
* <p>
|
|
@@ -5226,6 +5486,22 @@ export interface UpdateFunctionUrlConfigRequest {
|
|
|
5226
5486
|
* for your function URL.</p>
|
|
5227
5487
|
*/
|
|
5228
5488
|
Cors?: Cors;
|
|
5489
|
+
/**
|
|
5490
|
+
* <p>Use one of the following options:</p>
|
|
5491
|
+
* <ul>
|
|
5492
|
+
* <li>
|
|
5493
|
+
* <p>
|
|
5494
|
+
* <code>BUFFERED</code> – This is the default option. Lambda invokes your function using the <code>Invoke</code> API operation. Invocation results
|
|
5495
|
+
* are available when the payload is complete. The maximum payload size is 6 MB.</p>
|
|
5496
|
+
* </li>
|
|
5497
|
+
* <li>
|
|
5498
|
+
* <p>
|
|
5499
|
+
* <code>RESPONSE_STREAM</code> – Your function streams payload results as they become available. Lambda invokes your function using
|
|
5500
|
+
* the <code>InvokeWithResponseStream</code> API operation. The maximum response payload size is 20 MB, however, you can <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html">request a quota increase</a>.</p>
|
|
5501
|
+
* </li>
|
|
5502
|
+
* </ul>
|
|
5503
|
+
*/
|
|
5504
|
+
InvokeMode?: InvokeMode | string;
|
|
5229
5505
|
}
|
|
5230
5506
|
/**
|
|
5231
5507
|
* @public
|
|
@@ -5258,6 +5534,22 @@ export interface UpdateFunctionUrlConfigResponse {
|
|
|
5258
5534
|
* <p>When the function URL configuration was last updated, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
|
|
5259
5535
|
*/
|
|
5260
5536
|
LastModifiedTime: string | undefined;
|
|
5537
|
+
/**
|
|
5538
|
+
* <p>Use one of the following options:</p>
|
|
5539
|
+
* <ul>
|
|
5540
|
+
* <li>
|
|
5541
|
+
* <p>
|
|
5542
|
+
* <code>BUFFERED</code> – This is the default option. Lambda invokes your function using the <code>Invoke</code> API operation. Invocation results
|
|
5543
|
+
* are available when the payload is complete. The maximum payload size is 6 MB.</p>
|
|
5544
|
+
* </li>
|
|
5545
|
+
* <li>
|
|
5546
|
+
* <p>
|
|
5547
|
+
* <code>RESPONSE_STREAM</code> – Your function streams payload results as they become available. Lambda invokes your function using
|
|
5548
|
+
* the <code>InvokeWithResponseStream</code> API operation. The maximum response payload size is 20 MB, however, you can <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html">request a quota increase</a>.</p>
|
|
5549
|
+
* </li>
|
|
5550
|
+
* </ul>
|
|
5551
|
+
*/
|
|
5552
|
+
InvokeMode?: InvokeMode | string;
|
|
5261
5553
|
}
|
|
5262
5554
|
/**
|
|
5263
5555
|
* @internal
|
|
@@ -5315,6 +5607,22 @@ export declare const InvocationResponseFilterSensitiveLog: (obj: InvocationRespo
|
|
|
5315
5607
|
* @internal
|
|
5316
5608
|
*/
|
|
5317
5609
|
export declare const InvokeAsyncRequestFilterSensitiveLog: (obj: InvokeAsyncRequest) => any;
|
|
5610
|
+
/**
|
|
5611
|
+
* @internal
|
|
5612
|
+
*/
|
|
5613
|
+
export declare const InvokeWithResponseStreamRequestFilterSensitiveLog: (obj: InvokeWithResponseStreamRequest) => any;
|
|
5614
|
+
/**
|
|
5615
|
+
* @internal
|
|
5616
|
+
*/
|
|
5617
|
+
export declare const InvokeResponseStreamUpdateFilterSensitiveLog: (obj: InvokeResponseStreamUpdate) => any;
|
|
5618
|
+
/**
|
|
5619
|
+
* @internal
|
|
5620
|
+
*/
|
|
5621
|
+
export declare const InvokeWithResponseStreamResponseEventFilterSensitiveLog: (obj: InvokeWithResponseStreamResponseEvent) => any;
|
|
5622
|
+
/**
|
|
5623
|
+
* @internal
|
|
5624
|
+
*/
|
|
5625
|
+
export declare const InvokeWithResponseStreamResponseFilterSensitiveLog: (obj: InvokeWithResponseStreamResponse) => any;
|
|
5318
5626
|
/**
|
|
5319
5627
|
* @internal
|
|
5320
5628
|
*/
|