@aws-sdk/client-ec2 3.42.0 → 3.43.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/CHANGELOG.md +11 -0
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/CreateVpcEndpointConnectionNotificationCommand.js +2 -1
- package/dist-cjs/commands/DescribeHostReservationsCommand.js +2 -1
- package/dist-cjs/commands/DescribeHostsCommand.js +1 -2
- package/dist-cjs/commands/DescribeStaleSecurityGroupsCommand.js +2 -1
- package/dist-cjs/commands/DescribeStoreImageTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeSubnetsCommand.js +1 -2
- package/dist-cjs/commands/ModifyInstanceAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyInstanceCapacityReservationAttributesCommand.js +3 -3
- package/dist-cjs/commands/ModifyPrivateDnsNameOptionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +13 -14
- package/dist-cjs/models/models_1.js +29 -26
- package/dist-cjs/models/models_2.js +27 -31
- package/dist-cjs/models/models_3.js +37 -36
- package/dist-cjs/models/models_4.js +36 -36
- package/dist-cjs/models/models_5.js +53 -5
- package/dist-cjs/protocols/Aws_ec2.js +235 -12
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/CreateVpcEndpointConnectionNotificationCommand.js +2 -1
- package/dist-es/commands/DescribeHostReservationsCommand.js +2 -1
- package/dist-es/commands/DescribeHostsCommand.js +1 -2
- package/dist-es/commands/DescribeStaleSecurityGroupsCommand.js +2 -1
- package/dist-es/commands/DescribeStoreImageTasksCommand.js +1 -1
- package/dist-es/commands/DescribeSubnetsCommand.js +1 -2
- package/dist-es/commands/ModifyInstanceAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceCapacityReservationAttributesCommand.js +1 -1
- package/dist-es/commands/ModifyPrivateDnsNameOptionsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +9 -8
- package/dist-es/models/models_1.js +16 -17
- package/dist-es/models/models_2.js +17 -19
- package/dist-es/models/models_3.js +23 -20
- package/dist-es/models/models_4.js +20 -20
- package/dist-es/models/models_5.js +32 -0
- package/dist-es/protocols/Aws_ec2.js +229 -0
- package/dist-types/EC2.d.ts +20 -12
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostReservationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +3 -2
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +1 -2
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +35 -0
- package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +2 -2
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +1 -1
- package/dist-types/commands/StartInstancesCommand.d.ts +2 -2
- package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +99 -75
- package/dist-types/models/models_1.d.ts +127 -68
- package/dist-types/models/models_2.d.ts +120 -189
- package/dist-types/models/models_3.d.ts +195 -230
- package/dist-types/models/models_4.d.ts +236 -204
- package/dist-types/models/models_5.d.ts +310 -14
- package/dist-types/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/ts3.4/EC2.d.ts +5 -0
- package/dist-types/ts3.4/EC2Client.d.ts +3 -2
- package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -22
- package/dist-types/ts3.4/models/models_1.d.ts +62 -40
- package/dist-types/ts3.4/models/models_2.d.ts +38 -65
- package/dist-types/ts3.4/models/models_3.d.ts +84 -75
- package/dist-types/ts3.4/models/models_4.d.ts +76 -83
- package/dist-types/ts3.4/models/models_5.d.ts +129 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/package.json +2 -2
|
@@ -1,6 +1,166 @@
|
|
|
1
|
-
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationState, AllocationStrategy, AllowsMultipleInstanceTypes, AlternatePathHint, AttachmentStatus, AttributeValue, AutoPlacement, BatchState, CurrencyCodeValues, FleetLaunchTemplateSpecification, FleetType, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Placement, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TargetCapacityUnitType, Tenancy, UserIdGroupPair } from "./models_0";
|
|
1
|
+
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationState, AllocationStrategy, AllowsMultipleInstanceTypes, AlternatePathHint, AttachmentStatus, AttributeValue, AutoPlacement, BatchState, CurrencyCodeValues, FleetLaunchTemplateSpecification, FleetType, HostnameType, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Placement, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TargetCapacityUnitType, Tenancy, UserIdGroupPair } from "./models_0";
|
|
2
2
|
import { BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, PlatformValues, PortRange, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType } from "./models_1";
|
|
3
|
-
import { EventInformation, Filter, IdFormat, InstanceTagNotificationAttribute, PermissionGroup, ProductCode } from "./models_2";
|
|
3
|
+
import { EventInformation, Filter, IdFormat, InstanceTagNotificationAttribute, PaymentOption, PermissionGroup, ProductCode } from "./models_2";
|
|
4
|
+
export declare enum ReservationState {
|
|
5
|
+
ACTIVE = "active",
|
|
6
|
+
PAYMENT_FAILED = "payment-failed",
|
|
7
|
+
PAYMENT_PENDING = "payment-pending",
|
|
8
|
+
RETIRED = "retired"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Details about the Dedicated Host Reservation and associated Dedicated
|
|
12
|
+
* Hosts.</p>
|
|
13
|
+
*/
|
|
14
|
+
export interface HostReservation {
|
|
15
|
+
/**
|
|
16
|
+
* <p>The number of Dedicated Hosts the reservation is associated with.</p>
|
|
17
|
+
*/
|
|
18
|
+
Count?: number;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The currency in which the <code>upfrontPrice</code> and <code>hourlyPrice</code>
|
|
21
|
+
* amounts are specified. At this time, the only supported currency is
|
|
22
|
+
* <code>USD</code>.</p>
|
|
23
|
+
*/
|
|
24
|
+
CurrencyCode?: CurrencyCodeValues | string;
|
|
25
|
+
/**
|
|
26
|
+
* <p>The length of the reservation's term, specified in seconds. Can be <code>31536000
|
|
27
|
+
* (1 year)</code> | <code>94608000 (3 years)</code>.</p>
|
|
28
|
+
*/
|
|
29
|
+
Duration?: number;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The date and time that the reservation ends.</p>
|
|
32
|
+
*/
|
|
33
|
+
End?: Date;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The IDs of the Dedicated Hosts associated with the reservation.</p>
|
|
36
|
+
*/
|
|
37
|
+
HostIdSet?: string[];
|
|
38
|
+
/**
|
|
39
|
+
* <p>The ID of the reservation that specifies the associated Dedicated Hosts.</p>
|
|
40
|
+
*/
|
|
41
|
+
HostReservationId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* <p>The hourly price of the reservation.</p>
|
|
44
|
+
*/
|
|
45
|
+
HourlyPrice?: string;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The instance family of the Dedicated Host Reservation. The instance family on the
|
|
48
|
+
* Dedicated Host must be the same in order for it to benefit from the
|
|
49
|
+
* reservation.</p>
|
|
50
|
+
*/
|
|
51
|
+
InstanceFamily?: string;
|
|
52
|
+
/**
|
|
53
|
+
* <p>The ID of the reservation. This remains the same regardless of which Dedicated
|
|
54
|
+
* Hosts are associated with it.</p>
|
|
55
|
+
*/
|
|
56
|
+
OfferingId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The payment option selected for this reservation.</p>
|
|
59
|
+
*/
|
|
60
|
+
PaymentOption?: PaymentOption | string;
|
|
61
|
+
/**
|
|
62
|
+
* <p>The date and time that the reservation started.</p>
|
|
63
|
+
*/
|
|
64
|
+
Start?: Date;
|
|
65
|
+
/**
|
|
66
|
+
* <p>The state of the reservation.</p>
|
|
67
|
+
*/
|
|
68
|
+
State?: ReservationState | string;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The upfront price of the reservation.</p>
|
|
71
|
+
*/
|
|
72
|
+
UpfrontPrice?: string;
|
|
73
|
+
/**
|
|
74
|
+
* <p>Any tags assigned to the Dedicated Host Reservation.</p>
|
|
75
|
+
*/
|
|
76
|
+
Tags?: Tag[];
|
|
77
|
+
}
|
|
78
|
+
export declare namespace HostReservation {
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
const filterSensitiveLog: (obj: HostReservation) => any;
|
|
83
|
+
}
|
|
84
|
+
export interface DescribeHostReservationsResult {
|
|
85
|
+
/**
|
|
86
|
+
* <p>Details about the reservation's configuration.</p>
|
|
87
|
+
*/
|
|
88
|
+
HostReservationSet?: HostReservation[];
|
|
89
|
+
/**
|
|
90
|
+
* <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>
|
|
91
|
+
*/
|
|
92
|
+
NextToken?: string;
|
|
93
|
+
}
|
|
94
|
+
export declare namespace DescribeHostReservationsResult {
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
const filterSensitiveLog: (obj: DescribeHostReservationsResult) => any;
|
|
99
|
+
}
|
|
100
|
+
export interface DescribeHostsRequest {
|
|
101
|
+
/**
|
|
102
|
+
* <p>The filters.</p>
|
|
103
|
+
* <ul>
|
|
104
|
+
* <li>
|
|
105
|
+
* <p>
|
|
106
|
+
* <code>auto-placement</code> - Whether auto-placement is enabled or disabled
|
|
107
|
+
* (<code>on</code> | <code>off</code>).</p>
|
|
108
|
+
* </li>
|
|
109
|
+
* <li>
|
|
110
|
+
* <p>
|
|
111
|
+
* <code>availability-zone</code> - The Availability Zone of the
|
|
112
|
+
* host.</p>
|
|
113
|
+
* </li>
|
|
114
|
+
* <li>
|
|
115
|
+
* <p>
|
|
116
|
+
* <code>client-token</code> - The idempotency token that you provided when you
|
|
117
|
+
* allocated the host.</p>
|
|
118
|
+
* </li>
|
|
119
|
+
* <li>
|
|
120
|
+
* <p>
|
|
121
|
+
* <code>host-reservation-id</code> - The ID of the reservation assigned to
|
|
122
|
+
* this host.</p>
|
|
123
|
+
* </li>
|
|
124
|
+
* <li>
|
|
125
|
+
* <p>
|
|
126
|
+
* <code>instance-type</code> - The instance type size that the Dedicated Host
|
|
127
|
+
* is configured to support.</p>
|
|
128
|
+
* </li>
|
|
129
|
+
* <li>
|
|
130
|
+
* <p>
|
|
131
|
+
* <code>state</code> - The allocation state of the Dedicated Host
|
|
132
|
+
* (<code>available</code> | <code>under-assessment</code> |
|
|
133
|
+
* <code>permanent-failure</code> | <code>released</code> |
|
|
134
|
+
* <code>released-permanent-failure</code>).</p>
|
|
135
|
+
* </li>
|
|
136
|
+
* <li>
|
|
137
|
+
* <p>
|
|
138
|
+
* <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>
|
|
139
|
+
* </li>
|
|
140
|
+
* </ul>
|
|
141
|
+
*/
|
|
142
|
+
Filter?: Filter[];
|
|
143
|
+
/**
|
|
144
|
+
* <p>The IDs of the Dedicated Hosts. The IDs are used for targeted instance
|
|
145
|
+
* launches.</p>
|
|
146
|
+
*/
|
|
147
|
+
HostIds?: string[];
|
|
148
|
+
/**
|
|
149
|
+
* <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>
|
|
150
|
+
* <p>You cannot specify this parameter and the host IDs parameter in the same request.</p>
|
|
151
|
+
*/
|
|
152
|
+
MaxResults?: number;
|
|
153
|
+
/**
|
|
154
|
+
* <p>The token to use to retrieve the next page of results.</p>
|
|
155
|
+
*/
|
|
156
|
+
NextToken?: string;
|
|
157
|
+
}
|
|
158
|
+
export declare namespace DescribeHostsRequest {
|
|
159
|
+
/**
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
162
|
+
const filterSensitiveLog: (obj: DescribeHostsRequest) => any;
|
|
163
|
+
}
|
|
4
164
|
/**
|
|
5
165
|
* <p>Information about the number of instances that can be launched onto the Dedicated
|
|
6
166
|
* Host.</p>
|
|
@@ -2569,6 +2729,29 @@ export declare namespace InstanceNetworkInterface {
|
|
|
2569
2729
|
*/
|
|
2570
2730
|
const filterSensitiveLog: (obj: InstanceNetworkInterface) => any;
|
|
2571
2731
|
}
|
|
2732
|
+
/**
|
|
2733
|
+
* <p>Describes the options for instance hostnames.</p>
|
|
2734
|
+
*/
|
|
2735
|
+
export interface PrivateDnsNameOptionsResponse {
|
|
2736
|
+
/**
|
|
2737
|
+
* <p>The type of hostname to assign to an instance.</p>
|
|
2738
|
+
*/
|
|
2739
|
+
HostnameType?: HostnameType | string;
|
|
2740
|
+
/**
|
|
2741
|
+
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p>
|
|
2742
|
+
*/
|
|
2743
|
+
EnableResourceNameDnsARecord?: boolean;
|
|
2744
|
+
/**
|
|
2745
|
+
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.</p>
|
|
2746
|
+
*/
|
|
2747
|
+
EnableResourceNameDnsAAAARecord?: boolean;
|
|
2748
|
+
}
|
|
2749
|
+
export declare namespace PrivateDnsNameOptionsResponse {
|
|
2750
|
+
/**
|
|
2751
|
+
* @internal
|
|
2752
|
+
*/
|
|
2753
|
+
const filterSensitiveLog: (obj: PrivateDnsNameOptionsResponse) => any;
|
|
2754
|
+
}
|
|
2572
2755
|
export declare type InstanceStateName = "pending" | "running" | "shutting-down" | "stopped" | "stopping" | "terminated";
|
|
2573
2756
|
/**
|
|
2574
2757
|
* <p>Describes the current state of an instance.</p>
|
|
@@ -2867,6 +3050,14 @@ export interface Instance {
|
|
|
2867
3050
|
* <p>The time that the usage operation was last updated.</p>
|
|
2868
3051
|
*/
|
|
2869
3052
|
UsageOperationUpdateTime?: Date;
|
|
3053
|
+
/**
|
|
3054
|
+
* <p>The options for the instance hostname.</p>
|
|
3055
|
+
*/
|
|
3056
|
+
PrivateDnsNameOptions?: PrivateDnsNameOptionsResponse;
|
|
3057
|
+
/**
|
|
3058
|
+
* <p>The IPv6 address assigned to the instance.</p>
|
|
3059
|
+
*/
|
|
3060
|
+
Ipv6Address?: string;
|
|
2870
3061
|
}
|
|
2871
3062
|
export declare namespace Instance {
|
|
2872
3063
|
/**
|
|
@@ -9612,6 +9803,8 @@ export interface SpotCapacityRebalance {
|
|
|
9612
9803
|
/**
|
|
9613
9804
|
* <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
|
|
9614
9805
|
* Instance after launching a new replacement Spot Instance.</p>
|
|
9806
|
+
* <p>Valid only when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
|
|
9807
|
+
* <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
|
|
9615
9808
|
*/
|
|
9616
9809
|
TerminationDelay?: number;
|
|
9617
9810
|
}
|
|
@@ -10622,231 +10815,3 @@ export declare namespace StaleSecurityGroup {
|
|
|
10622
10815
|
*/
|
|
10623
10816
|
const filterSensitiveLog: (obj: StaleSecurityGroup) => any;
|
|
10624
10817
|
}
|
|
10625
|
-
export interface DescribeStaleSecurityGroupsResult {
|
|
10626
|
-
/**
|
|
10627
|
-
* <p>The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.</p>
|
|
10628
|
-
*/
|
|
10629
|
-
NextToken?: string;
|
|
10630
|
-
/**
|
|
10631
|
-
* <p>Information about the stale security groups.</p>
|
|
10632
|
-
*/
|
|
10633
|
-
StaleSecurityGroupSet?: StaleSecurityGroup[];
|
|
10634
|
-
}
|
|
10635
|
-
export declare namespace DescribeStaleSecurityGroupsResult {
|
|
10636
|
-
/**
|
|
10637
|
-
* @internal
|
|
10638
|
-
*/
|
|
10639
|
-
const filterSensitiveLog: (obj: DescribeStaleSecurityGroupsResult) => any;
|
|
10640
|
-
}
|
|
10641
|
-
export interface DescribeStoreImageTasksRequest {
|
|
10642
|
-
/**
|
|
10643
|
-
* <p>The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.</p>
|
|
10644
|
-
*/
|
|
10645
|
-
ImageIds?: string[];
|
|
10646
|
-
/**
|
|
10647
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
10648
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
10649
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
10650
|
-
*/
|
|
10651
|
-
DryRun?: boolean;
|
|
10652
|
-
/**
|
|
10653
|
-
* <p>The filters.</p>
|
|
10654
|
-
* <ul>
|
|
10655
|
-
* <li>
|
|
10656
|
-
* <p>
|
|
10657
|
-
* <code>task-state</code> - Returns tasks in a certain state (<code>InProgress</code> |
|
|
10658
|
-
* <code>Completed</code> | <code>Failed</code>)</p>
|
|
10659
|
-
* </li>
|
|
10660
|
-
* <li>
|
|
10661
|
-
* <p>
|
|
10662
|
-
* <code>bucket</code> - Returns task information for tasks that targeted a specific
|
|
10663
|
-
* bucket. For the filter value, specify the bucket name.</p>
|
|
10664
|
-
* </li>
|
|
10665
|
-
* </ul>
|
|
10666
|
-
*/
|
|
10667
|
-
Filters?: Filter[];
|
|
10668
|
-
/**
|
|
10669
|
-
* <p>The token for the next page of results.</p>
|
|
10670
|
-
*/
|
|
10671
|
-
NextToken?: string;
|
|
10672
|
-
/**
|
|
10673
|
-
* <p>The maximum number of results to return in a single call. To retrieve the remaining
|
|
10674
|
-
* results, make another call with the returned <code>NextToken</code> value. This value can be
|
|
10675
|
-
* between 1 and 200. You cannot specify this parameter and the <code>ImageIDs</code> parameter
|
|
10676
|
-
* in the same call.</p>
|
|
10677
|
-
*/
|
|
10678
|
-
MaxResults?: number;
|
|
10679
|
-
}
|
|
10680
|
-
export declare namespace DescribeStoreImageTasksRequest {
|
|
10681
|
-
/**
|
|
10682
|
-
* @internal
|
|
10683
|
-
*/
|
|
10684
|
-
const filterSensitiveLog: (obj: DescribeStoreImageTasksRequest) => any;
|
|
10685
|
-
}
|
|
10686
|
-
/**
|
|
10687
|
-
* <p>The information about the AMI store task, including the progress of the task.</p>
|
|
10688
|
-
*/
|
|
10689
|
-
export interface StoreImageTaskResult {
|
|
10690
|
-
/**
|
|
10691
|
-
* <p>The ID of the AMI that is being stored.</p>
|
|
10692
|
-
*/
|
|
10693
|
-
AmiId?: string;
|
|
10694
|
-
/**
|
|
10695
|
-
* <p>The time the task started.</p>
|
|
10696
|
-
*/
|
|
10697
|
-
TaskStartTime?: Date;
|
|
10698
|
-
/**
|
|
10699
|
-
* <p>The name of the Amazon S3 bucket that contains the stored AMI object.</p>
|
|
10700
|
-
*/
|
|
10701
|
-
Bucket?: string;
|
|
10702
|
-
/**
|
|
10703
|
-
* <p>The name of the stored AMI object in the bucket.</p>
|
|
10704
|
-
*/
|
|
10705
|
-
S3objectKey?: string;
|
|
10706
|
-
/**
|
|
10707
|
-
* <p>The progress of the task as a percentage.</p>
|
|
10708
|
-
*/
|
|
10709
|
-
ProgressPercentage?: number;
|
|
10710
|
-
/**
|
|
10711
|
-
* <p>The state of the store task (<code>InProgress</code>, <code>Completed</code>, or
|
|
10712
|
-
* <code>Failed</code>).</p>
|
|
10713
|
-
*/
|
|
10714
|
-
StoreTaskState?: string;
|
|
10715
|
-
/**
|
|
10716
|
-
* <p>If the tasks fails, the reason for the failure is returned. If the task succeeds,
|
|
10717
|
-
* <code>null</code> is returned.</p>
|
|
10718
|
-
*/
|
|
10719
|
-
StoreTaskFailureReason?: string;
|
|
10720
|
-
}
|
|
10721
|
-
export declare namespace StoreImageTaskResult {
|
|
10722
|
-
/**
|
|
10723
|
-
* @internal
|
|
10724
|
-
*/
|
|
10725
|
-
const filterSensitiveLog: (obj: StoreImageTaskResult) => any;
|
|
10726
|
-
}
|
|
10727
|
-
export interface DescribeStoreImageTasksResult {
|
|
10728
|
-
/**
|
|
10729
|
-
* <p>The information about the AMI store tasks.</p>
|
|
10730
|
-
*/
|
|
10731
|
-
StoreImageTaskResults?: StoreImageTaskResult[];
|
|
10732
|
-
/**
|
|
10733
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code>
|
|
10734
|
-
* when there are no more results to return.</p>
|
|
10735
|
-
*/
|
|
10736
|
-
NextToken?: string;
|
|
10737
|
-
}
|
|
10738
|
-
export declare namespace DescribeStoreImageTasksResult {
|
|
10739
|
-
/**
|
|
10740
|
-
* @internal
|
|
10741
|
-
*/
|
|
10742
|
-
const filterSensitiveLog: (obj: DescribeStoreImageTasksResult) => any;
|
|
10743
|
-
}
|
|
10744
|
-
export interface DescribeSubnetsRequest {
|
|
10745
|
-
/**
|
|
10746
|
-
* <p>One or more filters.</p>
|
|
10747
|
-
* <ul>
|
|
10748
|
-
* <li>
|
|
10749
|
-
* <p>
|
|
10750
|
-
* <code>availability-zone</code> - The Availability Zone for the subnet. You can also use
|
|
10751
|
-
* <code>availabilityZone</code> as the filter name.</p>
|
|
10752
|
-
* </li>
|
|
10753
|
-
* <li>
|
|
10754
|
-
* <p>
|
|
10755
|
-
* <code>availability-zone-id</code> - The ID of the Availability Zone for the subnet.
|
|
10756
|
-
* You can also use <code>availabilityZoneId</code> as the filter name.</p>
|
|
10757
|
-
* </li>
|
|
10758
|
-
* <li>
|
|
10759
|
-
* <p>
|
|
10760
|
-
* <code>available-ip-address-count</code> - The number of IPv4 addresses in the
|
|
10761
|
-
* subnet that are available.</p>
|
|
10762
|
-
* </li>
|
|
10763
|
-
* <li>
|
|
10764
|
-
* <p>
|
|
10765
|
-
* <code>cidr-block</code> - The IPv4 CIDR block of the subnet. The CIDR block you
|
|
10766
|
-
* specify must exactly match the subnet's CIDR block for information to be
|
|
10767
|
-
* returned for the subnet. You can also use <code>cidr</code> or
|
|
10768
|
-
* <code>cidrBlock</code> as the filter names.</p>
|
|
10769
|
-
* </li>
|
|
10770
|
-
* <li>
|
|
10771
|
-
* <p>
|
|
10772
|
-
* <code>default-for-az</code> - Indicates whether this is the default subnet for the
|
|
10773
|
-
* Availability Zone. You can also use <code>defaultForAz</code> as the filter name.</p>
|
|
10774
|
-
* </li>
|
|
10775
|
-
* <li>
|
|
10776
|
-
* <p>
|
|
10777
|
-
* <code>ipv6-cidr-block-association.ipv6-cidr-block</code> - An IPv6 CIDR
|
|
10778
|
-
* block associated with the subnet.</p>
|
|
10779
|
-
* </li>
|
|
10780
|
-
* <li>
|
|
10781
|
-
* <p>
|
|
10782
|
-
* <code>ipv6-cidr-block-association.association-id</code> - An association ID
|
|
10783
|
-
* for an IPv6 CIDR block associated with the subnet.</p>
|
|
10784
|
-
* </li>
|
|
10785
|
-
* <li>
|
|
10786
|
-
* <p>
|
|
10787
|
-
* <code>ipv6-cidr-block-association.state</code> - The state of an IPv6 CIDR
|
|
10788
|
-
* block associated with the subnet.</p>
|
|
10789
|
-
* </li>
|
|
10790
|
-
* <li>
|
|
10791
|
-
* <p>
|
|
10792
|
-
* <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p>
|
|
10793
|
-
* </li>
|
|
10794
|
-
* <li>
|
|
10795
|
-
* <p>
|
|
10796
|
-
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the subnet.</p>
|
|
10797
|
-
* </li>
|
|
10798
|
-
* <li>
|
|
10799
|
-
* <p>
|
|
10800
|
-
* <code>state</code> - The state of the subnet (<code>pending</code> | <code>available</code>).</p>
|
|
10801
|
-
* </li>
|
|
10802
|
-
* <li>
|
|
10803
|
-
* <p>
|
|
10804
|
-
* <code>subnet-arn</code> - The Amazon Resource Name (ARN) of the subnet.</p>
|
|
10805
|
-
* </li>
|
|
10806
|
-
* <li>
|
|
10807
|
-
* <p>
|
|
10808
|
-
* <code>subnet-id</code> - The ID of the subnet.</p>
|
|
10809
|
-
* </li>
|
|
10810
|
-
* <li>
|
|
10811
|
-
* <p>
|
|
10812
|
-
* <code>tag</code>:<key> - 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.
|
|
10813
|
-
* 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>
|
|
10814
|
-
* </li>
|
|
10815
|
-
* <li>
|
|
10816
|
-
* <p>
|
|
10817
|
-
* <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>
|
|
10818
|
-
* </li>
|
|
10819
|
-
* <li>
|
|
10820
|
-
* <p>
|
|
10821
|
-
* <code>vpc-id</code> - The ID of the VPC for the subnet.</p>
|
|
10822
|
-
* </li>
|
|
10823
|
-
* </ul>
|
|
10824
|
-
*/
|
|
10825
|
-
Filters?: Filter[];
|
|
10826
|
-
/**
|
|
10827
|
-
* <p>One or more subnet IDs.</p>
|
|
10828
|
-
* <p>Default: Describes all your subnets.</p>
|
|
10829
|
-
*/
|
|
10830
|
-
SubnetIds?: string[];
|
|
10831
|
-
/**
|
|
10832
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
10833
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
10834
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
10835
|
-
*/
|
|
10836
|
-
DryRun?: boolean;
|
|
10837
|
-
/**
|
|
10838
|
-
* <p>The token for the next page of results.</p>
|
|
10839
|
-
*/
|
|
10840
|
-
NextToken?: string;
|
|
10841
|
-
/**
|
|
10842
|
-
* <p>The maximum number of results to return with a single call.
|
|
10843
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
10844
|
-
*/
|
|
10845
|
-
MaxResults?: number;
|
|
10846
|
-
}
|
|
10847
|
-
export declare namespace DescribeSubnetsRequest {
|
|
10848
|
-
/**
|
|
10849
|
-
* @internal
|
|
10850
|
-
*/
|
|
10851
|
-
const filterSensitiveLog: (obj: DescribeSubnetsRequest) => any;
|
|
10852
|
-
}
|