@aws-sdk/client-ec2 3.451.0 → 3.453.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 +24 -0
- package/dist-cjs/EC2.js +6 -0
- package/dist-cjs/commands/DescribeLockedSnapshotsCommand.js +51 -0
- package/dist-cjs/commands/LockSnapshotCommand.js +51 -0
- package/dist-cjs/commands/RequestSpotInstancesCommand.js +3 -3
- package/dist-cjs/commands/UnlockSnapshotCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/models/models_4.js +8 -2
- package/dist-cjs/models/models_6.js +5 -23
- package/dist-cjs/models/models_7.js +24 -1
- package/dist-cjs/protocols/Aws_ec2.js +305 -20
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/DescribeLockedSnapshotsCommand.js +47 -0
- package/dist-es/commands/LockSnapshotCommand.js +47 -0
- package/dist-es/commands/RequestSpotInstancesCommand.js +1 -1
- package/dist-es/commands/UnlockSnapshotCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/models/models_4.js +6 -0
- package/dist-es/models/models_6.js +5 -20
- package/dist-es/models/models_7.js +20 -0
- package/dist-es/protocols/Aws_ec2.js +279 -0
- package/dist-types/EC2.d.ts +21 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +3 -2
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
- package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +4 -2
- package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLockedSnapshotsCommand.d.ts +99 -0
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +2 -1
- package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +3 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -2
- package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
- package/dist-types/commands/LockSnapshotCommand.d.ts +103 -0
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +5 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -3
- package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- package/dist-types/commands/UnlockSnapshotCommand.d.ts +76 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +9 -0
- package/dist-types/models/models_2.d.ts +7 -0
- package/dist-types/models/models_4.d.ts +154 -129
- package/dist-types/models/models_5.d.ts +130 -137
- package/dist-types/models/models_6.d.ts +326 -306
- package/dist-types/models/models_7.d.ts +331 -3
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +51 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/DescribeLockedSnapshotsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/LockSnapshotCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_2.d.ts +1 -0
- package/dist-types/ts3.4/models/models_4.d.ts +29 -24
- package/dist-types/ts3.4/models/models_5.d.ts +24 -23
- package/dist-types/ts3.4/models/models_6.d.ts +55 -71
- package/dist-types/ts3.4/models/models_7.d.ts +75 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, AttachmentStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState,
|
|
1
|
+
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, AttachmentStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, UserIdGroupPair } from "./models_0";
|
|
2
2
|
import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, Placement, PlatformValues, PrivateIpAddressSpecification, SpotInstanceType, StateReason, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
|
|
3
|
-
import { PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGatewayConnect, TransitGatewayConnectPeer
|
|
3
|
+
import { PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGatewayConnect, TransitGatewayConnectPeer } from "./models_2";
|
|
4
4
|
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, DeviceType, EnclaveOptions, EventInformation, Filter, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceTagNotificationAttribute, PermissionGroup, ProductCode, VirtualizationType } from "./models_3";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -4918,6 +4918,158 @@ export interface DescribeLocalGatewayVirtualInterfacesResult {
|
|
|
4918
4918
|
*/
|
|
4919
4919
|
NextToken?: string;
|
|
4920
4920
|
}
|
|
4921
|
+
/**
|
|
4922
|
+
* @public
|
|
4923
|
+
*/
|
|
4924
|
+
export interface DescribeLockedSnapshotsRequest {
|
|
4925
|
+
/**
|
|
4926
|
+
* @public
|
|
4927
|
+
* <p>The filters.</p>
|
|
4928
|
+
* <ul>
|
|
4929
|
+
* <li>
|
|
4930
|
+
* <p>
|
|
4931
|
+
* <code>lock-state</code> - The state of the snapshot lock (<code>compliance-cooloff</code> |
|
|
4932
|
+
* <code>governance</code> | <code>compliance</code> | <code>expired</code>).</p>
|
|
4933
|
+
* </li>
|
|
4934
|
+
* </ul>
|
|
4935
|
+
*/
|
|
4936
|
+
Filters?: Filter[];
|
|
4937
|
+
/**
|
|
4938
|
+
* @public
|
|
4939
|
+
* <p>The maximum number of items to return for this request.
|
|
4940
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
4941
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
4942
|
+
*/
|
|
4943
|
+
MaxResults?: number;
|
|
4944
|
+
/**
|
|
4945
|
+
* @public
|
|
4946
|
+
* <p>The token returned from a previous paginated request.
|
|
4947
|
+
* Pagination continues from the end of the items returned by the previous request.</p>
|
|
4948
|
+
*/
|
|
4949
|
+
NextToken?: string;
|
|
4950
|
+
/**
|
|
4951
|
+
* @public
|
|
4952
|
+
* <p>The IDs of the snapshots for which to view the lock status.</p>
|
|
4953
|
+
*/
|
|
4954
|
+
SnapshotIds?: string[];
|
|
4955
|
+
/**
|
|
4956
|
+
* @public
|
|
4957
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
4958
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
4959
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
4960
|
+
*/
|
|
4961
|
+
DryRun?: boolean;
|
|
4962
|
+
}
|
|
4963
|
+
/**
|
|
4964
|
+
* @public
|
|
4965
|
+
* @enum
|
|
4966
|
+
*/
|
|
4967
|
+
export declare const LockState: {
|
|
4968
|
+
readonly compliance: "compliance";
|
|
4969
|
+
readonly compliance_cooloff: "compliance-cooloff";
|
|
4970
|
+
readonly expired: "expired";
|
|
4971
|
+
readonly governance: "governance";
|
|
4972
|
+
};
|
|
4973
|
+
/**
|
|
4974
|
+
* @public
|
|
4975
|
+
*/
|
|
4976
|
+
export type LockState = (typeof LockState)[keyof typeof LockState];
|
|
4977
|
+
/**
|
|
4978
|
+
* @public
|
|
4979
|
+
* <p>Information about a locked snapshot.</p>
|
|
4980
|
+
*/
|
|
4981
|
+
export interface LockedSnapshotsInfo {
|
|
4982
|
+
/**
|
|
4983
|
+
* @public
|
|
4984
|
+
* <p>The account ID of the Amazon Web Services account that owns the snapshot.</p>
|
|
4985
|
+
*/
|
|
4986
|
+
OwnerId?: string;
|
|
4987
|
+
/**
|
|
4988
|
+
* @public
|
|
4989
|
+
* <p>The ID of the snapshot.</p>
|
|
4990
|
+
*/
|
|
4991
|
+
SnapshotId?: string;
|
|
4992
|
+
/**
|
|
4993
|
+
* @public
|
|
4994
|
+
* <p>The state of the snapshot lock. Valid states include:</p>
|
|
4995
|
+
* <ul>
|
|
4996
|
+
* <li>
|
|
4997
|
+
* <p>
|
|
4998
|
+
* <code>compliance-cooloff</code> - The snapshot has been locked in
|
|
4999
|
+
* compliance mode but it is still within the cooling-off period. The snapshot can't be
|
|
5000
|
+
* deleted, but it can be unlocked and the lock settings can be modified by users with
|
|
5001
|
+
* appropriate permissions.</p>
|
|
5002
|
+
* </li>
|
|
5003
|
+
* <li>
|
|
5004
|
+
* <p>
|
|
5005
|
+
* <code>governance</code> - The snapshot is locked in governance mode. The
|
|
5006
|
+
* snapshot can't be deleted, but it can be unlocked and the lock settings can be
|
|
5007
|
+
* modified by users with appropriate permissions.</p>
|
|
5008
|
+
* </li>
|
|
5009
|
+
* <li>
|
|
5010
|
+
* <p>
|
|
5011
|
+
* <code>compliance</code> - The snapshot is locked in compliance mode and the
|
|
5012
|
+
* cooling-off period has expired. The snapshot can't be unlocked or deleted. The lock
|
|
5013
|
+
* duration can only be increased by users with appropriate permissions.</p>
|
|
5014
|
+
* </li>
|
|
5015
|
+
* <li>
|
|
5016
|
+
* <p>
|
|
5017
|
+
* <code>expired</code> - The snapshot was locked in compliance or governance
|
|
5018
|
+
* mode but the lock duration has expired. The snapshot is not locked and can be deleted.</p>
|
|
5019
|
+
* </li>
|
|
5020
|
+
* </ul>
|
|
5021
|
+
*/
|
|
5022
|
+
LockState?: LockState;
|
|
5023
|
+
/**
|
|
5024
|
+
* @public
|
|
5025
|
+
* <p>The period of time for which the snapshot is locked, in days.</p>
|
|
5026
|
+
*/
|
|
5027
|
+
LockDuration?: number;
|
|
5028
|
+
/**
|
|
5029
|
+
* @public
|
|
5030
|
+
* <p>The compliance mode cooling-off period, in hours.</p>
|
|
5031
|
+
*/
|
|
5032
|
+
CoolOffPeriod?: number;
|
|
5033
|
+
/**
|
|
5034
|
+
* @public
|
|
5035
|
+
* <p>The date and time at which the compliance mode cooling-off period expires, in the UTC time zone
|
|
5036
|
+
* (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
|
|
5037
|
+
*/
|
|
5038
|
+
CoolOffPeriodExpiresOn?: Date;
|
|
5039
|
+
/**
|
|
5040
|
+
* @public
|
|
5041
|
+
* <p>The date and time at which the snapshot was locked, in the UTC time zone (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
|
|
5042
|
+
*/
|
|
5043
|
+
LockCreatedOn?: Date;
|
|
5044
|
+
/**
|
|
5045
|
+
* @public
|
|
5046
|
+
* <p>The date and time at which the lock duration started, in the UTC time zone (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
|
|
5047
|
+
* <p>If you lock a snapshot that is in the <code>pending</code> state, the lock duration
|
|
5048
|
+
* starts only once the snapshot enters the <code>completed</code> state.</p>
|
|
5049
|
+
*/
|
|
5050
|
+
LockDurationStartTime?: Date;
|
|
5051
|
+
/**
|
|
5052
|
+
* @public
|
|
5053
|
+
* <p>The date and time at which the lock will expire, in the UTC time zone (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
|
|
5054
|
+
*/
|
|
5055
|
+
LockExpiresOn?: Date;
|
|
5056
|
+
}
|
|
5057
|
+
/**
|
|
5058
|
+
* @public
|
|
5059
|
+
*/
|
|
5060
|
+
export interface DescribeLockedSnapshotsResult {
|
|
5061
|
+
/**
|
|
5062
|
+
* @public
|
|
5063
|
+
* <p>Information about the snapshots.</p>
|
|
5064
|
+
*/
|
|
5065
|
+
Snapshots?: LockedSnapshotsInfo[];
|
|
5066
|
+
/**
|
|
5067
|
+
* @public
|
|
5068
|
+
* <p>The token to include in another request to get the next page of items.
|
|
5069
|
+
* This value is <code>null</code> when there are no more items to return.</p>
|
|
5070
|
+
*/
|
|
5071
|
+
NextToken?: string;
|
|
5072
|
+
}
|
|
4921
5073
|
/**
|
|
4922
5074
|
* @public
|
|
4923
5075
|
*/
|
|
@@ -11503,133 +11655,6 @@ export interface DescribeTransitGatewayMulticastDomainsRequest {
|
|
|
11503
11655
|
*/
|
|
11504
11656
|
DryRun?: boolean;
|
|
11505
11657
|
}
|
|
11506
|
-
/**
|
|
11507
|
-
* @public
|
|
11508
|
-
*/
|
|
11509
|
-
export interface DescribeTransitGatewayMulticastDomainsResult {
|
|
11510
|
-
/**
|
|
11511
|
-
* @public
|
|
11512
|
-
* <p>Information about the transit gateway multicast domains.</p>
|
|
11513
|
-
*/
|
|
11514
|
-
TransitGatewayMulticastDomains?: TransitGatewayMulticastDomain[];
|
|
11515
|
-
/**
|
|
11516
|
-
* @public
|
|
11517
|
-
* <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>
|
|
11518
|
-
*/
|
|
11519
|
-
NextToken?: string;
|
|
11520
|
-
}
|
|
11521
|
-
/**
|
|
11522
|
-
* @public
|
|
11523
|
-
*/
|
|
11524
|
-
export interface DescribeTransitGatewayPeeringAttachmentsRequest {
|
|
11525
|
-
/**
|
|
11526
|
-
* @public
|
|
11527
|
-
* <p>One or more IDs of the transit gateway peering attachments.</p>
|
|
11528
|
-
*/
|
|
11529
|
-
TransitGatewayAttachmentIds?: string[];
|
|
11530
|
-
/**
|
|
11531
|
-
* @public
|
|
11532
|
-
* <p>One or more filters. The possible values are:</p>
|
|
11533
|
-
* <ul>
|
|
11534
|
-
* <li>
|
|
11535
|
-
* <p>
|
|
11536
|
-
* <code>transit-gateway-attachment-id</code> - The ID of the transit gateway attachment.</p>
|
|
11537
|
-
* </li>
|
|
11538
|
-
* <li>
|
|
11539
|
-
* <p>
|
|
11540
|
-
* <code>local-owner-id</code> - The ID of your Amazon Web Services account.</p>
|
|
11541
|
-
* </li>
|
|
11542
|
-
* <li>
|
|
11543
|
-
* <p>
|
|
11544
|
-
* <code>remote-owner-id</code> - The ID of the Amazon Web Services account in the remote Region that owns the transit gateway.</p>
|
|
11545
|
-
* </li>
|
|
11546
|
-
* <li>
|
|
11547
|
-
* <p>
|
|
11548
|
-
* <code>state</code> - The state of the peering attachment. Valid values are <code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>failed</code> | <code>failing</code> | <code>initiatingRequest</code> | <code>modifying</code> | <code>pendingAcceptance</code> | <code>pending</code> | <code>rollingBack</code> | <code>rejected</code> | <code>rejecting</code>).</p>
|
|
11549
|
-
* </li>
|
|
11550
|
-
* <li>
|
|
11551
|
-
* <p>
|
|
11552
|
-
* <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.
|
|
11553
|
-
* 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>
|
|
11554
|
-
* </li>
|
|
11555
|
-
* <li>
|
|
11556
|
-
* <p>
|
|
11557
|
-
* <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.</p>
|
|
11558
|
-
* </li>
|
|
11559
|
-
* <li>
|
|
11560
|
-
* <p>
|
|
11561
|
-
* <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
|
|
11562
|
-
* </li>
|
|
11563
|
-
* </ul>
|
|
11564
|
-
*/
|
|
11565
|
-
Filters?: Filter[];
|
|
11566
|
-
/**
|
|
11567
|
-
* @public
|
|
11568
|
-
* <p>The maximum number of results to return with a single call.
|
|
11569
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
11570
|
-
*/
|
|
11571
|
-
MaxResults?: number;
|
|
11572
|
-
/**
|
|
11573
|
-
* @public
|
|
11574
|
-
* <p>The token for the next page of results.</p>
|
|
11575
|
-
*/
|
|
11576
|
-
NextToken?: string;
|
|
11577
|
-
/**
|
|
11578
|
-
* @public
|
|
11579
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
11580
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
11581
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
11582
|
-
*/
|
|
11583
|
-
DryRun?: boolean;
|
|
11584
|
-
}
|
|
11585
|
-
/**
|
|
11586
|
-
* @public
|
|
11587
|
-
*/
|
|
11588
|
-
export interface DescribeTransitGatewayPeeringAttachmentsResult {
|
|
11589
|
-
/**
|
|
11590
|
-
* @public
|
|
11591
|
-
* <p>The transit gateway peering attachments.</p>
|
|
11592
|
-
*/
|
|
11593
|
-
TransitGatewayPeeringAttachments?: TransitGatewayPeeringAttachment[];
|
|
11594
|
-
/**
|
|
11595
|
-
* @public
|
|
11596
|
-
* <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>
|
|
11597
|
-
*/
|
|
11598
|
-
NextToken?: string;
|
|
11599
|
-
}
|
|
11600
|
-
/**
|
|
11601
|
-
* @public
|
|
11602
|
-
*/
|
|
11603
|
-
export interface DescribeTransitGatewayPolicyTablesRequest {
|
|
11604
|
-
/**
|
|
11605
|
-
* @public
|
|
11606
|
-
* <p>The IDs of the transit gateway policy tables.</p>
|
|
11607
|
-
*/
|
|
11608
|
-
TransitGatewayPolicyTableIds?: string[];
|
|
11609
|
-
/**
|
|
11610
|
-
* @public
|
|
11611
|
-
* <p>The filters associated with the transit gateway policy table.</p>
|
|
11612
|
-
*/
|
|
11613
|
-
Filters?: Filter[];
|
|
11614
|
-
/**
|
|
11615
|
-
* @public
|
|
11616
|
-
* <p>The maximum number of results to return with a single call.
|
|
11617
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
11618
|
-
*/
|
|
11619
|
-
MaxResults?: number;
|
|
11620
|
-
/**
|
|
11621
|
-
* @public
|
|
11622
|
-
* <p>The token for the next page of results.</p>
|
|
11623
|
-
*/
|
|
11624
|
-
NextToken?: string;
|
|
11625
|
-
/**
|
|
11626
|
-
* @public
|
|
11627
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
11628
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
11629
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
11630
|
-
*/
|
|
11631
|
-
DryRun?: boolean;
|
|
11632
|
-
}
|
|
11633
11658
|
/**
|
|
11634
11659
|
* @internal
|
|
11635
11660
|
*/
|
|
@@ -1,8 +1,135 @@
|
|
|
1
|
-
import { AccessScopeAnalysisFinding, AddressTransfer, AllowedPrincipal, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
2
|
-
import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, RequestIpamResourceTag, ResponseLaunchTemplateData,
|
|
3
|
-
import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, TransitGateway, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
1
|
+
import { AccessScopeAnalysisFinding, AddressTransfer, AllowedPrincipal, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
2
|
+
import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, RequestIpamResourceTag, ResponseLaunchTemplateData, VolumeType, Vpc } from "./models_1";
|
|
3
|
+
import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, TransitGateway, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
4
|
import { AttributeBooleanValue, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IpamPoolCidr, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType, VirtualizationType } from "./models_3";
|
|
5
5
|
import { AnalysisStatus, ArchitectureType } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface DescribeTransitGatewayMulticastDomainsResult {
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
* <p>Information about the transit gateway multicast domains.</p>
|
|
13
|
+
*/
|
|
14
|
+
TransitGatewayMulticastDomains?: TransitGatewayMulticastDomain[];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* <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>
|
|
18
|
+
*/
|
|
19
|
+
NextToken?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface DescribeTransitGatewayPeeringAttachmentsRequest {
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* <p>One or more IDs of the transit gateway peering attachments.</p>
|
|
28
|
+
*/
|
|
29
|
+
TransitGatewayAttachmentIds?: string[];
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* <p>One or more filters. The possible values are:</p>
|
|
33
|
+
* <ul>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <code>transit-gateway-attachment-id</code> - The ID of the transit gateway attachment.</p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>
|
|
40
|
+
* <code>local-owner-id</code> - The ID of your Amazon Web Services account.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <code>remote-owner-id</code> - The ID of the Amazon Web Services account in the remote Region that owns the transit gateway.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>
|
|
48
|
+
* <code>state</code> - The state of the peering attachment. Valid values are <code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>failed</code> | <code>failing</code> | <code>initiatingRequest</code> | <code>modifying</code> | <code>pendingAcceptance</code> | <code>pending</code> | <code>rollingBack</code> | <code>rejected</code> | <code>rejecting</code>).</p>
|
|
49
|
+
* </li>
|
|
50
|
+
* <li>
|
|
51
|
+
* <p>
|
|
52
|
+
* <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.
|
|
53
|
+
* 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>
|
|
54
|
+
* </li>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>
|
|
57
|
+
* <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.</p>
|
|
58
|
+
* </li>
|
|
59
|
+
* <li>
|
|
60
|
+
* <p>
|
|
61
|
+
* <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
|
|
62
|
+
* </li>
|
|
63
|
+
* </ul>
|
|
64
|
+
*/
|
|
65
|
+
Filters?: Filter[];
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* <p>The maximum number of results to return with a single call.
|
|
69
|
+
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
70
|
+
*/
|
|
71
|
+
MaxResults?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
* <p>The token for the next page of results.</p>
|
|
75
|
+
*/
|
|
76
|
+
NextToken?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
80
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
81
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
82
|
+
*/
|
|
83
|
+
DryRun?: boolean;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export interface DescribeTransitGatewayPeeringAttachmentsResult {
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* <p>The transit gateway peering attachments.</p>
|
|
92
|
+
*/
|
|
93
|
+
TransitGatewayPeeringAttachments?: TransitGatewayPeeringAttachment[];
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* <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>
|
|
97
|
+
*/
|
|
98
|
+
NextToken?: string;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export interface DescribeTransitGatewayPolicyTablesRequest {
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
* <p>The IDs of the transit gateway policy tables.</p>
|
|
107
|
+
*/
|
|
108
|
+
TransitGatewayPolicyTableIds?: string[];
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
* <p>The filters associated with the transit gateway policy table.</p>
|
|
112
|
+
*/
|
|
113
|
+
Filters?: Filter[];
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* <p>The maximum number of results to return with a single call.
|
|
117
|
+
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
118
|
+
*/
|
|
119
|
+
MaxResults?: number;
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
* <p>The token for the next page of results.</p>
|
|
123
|
+
*/
|
|
124
|
+
NextToken?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
128
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
129
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
130
|
+
*/
|
|
131
|
+
DryRun?: boolean;
|
|
132
|
+
}
|
|
6
133
|
/**
|
|
7
134
|
* @public
|
|
8
135
|
*/
|
|
@@ -7292,140 +7419,6 @@ export interface GetSerialConsoleAccessStatusResult {
|
|
|
7292
7419
|
*/
|
|
7293
7420
|
SerialConsoleAccessEnabled?: boolean;
|
|
7294
7421
|
}
|
|
7295
|
-
/**
|
|
7296
|
-
* @public
|
|
7297
|
-
*/
|
|
7298
|
-
export interface GetSnapshotBlockPublicAccessStateRequest {
|
|
7299
|
-
/**
|
|
7300
|
-
* @public
|
|
7301
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7302
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7303
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7304
|
-
*/
|
|
7305
|
-
DryRun?: boolean;
|
|
7306
|
-
}
|
|
7307
|
-
/**
|
|
7308
|
-
* @public
|
|
7309
|
-
*/
|
|
7310
|
-
export interface GetSnapshotBlockPublicAccessStateResult {
|
|
7311
|
-
/**
|
|
7312
|
-
* @public
|
|
7313
|
-
* <p>The current state of block public access for snapshots. Possible values include:</p>
|
|
7314
|
-
* <ul>
|
|
7315
|
-
* <li>
|
|
7316
|
-
* <p>
|
|
7317
|
-
* <code>block-all-sharing</code> - All public sharing of snapshots is blocked. Users in
|
|
7318
|
-
* the account can't request new public sharing. Additionally, snapshots that were already
|
|
7319
|
-
* publicly shared are treated as private and are not publicly available.</p>
|
|
7320
|
-
* </li>
|
|
7321
|
-
* <li>
|
|
7322
|
-
* <p>
|
|
7323
|
-
* <code>block-new-sharing</code> - Only new public sharing of snapshots is blocked.
|
|
7324
|
-
* Users in the account can't request new public sharing. However, snapshots that were
|
|
7325
|
-
* already publicly shared, remain publicly available.</p>
|
|
7326
|
-
* </li>
|
|
7327
|
-
* <li>
|
|
7328
|
-
* <p>
|
|
7329
|
-
* <code>unblocked</code> - Public sharing is not blocked. Users can publicly share
|
|
7330
|
-
* snapshots.</p>
|
|
7331
|
-
* </li>
|
|
7332
|
-
* </ul>
|
|
7333
|
-
*/
|
|
7334
|
-
State?: SnapshotBlockPublicAccessState;
|
|
7335
|
-
}
|
|
7336
|
-
/**
|
|
7337
|
-
* @public
|
|
7338
|
-
* <p>The architecture type, virtualization type, and other attributes for the instance types.
|
|
7339
|
-
* When you specify instance attributes, Amazon EC2 will identify instance types with those
|
|
7340
|
-
* attributes.</p>
|
|
7341
|
-
* <p>If you specify <code>InstanceRequirementsWithMetadataRequest</code>, you can't specify
|
|
7342
|
-
* <code>InstanceTypes</code>.</p>
|
|
7343
|
-
*/
|
|
7344
|
-
export interface InstanceRequirementsWithMetadataRequest {
|
|
7345
|
-
/**
|
|
7346
|
-
* @public
|
|
7347
|
-
* <p>The architecture type.</p>
|
|
7348
|
-
*/
|
|
7349
|
-
ArchitectureTypes?: ArchitectureType[];
|
|
7350
|
-
/**
|
|
7351
|
-
* @public
|
|
7352
|
-
* <p>The virtualization type.</p>
|
|
7353
|
-
*/
|
|
7354
|
-
VirtualizationTypes?: VirtualizationType[];
|
|
7355
|
-
/**
|
|
7356
|
-
* @public
|
|
7357
|
-
* <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
|
|
7358
|
-
* identify instance types with those attributes.</p>
|
|
7359
|
-
*/
|
|
7360
|
-
InstanceRequirements?: InstanceRequirementsRequest;
|
|
7361
|
-
}
|
|
7362
|
-
/**
|
|
7363
|
-
* @public
|
|
7364
|
-
*/
|
|
7365
|
-
export interface GetSpotPlacementScoresRequest {
|
|
7366
|
-
/**
|
|
7367
|
-
* @public
|
|
7368
|
-
* <p>The instance types. We recommend that you specify at least three instance types. If you
|
|
7369
|
-
* specify one or two instance types, or specify variations of a single instance type (for
|
|
7370
|
-
* example, an <code>m3.xlarge</code> with and without instance storage), the returned
|
|
7371
|
-
* placement score will always be low. </p>
|
|
7372
|
-
* <p>If you specify <code>InstanceTypes</code>, you can't specify
|
|
7373
|
-
* <code>InstanceRequirementsWithMetadata</code>.</p>
|
|
7374
|
-
*/
|
|
7375
|
-
InstanceTypes?: string[];
|
|
7376
|
-
/**
|
|
7377
|
-
* @public
|
|
7378
|
-
* <p>The target capacity.</p>
|
|
7379
|
-
*/
|
|
7380
|
-
TargetCapacity: number | undefined;
|
|
7381
|
-
/**
|
|
7382
|
-
* @public
|
|
7383
|
-
* <p>The unit for the target capacity.</p>
|
|
7384
|
-
* <p>Default: <code>units</code> (translates to number of instances)</p>
|
|
7385
|
-
*/
|
|
7386
|
-
TargetCapacityUnitType?: TargetCapacityUnitType;
|
|
7387
|
-
/**
|
|
7388
|
-
* @public
|
|
7389
|
-
* <p>Specify <code>true</code> so that the response returns a list of scored Availability Zones.
|
|
7390
|
-
* Otherwise, the response returns a list of scored Regions.</p>
|
|
7391
|
-
* <p>A list of scored Availability Zones is useful if you want to launch all of your Spot
|
|
7392
|
-
* capacity into a single Availability Zone.</p>
|
|
7393
|
-
*/
|
|
7394
|
-
SingleAvailabilityZone?: boolean;
|
|
7395
|
-
/**
|
|
7396
|
-
* @public
|
|
7397
|
-
* <p>The Regions used to narrow down the list of Regions to be scored. Enter the Region code,
|
|
7398
|
-
* for example, <code>us-east-1</code>.</p>
|
|
7399
|
-
*/
|
|
7400
|
-
RegionNames?: string[];
|
|
7401
|
-
/**
|
|
7402
|
-
* @public
|
|
7403
|
-
* <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
|
|
7404
|
-
* identify instance types with those attributes.</p>
|
|
7405
|
-
* <p>If you specify <code>InstanceRequirementsWithMetadata</code>, you can't specify
|
|
7406
|
-
* <code>InstanceTypes</code>.</p>
|
|
7407
|
-
*/
|
|
7408
|
-
InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest;
|
|
7409
|
-
/**
|
|
7410
|
-
* @public
|
|
7411
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7412
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7413
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7414
|
-
*/
|
|
7415
|
-
DryRun?: boolean;
|
|
7416
|
-
/**
|
|
7417
|
-
* @public
|
|
7418
|
-
* <p>The maximum number of items to return for this request.
|
|
7419
|
-
* To get the next page of items, make another request with the token returned in the output.
|
|
7420
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
7421
|
-
*/
|
|
7422
|
-
MaxResults?: number;
|
|
7423
|
-
/**
|
|
7424
|
-
* @public
|
|
7425
|
-
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
7426
|
-
*/
|
|
7427
|
-
NextToken?: string;
|
|
7428
|
-
}
|
|
7429
7422
|
/**
|
|
7430
7423
|
* @internal
|
|
7431
7424
|
*/
|