@aws-sdk/client-lambda 3.934.0 → 3.935.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 (36) hide show
  1. package/dist-cjs/index.js +262 -236
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +237 -0
  4. package/dist-es/models/errors.js +607 -0
  5. package/dist-es/models/models_0.js +1 -841
  6. package/dist-es/schemas/schemas_0.js +24 -3
  7. package/dist-types/commands/CreateFunctionCommand.d.ts +8 -2
  8. package/dist-types/commands/GetFunctionCommand.d.ts +4 -1
  9. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +4 -1
  10. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
  11. package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
  12. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  13. package/dist-types/commands/InvokeCommand.d.ts +1 -0
  14. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +1 -0
  15. package/dist-types/commands/ListFunctionsCommand.d.ts +4 -1
  16. package/dist-types/commands/ListLayerVersionsCommand.d.ts +2 -2
  17. package/dist-types/commands/ListLayersCommand.d.ts +2 -2
  18. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +4 -1
  19. package/dist-types/commands/PublishLayerVersionCommand.d.ts +2 -2
  20. package/dist-types/commands/PublishVersionCommand.d.ts +4 -1
  21. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +4 -1
  22. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +5 -2
  23. package/dist-types/index.d.ts +3 -1
  24. package/dist-types/models/enums.d.ts +509 -0
  25. package/dist-types/models/errors.d.ts +580 -0
  26. package/dist-types/models/models_0.d.ts +34 -1079
  27. package/dist-types/schemas/schemas_0.d.ts +1 -0
  28. package/dist-types/ts3.4/index.d.ts +3 -1
  29. package/dist-types/ts3.4/models/enums.d.ts +294 -0
  30. package/dist-types/ts3.4/models/errors.d.ts +357 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +42 -645
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  33. package/package.json +12 -12
  34. package/dist-es/models/index.js +0 -1
  35. package/dist-types/models/index.d.ts +0 -1
  36. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -1,6 +1,39 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { StreamingBlobTypes } from "@smithy/types";
3
- import { LambdaServiceException as __BaseException } from "./LambdaServiceException";
2
+ import {
3
+ ApplicationLogLevel,
4
+ Architecture,
5
+ CodeSigningPolicy,
6
+ EndPointType,
7
+ EventSourceMappingMetric,
8
+ EventSourcePosition,
9
+ FullDocument,
10
+ FunctionResponseType,
11
+ FunctionUrlAuthType,
12
+ FunctionVersion,
13
+ InvocationType,
14
+ InvokeMode,
15
+ KafkaSchemaRegistryAuthType,
16
+ KafkaSchemaValidationAttribute,
17
+ LastUpdateStatus,
18
+ LastUpdateStatusReasonCode,
19
+ LogFormat,
20
+ LogType,
21
+ PackageType,
22
+ ProvisionedConcurrencyStatusEnum,
23
+ RecursiveLoop,
24
+ ResponseStreamingInvocationType,
25
+ Runtime,
26
+ SchemaRegistryEventRecordFormat,
27
+ SnapStartApplyOn,
28
+ SnapStartOptimizationStatus,
29
+ SourceAccessType,
30
+ State,
31
+ StateReasonCode,
32
+ SystemLogLevel,
33
+ TenantIsolationMode,
34
+ TracingMode,
35
+ UpdateRuntimeOn,
36
+ } from "./enums";
4
37
  export interface AccountLimit {
5
38
  TotalCodeSize?: number | undefined;
6
39
  CodeSizeUnzipped?: number | undefined;
@@ -25,80 +58,6 @@ export interface AddLayerVersionPermissionResponse {
25
58
  Statement?: string | undefined;
26
59
  RevisionId?: string | undefined;
27
60
  }
28
- export declare class InvalidParameterValueException extends __BaseException {
29
- readonly name: "InvalidParameterValueException";
30
- readonly $fault: "client";
31
- Type?: string | undefined;
32
- constructor(
33
- opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
34
- );
35
- }
36
- export declare class PolicyLengthExceededException extends __BaseException {
37
- readonly name: "PolicyLengthExceededException";
38
- readonly $fault: "client";
39
- Type?: string | undefined;
40
- constructor(
41
- opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>
42
- );
43
- }
44
- export declare class PreconditionFailedException extends __BaseException {
45
- readonly name: "PreconditionFailedException";
46
- readonly $fault: "client";
47
- Type?: string | undefined;
48
- constructor(
49
- opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>
50
- );
51
- }
52
- export declare class ResourceConflictException extends __BaseException {
53
- readonly name: "ResourceConflictException";
54
- readonly $fault: "client";
55
- Type?: string | undefined;
56
- constructor(
57
- opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
58
- );
59
- }
60
- export declare class ResourceNotFoundException extends __BaseException {
61
- readonly name: "ResourceNotFoundException";
62
- readonly $fault: "client";
63
- Type?: string | undefined;
64
- Message?: string | undefined;
65
- constructor(
66
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
67
- );
68
- }
69
- export declare class ServiceException extends __BaseException {
70
- readonly name: "ServiceException";
71
- readonly $fault: "server";
72
- Type?: string | undefined;
73
- Message?: string | undefined;
74
- constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
75
- }
76
- export declare const ThrottleReason: {
77
- readonly CallerRateLimitExceeded: "CallerRateLimitExceeded";
78
- readonly ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded";
79
- readonly ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded";
80
- readonly FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded";
81
- readonly ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded";
82
- readonly ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded";
83
- };
84
- export type ThrottleReason =
85
- (typeof ThrottleReason)[keyof typeof ThrottleReason];
86
- export declare class TooManyRequestsException extends __BaseException {
87
- readonly name: "TooManyRequestsException";
88
- readonly $fault: "client";
89
- retryAfterSeconds?: string | undefined;
90
- Type?: string | undefined;
91
- Reason?: ThrottleReason | undefined;
92
- constructor(
93
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
94
- );
95
- }
96
- export declare const FunctionUrlAuthType: {
97
- readonly AWS_IAM: "AWS_IAM";
98
- readonly NONE: "NONE";
99
- };
100
- export type FunctionUrlAuthType =
101
- (typeof FunctionUrlAuthType)[keyof typeof FunctionUrlAuthType];
102
61
  export interface AddPermissionRequest {
103
62
  FunctionName: string | undefined;
104
63
  StatementId: string | undefined;
@@ -130,29 +89,10 @@ export interface AliasConfiguration {
130
89
  export interface AllowedPublishers {
131
90
  SigningProfileVersionArns: string[] | undefined;
132
91
  }
133
- export declare const KafkaSchemaRegistryAuthType: {
134
- readonly BASIC_AUTH: "BASIC_AUTH";
135
- readonly CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH";
136
- readonly SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE";
137
- };
138
- export type KafkaSchemaRegistryAuthType =
139
- (typeof KafkaSchemaRegistryAuthType)[keyof typeof KafkaSchemaRegistryAuthType];
140
92
  export interface KafkaSchemaRegistryAccessConfig {
141
93
  Type?: KafkaSchemaRegistryAuthType | undefined;
142
94
  URI?: string | undefined;
143
95
  }
144
- export declare const SchemaRegistryEventRecordFormat: {
145
- readonly JSON: "JSON";
146
- readonly SOURCE: "SOURCE";
147
- };
148
- export type SchemaRegistryEventRecordFormat =
149
- (typeof SchemaRegistryEventRecordFormat)[keyof typeof SchemaRegistryEventRecordFormat];
150
- export declare const KafkaSchemaValidationAttribute: {
151
- readonly KEY: "KEY";
152
- readonly VALUE: "VALUE";
153
- };
154
- export type KafkaSchemaValidationAttribute =
155
- (typeof KafkaSchemaValidationAttribute)[keyof typeof KafkaSchemaValidationAttribute];
156
96
  export interface KafkaSchemaValidationConfig {
157
97
  Attribute?: KafkaSchemaValidationAttribute | undefined;
158
98
  }
@@ -166,27 +106,6 @@ export interface AmazonManagedKafkaEventSourceConfig {
166
106
  ConsumerGroupId?: string | undefined;
167
107
  SchemaRegistryConfig?: KafkaSchemaRegistryConfig | undefined;
168
108
  }
169
- export declare const ApplicationLogLevel: {
170
- readonly Debug: "DEBUG";
171
- readonly Error: "ERROR";
172
- readonly Fatal: "FATAL";
173
- readonly Info: "INFO";
174
- readonly Trace: "TRACE";
175
- readonly Warn: "WARN";
176
- };
177
- export type ApplicationLogLevel =
178
- (typeof ApplicationLogLevel)[keyof typeof ApplicationLogLevel];
179
- export declare const Architecture: {
180
- readonly arm64: "arm64";
181
- readonly x86_64: "x86_64";
182
- };
183
- export type Architecture = (typeof Architecture)[keyof typeof Architecture];
184
- export declare const CodeSigningPolicy: {
185
- readonly Enforce: "Enforce";
186
- readonly Warn: "Warn";
187
- };
188
- export type CodeSigningPolicy =
189
- (typeof CodeSigningPolicy)[keyof typeof CodeSigningPolicy];
190
109
  export interface CodeSigningPolicies {
191
110
  UntrustedArtifactOnDeployment?: CodeSigningPolicy | undefined;
192
111
  }
@@ -253,11 +172,6 @@ export interface DestinationConfig {
253
172
  OnSuccess?: OnSuccess | undefined;
254
173
  OnFailure?: OnFailure | undefined;
255
174
  }
256
- export declare const FullDocument: {
257
- readonly Default: "Default";
258
- readonly UpdateLookup: "UpdateLookup";
259
- };
260
- export type FullDocument = (typeof FullDocument)[keyof typeof FullDocument];
261
175
  export interface DocumentDBEventSourceConfig {
262
176
  DatabaseName?: string | undefined;
263
177
  CollectionName?: string | undefined;
@@ -269,16 +183,6 @@ export interface Filter {
269
183
  export interface FilterCriteria {
270
184
  Filters?: Filter[] | undefined;
271
185
  }
272
- export declare const FunctionResponseType: {
273
- readonly ReportBatchItemFailures: "ReportBatchItemFailures";
274
- };
275
- export type FunctionResponseType =
276
- (typeof FunctionResponseType)[keyof typeof FunctionResponseType];
277
- export declare const EventSourceMappingMetric: {
278
- readonly EventCount: "EventCount";
279
- };
280
- export type EventSourceMappingMetric =
281
- (typeof EventSourceMappingMetric)[keyof typeof EventSourceMappingMetric];
282
186
  export interface EventSourceMappingMetricsConfig {
283
187
  Metrics?: EventSourceMappingMetric[] | undefined;
284
188
  }
@@ -289,10 +193,6 @@ export interface ProvisionedPollerConfig {
289
193
  export interface ScalingConfig {
290
194
  MaximumConcurrency?: number | undefined;
291
195
  }
292
- export declare const EndPointType: {
293
- readonly KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS";
294
- };
295
- export type EndPointType = (typeof EndPointType)[keyof typeof EndPointType];
296
196
  export interface SelfManagedEventSource {
297
197
  Endpoints?: Partial<Record<EndPointType, string[]>> | undefined;
298
198
  }
@@ -300,29 +200,10 @@ export interface SelfManagedKafkaEventSourceConfig {
300
200
  ConsumerGroupId?: string | undefined;
301
201
  SchemaRegistryConfig?: KafkaSchemaRegistryConfig | undefined;
302
202
  }
303
- export declare const SourceAccessType: {
304
- readonly BASIC_AUTH: "BASIC_AUTH";
305
- readonly CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH";
306
- readonly SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH";
307
- readonly SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH";
308
- readonly SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE";
309
- readonly VIRTUAL_HOST: "VIRTUAL_HOST";
310
- readonly VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP";
311
- readonly VPC_SUBNET: "VPC_SUBNET";
312
- };
313
- export type SourceAccessType =
314
- (typeof SourceAccessType)[keyof typeof SourceAccessType];
315
203
  export interface SourceAccessConfiguration {
316
204
  Type?: SourceAccessType | undefined;
317
205
  URI?: string | undefined;
318
206
  }
319
- export declare const EventSourcePosition: {
320
- readonly AT_TIMESTAMP: "AT_TIMESTAMP";
321
- readonly LATEST: "LATEST";
322
- readonly TRIM_HORIZON: "TRIM_HORIZON";
323
- };
324
- export type EventSourcePosition =
325
- (typeof EventSourcePosition)[keyof typeof EventSourcePosition];
326
207
  export interface CreateEventSourceMappingRequest {
327
208
  EventSourceArn?: string | undefined;
328
209
  FunctionName: string | undefined;
@@ -401,15 +282,6 @@ export interface EventSourceMappingConfiguration {
401
282
  export interface DeleteEventSourceMappingRequest {
402
283
  UUID: string | undefined;
403
284
  }
404
- export declare class ResourceInUseException extends __BaseException {
405
- readonly name: "ResourceInUseException";
406
- readonly $fault: "client";
407
- Type?: string | undefined;
408
- Message?: string | undefined;
409
- constructor(
410
- opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
411
- );
412
- }
413
285
  export interface GetEventSourceMappingRequest {
414
286
  UUID: string | undefined;
415
287
  }
@@ -450,38 +322,6 @@ export interface UpdateEventSourceMappingRequest {
450
322
  MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
451
323
  ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
452
324
  }
453
- export declare class CodeSigningConfigNotFoundException extends __BaseException {
454
- readonly name: "CodeSigningConfigNotFoundException";
455
- readonly $fault: "client";
456
- Type?: string | undefined;
457
- Message?: string | undefined;
458
- constructor(
459
- opts: __ExceptionOptionType<
460
- CodeSigningConfigNotFoundException,
461
- __BaseException
462
- >
463
- );
464
- }
465
- export declare class CodeStorageExceededException extends __BaseException {
466
- readonly name: "CodeStorageExceededException";
467
- readonly $fault: "client";
468
- Type?: string | undefined;
469
- constructor(
470
- opts: __ExceptionOptionType<CodeStorageExceededException, __BaseException>
471
- );
472
- }
473
- export declare class CodeVerificationFailedException extends __BaseException {
474
- readonly name: "CodeVerificationFailedException";
475
- readonly $fault: "client";
476
- Type?: string | undefined;
477
- Message?: string | undefined;
478
- constructor(
479
- opts: __ExceptionOptionType<
480
- CodeVerificationFailedException,
481
- __BaseException
482
- >
483
- );
484
- }
485
325
  export interface FunctionCode {
486
326
  ZipFile?: Uint8Array | undefined;
487
327
  S3Bucket?: string | undefined;
@@ -508,90 +348,18 @@ export interface ImageConfig {
508
348
  Command?: string[] | undefined;
509
349
  WorkingDirectory?: string | undefined;
510
350
  }
511
- export declare const LogFormat: {
512
- readonly Json: "JSON";
513
- readonly Text: "Text";
514
- };
515
- export type LogFormat = (typeof LogFormat)[keyof typeof LogFormat];
516
- export declare const SystemLogLevel: {
517
- readonly Debug: "DEBUG";
518
- readonly Info: "INFO";
519
- readonly Warn: "WARN";
520
- };
521
- export type SystemLogLevel =
522
- (typeof SystemLogLevel)[keyof typeof SystemLogLevel];
523
351
  export interface LoggingConfig {
524
352
  LogFormat?: LogFormat | undefined;
525
353
  ApplicationLogLevel?: ApplicationLogLevel | undefined;
526
354
  SystemLogLevel?: SystemLogLevel | undefined;
527
355
  LogGroup?: string | undefined;
528
356
  }
529
- export declare const PackageType: {
530
- readonly Image: "Image";
531
- readonly Zip: "Zip";
532
- };
533
- export type PackageType = (typeof PackageType)[keyof typeof PackageType];
534
- export declare const Runtime: {
535
- readonly dotnet6: "dotnet6";
536
- readonly dotnet8: "dotnet8";
537
- readonly dotnetcore10: "dotnetcore1.0";
538
- readonly dotnetcore20: "dotnetcore2.0";
539
- readonly dotnetcore21: "dotnetcore2.1";
540
- readonly dotnetcore31: "dotnetcore3.1";
541
- readonly go1x: "go1.x";
542
- readonly java11: "java11";
543
- readonly java17: "java17";
544
- readonly java21: "java21";
545
- readonly java25: "java25";
546
- readonly java8: "java8";
547
- readonly java8al2: "java8.al2";
548
- readonly nodejs: "nodejs";
549
- readonly nodejs10x: "nodejs10.x";
550
- readonly nodejs12x: "nodejs12.x";
551
- readonly nodejs14x: "nodejs14.x";
552
- readonly nodejs16x: "nodejs16.x";
553
- readonly nodejs18x: "nodejs18.x";
554
- readonly nodejs20x: "nodejs20.x";
555
- readonly nodejs22x: "nodejs22.x";
556
- readonly nodejs24x: "nodejs24.x";
557
- readonly nodejs43: "nodejs4.3";
558
- readonly nodejs43edge: "nodejs4.3-edge";
559
- readonly nodejs610: "nodejs6.10";
560
- readonly nodejs810: "nodejs8.10";
561
- readonly provided: "provided";
562
- readonly providedal2: "provided.al2";
563
- readonly providedal2023: "provided.al2023";
564
- readonly python27: "python2.7";
565
- readonly python310: "python3.10";
566
- readonly python311: "python3.11";
567
- readonly python312: "python3.12";
568
- readonly python313: "python3.13";
569
- readonly python314: "python3.14";
570
- readonly python36: "python3.6";
571
- readonly python37: "python3.7";
572
- readonly python38: "python3.8";
573
- readonly python39: "python3.9";
574
- readonly ruby25: "ruby2.5";
575
- readonly ruby27: "ruby2.7";
576
- readonly ruby32: "ruby3.2";
577
- readonly ruby33: "ruby3.3";
578
- readonly ruby34: "ruby3.4";
579
- };
580
- export type Runtime = (typeof Runtime)[keyof typeof Runtime];
581
- export declare const SnapStartApplyOn: {
582
- readonly None: "None";
583
- readonly PublishedVersions: "PublishedVersions";
584
- };
585
- export type SnapStartApplyOn =
586
- (typeof SnapStartApplyOn)[keyof typeof SnapStartApplyOn];
587
357
  export interface SnapStart {
588
358
  ApplyOn?: SnapStartApplyOn | undefined;
589
359
  }
590
- export declare const TracingMode: {
591
- readonly Active: "Active";
592
- readonly PassThrough: "PassThrough";
593
- };
594
- export type TracingMode = (typeof TracingMode)[keyof typeof TracingMode];
360
+ export interface TenancyConfig {
361
+ TenantIsolationMode: TenantIsolationMode | undefined;
362
+ }
595
363
  export interface TracingConfig {
596
364
  Mode?: TracingMode | undefined;
597
365
  }
@@ -625,6 +393,7 @@ export interface CreateFunctionRequest {
625
393
  EphemeralStorage?: EphemeralStorage | undefined;
626
394
  SnapStart?: SnapStart | undefined;
627
395
  LoggingConfig?: LoggingConfig | undefined;
396
+ TenancyConfig?: TenancyConfig | undefined;
628
397
  }
629
398
  export interface EnvironmentError {
630
399
  ErrorCode?: string | undefined;
@@ -642,38 +411,6 @@ export interface ImageConfigResponse {
642
411
  ImageConfig?: ImageConfig | undefined;
643
412
  Error?: ImageConfigError | undefined;
644
413
  }
645
- export declare const LastUpdateStatus: {
646
- readonly Failed: "Failed";
647
- readonly InProgress: "InProgress";
648
- readonly Successful: "Successful";
649
- };
650
- export type LastUpdateStatus =
651
- (typeof LastUpdateStatus)[keyof typeof LastUpdateStatus];
652
- export declare const LastUpdateStatusReasonCode: {
653
- readonly DisabledKMSKey: "DisabledKMSKey";
654
- readonly EFSIOError: "EFSIOError";
655
- readonly EFSMountConnectivityError: "EFSMountConnectivityError";
656
- readonly EFSMountFailure: "EFSMountFailure";
657
- readonly EFSMountTimeout: "EFSMountTimeout";
658
- readonly EniLimitExceeded: "EniLimitExceeded";
659
- readonly FunctionError: "FunctionError";
660
- readonly ImageAccessDenied: "ImageAccessDenied";
661
- readonly ImageDeleted: "ImageDeleted";
662
- readonly InsufficientRolePermissions: "InsufficientRolePermissions";
663
- readonly InternalError: "InternalError";
664
- readonly InvalidConfiguration: "InvalidConfiguration";
665
- readonly InvalidImage: "InvalidImage";
666
- readonly InvalidRuntime: "InvalidRuntime";
667
- readonly InvalidSecurityGroup: "InvalidSecurityGroup";
668
- readonly InvalidStateKMSKey: "InvalidStateKMSKey";
669
- readonly InvalidSubnet: "InvalidSubnet";
670
- readonly InvalidZipFileException: "InvalidZipFileException";
671
- readonly KMSKeyAccessDenied: "KMSKeyAccessDenied";
672
- readonly KMSKeyNotFound: "KMSKeyNotFound";
673
- readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
674
- };
675
- export type LastUpdateStatusReasonCode =
676
- (typeof LastUpdateStatusReasonCode)[keyof typeof LastUpdateStatusReasonCode];
677
414
  export interface Layer {
678
415
  Arn?: string | undefined;
679
416
  CodeSize?: number | undefined;
@@ -688,51 +425,10 @@ export interface RuntimeVersionConfig {
688
425
  RuntimeVersionArn?: string | undefined;
689
426
  Error?: RuntimeVersionError | undefined;
690
427
  }
691
- export declare const SnapStartOptimizationStatus: {
692
- readonly Off: "Off";
693
- readonly On: "On";
694
- };
695
- export type SnapStartOptimizationStatus =
696
- (typeof SnapStartOptimizationStatus)[keyof typeof SnapStartOptimizationStatus];
697
428
  export interface SnapStartResponse {
698
429
  ApplyOn?: SnapStartApplyOn | undefined;
699
430
  OptimizationStatus?: SnapStartOptimizationStatus | undefined;
700
431
  }
701
- export declare const State: {
702
- readonly Active: "Active";
703
- readonly Failed: "Failed";
704
- readonly Inactive: "Inactive";
705
- readonly Pending: "Pending";
706
- };
707
- export type State = (typeof State)[keyof typeof State];
708
- export declare const StateReasonCode: {
709
- readonly Creating: "Creating";
710
- readonly DisabledKMSKey: "DisabledKMSKey";
711
- readonly EFSIOError: "EFSIOError";
712
- readonly EFSMountConnectivityError: "EFSMountConnectivityError";
713
- readonly EFSMountFailure: "EFSMountFailure";
714
- readonly EFSMountTimeout: "EFSMountTimeout";
715
- readonly EniLimitExceeded: "EniLimitExceeded";
716
- readonly FunctionError: "FunctionError";
717
- readonly Idle: "Idle";
718
- readonly ImageAccessDenied: "ImageAccessDenied";
719
- readonly ImageDeleted: "ImageDeleted";
720
- readonly InsufficientRolePermissions: "InsufficientRolePermissions";
721
- readonly InternalError: "InternalError";
722
- readonly InvalidConfiguration: "InvalidConfiguration";
723
- readonly InvalidImage: "InvalidImage";
724
- readonly InvalidRuntime: "InvalidRuntime";
725
- readonly InvalidSecurityGroup: "InvalidSecurityGroup";
726
- readonly InvalidStateKMSKey: "InvalidStateKMSKey";
727
- readonly InvalidSubnet: "InvalidSubnet";
728
- readonly InvalidZipFileException: "InvalidZipFileException";
729
- readonly KMSKeyAccessDenied: "KMSKeyAccessDenied";
730
- readonly KMSKeyNotFound: "KMSKeyNotFound";
731
- readonly Restoring: "Restoring";
732
- readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
733
- };
734
- export type StateReasonCode =
735
- (typeof StateReasonCode)[keyof typeof StateReasonCode];
736
432
  export interface TracingConfigResponse {
737
433
  Mode?: TracingMode | undefined;
738
434
  }
@@ -779,15 +475,7 @@ export interface FunctionConfiguration {
779
475
  SnapStart?: SnapStartResponse | undefined;
780
476
  RuntimeVersionConfig?: RuntimeVersionConfig | undefined;
781
477
  LoggingConfig?: LoggingConfig | undefined;
782
- }
783
- export declare class InvalidCodeSignatureException extends __BaseException {
784
- readonly name: "InvalidCodeSignatureException";
785
- readonly $fault: "client";
786
- Type?: string | undefined;
787
- Message?: string | undefined;
788
- constructor(
789
- opts: __ExceptionOptionType<InvalidCodeSignatureException, __BaseException>
790
- );
478
+ TenancyConfig?: TenancyConfig | undefined;
791
479
  }
792
480
  export interface Cors {
793
481
  AllowCredentials?: boolean | undefined;
@@ -797,11 +485,6 @@ export interface Cors {
797
485
  ExposeHeaders?: string[] | undefined;
798
486
  MaxAge?: number | undefined;
799
487
  }
800
- export declare const InvokeMode: {
801
- readonly BUFFERED: "BUFFERED";
802
- readonly RESPONSE_STREAM: "RESPONSE_STREAM";
803
- };
804
- export type InvokeMode = (typeof InvokeMode)[keyof typeof InvokeMode];
805
488
  export interface CreateFunctionUrlConfigRequest {
806
489
  FunctionName: string | undefined;
807
490
  Qualifier?: string | undefined;
@@ -891,11 +574,6 @@ export interface GetFunctionEventInvokeConfigRequest {
891
574
  export interface GetFunctionRecursionConfigRequest {
892
575
  FunctionName: string | undefined;
893
576
  }
894
- export declare const RecursiveLoop: {
895
- readonly Allow: "Allow";
896
- readonly Terminate: "Terminate";
897
- };
898
- export type RecursiveLoop = (typeof RecursiveLoop)[keyof typeof RecursiveLoop];
899
577
  export interface GetFunctionRecursionConfigResponse {
900
578
  RecursiveLoop?: RecursiveLoop | undefined;
901
579
  }
@@ -924,148 +602,11 @@ export interface GetRuntimeManagementConfigRequest {
924
602
  FunctionName: string | undefined;
925
603
  Qualifier?: string | undefined;
926
604
  }
927
- export declare const UpdateRuntimeOn: {
928
- readonly Auto: "Auto";
929
- readonly FunctionUpdate: "FunctionUpdate";
930
- readonly Manual: "Manual";
931
- };
932
- export type UpdateRuntimeOn =
933
- (typeof UpdateRuntimeOn)[keyof typeof UpdateRuntimeOn];
934
605
  export interface GetRuntimeManagementConfigResponse {
935
606
  UpdateRuntimeOn?: UpdateRuntimeOn | undefined;
936
607
  RuntimeVersionArn?: string | undefined;
937
608
  FunctionArn?: string | undefined;
938
609
  }
939
- export declare class EC2AccessDeniedException extends __BaseException {
940
- readonly name: "EC2AccessDeniedException";
941
- readonly $fault: "server";
942
- Type?: string | undefined;
943
- Message?: string | undefined;
944
- constructor(
945
- opts: __ExceptionOptionType<EC2AccessDeniedException, __BaseException>
946
- );
947
- }
948
- export declare class EC2ThrottledException extends __BaseException {
949
- readonly name: "EC2ThrottledException";
950
- readonly $fault: "server";
951
- Type?: string | undefined;
952
- Message?: string | undefined;
953
- constructor(
954
- opts: __ExceptionOptionType<EC2ThrottledException, __BaseException>
955
- );
956
- }
957
- export declare class EC2UnexpectedException extends __BaseException {
958
- readonly name: "EC2UnexpectedException";
959
- readonly $fault: "server";
960
- Type?: string | undefined;
961
- Message?: string | undefined;
962
- EC2ErrorCode?: string | undefined;
963
- constructor(
964
- opts: __ExceptionOptionType<EC2UnexpectedException, __BaseException>
965
- );
966
- }
967
- export declare class EFSIOException extends __BaseException {
968
- readonly name: "EFSIOException";
969
- readonly $fault: "client";
970
- Type?: string | undefined;
971
- Message?: string | undefined;
972
- constructor(opts: __ExceptionOptionType<EFSIOException, __BaseException>);
973
- }
974
- export declare class EFSMountConnectivityException extends __BaseException {
975
- readonly name: "EFSMountConnectivityException";
976
- readonly $fault: "client";
977
- Type?: string | undefined;
978
- Message?: string | undefined;
979
- constructor(
980
- opts: __ExceptionOptionType<EFSMountConnectivityException, __BaseException>
981
- );
982
- }
983
- export declare class EFSMountFailureException extends __BaseException {
984
- readonly name: "EFSMountFailureException";
985
- readonly $fault: "client";
986
- Type?: string | undefined;
987
- Message?: string | undefined;
988
- constructor(
989
- opts: __ExceptionOptionType<EFSMountFailureException, __BaseException>
990
- );
991
- }
992
- export declare class EFSMountTimeoutException extends __BaseException {
993
- readonly name: "EFSMountTimeoutException";
994
- readonly $fault: "client";
995
- Type?: string | undefined;
996
- Message?: string | undefined;
997
- constructor(
998
- opts: __ExceptionOptionType<EFSMountTimeoutException, __BaseException>
999
- );
1000
- }
1001
- export declare class ENILimitReachedException extends __BaseException {
1002
- readonly name: "ENILimitReachedException";
1003
- readonly $fault: "server";
1004
- Type?: string | undefined;
1005
- Message?: string | undefined;
1006
- constructor(
1007
- opts: __ExceptionOptionType<ENILimitReachedException, __BaseException>
1008
- );
1009
- }
1010
- export declare class InvalidRequestContentException extends __BaseException {
1011
- readonly name: "InvalidRequestContentException";
1012
- readonly $fault: "client";
1013
- Type?: string | undefined;
1014
- constructor(
1015
- opts: __ExceptionOptionType<InvalidRequestContentException, __BaseException>
1016
- );
1017
- }
1018
- export declare class InvalidRuntimeException extends __BaseException {
1019
- readonly name: "InvalidRuntimeException";
1020
- readonly $fault: "server";
1021
- Type?: string | undefined;
1022
- Message?: string | undefined;
1023
- constructor(
1024
- opts: __ExceptionOptionType<InvalidRuntimeException, __BaseException>
1025
- );
1026
- }
1027
- export declare class InvalidSecurityGroupIDException extends __BaseException {
1028
- readonly name: "InvalidSecurityGroupIDException";
1029
- readonly $fault: "server";
1030
- Type?: string | undefined;
1031
- Message?: string | undefined;
1032
- constructor(
1033
- opts: __ExceptionOptionType<
1034
- InvalidSecurityGroupIDException,
1035
- __BaseException
1036
- >
1037
- );
1038
- }
1039
- export declare class InvalidSubnetIDException extends __BaseException {
1040
- readonly name: "InvalidSubnetIDException";
1041
- readonly $fault: "server";
1042
- Type?: string | undefined;
1043
- Message?: string | undefined;
1044
- constructor(
1045
- opts: __ExceptionOptionType<InvalidSubnetIDException, __BaseException>
1046
- );
1047
- }
1048
- export declare class InvalidZipFileException extends __BaseException {
1049
- readonly name: "InvalidZipFileException";
1050
- readonly $fault: "server";
1051
- Type?: string | undefined;
1052
- Message?: string | undefined;
1053
- constructor(
1054
- opts: __ExceptionOptionType<InvalidZipFileException, __BaseException>
1055
- );
1056
- }
1057
- export declare const InvocationType: {
1058
- readonly DryRun: "DryRun";
1059
- readonly Event: "Event";
1060
- readonly RequestResponse: "RequestResponse";
1061
- };
1062
- export type InvocationType =
1063
- (typeof InvocationType)[keyof typeof InvocationType];
1064
- export declare const LogType: {
1065
- readonly None: "None";
1066
- readonly Tail: "Tail";
1067
- };
1068
- export type LogType = (typeof LogType)[keyof typeof LogType];
1069
610
  export interface InvocationRequest {
1070
611
  FunctionName: string | undefined;
1071
612
  InvocationType?: InvocationType | undefined;
@@ -1073,6 +614,7 @@ export interface InvocationRequest {
1073
614
  ClientContext?: string | undefined;
1074
615
  Payload?: Uint8Array | undefined;
1075
616
  Qualifier?: string | undefined;
617
+ TenantId?: string | undefined;
1076
618
  }
1077
619
  export interface InvocationResponse {
1078
620
  StatusCode?: number | undefined;
@@ -1081,123 +623,6 @@ export interface InvocationResponse {
1081
623
  Payload?: Uint8Array | undefined;
1082
624
  ExecutedVersion?: string | undefined;
1083
625
  }
1084
- export declare class KMSAccessDeniedException extends __BaseException {
1085
- readonly name: "KMSAccessDeniedException";
1086
- readonly $fault: "server";
1087
- Type?: string | undefined;
1088
- Message?: string | undefined;
1089
- constructor(
1090
- opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>
1091
- );
1092
- }
1093
- export declare class KMSDisabledException extends __BaseException {
1094
- readonly name: "KMSDisabledException";
1095
- readonly $fault: "server";
1096
- Type?: string | undefined;
1097
- Message?: string | undefined;
1098
- constructor(
1099
- opts: __ExceptionOptionType<KMSDisabledException, __BaseException>
1100
- );
1101
- }
1102
- export declare class KMSInvalidStateException extends __BaseException {
1103
- readonly name: "KMSInvalidStateException";
1104
- readonly $fault: "server";
1105
- Type?: string | undefined;
1106
- Message?: string | undefined;
1107
- constructor(
1108
- opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>
1109
- );
1110
- }
1111
- export declare class KMSNotFoundException extends __BaseException {
1112
- readonly name: "KMSNotFoundException";
1113
- readonly $fault: "server";
1114
- Type?: string | undefined;
1115
- Message?: string | undefined;
1116
- constructor(
1117
- opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>
1118
- );
1119
- }
1120
- export declare class RecursiveInvocationException extends __BaseException {
1121
- readonly name: "RecursiveInvocationException";
1122
- readonly $fault: "client";
1123
- Type?: string | undefined;
1124
- Message?: string | undefined;
1125
- constructor(
1126
- opts: __ExceptionOptionType<RecursiveInvocationException, __BaseException>
1127
- );
1128
- }
1129
- export declare class RequestTooLargeException extends __BaseException {
1130
- readonly name: "RequestTooLargeException";
1131
- readonly $fault: "client";
1132
- Type?: string | undefined;
1133
- constructor(
1134
- opts: __ExceptionOptionType<RequestTooLargeException, __BaseException>
1135
- );
1136
- }
1137
- export declare class ResourceNotReadyException extends __BaseException {
1138
- readonly name: "ResourceNotReadyException";
1139
- readonly $fault: "server";
1140
- Type?: string | undefined;
1141
- constructor(
1142
- opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>
1143
- );
1144
- }
1145
- export declare class SerializedRequestEntityTooLargeException extends __BaseException {
1146
- readonly name: "SerializedRequestEntityTooLargeException";
1147
- readonly $fault: "client";
1148
- Type?: string | undefined;
1149
- constructor(
1150
- opts: __ExceptionOptionType<
1151
- SerializedRequestEntityTooLargeException,
1152
- __BaseException
1153
- >
1154
- );
1155
- }
1156
- export declare class SnapStartException extends __BaseException {
1157
- readonly name: "SnapStartException";
1158
- readonly $fault: "client";
1159
- Type?: string | undefined;
1160
- Message?: string | undefined;
1161
- constructor(opts: __ExceptionOptionType<SnapStartException, __BaseException>);
1162
- }
1163
- export declare class SnapStartNotReadyException extends __BaseException {
1164
- readonly name: "SnapStartNotReadyException";
1165
- readonly $fault: "client";
1166
- Type?: string | undefined;
1167
- Message?: string | undefined;
1168
- constructor(
1169
- opts: __ExceptionOptionType<SnapStartNotReadyException, __BaseException>
1170
- );
1171
- }
1172
- export declare class SnapStartTimeoutException extends __BaseException {
1173
- readonly name: "SnapStartTimeoutException";
1174
- readonly $fault: "client";
1175
- Type?: string | undefined;
1176
- Message?: string | undefined;
1177
- constructor(
1178
- opts: __ExceptionOptionType<SnapStartTimeoutException, __BaseException>
1179
- );
1180
- }
1181
- export declare class SubnetIPAddressLimitReachedException extends __BaseException {
1182
- readonly name: "SubnetIPAddressLimitReachedException";
1183
- readonly $fault: "server";
1184
- Type?: string | undefined;
1185
- Message?: string | undefined;
1186
- constructor(
1187
- opts: __ExceptionOptionType<
1188
- SubnetIPAddressLimitReachedException,
1189
- __BaseException
1190
- >
1191
- );
1192
- }
1193
- export declare class UnsupportedMediaTypeException extends __BaseException {
1194
- readonly name: "UnsupportedMediaTypeException";
1195
- readonly $fault: "client";
1196
- Type?: string | undefined;
1197
- constructor(
1198
- opts: __ExceptionOptionType<UnsupportedMediaTypeException, __BaseException>
1199
- );
1200
- }
1201
626
  export interface InvokeAsyncRequest {
1202
627
  FunctionName: string | undefined;
1203
628
  InvokeArgs: StreamingBlobTypes | undefined;
@@ -1205,12 +630,6 @@ export interface InvokeAsyncRequest {
1205
630
  export interface InvokeAsyncResponse {
1206
631
  Status?: number | undefined;
1207
632
  }
1208
- export declare const ResponseStreamingInvocationType: {
1209
- readonly DryRun: "DryRun";
1210
- readonly RequestResponse: "RequestResponse";
1211
- };
1212
- export type ResponseStreamingInvocationType =
1213
- (typeof ResponseStreamingInvocationType)[keyof typeof ResponseStreamingInvocationType];
1214
633
  export interface InvokeWithResponseStreamRequest {
1215
634
  FunctionName: string | undefined;
1216
635
  InvocationType?: ResponseStreamingInvocationType | undefined;
@@ -1218,6 +637,7 @@ export interface InvokeWithResponseStreamRequest {
1218
637
  ClientContext?: string | undefined;
1219
638
  Qualifier?: string | undefined;
1220
639
  Payload?: Uint8Array | undefined;
640
+ TenantId?: string | undefined;
1221
641
  }
1222
642
  export interface InvokeWithResponseStreamCompleteEvent {
1223
643
  ErrorCode?: string | undefined;
@@ -1270,11 +690,6 @@ export interface ListFunctionEventInvokeConfigsResponse {
1270
690
  FunctionEventInvokeConfigs?: FunctionEventInvokeConfig[] | undefined;
1271
691
  NextMarker?: string | undefined;
1272
692
  }
1273
- export declare const FunctionVersion: {
1274
- readonly ALL: "ALL";
1275
- };
1276
- export type FunctionVersion =
1277
- (typeof FunctionVersion)[keyof typeof FunctionVersion];
1278
693
  export interface ListFunctionsRequest {
1279
694
  MasterRegion?: string | undefined;
1280
695
  FunctionVersion?: FunctionVersion | undefined;
@@ -1308,13 +723,6 @@ export interface ListProvisionedConcurrencyConfigsRequest {
1308
723
  Marker?: string | undefined;
1309
724
  MaxItems?: number | undefined;
1310
725
  }
1311
- export declare const ProvisionedConcurrencyStatusEnum: {
1312
- readonly FAILED: "FAILED";
1313
- readonly IN_PROGRESS: "IN_PROGRESS";
1314
- readonly READY: "READY";
1315
- };
1316
- export type ProvisionedConcurrencyStatusEnum =
1317
- (typeof ProvisionedConcurrencyStatusEnum)[keyof typeof ProvisionedConcurrencyStatusEnum];
1318
726
  export interface ProvisionedConcurrencyConfigListItem {
1319
727
  FunctionArn?: string | undefined;
1320
728
  RequestedProvisionedConcurrentExecutions?: number | undefined;
@@ -1608,17 +1016,6 @@ export interface GetProvisionedConcurrencyConfigResponse {
1608
1016
  StatusReason?: string | undefined;
1609
1017
  LastModified?: string | undefined;
1610
1018
  }
1611
- export declare class ProvisionedConcurrencyConfigNotFoundException extends __BaseException {
1612
- readonly name: "ProvisionedConcurrencyConfigNotFoundException";
1613
- readonly $fault: "client";
1614
- Type?: string | undefined;
1615
- constructor(
1616
- opts: __ExceptionOptionType<
1617
- ProvisionedConcurrencyConfigNotFoundException,
1618
- __BaseException
1619
- >
1620
- );
1621
- }
1622
1019
  export interface PutProvisionedConcurrencyConfigRequest {
1623
1020
  FunctionName: string | undefined;
1624
1021
  Qualifier: string | undefined;