@aws-sdk/client-arc-region-switch 3.1140.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
|
@@ -71,6 +71,7 @@ declare const CreatePlanCommand_base: {
|
|
|
71
71
|
* },
|
|
72
72
|
* targetPercent: Number("int"),
|
|
73
73
|
* capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
74
|
+
* waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
74
75
|
* },
|
|
75
76
|
* executionApprovalConfig: { // ExecutionApprovalConfiguration
|
|
76
77
|
* timeoutMinutes: Number("int"),
|
|
@@ -137,6 +138,7 @@ declare const CreatePlanCommand_base: {
|
|
|
137
138
|
* },
|
|
138
139
|
* targetPercent: Number("int"),
|
|
139
140
|
* capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
141
|
+
* waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
140
142
|
* },
|
|
141
143
|
* executionApprovalConfig: {
|
|
142
144
|
* timeoutMinutes: Number("int"),
|
|
@@ -191,6 +193,7 @@ declare const CreatePlanCommand_base: {
|
|
|
191
193
|
* },
|
|
192
194
|
* targetPercent: Number("int"),
|
|
193
195
|
* capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
196
|
+
* waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
194
197
|
* },
|
|
195
198
|
* eksResourceScalingConfig: { // EksResourceScalingConfiguration
|
|
196
199
|
* timeoutMinutes: Number("int"),
|
|
@@ -349,6 +352,7 @@ declare const CreatePlanCommand_base: {
|
|
|
349
352
|
* },
|
|
350
353
|
* targetPercent: Number("int"),
|
|
351
354
|
* capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
355
|
+
* waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
352
356
|
* },
|
|
353
357
|
* eksResourceScalingConfig: {
|
|
354
358
|
* timeoutMinutes: Number("int"),
|
|
@@ -523,6 +527,7 @@ declare const CreatePlanCommand_base: {
|
|
|
523
527
|
* },
|
|
524
528
|
* ],
|
|
525
529
|
* },
|
|
530
|
+
* serviceQuotaChecksEnabled: true || false,
|
|
526
531
|
* name: "STRING_VALUE", // required
|
|
527
532
|
* regions: [ // RegionList // required
|
|
528
533
|
* "STRING_VALUE",
|
|
@@ -575,6 +580,7 @@ declare const CreatePlanCommand_base: {
|
|
|
575
580
|
* // },
|
|
576
581
|
* // targetPercent: Number("int"),
|
|
577
582
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
583
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
578
584
|
* // },
|
|
579
585
|
* // executionApprovalConfig: { // ExecutionApprovalConfiguration
|
|
580
586
|
* // timeoutMinutes: Number("int"),
|
|
@@ -641,6 +647,7 @@ declare const CreatePlanCommand_base: {
|
|
|
641
647
|
* // },
|
|
642
648
|
* // targetPercent: Number("int"),
|
|
643
649
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
650
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
644
651
|
* // },
|
|
645
652
|
* // executionApprovalConfig: {
|
|
646
653
|
* // timeoutMinutes: Number("int"),
|
|
@@ -695,6 +702,7 @@ declare const CreatePlanCommand_base: {
|
|
|
695
702
|
* // },
|
|
696
703
|
* // targetPercent: Number("int"),
|
|
697
704
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
705
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
698
706
|
* // },
|
|
699
707
|
* // eksResourceScalingConfig: { // EksResourceScalingConfiguration
|
|
700
708
|
* // timeoutMinutes: Number("int"),
|
|
@@ -853,6 +861,7 @@ declare const CreatePlanCommand_base: {
|
|
|
853
861
|
* // },
|
|
854
862
|
* // targetPercent: Number("int"),
|
|
855
863
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
864
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
856
865
|
* // },
|
|
857
866
|
* // eksResourceScalingConfig: {
|
|
858
867
|
* // timeoutMinutes: Number("int"),
|
|
@@ -1027,6 +1036,7 @@ declare const CreatePlanCommand_base: {
|
|
|
1027
1036
|
* // },
|
|
1028
1037
|
* // ],
|
|
1029
1038
|
* // },
|
|
1039
|
+
* // serviceQuotaChecksEnabled: true || false,
|
|
1030
1040
|
* // name: "STRING_VALUE", // required
|
|
1031
1041
|
* // regions: [ // RegionList // required
|
|
1032
1042
|
* // "STRING_VALUE",
|
|
@@ -78,6 +78,7 @@ declare const GetPlanCommand_base: {
|
|
|
78
78
|
* // },
|
|
79
79
|
* // targetPercent: Number("int"),
|
|
80
80
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
81
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
81
82
|
* // },
|
|
82
83
|
* // executionApprovalConfig: { // ExecutionApprovalConfiguration
|
|
83
84
|
* // timeoutMinutes: Number("int"),
|
|
@@ -144,6 +145,7 @@ declare const GetPlanCommand_base: {
|
|
|
144
145
|
* // },
|
|
145
146
|
* // targetPercent: Number("int"),
|
|
146
147
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
148
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
147
149
|
* // },
|
|
148
150
|
* // executionApprovalConfig: {
|
|
149
151
|
* // timeoutMinutes: Number("int"),
|
|
@@ -198,6 +200,7 @@ declare const GetPlanCommand_base: {
|
|
|
198
200
|
* // },
|
|
199
201
|
* // targetPercent: Number("int"),
|
|
200
202
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
203
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
201
204
|
* // },
|
|
202
205
|
* // eksResourceScalingConfig: { // EksResourceScalingConfiguration
|
|
203
206
|
* // timeoutMinutes: Number("int"),
|
|
@@ -356,6 +359,7 @@ declare const GetPlanCommand_base: {
|
|
|
356
359
|
* // },
|
|
357
360
|
* // targetPercent: Number("int"),
|
|
358
361
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
362
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
359
363
|
* // },
|
|
360
364
|
* // eksResourceScalingConfig: {
|
|
361
365
|
* // timeoutMinutes: Number("int"),
|
|
@@ -530,6 +534,7 @@ declare const GetPlanCommand_base: {
|
|
|
530
534
|
* // },
|
|
531
535
|
* // ],
|
|
532
536
|
* // },
|
|
537
|
+
* // serviceQuotaChecksEnabled: true || false,
|
|
533
538
|
* // name: "STRING_VALUE", // required
|
|
534
539
|
* // regions: [ // RegionList // required
|
|
535
540
|
* // "STRING_VALUE",
|
|
@@ -102,6 +102,7 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
102
102
|
* // },
|
|
103
103
|
* // targetPercent: Number("int"),
|
|
104
104
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
105
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
105
106
|
* // },
|
|
106
107
|
* // executionApprovalConfig: { // ExecutionApprovalConfiguration
|
|
107
108
|
* // timeoutMinutes: Number("int"),
|
|
@@ -168,6 +169,7 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
168
169
|
* // },
|
|
169
170
|
* // targetPercent: Number("int"),
|
|
170
171
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
172
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
171
173
|
* // },
|
|
172
174
|
* // executionApprovalConfig: {
|
|
173
175
|
* // timeoutMinutes: Number("int"),
|
|
@@ -222,6 +224,7 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
222
224
|
* // },
|
|
223
225
|
* // targetPercent: Number("int"),
|
|
224
226
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
227
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
225
228
|
* // },
|
|
226
229
|
* // eksResourceScalingConfig: { // EksResourceScalingConfiguration
|
|
227
230
|
* // timeoutMinutes: Number("int"),
|
|
@@ -380,6 +383,7 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
380
383
|
* // },
|
|
381
384
|
* // targetPercent: Number("int"),
|
|
382
385
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
386
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
383
387
|
* // },
|
|
384
388
|
* // eksResourceScalingConfig: {
|
|
385
389
|
* // timeoutMinutes: Number("int"),
|
|
@@ -554,6 +558,7 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
554
558
|
* // },
|
|
555
559
|
* // ],
|
|
556
560
|
* // },
|
|
561
|
+
* // serviceQuotaChecksEnabled: true || false,
|
|
557
562
|
* // name: "STRING_VALUE", // required
|
|
558
563
|
* // regions: [ // RegionList // required
|
|
559
564
|
* // "STRING_VALUE",
|
|
@@ -78,6 +78,7 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
78
78
|
* // },
|
|
79
79
|
* // targetPercent: Number("int"),
|
|
80
80
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
81
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
81
82
|
* // },
|
|
82
83
|
* // executionApprovalConfig: { // ExecutionApprovalConfiguration
|
|
83
84
|
* // timeoutMinutes: Number("int"),
|
|
@@ -144,6 +145,7 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
144
145
|
* // },
|
|
145
146
|
* // targetPercent: Number("int"),
|
|
146
147
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
148
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
147
149
|
* // },
|
|
148
150
|
* // executionApprovalConfig: {
|
|
149
151
|
* // timeoutMinutes: Number("int"),
|
|
@@ -198,6 +200,7 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
198
200
|
* // },
|
|
199
201
|
* // targetPercent: Number("int"),
|
|
200
202
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
203
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
201
204
|
* // },
|
|
202
205
|
* // eksResourceScalingConfig: { // EksResourceScalingConfiguration
|
|
203
206
|
* // timeoutMinutes: Number("int"),
|
|
@@ -356,6 +359,7 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
356
359
|
* // },
|
|
357
360
|
* // targetPercent: Number("int"),
|
|
358
361
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
362
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
359
363
|
* // },
|
|
360
364
|
* // eksResourceScalingConfig: {
|
|
361
365
|
* // timeoutMinutes: Number("int"),
|
|
@@ -530,6 +534,7 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
530
534
|
* // },
|
|
531
535
|
* // ],
|
|
532
536
|
* // },
|
|
537
|
+
* // serviceQuotaChecksEnabled: true || false,
|
|
533
538
|
* // name: "STRING_VALUE", // required
|
|
534
539
|
* // regions: [ // RegionList // required
|
|
535
540
|
* // "STRING_VALUE",
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListServiceQuotaWarningsRequest, ListServiceQuotaWarningsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListServiceQuotaWarningsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListServiceQuotaWarningsCommandInput extends ListServiceQuotaWarningsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListServiceQuotaWarningsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListServiceQuotaWarningsCommandOutput extends ListServiceQuotaWarningsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListServiceQuotaWarningsCommand_base: {
|
|
22
|
+
new (input: ListServiceQuotaWarningsCommandInput): import("@smithy/core/client").CommandImpl<ListServiceQuotaWarningsCommandInput, ListServiceQuotaWarningsCommandOutput, import("..").ARCRegionSwitchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListServiceQuotaWarningsCommandInput]): import("@smithy/core/client").CommandImpl<ListServiceQuotaWarningsCommandInput, ListServiceQuotaWarningsCommandOutput, import("..").ARCRegionSwitchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the service quota warnings for the plans that you can access. Region switch creates a warning when the applied quota value in one Region of a plan is lower than the value required for the matching resource in another Region or account in the plan.</p> <p>Returns the warnings for the plans that you own and for plans that are shared with your account through AWS Resource Access Manager (AWS RAM). To return warnings for specific plans, provide a list of plan Amazon Resource Names (ARNs). Region switch ignores any plan ARN that you can't access. If you don't provide any plan ARNs, Region switch returns the warnings for all of your accessible plans.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ARCRegionSwitchClient, ListServiceQuotaWarningsCommand } from "@aws-sdk/client-arc-region-switch"; // ES Modules import
|
|
32
|
+
* // const { ARCRegionSwitchClient, ListServiceQuotaWarningsCommand } = require("@aws-sdk/client-arc-region-switch"); // CommonJS import
|
|
33
|
+
* // import type { ARCRegionSwitchClientConfig } from "@aws-sdk/client-arc-region-switch";
|
|
34
|
+
* const config = {}; // type is ARCRegionSwitchClientConfig
|
|
35
|
+
* const client = new ARCRegionSwitchClient(config);
|
|
36
|
+
* const input = { // ListServiceQuotaWarningsRequest
|
|
37
|
+
* planArns: [ // PlanArnList
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListServiceQuotaWarningsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListServiceQuotaWarningsResponse
|
|
46
|
+
* // serviceQuotaWarningSummaries: [ // ServiceQuotaWarningSummaryList // required
|
|
47
|
+
* // { // ServiceQuotaWarningSummary
|
|
48
|
+
* // accountId: "STRING_VALUE", // required
|
|
49
|
+
* // quotaRegion: "STRING_VALUE", // required
|
|
50
|
+
* // serviceCode: "STRING_VALUE",
|
|
51
|
+
* // quotaCode: "STRING_VALUE",
|
|
52
|
+
* // quotaName: "STRING_VALUE",
|
|
53
|
+
* // status: "pending" || "denied" || "insufficientPermissions" || "maxRegionSwitchRequestsExceeded" || "maxAccountRequestsExceeded", // required
|
|
54
|
+
* // planArn: "STRING_VALUE", // required
|
|
55
|
+
* // requestId: "STRING_VALUE",
|
|
56
|
+
* // caseId: "STRING_VALUE",
|
|
57
|
+
* // warningMessage: "STRING_VALUE",
|
|
58
|
+
* // lastCheckedAt: new Date("TIMESTAMP"),
|
|
59
|
+
* // warningCreatedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // nextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListServiceQuotaWarningsCommandInput - {@link ListServiceQuotaWarningsCommandInput}
|
|
68
|
+
* @returns {@link ListServiceQuotaWarningsCommandOutput}
|
|
69
|
+
* @see {@link ListServiceQuotaWarningsCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListServiceQuotaWarningsCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link ARCRegionSwitchClientResolvedConfig | config} for ARCRegionSwitchClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* <p>You do not have sufficient access to perform this action.</p> <p>HTTP Status Code: 403</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InternalServerException} (server fault)
|
|
77
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure.</p> <p>HTTP Status Code: 500</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ARCRegionSwitchServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from ARCRegionSwitch service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class ListServiceQuotaWarningsCommand extends ListServiceQuotaWarningsCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: ListServiceQuotaWarningsRequest;
|
|
90
|
+
output: ListServiceQuotaWarningsResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: ListServiceQuotaWarningsCommandInput;
|
|
94
|
+
output: ListServiceQuotaWarningsCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -72,6 +72,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
72
72
|
* },
|
|
73
73
|
* targetPercent: Number("int"),
|
|
74
74
|
* capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
75
|
+
* waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
75
76
|
* },
|
|
76
77
|
* executionApprovalConfig: { // ExecutionApprovalConfiguration
|
|
77
78
|
* timeoutMinutes: Number("int"),
|
|
@@ -138,6 +139,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
138
139
|
* },
|
|
139
140
|
* targetPercent: Number("int"),
|
|
140
141
|
* capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
142
|
+
* waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
141
143
|
* },
|
|
142
144
|
* executionApprovalConfig: {
|
|
143
145
|
* timeoutMinutes: Number("int"),
|
|
@@ -192,6 +194,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
192
194
|
* },
|
|
193
195
|
* targetPercent: Number("int"),
|
|
194
196
|
* capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
197
|
+
* waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
195
198
|
* },
|
|
196
199
|
* eksResourceScalingConfig: { // EksResourceScalingConfiguration
|
|
197
200
|
* timeoutMinutes: Number("int"),
|
|
@@ -350,6 +353,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
350
353
|
* },
|
|
351
354
|
* targetPercent: Number("int"),
|
|
352
355
|
* capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
356
|
+
* waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
353
357
|
* },
|
|
354
358
|
* eksResourceScalingConfig: {
|
|
355
359
|
* timeoutMinutes: Number("int"),
|
|
@@ -524,6 +528,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
524
528
|
* },
|
|
525
529
|
* ],
|
|
526
530
|
* },
|
|
531
|
+
* serviceQuotaChecksEnabled: true || false,
|
|
527
532
|
* };
|
|
528
533
|
* const command = new UpdatePlanCommand(input);
|
|
529
534
|
* const response = await client.send(command);
|
|
@@ -567,6 +572,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
567
572
|
* // },
|
|
568
573
|
* // targetPercent: Number("int"),
|
|
569
574
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
575
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
570
576
|
* // },
|
|
571
577
|
* // executionApprovalConfig: { // ExecutionApprovalConfiguration
|
|
572
578
|
* // timeoutMinutes: Number("int"),
|
|
@@ -633,6 +639,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
633
639
|
* // },
|
|
634
640
|
* // targetPercent: Number("int"),
|
|
635
641
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
642
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
636
643
|
* // },
|
|
637
644
|
* // executionApprovalConfig: {
|
|
638
645
|
* // timeoutMinutes: Number("int"),
|
|
@@ -687,6 +694,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
687
694
|
* // },
|
|
688
695
|
* // targetPercent: Number("int"),
|
|
689
696
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
697
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
690
698
|
* // },
|
|
691
699
|
* // eksResourceScalingConfig: { // EksResourceScalingConfiguration
|
|
692
700
|
* // timeoutMinutes: Number("int"),
|
|
@@ -845,6 +853,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
845
853
|
* // },
|
|
846
854
|
* // targetPercent: Number("int"),
|
|
847
855
|
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
856
|
+
* // waitELBTargetGroupHealthy: "enabled" || "disabled",
|
|
848
857
|
* // },
|
|
849
858
|
* // eksResourceScalingConfig: {
|
|
850
859
|
* // timeoutMinutes: Number("int"),
|
|
@@ -1019,6 +1028,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
1019
1028
|
* // },
|
|
1020
1029
|
* // ],
|
|
1021
1030
|
* // },
|
|
1031
|
+
* // serviceQuotaChecksEnabled: true || false,
|
|
1022
1032
|
* // name: "STRING_VALUE", // required
|
|
1023
1033
|
* // regions: [ // RegionList // required
|
|
1024
1034
|
* // "STRING_VALUE",
|
|
@@ -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";
|
|
@@ -216,6 +216,18 @@ export declare const Ec2AsgCapacityMonitoringApproach: {
|
|
|
216
216
|
* @public
|
|
217
217
|
*/
|
|
218
218
|
export type Ec2AsgCapacityMonitoringApproach = (typeof Ec2AsgCapacityMonitoringApproach)[keyof typeof Ec2AsgCapacityMonitoringApproach];
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
* @enum
|
|
222
|
+
*/
|
|
223
|
+
export declare const WaitELBTargetGroupHealthy: {
|
|
224
|
+
readonly DISABLED: "disabled";
|
|
225
|
+
readonly ENABLED: "enabled";
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* @public
|
|
229
|
+
*/
|
|
230
|
+
export type WaitELBTargetGroupHealthy = (typeof WaitELBTargetGroupHealthy)[keyof typeof WaitELBTargetGroupHealthy];
|
|
219
231
|
/**
|
|
220
232
|
* @public
|
|
221
233
|
* @enum
|
|
@@ -413,6 +425,21 @@ export declare const Route53HealthCheckStatus: {
|
|
|
413
425
|
* @public
|
|
414
426
|
*/
|
|
415
427
|
export type Route53HealthCheckStatus = (typeof Route53HealthCheckStatus)[keyof typeof Route53HealthCheckStatus];
|
|
428
|
+
/**
|
|
429
|
+
* @public
|
|
430
|
+
* @enum
|
|
431
|
+
*/
|
|
432
|
+
export declare const ServiceQuotaWarningStatus: {
|
|
433
|
+
readonly DENIED: "denied";
|
|
434
|
+
readonly INSUFFICIENT_PERMISSIONS: "insufficientPermissions";
|
|
435
|
+
readonly MAX_ACCOUNT_REQUESTS_EXCEEDED: "maxAccountRequestsExceeded";
|
|
436
|
+
readonly MAX_REGION_SWITCH_REQUESTS_EXCEEDED: "maxRegionSwitchRequestsExceeded";
|
|
437
|
+
readonly PENDING: "pending";
|
|
438
|
+
};
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
442
|
+
export type ServiceQuotaWarningStatus = (typeof ServiceQuotaWarningStatus)[keyof typeof ServiceQuotaWarningStatus];
|
|
416
443
|
/**
|
|
417
444
|
* @public
|
|
418
445
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlarmCondition, AlarmType, Approval, DocumentDbDefaultBehavior, DocumentDbUngracefulBehavior, Ec2AsgCapacityMonitoringApproach, EcsCapacityMonitoringApproach, EksCapacityMonitoringApproach, EvaluationStatus, EventSourceMappingAction, ExecutionAction, ExecutionBlockType, ExecutionEventType, ExecutionMode, ExecutionState, FailedReportErrorCode, GlobalAuroraDefaultBehavior, GlobalAuroraUngracefulBehavior, LambdaEventSourceMappingUngracefulBehavior, LambdaUngracefulBehavior, NeptuneDefaultBehavior, NeptuneUngracefulBehavior, RdsUngracefulBehavior, RecoveryApproach, RegionToRunIn, ResourceWarningStatus, Route53HealthCheckStatus, RoutingControlStateChange, StepStatus, UpdatePlanExecutionAction, UpdatePlanExecutionStepAction, WorkflowTargetAction } from "./enums";
|
|
1
|
+
import type { AlarmCondition, AlarmType, Approval, DocumentDbDefaultBehavior, DocumentDbUngracefulBehavior, Ec2AsgCapacityMonitoringApproach, EcsCapacityMonitoringApproach, EksCapacityMonitoringApproach, EvaluationStatus, EventSourceMappingAction, ExecutionAction, ExecutionBlockType, ExecutionEventType, ExecutionMode, ExecutionState, FailedReportErrorCode, GlobalAuroraDefaultBehavior, GlobalAuroraUngracefulBehavior, LambdaEventSourceMappingUngracefulBehavior, LambdaUngracefulBehavior, NeptuneDefaultBehavior, NeptuneUngracefulBehavior, RdsUngracefulBehavior, RecoveryApproach, RegionToRunIn, ResourceWarningStatus, Route53HealthCheckStatus, RoutingControlStateChange, ServiceQuotaWarningStatus, StepStatus, UpdatePlanExecutionAction, UpdatePlanExecutionStepAction, WaitELBTargetGroupHealthy, WorkflowTargetAction } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>A summarized representation of a plan execution. This structure contains key information about an execution without all the detailed step data.</p>
|
|
4
4
|
* @public
|
|
@@ -850,6 +850,11 @@ export interface Ec2AsgCapacityIncreaseConfiguration {
|
|
|
850
850
|
* @public
|
|
851
851
|
*/
|
|
852
852
|
capacityMonitoringApproach?: Ec2AsgCapacityMonitoringApproach | undefined;
|
|
853
|
+
/**
|
|
854
|
+
* <p>If enabled, the step completes only after each attached ELB target group reports a healthy target count that matches the group's new desired capacity calculated in the step.</p>
|
|
855
|
+
* @public
|
|
856
|
+
*/
|
|
857
|
+
waitELBTargetGroupHealthy?: WaitELBTargetGroupHealthy | undefined;
|
|
853
858
|
}
|
|
854
859
|
/**
|
|
855
860
|
* <p>The service for a cross account role.</p>
|
|
@@ -918,6 +923,11 @@ export interface EcsCapacityIncreaseConfiguration {
|
|
|
918
923
|
* @public
|
|
919
924
|
*/
|
|
920
925
|
capacityMonitoringApproach?: EcsCapacityMonitoringApproach | undefined;
|
|
926
|
+
/**
|
|
927
|
+
* <p>If enabled, the step completes only after each attached ELB target group reports a healthy target count that matches the service's new desired task count calculated in the step.</p>
|
|
928
|
+
* @public
|
|
929
|
+
*/
|
|
930
|
+
waitELBTargetGroupHealthy?: WaitELBTargetGroupHealthy | undefined;
|
|
921
931
|
}
|
|
922
932
|
/**
|
|
923
933
|
* <p>The Amazon Web Services EKS cluster execution block configuration.</p>
|
|
@@ -1702,6 +1712,107 @@ export interface ListRoute53HealthChecksInRegionResponse {
|
|
|
1702
1712
|
*/
|
|
1703
1713
|
nextToken?: string | undefined;
|
|
1704
1714
|
}
|
|
1715
|
+
/**
|
|
1716
|
+
* @public
|
|
1717
|
+
*/
|
|
1718
|
+
export interface ListServiceQuotaWarningsRequest {
|
|
1719
|
+
/**
|
|
1720
|
+
* <p>The Amazon Resource Names (ARNs) of the plans to return service quota warnings for. You can specify up to 100 plan ARNs. Region switch ignores any plan ARN that you can't access. If you omit this parameter, Region switch returns the warnings for all of your accessible plans.</p>
|
|
1721
|
+
* @public
|
|
1722
|
+
*/
|
|
1723
|
+
planArns?: string[] | undefined;
|
|
1724
|
+
/**
|
|
1725
|
+
* <p>The maximum number of results to return with this call. Valid values are <code>1</code> to <code>100</code>. If you don't specify a value, the operation returns up to the maximum number of results.</p>
|
|
1726
|
+
* @public
|
|
1727
|
+
*/
|
|
1728
|
+
maxResults?: number | undefined;
|
|
1729
|
+
/**
|
|
1730
|
+
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>nextToken</code> response to request the next page of results.</p>
|
|
1731
|
+
* @public
|
|
1732
|
+
*/
|
|
1733
|
+
nextToken?: string | undefined;
|
|
1734
|
+
}
|
|
1735
|
+
/**
|
|
1736
|
+
* <p>A service quota warning for a plan. Region switch creates a warning when the applied quota value in one Region of a plan is lower than the value for the matching resource in another Region or account in the plan, or when it can't complete a service quota check.</p>
|
|
1737
|
+
* @public
|
|
1738
|
+
*/
|
|
1739
|
+
export interface ServiceQuotaWarningSummary {
|
|
1740
|
+
/**
|
|
1741
|
+
* <p>The Amazon Web Services account ID that owns the plan that the warning applies to.</p>
|
|
1742
|
+
* @public
|
|
1743
|
+
*/
|
|
1744
|
+
accountId: string | undefined;
|
|
1745
|
+
/**
|
|
1746
|
+
* <p>The Amazon Web Services Region that the quota applies to.</p>
|
|
1747
|
+
* @public
|
|
1748
|
+
*/
|
|
1749
|
+
quotaRegion: string | undefined;
|
|
1750
|
+
/**
|
|
1751
|
+
* <p>The service code of the service that the quota belongs to, as defined in Service Quotas. For example, <code>ec2</code>.</p>
|
|
1752
|
+
* @public
|
|
1753
|
+
*/
|
|
1754
|
+
serviceCode?: string | undefined;
|
|
1755
|
+
/**
|
|
1756
|
+
* <p>The quota code of the quota that the warning applies to, as defined in Service Quotas.</p>
|
|
1757
|
+
* @public
|
|
1758
|
+
*/
|
|
1759
|
+
quotaCode?: string | undefined;
|
|
1760
|
+
/**
|
|
1761
|
+
* <p>The name of the quota that the warning applies to, as defined in Service Quotas.</p>
|
|
1762
|
+
* @public
|
|
1763
|
+
*/
|
|
1764
|
+
quotaName?: string | undefined;
|
|
1765
|
+
/**
|
|
1766
|
+
* <p>The status of the service quota warning.</p>
|
|
1767
|
+
* @public
|
|
1768
|
+
*/
|
|
1769
|
+
status: ServiceQuotaWarningStatus | undefined;
|
|
1770
|
+
/**
|
|
1771
|
+
* <p>The Amazon Resource Name (ARN) of the plan that the warning applies to.</p>
|
|
1772
|
+
* @public
|
|
1773
|
+
*/
|
|
1774
|
+
planArn: string | undefined;
|
|
1775
|
+
/**
|
|
1776
|
+
* <p>The ID of the quota increase request that Region switch submitted, if it submitted one for this quota.</p>
|
|
1777
|
+
* @public
|
|
1778
|
+
*/
|
|
1779
|
+
requestId?: string | undefined;
|
|
1780
|
+
/**
|
|
1781
|
+
* <p>The ID of the support case associated with the quota increase request, if Region switch submitted one for this quota.</p>
|
|
1782
|
+
* @public
|
|
1783
|
+
*/
|
|
1784
|
+
caseId?: string | undefined;
|
|
1785
|
+
/**
|
|
1786
|
+
* <p>A message that describes the service quota warning.</p>
|
|
1787
|
+
* @public
|
|
1788
|
+
*/
|
|
1789
|
+
warningMessage?: string | undefined;
|
|
1790
|
+
/**
|
|
1791
|
+
* <p>The time (UTC) when Region switch last checked this quota.</p>
|
|
1792
|
+
* @public
|
|
1793
|
+
*/
|
|
1794
|
+
lastCheckedAt?: Date | undefined;
|
|
1795
|
+
/**
|
|
1796
|
+
* <p>The time (UTC) when Region switch created this warning.</p>
|
|
1797
|
+
* @public
|
|
1798
|
+
*/
|
|
1799
|
+
warningCreatedAt?: Date | undefined;
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* @public
|
|
1803
|
+
*/
|
|
1804
|
+
export interface ListServiceQuotaWarningsResponse {
|
|
1805
|
+
/**
|
|
1806
|
+
* <p>The service quota warnings for the plans that you can access.</p>
|
|
1807
|
+
* @public
|
|
1808
|
+
*/
|
|
1809
|
+
serviceQuotaWarningSummaries: ServiceQuotaWarningSummary[] | undefined;
|
|
1810
|
+
/**
|
|
1811
|
+
* <p>A pagination token. A response may contain no results while still including a <code>nextToken</code>. Continue paginating until <code>nextToken</code> is null to retrieve all results.</p>
|
|
1812
|
+
* @public
|
|
1813
|
+
*/
|
|
1814
|
+
nextToken?: string | undefined;
|
|
1815
|
+
}
|
|
1705
1816
|
/**
|
|
1706
1817
|
* @public
|
|
1707
1818
|
*/
|
|
@@ -2568,6 +2679,11 @@ export interface CreatePlanRequest {
|
|
|
2568
2679
|
* @public
|
|
2569
2680
|
*/
|
|
2570
2681
|
reportConfiguration?: ReportConfiguration | undefined;
|
|
2682
|
+
/**
|
|
2683
|
+
* <p>Specifies whether to enable service quota checks for the Region switch plan.</p>
|
|
2684
|
+
* @public
|
|
2685
|
+
*/
|
|
2686
|
+
serviceQuotaChecksEnabled?: boolean | undefined;
|
|
2571
2687
|
/**
|
|
2572
2688
|
* <p>The name of a Region switch plan.</p>
|
|
2573
2689
|
* @public
|
|
@@ -2639,6 +2755,11 @@ export interface Plan {
|
|
|
2639
2755
|
* @public
|
|
2640
2756
|
*/
|
|
2641
2757
|
reportConfiguration?: ReportConfiguration | undefined;
|
|
2758
|
+
/**
|
|
2759
|
+
* <p>Indicates whether service quota checks are enabled for the Region switch plan. When enabled, Region switch compares the applied service quota values across the plan's Amazon Web Services Regions and creates a warning when a quota in one Region is lower than the value required for the matching resource in another Region. Service quota checks are advisory and don't prevent you from creating, evaluating, or executing a plan.</p>
|
|
2760
|
+
* @public
|
|
2761
|
+
*/
|
|
2762
|
+
serviceQuotaChecksEnabled?: boolean | undefined;
|
|
2642
2763
|
/**
|
|
2643
2764
|
* <p>The name for a plan.</p>
|
|
2644
2765
|
* @public
|
|
@@ -2719,6 +2840,11 @@ export interface UpdatePlanRequest {
|
|
|
2719
2840
|
* @public
|
|
2720
2841
|
*/
|
|
2721
2842
|
reportConfiguration?: ReportConfiguration | undefined;
|
|
2843
|
+
/**
|
|
2844
|
+
* <p>Specifies whether service quota checks are enabled for the Region switch plan.</p>
|
|
2845
|
+
* @public
|
|
2846
|
+
*/
|
|
2847
|
+
serviceQuotaChecksEnabled?: boolean | undefined;
|
|
2722
2848
|
}
|
|
2723
2849
|
/**
|
|
2724
2850
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListServiceQuotaWarningsCommandInput, ListServiceQuotaWarningsCommandOutput } from "../commands/ListServiceQuotaWarningsCommand";
|
|
3
|
+
import type { ARCRegionSwitchPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListServiceQuotaWarnings: (config: ARCRegionSwitchPaginationConfiguration, input: ListServiceQuotaWarningsCommandInput, ...rest: any[]) => 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;
|