@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.
@@ -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.300.0",
4
+ "version": "3.303.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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.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.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.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.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.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",