@aws-sdk/client-data-pipeline 3.51.0 → 3.54.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.
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { ActivatePipelineCommandInput, ActivatePipelineCommandOutput } from "./commands/ActivatePipelineCommand";
10
10
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
11
11
  import { CreatePipelineCommandInput, CreatePipelineCommandOutput } from "./commands/CreatePipelineCommand";
@@ -47,7 +47,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
47
47
  * A function that can calculate the length of a request body.
48
48
  * @internal
49
49
  */
50
- bodyLengthChecker?: (body: any) => number | undefined;
50
+ bodyLengthChecker?: __BodyLengthCalculator;
51
51
  /**
52
52
  * A function that converts a stream into an array of bytes.
53
53
  * @internal
@@ -3,3 +3,4 @@ export * from "./DataPipelineClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { DataPipelineServiceException } from "./models/DataPipelineServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from DataPipeline service.
4
+ */
5
+ export declare class DataPipelineServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DataPipelineServiceException as __BaseException } from "./DataPipelineServiceException";
2
3
  /**
3
4
  * <p>A value or list of parameter values. </p>
4
5
  */
@@ -55,46 +56,46 @@ export declare namespace ActivatePipelineOutput {
55
56
  /**
56
57
  * <p>An internal service error occurred.</p>
57
58
  */
58
- export interface InternalServiceError extends __SmithyException, $MetadataBearer {
59
- name: "InternalServiceError";
60
- $fault: "server";
59
+ export declare class InternalServiceError extends __BaseException {
60
+ readonly name: "InternalServiceError";
61
+ readonly $fault: "server";
61
62
  /**
62
- * <p>Description of the error message.</p>
63
+ * @internal
63
64
  */
64
- message?: string;
65
+ constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
65
66
  }
66
67
  /**
67
68
  * <p>The request was not valid. Verify that your request was properly formatted, that the signature was generated with the correct credentials, and that you haven't exceeded any of the service limits for your account.</p>
68
69
  */
69
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
70
- name: "InvalidRequestException";
71
- $fault: "client";
70
+ export declare class InvalidRequestException extends __BaseException {
71
+ readonly name: "InvalidRequestException";
72
+ readonly $fault: "client";
72
73
  /**
73
- * <p>Description of the error message.</p>
74
+ * @internal
74
75
  */
75
- message?: string;
76
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
76
77
  }
77
78
  /**
78
79
  * <p>The specified pipeline has been deleted.</p>
79
80
  */
80
- export interface PipelineDeletedException extends __SmithyException, $MetadataBearer {
81
- name: "PipelineDeletedException";
82
- $fault: "client";
81
+ export declare class PipelineDeletedException extends __BaseException {
82
+ readonly name: "PipelineDeletedException";
83
+ readonly $fault: "client";
83
84
  /**
84
- * <p>Description of the error message.</p>
85
+ * @internal
85
86
  */
86
- message?: string;
87
+ constructor(opts: __ExceptionOptionType<PipelineDeletedException, __BaseException>);
87
88
  }
88
89
  /**
89
90
  * <p>The specified pipeline was not found. Verify that you used the correct user and account identifiers.</p>
90
91
  */
91
- export interface PipelineNotFoundException extends __SmithyException, $MetadataBearer {
92
- name: "PipelineNotFoundException";
93
- $fault: "client";
92
+ export declare class PipelineNotFoundException extends __BaseException {
93
+ readonly name: "PipelineNotFoundException";
94
+ readonly $fault: "client";
94
95
  /**
95
- * <p>Description of the error message.</p>
96
+ * @internal
96
97
  */
97
- message?: string;
98
+ constructor(opts: __ExceptionOptionType<PipelineNotFoundException, __BaseException>);
98
99
  }
99
100
  /**
100
101
  * <p>Tags are key/value pairs defined by a user and associated with a pipeline to control access. AWS Data Pipeline allows you to associate ten tags per pipeline.
@@ -451,13 +452,13 @@ export declare namespace EvaluateExpressionOutput {
451
452
  /**
452
453
  * <p>The specified task was not found. </p>
453
454
  */
454
- export interface TaskNotFoundException extends __SmithyException, $MetadataBearer {
455
- name: "TaskNotFoundException";
456
- $fault: "client";
455
+ export declare class TaskNotFoundException extends __BaseException {
456
+ readonly name: "TaskNotFoundException";
457
+ readonly $fault: "client";
457
458
  /**
458
- * <p>Description of the error message.</p>
459
+ * @internal
459
460
  */
460
- message?: string;
461
+ constructor(opts: __ExceptionOptionType<TaskNotFoundException, __BaseException>);
461
462
  }
462
463
  /**
463
464
  * <p>Contains the parameters for GetPipelineDefinition.</p>
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { ActivatePipelineCommandInput, ActivatePipelineCommandOutput } from "./commands/ActivatePipelineCommand";
10
10
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
11
11
  import { CreatePipelineCommandInput, CreatePipelineCommandOutput } from "./commands/CreatePipelineCommand";
@@ -35,7 +35,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
35
35
 
36
36
  urlParser?: __UrlParser;
37
37
 
38
- bodyLengthChecker?: (body: any) => number | undefined;
38
+ bodyLengthChecker?: __BodyLengthCalculator;
39
39
 
40
40
  streamCollector?: __StreamCollector;
41
41
 
@@ -3,3 +3,4 @@ export * from "./DataPipelineClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { DataPipelineServiceException } from "./models/DataPipelineServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class DataPipelineServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DataPipelineServiceException as __BaseException } from "./DataPipelineServiceException";
2
3
 
3
4
  export interface ParameterValue {
4
5
 
@@ -31,32 +32,32 @@ export declare namespace ActivatePipelineOutput {
31
32
  const filterSensitiveLog: (obj: ActivatePipelineOutput) => any;
32
33
  }
33
34
 
34
- export interface InternalServiceError extends __SmithyException, $MetadataBearer {
35
- name: "InternalServiceError";
36
- $fault: "server";
35
+ export declare class InternalServiceError extends __BaseException {
36
+ readonly name: "InternalServiceError";
37
+ readonly $fault: "server";
37
38
 
38
- message?: string;
39
+ constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
39
40
  }
40
41
 
41
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
42
- name: "InvalidRequestException";
43
- $fault: "client";
42
+ export declare class InvalidRequestException extends __BaseException {
43
+ readonly name: "InvalidRequestException";
44
+ readonly $fault: "client";
44
45
 
45
- message?: string;
46
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
46
47
  }
47
48
 
48
- export interface PipelineDeletedException extends __SmithyException, $MetadataBearer {
49
- name: "PipelineDeletedException";
50
- $fault: "client";
49
+ export declare class PipelineDeletedException extends __BaseException {
50
+ readonly name: "PipelineDeletedException";
51
+ readonly $fault: "client";
51
52
 
52
- message?: string;
53
+ constructor(opts: __ExceptionOptionType<PipelineDeletedException, __BaseException>);
53
54
  }
54
55
 
55
- export interface PipelineNotFoundException extends __SmithyException, $MetadataBearer {
56
- name: "PipelineNotFoundException";
57
- $fault: "client";
56
+ export declare class PipelineNotFoundException extends __BaseException {
57
+ readonly name: "PipelineNotFoundException";
58
+ readonly $fault: "client";
58
59
 
59
- message?: string;
60
+ constructor(opts: __ExceptionOptionType<PipelineNotFoundException, __BaseException>);
60
61
  }
61
62
 
62
63
  export interface Tag {
@@ -250,11 +251,11 @@ export declare namespace EvaluateExpressionOutput {
250
251
  const filterSensitiveLog: (obj: EvaluateExpressionOutput) => any;
251
252
  }
252
253
 
253
- export interface TaskNotFoundException extends __SmithyException, $MetadataBearer {
254
- name: "TaskNotFoundException";
255
- $fault: "client";
254
+ export declare class TaskNotFoundException extends __BaseException {
255
+ readonly name: "TaskNotFoundException";
256
+ readonly $fault: "client";
256
257
 
257
- message?: string;
258
+ constructor(opts: __ExceptionOptionType<TaskNotFoundException, __BaseException>);
258
259
  }
259
260
 
260
261
  export interface GetPipelineDefinitionInput {
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-data-pipeline",
3
3
  "description": "AWS SDK for JavaScript Data Pipeline Client for Node.js, Browser and React Native",
4
- "version": "3.51.0",
4
+ "version": "3.54.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",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,40 +18,40 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-host-header": "3.54.0",
29
+ "@aws-sdk/middleware-logger": "3.54.0",
30
+ "@aws-sdk/middleware-retry": "3.54.0",
31
+ "@aws-sdk/middleware-serde": "3.54.0",
32
+ "@aws-sdk/middleware-signing": "3.54.0",
33
+ "@aws-sdk/middleware-stack": "3.54.0",
34
+ "@aws-sdk/middleware-user-agent": "3.54.0",
35
+ "@aws-sdk/node-config-provider": "3.54.0",
36
+ "@aws-sdk/node-http-handler": "3.54.0",
37
+ "@aws-sdk/protocol-http": "3.54.0",
38
+ "@aws-sdk/smithy-client": "3.54.0",
39
+ "@aws-sdk/types": "3.54.0",
40
+ "@aws-sdk/url-parser": "3.54.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
48
+ "@aws-sdk/util-user-agent-node": "3.54.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",