@aws-sdk/client-arc-region-switch 3.1087.0 → 3.1089.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 +1 -1
- package/dist-types/ts3.4/ARCRegionSwitch.d.ts +80 -106
- package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +12 -40
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/ApprovePlanExecutionStepCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CancelPlanExecutionCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreatePlanCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeletePlanCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetPlanCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetPlanEvaluationStatusCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetPlanExecutionCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetPlanInRegionCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListPlanExecutionEventsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListPlanExecutionsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListPlansCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/ListPlansInRegionCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListRoute53HealthChecksCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListRoute53HealthChecksInRegionCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/StartPlanExecutionCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdatePlanCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdatePlanExecutionCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdatePlanExecutionStepCommand.d.ts +4 -6
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +8 -16
- package/dist-types/ts3.4/models/errors.d.ts +5 -15
- package/dist-types/ts3.4/models/models_0.d.ts +9 -27
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListPlansPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/waiters/waitForPlanEvaluationStatusPassed.d.ts +3 -7
- package/dist-types/ts3.4/waiters/waitForPlanExecutionCompleted.d.ts +3 -5
- package/package.json +38 -38
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
UpdatePlanExecutionStepResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface UpdatePlanExecutionStepCommandInput
|
|
8
|
-
extends UpdatePlanExecutionStepRequest {}
|
|
7
|
+
export interface UpdatePlanExecutionStepCommandInput extends UpdatePlanExecutionStepRequest {}
|
|
9
8
|
export interface UpdatePlanExecutionStepCommandOutput
|
|
10
|
-
extends UpdatePlanExecutionStepResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends UpdatePlanExecutionStepResponse, __MetadataBearer {}
|
|
12
10
|
declare const UpdatePlanExecutionStepCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: UpdatePlanExecutionStepCommandInput
|
|
12
|
+
input: UpdatePlanExecutionStepCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
UpdatePlanExecutionStepCommandInput,
|
|
17
15
|
UpdatePlanExecutionStepCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const UpdatePlanExecutionStepCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: UpdatePlanExecutionStepCommandInput
|
|
21
|
+
input: UpdatePlanExecutionStepCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
UpdatePlanExecutionStepCommandInput,
|
|
26
24
|
UpdatePlanExecutionStepCommandOutput,
|
|
@@ -22,7 +22,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
22
22
|
defaultSigningName: string;
|
|
23
23
|
};
|
|
24
24
|
export declare const resolveClientEndpointParameters: <T>(
|
|
25
|
-
options: T & ClientInputEndpointParameters
|
|
25
|
+
options: T & ClientInputEndpointParameters,
|
|
26
26
|
) => T & ClientResolvedEndpointParameters;
|
|
27
27
|
export declare const commonParams: {
|
|
28
28
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface ARCRegionSwitchExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -3,8 +3,7 @@ export declare const ExecutionAction: {
|
|
|
3
3
|
readonly DEACTIVATE: "deactivate";
|
|
4
4
|
readonly POST_RECOVERY: "postRecovery";
|
|
5
5
|
};
|
|
6
|
-
export type ExecutionAction =
|
|
7
|
-
(typeof ExecutionAction)[keyof typeof ExecutionAction];
|
|
6
|
+
export type ExecutionAction = (typeof ExecutionAction)[keyof typeof ExecutionAction];
|
|
8
7
|
export declare const ExecutionState: {
|
|
9
8
|
readonly CANCELLED: "canceled";
|
|
10
9
|
readonly COMPLETED: "completed";
|
|
@@ -18,8 +17,7 @@ export declare const ExecutionState: {
|
|
|
18
17
|
readonly PENDING_MANUAL_APPROVAL: "pendingManualApproval";
|
|
19
18
|
readonly PLAN_EXECUTION_TIMED_OUT: "planExecutionTimedOut";
|
|
20
19
|
};
|
|
21
|
-
export type ExecutionState =
|
|
22
|
-
(typeof ExecutionState)[keyof typeof ExecutionState];
|
|
20
|
+
export type ExecutionState = (typeof ExecutionState)[keyof typeof ExecutionState];
|
|
23
21
|
export declare const ExecutionMode: {
|
|
24
22
|
readonly GRACEFUL: "graceful";
|
|
25
23
|
readonly UNGRACEFUL: "ungraceful";
|
|
@@ -29,14 +27,12 @@ export declare const RecoveryApproach: {
|
|
|
29
27
|
readonly ACTIVE_ACTIVE: "activeActive";
|
|
30
28
|
readonly ACTIVE_PASSIVE: "activePassive";
|
|
31
29
|
};
|
|
32
|
-
export type RecoveryApproach =
|
|
33
|
-
(typeof RecoveryApproach)[keyof typeof RecoveryApproach];
|
|
30
|
+
export type RecoveryApproach = (typeof RecoveryApproach)[keyof typeof RecoveryApproach];
|
|
34
31
|
export declare const AlarmCondition: {
|
|
35
32
|
readonly GREEN: "green";
|
|
36
33
|
readonly RED: "red";
|
|
37
34
|
};
|
|
38
|
-
export type AlarmCondition =
|
|
39
|
-
(typeof AlarmCondition)[keyof typeof AlarmCondition];
|
|
35
|
+
export type AlarmCondition = (typeof AlarmCondition)[keyof typeof AlarmCondition];
|
|
40
36
|
export declare const AlarmType: {
|
|
41
37
|
readonly APPLICATION_HEALTH: "applicationHealth";
|
|
42
38
|
readonly TRIGGER: "trigger";
|
|
@@ -53,8 +49,7 @@ export declare const EvaluationStatus: {
|
|
|
53
49
|
readonly PENDING_EVALUATION: "pendingEvaluation";
|
|
54
50
|
readonly UNKNOWN: "unknown";
|
|
55
51
|
};
|
|
56
|
-
export type EvaluationStatus =
|
|
57
|
-
(typeof EvaluationStatus)[keyof typeof EvaluationStatus];
|
|
52
|
+
export type EvaluationStatus = (typeof EvaluationStatus)[keyof typeof EvaluationStatus];
|
|
58
53
|
export declare const ResourceWarningStatus: {
|
|
59
54
|
readonly ACTIVE: "active";
|
|
60
55
|
readonly RESOLVED: "resolved";
|
|
@@ -73,8 +68,7 @@ export declare const WorkflowTargetAction: {
|
|
|
73
68
|
readonly DEACTIVATE: "deactivate";
|
|
74
69
|
readonly POST_RECOVERY: "postRecovery";
|
|
75
70
|
};
|
|
76
|
-
export type WorkflowTargetAction =
|
|
77
|
-
(typeof WorkflowTargetAction)[keyof typeof WorkflowTargetAction];
|
|
71
|
+
export type WorkflowTargetAction = (typeof WorkflowTargetAction)[keyof typeof WorkflowTargetAction];
|
|
78
72
|
export declare const RoutingControlStateChange: {
|
|
79
73
|
readonly OFF: "Off";
|
|
80
74
|
readonly ON: "On";
|
|
@@ -173,8 +167,7 @@ export declare const ExecutionBlockType: {
|
|
|
173
167
|
readonly ROUTE53_HEALTH_CHECK: "Route53HealthCheck";
|
|
174
168
|
readonly ROUTING_CONTROL: "ARCRoutingControl";
|
|
175
169
|
};
|
|
176
|
-
export type ExecutionBlockType =
|
|
177
|
-
(typeof ExecutionBlockType)[keyof typeof ExecutionBlockType];
|
|
170
|
+
export type ExecutionBlockType = (typeof ExecutionBlockType)[keyof typeof ExecutionBlockType];
|
|
178
171
|
export declare const StepStatus: {
|
|
179
172
|
readonly CANCELLED: "canceled";
|
|
180
173
|
readonly COMPLETED: "completed";
|
|
@@ -213,8 +206,7 @@ export declare const ExecutionEventType: {
|
|
|
213
206
|
readonly STEP_UPDATE: "stepUpdate";
|
|
214
207
|
readonly UNKNOWN: "unknown";
|
|
215
208
|
};
|
|
216
|
-
export type ExecutionEventType =
|
|
217
|
-
(typeof ExecutionEventType)[keyof typeof ExecutionEventType];
|
|
209
|
+
export type ExecutionEventType = (typeof ExecutionEventType)[keyof typeof ExecutionEventType];
|
|
218
210
|
export declare const Route53HealthCheckStatus: {
|
|
219
211
|
readonly HEALTHY: "healthy";
|
|
220
212
|
readonly UNHEALTHY: "unhealthy";
|
|
@@ -3,35 +3,25 @@ import { ARCRegionSwitchServiceException as __BaseException } from "./ARCRegionS
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
6
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
7
|
}
|
|
10
8
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
11
9
|
readonly name: "ResourceNotFoundException";
|
|
12
10
|
readonly $fault: "client";
|
|
13
|
-
constructor(
|
|
14
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
15
|
-
);
|
|
11
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
16
12
|
}
|
|
17
13
|
export declare class IllegalArgumentException extends __BaseException {
|
|
18
14
|
readonly name: "IllegalArgumentException";
|
|
19
15
|
readonly $fault: "client";
|
|
20
|
-
constructor(
|
|
21
|
-
opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>
|
|
22
|
-
);
|
|
16
|
+
constructor(opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>);
|
|
23
17
|
}
|
|
24
18
|
export declare class InternalServerException extends __BaseException {
|
|
25
19
|
readonly name: "InternalServerException";
|
|
26
20
|
readonly $fault: "server";
|
|
27
|
-
constructor(
|
|
28
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
29
|
-
);
|
|
21
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
30
22
|
}
|
|
31
23
|
export declare class IllegalStateException extends __BaseException {
|
|
32
24
|
readonly name: "IllegalStateException";
|
|
33
25
|
readonly $fault: "client";
|
|
34
|
-
constructor(
|
|
35
|
-
opts: __ExceptionOptionType<IllegalStateException, __BaseException>
|
|
36
|
-
);
|
|
26
|
+
constructor(opts: __ExceptionOptionType<IllegalStateException, __BaseException>);
|
|
37
27
|
}
|
|
@@ -193,9 +193,7 @@ export interface ArcRoutingControlConfiguration {
|
|
|
193
193
|
timeoutMinutes?: number | undefined;
|
|
194
194
|
crossAccountRole?: string | undefined;
|
|
195
195
|
externalId?: string | undefined;
|
|
196
|
-
regionAndRoutingControls:
|
|
197
|
-
| Record<string, ArcRoutingControlState[]>
|
|
198
|
-
| undefined;
|
|
196
|
+
regionAndRoutingControls: Record<string, ArcRoutingControlState[]> | undefined;
|
|
199
197
|
}
|
|
200
198
|
export interface AuroraProvisionedScalingConfiguration {
|
|
201
199
|
timeoutMinutes?: number | undefined;
|
|
@@ -291,9 +289,7 @@ export interface EksResourceScalingUngraceful {
|
|
|
291
289
|
export interface EksResourceScalingConfiguration {
|
|
292
290
|
timeoutMinutes?: number | undefined;
|
|
293
291
|
kubernetesResourceType: KubernetesResourceType | undefined;
|
|
294
|
-
scalingResources?:
|
|
295
|
-
| Record<string, Record<string, KubernetesScalingResource>>[]
|
|
296
|
-
| undefined;
|
|
292
|
+
scalingResources?: Record<string, Record<string, KubernetesScalingResource>>[] | undefined;
|
|
297
293
|
eksClusters?: EksCluster[] | undefined;
|
|
298
294
|
ungraceful?: EksResourceScalingUngraceful | undefined;
|
|
299
295
|
targetPercent?: number | undefined;
|
|
@@ -893,9 +889,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
893
889
|
}
|
|
894
890
|
interface Visitor<T> {
|
|
895
891
|
customActionLambdaConfig: (value: CustomActionLambdaConfiguration) => T;
|
|
896
|
-
ec2AsgCapacityIncreaseConfig: (
|
|
897
|
-
value: Ec2AsgCapacityIncreaseConfiguration
|
|
898
|
-
) => T;
|
|
892
|
+
ec2AsgCapacityIncreaseConfig: (value: Ec2AsgCapacityIncreaseConfiguration) => T;
|
|
899
893
|
executionApprovalConfig: (value: ExecutionApprovalConfiguration) => T;
|
|
900
894
|
arcRoutingControlConfig: (value: ArcRoutingControlConfiguration) => T;
|
|
901
895
|
globalAuroraConfig: (value: GlobalAuroraConfiguration) => T;
|
|
@@ -905,24 +899,12 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
905
899
|
eksResourceScalingConfig: (value: EksResourceScalingConfiguration) => T;
|
|
906
900
|
route53HealthCheckConfig: (value: Route53HealthCheckConfiguration) => T;
|
|
907
901
|
documentDbConfig: (value: DocumentDbConfiguration) => T;
|
|
908
|
-
rdsPromoteReadReplicaConfig: (
|
|
909
|
-
|
|
910
|
-
) => T;
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
) => T;
|
|
914
|
-
lambdaEventSourceMappingConfig: (
|
|
915
|
-
value: LambdaEventSourceMappingConfiguration
|
|
916
|
-
) => T;
|
|
917
|
-
auroraServerlessScalingConfig: (
|
|
918
|
-
value: AuroraServerlessScalingConfiguration
|
|
919
|
-
) => T;
|
|
920
|
-
auroraProvisionedScalingConfig: (
|
|
921
|
-
value: AuroraProvisionedScalingConfiguration
|
|
922
|
-
) => T;
|
|
923
|
-
neptuneGlobalDatabaseConfig: (
|
|
924
|
-
value: NeptuneGlobalDatabaseConfiguration
|
|
925
|
-
) => T;
|
|
902
|
+
rdsPromoteReadReplicaConfig: (value: RdsPromoteReadReplicaConfiguration) => T;
|
|
903
|
+
rdsCreateCrossRegionReadReplicaConfig: (value: RdsCreateCrossRegionReplicaConfiguration) => T;
|
|
904
|
+
lambdaEventSourceMappingConfig: (value: LambdaEventSourceMappingConfiguration) => T;
|
|
905
|
+
auroraServerlessScalingConfig: (value: AuroraServerlessScalingConfiguration) => T;
|
|
906
|
+
auroraProvisionedScalingConfig: (value: AuroraProvisionedScalingConfiguration) => T;
|
|
907
|
+
neptuneGlobalDatabaseConfig: (value: NeptuneGlobalDatabaseConfiguration) => T;
|
|
926
908
|
_: (name: string, value: any) => T;
|
|
927
909
|
}
|
|
928
910
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { ARCRegionSwitchClient } from "../ARCRegionSwitchClient";
|
|
3
|
-
export interface ARCRegionSwitchPaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface ARCRegionSwitchPaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: ARCRegionSwitchClient;
|
|
6
5
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListPlansCommandInput,
|
|
4
|
-
ListPlansCommandOutput,
|
|
5
|
-
} from "../commands/ListPlansCommand";
|
|
2
|
+
import { ListPlansCommandInput, ListPlansCommandOutput } from "../commands/ListPlansCommand";
|
|
6
3
|
import { ARCRegionSwitchPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateListPlans: (
|
|
8
5
|
config: ARCRegionSwitchPaginationConfiguration,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { ARCRegionSwitchClientConfig } from "./ARCRegionSwitchClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: ARCRegionSwitchClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: ARCRegionSwitchClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider:
|
|
12
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
-
| ((
|
|
14
|
-
_: unknown
|
|
15
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
12
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
18
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
24
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
19
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
21
|
) => Promise<Uint8Array>;
|
|
32
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
|
|
|
55
45
|
logger: import("@smithy/types").Logger;
|
|
56
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
userAgentAppId?:
|
|
59
|
-
|
|
60
|
-
| undefined
|
|
61
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
62
|
-
retryStrategy?:
|
|
63
|
-
| import("@smithy/types").RetryStrategy
|
|
64
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
65
50
|
endpoint?:
|
|
66
51
|
| ((
|
|
67
52
|
| string
|
|
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
|
|
|
83
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
84
69
|
context?: {
|
|
85
70
|
logger?: import("@smithy/types").Logger;
|
|
86
|
-
}
|
|
71
|
+
},
|
|
87
72
|
) => import("@smithy/types").EndpointV2;
|
|
88
73
|
tls?: boolean;
|
|
89
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -96,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
96
81
|
signer?:
|
|
97
82
|
| import("@smithy/types").RequestSigner
|
|
98
83
|
| ((
|
|
99
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
100
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
101
86
|
signingEscapePath?: boolean;
|
|
102
87
|
systemClockOffset?: number;
|
|
103
88
|
signingRegion?: string;
|
|
104
89
|
signerConstructor?: new (
|
|
105
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
106
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
107
92
|
) => import("@smithy/types").RequestSigner;
|
|
108
93
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { ARCRegionSwitchClientConfig } from "./ARCRegionSwitchClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: ARCRegionSwitchClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: ARCRegionSwitchClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
|
|
|
12
10
|
credentialDefaultProvider:
|
|
13
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
12
|
| ((
|
|
15
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
16
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
22
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
24
|
) => Promise<Uint8Array>;
|
|
33
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
|
|
|
55
47
|
logger: import("@smithy/types").Logger;
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
retryStrategy?:
|
|
59
|
-
| import("@smithy/types").RetryStrategy
|
|
60
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
61
51
|
endpoint?:
|
|
62
52
|
| ((
|
|
63
53
|
| string
|
|
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
79
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
80
70
|
context?: {
|
|
81
71
|
logger?: import("@smithy/types").Logger;
|
|
82
|
-
}
|
|
72
|
+
},
|
|
83
73
|
) => import("@smithy/types").EndpointV2;
|
|
84
74
|
tls?: boolean;
|
|
85
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -91,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
91
81
|
signer?:
|
|
92
82
|
| import("@smithy/types").RequestSigner
|
|
93
83
|
| ((
|
|
94
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
95
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
96
86
|
signingEscapePath?: boolean;
|
|
97
87
|
systemClockOffset?: number;
|
|
98
88
|
signingRegion?: string;
|
|
99
89
|
signerConstructor?: new (
|
|
100
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
101
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
102
92
|
) => import("@smithy/types").RequestSigner;
|
|
103
93
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { ARCRegionSwitchClientConfig } from "./ARCRegionSwitchClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: ARCRegionSwitchClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: ARCRegionSwitchClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
requestHandler:
|
|
7
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
|
|
|
42
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
43
37
|
profile?: string;
|
|
44
38
|
defaultUserAgentProvider: (
|
|
45
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
46
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
47
41
|
credentialDefaultProvider:
|
|
48
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
49
|
-
| ((
|
|
50
|
-
_: unknown
|
|
51
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
52
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
53
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
defaultsMode:
|
|
57
49
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
62
|
-
userAgentAppId?:
|
|
63
|
-
|
|
64
|
-
| undefined
|
|
65
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
66
|
-
retryStrategy?:
|
|
67
|
-
| import("@smithy/types").RetryStrategy
|
|
68
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
69
54
|
endpoint?:
|
|
70
55
|
| ((
|
|
71
56
|
| string
|
|
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
|
|
|
87
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
88
73
|
context?: {
|
|
89
74
|
logger?: import("@smithy/types").Logger;
|
|
90
|
-
}
|
|
75
|
+
},
|
|
91
76
|
) => import("@smithy/types").EndpointV2;
|
|
92
77
|
tls?: boolean;
|
|
93
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
|
|
|
100
85
|
signer?:
|
|
101
86
|
| import("@smithy/types").RequestSigner
|
|
102
87
|
| ((
|
|
103
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
104
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
105
90
|
signingEscapePath?: boolean;
|
|
106
91
|
systemClockOffset?: number;
|
|
107
92
|
signingRegion?: string;
|
|
108
93
|
signerConstructor?: new (
|
|
109
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
110
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
111
96
|
) => import("@smithy/types").RequestSigner;
|
|
112
97
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
2
2
|
import { ARCRegionSwitchClientConfig } from "./ARCRegionSwitchClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: ARCRegionSwitchClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: ARCRegionSwitchClientConfig) => {
|
|
6
4
|
apiVersion: string;
|
|
7
5
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
6
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
10
|
context?: {
|
|
13
11
|
logger?: import("@smithy/types").Logger;
|
|
14
|
-
}
|
|
12
|
+
},
|
|
15
13
|
) => import("@smithy/types").EndpointV2;
|
|
16
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ARCRegionSwitchHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { ARCRegionSwitchExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: ARCRegionSwitchExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: ARCRegionSwitchExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
|
9
7
|
}
|
|
10
8
|
export declare const resolveRuntimeExtensions: (
|
|
11
9
|
runtimeConfig: any,
|
|
12
|
-
extensions: RuntimeExtension[]
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
13
11
|
) => any;
|
|
@@ -7,13 +7,9 @@ import {
|
|
|
7
7
|
import { ARCRegionSwitchServiceException } from "../models/ARCRegionSwitchServiceException";
|
|
8
8
|
export declare const waitForPlanEvaluationStatusPassed: (
|
|
9
9
|
params: WaiterConfiguration<ARCRegionSwitchClient>,
|
|
10
|
-
input: GetPlanEvaluationStatusCommandInput
|
|
11
|
-
) => Promise<
|
|
12
|
-
WaiterResult<
|
|
13
|
-
GetPlanEvaluationStatusCommandOutput | ARCRegionSwitchServiceException
|
|
14
|
-
>
|
|
15
|
-
>;
|
|
10
|
+
input: GetPlanEvaluationStatusCommandInput,
|
|
11
|
+
) => Promise<WaiterResult<GetPlanEvaluationStatusCommandOutput | ARCRegionSwitchServiceException>>;
|
|
16
12
|
export declare const waitUntilPlanEvaluationStatusPassed: (
|
|
17
13
|
params: WaiterConfiguration<ARCRegionSwitchClient>,
|
|
18
|
-
input: GetPlanEvaluationStatusCommandInput
|
|
14
|
+
input: GetPlanEvaluationStatusCommandInput,
|
|
19
15
|
) => Promise<WaiterResult<GetPlanEvaluationStatusCommandOutput>>;
|
|
@@ -7,11 +7,9 @@ import {
|
|
|
7
7
|
import { ARCRegionSwitchServiceException } from "../models/ARCRegionSwitchServiceException";
|
|
8
8
|
export declare const waitForPlanExecutionCompleted: (
|
|
9
9
|
params: WaiterConfiguration<ARCRegionSwitchClient>,
|
|
10
|
-
input: GetPlanExecutionCommandInput
|
|
11
|
-
) => Promise<
|
|
12
|
-
WaiterResult<GetPlanExecutionCommandOutput | ARCRegionSwitchServiceException>
|
|
13
|
-
>;
|
|
10
|
+
input: GetPlanExecutionCommandInput,
|
|
11
|
+
) => Promise<WaiterResult<GetPlanExecutionCommandOutput | ARCRegionSwitchServiceException>>;
|
|
14
12
|
export declare const waitUntilPlanExecutionCompleted: (
|
|
15
13
|
params: WaiterConfiguration<ARCRegionSwitchClient>,
|
|
16
|
-
input: GetPlanExecutionCommandInput
|
|
14
|
+
input: GetPlanExecutionCommandInput,
|
|
17
15
|
) => Promise<WaiterResult<GetPlanExecutionCommandOutput>>;
|