@aws-sdk/client-lambda 3.939.0 → 3.942.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.
Files changed (68) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/index.js +630 -21
  3. package/dist-es/Lambda.js +16 -0
  4. package/dist-es/commands/CreateCapacityProviderCommand.js +16 -0
  5. package/dist-es/commands/DeleteCapacityProviderCommand.js +16 -0
  6. package/dist-es/commands/GetCapacityProviderCommand.js +16 -0
  7. package/dist-es/commands/GetFunctionScalingConfigCommand.js +16 -0
  8. package/dist-es/commands/ListCapacityProvidersCommand.js +16 -0
  9. package/dist-es/commands/ListFunctionVersionsByCapacityProviderCommand.js +16 -0
  10. package/dist-es/commands/PutFunctionScalingConfigCommand.js +16 -0
  11. package/dist-es/commands/UpdateCapacityProviderCommand.js +16 -0
  12. package/dist-es/commands/index.js +8 -0
  13. package/dist-es/models/enums.js +50 -6
  14. package/dist-es/models/errors.js +44 -0
  15. package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
  16. package/dist-es/pagination/ListFunctionVersionsByCapacityProviderPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +2 -0
  18. package/dist-es/schemas/schemas_0.js +415 -16
  19. package/dist-types/Lambda.d.ts +57 -0
  20. package/dist-types/LambdaClient.d.ts +10 -2
  21. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +162 -0
  22. package/dist-types/commands/CreateFunctionCommand.d.ts +22 -3
  23. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +126 -0
  24. package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -4
  25. package/dist-types/commands/GetCapacityProviderCommand.d.ts +123 -0
  26. package/dist-types/commands/GetFunctionCommand.d.ts +11 -3
  27. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +11 -3
  28. package/dist-types/commands/GetFunctionScalingConfigCommand.d.ts +95 -0
  29. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  30. package/dist-types/commands/InvokeCommand.d.ts +4 -1
  31. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +4 -1
  32. package/dist-types/commands/ListCapacityProvidersCommand.d.ts +125 -0
  33. package/dist-types/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +95 -0
  34. package/dist-types/commands/ListFunctionsCommand.d.ts +11 -3
  35. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +11 -3
  36. package/dist-types/commands/PublishVersionCommand.d.ts +15 -3
  37. package/dist-types/commands/PutFunctionScalingConfigCommand.d.ts +94 -0
  38. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +136 -0
  39. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +12 -3
  40. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +18 -3
  41. package/dist-types/commands/index.d.ts +8 -0
  42. package/dist-types/models/enums.d.ts +90 -14
  43. package/dist-types/models/errors.d.ts +53 -1
  44. package/dist-types/models/models_0.d.ts +642 -147
  45. package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
  46. package/dist-types/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +2 -0
  48. package/dist-types/schemas/schemas_0.d.ts +44 -0
  49. package/dist-types/ts3.4/Lambda.d.ts +143 -0
  50. package/dist-types/ts3.4/LambdaClient.d.ts +48 -0
  51. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +8 -3
  54. package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetFunctionScalingConfigCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/PutFunctionScalingConfigCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  61. package/dist-types/ts3.4/models/enums.d.ts +59 -7
  62. package/dist-types/ts3.4/models/errors.d.ts +31 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +172 -42
  64. package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +11 -0
  66. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  67. package/dist-types/ts3.4/schemas/schemas_0.d.ts +44 -0
  68. package/package.json +5 -5
@@ -1,11 +1,13 @@
1
1
  export * from "./AddLayerVersionPermissionCommand";
2
2
  export * from "./AddPermissionCommand";
3
3
  export * from "./CreateAliasCommand";
4
+ export * from "./CreateCapacityProviderCommand";
4
5
  export * from "./CreateCodeSigningConfigCommand";
5
6
  export * from "./CreateEventSourceMappingCommand";
6
7
  export * from "./CreateFunctionCommand";
7
8
  export * from "./CreateFunctionUrlConfigCommand";
8
9
  export * from "./DeleteAliasCommand";
10
+ export * from "./DeleteCapacityProviderCommand";
9
11
  export * from "./DeleteCodeSigningConfigCommand";
10
12
  export * from "./DeleteEventSourceMappingCommand";
11
13
  export * from "./DeleteFunctionCodeSigningConfigCommand";
@@ -17,6 +19,7 @@ export * from "./DeleteLayerVersionCommand";
17
19
  export * from "./DeleteProvisionedConcurrencyConfigCommand";
18
20
  export * from "./GetAccountSettingsCommand";
19
21
  export * from "./GetAliasCommand";
22
+ export * from "./GetCapacityProviderCommand";
20
23
  export * from "./GetCodeSigningConfigCommand";
21
24
  export * from "./GetEventSourceMappingCommand";
22
25
  export * from "./GetFunctionCodeSigningConfigCommand";
@@ -25,6 +28,7 @@ export * from "./GetFunctionConcurrencyCommand";
25
28
  export * from "./GetFunctionConfigurationCommand";
26
29
  export * from "./GetFunctionEventInvokeConfigCommand";
27
30
  export * from "./GetFunctionRecursionConfigCommand";
31
+ export * from "./GetFunctionScalingConfigCommand";
28
32
  export * from "./GetFunctionUrlConfigCommand";
29
33
  export * from "./GetLayerVersionByArnCommand";
30
34
  export * from "./GetLayerVersionCommand";
@@ -36,10 +40,12 @@ export * from "./InvokeAsyncCommand";
36
40
  export * from "./InvokeCommand";
37
41
  export * from "./InvokeWithResponseStreamCommand";
38
42
  export * from "./ListAliasesCommand";
43
+ export * from "./ListCapacityProvidersCommand";
39
44
  export * from "./ListCodeSigningConfigsCommand";
40
45
  export * from "./ListEventSourceMappingsCommand";
41
46
  export * from "./ListFunctionEventInvokeConfigsCommand";
42
47
  export * from "./ListFunctionUrlConfigsCommand";
48
+ export * from "./ListFunctionVersionsByCapacityProviderCommand";
43
49
  export * from "./ListFunctionsByCodeSigningConfigCommand";
44
50
  export * from "./ListFunctionsCommand";
45
51
  export * from "./ListLayerVersionsCommand";
@@ -53,6 +59,7 @@ export * from "./PutFunctionCodeSigningConfigCommand";
53
59
  export * from "./PutFunctionConcurrencyCommand";
54
60
  export * from "./PutFunctionEventInvokeConfigCommand";
55
61
  export * from "./PutFunctionRecursionConfigCommand";
62
+ export * from "./PutFunctionScalingConfigCommand";
56
63
  export * from "./PutProvisionedConcurrencyConfigCommand";
57
64
  export * from "./PutRuntimeManagementConfigCommand";
58
65
  export * from "./RemoveLayerVersionPermissionCommand";
@@ -60,6 +67,7 @@ export * from "./RemovePermissionCommand";
60
67
  export * from "./TagResourceCommand";
61
68
  export * from "./UntagResourceCommand";
62
69
  export * from "./UpdateAliasCommand";
70
+ export * from "./UpdateCapacityProviderCommand";
63
71
  export * from "./UpdateCodeSigningConfigCommand";
64
72
  export * from "./UpdateEventSourceMappingCommand";
65
73
  export * from "./UpdateFunctionCodeCommand";
@@ -48,6 +48,36 @@ export declare const Architecture: {
48
48
  readonly x86_64: "x86_64";
49
49
  };
50
50
  export type Architecture = (typeof Architecture)[keyof typeof Architecture];
51
+ export declare const CapacityProviderScalingMode: {
52
+ readonly Auto: "Auto";
53
+ readonly Manual: "Manual";
54
+ };
55
+ export type CapacityProviderScalingMode =
56
+ (typeof CapacityProviderScalingMode)[keyof typeof CapacityProviderScalingMode];
57
+ export declare const CapacityProviderPredefinedMetricType: {
58
+ readonly LambdaCapacityProviderAverageCPUUtilization: "LambdaCapacityProviderAverageCPUUtilization";
59
+ };
60
+ export type CapacityProviderPredefinedMetricType =
61
+ (typeof CapacityProviderPredefinedMetricType)[keyof typeof CapacityProviderPredefinedMetricType];
62
+ export declare const CapacityProviderState: {
63
+ readonly Active: "Active";
64
+ readonly Deleting: "Deleting";
65
+ readonly Failed: "Failed";
66
+ readonly Pending: "Pending";
67
+ };
68
+ export type CapacityProviderState =
69
+ (typeof CapacityProviderState)[keyof typeof CapacityProviderState];
70
+ export declare const State: {
71
+ readonly Active: "Active";
72
+ readonly ActiveNonInvocable: "ActiveNonInvocable";
73
+ readonly Deactivated: "Deactivated";
74
+ readonly Deactivating: "Deactivating";
75
+ readonly Deleting: "Deleting";
76
+ readonly Failed: "Failed";
77
+ readonly Inactive: "Inactive";
78
+ readonly Pending: "Pending";
79
+ };
80
+ export type State = (typeof State)[keyof typeof State];
51
81
  export declare const CodeSigningPolicy: {
52
82
  readonly Enforce: "Enforce";
53
83
  readonly Warn: "Warn";
@@ -109,6 +139,11 @@ export declare const PackageType: {
109
139
  readonly Zip: "Zip";
110
140
  };
111
141
  export type PackageType = (typeof PackageType)[keyof typeof PackageType];
142
+ export declare const FunctionVersionLatestPublished: {
143
+ readonly LATEST_PUBLISHED: "LATEST_PUBLISHED";
144
+ };
145
+ export type FunctionVersionLatestPublished =
146
+ (typeof FunctionVersionLatestPublished)[keyof typeof FunctionVersionLatestPublished];
112
147
  export declare const Runtime: {
113
148
  readonly dotnet6: "dotnet6";
114
149
  readonly dotnet8: "dotnet8";
@@ -180,15 +215,26 @@ export declare const LastUpdateStatus: {
180
215
  export type LastUpdateStatus =
181
216
  (typeof LastUpdateStatus)[keyof typeof LastUpdateStatus];
182
217
  export declare const LastUpdateStatusReasonCode: {
218
+ readonly CapacityProviderScalingLimitExceeded: "CapacityProviderScalingLimitExceeded";
183
219
  readonly DisabledKMSKey: "DisabledKMSKey";
220
+ readonly EC2RequestLimitExceeded: "EC2RequestLimitExceeded";
184
221
  readonly EFSIOError: "EFSIOError";
185
222
  readonly EFSMountConnectivityError: "EFSMountConnectivityError";
186
223
  readonly EFSMountFailure: "EFSMountFailure";
187
224
  readonly EFSMountTimeout: "EFSMountTimeout";
188
225
  readonly EniLimitExceeded: "EniLimitExceeded";
189
226
  readonly FunctionError: "FunctionError";
227
+ readonly FunctionErrorExtensionInitError: "FunctionError.ExtensionInitError";
228
+ readonly FunctionErrorInitResourceExhausted: "FunctionError.InitResourceExhausted";
229
+ readonly FunctionErrorInitTimeout: "FunctionError.InitTimeout";
230
+ readonly FunctionErrorInvalidEntryPoint: "FunctionError.InvalidEntryPoint";
231
+ readonly FunctionErrorInvalidWorkingDirectory: "FunctionError.InvalidWorkingDirectory";
232
+ readonly FunctionErrorPermissionDenied: "FunctionError.PermissionDenied";
233
+ readonly FunctionErrorRuntimeInitError: "FunctionError.RuntimeInitError";
234
+ readonly FunctionErrorTooManyExtensions: "FunctionError.TooManyExtensions";
190
235
  readonly ImageAccessDenied: "ImageAccessDenied";
191
236
  readonly ImageDeleted: "ImageDeleted";
237
+ readonly InsufficientCapacity: "InsufficientCapacity";
192
238
  readonly InsufficientRolePermissions: "InsufficientRolePermissions";
193
239
  readonly InternalError: "InternalError";
194
240
  readonly InvalidConfiguration: "InvalidConfiguration";
@@ -201,6 +247,7 @@ export declare const LastUpdateStatusReasonCode: {
201
247
  readonly KMSKeyAccessDenied: "KMSKeyAccessDenied";
202
248
  readonly KMSKeyNotFound: "KMSKeyNotFound";
203
249
  readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
250
+ readonly VcpuLimitExceeded: "VcpuLimitExceeded";
204
251
  };
205
252
  export type LastUpdateStatusReasonCode =
206
253
  (typeof LastUpdateStatusReasonCode)[keyof typeof LastUpdateStatusReasonCode];
@@ -210,25 +257,29 @@ export declare const SnapStartOptimizationStatus: {
210
257
  };
211
258
  export type SnapStartOptimizationStatus =
212
259
  (typeof SnapStartOptimizationStatus)[keyof typeof SnapStartOptimizationStatus];
213
- export declare const State: {
214
- readonly Active: "Active";
215
- readonly Failed: "Failed";
216
- readonly Inactive: "Inactive";
217
- readonly Pending: "Pending";
218
- };
219
- export type State = (typeof State)[keyof typeof State];
220
260
  export declare const StateReasonCode: {
261
+ readonly CapacityProviderScalingLimitExceeded: "CapacityProviderScalingLimitExceeded";
221
262
  readonly Creating: "Creating";
222
263
  readonly DisabledKMSKey: "DisabledKMSKey";
264
+ readonly EC2RequestLimitExceeded: "EC2RequestLimitExceeded";
223
265
  readonly EFSIOError: "EFSIOError";
224
266
  readonly EFSMountConnectivityError: "EFSMountConnectivityError";
225
267
  readonly EFSMountFailure: "EFSMountFailure";
226
268
  readonly EFSMountTimeout: "EFSMountTimeout";
227
269
  readonly EniLimitExceeded: "EniLimitExceeded";
228
270
  readonly FunctionError: "FunctionError";
271
+ readonly FunctionErrorExtensionInitError: "FunctionError.ExtensionInitError";
272
+ readonly FunctionErrorInitResourceExhausted: "FunctionError.InitResourceExhausted";
273
+ readonly FunctionErrorInitTimeout: "FunctionError.InitTimeout";
274
+ readonly FunctionErrorInvalidEntryPoint: "FunctionError.InvalidEntryPoint";
275
+ readonly FunctionErrorInvalidWorkingDirectory: "FunctionError.InvalidWorkingDirectory";
276
+ readonly FunctionErrorPermissionDenied: "FunctionError.PermissionDenied";
277
+ readonly FunctionErrorRuntimeInitError: "FunctionError.RuntimeInitError";
278
+ readonly FunctionErrorTooManyExtensions: "FunctionError.TooManyExtensions";
229
279
  readonly Idle: "Idle";
230
280
  readonly ImageAccessDenied: "ImageAccessDenied";
231
281
  readonly ImageDeleted: "ImageDeleted";
282
+ readonly InsufficientCapacity: "InsufficientCapacity";
232
283
  readonly InsufficientRolePermissions: "InsufficientRolePermissions";
233
284
  readonly InternalError: "InternalError";
234
285
  readonly InvalidConfiguration: "InvalidConfiguration";
@@ -242,6 +293,7 @@ export declare const StateReasonCode: {
242
293
  readonly KMSKeyNotFound: "KMSKeyNotFound";
243
294
  readonly Restoring: "Restoring";
244
295
  readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
296
+ readonly VcpuLimitExceeded: "VcpuLimitExceeded";
245
297
  };
246
298
  export type StateReasonCode =
247
299
  (typeof StateReasonCode)[keyof typeof StateReasonCode];
@@ -59,6 +59,17 @@ export declare class TooManyRequestsException extends __BaseException {
59
59
  opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
60
60
  );
61
61
  }
62
+ export declare class CapacityProviderLimitExceededException extends __BaseException {
63
+ readonly name: "CapacityProviderLimitExceededException";
64
+ readonly $fault: "client";
65
+ Type?: string | undefined;
66
+ constructor(
67
+ opts: __ExceptionOptionType<
68
+ CapacityProviderLimitExceededException,
69
+ __BaseException
70
+ >
71
+ );
72
+ }
62
73
  export declare class ResourceInUseException extends __BaseException {
63
74
  readonly name: "ResourceInUseException";
64
75
  readonly $fault: "client";
@@ -100,6 +111,17 @@ export declare class CodeVerificationFailedException extends __BaseException {
100
111
  >
101
112
  );
102
113
  }
114
+ export declare class FunctionVersionsPerCapacityProviderLimitExceededException extends __BaseException {
115
+ readonly name: "FunctionVersionsPerCapacityProviderLimitExceededException";
116
+ readonly $fault: "client";
117
+ Type?: string | undefined;
118
+ constructor(
119
+ opts: __ExceptionOptionType<
120
+ FunctionVersionsPerCapacityProviderLimitExceededException,
121
+ __BaseException
122
+ >
123
+ );
124
+ }
103
125
  export declare class InvalidCodeSignatureException extends __BaseException {
104
126
  readonly name: "InvalidCodeSignatureException";
105
127
  readonly $fault: "client";
@@ -263,6 +285,15 @@ export declare class KMSNotFoundException extends __BaseException {
263
285
  opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>
264
286
  );
265
287
  }
288
+ export declare class NoPublishedVersionException extends __BaseException {
289
+ readonly name: "NoPublishedVersionException";
290
+ readonly $fault: "client";
291
+ Type?: string | undefined;
292
+ Message?: string | undefined;
293
+ constructor(
294
+ opts: __ExceptionOptionType<NoPublishedVersionException, __BaseException>
295
+ );
296
+ }
266
297
  export declare class RecursiveInvocationException extends __BaseException {
267
298
  readonly name: "RecursiveInvocationException";
268
299
  readonly $fault: "client";
@@ -2,6 +2,9 @@ import { StreamingBlobTypes } from "@smithy/types";
2
2
  import {
3
3
  ApplicationLogLevel,
4
4
  Architecture,
5
+ CapacityProviderPredefinedMetricType,
6
+ CapacityProviderScalingMode,
7
+ CapacityProviderState,
5
8
  CodeSigningPolicy,
6
9
  EndPointType,
7
10
  EventSourceMappingMetric,
@@ -10,6 +13,7 @@ import {
10
13
  FunctionResponseType,
11
14
  FunctionUrlAuthType,
12
15
  FunctionVersion,
16
+ FunctionVersionLatestPublished,
13
17
  InvocationType,
14
18
  InvokeMode,
15
19
  KafkaSchemaRegistryAuthType,
@@ -106,6 +110,91 @@ export interface AmazonManagedKafkaEventSourceConfig {
106
110
  ConsumerGroupId?: string | undefined;
107
111
  SchemaRegistryConfig?: KafkaSchemaRegistryConfig | undefined;
108
112
  }
113
+ export interface TargetTrackingScalingPolicy {
114
+ PredefinedMetricType: CapacityProviderPredefinedMetricType | undefined;
115
+ TargetValue: number | undefined;
116
+ }
117
+ export interface CapacityProviderScalingConfig {
118
+ MaxVCpuCount?: number | undefined;
119
+ ScalingMode?: CapacityProviderScalingMode | undefined;
120
+ ScalingPolicies?: TargetTrackingScalingPolicy[] | undefined;
121
+ }
122
+ export interface InstanceRequirements {
123
+ Architectures?: Architecture[] | undefined;
124
+ AllowedInstanceTypes?: string[] | undefined;
125
+ ExcludedInstanceTypes?: string[] | undefined;
126
+ }
127
+ export interface CapacityProviderPermissionsConfig {
128
+ CapacityProviderOperatorRoleArn: string | undefined;
129
+ }
130
+ export interface CapacityProviderVpcConfig {
131
+ SubnetIds: string[] | undefined;
132
+ SecurityGroupIds: string[] | undefined;
133
+ }
134
+ export interface CreateCapacityProviderRequest {
135
+ CapacityProviderName: string | undefined;
136
+ VpcConfig: CapacityProviderVpcConfig | undefined;
137
+ PermissionsConfig: CapacityProviderPermissionsConfig | undefined;
138
+ InstanceRequirements?: InstanceRequirements | undefined;
139
+ CapacityProviderScalingConfig?: CapacityProviderScalingConfig | undefined;
140
+ KmsKeyArn?: string | undefined;
141
+ Tags?: Record<string, string> | undefined;
142
+ }
143
+ export interface CapacityProvider {
144
+ CapacityProviderArn: string | undefined;
145
+ State: CapacityProviderState | undefined;
146
+ VpcConfig: CapacityProviderVpcConfig | undefined;
147
+ PermissionsConfig: CapacityProviderPermissionsConfig | undefined;
148
+ InstanceRequirements?: InstanceRequirements | undefined;
149
+ CapacityProviderScalingConfig?: CapacityProviderScalingConfig | undefined;
150
+ KmsKeyArn?: string | undefined;
151
+ LastModified?: string | undefined;
152
+ }
153
+ export interface CreateCapacityProviderResponse {
154
+ CapacityProvider: CapacityProvider | undefined;
155
+ }
156
+ export interface DeleteCapacityProviderRequest {
157
+ CapacityProviderName: string | undefined;
158
+ }
159
+ export interface DeleteCapacityProviderResponse {
160
+ CapacityProvider: CapacityProvider | undefined;
161
+ }
162
+ export interface GetCapacityProviderRequest {
163
+ CapacityProviderName: string | undefined;
164
+ }
165
+ export interface GetCapacityProviderResponse {
166
+ CapacityProvider: CapacityProvider | undefined;
167
+ }
168
+ export interface ListCapacityProvidersRequest {
169
+ State?: CapacityProviderState | undefined;
170
+ Marker?: string | undefined;
171
+ MaxItems?: number | undefined;
172
+ }
173
+ export interface ListCapacityProvidersResponse {
174
+ CapacityProviders: CapacityProvider[] | undefined;
175
+ NextMarker?: string | undefined;
176
+ }
177
+ export interface ListFunctionVersionsByCapacityProviderRequest {
178
+ CapacityProviderName: string | undefined;
179
+ Marker?: string | undefined;
180
+ MaxItems?: number | undefined;
181
+ }
182
+ export interface FunctionVersionsByCapacityProviderListItem {
183
+ FunctionArn: string | undefined;
184
+ State: State | undefined;
185
+ }
186
+ export interface ListFunctionVersionsByCapacityProviderResponse {
187
+ CapacityProviderArn: string | undefined;
188
+ FunctionVersions: FunctionVersionsByCapacityProviderListItem[] | undefined;
189
+ NextMarker?: string | undefined;
190
+ }
191
+ export interface UpdateCapacityProviderRequest {
192
+ CapacityProviderName: string | undefined;
193
+ CapacityProviderScalingConfig?: CapacityProviderScalingConfig | undefined;
194
+ }
195
+ export interface UpdateCapacityProviderResponse {
196
+ CapacityProvider: CapacityProvider | undefined;
197
+ }
109
198
  export interface CodeSigningPolicies {
110
199
  UntrustedArtifactOnDeployment?: CodeSigningPolicy | undefined;
111
200
  }
@@ -162,6 +251,17 @@ export interface UpdateCodeSigningConfigRequest {
162
251
  export interface UpdateCodeSigningConfigResponse {
163
252
  CodeSigningConfig: CodeSigningConfig | undefined;
164
253
  }
254
+ export interface DeleteFunctionRequest {
255
+ FunctionName: string | undefined;
256
+ Qualifier?: string | undefined;
257
+ }
258
+ export interface DeleteFunctionResponse {
259
+ StatusCode?: number | undefined;
260
+ }
261
+ export interface DeleteFunctionEventInvokeConfigRequest {
262
+ FunctionName: string | undefined;
263
+ Qualifier?: string | undefined;
264
+ }
165
265
  export interface OnFailure {
166
266
  Destination?: string | undefined;
167
267
  }
@@ -323,6 +423,16 @@ export interface UpdateEventSourceMappingRequest {
323
423
  MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
324
424
  ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
325
425
  }
426
+ export interface LambdaManagedInstancesCapacityProviderConfig {
427
+ CapacityProviderArn: string | undefined;
428
+ PerExecutionEnvironmentMaxConcurrency?: number | undefined;
429
+ ExecutionEnvironmentMemoryGiBPerVCpu?: number | undefined;
430
+ }
431
+ export interface CapacityProviderConfig {
432
+ LambdaManagedInstancesCapacityProviderConfig:
433
+ | LambdaManagedInstancesCapacityProviderConfig
434
+ | undefined;
435
+ }
326
436
  export interface FunctionCode {
327
437
  ZipFile?: Uint8Array | undefined;
328
438
  S3Bucket?: string | undefined;
@@ -394,6 +504,8 @@ export interface CreateFunctionRequest {
394
504
  EphemeralStorage?: EphemeralStorage | undefined;
395
505
  SnapStart?: SnapStart | undefined;
396
506
  LoggingConfig?: LoggingConfig | undefined;
507
+ CapacityProviderConfig?: CapacityProviderConfig | undefined;
508
+ PublishTo?: FunctionVersionLatestPublished | undefined;
397
509
  TenancyConfig?: TenancyConfig | undefined;
398
510
  }
399
511
  export interface EnvironmentError {
@@ -476,6 +588,8 @@ export interface FunctionConfiguration {
476
588
  SnapStart?: SnapStartResponse | undefined;
477
589
  RuntimeVersionConfig?: RuntimeVersionConfig | undefined;
478
590
  LoggingConfig?: LoggingConfig | undefined;
591
+ CapacityProviderConfig?: CapacityProviderConfig | undefined;
592
+ ConfigSha256?: string | undefined;
479
593
  TenancyConfig?: TenancyConfig | undefined;
480
594
  }
481
595
  export interface Cors {
@@ -501,20 +615,12 @@ export interface CreateFunctionUrlConfigResponse {
501
615
  CreationTime: string | undefined;
502
616
  InvokeMode?: InvokeMode | undefined;
503
617
  }
504
- export interface DeleteFunctionRequest {
505
- FunctionName: string | undefined;
506
- Qualifier?: string | undefined;
507
- }
508
618
  export interface DeleteFunctionCodeSigningConfigRequest {
509
619
  FunctionName: string | undefined;
510
620
  }
511
621
  export interface DeleteFunctionConcurrencyRequest {
512
622
  FunctionName: string | undefined;
513
623
  }
514
- export interface DeleteFunctionEventInvokeConfigRequest {
515
- FunctionName: string | undefined;
516
- Qualifier?: string | undefined;
517
- }
518
624
  export interface DeleteFunctionUrlConfigRequest {
519
625
  FunctionName: string | undefined;
520
626
  Qualifier?: string | undefined;
@@ -561,23 +667,25 @@ export interface GetFunctionConfigurationRequest {
561
667
  FunctionName: string | undefined;
562
668
  Qualifier?: string | undefined;
563
669
  }
564
- export interface FunctionEventInvokeConfig {
565
- LastModified?: Date | undefined;
566
- FunctionArn?: string | undefined;
567
- MaximumRetryAttempts?: number | undefined;
568
- MaximumEventAgeInSeconds?: number | undefined;
569
- DestinationConfig?: DestinationConfig | undefined;
570
- }
571
- export interface GetFunctionEventInvokeConfigRequest {
572
- FunctionName: string | undefined;
573
- Qualifier?: string | undefined;
574
- }
575
670
  export interface GetFunctionRecursionConfigRequest {
576
671
  FunctionName: string | undefined;
577
672
  }
578
673
  export interface GetFunctionRecursionConfigResponse {
579
674
  RecursiveLoop?: RecursiveLoop | undefined;
580
675
  }
676
+ export interface GetFunctionScalingConfigRequest {
677
+ FunctionName: string | undefined;
678
+ Qualifier: string | undefined;
679
+ }
680
+ export interface FunctionScalingConfig {
681
+ MinExecutionEnvironments?: number | undefined;
682
+ MaxExecutionEnvironments?: number | undefined;
683
+ }
684
+ export interface GetFunctionScalingConfigResponse {
685
+ FunctionArn?: string | undefined;
686
+ AppliedFunctionScalingConfig?: FunctionScalingConfig | undefined;
687
+ RequestedFunctionScalingConfig?: FunctionScalingConfig | undefined;
688
+ }
581
689
  export interface GetFunctionUrlConfigRequest {
582
690
  FunctionName: string | undefined;
583
691
  Qualifier?: string | undefined;
@@ -682,15 +790,6 @@ export interface InvokeWithResponseStreamResponse {
682
790
  | undefined;
683
791
  ResponseStreamContentType?: string | undefined;
684
792
  }
685
- export interface ListFunctionEventInvokeConfigsRequest {
686
- FunctionName: string | undefined;
687
- Marker?: string | undefined;
688
- MaxItems?: number | undefined;
689
- }
690
- export interface ListFunctionEventInvokeConfigsResponse {
691
- FunctionEventInvokeConfigs?: FunctionEventInvokeConfig[] | undefined;
692
- NextMarker?: string | undefined;
693
- }
694
793
  export interface ListFunctionsRequest {
695
794
  MasterRegion?: string | undefined;
696
795
  FunctionVersion?: FunctionVersion | undefined;
@@ -751,13 +850,6 @@ export interface PutFunctionConcurrencyRequest {
751
850
  FunctionName: string | undefined;
752
851
  ReservedConcurrentExecutions: number | undefined;
753
852
  }
754
- export interface PutFunctionEventInvokeConfigRequest {
755
- FunctionName: string | undefined;
756
- Qualifier?: string | undefined;
757
- MaximumRetryAttempts?: number | undefined;
758
- MaximumEventAgeInSeconds?: number | undefined;
759
- DestinationConfig?: DestinationConfig | undefined;
760
- }
761
853
  export interface PutFunctionRecursionConfigRequest {
762
854
  FunctionName: string | undefined;
763
855
  RecursiveLoop: RecursiveLoop | undefined;
@@ -765,6 +857,14 @@ export interface PutFunctionRecursionConfigRequest {
765
857
  export interface PutFunctionRecursionConfigResponse {
766
858
  RecursiveLoop?: RecursiveLoop | undefined;
767
859
  }
860
+ export interface PutFunctionScalingConfigRequest {
861
+ FunctionName: string | undefined;
862
+ Qualifier: string | undefined;
863
+ FunctionScalingConfig?: FunctionScalingConfig | undefined;
864
+ }
865
+ export interface PutFunctionScalingConfigResponse {
866
+ FunctionState?: State | undefined;
867
+ }
768
868
  export interface PutRuntimeManagementConfigRequest {
769
869
  FunctionName: string | undefined;
770
870
  Qualifier?: string | undefined;
@@ -788,6 +888,7 @@ export interface UpdateFunctionCodeRequest {
788
888
  RevisionId?: string | undefined;
789
889
  Architectures?: Architecture[] | undefined;
790
890
  SourceKMSKeyArn?: string | undefined;
891
+ PublishTo?: FunctionVersionLatestPublished | undefined;
791
892
  }
792
893
  export interface UpdateFunctionConfigurationRequest {
793
894
  FunctionName: string | undefined;
@@ -809,13 +910,7 @@ export interface UpdateFunctionConfigurationRequest {
809
910
  EphemeralStorage?: EphemeralStorage | undefined;
810
911
  SnapStart?: SnapStart | undefined;
811
912
  LoggingConfig?: LoggingConfig | undefined;
812
- }
813
- export interface UpdateFunctionEventInvokeConfigRequest {
814
- FunctionName: string | undefined;
815
- Qualifier?: string | undefined;
816
- MaximumRetryAttempts?: number | undefined;
817
- MaximumEventAgeInSeconds?: number | undefined;
818
- DestinationConfig?: DestinationConfig | undefined;
913
+ CapacityProviderConfig?: CapacityProviderConfig | undefined;
819
914
  }
820
915
  export interface UpdateFunctionUrlConfigRequest {
821
916
  FunctionName: string | undefined;
@@ -880,12 +975,24 @@ export interface PublishVersionRequest {
880
975
  CodeSha256?: string | undefined;
881
976
  Description?: string | undefined;
882
977
  RevisionId?: string | undefined;
978
+ PublishTo?: FunctionVersionLatestPublished | undefined;
883
979
  }
884
980
  export interface GetAccountSettingsRequest {}
885
981
  export interface GetAccountSettingsResponse {
886
982
  AccountLimit?: AccountLimit | undefined;
887
983
  AccountUsage?: AccountUsage | undefined;
888
984
  }
985
+ export interface FunctionEventInvokeConfig {
986
+ LastModified?: Date | undefined;
987
+ FunctionArn?: string | undefined;
988
+ MaximumRetryAttempts?: number | undefined;
989
+ MaximumEventAgeInSeconds?: number | undefined;
990
+ DestinationConfig?: DestinationConfig | undefined;
991
+ }
992
+ export interface GetFunctionEventInvokeConfigRequest {
993
+ FunctionName: string | undefined;
994
+ Qualifier?: string | undefined;
995
+ }
889
996
  export interface ListLayersRequest {
890
997
  CompatibleRuntime?: Runtime | undefined;
891
998
  Marker?: string | undefined;
@@ -989,6 +1096,15 @@ export interface RemoveLayerVersionPermissionRequest {
989
1096
  StatementId: string | undefined;
990
1097
  RevisionId?: string | undefined;
991
1098
  }
1099
+ export interface ListFunctionEventInvokeConfigsRequest {
1100
+ FunctionName: string | undefined;
1101
+ Marker?: string | undefined;
1102
+ MaxItems?: number | undefined;
1103
+ }
1104
+ export interface ListFunctionEventInvokeConfigsResponse {
1105
+ FunctionEventInvokeConfigs?: FunctionEventInvokeConfig[] | undefined;
1106
+ NextMarker?: string | undefined;
1107
+ }
992
1108
  export interface ListTagsRequest {
993
1109
  Resource: string | undefined;
994
1110
  }
@@ -1030,6 +1146,13 @@ export interface PutProvisionedConcurrencyConfigResponse {
1030
1146
  StatusReason?: string | undefined;
1031
1147
  LastModified?: string | undefined;
1032
1148
  }
1149
+ export interface PutFunctionEventInvokeConfigRequest {
1150
+ FunctionName: string | undefined;
1151
+ Qualifier?: string | undefined;
1152
+ MaximumRetryAttempts?: number | undefined;
1153
+ MaximumEventAgeInSeconds?: number | undefined;
1154
+ DestinationConfig?: DestinationConfig | undefined;
1155
+ }
1033
1156
  export interface TagResourceRequest {
1034
1157
  Resource: string | undefined;
1035
1158
  Tags: Record<string, string> | undefined;
@@ -1038,3 +1161,10 @@ export interface UntagResourceRequest {
1038
1161
  Resource: string | undefined;
1039
1162
  TagKeys: string[] | undefined;
1040
1163
  }
1164
+ export interface UpdateFunctionEventInvokeConfigRequest {
1165
+ FunctionName: string | undefined;
1166
+ Qualifier?: string | undefined;
1167
+ MaximumRetryAttempts?: number | undefined;
1168
+ MaximumEventAgeInSeconds?: number | undefined;
1169
+ DestinationConfig?: DestinationConfig | undefined;
1170
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCapacityProvidersCommandInput,
4
+ ListCapacityProvidersCommandOutput,
5
+ } from "../commands/ListCapacityProvidersCommand";
6
+ import { LambdaPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCapacityProviders: (
8
+ config: LambdaPaginationConfiguration,
9
+ input: ListCapacityProvidersCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListCapacityProvidersCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListFunctionVersionsByCapacityProviderCommandInput,
4
+ ListFunctionVersionsByCapacityProviderCommandOutput,
5
+ } from "../commands/ListFunctionVersionsByCapacityProviderCommand";
6
+ import { LambdaPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListFunctionVersionsByCapacityProvider: (
8
+ config: LambdaPaginationConfiguration,
9
+ input: ListFunctionVersionsByCapacityProviderCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListFunctionVersionsByCapacityProviderCommandOutput>;
@@ -1,9 +1,11 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListAliasesPaginator";
3
+ export * from "./ListCapacityProvidersPaginator";
3
4
  export * from "./ListCodeSigningConfigsPaginator";
4
5
  export * from "./ListEventSourceMappingsPaginator";
5
6
  export * from "./ListFunctionEventInvokeConfigsPaginator";
6
7
  export * from "./ListFunctionUrlConfigsPaginator";
8
+ export * from "./ListFunctionVersionsByCapacityProviderPaginator";
7
9
  export * from "./ListFunctionsByCodeSigningConfigPaginator";
8
10
  export * from "./ListFunctionsPaginator";
9
11
  export * from "./ListLayerVersionsPaginator";