@aws-sdk/client-migration-hub-refactor-spaces 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
 
@@ -456,10 +456,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhubrefactorspaces";
456
456
  const _se = "server";
457
457
  const _tK = "tagKeys";
458
458
  const n0 = "com.amazonaws.migrationhubrefactorspaces";
459
- const _s_registry = TypeRegistry.for(_s);
459
+ const _s_registry = new TypeRegistry(_s);
460
460
  var MigrationHubRefactorSpacesServiceException$ = [-3, _s, "MigrationHubRefactorSpacesServiceException", 0, [], []];
461
461
  _s_registry.registerError(MigrationHubRefactorSpacesServiceException$, MigrationHubRefactorSpacesServiceException);
462
- const n0_registry = TypeRegistry.for(n0);
462
+ const n0_registry = new TypeRegistry(n0);
463
463
  var AccessDeniedException$ = [-3, n0, _ADE,
464
464
  { [_e]: _c, [_hE]: 403 },
465
465
  [_M],
@@ -184,10 +184,10 @@ const n0 = "com.amazonaws.migrationhubrefactorspaces";
184
184
  import { TypeRegistry } from "@smithy/core/schema";
185
185
  import { AccessDeniedException, ConflictException, InternalServerException, InvalidResourcePolicyException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
186
186
  import { MigrationHubRefactorSpacesServiceException } from "../models/MigrationHubRefactorSpacesServiceException";
187
- const _s_registry = TypeRegistry.for(_s);
187
+ const _s_registry = new TypeRegistry(_s);
188
188
  export var MigrationHubRefactorSpacesServiceException$ = [-3, _s, "MigrationHubRefactorSpacesServiceException", 0, [], []];
189
189
  _s_registry.registerError(MigrationHubRefactorSpacesServiceException$, MigrationHubRefactorSpacesServiceException);
190
- const n0_registry = TypeRegistry.for(n0);
190
+ const n0_registry = new TypeRegistry(n0);
191
191
  export var AccessDeniedException$ = [-3, n0, _ADE,
192
192
  { [_e]: _c, [_hE]: 403 },
193
193
  [_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 CreateApplicationCommandInput, type CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
3
3
  import { type CreateEnvironmentCommandInput, type CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
4
4
  import { type CreateRouteCommandInput, type CreateRouteCommandOutput } from "./commands/CreateRouteCommand";
@@ -24,152 +24,158 @@ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./c
24
24
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
25
25
  import { type UpdateRouteCommandInput, type UpdateRouteCommandOutput } from "./commands/UpdateRouteCommand";
26
26
  import { MigrationHubRefactorSpacesClient } from "./MigrationHubRefactorSpacesClient";
27
+ /**
28
+ * @public
29
+ */
30
+ export interface MigrationHubRefactorSpacesRequestOptions extends __HttpHandlerOptions {
31
+ metricsRecorder?: __MetricsRecorder<unknown>;
32
+ }
27
33
  export interface MigrationHubRefactorSpaces {
28
34
  /**
29
35
  * @see {@link CreateApplicationCommand}
30
36
  */
31
- createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
37
+ createApplication(args: CreateApplicationCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<CreateApplicationCommandOutput>;
32
38
  createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
33
- createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
39
+ createApplication(args: CreateApplicationCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
34
40
  /**
35
41
  * @see {@link CreateEnvironmentCommand}
36
42
  */
37
- createEnvironment(args: CreateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentCommandOutput>;
43
+ createEnvironment(args: CreateEnvironmentCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<CreateEnvironmentCommandOutput>;
38
44
  createEnvironment(args: CreateEnvironmentCommandInput, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
39
- createEnvironment(args: CreateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
45
+ createEnvironment(args: CreateEnvironmentCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
40
46
  /**
41
47
  * @see {@link CreateRouteCommand}
42
48
  */
43
- createRoute(args: CreateRouteCommandInput, options?: __HttpHandlerOptions): Promise<CreateRouteCommandOutput>;
49
+ createRoute(args: CreateRouteCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<CreateRouteCommandOutput>;
44
50
  createRoute(args: CreateRouteCommandInput, cb: (err: any, data?: CreateRouteCommandOutput) => void): void;
45
- createRoute(args: CreateRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRouteCommandOutput) => void): void;
51
+ createRoute(args: CreateRouteCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: CreateRouteCommandOutput) => void): void;
46
52
  /**
47
53
  * @see {@link CreateServiceCommand}
48
54
  */
49
- createService(args: CreateServiceCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceCommandOutput>;
55
+ createService(args: CreateServiceCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<CreateServiceCommandOutput>;
50
56
  createService(args: CreateServiceCommandInput, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
51
- createService(args: CreateServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
57
+ createService(args: CreateServiceCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
52
58
  /**
53
59
  * @see {@link DeleteApplicationCommand}
54
60
  */
55
- deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
61
+ deleteApplication(args: DeleteApplicationCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<DeleteApplicationCommandOutput>;
56
62
  deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
57
- deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
63
+ deleteApplication(args: DeleteApplicationCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
58
64
  /**
59
65
  * @see {@link DeleteEnvironmentCommand}
60
66
  */
61
- deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentCommandOutput>;
67
+ deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<DeleteEnvironmentCommandOutput>;
62
68
  deleteEnvironment(args: DeleteEnvironmentCommandInput, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
63
- deleteEnvironment(args: DeleteEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
69
+ deleteEnvironment(args: DeleteEnvironmentCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link DeleteResourcePolicyCommand}
66
72
  */
67
- deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
73
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<DeleteResourcePolicyCommandOutput>;
68
74
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
69
- deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
75
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link DeleteRouteCommand}
72
78
  */
73
- deleteRoute(args: DeleteRouteCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRouteCommandOutput>;
79
+ deleteRoute(args: DeleteRouteCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<DeleteRouteCommandOutput>;
74
80
  deleteRoute(args: DeleteRouteCommandInput, cb: (err: any, data?: DeleteRouteCommandOutput) => void): void;
75
- deleteRoute(args: DeleteRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRouteCommandOutput) => void): void;
81
+ deleteRoute(args: DeleteRouteCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: DeleteRouteCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link DeleteServiceCommand}
78
84
  */
79
- deleteService(args: DeleteServiceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceCommandOutput>;
85
+ deleteService(args: DeleteServiceCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<DeleteServiceCommandOutput>;
80
86
  deleteService(args: DeleteServiceCommandInput, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
81
- deleteService(args: DeleteServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
87
+ deleteService(args: DeleteServiceCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link GetApplicationCommand}
84
90
  */
85
- getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
91
+ getApplication(args: GetApplicationCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<GetApplicationCommandOutput>;
86
92
  getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
87
- getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
93
+ getApplication(args: GetApplicationCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link GetEnvironmentCommand}
90
96
  */
91
- getEnvironment(args: GetEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentCommandOutput>;
97
+ getEnvironment(args: GetEnvironmentCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<GetEnvironmentCommandOutput>;
92
98
  getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
93
- getEnvironment(args: GetEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
99
+ getEnvironment(args: GetEnvironmentCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link GetResourcePolicyCommand}
96
102
  */
97
- getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
103
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<GetResourcePolicyCommandOutput>;
98
104
  getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
99
- getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
105
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
100
106
  /**
101
107
  * @see {@link GetRouteCommand}
102
108
  */
103
- getRoute(args: GetRouteCommandInput, options?: __HttpHandlerOptions): Promise<GetRouteCommandOutput>;
109
+ getRoute(args: GetRouteCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<GetRouteCommandOutput>;
104
110
  getRoute(args: GetRouteCommandInput, cb: (err: any, data?: GetRouteCommandOutput) => void): void;
105
- getRoute(args: GetRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRouteCommandOutput) => void): void;
111
+ getRoute(args: GetRouteCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: GetRouteCommandOutput) => void): void;
106
112
  /**
107
113
  * @see {@link GetServiceCommand}
108
114
  */
109
- getService(args: GetServiceCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceCommandOutput>;
115
+ getService(args: GetServiceCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<GetServiceCommandOutput>;
110
116
  getService(args: GetServiceCommandInput, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
111
- getService(args: GetServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
117
+ getService(args: GetServiceCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
112
118
  /**
113
119
  * @see {@link ListApplicationsCommand}
114
120
  */
115
- listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
121
+ listApplications(args: ListApplicationsCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<ListApplicationsCommandOutput>;
116
122
  listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
117
- listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
123
+ listApplications(args: ListApplicationsCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
118
124
  /**
119
125
  * @see {@link ListEnvironmentsCommand}
120
126
  */
121
127
  listEnvironments(): Promise<ListEnvironmentsCommandOutput>;
122
- listEnvironments(args: ListEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentsCommandOutput>;
128
+ listEnvironments(args: ListEnvironmentsCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<ListEnvironmentsCommandOutput>;
123
129
  listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
124
- listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
130
+ listEnvironments(args: ListEnvironmentsCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
125
131
  /**
126
132
  * @see {@link ListEnvironmentVpcsCommand}
127
133
  */
128
- listEnvironmentVpcs(args: ListEnvironmentVpcsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentVpcsCommandOutput>;
134
+ listEnvironmentVpcs(args: ListEnvironmentVpcsCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<ListEnvironmentVpcsCommandOutput>;
129
135
  listEnvironmentVpcs(args: ListEnvironmentVpcsCommandInput, cb: (err: any, data?: ListEnvironmentVpcsCommandOutput) => void): void;
130
- listEnvironmentVpcs(args: ListEnvironmentVpcsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentVpcsCommandOutput) => void): void;
136
+ listEnvironmentVpcs(args: ListEnvironmentVpcsCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: ListEnvironmentVpcsCommandOutput) => void): void;
131
137
  /**
132
138
  * @see {@link ListRoutesCommand}
133
139
  */
134
- listRoutes(args: ListRoutesCommandInput, options?: __HttpHandlerOptions): Promise<ListRoutesCommandOutput>;
140
+ listRoutes(args: ListRoutesCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<ListRoutesCommandOutput>;
135
141
  listRoutes(args: ListRoutesCommandInput, cb: (err: any, data?: ListRoutesCommandOutput) => void): void;
136
- listRoutes(args: ListRoutesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoutesCommandOutput) => void): void;
142
+ listRoutes(args: ListRoutesCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: ListRoutesCommandOutput) => void): void;
137
143
  /**
138
144
  * @see {@link ListServicesCommand}
139
145
  */
140
- listServices(args: ListServicesCommandInput, options?: __HttpHandlerOptions): Promise<ListServicesCommandOutput>;
146
+ listServices(args: ListServicesCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<ListServicesCommandOutput>;
141
147
  listServices(args: ListServicesCommandInput, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
142
- listServices(args: ListServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
148
+ listServices(args: ListServicesCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
143
149
  /**
144
150
  * @see {@link ListTagsForResourceCommand}
145
151
  */
146
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
152
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<ListTagsForResourceCommandOutput>;
147
153
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
148
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
154
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
149
155
  /**
150
156
  * @see {@link PutResourcePolicyCommand}
151
157
  */
152
- putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
158
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<PutResourcePolicyCommandOutput>;
153
159
  putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
154
- putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
160
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
155
161
  /**
156
162
  * @see {@link TagResourceCommand}
157
163
  */
158
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
164
+ tagResource(args: TagResourceCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<TagResourceCommandOutput>;
159
165
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
160
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
166
+ tagResource(args: TagResourceCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
161
167
  /**
162
168
  * @see {@link UntagResourceCommand}
163
169
  */
164
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
170
+ untagResource(args: UntagResourceCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<UntagResourceCommandOutput>;
165
171
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
166
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
172
+ untagResource(args: UntagResourceCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
167
173
  /**
168
174
  * @see {@link UpdateRouteCommand}
169
175
  */
170
- updateRoute(args: UpdateRouteCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRouteCommandOutput>;
176
+ updateRoute(args: UpdateRouteCommandInput, options?: MigrationHubRefactorSpacesRequestOptions): Promise<UpdateRouteCommandOutput>;
171
177
  updateRoute(args: UpdateRouteCommandInput, cb: (err: any, data?: UpdateRouteCommandOutput) => void): void;
172
- updateRoute(args: UpdateRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRouteCommandOutput) => void): void;
178
+ updateRoute(args: UpdateRouteCommandInput, options: MigrationHubRefactorSpacesRequestOptions, cb: (err: any, data?: UpdateRouteCommandOutput) => void): void;
173
179
  /**
174
180
  * @see {@link ListApplicationsCommand}
175
181
  * @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";
@@ -79,10 +80,13 @@ import {
79
80
  } from "./commands/UntagResourceCommand";
80
81
  import { UpdateRouteCommandInput, UpdateRouteCommandOutput } from "./commands/UpdateRouteCommand";
81
82
  import { MigrationHubRefactorSpacesClient } from "./MigrationHubRefactorSpacesClient";
83
+ export interface MigrationHubRefactorSpacesRequestOptions extends __HttpHandlerOptions {
84
+ metricsRecorder?: __MetricsRecorder<unknown>;
85
+ }
82
86
  export interface MigrationHubRefactorSpaces {
83
87
  createApplication(
84
88
  args: CreateApplicationCommandInput,
85
- options?: __HttpHandlerOptions,
89
+ options?: MigrationHubRefactorSpacesRequestOptions,
86
90
  ): Promise<CreateApplicationCommandOutput>;
87
91
  createApplication(
88
92
  args: CreateApplicationCommandInput,
@@ -90,12 +94,12 @@ export interface MigrationHubRefactorSpaces {
90
94
  ): void;
91
95
  createApplication(
92
96
  args: CreateApplicationCommandInput,
93
- options: __HttpHandlerOptions,
97
+ options: MigrationHubRefactorSpacesRequestOptions,
94
98
  cb: (err: any, data?: CreateApplicationCommandOutput) => void,
95
99
  ): void;
96
100
  createEnvironment(
97
101
  args: CreateEnvironmentCommandInput,
98
- options?: __HttpHandlerOptions,
102
+ options?: MigrationHubRefactorSpacesRequestOptions,
99
103
  ): Promise<CreateEnvironmentCommandOutput>;
100
104
  createEnvironment(
101
105
  args: CreateEnvironmentCommandInput,
@@ -103,12 +107,12 @@ export interface MigrationHubRefactorSpaces {
103
107
  ): void;
104
108
  createEnvironment(
105
109
  args: CreateEnvironmentCommandInput,
106
- options: __HttpHandlerOptions,
110
+ options: MigrationHubRefactorSpacesRequestOptions,
107
111
  cb: (err: any, data?: CreateEnvironmentCommandOutput) => void,
108
112
  ): void;
109
113
  createRoute(
110
114
  args: CreateRouteCommandInput,
111
- options?: __HttpHandlerOptions,
115
+ options?: MigrationHubRefactorSpacesRequestOptions,
112
116
  ): Promise<CreateRouteCommandOutput>;
113
117
  createRoute(
114
118
  args: CreateRouteCommandInput,
@@ -116,12 +120,12 @@ export interface MigrationHubRefactorSpaces {
116
120
  ): void;
117
121
  createRoute(
118
122
  args: CreateRouteCommandInput,
119
- options: __HttpHandlerOptions,
123
+ options: MigrationHubRefactorSpacesRequestOptions,
120
124
  cb: (err: any, data?: CreateRouteCommandOutput) => void,
121
125
  ): void;
122
126
  createService(
123
127
  args: CreateServiceCommandInput,
124
- options?: __HttpHandlerOptions,
128
+ options?: MigrationHubRefactorSpacesRequestOptions,
125
129
  ): Promise<CreateServiceCommandOutput>;
126
130
  createService(
127
131
  args: CreateServiceCommandInput,
@@ -129,12 +133,12 @@ export interface MigrationHubRefactorSpaces {
129
133
  ): void;
130
134
  createService(
131
135
  args: CreateServiceCommandInput,
132
- options: __HttpHandlerOptions,
136
+ options: MigrationHubRefactorSpacesRequestOptions,
133
137
  cb: (err: any, data?: CreateServiceCommandOutput) => void,
134
138
  ): void;
135
139
  deleteApplication(
136
140
  args: DeleteApplicationCommandInput,
137
- options?: __HttpHandlerOptions,
141
+ options?: MigrationHubRefactorSpacesRequestOptions,
138
142
  ): Promise<DeleteApplicationCommandOutput>;
139
143
  deleteApplication(
140
144
  args: DeleteApplicationCommandInput,
@@ -142,12 +146,12 @@ export interface MigrationHubRefactorSpaces {
142
146
  ): void;
143
147
  deleteApplication(
144
148
  args: DeleteApplicationCommandInput,
145
- options: __HttpHandlerOptions,
149
+ options: MigrationHubRefactorSpacesRequestOptions,
146
150
  cb: (err: any, data?: DeleteApplicationCommandOutput) => void,
147
151
  ): void;
148
152
  deleteEnvironment(
149
153
  args: DeleteEnvironmentCommandInput,
150
- options?: __HttpHandlerOptions,
154
+ options?: MigrationHubRefactorSpacesRequestOptions,
151
155
  ): Promise<DeleteEnvironmentCommandOutput>;
152
156
  deleteEnvironment(
153
157
  args: DeleteEnvironmentCommandInput,
@@ -155,12 +159,12 @@ export interface MigrationHubRefactorSpaces {
155
159
  ): void;
156
160
  deleteEnvironment(
157
161
  args: DeleteEnvironmentCommandInput,
158
- options: __HttpHandlerOptions,
162
+ options: MigrationHubRefactorSpacesRequestOptions,
159
163
  cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void,
160
164
  ): void;
161
165
  deleteResourcePolicy(
162
166
  args: DeleteResourcePolicyCommandInput,
163
- options?: __HttpHandlerOptions,
167
+ options?: MigrationHubRefactorSpacesRequestOptions,
164
168
  ): Promise<DeleteResourcePolicyCommandOutput>;
165
169
  deleteResourcePolicy(
166
170
  args: DeleteResourcePolicyCommandInput,
@@ -168,12 +172,12 @@ export interface MigrationHubRefactorSpaces {
168
172
  ): void;
169
173
  deleteResourcePolicy(
170
174
  args: DeleteResourcePolicyCommandInput,
171
- options: __HttpHandlerOptions,
175
+ options: MigrationHubRefactorSpacesRequestOptions,
172
176
  cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
173
177
  ): void;
174
178
  deleteRoute(
175
179
  args: DeleteRouteCommandInput,
176
- options?: __HttpHandlerOptions,
180
+ options?: MigrationHubRefactorSpacesRequestOptions,
177
181
  ): Promise<DeleteRouteCommandOutput>;
178
182
  deleteRoute(
179
183
  args: DeleteRouteCommandInput,
@@ -181,12 +185,12 @@ export interface MigrationHubRefactorSpaces {
181
185
  ): void;
182
186
  deleteRoute(
183
187
  args: DeleteRouteCommandInput,
184
- options: __HttpHandlerOptions,
188
+ options: MigrationHubRefactorSpacesRequestOptions,
185
189
  cb: (err: any, data?: DeleteRouteCommandOutput) => void,
186
190
  ): void;
187
191
  deleteService(
188
192
  args: DeleteServiceCommandInput,
189
- options?: __HttpHandlerOptions,
193
+ options?: MigrationHubRefactorSpacesRequestOptions,
190
194
  ): Promise<DeleteServiceCommandOutput>;
191
195
  deleteService(
192
196
  args: DeleteServiceCommandInput,
@@ -194,12 +198,12 @@ export interface MigrationHubRefactorSpaces {
194
198
  ): void;
195
199
  deleteService(
196
200
  args: DeleteServiceCommandInput,
197
- options: __HttpHandlerOptions,
201
+ options: MigrationHubRefactorSpacesRequestOptions,
198
202
  cb: (err: any, data?: DeleteServiceCommandOutput) => void,
199
203
  ): void;
200
204
  getApplication(
201
205
  args: GetApplicationCommandInput,
202
- options?: __HttpHandlerOptions,
206
+ options?: MigrationHubRefactorSpacesRequestOptions,
203
207
  ): Promise<GetApplicationCommandOutput>;
204
208
  getApplication(
205
209
  args: GetApplicationCommandInput,
@@ -207,12 +211,12 @@ export interface MigrationHubRefactorSpaces {
207
211
  ): void;
208
212
  getApplication(
209
213
  args: GetApplicationCommandInput,
210
- options: __HttpHandlerOptions,
214
+ options: MigrationHubRefactorSpacesRequestOptions,
211
215
  cb: (err: any, data?: GetApplicationCommandOutput) => void,
212
216
  ): void;
213
217
  getEnvironment(
214
218
  args: GetEnvironmentCommandInput,
215
- options?: __HttpHandlerOptions,
219
+ options?: MigrationHubRefactorSpacesRequestOptions,
216
220
  ): Promise<GetEnvironmentCommandOutput>;
217
221
  getEnvironment(
218
222
  args: GetEnvironmentCommandInput,
@@ -220,12 +224,12 @@ export interface MigrationHubRefactorSpaces {
220
224
  ): void;
221
225
  getEnvironment(
222
226
  args: GetEnvironmentCommandInput,
223
- options: __HttpHandlerOptions,
227
+ options: MigrationHubRefactorSpacesRequestOptions,
224
228
  cb: (err: any, data?: GetEnvironmentCommandOutput) => void,
225
229
  ): void;
226
230
  getResourcePolicy(
227
231
  args: GetResourcePolicyCommandInput,
228
- options?: __HttpHandlerOptions,
232
+ options?: MigrationHubRefactorSpacesRequestOptions,
229
233
  ): Promise<GetResourcePolicyCommandOutput>;
230
234
  getResourcePolicy(
231
235
  args: GetResourcePolicyCommandInput,
@@ -233,22 +237,22 @@ export interface MigrationHubRefactorSpaces {
233
237
  ): void;
234
238
  getResourcePolicy(
235
239
  args: GetResourcePolicyCommandInput,
236
- options: __HttpHandlerOptions,
240
+ options: MigrationHubRefactorSpacesRequestOptions,
237
241
  cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
238
242
  ): void;
239
243
  getRoute(
240
244
  args: GetRouteCommandInput,
241
- options?: __HttpHandlerOptions,
245
+ options?: MigrationHubRefactorSpacesRequestOptions,
242
246
  ): Promise<GetRouteCommandOutput>;
243
247
  getRoute(args: GetRouteCommandInput, cb: (err: any, data?: GetRouteCommandOutput) => void): void;
244
248
  getRoute(
245
249
  args: GetRouteCommandInput,
246
- options: __HttpHandlerOptions,
250
+ options: MigrationHubRefactorSpacesRequestOptions,
247
251
  cb: (err: any, data?: GetRouteCommandOutput) => void,
248
252
  ): void;
249
253
  getService(
250
254
  args: GetServiceCommandInput,
251
- options?: __HttpHandlerOptions,
255
+ options?: MigrationHubRefactorSpacesRequestOptions,
252
256
  ): Promise<GetServiceCommandOutput>;
253
257
  getService(
254
258
  args: GetServiceCommandInput,
@@ -256,12 +260,12 @@ export interface MigrationHubRefactorSpaces {
256
260
  ): void;
257
261
  getService(
258
262
  args: GetServiceCommandInput,
259
- options: __HttpHandlerOptions,
263
+ options: MigrationHubRefactorSpacesRequestOptions,
260
264
  cb: (err: any, data?: GetServiceCommandOutput) => void,
261
265
  ): void;
262
266
  listApplications(
263
267
  args: ListApplicationsCommandInput,
264
- options?: __HttpHandlerOptions,
268
+ options?: MigrationHubRefactorSpacesRequestOptions,
265
269
  ): Promise<ListApplicationsCommandOutput>;
266
270
  listApplications(
267
271
  args: ListApplicationsCommandInput,
@@ -269,13 +273,13 @@ export interface MigrationHubRefactorSpaces {
269
273
  ): void;
270
274
  listApplications(
271
275
  args: ListApplicationsCommandInput,
272
- options: __HttpHandlerOptions,
276
+ options: MigrationHubRefactorSpacesRequestOptions,
273
277
  cb: (err: any, data?: ListApplicationsCommandOutput) => void,
274
278
  ): void;
275
279
  listEnvironments(): Promise<ListEnvironmentsCommandOutput>;
276
280
  listEnvironments(
277
281
  args: ListEnvironmentsCommandInput,
278
- options?: __HttpHandlerOptions,
282
+ options?: MigrationHubRefactorSpacesRequestOptions,
279
283
  ): Promise<ListEnvironmentsCommandOutput>;
280
284
  listEnvironments(
281
285
  args: ListEnvironmentsCommandInput,
@@ -283,12 +287,12 @@ export interface MigrationHubRefactorSpaces {
283
287
  ): void;
284
288
  listEnvironments(
285
289
  args: ListEnvironmentsCommandInput,
286
- options: __HttpHandlerOptions,
290
+ options: MigrationHubRefactorSpacesRequestOptions,
287
291
  cb: (err: any, data?: ListEnvironmentsCommandOutput) => void,
288
292
  ): void;
289
293
  listEnvironmentVpcs(
290
294
  args: ListEnvironmentVpcsCommandInput,
291
- options?: __HttpHandlerOptions,
295
+ options?: MigrationHubRefactorSpacesRequestOptions,
292
296
  ): Promise<ListEnvironmentVpcsCommandOutput>;
293
297
  listEnvironmentVpcs(
294
298
  args: ListEnvironmentVpcsCommandInput,
@@ -296,12 +300,12 @@ export interface MigrationHubRefactorSpaces {
296
300
  ): void;
297
301
  listEnvironmentVpcs(
298
302
  args: ListEnvironmentVpcsCommandInput,
299
- options: __HttpHandlerOptions,
303
+ options: MigrationHubRefactorSpacesRequestOptions,
300
304
  cb: (err: any, data?: ListEnvironmentVpcsCommandOutput) => void,
301
305
  ): void;
302
306
  listRoutes(
303
307
  args: ListRoutesCommandInput,
304
- options?: __HttpHandlerOptions,
308
+ options?: MigrationHubRefactorSpacesRequestOptions,
305
309
  ): Promise<ListRoutesCommandOutput>;
306
310
  listRoutes(
307
311
  args: ListRoutesCommandInput,
@@ -309,12 +313,12 @@ export interface MigrationHubRefactorSpaces {
309
313
  ): void;
310
314
  listRoutes(
311
315
  args: ListRoutesCommandInput,
312
- options: __HttpHandlerOptions,
316
+ options: MigrationHubRefactorSpacesRequestOptions,
313
317
  cb: (err: any, data?: ListRoutesCommandOutput) => void,
314
318
  ): void;
315
319
  listServices(
316
320
  args: ListServicesCommandInput,
317
- options?: __HttpHandlerOptions,
321
+ options?: MigrationHubRefactorSpacesRequestOptions,
318
322
  ): Promise<ListServicesCommandOutput>;
319
323
  listServices(
320
324
  args: ListServicesCommandInput,
@@ -322,12 +326,12 @@ export interface MigrationHubRefactorSpaces {
322
326
  ): void;
323
327
  listServices(
324
328
  args: ListServicesCommandInput,
325
- options: __HttpHandlerOptions,
329
+ options: MigrationHubRefactorSpacesRequestOptions,
326
330
  cb: (err: any, data?: ListServicesCommandOutput) => void,
327
331
  ): void;
328
332
  listTagsForResource(
329
333
  args: ListTagsForResourceCommandInput,
330
- options?: __HttpHandlerOptions,
334
+ options?: MigrationHubRefactorSpacesRequestOptions,
331
335
  ): Promise<ListTagsForResourceCommandOutput>;
332
336
  listTagsForResource(
333
337
  args: ListTagsForResourceCommandInput,
@@ -335,12 +339,12 @@ export interface MigrationHubRefactorSpaces {
335
339
  ): void;
336
340
  listTagsForResource(
337
341
  args: ListTagsForResourceCommandInput,
338
- options: __HttpHandlerOptions,
342
+ options: MigrationHubRefactorSpacesRequestOptions,
339
343
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
340
344
  ): void;
341
345
  putResourcePolicy(
342
346
  args: PutResourcePolicyCommandInput,
343
- options?: __HttpHandlerOptions,
347
+ options?: MigrationHubRefactorSpacesRequestOptions,
344
348
  ): Promise<PutResourcePolicyCommandOutput>;
345
349
  putResourcePolicy(
346
350
  args: PutResourcePolicyCommandInput,
@@ -348,12 +352,12 @@ export interface MigrationHubRefactorSpaces {
348
352
  ): void;
349
353
  putResourcePolicy(
350
354
  args: PutResourcePolicyCommandInput,
351
- options: __HttpHandlerOptions,
355
+ options: MigrationHubRefactorSpacesRequestOptions,
352
356
  cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
353
357
  ): void;
354
358
  tagResource(
355
359
  args: TagResourceCommandInput,
356
- options?: __HttpHandlerOptions,
360
+ options?: MigrationHubRefactorSpacesRequestOptions,
357
361
  ): Promise<TagResourceCommandOutput>;
358
362
  tagResource(
359
363
  args: TagResourceCommandInput,
@@ -361,12 +365,12 @@ export interface MigrationHubRefactorSpaces {
361
365
  ): void;
362
366
  tagResource(
363
367
  args: TagResourceCommandInput,
364
- options: __HttpHandlerOptions,
368
+ options: MigrationHubRefactorSpacesRequestOptions,
365
369
  cb: (err: any, data?: TagResourceCommandOutput) => void,
366
370
  ): void;
367
371
  untagResource(
368
372
  args: UntagResourceCommandInput,
369
- options?: __HttpHandlerOptions,
373
+ options?: MigrationHubRefactorSpacesRequestOptions,
370
374
  ): Promise<UntagResourceCommandOutput>;
371
375
  untagResource(
372
376
  args: UntagResourceCommandInput,
@@ -374,12 +378,12 @@ export interface MigrationHubRefactorSpaces {
374
378
  ): void;
375
379
  untagResource(
376
380
  args: UntagResourceCommandInput,
377
- options: __HttpHandlerOptions,
381
+ options: MigrationHubRefactorSpacesRequestOptions,
378
382
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
379
383
  ): void;
380
384
  updateRoute(
381
385
  args: UpdateRouteCommandInput,
382
- options?: __HttpHandlerOptions,
386
+ options?: MigrationHubRefactorSpacesRequestOptions,
383
387
  ): Promise<UpdateRouteCommandOutput>;
384
388
  updateRoute(
385
389
  args: UpdateRouteCommandInput,
@@ -387,7 +391,7 @@ export interface MigrationHubRefactorSpaces {
387
391
  ): void;
388
392
  updateRoute(
389
393
  args: UpdateRouteCommandInput,
390
- options: __HttpHandlerOptions,
394
+ options: MigrationHubRefactorSpacesRequestOptions,
391
395
  cb: (err: any, data?: UpdateRouteCommandOutput) => void,
392
396
  ): void;
393
397
  paginateListApplications(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migration-hub-refactor-spaces",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Migration Hub Refactor Spaces Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-migration-hub-refactor-spaces",
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": {