@aws-sdk/client-arc-region-switch 3.1139.0 → 3.1141.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/README.md +7 -0
- package/dist-cjs/index.js +78 -13
- package/dist-es/ARCRegionSwitch.js +4 -0
- package/dist-es/commands/ListServiceQuotaWarningsCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +11 -0
- package/dist-es/pagination/ListServiceQuotaWarningsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +52 -12
- package/dist-types/ARCRegionSwitch.d.ts +15 -0
- package/dist-types/ARCRegionSwitchClient.d.ts +3 -2
- package/dist-types/commands/CreatePlanCommand.d.ts +10 -0
- package/dist-types/commands/GetPlanCommand.d.ts +5 -0
- package/dist-types/commands/GetPlanExecutionCommand.d.ts +5 -0
- package/dist-types/commands/GetPlanInRegionCommand.d.ts +5 -0
- package/dist-types/commands/ListServiceQuotaWarningsCommand.d.ts +97 -0
- package/dist-types/commands/UpdatePlanCommand.d.ts +10 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +127 -1
- package/dist-types/pagination/ListServiceQuotaWarningsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/ARCRegionSwitch.d.ts +25 -0
- package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListServiceQuotaWarningsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -0
- package/dist-types/ts3.4/pagination/ListServiceQuotaWarningsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +1 -1
|
@@ -51,6 +51,10 @@ import {
|
|
|
51
51
|
ListRoute53HealthChecksInRegionCommandInput,
|
|
52
52
|
ListRoute53HealthChecksInRegionCommandOutput,
|
|
53
53
|
} from "./commands/ListRoute53HealthChecksInRegionCommand";
|
|
54
|
+
import {
|
|
55
|
+
ListServiceQuotaWarningsCommandInput,
|
|
56
|
+
ListServiceQuotaWarningsCommandOutput,
|
|
57
|
+
} from "./commands/ListServiceQuotaWarningsCommand";
|
|
54
58
|
import {
|
|
55
59
|
ListTagsForResourceCommandInput,
|
|
56
60
|
ListTagsForResourceCommandOutput,
|
|
@@ -258,6 +262,20 @@ export interface ARCRegionSwitch {
|
|
|
258
262
|
options: ARCRegionSwitchRequestOptions,
|
|
259
263
|
cb: (err: any, data?: ListRoute53HealthChecksInRegionCommandOutput) => void,
|
|
260
264
|
): void;
|
|
265
|
+
listServiceQuotaWarnings(): Promise<ListServiceQuotaWarningsCommandOutput>;
|
|
266
|
+
listServiceQuotaWarnings(
|
|
267
|
+
args: ListServiceQuotaWarningsCommandInput,
|
|
268
|
+
options?: ARCRegionSwitchRequestOptions,
|
|
269
|
+
): Promise<ListServiceQuotaWarningsCommandOutput>;
|
|
270
|
+
listServiceQuotaWarnings(
|
|
271
|
+
args: ListServiceQuotaWarningsCommandInput,
|
|
272
|
+
cb: (err: any, data?: ListServiceQuotaWarningsCommandOutput) => void,
|
|
273
|
+
): void;
|
|
274
|
+
listServiceQuotaWarnings(
|
|
275
|
+
args: ListServiceQuotaWarningsCommandInput,
|
|
276
|
+
options: ARCRegionSwitchRequestOptions,
|
|
277
|
+
cb: (err: any, data?: ListServiceQuotaWarningsCommandOutput) => void,
|
|
278
|
+
): void;
|
|
261
279
|
listTagsForResource(
|
|
262
280
|
args: ListTagsForResourceCommandInput,
|
|
263
281
|
options?: ARCRegionSwitchRequestOptions,
|
|
@@ -405,6 +423,13 @@ export interface ARCRegionSwitch {
|
|
|
405
423
|
Exclude<keyof PaginationConfiguration, "client">
|
|
406
424
|
>,
|
|
407
425
|
): Paginator<ListRoute53HealthChecksInRegionCommandOutput>;
|
|
426
|
+
paginateListServiceQuotaWarnings(
|
|
427
|
+
args?: ListServiceQuotaWarningsCommandInput,
|
|
428
|
+
paginationConfig?: Pick<
|
|
429
|
+
PaginationConfiguration,
|
|
430
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
431
|
+
>,
|
|
432
|
+
): Paginator<ListServiceQuotaWarningsCommandOutput>;
|
|
408
433
|
waitUntilPlanEvaluationStatusPassed(
|
|
409
434
|
args: GetPlanEvaluationStatusCommandInput,
|
|
410
435
|
waiterConfig:
|
|
@@ -77,6 +77,10 @@ import {
|
|
|
77
77
|
ListRoute53HealthChecksInRegionCommandInput,
|
|
78
78
|
ListRoute53HealthChecksInRegionCommandOutput,
|
|
79
79
|
} from "./commands/ListRoute53HealthChecksInRegionCommand";
|
|
80
|
+
import {
|
|
81
|
+
ListServiceQuotaWarningsCommandInput,
|
|
82
|
+
ListServiceQuotaWarningsCommandOutput,
|
|
83
|
+
} from "./commands/ListServiceQuotaWarningsCommand";
|
|
80
84
|
import {
|
|
81
85
|
ListTagsForResourceCommandInput,
|
|
82
86
|
ListTagsForResourceCommandOutput,
|
|
@@ -121,6 +125,7 @@ export type ServiceInputTypes =
|
|
|
121
125
|
| ListPlansInRegionCommandInput
|
|
122
126
|
| ListRoute53HealthChecksCommandInput
|
|
123
127
|
| ListRoute53HealthChecksInRegionCommandInput
|
|
128
|
+
| ListServiceQuotaWarningsCommandInput
|
|
124
129
|
| ListTagsForResourceCommandInput
|
|
125
130
|
| StartPlanExecutionCommandInput
|
|
126
131
|
| TagResourceCommandInput
|
|
@@ -143,6 +148,7 @@ export type ServiceOutputTypes =
|
|
|
143
148
|
| ListPlansInRegionCommandOutput
|
|
144
149
|
| ListRoute53HealthChecksCommandOutput
|
|
145
150
|
| ListRoute53HealthChecksInRegionCommandOutput
|
|
151
|
+
| ListServiceQuotaWarningsCommandOutput
|
|
146
152
|
| ListTagsForResourceCommandOutput
|
|
147
153
|
| StartPlanExecutionCommandOutput
|
|
148
154
|
| TagResourceCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListServiceQuotaWarningsRequest,
|
|
4
|
+
ListServiceQuotaWarningsResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface ListServiceQuotaWarningsCommandInput extends ListServiceQuotaWarningsRequest {}
|
|
8
|
+
export interface ListServiceQuotaWarningsCommandOutput
|
|
9
|
+
extends ListServiceQuotaWarningsResponse, __MetadataBearer {}
|
|
10
|
+
declare const ListServiceQuotaWarningsCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: ListServiceQuotaWarningsCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
ListServiceQuotaWarningsCommandInput,
|
|
15
|
+
ListServiceQuotaWarningsCommandOutput,
|
|
16
|
+
import("..").ARCRegionSwitchClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
...[input]: [] | [ListServiceQuotaWarningsCommandInput]
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ListServiceQuotaWarningsCommandInput,
|
|
24
|
+
ListServiceQuotaWarningsCommandOutput,
|
|
25
|
+
import("..").ARCRegionSwitchClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class ListServiceQuotaWarningsCommand extends ListServiceQuotaWarningsCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: ListServiceQuotaWarningsRequest;
|
|
35
|
+
output: ListServiceQuotaWarningsResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: ListServiceQuotaWarningsCommandInput;
|
|
39
|
+
output: ListServiceQuotaWarningsCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -12,6 +12,7 @@ export * from "./ListPlansCommand";
|
|
|
12
12
|
export * from "./ListPlansInRegionCommand";
|
|
13
13
|
export * from "./ListRoute53HealthChecksCommand";
|
|
14
14
|
export * from "./ListRoute53HealthChecksInRegionCommand";
|
|
15
|
+
export * from "./ListServiceQuotaWarningsCommand";
|
|
15
16
|
export * from "./ListTagsForResourceCommand";
|
|
16
17
|
export * from "./StartPlanExecutionCommand";
|
|
17
18
|
export * from "./TagResourceCommand";
|
|
@@ -104,6 +104,12 @@ export declare const Ec2AsgCapacityMonitoringApproach: {
|
|
|
104
104
|
};
|
|
105
105
|
export type Ec2AsgCapacityMonitoringApproach =
|
|
106
106
|
(typeof Ec2AsgCapacityMonitoringApproach)[keyof typeof Ec2AsgCapacityMonitoringApproach];
|
|
107
|
+
export declare const WaitELBTargetGroupHealthy: {
|
|
108
|
+
readonly DISABLED: "disabled";
|
|
109
|
+
readonly ENABLED: "enabled";
|
|
110
|
+
};
|
|
111
|
+
export type WaitELBTargetGroupHealthy =
|
|
112
|
+
(typeof WaitELBTargetGroupHealthy)[keyof typeof WaitELBTargetGroupHealthy];
|
|
107
113
|
export declare const EcsCapacityMonitoringApproach: {
|
|
108
114
|
readonly CONTAINER_INSIGHTS_MAX_IN_LAST_24_HOURS: "containerInsightsMaxInLast24Hours";
|
|
109
115
|
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
@@ -220,6 +226,15 @@ export declare const Route53HealthCheckStatus: {
|
|
|
220
226
|
};
|
|
221
227
|
export type Route53HealthCheckStatus =
|
|
222
228
|
(typeof Route53HealthCheckStatus)[keyof typeof Route53HealthCheckStatus];
|
|
229
|
+
export declare const ServiceQuotaWarningStatus: {
|
|
230
|
+
readonly DENIED: "denied";
|
|
231
|
+
readonly INSUFFICIENT_PERMISSIONS: "insufficientPermissions";
|
|
232
|
+
readonly MAX_ACCOUNT_REQUESTS_EXCEEDED: "maxAccountRequestsExceeded";
|
|
233
|
+
readonly MAX_REGION_SWITCH_REQUESTS_EXCEEDED: "maxRegionSwitchRequestsExceeded";
|
|
234
|
+
readonly PENDING: "pending";
|
|
235
|
+
};
|
|
236
|
+
export type ServiceQuotaWarningStatus =
|
|
237
|
+
(typeof ServiceQuotaWarningStatus)[keyof typeof ServiceQuotaWarningStatus];
|
|
223
238
|
export declare const UpdatePlanExecutionAction: {
|
|
224
239
|
readonly PAUSE: "pause";
|
|
225
240
|
readonly RESUME: "resume";
|
|
@@ -27,9 +27,11 @@ import {
|
|
|
27
27
|
ResourceWarningStatus,
|
|
28
28
|
Route53HealthCheckStatus,
|
|
29
29
|
RoutingControlStateChange,
|
|
30
|
+
ServiceQuotaWarningStatus,
|
|
30
31
|
StepStatus,
|
|
31
32
|
UpdatePlanExecutionAction,
|
|
32
33
|
UpdatePlanExecutionStepAction,
|
|
34
|
+
WaitELBTargetGroupHealthy,
|
|
33
35
|
WorkflowTargetAction,
|
|
34
36
|
} from "./enums";
|
|
35
37
|
export interface AbbreviatedExecution {
|
|
@@ -253,6 +255,7 @@ export interface Ec2AsgCapacityIncreaseConfiguration {
|
|
|
253
255
|
ungraceful?: Ec2Ungraceful | undefined;
|
|
254
256
|
targetPercent?: number | undefined;
|
|
255
257
|
capacityMonitoringApproach?: Ec2AsgCapacityMonitoringApproach | undefined;
|
|
258
|
+
waitELBTargetGroupHealthy?: WaitELBTargetGroupHealthy | undefined;
|
|
256
259
|
}
|
|
257
260
|
export interface Service {
|
|
258
261
|
crossAccountRole?: string | undefined;
|
|
@@ -269,6 +272,7 @@ export interface EcsCapacityIncreaseConfiguration {
|
|
|
269
272
|
ungraceful?: EcsUngraceful | undefined;
|
|
270
273
|
targetPercent?: number | undefined;
|
|
271
274
|
capacityMonitoringApproach?: EcsCapacityMonitoringApproach | undefined;
|
|
275
|
+
waitELBTargetGroupHealthy?: WaitELBTargetGroupHealthy | undefined;
|
|
272
276
|
}
|
|
273
277
|
export interface EksCluster {
|
|
274
278
|
crossAccountRole?: string | undefined;
|
|
@@ -456,6 +460,29 @@ export interface ListRoute53HealthChecksInRegionResponse {
|
|
|
456
460
|
healthChecks?: Route53HealthCheck[] | undefined;
|
|
457
461
|
nextToken?: string | undefined;
|
|
458
462
|
}
|
|
463
|
+
export interface ListServiceQuotaWarningsRequest {
|
|
464
|
+
planArns?: string[] | undefined;
|
|
465
|
+
maxResults?: number | undefined;
|
|
466
|
+
nextToken?: string | undefined;
|
|
467
|
+
}
|
|
468
|
+
export interface ServiceQuotaWarningSummary {
|
|
469
|
+
accountId: string | undefined;
|
|
470
|
+
quotaRegion: string | undefined;
|
|
471
|
+
serviceCode?: string | undefined;
|
|
472
|
+
quotaCode?: string | undefined;
|
|
473
|
+
quotaName?: string | undefined;
|
|
474
|
+
status: ServiceQuotaWarningStatus | undefined;
|
|
475
|
+
planArn: string | undefined;
|
|
476
|
+
requestId?: string | undefined;
|
|
477
|
+
caseId?: string | undefined;
|
|
478
|
+
warningMessage?: string | undefined;
|
|
479
|
+
lastCheckedAt?: Date | undefined;
|
|
480
|
+
warningCreatedAt?: Date | undefined;
|
|
481
|
+
}
|
|
482
|
+
export interface ListServiceQuotaWarningsResponse {
|
|
483
|
+
serviceQuotaWarningSummaries: ServiceQuotaWarningSummary[] | undefined;
|
|
484
|
+
nextToken?: string | undefined;
|
|
485
|
+
}
|
|
459
486
|
export interface DeletePlanRequest {
|
|
460
487
|
arn: string | undefined;
|
|
461
488
|
}
|
|
@@ -984,6 +1011,7 @@ export interface CreatePlanRequest {
|
|
|
984
1011
|
associatedAlarms?: Record<string, AssociatedAlarm> | undefined;
|
|
985
1012
|
triggers?: Trigger[] | undefined;
|
|
986
1013
|
reportConfiguration?: ReportConfiguration | undefined;
|
|
1014
|
+
serviceQuotaChecksEnabled?: boolean | undefined;
|
|
987
1015
|
name: string | undefined;
|
|
988
1016
|
regions: string[] | undefined;
|
|
989
1017
|
recoveryApproach: RecoveryApproach | undefined;
|
|
@@ -999,6 +1027,7 @@ export interface Plan {
|
|
|
999
1027
|
associatedAlarms?: Record<string, AssociatedAlarm> | undefined;
|
|
1000
1028
|
triggers?: Trigger[] | undefined;
|
|
1001
1029
|
reportConfiguration?: ReportConfiguration | undefined;
|
|
1030
|
+
serviceQuotaChecksEnabled?: boolean | undefined;
|
|
1002
1031
|
name: string | undefined;
|
|
1003
1032
|
regions: string[] | undefined;
|
|
1004
1033
|
recoveryApproach: RecoveryApproach | undefined;
|
|
@@ -1016,6 +1045,7 @@ export interface UpdatePlanRequest {
|
|
|
1016
1045
|
associatedAlarms?: Record<string, AssociatedAlarm> | undefined;
|
|
1017
1046
|
triggers?: Trigger[] | undefined;
|
|
1018
1047
|
reportConfiguration?: ReportConfiguration | undefined;
|
|
1048
|
+
serviceQuotaChecksEnabled?: boolean | undefined;
|
|
1019
1049
|
}
|
|
1020
1050
|
export interface CreatePlanResponse {
|
|
1021
1051
|
plan?: Plan | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListServiceQuotaWarningsCommandInput,
|
|
4
|
+
ListServiceQuotaWarningsCommandOutput,
|
|
5
|
+
} from "../commands/ListServiceQuotaWarningsCommand";
|
|
6
|
+
import { ARCRegionSwitchPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListServiceQuotaWarnings: (
|
|
8
|
+
config: ARCRegionSwitchPaginationConfiguration,
|
|
9
|
+
input: ListServiceQuotaWarningsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListServiceQuotaWarningsCommandOutput>;
|
|
@@ -72,6 +72,8 @@ export declare var ListRoute53HealthChecksInRegionRequest$: StaticStructureSchem
|
|
|
72
72
|
export declare var ListRoute53HealthChecksInRegionResponse$: StaticStructureSchema;
|
|
73
73
|
export declare var ListRoute53HealthChecksRequest$: StaticStructureSchema;
|
|
74
74
|
export declare var ListRoute53HealthChecksResponse$: StaticStructureSchema;
|
|
75
|
+
export declare var ListServiceQuotaWarningsRequest$: StaticStructureSchema;
|
|
76
|
+
export declare var ListServiceQuotaWarningsResponse$: StaticStructureSchema;
|
|
75
77
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
76
78
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
77
79
|
export declare var MinimalWorkflow$: StaticStructureSchema;
|
|
@@ -92,6 +94,7 @@ export declare var Route53ResourceRecordSet$: StaticStructureSchema;
|
|
|
92
94
|
export declare var S3ReportOutput$: StaticStructureSchema;
|
|
93
95
|
export declare var S3ReportOutputConfiguration$: StaticStructureSchema;
|
|
94
96
|
export declare var Service$: StaticStructureSchema;
|
|
97
|
+
export declare var ServiceQuotaWarningSummary$: StaticStructureSchema;
|
|
95
98
|
export declare var StartPlanExecutionRequest$: StaticStructureSchema;
|
|
96
99
|
export declare var StartPlanExecutionResponse$: StaticStructureSchema;
|
|
97
100
|
export declare var Step$: StaticStructureSchema;
|
|
@@ -126,6 +129,7 @@ export declare var ListPlans$: StaticOperationSchema;
|
|
|
126
129
|
export declare var ListPlansInRegion$: StaticOperationSchema;
|
|
127
130
|
export declare var ListRoute53HealthChecks$: StaticOperationSchema;
|
|
128
131
|
export declare var ListRoute53HealthChecksInRegion$: StaticOperationSchema;
|
|
132
|
+
export declare var ListServiceQuotaWarnings$: StaticOperationSchema;
|
|
129
133
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
130
134
|
export declare var StartPlanExecution$: StaticOperationSchema;
|
|
131
135
|
export declare var TagResource$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-arc-region-switch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1141.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",
|