@aws-sdk/client-ec2 3.1065.0 → 3.1066.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 +14 -0
- package/dist-cjs/index.js +28 -0
- package/dist-cjs/schemas/schemas_0.js +127 -66
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/AttachImageWatermarkCommand.js +16 -0
- package/dist-es/commands/DetachImageWatermarkCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +65 -4
- package/dist-types/EC2.d.ts +14 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/AttachImageWatermarkCommand.d.ts +84 -0
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -2
- package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
- package/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +9 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -2
- package/dist-types/commands/DetachImageWatermarkCommand.d.ts +82 -0
- package/dist-types/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +1 -2
- package/dist-types/commands/ModifyIpamScopeCommand.d.ts +2 -1
- package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +37 -22
- package/dist-types/models/models_1.d.ts +24 -100
- package/dist-types/models/models_2.d.ts +100 -34
- package/dist-types/models/models_3.d.ts +73 -120
- package/dist-types/models/models_4.d.ts +128 -172
- package/dist-types/models/models_5.d.ts +204 -183
- package/dist-types/models/models_6.d.ts +186 -119
- package/dist-types/models/models_7.d.ts +115 -1
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/EC2.d.ts +34 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/AttachImageWatermarkCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateRouteServerPeerCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DetachImageWatermarkCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -6
- package/dist-types/ts3.4/models/models_1.d.ts +7 -20
- package/dist-types/ts3.4/models/models_2.d.ts +23 -9
- package/dist-types/ts3.4/models/models_3.d.ts +16 -26
- package/dist-types/ts3.4/models/models_4.d.ts +30 -26
- package/dist-types/ts3.4/models/models_5.d.ts +35 -37
- package/dist-types/ts3.4/models/models_6.d.ts +37 -29
- package/dist-types/ts3.4/models/models_7.d.ts +26 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +2 -2
|
@@ -1,9 +1,178 @@
|
|
|
1
|
-
import type { AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, CapacityManagerStatus, ClientCertificateRevocationListStatusCode,
|
|
1
|
+
import type { _InstanceType, AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, CapacityManagerStatus, ClientCertificateRevocationListStatusCode, DeviceTrustProviderType, DiskImageFormat, DnsNameState, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, ImageBlockPublicAccessDisabledState, ImageBlockPublicAccessEnabledState, InitializationType, InternetGatewayBlockMode, IpAddressType, ManagedBy, MetricType, PayerResponsibility, PeriodType, ResourceType, RIProductDescription, RouteServerPropagationState, SecurityGroupVpcAssociationState, ServiceConnectivityType, SnapshotBlockPublicAccessState, State, StatisticType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPropagationState, UserTrustProviderType, VerifiedAccessLogDeliveryStatusCode, VolumeAttributeName, VolumeModificationState, VolumeStatusInfoStatus, VolumeStatusName, VolumeType, VpcAttributeName, VpcBlockPublicAccessExclusionsAllowed, VpcBlockPublicAccessState } from "./enums";
|
|
2
2
|
import type { ActiveVpnTunnelStatus, AddressTransfer, AllowedPrincipal, AsnAssociation, AssociationStatus, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, NatGatewayAddress, OperatorResponse, RouteServerAssociation, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, Volume, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
3
3
|
import type { Vpc, VpcEncryptionControl } from "./models_1";
|
|
4
4
|
import type { ConnectionNotification, DnsEntry, ServiceConfiguration, ServiceTypeDetail, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConcentrator, VpnConnection, VpnGateway } from "./models_2";
|
|
5
5
|
import type { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchSnapshotConfigurationResponse, Filter, ProductCode } from "./models_3";
|
|
6
|
-
import type { AttributeBooleanValue, RegisteredInstance,
|
|
6
|
+
import type { AttributeBooleanValue, RegisteredInstance, SpotInstanceRequest } from "./models_4";
|
|
7
|
+
/**
|
|
8
|
+
* <p>Contains the output of DescribeSpotInstanceRequests.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface DescribeSpotInstanceRequestsResult {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The Spot Instance requests.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
SpotInstanceRequests?: SpotInstanceRequest[] | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
|
|
19
|
+
* are no more items to return.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
NextToken?: string | undefined;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* <p>Contains the parameters for DescribeSpotPriceHistory.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export interface DescribeSpotPriceHistoryRequest {
|
|
29
|
+
/**
|
|
30
|
+
* <p>Filters the results by the specified ID of the Availability Zone.</p>
|
|
31
|
+
* <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified, but not both</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
AvailabilityZoneId?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>Checks whether you have the required permissions for the action, without actually
|
|
37
|
+
* making the request, and provides an error response. If you have the required
|
|
38
|
+
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
39
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
DryRun?: boolean | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The date and time, up to the past 90 days, from which to start retrieving the price
|
|
45
|
+
* history data, in UTC format (for example,
|
|
46
|
+
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
StartTime?: Date | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* <p>The date and time, up to the current date, from which to stop retrieving the price
|
|
52
|
+
* history data, in UTC format (for example,
|
|
53
|
+
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
EndTime?: Date | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>Filters the results by the specified instance types.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
InstanceTypes?: _InstanceType[] | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>Filters the results by the specified basic product descriptions.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
ProductDescriptions?: string[] | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>The filters.</p>
|
|
69
|
+
* <ul>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>
|
|
72
|
+
* <code>availability-zone</code> - The Availability Zone for which prices should
|
|
73
|
+
* be returned.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>
|
|
77
|
+
* <code>availability-zone-id</code> - The ID of the Availability Zone for which
|
|
78
|
+
* prices should be returned.</p>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>
|
|
82
|
+
* <code>instance-type</code> - The type of instance (for example,
|
|
83
|
+
* <code>m3.medium</code>).</p>
|
|
84
|
+
* </li>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>
|
|
87
|
+
* <code>product-description</code> - The product description for the Spot price
|
|
88
|
+
* (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |
|
|
89
|
+
* <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon
|
|
90
|
+
* VPC)</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> |
|
|
91
|
+
* <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon
|
|
92
|
+
* VPC)</code>).</p>
|
|
93
|
+
* </li>
|
|
94
|
+
* <li>
|
|
95
|
+
* <p>
|
|
96
|
+
* <code>spot-price</code> - The Spot price. The value must match exactly (or use
|
|
97
|
+
* wildcards; greater than or less than comparison is not supported).</p>
|
|
98
|
+
* </li>
|
|
99
|
+
* <li>
|
|
100
|
+
* <p>
|
|
101
|
+
* <code>timestamp</code> - The time stamp of the Spot price history, in UTC format
|
|
102
|
+
* (for example, <i>ddd MMM dd
|
|
103
|
+
* HH</i>:<i>mm</i>:<i>ss</i> UTC
|
|
104
|
+
* <i>YYYY</i>). You can use wildcards (<code>*</code> and
|
|
105
|
+
* <code>?</code>). Greater than or less than comparison is not
|
|
106
|
+
* supported.</p>
|
|
107
|
+
* </li>
|
|
108
|
+
* </ul>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
Filters?: Filter[] | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* <p>Filters the results by the specified Availability Zone.</p>
|
|
114
|
+
* <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified, but not both</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
AvailabilityZone?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* <p>The maximum number of items to return for this request.
|
|
120
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
121
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
MaxResults?: number | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
NextToken?: string | undefined;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
|
|
133
|
+
* using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
|
|
134
|
+
* <important>
|
|
135
|
+
* <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
|
|
136
|
+
* </important>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export interface SpotPrice {
|
|
140
|
+
/**
|
|
141
|
+
* <p>The Availability Zone.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
AvailabilityZone?: string | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* <p>The ID of the Availability Zone.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
AvailabilityZoneId?: string | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* <p>The instance type.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
InstanceType?: _InstanceType | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* <p>A general description of the AMI.</p>
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
ProductDescription?: RIProductDescription | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
|
|
162
|
+
* using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
|
|
163
|
+
* <important>
|
|
164
|
+
* <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
|
|
165
|
+
* </important>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
SpotPrice?: string | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* <p>The date and time the request was created, in UTC format (for example,
|
|
171
|
+
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
Timestamp?: Date | undefined;
|
|
175
|
+
}
|
|
7
176
|
/**
|
|
8
177
|
* <p>Contains the output of DescribeSpotPriceHistory.</p>
|
|
9
178
|
* @public
|
|
@@ -4541,6 +4710,39 @@ export interface DetachClassicLinkVpcResult {
|
|
|
4541
4710
|
*/
|
|
4542
4711
|
Return?: boolean | undefined;
|
|
4543
4712
|
}
|
|
4713
|
+
/**
|
|
4714
|
+
* @public
|
|
4715
|
+
*/
|
|
4716
|
+
export interface DetachImageWatermarkRequest {
|
|
4717
|
+
/**
|
|
4718
|
+
* <p>The ID of the AMI.</p>
|
|
4719
|
+
* @public
|
|
4720
|
+
*/
|
|
4721
|
+
ImageId: string | undefined;
|
|
4722
|
+
/**
|
|
4723
|
+
* <p>The watermark key to remove, in <code>accountId:watermarkName</code> format (for example,
|
|
4724
|
+
* <code>123456789012:approvedAmi</code>).</p>
|
|
4725
|
+
* @public
|
|
4726
|
+
*/
|
|
4727
|
+
WatermarkKey: string | undefined;
|
|
4728
|
+
/**
|
|
4729
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
4730
|
+
* and provides an error response. If you have the required permissions, the error response is
|
|
4731
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
4732
|
+
* @public
|
|
4733
|
+
*/
|
|
4734
|
+
DryRun?: boolean | undefined;
|
|
4735
|
+
}
|
|
4736
|
+
/**
|
|
4737
|
+
* @public
|
|
4738
|
+
*/
|
|
4739
|
+
export interface DetachImageWatermarkResult {
|
|
4740
|
+
/**
|
|
4741
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
4742
|
+
* @public
|
|
4743
|
+
*/
|
|
4744
|
+
Return?: boolean | undefined;
|
|
4745
|
+
}
|
|
4544
4746
|
/**
|
|
4545
4747
|
* @public
|
|
4546
4748
|
*/
|
|
@@ -7960,184 +8162,3 @@ export interface GetAwsNetworkPerformanceDataResult {
|
|
|
7960
8162
|
*/
|
|
7961
8163
|
NextToken?: string | undefined;
|
|
7962
8164
|
}
|
|
7963
|
-
/**
|
|
7964
|
-
* @public
|
|
7965
|
-
*/
|
|
7966
|
-
export interface GetCapacityManagerAttributesRequest {
|
|
7967
|
-
/**
|
|
7968
|
-
* <p>
|
|
7969
|
-
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
|
|
7970
|
-
* If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
|
|
7971
|
-
* </p>
|
|
7972
|
-
* @public
|
|
7973
|
-
*/
|
|
7974
|
-
DryRun?: boolean | undefined;
|
|
7975
|
-
}
|
|
7976
|
-
/**
|
|
7977
|
-
* @public
|
|
7978
|
-
*/
|
|
7979
|
-
export interface GetCapacityManagerAttributesResult {
|
|
7980
|
-
/**
|
|
7981
|
-
* <p>
|
|
7982
|
-
* The current status of Capacity Manager.
|
|
7983
|
-
* </p>
|
|
7984
|
-
* @public
|
|
7985
|
-
*/
|
|
7986
|
-
CapacityManagerStatus?: CapacityManagerStatus | undefined;
|
|
7987
|
-
/**
|
|
7988
|
-
* <p>
|
|
7989
|
-
* Indicates whether Organizations access is enabled for cross-account data aggregation.
|
|
7990
|
-
* </p>
|
|
7991
|
-
* @public
|
|
7992
|
-
*/
|
|
7993
|
-
OrganizationsAccess?: boolean | undefined;
|
|
7994
|
-
/**
|
|
7995
|
-
* <p>
|
|
7996
|
-
* The number of active data export configurations for this account. This count includes all data exports regardless of their current delivery status.
|
|
7997
|
-
* </p>
|
|
7998
|
-
* @public
|
|
7999
|
-
*/
|
|
8000
|
-
DataExportCount?: number | undefined;
|
|
8001
|
-
/**
|
|
8002
|
-
* <p>
|
|
8003
|
-
* The current data ingestion status. Initial ingestion may take several hours after enabling Capacity Manager.
|
|
8004
|
-
* </p>
|
|
8005
|
-
* @public
|
|
8006
|
-
*/
|
|
8007
|
-
IngestionStatus?: IngestionStatus | undefined;
|
|
8008
|
-
/**
|
|
8009
|
-
* <p>
|
|
8010
|
-
* A descriptive message providing additional details about the current ingestion status. This may include error information if ingestion has
|
|
8011
|
-
* failed or progress details during initial setup.
|
|
8012
|
-
* </p>
|
|
8013
|
-
* @public
|
|
8014
|
-
*/
|
|
8015
|
-
IngestionStatusMessage?: string | undefined;
|
|
8016
|
-
/**
|
|
8017
|
-
* <p>
|
|
8018
|
-
* The timestamp of the earliest data point available in Capacity Manager, in milliseconds since epoch. This indicates how far back historical data is available for queries.
|
|
8019
|
-
* </p>
|
|
8020
|
-
* @public
|
|
8021
|
-
*/
|
|
8022
|
-
EarliestDatapointTimestamp?: Date | undefined;
|
|
8023
|
-
/**
|
|
8024
|
-
* <p>
|
|
8025
|
-
* The timestamp of the most recent data point ingested by Capacity Manager, in milliseconds since epoch. This indicates how current your capacity data is.
|
|
8026
|
-
* </p>
|
|
8027
|
-
* @public
|
|
8028
|
-
*/
|
|
8029
|
-
LatestDatapointTimestamp?: Date | undefined;
|
|
8030
|
-
}
|
|
8031
|
-
/**
|
|
8032
|
-
* <p>
|
|
8033
|
-
* Specifies a condition for filtering capacity data based on dimension values. Used to create precise filters for metric queries and dimension lookups.
|
|
8034
|
-
* </p>
|
|
8035
|
-
* @public
|
|
8036
|
-
*/
|
|
8037
|
-
export interface DimensionCondition {
|
|
8038
|
-
/**
|
|
8039
|
-
* <p>
|
|
8040
|
-
* The name of the dimension to filter by.
|
|
8041
|
-
* </p>
|
|
8042
|
-
* @public
|
|
8043
|
-
*/
|
|
8044
|
-
Dimension?: FilterByDimension | undefined;
|
|
8045
|
-
/**
|
|
8046
|
-
* <p>
|
|
8047
|
-
* The comparison operator to use for the filter.
|
|
8048
|
-
* </p>
|
|
8049
|
-
* @public
|
|
8050
|
-
*/
|
|
8051
|
-
Comparison?: Comparison | undefined;
|
|
8052
|
-
/**
|
|
8053
|
-
* <p>
|
|
8054
|
-
* The list of values to match against the specified dimension. For 'equals' comparison, only the first value is used. For 'in' comparison, any matching value will satisfy the condition.
|
|
8055
|
-
* </p>
|
|
8056
|
-
* @public
|
|
8057
|
-
*/
|
|
8058
|
-
Values?: string[] | undefined;
|
|
8059
|
-
}
|
|
8060
|
-
/**
|
|
8061
|
-
* <p>
|
|
8062
|
-
* Represents a filter condition for Capacity Manager queries. Contains dimension-based filtering criteria used to narrow down metric data and dimension results.
|
|
8063
|
-
* </p>
|
|
8064
|
-
* @public
|
|
8065
|
-
*/
|
|
8066
|
-
export interface CapacityManagerCondition {
|
|
8067
|
-
/**
|
|
8068
|
-
* <p>
|
|
8069
|
-
* The dimension-based condition that specifies how to filter the data based on dimension values.
|
|
8070
|
-
* </p>
|
|
8071
|
-
* @public
|
|
8072
|
-
*/
|
|
8073
|
-
DimensionCondition?: DimensionCondition | undefined;
|
|
8074
|
-
}
|
|
8075
|
-
/**
|
|
8076
|
-
* @public
|
|
8077
|
-
*/
|
|
8078
|
-
export interface GetCapacityManagerMetricDataRequest {
|
|
8079
|
-
/**
|
|
8080
|
-
* <p>
|
|
8081
|
-
* The names of the metrics to retrieve. Maximum of 10 metrics per request.
|
|
8082
|
-
* </p>
|
|
8083
|
-
* @public
|
|
8084
|
-
*/
|
|
8085
|
-
MetricNames: Metric[] | undefined;
|
|
8086
|
-
/**
|
|
8087
|
-
* <p>
|
|
8088
|
-
* The start time for the metric data query, in ISO 8601 format. The time range (end time - start time) must be a multiple of the specified period.
|
|
8089
|
-
* </p>
|
|
8090
|
-
* @public
|
|
8091
|
-
*/
|
|
8092
|
-
StartTime: Date | undefined;
|
|
8093
|
-
/**
|
|
8094
|
-
* <p>
|
|
8095
|
-
* The end time for the metric data query, in ISO 8601 format. If the end time is beyond the latest ingested data, it will be automatically adjusted to the latest available data point.
|
|
8096
|
-
* </p>
|
|
8097
|
-
* @public
|
|
8098
|
-
*/
|
|
8099
|
-
EndTime: Date | undefined;
|
|
8100
|
-
/**
|
|
8101
|
-
* <p>
|
|
8102
|
-
* The granularity, in seconds, of the returned data points.
|
|
8103
|
-
* </p>
|
|
8104
|
-
* @public
|
|
8105
|
-
*/
|
|
8106
|
-
Period: number | undefined;
|
|
8107
|
-
/**
|
|
8108
|
-
* <p>
|
|
8109
|
-
* The dimensions by which to group the metric data. This determines how the data is aggregated and returned.
|
|
8110
|
-
* </p>
|
|
8111
|
-
* @public
|
|
8112
|
-
*/
|
|
8113
|
-
GroupBy?: GroupBy[] | undefined;
|
|
8114
|
-
/**
|
|
8115
|
-
* <p>
|
|
8116
|
-
* Conditions to filter the metric data. Each filter specifies a dimension, comparison operator ('equals', 'in'), and values to match against.
|
|
8117
|
-
* </p>
|
|
8118
|
-
* @public
|
|
8119
|
-
*/
|
|
8120
|
-
FilterBy?: CapacityManagerCondition[] | undefined;
|
|
8121
|
-
/**
|
|
8122
|
-
* <p>
|
|
8123
|
-
* The maximum number of data points to return. Valid range is 1 to 100,000. Use with NextToken for pagination of large result sets.
|
|
8124
|
-
* </p>
|
|
8125
|
-
* @public
|
|
8126
|
-
*/
|
|
8127
|
-
MaxResults?: number | undefined;
|
|
8128
|
-
/**
|
|
8129
|
-
* <p>
|
|
8130
|
-
* The token for the next page of results. Use this value in a subsequent call to retrieve additional data points.
|
|
8131
|
-
* </p>
|
|
8132
|
-
* @public
|
|
8133
|
-
*/
|
|
8134
|
-
NextToken?: string | undefined;
|
|
8135
|
-
/**
|
|
8136
|
-
* <p>
|
|
8137
|
-
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have
|
|
8138
|
-
* the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
|
|
8139
|
-
* </p>
|
|
8140
|
-
* @public
|
|
8141
|
-
*/
|
|
8142
|
-
DryRun?: boolean | undefined;
|
|
8143
|
-
}
|