@aws-sdk/client-migrationhubstrategy 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
 
@@ -583,10 +583,10 @@ const _vI = "vmId";
583
583
  const _va = "value";
584
584
  const _ve = "version";
585
585
  const n0 = "com.amazonaws.migrationhubstrategy";
586
- const _s_registry = TypeRegistry.for(_s);
586
+ const _s_registry = new TypeRegistry(_s);
587
587
  var MigrationHubStrategyServiceException$ = [-3, _s, "MigrationHubStrategyServiceException", 0, [], []];
588
588
  _s_registry.registerError(MigrationHubStrategyServiceException$, MigrationHubStrategyServiceException);
589
- const n0_registry = TypeRegistry.for(n0);
589
+ const n0_registry = new TypeRegistry(n0);
590
590
  var AccessDeniedException$ = [-3, n0, _ADE,
591
591
  { [_e]: _c, [_hE]: 403 },
592
592
  [_m],
@@ -337,10 +337,10 @@ const n0 = "com.amazonaws.migrationhubstrategy";
337
337
  import { TypeRegistry } from "@smithy/core/schema";
338
338
  import { AccessDeniedException, ConflictException, DependencyException, InternalServerException, ResourceNotFoundException, ServiceLinkedRoleLockClientException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
339
339
  import { MigrationHubStrategyServiceException } from "../models/MigrationHubStrategyServiceException";
340
- const _s_registry = TypeRegistry.for(_s);
340
+ const _s_registry = new TypeRegistry(_s);
341
341
  export var MigrationHubStrategyServiceException$ = [-3, _s, "MigrationHubStrategyServiceException", 0, [], []];
342
342
  _s_registry.registerError(MigrationHubStrategyServiceException$, MigrationHubStrategyServiceException);
343
- const n0_registry = TypeRegistry.for(n0);
343
+ const n0_registry = new TypeRegistry(n0);
344
344
  export var AccessDeniedException$ = [-3, n0, _ADE,
345
345
  { [_e]: _c, [_hE]: 403 },
346
346
  [_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 GetApplicationComponentDetailsCommandInput, type GetApplicationComponentDetailsCommandOutput } from "./commands/GetApplicationComponentDetailsCommand";
3
3
  import { type GetApplicationComponentStrategiesCommandInput, type GetApplicationComponentStrategiesCommandOutput } from "./commands/GetApplicationComponentStrategiesCommand";
4
4
  import { type GetAssessmentCommandInput, type GetAssessmentCommandOutput } from "./commands/GetAssessmentCommand";
@@ -22,150 +22,156 @@ import { type StopAssessmentCommandInput, type StopAssessmentCommandOutput } fro
22
22
  import { type UpdateApplicationComponentConfigCommandInput, type UpdateApplicationComponentConfigCommandOutput } from "./commands/UpdateApplicationComponentConfigCommand";
23
23
  import { type UpdateServerConfigCommandInput, type UpdateServerConfigCommandOutput } from "./commands/UpdateServerConfigCommand";
24
24
  import { MigrationHubStrategyClient } from "./MigrationHubStrategyClient";
25
+ /**
26
+ * @public
27
+ */
28
+ export interface MigrationHubStrategyRequestOptions extends __HttpHandlerOptions {
29
+ metricsRecorder?: __MetricsRecorder<unknown>;
30
+ }
25
31
  export interface MigrationHubStrategy {
26
32
  /**
27
33
  * @see {@link GetApplicationComponentDetailsCommand}
28
34
  */
29
- getApplicationComponentDetails(args: GetApplicationComponentDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationComponentDetailsCommandOutput>;
35
+ getApplicationComponentDetails(args: GetApplicationComponentDetailsCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<GetApplicationComponentDetailsCommandOutput>;
30
36
  getApplicationComponentDetails(args: GetApplicationComponentDetailsCommandInput, cb: (err: any, data?: GetApplicationComponentDetailsCommandOutput) => void): void;
31
- getApplicationComponentDetails(args: GetApplicationComponentDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationComponentDetailsCommandOutput) => void): void;
37
+ getApplicationComponentDetails(args: GetApplicationComponentDetailsCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: GetApplicationComponentDetailsCommandOutput) => void): void;
32
38
  /**
33
39
  * @see {@link GetApplicationComponentStrategiesCommand}
34
40
  */
35
- getApplicationComponentStrategies(args: GetApplicationComponentStrategiesCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationComponentStrategiesCommandOutput>;
41
+ getApplicationComponentStrategies(args: GetApplicationComponentStrategiesCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<GetApplicationComponentStrategiesCommandOutput>;
36
42
  getApplicationComponentStrategies(args: GetApplicationComponentStrategiesCommandInput, cb: (err: any, data?: GetApplicationComponentStrategiesCommandOutput) => void): void;
37
- getApplicationComponentStrategies(args: GetApplicationComponentStrategiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationComponentStrategiesCommandOutput) => void): void;
43
+ getApplicationComponentStrategies(args: GetApplicationComponentStrategiesCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: GetApplicationComponentStrategiesCommandOutput) => void): void;
38
44
  /**
39
45
  * @see {@link GetAssessmentCommand}
40
46
  */
41
- getAssessment(args: GetAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<GetAssessmentCommandOutput>;
47
+ getAssessment(args: GetAssessmentCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<GetAssessmentCommandOutput>;
42
48
  getAssessment(args: GetAssessmentCommandInput, cb: (err: any, data?: GetAssessmentCommandOutput) => void): void;
43
- getAssessment(args: GetAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssessmentCommandOutput) => void): void;
49
+ getAssessment(args: GetAssessmentCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: GetAssessmentCommandOutput) => void): void;
44
50
  /**
45
51
  * @see {@link GetImportFileTaskCommand}
46
52
  */
47
- getImportFileTask(args: GetImportFileTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetImportFileTaskCommandOutput>;
53
+ getImportFileTask(args: GetImportFileTaskCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<GetImportFileTaskCommandOutput>;
48
54
  getImportFileTask(args: GetImportFileTaskCommandInput, cb: (err: any, data?: GetImportFileTaskCommandOutput) => void): void;
49
- getImportFileTask(args: GetImportFileTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetImportFileTaskCommandOutput) => void): void;
55
+ getImportFileTask(args: GetImportFileTaskCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: GetImportFileTaskCommandOutput) => void): void;
50
56
  /**
51
57
  * @see {@link GetLatestAssessmentIdCommand}
52
58
  */
53
59
  getLatestAssessmentId(): Promise<GetLatestAssessmentIdCommandOutput>;
54
- getLatestAssessmentId(args: GetLatestAssessmentIdCommandInput, options?: __HttpHandlerOptions): Promise<GetLatestAssessmentIdCommandOutput>;
60
+ getLatestAssessmentId(args: GetLatestAssessmentIdCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<GetLatestAssessmentIdCommandOutput>;
55
61
  getLatestAssessmentId(args: GetLatestAssessmentIdCommandInput, cb: (err: any, data?: GetLatestAssessmentIdCommandOutput) => void): void;
56
- getLatestAssessmentId(args: GetLatestAssessmentIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLatestAssessmentIdCommandOutput) => void): void;
62
+ getLatestAssessmentId(args: GetLatestAssessmentIdCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: GetLatestAssessmentIdCommandOutput) => void): void;
57
63
  /**
58
64
  * @see {@link GetPortfolioPreferencesCommand}
59
65
  */
60
66
  getPortfolioPreferences(): Promise<GetPortfolioPreferencesCommandOutput>;
61
- getPortfolioPreferences(args: GetPortfolioPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<GetPortfolioPreferencesCommandOutput>;
67
+ getPortfolioPreferences(args: GetPortfolioPreferencesCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<GetPortfolioPreferencesCommandOutput>;
62
68
  getPortfolioPreferences(args: GetPortfolioPreferencesCommandInput, cb: (err: any, data?: GetPortfolioPreferencesCommandOutput) => void): void;
63
- getPortfolioPreferences(args: GetPortfolioPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPortfolioPreferencesCommandOutput) => void): void;
69
+ getPortfolioPreferences(args: GetPortfolioPreferencesCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: GetPortfolioPreferencesCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link GetPortfolioSummaryCommand}
66
72
  */
67
73
  getPortfolioSummary(): Promise<GetPortfolioSummaryCommandOutput>;
68
- getPortfolioSummary(args: GetPortfolioSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetPortfolioSummaryCommandOutput>;
74
+ getPortfolioSummary(args: GetPortfolioSummaryCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<GetPortfolioSummaryCommandOutput>;
69
75
  getPortfolioSummary(args: GetPortfolioSummaryCommandInput, cb: (err: any, data?: GetPortfolioSummaryCommandOutput) => void): void;
70
- getPortfolioSummary(args: GetPortfolioSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPortfolioSummaryCommandOutput) => void): void;
76
+ getPortfolioSummary(args: GetPortfolioSummaryCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: GetPortfolioSummaryCommandOutput) => void): void;
71
77
  /**
72
78
  * @see {@link GetRecommendationReportDetailsCommand}
73
79
  */
74
- getRecommendationReportDetails(args: GetRecommendationReportDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationReportDetailsCommandOutput>;
80
+ getRecommendationReportDetails(args: GetRecommendationReportDetailsCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<GetRecommendationReportDetailsCommandOutput>;
75
81
  getRecommendationReportDetails(args: GetRecommendationReportDetailsCommandInput, cb: (err: any, data?: GetRecommendationReportDetailsCommandOutput) => void): void;
76
- getRecommendationReportDetails(args: GetRecommendationReportDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationReportDetailsCommandOutput) => void): void;
82
+ getRecommendationReportDetails(args: GetRecommendationReportDetailsCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: GetRecommendationReportDetailsCommandOutput) => void): void;
77
83
  /**
78
84
  * @see {@link GetServerDetailsCommand}
79
85
  */
80
- getServerDetails(args: GetServerDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetServerDetailsCommandOutput>;
86
+ getServerDetails(args: GetServerDetailsCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<GetServerDetailsCommandOutput>;
81
87
  getServerDetails(args: GetServerDetailsCommandInput, cb: (err: any, data?: GetServerDetailsCommandOutput) => void): void;
82
- getServerDetails(args: GetServerDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServerDetailsCommandOutput) => void): void;
88
+ getServerDetails(args: GetServerDetailsCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: GetServerDetailsCommandOutput) => void): void;
83
89
  /**
84
90
  * @see {@link GetServerStrategiesCommand}
85
91
  */
86
- getServerStrategies(args: GetServerStrategiesCommandInput, options?: __HttpHandlerOptions): Promise<GetServerStrategiesCommandOutput>;
92
+ getServerStrategies(args: GetServerStrategiesCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<GetServerStrategiesCommandOutput>;
87
93
  getServerStrategies(args: GetServerStrategiesCommandInput, cb: (err: any, data?: GetServerStrategiesCommandOutput) => void): void;
88
- getServerStrategies(args: GetServerStrategiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServerStrategiesCommandOutput) => void): void;
94
+ getServerStrategies(args: GetServerStrategiesCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: GetServerStrategiesCommandOutput) => void): void;
89
95
  /**
90
96
  * @see {@link ListAnalyzableServersCommand}
91
97
  */
92
98
  listAnalyzableServers(): Promise<ListAnalyzableServersCommandOutput>;
93
- listAnalyzableServers(args: ListAnalyzableServersCommandInput, options?: __HttpHandlerOptions): Promise<ListAnalyzableServersCommandOutput>;
99
+ listAnalyzableServers(args: ListAnalyzableServersCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<ListAnalyzableServersCommandOutput>;
94
100
  listAnalyzableServers(args: ListAnalyzableServersCommandInput, cb: (err: any, data?: ListAnalyzableServersCommandOutput) => void): void;
95
- listAnalyzableServers(args: ListAnalyzableServersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnalyzableServersCommandOutput) => void): void;
101
+ listAnalyzableServers(args: ListAnalyzableServersCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: ListAnalyzableServersCommandOutput) => void): void;
96
102
  /**
97
103
  * @see {@link ListApplicationComponentsCommand}
98
104
  */
99
105
  listApplicationComponents(): Promise<ListApplicationComponentsCommandOutput>;
100
- listApplicationComponents(args: ListApplicationComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationComponentsCommandOutput>;
106
+ listApplicationComponents(args: ListApplicationComponentsCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<ListApplicationComponentsCommandOutput>;
101
107
  listApplicationComponents(args: ListApplicationComponentsCommandInput, cb: (err: any, data?: ListApplicationComponentsCommandOutput) => void): void;
102
- listApplicationComponents(args: ListApplicationComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationComponentsCommandOutput) => void): void;
108
+ listApplicationComponents(args: ListApplicationComponentsCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: ListApplicationComponentsCommandOutput) => void): void;
103
109
  /**
104
110
  * @see {@link ListCollectorsCommand}
105
111
  */
106
112
  listCollectors(): Promise<ListCollectorsCommandOutput>;
107
- listCollectors(args: ListCollectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListCollectorsCommandOutput>;
113
+ listCollectors(args: ListCollectorsCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<ListCollectorsCommandOutput>;
108
114
  listCollectors(args: ListCollectorsCommandInput, cb: (err: any, data?: ListCollectorsCommandOutput) => void): void;
109
- listCollectors(args: ListCollectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollectorsCommandOutput) => void): void;
115
+ listCollectors(args: ListCollectorsCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: ListCollectorsCommandOutput) => void): void;
110
116
  /**
111
117
  * @see {@link ListImportFileTaskCommand}
112
118
  */
113
119
  listImportFileTask(): Promise<ListImportFileTaskCommandOutput>;
114
- listImportFileTask(args: ListImportFileTaskCommandInput, options?: __HttpHandlerOptions): Promise<ListImportFileTaskCommandOutput>;
120
+ listImportFileTask(args: ListImportFileTaskCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<ListImportFileTaskCommandOutput>;
115
121
  listImportFileTask(args: ListImportFileTaskCommandInput, cb: (err: any, data?: ListImportFileTaskCommandOutput) => void): void;
116
- listImportFileTask(args: ListImportFileTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportFileTaskCommandOutput) => void): void;
122
+ listImportFileTask(args: ListImportFileTaskCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: ListImportFileTaskCommandOutput) => void): void;
117
123
  /**
118
124
  * @see {@link ListServersCommand}
119
125
  */
120
126
  listServers(): Promise<ListServersCommandOutput>;
121
- listServers(args: ListServersCommandInput, options?: __HttpHandlerOptions): Promise<ListServersCommandOutput>;
127
+ listServers(args: ListServersCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<ListServersCommandOutput>;
122
128
  listServers(args: ListServersCommandInput, cb: (err: any, data?: ListServersCommandOutput) => void): void;
123
- listServers(args: ListServersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServersCommandOutput) => void): void;
129
+ listServers(args: ListServersCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: ListServersCommandOutput) => void): void;
124
130
  /**
125
131
  * @see {@link PutPortfolioPreferencesCommand}
126
132
  */
127
133
  putPortfolioPreferences(): Promise<PutPortfolioPreferencesCommandOutput>;
128
- putPortfolioPreferences(args: PutPortfolioPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<PutPortfolioPreferencesCommandOutput>;
134
+ putPortfolioPreferences(args: PutPortfolioPreferencesCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<PutPortfolioPreferencesCommandOutput>;
129
135
  putPortfolioPreferences(args: PutPortfolioPreferencesCommandInput, cb: (err: any, data?: PutPortfolioPreferencesCommandOutput) => void): void;
130
- putPortfolioPreferences(args: PutPortfolioPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPortfolioPreferencesCommandOutput) => void): void;
136
+ putPortfolioPreferences(args: PutPortfolioPreferencesCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: PutPortfolioPreferencesCommandOutput) => void): void;
131
137
  /**
132
138
  * @see {@link StartAssessmentCommand}
133
139
  */
134
140
  startAssessment(): Promise<StartAssessmentCommandOutput>;
135
- startAssessment(args: StartAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<StartAssessmentCommandOutput>;
141
+ startAssessment(args: StartAssessmentCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<StartAssessmentCommandOutput>;
136
142
  startAssessment(args: StartAssessmentCommandInput, cb: (err: any, data?: StartAssessmentCommandOutput) => void): void;
137
- startAssessment(args: StartAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAssessmentCommandOutput) => void): void;
143
+ startAssessment(args: StartAssessmentCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: StartAssessmentCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link StartImportFileTaskCommand}
140
146
  */
141
- startImportFileTask(args: StartImportFileTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartImportFileTaskCommandOutput>;
147
+ startImportFileTask(args: StartImportFileTaskCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<StartImportFileTaskCommandOutput>;
142
148
  startImportFileTask(args: StartImportFileTaskCommandInput, cb: (err: any, data?: StartImportFileTaskCommandOutput) => void): void;
143
- startImportFileTask(args: StartImportFileTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImportFileTaskCommandOutput) => void): void;
149
+ startImportFileTask(args: StartImportFileTaskCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: StartImportFileTaskCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link StartRecommendationReportGenerationCommand}
146
152
  */
147
153
  startRecommendationReportGeneration(): Promise<StartRecommendationReportGenerationCommandOutput>;
148
- startRecommendationReportGeneration(args: StartRecommendationReportGenerationCommandInput, options?: __HttpHandlerOptions): Promise<StartRecommendationReportGenerationCommandOutput>;
154
+ startRecommendationReportGeneration(args: StartRecommendationReportGenerationCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<StartRecommendationReportGenerationCommandOutput>;
149
155
  startRecommendationReportGeneration(args: StartRecommendationReportGenerationCommandInput, cb: (err: any, data?: StartRecommendationReportGenerationCommandOutput) => void): void;
150
- startRecommendationReportGeneration(args: StartRecommendationReportGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRecommendationReportGenerationCommandOutput) => void): void;
156
+ startRecommendationReportGeneration(args: StartRecommendationReportGenerationCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: StartRecommendationReportGenerationCommandOutput) => void): void;
151
157
  /**
152
158
  * @see {@link StopAssessmentCommand}
153
159
  */
154
- stopAssessment(args: StopAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<StopAssessmentCommandOutput>;
160
+ stopAssessment(args: StopAssessmentCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<StopAssessmentCommandOutput>;
155
161
  stopAssessment(args: StopAssessmentCommandInput, cb: (err: any, data?: StopAssessmentCommandOutput) => void): void;
156
- stopAssessment(args: StopAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAssessmentCommandOutput) => void): void;
162
+ stopAssessment(args: StopAssessmentCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: StopAssessmentCommandOutput) => void): void;
157
163
  /**
158
164
  * @see {@link UpdateApplicationComponentConfigCommand}
159
165
  */
160
- updateApplicationComponentConfig(args: UpdateApplicationComponentConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationComponentConfigCommandOutput>;
166
+ updateApplicationComponentConfig(args: UpdateApplicationComponentConfigCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<UpdateApplicationComponentConfigCommandOutput>;
161
167
  updateApplicationComponentConfig(args: UpdateApplicationComponentConfigCommandInput, cb: (err: any, data?: UpdateApplicationComponentConfigCommandOutput) => void): void;
162
- updateApplicationComponentConfig(args: UpdateApplicationComponentConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationComponentConfigCommandOutput) => void): void;
168
+ updateApplicationComponentConfig(args: UpdateApplicationComponentConfigCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: UpdateApplicationComponentConfigCommandOutput) => void): void;
163
169
  /**
164
170
  * @see {@link UpdateServerConfigCommand}
165
171
  */
166
- updateServerConfig(args: UpdateServerConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServerConfigCommandOutput>;
172
+ updateServerConfig(args: UpdateServerConfigCommandInput, options?: MigrationHubStrategyRequestOptions): Promise<UpdateServerConfigCommandOutput>;
167
173
  updateServerConfig(args: UpdateServerConfigCommandInput, cb: (err: any, data?: UpdateServerConfigCommandOutput) => void): void;
168
- updateServerConfig(args: UpdateServerConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServerConfigCommandOutput) => void): void;
174
+ updateServerConfig(args: UpdateServerConfigCommandInput, options: MigrationHubStrategyRequestOptions, cb: (err: any, data?: UpdateServerConfigCommandOutput) => void): void;
169
175
  /**
170
176
  * @see {@link GetServerDetailsCommand}
171
177
  * @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";
@@ -89,10 +90,13 @@ import {
89
90
  UpdateServerConfigCommandOutput,
90
91
  } from "./commands/UpdateServerConfigCommand";
91
92
  import { MigrationHubStrategyClient } from "./MigrationHubStrategyClient";
93
+ export interface MigrationHubStrategyRequestOptions extends __HttpHandlerOptions {
94
+ metricsRecorder?: __MetricsRecorder<unknown>;
95
+ }
92
96
  export interface MigrationHubStrategy {
93
97
  getApplicationComponentDetails(
94
98
  args: GetApplicationComponentDetailsCommandInput,
95
- options?: __HttpHandlerOptions,
99
+ options?: MigrationHubStrategyRequestOptions,
96
100
  ): Promise<GetApplicationComponentDetailsCommandOutput>;
97
101
  getApplicationComponentDetails(
98
102
  args: GetApplicationComponentDetailsCommandInput,
@@ -100,12 +104,12 @@ export interface MigrationHubStrategy {
100
104
  ): void;
101
105
  getApplicationComponentDetails(
102
106
  args: GetApplicationComponentDetailsCommandInput,
103
- options: __HttpHandlerOptions,
107
+ options: MigrationHubStrategyRequestOptions,
104
108
  cb: (err: any, data?: GetApplicationComponentDetailsCommandOutput) => void,
105
109
  ): void;
106
110
  getApplicationComponentStrategies(
107
111
  args: GetApplicationComponentStrategiesCommandInput,
108
- options?: __HttpHandlerOptions,
112
+ options?: MigrationHubStrategyRequestOptions,
109
113
  ): Promise<GetApplicationComponentStrategiesCommandOutput>;
110
114
  getApplicationComponentStrategies(
111
115
  args: GetApplicationComponentStrategiesCommandInput,
@@ -113,12 +117,12 @@ export interface MigrationHubStrategy {
113
117
  ): void;
114
118
  getApplicationComponentStrategies(
115
119
  args: GetApplicationComponentStrategiesCommandInput,
116
- options: __HttpHandlerOptions,
120
+ options: MigrationHubStrategyRequestOptions,
117
121
  cb: (err: any, data?: GetApplicationComponentStrategiesCommandOutput) => void,
118
122
  ): void;
119
123
  getAssessment(
120
124
  args: GetAssessmentCommandInput,
121
- options?: __HttpHandlerOptions,
125
+ options?: MigrationHubStrategyRequestOptions,
122
126
  ): Promise<GetAssessmentCommandOutput>;
123
127
  getAssessment(
124
128
  args: GetAssessmentCommandInput,
@@ -126,12 +130,12 @@ export interface MigrationHubStrategy {
126
130
  ): void;
127
131
  getAssessment(
128
132
  args: GetAssessmentCommandInput,
129
- options: __HttpHandlerOptions,
133
+ options: MigrationHubStrategyRequestOptions,
130
134
  cb: (err: any, data?: GetAssessmentCommandOutput) => void,
131
135
  ): void;
132
136
  getImportFileTask(
133
137
  args: GetImportFileTaskCommandInput,
134
- options?: __HttpHandlerOptions,
138
+ options?: MigrationHubStrategyRequestOptions,
135
139
  ): Promise<GetImportFileTaskCommandOutput>;
136
140
  getImportFileTask(
137
141
  args: GetImportFileTaskCommandInput,
@@ -139,13 +143,13 @@ export interface MigrationHubStrategy {
139
143
  ): void;
140
144
  getImportFileTask(
141
145
  args: GetImportFileTaskCommandInput,
142
- options: __HttpHandlerOptions,
146
+ options: MigrationHubStrategyRequestOptions,
143
147
  cb: (err: any, data?: GetImportFileTaskCommandOutput) => void,
144
148
  ): void;
145
149
  getLatestAssessmentId(): Promise<GetLatestAssessmentIdCommandOutput>;
146
150
  getLatestAssessmentId(
147
151
  args: GetLatestAssessmentIdCommandInput,
148
- options?: __HttpHandlerOptions,
152
+ options?: MigrationHubStrategyRequestOptions,
149
153
  ): Promise<GetLatestAssessmentIdCommandOutput>;
150
154
  getLatestAssessmentId(
151
155
  args: GetLatestAssessmentIdCommandInput,
@@ -153,13 +157,13 @@ export interface MigrationHubStrategy {
153
157
  ): void;
154
158
  getLatestAssessmentId(
155
159
  args: GetLatestAssessmentIdCommandInput,
156
- options: __HttpHandlerOptions,
160
+ options: MigrationHubStrategyRequestOptions,
157
161
  cb: (err: any, data?: GetLatestAssessmentIdCommandOutput) => void,
158
162
  ): void;
159
163
  getPortfolioPreferences(): Promise<GetPortfolioPreferencesCommandOutput>;
160
164
  getPortfolioPreferences(
161
165
  args: GetPortfolioPreferencesCommandInput,
162
- options?: __HttpHandlerOptions,
166
+ options?: MigrationHubStrategyRequestOptions,
163
167
  ): Promise<GetPortfolioPreferencesCommandOutput>;
164
168
  getPortfolioPreferences(
165
169
  args: GetPortfolioPreferencesCommandInput,
@@ -167,13 +171,13 @@ export interface MigrationHubStrategy {
167
171
  ): void;
168
172
  getPortfolioPreferences(
169
173
  args: GetPortfolioPreferencesCommandInput,
170
- options: __HttpHandlerOptions,
174
+ options: MigrationHubStrategyRequestOptions,
171
175
  cb: (err: any, data?: GetPortfolioPreferencesCommandOutput) => void,
172
176
  ): void;
173
177
  getPortfolioSummary(): Promise<GetPortfolioSummaryCommandOutput>;
174
178
  getPortfolioSummary(
175
179
  args: GetPortfolioSummaryCommandInput,
176
- options?: __HttpHandlerOptions,
180
+ options?: MigrationHubStrategyRequestOptions,
177
181
  ): Promise<GetPortfolioSummaryCommandOutput>;
178
182
  getPortfolioSummary(
179
183
  args: GetPortfolioSummaryCommandInput,
@@ -181,12 +185,12 @@ export interface MigrationHubStrategy {
181
185
  ): void;
182
186
  getPortfolioSummary(
183
187
  args: GetPortfolioSummaryCommandInput,
184
- options: __HttpHandlerOptions,
188
+ options: MigrationHubStrategyRequestOptions,
185
189
  cb: (err: any, data?: GetPortfolioSummaryCommandOutput) => void,
186
190
  ): void;
187
191
  getRecommendationReportDetails(
188
192
  args: GetRecommendationReportDetailsCommandInput,
189
- options?: __HttpHandlerOptions,
193
+ options?: MigrationHubStrategyRequestOptions,
190
194
  ): Promise<GetRecommendationReportDetailsCommandOutput>;
191
195
  getRecommendationReportDetails(
192
196
  args: GetRecommendationReportDetailsCommandInput,
@@ -194,12 +198,12 @@ export interface MigrationHubStrategy {
194
198
  ): void;
195
199
  getRecommendationReportDetails(
196
200
  args: GetRecommendationReportDetailsCommandInput,
197
- options: __HttpHandlerOptions,
201
+ options: MigrationHubStrategyRequestOptions,
198
202
  cb: (err: any, data?: GetRecommendationReportDetailsCommandOutput) => void,
199
203
  ): void;
200
204
  getServerDetails(
201
205
  args: GetServerDetailsCommandInput,
202
- options?: __HttpHandlerOptions,
206
+ options?: MigrationHubStrategyRequestOptions,
203
207
  ): Promise<GetServerDetailsCommandOutput>;
204
208
  getServerDetails(
205
209
  args: GetServerDetailsCommandInput,
@@ -207,12 +211,12 @@ export interface MigrationHubStrategy {
207
211
  ): void;
208
212
  getServerDetails(
209
213
  args: GetServerDetailsCommandInput,
210
- options: __HttpHandlerOptions,
214
+ options: MigrationHubStrategyRequestOptions,
211
215
  cb: (err: any, data?: GetServerDetailsCommandOutput) => void,
212
216
  ): void;
213
217
  getServerStrategies(
214
218
  args: GetServerStrategiesCommandInput,
215
- options?: __HttpHandlerOptions,
219
+ options?: MigrationHubStrategyRequestOptions,
216
220
  ): Promise<GetServerStrategiesCommandOutput>;
217
221
  getServerStrategies(
218
222
  args: GetServerStrategiesCommandInput,
@@ -220,13 +224,13 @@ export interface MigrationHubStrategy {
220
224
  ): void;
221
225
  getServerStrategies(
222
226
  args: GetServerStrategiesCommandInput,
223
- options: __HttpHandlerOptions,
227
+ options: MigrationHubStrategyRequestOptions,
224
228
  cb: (err: any, data?: GetServerStrategiesCommandOutput) => void,
225
229
  ): void;
226
230
  listAnalyzableServers(): Promise<ListAnalyzableServersCommandOutput>;
227
231
  listAnalyzableServers(
228
232
  args: ListAnalyzableServersCommandInput,
229
- options?: __HttpHandlerOptions,
233
+ options?: MigrationHubStrategyRequestOptions,
230
234
  ): Promise<ListAnalyzableServersCommandOutput>;
231
235
  listAnalyzableServers(
232
236
  args: ListAnalyzableServersCommandInput,
@@ -234,13 +238,13 @@ export interface MigrationHubStrategy {
234
238
  ): void;
235
239
  listAnalyzableServers(
236
240
  args: ListAnalyzableServersCommandInput,
237
- options: __HttpHandlerOptions,
241
+ options: MigrationHubStrategyRequestOptions,
238
242
  cb: (err: any, data?: ListAnalyzableServersCommandOutput) => void,
239
243
  ): void;
240
244
  listApplicationComponents(): Promise<ListApplicationComponentsCommandOutput>;
241
245
  listApplicationComponents(
242
246
  args: ListApplicationComponentsCommandInput,
243
- options?: __HttpHandlerOptions,
247
+ options?: MigrationHubStrategyRequestOptions,
244
248
  ): Promise<ListApplicationComponentsCommandOutput>;
245
249
  listApplicationComponents(
246
250
  args: ListApplicationComponentsCommandInput,
@@ -248,13 +252,13 @@ export interface MigrationHubStrategy {
248
252
  ): void;
249
253
  listApplicationComponents(
250
254
  args: ListApplicationComponentsCommandInput,
251
- options: __HttpHandlerOptions,
255
+ options: MigrationHubStrategyRequestOptions,
252
256
  cb: (err: any, data?: ListApplicationComponentsCommandOutput) => void,
253
257
  ): void;
254
258
  listCollectors(): Promise<ListCollectorsCommandOutput>;
255
259
  listCollectors(
256
260
  args: ListCollectorsCommandInput,
257
- options?: __HttpHandlerOptions,
261
+ options?: MigrationHubStrategyRequestOptions,
258
262
  ): Promise<ListCollectorsCommandOutput>;
259
263
  listCollectors(
260
264
  args: ListCollectorsCommandInput,
@@ -262,13 +266,13 @@ export interface MigrationHubStrategy {
262
266
  ): void;
263
267
  listCollectors(
264
268
  args: ListCollectorsCommandInput,
265
- options: __HttpHandlerOptions,
269
+ options: MigrationHubStrategyRequestOptions,
266
270
  cb: (err: any, data?: ListCollectorsCommandOutput) => void,
267
271
  ): void;
268
272
  listImportFileTask(): Promise<ListImportFileTaskCommandOutput>;
269
273
  listImportFileTask(
270
274
  args: ListImportFileTaskCommandInput,
271
- options?: __HttpHandlerOptions,
275
+ options?: MigrationHubStrategyRequestOptions,
272
276
  ): Promise<ListImportFileTaskCommandOutput>;
273
277
  listImportFileTask(
274
278
  args: ListImportFileTaskCommandInput,
@@ -276,13 +280,13 @@ export interface MigrationHubStrategy {
276
280
  ): void;
277
281
  listImportFileTask(
278
282
  args: ListImportFileTaskCommandInput,
279
- options: __HttpHandlerOptions,
283
+ options: MigrationHubStrategyRequestOptions,
280
284
  cb: (err: any, data?: ListImportFileTaskCommandOutput) => void,
281
285
  ): void;
282
286
  listServers(): Promise<ListServersCommandOutput>;
283
287
  listServers(
284
288
  args: ListServersCommandInput,
285
- options?: __HttpHandlerOptions,
289
+ options?: MigrationHubStrategyRequestOptions,
286
290
  ): Promise<ListServersCommandOutput>;
287
291
  listServers(
288
292
  args: ListServersCommandInput,
@@ -290,13 +294,13 @@ export interface MigrationHubStrategy {
290
294
  ): void;
291
295
  listServers(
292
296
  args: ListServersCommandInput,
293
- options: __HttpHandlerOptions,
297
+ options: MigrationHubStrategyRequestOptions,
294
298
  cb: (err: any, data?: ListServersCommandOutput) => void,
295
299
  ): void;
296
300
  putPortfolioPreferences(): Promise<PutPortfolioPreferencesCommandOutput>;
297
301
  putPortfolioPreferences(
298
302
  args: PutPortfolioPreferencesCommandInput,
299
- options?: __HttpHandlerOptions,
303
+ options?: MigrationHubStrategyRequestOptions,
300
304
  ): Promise<PutPortfolioPreferencesCommandOutput>;
301
305
  putPortfolioPreferences(
302
306
  args: PutPortfolioPreferencesCommandInput,
@@ -304,13 +308,13 @@ export interface MigrationHubStrategy {
304
308
  ): void;
305
309
  putPortfolioPreferences(
306
310
  args: PutPortfolioPreferencesCommandInput,
307
- options: __HttpHandlerOptions,
311
+ options: MigrationHubStrategyRequestOptions,
308
312
  cb: (err: any, data?: PutPortfolioPreferencesCommandOutput) => void,
309
313
  ): void;
310
314
  startAssessment(): Promise<StartAssessmentCommandOutput>;
311
315
  startAssessment(
312
316
  args: StartAssessmentCommandInput,
313
- options?: __HttpHandlerOptions,
317
+ options?: MigrationHubStrategyRequestOptions,
314
318
  ): Promise<StartAssessmentCommandOutput>;
315
319
  startAssessment(
316
320
  args: StartAssessmentCommandInput,
@@ -318,12 +322,12 @@ export interface MigrationHubStrategy {
318
322
  ): void;
319
323
  startAssessment(
320
324
  args: StartAssessmentCommandInput,
321
- options: __HttpHandlerOptions,
325
+ options: MigrationHubStrategyRequestOptions,
322
326
  cb: (err: any, data?: StartAssessmentCommandOutput) => void,
323
327
  ): void;
324
328
  startImportFileTask(
325
329
  args: StartImportFileTaskCommandInput,
326
- options?: __HttpHandlerOptions,
330
+ options?: MigrationHubStrategyRequestOptions,
327
331
  ): Promise<StartImportFileTaskCommandOutput>;
328
332
  startImportFileTask(
329
333
  args: StartImportFileTaskCommandInput,
@@ -331,13 +335,13 @@ export interface MigrationHubStrategy {
331
335
  ): void;
332
336
  startImportFileTask(
333
337
  args: StartImportFileTaskCommandInput,
334
- options: __HttpHandlerOptions,
338
+ options: MigrationHubStrategyRequestOptions,
335
339
  cb: (err: any, data?: StartImportFileTaskCommandOutput) => void,
336
340
  ): void;
337
341
  startRecommendationReportGeneration(): Promise<StartRecommendationReportGenerationCommandOutput>;
338
342
  startRecommendationReportGeneration(
339
343
  args: StartRecommendationReportGenerationCommandInput,
340
- options?: __HttpHandlerOptions,
344
+ options?: MigrationHubStrategyRequestOptions,
341
345
  ): Promise<StartRecommendationReportGenerationCommandOutput>;
342
346
  startRecommendationReportGeneration(
343
347
  args: StartRecommendationReportGenerationCommandInput,
@@ -345,12 +349,12 @@ export interface MigrationHubStrategy {
345
349
  ): void;
346
350
  startRecommendationReportGeneration(
347
351
  args: StartRecommendationReportGenerationCommandInput,
348
- options: __HttpHandlerOptions,
352
+ options: MigrationHubStrategyRequestOptions,
349
353
  cb: (err: any, data?: StartRecommendationReportGenerationCommandOutput) => void,
350
354
  ): void;
351
355
  stopAssessment(
352
356
  args: StopAssessmentCommandInput,
353
- options?: __HttpHandlerOptions,
357
+ options?: MigrationHubStrategyRequestOptions,
354
358
  ): Promise<StopAssessmentCommandOutput>;
355
359
  stopAssessment(
356
360
  args: StopAssessmentCommandInput,
@@ -358,12 +362,12 @@ export interface MigrationHubStrategy {
358
362
  ): void;
359
363
  stopAssessment(
360
364
  args: StopAssessmentCommandInput,
361
- options: __HttpHandlerOptions,
365
+ options: MigrationHubStrategyRequestOptions,
362
366
  cb: (err: any, data?: StopAssessmentCommandOutput) => void,
363
367
  ): void;
364
368
  updateApplicationComponentConfig(
365
369
  args: UpdateApplicationComponentConfigCommandInput,
366
- options?: __HttpHandlerOptions,
370
+ options?: MigrationHubStrategyRequestOptions,
367
371
  ): Promise<UpdateApplicationComponentConfigCommandOutput>;
368
372
  updateApplicationComponentConfig(
369
373
  args: UpdateApplicationComponentConfigCommandInput,
@@ -371,12 +375,12 @@ export interface MigrationHubStrategy {
371
375
  ): void;
372
376
  updateApplicationComponentConfig(
373
377
  args: UpdateApplicationComponentConfigCommandInput,
374
- options: __HttpHandlerOptions,
378
+ options: MigrationHubStrategyRequestOptions,
375
379
  cb: (err: any, data?: UpdateApplicationComponentConfigCommandOutput) => void,
376
380
  ): void;
377
381
  updateServerConfig(
378
382
  args: UpdateServerConfigCommandInput,
379
- options?: __HttpHandlerOptions,
383
+ options?: MigrationHubStrategyRequestOptions,
380
384
  ): Promise<UpdateServerConfigCommandOutput>;
381
385
  updateServerConfig(
382
386
  args: UpdateServerConfigCommandInput,
@@ -384,7 +388,7 @@ export interface MigrationHubStrategy {
384
388
  ): void;
385
389
  updateServerConfig(
386
390
  args: UpdateServerConfigCommandInput,
387
- options: __HttpHandlerOptions,
391
+ options: MigrationHubStrategyRequestOptions,
388
392
  cb: (err: any, data?: UpdateServerConfigCommandOutput) => void,
389
393
  ): void;
390
394
  paginateGetServerDetails(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhubstrategy",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Migrationhubstrategy Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-migrationhubstrategy",
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": {