@aws-sdk/client-pipes 3.301.0 → 3.306.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.
@@ -4,22 +4,19 @@ exports.PipeTargetSageMakerPipelineParametersFilterSensitiveLog = exports.SageMa
4
4
  exports.TagResourceRequestFilterSensitiveLog = exports.UpdatePipeRequestFilterSensitiveLog = exports.UpdatePipeSourceParametersFilterSensitiveLog = exports.UpdatePipeSourceSelfManagedKafkaParametersFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListPipesResponseFilterSensitiveLog = exports.ListPipesRequestFilterSensitiveLog = exports.DescribePipeResponseFilterSensitiveLog = exports.CreatePipeRequestFilterSensitiveLog = exports.PipeTargetParametersFilterSensitiveLog = exports.PipeTargetSqsQueueParametersFilterSensitiveLog = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const PipesServiceException_1 = require("./PipesServiceException");
7
- var AssignPublicIp;
8
- (function (AssignPublicIp) {
9
- AssignPublicIp["DISABLED"] = "DISABLED";
10
- AssignPublicIp["ENABLED"] = "ENABLED";
11
- })(AssignPublicIp = exports.AssignPublicIp || (exports.AssignPublicIp = {}));
12
- var BatchResourceRequirementType;
13
- (function (BatchResourceRequirementType) {
14
- BatchResourceRequirementType["GPU"] = "GPU";
15
- BatchResourceRequirementType["MEMORY"] = "MEMORY";
16
- BatchResourceRequirementType["VCPU"] = "VCPU";
17
- })(BatchResourceRequirementType = exports.BatchResourceRequirementType || (exports.BatchResourceRequirementType = {}));
18
- var BatchJobDependencyType;
19
- (function (BatchJobDependencyType) {
20
- BatchJobDependencyType["N_TO_N"] = "N_TO_N";
21
- BatchJobDependencyType["SEQUENTIAL"] = "SEQUENTIAL";
22
- })(BatchJobDependencyType = exports.BatchJobDependencyType || (exports.BatchJobDependencyType = {}));
7
+ exports.AssignPublicIp = {
8
+ DISABLED: "DISABLED",
9
+ ENABLED: "ENABLED",
10
+ };
11
+ exports.BatchResourceRequirementType = {
12
+ GPU: "GPU",
13
+ MEMORY: "MEMORY",
14
+ VCPU: "VCPU",
15
+ };
16
+ exports.BatchJobDependencyType = {
17
+ N_TO_N: "N_TO_N",
18
+ SEQUENTIAL: "SEQUENTIAL",
19
+ };
23
20
  class ConflictException extends PipesServiceException_1.PipesServiceException {
24
21
  constructor(opts) {
25
22
  super({
@@ -35,11 +32,10 @@ class ConflictException extends PipesServiceException_1.PipesServiceException {
35
32
  }
36
33
  }
37
34
  exports.ConflictException = ConflictException;
38
- var RequestedPipeState;
39
- (function (RequestedPipeState) {
40
- RequestedPipeState["RUNNING"] = "RUNNING";
41
- RequestedPipeState["STOPPED"] = "STOPPED";
42
- })(RequestedPipeState = exports.RequestedPipeState || (exports.RequestedPipeState = {}));
35
+ exports.RequestedPipeState = {
36
+ RUNNING: "RUNNING",
37
+ STOPPED: "STOPPED",
38
+ };
43
39
  var MQBrokerAccessCredentials;
44
40
  (function (MQBrokerAccessCredentials) {
45
41
  MQBrokerAccessCredentials.visit = (value, visitor) => {
@@ -48,21 +44,18 @@ var MQBrokerAccessCredentials;
48
44
  return visitor._(value.$unknown[0], value.$unknown[1]);
49
45
  };
50
46
  })(MQBrokerAccessCredentials = exports.MQBrokerAccessCredentials || (exports.MQBrokerAccessCredentials = {}));
51
- var OnPartialBatchItemFailureStreams;
52
- (function (OnPartialBatchItemFailureStreams) {
53
- OnPartialBatchItemFailureStreams["AUTOMATIC_BISECT"] = "AUTOMATIC_BISECT";
54
- })(OnPartialBatchItemFailureStreams = exports.OnPartialBatchItemFailureStreams || (exports.OnPartialBatchItemFailureStreams = {}));
55
- var DynamoDBStreamStartPosition;
56
- (function (DynamoDBStreamStartPosition) {
57
- DynamoDBStreamStartPosition["LATEST"] = "LATEST";
58
- DynamoDBStreamStartPosition["TRIM_HORIZON"] = "TRIM_HORIZON";
59
- })(DynamoDBStreamStartPosition = exports.DynamoDBStreamStartPosition || (exports.DynamoDBStreamStartPosition = {}));
60
- var KinesisStreamStartPosition;
61
- (function (KinesisStreamStartPosition) {
62
- KinesisStreamStartPosition["AT_TIMESTAMP"] = "AT_TIMESTAMP";
63
- KinesisStreamStartPosition["LATEST"] = "LATEST";
64
- KinesisStreamStartPosition["TRIM_HORIZON"] = "TRIM_HORIZON";
65
- })(KinesisStreamStartPosition = exports.KinesisStreamStartPosition || (exports.KinesisStreamStartPosition = {}));
47
+ exports.OnPartialBatchItemFailureStreams = {
48
+ AUTOMATIC_BISECT: "AUTOMATIC_BISECT",
49
+ };
50
+ exports.DynamoDBStreamStartPosition = {
51
+ LATEST: "LATEST",
52
+ TRIM_HORIZON: "TRIM_HORIZON",
53
+ };
54
+ exports.KinesisStreamStartPosition = {
55
+ AT_TIMESTAMP: "AT_TIMESTAMP",
56
+ LATEST: "LATEST",
57
+ TRIM_HORIZON: "TRIM_HORIZON",
58
+ };
66
59
  var MSKAccessCredentials;
67
60
  (function (MSKAccessCredentials) {
68
61
  MSKAccessCredentials.visit = (value, visitor) => {
@@ -73,11 +66,10 @@ var MSKAccessCredentials;
73
66
  return visitor._(value.$unknown[0], value.$unknown[1]);
74
67
  };
75
68
  })(MSKAccessCredentials = exports.MSKAccessCredentials || (exports.MSKAccessCredentials = {}));
76
- var MSKStartPosition;
77
- (function (MSKStartPosition) {
78
- MSKStartPosition["LATEST"] = "LATEST";
79
- MSKStartPosition["TRIM_HORIZON"] = "TRIM_HORIZON";
80
- })(MSKStartPosition = exports.MSKStartPosition || (exports.MSKStartPosition = {}));
69
+ exports.MSKStartPosition = {
70
+ LATEST: "LATEST",
71
+ TRIM_HORIZON: "TRIM_HORIZON",
72
+ };
81
73
  var SelfManagedKafkaAccessConfigurationCredentials;
82
74
  (function (SelfManagedKafkaAccessConfigurationCredentials) {
83
75
  SelfManagedKafkaAccessConfigurationCredentials.visit = (value, visitor) => {
@@ -92,60 +84,51 @@ var SelfManagedKafkaAccessConfigurationCredentials;
92
84
  return visitor._(value.$unknown[0], value.$unknown[1]);
93
85
  };
94
86
  })(SelfManagedKafkaAccessConfigurationCredentials = exports.SelfManagedKafkaAccessConfigurationCredentials || (exports.SelfManagedKafkaAccessConfigurationCredentials = {}));
95
- var SelfManagedKafkaStartPosition;
96
- (function (SelfManagedKafkaStartPosition) {
97
- SelfManagedKafkaStartPosition["LATEST"] = "LATEST";
98
- SelfManagedKafkaStartPosition["TRIM_HORIZON"] = "TRIM_HORIZON";
99
- })(SelfManagedKafkaStartPosition = exports.SelfManagedKafkaStartPosition || (exports.SelfManagedKafkaStartPosition = {}));
100
- var LaunchType;
101
- (function (LaunchType) {
102
- LaunchType["EC2"] = "EC2";
103
- LaunchType["EXTERNAL"] = "EXTERNAL";
104
- LaunchType["FARGATE"] = "FARGATE";
105
- })(LaunchType = exports.LaunchType || (exports.LaunchType = {}));
106
- var EcsEnvironmentFileType;
107
- (function (EcsEnvironmentFileType) {
108
- EcsEnvironmentFileType["s3"] = "s3";
109
- })(EcsEnvironmentFileType = exports.EcsEnvironmentFileType || (exports.EcsEnvironmentFileType = {}));
110
- var EcsResourceRequirementType;
111
- (function (EcsResourceRequirementType) {
112
- EcsResourceRequirementType["GPU"] = "GPU";
113
- EcsResourceRequirementType["InferenceAccelerator"] = "InferenceAccelerator";
114
- })(EcsResourceRequirementType = exports.EcsResourceRequirementType || (exports.EcsResourceRequirementType = {}));
115
- var PlacementConstraintType;
116
- (function (PlacementConstraintType) {
117
- PlacementConstraintType["DISTINCT_INSTANCE"] = "distinctInstance";
118
- PlacementConstraintType["MEMBER_OF"] = "memberOf";
119
- })(PlacementConstraintType = exports.PlacementConstraintType || (exports.PlacementConstraintType = {}));
120
- var PlacementStrategyType;
121
- (function (PlacementStrategyType) {
122
- PlacementStrategyType["BINPACK"] = "binpack";
123
- PlacementStrategyType["RANDOM"] = "random";
124
- PlacementStrategyType["SPREAD"] = "spread";
125
- })(PlacementStrategyType = exports.PlacementStrategyType || (exports.PlacementStrategyType = {}));
126
- var PropagateTags;
127
- (function (PropagateTags) {
128
- PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
129
- })(PropagateTags = exports.PropagateTags || (exports.PropagateTags = {}));
130
- var PipeTargetInvocationType;
131
- (function (PipeTargetInvocationType) {
132
- PipeTargetInvocationType["FIRE_AND_FORGET"] = "FIRE_AND_FORGET";
133
- PipeTargetInvocationType["REQUEST_RESPONSE"] = "REQUEST_RESPONSE";
134
- })(PipeTargetInvocationType = exports.PipeTargetInvocationType || (exports.PipeTargetInvocationType = {}));
135
- var PipeState;
136
- (function (PipeState) {
137
- PipeState["CREATE_FAILED"] = "CREATE_FAILED";
138
- PipeState["CREATING"] = "CREATING";
139
- PipeState["DELETING"] = "DELETING";
140
- PipeState["RUNNING"] = "RUNNING";
141
- PipeState["STARTING"] = "STARTING";
142
- PipeState["START_FAILED"] = "START_FAILED";
143
- PipeState["STOPPED"] = "STOPPED";
144
- PipeState["STOPPING"] = "STOPPING";
145
- PipeState["STOP_FAILED"] = "STOP_FAILED";
146
- PipeState["UPDATE_FAILED"] = "UPDATE_FAILED";
147
- PipeState["UPDATING"] = "UPDATING";
148
- })(PipeState = exports.PipeState || (exports.PipeState = {}));
87
+ exports.SelfManagedKafkaStartPosition = {
88
+ LATEST: "LATEST",
89
+ TRIM_HORIZON: "TRIM_HORIZON",
90
+ };
91
+ exports.LaunchType = {
92
+ EC2: "EC2",
93
+ EXTERNAL: "EXTERNAL",
94
+ FARGATE: "FARGATE",
95
+ };
96
+ exports.EcsEnvironmentFileType = {
97
+ s3: "s3",
98
+ };
99
+ exports.EcsResourceRequirementType = {
100
+ GPU: "GPU",
101
+ InferenceAccelerator: "InferenceAccelerator",
102
+ };
103
+ exports.PlacementConstraintType = {
104
+ DISTINCT_INSTANCE: "distinctInstance",
105
+ MEMBER_OF: "memberOf",
106
+ };
107
+ exports.PlacementStrategyType = {
108
+ BINPACK: "binpack",
109
+ RANDOM: "random",
110
+ SPREAD: "spread",
111
+ };
112
+ exports.PropagateTags = {
113
+ TASK_DEFINITION: "TASK_DEFINITION",
114
+ };
115
+ exports.PipeTargetInvocationType = {
116
+ FIRE_AND_FORGET: "FIRE_AND_FORGET",
117
+ REQUEST_RESPONSE: "REQUEST_RESPONSE",
118
+ };
119
+ exports.PipeState = {
120
+ CREATE_FAILED: "CREATE_FAILED",
121
+ CREATING: "CREATING",
122
+ DELETING: "DELETING",
123
+ RUNNING: "RUNNING",
124
+ STARTING: "STARTING",
125
+ START_FAILED: "START_FAILED",
126
+ STOPPED: "STOPPED",
127
+ STOPPING: "STOPPING",
128
+ STOP_FAILED: "STOP_FAILED",
129
+ UPDATE_FAILED: "UPDATE_FAILED",
130
+ UPDATING: "UPDATING",
131
+ };
149
132
  class InternalException extends PipesServiceException_1.PipesServiceException {
150
133
  constructor(opts) {
151
134
  super({
@@ -220,12 +203,11 @@ class ValidationException extends PipesServiceException_1.PipesServiceException
220
203
  }
221
204
  }
222
205
  exports.ValidationException = ValidationException;
223
- var RequestedPipeStateDescribeResponse;
224
- (function (RequestedPipeStateDescribeResponse) {
225
- RequestedPipeStateDescribeResponse["DELETED"] = "DELETED";
226
- RequestedPipeStateDescribeResponse["RUNNING"] = "RUNNING";
227
- RequestedPipeStateDescribeResponse["STOPPED"] = "STOPPED";
228
- })(RequestedPipeStateDescribeResponse = exports.RequestedPipeStateDescribeResponse || (exports.RequestedPipeStateDescribeResponse = {}));
206
+ exports.RequestedPipeStateDescribeResponse = {
207
+ DELETED: "DELETED",
208
+ RUNNING: "RUNNING",
209
+ STOPPED: "STOPPED",
210
+ };
229
211
  const AwsVpcConfigurationFilterSensitiveLog = (obj) => ({
230
212
  ...obj,
231
213
  ...(obj.Subnets && { Subnets: smithy_client_1.SENSITIVE_STRING }),
@@ -1,21 +1,18 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { PipesServiceException as __BaseException } from "./PipesServiceException";
3
- export var AssignPublicIp;
4
- (function (AssignPublicIp) {
5
- AssignPublicIp["DISABLED"] = "DISABLED";
6
- AssignPublicIp["ENABLED"] = "ENABLED";
7
- })(AssignPublicIp || (AssignPublicIp = {}));
8
- export var BatchResourceRequirementType;
9
- (function (BatchResourceRequirementType) {
10
- BatchResourceRequirementType["GPU"] = "GPU";
11
- BatchResourceRequirementType["MEMORY"] = "MEMORY";
12
- BatchResourceRequirementType["VCPU"] = "VCPU";
13
- })(BatchResourceRequirementType || (BatchResourceRequirementType = {}));
14
- export var BatchJobDependencyType;
15
- (function (BatchJobDependencyType) {
16
- BatchJobDependencyType["N_TO_N"] = "N_TO_N";
17
- BatchJobDependencyType["SEQUENTIAL"] = "SEQUENTIAL";
18
- })(BatchJobDependencyType || (BatchJobDependencyType = {}));
3
+ export const AssignPublicIp = {
4
+ DISABLED: "DISABLED",
5
+ ENABLED: "ENABLED",
6
+ };
7
+ export const BatchResourceRequirementType = {
8
+ GPU: "GPU",
9
+ MEMORY: "MEMORY",
10
+ VCPU: "VCPU",
11
+ };
12
+ export const BatchJobDependencyType = {
13
+ N_TO_N: "N_TO_N",
14
+ SEQUENTIAL: "SEQUENTIAL",
15
+ };
19
16
  export class ConflictException extends __BaseException {
20
17
  constructor(opts) {
21
18
  super({
@@ -30,11 +27,10 @@ export class ConflictException extends __BaseException {
30
27
  this.resourceType = opts.resourceType;
31
28
  }
32
29
  }
33
- export var RequestedPipeState;
34
- (function (RequestedPipeState) {
35
- RequestedPipeState["RUNNING"] = "RUNNING";
36
- RequestedPipeState["STOPPED"] = "STOPPED";
37
- })(RequestedPipeState || (RequestedPipeState = {}));
30
+ export const RequestedPipeState = {
31
+ RUNNING: "RUNNING",
32
+ STOPPED: "STOPPED",
33
+ };
38
34
  export var MQBrokerAccessCredentials;
39
35
  (function (MQBrokerAccessCredentials) {
40
36
  MQBrokerAccessCredentials.visit = (value, visitor) => {
@@ -43,21 +39,18 @@ export var MQBrokerAccessCredentials;
43
39
  return visitor._(value.$unknown[0], value.$unknown[1]);
44
40
  };
45
41
  })(MQBrokerAccessCredentials || (MQBrokerAccessCredentials = {}));
46
- export var OnPartialBatchItemFailureStreams;
47
- (function (OnPartialBatchItemFailureStreams) {
48
- OnPartialBatchItemFailureStreams["AUTOMATIC_BISECT"] = "AUTOMATIC_BISECT";
49
- })(OnPartialBatchItemFailureStreams || (OnPartialBatchItemFailureStreams = {}));
50
- export var DynamoDBStreamStartPosition;
51
- (function (DynamoDBStreamStartPosition) {
52
- DynamoDBStreamStartPosition["LATEST"] = "LATEST";
53
- DynamoDBStreamStartPosition["TRIM_HORIZON"] = "TRIM_HORIZON";
54
- })(DynamoDBStreamStartPosition || (DynamoDBStreamStartPosition = {}));
55
- export var KinesisStreamStartPosition;
56
- (function (KinesisStreamStartPosition) {
57
- KinesisStreamStartPosition["AT_TIMESTAMP"] = "AT_TIMESTAMP";
58
- KinesisStreamStartPosition["LATEST"] = "LATEST";
59
- KinesisStreamStartPosition["TRIM_HORIZON"] = "TRIM_HORIZON";
60
- })(KinesisStreamStartPosition || (KinesisStreamStartPosition = {}));
42
+ export const OnPartialBatchItemFailureStreams = {
43
+ AUTOMATIC_BISECT: "AUTOMATIC_BISECT",
44
+ };
45
+ export const DynamoDBStreamStartPosition = {
46
+ LATEST: "LATEST",
47
+ TRIM_HORIZON: "TRIM_HORIZON",
48
+ };
49
+ export const KinesisStreamStartPosition = {
50
+ AT_TIMESTAMP: "AT_TIMESTAMP",
51
+ LATEST: "LATEST",
52
+ TRIM_HORIZON: "TRIM_HORIZON",
53
+ };
61
54
  export var MSKAccessCredentials;
62
55
  (function (MSKAccessCredentials) {
63
56
  MSKAccessCredentials.visit = (value, visitor) => {
@@ -68,11 +61,10 @@ export var MSKAccessCredentials;
68
61
  return visitor._(value.$unknown[0], value.$unknown[1]);
69
62
  };
70
63
  })(MSKAccessCredentials || (MSKAccessCredentials = {}));
71
- export var MSKStartPosition;
72
- (function (MSKStartPosition) {
73
- MSKStartPosition["LATEST"] = "LATEST";
74
- MSKStartPosition["TRIM_HORIZON"] = "TRIM_HORIZON";
75
- })(MSKStartPosition || (MSKStartPosition = {}));
64
+ export const MSKStartPosition = {
65
+ LATEST: "LATEST",
66
+ TRIM_HORIZON: "TRIM_HORIZON",
67
+ };
76
68
  export var SelfManagedKafkaAccessConfigurationCredentials;
77
69
  (function (SelfManagedKafkaAccessConfigurationCredentials) {
78
70
  SelfManagedKafkaAccessConfigurationCredentials.visit = (value, visitor) => {
@@ -87,60 +79,51 @@ export var SelfManagedKafkaAccessConfigurationCredentials;
87
79
  return visitor._(value.$unknown[0], value.$unknown[1]);
88
80
  };
89
81
  })(SelfManagedKafkaAccessConfigurationCredentials || (SelfManagedKafkaAccessConfigurationCredentials = {}));
90
- export var SelfManagedKafkaStartPosition;
91
- (function (SelfManagedKafkaStartPosition) {
92
- SelfManagedKafkaStartPosition["LATEST"] = "LATEST";
93
- SelfManagedKafkaStartPosition["TRIM_HORIZON"] = "TRIM_HORIZON";
94
- })(SelfManagedKafkaStartPosition || (SelfManagedKafkaStartPosition = {}));
95
- export var LaunchType;
96
- (function (LaunchType) {
97
- LaunchType["EC2"] = "EC2";
98
- LaunchType["EXTERNAL"] = "EXTERNAL";
99
- LaunchType["FARGATE"] = "FARGATE";
100
- })(LaunchType || (LaunchType = {}));
101
- export var EcsEnvironmentFileType;
102
- (function (EcsEnvironmentFileType) {
103
- EcsEnvironmentFileType["s3"] = "s3";
104
- })(EcsEnvironmentFileType || (EcsEnvironmentFileType = {}));
105
- export var EcsResourceRequirementType;
106
- (function (EcsResourceRequirementType) {
107
- EcsResourceRequirementType["GPU"] = "GPU";
108
- EcsResourceRequirementType["InferenceAccelerator"] = "InferenceAccelerator";
109
- })(EcsResourceRequirementType || (EcsResourceRequirementType = {}));
110
- export var PlacementConstraintType;
111
- (function (PlacementConstraintType) {
112
- PlacementConstraintType["DISTINCT_INSTANCE"] = "distinctInstance";
113
- PlacementConstraintType["MEMBER_OF"] = "memberOf";
114
- })(PlacementConstraintType || (PlacementConstraintType = {}));
115
- export var PlacementStrategyType;
116
- (function (PlacementStrategyType) {
117
- PlacementStrategyType["BINPACK"] = "binpack";
118
- PlacementStrategyType["RANDOM"] = "random";
119
- PlacementStrategyType["SPREAD"] = "spread";
120
- })(PlacementStrategyType || (PlacementStrategyType = {}));
121
- export var PropagateTags;
122
- (function (PropagateTags) {
123
- PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
124
- })(PropagateTags || (PropagateTags = {}));
125
- export var PipeTargetInvocationType;
126
- (function (PipeTargetInvocationType) {
127
- PipeTargetInvocationType["FIRE_AND_FORGET"] = "FIRE_AND_FORGET";
128
- PipeTargetInvocationType["REQUEST_RESPONSE"] = "REQUEST_RESPONSE";
129
- })(PipeTargetInvocationType || (PipeTargetInvocationType = {}));
130
- export var PipeState;
131
- (function (PipeState) {
132
- PipeState["CREATE_FAILED"] = "CREATE_FAILED";
133
- PipeState["CREATING"] = "CREATING";
134
- PipeState["DELETING"] = "DELETING";
135
- PipeState["RUNNING"] = "RUNNING";
136
- PipeState["STARTING"] = "STARTING";
137
- PipeState["START_FAILED"] = "START_FAILED";
138
- PipeState["STOPPED"] = "STOPPED";
139
- PipeState["STOPPING"] = "STOPPING";
140
- PipeState["STOP_FAILED"] = "STOP_FAILED";
141
- PipeState["UPDATE_FAILED"] = "UPDATE_FAILED";
142
- PipeState["UPDATING"] = "UPDATING";
143
- })(PipeState || (PipeState = {}));
82
+ export const SelfManagedKafkaStartPosition = {
83
+ LATEST: "LATEST",
84
+ TRIM_HORIZON: "TRIM_HORIZON",
85
+ };
86
+ export const LaunchType = {
87
+ EC2: "EC2",
88
+ EXTERNAL: "EXTERNAL",
89
+ FARGATE: "FARGATE",
90
+ };
91
+ export const EcsEnvironmentFileType = {
92
+ s3: "s3",
93
+ };
94
+ export const EcsResourceRequirementType = {
95
+ GPU: "GPU",
96
+ InferenceAccelerator: "InferenceAccelerator",
97
+ };
98
+ export const PlacementConstraintType = {
99
+ DISTINCT_INSTANCE: "distinctInstance",
100
+ MEMBER_OF: "memberOf",
101
+ };
102
+ export const PlacementStrategyType = {
103
+ BINPACK: "binpack",
104
+ RANDOM: "random",
105
+ SPREAD: "spread",
106
+ };
107
+ export const PropagateTags = {
108
+ TASK_DEFINITION: "TASK_DEFINITION",
109
+ };
110
+ export const PipeTargetInvocationType = {
111
+ FIRE_AND_FORGET: "FIRE_AND_FORGET",
112
+ REQUEST_RESPONSE: "REQUEST_RESPONSE",
113
+ };
114
+ export const PipeState = {
115
+ CREATE_FAILED: "CREATE_FAILED",
116
+ CREATING: "CREATING",
117
+ DELETING: "DELETING",
118
+ RUNNING: "RUNNING",
119
+ STARTING: "STARTING",
120
+ START_FAILED: "START_FAILED",
121
+ STOPPED: "STOPPED",
122
+ STOPPING: "STOPPING",
123
+ STOP_FAILED: "STOP_FAILED",
124
+ UPDATE_FAILED: "UPDATE_FAILED",
125
+ UPDATING: "UPDATING",
126
+ };
144
127
  export class InternalException extends __BaseException {
145
128
  constructor(opts) {
146
129
  super({
@@ -210,12 +193,11 @@ export class ValidationException extends __BaseException {
210
193
  this.fieldList = opts.fieldList;
211
194
  }
212
195
  }
213
- export var RequestedPipeStateDescribeResponse;
214
- (function (RequestedPipeStateDescribeResponse) {
215
- RequestedPipeStateDescribeResponse["DELETED"] = "DELETED";
216
- RequestedPipeStateDescribeResponse["RUNNING"] = "RUNNING";
217
- RequestedPipeStateDescribeResponse["STOPPED"] = "STOPPED";
218
- })(RequestedPipeStateDescribeResponse || (RequestedPipeStateDescribeResponse = {}));
196
+ export const RequestedPipeStateDescribeResponse = {
197
+ DELETED: "DELETED",
198
+ RUNNING: "RUNNING",
199
+ STOPPED: "STOPPED",
200
+ };
219
201
  export const AwsVpcConfigurationFilterSensitiveLog = (obj) => ({
220
202
  ...obj,
221
203
  ...(obj.Subnets && { Subnets: SENSITIVE_STRING }),
@@ -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
  */
@@ -1,9 +1,11 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { PipesServiceException as __BaseException } from "./PipesServiceException";
3
- export declare enum AssignPublicIp {
4
- DISABLED = "DISABLED",
5
- ENABLED = "ENABLED",
6
- }
3
+ export declare const AssignPublicIp: {
4
+ readonly DISABLED: "DISABLED";
5
+ readonly ENABLED: "ENABLED";
6
+ };
7
+ export type AssignPublicIp =
8
+ (typeof AssignPublicIp)[keyof typeof AssignPublicIp];
7
9
  export interface AwsVpcConfiguration {
8
10
  Subnets: string[] | undefined;
9
11
  SecurityGroups?: string[];
@@ -16,11 +18,13 @@ export interface BatchEnvironmentVariable {
16
18
  Name?: string;
17
19
  Value?: string;
18
20
  }
19
- export declare enum BatchResourceRequirementType {
20
- GPU = "GPU",
21
- MEMORY = "MEMORY",
22
- VCPU = "VCPU",
23
- }
21
+ export declare const BatchResourceRequirementType: {
22
+ readonly GPU: "GPU";
23
+ readonly MEMORY: "MEMORY";
24
+ readonly VCPU: "VCPU";
25
+ };
26
+ export type BatchResourceRequirementType =
27
+ (typeof BatchResourceRequirementType)[keyof typeof BatchResourceRequirementType];
24
28
  export interface BatchResourceRequirement {
25
29
  Type: BatchResourceRequirementType | string | undefined;
26
30
  Value: string | undefined;
@@ -31,10 +35,12 @@ export interface BatchContainerOverrides {
31
35
  InstanceType?: string;
32
36
  ResourceRequirements?: BatchResourceRequirement[];
33
37
  }
34
- export declare enum BatchJobDependencyType {
35
- N_TO_N = "N_TO_N",
36
- SEQUENTIAL = "SEQUENTIAL",
37
- }
38
+ export declare const BatchJobDependencyType: {
39
+ readonly N_TO_N: "N_TO_N";
40
+ readonly SEQUENTIAL: "SEQUENTIAL";
41
+ };
42
+ export type BatchJobDependencyType =
43
+ (typeof BatchJobDependencyType)[keyof typeof BatchJobDependencyType];
38
44
  export interface BatchJobDependency {
39
45
  JobId?: string;
40
46
  Type?: BatchJobDependencyType | string;
@@ -54,10 +60,12 @@ export declare class ConflictException extends __BaseException {
54
60
  resourceType: string | undefined;
55
61
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
56
62
  }
57
- export declare enum RequestedPipeState {
58
- RUNNING = "RUNNING",
59
- STOPPED = "STOPPED",
60
- }
63
+ export declare const RequestedPipeState: {
64
+ readonly RUNNING: "RUNNING";
65
+ readonly STOPPED: "STOPPED";
66
+ };
67
+ export type RequestedPipeState =
68
+ (typeof RequestedPipeState)[keyof typeof RequestedPipeState];
61
69
  export interface PipeEnrichmentHttpParameters {
62
70
  PathParameterValues?: string[];
63
71
  HeaderParameters?: Record<string, string>;
@@ -94,13 +102,17 @@ export interface PipeSourceActiveMQBrokerParameters {
94
102
  export interface DeadLetterConfig {
95
103
  Arn?: string;
96
104
  }
97
- export declare enum OnPartialBatchItemFailureStreams {
98
- AUTOMATIC_BISECT = "AUTOMATIC_BISECT",
99
- }
100
- export declare enum DynamoDBStreamStartPosition {
101
- LATEST = "LATEST",
102
- TRIM_HORIZON = "TRIM_HORIZON",
103
- }
105
+ export declare const OnPartialBatchItemFailureStreams: {
106
+ readonly AUTOMATIC_BISECT: "AUTOMATIC_BISECT";
107
+ };
108
+ export type OnPartialBatchItemFailureStreams =
109
+ (typeof OnPartialBatchItemFailureStreams)[keyof typeof OnPartialBatchItemFailureStreams];
110
+ export declare const DynamoDBStreamStartPosition: {
111
+ readonly LATEST: "LATEST";
112
+ readonly TRIM_HORIZON: "TRIM_HORIZON";
113
+ };
114
+ export type DynamoDBStreamStartPosition =
115
+ (typeof DynamoDBStreamStartPosition)[keyof typeof DynamoDBStreamStartPosition];
104
116
  export interface PipeSourceDynamoDBStreamParameters {
105
117
  BatchSize?: number;
106
118
  DeadLetterConfig?: DeadLetterConfig;
@@ -117,11 +129,13 @@ export interface Filter {
117
129
  export interface FilterCriteria {
118
130
  Filters?: Filter[];
119
131
  }
120
- export declare enum KinesisStreamStartPosition {
121
- AT_TIMESTAMP = "AT_TIMESTAMP",
122
- LATEST = "LATEST",
123
- TRIM_HORIZON = "TRIM_HORIZON",
124
- }
132
+ export declare const KinesisStreamStartPosition: {
133
+ readonly AT_TIMESTAMP: "AT_TIMESTAMP";
134
+ readonly LATEST: "LATEST";
135
+ readonly TRIM_HORIZON: "TRIM_HORIZON";
136
+ };
137
+ export type KinesisStreamStartPosition =
138
+ (typeof KinesisStreamStartPosition)[keyof typeof KinesisStreamStartPosition];
125
139
  export interface PipeSourceKinesisStreamParameters {
126
140
  BatchSize?: number;
127
141
  DeadLetterConfig?: DeadLetterConfig;
@@ -160,10 +174,12 @@ export declare namespace MSKAccessCredentials {
160
174
  }
161
175
  const visit: <T>(value: MSKAccessCredentials, visitor: Visitor<T>) => T;
162
176
  }
163
- export declare enum MSKStartPosition {
164
- LATEST = "LATEST",
165
- TRIM_HORIZON = "TRIM_HORIZON",
166
- }
177
+ export declare const MSKStartPosition: {
178
+ readonly LATEST: "LATEST";
179
+ readonly TRIM_HORIZON: "TRIM_HORIZON";
180
+ };
181
+ export type MSKStartPosition =
182
+ (typeof MSKStartPosition)[keyof typeof MSKStartPosition];
167
183
  export interface PipeSourceManagedStreamingKafkaParameters {
168
184
  TopicName: string | undefined;
169
185
  StartingPosition?: MSKStartPosition | string;
@@ -233,10 +249,12 @@ export declare namespace SelfManagedKafkaAccessConfigurationCredentials {
233
249
  visitor: Visitor<T>
234
250
  ) => T;
235
251
  }
236
- export declare enum SelfManagedKafkaStartPosition {
237
- LATEST = "LATEST",
238
- TRIM_HORIZON = "TRIM_HORIZON",
239
- }
252
+ export declare const SelfManagedKafkaStartPosition: {
253
+ readonly LATEST: "LATEST";
254
+ readonly TRIM_HORIZON: "TRIM_HORIZON";
255
+ };
256
+ export type SelfManagedKafkaStartPosition =
257
+ (typeof SelfManagedKafkaStartPosition)[keyof typeof SelfManagedKafkaStartPosition];
240
258
  export interface SelfManagedKafkaAccessConfigurationVpc {
241
259
  Subnets?: string[];
242
260
  SecurityGroup?: string[];
@@ -279,11 +297,12 @@ export interface PipeTargetCloudWatchLogsParameters {
279
297
  LogStreamName?: string;
280
298
  Timestamp?: string;
281
299
  }
282
- export declare enum LaunchType {
283
- EC2 = "EC2",
284
- EXTERNAL = "EXTERNAL",
285
- FARGATE = "FARGATE",
286
- }
300
+ export declare const LaunchType: {
301
+ readonly EC2: "EC2";
302
+ readonly EXTERNAL: "EXTERNAL";
303
+ readonly FARGATE: "FARGATE";
304
+ };
305
+ export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
287
306
  export interface NetworkConfiguration {
288
307
  awsvpcConfiguration?: AwsVpcConfiguration;
289
308
  }
@@ -291,17 +310,21 @@ export interface EcsEnvironmentVariable {
291
310
  name?: string;
292
311
  value?: string;
293
312
  }
294
- export declare enum EcsEnvironmentFileType {
295
- s3 = "s3",
296
- }
313
+ export declare const EcsEnvironmentFileType: {
314
+ readonly s3: "s3";
315
+ };
316
+ export type EcsEnvironmentFileType =
317
+ (typeof EcsEnvironmentFileType)[keyof typeof EcsEnvironmentFileType];
297
318
  export interface EcsEnvironmentFile {
298
319
  type: EcsEnvironmentFileType | string | undefined;
299
320
  value: string | undefined;
300
321
  }
301
- export declare enum EcsResourceRequirementType {
302
- GPU = "GPU",
303
- InferenceAccelerator = "InferenceAccelerator",
304
- }
322
+ export declare const EcsResourceRequirementType: {
323
+ readonly GPU: "GPU";
324
+ readonly InferenceAccelerator: "InferenceAccelerator";
325
+ };
326
+ export type EcsResourceRequirementType =
327
+ (typeof EcsResourceRequirementType)[keyof typeof EcsResourceRequirementType];
305
328
  export interface EcsResourceRequirement {
306
329
  type: EcsResourceRequirementType | string | undefined;
307
330
  value: string | undefined;
@@ -332,26 +355,31 @@ export interface EcsTaskOverride {
332
355
  Memory?: string;
333
356
  TaskRoleArn?: string;
334
357
  }
335
- export declare enum PlacementConstraintType {
336
- DISTINCT_INSTANCE = "distinctInstance",
337
- MEMBER_OF = "memberOf",
338
- }
358
+ export declare const PlacementConstraintType: {
359
+ readonly DISTINCT_INSTANCE: "distinctInstance";
360
+ readonly MEMBER_OF: "memberOf";
361
+ };
362
+ export type PlacementConstraintType =
363
+ (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
339
364
  export interface PlacementConstraint {
340
365
  type?: PlacementConstraintType | string;
341
366
  expression?: string;
342
367
  }
343
- export declare enum PlacementStrategyType {
344
- BINPACK = "binpack",
345
- RANDOM = "random",
346
- SPREAD = "spread",
347
- }
368
+ export declare const PlacementStrategyType: {
369
+ readonly BINPACK: "binpack";
370
+ readonly RANDOM: "random";
371
+ readonly SPREAD: "spread";
372
+ };
373
+ export type PlacementStrategyType =
374
+ (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
348
375
  export interface PlacementStrategy {
349
376
  type?: PlacementStrategyType | string;
350
377
  field?: string;
351
378
  }
352
- export declare enum PropagateTags {
353
- TASK_DEFINITION = "TASK_DEFINITION",
354
- }
379
+ export declare const PropagateTags: {
380
+ readonly TASK_DEFINITION: "TASK_DEFINITION";
381
+ };
382
+ export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
355
383
  export interface Tag {
356
384
  Key: string | undefined;
357
385
  Value: string | undefined;
@@ -388,10 +416,12 @@ export interface PipeTargetHttpParameters {
388
416
  export interface PipeTargetKinesisStreamParameters {
389
417
  PartitionKey: string | undefined;
390
418
  }
391
- export declare enum PipeTargetInvocationType {
392
- FIRE_AND_FORGET = "FIRE_AND_FORGET",
393
- REQUEST_RESPONSE = "REQUEST_RESPONSE",
394
- }
419
+ export declare const PipeTargetInvocationType: {
420
+ readonly FIRE_AND_FORGET: "FIRE_AND_FORGET";
421
+ readonly REQUEST_RESPONSE: "REQUEST_RESPONSE";
422
+ };
423
+ export type PipeTargetInvocationType =
424
+ (typeof PipeTargetInvocationType)[keyof typeof PipeTargetInvocationType];
395
425
  export interface PipeTargetLambdaFunctionParameters {
396
426
  InvocationType?: PipeTargetInvocationType | string;
397
427
  }
@@ -444,19 +474,20 @@ export interface CreatePipeRequest {
444
474
  RoleArn: string | undefined;
445
475
  Tags?: Record<string, string>;
446
476
  }
447
- export declare enum PipeState {
448
- CREATE_FAILED = "CREATE_FAILED",
449
- CREATING = "CREATING",
450
- DELETING = "DELETING",
451
- RUNNING = "RUNNING",
452
- STARTING = "STARTING",
453
- START_FAILED = "START_FAILED",
454
- STOPPED = "STOPPED",
455
- STOPPING = "STOPPING",
456
- STOP_FAILED = "STOP_FAILED",
457
- UPDATE_FAILED = "UPDATE_FAILED",
458
- UPDATING = "UPDATING",
459
- }
477
+ export declare const PipeState: {
478
+ readonly CREATE_FAILED: "CREATE_FAILED";
479
+ readonly CREATING: "CREATING";
480
+ readonly DELETING: "DELETING";
481
+ readonly RUNNING: "RUNNING";
482
+ readonly STARTING: "STARTING";
483
+ readonly START_FAILED: "START_FAILED";
484
+ readonly STOPPED: "STOPPED";
485
+ readonly STOPPING: "STOPPING";
486
+ readonly STOP_FAILED: "STOP_FAILED";
487
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
488
+ readonly UPDATING: "UPDATING";
489
+ };
490
+ export type PipeState = (typeof PipeState)[keyof typeof PipeState];
460
491
  export interface CreatePipeResponse {
461
492
  Arn?: string;
462
493
  Name?: string;
@@ -512,11 +543,13 @@ export declare class ValidationException extends __BaseException {
512
543
  export interface DeletePipeRequest {
513
544
  Name: string | undefined;
514
545
  }
515
- export declare enum RequestedPipeStateDescribeResponse {
516
- DELETED = "DELETED",
517
- RUNNING = "RUNNING",
518
- STOPPED = "STOPPED",
519
- }
546
+ export declare const RequestedPipeStateDescribeResponse: {
547
+ readonly DELETED: "DELETED";
548
+ readonly RUNNING: "RUNNING";
549
+ readonly STOPPED: "STOPPED";
550
+ };
551
+ export type RequestedPipeStateDescribeResponse =
552
+ (typeof RequestedPipeStateDescribeResponse)[keyof typeof RequestedPipeStateDescribeResponse];
520
553
  export interface DeletePipeResponse {
521
554
  Arn?: string;
522
555
  Name?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pipes",
3
3
  "description": "AWS SDK for JavaScript Pipes Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.306.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",