@aws-sdk/client-lambda 3.427.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.
@@ -90,6 +90,7 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
90
90
  * SecurityGroupIds: [ // SecurityGroupIds
91
91
  * "STRING_VALUE",
92
92
  * ],
93
+ * Ipv6AllowedForDualStack: true || false,
93
94
  * },
94
95
  * PackageType: "Zip" || "Image",
95
96
  * DeadLetterConfig: { // DeadLetterConfig
@@ -159,6 +160,7 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
159
160
  * // "STRING_VALUE",
160
161
  * // ],
161
162
  * // VpcId: "STRING_VALUE",
163
+ * // Ipv6AllowedForDualStack: true || false,
162
164
  * // },
163
165
  * // DeadLetterConfig: { // DeadLetterConfig
164
166
  * // TargetArn: "STRING_VALUE",
@@ -60,6 +60,7 @@ export interface GetFunctionCommandOutput extends GetFunctionResponse, __Metadat
60
60
  * // "STRING_VALUE",
61
61
  * // ],
62
62
  * // VpcId: "STRING_VALUE",
63
+ * // Ipv6AllowedForDualStack: true || false,
63
64
  * // },
64
65
  * // DeadLetterConfig: { // DeadLetterConfig
65
66
  * // TargetArn: "STRING_VALUE",
@@ -59,6 +59,7 @@ export interface GetFunctionConfigurationCommandOutput extends FunctionConfigura
59
59
  * // "STRING_VALUE",
60
60
  * // ],
61
61
  * // VpcId: "STRING_VALUE",
62
+ * // Ipv6AllowedForDualStack: true || false,
62
63
  * // },
63
64
  * // DeadLetterConfig: { // DeadLetterConfig
64
65
  * // TargetArn: "STRING_VALUE",
@@ -70,6 +70,7 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResponse, __Met
70
70
  * // "STRING_VALUE",
71
71
  * // ],
72
72
  * // VpcId: "STRING_VALUE",
73
+ * // Ipv6AllowedForDualStack: true || false,
73
74
  * // },
74
75
  * // DeadLetterConfig: { // DeadLetterConfig
75
76
  * // TargetArn: "STRING_VALUE",
@@ -62,6 +62,7 @@ export interface ListVersionsByFunctionCommandOutput extends ListVersionsByFunct
62
62
  * // "STRING_VALUE",
63
63
  * // ],
64
64
  * // VpcId: "STRING_VALUE",
65
+ * // Ipv6AllowedForDualStack: true || false,
65
66
  * // },
66
67
  * // DeadLetterConfig: { // DeadLetterConfig
67
68
  * // TargetArn: "STRING_VALUE",
@@ -65,6 +65,7 @@ export interface PublishVersionCommandOutput extends FunctionConfiguration, __Me
65
65
  * // "STRING_VALUE",
66
66
  * // ],
67
67
  * // VpcId: "STRING_VALUE",
68
+ * // Ipv6AllowedForDualStack: true || false,
68
69
  * // },
69
70
  * // DeadLetterConfig: { // DeadLetterConfig
70
71
  * // TargetArn: "STRING_VALUE",
@@ -82,6 +82,7 @@ export interface UpdateFunctionCodeCommandOutput extends FunctionConfiguration,
82
82
  * // "STRING_VALUE",
83
83
  * // ],
84
84
  * // VpcId: "STRING_VALUE",
85
+ * // Ipv6AllowedForDualStack: true || false,
85
86
  * // },
86
87
  * // DeadLetterConfig: { // DeadLetterConfig
87
88
  * // TargetArn: "STRING_VALUE",
@@ -55,6 +55,7 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
55
55
  * SecurityGroupIds: [ // SecurityGroupIds
56
56
  * "STRING_VALUE",
57
57
  * ],
58
+ * Ipv6AllowedForDualStack: true || false,
58
59
  * },
59
60
  * Environment: { // Environment
60
61
  * Variables: { // EnvironmentVariables
@@ -118,6 +119,7 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
118
119
  * // "STRING_VALUE",
119
120
  * // ],
120
121
  * // VpcId: "STRING_VALUE",
122
+ * // Ipv6AllowedForDualStack: true || false,
121
123
  * // },
122
124
  * // DeadLetterConfig: { // DeadLetterConfig
123
125
  * // TargetArn: "STRING_VALUE",
@@ -232,7 +232,7 @@ export declare class TooManyRequestsException extends __BaseException {
232
232
  */
233
233
  retryAfterSeconds?: string;
234
234
  Type?: string;
235
- Reason?: ThrottleReason | string;
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 | string;
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 | string;
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 | string;
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<string, string[]>;
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 | string;
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 | string;
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?: (FunctionResponseType | string)[];
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 | string;
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?: (FunctionResponseType | string)[];
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 | string;
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 | string;
1465
+ Mode?: TracingMode;
1466
1466
  }
1467
1467
  /**
1468
1468
  * @public
@@ -1481,6 +1481,11 @@ export interface VpcConfig {
1481
1481
  * <p>A list of VPC security group IDs.</p>
1482
1482
  */
1483
1483
  SecurityGroupIds?: string[];
1484
+ /**
1485
+ * @public
1486
+ * <p>Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.</p>
1487
+ */
1488
+ Ipv6AllowedForDualStack?: boolean;
1484
1489
  }
1485
1490
  /**
1486
1491
  * @public
@@ -1515,7 +1520,7 @@ export interface CreateFunctionRequest {
1515
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>
1516
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>
1517
1522
  */
1518
- Runtime?: Runtime | string;
1523
+ Runtime?: Runtime;
1519
1524
  /**
1520
1525
  * @public
1521
1526
  * <p>The Amazon Resource Name (ARN) of the function's execution role.</p>
@@ -1567,7 +1572,7 @@ export interface CreateFunctionRequest {
1567
1572
  * @public
1568
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>
1569
1574
  */
1570
- PackageType?: PackageType | string;
1575
+ PackageType?: PackageType;
1571
1576
  /**
1572
1577
  * @public
1573
1578
  * <p>A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events
@@ -1629,7 +1634,7 @@ export interface CreateFunctionRequest {
1629
1634
  * <p>The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64).
1630
1635
  * The default value is <code>x86_64</code>.</p>
1631
1636
  */
1632
- Architectures?: (Architecture | string)[];
1637
+ Architectures?: Architecture[];
1633
1638
  /**
1634
1639
  * @public
1635
1640
  * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
@@ -1831,12 +1836,12 @@ export interface SnapStartResponse {
1831
1836
  * @public
1832
1837
  * <p>When set to <code>PublishedVersions</code>, Lambda creates a snapshot of the execution environment when you publish a function version.</p>
1833
1838
  */
1834
- ApplyOn?: SnapStartApplyOn | string;
1839
+ ApplyOn?: SnapStartApplyOn;
1835
1840
  /**
1836
1841
  * @public
1837
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>
1838
1843
  */
1839
- OptimizationStatus?: SnapStartOptimizationStatus | string;
1844
+ OptimizationStatus?: SnapStartOptimizationStatus;
1840
1845
  }
1841
1846
  /**
1842
1847
  * @public
@@ -1895,7 +1900,7 @@ export interface TracingConfigResponse {
1895
1900
  * @public
1896
1901
  * <p>The tracing mode.</p>
1897
1902
  */
1898
- Mode?: TracingMode | string;
1903
+ Mode?: TracingMode;
1899
1904
  }
1900
1905
  /**
1901
1906
  * @public
@@ -1917,6 +1922,11 @@ export interface VpcConfigResponse {
1917
1922
  * <p>The ID of the VPC.</p>
1918
1923
  */
1919
1924
  VpcId?: string;
1925
+ /**
1926
+ * @public
1927
+ * <p>Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.</p>
1928
+ */
1929
+ Ipv6AllowedForDualStack?: boolean;
1920
1930
  }
1921
1931
  /**
1922
1932
  * @public
@@ -1938,7 +1948,7 @@ export interface FunctionConfiguration {
1938
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>
1939
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>
1940
1950
  */
1941
- Runtime?: Runtime | string;
1951
+ Runtime?: Runtime;
1942
1952
  /**
1943
1953
  * @public
1944
1954
  * <p>The function's execution role.</p>
@@ -2030,7 +2040,7 @@ export interface FunctionConfiguration {
2030
2040
  * <p>The current state of the function. When the state is <code>Inactive</code>, you can reactivate the function by
2031
2041
  * invoking it.</p>
2032
2042
  */
2033
- State?: State | string;
2043
+ State?: State;
2034
2044
  /**
2035
2045
  * @public
2036
2046
  * <p>The reason for the function's current state.</p>
@@ -2041,13 +2051,13 @@ export interface FunctionConfiguration {
2041
2051
  * <p>The reason code for the function's current state. When the code is <code>Creating</code>, you can't invoke or
2042
2052
  * modify the function.</p>
2043
2053
  */
2044
- StateReasonCode?: StateReasonCode | string;
2054
+ StateReasonCode?: StateReasonCode;
2045
2055
  /**
2046
2056
  * @public
2047
2057
  * <p>The status of the last update that was performed on the function. This is first set to <code>Successful</code>
2048
2058
  * after function creation completes.</p>
2049
2059
  */
2050
- LastUpdateStatus?: LastUpdateStatus | string;
2060
+ LastUpdateStatus?: LastUpdateStatus;
2051
2061
  /**
2052
2062
  * @public
2053
2063
  * <p>The reason for the last update that was performed on the function.</p>
@@ -2057,7 +2067,7 @@ export interface FunctionConfiguration {
2057
2067
  * @public
2058
2068
  * <p>The reason code for the last update that was performed on the function.</p>
2059
2069
  */
2060
- LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode | string;
2070
+ LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode;
2061
2071
  /**
2062
2072
  * @public
2063
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>
@@ -2067,7 +2077,7 @@ export interface FunctionConfiguration {
2067
2077
  * @public
2068
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>
2069
2079
  */
2070
- PackageType?: PackageType | string;
2080
+ PackageType?: PackageType;
2071
2081
  /**
2072
2082
  * @public
2073
2083
  * <p>The function's image configuration values.</p>
@@ -2088,7 +2098,7 @@ export interface FunctionConfiguration {
2088
2098
  * <p>The instruction set architecture that the function supports. Architecture is a string array with one of the
2089
2099
  * valid values. The default architecture value is <code>x86_64</code>.</p>
2090
2100
  */
2091
- Architectures?: (Architecture | string)[];
2101
+ Architectures?: Architecture[];
2092
2102
  /**
2093
2103
  * @public
2094
2104
  * <p>The size of the function’s <code>/tmp</code> directory in MB. The default value is 512, but it can be any
@@ -2219,7 +2229,7 @@ export interface CreateFunctionUrlConfigRequest {
2219
2229
  * users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
2220
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>
2221
2231
  */
2222
- AuthType: FunctionUrlAuthType | string | undefined;
2232
+ AuthType: FunctionUrlAuthType | undefined;
2223
2233
  /**
2224
2234
  * @public
2225
2235
  * <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
@@ -2242,7 +2252,7 @@ export interface CreateFunctionUrlConfigRequest {
2242
2252
  * </li>
2243
2253
  * </ul>
2244
2254
  */
2245
- InvokeMode?: InvokeMode | string;
2255
+ InvokeMode?: InvokeMode;
2246
2256
  }
2247
2257
  /**
2248
2258
  * @public
@@ -2264,7 +2274,7 @@ export interface CreateFunctionUrlConfigResponse {
2264
2274
  * users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
2265
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>
2266
2276
  */
2267
- AuthType: FunctionUrlAuthType | string | undefined;
2277
+ AuthType: FunctionUrlAuthType | undefined;
2268
2278
  /**
2269
2279
  * @public
2270
2280
  * <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
@@ -2292,7 +2302,7 @@ export interface CreateFunctionUrlConfigResponse {
2292
2302
  * </li>
2293
2303
  * </ul>
2294
2304
  */
2295
- InvokeMode?: InvokeMode | string;
2305
+ InvokeMode?: InvokeMode;
2296
2306
  }
2297
2307
  /**
2298
2308
  * @public
@@ -3033,7 +3043,7 @@ export interface GetFunctionUrlConfigResponse {
3033
3043
  * users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
3034
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>
3035
3045
  */
3036
- AuthType: FunctionUrlAuthType | string | undefined;
3046
+ AuthType: FunctionUrlAuthType | undefined;
3037
3047
  /**
3038
3048
  * @public
3039
3049
  * <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
@@ -3066,7 +3076,7 @@ export interface GetFunctionUrlConfigResponse {
3066
3076
  * </li>
3067
3077
  * </ul>
3068
3078
  */
3069
- InvokeMode?: InvokeMode | string;
3079
+ InvokeMode?: InvokeMode;
3070
3080
  }
3071
3081
  /**
3072
3082
  * @public
@@ -3154,7 +3164,7 @@ export interface GetLayerVersionResponse {
3154
3164
  * <p>The layer's compatible runtimes.</p>
3155
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>
3156
3166
  */
3157
- CompatibleRuntimes?: (Runtime | string)[];
3167
+ CompatibleRuntimes?: Runtime[];
3158
3168
  /**
3159
3169
  * @public
3160
3170
  * <p>The layer's software license.</p>
@@ -3165,7 +3175,7 @@ export interface GetLayerVersionResponse {
3165
3175
  * <p>A list of compatible
3166
3176
  * <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
3167
3177
  */
3168
- CompatibleArchitectures?: (Architecture | string)[];
3178
+ CompatibleArchitectures?: Architecture[];
3169
3179
  }
3170
3180
  /**
3171
3181
  * @public
@@ -3326,7 +3336,7 @@ export interface GetProvisionedConcurrencyConfigResponse {
3326
3336
  * @public
3327
3337
  * <p>The status of the allocation process.</p>
3328
3338
  */
3329
- Status?: ProvisionedConcurrencyStatusEnum | string;
3339
+ Status?: ProvisionedConcurrencyStatusEnum;
3330
3340
  /**
3331
3341
  * @public
3332
3342
  * <p>For failed allocations, the reason that provisioned concurrency could not be allocated.</p>
@@ -3407,7 +3417,7 @@ export interface GetRuntimeManagementConfigResponse {
3407
3417
  * @public
3408
3418
  * <p>The current runtime update mode of the function.</p>
3409
3419
  */
3410
- UpdateRuntimeOn?: UpdateRuntimeOn | string;
3420
+ UpdateRuntimeOn?: UpdateRuntimeOn;
3411
3421
  /**
3412
3422
  * @public
3413
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>
@@ -3687,12 +3697,12 @@ export interface InvocationRequest {
3687
3697
  * </li>
3688
3698
  * </ul>
3689
3699
  */
3690
- InvocationType?: InvocationType | string;
3700
+ InvocationType?: InvocationType;
3691
3701
  /**
3692
3702
  * @public
3693
3703
  * <p>Set to <code>Tail</code> to include the execution log in the response. Applies to synchronously invoked functions only.</p>
3694
3704
  */
3695
- LogType?: LogType | string;
3705
+ LogType?: LogType;
3696
3706
  /**
3697
3707
  * @public
3698
3708
  * <p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context
@@ -4034,12 +4044,12 @@ export interface InvokeWithResponseStreamRequest {
4034
4044
  * </li>
4035
4045
  * </ul>
4036
4046
  */
4037
- InvocationType?: ResponseStreamingInvocationType | string;
4047
+ InvocationType?: ResponseStreamingInvocationType;
4038
4048
  /**
4039
4049
  * @public
4040
4050
  * <p>Set to <code>Tail</code> to include the execution log in the response. Applies to synchronously invoked functions only.</p>
4041
4051
  */
4042
- LogType?: LogType | string;
4052
+ LogType?: LogType;
4043
4053
  /**
4044
4054
  * @public
4045
4055
  * <p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context
@@ -4422,7 +4432,7 @@ export interface ListFunctionsRequest {
4422
4432
  * @public
4423
4433
  * <p>Set to <code>ALL</code> to include entries for all published versions of each function.</p>
4424
4434
  */
4425
- FunctionVersion?: FunctionVersion | string;
4435
+ FunctionVersion?: FunctionVersion;
4426
4436
  /**
4427
4437
  * @public
4428
4438
  * <p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>
@@ -4563,7 +4573,7 @@ export interface FunctionUrlConfig {
4563
4573
  * users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
4564
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>
4565
4575
  */
4566
- AuthType: FunctionUrlAuthType | string | undefined;
4576
+ AuthType: FunctionUrlAuthType | undefined;
4567
4577
  /**
4568
4578
  * @public
4569
4579
  * <p>Use one of the following options:</p>
@@ -4582,7 +4592,7 @@ export interface FunctionUrlConfig {
4582
4592
  * </li>
4583
4593
  * </ul>
4584
4594
  */
4585
- InvokeMode?: InvokeMode | string;
4595
+ InvokeMode?: InvokeMode;
4586
4596
  }
4587
4597
  /**
4588
4598
  * @public
@@ -4608,7 +4618,7 @@ export interface ListLayersRequest {
4608
4618
  * <p>A runtime identifier. For example, <code>go1.x</code>.</p>
4609
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>
4610
4620
  */
4611
- CompatibleRuntime?: Runtime | string;
4621
+ CompatibleRuntime?: Runtime;
4612
4622
  /**
4613
4623
  * @public
4614
4624
  * <p>A pagination token returned by a previous call.</p>
@@ -4624,7 +4634,7 @@ export interface ListLayersRequest {
4624
4634
  * <p>The compatible
4625
4635
  * <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p>
4626
4636
  */
4627
- CompatibleArchitecture?: Architecture | string;
4637
+ CompatibleArchitecture?: Architecture;
4628
4638
  }
4629
4639
  /**
4630
4640
  * @public
@@ -4657,7 +4667,7 @@ export interface LayerVersionsListItem {
4657
4667
  * <p>The layer's compatible runtimes.</p>
4658
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>
4659
4669
  */
4660
- CompatibleRuntimes?: (Runtime | string)[];
4670
+ CompatibleRuntimes?: Runtime[];
4661
4671
  /**
4662
4672
  * @public
4663
4673
  * <p>The layer's open-source license.</p>
@@ -4668,7 +4678,7 @@ export interface LayerVersionsListItem {
4668
4678
  * <p>A list of compatible
4669
4679
  * <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
4670
4680
  */
4671
- CompatibleArchitectures?: (Architecture | string)[];
4681
+ CompatibleArchitectures?: Architecture[];
4672
4682
  }
4673
4683
  /**
4674
4684
  * @public
@@ -4716,7 +4726,7 @@ export interface ListLayerVersionsRequest {
4716
4726
  * <p>A runtime identifier. For example, <code>go1.x</code>.</p>
4717
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>
4718
4728
  */
4719
- CompatibleRuntime?: Runtime | string;
4729
+ CompatibleRuntime?: Runtime;
4720
4730
  /**
4721
4731
  * @public
4722
4732
  * <p>The name or Amazon Resource Name (ARN) of the layer.</p>
@@ -4737,7 +4747,7 @@ export interface ListLayerVersionsRequest {
4737
4747
  * <p>The compatible
4738
4748
  * <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p>
4739
4749
  */
4740
- CompatibleArchitecture?: Architecture | string;
4750
+ CompatibleArchitecture?: Architecture;
4741
4751
  }
4742
4752
  /**
4743
4753
  * @public
@@ -4822,7 +4832,7 @@ export interface ProvisionedConcurrencyConfigListItem {
4822
4832
  * @public
4823
4833
  * <p>The status of the allocation process.</p>
4824
4834
  */
4825
- Status?: ProvisionedConcurrencyStatusEnum | string;
4835
+ Status?: ProvisionedConcurrencyStatusEnum;
4826
4836
  /**
4827
4837
  * @public
4828
4838
  * <p>For failed allocations, the reason that provisioned concurrency could not be allocated.</p>
@@ -4979,7 +4989,7 @@ export interface PublishLayerVersionRequest {
4979
4989
  * runtimes</a>. Used for filtering with <a>ListLayers</a> and <a>ListLayerVersions</a>.</p>
4980
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>
4981
4991
  */
4982
- CompatibleRuntimes?: (Runtime | string)[];
4992
+ CompatibleRuntimes?: Runtime[];
4983
4993
  /**
4984
4994
  * @public
4985
4995
  * <p>The layer's software license. It can be any of the following:</p>
@@ -5003,7 +5013,7 @@ export interface PublishLayerVersionRequest {
5003
5013
  * <p>A list of compatible
5004
5014
  * <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
5005
5015
  */
5006
- CompatibleArchitectures?: (Architecture | string)[];
5016
+ CompatibleArchitectures?: Architecture[];
5007
5017
  }
5008
5018
  /**
5009
5019
  * @public
@@ -5044,7 +5054,7 @@ export interface PublishLayerVersionResponse {
5044
5054
  * <p>The layer's compatible runtimes.</p>
5045
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>
5046
5056
  */
5047
- CompatibleRuntimes?: (Runtime | string)[];
5057
+ CompatibleRuntimes?: Runtime[];
5048
5058
  /**
5049
5059
  * @public
5050
5060
  * <p>The layer's software license.</p>
@@ -5055,7 +5065,7 @@ export interface PublishLayerVersionResponse {
5055
5065
  * <p>A list of compatible
5056
5066
  * <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>
5057
5067
  */
5058
- CompatibleArchitectures?: (Architecture | string)[];
5068
+ CompatibleArchitectures?: Architecture[];
5059
5069
  }
5060
5070
  /**
5061
5071
  * @public
@@ -5338,7 +5348,7 @@ export interface PutProvisionedConcurrencyConfigResponse {
5338
5348
  * @public
5339
5349
  * <p>The status of the allocation process.</p>
5340
5350
  */
5341
- Status?: ProvisionedConcurrencyStatusEnum | string;
5351
+ Status?: ProvisionedConcurrencyStatusEnum;
5342
5352
  /**
5343
5353
  * @public
5344
5354
  * <p>For failed allocations, the reason that provisioned concurrency could not be allocated.</p>
@@ -5407,7 +5417,7 @@ export interface PutRuntimeManagementConfigRequest {
5407
5417
  * </li>
5408
5418
  * </ul>
5409
5419
  */
5410
- UpdateRuntimeOn: UpdateRuntimeOn | string | undefined;
5420
+ UpdateRuntimeOn: UpdateRuntimeOn | undefined;
5411
5421
  /**
5412
5422
  * @public
5413
5423
  * <p>The ARN of the runtime version you want the function to use.</p>
@@ -5425,7 +5435,7 @@ export interface PutRuntimeManagementConfigResponse {
5425
5435
  * @public
5426
5436
  * <p>The runtime update mode.</p>
5427
5437
  */
5428
- UpdateRuntimeOn: UpdateRuntimeOn | string | undefined;
5438
+ UpdateRuntimeOn: UpdateRuntimeOn | undefined;
5429
5439
  /**
5430
5440
  * @public
5431
5441
  * <p>The ARN of the function</p>
@@ -5764,7 +5774,7 @@ export interface UpdateEventSourceMappingRequest {
5764
5774
  * @public
5765
5775
  * <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
5766
5776
  */
5767
- FunctionResponseTypes?: (FunctionResponseType | string)[];
5777
+ FunctionResponseTypes?: FunctionResponseType[];
5768
5778
  /**
5769
5779
  * @public
5770
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>
@@ -5855,7 +5865,7 @@ export interface UpdateFunctionCodeRequest {
5855
5865
  * <p>The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64).
5856
5866
  * The default value is <code>x86_64</code>.</p>
5857
5867
  */
5858
- Architectures?: (Architecture | string)[];
5868
+ Architectures?: Architecture[];
5859
5869
  }
5860
5870
  /**
5861
5871
  * @public
@@ -5932,7 +5942,7 @@ export interface UpdateFunctionConfigurationRequest {
5932
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>
5933
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>
5934
5944
  */
5935
- Runtime?: Runtime | string;
5945
+ Runtime?: Runtime;
5936
5946
  /**
5937
5947
  * @public
5938
5948
  * <p>A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events
@@ -6100,7 +6110,7 @@ export interface UpdateFunctionUrlConfigRequest {
6100
6110
  * users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
6101
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>
6102
6112
  */
6103
- AuthType?: FunctionUrlAuthType | string;
6113
+ AuthType?: FunctionUrlAuthType;
6104
6114
  /**
6105
6115
  * @public
6106
6116
  * <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
@@ -6123,7 +6133,7 @@ export interface UpdateFunctionUrlConfigRequest {
6123
6133
  * </li>
6124
6134
  * </ul>
6125
6135
  */
6126
- InvokeMode?: InvokeMode | string;
6136
+ InvokeMode?: InvokeMode;
6127
6137
  }
6128
6138
  /**
6129
6139
  * @public
@@ -6145,7 +6155,7 @@ export interface UpdateFunctionUrlConfigResponse {
6145
6155
  * users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a public endpoint. For more information,
6146
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>
6147
6157
  */
6148
- AuthType: FunctionUrlAuthType | string | undefined;
6158
+ AuthType: FunctionUrlAuthType | undefined;
6149
6159
  /**
6150
6160
  * @public
6151
6161
  * <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">cross-origin resource sharing (CORS)</a> settings
@@ -6178,7 +6188,7 @@ export interface UpdateFunctionUrlConfigResponse {
6178
6188
  * </li>
6179
6189
  * </ul>
6180
6190
  */
6181
- InvokeMode?: InvokeMode | string;
6191
+ InvokeMode?: InvokeMode;
6182
6192
  }
6183
6193
  /**
6184
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 | string;
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 | string;
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 | string;
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 | string;
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<string, string[]>;
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 | string;
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 | string;
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?: (FunctionResponseType | string)[];
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 | string;
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?: (FunctionResponseType | string)[];
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 | string;
397
+ ApplyOn?: SnapStartApplyOn;
398
398
  }
399
399
  export declare const TracingMode: {
400
400
  readonly Active: "Active";
@@ -402,15 +402,16 @@ export declare const TracingMode: {
402
402
  };
403
403
  export type TracingMode = (typeof TracingMode)[keyof typeof TracingMode];
404
404
  export interface TracingConfig {
405
- Mode?: TracingMode | string;
405
+ Mode?: TracingMode;
406
406
  }
407
407
  export interface VpcConfig {
408
408
  SubnetIds?: string[];
409
409
  SecurityGroupIds?: string[];
410
+ Ipv6AllowedForDualStack?: boolean;
410
411
  }
411
412
  export interface CreateFunctionRequest {
412
413
  FunctionName: string | undefined;
413
- Runtime?: Runtime | string;
414
+ Runtime?: Runtime;
414
415
  Role: string | undefined;
415
416
  Handler?: string;
416
417
  Code: FunctionCode | undefined;
@@ -419,7 +420,7 @@ export interface CreateFunctionRequest {
419
420
  MemorySize?: number;
420
421
  Publish?: boolean;
421
422
  VpcConfig?: VpcConfig;
422
- PackageType?: PackageType | string;
423
+ PackageType?: PackageType;
423
424
  DeadLetterConfig?: DeadLetterConfig;
424
425
  Environment?: Environment;
425
426
  KMSKeyArn?: string;
@@ -429,7 +430,7 @@ export interface CreateFunctionRequest {
429
430
  FileSystemConfigs?: FileSystemConfig[];
430
431
  ImageConfig?: ImageConfig;
431
432
  CodeSigningConfigArn?: string;
432
- Architectures?: (Architecture | string)[];
433
+ Architectures?: Architecture[];
433
434
  EphemeralStorage?: EphemeralStorage;
434
435
  SnapStart?: SnapStart;
435
436
  }
@@ -502,8 +503,8 @@ export declare const SnapStartOptimizationStatus: {
502
503
  export type SnapStartOptimizationStatus =
503
504
  (typeof SnapStartOptimizationStatus)[keyof typeof SnapStartOptimizationStatus];
504
505
  export interface SnapStartResponse {
505
- ApplyOn?: SnapStartApplyOn | string;
506
- OptimizationStatus?: SnapStartOptimizationStatus | string;
506
+ ApplyOn?: SnapStartApplyOn;
507
+ OptimizationStatus?: SnapStartOptimizationStatus;
507
508
  }
508
509
  export declare const State: {
509
510
  readonly Active: "Active";
@@ -541,17 +542,18 @@ export declare const StateReasonCode: {
541
542
  export type StateReasonCode =
542
543
  (typeof StateReasonCode)[keyof typeof StateReasonCode];
543
544
  export interface TracingConfigResponse {
544
- Mode?: TracingMode | string;
545
+ Mode?: TracingMode;
545
546
  }
546
547
  export interface VpcConfigResponse {
547
548
  SubnetIds?: string[];
548
549
  SecurityGroupIds?: string[];
549
550
  VpcId?: string;
551
+ Ipv6AllowedForDualStack?: boolean;
550
552
  }
551
553
  export interface FunctionConfiguration {
552
554
  FunctionName?: string;
553
555
  FunctionArn?: string;
554
- Runtime?: Runtime | string;
556
+ Runtime?: Runtime;
555
557
  Role?: string;
556
558
  Handler?: string;
557
559
  CodeSize?: number;
@@ -569,18 +571,18 @@ export interface FunctionConfiguration {
569
571
  MasterArn?: string;
570
572
  RevisionId?: string;
571
573
  Layers?: Layer[];
572
- State?: State | string;
574
+ State?: State;
573
575
  StateReason?: string;
574
- StateReasonCode?: StateReasonCode | string;
575
- LastUpdateStatus?: LastUpdateStatus | string;
576
+ StateReasonCode?: StateReasonCode;
577
+ LastUpdateStatus?: LastUpdateStatus;
576
578
  LastUpdateStatusReason?: string;
577
- LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode | string;
579
+ LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode;
578
580
  FileSystemConfigs?: FileSystemConfig[];
579
- PackageType?: PackageType | string;
581
+ PackageType?: PackageType;
580
582
  ImageConfigResponse?: ImageConfigResponse;
581
583
  SigningProfileVersionArn?: string;
582
584
  SigningJobArn?: string;
583
- Architectures?: (Architecture | string)[];
585
+ Architectures?: Architecture[];
584
586
  EphemeralStorage?: EphemeralStorage;
585
587
  SnapStart?: SnapStartResponse;
586
588
  RuntimeVersionConfig?: RuntimeVersionConfig;
@@ -610,17 +612,17 @@ export type InvokeMode = (typeof InvokeMode)[keyof typeof InvokeMode];
610
612
  export interface CreateFunctionUrlConfigRequest {
611
613
  FunctionName: string | undefined;
612
614
  Qualifier?: string;
613
- AuthType: FunctionUrlAuthType | string | undefined;
615
+ AuthType: FunctionUrlAuthType | undefined;
614
616
  Cors?: Cors;
615
- InvokeMode?: InvokeMode | string;
617
+ InvokeMode?: InvokeMode;
616
618
  }
617
619
  export interface CreateFunctionUrlConfigResponse {
618
620
  FunctionUrl: string | undefined;
619
621
  FunctionArn: string | undefined;
620
- AuthType: FunctionUrlAuthType | string | undefined;
622
+ AuthType: FunctionUrlAuthType | undefined;
621
623
  Cors?: Cors;
622
624
  CreationTime: string | undefined;
623
- InvokeMode?: InvokeMode | string;
625
+ InvokeMode?: InvokeMode;
624
626
  }
625
627
  export interface DeleteAliasRequest {
626
628
  FunctionName: string | undefined;
@@ -740,11 +742,11 @@ export interface GetFunctionUrlConfigRequest {
740
742
  export interface GetFunctionUrlConfigResponse {
741
743
  FunctionUrl: string | undefined;
742
744
  FunctionArn: string | undefined;
743
- AuthType: FunctionUrlAuthType | string | undefined;
745
+ AuthType: FunctionUrlAuthType | undefined;
744
746
  Cors?: Cors;
745
747
  CreationTime: string | undefined;
746
748
  LastModifiedTime: string | undefined;
747
- InvokeMode?: InvokeMode | string;
749
+ InvokeMode?: InvokeMode;
748
750
  }
749
751
  export interface GetLayerVersionRequest {
750
752
  LayerName: string | undefined;
@@ -764,9 +766,9 @@ export interface GetLayerVersionResponse {
764
766
  Description?: string;
765
767
  CreatedDate?: string;
766
768
  Version?: number;
767
- CompatibleRuntimes?: (Runtime | string)[];
769
+ CompatibleRuntimes?: Runtime[];
768
770
  LicenseInfo?: string;
769
- CompatibleArchitectures?: (Architecture | string)[];
771
+ CompatibleArchitectures?: Architecture[];
770
772
  }
771
773
  export interface GetLayerVersionByArnRequest {
772
774
  Arn: string | undefined;
@@ -802,7 +804,7 @@ export interface GetProvisionedConcurrencyConfigResponse {
802
804
  RequestedProvisionedConcurrentExecutions?: number;
803
805
  AvailableProvisionedConcurrentExecutions?: number;
804
806
  AllocatedProvisionedConcurrentExecutions?: number;
805
- Status?: ProvisionedConcurrencyStatusEnum | string;
807
+ Status?: ProvisionedConcurrencyStatusEnum;
806
808
  StatusReason?: string;
807
809
  LastModified?: string;
808
810
  }
@@ -829,7 +831,7 @@ export declare const UpdateRuntimeOn: {
829
831
  export type UpdateRuntimeOn =
830
832
  (typeof UpdateRuntimeOn)[keyof typeof UpdateRuntimeOn];
831
833
  export interface GetRuntimeManagementConfigResponse {
832
- UpdateRuntimeOn?: UpdateRuntimeOn | string;
834
+ UpdateRuntimeOn?: UpdateRuntimeOn;
833
835
  RuntimeVersionArn?: string;
834
836
  FunctionArn?: string;
835
837
  }
@@ -965,8 +967,8 @@ export declare const LogType: {
965
967
  export type LogType = (typeof LogType)[keyof typeof LogType];
966
968
  export interface InvocationRequest {
967
969
  FunctionName: string | undefined;
968
- InvocationType?: InvocationType | string;
969
- LogType?: LogType | string;
970
+ InvocationType?: InvocationType;
971
+ LogType?: LogType;
970
972
  ClientContext?: string;
971
973
  Payload?: Uint8Array;
972
974
  Qualifier?: string;
@@ -1099,8 +1101,8 @@ export type ResponseStreamingInvocationType =
1099
1101
  (typeof ResponseStreamingInvocationType)[keyof typeof ResponseStreamingInvocationType];
1100
1102
  export interface InvokeWithResponseStreamRequest {
1101
1103
  FunctionName: string | undefined;
1102
- InvocationType?: ResponseStreamingInvocationType | string;
1103
- LogType?: LogType | string;
1104
+ InvocationType?: ResponseStreamingInvocationType;
1105
+ LogType?: LogType;
1104
1106
  ClientContext?: string;
1105
1107
  Qualifier?: string;
1106
1108
  Payload?: Uint8Array;
@@ -1193,7 +1195,7 @@ export type FunctionVersion =
1193
1195
  (typeof FunctionVersion)[keyof typeof FunctionVersion];
1194
1196
  export interface ListFunctionsRequest {
1195
1197
  MasterRegion?: string;
1196
- FunctionVersion?: FunctionVersion | string;
1198
+ FunctionVersion?: FunctionVersion;
1197
1199
  Marker?: string;
1198
1200
  MaxItems?: number;
1199
1201
  }
@@ -1221,27 +1223,27 @@ export interface FunctionUrlConfig {
1221
1223
  CreationTime: string | undefined;
1222
1224
  LastModifiedTime: string | undefined;
1223
1225
  Cors?: Cors;
1224
- AuthType: FunctionUrlAuthType | string | undefined;
1225
- InvokeMode?: InvokeMode | string;
1226
+ AuthType: FunctionUrlAuthType | undefined;
1227
+ InvokeMode?: InvokeMode;
1226
1228
  }
1227
1229
  export interface ListFunctionUrlConfigsResponse {
1228
1230
  FunctionUrlConfigs: FunctionUrlConfig[] | undefined;
1229
1231
  NextMarker?: string;
1230
1232
  }
1231
1233
  export interface ListLayersRequest {
1232
- CompatibleRuntime?: Runtime | string;
1234
+ CompatibleRuntime?: Runtime;
1233
1235
  Marker?: string;
1234
1236
  MaxItems?: number;
1235
- CompatibleArchitecture?: Architecture | string;
1237
+ CompatibleArchitecture?: Architecture;
1236
1238
  }
1237
1239
  export interface LayerVersionsListItem {
1238
1240
  LayerVersionArn?: string;
1239
1241
  Version?: number;
1240
1242
  Description?: string;
1241
1243
  CreatedDate?: string;
1242
- CompatibleRuntimes?: (Runtime | string)[];
1244
+ CompatibleRuntimes?: Runtime[];
1243
1245
  LicenseInfo?: string;
1244
- CompatibleArchitectures?: (Architecture | string)[];
1246
+ CompatibleArchitectures?: Architecture[];
1245
1247
  }
1246
1248
  export interface LayersListItem {
1247
1249
  LayerName?: string;
@@ -1253,11 +1255,11 @@ export interface ListLayersResponse {
1253
1255
  Layers?: LayersListItem[];
1254
1256
  }
1255
1257
  export interface ListLayerVersionsRequest {
1256
- CompatibleRuntime?: Runtime | string;
1258
+ CompatibleRuntime?: Runtime;
1257
1259
  LayerName: string | undefined;
1258
1260
  Marker?: string;
1259
1261
  MaxItems?: number;
1260
- CompatibleArchitecture?: Architecture | string;
1262
+ CompatibleArchitecture?: Architecture;
1261
1263
  }
1262
1264
  export interface ListLayerVersionsResponse {
1263
1265
  NextMarker?: string;
@@ -1273,7 +1275,7 @@ export interface ProvisionedConcurrencyConfigListItem {
1273
1275
  RequestedProvisionedConcurrentExecutions?: number;
1274
1276
  AvailableProvisionedConcurrentExecutions?: number;
1275
1277
  AllocatedProvisionedConcurrentExecutions?: number;
1276
- Status?: ProvisionedConcurrencyStatusEnum | string;
1278
+ Status?: ProvisionedConcurrencyStatusEnum;
1277
1279
  StatusReason?: string;
1278
1280
  LastModified?: string;
1279
1281
  }
@@ -1306,9 +1308,9 @@ export interface PublishLayerVersionRequest {
1306
1308
  LayerName: string | undefined;
1307
1309
  Description?: string;
1308
1310
  Content: LayerVersionContentInput | undefined;
1309
- CompatibleRuntimes?: (Runtime | string)[];
1311
+ CompatibleRuntimes?: Runtime[];
1310
1312
  LicenseInfo?: string;
1311
- CompatibleArchitectures?: (Architecture | string)[];
1313
+ CompatibleArchitectures?: Architecture[];
1312
1314
  }
1313
1315
  export interface PublishLayerVersionResponse {
1314
1316
  Content?: LayerVersionContentOutput;
@@ -1317,9 +1319,9 @@ export interface PublishLayerVersionResponse {
1317
1319
  Description?: string;
1318
1320
  CreatedDate?: string;
1319
1321
  Version?: number;
1320
- CompatibleRuntimes?: (Runtime | string)[];
1322
+ CompatibleRuntimes?: Runtime[];
1321
1323
  LicenseInfo?: string;
1322
- CompatibleArchitectures?: (Architecture | string)[];
1324
+ CompatibleArchitectures?: Architecture[];
1323
1325
  }
1324
1326
  export interface PublishVersionRequest {
1325
1327
  FunctionName: string | undefined;
@@ -1355,18 +1357,18 @@ export interface PutProvisionedConcurrencyConfigResponse {
1355
1357
  RequestedProvisionedConcurrentExecutions?: number;
1356
1358
  AvailableProvisionedConcurrentExecutions?: number;
1357
1359
  AllocatedProvisionedConcurrentExecutions?: number;
1358
- Status?: ProvisionedConcurrencyStatusEnum | string;
1360
+ Status?: ProvisionedConcurrencyStatusEnum;
1359
1361
  StatusReason?: string;
1360
1362
  LastModified?: string;
1361
1363
  }
1362
1364
  export interface PutRuntimeManagementConfigRequest {
1363
1365
  FunctionName: string | undefined;
1364
1366
  Qualifier?: string;
1365
- UpdateRuntimeOn: UpdateRuntimeOn | string | undefined;
1367
+ UpdateRuntimeOn: UpdateRuntimeOn | undefined;
1366
1368
  RuntimeVersionArn?: string;
1367
1369
  }
1368
1370
  export interface PutRuntimeManagementConfigResponse {
1369
- UpdateRuntimeOn: UpdateRuntimeOn | string | undefined;
1371
+ UpdateRuntimeOn: UpdateRuntimeOn | undefined;
1370
1372
  FunctionArn: string | undefined;
1371
1373
  RuntimeVersionArn?: string;
1372
1374
  }
@@ -1421,7 +1423,7 @@ export interface UpdateEventSourceMappingRequest {
1421
1423
  ParallelizationFactor?: number;
1422
1424
  SourceAccessConfigurations?: SourceAccessConfiguration[];
1423
1425
  TumblingWindowInSeconds?: number;
1424
- FunctionResponseTypes?: (FunctionResponseType | string)[];
1426
+ FunctionResponseTypes?: FunctionResponseType[];
1425
1427
  ScalingConfig?: ScalingConfig;
1426
1428
  DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
1427
1429
  }
@@ -1435,7 +1437,7 @@ export interface UpdateFunctionCodeRequest {
1435
1437
  Publish?: boolean;
1436
1438
  DryRun?: boolean;
1437
1439
  RevisionId?: string;
1438
- Architectures?: (Architecture | string)[];
1440
+ Architectures?: Architecture[];
1439
1441
  }
1440
1442
  export interface UpdateFunctionConfigurationRequest {
1441
1443
  FunctionName: string | undefined;
@@ -1446,7 +1448,7 @@ export interface UpdateFunctionConfigurationRequest {
1446
1448
  MemorySize?: number;
1447
1449
  VpcConfig?: VpcConfig;
1448
1450
  Environment?: Environment;
1449
- Runtime?: Runtime | string;
1451
+ Runtime?: Runtime;
1450
1452
  DeadLetterConfig?: DeadLetterConfig;
1451
1453
  KMSKeyArn?: string;
1452
1454
  TracingConfig?: TracingConfig;
@@ -1467,18 +1469,18 @@ export interface UpdateFunctionEventInvokeConfigRequest {
1467
1469
  export interface UpdateFunctionUrlConfigRequest {
1468
1470
  FunctionName: string | undefined;
1469
1471
  Qualifier?: string;
1470
- AuthType?: FunctionUrlAuthType | string;
1472
+ AuthType?: FunctionUrlAuthType;
1471
1473
  Cors?: Cors;
1472
- InvokeMode?: InvokeMode | string;
1474
+ InvokeMode?: InvokeMode;
1473
1475
  }
1474
1476
  export interface UpdateFunctionUrlConfigResponse {
1475
1477
  FunctionUrl: string | undefined;
1476
1478
  FunctionArn: string | undefined;
1477
- AuthType: FunctionUrlAuthType | string | undefined;
1479
+ AuthType: FunctionUrlAuthType | undefined;
1478
1480
  Cors?: Cors;
1479
1481
  CreationTime: string | undefined;
1480
1482
  LastModifiedTime: string | undefined;
1481
- InvokeMode?: InvokeMode | string;
1483
+ InvokeMode?: InvokeMode;
1482
1484
  }
1483
1485
  export declare const FunctionCodeFilterSensitiveLog: (obj: FunctionCode) => any;
1484
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.427.0",
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,45 +21,45 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/eventstream-serde-browser": "^2.0.10",
38
- "@smithy/eventstream-serde-config-resolver": "^2.0.10",
39
- "@smithy/eventstream-serde-node": "^2.0.10",
40
- "@smithy/fetch-http-handler": "^2.2.1",
41
- "@smithy/hash-node": "^2.0.10",
42
- "@smithy/invalid-dependency": "^2.0.10",
43
- "@smithy/middleware-content-length": "^2.0.12",
44
- "@smithy/middleware-endpoint": "^2.0.10",
45
- "@smithy/middleware-retry": "^2.0.13",
46
- "@smithy/middleware-serde": "^2.0.10",
47
- "@smithy/middleware-stack": "^2.0.4",
48
- "@smithy/node-config-provider": "^2.0.13",
49
- "@smithy/node-http-handler": "^2.1.6",
50
- "@smithy/protocol-http": "^3.0.6",
51
- "@smithy/smithy-client": "^2.1.9",
52
- "@smithy/types": "^2.3.4",
53
- "@smithy/url-parser": "^2.0.10",
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
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/eventstream-serde-browser": "^2.0.11",
38
+ "@smithy/eventstream-serde-config-resolver": "^2.0.11",
39
+ "@smithy/eventstream-serde-node": "^2.0.11",
40
+ "@smithy/fetch-http-handler": "^2.2.3",
41
+ "@smithy/hash-node": "^2.0.11",
42
+ "@smithy/invalid-dependency": "^2.0.11",
43
+ "@smithy/middleware-content-length": "^2.0.13",
44
+ "@smithy/middleware-endpoint": "^2.1.1",
45
+ "@smithy/middleware-retry": "^2.0.16",
46
+ "@smithy/middleware-serde": "^2.0.11",
47
+ "@smithy/middleware-stack": "^2.0.5",
48
+ "@smithy/node-config-provider": "^2.1.1",
49
+ "@smithy/node-http-handler": "^2.1.7",
50
+ "@smithy/protocol-http": "^3.0.7",
51
+ "@smithy/smithy-client": "^2.1.11",
52
+ "@smithy/types": "^2.3.5",
53
+ "@smithy/url-parser": "^2.0.11",
54
54
  "@smithy/util-base64": "^2.0.0",
55
55
  "@smithy/util-body-length-browser": "^2.0.0",
56
56
  "@smithy/util-body-length-node": "^2.1.0",
57
- "@smithy/util-defaults-mode-browser": "^2.0.13",
58
- "@smithy/util-defaults-mode-node": "^2.0.15",
59
- "@smithy/util-retry": "^2.0.3",
60
- "@smithy/util-stream": "^2.0.14",
57
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
58
+ "@smithy/util-defaults-mode-node": "^2.0.19",
59
+ "@smithy/util-retry": "^2.0.4",
60
+ "@smithy/util-stream": "^2.0.16",
61
61
  "@smithy/util-utf8": "^2.0.0",
62
- "@smithy/util-waiter": "^2.0.10",
62
+ "@smithy/util-waiter": "^2.0.11",
63
63
  "tslib": "^2.5.0"
64
64
  },
65
65
  "devDependencies": {