cdk-lambda-subminute 2.0.270 → 2.0.271
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/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +10 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/ecs-2014-11-13.examples.json +24 -24
- package/node_modules/aws-sdk/apis/globalaccelerator-2018-08-08.paginators.json +2 -1
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +3 -0
- package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +571 -38
- package/node_modules/aws-sdk/apis/kafka-2018-11-14.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/route53-recovery-cluster-2019-12-02.min.json +5 -4
- package/node_modules/aws-sdk/apis/route53-recovery-control-config-2020-11-02.min.json +67 -37
- package/node_modules/aws-sdk/clients/codepipeline.d.ts +4 -4
- package/node_modules/aws-sdk/clients/ecs.d.ts +3 -3
- package/node_modules/aws-sdk/clients/guardduty.d.ts +5 -1
- package/node_modules/aws-sdk/clients/kafka.d.ts +467 -0
- package/node_modules/aws-sdk/clients/route53recoverycluster.d.ts +16 -11
- package/node_modules/aws-sdk/clients/route53recoverycontrolconfig.d.ts +42 -0
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +7 -7
- package/node_modules/aws-sdk/dist/aws-sdk.js +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +2 -2
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +4 -4
@@ -12,35 +12,35 @@ declare class Route53RecoveryCluster extends Service {
|
|
12
12
|
constructor(options?: Route53RecoveryCluster.Types.ClientConfiguration)
|
13
13
|
config: Config & Route53RecoveryCluster.Types.ClientConfiguration;
|
14
14
|
/**
|
15
|
-
* Get the state for a routing control. A routing control is a simple on/off switch that you can use to route traffic to cells. When a routing control state is
|
15
|
+
* Get the state for a routing control. A routing control is a simple on/off switch that you can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow. Before you can create a routing control, you must first create a cluster, and then host the control in a control panel on the cluster. For more information, see Create routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. You access one of the endpoints for the cluster to get or update the routing control state to redirect traffic for your application. You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC. To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide. Learn more about working with routing controls in the following topics in the Amazon Route 53 Application Recovery Controller Developer Guide: Viewing and updating routing control states Working with routing controls in Route 53 ARC
|
16
16
|
*/
|
17
17
|
getRoutingControlState(params: Route53RecoveryCluster.Types.GetRoutingControlStateRequest, callback?: (err: AWSError, data: Route53RecoveryCluster.Types.GetRoutingControlStateResponse) => void): Request<Route53RecoveryCluster.Types.GetRoutingControlStateResponse, AWSError>;
|
18
18
|
/**
|
19
|
-
* Get the state for a routing control. A routing control is a simple on/off switch that you can use to route traffic to cells. When a routing control state is
|
19
|
+
* Get the state for a routing control. A routing control is a simple on/off switch that you can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow. Before you can create a routing control, you must first create a cluster, and then host the control in a control panel on the cluster. For more information, see Create routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. You access one of the endpoints for the cluster to get or update the routing control state to redirect traffic for your application. You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC. To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide. Learn more about working with routing controls in the following topics in the Amazon Route 53 Application Recovery Controller Developer Guide: Viewing and updating routing control states Working with routing controls in Route 53 ARC
|
20
20
|
*/
|
21
21
|
getRoutingControlState(callback?: (err: AWSError, data: Route53RecoveryCluster.Types.GetRoutingControlStateResponse) => void): Request<Route53RecoveryCluster.Types.GetRoutingControlStateResponse, AWSError>;
|
22
22
|
/**
|
23
|
-
* List routing control names and Amazon Resource Names (ARNs), as well as the routing control state for each routing control, along with the control panel name and control panel ARN for the routing controls. If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists all the routing controls in the cluster. A routing control is a simple on/off switch in Route 53 ARC that you can use to route traffic to cells. When a routing control state is
|
23
|
+
* List routing control names and Amazon Resource Names (ARNs), as well as the routing control state for each routing control, along with the control panel name and control panel ARN for the routing controls. If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists all the routing controls in the cluster. A routing control is a simple on/off switch in Route 53 ARC that you can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow. Before you can create a routing control, you must first create a cluster, and then host the control in a control panel on the cluster. For more information, see Create routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. You access one of the endpoints for the cluster to get or update the routing control state to redirect traffic for your application. You must specify Regional endpoints when you work with API cluster operations to use this API operation to list routing controls in Route 53 ARC. Learn more about working with routing controls in the following topics in the Amazon Route 53 Application Recovery Controller Developer Guide: Viewing and updating routing control states Working with routing controls in Route 53 ARC
|
24
24
|
*/
|
25
25
|
listRoutingControls(params: Route53RecoveryCluster.Types.ListRoutingControlsRequest, callback?: (err: AWSError, data: Route53RecoveryCluster.Types.ListRoutingControlsResponse) => void): Request<Route53RecoveryCluster.Types.ListRoutingControlsResponse, AWSError>;
|
26
26
|
/**
|
27
|
-
* List routing control names and Amazon Resource Names (ARNs), as well as the routing control state for each routing control, along with the control panel name and control panel ARN for the routing controls. If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists all the routing controls in the cluster. A routing control is a simple on/off switch in Route 53 ARC that you can use to route traffic to cells. When a routing control state is
|
27
|
+
* List routing control names and Amazon Resource Names (ARNs), as well as the routing control state for each routing control, along with the control panel name and control panel ARN for the routing controls. If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists all the routing controls in the cluster. A routing control is a simple on/off switch in Route 53 ARC that you can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow. Before you can create a routing control, you must first create a cluster, and then host the control in a control panel on the cluster. For more information, see Create routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. You access one of the endpoints for the cluster to get or update the routing control state to redirect traffic for your application. You must specify Regional endpoints when you work with API cluster operations to use this API operation to list routing controls in Route 53 ARC. Learn more about working with routing controls in the following topics in the Amazon Route 53 Application Recovery Controller Developer Guide: Viewing and updating routing control states Working with routing controls in Route 53 ARC
|
28
28
|
*/
|
29
29
|
listRoutingControls(callback?: (err: AWSError, data: Route53RecoveryCluster.Types.ListRoutingControlsResponse) => void): Request<Route53RecoveryCluster.Types.ListRoutingControlsResponse, AWSError>;
|
30
30
|
/**
|
31
|
-
* Set the state of the routing control to reroute traffic. You can set the value to
|
31
|
+
* Set the state of the routing control to reroute traffic. You can set the value to ON or OFF. When the state is ON, traffic flows to a cell. When the state is OFF, traffic does not flow. With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing control state updates that help prevent unexpected outcomes, like fail open traffic routing. However, there are scenarios when you might want to bypass the routing control safeguards that are enforced with safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, and one or more safety rules might be unexpectedly preventing you from updating a routing control state to reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change a routing control state and fail over your application. The SafetyRulesToOverride property enables you override one or more safety rules and update routing control states. For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide. You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC. To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide. Viewing and updating routing control states Working with routing controls overall
|
32
32
|
*/
|
33
33
|
updateRoutingControlState(params: Route53RecoveryCluster.Types.UpdateRoutingControlStateRequest, callback?: (err: AWSError, data: Route53RecoveryCluster.Types.UpdateRoutingControlStateResponse) => void): Request<Route53RecoveryCluster.Types.UpdateRoutingControlStateResponse, AWSError>;
|
34
34
|
/**
|
35
|
-
* Set the state of the routing control to reroute traffic. You can set the value to
|
35
|
+
* Set the state of the routing control to reroute traffic. You can set the value to ON or OFF. When the state is ON, traffic flows to a cell. When the state is OFF, traffic does not flow. With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing control state updates that help prevent unexpected outcomes, like fail open traffic routing. However, there are scenarios when you might want to bypass the routing control safeguards that are enforced with safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, and one or more safety rules might be unexpectedly preventing you from updating a routing control state to reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change a routing control state and fail over your application. The SafetyRulesToOverride property enables you override one or more safety rules and update routing control states. For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide. You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC. To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide. Viewing and updating routing control states Working with routing controls overall
|
36
36
|
*/
|
37
37
|
updateRoutingControlState(callback?: (err: AWSError, data: Route53RecoveryCluster.Types.UpdateRoutingControlStateResponse) => void): Request<Route53RecoveryCluster.Types.UpdateRoutingControlStateResponse, AWSError>;
|
38
38
|
/**
|
39
|
-
* Set multiple routing control states. You can set the value for each state to be
|
39
|
+
* Set multiple routing control states. You can set the value for each state to be ON or OFF. When the state is ON, traffic flows to a cell. When it's OFF, traffic does not flow. With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing control state updates that help prevent unexpected outcomes, like fail open traffic routing. However, there are scenarios when you might want to bypass the routing control safeguards that are enforced with safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, and one or more safety rules might be unexpectedly preventing you from updating a routing control state to reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change a routing control state and fail over your application. The SafetyRulesToOverride property enables you override one or more safety rules and update routing control states. For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide. You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC. To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide. Viewing and updating routing control states Working with routing controls overall
|
40
40
|
*/
|
41
41
|
updateRoutingControlStates(params: Route53RecoveryCluster.Types.UpdateRoutingControlStatesRequest, callback?: (err: AWSError, data: Route53RecoveryCluster.Types.UpdateRoutingControlStatesResponse) => void): Request<Route53RecoveryCluster.Types.UpdateRoutingControlStatesResponse, AWSError>;
|
42
42
|
/**
|
43
|
-
* Set multiple routing control states. You can set the value for each state to be
|
43
|
+
* Set multiple routing control states. You can set the value for each state to be ON or OFF. When the state is ON, traffic flows to a cell. When it's OFF, traffic does not flow. With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing control state updates that help prevent unexpected outcomes, like fail open traffic routing. However, there are scenarios when you might want to bypass the routing control safeguards that are enforced with safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, and one or more safety rules might be unexpectedly preventing you from updating a routing control state to reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change a routing control state and fail over your application. The SafetyRulesToOverride property enables you override one or more safety rules and update routing control states. For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide. You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC. To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide. Viewing and updating routing control states Working with routing controls overall
|
44
44
|
*/
|
45
45
|
updateRoutingControlStates(callback?: (err: AWSError, data: Route53RecoveryCluster.Types.UpdateRoutingControlStatesResponse) => void): Request<Route53RecoveryCluster.Types.UpdateRoutingControlStatesResponse, AWSError>;
|
46
46
|
}
|
@@ -93,6 +93,7 @@ declare namespace Route53RecoveryCluster {
|
|
93
93
|
NextToken?: PageToken;
|
94
94
|
}
|
95
95
|
export type MaxResults = number;
|
96
|
+
export type Owner = string;
|
96
97
|
export type PageToken = string;
|
97
98
|
export interface RoutingControl {
|
98
99
|
/**
|
@@ -100,7 +101,7 @@ declare namespace Route53RecoveryCluster {
|
|
100
101
|
*/
|
101
102
|
ControlPanelArn?: Arn;
|
102
103
|
/**
|
103
|
-
* The name of the control panel where the routing control is located.
|
104
|
+
* The name of the control panel where the routing control is located. Only ASCII characters are supported for control panel names.
|
104
105
|
*/
|
105
106
|
ControlPanelName?: ControlPanelName;
|
106
107
|
/**
|
@@ -112,9 +113,13 @@ declare namespace Route53RecoveryCluster {
|
|
112
113
|
*/
|
113
114
|
RoutingControlName?: RoutingControlName;
|
114
115
|
/**
|
115
|
-
* The current state of the routing control. When a routing control state is
|
116
|
+
* The current state of the routing control. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.
|
116
117
|
*/
|
117
118
|
RoutingControlState?: RoutingControlState;
|
119
|
+
/**
|
120
|
+
* The Amazon Web Services account ID of the routing control owner.
|
121
|
+
*/
|
122
|
+
Owner?: Owner;
|
118
123
|
}
|
119
124
|
export type RoutingControlName = string;
|
120
125
|
export type RoutingControlState = "On"|"Off"|string;
|
@@ -136,7 +141,7 @@ declare namespace Route53RecoveryCluster {
|
|
136
141
|
*/
|
137
142
|
RoutingControlArn: Arn;
|
138
143
|
/**
|
139
|
-
* The state of the routing control. You can set the value to
|
144
|
+
* The state of the routing control. You can set the value to ON or OFF.
|
140
145
|
*/
|
141
146
|
RoutingControlState: RoutingControlState;
|
142
147
|
/**
|
@@ -108,6 +108,14 @@ declare class Route53RecoveryControlConfig extends Service {
|
|
108
108
|
* Returns information about a safety rule.
|
109
109
|
*/
|
110
110
|
describeSafetyRule(callback?: (err: AWSError, data: Route53RecoveryControlConfig.Types.DescribeSafetyRuleResponse) => void): Request<Route53RecoveryControlConfig.Types.DescribeSafetyRuleResponse, AWSError>;
|
111
|
+
/**
|
112
|
+
* Get information about the resource policy for a cluster.
|
113
|
+
*/
|
114
|
+
getResourcePolicy(params: Route53RecoveryControlConfig.Types.GetResourcePolicyRequest, callback?: (err: AWSError, data: Route53RecoveryControlConfig.Types.GetResourcePolicyResponse) => void): Request<Route53RecoveryControlConfig.Types.GetResourcePolicyResponse, AWSError>;
|
115
|
+
/**
|
116
|
+
* Get information about the resource policy for a cluster.
|
117
|
+
*/
|
118
|
+
getResourcePolicy(callback?: (err: AWSError, data: Route53RecoveryControlConfig.Types.GetResourcePolicyResponse) => void): Request<Route53RecoveryControlConfig.Types.GetResourcePolicyResponse, AWSError>;
|
111
119
|
/**
|
112
120
|
* Returns an array of all Amazon Route 53 health checks associated with a specific routing control.
|
113
121
|
*/
|
@@ -275,6 +283,10 @@ declare namespace Route53RecoveryControlConfig {
|
|
275
283
|
* An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
|
276
284
|
*/
|
277
285
|
WaitPeriodMs: __integer;
|
286
|
+
/**
|
287
|
+
* The Amazon Web Services account ID of the assertion rule owner.
|
288
|
+
*/
|
289
|
+
Owner?: __stringMin12Max12PatternD12;
|
278
290
|
}
|
279
291
|
export interface AssertionRuleUpdate {
|
280
292
|
/**
|
@@ -307,6 +319,10 @@ declare namespace Route53RecoveryControlConfig {
|
|
307
319
|
* Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
|
308
320
|
*/
|
309
321
|
Status?: Status;
|
322
|
+
/**
|
323
|
+
* The Amazon Web Services account ID of the cluster owner.
|
324
|
+
*/
|
325
|
+
Owner?: __stringMin12Max12PatternD12;
|
310
326
|
}
|
311
327
|
export interface ClusterEndpoint {
|
312
328
|
/**
|
@@ -343,6 +359,10 @@ declare namespace Route53RecoveryControlConfig {
|
|
343
359
|
* The deployment status of control panel. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
|
344
360
|
*/
|
345
361
|
Status?: Status;
|
362
|
+
/**
|
363
|
+
* The Amazon Web Services account ID of the control panel owner.
|
364
|
+
*/
|
365
|
+
Owner?: __stringMin12Max12PatternD12;
|
346
366
|
}
|
347
367
|
export interface CreateClusterRequest {
|
348
368
|
/**
|
@@ -557,6 +577,10 @@ declare namespace Route53RecoveryControlConfig {
|
|
557
577
|
* An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
|
558
578
|
*/
|
559
579
|
WaitPeriodMs: __integer;
|
580
|
+
/**
|
581
|
+
* The Amazon Web Services account ID of the gating rule owner.
|
582
|
+
*/
|
583
|
+
Owner?: __stringMin12Max12PatternD12;
|
560
584
|
}
|
561
585
|
export interface GatingRuleUpdate {
|
562
586
|
/**
|
@@ -572,6 +596,18 @@ declare namespace Route53RecoveryControlConfig {
|
|
572
596
|
*/
|
573
597
|
WaitPeriodMs: __integer;
|
574
598
|
}
|
599
|
+
export interface GetResourcePolicyRequest {
|
600
|
+
/**
|
601
|
+
* The Amazon Resource Name (ARN) of the resource.
|
602
|
+
*/
|
603
|
+
ResourceArn: __string;
|
604
|
+
}
|
605
|
+
export interface GetResourcePolicyResponse {
|
606
|
+
/**
|
607
|
+
* The resource policy.
|
608
|
+
*/
|
609
|
+
Policy?: __policy;
|
610
|
+
}
|
575
611
|
export interface ListAssociatedRoute53HealthChecksRequest {
|
576
612
|
/**
|
577
613
|
* The number of objects that you want to return with this call.
|
@@ -766,6 +802,10 @@ declare namespace Route53RecoveryControlConfig {
|
|
766
802
|
* The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
|
767
803
|
*/
|
768
804
|
Status?: Status;
|
805
|
+
/**
|
806
|
+
* The Amazon Web Services account ID of the routing control owner.
|
807
|
+
*/
|
808
|
+
Owner?: __stringMin12Max12PatternD12;
|
769
809
|
}
|
770
810
|
export interface Rule {
|
771
811
|
/**
|
@@ -883,11 +923,13 @@ declare namespace Route53RecoveryControlConfig {
|
|
883
923
|
export type __string = string;
|
884
924
|
export type __stringMax36PatternS = string;
|
885
925
|
export type __stringMin0Max256PatternS = string;
|
926
|
+
export type __stringMin12Max12PatternD12 = string;
|
886
927
|
export type __stringMin1Max128PatternAZaZ09 = string;
|
887
928
|
export type __stringMin1Max256PatternAZaZ09 = string;
|
888
929
|
export type __stringMin1Max32PatternS = string;
|
889
930
|
export type __stringMin1Max64PatternS = string;
|
890
931
|
export type __stringMin1Max8096PatternS = string;
|
932
|
+
export type __policy = string;
|
891
933
|
/**
|
892
934
|
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
893
935
|
*/
|