@aws-sdk/client-pipes 3.300.0 → 3.303.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.
@@ -2,11 +2,16 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { PipesServiceException as __BaseException } from "./PipesServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum AssignPublicIp {
7
- DISABLED = "DISABLED",
8
- ENABLED = "ENABLED"
9
- }
7
+ export declare const AssignPublicIp: {
8
+ readonly DISABLED: "DISABLED";
9
+ readonly ENABLED: "ENABLED";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type AssignPublicIp = (typeof AssignPublicIp)[keyof typeof AssignPublicIp];
10
15
  /**
11
16
  * @public
12
17
  * <p>This structure specifies the VPC subnets and security groups for the task, and whether a public IP address is to be used.
@@ -59,12 +64,17 @@ export interface BatchEnvironmentVariable {
59
64
  }
60
65
  /**
61
66
  * @public
67
+ * @enum
62
68
  */
63
- export declare enum BatchResourceRequirementType {
64
- GPU = "GPU",
65
- MEMORY = "MEMORY",
66
- VCPU = "VCPU"
67
- }
69
+ export declare const BatchResourceRequirementType: {
70
+ readonly GPU: "GPU";
71
+ readonly MEMORY: "MEMORY";
72
+ readonly VCPU: "VCPU";
73
+ };
74
+ /**
75
+ * @public
76
+ */
77
+ export type BatchResourceRequirementType = (typeof BatchResourceRequirementType)[keyof typeof BatchResourceRequirementType];
68
78
  /**
69
79
  * @public
70
80
  * <p>The type and amount of a resource to assign to a container. The supported resources include <code>GPU</code>, <code>MEMORY</code>, and <code>VCPU</code>.</p>
@@ -271,11 +281,16 @@ export interface BatchContainerOverrides {
271
281
  }
272
282
  /**
273
283
  * @public
284
+ * @enum
274
285
  */
275
- export declare enum BatchJobDependencyType {
276
- N_TO_N = "N_TO_N",
277
- SEQUENTIAL = "SEQUENTIAL"
278
- }
286
+ export declare const BatchJobDependencyType: {
287
+ readonly N_TO_N: "N_TO_N";
288
+ readonly SEQUENTIAL: "SEQUENTIAL";
289
+ };
290
+ /**
291
+ * @public
292
+ */
293
+ export type BatchJobDependencyType = (typeof BatchJobDependencyType)[keyof typeof BatchJobDependencyType];
279
294
  /**
280
295
  * @public
281
296
  * <p>An object that represents an Batch job dependency.</p>
@@ -346,11 +361,16 @@ export declare class ConflictException extends __BaseException {
346
361
  }
347
362
  /**
348
363
  * @public
364
+ * @enum
349
365
  */
350
- export declare enum RequestedPipeState {
351
- RUNNING = "RUNNING",
352
- STOPPED = "STOPPED"
353
- }
366
+ export declare const RequestedPipeState: {
367
+ readonly RUNNING: "RUNNING";
368
+ readonly STOPPED: "STOPPED";
369
+ };
370
+ /**
371
+ * @public
372
+ */
373
+ export type RequestedPipeState = (typeof RequestedPipeState)[keyof typeof RequestedPipeState];
354
374
  /**
355
375
  * @public
356
376
  * <p>These are custom parameter to be used when the target is an API Gateway REST APIs or
@@ -457,17 +477,27 @@ export interface DeadLetterConfig {
457
477
  }
458
478
  /**
459
479
  * @public
480
+ * @enum
460
481
  */
461
- export declare enum OnPartialBatchItemFailureStreams {
462
- AUTOMATIC_BISECT = "AUTOMATIC_BISECT"
463
- }
482
+ export declare const OnPartialBatchItemFailureStreams: {
483
+ readonly AUTOMATIC_BISECT: "AUTOMATIC_BISECT";
484
+ };
464
485
  /**
465
486
  * @public
466
487
  */
467
- export declare enum DynamoDBStreamStartPosition {
468
- LATEST = "LATEST",
469
- TRIM_HORIZON = "TRIM_HORIZON"
470
- }
488
+ export type OnPartialBatchItemFailureStreams = (typeof OnPartialBatchItemFailureStreams)[keyof typeof OnPartialBatchItemFailureStreams];
489
+ /**
490
+ * @public
491
+ * @enum
492
+ */
493
+ export declare const DynamoDBStreamStartPosition: {
494
+ readonly LATEST: "LATEST";
495
+ readonly TRIM_HORIZON: "TRIM_HORIZON";
496
+ };
497
+ /**
498
+ * @public
499
+ */
500
+ export type DynamoDBStreamStartPosition = (typeof DynamoDBStreamStartPosition)[keyof typeof DynamoDBStreamStartPosition];
471
501
  /**
472
502
  * @public
473
503
  * <p>The parameters for using a DynamoDB stream as a source.</p>
@@ -533,12 +563,17 @@ export interface FilterCriteria {
533
563
  }
534
564
  /**
535
565
  * @public
566
+ * @enum
536
567
  */
537
- export declare enum KinesisStreamStartPosition {
538
- AT_TIMESTAMP = "AT_TIMESTAMP",
539
- LATEST = "LATEST",
540
- TRIM_HORIZON = "TRIM_HORIZON"
541
- }
568
+ export declare const KinesisStreamStartPosition: {
569
+ readonly AT_TIMESTAMP: "AT_TIMESTAMP";
570
+ readonly LATEST: "LATEST";
571
+ readonly TRIM_HORIZON: "TRIM_HORIZON";
572
+ };
573
+ /**
574
+ * @public
575
+ */
576
+ export type KinesisStreamStartPosition = (typeof KinesisStreamStartPosition)[keyof typeof KinesisStreamStartPosition];
542
577
  /**
543
578
  * @public
544
579
  * <p>The parameters for using a Kinesis stream as a source.</p>
@@ -623,11 +658,16 @@ export declare namespace MSKAccessCredentials {
623
658
  }
624
659
  /**
625
660
  * @public
661
+ * @enum
626
662
  */
627
- export declare enum MSKStartPosition {
628
- LATEST = "LATEST",
629
- TRIM_HORIZON = "TRIM_HORIZON"
630
- }
663
+ export declare const MSKStartPosition: {
664
+ readonly LATEST: "LATEST";
665
+ readonly TRIM_HORIZON: "TRIM_HORIZON";
666
+ };
667
+ /**
668
+ * @public
669
+ */
670
+ export type MSKStartPosition = (typeof MSKStartPosition)[keyof typeof MSKStartPosition];
631
671
  /**
632
672
  * @public
633
673
  * <p>The parameters for using an MSK stream as a source.</p>
@@ -751,11 +791,16 @@ export declare namespace SelfManagedKafkaAccessConfigurationCredentials {
751
791
  }
752
792
  /**
753
793
  * @public
794
+ * @enum
754
795
  */
755
- export declare enum SelfManagedKafkaStartPosition {
756
- LATEST = "LATEST",
757
- TRIM_HORIZON = "TRIM_HORIZON"
758
- }
796
+ export declare const SelfManagedKafkaStartPosition: {
797
+ readonly LATEST: "LATEST";
798
+ readonly TRIM_HORIZON: "TRIM_HORIZON";
799
+ };
800
+ /**
801
+ * @public
802
+ */
803
+ export type SelfManagedKafkaStartPosition = (typeof SelfManagedKafkaStartPosition)[keyof typeof SelfManagedKafkaStartPosition];
759
804
  /**
760
805
  * @public
761
806
  * <p>This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.</p>
@@ -923,12 +968,17 @@ export interface PipeTargetCloudWatchLogsParameters {
923
968
  }
924
969
  /**
925
970
  * @public
971
+ * @enum
926
972
  */
927
- export declare enum LaunchType {
928
- EC2 = "EC2",
929
- EXTERNAL = "EXTERNAL",
930
- FARGATE = "FARGATE"
931
- }
973
+ export declare const LaunchType: {
974
+ readonly EC2: "EC2";
975
+ readonly EXTERNAL: "EXTERNAL";
976
+ readonly FARGATE: "FARGATE";
977
+ };
978
+ /**
979
+ * @public
980
+ */
981
+ export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
932
982
  /**
933
983
  * @public
934
984
  * <p>This structure specifies the network configuration for an Amazon ECS task.</p>
@@ -958,10 +1008,15 @@ export interface EcsEnvironmentVariable {
958
1008
  }
959
1009
  /**
960
1010
  * @public
1011
+ * @enum
961
1012
  */
962
- export declare enum EcsEnvironmentFileType {
963
- s3 = "s3"
964
- }
1013
+ export declare const EcsEnvironmentFileType: {
1014
+ readonly s3: "s3";
1015
+ };
1016
+ /**
1017
+ * @public
1018
+ */
1019
+ export type EcsEnvironmentFileType = (typeof EcsEnvironmentFileType)[keyof typeof EcsEnvironmentFileType];
965
1020
  /**
966
1021
  * @public
967
1022
  * <p>A list of files containing the environment variables to pass to a container. You can
@@ -1000,11 +1055,16 @@ export interface EcsEnvironmentFile {
1000
1055
  }
1001
1056
  /**
1002
1057
  * @public
1058
+ * @enum
1003
1059
  */
1004
- export declare enum EcsResourceRequirementType {
1005
- GPU = "GPU",
1006
- InferenceAccelerator = "InferenceAccelerator"
1007
- }
1060
+ export declare const EcsResourceRequirementType: {
1061
+ readonly GPU: "GPU";
1062
+ readonly InferenceAccelerator: "InferenceAccelerator";
1063
+ };
1064
+ /**
1065
+ * @public
1066
+ */
1067
+ export type EcsResourceRequirementType = (typeof EcsResourceRequirementType)[keyof typeof EcsResourceRequirementType];
1008
1068
  /**
1009
1069
  * @public
1010
1070
  * <p>The type and amount of a resource to assign to a container. The supported resource
@@ -1165,11 +1225,16 @@ export interface EcsTaskOverride {
1165
1225
  }
1166
1226
  /**
1167
1227
  * @public
1228
+ * @enum
1168
1229
  */
1169
- export declare enum PlacementConstraintType {
1170
- DISTINCT_INSTANCE = "distinctInstance",
1171
- MEMBER_OF = "memberOf"
1172
- }
1230
+ export declare const PlacementConstraintType: {
1231
+ readonly DISTINCT_INSTANCE: "distinctInstance";
1232
+ readonly MEMBER_OF: "memberOf";
1233
+ };
1234
+ /**
1235
+ * @public
1236
+ */
1237
+ export type PlacementConstraintType = (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
1173
1238
  /**
1174
1239
  * @public
1175
1240
  * <p>An object representing a constraint on task placement. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html">Task Placement Constraints</a> in the Amazon Elastic Container Service Developer
@@ -1191,12 +1256,17 @@ export interface PlacementConstraint {
1191
1256
  }
1192
1257
  /**
1193
1258
  * @public
1259
+ * @enum
1194
1260
  */
1195
- export declare enum PlacementStrategyType {
1196
- BINPACK = "binpack",
1197
- RANDOM = "random",
1198
- SPREAD = "spread"
1199
- }
1261
+ export declare const PlacementStrategyType: {
1262
+ readonly BINPACK: "binpack";
1263
+ readonly RANDOM: "random";
1264
+ readonly SPREAD: "spread";
1265
+ };
1266
+ /**
1267
+ * @public
1268
+ */
1269
+ export type PlacementStrategyType = (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
1200
1270
  /**
1201
1271
  * @public
1202
1272
  * <p>The task placement strategy for a task or service. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html">Task Placement Strategies</a> in the Amazon Elastic Container Service Service Developer
@@ -1223,10 +1293,15 @@ export interface PlacementStrategy {
1223
1293
  }
1224
1294
  /**
1225
1295
  * @public
1296
+ * @enum
1226
1297
  */
1227
- export declare enum PropagateTags {
1228
- TASK_DEFINITION = "TASK_DEFINITION"
1229
- }
1298
+ export declare const PropagateTags: {
1299
+ readonly TASK_DEFINITION: "TASK_DEFINITION";
1300
+ };
1301
+ /**
1302
+ * @public
1303
+ */
1304
+ export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
1230
1305
  /**
1231
1306
  * @public
1232
1307
  * <p>A key-value pair associated with an Amazon Web Services resource. In EventBridge, rules and event buses
@@ -1404,11 +1479,16 @@ export interface PipeTargetKinesisStreamParameters {
1404
1479
  }
1405
1480
  /**
1406
1481
  * @public
1482
+ * @enum
1407
1483
  */
1408
- export declare enum PipeTargetInvocationType {
1409
- FIRE_AND_FORGET = "FIRE_AND_FORGET",
1410
- REQUEST_RESPONSE = "REQUEST_RESPONSE"
1411
- }
1484
+ export declare const PipeTargetInvocationType: {
1485
+ readonly FIRE_AND_FORGET: "FIRE_AND_FORGET";
1486
+ readonly REQUEST_RESPONSE: "REQUEST_RESPONSE";
1487
+ };
1488
+ /**
1489
+ * @public
1490
+ */
1491
+ export type PipeTargetInvocationType = (typeof PipeTargetInvocationType)[keyof typeof PipeTargetInvocationType];
1412
1492
  /**
1413
1493
  * @public
1414
1494
  * <p>The parameters for using a Lambda function as a target.</p>
@@ -1630,20 +1710,25 @@ export interface CreatePipeRequest {
1630
1710
  }
1631
1711
  /**
1632
1712
  * @public
1713
+ * @enum
1633
1714
  */
1634
- export declare enum PipeState {
1635
- CREATE_FAILED = "CREATE_FAILED",
1636
- CREATING = "CREATING",
1637
- DELETING = "DELETING",
1638
- RUNNING = "RUNNING",
1639
- STARTING = "STARTING",
1640
- START_FAILED = "START_FAILED",
1641
- STOPPED = "STOPPED",
1642
- STOPPING = "STOPPING",
1643
- STOP_FAILED = "STOP_FAILED",
1644
- UPDATE_FAILED = "UPDATE_FAILED",
1645
- UPDATING = "UPDATING"
1646
- }
1715
+ export declare const PipeState: {
1716
+ readonly CREATE_FAILED: "CREATE_FAILED";
1717
+ readonly CREATING: "CREATING";
1718
+ readonly DELETING: "DELETING";
1719
+ readonly RUNNING: "RUNNING";
1720
+ readonly STARTING: "STARTING";
1721
+ readonly START_FAILED: "START_FAILED";
1722
+ readonly STOPPED: "STOPPED";
1723
+ readonly STOPPING: "STOPPING";
1724
+ readonly STOP_FAILED: "STOP_FAILED";
1725
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
1726
+ readonly UPDATING: "UPDATING";
1727
+ };
1728
+ /**
1729
+ * @public
1730
+ */
1731
+ export type PipeState = (typeof PipeState)[keyof typeof PipeState];
1647
1732
  /**
1648
1733
  * @public
1649
1734
  */
@@ -1794,12 +1879,17 @@ export interface DeletePipeRequest {
1794
1879
  }
1795
1880
  /**
1796
1881
  * @public
1882
+ * @enum
1797
1883
  */
1798
- export declare enum RequestedPipeStateDescribeResponse {
1799
- DELETED = "DELETED",
1800
- RUNNING = "RUNNING",
1801
- STOPPED = "STOPPED"
1802
- }
1884
+ export declare const RequestedPipeStateDescribeResponse: {
1885
+ readonly DELETED: "DELETED";
1886
+ readonly RUNNING: "RUNNING";
1887
+ readonly STOPPED: "STOPPED";
1888
+ };
1889
+ /**
1890
+ * @public
1891
+ */
1892
+ export type RequestedPipeStateDescribeResponse = (typeof RequestedPipeStateDescribeResponse)[keyof typeof RequestedPipeStateDescribeResponse];
1803
1893
  /**
1804
1894
  * @public
1805
1895
  */