@aws-sdk/client-pipes 3.1137.0 → 3.1138.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -567,10 +567,10 @@ const _ta = "tags";
567
567
  const _v = "value";
568
568
  const _w = "weight";
569
569
  const n0 = "com.amazonaws.pipes";
570
- const _s_registry = TypeRegistry.for(_s);
570
+ const _s_registry = new TypeRegistry(_s);
571
571
  var PipesServiceException$ = [-3, _s, "PipesServiceException", 0, [], []];
572
572
  _s_registry.registerError(PipesServiceException$, PipesServiceException);
573
- const n0_registry = TypeRegistry.for(n0);
573
+ const n0_registry = new TypeRegistry(n0);
574
574
  var ConflictException$ = [-3, n0, _CE,
575
575
  { [_e]: _c, [_hE]: 409 },
576
576
  [_m, _rI, _rT],
@@ -335,10 +335,10 @@ const n0 = "com.amazonaws.pipes";
335
335
  import { TypeRegistry } from "@smithy/core/schema";
336
336
  import { ConflictException, InternalException, NotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
337
337
  import { PipesServiceException } from "../models/PipesServiceException";
338
- const _s_registry = TypeRegistry.for(_s);
338
+ const _s_registry = new TypeRegistry(_s);
339
339
  export var PipesServiceException$ = [-3, _s, "PipesServiceException", 0, [], []];
340
340
  _s_registry.registerError(PipesServiceException$, PipesServiceException);
341
- const n0_registry = TypeRegistry.for(n0);
341
+ const n0_registry = new TypeRegistry(n0);
342
342
  export var ConflictException$ = [-3, n0, _CE,
343
343
  { [_e]: _c, [_hE]: 409 },
344
344
  [_m, _rI, _rT],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type CreatePipeCommandInput, type CreatePipeCommandOutput } from "./commands/CreatePipeCommand";
3
3
  import { type DeletePipeCommandInput, type DeletePipeCommandOutput } from "./commands/DeletePipeCommand";
4
4
  import { type DescribePipeCommandInput, type DescribePipeCommandOutput } from "./commands/DescribePipeCommand";
@@ -10,68 +10,74 @@ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./c
10
10
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
11
11
  import { type UpdatePipeCommandInput, type UpdatePipeCommandOutput } from "./commands/UpdatePipeCommand";
12
12
  import { PipesClient } from "./PipesClient";
13
+ /**
14
+ * @public
15
+ */
16
+ export interface PipesRequestOptions extends __HttpHandlerOptions {
17
+ metricsRecorder?: __MetricsRecorder<unknown>;
18
+ }
13
19
  export interface Pipes {
14
20
  /**
15
21
  * @see {@link CreatePipeCommand}
16
22
  */
17
- createPipe(args: CreatePipeCommandInput, options?: __HttpHandlerOptions): Promise<CreatePipeCommandOutput>;
23
+ createPipe(args: CreatePipeCommandInput, options?: PipesRequestOptions): Promise<CreatePipeCommandOutput>;
18
24
  createPipe(args: CreatePipeCommandInput, cb: (err: any, data?: CreatePipeCommandOutput) => void): void;
19
- createPipe(args: CreatePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePipeCommandOutput) => void): void;
25
+ createPipe(args: CreatePipeCommandInput, options: PipesRequestOptions, cb: (err: any, data?: CreatePipeCommandOutput) => void): void;
20
26
  /**
21
27
  * @see {@link DeletePipeCommand}
22
28
  */
23
- deletePipe(args: DeletePipeCommandInput, options?: __HttpHandlerOptions): Promise<DeletePipeCommandOutput>;
29
+ deletePipe(args: DeletePipeCommandInput, options?: PipesRequestOptions): Promise<DeletePipeCommandOutput>;
24
30
  deletePipe(args: DeletePipeCommandInput, cb: (err: any, data?: DeletePipeCommandOutput) => void): void;
25
- deletePipe(args: DeletePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePipeCommandOutput) => void): void;
31
+ deletePipe(args: DeletePipeCommandInput, options: PipesRequestOptions, cb: (err: any, data?: DeletePipeCommandOutput) => void): void;
26
32
  /**
27
33
  * @see {@link DescribePipeCommand}
28
34
  */
29
- describePipe(args: DescribePipeCommandInput, options?: __HttpHandlerOptions): Promise<DescribePipeCommandOutput>;
35
+ describePipe(args: DescribePipeCommandInput, options?: PipesRequestOptions): Promise<DescribePipeCommandOutput>;
30
36
  describePipe(args: DescribePipeCommandInput, cb: (err: any, data?: DescribePipeCommandOutput) => void): void;
31
- describePipe(args: DescribePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePipeCommandOutput) => void): void;
37
+ describePipe(args: DescribePipeCommandInput, options: PipesRequestOptions, cb: (err: any, data?: DescribePipeCommandOutput) => void): void;
32
38
  /**
33
39
  * @see {@link ListPipesCommand}
34
40
  */
35
41
  listPipes(): Promise<ListPipesCommandOutput>;
36
- listPipes(args: ListPipesCommandInput, options?: __HttpHandlerOptions): Promise<ListPipesCommandOutput>;
42
+ listPipes(args: ListPipesCommandInput, options?: PipesRequestOptions): Promise<ListPipesCommandOutput>;
37
43
  listPipes(args: ListPipesCommandInput, cb: (err: any, data?: ListPipesCommandOutput) => void): void;
38
- listPipes(args: ListPipesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPipesCommandOutput) => void): void;
44
+ listPipes(args: ListPipesCommandInput, options: PipesRequestOptions, cb: (err: any, data?: ListPipesCommandOutput) => void): void;
39
45
  /**
40
46
  * @see {@link ListTagsForResourceCommand}
41
47
  */
42
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
48
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: PipesRequestOptions): Promise<ListTagsForResourceCommandOutput>;
43
49
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
44
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
50
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: PipesRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
45
51
  /**
46
52
  * @see {@link StartPipeCommand}
47
53
  */
48
- startPipe(args: StartPipeCommandInput, options?: __HttpHandlerOptions): Promise<StartPipeCommandOutput>;
54
+ startPipe(args: StartPipeCommandInput, options?: PipesRequestOptions): Promise<StartPipeCommandOutput>;
49
55
  startPipe(args: StartPipeCommandInput, cb: (err: any, data?: StartPipeCommandOutput) => void): void;
50
- startPipe(args: StartPipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPipeCommandOutput) => void): void;
56
+ startPipe(args: StartPipeCommandInput, options: PipesRequestOptions, cb: (err: any, data?: StartPipeCommandOutput) => void): void;
51
57
  /**
52
58
  * @see {@link StopPipeCommand}
53
59
  */
54
- stopPipe(args: StopPipeCommandInput, options?: __HttpHandlerOptions): Promise<StopPipeCommandOutput>;
60
+ stopPipe(args: StopPipeCommandInput, options?: PipesRequestOptions): Promise<StopPipeCommandOutput>;
55
61
  stopPipe(args: StopPipeCommandInput, cb: (err: any, data?: StopPipeCommandOutput) => void): void;
56
- stopPipe(args: StopPipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopPipeCommandOutput) => void): void;
62
+ stopPipe(args: StopPipeCommandInput, options: PipesRequestOptions, cb: (err: any, data?: StopPipeCommandOutput) => void): void;
57
63
  /**
58
64
  * @see {@link TagResourceCommand}
59
65
  */
60
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
66
+ tagResource(args: TagResourceCommandInput, options?: PipesRequestOptions): Promise<TagResourceCommandOutput>;
61
67
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
62
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
68
+ tagResource(args: TagResourceCommandInput, options: PipesRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
63
69
  /**
64
70
  * @see {@link UntagResourceCommand}
65
71
  */
66
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
72
+ untagResource(args: UntagResourceCommandInput, options?: PipesRequestOptions): Promise<UntagResourceCommandOutput>;
67
73
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
68
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
74
+ untagResource(args: UntagResourceCommandInput, options: PipesRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
69
75
  /**
70
76
  * @see {@link UpdatePipeCommand}
71
77
  */
72
- updatePipe(args: UpdatePipeCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePipeCommandOutput>;
78
+ updatePipe(args: UpdatePipeCommandInput, options?: PipesRequestOptions): Promise<UpdatePipeCommandOutput>;
73
79
  updatePipe(args: UpdatePipeCommandInput, cb: (err: any, data?: UpdatePipeCommandOutput) => void): void;
74
- updatePipe(args: UpdatePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePipeCommandOutput) => void): void;
80
+ updatePipe(args: UpdatePipeCommandInput, options: PipesRequestOptions, cb: (err: any, data?: UpdatePipeCommandOutput) => void): void;
75
81
  /**
76
82
  * @see {@link ListPipesCommand}
77
83
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -23,10 +24,13 @@ import {
23
24
  } from "./commands/UntagResourceCommand";
24
25
  import { UpdatePipeCommandInput, UpdatePipeCommandOutput } from "./commands/UpdatePipeCommand";
25
26
  import { PipesClient } from "./PipesClient";
27
+ export interface PipesRequestOptions extends __HttpHandlerOptions {
28
+ metricsRecorder?: __MetricsRecorder<unknown>;
29
+ }
26
30
  export interface Pipes {
27
31
  createPipe(
28
32
  args: CreatePipeCommandInput,
29
- options?: __HttpHandlerOptions,
33
+ options?: PipesRequestOptions,
30
34
  ): Promise<CreatePipeCommandOutput>;
31
35
  createPipe(
32
36
  args: CreatePipeCommandInput,
@@ -34,12 +38,12 @@ export interface Pipes {
34
38
  ): void;
35
39
  createPipe(
36
40
  args: CreatePipeCommandInput,
37
- options: __HttpHandlerOptions,
41
+ options: PipesRequestOptions,
38
42
  cb: (err: any, data?: CreatePipeCommandOutput) => void,
39
43
  ): void;
40
44
  deletePipe(
41
45
  args: DeletePipeCommandInput,
42
- options?: __HttpHandlerOptions,
46
+ options?: PipesRequestOptions,
43
47
  ): Promise<DeletePipeCommandOutput>;
44
48
  deletePipe(
45
49
  args: DeletePipeCommandInput,
@@ -47,12 +51,12 @@ export interface Pipes {
47
51
  ): void;
48
52
  deletePipe(
49
53
  args: DeletePipeCommandInput,
50
- options: __HttpHandlerOptions,
54
+ options: PipesRequestOptions,
51
55
  cb: (err: any, data?: DeletePipeCommandOutput) => void,
52
56
  ): void;
53
57
  describePipe(
54
58
  args: DescribePipeCommandInput,
55
- options?: __HttpHandlerOptions,
59
+ options?: PipesRequestOptions,
56
60
  ): Promise<DescribePipeCommandOutput>;
57
61
  describePipe(
58
62
  args: DescribePipeCommandInput,
@@ -60,13 +64,13 @@ export interface Pipes {
60
64
  ): void;
61
65
  describePipe(
62
66
  args: DescribePipeCommandInput,
63
- options: __HttpHandlerOptions,
67
+ options: PipesRequestOptions,
64
68
  cb: (err: any, data?: DescribePipeCommandOutput) => void,
65
69
  ): void;
66
70
  listPipes(): Promise<ListPipesCommandOutput>;
67
71
  listPipes(
68
72
  args: ListPipesCommandInput,
69
- options?: __HttpHandlerOptions,
73
+ options?: PipesRequestOptions,
70
74
  ): Promise<ListPipesCommandOutput>;
71
75
  listPipes(
72
76
  args: ListPipesCommandInput,
@@ -74,12 +78,12 @@ export interface Pipes {
74
78
  ): void;
75
79
  listPipes(
76
80
  args: ListPipesCommandInput,
77
- options: __HttpHandlerOptions,
81
+ options: PipesRequestOptions,
78
82
  cb: (err: any, data?: ListPipesCommandOutput) => void,
79
83
  ): void;
80
84
  listTagsForResource(
81
85
  args: ListTagsForResourceCommandInput,
82
- options?: __HttpHandlerOptions,
86
+ options?: PipesRequestOptions,
83
87
  ): Promise<ListTagsForResourceCommandOutput>;
84
88
  listTagsForResource(
85
89
  args: ListTagsForResourceCommandInput,
@@ -87,12 +91,12 @@ export interface Pipes {
87
91
  ): void;
88
92
  listTagsForResource(
89
93
  args: ListTagsForResourceCommandInput,
90
- options: __HttpHandlerOptions,
94
+ options: PipesRequestOptions,
91
95
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
92
96
  ): void;
93
97
  startPipe(
94
98
  args: StartPipeCommandInput,
95
- options?: __HttpHandlerOptions,
99
+ options?: PipesRequestOptions,
96
100
  ): Promise<StartPipeCommandOutput>;
97
101
  startPipe(
98
102
  args: StartPipeCommandInput,
@@ -100,22 +104,22 @@ export interface Pipes {
100
104
  ): void;
101
105
  startPipe(
102
106
  args: StartPipeCommandInput,
103
- options: __HttpHandlerOptions,
107
+ options: PipesRequestOptions,
104
108
  cb: (err: any, data?: StartPipeCommandOutput) => void,
105
109
  ): void;
106
110
  stopPipe(
107
111
  args: StopPipeCommandInput,
108
- options?: __HttpHandlerOptions,
112
+ options?: PipesRequestOptions,
109
113
  ): Promise<StopPipeCommandOutput>;
110
114
  stopPipe(args: StopPipeCommandInput, cb: (err: any, data?: StopPipeCommandOutput) => void): void;
111
115
  stopPipe(
112
116
  args: StopPipeCommandInput,
113
- options: __HttpHandlerOptions,
117
+ options: PipesRequestOptions,
114
118
  cb: (err: any, data?: StopPipeCommandOutput) => void,
115
119
  ): void;
116
120
  tagResource(
117
121
  args: TagResourceCommandInput,
118
- options?: __HttpHandlerOptions,
122
+ options?: PipesRequestOptions,
119
123
  ): Promise<TagResourceCommandOutput>;
120
124
  tagResource(
121
125
  args: TagResourceCommandInput,
@@ -123,12 +127,12 @@ export interface Pipes {
123
127
  ): void;
124
128
  tagResource(
125
129
  args: TagResourceCommandInput,
126
- options: __HttpHandlerOptions,
130
+ options: PipesRequestOptions,
127
131
  cb: (err: any, data?: TagResourceCommandOutput) => void,
128
132
  ): void;
129
133
  untagResource(
130
134
  args: UntagResourceCommandInput,
131
- options?: __HttpHandlerOptions,
135
+ options?: PipesRequestOptions,
132
136
  ): Promise<UntagResourceCommandOutput>;
133
137
  untagResource(
134
138
  args: UntagResourceCommandInput,
@@ -136,12 +140,12 @@ export interface Pipes {
136
140
  ): void;
137
141
  untagResource(
138
142
  args: UntagResourceCommandInput,
139
- options: __HttpHandlerOptions,
143
+ options: PipesRequestOptions,
140
144
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
141
145
  ): void;
142
146
  updatePipe(
143
147
  args: UpdatePipeCommandInput,
144
- options?: __HttpHandlerOptions,
148
+ options?: PipesRequestOptions,
145
149
  ): Promise<UpdatePipeCommandOutput>;
146
150
  updatePipe(
147
151
  args: UpdatePipeCommandInput,
@@ -149,7 +153,7 @@ export interface Pipes {
149
153
  ): void;
150
154
  updatePipe(
151
155
  args: UpdatePipeCommandInput,
152
- options: __HttpHandlerOptions,
156
+ options: PipesRequestOptions,
153
157
  cb: (err: any, data?: UpdatePipeCommandOutput) => void,
154
158
  ): void;
155
159
  paginateListPipes(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pipes",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Pipes Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pipes",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {