@aws-sdk/client-arc-region-switch 3.1137.0 → 3.1139.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
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1136.0";
70
+ var version = "3.1138.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -507,10 +507,10 @@ const _wUT = "warningUpdatedTime";
507
507
  const _wa = "warnings";
508
508
  const _wo = "workflow";
509
509
  const n0 = "com.amazonaws.arcregionswitch";
510
- const _s_registry = TypeRegistry.for(_s);
510
+ const _s_registry = new TypeRegistry(_s);
511
511
  var ARCRegionSwitchServiceException$ = [-3, _s, "ARCRegionSwitchServiceException", 0, [], []];
512
512
  _s_registry.registerError(ARCRegionSwitchServiceException$, ARCRegionSwitchServiceException);
513
- const n0_registry = TypeRegistry.for(n0);
513
+ const n0_registry = new TypeRegistry(n0);
514
514
  var AccessDeniedException$ = [-3, n0, _ADE,
515
515
  { [_e]: _c, [_hE]: 403 },
516
516
  [_m],
@@ -302,10 +302,10 @@ const n0 = "com.amazonaws.arcregionswitch";
302
302
  import { TypeRegistry } from "@smithy/core/schema";
303
303
  import { ARCRegionSwitchServiceException } from "../models/ARCRegionSwitchServiceException";
304
304
  import { AccessDeniedException, ConflictException, IllegalArgumentException, IllegalStateException, InternalServerException, ResourceNotFoundException, } from "../models/errors";
305
- const _s_registry = TypeRegistry.for(_s);
305
+ const _s_registry = new TypeRegistry(_s);
306
306
  export var ARCRegionSwitchServiceException$ = [-3, _s, "ARCRegionSwitchServiceException", 0, [], []];
307
307
  _s_registry.registerError(ARCRegionSwitchServiceException$, ARCRegionSwitchServiceException);
308
- const n0_registry = TypeRegistry.for(n0);
308
+ const n0_registry = new TypeRegistry(n0);
309
309
  export var AccessDeniedException$ = [-3, n0, _ADE,
310
310
  { [_e]: _c, [_hE]: 403 },
311
311
  [_m],
@@ -1,5 +1,5 @@
1
1
  import { type WaiterResult } from "@smithy/core/client";
2
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
3
  import { ARCRegionSwitchClient } from "./ARCRegionSwitchClient";
4
4
  import { type ApprovePlanExecutionStepCommandInput, type ApprovePlanExecutionStepCommandOutput } from "./commands/ApprovePlanExecutionStepCommand";
5
5
  import { type CancelPlanExecutionCommandInput, type CancelPlanExecutionCommandOutput } from "./commands/CancelPlanExecutionCommand";
@@ -22,135 +22,141 @@ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from
22
22
  import { type UpdatePlanCommandInput, type UpdatePlanCommandOutput } from "./commands/UpdatePlanCommand";
23
23
  import { type UpdatePlanExecutionCommandInput, type UpdatePlanExecutionCommandOutput } from "./commands/UpdatePlanExecutionCommand";
24
24
  import { type UpdatePlanExecutionStepCommandInput, type UpdatePlanExecutionStepCommandOutput } from "./commands/UpdatePlanExecutionStepCommand";
25
+ /**
26
+ * @public
27
+ */
28
+ export interface ARCRegionSwitchRequestOptions extends __HttpHandlerOptions {
29
+ metricsRecorder?: __MetricsRecorder<unknown>;
30
+ }
25
31
  export interface ARCRegionSwitch {
26
32
  /**
27
33
  * @see {@link ApprovePlanExecutionStepCommand}
28
34
  */
29
- approvePlanExecutionStep(args: ApprovePlanExecutionStepCommandInput, options?: __HttpHandlerOptions): Promise<ApprovePlanExecutionStepCommandOutput>;
35
+ approvePlanExecutionStep(args: ApprovePlanExecutionStepCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<ApprovePlanExecutionStepCommandOutput>;
30
36
  approvePlanExecutionStep(args: ApprovePlanExecutionStepCommandInput, cb: (err: any, data?: ApprovePlanExecutionStepCommandOutput) => void): void;
31
- approvePlanExecutionStep(args: ApprovePlanExecutionStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ApprovePlanExecutionStepCommandOutput) => void): void;
37
+ approvePlanExecutionStep(args: ApprovePlanExecutionStepCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: ApprovePlanExecutionStepCommandOutput) => void): void;
32
38
  /**
33
39
  * @see {@link CancelPlanExecutionCommand}
34
40
  */
35
- cancelPlanExecution(args: CancelPlanExecutionCommandInput, options?: __HttpHandlerOptions): Promise<CancelPlanExecutionCommandOutput>;
41
+ cancelPlanExecution(args: CancelPlanExecutionCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<CancelPlanExecutionCommandOutput>;
36
42
  cancelPlanExecution(args: CancelPlanExecutionCommandInput, cb: (err: any, data?: CancelPlanExecutionCommandOutput) => void): void;
37
- cancelPlanExecution(args: CancelPlanExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelPlanExecutionCommandOutput) => void): void;
43
+ cancelPlanExecution(args: CancelPlanExecutionCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: CancelPlanExecutionCommandOutput) => void): void;
38
44
  /**
39
45
  * @see {@link CreatePlanCommand}
40
46
  */
41
- createPlan(args: CreatePlanCommandInput, options?: __HttpHandlerOptions): Promise<CreatePlanCommandOutput>;
47
+ createPlan(args: CreatePlanCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<CreatePlanCommandOutput>;
42
48
  createPlan(args: CreatePlanCommandInput, cb: (err: any, data?: CreatePlanCommandOutput) => void): void;
43
- createPlan(args: CreatePlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePlanCommandOutput) => void): void;
49
+ createPlan(args: CreatePlanCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: CreatePlanCommandOutput) => void): void;
44
50
  /**
45
51
  * @see {@link DeletePlanCommand}
46
52
  */
47
- deletePlan(args: DeletePlanCommandInput, options?: __HttpHandlerOptions): Promise<DeletePlanCommandOutput>;
53
+ deletePlan(args: DeletePlanCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<DeletePlanCommandOutput>;
48
54
  deletePlan(args: DeletePlanCommandInput, cb: (err: any, data?: DeletePlanCommandOutput) => void): void;
49
- deletePlan(args: DeletePlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePlanCommandOutput) => void): void;
55
+ deletePlan(args: DeletePlanCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: DeletePlanCommandOutput) => void): void;
50
56
  /**
51
57
  * @see {@link GetPlanCommand}
52
58
  */
53
- getPlan(args: GetPlanCommandInput, options?: __HttpHandlerOptions): Promise<GetPlanCommandOutput>;
59
+ getPlan(args: GetPlanCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<GetPlanCommandOutput>;
54
60
  getPlan(args: GetPlanCommandInput, cb: (err: any, data?: GetPlanCommandOutput) => void): void;
55
- getPlan(args: GetPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPlanCommandOutput) => void): void;
61
+ getPlan(args: GetPlanCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: GetPlanCommandOutput) => void): void;
56
62
  /**
57
63
  * @see {@link GetPlanEvaluationStatusCommand}
58
64
  */
59
- getPlanEvaluationStatus(args: GetPlanEvaluationStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetPlanEvaluationStatusCommandOutput>;
65
+ getPlanEvaluationStatus(args: GetPlanEvaluationStatusCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<GetPlanEvaluationStatusCommandOutput>;
60
66
  getPlanEvaluationStatus(args: GetPlanEvaluationStatusCommandInput, cb: (err: any, data?: GetPlanEvaluationStatusCommandOutput) => void): void;
61
- getPlanEvaluationStatus(args: GetPlanEvaluationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPlanEvaluationStatusCommandOutput) => void): void;
67
+ getPlanEvaluationStatus(args: GetPlanEvaluationStatusCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: GetPlanEvaluationStatusCommandOutput) => void): void;
62
68
  /**
63
69
  * @see {@link GetPlanExecutionCommand}
64
70
  */
65
- getPlanExecution(args: GetPlanExecutionCommandInput, options?: __HttpHandlerOptions): Promise<GetPlanExecutionCommandOutput>;
71
+ getPlanExecution(args: GetPlanExecutionCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<GetPlanExecutionCommandOutput>;
66
72
  getPlanExecution(args: GetPlanExecutionCommandInput, cb: (err: any, data?: GetPlanExecutionCommandOutput) => void): void;
67
- getPlanExecution(args: GetPlanExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPlanExecutionCommandOutput) => void): void;
73
+ getPlanExecution(args: GetPlanExecutionCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: GetPlanExecutionCommandOutput) => void): void;
68
74
  /**
69
75
  * @see {@link GetPlanInRegionCommand}
70
76
  */
71
- getPlanInRegion(args: GetPlanInRegionCommandInput, options?: __HttpHandlerOptions): Promise<GetPlanInRegionCommandOutput>;
77
+ getPlanInRegion(args: GetPlanInRegionCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<GetPlanInRegionCommandOutput>;
72
78
  getPlanInRegion(args: GetPlanInRegionCommandInput, cb: (err: any, data?: GetPlanInRegionCommandOutput) => void): void;
73
- getPlanInRegion(args: GetPlanInRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPlanInRegionCommandOutput) => void): void;
79
+ getPlanInRegion(args: GetPlanInRegionCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: GetPlanInRegionCommandOutput) => void): void;
74
80
  /**
75
81
  * @see {@link ListPlanExecutionEventsCommand}
76
82
  */
77
- listPlanExecutionEvents(args: ListPlanExecutionEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListPlanExecutionEventsCommandOutput>;
83
+ listPlanExecutionEvents(args: ListPlanExecutionEventsCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<ListPlanExecutionEventsCommandOutput>;
78
84
  listPlanExecutionEvents(args: ListPlanExecutionEventsCommandInput, cb: (err: any, data?: ListPlanExecutionEventsCommandOutput) => void): void;
79
- listPlanExecutionEvents(args: ListPlanExecutionEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPlanExecutionEventsCommandOutput) => void): void;
85
+ listPlanExecutionEvents(args: ListPlanExecutionEventsCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: ListPlanExecutionEventsCommandOutput) => void): void;
80
86
  /**
81
87
  * @see {@link ListPlanExecutionsCommand}
82
88
  */
83
- listPlanExecutions(args: ListPlanExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPlanExecutionsCommandOutput>;
89
+ listPlanExecutions(args: ListPlanExecutionsCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<ListPlanExecutionsCommandOutput>;
84
90
  listPlanExecutions(args: ListPlanExecutionsCommandInput, cb: (err: any, data?: ListPlanExecutionsCommandOutput) => void): void;
85
- listPlanExecutions(args: ListPlanExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPlanExecutionsCommandOutput) => void): void;
91
+ listPlanExecutions(args: ListPlanExecutionsCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: ListPlanExecutionsCommandOutput) => void): void;
86
92
  /**
87
93
  * @see {@link ListPlansCommand}
88
94
  */
89
95
  listPlans(): Promise<ListPlansCommandOutput>;
90
- listPlans(args: ListPlansCommandInput, options?: __HttpHandlerOptions): Promise<ListPlansCommandOutput>;
96
+ listPlans(args: ListPlansCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<ListPlansCommandOutput>;
91
97
  listPlans(args: ListPlansCommandInput, cb: (err: any, data?: ListPlansCommandOutput) => void): void;
92
- listPlans(args: ListPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPlansCommandOutput) => void): void;
98
+ listPlans(args: ListPlansCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: ListPlansCommandOutput) => void): void;
93
99
  /**
94
100
  * @see {@link ListPlansInRegionCommand}
95
101
  */
96
102
  listPlansInRegion(): Promise<ListPlansInRegionCommandOutput>;
97
- listPlansInRegion(args: ListPlansInRegionCommandInput, options?: __HttpHandlerOptions): Promise<ListPlansInRegionCommandOutput>;
103
+ listPlansInRegion(args: ListPlansInRegionCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<ListPlansInRegionCommandOutput>;
98
104
  listPlansInRegion(args: ListPlansInRegionCommandInput, cb: (err: any, data?: ListPlansInRegionCommandOutput) => void): void;
99
- listPlansInRegion(args: ListPlansInRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPlansInRegionCommandOutput) => void): void;
105
+ listPlansInRegion(args: ListPlansInRegionCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: ListPlansInRegionCommandOutput) => void): void;
100
106
  /**
101
107
  * @see {@link ListRoute53HealthChecksCommand}
102
108
  */
103
- listRoute53HealthChecks(args: ListRoute53HealthChecksCommandInput, options?: __HttpHandlerOptions): Promise<ListRoute53HealthChecksCommandOutput>;
109
+ listRoute53HealthChecks(args: ListRoute53HealthChecksCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<ListRoute53HealthChecksCommandOutput>;
104
110
  listRoute53HealthChecks(args: ListRoute53HealthChecksCommandInput, cb: (err: any, data?: ListRoute53HealthChecksCommandOutput) => void): void;
105
- listRoute53HealthChecks(args: ListRoute53HealthChecksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoute53HealthChecksCommandOutput) => void): void;
111
+ listRoute53HealthChecks(args: ListRoute53HealthChecksCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: ListRoute53HealthChecksCommandOutput) => void): void;
106
112
  /**
107
113
  * @see {@link ListRoute53HealthChecksInRegionCommand}
108
114
  */
109
- listRoute53HealthChecksInRegion(args: ListRoute53HealthChecksInRegionCommandInput, options?: __HttpHandlerOptions): Promise<ListRoute53HealthChecksInRegionCommandOutput>;
115
+ listRoute53HealthChecksInRegion(args: ListRoute53HealthChecksInRegionCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<ListRoute53HealthChecksInRegionCommandOutput>;
110
116
  listRoute53HealthChecksInRegion(args: ListRoute53HealthChecksInRegionCommandInput, cb: (err: any, data?: ListRoute53HealthChecksInRegionCommandOutput) => void): void;
111
- listRoute53HealthChecksInRegion(args: ListRoute53HealthChecksInRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoute53HealthChecksInRegionCommandOutput) => void): void;
117
+ listRoute53HealthChecksInRegion(args: ListRoute53HealthChecksInRegionCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: ListRoute53HealthChecksInRegionCommandOutput) => void): void;
112
118
  /**
113
119
  * @see {@link ListTagsForResourceCommand}
114
120
  */
115
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
121
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<ListTagsForResourceCommandOutput>;
116
122
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
117
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
123
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
118
124
  /**
119
125
  * @see {@link StartPlanExecutionCommand}
120
126
  */
121
- startPlanExecution(args: StartPlanExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartPlanExecutionCommandOutput>;
127
+ startPlanExecution(args: StartPlanExecutionCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<StartPlanExecutionCommandOutput>;
122
128
  startPlanExecution(args: StartPlanExecutionCommandInput, cb: (err: any, data?: StartPlanExecutionCommandOutput) => void): void;
123
- startPlanExecution(args: StartPlanExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPlanExecutionCommandOutput) => void): void;
129
+ startPlanExecution(args: StartPlanExecutionCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: StartPlanExecutionCommandOutput) => void): void;
124
130
  /**
125
131
  * @see {@link TagResourceCommand}
126
132
  */
127
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
133
+ tagResource(args: TagResourceCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<TagResourceCommandOutput>;
128
134
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
129
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
135
+ tagResource(args: TagResourceCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
130
136
  /**
131
137
  * @see {@link UntagResourceCommand}
132
138
  */
133
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
139
+ untagResource(args: UntagResourceCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<UntagResourceCommandOutput>;
134
140
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
135
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
141
+ untagResource(args: UntagResourceCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
136
142
  /**
137
143
  * @see {@link UpdatePlanCommand}
138
144
  */
139
- updatePlan(args: UpdatePlanCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePlanCommandOutput>;
145
+ updatePlan(args: UpdatePlanCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<UpdatePlanCommandOutput>;
140
146
  updatePlan(args: UpdatePlanCommandInput, cb: (err: any, data?: UpdatePlanCommandOutput) => void): void;
141
- updatePlan(args: UpdatePlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePlanCommandOutput) => void): void;
147
+ updatePlan(args: UpdatePlanCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: UpdatePlanCommandOutput) => void): void;
142
148
  /**
143
149
  * @see {@link UpdatePlanExecutionCommand}
144
150
  */
145
- updatePlanExecution(args: UpdatePlanExecutionCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePlanExecutionCommandOutput>;
151
+ updatePlanExecution(args: UpdatePlanExecutionCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<UpdatePlanExecutionCommandOutput>;
146
152
  updatePlanExecution(args: UpdatePlanExecutionCommandInput, cb: (err: any, data?: UpdatePlanExecutionCommandOutput) => void): void;
147
- updatePlanExecution(args: UpdatePlanExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePlanExecutionCommandOutput) => void): void;
153
+ updatePlanExecution(args: UpdatePlanExecutionCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: UpdatePlanExecutionCommandOutput) => void): void;
148
154
  /**
149
155
  * @see {@link UpdatePlanExecutionStepCommand}
150
156
  */
151
- updatePlanExecutionStep(args: UpdatePlanExecutionStepCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePlanExecutionStepCommandOutput>;
157
+ updatePlanExecutionStep(args: UpdatePlanExecutionStepCommandInput, options?: ARCRegionSwitchRequestOptions): Promise<UpdatePlanExecutionStepCommandOutput>;
152
158
  updatePlanExecutionStep(args: UpdatePlanExecutionStepCommandInput, cb: (err: any, data?: UpdatePlanExecutionStepCommandOutput) => void): void;
153
- updatePlanExecutionStep(args: UpdatePlanExecutionStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePlanExecutionStepCommandOutput) => void): void;
159
+ updatePlanExecutionStep(args: UpdatePlanExecutionStepCommandInput, options: ARCRegionSwitchRequestOptions, cb: (err: any, data?: UpdatePlanExecutionStepCommandOutput) => void): void;
154
160
  /**
155
161
  * @see {@link GetPlanEvaluationStatusCommand}
156
162
  * @param args - command input.
@@ -1,6 +1,7 @@
1
1
  import { WaiterResult } from "@smithy/core/client";
2
2
  import {
3
3
  HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
4
5
  PaginationConfiguration,
5
6
  Paginator,
6
7
  WaiterConfiguration,
@@ -72,10 +73,13 @@ import {
72
73
  UpdatePlanExecutionStepCommandInput,
73
74
  UpdatePlanExecutionStepCommandOutput,
74
75
  } from "./commands/UpdatePlanExecutionStepCommand";
76
+ export interface ARCRegionSwitchRequestOptions extends __HttpHandlerOptions {
77
+ metricsRecorder?: __MetricsRecorder<unknown>;
78
+ }
75
79
  export interface ARCRegionSwitch {
76
80
  approvePlanExecutionStep(
77
81
  args: ApprovePlanExecutionStepCommandInput,
78
- options?: __HttpHandlerOptions,
82
+ options?: ARCRegionSwitchRequestOptions,
79
83
  ): Promise<ApprovePlanExecutionStepCommandOutput>;
80
84
  approvePlanExecutionStep(
81
85
  args: ApprovePlanExecutionStepCommandInput,
@@ -83,12 +87,12 @@ export interface ARCRegionSwitch {
83
87
  ): void;
84
88
  approvePlanExecutionStep(
85
89
  args: ApprovePlanExecutionStepCommandInput,
86
- options: __HttpHandlerOptions,
90
+ options: ARCRegionSwitchRequestOptions,
87
91
  cb: (err: any, data?: ApprovePlanExecutionStepCommandOutput) => void,
88
92
  ): void;
89
93
  cancelPlanExecution(
90
94
  args: CancelPlanExecutionCommandInput,
91
- options?: __HttpHandlerOptions,
95
+ options?: ARCRegionSwitchRequestOptions,
92
96
  ): Promise<CancelPlanExecutionCommandOutput>;
93
97
  cancelPlanExecution(
94
98
  args: CancelPlanExecutionCommandInput,
@@ -96,12 +100,12 @@ export interface ARCRegionSwitch {
96
100
  ): void;
97
101
  cancelPlanExecution(
98
102
  args: CancelPlanExecutionCommandInput,
99
- options: __HttpHandlerOptions,
103
+ options: ARCRegionSwitchRequestOptions,
100
104
  cb: (err: any, data?: CancelPlanExecutionCommandOutput) => void,
101
105
  ): void;
102
106
  createPlan(
103
107
  args: CreatePlanCommandInput,
104
- options?: __HttpHandlerOptions,
108
+ options?: ARCRegionSwitchRequestOptions,
105
109
  ): Promise<CreatePlanCommandOutput>;
106
110
  createPlan(
107
111
  args: CreatePlanCommandInput,
@@ -109,12 +113,12 @@ export interface ARCRegionSwitch {
109
113
  ): void;
110
114
  createPlan(
111
115
  args: CreatePlanCommandInput,
112
- options: __HttpHandlerOptions,
116
+ options: ARCRegionSwitchRequestOptions,
113
117
  cb: (err: any, data?: CreatePlanCommandOutput) => void,
114
118
  ): void;
115
119
  deletePlan(
116
120
  args: DeletePlanCommandInput,
117
- options?: __HttpHandlerOptions,
121
+ options?: ARCRegionSwitchRequestOptions,
118
122
  ): Promise<DeletePlanCommandOutput>;
119
123
  deletePlan(
120
124
  args: DeletePlanCommandInput,
@@ -122,19 +126,22 @@ export interface ARCRegionSwitch {
122
126
  ): void;
123
127
  deletePlan(
124
128
  args: DeletePlanCommandInput,
125
- options: __HttpHandlerOptions,
129
+ options: ARCRegionSwitchRequestOptions,
126
130
  cb: (err: any, data?: DeletePlanCommandOutput) => void,
127
131
  ): void;
128
- getPlan(args: GetPlanCommandInput, options?: __HttpHandlerOptions): Promise<GetPlanCommandOutput>;
132
+ getPlan(
133
+ args: GetPlanCommandInput,
134
+ options?: ARCRegionSwitchRequestOptions,
135
+ ): Promise<GetPlanCommandOutput>;
129
136
  getPlan(args: GetPlanCommandInput, cb: (err: any, data?: GetPlanCommandOutput) => void): void;
130
137
  getPlan(
131
138
  args: GetPlanCommandInput,
132
- options: __HttpHandlerOptions,
139
+ options: ARCRegionSwitchRequestOptions,
133
140
  cb: (err: any, data?: GetPlanCommandOutput) => void,
134
141
  ): void;
135
142
  getPlanEvaluationStatus(
136
143
  args: GetPlanEvaluationStatusCommandInput,
137
- options?: __HttpHandlerOptions,
144
+ options?: ARCRegionSwitchRequestOptions,
138
145
  ): Promise<GetPlanEvaluationStatusCommandOutput>;
139
146
  getPlanEvaluationStatus(
140
147
  args: GetPlanEvaluationStatusCommandInput,
@@ -142,12 +149,12 @@ export interface ARCRegionSwitch {
142
149
  ): void;
143
150
  getPlanEvaluationStatus(
144
151
  args: GetPlanEvaluationStatusCommandInput,
145
- options: __HttpHandlerOptions,
152
+ options: ARCRegionSwitchRequestOptions,
146
153
  cb: (err: any, data?: GetPlanEvaluationStatusCommandOutput) => void,
147
154
  ): void;
148
155
  getPlanExecution(
149
156
  args: GetPlanExecutionCommandInput,
150
- options?: __HttpHandlerOptions,
157
+ options?: ARCRegionSwitchRequestOptions,
151
158
  ): Promise<GetPlanExecutionCommandOutput>;
152
159
  getPlanExecution(
153
160
  args: GetPlanExecutionCommandInput,
@@ -155,12 +162,12 @@ export interface ARCRegionSwitch {
155
162
  ): void;
156
163
  getPlanExecution(
157
164
  args: GetPlanExecutionCommandInput,
158
- options: __HttpHandlerOptions,
165
+ options: ARCRegionSwitchRequestOptions,
159
166
  cb: (err: any, data?: GetPlanExecutionCommandOutput) => void,
160
167
  ): void;
161
168
  getPlanInRegion(
162
169
  args: GetPlanInRegionCommandInput,
163
- options?: __HttpHandlerOptions,
170
+ options?: ARCRegionSwitchRequestOptions,
164
171
  ): Promise<GetPlanInRegionCommandOutput>;
165
172
  getPlanInRegion(
166
173
  args: GetPlanInRegionCommandInput,
@@ -168,12 +175,12 @@ export interface ARCRegionSwitch {
168
175
  ): void;
169
176
  getPlanInRegion(
170
177
  args: GetPlanInRegionCommandInput,
171
- options: __HttpHandlerOptions,
178
+ options: ARCRegionSwitchRequestOptions,
172
179
  cb: (err: any, data?: GetPlanInRegionCommandOutput) => void,
173
180
  ): void;
174
181
  listPlanExecutionEvents(
175
182
  args: ListPlanExecutionEventsCommandInput,
176
- options?: __HttpHandlerOptions,
183
+ options?: ARCRegionSwitchRequestOptions,
177
184
  ): Promise<ListPlanExecutionEventsCommandOutput>;
178
185
  listPlanExecutionEvents(
179
186
  args: ListPlanExecutionEventsCommandInput,
@@ -181,12 +188,12 @@ export interface ARCRegionSwitch {
181
188
  ): void;
182
189
  listPlanExecutionEvents(
183
190
  args: ListPlanExecutionEventsCommandInput,
184
- options: __HttpHandlerOptions,
191
+ options: ARCRegionSwitchRequestOptions,
185
192
  cb: (err: any, data?: ListPlanExecutionEventsCommandOutput) => void,
186
193
  ): void;
187
194
  listPlanExecutions(
188
195
  args: ListPlanExecutionsCommandInput,
189
- options?: __HttpHandlerOptions,
196
+ options?: ARCRegionSwitchRequestOptions,
190
197
  ): Promise<ListPlanExecutionsCommandOutput>;
191
198
  listPlanExecutions(
192
199
  args: ListPlanExecutionsCommandInput,
@@ -194,13 +201,13 @@ export interface ARCRegionSwitch {
194
201
  ): void;
195
202
  listPlanExecutions(
196
203
  args: ListPlanExecutionsCommandInput,
197
- options: __HttpHandlerOptions,
204
+ options: ARCRegionSwitchRequestOptions,
198
205
  cb: (err: any, data?: ListPlanExecutionsCommandOutput) => void,
199
206
  ): void;
200
207
  listPlans(): Promise<ListPlansCommandOutput>;
201
208
  listPlans(
202
209
  args: ListPlansCommandInput,
203
- options?: __HttpHandlerOptions,
210
+ options?: ARCRegionSwitchRequestOptions,
204
211
  ): Promise<ListPlansCommandOutput>;
205
212
  listPlans(
206
213
  args: ListPlansCommandInput,
@@ -208,13 +215,13 @@ export interface ARCRegionSwitch {
208
215
  ): void;
209
216
  listPlans(
210
217
  args: ListPlansCommandInput,
211
- options: __HttpHandlerOptions,
218
+ options: ARCRegionSwitchRequestOptions,
212
219
  cb: (err: any, data?: ListPlansCommandOutput) => void,
213
220
  ): void;
214
221
  listPlansInRegion(): Promise<ListPlansInRegionCommandOutput>;
215
222
  listPlansInRegion(
216
223
  args: ListPlansInRegionCommandInput,
217
- options?: __HttpHandlerOptions,
224
+ options?: ARCRegionSwitchRequestOptions,
218
225
  ): Promise<ListPlansInRegionCommandOutput>;
219
226
  listPlansInRegion(
220
227
  args: ListPlansInRegionCommandInput,
@@ -222,12 +229,12 @@ export interface ARCRegionSwitch {
222
229
  ): void;
223
230
  listPlansInRegion(
224
231
  args: ListPlansInRegionCommandInput,
225
- options: __HttpHandlerOptions,
232
+ options: ARCRegionSwitchRequestOptions,
226
233
  cb: (err: any, data?: ListPlansInRegionCommandOutput) => void,
227
234
  ): void;
228
235
  listRoute53HealthChecks(
229
236
  args: ListRoute53HealthChecksCommandInput,
230
- options?: __HttpHandlerOptions,
237
+ options?: ARCRegionSwitchRequestOptions,
231
238
  ): Promise<ListRoute53HealthChecksCommandOutput>;
232
239
  listRoute53HealthChecks(
233
240
  args: ListRoute53HealthChecksCommandInput,
@@ -235,12 +242,12 @@ export interface ARCRegionSwitch {
235
242
  ): void;
236
243
  listRoute53HealthChecks(
237
244
  args: ListRoute53HealthChecksCommandInput,
238
- options: __HttpHandlerOptions,
245
+ options: ARCRegionSwitchRequestOptions,
239
246
  cb: (err: any, data?: ListRoute53HealthChecksCommandOutput) => void,
240
247
  ): void;
241
248
  listRoute53HealthChecksInRegion(
242
249
  args: ListRoute53HealthChecksInRegionCommandInput,
243
- options?: __HttpHandlerOptions,
250
+ options?: ARCRegionSwitchRequestOptions,
244
251
  ): Promise<ListRoute53HealthChecksInRegionCommandOutput>;
245
252
  listRoute53HealthChecksInRegion(
246
253
  args: ListRoute53HealthChecksInRegionCommandInput,
@@ -248,12 +255,12 @@ export interface ARCRegionSwitch {
248
255
  ): void;
249
256
  listRoute53HealthChecksInRegion(
250
257
  args: ListRoute53HealthChecksInRegionCommandInput,
251
- options: __HttpHandlerOptions,
258
+ options: ARCRegionSwitchRequestOptions,
252
259
  cb: (err: any, data?: ListRoute53HealthChecksInRegionCommandOutput) => void,
253
260
  ): void;
254
261
  listTagsForResource(
255
262
  args: ListTagsForResourceCommandInput,
256
- options?: __HttpHandlerOptions,
263
+ options?: ARCRegionSwitchRequestOptions,
257
264
  ): Promise<ListTagsForResourceCommandOutput>;
258
265
  listTagsForResource(
259
266
  args: ListTagsForResourceCommandInput,
@@ -261,12 +268,12 @@ export interface ARCRegionSwitch {
261
268
  ): void;
262
269
  listTagsForResource(
263
270
  args: ListTagsForResourceCommandInput,
264
- options: __HttpHandlerOptions,
271
+ options: ARCRegionSwitchRequestOptions,
265
272
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
266
273
  ): void;
267
274
  startPlanExecution(
268
275
  args: StartPlanExecutionCommandInput,
269
- options?: __HttpHandlerOptions,
276
+ options?: ARCRegionSwitchRequestOptions,
270
277
  ): Promise<StartPlanExecutionCommandOutput>;
271
278
  startPlanExecution(
272
279
  args: StartPlanExecutionCommandInput,
@@ -274,12 +281,12 @@ export interface ARCRegionSwitch {
274
281
  ): void;
275
282
  startPlanExecution(
276
283
  args: StartPlanExecutionCommandInput,
277
- options: __HttpHandlerOptions,
284
+ options: ARCRegionSwitchRequestOptions,
278
285
  cb: (err: any, data?: StartPlanExecutionCommandOutput) => void,
279
286
  ): void;
280
287
  tagResource(
281
288
  args: TagResourceCommandInput,
282
- options?: __HttpHandlerOptions,
289
+ options?: ARCRegionSwitchRequestOptions,
283
290
  ): Promise<TagResourceCommandOutput>;
284
291
  tagResource(
285
292
  args: TagResourceCommandInput,
@@ -287,12 +294,12 @@ export interface ARCRegionSwitch {
287
294
  ): void;
288
295
  tagResource(
289
296
  args: TagResourceCommandInput,
290
- options: __HttpHandlerOptions,
297
+ options: ARCRegionSwitchRequestOptions,
291
298
  cb: (err: any, data?: TagResourceCommandOutput) => void,
292
299
  ): void;
293
300
  untagResource(
294
301
  args: UntagResourceCommandInput,
295
- options?: __HttpHandlerOptions,
302
+ options?: ARCRegionSwitchRequestOptions,
296
303
  ): Promise<UntagResourceCommandOutput>;
297
304
  untagResource(
298
305
  args: UntagResourceCommandInput,
@@ -300,12 +307,12 @@ export interface ARCRegionSwitch {
300
307
  ): void;
301
308
  untagResource(
302
309
  args: UntagResourceCommandInput,
303
- options: __HttpHandlerOptions,
310
+ options: ARCRegionSwitchRequestOptions,
304
311
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
305
312
  ): void;
306
313
  updatePlan(
307
314
  args: UpdatePlanCommandInput,
308
- options?: __HttpHandlerOptions,
315
+ options?: ARCRegionSwitchRequestOptions,
309
316
  ): Promise<UpdatePlanCommandOutput>;
310
317
  updatePlan(
311
318
  args: UpdatePlanCommandInput,
@@ -313,12 +320,12 @@ export interface ARCRegionSwitch {
313
320
  ): void;
314
321
  updatePlan(
315
322
  args: UpdatePlanCommandInput,
316
- options: __HttpHandlerOptions,
323
+ options: ARCRegionSwitchRequestOptions,
317
324
  cb: (err: any, data?: UpdatePlanCommandOutput) => void,
318
325
  ): void;
319
326
  updatePlanExecution(
320
327
  args: UpdatePlanExecutionCommandInput,
321
- options?: __HttpHandlerOptions,
328
+ options?: ARCRegionSwitchRequestOptions,
322
329
  ): Promise<UpdatePlanExecutionCommandOutput>;
323
330
  updatePlanExecution(
324
331
  args: UpdatePlanExecutionCommandInput,
@@ -326,12 +333,12 @@ export interface ARCRegionSwitch {
326
333
  ): void;
327
334
  updatePlanExecution(
328
335
  args: UpdatePlanExecutionCommandInput,
329
- options: __HttpHandlerOptions,
336
+ options: ARCRegionSwitchRequestOptions,
330
337
  cb: (err: any, data?: UpdatePlanExecutionCommandOutput) => void,
331
338
  ): void;
332
339
  updatePlanExecutionStep(
333
340
  args: UpdatePlanExecutionStepCommandInput,
334
- options?: __HttpHandlerOptions,
341
+ options?: ARCRegionSwitchRequestOptions,
335
342
  ): Promise<UpdatePlanExecutionStepCommandOutput>;
336
343
  updatePlanExecutionStep(
337
344
  args: UpdatePlanExecutionStepCommandInput,
@@ -339,7 +346,7 @@ export interface ARCRegionSwitch {
339
346
  ): void;
340
347
  updatePlanExecutionStep(
341
348
  args: UpdatePlanExecutionStepCommandInput,
342
- options: __HttpHandlerOptions,
349
+ options: ARCRegionSwitchRequestOptions,
343
350
  cb: (err: any, data?: UpdatePlanExecutionStepCommandOutput) => void,
344
351
  ): void;
345
352
  paginateGetPlanEvaluationStatus(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-arc-region-switch",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Arc Region Switch Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-arc-region-switch",
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": {