cdk-docker-image-deployment 0.0.88 → 0.0.89
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/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +29 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.examples.json +5 -0
- package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +284 -0
- package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.paginators.json +16 -0
- package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +31 -13
- package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +282 -134
- package/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +2824 -1317
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +42 -0
- package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +87 -52
- package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +128 -27
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +156 -130
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +341 -298
- package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +205 -28
- package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +359 -50
- package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +127 -72
- package/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json +0 -7
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +69 -50
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.waiters2.json +26 -0
- package/node_modules/aws-sdk/apis/license-manager-user-subscriptions-2018-05-10.min.json +82 -9
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +793 -112
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.paginators.json +33 -0
- package/node_modules/aws-sdk/apis/metadata.json +16 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.examples.json +5 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +3722 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.paginators.json +100 -0
- package/node_modules/aws-sdk/apis/omics-2022-11-28.waiters2.json +498 -0
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.examples.json +5 -0
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +1082 -0
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.paginators.json +29 -0
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +5991 -325
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +138 -28
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +23 -16
- package/node_modules/aws-sdk/apis/securitylake-2018-05-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +1041 -0
- package/node_modules/aws-sdk/apis/securitylake-2018-05-10.paginators.json +28 -0
- package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.examples.json +5 -0
- package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.min.json +578 -0
- package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.paginators.json +14 -0
- package/node_modules/aws-sdk/clients/all.d.ts +5 -0
- package/node_modules/aws-sdk/clients/all.js +6 -1
- package/node_modules/aws-sdk/clients/arczonalshift.d.ts +309 -0
- package/node_modules/aws-sdk/clients/arczonalshift.js +18 -0
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +28 -5
- package/node_modules/aws-sdk/clients/configservice.d.ts +233 -6
- package/node_modules/aws-sdk/clients/ec2.d.ts +1851 -20
- package/node_modules/aws-sdk/clients/eks.d.ts +58 -8
- package/node_modules/aws-sdk/clients/firehose.d.ts +263 -48
- package/node_modules/aws-sdk/clients/fsx.d.ts +70 -21
- package/node_modules/aws-sdk/clients/glue.d.ts +66 -0
- package/node_modules/aws-sdk/clients/inspector2.d.ts +289 -15
- package/node_modules/aws-sdk/clients/kms.d.ts +198 -92
- package/node_modules/aws-sdk/clients/lambda.d.ts +132 -94
- package/node_modules/aws-sdk/clients/licensemanagerusersubscriptions.d.ts +62 -4
- package/node_modules/aws-sdk/clients/macie2.d.ts +637 -54
- package/node_modules/aws-sdk/clients/omics.d.ts +4175 -0
- package/node_modules/aws-sdk/clients/omics.js +19 -0
- package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +1508 -0
- package/node_modules/aws-sdk/clients/opensearchserverless.js +18 -0
- package/node_modules/aws-sdk/clients/quicksight.d.ts +9833 -2835
- package/node_modules/aws-sdk/clients/s3control.d.ts +69 -0
- package/node_modules/aws-sdk/clients/securityhub.d.ts +14 -0
- package/node_modules/aws-sdk/clients/securitylake.d.ts +1049 -0
- package/node_modules/aws-sdk/clients/securitylake.js +18 -0
- package/node_modules/aws-sdk/clients/simspaceweaver.d.ts +647 -0
- package/node_modules/aws-sdk/clients/simspaceweaver.js +18 -0
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +39 -13
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +264 -37
- package/node_modules/aws-sdk/dist/aws-sdk.js +3615 -1676
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -78
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +10 -0
- package/node_modules/aws-sdk/lib/core.d.ts +4 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/event_listeners.js +26 -9
- package/node_modules/aws-sdk/lib/region_config.js +11 -2
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
import {Request} from '../lib/request';
|
|
2
|
+
import {Response} from '../lib/response';
|
|
3
|
+
import {AWSError} from '../lib/error';
|
|
4
|
+
import {Service} from '../lib/service';
|
|
5
|
+
import {ServiceConfigurationOptions} from '../lib/service';
|
|
6
|
+
import {ConfigBase as Config} from '../lib/config-base';
|
|
7
|
+
interface Blob {}
|
|
8
|
+
declare class ARCZonalShift extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* Constructs a service object. This object has one method for each API operation.
|
|
11
|
+
*/
|
|
12
|
+
constructor(options?: ARCZonalShift.Types.ClientConfiguration)
|
|
13
|
+
config: Config & ARCZonalShift.Types.ClientConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* Cancel a zonal shift in Amazon Route 53 Application Recovery Controller that you've started for a resource in your AWS account in an AWS Region.
|
|
16
|
+
*/
|
|
17
|
+
cancelZonalShift(params: ARCZonalShift.Types.CancelZonalShiftRequest, callback?: (err: AWSError, data: ARCZonalShift.Types.ZonalShift) => void): Request<ARCZonalShift.Types.ZonalShift, AWSError>;
|
|
18
|
+
/**
|
|
19
|
+
* Cancel a zonal shift in Amazon Route 53 Application Recovery Controller that you've started for a resource in your AWS account in an AWS Region.
|
|
20
|
+
*/
|
|
21
|
+
cancelZonalShift(callback?: (err: AWSError, data: ARCZonalShift.Types.ZonalShift) => void): Request<ARCZonalShift.Types.ZonalShift, AWSError>;
|
|
22
|
+
/**
|
|
23
|
+
* Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this AWS Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
|
|
24
|
+
*/
|
|
25
|
+
getManagedResource(params: ARCZonalShift.Types.GetManagedResourceRequest, callback?: (err: AWSError, data: ARCZonalShift.Types.GetManagedResourceResponse) => void): Request<ARCZonalShift.Types.GetManagedResourceResponse, AWSError>;
|
|
26
|
+
/**
|
|
27
|
+
* Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this AWS Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
|
|
28
|
+
*/
|
|
29
|
+
getManagedResource(callback?: (err: AWSError, data: ARCZonalShift.Types.GetManagedResourceResponse) => void): Request<ARCZonalShift.Types.GetManagedResourceResponse, AWSError>;
|
|
30
|
+
/**
|
|
31
|
+
* Lists all the resources in your AWS account in this AWS Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes their Amazon Resource Names (ARNs), the Availability Zones the resources are deployed in, and the resource name.
|
|
32
|
+
*/
|
|
33
|
+
listManagedResources(params: ARCZonalShift.Types.ListManagedResourcesRequest, callback?: (err: AWSError, data: ARCZonalShift.Types.ListManagedResourcesResponse) => void): Request<ARCZonalShift.Types.ListManagedResourcesResponse, AWSError>;
|
|
34
|
+
/**
|
|
35
|
+
* Lists all the resources in your AWS account in this AWS Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes their Amazon Resource Names (ARNs), the Availability Zones the resources are deployed in, and the resource name.
|
|
36
|
+
*/
|
|
37
|
+
listManagedResources(callback?: (err: AWSError, data: ARCZonalShift.Types.ListManagedResourcesResponse) => void): Request<ARCZonalShift.Types.ListManagedResourcesResponse, AWSError>;
|
|
38
|
+
/**
|
|
39
|
+
* Lists all the active zonal shifts in Amazon Route 53 Application Recovery Controller in your AWS account in this AWS Region.
|
|
40
|
+
*/
|
|
41
|
+
listZonalShifts(params: ARCZonalShift.Types.ListZonalShiftsRequest, callback?: (err: AWSError, data: ARCZonalShift.Types.ListZonalShiftsResponse) => void): Request<ARCZonalShift.Types.ListZonalShiftsResponse, AWSError>;
|
|
42
|
+
/**
|
|
43
|
+
* Lists all the active zonal shifts in Amazon Route 53 Application Recovery Controller in your AWS account in this AWS Region.
|
|
44
|
+
*/
|
|
45
|
+
listZonalShifts(callback?: (err: AWSError, data: ARCZonalShift.Types.ListZonalShiftsResponse) => void): Request<ARCZonalShift.Types.ListZonalShiftsResponse, AWSError>;
|
|
46
|
+
/**
|
|
47
|
+
* You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in a AWS Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an AWS infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your account in an AWS Region. Resources are automatically registered with Route 53 ARC by AWS services. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in Route 53 ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete. For more information, see Zonal shift in the Amazon Route 53 Application Recovery Controller Developer Guide.
|
|
48
|
+
*/
|
|
49
|
+
startZonalShift(params: ARCZonalShift.Types.StartZonalShiftRequest, callback?: (err: AWSError, data: ARCZonalShift.Types.ZonalShift) => void): Request<ARCZonalShift.Types.ZonalShift, AWSError>;
|
|
50
|
+
/**
|
|
51
|
+
* You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in a AWS Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an AWS infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your account in an AWS Region. Resources are automatically registered with Route 53 ARC by AWS services. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in Route 53 ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete. For more information, see Zonal shift in the Amazon Route 53 Application Recovery Controller Developer Guide.
|
|
52
|
+
*/
|
|
53
|
+
startZonalShift(callback?: (err: AWSError, data: ARCZonalShift.Types.ZonalShift) => void): Request<ARCZonalShift.Types.ZonalShift, AWSError>;
|
|
54
|
+
/**
|
|
55
|
+
* Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your AWS account. You can update a zonal shift to set a new expiration, or edit or replace the comment for the zonal shift.
|
|
56
|
+
*/
|
|
57
|
+
updateZonalShift(params: ARCZonalShift.Types.UpdateZonalShiftRequest, callback?: (err: AWSError, data: ARCZonalShift.Types.ZonalShift) => void): Request<ARCZonalShift.Types.ZonalShift, AWSError>;
|
|
58
|
+
/**
|
|
59
|
+
* Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your AWS account. You can update a zonal shift to set a new expiration, or edit or replace the comment for the zonal shift.
|
|
60
|
+
*/
|
|
61
|
+
updateZonalShift(callback?: (err: AWSError, data: ARCZonalShift.Types.ZonalShift) => void): Request<ARCZonalShift.Types.ZonalShift, AWSError>;
|
|
62
|
+
}
|
|
63
|
+
declare namespace ARCZonalShift {
|
|
64
|
+
export type AppliedStatus = "APPLIED"|"NOT_APPLIED"|string;
|
|
65
|
+
export type AppliedWeights = {[key: string]: Weight};
|
|
66
|
+
export type AvailabilityZone = string;
|
|
67
|
+
export type AvailabilityZones = AvailabilityZone[];
|
|
68
|
+
export interface CancelZonalShiftRequest {
|
|
69
|
+
/**
|
|
70
|
+
* The internally-generated identifier of a zonal shift.
|
|
71
|
+
*/
|
|
72
|
+
zonalShiftId: ZonalShiftId;
|
|
73
|
+
}
|
|
74
|
+
export type ExpiresIn = string;
|
|
75
|
+
export type ExpiryTime = Date;
|
|
76
|
+
export interface GetManagedResourceRequest {
|
|
77
|
+
/**
|
|
78
|
+
* The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
|
|
79
|
+
*/
|
|
80
|
+
resourceIdentifier: ResourceIdentifier;
|
|
81
|
+
}
|
|
82
|
+
export interface GetManagedResourceResponse {
|
|
83
|
+
/**
|
|
84
|
+
* A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key name is the Availability Zone where the resource is deployed. The value is 1 or 0.
|
|
85
|
+
*/
|
|
86
|
+
appliedWeights: AppliedWeights;
|
|
87
|
+
/**
|
|
88
|
+
* The Amazon Resource Name (ARN) for the resource.
|
|
89
|
+
*/
|
|
90
|
+
arn?: ResourceArn;
|
|
91
|
+
/**
|
|
92
|
+
* The name of the resource.
|
|
93
|
+
*/
|
|
94
|
+
name?: ResourceName;
|
|
95
|
+
/**
|
|
96
|
+
* The zonal shifts that are currently active for a resource.
|
|
97
|
+
*/
|
|
98
|
+
zonalShifts: ZonalShiftsInResource;
|
|
99
|
+
}
|
|
100
|
+
export interface ListManagedResourcesRequest {
|
|
101
|
+
/**
|
|
102
|
+
* The number of objects that you want to return with this call.
|
|
103
|
+
*/
|
|
104
|
+
maxResults?: MaxResults;
|
|
105
|
+
/**
|
|
106
|
+
* Specifies that you want to receive the next page of results. Valid only if you received a NextToken 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 NextToken response to request the next page of results.
|
|
107
|
+
*/
|
|
108
|
+
nextToken?: String;
|
|
109
|
+
}
|
|
110
|
+
export interface ListManagedResourcesResponse {
|
|
111
|
+
/**
|
|
112
|
+
* The items in the response list.
|
|
113
|
+
*/
|
|
114
|
+
items: ManagedResourceSummaries;
|
|
115
|
+
/**
|
|
116
|
+
* Specifies that you want to receive the next page of results. Valid only if you received a NextToken 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 NextToken response to request the next page of results.
|
|
117
|
+
*/
|
|
118
|
+
nextToken?: String;
|
|
119
|
+
}
|
|
120
|
+
export interface ListZonalShiftsRequest {
|
|
121
|
+
/**
|
|
122
|
+
* The number of objects that you want to return with this call.
|
|
123
|
+
*/
|
|
124
|
+
maxResults?: MaxResults;
|
|
125
|
+
/**
|
|
126
|
+
* Specifies that you want to receive the next page of results. Valid only if you received a NextToken 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 NextToken response to request the next page of results.
|
|
127
|
+
*/
|
|
128
|
+
nextToken?: String;
|
|
129
|
+
/**
|
|
130
|
+
* A status for a zonal shift. The Status for a zonal shift can have one of the following values: ACTIVE: The zonal shift is started and active. EXPIRED: The zonal shift has expired (the expiry time was exceeded). CANCELED: The zonal shift was canceled.
|
|
131
|
+
*/
|
|
132
|
+
status?: ZonalShiftStatus;
|
|
133
|
+
}
|
|
134
|
+
export interface ListZonalShiftsResponse {
|
|
135
|
+
/**
|
|
136
|
+
* The items in the response list.
|
|
137
|
+
*/
|
|
138
|
+
items?: ZonalShiftSummaries;
|
|
139
|
+
/**
|
|
140
|
+
* Specifies that you want to receive the next page of results. Valid only if you received a NextToken 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 NextToken response to request the next page of results.
|
|
141
|
+
*/
|
|
142
|
+
nextToken?: String;
|
|
143
|
+
}
|
|
144
|
+
export type ManagedResourceSummaries = ManagedResourceSummary[];
|
|
145
|
+
export interface ManagedResourceSummary {
|
|
146
|
+
/**
|
|
147
|
+
* The Amazon Resource Name (ARN) for the managed resource.
|
|
148
|
+
*/
|
|
149
|
+
arn?: ResourceArn;
|
|
150
|
+
/**
|
|
151
|
+
* The Availability Zones that a resource is deployed in.
|
|
152
|
+
*/
|
|
153
|
+
availabilityZones: AvailabilityZones;
|
|
154
|
+
/**
|
|
155
|
+
* The name of the managed resource.
|
|
156
|
+
*/
|
|
157
|
+
name?: ResourceName;
|
|
158
|
+
}
|
|
159
|
+
export type MaxResults = number;
|
|
160
|
+
export type ResourceArn = string;
|
|
161
|
+
export type ResourceIdentifier = string;
|
|
162
|
+
export type ResourceName = string;
|
|
163
|
+
export type StartTime = Date;
|
|
164
|
+
export interface StartZonalShiftRequest {
|
|
165
|
+
/**
|
|
166
|
+
* The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.
|
|
167
|
+
*/
|
|
168
|
+
awayFrom: AvailabilityZone;
|
|
169
|
+
/**
|
|
170
|
+
* A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.
|
|
171
|
+
*/
|
|
172
|
+
comment: ZonalShiftComment;
|
|
173
|
+
/**
|
|
174
|
+
* The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours). If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone. To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space: <ul> <li> <p> <b>A lowercase letter m:</b> To specify that the value is in minutes.</p> </li> <li> <p> <b>A lowercase letter h:</b> To specify that the value is in hours.</p> </li> </ul> <p>For example: <code>20h</code> means the zonal shift expires in 20 hours. <code>120m</code> means the zonal shift expires in 120 minutes (2 hours).</p>
|
|
175
|
+
*/
|
|
176
|
+
expiresIn: ExpiresIn;
|
|
177
|
+
/**
|
|
178
|
+
* The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
|
|
179
|
+
*/
|
|
180
|
+
resourceIdentifier: ResourceIdentifier;
|
|
181
|
+
}
|
|
182
|
+
export type String = string;
|
|
183
|
+
export interface UpdateZonalShiftRequest {
|
|
184
|
+
/**
|
|
185
|
+
* A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.
|
|
186
|
+
*/
|
|
187
|
+
comment?: ZonalShiftComment;
|
|
188
|
+
/**
|
|
189
|
+
* The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours). If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone. To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space: A lowercase letter m: To specify that the value is in minutes. A lowercase letter h: To specify that the value is in hours. For example: 20h means the zonal shift expires in 20 hours. 120m means the zonal shift expires in 120 minutes (2 hours).
|
|
190
|
+
*/
|
|
191
|
+
expiresIn?: ExpiresIn;
|
|
192
|
+
/**
|
|
193
|
+
* The identifier of a zonal shift.
|
|
194
|
+
*/
|
|
195
|
+
zonalShiftId: ZonalShiftId;
|
|
196
|
+
}
|
|
197
|
+
export type Weight = number;
|
|
198
|
+
export interface ZonalShift {
|
|
199
|
+
/**
|
|
200
|
+
* The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.
|
|
201
|
+
*/
|
|
202
|
+
awayFrom: AvailabilityZone;
|
|
203
|
+
/**
|
|
204
|
+
* A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.
|
|
205
|
+
*/
|
|
206
|
+
comment: ZonalShiftComment;
|
|
207
|
+
/**
|
|
208
|
+
* The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.
|
|
209
|
+
*/
|
|
210
|
+
expiryTime: ExpiryTime;
|
|
211
|
+
/**
|
|
212
|
+
* The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
|
|
213
|
+
*/
|
|
214
|
+
resourceIdentifier: ResourceIdentifier;
|
|
215
|
+
/**
|
|
216
|
+
* The time (UTC) when the zonal shift is started.
|
|
217
|
+
*/
|
|
218
|
+
startTime: StartTime;
|
|
219
|
+
/**
|
|
220
|
+
* A status for a zonal shift. The Status for a zonal shift can have one of the following values: ACTIVE: The zonal shift is started and active. EXPIRED: The zonal shift has expired (the expiry time was exceeded). CANCELED: The zonal shift was canceled.
|
|
221
|
+
*/
|
|
222
|
+
status: ZonalShiftStatus;
|
|
223
|
+
/**
|
|
224
|
+
* The identifier of a zonal shift.
|
|
225
|
+
*/
|
|
226
|
+
zonalShiftId: ZonalShiftId;
|
|
227
|
+
}
|
|
228
|
+
export type ZonalShiftComment = string;
|
|
229
|
+
export type ZonalShiftId = string;
|
|
230
|
+
export interface ZonalShiftInResource {
|
|
231
|
+
/**
|
|
232
|
+
* An appliedStatus for a zonal shift for a resource can have one of two values: APPLIED or NOT_APPLIED.
|
|
233
|
+
*/
|
|
234
|
+
appliedStatus: AppliedStatus;
|
|
235
|
+
/**
|
|
236
|
+
* The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.
|
|
237
|
+
*/
|
|
238
|
+
awayFrom: AvailabilityZone;
|
|
239
|
+
/**
|
|
240
|
+
* A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string.
|
|
241
|
+
*/
|
|
242
|
+
comment: ZonalShiftComment;
|
|
243
|
+
/**
|
|
244
|
+
* The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.
|
|
245
|
+
*/
|
|
246
|
+
expiryTime: ExpiryTime;
|
|
247
|
+
/**
|
|
248
|
+
* The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
|
|
249
|
+
*/
|
|
250
|
+
resourceIdentifier: ResourceIdentifier;
|
|
251
|
+
/**
|
|
252
|
+
* The time (UTC) when the zonal shift is started.
|
|
253
|
+
*/
|
|
254
|
+
startTime: StartTime;
|
|
255
|
+
/**
|
|
256
|
+
* The identifier of a zonal shift.
|
|
257
|
+
*/
|
|
258
|
+
zonalShiftId: ZonalShiftId;
|
|
259
|
+
}
|
|
260
|
+
export type ZonalShiftStatus = "ACTIVE"|"EXPIRED"|"CANCELED"|string;
|
|
261
|
+
export type ZonalShiftSummaries = ZonalShiftSummary[];
|
|
262
|
+
export interface ZonalShiftSummary {
|
|
263
|
+
/**
|
|
264
|
+
* The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.
|
|
265
|
+
*/
|
|
266
|
+
awayFrom: AvailabilityZone;
|
|
267
|
+
/**
|
|
268
|
+
* A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string.
|
|
269
|
+
*/
|
|
270
|
+
comment: ZonalShiftComment;
|
|
271
|
+
/**
|
|
272
|
+
* The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.
|
|
273
|
+
*/
|
|
274
|
+
expiryTime: ExpiryTime;
|
|
275
|
+
/**
|
|
276
|
+
* The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
|
|
277
|
+
*/
|
|
278
|
+
resourceIdentifier: ResourceIdentifier;
|
|
279
|
+
/**
|
|
280
|
+
* The time (UTC) when the zonal shift is started.
|
|
281
|
+
*/
|
|
282
|
+
startTime: StartTime;
|
|
283
|
+
/**
|
|
284
|
+
* A status for a zonal shift. The Status for a zonal shift can have one of the following values: ACTIVE: The zonal shift is started and active. EXPIRED: The zonal shift has expired (the expiry time was exceeded). CANCELED: The zonal shift was canceled.
|
|
285
|
+
*/
|
|
286
|
+
status: ZonalShiftStatus;
|
|
287
|
+
/**
|
|
288
|
+
* The identifier of a zonal shift.
|
|
289
|
+
*/
|
|
290
|
+
zonalShiftId: ZonalShiftId;
|
|
291
|
+
}
|
|
292
|
+
export type ZonalShiftsInResource = ZonalShiftInResource[];
|
|
293
|
+
/**
|
|
294
|
+
* 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.
|
|
295
|
+
*/
|
|
296
|
+
export type apiVersion = "2022-10-30"|"latest"|string;
|
|
297
|
+
export interface ClientApiVersions {
|
|
298
|
+
/**
|
|
299
|
+
* 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.
|
|
300
|
+
*/
|
|
301
|
+
apiVersion?: apiVersion;
|
|
302
|
+
}
|
|
303
|
+
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
|
304
|
+
/**
|
|
305
|
+
* Contains interfaces for use with the ARCZonalShift client.
|
|
306
|
+
*/
|
|
307
|
+
export import Types = ARCZonalShift;
|
|
308
|
+
}
|
|
309
|
+
export = ARCZonalShift;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
require('../lib/node_loader');
|
|
2
|
+
var AWS = require('../lib/core');
|
|
3
|
+
var Service = AWS.Service;
|
|
4
|
+
var apiLoader = AWS.apiLoader;
|
|
5
|
+
|
|
6
|
+
apiLoader.services['arczonalshift'] = {};
|
|
7
|
+
AWS.ARCZonalShift = Service.defineService('arczonalshift', ['2022-10-30']);
|
|
8
|
+
Object.defineProperty(apiLoader.services['arczonalshift'], '2022-10-30', {
|
|
9
|
+
get: function get() {
|
|
10
|
+
var model = require('../apis/arc-zonal-shift-2022-10-30.min.json');
|
|
11
|
+
model.paginators = require('../apis/arc-zonal-shift-2022-10-30.paginators.json').pagination;
|
|
12
|
+
return model;
|
|
13
|
+
},
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
module.exports = AWS.ARCZonalShift;
|
|
@@ -312,7 +312,7 @@ declare namespace ComputeOptimizer {
|
|
|
312
312
|
*/
|
|
313
313
|
scope?: Scope;
|
|
314
314
|
/**
|
|
315
|
-
* The name of the recommendation preference to delete.
|
|
315
|
+
* The name of the recommendation preference to delete.
|
|
316
316
|
*/
|
|
317
317
|
recommendationPreferenceNames: RecommendationPreferenceNames;
|
|
318
318
|
}
|
|
@@ -392,6 +392,10 @@ declare namespace ComputeOptimizer {
|
|
|
392
392
|
* Describes the activation status of the inferred workload types preference. A status of Active confirms that the preference is applied in the latest recommendation refresh. A status of Inactive confirms that it's not yet applied to recommendations.
|
|
393
393
|
*/
|
|
394
394
|
inferredWorkloadTypes?: InferredWorkloadTypesPreference;
|
|
395
|
+
/**
|
|
396
|
+
* An object that describes the external metrics recommendation preference. If the preference is applied in the latest recommendation refresh, an object with a valid source value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response.
|
|
397
|
+
*/
|
|
398
|
+
externalMetricsPreference?: ExternalMetricsPreference;
|
|
395
399
|
}
|
|
396
400
|
export type EnhancedInfrastructureMetrics = "Active"|"Inactive"|string;
|
|
397
401
|
export interface EnrollmentFilter {
|
|
@@ -564,12 +568,19 @@ declare namespace ComputeOptimizer {
|
|
|
564
568
|
}
|
|
565
569
|
export type ExportableAutoScalingGroupField = "AccountId"|"AutoScalingGroupArn"|"AutoScalingGroupName"|"Finding"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationInstanceType"|"CurrentConfigurationDesiredCapacity"|"CurrentConfigurationMinSize"|"CurrentConfigurationMaxSize"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsConfigurationInstanceType"|"RecommendationOptionsConfigurationDesiredCapacity"|"RecommendationOptionsConfigurationMinSize"|"RecommendationOptionsConfigurationMaxSize"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|string;
|
|
566
570
|
export type ExportableAutoScalingGroupFields = ExportableAutoScalingGroupField[];
|
|
567
|
-
export type ExportableInstanceField = "AccountId"|"InstanceArn"|"InstanceName"|"Finding"|"FindingReasonCodes"|"LookbackPeriodInDays"|"CurrentInstanceType"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsInstanceType"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPlatformDifferences"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationsSourcesRecommendationSourceArn"|"RecommendationsSourcesRecommendationSourceType"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|string;
|
|
571
|
+
export type ExportableInstanceField = "AccountId"|"InstanceArn"|"InstanceName"|"Finding"|"FindingReasonCodes"|"LookbackPeriodInDays"|"CurrentInstanceType"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsInstanceType"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPlatformDifferences"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationsSourcesRecommendationSourceArn"|"RecommendationsSourcesRecommendationSourceType"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|"EffectiveRecommendationPreferencesExternalMetricsSource"|string;
|
|
568
572
|
export type ExportableInstanceFields = ExportableInstanceField[];
|
|
569
573
|
export type ExportableLambdaFunctionField = "AccountId"|"FunctionArn"|"FunctionVersion"|"Finding"|"FindingReasonCodes"|"NumberOfInvocations"|"UtilizationMetricsDurationMaximum"|"UtilizationMetricsDurationAverage"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsMemoryAverage"|"LookbackPeriodInDays"|"CurrentConfigurationMemorySize"|"CurrentConfigurationTimeout"|"CurrentCostTotal"|"CurrentCostAverage"|"RecommendationOptionsConfigurationMemorySize"|"RecommendationOptionsCostLow"|"RecommendationOptionsCostHigh"|"RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationExpected"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|string;
|
|
570
574
|
export type ExportableLambdaFunctionFields = ExportableLambdaFunctionField[];
|
|
571
575
|
export type ExportableVolumeField = "AccountId"|"VolumeArn"|"Finding"|"UtilizationMetricsVolumeReadOpsPerSecondMaximum"|"UtilizationMetricsVolumeWriteOpsPerSecondMaximum"|"UtilizationMetricsVolumeReadBytesPerSecondMaximum"|"UtilizationMetricsVolumeWriteBytesPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationVolumeType"|"CurrentConfigurationVolumeBaselineIOPS"|"CurrentConfigurationVolumeBaselineThroughput"|"CurrentConfigurationVolumeBurstIOPS"|"CurrentConfigurationVolumeBurstThroughput"|"CurrentConfigurationVolumeSize"|"CurrentMonthlyPrice"|"RecommendationOptionsConfigurationVolumeType"|"RecommendationOptionsConfigurationVolumeBaselineIOPS"|"RecommendationOptionsConfigurationVolumeBaselineThroughput"|"RecommendationOptionsConfigurationVolumeBurstIOPS"|"RecommendationOptionsConfigurationVolumeBurstThroughput"|"RecommendationOptionsConfigurationVolumeSize"|"RecommendationOptionsMonthlyPrice"|"RecommendationOptionsPerformanceRisk"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|string;
|
|
572
576
|
export type ExportableVolumeFields = ExportableVolumeField[];
|
|
577
|
+
export interface ExternalMetricsPreference {
|
|
578
|
+
/**
|
|
579
|
+
* Contains the source options for external metrics preferences.
|
|
580
|
+
*/
|
|
581
|
+
source?: ExternalMetricsSource;
|
|
582
|
+
}
|
|
583
|
+
export type ExternalMetricsSource = "Datadog"|"Dynatrace"|"NewRelic"|"Instana"|string;
|
|
573
584
|
export type FailureReason = string;
|
|
574
585
|
export type FileFormat = "Csv"|string;
|
|
575
586
|
export interface Filter {
|
|
@@ -750,6 +761,10 @@ declare namespace ComputeOptimizer {
|
|
|
750
761
|
* The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level. A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied to recommendations. To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions. For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
|
|
751
762
|
*/
|
|
752
763
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
764
|
+
/**
|
|
765
|
+
* The provider of the external metrics recommendation preference. Considers all applicable preferences that you might have set at the account and organization level. If the preference is applied in the latest recommendation refresh, an object with a valid source value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response. To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetEC2InstanceRecommendations actions. For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
|
|
766
|
+
*/
|
|
767
|
+
externalMetricsPreference?: ExternalMetricsPreference;
|
|
753
768
|
}
|
|
754
769
|
export interface GetEnrollmentStatusRequest {
|
|
755
770
|
}
|
|
@@ -1190,6 +1205,10 @@ declare namespace ComputeOptimizer {
|
|
|
1190
1205
|
* The status of the inferred workload types recommendation preference to create or update. The inferred workload type feature is active by default. To deactivate it, create a recommendation preference. Specify the Inactive status to deactivate the feature, or specify Active to activate it. For more information, see Inferred workload types in the Compute Optimizer User Guide.
|
|
1191
1206
|
*/
|
|
1192
1207
|
inferredWorkloadTypes?: InferredWorkloadTypesPreference;
|
|
1208
|
+
/**
|
|
1209
|
+
* The provider of the external metrics recommendation preference to create or update. Specify a valid provider in the source field to activate the preference. To delete this preference, see the DeleteRecommendationPreferences action. This preference can only be set for the Ec2Instance resource type. For more information, see External metrics ingestion in the Compute Optimizer User Guide.
|
|
1210
|
+
*/
|
|
1211
|
+
externalMetricsPreference?: ExternalMetricsPreference;
|
|
1193
1212
|
}
|
|
1194
1213
|
export interface PutRecommendationPreferencesResponse {
|
|
1195
1214
|
}
|
|
@@ -1237,7 +1256,7 @@ declare namespace ComputeOptimizer {
|
|
|
1237
1256
|
}
|
|
1238
1257
|
export type RecommendationExportJobs = RecommendationExportJob[];
|
|
1239
1258
|
export type RecommendationOptions = InstanceRecommendationOption[];
|
|
1240
|
-
export type RecommendationPreferenceName = "EnhancedInfrastructureMetrics"|"InferredWorkloadTypes"|string;
|
|
1259
|
+
export type RecommendationPreferenceName = "EnhancedInfrastructureMetrics"|"InferredWorkloadTypes"|"ExternalMetricsPreference"|string;
|
|
1241
1260
|
export type RecommendationPreferenceNames = RecommendationPreferenceName[];
|
|
1242
1261
|
export interface RecommendationPreferences {
|
|
1243
1262
|
/**
|
|
@@ -1255,13 +1274,17 @@ declare namespace ComputeOptimizer {
|
|
|
1255
1274
|
*/
|
|
1256
1275
|
resourceType?: ResourceType;
|
|
1257
1276
|
/**
|
|
1258
|
-
* The status of the enhanced infrastructure metrics recommendation preference.
|
|
1277
|
+
* The status of the enhanced infrastructure metrics recommendation preference. When the recommendations page is refreshed, a status of Active confirms that the preference is applied to the recommendations, and a status of Inactive confirms that the preference isn't yet applied to recommendations. For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
|
|
1259
1278
|
*/
|
|
1260
1279
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
1261
1280
|
/**
|
|
1262
|
-
* The status of the inferred workload types recommendation preference.
|
|
1281
|
+
* The status of the inferred workload types recommendation preference. When the recommendations page is refreshed, a status of Active confirms that the preference is applied to the recommendations, and a status of Inactive confirms that the preference isn't yet applied to recommendations.
|
|
1263
1282
|
*/
|
|
1264
1283
|
inferredWorkloadTypes?: InferredWorkloadTypesPreference;
|
|
1284
|
+
/**
|
|
1285
|
+
* An object that describes the external metrics recommendation preference. If the preference is applied in the latest recommendation refresh, an object with a valid source value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response.
|
|
1286
|
+
*/
|
|
1287
|
+
externalMetricsPreference?: ExternalMetricsPreference;
|
|
1265
1288
|
}
|
|
1266
1289
|
export type RecommendationPreferencesDetails = RecommendationPreferencesDetail[];
|
|
1267
1290
|
export interface RecommendationSource {
|