@aws-sdk/client-arc-region-switch 3.859.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/LICENSE +201 -0
- package/README.md +365 -0
- package/dist-cjs/ARCRegionSwitch.js +51 -0
- package/dist-cjs/ARCRegionSwitchClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/ApprovePlanExecutionStepCommand.js +26 -0
- package/dist-cjs/commands/CancelPlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/CreatePlanCommand.js +29 -0
- package/dist-cjs/commands/DeletePlanCommand.js +29 -0
- package/dist-cjs/commands/GetPlanCommand.js +29 -0
- package/dist-cjs/commands/GetPlanEvaluationStatusCommand.js +26 -0
- package/dist-cjs/commands/GetPlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/GetPlanInRegionCommand.js +26 -0
- package/dist-cjs/commands/ListPlanExecutionEventsCommand.js +26 -0
- package/dist-cjs/commands/ListPlanExecutionsCommand.js +26 -0
- package/dist-cjs/commands/ListPlansCommand.js +29 -0
- package/dist-cjs/commands/ListPlansInRegionCommand.js +26 -0
- package/dist-cjs/commands/ListRoute53HealthChecksCommand.js +29 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +29 -0
- package/dist-cjs/commands/StartPlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +29 -0
- package/dist-cjs/commands/UntagResourceCommand.js +29 -0
- package/dist-cjs/commands/UpdatePlanCommand.js +29 -0
- package/dist-cjs/commands/UpdatePlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/UpdatePlanExecutionStepCommand.js +26 -0
- package/dist-cjs/commands/index.js +23 -0
- package/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/ARCRegionSwitchServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +233 -0
- package/dist-cjs/pagination/GetPlanEvaluationStatusPaginator.js +7 -0
- package/dist-cjs/pagination/GetPlanExecutionPaginator.js +7 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListPlanExecutionEventsPaginator.js +7 -0
- package/dist-cjs/pagination/ListPlanExecutionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListPlansInRegionPaginator.js +7 -0
- package/dist-cjs/pagination/ListPlansPaginator.js +7 -0
- package/dist-cjs/pagination/ListRoute53HealthChecksPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_json1_0.js +919 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForPlanEvaluationStatusPassed.js +54 -0
- package/dist-cjs/waiters/waitForPlanExecutionCompleted.js +72 -0
- package/dist-es/ARCRegionSwitch.js +47 -0
- package/dist-es/ARCRegionSwitchClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/ApprovePlanExecutionStepCommand.js +22 -0
- package/dist-es/commands/CancelPlanExecutionCommand.js +22 -0
- package/dist-es/commands/CreatePlanCommand.js +25 -0
- package/dist-es/commands/DeletePlanCommand.js +25 -0
- package/dist-es/commands/GetPlanCommand.js +25 -0
- package/dist-es/commands/GetPlanEvaluationStatusCommand.js +22 -0
- package/dist-es/commands/GetPlanExecutionCommand.js +22 -0
- package/dist-es/commands/GetPlanInRegionCommand.js +22 -0
- package/dist-es/commands/ListPlanExecutionEventsCommand.js +22 -0
- package/dist-es/commands/ListPlanExecutionsCommand.js +22 -0
- package/dist-es/commands/ListPlansCommand.js +25 -0
- package/dist-es/commands/ListPlansInRegionCommand.js +22 -0
- package/dist-es/commands/ListRoute53HealthChecksCommand.js +25 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +25 -0
- package/dist-es/commands/StartPlanExecutionCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +25 -0
- package/dist-es/commands/UntagResourceCommand.js +25 -0
- package/dist-es/commands/UpdatePlanCommand.js +25 -0
- package/dist-es/commands/UpdatePlanExecutionCommand.js +22 -0
- package/dist-es/commands/UpdatePlanExecutionStepCommand.js +22 -0
- package/dist-es/commands/index.js +20 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/ARCRegionSwitchServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +225 -0
- package/dist-es/pagination/GetPlanEvaluationStatusPaginator.js +4 -0
- package/dist-es/pagination/GetPlanExecutionPaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListPlanExecutionEventsPaginator.js +4 -0
- package/dist-es/pagination/ListPlanExecutionsPaginator.js +4 -0
- package/dist-es/pagination/ListPlansInRegionPaginator.js +4 -0
- package/dist-es/pagination/ListPlansPaginator.js +4 -0
- package/dist-es/pagination/ListRoute53HealthChecksPaginator.js +4 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_json1_0.js +876 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForPlanEvaluationStatusPassed.js +49 -0
- package/dist-es/waiters/waitForPlanExecutionCompleted.js +67 -0
- package/dist-types/ARCRegionSwitch.d.ts +152 -0
- package/dist-types/ARCRegionSwitchClient.d.ts +207 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/ApprovePlanExecutionStepCommand.d.ts +80 -0
- package/dist-types/commands/CancelPlanExecutionCommand.d.ts +78 -0
- package/dist-types/commands/CreatePlanCommand.d.ts +697 -0
- package/dist-types/commands/DeletePlanCommand.d.ts +76 -0
- package/dist-types/commands/GetPlanCommand.d.ts +389 -0
- package/dist-types/commands/GetPlanEvaluationStatusCommand.d.ts +99 -0
- package/dist-types/commands/GetPlanExecutionCommand.d.ts +417 -0
- package/dist-types/commands/GetPlanInRegionCommand.d.ts +392 -0
- package/dist-types/commands/ListPlanExecutionEventsCommand.d.ts +97 -0
- package/dist-types/commands/ListPlanExecutionsCommand.d.ts +97 -0
- package/dist-types/commands/ListPlansCommand.d.ts +91 -0
- package/dist-types/commands/ListPlansInRegionCommand.d.ts +94 -0
- package/dist-types/commands/ListRoute53HealthChecksCommand.d.ts +93 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +80 -0
- package/dist-types/commands/StartPlanExecutionCommand.d.ts +93 -0
- package/dist-types/commands/TagResourceCommand.d.ts +79 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +79 -0
- package/dist-types/commands/UpdatePlanCommand.d.ts +692 -0
- package/dist-types/commands/UpdatePlanExecutionCommand.d.ts +82 -0
- package/dist-types/commands/UpdatePlanExecutionStepCommand.d.ts +80 -0
- package/dist-types/commands/index.d.ts +20 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/ARCRegionSwitchServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2370 -0
- package/dist-types/pagination/GetPlanEvaluationStatusPaginator.d.ts +7 -0
- package/dist-types/pagination/GetPlanExecutionPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListPlanExecutionEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPlanExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPlansInRegionPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPlansPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRoute53HealthChecksPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +182 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/ARCRegionSwitch.d.ts +349 -0
- package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +240 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/ApprovePlanExecutionStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelPlanExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePlanCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeletePlanCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetPlanCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetPlanEvaluationStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPlanExecutionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetPlanInRegionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListPlanExecutionEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPlanExecutionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPlansCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListPlansInRegionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRoute53HealthChecksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartPlanExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdatePlanCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdatePlanExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePlanExecutionStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +20 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +46 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/ARCRegionSwitchServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +813 -0
- package/dist-types/ts3.4/pagination/GetPlanEvaluationStatusPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetPlanExecutionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListPlanExecutionEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPlanExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPlansInRegionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPlansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRoute53HealthChecksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +245 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForPlanEvaluationStatusPassed.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPlanExecutionCompleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForPlanEvaluationStatusPassed.d.ts +14 -0
- package/dist-types/waiters/waitForPlanExecutionCompleted.d.ts +14 -0
- package/package.json +100 -0
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { ARCRegionSwitchClient } from "./ARCRegionSwitchClient";
|
|
3
|
+
import {
|
|
4
|
+
ApprovePlanExecutionStepCommandInput,
|
|
5
|
+
ApprovePlanExecutionStepCommandOutput,
|
|
6
|
+
} from "./commands/ApprovePlanExecutionStepCommand";
|
|
7
|
+
import {
|
|
8
|
+
CancelPlanExecutionCommandInput,
|
|
9
|
+
CancelPlanExecutionCommandOutput,
|
|
10
|
+
} from "./commands/CancelPlanExecutionCommand";
|
|
11
|
+
import {
|
|
12
|
+
CreatePlanCommandInput,
|
|
13
|
+
CreatePlanCommandOutput,
|
|
14
|
+
} from "./commands/CreatePlanCommand";
|
|
15
|
+
import {
|
|
16
|
+
DeletePlanCommandInput,
|
|
17
|
+
DeletePlanCommandOutput,
|
|
18
|
+
} from "./commands/DeletePlanCommand";
|
|
19
|
+
import {
|
|
20
|
+
GetPlanCommandInput,
|
|
21
|
+
GetPlanCommandOutput,
|
|
22
|
+
} from "./commands/GetPlanCommand";
|
|
23
|
+
import {
|
|
24
|
+
GetPlanEvaluationStatusCommandInput,
|
|
25
|
+
GetPlanEvaluationStatusCommandOutput,
|
|
26
|
+
} from "./commands/GetPlanEvaluationStatusCommand";
|
|
27
|
+
import {
|
|
28
|
+
GetPlanExecutionCommandInput,
|
|
29
|
+
GetPlanExecutionCommandOutput,
|
|
30
|
+
} from "./commands/GetPlanExecutionCommand";
|
|
31
|
+
import {
|
|
32
|
+
GetPlanInRegionCommandInput,
|
|
33
|
+
GetPlanInRegionCommandOutput,
|
|
34
|
+
} from "./commands/GetPlanInRegionCommand";
|
|
35
|
+
import {
|
|
36
|
+
ListPlanExecutionEventsCommandInput,
|
|
37
|
+
ListPlanExecutionEventsCommandOutput,
|
|
38
|
+
} from "./commands/ListPlanExecutionEventsCommand";
|
|
39
|
+
import {
|
|
40
|
+
ListPlanExecutionsCommandInput,
|
|
41
|
+
ListPlanExecutionsCommandOutput,
|
|
42
|
+
} from "./commands/ListPlanExecutionsCommand";
|
|
43
|
+
import {
|
|
44
|
+
ListPlansCommandInput,
|
|
45
|
+
ListPlansCommandOutput,
|
|
46
|
+
} from "./commands/ListPlansCommand";
|
|
47
|
+
import {
|
|
48
|
+
ListPlansInRegionCommandInput,
|
|
49
|
+
ListPlansInRegionCommandOutput,
|
|
50
|
+
} from "./commands/ListPlansInRegionCommand";
|
|
51
|
+
import {
|
|
52
|
+
ListRoute53HealthChecksCommandInput,
|
|
53
|
+
ListRoute53HealthChecksCommandOutput,
|
|
54
|
+
} from "./commands/ListRoute53HealthChecksCommand";
|
|
55
|
+
import {
|
|
56
|
+
ListTagsForResourceCommandInput,
|
|
57
|
+
ListTagsForResourceCommandOutput,
|
|
58
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
59
|
+
import {
|
|
60
|
+
StartPlanExecutionCommandInput,
|
|
61
|
+
StartPlanExecutionCommandOutput,
|
|
62
|
+
} from "./commands/StartPlanExecutionCommand";
|
|
63
|
+
import {
|
|
64
|
+
TagResourceCommandInput,
|
|
65
|
+
TagResourceCommandOutput,
|
|
66
|
+
} from "./commands/TagResourceCommand";
|
|
67
|
+
import {
|
|
68
|
+
UntagResourceCommandInput,
|
|
69
|
+
UntagResourceCommandOutput,
|
|
70
|
+
} from "./commands/UntagResourceCommand";
|
|
71
|
+
import {
|
|
72
|
+
UpdatePlanCommandInput,
|
|
73
|
+
UpdatePlanCommandOutput,
|
|
74
|
+
} from "./commands/UpdatePlanCommand";
|
|
75
|
+
import {
|
|
76
|
+
UpdatePlanExecutionCommandInput,
|
|
77
|
+
UpdatePlanExecutionCommandOutput,
|
|
78
|
+
} from "./commands/UpdatePlanExecutionCommand";
|
|
79
|
+
import {
|
|
80
|
+
UpdatePlanExecutionStepCommandInput,
|
|
81
|
+
UpdatePlanExecutionStepCommandOutput,
|
|
82
|
+
} from "./commands/UpdatePlanExecutionStepCommand";
|
|
83
|
+
export interface ARCRegionSwitch {
|
|
84
|
+
approvePlanExecutionStep(
|
|
85
|
+
args: ApprovePlanExecutionStepCommandInput,
|
|
86
|
+
options?: __HttpHandlerOptions
|
|
87
|
+
): Promise<ApprovePlanExecutionStepCommandOutput>;
|
|
88
|
+
approvePlanExecutionStep(
|
|
89
|
+
args: ApprovePlanExecutionStepCommandInput,
|
|
90
|
+
cb: (err: any, data?: ApprovePlanExecutionStepCommandOutput) => void
|
|
91
|
+
): void;
|
|
92
|
+
approvePlanExecutionStep(
|
|
93
|
+
args: ApprovePlanExecutionStepCommandInput,
|
|
94
|
+
options: __HttpHandlerOptions,
|
|
95
|
+
cb: (err: any, data?: ApprovePlanExecutionStepCommandOutput) => void
|
|
96
|
+
): void;
|
|
97
|
+
cancelPlanExecution(
|
|
98
|
+
args: CancelPlanExecutionCommandInput,
|
|
99
|
+
options?: __HttpHandlerOptions
|
|
100
|
+
): Promise<CancelPlanExecutionCommandOutput>;
|
|
101
|
+
cancelPlanExecution(
|
|
102
|
+
args: CancelPlanExecutionCommandInput,
|
|
103
|
+
cb: (err: any, data?: CancelPlanExecutionCommandOutput) => void
|
|
104
|
+
): void;
|
|
105
|
+
cancelPlanExecution(
|
|
106
|
+
args: CancelPlanExecutionCommandInput,
|
|
107
|
+
options: __HttpHandlerOptions,
|
|
108
|
+
cb: (err: any, data?: CancelPlanExecutionCommandOutput) => void
|
|
109
|
+
): void;
|
|
110
|
+
createPlan(
|
|
111
|
+
args: CreatePlanCommandInput,
|
|
112
|
+
options?: __HttpHandlerOptions
|
|
113
|
+
): Promise<CreatePlanCommandOutput>;
|
|
114
|
+
createPlan(
|
|
115
|
+
args: CreatePlanCommandInput,
|
|
116
|
+
cb: (err: any, data?: CreatePlanCommandOutput) => void
|
|
117
|
+
): void;
|
|
118
|
+
createPlan(
|
|
119
|
+
args: CreatePlanCommandInput,
|
|
120
|
+
options: __HttpHandlerOptions,
|
|
121
|
+
cb: (err: any, data?: CreatePlanCommandOutput) => void
|
|
122
|
+
): void;
|
|
123
|
+
deletePlan(
|
|
124
|
+
args: DeletePlanCommandInput,
|
|
125
|
+
options?: __HttpHandlerOptions
|
|
126
|
+
): Promise<DeletePlanCommandOutput>;
|
|
127
|
+
deletePlan(
|
|
128
|
+
args: DeletePlanCommandInput,
|
|
129
|
+
cb: (err: any, data?: DeletePlanCommandOutput) => void
|
|
130
|
+
): void;
|
|
131
|
+
deletePlan(
|
|
132
|
+
args: DeletePlanCommandInput,
|
|
133
|
+
options: __HttpHandlerOptions,
|
|
134
|
+
cb: (err: any, data?: DeletePlanCommandOutput) => void
|
|
135
|
+
): void;
|
|
136
|
+
getPlan(
|
|
137
|
+
args: GetPlanCommandInput,
|
|
138
|
+
options?: __HttpHandlerOptions
|
|
139
|
+
): Promise<GetPlanCommandOutput>;
|
|
140
|
+
getPlan(
|
|
141
|
+
args: GetPlanCommandInput,
|
|
142
|
+
cb: (err: any, data?: GetPlanCommandOutput) => void
|
|
143
|
+
): void;
|
|
144
|
+
getPlan(
|
|
145
|
+
args: GetPlanCommandInput,
|
|
146
|
+
options: __HttpHandlerOptions,
|
|
147
|
+
cb: (err: any, data?: GetPlanCommandOutput) => void
|
|
148
|
+
): void;
|
|
149
|
+
getPlanEvaluationStatus(
|
|
150
|
+
args: GetPlanEvaluationStatusCommandInput,
|
|
151
|
+
options?: __HttpHandlerOptions
|
|
152
|
+
): Promise<GetPlanEvaluationStatusCommandOutput>;
|
|
153
|
+
getPlanEvaluationStatus(
|
|
154
|
+
args: GetPlanEvaluationStatusCommandInput,
|
|
155
|
+
cb: (err: any, data?: GetPlanEvaluationStatusCommandOutput) => void
|
|
156
|
+
): void;
|
|
157
|
+
getPlanEvaluationStatus(
|
|
158
|
+
args: GetPlanEvaluationStatusCommandInput,
|
|
159
|
+
options: __HttpHandlerOptions,
|
|
160
|
+
cb: (err: any, data?: GetPlanEvaluationStatusCommandOutput) => void
|
|
161
|
+
): void;
|
|
162
|
+
getPlanExecution(
|
|
163
|
+
args: GetPlanExecutionCommandInput,
|
|
164
|
+
options?: __HttpHandlerOptions
|
|
165
|
+
): Promise<GetPlanExecutionCommandOutput>;
|
|
166
|
+
getPlanExecution(
|
|
167
|
+
args: GetPlanExecutionCommandInput,
|
|
168
|
+
cb: (err: any, data?: GetPlanExecutionCommandOutput) => void
|
|
169
|
+
): void;
|
|
170
|
+
getPlanExecution(
|
|
171
|
+
args: GetPlanExecutionCommandInput,
|
|
172
|
+
options: __HttpHandlerOptions,
|
|
173
|
+
cb: (err: any, data?: GetPlanExecutionCommandOutput) => void
|
|
174
|
+
): void;
|
|
175
|
+
getPlanInRegion(
|
|
176
|
+
args: GetPlanInRegionCommandInput,
|
|
177
|
+
options?: __HttpHandlerOptions
|
|
178
|
+
): Promise<GetPlanInRegionCommandOutput>;
|
|
179
|
+
getPlanInRegion(
|
|
180
|
+
args: GetPlanInRegionCommandInput,
|
|
181
|
+
cb: (err: any, data?: GetPlanInRegionCommandOutput) => void
|
|
182
|
+
): void;
|
|
183
|
+
getPlanInRegion(
|
|
184
|
+
args: GetPlanInRegionCommandInput,
|
|
185
|
+
options: __HttpHandlerOptions,
|
|
186
|
+
cb: (err: any, data?: GetPlanInRegionCommandOutput) => void
|
|
187
|
+
): void;
|
|
188
|
+
listPlanExecutionEvents(
|
|
189
|
+
args: ListPlanExecutionEventsCommandInput,
|
|
190
|
+
options?: __HttpHandlerOptions
|
|
191
|
+
): Promise<ListPlanExecutionEventsCommandOutput>;
|
|
192
|
+
listPlanExecutionEvents(
|
|
193
|
+
args: ListPlanExecutionEventsCommandInput,
|
|
194
|
+
cb: (err: any, data?: ListPlanExecutionEventsCommandOutput) => void
|
|
195
|
+
): void;
|
|
196
|
+
listPlanExecutionEvents(
|
|
197
|
+
args: ListPlanExecutionEventsCommandInput,
|
|
198
|
+
options: __HttpHandlerOptions,
|
|
199
|
+
cb: (err: any, data?: ListPlanExecutionEventsCommandOutput) => void
|
|
200
|
+
): void;
|
|
201
|
+
listPlanExecutions(
|
|
202
|
+
args: ListPlanExecutionsCommandInput,
|
|
203
|
+
options?: __HttpHandlerOptions
|
|
204
|
+
): Promise<ListPlanExecutionsCommandOutput>;
|
|
205
|
+
listPlanExecutions(
|
|
206
|
+
args: ListPlanExecutionsCommandInput,
|
|
207
|
+
cb: (err: any, data?: ListPlanExecutionsCommandOutput) => void
|
|
208
|
+
): void;
|
|
209
|
+
listPlanExecutions(
|
|
210
|
+
args: ListPlanExecutionsCommandInput,
|
|
211
|
+
options: __HttpHandlerOptions,
|
|
212
|
+
cb: (err: any, data?: ListPlanExecutionsCommandOutput) => void
|
|
213
|
+
): void;
|
|
214
|
+
listPlans(): Promise<ListPlansCommandOutput>;
|
|
215
|
+
listPlans(
|
|
216
|
+
args: ListPlansCommandInput,
|
|
217
|
+
options?: __HttpHandlerOptions
|
|
218
|
+
): Promise<ListPlansCommandOutput>;
|
|
219
|
+
listPlans(
|
|
220
|
+
args: ListPlansCommandInput,
|
|
221
|
+
cb: (err: any, data?: ListPlansCommandOutput) => void
|
|
222
|
+
): void;
|
|
223
|
+
listPlans(
|
|
224
|
+
args: ListPlansCommandInput,
|
|
225
|
+
options: __HttpHandlerOptions,
|
|
226
|
+
cb: (err: any, data?: ListPlansCommandOutput) => void
|
|
227
|
+
): void;
|
|
228
|
+
listPlansInRegion(): Promise<ListPlansInRegionCommandOutput>;
|
|
229
|
+
listPlansInRegion(
|
|
230
|
+
args: ListPlansInRegionCommandInput,
|
|
231
|
+
options?: __HttpHandlerOptions
|
|
232
|
+
): Promise<ListPlansInRegionCommandOutput>;
|
|
233
|
+
listPlansInRegion(
|
|
234
|
+
args: ListPlansInRegionCommandInput,
|
|
235
|
+
cb: (err: any, data?: ListPlansInRegionCommandOutput) => void
|
|
236
|
+
): void;
|
|
237
|
+
listPlansInRegion(
|
|
238
|
+
args: ListPlansInRegionCommandInput,
|
|
239
|
+
options: __HttpHandlerOptions,
|
|
240
|
+
cb: (err: any, data?: ListPlansInRegionCommandOutput) => void
|
|
241
|
+
): void;
|
|
242
|
+
listRoute53HealthChecks(
|
|
243
|
+
args: ListRoute53HealthChecksCommandInput,
|
|
244
|
+
options?: __HttpHandlerOptions
|
|
245
|
+
): Promise<ListRoute53HealthChecksCommandOutput>;
|
|
246
|
+
listRoute53HealthChecks(
|
|
247
|
+
args: ListRoute53HealthChecksCommandInput,
|
|
248
|
+
cb: (err: any, data?: ListRoute53HealthChecksCommandOutput) => void
|
|
249
|
+
): void;
|
|
250
|
+
listRoute53HealthChecks(
|
|
251
|
+
args: ListRoute53HealthChecksCommandInput,
|
|
252
|
+
options: __HttpHandlerOptions,
|
|
253
|
+
cb: (err: any, data?: ListRoute53HealthChecksCommandOutput) => void
|
|
254
|
+
): void;
|
|
255
|
+
listTagsForResource(
|
|
256
|
+
args: ListTagsForResourceCommandInput,
|
|
257
|
+
options?: __HttpHandlerOptions
|
|
258
|
+
): Promise<ListTagsForResourceCommandOutput>;
|
|
259
|
+
listTagsForResource(
|
|
260
|
+
args: ListTagsForResourceCommandInput,
|
|
261
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
262
|
+
): void;
|
|
263
|
+
listTagsForResource(
|
|
264
|
+
args: ListTagsForResourceCommandInput,
|
|
265
|
+
options: __HttpHandlerOptions,
|
|
266
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
267
|
+
): void;
|
|
268
|
+
startPlanExecution(
|
|
269
|
+
args: StartPlanExecutionCommandInput,
|
|
270
|
+
options?: __HttpHandlerOptions
|
|
271
|
+
): Promise<StartPlanExecutionCommandOutput>;
|
|
272
|
+
startPlanExecution(
|
|
273
|
+
args: StartPlanExecutionCommandInput,
|
|
274
|
+
cb: (err: any, data?: StartPlanExecutionCommandOutput) => void
|
|
275
|
+
): void;
|
|
276
|
+
startPlanExecution(
|
|
277
|
+
args: StartPlanExecutionCommandInput,
|
|
278
|
+
options: __HttpHandlerOptions,
|
|
279
|
+
cb: (err: any, data?: StartPlanExecutionCommandOutput) => void
|
|
280
|
+
): void;
|
|
281
|
+
tagResource(
|
|
282
|
+
args: TagResourceCommandInput,
|
|
283
|
+
options?: __HttpHandlerOptions
|
|
284
|
+
): Promise<TagResourceCommandOutput>;
|
|
285
|
+
tagResource(
|
|
286
|
+
args: TagResourceCommandInput,
|
|
287
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
288
|
+
): void;
|
|
289
|
+
tagResource(
|
|
290
|
+
args: TagResourceCommandInput,
|
|
291
|
+
options: __HttpHandlerOptions,
|
|
292
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
293
|
+
): void;
|
|
294
|
+
untagResource(
|
|
295
|
+
args: UntagResourceCommandInput,
|
|
296
|
+
options?: __HttpHandlerOptions
|
|
297
|
+
): Promise<UntagResourceCommandOutput>;
|
|
298
|
+
untagResource(
|
|
299
|
+
args: UntagResourceCommandInput,
|
|
300
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
301
|
+
): void;
|
|
302
|
+
untagResource(
|
|
303
|
+
args: UntagResourceCommandInput,
|
|
304
|
+
options: __HttpHandlerOptions,
|
|
305
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
306
|
+
): void;
|
|
307
|
+
updatePlan(
|
|
308
|
+
args: UpdatePlanCommandInput,
|
|
309
|
+
options?: __HttpHandlerOptions
|
|
310
|
+
): Promise<UpdatePlanCommandOutput>;
|
|
311
|
+
updatePlan(
|
|
312
|
+
args: UpdatePlanCommandInput,
|
|
313
|
+
cb: (err: any, data?: UpdatePlanCommandOutput) => void
|
|
314
|
+
): void;
|
|
315
|
+
updatePlan(
|
|
316
|
+
args: UpdatePlanCommandInput,
|
|
317
|
+
options: __HttpHandlerOptions,
|
|
318
|
+
cb: (err: any, data?: UpdatePlanCommandOutput) => void
|
|
319
|
+
): void;
|
|
320
|
+
updatePlanExecution(
|
|
321
|
+
args: UpdatePlanExecutionCommandInput,
|
|
322
|
+
options?: __HttpHandlerOptions
|
|
323
|
+
): Promise<UpdatePlanExecutionCommandOutput>;
|
|
324
|
+
updatePlanExecution(
|
|
325
|
+
args: UpdatePlanExecutionCommandInput,
|
|
326
|
+
cb: (err: any, data?: UpdatePlanExecutionCommandOutput) => void
|
|
327
|
+
): void;
|
|
328
|
+
updatePlanExecution(
|
|
329
|
+
args: UpdatePlanExecutionCommandInput,
|
|
330
|
+
options: __HttpHandlerOptions,
|
|
331
|
+
cb: (err: any, data?: UpdatePlanExecutionCommandOutput) => void
|
|
332
|
+
): void;
|
|
333
|
+
updatePlanExecutionStep(
|
|
334
|
+
args: UpdatePlanExecutionStepCommandInput,
|
|
335
|
+
options?: __HttpHandlerOptions
|
|
336
|
+
): Promise<UpdatePlanExecutionStepCommandOutput>;
|
|
337
|
+
updatePlanExecutionStep(
|
|
338
|
+
args: UpdatePlanExecutionStepCommandInput,
|
|
339
|
+
cb: (err: any, data?: UpdatePlanExecutionStepCommandOutput) => void
|
|
340
|
+
): void;
|
|
341
|
+
updatePlanExecutionStep(
|
|
342
|
+
args: UpdatePlanExecutionStepCommandInput,
|
|
343
|
+
options: __HttpHandlerOptions,
|
|
344
|
+
cb: (err: any, data?: UpdatePlanExecutionStepCommandOutput) => void
|
|
345
|
+
): void;
|
|
346
|
+
}
|
|
347
|
+
export declare class ARCRegionSwitch
|
|
348
|
+
extends ARCRegionSwitchClient
|
|
349
|
+
implements ARCRegionSwitch {}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
UserAgentInputConfig,
|
|
7
|
+
UserAgentResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import {
|
|
10
|
+
RegionInputConfig,
|
|
11
|
+
RegionResolvedConfig,
|
|
12
|
+
} from "@smithy/config-resolver";
|
|
13
|
+
import {
|
|
14
|
+
EndpointInputConfig,
|
|
15
|
+
EndpointResolvedConfig,
|
|
16
|
+
} from "@smithy/middleware-endpoint";
|
|
17
|
+
import {
|
|
18
|
+
RetryInputConfig,
|
|
19
|
+
RetryResolvedConfig,
|
|
20
|
+
} from "@smithy/middleware-retry";
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
|
+
import {
|
|
23
|
+
Client as __Client,
|
|
24
|
+
DefaultsMode as __DefaultsMode,
|
|
25
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
26
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
27
|
+
} from "@smithy/smithy-client";
|
|
28
|
+
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
30
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
Decoder as __Decoder,
|
|
34
|
+
Encoder as __Encoder,
|
|
35
|
+
HashConstructor as __HashConstructor,
|
|
36
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
+
Logger as __Logger,
|
|
38
|
+
Provider as __Provider,
|
|
39
|
+
Provider,
|
|
40
|
+
StreamCollector as __StreamCollector,
|
|
41
|
+
UrlParser as __UrlParser,
|
|
42
|
+
UserAgent as __UserAgent,
|
|
43
|
+
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
ApprovePlanExecutionStepCommandInput,
|
|
50
|
+
ApprovePlanExecutionStepCommandOutput,
|
|
51
|
+
} from "./commands/ApprovePlanExecutionStepCommand";
|
|
52
|
+
import {
|
|
53
|
+
CancelPlanExecutionCommandInput,
|
|
54
|
+
CancelPlanExecutionCommandOutput,
|
|
55
|
+
} from "./commands/CancelPlanExecutionCommand";
|
|
56
|
+
import {
|
|
57
|
+
CreatePlanCommandInput,
|
|
58
|
+
CreatePlanCommandOutput,
|
|
59
|
+
} from "./commands/CreatePlanCommand";
|
|
60
|
+
import {
|
|
61
|
+
DeletePlanCommandInput,
|
|
62
|
+
DeletePlanCommandOutput,
|
|
63
|
+
} from "./commands/DeletePlanCommand";
|
|
64
|
+
import {
|
|
65
|
+
GetPlanCommandInput,
|
|
66
|
+
GetPlanCommandOutput,
|
|
67
|
+
} from "./commands/GetPlanCommand";
|
|
68
|
+
import {
|
|
69
|
+
GetPlanEvaluationStatusCommandInput,
|
|
70
|
+
GetPlanEvaluationStatusCommandOutput,
|
|
71
|
+
} from "./commands/GetPlanEvaluationStatusCommand";
|
|
72
|
+
import {
|
|
73
|
+
GetPlanExecutionCommandInput,
|
|
74
|
+
GetPlanExecutionCommandOutput,
|
|
75
|
+
} from "./commands/GetPlanExecutionCommand";
|
|
76
|
+
import {
|
|
77
|
+
GetPlanInRegionCommandInput,
|
|
78
|
+
GetPlanInRegionCommandOutput,
|
|
79
|
+
} from "./commands/GetPlanInRegionCommand";
|
|
80
|
+
import {
|
|
81
|
+
ListPlanExecutionEventsCommandInput,
|
|
82
|
+
ListPlanExecutionEventsCommandOutput,
|
|
83
|
+
} from "./commands/ListPlanExecutionEventsCommand";
|
|
84
|
+
import {
|
|
85
|
+
ListPlanExecutionsCommandInput,
|
|
86
|
+
ListPlanExecutionsCommandOutput,
|
|
87
|
+
} from "./commands/ListPlanExecutionsCommand";
|
|
88
|
+
import {
|
|
89
|
+
ListPlansCommandInput,
|
|
90
|
+
ListPlansCommandOutput,
|
|
91
|
+
} from "./commands/ListPlansCommand";
|
|
92
|
+
import {
|
|
93
|
+
ListPlansInRegionCommandInput,
|
|
94
|
+
ListPlansInRegionCommandOutput,
|
|
95
|
+
} from "./commands/ListPlansInRegionCommand";
|
|
96
|
+
import {
|
|
97
|
+
ListRoute53HealthChecksCommandInput,
|
|
98
|
+
ListRoute53HealthChecksCommandOutput,
|
|
99
|
+
} from "./commands/ListRoute53HealthChecksCommand";
|
|
100
|
+
import {
|
|
101
|
+
ListTagsForResourceCommandInput,
|
|
102
|
+
ListTagsForResourceCommandOutput,
|
|
103
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
104
|
+
import {
|
|
105
|
+
StartPlanExecutionCommandInput,
|
|
106
|
+
StartPlanExecutionCommandOutput,
|
|
107
|
+
} from "./commands/StartPlanExecutionCommand";
|
|
108
|
+
import {
|
|
109
|
+
TagResourceCommandInput,
|
|
110
|
+
TagResourceCommandOutput,
|
|
111
|
+
} from "./commands/TagResourceCommand";
|
|
112
|
+
import {
|
|
113
|
+
UntagResourceCommandInput,
|
|
114
|
+
UntagResourceCommandOutput,
|
|
115
|
+
} from "./commands/UntagResourceCommand";
|
|
116
|
+
import {
|
|
117
|
+
UpdatePlanCommandInput,
|
|
118
|
+
UpdatePlanCommandOutput,
|
|
119
|
+
} from "./commands/UpdatePlanCommand";
|
|
120
|
+
import {
|
|
121
|
+
UpdatePlanExecutionCommandInput,
|
|
122
|
+
UpdatePlanExecutionCommandOutput,
|
|
123
|
+
} from "./commands/UpdatePlanExecutionCommand";
|
|
124
|
+
import {
|
|
125
|
+
UpdatePlanExecutionStepCommandInput,
|
|
126
|
+
UpdatePlanExecutionStepCommandOutput,
|
|
127
|
+
} from "./commands/UpdatePlanExecutionStepCommand";
|
|
128
|
+
import {
|
|
129
|
+
ClientInputEndpointParameters,
|
|
130
|
+
ClientResolvedEndpointParameters,
|
|
131
|
+
EndpointParameters,
|
|
132
|
+
} from "./endpoint/EndpointParameters";
|
|
133
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
134
|
+
export { __Client };
|
|
135
|
+
export type ServiceInputTypes =
|
|
136
|
+
| ApprovePlanExecutionStepCommandInput
|
|
137
|
+
| CancelPlanExecutionCommandInput
|
|
138
|
+
| CreatePlanCommandInput
|
|
139
|
+
| DeletePlanCommandInput
|
|
140
|
+
| GetPlanCommandInput
|
|
141
|
+
| GetPlanEvaluationStatusCommandInput
|
|
142
|
+
| GetPlanExecutionCommandInput
|
|
143
|
+
| GetPlanInRegionCommandInput
|
|
144
|
+
| ListPlanExecutionEventsCommandInput
|
|
145
|
+
| ListPlanExecutionsCommandInput
|
|
146
|
+
| ListPlansCommandInput
|
|
147
|
+
| ListPlansInRegionCommandInput
|
|
148
|
+
| ListRoute53HealthChecksCommandInput
|
|
149
|
+
| ListTagsForResourceCommandInput
|
|
150
|
+
| StartPlanExecutionCommandInput
|
|
151
|
+
| TagResourceCommandInput
|
|
152
|
+
| UntagResourceCommandInput
|
|
153
|
+
| UpdatePlanCommandInput
|
|
154
|
+
| UpdatePlanExecutionCommandInput
|
|
155
|
+
| UpdatePlanExecutionStepCommandInput;
|
|
156
|
+
export type ServiceOutputTypes =
|
|
157
|
+
| ApprovePlanExecutionStepCommandOutput
|
|
158
|
+
| CancelPlanExecutionCommandOutput
|
|
159
|
+
| CreatePlanCommandOutput
|
|
160
|
+
| DeletePlanCommandOutput
|
|
161
|
+
| GetPlanCommandOutput
|
|
162
|
+
| GetPlanEvaluationStatusCommandOutput
|
|
163
|
+
| GetPlanExecutionCommandOutput
|
|
164
|
+
| GetPlanInRegionCommandOutput
|
|
165
|
+
| ListPlanExecutionEventsCommandOutput
|
|
166
|
+
| ListPlanExecutionsCommandOutput
|
|
167
|
+
| ListPlansCommandOutput
|
|
168
|
+
| ListPlansInRegionCommandOutput
|
|
169
|
+
| ListRoute53HealthChecksCommandOutput
|
|
170
|
+
| ListTagsForResourceCommandOutput
|
|
171
|
+
| StartPlanExecutionCommandOutput
|
|
172
|
+
| TagResourceCommandOutput
|
|
173
|
+
| UntagResourceCommandOutput
|
|
174
|
+
| UpdatePlanCommandOutput
|
|
175
|
+
| UpdatePlanExecutionCommandOutput
|
|
176
|
+
| UpdatePlanExecutionStepCommandOutput;
|
|
177
|
+
export interface ClientDefaults
|
|
178
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
179
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
180
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
181
|
+
urlParser?: __UrlParser;
|
|
182
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
183
|
+
streamCollector?: __StreamCollector;
|
|
184
|
+
base64Decoder?: __Decoder;
|
|
185
|
+
base64Encoder?: __Encoder;
|
|
186
|
+
utf8Decoder?: __Decoder;
|
|
187
|
+
utf8Encoder?: __Encoder;
|
|
188
|
+
runtime?: string;
|
|
189
|
+
disableHostPrefix?: boolean;
|
|
190
|
+
serviceId?: string;
|
|
191
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
192
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
193
|
+
region?: string | __Provider<string>;
|
|
194
|
+
profile?: string;
|
|
195
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
196
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
197
|
+
maxAttempts?: number | __Provider<number>;
|
|
198
|
+
retryMode?: string | __Provider<string>;
|
|
199
|
+
logger?: __Logger;
|
|
200
|
+
extensions?: RuntimeExtension[];
|
|
201
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
202
|
+
}
|
|
203
|
+
export type ARCRegionSwitchClientConfigType = Partial<
|
|
204
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
205
|
+
> &
|
|
206
|
+
ClientDefaults &
|
|
207
|
+
UserAgentInputConfig &
|
|
208
|
+
RetryInputConfig &
|
|
209
|
+
RegionInputConfig &
|
|
210
|
+
HostHeaderInputConfig &
|
|
211
|
+
EndpointInputConfig<EndpointParameters> &
|
|
212
|
+
HttpAuthSchemeInputConfig &
|
|
213
|
+
ClientInputEndpointParameters;
|
|
214
|
+
export interface ARCRegionSwitchClientConfig
|
|
215
|
+
extends ARCRegionSwitchClientConfigType {}
|
|
216
|
+
export type ARCRegionSwitchClientResolvedConfigType =
|
|
217
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
218
|
+
Required<ClientDefaults> &
|
|
219
|
+
RuntimeExtensionsConfig &
|
|
220
|
+
UserAgentResolvedConfig &
|
|
221
|
+
RetryResolvedConfig &
|
|
222
|
+
RegionResolvedConfig &
|
|
223
|
+
HostHeaderResolvedConfig &
|
|
224
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
225
|
+
HttpAuthSchemeResolvedConfig &
|
|
226
|
+
ClientResolvedEndpointParameters;
|
|
227
|
+
export interface ARCRegionSwitchClientResolvedConfig
|
|
228
|
+
extends ARCRegionSwitchClientResolvedConfigType {}
|
|
229
|
+
export declare class ARCRegionSwitchClient extends __Client<
|
|
230
|
+
__HttpHandlerOptions,
|
|
231
|
+
ServiceInputTypes,
|
|
232
|
+
ServiceOutputTypes,
|
|
233
|
+
ARCRegionSwitchClientResolvedConfig
|
|
234
|
+
> {
|
|
235
|
+
readonly config: ARCRegionSwitchClientResolvedConfig;
|
|
236
|
+
constructor(
|
|
237
|
+
...[configuration]: __CheckOptionalClientConfig<ARCRegionSwitchClientConfig>
|
|
238
|
+
);
|
|
239
|
+
destroy(): void;
|
|
240
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { ARCRegionSwitchHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: ARCRegionSwitchHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): ARCRegionSwitchHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: ARCRegionSwitchHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
13
|
+
} from "@smithy/types";
|
|
14
|
+
import { ARCRegionSwitchClientResolvedConfig } from "../ARCRegionSwitchClient";
|
|
15
|
+
export interface ARCRegionSwitchHttpAuthSchemeParameters
|
|
16
|
+
extends HttpAuthSchemeParameters {
|
|
17
|
+
region?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ARCRegionSwitchHttpAuthSchemeParametersProvider
|
|
20
|
+
extends HttpAuthSchemeParametersProvider<
|
|
21
|
+
ARCRegionSwitchClientResolvedConfig,
|
|
22
|
+
HandlerExecutionContext,
|
|
23
|
+
ARCRegionSwitchHttpAuthSchemeParameters,
|
|
24
|
+
object
|
|
25
|
+
> {}
|
|
26
|
+
export declare const defaultARCRegionSwitchHttpAuthSchemeParametersProvider: (
|
|
27
|
+
config: ARCRegionSwitchClientResolvedConfig,
|
|
28
|
+
context: HandlerExecutionContext,
|
|
29
|
+
input: object
|
|
30
|
+
) => Promise<ARCRegionSwitchHttpAuthSchemeParameters>;
|
|
31
|
+
export interface ARCRegionSwitchHttpAuthSchemeProvider
|
|
32
|
+
extends HttpAuthSchemeProvider<ARCRegionSwitchHttpAuthSchemeParameters> {}
|
|
33
|
+
export declare const defaultARCRegionSwitchHttpAuthSchemeProvider: ARCRegionSwitchHttpAuthSchemeProvider;
|
|
34
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
httpAuthSchemeProvider?: ARCRegionSwitchHttpAuthSchemeProvider;
|
|
38
|
+
}
|
|
39
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
42
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
|
+
readonly httpAuthSchemeProvider: ARCRegionSwitchHttpAuthSchemeProvider;
|
|
44
|
+
}
|
|
45
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
47
|
+
) => T & HttpAuthSchemeResolvedConfig;
|