@aws-sdk/client-lambda 3.848.0 → 3.851.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 (66) hide show
  1. package/README.md +1 -66
  2. package/dist-cjs/index.js +73 -73
  3. package/dist-es/models/models_0.js +43 -43
  4. package/dist-es/waiters/waitForFunctionActive.js +2 -2
  5. package/dist-es/waiters/waitForFunctionActiveV2.js +2 -2
  6. package/dist-es/waiters/waitForFunctionExists.js +2 -2
  7. package/dist-es/waiters/waitForFunctionUpdated.js +2 -2
  8. package/dist-es/waiters/waitForFunctionUpdatedV2.js +2 -2
  9. package/dist-es/waiters/waitForPublishedVersionActive.js +2 -2
  10. package/dist-types/Lambda.d.ts +1 -65
  11. package/dist-types/LambdaClient.d.ts +1 -65
  12. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +2 -17
  13. package/dist-types/commands/AddPermissionCommand.d.ts +2 -24
  14. package/dist-types/commands/CreateAliasCommand.d.ts +1 -6
  15. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +1 -3
  16. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +1 -118
  17. package/dist-types/commands/CreateFunctionCommand.d.ts +3 -42
  18. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +1 -2
  19. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -2
  20. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +2 -6
  21. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -5
  22. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +1 -2
  23. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +1 -2
  24. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +1 -3
  25. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -2
  26. package/dist-types/commands/GetFunctionCommand.d.ts +1 -3
  27. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +1 -2
  28. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -3
  29. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -2
  30. package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +1 -2
  31. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -3
  32. package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -3
  33. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -2
  34. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -3
  35. package/dist-types/commands/InvokeAsyncCommand.d.ts +2 -10
  36. package/dist-types/commands/InvokeCommand.d.ts +14 -55
  37. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +14 -31
  38. package/dist-types/commands/ListAliasesCommand.d.ts +1 -2
  39. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -3
  40. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -2
  41. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -2
  42. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -2
  43. package/dist-types/commands/ListFunctionsCommand.d.ts +1 -9
  44. package/dist-types/commands/ListLayerVersionsCommand.d.ts +1 -4
  45. package/dist-types/commands/ListLayersCommand.d.ts +1 -6
  46. package/dist-types/commands/ListTagsCommand.d.ts +1 -2
  47. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -2
  48. package/dist-types/commands/PublishLayerVersionCommand.d.ts +1 -4
  49. package/dist-types/commands/PublishVersionCommand.d.ts +2 -18
  50. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -2
  51. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -9
  52. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +1 -14
  53. package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +1 -7
  54. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +1 -2
  55. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +2 -14
  56. package/dist-types/commands/RemovePermissionCommand.d.ts +2 -13
  57. package/dist-types/commands/UpdateAliasCommand.d.ts +1 -11
  58. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +1 -2
  59. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +2 -121
  60. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +4 -31
  61. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +4 -27
  62. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +1 -2
  63. package/dist-types/index.d.ts +1 -65
  64. package/dist-types/models/models_0.d.ts +1328 -3048
  65. package/dist-types/ts3.4/models/models_0.d.ts +319 -319
  66. package/package.json +1 -1
@@ -180,13 +180,6 @@ export declare const Architecture: {
180
180
  readonly x86_64: "x86_64";
181
181
  };
182
182
  export type Architecture = (typeof Architecture)[keyof typeof Architecture];
183
- export interface CreateAliasRequest {
184
- FunctionName: string | undefined;
185
- Name: string | undefined;
186
- FunctionVersion: string | undefined;
187
- Description?: string | undefined;
188
- RoutingConfig?: AliasRoutingConfiguration | undefined;
189
- }
190
183
  export declare const CodeSigningPolicy: {
191
184
  readonly Enforce: "Enforce";
192
185
  readonly Warn: "Warn";
@@ -213,6 +206,42 @@ export interface CodeSigningConfig {
213
206
  export interface CreateCodeSigningConfigResponse {
214
207
  CodeSigningConfig: CodeSigningConfig | undefined;
215
208
  }
209
+ export interface DeleteCodeSigningConfigRequest {
210
+ CodeSigningConfigArn: string | undefined;
211
+ }
212
+ export interface DeleteCodeSigningConfigResponse {}
213
+ export interface GetCodeSigningConfigRequest {
214
+ CodeSigningConfigArn: string | undefined;
215
+ }
216
+ export interface GetCodeSigningConfigResponse {
217
+ CodeSigningConfig: CodeSigningConfig | undefined;
218
+ }
219
+ export interface ListCodeSigningConfigsRequest {
220
+ Marker?: string | undefined;
221
+ MaxItems?: number | undefined;
222
+ }
223
+ export interface ListCodeSigningConfigsResponse {
224
+ NextMarker?: string | undefined;
225
+ CodeSigningConfigs?: CodeSigningConfig[] | undefined;
226
+ }
227
+ export interface ListFunctionsByCodeSigningConfigRequest {
228
+ CodeSigningConfigArn: string | undefined;
229
+ Marker?: string | undefined;
230
+ MaxItems?: number | undefined;
231
+ }
232
+ export interface ListFunctionsByCodeSigningConfigResponse {
233
+ NextMarker?: string | undefined;
234
+ FunctionArns?: string[] | undefined;
235
+ }
236
+ export interface UpdateCodeSigningConfigRequest {
237
+ CodeSigningConfigArn: string | undefined;
238
+ Description?: string | undefined;
239
+ AllowedPublishers?: AllowedPublishers | undefined;
240
+ CodeSigningPolicies?: CodeSigningPolicies | undefined;
241
+ }
242
+ export interface UpdateCodeSigningConfigResponse {
243
+ CodeSigningConfig: CodeSigningConfig | undefined;
244
+ }
216
245
  export interface OnFailure {
217
246
  Destination?: string | undefined;
218
247
  }
@@ -368,6 +397,58 @@ export interface EventSourceMappingConfiguration {
368
397
  MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
369
398
  ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
370
399
  }
400
+ export interface DeleteEventSourceMappingRequest {
401
+ UUID: string | undefined;
402
+ }
403
+ export declare class ResourceInUseException extends __BaseException {
404
+ readonly name: "ResourceInUseException";
405
+ readonly $fault: "client";
406
+ Type?: string | undefined;
407
+ Message?: string | undefined;
408
+ constructor(
409
+ opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
410
+ );
411
+ }
412
+ export interface GetEventSourceMappingRequest {
413
+ UUID: string | undefined;
414
+ }
415
+ export interface ListEventSourceMappingsRequest {
416
+ EventSourceArn?: string | undefined;
417
+ FunctionName?: string | undefined;
418
+ Marker?: string | undefined;
419
+ MaxItems?: number | undefined;
420
+ }
421
+ export interface ListEventSourceMappingsResponse {
422
+ NextMarker?: string | undefined;
423
+ EventSourceMappings?: EventSourceMappingConfiguration[] | undefined;
424
+ }
425
+ export interface UpdateEventSourceMappingRequest {
426
+ UUID: string | undefined;
427
+ FunctionName?: string | undefined;
428
+ Enabled?: boolean | undefined;
429
+ BatchSize?: number | undefined;
430
+ FilterCriteria?: FilterCriteria | undefined;
431
+ MaximumBatchingWindowInSeconds?: number | undefined;
432
+ DestinationConfig?: DestinationConfig | undefined;
433
+ MaximumRecordAgeInSeconds?: number | undefined;
434
+ BisectBatchOnFunctionError?: boolean | undefined;
435
+ MaximumRetryAttempts?: number | undefined;
436
+ ParallelizationFactor?: number | undefined;
437
+ SourceAccessConfigurations?: SourceAccessConfiguration[] | undefined;
438
+ TumblingWindowInSeconds?: number | undefined;
439
+ FunctionResponseTypes?: FunctionResponseType[] | undefined;
440
+ ScalingConfig?: ScalingConfig | undefined;
441
+ AmazonManagedKafkaEventSourceConfig?:
442
+ | AmazonManagedKafkaEventSourceConfig
443
+ | undefined;
444
+ SelfManagedKafkaEventSourceConfig?:
445
+ | SelfManagedKafkaEventSourceConfig
446
+ | undefined;
447
+ DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig | undefined;
448
+ KMSKeyArn?: string | undefined;
449
+ MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
450
+ ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
451
+ }
371
452
  export declare class CodeSigningConfigNotFoundException extends __BaseException {
372
453
  readonly name: "CodeSigningConfigNotFoundException";
373
454
  readonly $fault: "client";
@@ -732,26 +813,6 @@ export interface CreateFunctionUrlConfigResponse {
732
813
  CreationTime: string | undefined;
733
814
  InvokeMode?: InvokeMode | undefined;
734
815
  }
735
- export interface DeleteAliasRequest {
736
- FunctionName: string | undefined;
737
- Name: string | undefined;
738
- }
739
- export interface DeleteCodeSigningConfigRequest {
740
- CodeSigningConfigArn: string | undefined;
741
- }
742
- export interface DeleteCodeSigningConfigResponse {}
743
- export interface DeleteEventSourceMappingRequest {
744
- UUID: string | undefined;
745
- }
746
- export declare class ResourceInUseException extends __BaseException {
747
- readonly name: "ResourceInUseException";
748
- readonly $fault: "client";
749
- Type?: string | undefined;
750
- Message?: string | undefined;
751
- constructor(
752
- opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
753
- );
754
- }
755
816
  export interface DeleteFunctionRequest {
756
817
  FunctionName: string | undefined;
757
818
  Qualifier?: string | undefined;
@@ -770,32 +831,6 @@ export interface DeleteFunctionUrlConfigRequest {
770
831
  FunctionName: string | undefined;
771
832
  Qualifier?: string | undefined;
772
833
  }
773
- export interface DeleteLayerVersionRequest {
774
- LayerName: string | undefined;
775
- VersionNumber: number | undefined;
776
- }
777
- export interface DeleteProvisionedConcurrencyConfigRequest {
778
- FunctionName: string | undefined;
779
- Qualifier: string | undefined;
780
- }
781
- export interface GetAccountSettingsRequest {}
782
- export interface GetAccountSettingsResponse {
783
- AccountLimit?: AccountLimit | undefined;
784
- AccountUsage?: AccountUsage | undefined;
785
- }
786
- export interface GetAliasRequest {
787
- FunctionName: string | undefined;
788
- Name: string | undefined;
789
- }
790
- export interface GetCodeSigningConfigRequest {
791
- CodeSigningConfigArn: string | undefined;
792
- }
793
- export interface GetCodeSigningConfigResponse {
794
- CodeSigningConfig: CodeSigningConfig | undefined;
795
- }
796
- export interface GetEventSourceMappingRequest {
797
- UUID: string | undefined;
798
- }
799
834
  export interface GetFunctionRequest {
800
835
  FunctionName: string | undefined;
801
836
  Qualifier?: string | undefined;
@@ -873,39 +908,6 @@ export interface GetFunctionUrlConfigResponse {
873
908
  LastModifiedTime: string | undefined;
874
909
  InvokeMode?: InvokeMode | undefined;
875
910
  }
876
- export interface GetLayerVersionRequest {
877
- LayerName: string | undefined;
878
- VersionNumber: number | undefined;
879
- }
880
- export interface LayerVersionContentOutput {
881
- Location?: string | undefined;
882
- CodeSha256?: string | undefined;
883
- CodeSize?: number | undefined;
884
- SigningProfileVersionArn?: string | undefined;
885
- SigningJobArn?: string | undefined;
886
- }
887
- export interface GetLayerVersionResponse {
888
- Content?: LayerVersionContentOutput | undefined;
889
- LayerArn?: string | undefined;
890
- LayerVersionArn?: string | undefined;
891
- Description?: string | undefined;
892
- CreatedDate?: string | undefined;
893
- Version?: number | undefined;
894
- CompatibleRuntimes?: Runtime[] | undefined;
895
- LicenseInfo?: string | undefined;
896
- CompatibleArchitectures?: Architecture[] | undefined;
897
- }
898
- export interface GetLayerVersionByArnRequest {
899
- Arn: string | undefined;
900
- }
901
- export interface GetLayerVersionPolicyRequest {
902
- LayerName: string | undefined;
903
- VersionNumber: number | undefined;
904
- }
905
- export interface GetLayerVersionPolicyResponse {
906
- Policy?: string | undefined;
907
- RevisionId?: string | undefined;
908
- }
909
911
  export interface GetPolicyRequest {
910
912
  FunctionName: string | undefined;
911
913
  Qualifier?: string | undefined;
@@ -914,36 +916,6 @@ export interface GetPolicyResponse {
914
916
  Policy?: string | undefined;
915
917
  RevisionId?: string | undefined;
916
918
  }
917
- export interface GetProvisionedConcurrencyConfigRequest {
918
- FunctionName: string | undefined;
919
- Qualifier: string | undefined;
920
- }
921
- export declare const ProvisionedConcurrencyStatusEnum: {
922
- readonly FAILED: "FAILED";
923
- readonly IN_PROGRESS: "IN_PROGRESS";
924
- readonly READY: "READY";
925
- };
926
- export type ProvisionedConcurrencyStatusEnum =
927
- (typeof ProvisionedConcurrencyStatusEnum)[keyof typeof ProvisionedConcurrencyStatusEnum];
928
- export interface GetProvisionedConcurrencyConfigResponse {
929
- RequestedProvisionedConcurrentExecutions?: number | undefined;
930
- AvailableProvisionedConcurrentExecutions?: number | undefined;
931
- AllocatedProvisionedConcurrentExecutions?: number | undefined;
932
- Status?: ProvisionedConcurrencyStatusEnum | undefined;
933
- StatusReason?: string | undefined;
934
- LastModified?: string | undefined;
935
- }
936
- export declare class ProvisionedConcurrencyConfigNotFoundException extends __BaseException {
937
- readonly name: "ProvisionedConcurrencyConfigNotFoundException";
938
- readonly $fault: "client";
939
- Type?: string | undefined;
940
- constructor(
941
- opts: __ExceptionOptionType<
942
- ProvisionedConcurrencyConfigNotFoundException,
943
- __BaseException
944
- >
945
- );
946
- }
947
919
  export interface GetRuntimeManagementConfigRequest {
948
920
  FunctionName: string | undefined;
949
921
  Qualifier?: string | undefined;
@@ -1278,34 +1250,6 @@ export interface InvokeWithResponseStreamResponse {
1278
1250
  | undefined;
1279
1251
  ResponseStreamContentType?: string | undefined;
1280
1252
  }
1281
- export interface ListAliasesRequest {
1282
- FunctionName: string | undefined;
1283
- FunctionVersion?: string | undefined;
1284
- Marker?: string | undefined;
1285
- MaxItems?: number | undefined;
1286
- }
1287
- export interface ListAliasesResponse {
1288
- NextMarker?: string | undefined;
1289
- Aliases?: AliasConfiguration[] | undefined;
1290
- }
1291
- export interface ListCodeSigningConfigsRequest {
1292
- Marker?: string | undefined;
1293
- MaxItems?: number | undefined;
1294
- }
1295
- export interface ListCodeSigningConfigsResponse {
1296
- NextMarker?: string | undefined;
1297
- CodeSigningConfigs?: CodeSigningConfig[] | undefined;
1298
- }
1299
- export interface ListEventSourceMappingsRequest {
1300
- EventSourceArn?: string | undefined;
1301
- FunctionName?: string | undefined;
1302
- Marker?: string | undefined;
1303
- MaxItems?: number | undefined;
1304
- }
1305
- export interface ListEventSourceMappingsResponse {
1306
- NextMarker?: string | undefined;
1307
- EventSourceMappings?: EventSourceMappingConfiguration[] | undefined;
1308
- }
1309
1253
  export interface ListFunctionEventInvokeConfigsRequest {
1310
1254
  FunctionName: string | undefined;
1311
1255
  Marker?: string | undefined;
@@ -1330,15 +1274,6 @@ export interface ListFunctionsResponse {
1330
1274
  NextMarker?: string | undefined;
1331
1275
  Functions?: FunctionConfiguration[] | undefined;
1332
1276
  }
1333
- export interface ListFunctionsByCodeSigningConfigRequest {
1334
- CodeSigningConfigArn: string | undefined;
1335
- Marker?: string | undefined;
1336
- MaxItems?: number | undefined;
1337
- }
1338
- export interface ListFunctionsByCodeSigningConfigResponse {
1339
- NextMarker?: string | undefined;
1340
- FunctionArns?: string[] | undefined;
1341
- }
1342
1277
  export interface ListFunctionUrlConfigsRequest {
1343
1278
  FunctionName: string | undefined;
1344
1279
  Marker?: string | undefined;
@@ -1357,46 +1292,18 @@ export interface ListFunctionUrlConfigsResponse {
1357
1292
  FunctionUrlConfigs: FunctionUrlConfig[] | undefined;
1358
1293
  NextMarker?: string | undefined;
1359
1294
  }
1360
- export interface ListLayersRequest {
1361
- CompatibleRuntime?: Runtime | undefined;
1362
- Marker?: string | undefined;
1363
- MaxItems?: number | undefined;
1364
- CompatibleArchitecture?: Architecture | undefined;
1365
- }
1366
- export interface LayerVersionsListItem {
1367
- LayerVersionArn?: string | undefined;
1368
- Version?: number | undefined;
1369
- Description?: string | undefined;
1370
- CreatedDate?: string | undefined;
1371
- CompatibleRuntimes?: Runtime[] | undefined;
1372
- LicenseInfo?: string | undefined;
1373
- CompatibleArchitectures?: Architecture[] | undefined;
1374
- }
1375
- export interface LayersListItem {
1376
- LayerName?: string | undefined;
1377
- LayerArn?: string | undefined;
1378
- LatestMatchingVersion?: LayerVersionsListItem | undefined;
1379
- }
1380
- export interface ListLayersResponse {
1381
- NextMarker?: string | undefined;
1382
- Layers?: LayersListItem[] | undefined;
1383
- }
1384
- export interface ListLayerVersionsRequest {
1385
- CompatibleRuntime?: Runtime | undefined;
1386
- LayerName: string | undefined;
1387
- Marker?: string | undefined;
1388
- MaxItems?: number | undefined;
1389
- CompatibleArchitecture?: Architecture | undefined;
1390
- }
1391
- export interface ListLayerVersionsResponse {
1392
- NextMarker?: string | undefined;
1393
- LayerVersions?: LayerVersionsListItem[] | undefined;
1394
- }
1395
- export interface ListProvisionedConcurrencyConfigsRequest {
1396
- FunctionName: string | undefined;
1295
+ export interface ListProvisionedConcurrencyConfigsRequest {
1296
+ FunctionName: string | undefined;
1397
1297
  Marker?: string | undefined;
1398
1298
  MaxItems?: number | undefined;
1399
1299
  }
1300
+ export declare const ProvisionedConcurrencyStatusEnum: {
1301
+ readonly FAILED: "FAILED";
1302
+ readonly IN_PROGRESS: "IN_PROGRESS";
1303
+ readonly READY: "READY";
1304
+ };
1305
+ export type ProvisionedConcurrencyStatusEnum =
1306
+ (typeof ProvisionedConcurrencyStatusEnum)[keyof typeof ProvisionedConcurrencyStatusEnum];
1400
1307
  export interface ProvisionedConcurrencyConfigListItem {
1401
1308
  FunctionArn?: string | undefined;
1402
1309
  RequestedProvisionedConcurrentExecutions?: number | undefined;
@@ -1412,52 +1319,6 @@ export interface ListProvisionedConcurrencyConfigsResponse {
1412
1319
  | undefined;
1413
1320
  NextMarker?: string | undefined;
1414
1321
  }
1415
- export interface ListTagsRequest {
1416
- Resource: string | undefined;
1417
- }
1418
- export interface ListTagsResponse {
1419
- Tags?: Record<string, string> | undefined;
1420
- }
1421
- export interface ListVersionsByFunctionRequest {
1422
- FunctionName: string | undefined;
1423
- Marker?: string | undefined;
1424
- MaxItems?: number | undefined;
1425
- }
1426
- export interface ListVersionsByFunctionResponse {
1427
- NextMarker?: string | undefined;
1428
- Versions?: FunctionConfiguration[] | undefined;
1429
- }
1430
- export interface LayerVersionContentInput {
1431
- S3Bucket?: string | undefined;
1432
- S3Key?: string | undefined;
1433
- S3ObjectVersion?: string | undefined;
1434
- ZipFile?: Uint8Array | undefined;
1435
- }
1436
- export interface PublishLayerVersionRequest {
1437
- LayerName: string | undefined;
1438
- Description?: string | undefined;
1439
- Content: LayerVersionContentInput | undefined;
1440
- CompatibleRuntimes?: Runtime[] | undefined;
1441
- LicenseInfo?: string | undefined;
1442
- CompatibleArchitectures?: Architecture[] | undefined;
1443
- }
1444
- export interface PublishLayerVersionResponse {
1445
- Content?: LayerVersionContentOutput | undefined;
1446
- LayerArn?: string | undefined;
1447
- LayerVersionArn?: string | undefined;
1448
- Description?: string | undefined;
1449
- CreatedDate?: string | undefined;
1450
- Version?: number | undefined;
1451
- CompatibleRuntimes?: Runtime[] | undefined;
1452
- LicenseInfo?: string | undefined;
1453
- CompatibleArchitectures?: Architecture[] | undefined;
1454
- }
1455
- export interface PublishVersionRequest {
1456
- FunctionName: string | undefined;
1457
- CodeSha256?: string | undefined;
1458
- Description?: string | undefined;
1459
- RevisionId?: string | undefined;
1460
- }
1461
1322
  export interface PutFunctionCodeSigningConfigRequest {
1462
1323
  CodeSigningConfigArn: string | undefined;
1463
1324
  FunctionName: string | undefined;
@@ -1484,19 +1345,6 @@ export interface PutFunctionRecursionConfigRequest {
1484
1345
  export interface PutFunctionRecursionConfigResponse {
1485
1346
  RecursiveLoop?: RecursiveLoop | undefined;
1486
1347
  }
1487
- export interface PutProvisionedConcurrencyConfigRequest {
1488
- FunctionName: string | undefined;
1489
- Qualifier: string | undefined;
1490
- ProvisionedConcurrentExecutions: number | undefined;
1491
- }
1492
- export interface PutProvisionedConcurrencyConfigResponse {
1493
- RequestedProvisionedConcurrentExecutions?: number | undefined;
1494
- AvailableProvisionedConcurrentExecutions?: number | undefined;
1495
- AllocatedProvisionedConcurrentExecutions?: number | undefined;
1496
- Status?: ProvisionedConcurrencyStatusEnum | undefined;
1497
- StatusReason?: string | undefined;
1498
- LastModified?: string | undefined;
1499
- }
1500
1348
  export interface PutRuntimeManagementConfigRequest {
1501
1349
  FunctionName: string | undefined;
1502
1350
  Qualifier?: string | undefined;
@@ -1508,70 +1356,6 @@ export interface PutRuntimeManagementConfigResponse {
1508
1356
  FunctionArn: string | undefined;
1509
1357
  RuntimeVersionArn?: string | undefined;
1510
1358
  }
1511
- export interface RemoveLayerVersionPermissionRequest {
1512
- LayerName: string | undefined;
1513
- VersionNumber: number | undefined;
1514
- StatementId: string | undefined;
1515
- RevisionId?: string | undefined;
1516
- }
1517
- export interface RemovePermissionRequest {
1518
- FunctionName: string | undefined;
1519
- StatementId: string | undefined;
1520
- Qualifier?: string | undefined;
1521
- RevisionId?: string | undefined;
1522
- }
1523
- export interface TagResourceRequest {
1524
- Resource: string | undefined;
1525
- Tags: Record<string, string> | undefined;
1526
- }
1527
- export interface UntagResourceRequest {
1528
- Resource: string | undefined;
1529
- TagKeys: string[] | undefined;
1530
- }
1531
- export interface UpdateAliasRequest {
1532
- FunctionName: string | undefined;
1533
- Name: string | undefined;
1534
- FunctionVersion?: string | undefined;
1535
- Description?: string | undefined;
1536
- RoutingConfig?: AliasRoutingConfiguration | undefined;
1537
- RevisionId?: string | undefined;
1538
- }
1539
- export interface UpdateCodeSigningConfigRequest {
1540
- CodeSigningConfigArn: string | undefined;
1541
- Description?: string | undefined;
1542
- AllowedPublishers?: AllowedPublishers | undefined;
1543
- CodeSigningPolicies?: CodeSigningPolicies | undefined;
1544
- }
1545
- export interface UpdateCodeSigningConfigResponse {
1546
- CodeSigningConfig: CodeSigningConfig | undefined;
1547
- }
1548
- export interface UpdateEventSourceMappingRequest {
1549
- UUID: string | undefined;
1550
- FunctionName?: string | undefined;
1551
- Enabled?: boolean | undefined;
1552
- BatchSize?: number | undefined;
1553
- FilterCriteria?: FilterCriteria | undefined;
1554
- MaximumBatchingWindowInSeconds?: number | undefined;
1555
- DestinationConfig?: DestinationConfig | undefined;
1556
- MaximumRecordAgeInSeconds?: number | undefined;
1557
- BisectBatchOnFunctionError?: boolean | undefined;
1558
- MaximumRetryAttempts?: number | undefined;
1559
- ParallelizationFactor?: number | undefined;
1560
- SourceAccessConfigurations?: SourceAccessConfiguration[] | undefined;
1561
- TumblingWindowInSeconds?: number | undefined;
1562
- FunctionResponseTypes?: FunctionResponseType[] | undefined;
1563
- ScalingConfig?: ScalingConfig | undefined;
1564
- AmazonManagedKafkaEventSourceConfig?:
1565
- | AmazonManagedKafkaEventSourceConfig
1566
- | undefined;
1567
- SelfManagedKafkaEventSourceConfig?:
1568
- | SelfManagedKafkaEventSourceConfig
1569
- | undefined;
1570
- DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig | undefined;
1571
- KMSKeyArn?: string | undefined;
1572
- MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
1573
- ProvisionedPollerConfig?: ProvisionedPollerConfig | undefined;
1574
- }
1575
1359
  export interface UpdateFunctionCodeRequest {
1576
1360
  FunctionName: string | undefined;
1577
1361
  ZipFile?: Uint8Array | undefined;
@@ -1629,6 +1413,222 @@ export interface UpdateFunctionUrlConfigResponse {
1629
1413
  LastModifiedTime: string | undefined;
1630
1414
  InvokeMode?: InvokeMode | undefined;
1631
1415
  }
1416
+ export interface CreateAliasRequest {
1417
+ FunctionName: string | undefined;
1418
+ Name: string | undefined;
1419
+ FunctionVersion: string | undefined;
1420
+ Description?: string | undefined;
1421
+ RoutingConfig?: AliasRoutingConfiguration | undefined;
1422
+ }
1423
+ export interface DeleteAliasRequest {
1424
+ FunctionName: string | undefined;
1425
+ Name: string | undefined;
1426
+ }
1427
+ export interface GetAliasRequest {
1428
+ FunctionName: string | undefined;
1429
+ Name: string | undefined;
1430
+ }
1431
+ export interface ListAliasesRequest {
1432
+ FunctionName: string | undefined;
1433
+ FunctionVersion?: string | undefined;
1434
+ Marker?: string | undefined;
1435
+ MaxItems?: number | undefined;
1436
+ }
1437
+ export interface ListAliasesResponse {
1438
+ NextMarker?: string | undefined;
1439
+ Aliases?: AliasConfiguration[] | undefined;
1440
+ }
1441
+ export interface UpdateAliasRequest {
1442
+ FunctionName: string | undefined;
1443
+ Name: string | undefined;
1444
+ FunctionVersion?: string | undefined;
1445
+ Description?: string | undefined;
1446
+ RoutingConfig?: AliasRoutingConfiguration | undefined;
1447
+ RevisionId?: string | undefined;
1448
+ }
1449
+ export interface ListVersionsByFunctionRequest {
1450
+ FunctionName: string | undefined;
1451
+ Marker?: string | undefined;
1452
+ MaxItems?: number | undefined;
1453
+ }
1454
+ export interface ListVersionsByFunctionResponse {
1455
+ NextMarker?: string | undefined;
1456
+ Versions?: FunctionConfiguration[] | undefined;
1457
+ }
1458
+ export interface PublishVersionRequest {
1459
+ FunctionName: string | undefined;
1460
+ CodeSha256?: string | undefined;
1461
+ Description?: string | undefined;
1462
+ RevisionId?: string | undefined;
1463
+ }
1464
+ export interface GetAccountSettingsRequest {}
1465
+ export interface GetAccountSettingsResponse {
1466
+ AccountLimit?: AccountLimit | undefined;
1467
+ AccountUsage?: AccountUsage | undefined;
1468
+ }
1469
+ export interface ListLayersRequest {
1470
+ CompatibleRuntime?: Runtime | undefined;
1471
+ Marker?: string | undefined;
1472
+ MaxItems?: number | undefined;
1473
+ CompatibleArchitecture?: Architecture | undefined;
1474
+ }
1475
+ export interface LayerVersionsListItem {
1476
+ LayerVersionArn?: string | undefined;
1477
+ Version?: number | undefined;
1478
+ Description?: string | undefined;
1479
+ CreatedDate?: string | undefined;
1480
+ CompatibleRuntimes?: Runtime[] | undefined;
1481
+ LicenseInfo?: string | undefined;
1482
+ CompatibleArchitectures?: Architecture[] | undefined;
1483
+ }
1484
+ export interface LayersListItem {
1485
+ LayerName?: string | undefined;
1486
+ LayerArn?: string | undefined;
1487
+ LatestMatchingVersion?: LayerVersionsListItem | undefined;
1488
+ }
1489
+ export interface ListLayersResponse {
1490
+ NextMarker?: string | undefined;
1491
+ Layers?: LayersListItem[] | undefined;
1492
+ }
1493
+ export interface DeleteLayerVersionRequest {
1494
+ LayerName: string | undefined;
1495
+ VersionNumber: number | undefined;
1496
+ }
1497
+ export interface GetLayerVersionRequest {
1498
+ LayerName: string | undefined;
1499
+ VersionNumber: number | undefined;
1500
+ }
1501
+ export interface LayerVersionContentOutput {
1502
+ Location?: string | undefined;
1503
+ CodeSha256?: string | undefined;
1504
+ CodeSize?: number | undefined;
1505
+ SigningProfileVersionArn?: string | undefined;
1506
+ SigningJobArn?: string | undefined;
1507
+ }
1508
+ export interface GetLayerVersionResponse {
1509
+ Content?: LayerVersionContentOutput | undefined;
1510
+ LayerArn?: string | undefined;
1511
+ LayerVersionArn?: string | undefined;
1512
+ Description?: string | undefined;
1513
+ CreatedDate?: string | undefined;
1514
+ Version?: number | undefined;
1515
+ CompatibleRuntimes?: Runtime[] | undefined;
1516
+ LicenseInfo?: string | undefined;
1517
+ CompatibleArchitectures?: Architecture[] | undefined;
1518
+ }
1519
+ export interface GetLayerVersionByArnRequest {
1520
+ Arn: string | undefined;
1521
+ }
1522
+ export interface GetLayerVersionPolicyRequest {
1523
+ LayerName: string | undefined;
1524
+ VersionNumber: number | undefined;
1525
+ }
1526
+ export interface GetLayerVersionPolicyResponse {
1527
+ Policy?: string | undefined;
1528
+ RevisionId?: string | undefined;
1529
+ }
1530
+ export interface ListLayerVersionsRequest {
1531
+ CompatibleRuntime?: Runtime | undefined;
1532
+ LayerName: string | undefined;
1533
+ Marker?: string | undefined;
1534
+ MaxItems?: number | undefined;
1535
+ CompatibleArchitecture?: Architecture | undefined;
1536
+ }
1537
+ export interface ListLayerVersionsResponse {
1538
+ NextMarker?: string | undefined;
1539
+ LayerVersions?: LayerVersionsListItem[] | undefined;
1540
+ }
1541
+ export interface LayerVersionContentInput {
1542
+ S3Bucket?: string | undefined;
1543
+ S3Key?: string | undefined;
1544
+ S3ObjectVersion?: string | undefined;
1545
+ ZipFile?: Uint8Array | undefined;
1546
+ }
1547
+ export interface PublishLayerVersionRequest {
1548
+ LayerName: string | undefined;
1549
+ Description?: string | undefined;
1550
+ Content: LayerVersionContentInput | undefined;
1551
+ CompatibleRuntimes?: Runtime[] | undefined;
1552
+ LicenseInfo?: string | undefined;
1553
+ CompatibleArchitectures?: Architecture[] | undefined;
1554
+ }
1555
+ export interface PublishLayerVersionResponse {
1556
+ Content?: LayerVersionContentOutput | undefined;
1557
+ LayerArn?: string | undefined;
1558
+ LayerVersionArn?: string | undefined;
1559
+ Description?: string | undefined;
1560
+ CreatedDate?: string | undefined;
1561
+ Version?: number | undefined;
1562
+ CompatibleRuntimes?: Runtime[] | undefined;
1563
+ LicenseInfo?: string | undefined;
1564
+ CompatibleArchitectures?: Architecture[] | undefined;
1565
+ }
1566
+ export interface RemoveLayerVersionPermissionRequest {
1567
+ LayerName: string | undefined;
1568
+ VersionNumber: number | undefined;
1569
+ StatementId: string | undefined;
1570
+ RevisionId?: string | undefined;
1571
+ }
1572
+ export interface ListTagsRequest {
1573
+ Resource: string | undefined;
1574
+ }
1575
+ export interface ListTagsResponse {
1576
+ Tags?: Record<string, string> | undefined;
1577
+ }
1578
+ export interface RemovePermissionRequest {
1579
+ FunctionName: string | undefined;
1580
+ StatementId: string | undefined;
1581
+ Qualifier?: string | undefined;
1582
+ RevisionId?: string | undefined;
1583
+ }
1584
+ export interface DeleteProvisionedConcurrencyConfigRequest {
1585
+ FunctionName: string | undefined;
1586
+ Qualifier: string | undefined;
1587
+ }
1588
+ export interface GetProvisionedConcurrencyConfigRequest {
1589
+ FunctionName: string | undefined;
1590
+ Qualifier: string | undefined;
1591
+ }
1592
+ export interface GetProvisionedConcurrencyConfigResponse {
1593
+ RequestedProvisionedConcurrentExecutions?: number | undefined;
1594
+ AvailableProvisionedConcurrentExecutions?: number | undefined;
1595
+ AllocatedProvisionedConcurrentExecutions?: number | undefined;
1596
+ Status?: ProvisionedConcurrencyStatusEnum | undefined;
1597
+ StatusReason?: string | undefined;
1598
+ LastModified?: string | undefined;
1599
+ }
1600
+ export declare class ProvisionedConcurrencyConfigNotFoundException extends __BaseException {
1601
+ readonly name: "ProvisionedConcurrencyConfigNotFoundException";
1602
+ readonly $fault: "client";
1603
+ Type?: string | undefined;
1604
+ constructor(
1605
+ opts: __ExceptionOptionType<
1606
+ ProvisionedConcurrencyConfigNotFoundException,
1607
+ __BaseException
1608
+ >
1609
+ );
1610
+ }
1611
+ export interface PutProvisionedConcurrencyConfigRequest {
1612
+ FunctionName: string | undefined;
1613
+ Qualifier: string | undefined;
1614
+ ProvisionedConcurrentExecutions: number | undefined;
1615
+ }
1616
+ export interface PutProvisionedConcurrencyConfigResponse {
1617
+ RequestedProvisionedConcurrentExecutions?: number | undefined;
1618
+ AvailableProvisionedConcurrentExecutions?: number | undefined;
1619
+ AllocatedProvisionedConcurrentExecutions?: number | undefined;
1620
+ Status?: ProvisionedConcurrencyStatusEnum | undefined;
1621
+ StatusReason?: string | undefined;
1622
+ LastModified?: string | undefined;
1623
+ }
1624
+ export interface TagResourceRequest {
1625
+ Resource: string | undefined;
1626
+ Tags: Record<string, string> | undefined;
1627
+ }
1628
+ export interface UntagResourceRequest {
1629
+ Resource: string | undefined;
1630
+ TagKeys: string[] | undefined;
1631
+ }
1632
1632
  export declare const FunctionCodeFilterSensitiveLog: (obj: FunctionCode) => any;
1633
1633
  export declare const EnvironmentFilterSensitiveLog: (obj: Environment) => any;
1634
1634
  export declare const CreateFunctionRequestFilterSensitiveLog: (
@@ -1682,6 +1682,12 @@ export declare const InvokeWithResponseStreamResponseFilterSensitiveLog: (
1682
1682
  export declare const ListFunctionsResponseFilterSensitiveLog: (
1683
1683
  obj: ListFunctionsResponse
1684
1684
  ) => any;
1685
+ export declare const UpdateFunctionCodeRequestFilterSensitiveLog: (
1686
+ obj: UpdateFunctionCodeRequest
1687
+ ) => any;
1688
+ export declare const UpdateFunctionConfigurationRequestFilterSensitiveLog: (
1689
+ obj: UpdateFunctionConfigurationRequest
1690
+ ) => any;
1685
1691
  export declare const ListVersionsByFunctionResponseFilterSensitiveLog: (
1686
1692
  obj: ListVersionsByFunctionResponse
1687
1693
  ) => any;
@@ -1691,9 +1697,3 @@ export declare const LayerVersionContentInputFilterSensitiveLog: (
1691
1697
  export declare const PublishLayerVersionRequestFilterSensitiveLog: (
1692
1698
  obj: PublishLayerVersionRequest
1693
1699
  ) => any;
1694
- export declare const UpdateFunctionCodeRequestFilterSensitiveLog: (
1695
- obj: UpdateFunctionCodeRequest
1696
- ) => any;
1697
- export declare const UpdateFunctionConfigurationRequestFilterSensitiveLog: (
1698
- obj: UpdateFunctionConfigurationRequest
1699
- ) => any;