@aws-sdk/client-ec2 3.677.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.
Files changed (72) hide show
  1. package/README.md +9 -1
  2. package/dist-cjs/index.js +216 -23
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/DescribeInstanceImageMetadataCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_1.js +36 -0
  7. package/dist-es/models/models_4.js +8 -12
  8. package/dist-es/models/models_5.js +4 -6
  9. package/dist-es/models/models_6.js +6 -0
  10. package/dist-es/pagination/DescribeInstanceImageMetadataPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_ec2.js +140 -2
  13. package/dist-types/EC2.d.ts +8 -0
  14. package/dist-types/EC2Client.d.ts +3 -2
  15. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  16. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  17. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  19. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  21. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +132 -0
  22. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  24. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  29. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +3 -4
  31. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  33. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
  34. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  35. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  36. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  37. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  38. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  39. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  40. package/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  41. package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  42. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  43. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
  44. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  45. package/dist-types/commands/index.d.ts +1 -0
  46. package/dist-types/models/models_1.d.ts +87 -15
  47. package/dist-types/models/models_4.d.ts +274 -167
  48. package/dist-types/models/models_5.d.ts +96 -53
  49. package/dist-types/models/models_6.d.ts +54 -117
  50. package/dist-types/models/models_7.d.ts +114 -0
  51. package/dist-types/pagination/DescribeInstanceImageMetadataPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +1 -0
  53. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  54. package/dist-types/ts3.4/EC2.d.ts +18 -0
  55. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  56. package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -4
  60. package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  64. package/dist-types/ts3.4/models/models_1.d.ts +36 -0
  65. package/dist-types/ts3.4/models/models_4.d.ts +46 -36
  66. package/dist-types/ts3.4/models/models_5.d.ts +23 -21
  67. package/dist-types/ts3.4/models/models_6.d.ts +20 -27
  68. package/dist-types/ts3.4/models/models_7.d.ts +25 -0
  69. package/dist-types/ts3.4/pagination/DescribeInstanceImageMetadataPaginator.d.ts +11 -0
  70. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  71. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  72. package/package.json +15 -15
@@ -1,8 +1,102 @@
1
1
  import { ActivityStatus, AddressTransfer, AllocationStrategy, AllowedPrincipal, AsnAssociation, AssociationStatus, BatchState, CapacityReservationState, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, NatGatewayAddress, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
2
  import { _InstanceType, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, DiskImageFormat, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
3
- import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SpotInstanceStateFault, SSEType, State, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
3
+ import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SpotInstanceStateFault, State, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, PeriodType, ProductCode, StatisticType } from "./models_3";
5
- import { AttributeBooleanValue, ExcessCapacityTerminationPolicy, RIProductDescription, SpotFleetMonitoring } from "./models_4";
5
+ import { AttributeBooleanValue, HistoryRecord, RIProductDescription } from "./models_4";
6
+ /**
7
+ * <p>Contains the output of DescribeSpotFleetRequestHistory.</p>
8
+ * @public
9
+ */
10
+ export interface DescribeSpotFleetRequestHistoryResponse {
11
+ /**
12
+ * <p>Information about the events in the history of the Spot Fleet request.</p>
13
+ * @public
14
+ */
15
+ HistoryRecords?: HistoryRecord[];
16
+ /**
17
+ * <p>The last date and time for the events, in UTC format (for example,
18
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
19
+ * All records up to this time were retrieved.</p>
20
+ * <p>If <code>nextToken</code> indicates that there are more items, this value is not
21
+ * present.</p>
22
+ * @public
23
+ */
24
+ LastEvaluatedTime?: Date;
25
+ /**
26
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
27
+ * are no more items to return.</p>
28
+ * @public
29
+ */
30
+ NextToken?: string;
31
+ /**
32
+ * <p>The ID of the Spot Fleet request.</p>
33
+ * @public
34
+ */
35
+ SpotFleetRequestId?: string;
36
+ /**
37
+ * <p>The starting date and time for the events, in UTC format (for example,
38
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
39
+ * @public
40
+ */
41
+ StartTime?: Date;
42
+ }
43
+ /**
44
+ * <p>Contains the parameters for DescribeSpotFleetRequests.</p>
45
+ * @public
46
+ */
47
+ export interface DescribeSpotFleetRequestsRequest {
48
+ /**
49
+ * <p>Checks whether you have the required permissions for the action, without actually
50
+ * making the request, and provides an error response. If you have the required
51
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
52
+ * <code>UnauthorizedOperation</code>.</p>
53
+ * @public
54
+ */
55
+ DryRun?: boolean;
56
+ /**
57
+ * <p>The IDs of the Spot Fleet requests.</p>
58
+ * @public
59
+ */
60
+ SpotFleetRequestIds?: string[];
61
+ /**
62
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
63
+ * are no more items to return.</p>
64
+ * @public
65
+ */
66
+ NextToken?: string;
67
+ /**
68
+ * <p>The maximum number of items to return for this request.
69
+ * To get the next page of items, make another request with the token returned in the output.
70
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
71
+ * @public
72
+ */
73
+ MaxResults?: number;
74
+ }
75
+ /**
76
+ * @public
77
+ * @enum
78
+ */
79
+ export declare const ExcessCapacityTerminationPolicy: {
80
+ readonly DEFAULT: "default";
81
+ readonly NO_TERMINATION: "noTermination";
82
+ };
83
+ /**
84
+ * @public
85
+ */
86
+ export type ExcessCapacityTerminationPolicy = (typeof ExcessCapacityTerminationPolicy)[keyof typeof ExcessCapacityTerminationPolicy];
87
+ /**
88
+ * <p>Describes whether monitoring is enabled.</p>
89
+ * @public
90
+ */
91
+ export interface SpotFleetMonitoring {
92
+ /**
93
+ * <p>Enables monitoring for the instance.</p>
94
+ * <p>Default: <code>false</code>
95
+ * </p>
96
+ * @public
97
+ */
98
+ Enabled?: boolean;
99
+ }
6
100
  /**
7
101
  * <p>Describes a network interface.</p>
8
102
  * @public
@@ -8606,57 +8700,6 @@ export interface GetEbsDefaultKmsKeyIdRequest {
8606
8700
  */
8607
8701
  DryRun?: boolean;
8608
8702
  }
8609
- /**
8610
- * @public
8611
- */
8612
- export interface GetEbsDefaultKmsKeyIdResult {
8613
- /**
8614
- * <p>The Amazon Resource Name (ARN) of the default KMS key for encryption by default.</p>
8615
- * @public
8616
- */
8617
- KmsKeyId?: string;
8618
- }
8619
- /**
8620
- * @public
8621
- */
8622
- export interface GetEbsEncryptionByDefaultRequest {
8623
- /**
8624
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8625
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8626
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8627
- * @public
8628
- */
8629
- DryRun?: boolean;
8630
- }
8631
- /**
8632
- * @public
8633
- */
8634
- export interface GetEbsEncryptionByDefaultResult {
8635
- /**
8636
- * <p>Indicates whether encryption by default is enabled.</p>
8637
- * @public
8638
- */
8639
- EbsEncryptionByDefault?: boolean;
8640
- /**
8641
- * <p>Reserved for future use.</p>
8642
- * @public
8643
- */
8644
- SseType?: SSEType;
8645
- }
8646
- /**
8647
- * @public
8648
- * @enum
8649
- */
8650
- export declare const PartitionLoadFrequency: {
8651
- readonly DAILY: "daily";
8652
- readonly MONTHLY: "monthly";
8653
- readonly NONE: "none";
8654
- readonly WEEKLY: "weekly";
8655
- };
8656
- /**
8657
- * @public
8658
- */
8659
- export type PartitionLoadFrequency = (typeof PartitionLoadFrequency)[keyof typeof PartitionLoadFrequency];
8660
8703
  /**
8661
8704
  * @internal
8662
8705
  */
@@ -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, ExcessCapacityTerminationPolicy, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, LockState, ReservedInstancesConfiguration, SnapshotAttributeName, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
6
- import { InstanceFamilyCreditSpecification, LaunchTemplateConfig, PartitionLoadFrequency, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
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
- DescribeSpotFleetRequestHistoryRequest,
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 { DescribeSpotFleetRequestsRequest } from "../models/models_4";
9
- import { DescribeSpotFleetRequestsResponse } from "../models/models_5";
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
- GetEbsDefaultKmsKeyIdRequest,
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