@aws-sdk/client-ec2 3.678.0 → 3.679.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 +8 -0
- package/dist-cjs/index.js +180 -23
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/DescribeInstanceImageMetadataCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_4.js +8 -12
- package/dist-es/models/models_5.js +4 -6
- package/dist-es/models/models_6.js +6 -0
- package/dist-es/pagination/DescribeInstanceImageMetadataPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_ec2.js +140 -2
- package/dist-types/EC2.d.ts +8 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +132 -0
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +1 -2
- package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
- package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_1.d.ts +51 -15
- package/dist-types/models/models_4.d.ts +274 -167
- package/dist-types/models/models_5.d.ts +96 -53
- package/dist-types/models/models_6.d.ts +54 -117
- package/dist-types/models/models_7.d.ts +114 -0
- package/dist-types/pagination/DescribeInstanceImageMetadataPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/ts3.4/EC2.d.ts +18 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_4.d.ts +46 -36
- package/dist-types/ts3.4/models/models_5.d.ts +23 -21
- package/dist-types/ts3.4/models/models_6.d.ts +20 -27
- package/dist-types/ts3.4/models/models_7.d.ts +25 -0
- package/dist-types/ts3.4/pagination/DescribeInstanceImageMetadataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/package.json +15 -15
|
@@ -1,9 +1,60 @@
|
|
|
1
1
|
import { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, InstanceEventWindow, InstanceMatchCriteria, IpamPoolAllocation, Ipv6SupportValue, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
2
|
import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceDiscovery, IpamResourceTag, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType, VolumeType } from "./models_1";
|
|
3
|
-
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IpAddressType, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnEcmpSupportValue } from "./models_2";
|
|
3
|
+
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IpAddressType, SSEType, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnEcmpSupportValue } from "./models_2";
|
|
4
4
|
import { ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, IpamPoolCidr, PaymentOption, PermissionGroup } from "./models_3";
|
|
5
|
-
import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, CreateVolumePermission,
|
|
6
|
-
import { InstanceFamilyCreditSpecification, LaunchTemplateConfig,
|
|
5
|
+
import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, CreateVolumePermission, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, LockState, ReservedInstancesConfiguration, SnapshotAttributeName, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
|
|
6
|
+
import { ExcessCapacityTerminationPolicy, InstanceFamilyCreditSpecification, LaunchTemplateConfig, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface GetEbsDefaultKmsKeyIdResult {
|
|
11
|
+
/**
|
|
12
|
+
* <p>The Amazon Resource Name (ARN) of the default KMS key for encryption by default.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
KmsKeyId?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface GetEbsEncryptionByDefaultRequest {
|
|
21
|
+
/**
|
|
22
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
23
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
24
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
DryRun?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export interface GetEbsEncryptionByDefaultResult {
|
|
33
|
+
/**
|
|
34
|
+
* <p>Indicates whether encryption by default is enabled.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
EbsEncryptionByDefault?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* <p>Reserved for future use.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
SseType?: SSEType;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
* @enum
|
|
47
|
+
*/
|
|
48
|
+
export declare const PartitionLoadFrequency: {
|
|
49
|
+
readonly DAILY: "daily";
|
|
50
|
+
readonly MONTHLY: "monthly";
|
|
51
|
+
readonly NONE: "none";
|
|
52
|
+
readonly WEEKLY: "weekly";
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export type PartitionLoadFrequency = (typeof PartitionLoadFrequency)[keyof typeof PartitionLoadFrequency];
|
|
7
58
|
/**
|
|
8
59
|
* <p>Describes integration options for Amazon Athena.</p>
|
|
9
60
|
* @public
|
|
@@ -8148,120 +8199,6 @@ export interface ModifyVpcEndpointResult {
|
|
|
8148
8199
|
*/
|
|
8149
8200
|
Return?: boolean;
|
|
8150
8201
|
}
|
|
8151
|
-
/**
|
|
8152
|
-
* @public
|
|
8153
|
-
*/
|
|
8154
|
-
export interface ModifyVpcEndpointConnectionNotificationRequest {
|
|
8155
|
-
/**
|
|
8156
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8157
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8158
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8159
|
-
* @public
|
|
8160
|
-
*/
|
|
8161
|
-
DryRun?: boolean;
|
|
8162
|
-
/**
|
|
8163
|
-
* <p>The ID of the notification.</p>
|
|
8164
|
-
* @public
|
|
8165
|
-
*/
|
|
8166
|
-
ConnectionNotificationId: string | undefined;
|
|
8167
|
-
/**
|
|
8168
|
-
* <p>The ARN for the SNS topic for the notification.</p>
|
|
8169
|
-
* @public
|
|
8170
|
-
*/
|
|
8171
|
-
ConnectionNotificationArn?: string;
|
|
8172
|
-
/**
|
|
8173
|
-
* <p>The events for the endpoint. Valid values are <code>Accept</code>,
|
|
8174
|
-
* <code>Connect</code>, <code>Delete</code>, and <code>Reject</code>.</p>
|
|
8175
|
-
* @public
|
|
8176
|
-
*/
|
|
8177
|
-
ConnectionEvents?: string[];
|
|
8178
|
-
}
|
|
8179
|
-
/**
|
|
8180
|
-
* @public
|
|
8181
|
-
*/
|
|
8182
|
-
export interface ModifyVpcEndpointConnectionNotificationResult {
|
|
8183
|
-
/**
|
|
8184
|
-
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
8185
|
-
* @public
|
|
8186
|
-
*/
|
|
8187
|
-
ReturnValue?: boolean;
|
|
8188
|
-
}
|
|
8189
|
-
/**
|
|
8190
|
-
* @public
|
|
8191
|
-
*/
|
|
8192
|
-
export interface ModifyVpcEndpointServiceConfigurationRequest {
|
|
8193
|
-
/**
|
|
8194
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8195
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8196
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8197
|
-
* @public
|
|
8198
|
-
*/
|
|
8199
|
-
DryRun?: boolean;
|
|
8200
|
-
/**
|
|
8201
|
-
* <p>The ID of the service.</p>
|
|
8202
|
-
* @public
|
|
8203
|
-
*/
|
|
8204
|
-
ServiceId: string | undefined;
|
|
8205
|
-
/**
|
|
8206
|
-
* <p>(Interface endpoint configuration) The private DNS name to assign to the endpoint service.</p>
|
|
8207
|
-
* @public
|
|
8208
|
-
*/
|
|
8209
|
-
PrivateDnsName?: string;
|
|
8210
|
-
/**
|
|
8211
|
-
* <p>(Interface endpoint configuration) Removes the private DNS name of the endpoint service.</p>
|
|
8212
|
-
* @public
|
|
8213
|
-
*/
|
|
8214
|
-
RemovePrivateDnsName?: boolean;
|
|
8215
|
-
/**
|
|
8216
|
-
* <p>Indicates whether requests to create an endpoint to your service must be accepted.</p>
|
|
8217
|
-
* @public
|
|
8218
|
-
*/
|
|
8219
|
-
AcceptanceRequired?: boolean;
|
|
8220
|
-
/**
|
|
8221
|
-
* <p>The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service
|
|
8222
|
-
* configuration.</p>
|
|
8223
|
-
* @public
|
|
8224
|
-
*/
|
|
8225
|
-
AddNetworkLoadBalancerArns?: string[];
|
|
8226
|
-
/**
|
|
8227
|
-
* <p>The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service
|
|
8228
|
-
* configuration.</p>
|
|
8229
|
-
* @public
|
|
8230
|
-
*/
|
|
8231
|
-
RemoveNetworkLoadBalancerArns?: string[];
|
|
8232
|
-
/**
|
|
8233
|
-
* <p>The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service
|
|
8234
|
-
* configuration.</p>
|
|
8235
|
-
* @public
|
|
8236
|
-
*/
|
|
8237
|
-
AddGatewayLoadBalancerArns?: string[];
|
|
8238
|
-
/**
|
|
8239
|
-
* <p>The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service
|
|
8240
|
-
* configuration.</p>
|
|
8241
|
-
* @public
|
|
8242
|
-
*/
|
|
8243
|
-
RemoveGatewayLoadBalancerArns?: string[];
|
|
8244
|
-
/**
|
|
8245
|
-
* <p>The IP address types to add to your service configuration.</p>
|
|
8246
|
-
* @public
|
|
8247
|
-
*/
|
|
8248
|
-
AddSupportedIpAddressTypes?: string[];
|
|
8249
|
-
/**
|
|
8250
|
-
* <p>The IP address types to remove from your service configuration.</p>
|
|
8251
|
-
* @public
|
|
8252
|
-
*/
|
|
8253
|
-
RemoveSupportedIpAddressTypes?: string[];
|
|
8254
|
-
}
|
|
8255
|
-
/**
|
|
8256
|
-
* @public
|
|
8257
|
-
*/
|
|
8258
|
-
export interface ModifyVpcEndpointServiceConfigurationResult {
|
|
8259
|
-
/**
|
|
8260
|
-
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
8261
|
-
* @public
|
|
8262
|
-
*/
|
|
8263
|
-
Return?: boolean;
|
|
8264
|
-
}
|
|
8265
8202
|
/**
|
|
8266
8203
|
* @internal
|
|
8267
8204
|
*/
|
|
@@ -5,6 +5,120 @@ import { Byoasn, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttri
|
|
|
5
5
|
import { ArchitectureValues, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ScheduledInstance, SnapshotAttributeName, TpmSupportValues } from "./models_4";
|
|
6
6
|
import { InstanceNetworkInterfaceSpecification, RunInstancesMonitoringEnabled, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_5";
|
|
7
7
|
import { CapacityReservationSpecification, Purchase } from "./models_6";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface ModifyVpcEndpointConnectionNotificationRequest {
|
|
12
|
+
/**
|
|
13
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
14
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
15
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
DryRun?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The ID of the notification.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
ConnectionNotificationId: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The ARN for the SNS topic for the notification.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
ConnectionNotificationArn?: string;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The events for the endpoint. Valid values are <code>Accept</code>,
|
|
31
|
+
* <code>Connect</code>, <code>Delete</code>, and <code>Reject</code>.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
ConnectionEvents?: string[];
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface ModifyVpcEndpointConnectionNotificationResult {
|
|
40
|
+
/**
|
|
41
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
ReturnValue?: boolean;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export interface ModifyVpcEndpointServiceConfigurationRequest {
|
|
50
|
+
/**
|
|
51
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
52
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
53
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
DryRun?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The ID of the service.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
ServiceId: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>(Interface endpoint configuration) The private DNS name to assign to the endpoint service.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
PrivateDnsName?: string;
|
|
67
|
+
/**
|
|
68
|
+
* <p>(Interface endpoint configuration) Removes the private DNS name of the endpoint service.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
RemovePrivateDnsName?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* <p>Indicates whether requests to create an endpoint to your service must be accepted.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
AcceptanceRequired?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* <p>The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service
|
|
79
|
+
* configuration.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
AddNetworkLoadBalancerArns?: string[];
|
|
83
|
+
/**
|
|
84
|
+
* <p>The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service
|
|
85
|
+
* configuration.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
RemoveNetworkLoadBalancerArns?: string[];
|
|
89
|
+
/**
|
|
90
|
+
* <p>The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service
|
|
91
|
+
* configuration.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
AddGatewayLoadBalancerArns?: string[];
|
|
95
|
+
/**
|
|
96
|
+
* <p>The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service
|
|
97
|
+
* configuration.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
RemoveGatewayLoadBalancerArns?: string[];
|
|
101
|
+
/**
|
|
102
|
+
* <p>The IP address types to add to your service configuration.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
AddSupportedIpAddressTypes?: string[];
|
|
106
|
+
/**
|
|
107
|
+
* <p>The IP address types to remove from your service configuration.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
RemoveSupportedIpAddressTypes?: string[];
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export interface ModifyVpcEndpointServiceConfigurationResult {
|
|
116
|
+
/**
|
|
117
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
Return?: boolean;
|
|
121
|
+
}
|
|
8
122
|
/**
|
|
9
123
|
* @public
|
|
10
124
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeInstanceImageMetadataCommandInput, DescribeInstanceImageMetadataCommandOutput } from "../commands/DescribeInstanceImageMetadataCommand";
|
|
3
|
+
import { EC2PaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateDescribeInstanceImageMetadata: (config: EC2PaginationConfiguration, input: DescribeInstanceImageMetadataCommandInput, ...rest: any[]) => Paginator<DescribeInstanceImageMetadataCommandOutput>;
|
|
@@ -33,6 +33,7 @@ export * from "./DescribeImportSnapshotTasksPaginator";
|
|
|
33
33
|
export * from "./DescribeInstanceConnectEndpointsPaginator";
|
|
34
34
|
export * from "./DescribeInstanceCreditSpecificationsPaginator";
|
|
35
35
|
export * from "./DescribeInstanceEventWindowsPaginator";
|
|
36
|
+
export * from "./DescribeInstanceImageMetadataPaginator";
|
|
36
37
|
export * from "./DescribeInstanceStatusPaginator";
|
|
37
38
|
export * from "./DescribeInstanceTopologyPaginator";
|
|
38
39
|
export * from "./DescribeInstanceTypeOfferingsPaginator";
|
|
@@ -275,6 +275,7 @@ import { DescribeInstanceConnectEndpointsCommandInput, DescribeInstanceConnectEn
|
|
|
275
275
|
import { DescribeInstanceCreditSpecificationsCommandInput, DescribeInstanceCreditSpecificationsCommandOutput } from "../commands/DescribeInstanceCreditSpecificationsCommand";
|
|
276
276
|
import { DescribeInstanceEventNotificationAttributesCommandInput, DescribeInstanceEventNotificationAttributesCommandOutput } from "../commands/DescribeInstanceEventNotificationAttributesCommand";
|
|
277
277
|
import { DescribeInstanceEventWindowsCommandInput, DescribeInstanceEventWindowsCommandOutput } from "../commands/DescribeInstanceEventWindowsCommand";
|
|
278
|
+
import { DescribeInstanceImageMetadataCommandInput, DescribeInstanceImageMetadataCommandOutput } from "../commands/DescribeInstanceImageMetadataCommand";
|
|
278
279
|
import { DescribeInstancesCommandInput, DescribeInstancesCommandOutput } from "../commands/DescribeInstancesCommand";
|
|
279
280
|
import { DescribeInstanceStatusCommandInput, DescribeInstanceStatusCommandOutput } from "../commands/DescribeInstanceStatusCommand";
|
|
280
281
|
import { DescribeInstanceTopologyCommandInput, DescribeInstanceTopologyCommandOutput } from "../commands/DescribeInstanceTopologyCommand";
|
|
@@ -1733,6 +1734,10 @@ export declare const se_DescribeInstanceEventNotificationAttributesCommand: (inp
|
|
|
1733
1734
|
* serializeAws_ec2DescribeInstanceEventWindowsCommand
|
|
1734
1735
|
*/
|
|
1735
1736
|
export declare const se_DescribeInstanceEventWindowsCommand: (input: DescribeInstanceEventWindowsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
1737
|
+
/**
|
|
1738
|
+
* serializeAws_ec2DescribeInstanceImageMetadataCommand
|
|
1739
|
+
*/
|
|
1740
|
+
export declare const se_DescribeInstanceImageMetadataCommand: (input: DescribeInstanceImageMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
1736
1741
|
/**
|
|
1737
1742
|
* serializeAws_ec2DescribeInstancesCommand
|
|
1738
1743
|
*/
|
|
@@ -4265,6 +4270,10 @@ export declare const de_DescribeInstanceEventNotificationAttributesCommand: (out
|
|
|
4265
4270
|
* deserializeAws_ec2DescribeInstanceEventWindowsCommand
|
|
4266
4271
|
*/
|
|
4267
4272
|
export declare const de_DescribeInstanceEventWindowsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInstanceEventWindowsCommandOutput>;
|
|
4273
|
+
/**
|
|
4274
|
+
* deserializeAws_ec2DescribeInstanceImageMetadataCommand
|
|
4275
|
+
*/
|
|
4276
|
+
export declare const de_DescribeInstanceImageMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInstanceImageMetadataCommandOutput>;
|
|
4268
4277
|
/**
|
|
4269
4278
|
* deserializeAws_ec2DescribeInstancesCommand
|
|
4270
4279
|
*/
|
|
@@ -1099,6 +1099,10 @@ import {
|
|
|
1099
1099
|
DescribeInstanceEventWindowsCommandInput,
|
|
1100
1100
|
DescribeInstanceEventWindowsCommandOutput,
|
|
1101
1101
|
} from "./commands/DescribeInstanceEventWindowsCommand";
|
|
1102
|
+
import {
|
|
1103
|
+
DescribeInstanceImageMetadataCommandInput,
|
|
1104
|
+
DescribeInstanceImageMetadataCommandOutput,
|
|
1105
|
+
} from "./commands/DescribeInstanceImageMetadataCommand";
|
|
1102
1106
|
import {
|
|
1103
1107
|
DescribeInstancesCommandInput,
|
|
1104
1108
|
DescribeInstancesCommandOutput,
|
|
@@ -6452,6 +6456,20 @@ export interface EC2 {
|
|
|
6452
6456
|
options: __HttpHandlerOptions,
|
|
6453
6457
|
cb: (err: any, data?: DescribeInstanceEventWindowsCommandOutput) => void
|
|
6454
6458
|
): void;
|
|
6459
|
+
describeInstanceImageMetadata(): Promise<DescribeInstanceImageMetadataCommandOutput>;
|
|
6460
|
+
describeInstanceImageMetadata(
|
|
6461
|
+
args: DescribeInstanceImageMetadataCommandInput,
|
|
6462
|
+
options?: __HttpHandlerOptions
|
|
6463
|
+
): Promise<DescribeInstanceImageMetadataCommandOutput>;
|
|
6464
|
+
describeInstanceImageMetadata(
|
|
6465
|
+
args: DescribeInstanceImageMetadataCommandInput,
|
|
6466
|
+
cb: (err: any, data?: DescribeInstanceImageMetadataCommandOutput) => void
|
|
6467
|
+
): void;
|
|
6468
|
+
describeInstanceImageMetadata(
|
|
6469
|
+
args: DescribeInstanceImageMetadataCommandInput,
|
|
6470
|
+
options: __HttpHandlerOptions,
|
|
6471
|
+
cb: (err: any, data?: DescribeInstanceImageMetadataCommandOutput) => void
|
|
6472
|
+
): void;
|
|
6455
6473
|
describeInstances(): Promise<DescribeInstancesCommandOutput>;
|
|
6456
6474
|
describeInstances(
|
|
6457
6475
|
args: DescribeInstancesCommandInput,
|
|
@@ -1145,6 +1145,10 @@ import {
|
|
|
1145
1145
|
DescribeInstanceEventWindowsCommandInput,
|
|
1146
1146
|
DescribeInstanceEventWindowsCommandOutput,
|
|
1147
1147
|
} from "./commands/DescribeInstanceEventWindowsCommand";
|
|
1148
|
+
import {
|
|
1149
|
+
DescribeInstanceImageMetadataCommandInput,
|
|
1150
|
+
DescribeInstanceImageMetadataCommandOutput,
|
|
1151
|
+
} from "./commands/DescribeInstanceImageMetadataCommand";
|
|
1148
1152
|
import {
|
|
1149
1153
|
DescribeInstancesCommandInput,
|
|
1150
1154
|
DescribeInstancesCommandOutput,
|
|
@@ -2860,6 +2864,7 @@ export type ServiceInputTypes =
|
|
|
2860
2864
|
| DescribeInstanceCreditSpecificationsCommandInput
|
|
2861
2865
|
| DescribeInstanceEventNotificationAttributesCommandInput
|
|
2862
2866
|
| DescribeInstanceEventWindowsCommandInput
|
|
2867
|
+
| DescribeInstanceImageMetadataCommandInput
|
|
2863
2868
|
| DescribeInstanceStatusCommandInput
|
|
2864
2869
|
| DescribeInstanceTopologyCommandInput
|
|
2865
2870
|
| DescribeInstanceTypeOfferingsCommandInput
|
|
@@ -3494,6 +3499,7 @@ export type ServiceOutputTypes =
|
|
|
3494
3499
|
| DescribeInstanceCreditSpecificationsCommandOutput
|
|
3495
3500
|
| DescribeInstanceEventNotificationAttributesCommandOutput
|
|
3496
3501
|
| DescribeInstanceEventWindowsCommandOutput
|
|
3502
|
+
| DescribeInstanceImageMetadataCommandOutput
|
|
3497
3503
|
| DescribeInstanceStatusCommandOutput
|
|
3498
3504
|
| DescribeInstanceTopologyCommandOutput
|
|
3499
3505
|
| DescribeInstanceTypeOfferingsCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
EC2ClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../EC2Client";
|
|
8
|
+
import {
|
|
9
|
+
DescribeInstanceImageMetadataRequest,
|
|
10
|
+
DescribeInstanceImageMetadataResult,
|
|
11
|
+
} from "../models/models_4";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DescribeInstanceImageMetadataCommandInput
|
|
15
|
+
extends DescribeInstanceImageMetadataRequest {}
|
|
16
|
+
export interface DescribeInstanceImageMetadataCommandOutput
|
|
17
|
+
extends DescribeInstanceImageMetadataResult,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DescribeInstanceImageMetadataCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DescribeInstanceImageMetadataCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DescribeInstanceImageMetadataCommandInput,
|
|
24
|
+
DescribeInstanceImageMetadataCommandOutput,
|
|
25
|
+
EC2ClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [DescribeInstanceImageMetadataCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DescribeInstanceImageMetadataCommandInput,
|
|
33
|
+
DescribeInstanceImageMetadataCommandOutput,
|
|
34
|
+
EC2ClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DescribeInstanceImageMetadataCommand extends DescribeInstanceImageMetadataCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DescribeInstanceImageMetadataRequest;
|
|
44
|
+
output: DescribeInstanceImageMetadataResult;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DescribeInstanceImageMetadataCommandInput;
|
|
48
|
+
output: DescribeInstanceImageMetadataCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
DescribeSpotFleetRequestHistoryResponse,
|
|
11
|
-
} from "../models/models_4";
|
|
8
|
+
import { DescribeSpotFleetRequestHistoryRequest } from "../models/models_4";
|
|
9
|
+
import { DescribeSpotFleetRequestHistoryResponse } from "../models/models_5";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface DescribeSpotFleetRequestHistoryCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DescribeSpotFleetRequestsRequest,
|
|
10
|
+
DescribeSpotFleetRequestsResponse,
|
|
11
|
+
} from "../models/models_5";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface DescribeSpotFleetRequestsCommandInput
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
GetEbsDefaultKmsKeyIdResult,
|
|
11
|
-
} from "../models/models_5";
|
|
8
|
+
import { GetEbsDefaultKmsKeyIdRequest } from "../models/models_5";
|
|
9
|
+
import { GetEbsDefaultKmsKeyIdResult } from "../models/models_6";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface GetEbsDefaultKmsKeyIdCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
GetEbsEncryptionByDefaultRequest,
|
|
10
10
|
GetEbsEncryptionByDefaultResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_6";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface GetEbsEncryptionByDefaultCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ModifyVpcEndpointConnectionNotificationRequest,
|
|
10
10
|
ModifyVpcEndpointConnectionNotificationResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_7";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ModifyVpcEndpointConnectionNotificationCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ModifyVpcEndpointServiceConfigurationRequest,
|
|
10
10
|
ModifyVpcEndpointServiceConfigurationResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_7";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ModifyVpcEndpointServiceConfigurationCommandInput
|
|
@@ -273,6 +273,7 @@ export * from "./DescribeInstanceConnectEndpointsCommand";
|
|
|
273
273
|
export * from "./DescribeInstanceCreditSpecificationsCommand";
|
|
274
274
|
export * from "./DescribeInstanceEventNotificationAttributesCommand";
|
|
275
275
|
export * from "./DescribeInstanceEventWindowsCommand";
|
|
276
|
+
export * from "./DescribeInstanceImageMetadataCommand";
|
|
276
277
|
export * from "./DescribeInstanceStatusCommand";
|
|
277
278
|
export * from "./DescribeInstanceTopologyCommand";
|
|
278
279
|
export * from "./DescribeInstanceTypeOfferingsCommand";
|
|
@@ -391,6 +391,52 @@ export interface DescribeInstanceEventWindowsResult {
|
|
|
391
391
|
InstanceEventWindows?: InstanceEventWindow[];
|
|
392
392
|
NextToken?: string;
|
|
393
393
|
}
|
|
394
|
+
export interface DescribeInstanceImageMetadataRequest {
|
|
395
|
+
Filters?: Filter[];
|
|
396
|
+
InstanceIds?: string[];
|
|
397
|
+
MaxResults?: number;
|
|
398
|
+
NextToken?: string;
|
|
399
|
+
DryRun?: boolean;
|
|
400
|
+
}
|
|
401
|
+
export interface ImageMetadata {
|
|
402
|
+
ImageId?: string;
|
|
403
|
+
Name?: string;
|
|
404
|
+
OwnerId?: string;
|
|
405
|
+
State?: ImageState;
|
|
406
|
+
ImageOwnerAlias?: string;
|
|
407
|
+
CreationDate?: string;
|
|
408
|
+
DeprecationTime?: string;
|
|
409
|
+
IsPublic?: boolean;
|
|
410
|
+
}
|
|
411
|
+
export declare const InstanceStateName: {
|
|
412
|
+
readonly pending: "pending";
|
|
413
|
+
readonly running: "running";
|
|
414
|
+
readonly shutting_down: "shutting-down";
|
|
415
|
+
readonly stopped: "stopped";
|
|
416
|
+
readonly stopping: "stopping";
|
|
417
|
+
readonly terminated: "terminated";
|
|
418
|
+
};
|
|
419
|
+
export type InstanceStateName =
|
|
420
|
+
(typeof InstanceStateName)[keyof typeof InstanceStateName];
|
|
421
|
+
export interface InstanceState {
|
|
422
|
+
Code?: number;
|
|
423
|
+
Name?: InstanceStateName;
|
|
424
|
+
}
|
|
425
|
+
export interface InstanceImageMetadata {
|
|
426
|
+
InstanceId?: string;
|
|
427
|
+
InstanceType?: _InstanceType;
|
|
428
|
+
LaunchTime?: Date;
|
|
429
|
+
AvailabilityZone?: string;
|
|
430
|
+
ZoneId?: string;
|
|
431
|
+
State?: InstanceState;
|
|
432
|
+
OwnerId?: string;
|
|
433
|
+
Tags?: Tag[];
|
|
434
|
+
ImageMetadata?: ImageMetadata;
|
|
435
|
+
}
|
|
436
|
+
export interface DescribeInstanceImageMetadataResult {
|
|
437
|
+
InstanceImageMetadata?: InstanceImageMetadata[];
|
|
438
|
+
NextToken?: string;
|
|
439
|
+
}
|
|
394
440
|
export interface DescribeInstancesRequest {
|
|
395
441
|
InstanceIds?: string[];
|
|
396
442
|
DryRun?: boolean;
|
|
@@ -562,20 +608,6 @@ export interface PrivateDnsNameOptionsResponse {
|
|
|
562
608
|
EnableResourceNameDnsARecord?: boolean;
|
|
563
609
|
EnableResourceNameDnsAAAARecord?: boolean;
|
|
564
610
|
}
|
|
565
|
-
export declare const InstanceStateName: {
|
|
566
|
-
readonly pending: "pending";
|
|
567
|
-
readonly running: "running";
|
|
568
|
-
readonly shutting_down: "shutting-down";
|
|
569
|
-
readonly stopped: "stopped";
|
|
570
|
-
readonly stopping: "stopping";
|
|
571
|
-
readonly terminated: "terminated";
|
|
572
|
-
};
|
|
573
|
-
export type InstanceStateName =
|
|
574
|
-
(typeof InstanceStateName)[keyof typeof InstanceStateName];
|
|
575
|
-
export interface InstanceState {
|
|
576
|
-
Code?: number;
|
|
577
|
-
Name?: InstanceStateName;
|
|
578
|
-
}
|
|
579
611
|
export interface Instance {
|
|
580
612
|
Architecture?: ArchitectureValues;
|
|
581
613
|
BlockDeviceMappings?: InstanceBlockDeviceMapping[];
|
|
@@ -2026,28 +2058,6 @@ export interface HistoryRecord {
|
|
|
2026
2058
|
EventType?: EventType;
|
|
2027
2059
|
Timestamp?: Date;
|
|
2028
2060
|
}
|
|
2029
|
-
export interface DescribeSpotFleetRequestHistoryResponse {
|
|
2030
|
-
HistoryRecords?: HistoryRecord[];
|
|
2031
|
-
LastEvaluatedTime?: Date;
|
|
2032
|
-
NextToken?: string;
|
|
2033
|
-
SpotFleetRequestId?: string;
|
|
2034
|
-
StartTime?: Date;
|
|
2035
|
-
}
|
|
2036
|
-
export interface DescribeSpotFleetRequestsRequest {
|
|
2037
|
-
DryRun?: boolean;
|
|
2038
|
-
SpotFleetRequestIds?: string[];
|
|
2039
|
-
NextToken?: string;
|
|
2040
|
-
MaxResults?: number;
|
|
2041
|
-
}
|
|
2042
|
-
export declare const ExcessCapacityTerminationPolicy: {
|
|
2043
|
-
readonly DEFAULT: "default";
|
|
2044
|
-
readonly NO_TERMINATION: "noTermination";
|
|
2045
|
-
};
|
|
2046
|
-
export type ExcessCapacityTerminationPolicy =
|
|
2047
|
-
(typeof ExcessCapacityTerminationPolicy)[keyof typeof ExcessCapacityTerminationPolicy];
|
|
2048
|
-
export interface SpotFleetMonitoring {
|
|
2049
|
-
Enabled?: boolean;
|
|
2050
|
-
}
|
|
2051
2061
|
export declare const SnapshotDetailFilterSensitiveLog: (
|
|
2052
2062
|
obj: SnapshotDetail
|
|
2053
2063
|
) => any;
|