@aws-sdk/client-ec2 3.1097.0 → 3.1099.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 +21 -0
- package/dist-cjs/index.js +113 -11
- package/dist-es/EC2.js +8 -0
- package/dist-es/commands/CreateTransitGatewayPolicyTableEntryCommand.js +4 -0
- package/dist-es/commands/DeleteTransitGatewayPolicyTableEntryCommand.js +4 -0
- package/dist-es/commands/ModifyTransitGatewayPolicyTableEntryCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/pagination/GetTransitGatewayPolicyTableEntriesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +77 -10
- package/dist-types/EC2.d.ts +28 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/CreateTransitGatewayPolicyTableEntryCommand.d.ts +100 -0
- package/dist-types/commands/DeleteRouteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteServerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteServerEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteServerPeerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayPolicyTableEntryCommand.d.ts +88 -0
- package/dist-types/commands/DescribeImageUsageReportEntriesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageUsageReportsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -0
- package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetAllowedImagesSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -2
- package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -0
- package/dist-types/commands/ModifyIpamCommand.d.ts +2 -1
- package/dist-types/commands/ModifyIpamPolicyAllocationRulesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamPoolCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayPolicyTableEntryCommand.d.ts +100 -0
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/commands/UnlockSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCapacityManagerMonitoredTagKeysCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_2.d.ts +175 -116
- package/dist-types/models/models_3.d.ts +148 -802
- package/dist-types/models/models_4.d.ts +803 -350
- package/dist-types/models/models_5.d.ts +355 -262
- package/dist-types/models/models_6.d.ts +305 -227
- package/dist-types/models/models_7.d.ts +200 -150
- package/dist-types/models/models_8.d.ts +145 -1
- package/dist-types/pagination/GetTransitGatewayPolicyTableEntriesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/EC2.d.ts +58 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateTransitGatewayPolicyTableEntryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteRouteServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteRouteServerEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteRouteServerPeerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayPolicyTableEntryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeImageUsageReportEntriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImageUsageReportsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAllowedImagesSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyIpamCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ModifyIpamPolicyAllocationRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIpamPoolCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayPolicyTableEntryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCapacityManagerMonitoredTagKeysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_2.d.ts +41 -30
- package/dist-types/ts3.4/models/models_3.d.ts +40 -105
- package/dist-types/ts3.4/models/models_4.d.ts +98 -61
- package/dist-types/ts3.4/models/models_5.d.ts +68 -46
- package/dist-types/ts3.4/models/models_6.d.ts +43 -50
- package/dist-types/ts3.4/models/models_7.d.ts +49 -36
- package/dist-types/ts3.4/models/models_8.d.ts +36 -1
- package/dist-types/ts3.4/pagination/GetTransitGatewayPolicyTableEntriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +8 -8
|
@@ -1,7 +1,120 @@
|
|
|
1
|
-
import type { _InstanceType, AccountAttributeName, AddressAttributeName, AllocationState, AllowsMultipleInstanceTypes, AmdSevSnp,
|
|
1
|
+
import type { _InstanceType, AccountAttributeName, AddressAttributeName, AllocationState, AllowsMultipleInstanceTypes, AmdSevSnp, AsnState, AssociatedNetworkType, AutoPlacement, AvailabilityZoneOptInStatus, AvailabilityZoneState, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, CurrencyCodeValues, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, ElasticGpuState, ElasticGpuStatus, EndpointIpAddressType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetActivityStatus, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetEventType, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetStateCode, FleetType, FpgaImageAttributeName, FpgaImageStateCode, HostMaintenance, HostRecovery, ImageAttributeName, ImageReferenceOptionName, ImageReferenceResourceType, InstanceLifecycle, IpamPoolCidrFailureCode, IpamPoolCidrState, LogDestinationType, MetricType, OutputFormat, PaymentOption, PeriodType, PermissionGroup, PlatformValues, ProductCodeValues, ReportState, ReservationState, Schedule, SnapshotReturnCodes, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StatisticType, TaggableResourceType, TargetCapacityUnitType, TrafficIpAddressType, TrafficType, TransportProtocol, VpnProtocol } from "./enums";
|
|
2
2
|
import type { AccountAttribute, AccountVpcEncryptionControl, ActiveInstance, Address, AddressAttribute, AddressTransfer, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationCancellationQuote, CarrierGateway, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, FleetCapacityReservation, IamInstanceProfileAssociation, Tag, TransitGatewayClientVpnAttachment, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
3
|
-
import type { AttributeValue, BlockDeviceMapping, DhcpOptions, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, GroupIdentifier, LaunchTemplateAndOverridesResponse,
|
|
4
|
-
import type { SecondaryNetwork, SecondarySubnet, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
|
|
3
|
+
import type { AttributeValue, BlockDeviceMapping, DhcpOptions, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, GroupIdentifier, LaunchTemplateAndOverridesResponse, RouteServer, RouteServerEndpoint, VpcEncryptionControl } from "./models_1";
|
|
4
|
+
import type { RouteServerPeer, SecondaryNetwork, SecondarySubnet, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface DeleteRouteRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The ID of the prefix list for the route.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
DestinationPrefixListId?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
16
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
17
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
DryRun?: boolean | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The ID of the route table.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
RouteTableId: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
DestinationCidrBlock?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* <p>The IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
DestinationIpv6CidrBlock?: string | undefined;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export interface DeleteRouteServerRequest {
|
|
41
|
+
/**
|
|
42
|
+
* <p>The ID of the route server to delete.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
RouteServerId: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>A check for whether you have the required permissions for the action without actually making the request
|
|
48
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
49
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
DryRun?: boolean | undefined;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export interface DeleteRouteServerResult {
|
|
58
|
+
/**
|
|
59
|
+
* <p>Information about the deleted route server.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
RouteServer?: RouteServer | undefined;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export interface DeleteRouteServerEndpointRequest {
|
|
68
|
+
/**
|
|
69
|
+
* <p>The ID of the route server endpoint to delete.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
RouteServerEndpointId: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* <p>A check for whether you have the required permissions for the action without actually making the request
|
|
75
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
76
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
DryRun?: boolean | undefined;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export interface DeleteRouteServerEndpointResult {
|
|
85
|
+
/**
|
|
86
|
+
* <p>Information about the deleted route server endpoint.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
RouteServerEndpoint?: RouteServerEndpoint | undefined;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export interface DeleteRouteServerPeerRequest {
|
|
95
|
+
/**
|
|
96
|
+
* <p>The ID of the route server peer to delete.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
RouteServerPeerId: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>A check for whether you have the required permissions for the action without actually making the request
|
|
102
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
103
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
DryRun?: boolean | undefined;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export interface DeleteRouteServerPeerResult {
|
|
112
|
+
/**
|
|
113
|
+
* <p>Information about the deleted route server peer.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
RouteServerPeer?: RouteServerPeer | undefined;
|
|
117
|
+
}
|
|
5
118
|
/**
|
|
6
119
|
* @public
|
|
7
120
|
*/
|
|
@@ -587,6 +700,38 @@ export interface DeleteTransitGatewayPolicyTableResult {
|
|
|
587
700
|
*/
|
|
588
701
|
TransitGatewayPolicyTable?: TransitGatewayPolicyTable | undefined;
|
|
589
702
|
}
|
|
703
|
+
/**
|
|
704
|
+
* @public
|
|
705
|
+
*/
|
|
706
|
+
export interface DeleteTransitGatewayPolicyTableEntryRequest {
|
|
707
|
+
/**
|
|
708
|
+
* <p>The ID of the transit gateway policy table.</p>
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
TransitGatewayPolicyTableId: string | undefined;
|
|
712
|
+
/**
|
|
713
|
+
* <p>The rule number of the policy table entry to delete.</p>
|
|
714
|
+
* @public
|
|
715
|
+
*/
|
|
716
|
+
PolicyRuleNumber: string | undefined;
|
|
717
|
+
/**
|
|
718
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
719
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
720
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
721
|
+
* @public
|
|
722
|
+
*/
|
|
723
|
+
DryRun?: boolean | undefined;
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* @public
|
|
727
|
+
*/
|
|
728
|
+
export interface DeleteTransitGatewayPolicyTableEntryResult {
|
|
729
|
+
/**
|
|
730
|
+
* <p>Describes a transit gateway policy table entry</p>
|
|
731
|
+
* @public
|
|
732
|
+
*/
|
|
733
|
+
TransitGatewayPolicyTableEntry?: TransitGatewayPolicyTableEntry | undefined;
|
|
734
|
+
}
|
|
590
735
|
/**
|
|
591
736
|
* @public
|
|
592
737
|
*/
|
|
@@ -8726,802 +8871,3 @@ export interface DescribeImageReferencesResult {
|
|
|
8726
8871
|
*/
|
|
8727
8872
|
ImageReferences?: ImageReference[] | undefined;
|
|
8728
8873
|
}
|
|
8729
|
-
/**
|
|
8730
|
-
* @public
|
|
8731
|
-
*/
|
|
8732
|
-
export interface DescribeImagesRequest {
|
|
8733
|
-
/**
|
|
8734
|
-
* <p>Scopes the images by users with explicit launch permissions. Specify an Amazon Web Services account ID, <code>self</code> (the sender of the request), or <code>all</code>
|
|
8735
|
-
* (public AMIs).</p>
|
|
8736
|
-
* <ul>
|
|
8737
|
-
* <li>
|
|
8738
|
-
* <p>If you specify an Amazon Web Services account ID that is not your own, only AMIs shared
|
|
8739
|
-
* with that specific Amazon Web Services account ID are returned. However, AMIs that are
|
|
8740
|
-
* shared with the account’s organization or organizational unit (OU) are not
|
|
8741
|
-
* returned.</p>
|
|
8742
|
-
* </li>
|
|
8743
|
-
* <li>
|
|
8744
|
-
* <p>If you specify <code>self</code> or your own Amazon Web Services account ID, AMIs
|
|
8745
|
-
* shared with your account are returned. In addition, AMIs that are shared with the
|
|
8746
|
-
* organization or OU of which you are member are also returned. </p>
|
|
8747
|
-
* </li>
|
|
8748
|
-
* <li>
|
|
8749
|
-
* <p>If you specify <code>all</code>, all public AMIs are returned.</p>
|
|
8750
|
-
* </li>
|
|
8751
|
-
* </ul>
|
|
8752
|
-
* @public
|
|
8753
|
-
*/
|
|
8754
|
-
ExecutableUsers?: string[] | undefined;
|
|
8755
|
-
/**
|
|
8756
|
-
* <p>The image IDs.</p>
|
|
8757
|
-
* <p>Default: Describes all images available to you.</p>
|
|
8758
|
-
* @public
|
|
8759
|
-
*/
|
|
8760
|
-
ImageIds?: string[] | undefined;
|
|
8761
|
-
/**
|
|
8762
|
-
* <p>Scopes the results to images with the specified owners. You can specify a combination of
|
|
8763
|
-
* Amazon Web Services account IDs, <code>self</code>, <code>amazon</code>,
|
|
8764
|
-
* <code>aws-backup-vault</code>, and <code>aws-marketplace</code>. If you omit this parameter,
|
|
8765
|
-
* the results include all images for which you have launch permissions, regardless of
|
|
8766
|
-
* ownership.</p>
|
|
8767
|
-
* @public
|
|
8768
|
-
*/
|
|
8769
|
-
Owners?: string[] | undefined;
|
|
8770
|
-
/**
|
|
8771
|
-
* <p>Specifies whether to include deprecated AMIs.</p>
|
|
8772
|
-
* <p>Default: No deprecated AMIs are included in the response.</p>
|
|
8773
|
-
* <note>
|
|
8774
|
-
* <p>If you are the AMI owner, all deprecated AMIs appear in the response regardless of what
|
|
8775
|
-
* you specify for this parameter.</p>
|
|
8776
|
-
* </note>
|
|
8777
|
-
* @public
|
|
8778
|
-
*/
|
|
8779
|
-
IncludeDeprecated?: boolean | undefined;
|
|
8780
|
-
/**
|
|
8781
|
-
* <p>Specifies whether to include disabled AMIs.</p>
|
|
8782
|
-
* <p>Default: No disabled AMIs are included in the response.</p>
|
|
8783
|
-
* @public
|
|
8784
|
-
*/
|
|
8785
|
-
IncludeDisabled?: boolean | undefined;
|
|
8786
|
-
/**
|
|
8787
|
-
* <p>The maximum number of items to return for this request.
|
|
8788
|
-
* To get the next page of items, make another request with the token returned in the output.
|
|
8789
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
8790
|
-
* @public
|
|
8791
|
-
*/
|
|
8792
|
-
MaxResults?: number | undefined;
|
|
8793
|
-
/**
|
|
8794
|
-
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
8795
|
-
* @public
|
|
8796
|
-
*/
|
|
8797
|
-
NextToken?: string | undefined;
|
|
8798
|
-
/**
|
|
8799
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8800
|
-
* and provides an error response. If you have the required permissions, the error response is
|
|
8801
|
-
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8802
|
-
* @public
|
|
8803
|
-
*/
|
|
8804
|
-
DryRun?: boolean | undefined;
|
|
8805
|
-
/**
|
|
8806
|
-
* <p>The filters.</p>
|
|
8807
|
-
* <ul>
|
|
8808
|
-
* <li>
|
|
8809
|
-
* <p>
|
|
8810
|
-
* <code>architecture</code> - The image architecture (<code>i386</code> |
|
|
8811
|
-
* <code>x86_64</code> | <code>arm64</code> | <code>x86_64_mac</code> |
|
|
8812
|
-
* <code>arm64_mac</code>).</p>
|
|
8813
|
-
* </li>
|
|
8814
|
-
* <li>
|
|
8815
|
-
* <p>
|
|
8816
|
-
* <code>block-device-mapping.delete-on-termination</code> - A Boolean value that indicates
|
|
8817
|
-
* whether the Amazon EBS volume is deleted on instance termination.</p>
|
|
8818
|
-
* </li>
|
|
8819
|
-
* <li>
|
|
8820
|
-
* <p>
|
|
8821
|
-
* <code>block-device-mapping.device-name</code> - The device name specified in the block
|
|
8822
|
-
* device mapping (for example, <code>/dev/sdh</code> or <code>xvdh</code>).</p>
|
|
8823
|
-
* </li>
|
|
8824
|
-
* <li>
|
|
8825
|
-
* <p>
|
|
8826
|
-
* <code>block-device-mapping.snapshot-id</code> - The ID of the snapshot used for the Amazon EBS
|
|
8827
|
-
* volume.</p>
|
|
8828
|
-
* </li>
|
|
8829
|
-
* <li>
|
|
8830
|
-
* <p>
|
|
8831
|
-
* <code>block-device-mapping.volume-size</code> - The volume size of the Amazon EBS volume, in
|
|
8832
|
-
* GiB.</p>
|
|
8833
|
-
* </li>
|
|
8834
|
-
* <li>
|
|
8835
|
-
* <p>
|
|
8836
|
-
* <code>block-device-mapping.volume-type</code> - The volume type of the Amazon EBS volume
|
|
8837
|
-
* (<code>io1</code> | <code>io2</code> | <code>gp2</code> | <code>gp3</code> | <code>sc1
|
|
8838
|
-
* </code>| <code>st1</code> | <code>standard</code>).</p>
|
|
8839
|
-
* </li>
|
|
8840
|
-
* <li>
|
|
8841
|
-
* <p>
|
|
8842
|
-
* <code>block-device-mapping.encrypted</code> - A Boolean that indicates whether the Amazon EBS
|
|
8843
|
-
* volume is encrypted.</p>
|
|
8844
|
-
* </li>
|
|
8845
|
-
* <li>
|
|
8846
|
-
* <p>
|
|
8847
|
-
* <code>creation-date</code> - The time when the image was created, in the ISO 8601
|
|
8848
|
-
* format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,
|
|
8849
|
-
* <code>2021-09-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for
|
|
8850
|
-
* example, <code>2021-09-29T*</code>, which matches an entire day.</p>
|
|
8851
|
-
* </li>
|
|
8852
|
-
* <li>
|
|
8853
|
-
* <p>
|
|
8854
|
-
* <code>description</code> - The description of the image (provided during image
|
|
8855
|
-
* creation).</p>
|
|
8856
|
-
* </li>
|
|
8857
|
-
* <li>
|
|
8858
|
-
* <p>
|
|
8859
|
-
* <code>ena-support</code> - A Boolean that indicates whether enhanced networking with
|
|
8860
|
-
* ENA is enabled.</p>
|
|
8861
|
-
* </li>
|
|
8862
|
-
* <li>
|
|
8863
|
-
* <p>
|
|
8864
|
-
* <code>free-tier-eligible</code> - A Boolean that indicates whether this image can be
|
|
8865
|
-
* used under the Amazon Web Services Free Tier (<code>true</code> | <code>false</code>).</p>
|
|
8866
|
-
* </li>
|
|
8867
|
-
* <li>
|
|
8868
|
-
* <p>
|
|
8869
|
-
* <code>hypervisor</code> - The hypervisor type (<code>ovm</code> |
|
|
8870
|
-
* <code>xen</code>).</p>
|
|
8871
|
-
* </li>
|
|
8872
|
-
* <li>
|
|
8873
|
-
* <p>
|
|
8874
|
-
* <code>image-allowed</code> - A Boolean that indicates whether the image meets the
|
|
8875
|
-
* criteria specified for Allowed AMIs.</p>
|
|
8876
|
-
* </li>
|
|
8877
|
-
* <li>
|
|
8878
|
-
* <p>
|
|
8879
|
-
* <code>image-id</code> - The ID of the image.</p>
|
|
8880
|
-
* </li>
|
|
8881
|
-
* <li>
|
|
8882
|
-
* <p>
|
|
8883
|
-
* <code>image-watermark.source-image-creation-time</code> - The creation date of the
|
|
8884
|
-
* source AMI, in the ISO 8601 format in the UTC time zone
|
|
8885
|
-
* (<code>
|
|
8886
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>.<i>ssssss</i>+<i>HH</i>:<i>MM</i>
|
|
8887
|
-
* </code>).
|
|
8888
|
-
* You can use a wildcard (<code>*</code>), for example, <code>2021-09-29T*</code>, which
|
|
8889
|
-
* matches an entire day.</p>
|
|
8890
|
-
* </li>
|
|
8891
|
-
* <li>
|
|
8892
|
-
* <p>
|
|
8893
|
-
* <code>image-watermark.source-image-id</code> - The ID of the AMI to which the
|
|
8894
|
-
* watermark was originally attached.</p>
|
|
8895
|
-
* </li>
|
|
8896
|
-
* <li>
|
|
8897
|
-
* <p>
|
|
8898
|
-
* <code>image-watermark.source-image-region</code> - The Region where the watermark
|
|
8899
|
-
* was originally attached.</p>
|
|
8900
|
-
* </li>
|
|
8901
|
-
* <li>
|
|
8902
|
-
* <p>
|
|
8903
|
-
* <code>image-watermark.watermark-creation-time</code> - The date and time the
|
|
8904
|
-
* watermark was attached to the AMI, in the ISO 8601 format in the UTC time zone
|
|
8905
|
-
* (<code>
|
|
8906
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>.<i>ssssss</i>+<i>HH</i>:<i>MM</i>
|
|
8907
|
-
* </code>).
|
|
8908
|
-
* You can use a wildcard (<code>*</code>), for example, <code>2021-09-29T*</code>, which
|
|
8909
|
-
* matches an entire day.</p>
|
|
8910
|
-
* </li>
|
|
8911
|
-
* <li>
|
|
8912
|
-
* <p>
|
|
8913
|
-
* <code>image-watermark.watermark-key</code> - The watermark identifier, in
|
|
8914
|
-
* <code>accountId:watermarkName</code> format (for example,
|
|
8915
|
-
* <code>123456789012:approvedAmi</code>).</p>
|
|
8916
|
-
* </li>
|
|
8917
|
-
* <li>
|
|
8918
|
-
* <p>
|
|
8919
|
-
* <code>image-type</code> - The image type (<code>machine</code> | <code>kernel</code> |
|
|
8920
|
-
* <code>ramdisk</code>).</p>
|
|
8921
|
-
* </li>
|
|
8922
|
-
* <li>
|
|
8923
|
-
* <p>
|
|
8924
|
-
* <code>is-public</code> - A Boolean that indicates whether the image is public.</p>
|
|
8925
|
-
* </li>
|
|
8926
|
-
* <li>
|
|
8927
|
-
* <p>
|
|
8928
|
-
* <code>kernel-id</code> - The kernel ID.</p>
|
|
8929
|
-
* </li>
|
|
8930
|
-
* <li>
|
|
8931
|
-
* <p>
|
|
8932
|
-
* <code>manifest-location</code> - The location of the image manifest.</p>
|
|
8933
|
-
* </li>
|
|
8934
|
-
* <li>
|
|
8935
|
-
* <p>
|
|
8936
|
-
* <code>name</code> - The name of the AMI (provided during image creation).</p>
|
|
8937
|
-
* </li>
|
|
8938
|
-
* <li>
|
|
8939
|
-
* <p>
|
|
8940
|
-
* <code>owner-alias</code> - The owner alias (<code>amazon</code> |
|
|
8941
|
-
* <code>aws-backup-vault</code> | <code>aws-marketplace</code>). The valid aliases are
|
|
8942
|
-
* defined in an Amazon-maintained list. This is not the Amazon Web Services account alias
|
|
8943
|
-
* that can be set using the IAM console. We recommend that you use the <b>Owner</b> request parameter instead of this filter.</p>
|
|
8944
|
-
* </li>
|
|
8945
|
-
* <li>
|
|
8946
|
-
* <p>
|
|
8947
|
-
* <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend
|
|
8948
|
-
* that you use the <b>Owner</b> request parameter instead of this
|
|
8949
|
-
* filter.</p>
|
|
8950
|
-
* </li>
|
|
8951
|
-
* <li>
|
|
8952
|
-
* <p>
|
|
8953
|
-
* <code>platform</code> - The platform. The only supported value is
|
|
8954
|
-
* <code>windows</code>.</p>
|
|
8955
|
-
* </li>
|
|
8956
|
-
* <li>
|
|
8957
|
-
* <p>
|
|
8958
|
-
* <code>product-code</code> - The product code.</p>
|
|
8959
|
-
* </li>
|
|
8960
|
-
* <li>
|
|
8961
|
-
* <p>
|
|
8962
|
-
* <code>product-code.type</code> - The type of the product code
|
|
8963
|
-
* (<code>marketplace</code>).</p>
|
|
8964
|
-
* </li>
|
|
8965
|
-
* <li>
|
|
8966
|
-
* <p>
|
|
8967
|
-
* <code>public-ssm-parameter-name</code> - The name of a public Systems Manager
|
|
8968
|
-
* parameter associated with the AMI. The parameter must be in a trusted Amazon Web Services namespace
|
|
8969
|
-
* under <code>aws/service/</code>. Returns all AMIs that have ever been associated with
|
|
8970
|
-
* the parameter, including previous versions.</p>
|
|
8971
|
-
* </li>
|
|
8972
|
-
* <li>
|
|
8973
|
-
* <p>
|
|
8974
|
-
* <code>ramdisk-id</code> - The RAM disk ID.</p>
|
|
8975
|
-
* </li>
|
|
8976
|
-
* <li>
|
|
8977
|
-
* <p>
|
|
8978
|
-
* <code>root-device-name</code> - The device name of the root device volume (for example,
|
|
8979
|
-
* <code>/dev/sda1</code>).</p>
|
|
8980
|
-
* </li>
|
|
8981
|
-
* <li>
|
|
8982
|
-
* <p>
|
|
8983
|
-
* <code>root-device-type</code> - The type of the root device volume (<code>ebs</code> |
|
|
8984
|
-
* <code>instance-store</code>).</p>
|
|
8985
|
-
* </li>
|
|
8986
|
-
* <li>
|
|
8987
|
-
* <p>
|
|
8988
|
-
* <code>source-image-id</code> - The ID of the source AMI from which the AMI was
|
|
8989
|
-
* created.</p>
|
|
8990
|
-
* </li>
|
|
8991
|
-
* <li>
|
|
8992
|
-
* <p>
|
|
8993
|
-
* <code>source-image-region</code> - The Region of the source AMI.</p>
|
|
8994
|
-
* </li>
|
|
8995
|
-
* <li>
|
|
8996
|
-
* <p>
|
|
8997
|
-
* <code>source-instance-id</code> - The ID of the instance that the AMI was created from
|
|
8998
|
-
* if the AMI was created using CreateImage. This filter is applicable only if the AMI was
|
|
8999
|
-
* created using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
|
|
9000
|
-
* </li>
|
|
9001
|
-
* <li>
|
|
9002
|
-
* <p>
|
|
9003
|
-
* <code>state</code> - The state of the image (<code>available</code> | <code>pending</code>
|
|
9004
|
-
* | <code>failed</code>).</p>
|
|
9005
|
-
* </li>
|
|
9006
|
-
* <li>
|
|
9007
|
-
* <p>
|
|
9008
|
-
* <code>state-reason-code</code> - The reason code for the state change.</p>
|
|
9009
|
-
* </li>
|
|
9010
|
-
* <li>
|
|
9011
|
-
* <p>
|
|
9012
|
-
* <code>state-reason-message</code> - The message for the state change.</p>
|
|
9013
|
-
* </li>
|
|
9014
|
-
* <li>
|
|
9015
|
-
* <p>
|
|
9016
|
-
* <code>sriov-net-support</code> - A value of <code>simple</code> indicates that
|
|
9017
|
-
* enhanced networking with the Intel 82599 VF interface is enabled.</p>
|
|
9018
|
-
* </li>
|
|
9019
|
-
* <li>
|
|
9020
|
-
* <p>
|
|
9021
|
-
* <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.
|
|
9022
|
-
* 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>
|
|
9023
|
-
* </li>
|
|
9024
|
-
* <li>
|
|
9025
|
-
* <p>
|
|
9026
|
-
* <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>
|
|
9027
|
-
* </li>
|
|
9028
|
-
* <li>
|
|
9029
|
-
* <p>
|
|
9030
|
-
* <code>virtualization-type</code> - The virtualization type (<code>paravirtual</code> |
|
|
9031
|
-
* <code>hvm</code>).</p>
|
|
9032
|
-
* </li>
|
|
9033
|
-
* </ul>
|
|
9034
|
-
* @public
|
|
9035
|
-
*/
|
|
9036
|
-
Filters?: Filter[] | undefined;
|
|
9037
|
-
}
|
|
9038
|
-
/**
|
|
9039
|
-
* <p>Describes a watermark attached to an AMI.</p>
|
|
9040
|
-
* @public
|
|
9041
|
-
*/
|
|
9042
|
-
export interface ImageWatermark {
|
|
9043
|
-
/**
|
|
9044
|
-
* <p>The watermark identifier, in <code>accountId:watermarkName</code> format (for example,
|
|
9045
|
-
* <code>123456789012:approvedAmi</code>). The <code>accountId</code> portion is the Amazon Web Services account
|
|
9046
|
-
* ID of the watermark creator. The <code>watermarkName</code> portion is customer-provided.</p>
|
|
9047
|
-
* @public
|
|
9048
|
-
*/
|
|
9049
|
-
WatermarkKey?: string | undefined;
|
|
9050
|
-
/**
|
|
9051
|
-
* <p>The Region where the watermark was originally attached.</p>
|
|
9052
|
-
* @public
|
|
9053
|
-
*/
|
|
9054
|
-
SourceImageRegion?: string | undefined;
|
|
9055
|
-
/**
|
|
9056
|
-
* <p>The ID of the AMI to which the watermark was originally attached.</p>
|
|
9057
|
-
* @public
|
|
9058
|
-
*/
|
|
9059
|
-
SourceImageId?: string | undefined;
|
|
9060
|
-
/**
|
|
9061
|
-
* <p>The creation date of the source AMI, in the
|
|
9062
|
-
* following format:
|
|
9063
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>.<i>ssssss</i>+<i>HH</i>:<i>MM</i>.</p>
|
|
9064
|
-
* @public
|
|
9065
|
-
*/
|
|
9066
|
-
SourceImageCreationTime?: Date | undefined;
|
|
9067
|
-
/**
|
|
9068
|
-
* <p>The date and time the watermark was attached to the AMI, in the following format:
|
|
9069
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>.<i>ssssss</i>+<i>HH</i>:<i>MM</i>.</p>
|
|
9070
|
-
* @public
|
|
9071
|
-
*/
|
|
9072
|
-
WatermarkCreationTime?: Date | undefined;
|
|
9073
|
-
}
|
|
9074
|
-
/**
|
|
9075
|
-
* <p>Describes an image.</p>
|
|
9076
|
-
* @public
|
|
9077
|
-
*/
|
|
9078
|
-
export interface Image {
|
|
9079
|
-
/**
|
|
9080
|
-
* <p>The platform details associated with the billing code of the AMI. For more information,
|
|
9081
|
-
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understand
|
|
9082
|
-
* AMI billing information</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
9083
|
-
* @public
|
|
9084
|
-
*/
|
|
9085
|
-
PlatformDetails?: string | undefined;
|
|
9086
|
-
/**
|
|
9087
|
-
* <p>The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
|
|
9088
|
-
* <code>usageOperation</code> corresponds to the <a href="https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation">lineitem/Operation</a> column on your Amazon Web Services Cost and Usage Report and in the <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html">Amazon Web Services Price
|
|
9089
|
-
* List API</a>. You can view these fields on the <b>Instances</b> or <b>AMIs</b> pages in the Amazon EC2 console,
|
|
9090
|
-
* or in the responses that are returned by the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a> command in
|
|
9091
|
-
* the Amazon EC2 API, or the <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html">describe-images</a> command in the
|
|
9092
|
-
* CLI.</p>
|
|
9093
|
-
* @public
|
|
9094
|
-
*/
|
|
9095
|
-
UsageOperation?: string | undefined;
|
|
9096
|
-
/**
|
|
9097
|
-
* <p>Any block device mapping entries.</p>
|
|
9098
|
-
* @public
|
|
9099
|
-
*/
|
|
9100
|
-
BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
|
|
9101
|
-
/**
|
|
9102
|
-
* <p>The description of the AMI that was provided during image creation.</p>
|
|
9103
|
-
* @public
|
|
9104
|
-
*/
|
|
9105
|
-
Description?: string | undefined;
|
|
9106
|
-
/**
|
|
9107
|
-
* <p>Specifies whether enhanced networking with ENA is enabled.</p>
|
|
9108
|
-
* @public
|
|
9109
|
-
*/
|
|
9110
|
-
EnaSupport?: boolean | undefined;
|
|
9111
|
-
/**
|
|
9112
|
-
* <p>The hypervisor type of the image. Only <code>xen</code> is supported. <code>ovm</code> is
|
|
9113
|
-
* not supported.</p>
|
|
9114
|
-
* @public
|
|
9115
|
-
*/
|
|
9116
|
-
Hypervisor?: HypervisorType | undefined;
|
|
9117
|
-
/**
|
|
9118
|
-
* <p>The owner alias (<code>amazon</code> | <code>aws-backup-vault</code> |
|
|
9119
|
-
* <code>aws-marketplace</code>).</p>
|
|
9120
|
-
* @public
|
|
9121
|
-
*/
|
|
9122
|
-
ImageOwnerAlias?: string | undefined;
|
|
9123
|
-
/**
|
|
9124
|
-
* <p>The name of the AMI that was provided during image creation.</p>
|
|
9125
|
-
* @public
|
|
9126
|
-
*/
|
|
9127
|
-
Name?: string | undefined;
|
|
9128
|
-
/**
|
|
9129
|
-
* <p>The device name of the root device volume (for example, <code>/dev/sda1</code>).</p>
|
|
9130
|
-
* @public
|
|
9131
|
-
*/
|
|
9132
|
-
RootDeviceName?: string | undefined;
|
|
9133
|
-
/**
|
|
9134
|
-
* <p>The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance
|
|
9135
|
-
* store volume.</p>
|
|
9136
|
-
* @public
|
|
9137
|
-
*/
|
|
9138
|
-
RootDeviceType?: DeviceType | undefined;
|
|
9139
|
-
/**
|
|
9140
|
-
* <p>Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is
|
|
9141
|
-
* enabled.</p>
|
|
9142
|
-
* @public
|
|
9143
|
-
*/
|
|
9144
|
-
SriovNetSupport?: string | undefined;
|
|
9145
|
-
/**
|
|
9146
|
-
* <p>The reason for the state change.</p>
|
|
9147
|
-
* @public
|
|
9148
|
-
*/
|
|
9149
|
-
StateReason?: StateReason | undefined;
|
|
9150
|
-
/**
|
|
9151
|
-
* <p>Any tags assigned to the image.</p>
|
|
9152
|
-
* @public
|
|
9153
|
-
*/
|
|
9154
|
-
Tags?: Tag[] | undefined;
|
|
9155
|
-
/**
|
|
9156
|
-
* <p>The type of virtualization of the AMI.</p>
|
|
9157
|
-
* @public
|
|
9158
|
-
*/
|
|
9159
|
-
VirtualizationType?: VirtualizationType | undefined;
|
|
9160
|
-
/**
|
|
9161
|
-
* <p>The boot mode of the image. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Instance launch behavior with Amazon EC2
|
|
9162
|
-
* boot modes</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
9163
|
-
* @public
|
|
9164
|
-
*/
|
|
9165
|
-
BootMode?: BootModeValues | undefined;
|
|
9166
|
-
/**
|
|
9167
|
-
* <p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>. For more
|
|
9168
|
-
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
9169
|
-
* @public
|
|
9170
|
-
*/
|
|
9171
|
-
TpmSupport?: TpmSupportValues | undefined;
|
|
9172
|
-
/**
|
|
9173
|
-
* <p>The date and time to deprecate the AMI, in UTC, in the following format:
|
|
9174
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.
|
|
9175
|
-
* If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.</p>
|
|
9176
|
-
* @public
|
|
9177
|
-
*/
|
|
9178
|
-
DeprecationTime?: string | undefined;
|
|
9179
|
-
/**
|
|
9180
|
-
* <p>If <code>v2.0</code>, it indicates that IMDSv2 is specified in the AMI. Instances launched
|
|
9181
|
-
* from this AMI will have <code>HttpTokens</code> automatically set to <code>required</code> so
|
|
9182
|
-
* that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.
|
|
9183
|
-
* In addition, <code>HttpPutResponseHopLimit</code> is set to <code>2</code>. For more
|
|
9184
|
-
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
9185
|
-
* @public
|
|
9186
|
-
*/
|
|
9187
|
-
ImdsSupport?: ImdsSupportValues | undefined;
|
|
9188
|
-
/**
|
|
9189
|
-
* <p>The ID of the instance that the AMI was created from if the AMI was created using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>. This field only appears if the AMI was created using
|
|
9190
|
-
* CreateImage.</p>
|
|
9191
|
-
* @public
|
|
9192
|
-
*/
|
|
9193
|
-
SourceInstanceId?: string | undefined;
|
|
9194
|
-
/**
|
|
9195
|
-
* <p>Indicates whether deregistration protection is enabled for the AMI.</p>
|
|
9196
|
-
* @public
|
|
9197
|
-
*/
|
|
9198
|
-
DeregistrationProtection?: string | undefined;
|
|
9199
|
-
/**
|
|
9200
|
-
* <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
|
|
9201
|
-
* format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
|
|
9202
|
-
* to launch an instance, there is a 24-hour delay before that usage is reported.</p>
|
|
9203
|
-
* <note>
|
|
9204
|
-
* <p>
|
|
9205
|
-
* <code>lastLaunchedTime</code> data is available starting April 2017.</p>
|
|
9206
|
-
* </note>
|
|
9207
|
-
* @public
|
|
9208
|
-
*/
|
|
9209
|
-
LastLaunchedTime?: string | undefined;
|
|
9210
|
-
/**
|
|
9211
|
-
* <p>If <code>true</code>, the AMI satisfies the criteria for Allowed AMIs and can be
|
|
9212
|
-
* discovered and used in the account. If <code>false</code> and Allowed AMIs is set to
|
|
9213
|
-
* <code>enabled</code>, the AMI can't be discovered or used in the account. If
|
|
9214
|
-
* <code>false</code> and Allowed AMIs is set to <code>audit-mode</code>, the AMI can be
|
|
9215
|
-
* discovered and used in the account.</p>
|
|
9216
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html">Control the discovery and use of AMIs in
|
|
9217
|
-
* Amazon EC2 with Allowed AMIs</a> in
|
|
9218
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
9219
|
-
* @public
|
|
9220
|
-
*/
|
|
9221
|
-
ImageAllowed?: boolean | undefined;
|
|
9222
|
-
/**
|
|
9223
|
-
* <p>The ID of the source AMI from which the AMI was created.</p>
|
|
9224
|
-
* @public
|
|
9225
|
-
*/
|
|
9226
|
-
SourceImageId?: string | undefined;
|
|
9227
|
-
/**
|
|
9228
|
-
* <p>The Region of the source AMI.</p>
|
|
9229
|
-
* @public
|
|
9230
|
-
*/
|
|
9231
|
-
SourceImageRegion?: string | undefined;
|
|
9232
|
-
/**
|
|
9233
|
-
* <p>Indicates whether the image is eligible for Amazon Web Services Free Tier.</p>
|
|
9234
|
-
* <ul>
|
|
9235
|
-
* <li>
|
|
9236
|
-
* <p>If <code>true</code>, the AMI is eligible for Free Tier and can be used to launch
|
|
9237
|
-
* instances under the Free Tier limits.</p>
|
|
9238
|
-
* </li>
|
|
9239
|
-
* <li>
|
|
9240
|
-
* <p>If <code>false</code>, the AMI is not eligible for Free Tier.</p>
|
|
9241
|
-
* </li>
|
|
9242
|
-
* </ul>
|
|
9243
|
-
* @public
|
|
9244
|
-
*/
|
|
9245
|
-
FreeTierEligible?: boolean | undefined;
|
|
9246
|
-
/**
|
|
9247
|
-
* <p>The name of the public Systems Manager parameter that resolves to this AMI, under the
|
|
9248
|
-
* <code>aws/service/</code> namespace.</p>
|
|
9249
|
-
* @public
|
|
9250
|
-
*/
|
|
9251
|
-
PublicSsmParameterName?: string | undefined;
|
|
9252
|
-
/**
|
|
9253
|
-
* <p>The watermarks attached to the AMI.</p>
|
|
9254
|
-
* @public
|
|
9255
|
-
*/
|
|
9256
|
-
ImageWatermarks?: ImageWatermark[] | undefined;
|
|
9257
|
-
/**
|
|
9258
|
-
* <p>The ID of the AMI.</p>
|
|
9259
|
-
* @public
|
|
9260
|
-
*/
|
|
9261
|
-
ImageId?: string | undefined;
|
|
9262
|
-
/**
|
|
9263
|
-
* <p>The location of the AMI.</p>
|
|
9264
|
-
* @public
|
|
9265
|
-
*/
|
|
9266
|
-
ImageLocation?: string | undefined;
|
|
9267
|
-
/**
|
|
9268
|
-
* <p>The current state of the AMI. If the state is <code>available</code>, the image is
|
|
9269
|
-
* successfully registered and can be used to launch an instance.</p>
|
|
9270
|
-
* @public
|
|
9271
|
-
*/
|
|
9272
|
-
State?: ImageState | undefined;
|
|
9273
|
-
/**
|
|
9274
|
-
* <p>The ID of the Amazon Web Services account that owns the image.</p>
|
|
9275
|
-
* @public
|
|
9276
|
-
*/
|
|
9277
|
-
OwnerId?: string | undefined;
|
|
9278
|
-
/**
|
|
9279
|
-
* <p>The date and time the image was created.</p>
|
|
9280
|
-
* @public
|
|
9281
|
-
*/
|
|
9282
|
-
CreationDate?: string | undefined;
|
|
9283
|
-
/**
|
|
9284
|
-
* <p>Indicates whether the image has public launch permissions. The value is <code>true</code>
|
|
9285
|
-
* if this image has public launch permissions or <code>false</code> if it has only implicit and
|
|
9286
|
-
* explicit launch permissions.</p>
|
|
9287
|
-
* @public
|
|
9288
|
-
*/
|
|
9289
|
-
Public?: boolean | undefined;
|
|
9290
|
-
/**
|
|
9291
|
-
* <p>Any product codes associated with the AMI.</p>
|
|
9292
|
-
* @public
|
|
9293
|
-
*/
|
|
9294
|
-
ProductCodes?: ProductCode[] | undefined;
|
|
9295
|
-
/**
|
|
9296
|
-
* <p>The architecture of the image.</p>
|
|
9297
|
-
* @public
|
|
9298
|
-
*/
|
|
9299
|
-
Architecture?: ArchitectureValues | undefined;
|
|
9300
|
-
/**
|
|
9301
|
-
* <p>The type of image.</p>
|
|
9302
|
-
* @public
|
|
9303
|
-
*/
|
|
9304
|
-
ImageType?: ImageTypeValues | undefined;
|
|
9305
|
-
/**
|
|
9306
|
-
* <p>The kernel associated with the image, if any. Only applicable for machine images.</p>
|
|
9307
|
-
* @public
|
|
9308
|
-
*/
|
|
9309
|
-
KernelId?: string | undefined;
|
|
9310
|
-
/**
|
|
9311
|
-
* <p>The RAM disk associated with the image, if any. Only applicable for machine images.</p>
|
|
9312
|
-
* @public
|
|
9313
|
-
*/
|
|
9314
|
-
RamdiskId?: string | undefined;
|
|
9315
|
-
/**
|
|
9316
|
-
* <p>This value is set to <code>windows</code> for Windows AMIs; otherwise, it is blank.</p>
|
|
9317
|
-
* @public
|
|
9318
|
-
*/
|
|
9319
|
-
Platform?: PlatformValues | undefined;
|
|
9320
|
-
}
|
|
9321
|
-
/**
|
|
9322
|
-
* @public
|
|
9323
|
-
*/
|
|
9324
|
-
export interface DescribeImagesResult {
|
|
9325
|
-
/**
|
|
9326
|
-
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
|
|
9327
|
-
* are no more items to return.</p>
|
|
9328
|
-
* @public
|
|
9329
|
-
*/
|
|
9330
|
-
NextToken?: string | undefined;
|
|
9331
|
-
/**
|
|
9332
|
-
* <p>Information about the images.</p>
|
|
9333
|
-
* @public
|
|
9334
|
-
*/
|
|
9335
|
-
Images?: Image[] | undefined;
|
|
9336
|
-
}
|
|
9337
|
-
/**
|
|
9338
|
-
* @public
|
|
9339
|
-
*/
|
|
9340
|
-
export interface DescribeImageUsageReportEntriesRequest {
|
|
9341
|
-
/**
|
|
9342
|
-
* <p>The IDs of the images for filtering the report entries. If specified, only report entries
|
|
9343
|
-
* containing these images are returned.</p>
|
|
9344
|
-
* @public
|
|
9345
|
-
*/
|
|
9346
|
-
ImageIds?: string[] | undefined;
|
|
9347
|
-
/**
|
|
9348
|
-
* <p>The IDs of the usage reports.</p>
|
|
9349
|
-
* @public
|
|
9350
|
-
*/
|
|
9351
|
-
ReportIds?: string[] | undefined;
|
|
9352
|
-
/**
|
|
9353
|
-
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
9354
|
-
* @public
|
|
9355
|
-
*/
|
|
9356
|
-
NextToken?: string | undefined;
|
|
9357
|
-
/**
|
|
9358
|
-
* <p>The filters.</p>
|
|
9359
|
-
* <ul>
|
|
9360
|
-
* <li>
|
|
9361
|
-
* <p>
|
|
9362
|
-
* <code>account-id</code> - A 12-digit Amazon Web Services account ID.</p>
|
|
9363
|
-
* </li>
|
|
9364
|
-
* <li>
|
|
9365
|
-
* <p>
|
|
9366
|
-
* <code>creation-time</code> - The time when the report was created, in the ISO 8601
|
|
9367
|
-
* format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,
|
|
9368
|
-
* <code>2025-11-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for
|
|
9369
|
-
* example, <code>2025-11-29T*</code>, which matches an entire day.</p>
|
|
9370
|
-
* </li>
|
|
9371
|
-
* <li>
|
|
9372
|
-
* <p>
|
|
9373
|
-
* <code>resource-type</code> - The resource type (<code>ec2:Instance</code> |
|
|
9374
|
-
* <code>ec2:LaunchTemplate</code>).</p>
|
|
9375
|
-
* </li>
|
|
9376
|
-
* </ul>
|
|
9377
|
-
* @public
|
|
9378
|
-
*/
|
|
9379
|
-
Filters?: Filter[] | undefined;
|
|
9380
|
-
/**
|
|
9381
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
9382
|
-
* and provides an error response. If you have the required permissions, the error response is
|
|
9383
|
-
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
9384
|
-
* @public
|
|
9385
|
-
*/
|
|
9386
|
-
DryRun?: boolean | undefined;
|
|
9387
|
-
/**
|
|
9388
|
-
* <p>The maximum number of items to return for this request.
|
|
9389
|
-
* To get the next page of items, make another request with the token returned in the output.
|
|
9390
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
9391
|
-
* @public
|
|
9392
|
-
*/
|
|
9393
|
-
MaxResults?: number | undefined;
|
|
9394
|
-
}
|
|
9395
|
-
/**
|
|
9396
|
-
* <p>A single entry in an image usage report, detailing how an image is being used by a
|
|
9397
|
-
* specific Amazon Web Services account and resource type.</p>
|
|
9398
|
-
* @public
|
|
9399
|
-
*/
|
|
9400
|
-
export interface ImageUsageReportEntry {
|
|
9401
|
-
/**
|
|
9402
|
-
* <p>The type of resource (<code>ec2:Instance</code> or
|
|
9403
|
-
* <code>ec2:LaunchTemplate</code>).</p>
|
|
9404
|
-
* @public
|
|
9405
|
-
*/
|
|
9406
|
-
ResourceType?: string | undefined;
|
|
9407
|
-
/**
|
|
9408
|
-
* <p>The ID of the report.</p>
|
|
9409
|
-
* @public
|
|
9410
|
-
*/
|
|
9411
|
-
ReportId?: string | undefined;
|
|
9412
|
-
/**
|
|
9413
|
-
* <p>The number of times resources of this type reference this image in the account.</p>
|
|
9414
|
-
* @public
|
|
9415
|
-
*/
|
|
9416
|
-
UsageCount?: number | undefined;
|
|
9417
|
-
/**
|
|
9418
|
-
* <p>The ID of the account that uses the image.</p>
|
|
9419
|
-
* @public
|
|
9420
|
-
*/
|
|
9421
|
-
AccountId?: string | undefined;
|
|
9422
|
-
/**
|
|
9423
|
-
* <p>The ID of the image.</p>
|
|
9424
|
-
* @public
|
|
9425
|
-
*/
|
|
9426
|
-
ImageId?: string | undefined;
|
|
9427
|
-
/**
|
|
9428
|
-
* <p>The date and time the report creation was initiated.</p>
|
|
9429
|
-
* @public
|
|
9430
|
-
*/
|
|
9431
|
-
ReportCreationTime?: Date | undefined;
|
|
9432
|
-
}
|
|
9433
|
-
/**
|
|
9434
|
-
* @public
|
|
9435
|
-
*/
|
|
9436
|
-
export interface DescribeImageUsageReportEntriesResult {
|
|
9437
|
-
/**
|
|
9438
|
-
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
|
|
9439
|
-
* are no more items to return.</p>
|
|
9440
|
-
* @public
|
|
9441
|
-
*/
|
|
9442
|
-
NextToken?: string | undefined;
|
|
9443
|
-
/**
|
|
9444
|
-
* <p>The content of the usage reports.</p>
|
|
9445
|
-
* @public
|
|
9446
|
-
*/
|
|
9447
|
-
ImageUsageReportEntries?: ImageUsageReportEntry[] | undefined;
|
|
9448
|
-
}
|
|
9449
|
-
/**
|
|
9450
|
-
* @public
|
|
9451
|
-
*/
|
|
9452
|
-
export interface DescribeImageUsageReportsRequest {
|
|
9453
|
-
/**
|
|
9454
|
-
* <p>The IDs of the images for filtering the reports. If specified, only reports containing
|
|
9455
|
-
* these images are returned.</p>
|
|
9456
|
-
* @public
|
|
9457
|
-
*/
|
|
9458
|
-
ImageIds?: string[] | undefined;
|
|
9459
|
-
/**
|
|
9460
|
-
* <p>The IDs of the image usage reports.</p>
|
|
9461
|
-
* @public
|
|
9462
|
-
*/
|
|
9463
|
-
ReportIds?: string[] | undefined;
|
|
9464
|
-
/**
|
|
9465
|
-
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
9466
|
-
* @public
|
|
9467
|
-
*/
|
|
9468
|
-
NextToken?: string | undefined;
|
|
9469
|
-
/**
|
|
9470
|
-
* <p>The filters.</p>
|
|
9471
|
-
* <ul>
|
|
9472
|
-
* <li>
|
|
9473
|
-
* <p>
|
|
9474
|
-
* <code>creation-time</code> - The time when the report was created, in the ISO 8601
|
|
9475
|
-
* format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,
|
|
9476
|
-
* <code>2025-11-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for
|
|
9477
|
-
* example, <code>2025-11-29T*</code>, which matches an entire day.</p>
|
|
9478
|
-
* </li>
|
|
9479
|
-
* <li>
|
|
9480
|
-
* <p>
|
|
9481
|
-
* <code>state</code> - The state of the report (<code>available</code> |
|
|
9482
|
-
* <code>pending</code> | <code>error</code>).</p>
|
|
9483
|
-
* </li>
|
|
9484
|
-
* <li>
|
|
9485
|
-
* <p>
|
|
9486
|
-
* <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.
|
|
9487
|
-
* 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>
|
|
9488
|
-
* </li>
|
|
9489
|
-
* <li>
|
|
9490
|
-
* <p>
|
|
9491
|
-
* <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>
|
|
9492
|
-
* </li>
|
|
9493
|
-
* </ul>
|
|
9494
|
-
* @public
|
|
9495
|
-
*/
|
|
9496
|
-
Filters?: Filter[] | undefined;
|
|
9497
|
-
/**
|
|
9498
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
9499
|
-
* and provides an error response. If you have the required permissions, the error response is
|
|
9500
|
-
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
9501
|
-
* @public
|
|
9502
|
-
*/
|
|
9503
|
-
DryRun?: boolean | undefined;
|
|
9504
|
-
/**
|
|
9505
|
-
* <p>The maximum number of items to return for this request.
|
|
9506
|
-
* To get the next page of items, make another request with the token returned in the output.
|
|
9507
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
9508
|
-
* @public
|
|
9509
|
-
*/
|
|
9510
|
-
MaxResults?: number | undefined;
|
|
9511
|
-
}
|
|
9512
|
-
/**
|
|
9513
|
-
* <p>The options that affect the scope of the report.</p>
|
|
9514
|
-
* @public
|
|
9515
|
-
*/
|
|
9516
|
-
export interface ImageUsageResourceTypeOption {
|
|
9517
|
-
/**
|
|
9518
|
-
* <p>The name of the option.</p>
|
|
9519
|
-
* @public
|
|
9520
|
-
*/
|
|
9521
|
-
OptionName?: string | undefined;
|
|
9522
|
-
/**
|
|
9523
|
-
* <p>The number of launch template versions to check.</p>
|
|
9524
|
-
* @public
|
|
9525
|
-
*/
|
|
9526
|
-
OptionValues?: string[] | undefined;
|
|
9527
|
-
}
|