@aws-sdk/client-ec2 3.56.0 → 3.60.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.
Files changed (116) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/EC2.js +15 -0
  3. package/dist-cjs/commands/CreateTransitGatewayConnectCommand.js +2 -1
  4. package/dist-cjs/commands/CreateTransitGatewayConnectPeerCommand.js +1 -2
  5. package/dist-cjs/commands/DescribeCoipPoolsCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeConversionTasksCommand.js +1 -2
  7. package/dist-cjs/commands/DescribeReplaceRootVolumeTasksCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeReservedInstancesCommand.js +1 -2
  9. package/dist-cjs/commands/GetGroupsForCapacityReservationCommand.js +3 -3
  10. package/dist-cjs/commands/GetHostReservationPurchasePreviewCommand.js +3 -3
  11. package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +1 -2
  12. package/dist-cjs/commands/ModifyInstanceMaintenanceOptionsCommand.js +36 -0
  13. package/dist-cjs/commands/ResetAddressAttributeCommand.js +3 -3
  14. package/dist-cjs/commands/ResetEbsDefaultKmsKeyIdCommand.js +3 -3
  15. package/dist-cjs/commands/ResetFpgaImageAttributeCommand.js +3 -3
  16. package/dist-cjs/commands/ResetImageAttributeCommand.js +2 -2
  17. package/dist-cjs/commands/index.js +1 -0
  18. package/dist-cjs/models/models_0.js +18 -17
  19. package/dist-cjs/models/models_1.js +34 -36
  20. package/dist-cjs/models/models_2.js +36 -36
  21. package/dist-cjs/models/models_3.js +47 -29
  22. package/dist-cjs/models/models_4.js +29 -48
  23. package/dist-cjs/models/models_5.js +60 -48
  24. package/dist-cjs/models/models_6.js +50 -2
  25. package/dist-cjs/protocols/Aws_ec2.js +226 -13
  26. package/dist-es/EC2.js +15 -0
  27. package/dist-es/commands/CreateTransitGatewayConnectCommand.js +2 -1
  28. package/dist-es/commands/CreateTransitGatewayConnectPeerCommand.js +1 -2
  29. package/dist-es/commands/DescribeCoipPoolsCommand.js +2 -1
  30. package/dist-es/commands/DescribeConversionTasksCommand.js +1 -2
  31. package/dist-es/commands/DescribeReplaceRootVolumeTasksCommand.js +1 -1
  32. package/dist-es/commands/DescribeReservedInstancesCommand.js +1 -2
  33. package/dist-es/commands/GetGroupsForCapacityReservationCommand.js +1 -1
  34. package/dist-es/commands/GetHostReservationPurchasePreviewCommand.js +1 -1
  35. package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +1 -2
  36. package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +39 -0
  37. package/dist-es/commands/ResetAddressAttributeCommand.js +1 -1
  38. package/dist-es/commands/ResetEbsDefaultKmsKeyIdCommand.js +1 -1
  39. package/dist-es/commands/ResetFpgaImageAttributeCommand.js +1 -1
  40. package/dist-es/commands/ResetImageAttributeCommand.js +1 -1
  41. package/dist-es/commands/index.js +1 -0
  42. package/dist-es/models/models_0.js +8 -11
  43. package/dist-es/models/models_1.js +24 -20
  44. package/dist-es/models/models_2.js +20 -20
  45. package/dist-es/models/models_3.js +29 -17
  46. package/dist-es/models/models_4.js +17 -28
  47. package/dist-es/models/models_5.js +36 -28
  48. package/dist-es/models/models_6.js +32 -0
  49. package/dist-es/protocols/Aws_ec2.js +224 -0
  50. package/dist-types/EC2.d.ts +91 -65
  51. package/dist-types/EC2Client.d.ts +3 -2
  52. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  53. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
  54. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -2
  55. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
  56. package/dist-types/commands/DescribeCoipPoolsCommand.d.ts +2 -1
  57. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -2
  58. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
  59. package/dist-types/commands/DescribeInstancesCommand.d.ts +8 -7
  60. package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
  62. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +3 -2
  63. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  64. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  65. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -2
  66. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +7 -5
  67. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  68. package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +11 -10
  69. package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -1
  70. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +38 -0
  71. package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +2 -2
  72. package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
  73. package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  74. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  75. package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  76. package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
  77. package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +14 -12
  78. package/dist-types/commands/StartInstancesCommand.d.ts +5 -4
  79. package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
  80. package/dist-types/commands/TerminateInstancesCommand.d.ts +17 -14
  81. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +2 -1
  82. package/dist-types/commands/index.d.ts +1 -0
  83. package/dist-types/models/models_0.d.ts +93 -25
  84. package/dist-types/models/models_1.d.ts +353 -372
  85. package/dist-types/models/models_2.d.ts +128 -118
  86. package/dist-types/models/models_3.d.ts +230 -225
  87. package/dist-types/models/models_4.d.ts +169 -189
  88. package/dist-types/models/models_5.d.ts +277 -166
  89. package/dist-types/models/models_6.d.ts +217 -66
  90. package/dist-types/protocols/Aws_ec2.d.ts +3 -0
  91. package/dist-types/ts3.4/EC2.d.ts +5 -0
  92. package/dist-types/ts3.4/EC2Client.d.ts +3 -2
  93. package/dist-types/ts3.4/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
  94. package/dist-types/ts3.4/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -2
  95. package/dist-types/ts3.4/commands/DescribeCoipPoolsCommand.d.ts +2 -1
  96. package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +1 -2
  97. package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +1 -2
  99. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -2
  102. package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +38 -9
  109. package/dist-types/ts3.4/models/models_1.d.ts +36 -68
  110. package/dist-types/ts3.4/models/models_2.d.ts +69 -65
  111. package/dist-types/ts3.4/models/models_3.d.ts +89 -53
  112. package/dist-types/ts3.4/models/models_4.d.ts +53 -103
  113. package/dist-types/ts3.4/models/models_5.d.ts +125 -74
  114. package/dist-types/ts3.4/models/models_6.d.ts +84 -2
  115. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
  116. package/package.json +19 -19
@@ -1,7 +1,169 @@
1
1
  import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AssociationStatus, BatchState, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, ReservedInstancesListing, ResourceType, SecurityGroupRule, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, Tenancy, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, Vpc, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
- import { BlockDeviceMapping, DiskImageFormat, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InstanceRequirementsRequest, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, VolumeType } from "./models_1";
3
- import { ConnectionNotification, DnsEntry, DnsNameState, Filter, PayerResponsibility, ServiceConfiguration, ServiceTypeDetail, State, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayRouteTable, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
- import { ArchitectureType, AttributeBooleanValue, EventInformation, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, OfferingClassType, OfferingTypeValues, PaymentOption, PermissionGroup, ProductCode, RecurringChargeFrequency, RIProductDescription, VirtualizationType } from "./models_3";
2
+ import { BlockDeviceMapping, DiskImageFormat, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, VolumeType } from "./models_1";
3
+ import { ConnectionNotification, DnsEntry, DnsNameState, Filter, PayerResponsibility, ServiceConfiguration, ServiceTypeDetail, State, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayRouteTable, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
+ import { AttributeBooleanValue, EventInformation, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, PermissionGroup, ProductCode } from "./models_3";
5
+ export interface DescribeReplaceRootVolumeTasksRequest {
6
+ /**
7
+ * <p>The ID of the root volume replacement task to view.</p>
8
+ */
9
+ ReplaceRootVolumeTaskIds?: string[];
10
+ /**
11
+ * <p>Filter to use:</p>
12
+ * <ul>
13
+ * <li>
14
+ * <p>
15
+ * <code>instance-id</code> - The ID of the instance for which the root volume replacement task was created.</p>
16
+ * </li>
17
+ * </ul>
18
+ */
19
+ Filters?: Filter[];
20
+ /**
21
+ * <p>The maximum number of results to return with a single call.
22
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
23
+ */
24
+ MaxResults?: number;
25
+ /**
26
+ * <p>The token for the next page of results.</p>
27
+ */
28
+ NextToken?: string;
29
+ /**
30
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
31
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
32
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
33
+ */
34
+ DryRun?: boolean;
35
+ }
36
+ export declare namespace DescribeReplaceRootVolumeTasksRequest {
37
+ /**
38
+ * @internal
39
+ */
40
+ const filterSensitiveLog: (obj: DescribeReplaceRootVolumeTasksRequest) => any;
41
+ }
42
+ export interface DescribeReplaceRootVolumeTasksResult {
43
+ /**
44
+ * <p>Information about the root volume replacement task.</p>
45
+ */
46
+ ReplaceRootVolumeTasks?: ReplaceRootVolumeTask[];
47
+ /**
48
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
49
+ */
50
+ NextToken?: string;
51
+ }
52
+ export declare namespace DescribeReplaceRootVolumeTasksResult {
53
+ /**
54
+ * @internal
55
+ */
56
+ const filterSensitiveLog: (obj: DescribeReplaceRootVolumeTasksResult) => any;
57
+ }
58
+ export declare enum OfferingClassType {
59
+ CONVERTIBLE = "convertible",
60
+ STANDARD = "standard"
61
+ }
62
+ export declare type OfferingTypeValues = "All Upfront" | "Heavy Utilization" | "Light Utilization" | "Medium Utilization" | "No Upfront" | "Partial Upfront";
63
+ /**
64
+ * <p>Contains the parameters for DescribeReservedInstances.</p>
65
+ */
66
+ export interface DescribeReservedInstancesRequest {
67
+ /**
68
+ * <p>One or more filters.</p>
69
+ * <ul>
70
+ * <li>
71
+ * <p>
72
+ * <code>availability-zone</code> - The Availability Zone where the Reserved Instance can be used.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>
76
+ * <code>duration</code> - The duration of the Reserved Instance (one year or three years), in seconds (<code>31536000</code> | <code>94608000</code>).</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>
80
+ * <code>end</code> - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).</p>
81
+ * </li>
82
+ * <li>
83
+ * <p>
84
+ * <code>fixed-price</code> - The purchase price of the Reserved Instance (for example, 9800.0).</p>
85
+ * </li>
86
+ * <li>
87
+ * <p>
88
+ * <code>instance-type</code> - The instance type that is covered by the reservation.</p>
89
+ * </li>
90
+ * <li>
91
+ * <p>
92
+ * <code>scope</code> - The scope of the Reserved Instance (<code>Region</code> or <code>Availability Zone</code>).</p>
93
+ * </li>
94
+ * <li>
95
+ * <p>
96
+ * <code>product-description</code> - The Reserved Instance product platform
97
+ * description. Instances that include <code>(Amazon VPC)</code> in the product platform
98
+ * description will only be displayed to EC2-Classic account holders and are for use with
99
+ * Amazon VPC (<code>Linux/UNIX</code> | <code>Linux/UNIX (Amazon VPC)</code> | <code>SUSE
100
+ * Linux</code> | <code>SUSE Linux (Amazon VPC)</code> | <code>Red Hat Enterprise
101
+ * Linux</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> | <code>Red Hat
102
+ * Enterprise Linux with HA (Amazon VPC)</code> | <code>Windows</code> | <code>Windows
103
+ * (Amazon VPC)</code> | <code>Windows with SQL Server Standard</code> | <code>Windows with
104
+ * SQL Server Standard (Amazon VPC)</code> | <code>Windows with SQL Server Web</code> |
105
+ * <code>Windows with SQL Server Web (Amazon VPC)</code> | <code>Windows with SQL Server
106
+ * Enterprise</code> | <code>Windows with SQL Server Enterprise (Amazon
107
+ * VPC)</code>).</p>
108
+ * </li>
109
+ * <li>
110
+ * <p>
111
+ * <code>reserved-instances-id</code> - The ID of the Reserved Instance.</p>
112
+ * </li>
113
+ * <li>
114
+ * <p>
115
+ * <code>start</code> - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).</p>
116
+ * </li>
117
+ * <li>
118
+ * <p>
119
+ * <code>state</code> - The state of the Reserved Instance (<code>payment-pending</code> | <code>active</code> | <code>payment-failed</code> | <code>retired</code>).</p>
120
+ * </li>
121
+ * <li>
122
+ * <p>
123
+ * <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
124
+ * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
125
+ * </li>
126
+ * <li>
127
+ * <p>
128
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
129
+ * </li>
130
+ * <li>
131
+ * <p>
132
+ * <code>usage-price</code> - The usage price of the Reserved Instance, per hour (for example, 0.84).</p>
133
+ * </li>
134
+ * </ul>
135
+ */
136
+ Filters?: Filter[];
137
+ /**
138
+ * <p>Describes whether the Reserved Instance is Standard or Convertible.</p>
139
+ */
140
+ OfferingClass?: OfferingClassType | string;
141
+ /**
142
+ * <p>One or more Reserved Instance IDs.</p>
143
+ * <p>Default: Describes all your Reserved Instances, or only those otherwise specified.</p>
144
+ */
145
+ ReservedInstancesIds?: string[];
146
+ /**
147
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
148
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
149
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
150
+ */
151
+ DryRun?: boolean;
152
+ /**
153
+ * <p>The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API
154
+ * version, you only have access to the <code>Medium Utilization</code> Reserved Instance
155
+ * offering type.</p>
156
+ */
157
+ OfferingType?: OfferingTypeValues | string;
158
+ }
159
+ export declare namespace DescribeReservedInstancesRequest {
160
+ /**
161
+ * @internal
162
+ */
163
+ const filterSensitiveLog: (obj: DescribeReservedInstancesRequest) => any;
164
+ }
165
+ export declare type RIProductDescription = "Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)";
166
+ export declare type RecurringChargeFrequency = "Hourly";
5
167
  /**
6
168
  * <p>Describes a recurring charge.</p>
7
169
  */
@@ -8985,7 +9147,8 @@ export declare namespace GetDefaultCreditSpecificationRequest {
8985
9147
  const filterSensitiveLog: (obj: GetDefaultCreditSpecificationRequest) => any;
8986
9148
  }
8987
9149
  /**
8988
- * <p>Describes the default credit option for CPU usage of a burstable performance instance family.</p>
9150
+ * <p>Describes the default credit option for CPU usage of a burstable performance instance
9151
+ * family.</p>
8989
9152
  */
8990
9153
  export interface InstanceFamilyCreditSpecification {
8991
9154
  /**
@@ -8993,7 +9156,8 @@ export interface InstanceFamilyCreditSpecification {
8993
9156
  */
8994
9157
  InstanceFamily?: UnlimitedSupportedInstanceFamily | string;
8995
9158
  /**
8996
- * <p>The default credit option for CPU usage of the instance family. Valid values are <code>standard</code> and <code>unlimited</code>.</p>
9159
+ * <p>The default credit option for CPU usage of the instance family. Valid values are
9160
+ * <code>standard</code> and <code>unlimited</code>.</p>
8997
9161
  */
8998
9162
  CpuCredits?: string;
8999
9163
  }
@@ -9153,187 +9317,3 @@ export declare namespace GetFlowLogsIntegrationTemplateResult {
9153
9317
  */
9154
9318
  const filterSensitiveLog: (obj: GetFlowLogsIntegrationTemplateResult) => any;
9155
9319
  }
9156
- export interface GetGroupsForCapacityReservationRequest {
9157
- /**
9158
- * <p>The ID of the Capacity Reservation.</p>
9159
- */
9160
- CapacityReservationId: string | undefined;
9161
- /**
9162
- * <p>The token to use to retrieve the next page of results.</p>
9163
- */
9164
- NextToken?: string;
9165
- /**
9166
- * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned <code>nextToken</code> value. This value can be between 5 and 500. If <code>maxResults</code> is given a larger value than 500, you receive an error.</p>
9167
- */
9168
- MaxResults?: number;
9169
- /**
9170
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9171
- */
9172
- DryRun?: boolean;
9173
- }
9174
- export declare namespace GetGroupsForCapacityReservationRequest {
9175
- /**
9176
- * @internal
9177
- */
9178
- const filterSensitiveLog: (obj: GetGroupsForCapacityReservationRequest) => any;
9179
- }
9180
- /**
9181
- * <p>Describes a resource group to which a Capacity Reservation has been added.</p>
9182
- */
9183
- export interface CapacityReservationGroup {
9184
- /**
9185
- * <p>The ARN of the resource group.</p>
9186
- */
9187
- GroupArn?: string;
9188
- /**
9189
- * <p>The ID of the Amazon Web Services account that owns the resource group.</p>
9190
- */
9191
- OwnerId?: string;
9192
- }
9193
- export declare namespace CapacityReservationGroup {
9194
- /**
9195
- * @internal
9196
- */
9197
- const filterSensitiveLog: (obj: CapacityReservationGroup) => any;
9198
- }
9199
- export interface GetGroupsForCapacityReservationResult {
9200
- /**
9201
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
9202
- */
9203
- NextToken?: string;
9204
- /**
9205
- * <p>Information about the resource groups to which the Capacity Reservation has been added.</p>
9206
- */
9207
- CapacityReservationGroups?: CapacityReservationGroup[];
9208
- }
9209
- export declare namespace GetGroupsForCapacityReservationResult {
9210
- /**
9211
- * @internal
9212
- */
9213
- const filterSensitiveLog: (obj: GetGroupsForCapacityReservationResult) => any;
9214
- }
9215
- export interface GetHostReservationPurchasePreviewRequest {
9216
- /**
9217
- * <p>The IDs of the Dedicated Hosts with which the reservation is associated.</p>
9218
- */
9219
- HostIdSet: string[] | undefined;
9220
- /**
9221
- * <p>The offering ID of the reservation.</p>
9222
- */
9223
- OfferingId: string | undefined;
9224
- }
9225
- export declare namespace GetHostReservationPurchasePreviewRequest {
9226
- /**
9227
- * @internal
9228
- */
9229
- const filterSensitiveLog: (obj: GetHostReservationPurchasePreviewRequest) => any;
9230
- }
9231
- /**
9232
- * <p>Describes the result of the purchase.</p>
9233
- */
9234
- export interface Purchase {
9235
- /**
9236
- * <p>The currency in which the <code>UpfrontPrice</code> and <code>HourlyPrice</code>
9237
- * amounts are specified. At this time, the only supported currency is
9238
- * <code>USD</code>.</p>
9239
- */
9240
- CurrencyCode?: CurrencyCodeValues | string;
9241
- /**
9242
- * <p>The duration of the reservation's term in seconds.</p>
9243
- */
9244
- Duration?: number;
9245
- /**
9246
- * <p>The IDs of the Dedicated Hosts associated with the reservation.</p>
9247
- */
9248
- HostIdSet?: string[];
9249
- /**
9250
- * <p>The ID of the reservation.</p>
9251
- */
9252
- HostReservationId?: string;
9253
- /**
9254
- * <p>The hourly price of the reservation per hour.</p>
9255
- */
9256
- HourlyPrice?: string;
9257
- /**
9258
- * <p>The instance family on the Dedicated Host that the reservation can be associated
9259
- * with.</p>
9260
- */
9261
- InstanceFamily?: string;
9262
- /**
9263
- * <p>The payment option for the reservation.</p>
9264
- */
9265
- PaymentOption?: PaymentOption | string;
9266
- /**
9267
- * <p>The upfront price of the reservation.</p>
9268
- */
9269
- UpfrontPrice?: string;
9270
- }
9271
- export declare namespace Purchase {
9272
- /**
9273
- * @internal
9274
- */
9275
- const filterSensitiveLog: (obj: Purchase) => any;
9276
- }
9277
- export interface GetHostReservationPurchasePreviewResult {
9278
- /**
9279
- * <p>The currency in which the <code>totalUpfrontPrice</code> and
9280
- * <code>totalHourlyPrice</code> amounts are specified. At this time, the only
9281
- * supported currency is <code>USD</code>.</p>
9282
- */
9283
- CurrencyCode?: CurrencyCodeValues | string;
9284
- /**
9285
- * <p>The purchase information of the Dedicated Host reservation and the Dedicated Hosts
9286
- * associated with it.</p>
9287
- */
9288
- Purchase?: Purchase[];
9289
- /**
9290
- * <p>The potential total hourly price of the reservation per hour.</p>
9291
- */
9292
- TotalHourlyPrice?: string;
9293
- /**
9294
- * <p>The potential total upfront price. This is billed immediately.</p>
9295
- */
9296
- TotalUpfrontPrice?: string;
9297
- }
9298
- export declare namespace GetHostReservationPurchasePreviewResult {
9299
- /**
9300
- * @internal
9301
- */
9302
- const filterSensitiveLog: (obj: GetHostReservationPurchasePreviewResult) => any;
9303
- }
9304
- export interface GetInstanceTypesFromInstanceRequirementsRequest {
9305
- /**
9306
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9307
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9308
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9309
- */
9310
- DryRun?: boolean;
9311
- /**
9312
- * <p>The processor architecture type.</p>
9313
- */
9314
- ArchitectureTypes: (ArchitectureType | string)[] | undefined;
9315
- /**
9316
- * <p>The virtualization type.</p>
9317
- */
9318
- VirtualizationTypes: (VirtualizationType | string)[] | undefined;
9319
- /**
9320
- * <p>The attributes required for the instance types.</p>
9321
- */
9322
- InstanceRequirements: InstanceRequirementsRequest | undefined;
9323
- /**
9324
- * <p>The maximum number of results to return in a single call. Specify a value between 1 and
9325
- * 1000. The default value is 1000. To retrieve the remaining results, make another call with
9326
- * the returned <code>NextToken</code> value.</p>
9327
- */
9328
- MaxResults?: number;
9329
- /**
9330
- * <p>The token for the next set of results.</p>
9331
- */
9332
- NextToken?: string;
9333
- }
9334
- export declare namespace GetInstanceTypesFromInstanceRequirementsRequest {
9335
- /**
9336
- * @internal
9337
- */
9338
- const filterSensitiveLog: (obj: GetInstanceTypesFromInstanceRequirementsRequest) => any;
9339
- }