@aws-sdk/client-arc-region-switch 3.954.0 → 3.956.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 +8 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +191 -19
- package/dist-es/ARCRegionSwitch.js +2 -0
- package/dist-es/commands/ListRoute53HealthChecksInRegionCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +19 -0
- package/dist-es/models/errors.js +8 -8
- package/dist-es/pagination/ListRoute53HealthChecksInRegionPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +132 -11
- package/dist-types/ARCRegionSwitch.d.ts +7 -0
- package/dist-types/ARCRegionSwitchClient.d.ts +3 -2
- package/dist-types/commands/CreatePlanCommand.d.ts +76 -4
- package/dist-types/commands/GetPlanCommand.d.ts +38 -2
- package/dist-types/commands/GetPlanExecutionCommand.d.ts +52 -2
- package/dist-types/commands/GetPlanInRegionCommand.d.ts +38 -2
- package/dist-types/commands/ListPlanExecutionEventsCommand.d.ts +2 -2
- package/dist-types/commands/ListRoute53HealthChecksCommand.d.ts +1 -0
- package/dist-types/commands/ListRoute53HealthChecksInRegionCommand.d.ts +133 -0
- package/dist-types/commands/UpdatePlanCommand.d.ts +76 -4
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +51 -0
- package/dist-types/models/errors.d.ts +8 -8
- package/dist-types/models/models_0.d.ts +302 -2
- package/dist-types/pagination/ListRoute53HealthChecksInRegionPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +14 -2
- package/dist-types/ts3.4/ARCRegionSwitch.d.ts +17 -0
- package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListRoute53HealthChecksInRegionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +27 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -6
- package/dist-types/ts3.4/models/models_0.d.ts +120 -0
- package/dist-types/ts3.4/pagination/ListRoute53HealthChecksInRegionPaginator.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 +14 -1
- package/package.json +34 -34
|
@@ -268,8 +268,21 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
268
268
|
* // },
|
|
269
269
|
* // ],
|
|
270
270
|
* // },
|
|
271
|
+
* // documentDbConfig: { // DocumentDbConfiguration
|
|
272
|
+
* // timeoutMinutes: Number("int"),
|
|
273
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
274
|
+
* // externalId: "STRING_VALUE",
|
|
275
|
+
* // behavior: "switchoverOnly" || "failover", // required
|
|
276
|
+
* // ungraceful: { // DocumentDbUngraceful
|
|
277
|
+
* // ungraceful: "failover",
|
|
278
|
+
* // },
|
|
279
|
+
* // globalClusterIdentifier: "STRING_VALUE", // required
|
|
280
|
+
* // databaseClusterArns: [ // DocumentDbClusterArns // required
|
|
281
|
+
* // "STRING_VALUE",
|
|
282
|
+
* // ],
|
|
283
|
+
* // },
|
|
271
284
|
* // },
|
|
272
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
285
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
273
286
|
* // },
|
|
274
287
|
* // ],
|
|
275
288
|
* // },
|
|
@@ -337,8 +350,21 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
337
350
|
* // },
|
|
338
351
|
* // ],
|
|
339
352
|
* // },
|
|
353
|
+
* // documentDbConfig: {
|
|
354
|
+
* // timeoutMinutes: Number("int"),
|
|
355
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
356
|
+
* // externalId: "STRING_VALUE",
|
|
357
|
+
* // behavior: "switchoverOnly" || "failover", // required
|
|
358
|
+
* // ungraceful: {
|
|
359
|
+
* // ungraceful: "failover",
|
|
360
|
+
* // },
|
|
361
|
+
* // globalClusterIdentifier: "STRING_VALUE", // required
|
|
362
|
+
* // databaseClusterArns: [ // required
|
|
363
|
+
* // "STRING_VALUE",
|
|
364
|
+
* // ],
|
|
365
|
+
* // },
|
|
340
366
|
* // },
|
|
341
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
367
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
342
368
|
* // },
|
|
343
369
|
* // ],
|
|
344
370
|
* // workflowTargetAction: "activate" || "deactivate", // required
|
|
@@ -370,6 +396,16 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
370
396
|
* // minDelayMinutesBetweenExecutions: Number("int"), // required
|
|
371
397
|
* // },
|
|
372
398
|
* // ],
|
|
399
|
+
* // reportConfiguration: { // ReportConfiguration
|
|
400
|
+
* // reportOutput: [ // ReportOutputList
|
|
401
|
+
* // { // ReportOutputConfiguration Union: only one key present
|
|
402
|
+
* // s3Configuration: { // S3ReportOutputConfiguration
|
|
403
|
+
* // bucketPath: "STRING_VALUE",
|
|
404
|
+
* // bucketOwner: "STRING_VALUE",
|
|
405
|
+
* // },
|
|
406
|
+
* // },
|
|
407
|
+
* // ],
|
|
408
|
+
* // },
|
|
373
409
|
* // name: "STRING_VALUE", // required
|
|
374
410
|
* // regions: [ // RegionList // required
|
|
375
411
|
* // "STRING_VALUE",
|
|
@@ -381,6 +417,20 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
381
417
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
382
418
|
* // },
|
|
383
419
|
* // actualRecoveryTime: "STRING_VALUE",
|
|
420
|
+
* // generatedReportDetails: [ // GeneratedReportDetails
|
|
421
|
+
* // { // GeneratedReport
|
|
422
|
+
* // reportGenerationTime: new Date("TIMESTAMP"),
|
|
423
|
+
* // reportOutput: { // ReportOutput Union: only one key present
|
|
424
|
+
* // s3ReportOutput: { // S3ReportOutput
|
|
425
|
+
* // s3ObjectKey: "STRING_VALUE",
|
|
426
|
+
* // },
|
|
427
|
+
* // failedReportOutput: { // FailedReportOutput
|
|
428
|
+
* // errorCode: "insufficientPermissions" || "invalidResource" || "configurationError",
|
|
429
|
+
* // errorMessage: "STRING_VALUE",
|
|
430
|
+
* // },
|
|
431
|
+
* // },
|
|
432
|
+
* // },
|
|
433
|
+
* // ],
|
|
384
434
|
* // nextToken: "STRING_VALUE",
|
|
385
435
|
* // };
|
|
386
436
|
*
|
|
@@ -245,8 +245,21 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
245
245
|
* // },
|
|
246
246
|
* // ],
|
|
247
247
|
* // },
|
|
248
|
+
* // documentDbConfig: { // DocumentDbConfiguration
|
|
249
|
+
* // timeoutMinutes: Number("int"),
|
|
250
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
251
|
+
* // externalId: "STRING_VALUE",
|
|
252
|
+
* // behavior: "switchoverOnly" || "failover", // required
|
|
253
|
+
* // ungraceful: { // DocumentDbUngraceful
|
|
254
|
+
* // ungraceful: "failover",
|
|
255
|
+
* // },
|
|
256
|
+
* // globalClusterIdentifier: "STRING_VALUE", // required
|
|
257
|
+
* // databaseClusterArns: [ // DocumentDbClusterArns // required
|
|
258
|
+
* // "STRING_VALUE",
|
|
259
|
+
* // ],
|
|
260
|
+
* // },
|
|
248
261
|
* // },
|
|
249
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
262
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
250
263
|
* // },
|
|
251
264
|
* // ],
|
|
252
265
|
* // },
|
|
@@ -314,8 +327,21 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
314
327
|
* // },
|
|
315
328
|
* // ],
|
|
316
329
|
* // },
|
|
330
|
+
* // documentDbConfig: {
|
|
331
|
+
* // timeoutMinutes: Number("int"),
|
|
332
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
333
|
+
* // externalId: "STRING_VALUE",
|
|
334
|
+
* // behavior: "switchoverOnly" || "failover", // required
|
|
335
|
+
* // ungraceful: {
|
|
336
|
+
* // ungraceful: "failover",
|
|
337
|
+
* // },
|
|
338
|
+
* // globalClusterIdentifier: "STRING_VALUE", // required
|
|
339
|
+
* // databaseClusterArns: [ // required
|
|
340
|
+
* // "STRING_VALUE",
|
|
341
|
+
* // ],
|
|
342
|
+
* // },
|
|
317
343
|
* // },
|
|
318
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
344
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
319
345
|
* // },
|
|
320
346
|
* // ],
|
|
321
347
|
* // workflowTargetAction: "activate" || "deactivate", // required
|
|
@@ -347,6 +373,16 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
347
373
|
* // minDelayMinutesBetweenExecutions: Number("int"), // required
|
|
348
374
|
* // },
|
|
349
375
|
* // ],
|
|
376
|
+
* // reportConfiguration: { // ReportConfiguration
|
|
377
|
+
* // reportOutput: [ // ReportOutputList
|
|
378
|
+
* // { // ReportOutputConfiguration Union: only one key present
|
|
379
|
+
* // s3Configuration: { // S3ReportOutputConfiguration
|
|
380
|
+
* // bucketPath: "STRING_VALUE",
|
|
381
|
+
* // bucketOwner: "STRING_VALUE",
|
|
382
|
+
* // },
|
|
383
|
+
* // },
|
|
384
|
+
* // ],
|
|
385
|
+
* // },
|
|
350
386
|
* // name: "STRING_VALUE", // required
|
|
351
387
|
* // regions: [ // RegionList // required
|
|
352
388
|
* // "STRING_VALUE",
|
|
@@ -49,9 +49,9 @@ declare const ListPlanExecutionEventsCommand_base: {
|
|
|
49
49
|
* // items: [ // ExecutionEventList
|
|
50
50
|
* // { // ExecutionEvent
|
|
51
51
|
* // timestamp: new Date("TIMESTAMP"),
|
|
52
|
-
* // type: "unknown" || "executionPending" || "executionStarted" || "executionSucceeded" || "executionFailed" || "executionPausing" || "executionPaused" || "executionCanceling" || "executionCanceled" || "executionPendingApproval" || "executionBehaviorChangedToUngraceful" || "executionBehaviorChangedToGraceful" || "executionPendingChildPlanManualApproval" || "executionSuccessMonitoringApplicationHealth" || "stepStarted" || "stepUpdate" || "stepSucceeded" || "stepFailed" || "stepSkipped" || "stepPausedByError" || "stepPausedByOperator" || "stepCanceled" || "stepPendingApproval" || "stepExecutionBehaviorChangedToUngraceful" || "stepPendingApplicationHealthMonitor",
|
|
52
|
+
* // type: "unknown" || "executionPending" || "executionStarted" || "executionSucceeded" || "executionFailed" || "executionPausing" || "executionPaused" || "executionCanceling" || "executionCanceled" || "executionPendingApproval" || "executionBehaviorChangedToUngraceful" || "executionBehaviorChangedToGraceful" || "executionPendingChildPlanManualApproval" || "executionSuccessMonitoringApplicationHealth" || "stepStarted" || "stepUpdate" || "stepSucceeded" || "stepFailed" || "stepSkipped" || "stepPausedByError" || "stepPausedByOperator" || "stepCanceled" || "stepPendingApproval" || "stepExecutionBehaviorChangedToUngraceful" || "stepPendingApplicationHealthMonitor" || "planEvaluationWarning",
|
|
53
53
|
* // stepName: "STRING_VALUE",
|
|
54
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck",
|
|
54
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb",
|
|
55
55
|
* // resources: [ // Resources
|
|
56
56
|
* // "STRING_VALUE",
|
|
57
57
|
* // ],
|
|
@@ -51,6 +51,7 @@ declare const ListRoute53HealthChecksCommand_base: {
|
|
|
51
51
|
* // hostedZoneId: "STRING_VALUE", // required
|
|
52
52
|
* // recordName: "STRING_VALUE", // required
|
|
53
53
|
* // healthCheckId: "STRING_VALUE",
|
|
54
|
+
* // status: "healthy" || "unhealthy" || "unknown",
|
|
54
55
|
* // region: "STRING_VALUE", // required
|
|
55
56
|
* // },
|
|
56
57
|
* // ],
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
|
+
import type { ListRoute53HealthChecksInRegionRequest, ListRoute53HealthChecksInRegionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListRoute53HealthChecksInRegionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListRoute53HealthChecksInRegionCommandInput extends ListRoute53HealthChecksInRegionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListRoute53HealthChecksInRegionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRoute53HealthChecksInRegionCommandOutput extends ListRoute53HealthChecksInRegionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListRoute53HealthChecksInRegionCommand_base: {
|
|
25
|
+
new (input: ListRoute53HealthChecksInRegionCommandInput): import("@smithy/smithy-client").CommandImpl<ListRoute53HealthChecksInRegionCommandInput, ListRoute53HealthChecksInRegionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListRoute53HealthChecksInRegionCommandInput): import("@smithy/smithy-client").CommandImpl<ListRoute53HealthChecksInRegionCommandInput, ListRoute53HealthChecksInRegionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>List the Amazon Route 53 health checks in a specific Amazon Web Services Region.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ARCRegionSwitchClient, ListRoute53HealthChecksInRegionCommand } from "@aws-sdk/client-arc-region-switch"; // ES Modules import
|
|
35
|
+
* // const { ARCRegionSwitchClient, ListRoute53HealthChecksInRegionCommand } = require("@aws-sdk/client-arc-region-switch"); // CommonJS import
|
|
36
|
+
* // import type { ARCRegionSwitchClientConfig } from "@aws-sdk/client-arc-region-switch";
|
|
37
|
+
* const config = {}; // type is ARCRegionSwitchClientConfig
|
|
38
|
+
* const client = new ARCRegionSwitchClient(config);
|
|
39
|
+
* const input = { // ListRoute53HealthChecksInRegionRequest
|
|
40
|
+
* arn: "STRING_VALUE", // required
|
|
41
|
+
* hostedZoneId: "STRING_VALUE",
|
|
42
|
+
* recordName: "STRING_VALUE",
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListRoute53HealthChecksInRegionCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListRoute53HealthChecksInRegionResponse
|
|
49
|
+
* // healthChecks: [ // Route53HealthCheckList
|
|
50
|
+
* // { // Route53HealthCheck
|
|
51
|
+
* // hostedZoneId: "STRING_VALUE", // required
|
|
52
|
+
* // recordName: "STRING_VALUE", // required
|
|
53
|
+
* // healthCheckId: "STRING_VALUE",
|
|
54
|
+
* // status: "healthy" || "unhealthy" || "unknown",
|
|
55
|
+
* // region: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // nextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListRoute53HealthChecksInRegionCommandInput - {@link ListRoute53HealthChecksInRegionCommandInput}
|
|
64
|
+
* @returns {@link ListRoute53HealthChecksInRegionCommandOutput}
|
|
65
|
+
* @see {@link ListRoute53HealthChecksInRegionCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListRoute53HealthChecksInRegionCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link ARCRegionSwitchClientResolvedConfig | config} for ARCRegionSwitchClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>You do not have sufficient access to perform this action.</p> <p>HTTP Status Code: 403</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link IllegalArgumentException} (client fault)
|
|
73
|
+
* <p>The request processing has an invalid argument.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure.</p> <p>HTTP Status Code: 500</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The specified resource was not found.</p> <p>HTTP Status Code: 404</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ARCRegionSwitchServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from ARCRegionSwitch service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @example Example ListRoute53HealthChecksInRegion
|
|
86
|
+
* ```javascript
|
|
87
|
+
* //
|
|
88
|
+
* const input = {
|
|
89
|
+
* arn: "arn:aws:arc-region-switch::123456789012:plan/example:000000",
|
|
90
|
+
* hostedZoneId: "Z0123456789ABCDEFGHI",
|
|
91
|
+
* maxResults: 10,
|
|
92
|
+
* nextToken: "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAxfQ",
|
|
93
|
+
* recordName: "my.record.name"
|
|
94
|
+
* };
|
|
95
|
+
* const command = new ListRoute53HealthChecksInRegionCommand(input);
|
|
96
|
+
* const response = await client.send(command);
|
|
97
|
+
* /* response is
|
|
98
|
+
* {
|
|
99
|
+
* healthChecks: [
|
|
100
|
+
* {
|
|
101
|
+
* healthCheckId: "01234567-8901-abcd-efgh-ijklmnop0123",
|
|
102
|
+
* hostedZoneId: "Z0123456789ABCDEFGHI",
|
|
103
|
+
* recordName: "my.record.name",
|
|
104
|
+
* region: "us-west-2",
|
|
105
|
+
* status: "healthy"
|
|
106
|
+
* },
|
|
107
|
+
* {
|
|
108
|
+
* healthCheckId: "zyxwvuts-rqpo-9876-5432-10nmlkji0123",
|
|
109
|
+
* hostedZoneId: "Z0123456789ABCDEFGHI",
|
|
110
|
+
* recordName: "my.record.name",
|
|
111
|
+
* region: "us-east-1",
|
|
112
|
+
* status: "healthy"
|
|
113
|
+
* }
|
|
114
|
+
* ]
|
|
115
|
+
* }
|
|
116
|
+
* *\/
|
|
117
|
+
* ```
|
|
118
|
+
*
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class ListRoute53HealthChecksInRegionCommand extends ListRoute53HealthChecksInRegionCommand_base {
|
|
122
|
+
/** @internal type navigation helper, not in runtime. */
|
|
123
|
+
protected static __types: {
|
|
124
|
+
api: {
|
|
125
|
+
input: ListRoute53HealthChecksInRegionRequest;
|
|
126
|
+
output: ListRoute53HealthChecksInRegionResponse;
|
|
127
|
+
};
|
|
128
|
+
sdk: {
|
|
129
|
+
input: ListRoute53HealthChecksInRegionCommandInput;
|
|
130
|
+
output: ListRoute53HealthChecksInRegionCommandOutput;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
}
|
|
@@ -239,8 +239,21 @@ declare const UpdatePlanCommand_base: {
|
|
|
239
239
|
* },
|
|
240
240
|
* ],
|
|
241
241
|
* },
|
|
242
|
+
* documentDbConfig: { // DocumentDbConfiguration
|
|
243
|
+
* timeoutMinutes: Number("int"),
|
|
244
|
+
* crossAccountRole: "STRING_VALUE",
|
|
245
|
+
* externalId: "STRING_VALUE",
|
|
246
|
+
* behavior: "switchoverOnly" || "failover", // required
|
|
247
|
+
* ungraceful: { // DocumentDbUngraceful
|
|
248
|
+
* ungraceful: "failover",
|
|
249
|
+
* },
|
|
250
|
+
* globalClusterIdentifier: "STRING_VALUE", // required
|
|
251
|
+
* databaseClusterArns: [ // DocumentDbClusterArns // required
|
|
252
|
+
* "STRING_VALUE",
|
|
253
|
+
* ],
|
|
254
|
+
* },
|
|
242
255
|
* },
|
|
243
|
-
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
256
|
+
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
244
257
|
* },
|
|
245
258
|
* ],
|
|
246
259
|
* },
|
|
@@ -308,8 +321,21 @@ declare const UpdatePlanCommand_base: {
|
|
|
308
321
|
* },
|
|
309
322
|
* ],
|
|
310
323
|
* },
|
|
324
|
+
* documentDbConfig: {
|
|
325
|
+
* timeoutMinutes: Number("int"),
|
|
326
|
+
* crossAccountRole: "STRING_VALUE",
|
|
327
|
+
* externalId: "STRING_VALUE",
|
|
328
|
+
* behavior: "switchoverOnly" || "failover", // required
|
|
329
|
+
* ungraceful: {
|
|
330
|
+
* ungraceful: "failover",
|
|
331
|
+
* },
|
|
332
|
+
* globalClusterIdentifier: "STRING_VALUE", // required
|
|
333
|
+
* databaseClusterArns: [ // required
|
|
334
|
+
* "STRING_VALUE",
|
|
335
|
+
* ],
|
|
336
|
+
* },
|
|
311
337
|
* },
|
|
312
|
-
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
338
|
+
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
313
339
|
* },
|
|
314
340
|
* ],
|
|
315
341
|
* workflowTargetAction: "activate" || "deactivate", // required
|
|
@@ -341,6 +367,16 @@ declare const UpdatePlanCommand_base: {
|
|
|
341
367
|
* minDelayMinutesBetweenExecutions: Number("int"), // required
|
|
342
368
|
* },
|
|
343
369
|
* ],
|
|
370
|
+
* reportConfiguration: { // ReportConfiguration
|
|
371
|
+
* reportOutput: [ // ReportOutputList
|
|
372
|
+
* { // ReportOutputConfiguration Union: only one key present
|
|
373
|
+
* s3Configuration: { // S3ReportOutputConfiguration
|
|
374
|
+
* bucketPath: "STRING_VALUE",
|
|
375
|
+
* bucketOwner: "STRING_VALUE",
|
|
376
|
+
* },
|
|
377
|
+
* },
|
|
378
|
+
* ],
|
|
379
|
+
* },
|
|
344
380
|
* };
|
|
345
381
|
* const command = new UpdatePlanCommand(input);
|
|
346
382
|
* const response = await client.send(command);
|
|
@@ -548,8 +584,21 @@ declare const UpdatePlanCommand_base: {
|
|
|
548
584
|
* // },
|
|
549
585
|
* // ],
|
|
550
586
|
* // },
|
|
587
|
+
* // documentDbConfig: { // DocumentDbConfiguration
|
|
588
|
+
* // timeoutMinutes: Number("int"),
|
|
589
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
590
|
+
* // externalId: "STRING_VALUE",
|
|
591
|
+
* // behavior: "switchoverOnly" || "failover", // required
|
|
592
|
+
* // ungraceful: { // DocumentDbUngraceful
|
|
593
|
+
* // ungraceful: "failover",
|
|
594
|
+
* // },
|
|
595
|
+
* // globalClusterIdentifier: "STRING_VALUE", // required
|
|
596
|
+
* // databaseClusterArns: [ // DocumentDbClusterArns // required
|
|
597
|
+
* // "STRING_VALUE",
|
|
598
|
+
* // ],
|
|
599
|
+
* // },
|
|
551
600
|
* // },
|
|
552
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
601
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
553
602
|
* // },
|
|
554
603
|
* // ],
|
|
555
604
|
* // },
|
|
@@ -617,8 +666,21 @@ declare const UpdatePlanCommand_base: {
|
|
|
617
666
|
* // },
|
|
618
667
|
* // ],
|
|
619
668
|
* // },
|
|
669
|
+
* // documentDbConfig: {
|
|
670
|
+
* // timeoutMinutes: Number("int"),
|
|
671
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
672
|
+
* // externalId: "STRING_VALUE",
|
|
673
|
+
* // behavior: "switchoverOnly" || "failover", // required
|
|
674
|
+
* // ungraceful: {
|
|
675
|
+
* // ungraceful: "failover",
|
|
676
|
+
* // },
|
|
677
|
+
* // globalClusterIdentifier: "STRING_VALUE", // required
|
|
678
|
+
* // databaseClusterArns: [ // required
|
|
679
|
+
* // "STRING_VALUE",
|
|
680
|
+
* // ],
|
|
681
|
+
* // },
|
|
620
682
|
* // },
|
|
621
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
683
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
622
684
|
* // },
|
|
623
685
|
* // ],
|
|
624
686
|
* // workflowTargetAction: "activate" || "deactivate", // required
|
|
@@ -650,6 +712,16 @@ declare const UpdatePlanCommand_base: {
|
|
|
650
712
|
* // minDelayMinutesBetweenExecutions: Number("int"), // required
|
|
651
713
|
* // },
|
|
652
714
|
* // ],
|
|
715
|
+
* // reportConfiguration: { // ReportConfiguration
|
|
716
|
+
* // reportOutput: [ // ReportOutputList
|
|
717
|
+
* // { // ReportOutputConfiguration Union: only one key present
|
|
718
|
+
* // s3Configuration: { // S3ReportOutputConfiguration
|
|
719
|
+
* // bucketPath: "STRING_VALUE",
|
|
720
|
+
* // bucketOwner: "STRING_VALUE",
|
|
721
|
+
* // },
|
|
722
|
+
* // },
|
|
723
|
+
* // ],
|
|
724
|
+
* // },
|
|
653
725
|
* // name: "STRING_VALUE", // required
|
|
654
726
|
* // regions: [ // RegionList // required
|
|
655
727
|
* // "STRING_VALUE",
|
|
@@ -11,6 +11,7 @@ export * from "./ListPlanExecutionsCommand";
|
|
|
11
11
|
export * from "./ListPlansCommand";
|
|
12
12
|
export * from "./ListPlansInRegionCommand";
|
|
13
13
|
export * from "./ListRoute53HealthChecksCommand";
|
|
14
|
+
export * from "./ListRoute53HealthChecksInRegionCommand";
|
|
14
15
|
export * from "./ListTagsForResourceCommand";
|
|
15
16
|
export * from "./StartPlanExecutionCommand";
|
|
16
17
|
export * from "./TagResourceCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export * from "./pagination";
|
|
|
14
14
|
export * from "./waiters";
|
|
15
15
|
export * from "./models/enums";
|
|
16
16
|
export * from "./models/errors";
|
|
17
|
-
export
|
|
17
|
+
export * from "./models/models_0";
|
|
18
18
|
export { ARCRegionSwitchServiceException } from "./models/ARCRegionSwitchServiceException";
|
|
@@ -117,6 +117,19 @@ export declare const ResourceWarningStatus: {
|
|
|
117
117
|
* @public
|
|
118
118
|
*/
|
|
119
119
|
export type ResourceWarningStatus = (typeof ResourceWarningStatus)[keyof typeof ResourceWarningStatus];
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
* @enum
|
|
123
|
+
*/
|
|
124
|
+
export declare const FailedReportErrorCode: {
|
|
125
|
+
readonly CONFIGURATION_ERROR: "configurationError";
|
|
126
|
+
readonly INSUFFICIENT_PERMISSIONS: "insufficientPermissions";
|
|
127
|
+
readonly INVALID_RESOURCE: "invalidResource";
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export type FailedReportErrorCode = (typeof FailedReportErrorCode)[keyof typeof FailedReportErrorCode];
|
|
120
133
|
/**
|
|
121
134
|
* @public
|
|
122
135
|
* @enum
|
|
@@ -164,6 +177,29 @@ export declare const LambdaUngracefulBehavior: {
|
|
|
164
177
|
* @public
|
|
165
178
|
*/
|
|
166
179
|
export type LambdaUngracefulBehavior = (typeof LambdaUngracefulBehavior)[keyof typeof LambdaUngracefulBehavior];
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
* @enum
|
|
183
|
+
*/
|
|
184
|
+
export declare const DocumentDbDefaultBehavior: {
|
|
185
|
+
readonly FAILOVER: "failover";
|
|
186
|
+
readonly SWITCHOVER_ONLY: "switchoverOnly";
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export type DocumentDbDefaultBehavior = (typeof DocumentDbDefaultBehavior)[keyof typeof DocumentDbDefaultBehavior];
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
* @enum
|
|
195
|
+
*/
|
|
196
|
+
export declare const DocumentDbUngracefulBehavior: {
|
|
197
|
+
readonly FAILOVER: "failover";
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export type DocumentDbUngracefulBehavior = (typeof DocumentDbUngracefulBehavior)[keyof typeof DocumentDbUngracefulBehavior];
|
|
167
203
|
/**
|
|
168
204
|
* @public
|
|
169
205
|
* @enum
|
|
@@ -229,6 +265,7 @@ export type GlobalAuroraUngracefulBehavior = (typeof GlobalAuroraUngracefulBehav
|
|
|
229
265
|
export declare const ExecutionBlockType: {
|
|
230
266
|
readonly AURORA: "AuroraGlobalDatabase";
|
|
231
267
|
readonly CUSTOM_ACTION_LAMBDA: "CustomActionLambda";
|
|
268
|
+
readonly DOCUMENTDB: "DocumentDb";
|
|
232
269
|
readonly EC2_ASG: "EC2AutoScaling";
|
|
233
270
|
readonly ECS: "ECSServiceScaling";
|
|
234
271
|
readonly EKS_RESOURCE_SCALING: "EKSResourceScaling";
|
|
@@ -277,6 +314,7 @@ export declare const ExecutionEventType: {
|
|
|
277
314
|
readonly EXECUTION_STARTED: "executionStarted";
|
|
278
315
|
readonly EXECUTION_SUCCEEDED: "executionSucceeded";
|
|
279
316
|
readonly EXECUTION_SUCCESS_MONITORING_APPLICATION_HEALTH: "executionSuccessMonitoringApplicationHealth";
|
|
317
|
+
readonly PLAN_EVALUATION_WARNING: "planEvaluationWarning";
|
|
280
318
|
readonly STEP_CANCELED: "stepCanceled";
|
|
281
319
|
readonly STEP_EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "stepExecutionBehaviorChangedToUngraceful";
|
|
282
320
|
readonly STEP_FAILED: "stepFailed";
|
|
@@ -294,6 +332,19 @@ export declare const ExecutionEventType: {
|
|
|
294
332
|
* @public
|
|
295
333
|
*/
|
|
296
334
|
export type ExecutionEventType = (typeof ExecutionEventType)[keyof typeof ExecutionEventType];
|
|
335
|
+
/**
|
|
336
|
+
* @public
|
|
337
|
+
* @enum
|
|
338
|
+
*/
|
|
339
|
+
export declare const Route53HealthCheckStatus: {
|
|
340
|
+
readonly HEALTHY: "healthy";
|
|
341
|
+
readonly UNHEALTHY: "unhealthy";
|
|
342
|
+
readonly UNKNOWN: "unknown";
|
|
343
|
+
};
|
|
344
|
+
/**
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
export type Route53HealthCheckStatus = (typeof Route53HealthCheckStatus)[keyof typeof Route53HealthCheckStatus];
|
|
297
348
|
/**
|
|
298
349
|
* @public
|
|
299
350
|
* @enum
|
|
@@ -37,26 +37,26 @@ export declare class InternalServerException extends __BaseException {
|
|
|
37
37
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
|
-
* <p>The
|
|
40
|
+
* <p>The request processing has an invalid argument.</p>
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
|
-
export declare class
|
|
44
|
-
readonly name: "
|
|
43
|
+
export declare class IllegalArgumentException extends __BaseException {
|
|
44
|
+
readonly name: "IllegalArgumentException";
|
|
45
45
|
readonly $fault: "client";
|
|
46
46
|
/**
|
|
47
47
|
* @internal
|
|
48
48
|
*/
|
|
49
|
-
constructor(opts: __ExceptionOptionType<
|
|
49
|
+
constructor(opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>);
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
* <p>The
|
|
52
|
+
* <p>The operation failed because the current state of the resource doesn't allow the operation to proceed.</p> <p>HTTP Status Code: 400</p>
|
|
53
53
|
* @public
|
|
54
54
|
*/
|
|
55
|
-
export declare class
|
|
56
|
-
readonly name: "
|
|
55
|
+
export declare class IllegalStateException extends __BaseException {
|
|
56
|
+
readonly name: "IllegalStateException";
|
|
57
57
|
readonly $fault: "client";
|
|
58
58
|
/**
|
|
59
59
|
* @internal
|
|
60
60
|
*/
|
|
61
|
-
constructor(opts: __ExceptionOptionType<
|
|
61
|
+
constructor(opts: __ExceptionOptionType<IllegalStateException, __BaseException>);
|
|
62
62
|
}
|