@aws-sdk/client-appflow 3.1136.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.1135.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -838,10 +838,10 @@ const _w = "warehouse";
838
838
  const _wN = "workgroupName";
839
839
  const _wOT = "writeOperationType";
840
840
  const n0 = "com.amazonaws.appflow";
841
- const _s_registry = TypeRegistry.for(_s);
841
+ const _s_registry = new TypeRegistry(_s);
842
842
  var AppflowServiceException$ = [-3, _s, "AppflowServiceException", 0, [], []];
843
843
  _s_registry.registerError(AppflowServiceException$, AppflowServiceException);
844
- const n0_registry = TypeRegistry.for(n0);
844
+ const n0_registry = new TypeRegistry(n0);
845
845
  var AccessDeniedException$ = [-3, n0, _ADE,
846
846
  { [_e]: _c, [_hE]: 403 },
847
847
  [_m],
@@ -580,10 +580,10 @@ const n0 = "com.amazonaws.appflow";
580
580
  import { TypeRegistry } from "@smithy/core/schema";
581
581
  import { AppflowServiceException } from "../models/AppflowServiceException";
582
582
  import { AccessDeniedException, ConflictException, ConnectorAuthenticationException, ConnectorServerException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UnsupportedOperationException, ValidationException, } from "../models/errors";
583
- const _s_registry = TypeRegistry.for(_s);
583
+ const _s_registry = new TypeRegistry(_s);
584
584
  export var AppflowServiceException$ = [-3, _s, "AppflowServiceException", 0, [], []];
585
585
  _s_registry.registerError(AppflowServiceException$, AppflowServiceException);
586
- const n0_registry = TypeRegistry.for(n0);
586
+ const n0_registry = new TypeRegistry(n0);
587
587
  export var AccessDeniedException$ = [-3, n0, _ADE,
588
588
  { [_e]: _c, [_hE]: 403 },
589
589
  [_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 { AppflowClient } from "./AppflowClient";
3
3
  import { type CancelFlowExecutionsCommandInput, type CancelFlowExecutionsCommandOutput } from "./commands/CancelFlowExecutionsCommand";
4
4
  import { type CreateConnectorProfileCommandInput, type CreateConnectorProfileCommandOutput } from "./commands/CreateConnectorProfileCommand";
@@ -25,164 +25,170 @@ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from
25
25
  import { type UpdateConnectorProfileCommandInput, type UpdateConnectorProfileCommandOutput } from "./commands/UpdateConnectorProfileCommand";
26
26
  import { type UpdateConnectorRegistrationCommandInput, type UpdateConnectorRegistrationCommandOutput } from "./commands/UpdateConnectorRegistrationCommand";
27
27
  import { type UpdateFlowCommandInput, type UpdateFlowCommandOutput } from "./commands/UpdateFlowCommand";
28
+ /**
29
+ * @public
30
+ */
31
+ export interface AppflowRequestOptions extends __HttpHandlerOptions {
32
+ metricsRecorder?: __MetricsRecorder<unknown>;
33
+ }
28
34
  export interface Appflow {
29
35
  /**
30
36
  * @see {@link CancelFlowExecutionsCommand}
31
37
  */
32
- cancelFlowExecutions(args: CancelFlowExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<CancelFlowExecutionsCommandOutput>;
38
+ cancelFlowExecutions(args: CancelFlowExecutionsCommandInput, options?: AppflowRequestOptions): Promise<CancelFlowExecutionsCommandOutput>;
33
39
  cancelFlowExecutions(args: CancelFlowExecutionsCommandInput, cb: (err: any, data?: CancelFlowExecutionsCommandOutput) => void): void;
34
- cancelFlowExecutions(args: CancelFlowExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelFlowExecutionsCommandOutput) => void): void;
40
+ cancelFlowExecutions(args: CancelFlowExecutionsCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: CancelFlowExecutionsCommandOutput) => void): void;
35
41
  /**
36
42
  * @see {@link CreateConnectorProfileCommand}
37
43
  */
38
- createConnectorProfile(args: CreateConnectorProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectorProfileCommandOutput>;
44
+ createConnectorProfile(args: CreateConnectorProfileCommandInput, options?: AppflowRequestOptions): Promise<CreateConnectorProfileCommandOutput>;
39
45
  createConnectorProfile(args: CreateConnectorProfileCommandInput, cb: (err: any, data?: CreateConnectorProfileCommandOutput) => void): void;
40
- createConnectorProfile(args: CreateConnectorProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectorProfileCommandOutput) => void): void;
46
+ createConnectorProfile(args: CreateConnectorProfileCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: CreateConnectorProfileCommandOutput) => void): void;
41
47
  /**
42
48
  * @see {@link CreateFlowCommand}
43
49
  */
44
- createFlow(args: CreateFlowCommandInput, options?: __HttpHandlerOptions): Promise<CreateFlowCommandOutput>;
50
+ createFlow(args: CreateFlowCommandInput, options?: AppflowRequestOptions): Promise<CreateFlowCommandOutput>;
45
51
  createFlow(args: CreateFlowCommandInput, cb: (err: any, data?: CreateFlowCommandOutput) => void): void;
46
- createFlow(args: CreateFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFlowCommandOutput) => void): void;
52
+ createFlow(args: CreateFlowCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: CreateFlowCommandOutput) => void): void;
47
53
  /**
48
54
  * @see {@link DeleteConnectorProfileCommand}
49
55
  */
50
- deleteConnectorProfile(args: DeleteConnectorProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorProfileCommandOutput>;
56
+ deleteConnectorProfile(args: DeleteConnectorProfileCommandInput, options?: AppflowRequestOptions): Promise<DeleteConnectorProfileCommandOutput>;
51
57
  deleteConnectorProfile(args: DeleteConnectorProfileCommandInput, cb: (err: any, data?: DeleteConnectorProfileCommandOutput) => void): void;
52
- deleteConnectorProfile(args: DeleteConnectorProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorProfileCommandOutput) => void): void;
58
+ deleteConnectorProfile(args: DeleteConnectorProfileCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: DeleteConnectorProfileCommandOutput) => void): void;
53
59
  /**
54
60
  * @see {@link DeleteFlowCommand}
55
61
  */
56
- deleteFlow(args: DeleteFlowCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFlowCommandOutput>;
62
+ deleteFlow(args: DeleteFlowCommandInput, options?: AppflowRequestOptions): Promise<DeleteFlowCommandOutput>;
57
63
  deleteFlow(args: DeleteFlowCommandInput, cb: (err: any, data?: DeleteFlowCommandOutput) => void): void;
58
- deleteFlow(args: DeleteFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFlowCommandOutput) => void): void;
64
+ deleteFlow(args: DeleteFlowCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: DeleteFlowCommandOutput) => void): void;
59
65
  /**
60
66
  * @see {@link DescribeConnectorCommand}
61
67
  */
62
- describeConnector(args: DescribeConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectorCommandOutput>;
68
+ describeConnector(args: DescribeConnectorCommandInput, options?: AppflowRequestOptions): Promise<DescribeConnectorCommandOutput>;
63
69
  describeConnector(args: DescribeConnectorCommandInput, cb: (err: any, data?: DescribeConnectorCommandOutput) => void): void;
64
- describeConnector(args: DescribeConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectorCommandOutput) => void): void;
70
+ describeConnector(args: DescribeConnectorCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: DescribeConnectorCommandOutput) => void): void;
65
71
  /**
66
72
  * @see {@link DescribeConnectorEntityCommand}
67
73
  */
68
- describeConnectorEntity(args: DescribeConnectorEntityCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectorEntityCommandOutput>;
74
+ describeConnectorEntity(args: DescribeConnectorEntityCommandInput, options?: AppflowRequestOptions): Promise<DescribeConnectorEntityCommandOutput>;
69
75
  describeConnectorEntity(args: DescribeConnectorEntityCommandInput, cb: (err: any, data?: DescribeConnectorEntityCommandOutput) => void): void;
70
- describeConnectorEntity(args: DescribeConnectorEntityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectorEntityCommandOutput) => void): void;
76
+ describeConnectorEntity(args: DescribeConnectorEntityCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: DescribeConnectorEntityCommandOutput) => void): void;
71
77
  /**
72
78
  * @see {@link DescribeConnectorProfilesCommand}
73
79
  */
74
80
  describeConnectorProfiles(): Promise<DescribeConnectorProfilesCommandOutput>;
75
- describeConnectorProfiles(args: DescribeConnectorProfilesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectorProfilesCommandOutput>;
81
+ describeConnectorProfiles(args: DescribeConnectorProfilesCommandInput, options?: AppflowRequestOptions): Promise<DescribeConnectorProfilesCommandOutput>;
76
82
  describeConnectorProfiles(args: DescribeConnectorProfilesCommandInput, cb: (err: any, data?: DescribeConnectorProfilesCommandOutput) => void): void;
77
- describeConnectorProfiles(args: DescribeConnectorProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectorProfilesCommandOutput) => void): void;
83
+ describeConnectorProfiles(args: DescribeConnectorProfilesCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: DescribeConnectorProfilesCommandOutput) => void): void;
78
84
  /**
79
85
  * @see {@link DescribeConnectorsCommand}
80
86
  */
81
87
  describeConnectors(): Promise<DescribeConnectorsCommandOutput>;
82
- describeConnectors(args: DescribeConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectorsCommandOutput>;
88
+ describeConnectors(args: DescribeConnectorsCommandInput, options?: AppflowRequestOptions): Promise<DescribeConnectorsCommandOutput>;
83
89
  describeConnectors(args: DescribeConnectorsCommandInput, cb: (err: any, data?: DescribeConnectorsCommandOutput) => void): void;
84
- describeConnectors(args: DescribeConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectorsCommandOutput) => void): void;
90
+ describeConnectors(args: DescribeConnectorsCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: DescribeConnectorsCommandOutput) => void): void;
85
91
  /**
86
92
  * @see {@link DescribeFlowCommand}
87
93
  */
88
- describeFlow(args: DescribeFlowCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFlowCommandOutput>;
94
+ describeFlow(args: DescribeFlowCommandInput, options?: AppflowRequestOptions): Promise<DescribeFlowCommandOutput>;
89
95
  describeFlow(args: DescribeFlowCommandInput, cb: (err: any, data?: DescribeFlowCommandOutput) => void): void;
90
- describeFlow(args: DescribeFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFlowCommandOutput) => void): void;
96
+ describeFlow(args: DescribeFlowCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: DescribeFlowCommandOutput) => void): void;
91
97
  /**
92
98
  * @see {@link DescribeFlowExecutionRecordsCommand}
93
99
  */
94
- describeFlowExecutionRecords(args: DescribeFlowExecutionRecordsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFlowExecutionRecordsCommandOutput>;
100
+ describeFlowExecutionRecords(args: DescribeFlowExecutionRecordsCommandInput, options?: AppflowRequestOptions): Promise<DescribeFlowExecutionRecordsCommandOutput>;
95
101
  describeFlowExecutionRecords(args: DescribeFlowExecutionRecordsCommandInput, cb: (err: any, data?: DescribeFlowExecutionRecordsCommandOutput) => void): void;
96
- describeFlowExecutionRecords(args: DescribeFlowExecutionRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFlowExecutionRecordsCommandOutput) => void): void;
102
+ describeFlowExecutionRecords(args: DescribeFlowExecutionRecordsCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: DescribeFlowExecutionRecordsCommandOutput) => void): void;
97
103
  /**
98
104
  * @see {@link ListConnectorEntitiesCommand}
99
105
  */
100
106
  listConnectorEntities(): Promise<ListConnectorEntitiesCommandOutput>;
101
- listConnectorEntities(args: ListConnectorEntitiesCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorEntitiesCommandOutput>;
107
+ listConnectorEntities(args: ListConnectorEntitiesCommandInput, options?: AppflowRequestOptions): Promise<ListConnectorEntitiesCommandOutput>;
102
108
  listConnectorEntities(args: ListConnectorEntitiesCommandInput, cb: (err: any, data?: ListConnectorEntitiesCommandOutput) => void): void;
103
- listConnectorEntities(args: ListConnectorEntitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorEntitiesCommandOutput) => void): void;
109
+ listConnectorEntities(args: ListConnectorEntitiesCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: ListConnectorEntitiesCommandOutput) => void): void;
104
110
  /**
105
111
  * @see {@link ListConnectorsCommand}
106
112
  */
107
113
  listConnectors(): Promise<ListConnectorsCommandOutput>;
108
- listConnectors(args: ListConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorsCommandOutput>;
114
+ listConnectors(args: ListConnectorsCommandInput, options?: AppflowRequestOptions): Promise<ListConnectorsCommandOutput>;
109
115
  listConnectors(args: ListConnectorsCommandInput, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
110
- listConnectors(args: ListConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
116
+ listConnectors(args: ListConnectorsCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
111
117
  /**
112
118
  * @see {@link ListFlowsCommand}
113
119
  */
114
120
  listFlows(): Promise<ListFlowsCommandOutput>;
115
- listFlows(args: ListFlowsCommandInput, options?: __HttpHandlerOptions): Promise<ListFlowsCommandOutput>;
121
+ listFlows(args: ListFlowsCommandInput, options?: AppflowRequestOptions): Promise<ListFlowsCommandOutput>;
116
122
  listFlows(args: ListFlowsCommandInput, cb: (err: any, data?: ListFlowsCommandOutput) => void): void;
117
- listFlows(args: ListFlowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFlowsCommandOutput) => void): void;
123
+ listFlows(args: ListFlowsCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: ListFlowsCommandOutput) => void): void;
118
124
  /**
119
125
  * @see {@link ListTagsForResourceCommand}
120
126
  */
121
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
127
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: AppflowRequestOptions): Promise<ListTagsForResourceCommandOutput>;
122
128
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
123
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
129
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
124
130
  /**
125
131
  * @see {@link RegisterConnectorCommand}
126
132
  */
127
133
  registerConnector(): Promise<RegisterConnectorCommandOutput>;
128
- registerConnector(args: RegisterConnectorCommandInput, options?: __HttpHandlerOptions): Promise<RegisterConnectorCommandOutput>;
134
+ registerConnector(args: RegisterConnectorCommandInput, options?: AppflowRequestOptions): Promise<RegisterConnectorCommandOutput>;
129
135
  registerConnector(args: RegisterConnectorCommandInput, cb: (err: any, data?: RegisterConnectorCommandOutput) => void): void;
130
- registerConnector(args: RegisterConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterConnectorCommandOutput) => void): void;
136
+ registerConnector(args: RegisterConnectorCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: RegisterConnectorCommandOutput) => void): void;
131
137
  /**
132
138
  * @see {@link ResetConnectorMetadataCacheCommand}
133
139
  */
134
140
  resetConnectorMetadataCache(): Promise<ResetConnectorMetadataCacheCommandOutput>;
135
- resetConnectorMetadataCache(args: ResetConnectorMetadataCacheCommandInput, options?: __HttpHandlerOptions): Promise<ResetConnectorMetadataCacheCommandOutput>;
141
+ resetConnectorMetadataCache(args: ResetConnectorMetadataCacheCommandInput, options?: AppflowRequestOptions): Promise<ResetConnectorMetadataCacheCommandOutput>;
136
142
  resetConnectorMetadataCache(args: ResetConnectorMetadataCacheCommandInput, cb: (err: any, data?: ResetConnectorMetadataCacheCommandOutput) => void): void;
137
- resetConnectorMetadataCache(args: ResetConnectorMetadataCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetConnectorMetadataCacheCommandOutput) => void): void;
143
+ resetConnectorMetadataCache(args: ResetConnectorMetadataCacheCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: ResetConnectorMetadataCacheCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link StartFlowCommand}
140
146
  */
141
- startFlow(args: StartFlowCommandInput, options?: __HttpHandlerOptions): Promise<StartFlowCommandOutput>;
147
+ startFlow(args: StartFlowCommandInput, options?: AppflowRequestOptions): Promise<StartFlowCommandOutput>;
142
148
  startFlow(args: StartFlowCommandInput, cb: (err: any, data?: StartFlowCommandOutput) => void): void;
143
- startFlow(args: StartFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartFlowCommandOutput) => void): void;
149
+ startFlow(args: StartFlowCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: StartFlowCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link StopFlowCommand}
146
152
  */
147
- stopFlow(args: StopFlowCommandInput, options?: __HttpHandlerOptions): Promise<StopFlowCommandOutput>;
153
+ stopFlow(args: StopFlowCommandInput, options?: AppflowRequestOptions): Promise<StopFlowCommandOutput>;
148
154
  stopFlow(args: StopFlowCommandInput, cb: (err: any, data?: StopFlowCommandOutput) => void): void;
149
- stopFlow(args: StopFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopFlowCommandOutput) => void): void;
155
+ stopFlow(args: StopFlowCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: StopFlowCommandOutput) => void): void;
150
156
  /**
151
157
  * @see {@link TagResourceCommand}
152
158
  */
153
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
159
+ tagResource(args: TagResourceCommandInput, options?: AppflowRequestOptions): Promise<TagResourceCommandOutput>;
154
160
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
155
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
161
+ tagResource(args: TagResourceCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
156
162
  /**
157
163
  * @see {@link UnregisterConnectorCommand}
158
164
  */
159
- unregisterConnector(args: UnregisterConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UnregisterConnectorCommandOutput>;
165
+ unregisterConnector(args: UnregisterConnectorCommandInput, options?: AppflowRequestOptions): Promise<UnregisterConnectorCommandOutput>;
160
166
  unregisterConnector(args: UnregisterConnectorCommandInput, cb: (err: any, data?: UnregisterConnectorCommandOutput) => void): void;
161
- unregisterConnector(args: UnregisterConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnregisterConnectorCommandOutput) => void): void;
167
+ unregisterConnector(args: UnregisterConnectorCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: UnregisterConnectorCommandOutput) => void): void;
162
168
  /**
163
169
  * @see {@link UntagResourceCommand}
164
170
  */
165
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
171
+ untagResource(args: UntagResourceCommandInput, options?: AppflowRequestOptions): Promise<UntagResourceCommandOutput>;
166
172
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
167
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
173
+ untagResource(args: UntagResourceCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
168
174
  /**
169
175
  * @see {@link UpdateConnectorProfileCommand}
170
176
  */
171
- updateConnectorProfile(args: UpdateConnectorProfileCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorProfileCommandOutput>;
177
+ updateConnectorProfile(args: UpdateConnectorProfileCommandInput, options?: AppflowRequestOptions): Promise<UpdateConnectorProfileCommandOutput>;
172
178
  updateConnectorProfile(args: UpdateConnectorProfileCommandInput, cb: (err: any, data?: UpdateConnectorProfileCommandOutput) => void): void;
173
- updateConnectorProfile(args: UpdateConnectorProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorProfileCommandOutput) => void): void;
179
+ updateConnectorProfile(args: UpdateConnectorProfileCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: UpdateConnectorProfileCommandOutput) => void): void;
174
180
  /**
175
181
  * @see {@link UpdateConnectorRegistrationCommand}
176
182
  */
177
- updateConnectorRegistration(args: UpdateConnectorRegistrationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorRegistrationCommandOutput>;
183
+ updateConnectorRegistration(args: UpdateConnectorRegistrationCommandInput, options?: AppflowRequestOptions): Promise<UpdateConnectorRegistrationCommandOutput>;
178
184
  updateConnectorRegistration(args: UpdateConnectorRegistrationCommandInput, cb: (err: any, data?: UpdateConnectorRegistrationCommandOutput) => void): void;
179
- updateConnectorRegistration(args: UpdateConnectorRegistrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorRegistrationCommandOutput) => void): void;
185
+ updateConnectorRegistration(args: UpdateConnectorRegistrationCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: UpdateConnectorRegistrationCommandOutput) => void): void;
180
186
  /**
181
187
  * @see {@link UpdateFlowCommand}
182
188
  */
183
- updateFlow(args: UpdateFlowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFlowCommandOutput>;
189
+ updateFlow(args: UpdateFlowCommandInput, options?: AppflowRequestOptions): Promise<UpdateFlowCommandOutput>;
184
190
  updateFlow(args: UpdateFlowCommandInput, cb: (err: any, data?: UpdateFlowCommandOutput) => void): void;
185
- updateFlow(args: UpdateFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFlowCommandOutput) => void): void;
191
+ updateFlow(args: UpdateFlowCommandInput, options: AppflowRequestOptions, cb: (err: any, data?: UpdateFlowCommandOutput) => void): void;
186
192
  /**
187
193
  * @see {@link DescribeConnectorProfilesCommand}
188
194
  * @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";
@@ -83,10 +84,13 @@ import {
83
84
  UpdateConnectorRegistrationCommandOutput,
84
85
  } from "./commands/UpdateConnectorRegistrationCommand";
85
86
  import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "./commands/UpdateFlowCommand";
87
+ export interface AppflowRequestOptions extends __HttpHandlerOptions {
88
+ metricsRecorder?: __MetricsRecorder<unknown>;
89
+ }
86
90
  export interface Appflow {
87
91
  cancelFlowExecutions(
88
92
  args: CancelFlowExecutionsCommandInput,
89
- options?: __HttpHandlerOptions,
93
+ options?: AppflowRequestOptions,
90
94
  ): Promise<CancelFlowExecutionsCommandOutput>;
91
95
  cancelFlowExecutions(
92
96
  args: CancelFlowExecutionsCommandInput,
@@ -94,12 +98,12 @@ export interface Appflow {
94
98
  ): void;
95
99
  cancelFlowExecutions(
96
100
  args: CancelFlowExecutionsCommandInput,
97
- options: __HttpHandlerOptions,
101
+ options: AppflowRequestOptions,
98
102
  cb: (err: any, data?: CancelFlowExecutionsCommandOutput) => void,
99
103
  ): void;
100
104
  createConnectorProfile(
101
105
  args: CreateConnectorProfileCommandInput,
102
- options?: __HttpHandlerOptions,
106
+ options?: AppflowRequestOptions,
103
107
  ): Promise<CreateConnectorProfileCommandOutput>;
104
108
  createConnectorProfile(
105
109
  args: CreateConnectorProfileCommandInput,
@@ -107,12 +111,12 @@ export interface Appflow {
107
111
  ): void;
108
112
  createConnectorProfile(
109
113
  args: CreateConnectorProfileCommandInput,
110
- options: __HttpHandlerOptions,
114
+ options: AppflowRequestOptions,
111
115
  cb: (err: any, data?: CreateConnectorProfileCommandOutput) => void,
112
116
  ): void;
113
117
  createFlow(
114
118
  args: CreateFlowCommandInput,
115
- options?: __HttpHandlerOptions,
119
+ options?: AppflowRequestOptions,
116
120
  ): Promise<CreateFlowCommandOutput>;
117
121
  createFlow(
118
122
  args: CreateFlowCommandInput,
@@ -120,12 +124,12 @@ export interface Appflow {
120
124
  ): void;
121
125
  createFlow(
122
126
  args: CreateFlowCommandInput,
123
- options: __HttpHandlerOptions,
127
+ options: AppflowRequestOptions,
124
128
  cb: (err: any, data?: CreateFlowCommandOutput) => void,
125
129
  ): void;
126
130
  deleteConnectorProfile(
127
131
  args: DeleteConnectorProfileCommandInput,
128
- options?: __HttpHandlerOptions,
132
+ options?: AppflowRequestOptions,
129
133
  ): Promise<DeleteConnectorProfileCommandOutput>;
130
134
  deleteConnectorProfile(
131
135
  args: DeleteConnectorProfileCommandInput,
@@ -133,12 +137,12 @@ export interface Appflow {
133
137
  ): void;
134
138
  deleteConnectorProfile(
135
139
  args: DeleteConnectorProfileCommandInput,
136
- options: __HttpHandlerOptions,
140
+ options: AppflowRequestOptions,
137
141
  cb: (err: any, data?: DeleteConnectorProfileCommandOutput) => void,
138
142
  ): void;
139
143
  deleteFlow(
140
144
  args: DeleteFlowCommandInput,
141
- options?: __HttpHandlerOptions,
145
+ options?: AppflowRequestOptions,
142
146
  ): Promise<DeleteFlowCommandOutput>;
143
147
  deleteFlow(
144
148
  args: DeleteFlowCommandInput,
@@ -146,12 +150,12 @@ export interface Appflow {
146
150
  ): void;
147
151
  deleteFlow(
148
152
  args: DeleteFlowCommandInput,
149
- options: __HttpHandlerOptions,
153
+ options: AppflowRequestOptions,
150
154
  cb: (err: any, data?: DeleteFlowCommandOutput) => void,
151
155
  ): void;
152
156
  describeConnector(
153
157
  args: DescribeConnectorCommandInput,
154
- options?: __HttpHandlerOptions,
158
+ options?: AppflowRequestOptions,
155
159
  ): Promise<DescribeConnectorCommandOutput>;
156
160
  describeConnector(
157
161
  args: DescribeConnectorCommandInput,
@@ -159,12 +163,12 @@ export interface Appflow {
159
163
  ): void;
160
164
  describeConnector(
161
165
  args: DescribeConnectorCommandInput,
162
- options: __HttpHandlerOptions,
166
+ options: AppflowRequestOptions,
163
167
  cb: (err: any, data?: DescribeConnectorCommandOutput) => void,
164
168
  ): void;
165
169
  describeConnectorEntity(
166
170
  args: DescribeConnectorEntityCommandInput,
167
- options?: __HttpHandlerOptions,
171
+ options?: AppflowRequestOptions,
168
172
  ): Promise<DescribeConnectorEntityCommandOutput>;
169
173
  describeConnectorEntity(
170
174
  args: DescribeConnectorEntityCommandInput,
@@ -172,13 +176,13 @@ export interface Appflow {
172
176
  ): void;
173
177
  describeConnectorEntity(
174
178
  args: DescribeConnectorEntityCommandInput,
175
- options: __HttpHandlerOptions,
179
+ options: AppflowRequestOptions,
176
180
  cb: (err: any, data?: DescribeConnectorEntityCommandOutput) => void,
177
181
  ): void;
178
182
  describeConnectorProfiles(): Promise<DescribeConnectorProfilesCommandOutput>;
179
183
  describeConnectorProfiles(
180
184
  args: DescribeConnectorProfilesCommandInput,
181
- options?: __HttpHandlerOptions,
185
+ options?: AppflowRequestOptions,
182
186
  ): Promise<DescribeConnectorProfilesCommandOutput>;
183
187
  describeConnectorProfiles(
184
188
  args: DescribeConnectorProfilesCommandInput,
@@ -186,13 +190,13 @@ export interface Appflow {
186
190
  ): void;
187
191
  describeConnectorProfiles(
188
192
  args: DescribeConnectorProfilesCommandInput,
189
- options: __HttpHandlerOptions,
193
+ options: AppflowRequestOptions,
190
194
  cb: (err: any, data?: DescribeConnectorProfilesCommandOutput) => void,
191
195
  ): void;
192
196
  describeConnectors(): Promise<DescribeConnectorsCommandOutput>;
193
197
  describeConnectors(
194
198
  args: DescribeConnectorsCommandInput,
195
- options?: __HttpHandlerOptions,
199
+ options?: AppflowRequestOptions,
196
200
  ): Promise<DescribeConnectorsCommandOutput>;
197
201
  describeConnectors(
198
202
  args: DescribeConnectorsCommandInput,
@@ -200,12 +204,12 @@ export interface Appflow {
200
204
  ): void;
201
205
  describeConnectors(
202
206
  args: DescribeConnectorsCommandInput,
203
- options: __HttpHandlerOptions,
207
+ options: AppflowRequestOptions,
204
208
  cb: (err: any, data?: DescribeConnectorsCommandOutput) => void,
205
209
  ): void;
206
210
  describeFlow(
207
211
  args: DescribeFlowCommandInput,
208
- options?: __HttpHandlerOptions,
212
+ options?: AppflowRequestOptions,
209
213
  ): Promise<DescribeFlowCommandOutput>;
210
214
  describeFlow(
211
215
  args: DescribeFlowCommandInput,
@@ -213,12 +217,12 @@ export interface Appflow {
213
217
  ): void;
214
218
  describeFlow(
215
219
  args: DescribeFlowCommandInput,
216
- options: __HttpHandlerOptions,
220
+ options: AppflowRequestOptions,
217
221
  cb: (err: any, data?: DescribeFlowCommandOutput) => void,
218
222
  ): void;
219
223
  describeFlowExecutionRecords(
220
224
  args: DescribeFlowExecutionRecordsCommandInput,
221
- options?: __HttpHandlerOptions,
225
+ options?: AppflowRequestOptions,
222
226
  ): Promise<DescribeFlowExecutionRecordsCommandOutput>;
223
227
  describeFlowExecutionRecords(
224
228
  args: DescribeFlowExecutionRecordsCommandInput,
@@ -226,13 +230,13 @@ export interface Appflow {
226
230
  ): void;
227
231
  describeFlowExecutionRecords(
228
232
  args: DescribeFlowExecutionRecordsCommandInput,
229
- options: __HttpHandlerOptions,
233
+ options: AppflowRequestOptions,
230
234
  cb: (err: any, data?: DescribeFlowExecutionRecordsCommandOutput) => void,
231
235
  ): void;
232
236
  listConnectorEntities(): Promise<ListConnectorEntitiesCommandOutput>;
233
237
  listConnectorEntities(
234
238
  args: ListConnectorEntitiesCommandInput,
235
- options?: __HttpHandlerOptions,
239
+ options?: AppflowRequestOptions,
236
240
  ): Promise<ListConnectorEntitiesCommandOutput>;
237
241
  listConnectorEntities(
238
242
  args: ListConnectorEntitiesCommandInput,
@@ -240,13 +244,13 @@ export interface Appflow {
240
244
  ): void;
241
245
  listConnectorEntities(
242
246
  args: ListConnectorEntitiesCommandInput,
243
- options: __HttpHandlerOptions,
247
+ options: AppflowRequestOptions,
244
248
  cb: (err: any, data?: ListConnectorEntitiesCommandOutput) => void,
245
249
  ): void;
246
250
  listConnectors(): Promise<ListConnectorsCommandOutput>;
247
251
  listConnectors(
248
252
  args: ListConnectorsCommandInput,
249
- options?: __HttpHandlerOptions,
253
+ options?: AppflowRequestOptions,
250
254
  ): Promise<ListConnectorsCommandOutput>;
251
255
  listConnectors(
252
256
  args: ListConnectorsCommandInput,
@@ -254,13 +258,13 @@ export interface Appflow {
254
258
  ): void;
255
259
  listConnectors(
256
260
  args: ListConnectorsCommandInput,
257
- options: __HttpHandlerOptions,
261
+ options: AppflowRequestOptions,
258
262
  cb: (err: any, data?: ListConnectorsCommandOutput) => void,
259
263
  ): void;
260
264
  listFlows(): Promise<ListFlowsCommandOutput>;
261
265
  listFlows(
262
266
  args: ListFlowsCommandInput,
263
- options?: __HttpHandlerOptions,
267
+ options?: AppflowRequestOptions,
264
268
  ): Promise<ListFlowsCommandOutput>;
265
269
  listFlows(
266
270
  args: ListFlowsCommandInput,
@@ -268,12 +272,12 @@ export interface Appflow {
268
272
  ): void;
269
273
  listFlows(
270
274
  args: ListFlowsCommandInput,
271
- options: __HttpHandlerOptions,
275
+ options: AppflowRequestOptions,
272
276
  cb: (err: any, data?: ListFlowsCommandOutput) => void,
273
277
  ): void;
274
278
  listTagsForResource(
275
279
  args: ListTagsForResourceCommandInput,
276
- options?: __HttpHandlerOptions,
280
+ options?: AppflowRequestOptions,
277
281
  ): Promise<ListTagsForResourceCommandOutput>;
278
282
  listTagsForResource(
279
283
  args: ListTagsForResourceCommandInput,
@@ -281,13 +285,13 @@ export interface Appflow {
281
285
  ): void;
282
286
  listTagsForResource(
283
287
  args: ListTagsForResourceCommandInput,
284
- options: __HttpHandlerOptions,
288
+ options: AppflowRequestOptions,
285
289
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
286
290
  ): void;
287
291
  registerConnector(): Promise<RegisterConnectorCommandOutput>;
288
292
  registerConnector(
289
293
  args: RegisterConnectorCommandInput,
290
- options?: __HttpHandlerOptions,
294
+ options?: AppflowRequestOptions,
291
295
  ): Promise<RegisterConnectorCommandOutput>;
292
296
  registerConnector(
293
297
  args: RegisterConnectorCommandInput,
@@ -295,13 +299,13 @@ export interface Appflow {
295
299
  ): void;
296
300
  registerConnector(
297
301
  args: RegisterConnectorCommandInput,
298
- options: __HttpHandlerOptions,
302
+ options: AppflowRequestOptions,
299
303
  cb: (err: any, data?: RegisterConnectorCommandOutput) => void,
300
304
  ): void;
301
305
  resetConnectorMetadataCache(): Promise<ResetConnectorMetadataCacheCommandOutput>;
302
306
  resetConnectorMetadataCache(
303
307
  args: ResetConnectorMetadataCacheCommandInput,
304
- options?: __HttpHandlerOptions,
308
+ options?: AppflowRequestOptions,
305
309
  ): Promise<ResetConnectorMetadataCacheCommandOutput>;
306
310
  resetConnectorMetadataCache(
307
311
  args: ResetConnectorMetadataCacheCommandInput,
@@ -309,12 +313,12 @@ export interface Appflow {
309
313
  ): void;
310
314
  resetConnectorMetadataCache(
311
315
  args: ResetConnectorMetadataCacheCommandInput,
312
- options: __HttpHandlerOptions,
316
+ options: AppflowRequestOptions,
313
317
  cb: (err: any, data?: ResetConnectorMetadataCacheCommandOutput) => void,
314
318
  ): void;
315
319
  startFlow(
316
320
  args: StartFlowCommandInput,
317
- options?: __HttpHandlerOptions,
321
+ options?: AppflowRequestOptions,
318
322
  ): Promise<StartFlowCommandOutput>;
319
323
  startFlow(
320
324
  args: StartFlowCommandInput,
@@ -322,22 +326,22 @@ export interface Appflow {
322
326
  ): void;
323
327
  startFlow(
324
328
  args: StartFlowCommandInput,
325
- options: __HttpHandlerOptions,
329
+ options: AppflowRequestOptions,
326
330
  cb: (err: any, data?: StartFlowCommandOutput) => void,
327
331
  ): void;
328
332
  stopFlow(
329
333
  args: StopFlowCommandInput,
330
- options?: __HttpHandlerOptions,
334
+ options?: AppflowRequestOptions,
331
335
  ): Promise<StopFlowCommandOutput>;
332
336
  stopFlow(args: StopFlowCommandInput, cb: (err: any, data?: StopFlowCommandOutput) => void): void;
333
337
  stopFlow(
334
338
  args: StopFlowCommandInput,
335
- options: __HttpHandlerOptions,
339
+ options: AppflowRequestOptions,
336
340
  cb: (err: any, data?: StopFlowCommandOutput) => void,
337
341
  ): void;
338
342
  tagResource(
339
343
  args: TagResourceCommandInput,
340
- options?: __HttpHandlerOptions,
344
+ options?: AppflowRequestOptions,
341
345
  ): Promise<TagResourceCommandOutput>;
342
346
  tagResource(
343
347
  args: TagResourceCommandInput,
@@ -345,12 +349,12 @@ export interface Appflow {
345
349
  ): void;
346
350
  tagResource(
347
351
  args: TagResourceCommandInput,
348
- options: __HttpHandlerOptions,
352
+ options: AppflowRequestOptions,
349
353
  cb: (err: any, data?: TagResourceCommandOutput) => void,
350
354
  ): void;
351
355
  unregisterConnector(
352
356
  args: UnregisterConnectorCommandInput,
353
- options?: __HttpHandlerOptions,
357
+ options?: AppflowRequestOptions,
354
358
  ): Promise<UnregisterConnectorCommandOutput>;
355
359
  unregisterConnector(
356
360
  args: UnregisterConnectorCommandInput,
@@ -358,12 +362,12 @@ export interface Appflow {
358
362
  ): void;
359
363
  unregisterConnector(
360
364
  args: UnregisterConnectorCommandInput,
361
- options: __HttpHandlerOptions,
365
+ options: AppflowRequestOptions,
362
366
  cb: (err: any, data?: UnregisterConnectorCommandOutput) => void,
363
367
  ): void;
364
368
  untagResource(
365
369
  args: UntagResourceCommandInput,
366
- options?: __HttpHandlerOptions,
370
+ options?: AppflowRequestOptions,
367
371
  ): Promise<UntagResourceCommandOutput>;
368
372
  untagResource(
369
373
  args: UntagResourceCommandInput,
@@ -371,12 +375,12 @@ export interface Appflow {
371
375
  ): void;
372
376
  untagResource(
373
377
  args: UntagResourceCommandInput,
374
- options: __HttpHandlerOptions,
378
+ options: AppflowRequestOptions,
375
379
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
376
380
  ): void;
377
381
  updateConnectorProfile(
378
382
  args: UpdateConnectorProfileCommandInput,
379
- options?: __HttpHandlerOptions,
383
+ options?: AppflowRequestOptions,
380
384
  ): Promise<UpdateConnectorProfileCommandOutput>;
381
385
  updateConnectorProfile(
382
386
  args: UpdateConnectorProfileCommandInput,
@@ -384,12 +388,12 @@ export interface Appflow {
384
388
  ): void;
385
389
  updateConnectorProfile(
386
390
  args: UpdateConnectorProfileCommandInput,
387
- options: __HttpHandlerOptions,
391
+ options: AppflowRequestOptions,
388
392
  cb: (err: any, data?: UpdateConnectorProfileCommandOutput) => void,
389
393
  ): void;
390
394
  updateConnectorRegistration(
391
395
  args: UpdateConnectorRegistrationCommandInput,
392
- options?: __HttpHandlerOptions,
396
+ options?: AppflowRequestOptions,
393
397
  ): Promise<UpdateConnectorRegistrationCommandOutput>;
394
398
  updateConnectorRegistration(
395
399
  args: UpdateConnectorRegistrationCommandInput,
@@ -397,12 +401,12 @@ export interface Appflow {
397
401
  ): void;
398
402
  updateConnectorRegistration(
399
403
  args: UpdateConnectorRegistrationCommandInput,
400
- options: __HttpHandlerOptions,
404
+ options: AppflowRequestOptions,
401
405
  cb: (err: any, data?: UpdateConnectorRegistrationCommandOutput) => void,
402
406
  ): void;
403
407
  updateFlow(
404
408
  args: UpdateFlowCommandInput,
405
- options?: __HttpHandlerOptions,
409
+ options?: AppflowRequestOptions,
406
410
  ): Promise<UpdateFlowCommandOutput>;
407
411
  updateFlow(
408
412
  args: UpdateFlowCommandInput,
@@ -410,7 +414,7 @@ export interface Appflow {
410
414
  ): void;
411
415
  updateFlow(
412
416
  args: UpdateFlowCommandInput,
413
- options: __HttpHandlerOptions,
417
+ options: AppflowRequestOptions,
414
418
  cb: (err: any, data?: UpdateFlowCommandOutput) => void,
415
419
  ): void;
416
420
  paginateDescribeConnectorProfiles(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appflow",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Appflow Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-appflow",
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": {