@aws-sdk/client-lambda 3.428.0 → 3.429.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.
|
@@ -232,7 +232,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
232
232
|
*/
|
|
233
233
|
retryAfterSeconds?: string;
|
|
234
234
|
Type?: string;
|
|
235
|
-
Reason?: ThrottleReason
|
|
235
|
+
Reason?: ThrottleReason;
|
|
236
236
|
/**
|
|
237
237
|
* @internal
|
|
238
238
|
*/
|
|
@@ -338,7 +338,7 @@ export interface AddPermissionRequest {
|
|
|
338
338
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
339
339
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
340
340
|
*/
|
|
341
|
-
FunctionUrlAuthType?: FunctionUrlAuthType
|
|
341
|
+
FunctionUrlAuthType?: FunctionUrlAuthType;
|
|
342
342
|
}
|
|
343
343
|
/**
|
|
344
344
|
* @public
|
|
@@ -511,7 +511,7 @@ export interface CodeSigningPolicies {
|
|
|
511
511
|
* <p>Default value: <code>Warn</code>
|
|
512
512
|
* </p>
|
|
513
513
|
*/
|
|
514
|
-
UntrustedArtifactOnDeployment?: CodeSigningPolicy
|
|
514
|
+
UntrustedArtifactOnDeployment?: CodeSigningPolicy;
|
|
515
515
|
}
|
|
516
516
|
/**
|
|
517
517
|
* @public
|
|
@@ -656,7 +656,7 @@ export interface DocumentDBEventSourceConfig {
|
|
|
656
656
|
* Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
|
|
657
657
|
* </p>
|
|
658
658
|
*/
|
|
659
|
-
FullDocument?: FullDocument
|
|
659
|
+
FullDocument?: FullDocument;
|
|
660
660
|
}
|
|
661
661
|
/**
|
|
662
662
|
* @public
|
|
@@ -733,7 +733,7 @@ export interface SelfManagedEventSource {
|
|
|
733
733
|
* <p>The list of bootstrap servers for your Kafka brokers in the following format: <code>"KAFKA_BOOTSTRAP_SERVERS":
|
|
734
734
|
* ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]</code>.</p>
|
|
735
735
|
*/
|
|
736
|
-
Endpoints?: Record<
|
|
736
|
+
Endpoints?: Record<EndPointType, string[]>;
|
|
737
737
|
}
|
|
738
738
|
/**
|
|
739
739
|
* @public
|
|
@@ -816,7 +816,7 @@ export interface SourceAccessConfiguration {
|
|
|
816
816
|
* </li>
|
|
817
817
|
* </ul>
|
|
818
818
|
*/
|
|
819
|
-
Type?: SourceAccessType
|
|
819
|
+
Type?: SourceAccessType;
|
|
820
820
|
/**
|
|
821
821
|
* @public
|
|
822
822
|
* <p>The value for your chosen configuration in <code>Type</code>. For example: <code>"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"</code>.</p>
|
|
@@ -968,7 +968,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
968
968
|
* Amazon DynamoDB Stream event sources. <code>AT_TIMESTAMP</code> is supported only for
|
|
969
969
|
* Amazon Kinesis streams, Amazon DocumentDB, Amazon MSK, and self-managed Apache Kafka.</p>
|
|
970
970
|
*/
|
|
971
|
-
StartingPosition?: EventSourcePosition
|
|
971
|
+
StartingPosition?: EventSourcePosition;
|
|
972
972
|
/**
|
|
973
973
|
* @public
|
|
974
974
|
* <p>With <code>StartingPosition</code> set to <code>AT_TIMESTAMP</code>, the time from which to start
|
|
@@ -1024,7 +1024,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
1024
1024
|
* @public
|
|
1025
1025
|
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
1026
1026
|
*/
|
|
1027
|
-
FunctionResponseTypes?:
|
|
1027
|
+
FunctionResponseTypes?: FunctionResponseType[];
|
|
1028
1028
|
/**
|
|
1029
1029
|
* @public
|
|
1030
1030
|
* <p>Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.</p>
|
|
@@ -1062,7 +1062,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
1062
1062
|
* Amazon DynamoDB Stream event sources. <code>AT_TIMESTAMP</code> is supported only for
|
|
1063
1063
|
* Amazon Kinesis streams, Amazon DocumentDB, Amazon MSK, and self-managed Apache Kafka.</p>
|
|
1064
1064
|
*/
|
|
1065
|
-
StartingPosition?: EventSourcePosition
|
|
1065
|
+
StartingPosition?: EventSourcePosition;
|
|
1066
1066
|
/**
|
|
1067
1067
|
* @public
|
|
1068
1068
|
* <p>With <code>StartingPosition</code> set to <code>AT_TIMESTAMP</code>, the time from which to start
|
|
@@ -1183,7 +1183,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
1183
1183
|
* @public
|
|
1184
1184
|
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
1185
1185
|
*/
|
|
1186
|
-
FunctionResponseTypes?:
|
|
1186
|
+
FunctionResponseTypes?: FunctionResponseType[];
|
|
1187
1187
|
/**
|
|
1188
1188
|
* @public
|
|
1189
1189
|
* <p>Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.</p>
|
|
@@ -1438,7 +1438,7 @@ export interface SnapStart {
|
|
|
1438
1438
|
* @public
|
|
1439
1439
|
* <p>Set to <code>PublishedVersions</code> to create a snapshot of the initialized execution environment when you publish a function version.</p>
|
|
1440
1440
|
*/
|
|
1441
|
-
ApplyOn?: SnapStartApplyOn
|
|
1441
|
+
ApplyOn?: SnapStartApplyOn;
|
|
1442
1442
|
}
|
|
1443
1443
|
/**
|
|
1444
1444
|
* @public
|
|
@@ -1462,7 +1462,7 @@ export interface TracingConfig {
|
|
|
1462
1462
|
* @public
|
|
1463
1463
|
* <p>The tracing mode.</p>
|
|
1464
1464
|
*/
|
|
1465
|
-
Mode?: TracingMode
|
|
1465
|
+
Mode?: TracingMode;
|
|
1466
1466
|
}
|
|
1467
1467
|
/**
|
|
1468
1468
|
* @public
|
|
@@ -1520,7 +1520,7 @@ export interface CreateFunctionRequest {
|
|
|
1520
1520
|
* <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.</p>
|
|
1521
1521
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
1522
1522
|
*/
|
|
1523
|
-
Runtime?: Runtime
|
|
1523
|
+
Runtime?: Runtime;
|
|
1524
1524
|
/**
|
|
1525
1525
|
* @public
|
|
1526
1526
|
* <p>The Amazon Resource Name (ARN) of the function's execution role.</p>
|
|
@@ -1572,7 +1572,7 @@ export interface CreateFunctionRequest {
|
|
|
1572
1572
|
* @public
|
|
1573
1573
|
* <p>The type of deployment package. Set to <code>Image</code> for container image and set to <code>Zip</code> for .zip file archive.</p>
|
|
1574
1574
|
*/
|
|
1575
|
-
PackageType?: PackageType
|
|
1575
|
+
PackageType?: PackageType;
|
|
1576
1576
|
/**
|
|
1577
1577
|
* @public
|
|
1578
1578
|
* <p>A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events
|
|
@@ -1634,7 +1634,7 @@ export interface CreateFunctionRequest {
|
|
|
1634
1634
|
* <p>The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64).
|
|
1635
1635
|
* The default value is <code>x86_64</code>.</p>
|
|
1636
1636
|
*/
|
|
1637
|
-
Architectures?:
|
|
1637
|
+
Architectures?: Architecture[];
|
|
1638
1638
|
/**
|
|
1639
1639
|
* @public
|
|
1640
1640
|
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
|
|
@@ -1836,12 +1836,12 @@ export interface SnapStartResponse {
|
|
|
1836
1836
|
* @public
|
|
1837
1837
|
* <p>When set to <code>PublishedVersions</code>, Lambda creates a snapshot of the execution environment when you publish a function version.</p>
|
|
1838
1838
|
*/
|
|
1839
|
-
ApplyOn?: SnapStartApplyOn
|
|
1839
|
+
ApplyOn?: SnapStartApplyOn;
|
|
1840
1840
|
/**
|
|
1841
1841
|
* @public
|
|
1842
1842
|
* <p>When you provide a <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using">qualified Amazon Resource Name (ARN)</a>, this response element indicates whether SnapStart is activated for the specified function version.</p>
|
|
1843
1843
|
*/
|
|
1844
|
-
OptimizationStatus?: SnapStartOptimizationStatus
|
|
1844
|
+
OptimizationStatus?: SnapStartOptimizationStatus;
|
|
1845
1845
|
}
|
|
1846
1846
|
/**
|
|
1847
1847
|
* @public
|
|
@@ -1900,7 +1900,7 @@ export interface TracingConfigResponse {
|
|
|
1900
1900
|
* @public
|
|
1901
1901
|
* <p>The tracing mode.</p>
|
|
1902
1902
|
*/
|
|
1903
|
-
Mode?: TracingMode
|
|
1903
|
+
Mode?: TracingMode;
|
|
1904
1904
|
}
|
|
1905
1905
|
/**
|
|
1906
1906
|
* @public
|
|
@@ -1948,7 +1948,7 @@ export interface FunctionConfiguration {
|
|
|
1948
1948
|
* <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.</p>
|
|
1949
1949
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
1950
1950
|
*/
|
|
1951
|
-
Runtime?: Runtime
|
|
1951
|
+
Runtime?: Runtime;
|
|
1952
1952
|
/**
|
|
1953
1953
|
* @public
|
|
1954
1954
|
* <p>The function's execution role.</p>
|
|
@@ -2040,7 +2040,7 @@ export interface FunctionConfiguration {
|
|
|
2040
2040
|
* <p>The current state of the function. When the state is <code>Inactive</code>, you can reactivate the function by
|
|
2041
2041
|
* invoking it.</p>
|
|
2042
2042
|
*/
|
|
2043
|
-
State?: State
|
|
2043
|
+
State?: State;
|
|
2044
2044
|
/**
|
|
2045
2045
|
* @public
|
|
2046
2046
|
* <p>The reason for the function's current state.</p>
|
|
@@ -2051,13 +2051,13 @@ export interface FunctionConfiguration {
|
|
|
2051
2051
|
* <p>The reason code for the function's current state. When the code is <code>Creating</code>, you can't invoke or
|
|
2052
2052
|
* modify the function.</p>
|
|
2053
2053
|
*/
|
|
2054
|
-
StateReasonCode?: StateReasonCode
|
|
2054
|
+
StateReasonCode?: StateReasonCode;
|
|
2055
2055
|
/**
|
|
2056
2056
|
* @public
|
|
2057
2057
|
* <p>The status of the last update that was performed on the function. This is first set to <code>Successful</code>
|
|
2058
2058
|
* after function creation completes.</p>
|
|
2059
2059
|
*/
|
|
2060
|
-
LastUpdateStatus?: LastUpdateStatus
|
|
2060
|
+
LastUpdateStatus?: LastUpdateStatus;
|
|
2061
2061
|
/**
|
|
2062
2062
|
* @public
|
|
2063
2063
|
* <p>The reason for the last update that was performed on the function.</p>
|
|
@@ -2067,7 +2067,7 @@ export interface FunctionConfiguration {
|
|
|
2067
2067
|
* @public
|
|
2068
2068
|
* <p>The reason code for the last update that was performed on the function.</p>
|
|
2069
2069
|
*/
|
|
2070
|
-
LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode
|
|
2070
|
+
LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode;
|
|
2071
2071
|
/**
|
|
2072
2072
|
* @public
|
|
2073
2073
|
* <p>Connection settings for an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html">Amazon EFS file system</a>.</p>
|
|
@@ -2077,7 +2077,7 @@ export interface FunctionConfiguration {
|
|
|
2077
2077
|
* @public
|
|
2078
2078
|
* <p>The type of deployment package. Set to <code>Image</code> for container image and set <code>Zip</code> for .zip file archive.</p>
|
|
2079
2079
|
*/
|
|
2080
|
-
PackageType?: PackageType
|
|
2080
|
+
PackageType?: PackageType;
|
|
2081
2081
|
/**
|
|
2082
2082
|
* @public
|
|
2083
2083
|
* <p>The function's image configuration values.</p>
|
|
@@ -2098,7 +2098,7 @@ export interface FunctionConfiguration {
|
|
|
2098
2098
|
* <p>The instruction set architecture that the function supports. Architecture is a string array with one of the
|
|
2099
2099
|
* valid values. The default architecture value is <code>x86_64</code>.</p>
|
|
2100
2100
|
*/
|
|
2101
|
-
Architectures?:
|
|
2101
|
+
Architectures?: Architecture[];
|
|
2102
2102
|
/**
|
|
2103
2103
|
* @public
|
|
2104
2104
|
* <p>The size of the function’s <code>/tmp</code> directory in MB. The default value is 512, but it can be any
|
|
@@ -2229,7 +2229,7 @@ export interface CreateFunctionUrlConfigRequest {
|
|
|
2229
2229
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
2230
2230
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
2231
2231
|
*/
|
|
2232
|
-
AuthType: FunctionUrlAuthType |
|
|
2232
|
+
AuthType: FunctionUrlAuthType | undefined;
|
|
2233
2233
|
/**
|
|
2234
2234
|
* @public
|
|
2235
2235
|
* <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
|
|
@@ -2252,7 +2252,7 @@ export interface CreateFunctionUrlConfigRequest {
|
|
|
2252
2252
|
* </li>
|
|
2253
2253
|
* </ul>
|
|
2254
2254
|
*/
|
|
2255
|
-
InvokeMode?: InvokeMode
|
|
2255
|
+
InvokeMode?: InvokeMode;
|
|
2256
2256
|
}
|
|
2257
2257
|
/**
|
|
2258
2258
|
* @public
|
|
@@ -2274,7 +2274,7 @@ export interface CreateFunctionUrlConfigResponse {
|
|
|
2274
2274
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
2275
2275
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
2276
2276
|
*/
|
|
2277
|
-
AuthType: FunctionUrlAuthType |
|
|
2277
|
+
AuthType: FunctionUrlAuthType | undefined;
|
|
2278
2278
|
/**
|
|
2279
2279
|
* @public
|
|
2280
2280
|
* <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
|
|
@@ -2302,7 +2302,7 @@ export interface CreateFunctionUrlConfigResponse {
|
|
|
2302
2302
|
* </li>
|
|
2303
2303
|
* </ul>
|
|
2304
2304
|
*/
|
|
2305
|
-
InvokeMode?: InvokeMode
|
|
2305
|
+
InvokeMode?: InvokeMode;
|
|
2306
2306
|
}
|
|
2307
2307
|
/**
|
|
2308
2308
|
* @public
|
|
@@ -3043,7 +3043,7 @@ export interface GetFunctionUrlConfigResponse {
|
|
|
3043
3043
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
3044
3044
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
3045
3045
|
*/
|
|
3046
|
-
AuthType: FunctionUrlAuthType |
|
|
3046
|
+
AuthType: FunctionUrlAuthType | undefined;
|
|
3047
3047
|
/**
|
|
3048
3048
|
* @public
|
|
3049
3049
|
* <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
|
|
@@ -3076,7 +3076,7 @@ export interface GetFunctionUrlConfigResponse {
|
|
|
3076
3076
|
* </li>
|
|
3077
3077
|
* </ul>
|
|
3078
3078
|
*/
|
|
3079
|
-
InvokeMode?: InvokeMode
|
|
3079
|
+
InvokeMode?: InvokeMode;
|
|
3080
3080
|
}
|
|
3081
3081
|
/**
|
|
3082
3082
|
* @public
|
|
@@ -3164,7 +3164,7 @@ export interface GetLayerVersionResponse {
|
|
|
3164
3164
|
* <p>The layer's compatible runtimes.</p>
|
|
3165
3165
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
3166
3166
|
*/
|
|
3167
|
-
CompatibleRuntimes?:
|
|
3167
|
+
CompatibleRuntimes?: Runtime[];
|
|
3168
3168
|
/**
|
|
3169
3169
|
* @public
|
|
3170
3170
|
* <p>The layer's software license.</p>
|
|
@@ -3175,7 +3175,7 @@ export interface GetLayerVersionResponse {
|
|
|
3175
3175
|
* <p>A list of compatible
|
|
3176
3176
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
|
|
3177
3177
|
*/
|
|
3178
|
-
CompatibleArchitectures?:
|
|
3178
|
+
CompatibleArchitectures?: Architecture[];
|
|
3179
3179
|
}
|
|
3180
3180
|
/**
|
|
3181
3181
|
* @public
|
|
@@ -3336,7 +3336,7 @@ export interface GetProvisionedConcurrencyConfigResponse {
|
|
|
3336
3336
|
* @public
|
|
3337
3337
|
* <p>The status of the allocation process.</p>
|
|
3338
3338
|
*/
|
|
3339
|
-
Status?: ProvisionedConcurrencyStatusEnum
|
|
3339
|
+
Status?: ProvisionedConcurrencyStatusEnum;
|
|
3340
3340
|
/**
|
|
3341
3341
|
* @public
|
|
3342
3342
|
* <p>For failed allocations, the reason that provisioned concurrency could not be allocated.</p>
|
|
@@ -3417,7 +3417,7 @@ export interface GetRuntimeManagementConfigResponse {
|
|
|
3417
3417
|
* @public
|
|
3418
3418
|
* <p>The current runtime update mode of the function.</p>
|
|
3419
3419
|
*/
|
|
3420
|
-
UpdateRuntimeOn?: UpdateRuntimeOn
|
|
3420
|
+
UpdateRuntimeOn?: UpdateRuntimeOn;
|
|
3421
3421
|
/**
|
|
3422
3422
|
* @public
|
|
3423
3423
|
* <p>The ARN of the runtime the function is configured to use. If the runtime update mode is <b>Manual</b>, the ARN is returned, otherwise <code>null</code>
|
|
@@ -3697,12 +3697,12 @@ export interface InvocationRequest {
|
|
|
3697
3697
|
* </li>
|
|
3698
3698
|
* </ul>
|
|
3699
3699
|
*/
|
|
3700
|
-
InvocationType?: InvocationType
|
|
3700
|
+
InvocationType?: InvocationType;
|
|
3701
3701
|
/**
|
|
3702
3702
|
* @public
|
|
3703
3703
|
* <p>Set to <code>Tail</code> to include the execution log in the response. Applies to synchronously invoked functions only.</p>
|
|
3704
3704
|
*/
|
|
3705
|
-
LogType?: LogType
|
|
3705
|
+
LogType?: LogType;
|
|
3706
3706
|
/**
|
|
3707
3707
|
* @public
|
|
3708
3708
|
* <p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context
|
|
@@ -4044,12 +4044,12 @@ export interface InvokeWithResponseStreamRequest {
|
|
|
4044
4044
|
* </li>
|
|
4045
4045
|
* </ul>
|
|
4046
4046
|
*/
|
|
4047
|
-
InvocationType?: ResponseStreamingInvocationType
|
|
4047
|
+
InvocationType?: ResponseStreamingInvocationType;
|
|
4048
4048
|
/**
|
|
4049
4049
|
* @public
|
|
4050
4050
|
* <p>Set to <code>Tail</code> to include the execution log in the response. Applies to synchronously invoked functions only.</p>
|
|
4051
4051
|
*/
|
|
4052
|
-
LogType?: LogType
|
|
4052
|
+
LogType?: LogType;
|
|
4053
4053
|
/**
|
|
4054
4054
|
* @public
|
|
4055
4055
|
* <p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context
|
|
@@ -4432,7 +4432,7 @@ export interface ListFunctionsRequest {
|
|
|
4432
4432
|
* @public
|
|
4433
4433
|
* <p>Set to <code>ALL</code> to include entries for all published versions of each function.</p>
|
|
4434
4434
|
*/
|
|
4435
|
-
FunctionVersion?: FunctionVersion
|
|
4435
|
+
FunctionVersion?: FunctionVersion;
|
|
4436
4436
|
/**
|
|
4437
4437
|
* @public
|
|
4438
4438
|
* <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
|
|
@@ -4573,7 +4573,7 @@ export interface FunctionUrlConfig {
|
|
|
4573
4573
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
4574
4574
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
4575
4575
|
*/
|
|
4576
|
-
AuthType: FunctionUrlAuthType |
|
|
4576
|
+
AuthType: FunctionUrlAuthType | undefined;
|
|
4577
4577
|
/**
|
|
4578
4578
|
* @public
|
|
4579
4579
|
* <p>Use one of the following options:</p>
|
|
@@ -4592,7 +4592,7 @@ export interface FunctionUrlConfig {
|
|
|
4592
4592
|
* </li>
|
|
4593
4593
|
* </ul>
|
|
4594
4594
|
*/
|
|
4595
|
-
InvokeMode?: InvokeMode
|
|
4595
|
+
InvokeMode?: InvokeMode;
|
|
4596
4596
|
}
|
|
4597
4597
|
/**
|
|
4598
4598
|
* @public
|
|
@@ -4618,7 +4618,7 @@ export interface ListLayersRequest {
|
|
|
4618
4618
|
* <p>A runtime identifier. For example, <code>go1.x</code>.</p>
|
|
4619
4619
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
4620
4620
|
*/
|
|
4621
|
-
CompatibleRuntime?: Runtime
|
|
4621
|
+
CompatibleRuntime?: Runtime;
|
|
4622
4622
|
/**
|
|
4623
4623
|
* @public
|
|
4624
4624
|
* <p>A pagination token returned by a previous call.</p>
|
|
@@ -4634,7 +4634,7 @@ export interface ListLayersRequest {
|
|
|
4634
4634
|
* <p>The compatible
|
|
4635
4635
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p>
|
|
4636
4636
|
*/
|
|
4637
|
-
CompatibleArchitecture?: Architecture
|
|
4637
|
+
CompatibleArchitecture?: Architecture;
|
|
4638
4638
|
}
|
|
4639
4639
|
/**
|
|
4640
4640
|
* @public
|
|
@@ -4667,7 +4667,7 @@ export interface LayerVersionsListItem {
|
|
|
4667
4667
|
* <p>The layer's compatible runtimes.</p>
|
|
4668
4668
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
4669
4669
|
*/
|
|
4670
|
-
CompatibleRuntimes?:
|
|
4670
|
+
CompatibleRuntimes?: Runtime[];
|
|
4671
4671
|
/**
|
|
4672
4672
|
* @public
|
|
4673
4673
|
* <p>The layer's open-source license.</p>
|
|
@@ -4678,7 +4678,7 @@ export interface LayerVersionsListItem {
|
|
|
4678
4678
|
* <p>A list of compatible
|
|
4679
4679
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
|
|
4680
4680
|
*/
|
|
4681
|
-
CompatibleArchitectures?:
|
|
4681
|
+
CompatibleArchitectures?: Architecture[];
|
|
4682
4682
|
}
|
|
4683
4683
|
/**
|
|
4684
4684
|
* @public
|
|
@@ -4726,7 +4726,7 @@ export interface ListLayerVersionsRequest {
|
|
|
4726
4726
|
* <p>A runtime identifier. For example, <code>go1.x</code>.</p>
|
|
4727
4727
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
4728
4728
|
*/
|
|
4729
|
-
CompatibleRuntime?: Runtime
|
|
4729
|
+
CompatibleRuntime?: Runtime;
|
|
4730
4730
|
/**
|
|
4731
4731
|
* @public
|
|
4732
4732
|
* <p>The name or Amazon Resource Name (ARN) of the layer.</p>
|
|
@@ -4747,7 +4747,7 @@ export interface ListLayerVersionsRequest {
|
|
|
4747
4747
|
* <p>The compatible
|
|
4748
4748
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p>
|
|
4749
4749
|
*/
|
|
4750
|
-
CompatibleArchitecture?: Architecture
|
|
4750
|
+
CompatibleArchitecture?: Architecture;
|
|
4751
4751
|
}
|
|
4752
4752
|
/**
|
|
4753
4753
|
* @public
|
|
@@ -4832,7 +4832,7 @@ export interface ProvisionedConcurrencyConfigListItem {
|
|
|
4832
4832
|
* @public
|
|
4833
4833
|
* <p>The status of the allocation process.</p>
|
|
4834
4834
|
*/
|
|
4835
|
-
Status?: ProvisionedConcurrencyStatusEnum
|
|
4835
|
+
Status?: ProvisionedConcurrencyStatusEnum;
|
|
4836
4836
|
/**
|
|
4837
4837
|
* @public
|
|
4838
4838
|
* <p>For failed allocations, the reason that provisioned concurrency could not be allocated.</p>
|
|
@@ -4989,7 +4989,7 @@ export interface PublishLayerVersionRequest {
|
|
|
4989
4989
|
* runtimes</a>. Used for filtering with <a>ListLayers</a> and <a>ListLayerVersions</a>.</p>
|
|
4990
4990
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
4991
4991
|
*/
|
|
4992
|
-
CompatibleRuntimes?:
|
|
4992
|
+
CompatibleRuntimes?: Runtime[];
|
|
4993
4993
|
/**
|
|
4994
4994
|
* @public
|
|
4995
4995
|
* <p>The layer's software license. It can be any of the following:</p>
|
|
@@ -5013,7 +5013,7 @@ export interface PublishLayerVersionRequest {
|
|
|
5013
5013
|
* <p>A list of compatible
|
|
5014
5014
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
|
|
5015
5015
|
*/
|
|
5016
|
-
CompatibleArchitectures?:
|
|
5016
|
+
CompatibleArchitectures?: Architecture[];
|
|
5017
5017
|
}
|
|
5018
5018
|
/**
|
|
5019
5019
|
* @public
|
|
@@ -5054,7 +5054,7 @@ export interface PublishLayerVersionResponse {
|
|
|
5054
5054
|
* <p>The layer's compatible runtimes.</p>
|
|
5055
5055
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
5056
5056
|
*/
|
|
5057
|
-
CompatibleRuntimes?:
|
|
5057
|
+
CompatibleRuntimes?: Runtime[];
|
|
5058
5058
|
/**
|
|
5059
5059
|
* @public
|
|
5060
5060
|
* <p>The layer's software license.</p>
|
|
@@ -5065,7 +5065,7 @@ export interface PublishLayerVersionResponse {
|
|
|
5065
5065
|
* <p>A list of compatible
|
|
5066
5066
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
|
|
5067
5067
|
*/
|
|
5068
|
-
CompatibleArchitectures?:
|
|
5068
|
+
CompatibleArchitectures?: Architecture[];
|
|
5069
5069
|
}
|
|
5070
5070
|
/**
|
|
5071
5071
|
* @public
|
|
@@ -5348,7 +5348,7 @@ export interface PutProvisionedConcurrencyConfigResponse {
|
|
|
5348
5348
|
* @public
|
|
5349
5349
|
* <p>The status of the allocation process.</p>
|
|
5350
5350
|
*/
|
|
5351
|
-
Status?: ProvisionedConcurrencyStatusEnum
|
|
5351
|
+
Status?: ProvisionedConcurrencyStatusEnum;
|
|
5352
5352
|
/**
|
|
5353
5353
|
* @public
|
|
5354
5354
|
* <p>For failed allocations, the reason that provisioned concurrency could not be allocated.</p>
|
|
@@ -5417,7 +5417,7 @@ export interface PutRuntimeManagementConfigRequest {
|
|
|
5417
5417
|
* </li>
|
|
5418
5418
|
* </ul>
|
|
5419
5419
|
*/
|
|
5420
|
-
UpdateRuntimeOn: UpdateRuntimeOn |
|
|
5420
|
+
UpdateRuntimeOn: UpdateRuntimeOn | undefined;
|
|
5421
5421
|
/**
|
|
5422
5422
|
* @public
|
|
5423
5423
|
* <p>The ARN of the runtime version you want the function to use.</p>
|
|
@@ -5435,7 +5435,7 @@ export interface PutRuntimeManagementConfigResponse {
|
|
|
5435
5435
|
* @public
|
|
5436
5436
|
* <p>The runtime update mode.</p>
|
|
5437
5437
|
*/
|
|
5438
|
-
UpdateRuntimeOn: UpdateRuntimeOn |
|
|
5438
|
+
UpdateRuntimeOn: UpdateRuntimeOn | undefined;
|
|
5439
5439
|
/**
|
|
5440
5440
|
* @public
|
|
5441
5441
|
* <p>The ARN of the function</p>
|
|
@@ -5774,7 +5774,7 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
5774
5774
|
* @public
|
|
5775
5775
|
* <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
|
|
5776
5776
|
*/
|
|
5777
|
-
FunctionResponseTypes?:
|
|
5777
|
+
FunctionResponseTypes?: FunctionResponseType[];
|
|
5778
5778
|
/**
|
|
5779
5779
|
* @public
|
|
5780
5780
|
* <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>
|
|
@@ -5865,7 +5865,7 @@ export interface UpdateFunctionCodeRequest {
|
|
|
5865
5865
|
* <p>The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64).
|
|
5866
5866
|
* The default value is <code>x86_64</code>.</p>
|
|
5867
5867
|
*/
|
|
5868
|
-
Architectures?:
|
|
5868
|
+
Architectures?: Architecture[];
|
|
5869
5869
|
}
|
|
5870
5870
|
/**
|
|
5871
5871
|
* @public
|
|
@@ -5942,7 +5942,7 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
5942
5942
|
* <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.</p>
|
|
5943
5943
|
* <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
|
|
5944
5944
|
*/
|
|
5945
|
-
Runtime?: Runtime
|
|
5945
|
+
Runtime?: Runtime;
|
|
5946
5946
|
/**
|
|
5947
5947
|
* @public
|
|
5948
5948
|
* <p>A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events
|
|
@@ -6110,7 +6110,7 @@ export interface UpdateFunctionUrlConfigRequest {
|
|
|
6110
6110
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
6111
6111
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
6112
6112
|
*/
|
|
6113
|
-
AuthType?: FunctionUrlAuthType
|
|
6113
|
+
AuthType?: FunctionUrlAuthType;
|
|
6114
6114
|
/**
|
|
6115
6115
|
* @public
|
|
6116
6116
|
* <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
|
|
@@ -6133,7 +6133,7 @@ export interface UpdateFunctionUrlConfigRequest {
|
|
|
6133
6133
|
* </li>
|
|
6134
6134
|
* </ul>
|
|
6135
6135
|
*/
|
|
6136
|
-
InvokeMode?: InvokeMode
|
|
6136
|
+
InvokeMode?: InvokeMode;
|
|
6137
6137
|
}
|
|
6138
6138
|
/**
|
|
6139
6139
|
* @public
|
|
@@ -6155,7 +6155,7 @@ export interface UpdateFunctionUrlConfigResponse {
|
|
|
6155
6155
|
* users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
|
|
6156
6156
|
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
6157
6157
|
*/
|
|
6158
|
-
AuthType: FunctionUrlAuthType |
|
|
6158
|
+
AuthType: FunctionUrlAuthType | undefined;
|
|
6159
6159
|
/**
|
|
6160
6160
|
* @public
|
|
6161
6161
|
* <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
|
|
@@ -6188,7 +6188,7 @@ export interface UpdateFunctionUrlConfigResponse {
|
|
|
6188
6188
|
* </li>
|
|
6189
6189
|
* </ul>
|
|
6190
6190
|
*/
|
|
6191
|
-
InvokeMode?: InvokeMode
|
|
6191
|
+
InvokeMode?: InvokeMode;
|
|
6192
6192
|
}
|
|
6193
6193
|
/**
|
|
6194
6194
|
* @internal
|
|
@@ -88,7 +88,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
88
88
|
readonly $fault: "client";
|
|
89
89
|
retryAfterSeconds?: string;
|
|
90
90
|
Type?: string;
|
|
91
|
-
Reason?: ThrottleReason
|
|
91
|
+
Reason?: ThrottleReason;
|
|
92
92
|
constructor(
|
|
93
93
|
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
94
94
|
);
|
|
@@ -110,7 +110,7 @@ export interface AddPermissionRequest {
|
|
|
110
110
|
Qualifier?: string;
|
|
111
111
|
RevisionId?: string;
|
|
112
112
|
PrincipalOrgID?: string;
|
|
113
|
-
FunctionUrlAuthType?: FunctionUrlAuthType
|
|
113
|
+
FunctionUrlAuthType?: FunctionUrlAuthType;
|
|
114
114
|
}
|
|
115
115
|
export interface AddPermissionResponse {
|
|
116
116
|
Statement?: string;
|
|
@@ -151,7 +151,7 @@ export declare const CodeSigningPolicy: {
|
|
|
151
151
|
export type CodeSigningPolicy =
|
|
152
152
|
(typeof CodeSigningPolicy)[keyof typeof CodeSigningPolicy];
|
|
153
153
|
export interface CodeSigningPolicies {
|
|
154
|
-
UntrustedArtifactOnDeployment?: CodeSigningPolicy
|
|
154
|
+
UntrustedArtifactOnDeployment?: CodeSigningPolicy;
|
|
155
155
|
}
|
|
156
156
|
export interface CreateCodeSigningConfigRequest {
|
|
157
157
|
Description?: string;
|
|
@@ -187,7 +187,7 @@ export type FullDocument = (typeof FullDocument)[keyof typeof FullDocument];
|
|
|
187
187
|
export interface DocumentDBEventSourceConfig {
|
|
188
188
|
DatabaseName?: string;
|
|
189
189
|
CollectionName?: string;
|
|
190
|
-
FullDocument?: FullDocument
|
|
190
|
+
FullDocument?: FullDocument;
|
|
191
191
|
}
|
|
192
192
|
export interface Filter {
|
|
193
193
|
Pattern?: string;
|
|
@@ -208,7 +208,7 @@ export declare const EndPointType: {
|
|
|
208
208
|
};
|
|
209
209
|
export type EndPointType = (typeof EndPointType)[keyof typeof EndPointType];
|
|
210
210
|
export interface SelfManagedEventSource {
|
|
211
|
-
Endpoints?: Record<
|
|
211
|
+
Endpoints?: Record<EndPointType, string[]>;
|
|
212
212
|
}
|
|
213
213
|
export interface SelfManagedKafkaEventSourceConfig {
|
|
214
214
|
ConsumerGroupId?: string;
|
|
@@ -226,7 +226,7 @@ export declare const SourceAccessType: {
|
|
|
226
226
|
export type SourceAccessType =
|
|
227
227
|
(typeof SourceAccessType)[keyof typeof SourceAccessType];
|
|
228
228
|
export interface SourceAccessConfiguration {
|
|
229
|
-
Type?: SourceAccessType
|
|
229
|
+
Type?: SourceAccessType;
|
|
230
230
|
URI?: string;
|
|
231
231
|
}
|
|
232
232
|
export declare const EventSourcePosition: {
|
|
@@ -244,7 +244,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
244
244
|
FilterCriteria?: FilterCriteria;
|
|
245
245
|
MaximumBatchingWindowInSeconds?: number;
|
|
246
246
|
ParallelizationFactor?: number;
|
|
247
|
-
StartingPosition?: EventSourcePosition
|
|
247
|
+
StartingPosition?: EventSourcePosition;
|
|
248
248
|
StartingPositionTimestamp?: Date;
|
|
249
249
|
DestinationConfig?: DestinationConfig;
|
|
250
250
|
MaximumRecordAgeInSeconds?: number;
|
|
@@ -255,7 +255,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
255
255
|
Queues?: string[];
|
|
256
256
|
SourceAccessConfigurations?: SourceAccessConfiguration[];
|
|
257
257
|
SelfManagedEventSource?: SelfManagedEventSource;
|
|
258
|
-
FunctionResponseTypes?:
|
|
258
|
+
FunctionResponseTypes?: FunctionResponseType[];
|
|
259
259
|
AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
|
|
260
260
|
SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
|
|
261
261
|
ScalingConfig?: ScalingConfig;
|
|
@@ -263,7 +263,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
263
263
|
}
|
|
264
264
|
export interface EventSourceMappingConfiguration {
|
|
265
265
|
UUID?: string;
|
|
266
|
-
StartingPosition?: EventSourcePosition
|
|
266
|
+
StartingPosition?: EventSourcePosition;
|
|
267
267
|
StartingPositionTimestamp?: Date;
|
|
268
268
|
BatchSize?: number;
|
|
269
269
|
MaximumBatchingWindowInSeconds?: number;
|
|
@@ -284,7 +284,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
284
284
|
BisectBatchOnFunctionError?: boolean;
|
|
285
285
|
MaximumRetryAttempts?: number;
|
|
286
286
|
TumblingWindowInSeconds?: number;
|
|
287
|
-
FunctionResponseTypes?:
|
|
287
|
+
FunctionResponseTypes?: FunctionResponseType[];
|
|
288
288
|
AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
|
|
289
289
|
SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
|
|
290
290
|
ScalingConfig?: ScalingConfig;
|
|
@@ -394,7 +394,7 @@ export declare const SnapStartApplyOn: {
|
|
|
394
394
|
export type SnapStartApplyOn =
|
|
395
395
|
(typeof SnapStartApplyOn)[keyof typeof SnapStartApplyOn];
|
|
396
396
|
export interface SnapStart {
|
|
397
|
-
ApplyOn?: SnapStartApplyOn
|
|
397
|
+
ApplyOn?: SnapStartApplyOn;
|
|
398
398
|
}
|
|
399
399
|
export declare const TracingMode: {
|
|
400
400
|
readonly Active: "Active";
|
|
@@ -402,7 +402,7 @@ export declare const TracingMode: {
|
|
|
402
402
|
};
|
|
403
403
|
export type TracingMode = (typeof TracingMode)[keyof typeof TracingMode];
|
|
404
404
|
export interface TracingConfig {
|
|
405
|
-
Mode?: TracingMode
|
|
405
|
+
Mode?: TracingMode;
|
|
406
406
|
}
|
|
407
407
|
export interface VpcConfig {
|
|
408
408
|
SubnetIds?: string[];
|
|
@@ -411,7 +411,7 @@ export interface VpcConfig {
|
|
|
411
411
|
}
|
|
412
412
|
export interface CreateFunctionRequest {
|
|
413
413
|
FunctionName: string | undefined;
|
|
414
|
-
Runtime?: Runtime
|
|
414
|
+
Runtime?: Runtime;
|
|
415
415
|
Role: string | undefined;
|
|
416
416
|
Handler?: string;
|
|
417
417
|
Code: FunctionCode | undefined;
|
|
@@ -420,7 +420,7 @@ export interface CreateFunctionRequest {
|
|
|
420
420
|
MemorySize?: number;
|
|
421
421
|
Publish?: boolean;
|
|
422
422
|
VpcConfig?: VpcConfig;
|
|
423
|
-
PackageType?: PackageType
|
|
423
|
+
PackageType?: PackageType;
|
|
424
424
|
DeadLetterConfig?: DeadLetterConfig;
|
|
425
425
|
Environment?: Environment;
|
|
426
426
|
KMSKeyArn?: string;
|
|
@@ -430,7 +430,7 @@ export interface CreateFunctionRequest {
|
|
|
430
430
|
FileSystemConfigs?: FileSystemConfig[];
|
|
431
431
|
ImageConfig?: ImageConfig;
|
|
432
432
|
CodeSigningConfigArn?: string;
|
|
433
|
-
Architectures?:
|
|
433
|
+
Architectures?: Architecture[];
|
|
434
434
|
EphemeralStorage?: EphemeralStorage;
|
|
435
435
|
SnapStart?: SnapStart;
|
|
436
436
|
}
|
|
@@ -503,8 +503,8 @@ export declare const SnapStartOptimizationStatus: {
|
|
|
503
503
|
export type SnapStartOptimizationStatus =
|
|
504
504
|
(typeof SnapStartOptimizationStatus)[keyof typeof SnapStartOptimizationStatus];
|
|
505
505
|
export interface SnapStartResponse {
|
|
506
|
-
ApplyOn?: SnapStartApplyOn
|
|
507
|
-
OptimizationStatus?: SnapStartOptimizationStatus
|
|
506
|
+
ApplyOn?: SnapStartApplyOn;
|
|
507
|
+
OptimizationStatus?: SnapStartOptimizationStatus;
|
|
508
508
|
}
|
|
509
509
|
export declare const State: {
|
|
510
510
|
readonly Active: "Active";
|
|
@@ -542,7 +542,7 @@ export declare const StateReasonCode: {
|
|
|
542
542
|
export type StateReasonCode =
|
|
543
543
|
(typeof StateReasonCode)[keyof typeof StateReasonCode];
|
|
544
544
|
export interface TracingConfigResponse {
|
|
545
|
-
Mode?: TracingMode
|
|
545
|
+
Mode?: TracingMode;
|
|
546
546
|
}
|
|
547
547
|
export interface VpcConfigResponse {
|
|
548
548
|
SubnetIds?: string[];
|
|
@@ -553,7 +553,7 @@ export interface VpcConfigResponse {
|
|
|
553
553
|
export interface FunctionConfiguration {
|
|
554
554
|
FunctionName?: string;
|
|
555
555
|
FunctionArn?: string;
|
|
556
|
-
Runtime?: Runtime
|
|
556
|
+
Runtime?: Runtime;
|
|
557
557
|
Role?: string;
|
|
558
558
|
Handler?: string;
|
|
559
559
|
CodeSize?: number;
|
|
@@ -571,18 +571,18 @@ export interface FunctionConfiguration {
|
|
|
571
571
|
MasterArn?: string;
|
|
572
572
|
RevisionId?: string;
|
|
573
573
|
Layers?: Layer[];
|
|
574
|
-
State?: State
|
|
574
|
+
State?: State;
|
|
575
575
|
StateReason?: string;
|
|
576
|
-
StateReasonCode?: StateReasonCode
|
|
577
|
-
LastUpdateStatus?: LastUpdateStatus
|
|
576
|
+
StateReasonCode?: StateReasonCode;
|
|
577
|
+
LastUpdateStatus?: LastUpdateStatus;
|
|
578
578
|
LastUpdateStatusReason?: string;
|
|
579
|
-
LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode
|
|
579
|
+
LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode;
|
|
580
580
|
FileSystemConfigs?: FileSystemConfig[];
|
|
581
|
-
PackageType?: PackageType
|
|
581
|
+
PackageType?: PackageType;
|
|
582
582
|
ImageConfigResponse?: ImageConfigResponse;
|
|
583
583
|
SigningProfileVersionArn?: string;
|
|
584
584
|
SigningJobArn?: string;
|
|
585
|
-
Architectures?:
|
|
585
|
+
Architectures?: Architecture[];
|
|
586
586
|
EphemeralStorage?: EphemeralStorage;
|
|
587
587
|
SnapStart?: SnapStartResponse;
|
|
588
588
|
RuntimeVersionConfig?: RuntimeVersionConfig;
|
|
@@ -612,17 +612,17 @@ export type InvokeMode = (typeof InvokeMode)[keyof typeof InvokeMode];
|
|
|
612
612
|
export interface CreateFunctionUrlConfigRequest {
|
|
613
613
|
FunctionName: string | undefined;
|
|
614
614
|
Qualifier?: string;
|
|
615
|
-
AuthType: FunctionUrlAuthType |
|
|
615
|
+
AuthType: FunctionUrlAuthType | undefined;
|
|
616
616
|
Cors?: Cors;
|
|
617
|
-
InvokeMode?: InvokeMode
|
|
617
|
+
InvokeMode?: InvokeMode;
|
|
618
618
|
}
|
|
619
619
|
export interface CreateFunctionUrlConfigResponse {
|
|
620
620
|
FunctionUrl: string | undefined;
|
|
621
621
|
FunctionArn: string | undefined;
|
|
622
|
-
AuthType: FunctionUrlAuthType |
|
|
622
|
+
AuthType: FunctionUrlAuthType | undefined;
|
|
623
623
|
Cors?: Cors;
|
|
624
624
|
CreationTime: string | undefined;
|
|
625
|
-
InvokeMode?: InvokeMode
|
|
625
|
+
InvokeMode?: InvokeMode;
|
|
626
626
|
}
|
|
627
627
|
export interface DeleteAliasRequest {
|
|
628
628
|
FunctionName: string | undefined;
|
|
@@ -742,11 +742,11 @@ export interface GetFunctionUrlConfigRequest {
|
|
|
742
742
|
export interface GetFunctionUrlConfigResponse {
|
|
743
743
|
FunctionUrl: string | undefined;
|
|
744
744
|
FunctionArn: string | undefined;
|
|
745
|
-
AuthType: FunctionUrlAuthType |
|
|
745
|
+
AuthType: FunctionUrlAuthType | undefined;
|
|
746
746
|
Cors?: Cors;
|
|
747
747
|
CreationTime: string | undefined;
|
|
748
748
|
LastModifiedTime: string | undefined;
|
|
749
|
-
InvokeMode?: InvokeMode
|
|
749
|
+
InvokeMode?: InvokeMode;
|
|
750
750
|
}
|
|
751
751
|
export interface GetLayerVersionRequest {
|
|
752
752
|
LayerName: string | undefined;
|
|
@@ -766,9 +766,9 @@ export interface GetLayerVersionResponse {
|
|
|
766
766
|
Description?: string;
|
|
767
767
|
CreatedDate?: string;
|
|
768
768
|
Version?: number;
|
|
769
|
-
CompatibleRuntimes?:
|
|
769
|
+
CompatibleRuntimes?: Runtime[];
|
|
770
770
|
LicenseInfo?: string;
|
|
771
|
-
CompatibleArchitectures?:
|
|
771
|
+
CompatibleArchitectures?: Architecture[];
|
|
772
772
|
}
|
|
773
773
|
export interface GetLayerVersionByArnRequest {
|
|
774
774
|
Arn: string | undefined;
|
|
@@ -804,7 +804,7 @@ export interface GetProvisionedConcurrencyConfigResponse {
|
|
|
804
804
|
RequestedProvisionedConcurrentExecutions?: number;
|
|
805
805
|
AvailableProvisionedConcurrentExecutions?: number;
|
|
806
806
|
AllocatedProvisionedConcurrentExecutions?: number;
|
|
807
|
-
Status?: ProvisionedConcurrencyStatusEnum
|
|
807
|
+
Status?: ProvisionedConcurrencyStatusEnum;
|
|
808
808
|
StatusReason?: string;
|
|
809
809
|
LastModified?: string;
|
|
810
810
|
}
|
|
@@ -831,7 +831,7 @@ export declare const UpdateRuntimeOn: {
|
|
|
831
831
|
export type UpdateRuntimeOn =
|
|
832
832
|
(typeof UpdateRuntimeOn)[keyof typeof UpdateRuntimeOn];
|
|
833
833
|
export interface GetRuntimeManagementConfigResponse {
|
|
834
|
-
UpdateRuntimeOn?: UpdateRuntimeOn
|
|
834
|
+
UpdateRuntimeOn?: UpdateRuntimeOn;
|
|
835
835
|
RuntimeVersionArn?: string;
|
|
836
836
|
FunctionArn?: string;
|
|
837
837
|
}
|
|
@@ -967,8 +967,8 @@ export declare const LogType: {
|
|
|
967
967
|
export type LogType = (typeof LogType)[keyof typeof LogType];
|
|
968
968
|
export interface InvocationRequest {
|
|
969
969
|
FunctionName: string | undefined;
|
|
970
|
-
InvocationType?: InvocationType
|
|
971
|
-
LogType?: LogType
|
|
970
|
+
InvocationType?: InvocationType;
|
|
971
|
+
LogType?: LogType;
|
|
972
972
|
ClientContext?: string;
|
|
973
973
|
Payload?: Uint8Array;
|
|
974
974
|
Qualifier?: string;
|
|
@@ -1101,8 +1101,8 @@ export type ResponseStreamingInvocationType =
|
|
|
1101
1101
|
(typeof ResponseStreamingInvocationType)[keyof typeof ResponseStreamingInvocationType];
|
|
1102
1102
|
export interface InvokeWithResponseStreamRequest {
|
|
1103
1103
|
FunctionName: string | undefined;
|
|
1104
|
-
InvocationType?: ResponseStreamingInvocationType
|
|
1105
|
-
LogType?: LogType
|
|
1104
|
+
InvocationType?: ResponseStreamingInvocationType;
|
|
1105
|
+
LogType?: LogType;
|
|
1106
1106
|
ClientContext?: string;
|
|
1107
1107
|
Qualifier?: string;
|
|
1108
1108
|
Payload?: Uint8Array;
|
|
@@ -1195,7 +1195,7 @@ export type FunctionVersion =
|
|
|
1195
1195
|
(typeof FunctionVersion)[keyof typeof FunctionVersion];
|
|
1196
1196
|
export interface ListFunctionsRequest {
|
|
1197
1197
|
MasterRegion?: string;
|
|
1198
|
-
FunctionVersion?: FunctionVersion
|
|
1198
|
+
FunctionVersion?: FunctionVersion;
|
|
1199
1199
|
Marker?: string;
|
|
1200
1200
|
MaxItems?: number;
|
|
1201
1201
|
}
|
|
@@ -1223,27 +1223,27 @@ export interface FunctionUrlConfig {
|
|
|
1223
1223
|
CreationTime: string | undefined;
|
|
1224
1224
|
LastModifiedTime: string | undefined;
|
|
1225
1225
|
Cors?: Cors;
|
|
1226
|
-
AuthType: FunctionUrlAuthType |
|
|
1227
|
-
InvokeMode?: InvokeMode
|
|
1226
|
+
AuthType: FunctionUrlAuthType | undefined;
|
|
1227
|
+
InvokeMode?: InvokeMode;
|
|
1228
1228
|
}
|
|
1229
1229
|
export interface ListFunctionUrlConfigsResponse {
|
|
1230
1230
|
FunctionUrlConfigs: FunctionUrlConfig[] | undefined;
|
|
1231
1231
|
NextMarker?: string;
|
|
1232
1232
|
}
|
|
1233
1233
|
export interface ListLayersRequest {
|
|
1234
|
-
CompatibleRuntime?: Runtime
|
|
1234
|
+
CompatibleRuntime?: Runtime;
|
|
1235
1235
|
Marker?: string;
|
|
1236
1236
|
MaxItems?: number;
|
|
1237
|
-
CompatibleArchitecture?: Architecture
|
|
1237
|
+
CompatibleArchitecture?: Architecture;
|
|
1238
1238
|
}
|
|
1239
1239
|
export interface LayerVersionsListItem {
|
|
1240
1240
|
LayerVersionArn?: string;
|
|
1241
1241
|
Version?: number;
|
|
1242
1242
|
Description?: string;
|
|
1243
1243
|
CreatedDate?: string;
|
|
1244
|
-
CompatibleRuntimes?:
|
|
1244
|
+
CompatibleRuntimes?: Runtime[];
|
|
1245
1245
|
LicenseInfo?: string;
|
|
1246
|
-
CompatibleArchitectures?:
|
|
1246
|
+
CompatibleArchitectures?: Architecture[];
|
|
1247
1247
|
}
|
|
1248
1248
|
export interface LayersListItem {
|
|
1249
1249
|
LayerName?: string;
|
|
@@ -1255,11 +1255,11 @@ export interface ListLayersResponse {
|
|
|
1255
1255
|
Layers?: LayersListItem[];
|
|
1256
1256
|
}
|
|
1257
1257
|
export interface ListLayerVersionsRequest {
|
|
1258
|
-
CompatibleRuntime?: Runtime
|
|
1258
|
+
CompatibleRuntime?: Runtime;
|
|
1259
1259
|
LayerName: string | undefined;
|
|
1260
1260
|
Marker?: string;
|
|
1261
1261
|
MaxItems?: number;
|
|
1262
|
-
CompatibleArchitecture?: Architecture
|
|
1262
|
+
CompatibleArchitecture?: Architecture;
|
|
1263
1263
|
}
|
|
1264
1264
|
export interface ListLayerVersionsResponse {
|
|
1265
1265
|
NextMarker?: string;
|
|
@@ -1275,7 +1275,7 @@ export interface ProvisionedConcurrencyConfigListItem {
|
|
|
1275
1275
|
RequestedProvisionedConcurrentExecutions?: number;
|
|
1276
1276
|
AvailableProvisionedConcurrentExecutions?: number;
|
|
1277
1277
|
AllocatedProvisionedConcurrentExecutions?: number;
|
|
1278
|
-
Status?: ProvisionedConcurrencyStatusEnum
|
|
1278
|
+
Status?: ProvisionedConcurrencyStatusEnum;
|
|
1279
1279
|
StatusReason?: string;
|
|
1280
1280
|
LastModified?: string;
|
|
1281
1281
|
}
|
|
@@ -1308,9 +1308,9 @@ export interface PublishLayerVersionRequest {
|
|
|
1308
1308
|
LayerName: string | undefined;
|
|
1309
1309
|
Description?: string;
|
|
1310
1310
|
Content: LayerVersionContentInput | undefined;
|
|
1311
|
-
CompatibleRuntimes?:
|
|
1311
|
+
CompatibleRuntimes?: Runtime[];
|
|
1312
1312
|
LicenseInfo?: string;
|
|
1313
|
-
CompatibleArchitectures?:
|
|
1313
|
+
CompatibleArchitectures?: Architecture[];
|
|
1314
1314
|
}
|
|
1315
1315
|
export interface PublishLayerVersionResponse {
|
|
1316
1316
|
Content?: LayerVersionContentOutput;
|
|
@@ -1319,9 +1319,9 @@ export interface PublishLayerVersionResponse {
|
|
|
1319
1319
|
Description?: string;
|
|
1320
1320
|
CreatedDate?: string;
|
|
1321
1321
|
Version?: number;
|
|
1322
|
-
CompatibleRuntimes?:
|
|
1322
|
+
CompatibleRuntimes?: Runtime[];
|
|
1323
1323
|
LicenseInfo?: string;
|
|
1324
|
-
CompatibleArchitectures?:
|
|
1324
|
+
CompatibleArchitectures?: Architecture[];
|
|
1325
1325
|
}
|
|
1326
1326
|
export interface PublishVersionRequest {
|
|
1327
1327
|
FunctionName: string | undefined;
|
|
@@ -1357,18 +1357,18 @@ export interface PutProvisionedConcurrencyConfigResponse {
|
|
|
1357
1357
|
RequestedProvisionedConcurrentExecutions?: number;
|
|
1358
1358
|
AvailableProvisionedConcurrentExecutions?: number;
|
|
1359
1359
|
AllocatedProvisionedConcurrentExecutions?: number;
|
|
1360
|
-
Status?: ProvisionedConcurrencyStatusEnum
|
|
1360
|
+
Status?: ProvisionedConcurrencyStatusEnum;
|
|
1361
1361
|
StatusReason?: string;
|
|
1362
1362
|
LastModified?: string;
|
|
1363
1363
|
}
|
|
1364
1364
|
export interface PutRuntimeManagementConfigRequest {
|
|
1365
1365
|
FunctionName: string | undefined;
|
|
1366
1366
|
Qualifier?: string;
|
|
1367
|
-
UpdateRuntimeOn: UpdateRuntimeOn |
|
|
1367
|
+
UpdateRuntimeOn: UpdateRuntimeOn | undefined;
|
|
1368
1368
|
RuntimeVersionArn?: string;
|
|
1369
1369
|
}
|
|
1370
1370
|
export interface PutRuntimeManagementConfigResponse {
|
|
1371
|
-
UpdateRuntimeOn: UpdateRuntimeOn |
|
|
1371
|
+
UpdateRuntimeOn: UpdateRuntimeOn | undefined;
|
|
1372
1372
|
FunctionArn: string | undefined;
|
|
1373
1373
|
RuntimeVersionArn?: string;
|
|
1374
1374
|
}
|
|
@@ -1423,7 +1423,7 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
1423
1423
|
ParallelizationFactor?: number;
|
|
1424
1424
|
SourceAccessConfigurations?: SourceAccessConfiguration[];
|
|
1425
1425
|
TumblingWindowInSeconds?: number;
|
|
1426
|
-
FunctionResponseTypes?:
|
|
1426
|
+
FunctionResponseTypes?: FunctionResponseType[];
|
|
1427
1427
|
ScalingConfig?: ScalingConfig;
|
|
1428
1428
|
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
|
|
1429
1429
|
}
|
|
@@ -1437,7 +1437,7 @@ export interface UpdateFunctionCodeRequest {
|
|
|
1437
1437
|
Publish?: boolean;
|
|
1438
1438
|
DryRun?: boolean;
|
|
1439
1439
|
RevisionId?: string;
|
|
1440
|
-
Architectures?:
|
|
1440
|
+
Architectures?: Architecture[];
|
|
1441
1441
|
}
|
|
1442
1442
|
export interface UpdateFunctionConfigurationRequest {
|
|
1443
1443
|
FunctionName: string | undefined;
|
|
@@ -1448,7 +1448,7 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
1448
1448
|
MemorySize?: number;
|
|
1449
1449
|
VpcConfig?: VpcConfig;
|
|
1450
1450
|
Environment?: Environment;
|
|
1451
|
-
Runtime?: Runtime
|
|
1451
|
+
Runtime?: Runtime;
|
|
1452
1452
|
DeadLetterConfig?: DeadLetterConfig;
|
|
1453
1453
|
KMSKeyArn?: string;
|
|
1454
1454
|
TracingConfig?: TracingConfig;
|
|
@@ -1469,18 +1469,18 @@ export interface UpdateFunctionEventInvokeConfigRequest {
|
|
|
1469
1469
|
export interface UpdateFunctionUrlConfigRequest {
|
|
1470
1470
|
FunctionName: string | undefined;
|
|
1471
1471
|
Qualifier?: string;
|
|
1472
|
-
AuthType?: FunctionUrlAuthType
|
|
1472
|
+
AuthType?: FunctionUrlAuthType;
|
|
1473
1473
|
Cors?: Cors;
|
|
1474
|
-
InvokeMode?: InvokeMode
|
|
1474
|
+
InvokeMode?: InvokeMode;
|
|
1475
1475
|
}
|
|
1476
1476
|
export interface UpdateFunctionUrlConfigResponse {
|
|
1477
1477
|
FunctionUrl: string | undefined;
|
|
1478
1478
|
FunctionArn: string | undefined;
|
|
1479
|
-
AuthType: FunctionUrlAuthType |
|
|
1479
|
+
AuthType: FunctionUrlAuthType | undefined;
|
|
1480
1480
|
Cors?: Cors;
|
|
1481
1481
|
CreationTime: string | undefined;
|
|
1482
1482
|
LastModifiedTime: string | undefined;
|
|
1483
|
-
InvokeMode?: InvokeMode
|
|
1483
|
+
InvokeMode?: InvokeMode;
|
|
1484
1484
|
}
|
|
1485
1485
|
export declare const FunctionCodeFilterSensitiveLog: (obj: FunctionCode) => any;
|
|
1486
1486
|
export declare const EnvironmentFilterSensitiveLog: (obj: Environment) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lambda",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.429.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@smithy/hash-node": "^2.0.11",
|
|
42
42
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
43
43
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
44
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
44
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
45
45
|
"@smithy/middleware-retry": "^2.0.16",
|
|
46
46
|
"@smithy/middleware-serde": "^2.0.11",
|
|
47
47
|
"@smithy/middleware-stack": "^2.0.5",
|