@aws-sdk/client-osis 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
 
@@ -428,10 +428,10 @@ const _nT = "nextToken";
428
428
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.osis";
429
429
  const _se = "server";
430
430
  const n0 = "com.amazonaws.osis";
431
- const _s_registry = TypeRegistry.for(_s);
431
+ const _s_registry = new TypeRegistry(_s);
432
432
  var OSISServiceException$ = [-3, _s, "OSISServiceException", 0, [], []];
433
433
  _s_registry.registerError(OSISServiceException$, OSISServiceException);
434
- const n0_registry = TypeRegistry.for(n0);
434
+ const n0_registry = new TypeRegistry(n0);
435
435
  var AccessDeniedException$ = [-3, n0, _ADE,
436
436
  { [_e]: _c, [_hE]: 403 },
437
437
  [_m],
@@ -182,10 +182,10 @@ const n0 = "com.amazonaws.osis";
182
182
  import { TypeRegistry } from "@smithy/core/schema";
183
183
  import { AccessDeniedException, ConflictException, DisabledOperationException, InternalException, InvalidPaginationTokenException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ValidationException, } from "../models/errors";
184
184
  import { OSISServiceException } from "../models/OSISServiceException";
185
- const _s_registry = TypeRegistry.for(_s);
185
+ const _s_registry = new TypeRegistry(_s);
186
186
  export var OSISServiceException$ = [-3, _s, "OSISServiceException", 0, [], []];
187
187
  _s_registry.registerError(OSISServiceException$, OSISServiceException);
188
- const n0_registry = TypeRegistry.for(n0);
188
+ const n0_registry = new TypeRegistry(n0);
189
189
  export var AccessDeniedException$ = [-3, n0, _ADE,
190
190
  { [_e]: _c, [_hE]: 403 },
191
191
  [_m],
@@ -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 CreatePipelineCommandInput, type CreatePipelineCommandOutput } from "./commands/CreatePipelineCommand";
3
3
  import { type CreatePipelineEndpointCommandInput, type CreatePipelineEndpointCommandOutput } from "./commands/CreatePipelineEndpointCommand";
4
4
  import { type DeletePipelineCommandInput, type DeletePipelineCommandOutput } from "./commands/DeletePipelineCommand";
@@ -22,143 +22,149 @@ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from
22
22
  import { type UpdatePipelineCommandInput, type UpdatePipelineCommandOutput } from "./commands/UpdatePipelineCommand";
23
23
  import { type ValidatePipelineCommandInput, type ValidatePipelineCommandOutput } from "./commands/ValidatePipelineCommand";
24
24
  import { OSISClient } from "./OSISClient";
25
+ /**
26
+ * @public
27
+ */
28
+ export interface OSISRequestOptions extends __HttpHandlerOptions {
29
+ metricsRecorder?: __MetricsRecorder<unknown>;
30
+ }
25
31
  export interface OSIS {
26
32
  /**
27
33
  * @see {@link CreatePipelineCommand}
28
34
  */
29
- createPipeline(args: CreatePipelineCommandInput, options?: __HttpHandlerOptions): Promise<CreatePipelineCommandOutput>;
35
+ createPipeline(args: CreatePipelineCommandInput, options?: OSISRequestOptions): Promise<CreatePipelineCommandOutput>;
30
36
  createPipeline(args: CreatePipelineCommandInput, cb: (err: any, data?: CreatePipelineCommandOutput) => void): void;
31
- createPipeline(args: CreatePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePipelineCommandOutput) => void): void;
37
+ createPipeline(args: CreatePipelineCommandInput, options: OSISRequestOptions, cb: (err: any, data?: CreatePipelineCommandOutput) => void): void;
32
38
  /**
33
39
  * @see {@link CreatePipelineEndpointCommand}
34
40
  */
35
- createPipelineEndpoint(args: CreatePipelineEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreatePipelineEndpointCommandOutput>;
41
+ createPipelineEndpoint(args: CreatePipelineEndpointCommandInput, options?: OSISRequestOptions): Promise<CreatePipelineEndpointCommandOutput>;
36
42
  createPipelineEndpoint(args: CreatePipelineEndpointCommandInput, cb: (err: any, data?: CreatePipelineEndpointCommandOutput) => void): void;
37
- createPipelineEndpoint(args: CreatePipelineEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePipelineEndpointCommandOutput) => void): void;
43
+ createPipelineEndpoint(args: CreatePipelineEndpointCommandInput, options: OSISRequestOptions, cb: (err: any, data?: CreatePipelineEndpointCommandOutput) => void): void;
38
44
  /**
39
45
  * @see {@link DeletePipelineCommand}
40
46
  */
41
- deletePipeline(args: DeletePipelineCommandInput, options?: __HttpHandlerOptions): Promise<DeletePipelineCommandOutput>;
47
+ deletePipeline(args: DeletePipelineCommandInput, options?: OSISRequestOptions): Promise<DeletePipelineCommandOutput>;
42
48
  deletePipeline(args: DeletePipelineCommandInput, cb: (err: any, data?: DeletePipelineCommandOutput) => void): void;
43
- deletePipeline(args: DeletePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePipelineCommandOutput) => void): void;
49
+ deletePipeline(args: DeletePipelineCommandInput, options: OSISRequestOptions, cb: (err: any, data?: DeletePipelineCommandOutput) => void): void;
44
50
  /**
45
51
  * @see {@link DeletePipelineEndpointCommand}
46
52
  */
47
- deletePipelineEndpoint(args: DeletePipelineEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeletePipelineEndpointCommandOutput>;
53
+ deletePipelineEndpoint(args: DeletePipelineEndpointCommandInput, options?: OSISRequestOptions): Promise<DeletePipelineEndpointCommandOutput>;
48
54
  deletePipelineEndpoint(args: DeletePipelineEndpointCommandInput, cb: (err: any, data?: DeletePipelineEndpointCommandOutput) => void): void;
49
- deletePipelineEndpoint(args: DeletePipelineEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePipelineEndpointCommandOutput) => void): void;
55
+ deletePipelineEndpoint(args: DeletePipelineEndpointCommandInput, options: OSISRequestOptions, cb: (err: any, data?: DeletePipelineEndpointCommandOutput) => void): void;
50
56
  /**
51
57
  * @see {@link DeleteResourcePolicyCommand}
52
58
  */
53
- deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
59
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: OSISRequestOptions): Promise<DeleteResourcePolicyCommandOutput>;
54
60
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
55
- deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
61
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: OSISRequestOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
56
62
  /**
57
63
  * @see {@link GetPipelineCommand}
58
64
  */
59
- getPipeline(args: GetPipelineCommandInput, options?: __HttpHandlerOptions): Promise<GetPipelineCommandOutput>;
65
+ getPipeline(args: GetPipelineCommandInput, options?: OSISRequestOptions): Promise<GetPipelineCommandOutput>;
60
66
  getPipeline(args: GetPipelineCommandInput, cb: (err: any, data?: GetPipelineCommandOutput) => void): void;
61
- getPipeline(args: GetPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPipelineCommandOutput) => void): void;
67
+ getPipeline(args: GetPipelineCommandInput, options: OSISRequestOptions, cb: (err: any, data?: GetPipelineCommandOutput) => void): void;
62
68
  /**
63
69
  * @see {@link GetPipelineBlueprintCommand}
64
70
  */
65
- getPipelineBlueprint(args: GetPipelineBlueprintCommandInput, options?: __HttpHandlerOptions): Promise<GetPipelineBlueprintCommandOutput>;
71
+ getPipelineBlueprint(args: GetPipelineBlueprintCommandInput, options?: OSISRequestOptions): Promise<GetPipelineBlueprintCommandOutput>;
66
72
  getPipelineBlueprint(args: GetPipelineBlueprintCommandInput, cb: (err: any, data?: GetPipelineBlueprintCommandOutput) => void): void;
67
- getPipelineBlueprint(args: GetPipelineBlueprintCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPipelineBlueprintCommandOutput) => void): void;
73
+ getPipelineBlueprint(args: GetPipelineBlueprintCommandInput, options: OSISRequestOptions, cb: (err: any, data?: GetPipelineBlueprintCommandOutput) => void): void;
68
74
  /**
69
75
  * @see {@link GetPipelineChangeProgressCommand}
70
76
  */
71
- getPipelineChangeProgress(args: GetPipelineChangeProgressCommandInput, options?: __HttpHandlerOptions): Promise<GetPipelineChangeProgressCommandOutput>;
77
+ getPipelineChangeProgress(args: GetPipelineChangeProgressCommandInput, options?: OSISRequestOptions): Promise<GetPipelineChangeProgressCommandOutput>;
72
78
  getPipelineChangeProgress(args: GetPipelineChangeProgressCommandInput, cb: (err: any, data?: GetPipelineChangeProgressCommandOutput) => void): void;
73
- getPipelineChangeProgress(args: GetPipelineChangeProgressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPipelineChangeProgressCommandOutput) => void): void;
79
+ getPipelineChangeProgress(args: GetPipelineChangeProgressCommandInput, options: OSISRequestOptions, cb: (err: any, data?: GetPipelineChangeProgressCommandOutput) => void): void;
74
80
  /**
75
81
  * @see {@link GetResourcePolicyCommand}
76
82
  */
77
- getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
83
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: OSISRequestOptions): Promise<GetResourcePolicyCommandOutput>;
78
84
  getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
79
- getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
85
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options: OSISRequestOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
80
86
  /**
81
87
  * @see {@link ListPipelineBlueprintsCommand}
82
88
  */
83
89
  listPipelineBlueprints(): Promise<ListPipelineBlueprintsCommandOutput>;
84
- listPipelineBlueprints(args: ListPipelineBlueprintsCommandInput, options?: __HttpHandlerOptions): Promise<ListPipelineBlueprintsCommandOutput>;
90
+ listPipelineBlueprints(args: ListPipelineBlueprintsCommandInput, options?: OSISRequestOptions): Promise<ListPipelineBlueprintsCommandOutput>;
85
91
  listPipelineBlueprints(args: ListPipelineBlueprintsCommandInput, cb: (err: any, data?: ListPipelineBlueprintsCommandOutput) => void): void;
86
- listPipelineBlueprints(args: ListPipelineBlueprintsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPipelineBlueprintsCommandOutput) => void): void;
92
+ listPipelineBlueprints(args: ListPipelineBlueprintsCommandInput, options: OSISRequestOptions, cb: (err: any, data?: ListPipelineBlueprintsCommandOutput) => void): void;
87
93
  /**
88
94
  * @see {@link ListPipelineEndpointConnectionsCommand}
89
95
  */
90
96
  listPipelineEndpointConnections(): Promise<ListPipelineEndpointConnectionsCommandOutput>;
91
- listPipelineEndpointConnections(args: ListPipelineEndpointConnectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPipelineEndpointConnectionsCommandOutput>;
97
+ listPipelineEndpointConnections(args: ListPipelineEndpointConnectionsCommandInput, options?: OSISRequestOptions): Promise<ListPipelineEndpointConnectionsCommandOutput>;
92
98
  listPipelineEndpointConnections(args: ListPipelineEndpointConnectionsCommandInput, cb: (err: any, data?: ListPipelineEndpointConnectionsCommandOutput) => void): void;
93
- listPipelineEndpointConnections(args: ListPipelineEndpointConnectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPipelineEndpointConnectionsCommandOutput) => void): void;
99
+ listPipelineEndpointConnections(args: ListPipelineEndpointConnectionsCommandInput, options: OSISRequestOptions, cb: (err: any, data?: ListPipelineEndpointConnectionsCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link ListPipelineEndpointsCommand}
96
102
  */
97
103
  listPipelineEndpoints(): Promise<ListPipelineEndpointsCommandOutput>;
98
- listPipelineEndpoints(args: ListPipelineEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListPipelineEndpointsCommandOutput>;
104
+ listPipelineEndpoints(args: ListPipelineEndpointsCommandInput, options?: OSISRequestOptions): Promise<ListPipelineEndpointsCommandOutput>;
99
105
  listPipelineEndpoints(args: ListPipelineEndpointsCommandInput, cb: (err: any, data?: ListPipelineEndpointsCommandOutput) => void): void;
100
- listPipelineEndpoints(args: ListPipelineEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPipelineEndpointsCommandOutput) => void): void;
106
+ listPipelineEndpoints(args: ListPipelineEndpointsCommandInput, options: OSISRequestOptions, cb: (err: any, data?: ListPipelineEndpointsCommandOutput) => void): void;
101
107
  /**
102
108
  * @see {@link ListPipelinesCommand}
103
109
  */
104
110
  listPipelines(): Promise<ListPipelinesCommandOutput>;
105
- listPipelines(args: ListPipelinesCommandInput, options?: __HttpHandlerOptions): Promise<ListPipelinesCommandOutput>;
111
+ listPipelines(args: ListPipelinesCommandInput, options?: OSISRequestOptions): Promise<ListPipelinesCommandOutput>;
106
112
  listPipelines(args: ListPipelinesCommandInput, cb: (err: any, data?: ListPipelinesCommandOutput) => void): void;
107
- listPipelines(args: ListPipelinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPipelinesCommandOutput) => void): void;
113
+ listPipelines(args: ListPipelinesCommandInput, options: OSISRequestOptions, cb: (err: any, data?: ListPipelinesCommandOutput) => void): void;
108
114
  /**
109
115
  * @see {@link ListTagsForResourceCommand}
110
116
  */
111
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
117
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: OSISRequestOptions): Promise<ListTagsForResourceCommandOutput>;
112
118
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
113
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
119
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: OSISRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
114
120
  /**
115
121
  * @see {@link PutResourcePolicyCommand}
116
122
  */
117
- putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
123
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: OSISRequestOptions): Promise<PutResourcePolicyCommandOutput>;
118
124
  putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
119
- putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
125
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options: OSISRequestOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
120
126
  /**
121
127
  * @see {@link RevokePipelineEndpointConnectionsCommand}
122
128
  */
123
- revokePipelineEndpointConnections(args: RevokePipelineEndpointConnectionsCommandInput, options?: __HttpHandlerOptions): Promise<RevokePipelineEndpointConnectionsCommandOutput>;
129
+ revokePipelineEndpointConnections(args: RevokePipelineEndpointConnectionsCommandInput, options?: OSISRequestOptions): Promise<RevokePipelineEndpointConnectionsCommandOutput>;
124
130
  revokePipelineEndpointConnections(args: RevokePipelineEndpointConnectionsCommandInput, cb: (err: any, data?: RevokePipelineEndpointConnectionsCommandOutput) => void): void;
125
- revokePipelineEndpointConnections(args: RevokePipelineEndpointConnectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokePipelineEndpointConnectionsCommandOutput) => void): void;
131
+ revokePipelineEndpointConnections(args: RevokePipelineEndpointConnectionsCommandInput, options: OSISRequestOptions, cb: (err: any, data?: RevokePipelineEndpointConnectionsCommandOutput) => void): void;
126
132
  /**
127
133
  * @see {@link StartPipelineCommand}
128
134
  */
129
- startPipeline(args: StartPipelineCommandInput, options?: __HttpHandlerOptions): Promise<StartPipelineCommandOutput>;
135
+ startPipeline(args: StartPipelineCommandInput, options?: OSISRequestOptions): Promise<StartPipelineCommandOutput>;
130
136
  startPipeline(args: StartPipelineCommandInput, cb: (err: any, data?: StartPipelineCommandOutput) => void): void;
131
- startPipeline(args: StartPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPipelineCommandOutput) => void): void;
137
+ startPipeline(args: StartPipelineCommandInput, options: OSISRequestOptions, cb: (err: any, data?: StartPipelineCommandOutput) => void): void;
132
138
  /**
133
139
  * @see {@link StopPipelineCommand}
134
140
  */
135
- stopPipeline(args: StopPipelineCommandInput, options?: __HttpHandlerOptions): Promise<StopPipelineCommandOutput>;
141
+ stopPipeline(args: StopPipelineCommandInput, options?: OSISRequestOptions): Promise<StopPipelineCommandOutput>;
136
142
  stopPipeline(args: StopPipelineCommandInput, cb: (err: any, data?: StopPipelineCommandOutput) => void): void;
137
- stopPipeline(args: StopPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopPipelineCommandOutput) => void): void;
143
+ stopPipeline(args: StopPipelineCommandInput, options: OSISRequestOptions, cb: (err: any, data?: StopPipelineCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link TagResourceCommand}
140
146
  */
141
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
147
+ tagResource(args: TagResourceCommandInput, options?: OSISRequestOptions): Promise<TagResourceCommandOutput>;
142
148
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
143
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
149
+ tagResource(args: TagResourceCommandInput, options: OSISRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link UntagResourceCommand}
146
152
  */
147
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
153
+ untagResource(args: UntagResourceCommandInput, options?: OSISRequestOptions): Promise<UntagResourceCommandOutput>;
148
154
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
149
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
155
+ untagResource(args: UntagResourceCommandInput, options: OSISRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
150
156
  /**
151
157
  * @see {@link UpdatePipelineCommand}
152
158
  */
153
- updatePipeline(args: UpdatePipelineCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePipelineCommandOutput>;
159
+ updatePipeline(args: UpdatePipelineCommandInput, options?: OSISRequestOptions): Promise<UpdatePipelineCommandOutput>;
154
160
  updatePipeline(args: UpdatePipelineCommandInput, cb: (err: any, data?: UpdatePipelineCommandOutput) => void): void;
155
- updatePipeline(args: UpdatePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePipelineCommandOutput) => void): void;
161
+ updatePipeline(args: UpdatePipelineCommandInput, options: OSISRequestOptions, cb: (err: any, data?: UpdatePipelineCommandOutput) => void): void;
156
162
  /**
157
163
  * @see {@link ValidatePipelineCommand}
158
164
  */
159
- validatePipeline(args: ValidatePipelineCommandInput, options?: __HttpHandlerOptions): Promise<ValidatePipelineCommandOutput>;
165
+ validatePipeline(args: ValidatePipelineCommandInput, options?: OSISRequestOptions): Promise<ValidatePipelineCommandOutput>;
160
166
  validatePipeline(args: ValidatePipelineCommandInput, cb: (err: any, data?: ValidatePipelineCommandOutput) => void): void;
161
- validatePipeline(args: ValidatePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidatePipelineCommandOutput) => void): void;
167
+ validatePipeline(args: ValidatePipelineCommandInput, options: OSISRequestOptions, cb: (err: any, data?: ValidatePipelineCommandOutput) => void): void;
162
168
  /**
163
169
  * @see {@link ListPipelineEndpointConnectionsCommand}
164
170
  * @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";
@@ -86,10 +87,13 @@ import {
86
87
  ValidatePipelineCommandOutput,
87
88
  } from "./commands/ValidatePipelineCommand";
88
89
  import { OSISClient } from "./OSISClient";
90
+ export interface OSISRequestOptions extends __HttpHandlerOptions {
91
+ metricsRecorder?: __MetricsRecorder<unknown>;
92
+ }
89
93
  export interface OSIS {
90
94
  createPipeline(
91
95
  args: CreatePipelineCommandInput,
92
- options?: __HttpHandlerOptions,
96
+ options?: OSISRequestOptions,
93
97
  ): Promise<CreatePipelineCommandOutput>;
94
98
  createPipeline(
95
99
  args: CreatePipelineCommandInput,
@@ -97,12 +101,12 @@ export interface OSIS {
97
101
  ): void;
98
102
  createPipeline(
99
103
  args: CreatePipelineCommandInput,
100
- options: __HttpHandlerOptions,
104
+ options: OSISRequestOptions,
101
105
  cb: (err: any, data?: CreatePipelineCommandOutput) => void,
102
106
  ): void;
103
107
  createPipelineEndpoint(
104
108
  args: CreatePipelineEndpointCommandInput,
105
- options?: __HttpHandlerOptions,
109
+ options?: OSISRequestOptions,
106
110
  ): Promise<CreatePipelineEndpointCommandOutput>;
107
111
  createPipelineEndpoint(
108
112
  args: CreatePipelineEndpointCommandInput,
@@ -110,12 +114,12 @@ export interface OSIS {
110
114
  ): void;
111
115
  createPipelineEndpoint(
112
116
  args: CreatePipelineEndpointCommandInput,
113
- options: __HttpHandlerOptions,
117
+ options: OSISRequestOptions,
114
118
  cb: (err: any, data?: CreatePipelineEndpointCommandOutput) => void,
115
119
  ): void;
116
120
  deletePipeline(
117
121
  args: DeletePipelineCommandInput,
118
- options?: __HttpHandlerOptions,
122
+ options?: OSISRequestOptions,
119
123
  ): Promise<DeletePipelineCommandOutput>;
120
124
  deletePipeline(
121
125
  args: DeletePipelineCommandInput,
@@ -123,12 +127,12 @@ export interface OSIS {
123
127
  ): void;
124
128
  deletePipeline(
125
129
  args: DeletePipelineCommandInput,
126
- options: __HttpHandlerOptions,
130
+ options: OSISRequestOptions,
127
131
  cb: (err: any, data?: DeletePipelineCommandOutput) => void,
128
132
  ): void;
129
133
  deletePipelineEndpoint(
130
134
  args: DeletePipelineEndpointCommandInput,
131
- options?: __HttpHandlerOptions,
135
+ options?: OSISRequestOptions,
132
136
  ): Promise<DeletePipelineEndpointCommandOutput>;
133
137
  deletePipelineEndpoint(
134
138
  args: DeletePipelineEndpointCommandInput,
@@ -136,12 +140,12 @@ export interface OSIS {
136
140
  ): void;
137
141
  deletePipelineEndpoint(
138
142
  args: DeletePipelineEndpointCommandInput,
139
- options: __HttpHandlerOptions,
143
+ options: OSISRequestOptions,
140
144
  cb: (err: any, data?: DeletePipelineEndpointCommandOutput) => void,
141
145
  ): void;
142
146
  deleteResourcePolicy(
143
147
  args: DeleteResourcePolicyCommandInput,
144
- options?: __HttpHandlerOptions,
148
+ options?: OSISRequestOptions,
145
149
  ): Promise<DeleteResourcePolicyCommandOutput>;
146
150
  deleteResourcePolicy(
147
151
  args: DeleteResourcePolicyCommandInput,
@@ -149,12 +153,12 @@ export interface OSIS {
149
153
  ): void;
150
154
  deleteResourcePolicy(
151
155
  args: DeleteResourcePolicyCommandInput,
152
- options: __HttpHandlerOptions,
156
+ options: OSISRequestOptions,
153
157
  cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
154
158
  ): void;
155
159
  getPipeline(
156
160
  args: GetPipelineCommandInput,
157
- options?: __HttpHandlerOptions,
161
+ options?: OSISRequestOptions,
158
162
  ): Promise<GetPipelineCommandOutput>;
159
163
  getPipeline(
160
164
  args: GetPipelineCommandInput,
@@ -162,12 +166,12 @@ export interface OSIS {
162
166
  ): void;
163
167
  getPipeline(
164
168
  args: GetPipelineCommandInput,
165
- options: __HttpHandlerOptions,
169
+ options: OSISRequestOptions,
166
170
  cb: (err: any, data?: GetPipelineCommandOutput) => void,
167
171
  ): void;
168
172
  getPipelineBlueprint(
169
173
  args: GetPipelineBlueprintCommandInput,
170
- options?: __HttpHandlerOptions,
174
+ options?: OSISRequestOptions,
171
175
  ): Promise<GetPipelineBlueprintCommandOutput>;
172
176
  getPipelineBlueprint(
173
177
  args: GetPipelineBlueprintCommandInput,
@@ -175,12 +179,12 @@ export interface OSIS {
175
179
  ): void;
176
180
  getPipelineBlueprint(
177
181
  args: GetPipelineBlueprintCommandInput,
178
- options: __HttpHandlerOptions,
182
+ options: OSISRequestOptions,
179
183
  cb: (err: any, data?: GetPipelineBlueprintCommandOutput) => void,
180
184
  ): void;
181
185
  getPipelineChangeProgress(
182
186
  args: GetPipelineChangeProgressCommandInput,
183
- options?: __HttpHandlerOptions,
187
+ options?: OSISRequestOptions,
184
188
  ): Promise<GetPipelineChangeProgressCommandOutput>;
185
189
  getPipelineChangeProgress(
186
190
  args: GetPipelineChangeProgressCommandInput,
@@ -188,12 +192,12 @@ export interface OSIS {
188
192
  ): void;
189
193
  getPipelineChangeProgress(
190
194
  args: GetPipelineChangeProgressCommandInput,
191
- options: __HttpHandlerOptions,
195
+ options: OSISRequestOptions,
192
196
  cb: (err: any, data?: GetPipelineChangeProgressCommandOutput) => void,
193
197
  ): void;
194
198
  getResourcePolicy(
195
199
  args: GetResourcePolicyCommandInput,
196
- options?: __HttpHandlerOptions,
200
+ options?: OSISRequestOptions,
197
201
  ): Promise<GetResourcePolicyCommandOutput>;
198
202
  getResourcePolicy(
199
203
  args: GetResourcePolicyCommandInput,
@@ -201,13 +205,13 @@ export interface OSIS {
201
205
  ): void;
202
206
  getResourcePolicy(
203
207
  args: GetResourcePolicyCommandInput,
204
- options: __HttpHandlerOptions,
208
+ options: OSISRequestOptions,
205
209
  cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
206
210
  ): void;
207
211
  listPipelineBlueprints(): Promise<ListPipelineBlueprintsCommandOutput>;
208
212
  listPipelineBlueprints(
209
213
  args: ListPipelineBlueprintsCommandInput,
210
- options?: __HttpHandlerOptions,
214
+ options?: OSISRequestOptions,
211
215
  ): Promise<ListPipelineBlueprintsCommandOutput>;
212
216
  listPipelineBlueprints(
213
217
  args: ListPipelineBlueprintsCommandInput,
@@ -215,13 +219,13 @@ export interface OSIS {
215
219
  ): void;
216
220
  listPipelineBlueprints(
217
221
  args: ListPipelineBlueprintsCommandInput,
218
- options: __HttpHandlerOptions,
222
+ options: OSISRequestOptions,
219
223
  cb: (err: any, data?: ListPipelineBlueprintsCommandOutput) => void,
220
224
  ): void;
221
225
  listPipelineEndpointConnections(): Promise<ListPipelineEndpointConnectionsCommandOutput>;
222
226
  listPipelineEndpointConnections(
223
227
  args: ListPipelineEndpointConnectionsCommandInput,
224
- options?: __HttpHandlerOptions,
228
+ options?: OSISRequestOptions,
225
229
  ): Promise<ListPipelineEndpointConnectionsCommandOutput>;
226
230
  listPipelineEndpointConnections(
227
231
  args: ListPipelineEndpointConnectionsCommandInput,
@@ -229,13 +233,13 @@ export interface OSIS {
229
233
  ): void;
230
234
  listPipelineEndpointConnections(
231
235
  args: ListPipelineEndpointConnectionsCommandInput,
232
- options: __HttpHandlerOptions,
236
+ options: OSISRequestOptions,
233
237
  cb: (err: any, data?: ListPipelineEndpointConnectionsCommandOutput) => void,
234
238
  ): void;
235
239
  listPipelineEndpoints(): Promise<ListPipelineEndpointsCommandOutput>;
236
240
  listPipelineEndpoints(
237
241
  args: ListPipelineEndpointsCommandInput,
238
- options?: __HttpHandlerOptions,
242
+ options?: OSISRequestOptions,
239
243
  ): Promise<ListPipelineEndpointsCommandOutput>;
240
244
  listPipelineEndpoints(
241
245
  args: ListPipelineEndpointsCommandInput,
@@ -243,13 +247,13 @@ export interface OSIS {
243
247
  ): void;
244
248
  listPipelineEndpoints(
245
249
  args: ListPipelineEndpointsCommandInput,
246
- options: __HttpHandlerOptions,
250
+ options: OSISRequestOptions,
247
251
  cb: (err: any, data?: ListPipelineEndpointsCommandOutput) => void,
248
252
  ): void;
249
253
  listPipelines(): Promise<ListPipelinesCommandOutput>;
250
254
  listPipelines(
251
255
  args: ListPipelinesCommandInput,
252
- options?: __HttpHandlerOptions,
256
+ options?: OSISRequestOptions,
253
257
  ): Promise<ListPipelinesCommandOutput>;
254
258
  listPipelines(
255
259
  args: ListPipelinesCommandInput,
@@ -257,12 +261,12 @@ export interface OSIS {
257
261
  ): void;
258
262
  listPipelines(
259
263
  args: ListPipelinesCommandInput,
260
- options: __HttpHandlerOptions,
264
+ options: OSISRequestOptions,
261
265
  cb: (err: any, data?: ListPipelinesCommandOutput) => void,
262
266
  ): void;
263
267
  listTagsForResource(
264
268
  args: ListTagsForResourceCommandInput,
265
- options?: __HttpHandlerOptions,
269
+ options?: OSISRequestOptions,
266
270
  ): Promise<ListTagsForResourceCommandOutput>;
267
271
  listTagsForResource(
268
272
  args: ListTagsForResourceCommandInput,
@@ -270,12 +274,12 @@ export interface OSIS {
270
274
  ): void;
271
275
  listTagsForResource(
272
276
  args: ListTagsForResourceCommandInput,
273
- options: __HttpHandlerOptions,
277
+ options: OSISRequestOptions,
274
278
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
275
279
  ): void;
276
280
  putResourcePolicy(
277
281
  args: PutResourcePolicyCommandInput,
278
- options?: __HttpHandlerOptions,
282
+ options?: OSISRequestOptions,
279
283
  ): Promise<PutResourcePolicyCommandOutput>;
280
284
  putResourcePolicy(
281
285
  args: PutResourcePolicyCommandInput,
@@ -283,12 +287,12 @@ export interface OSIS {
283
287
  ): void;
284
288
  putResourcePolicy(
285
289
  args: PutResourcePolicyCommandInput,
286
- options: __HttpHandlerOptions,
290
+ options: OSISRequestOptions,
287
291
  cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
288
292
  ): void;
289
293
  revokePipelineEndpointConnections(
290
294
  args: RevokePipelineEndpointConnectionsCommandInput,
291
- options?: __HttpHandlerOptions,
295
+ options?: OSISRequestOptions,
292
296
  ): Promise<RevokePipelineEndpointConnectionsCommandOutput>;
293
297
  revokePipelineEndpointConnections(
294
298
  args: RevokePipelineEndpointConnectionsCommandInput,
@@ -296,12 +300,12 @@ export interface OSIS {
296
300
  ): void;
297
301
  revokePipelineEndpointConnections(
298
302
  args: RevokePipelineEndpointConnectionsCommandInput,
299
- options: __HttpHandlerOptions,
303
+ options: OSISRequestOptions,
300
304
  cb: (err: any, data?: RevokePipelineEndpointConnectionsCommandOutput) => void,
301
305
  ): void;
302
306
  startPipeline(
303
307
  args: StartPipelineCommandInput,
304
- options?: __HttpHandlerOptions,
308
+ options?: OSISRequestOptions,
305
309
  ): Promise<StartPipelineCommandOutput>;
306
310
  startPipeline(
307
311
  args: StartPipelineCommandInput,
@@ -309,12 +313,12 @@ export interface OSIS {
309
313
  ): void;
310
314
  startPipeline(
311
315
  args: StartPipelineCommandInput,
312
- options: __HttpHandlerOptions,
316
+ options: OSISRequestOptions,
313
317
  cb: (err: any, data?: StartPipelineCommandOutput) => void,
314
318
  ): void;
315
319
  stopPipeline(
316
320
  args: StopPipelineCommandInput,
317
- options?: __HttpHandlerOptions,
321
+ options?: OSISRequestOptions,
318
322
  ): Promise<StopPipelineCommandOutput>;
319
323
  stopPipeline(
320
324
  args: StopPipelineCommandInput,
@@ -322,12 +326,12 @@ export interface OSIS {
322
326
  ): void;
323
327
  stopPipeline(
324
328
  args: StopPipelineCommandInput,
325
- options: __HttpHandlerOptions,
329
+ options: OSISRequestOptions,
326
330
  cb: (err: any, data?: StopPipelineCommandOutput) => void,
327
331
  ): void;
328
332
  tagResource(
329
333
  args: TagResourceCommandInput,
330
- options?: __HttpHandlerOptions,
334
+ options?: OSISRequestOptions,
331
335
  ): Promise<TagResourceCommandOutput>;
332
336
  tagResource(
333
337
  args: TagResourceCommandInput,
@@ -335,12 +339,12 @@ export interface OSIS {
335
339
  ): void;
336
340
  tagResource(
337
341
  args: TagResourceCommandInput,
338
- options: __HttpHandlerOptions,
342
+ options: OSISRequestOptions,
339
343
  cb: (err: any, data?: TagResourceCommandOutput) => void,
340
344
  ): void;
341
345
  untagResource(
342
346
  args: UntagResourceCommandInput,
343
- options?: __HttpHandlerOptions,
347
+ options?: OSISRequestOptions,
344
348
  ): Promise<UntagResourceCommandOutput>;
345
349
  untagResource(
346
350
  args: UntagResourceCommandInput,
@@ -348,12 +352,12 @@ export interface OSIS {
348
352
  ): void;
349
353
  untagResource(
350
354
  args: UntagResourceCommandInput,
351
- options: __HttpHandlerOptions,
355
+ options: OSISRequestOptions,
352
356
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
353
357
  ): void;
354
358
  updatePipeline(
355
359
  args: UpdatePipelineCommandInput,
356
- options?: __HttpHandlerOptions,
360
+ options?: OSISRequestOptions,
357
361
  ): Promise<UpdatePipelineCommandOutput>;
358
362
  updatePipeline(
359
363
  args: UpdatePipelineCommandInput,
@@ -361,12 +365,12 @@ export interface OSIS {
361
365
  ): void;
362
366
  updatePipeline(
363
367
  args: UpdatePipelineCommandInput,
364
- options: __HttpHandlerOptions,
368
+ options: OSISRequestOptions,
365
369
  cb: (err: any, data?: UpdatePipelineCommandOutput) => void,
366
370
  ): void;
367
371
  validatePipeline(
368
372
  args: ValidatePipelineCommandInput,
369
- options?: __HttpHandlerOptions,
373
+ options?: OSISRequestOptions,
370
374
  ): Promise<ValidatePipelineCommandOutput>;
371
375
  validatePipeline(
372
376
  args: ValidatePipelineCommandInput,
@@ -374,7 +378,7 @@ export interface OSIS {
374
378
  ): void;
375
379
  validatePipeline(
376
380
  args: ValidatePipelineCommandInput,
377
- options: __HttpHandlerOptions,
381
+ options: OSISRequestOptions,
378
382
  cb: (err: any, data?: ValidatePipelineCommandOutput) => void,
379
383
  ): void;
380
384
  paginateListPipelineEndpointConnections(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-osis",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Osis Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-osis",
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": {