@aws-sdk/client-ec2 3.448.0 → 3.449.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 (66) hide show
  1. package/dist-cjs/models/models_1.js +1 -16
  2. package/dist-cjs/models/models_2.js +17 -2
  3. package/dist-cjs/protocols/Aws_ec2.js +95 -0
  4. package/dist-es/models/models_1.js +0 -15
  5. package/dist-es/models/models_2.js +15 -0
  6. package/dist-es/protocols/Aws_ec2.js +95 -0
  7. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +6 -0
  8. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +12 -0
  9. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -2
  10. package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
  12. package/dist-types/commands/DeletePlacementGroupCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeInstancesCommand.d.ts +6 -0
  16. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +6 -0
  17. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +6 -0
  18. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +6 -0
  19. package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  22. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +6 -0
  23. package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +2 -1
  24. package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  25. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -2
  26. package/dist-types/commands/RequestSpotFleetCommand.d.ts +6 -0
  27. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +12 -0
  28. package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
  29. package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  30. package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  31. package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  32. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  33. package/dist-types/commands/RunInstancesCommand.d.ts +12 -0
  34. package/dist-types/models/models_0.d.ts +3 -2
  35. package/dist-types/models/models_1.d.ts +99 -99
  36. package/dist-types/models/models_2.d.ts +89 -71
  37. package/dist-types/models/models_3.d.ts +71 -126
  38. package/dist-types/models/models_4.d.ts +182 -240
  39. package/dist-types/models/models_5.d.ts +236 -180
  40. package/dist-types/models/models_6.d.ts +181 -130
  41. package/dist-types/models/models_7.d.ts +130 -3
  42. package/dist-types/ts3.4/commands/CreatePlacementGroupCommand.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/DeletePlacementGroupCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -2
  54. package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/models/models_1.d.ts +16 -28
  60. package/dist-types/ts3.4/models/models_2.d.ts +28 -19
  61. package/dist-types/ts3.4/models/models_3.d.ts +16 -18
  62. package/dist-types/ts3.4/models/models_4.d.ts +29 -36
  63. package/dist-types/ts3.4/models/models_5.d.ts +36 -36
  64. package/dist-types/ts3.4/models/models_6.d.ts +36 -29
  65. package/dist-types/ts3.4/models/models_7.d.ts +36 -1
  66. package/package.json +13 -13
@@ -1,9 +1,187 @@
1
- import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CapacityReservation, CapacityReservationInstancePlatform, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
1
+ import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CapacityReservation, CapacityReservationInstancePlatform, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, Ipv6SupportValue, PortRange, RouteTableAssociationState, SubnetAssociation, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, Placement, PlatformValues, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
3
+ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_3";
5
5
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
- import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayMulticastDomainAssociation, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
6
+ import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface GetSubnetCidrReservationsResult {
11
+ /**
12
+ * @public
13
+ * <p>Information about the IPv4 subnet CIDR reservations.</p>
14
+ */
15
+ SubnetIpv4CidrReservations?: SubnetCidrReservation[];
16
+ /**
17
+ * @public
18
+ * <p>Information about the IPv6 subnet CIDR reservations.</p>
19
+ */
20
+ SubnetIpv6CidrReservations?: SubnetCidrReservation[];
21
+ /**
22
+ * @public
23
+ * <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>
24
+ */
25
+ NextToken?: string;
26
+ }
27
+ /**
28
+ * @public
29
+ */
30
+ export interface GetTransitGatewayAttachmentPropagationsRequest {
31
+ /**
32
+ * @public
33
+ * <p>The ID of the attachment.</p>
34
+ */
35
+ TransitGatewayAttachmentId: string | undefined;
36
+ /**
37
+ * @public
38
+ * <p>One or more filters. The possible values are:</p>
39
+ * <ul>
40
+ * <li>
41
+ * <p>
42
+ * <code>transit-gateway-route-table-id</code> - The ID of the transit gateway route table.</p>
43
+ * </li>
44
+ * </ul>
45
+ */
46
+ Filters?: Filter[];
47
+ /**
48
+ * @public
49
+ * <p>The maximum number of results to return with a single call.
50
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
51
+ */
52
+ MaxResults?: number;
53
+ /**
54
+ * @public
55
+ * <p>The token for the next page of results.</p>
56
+ */
57
+ NextToken?: string;
58
+ /**
59
+ * @public
60
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
61
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
62
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
63
+ */
64
+ DryRun?: boolean;
65
+ }
66
+ /**
67
+ * @public
68
+ * <p>Describes a propagation route table.</p>
69
+ */
70
+ export interface TransitGatewayAttachmentPropagation {
71
+ /**
72
+ * @public
73
+ * <p>The ID of the propagation route table.</p>
74
+ */
75
+ TransitGatewayRouteTableId?: string;
76
+ /**
77
+ * @public
78
+ * <p>The state of the propagation route table.</p>
79
+ */
80
+ State?: TransitGatewayPropagationState;
81
+ }
82
+ /**
83
+ * @public
84
+ */
85
+ export interface GetTransitGatewayAttachmentPropagationsResult {
86
+ /**
87
+ * @public
88
+ * <p>Information about the propagation route tables.</p>
89
+ */
90
+ TransitGatewayAttachmentPropagations?: TransitGatewayAttachmentPropagation[];
91
+ /**
92
+ * @public
93
+ * <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>
94
+ */
95
+ NextToken?: string;
96
+ }
97
+ /**
98
+ * @public
99
+ */
100
+ export interface GetTransitGatewayMulticastDomainAssociationsRequest {
101
+ /**
102
+ * @public
103
+ * <p>The ID of the transit gateway multicast domain.</p>
104
+ */
105
+ TransitGatewayMulticastDomainId: string | undefined;
106
+ /**
107
+ * @public
108
+ * <p>One or more filters. The possible values are:</p>
109
+ * <ul>
110
+ * <li>
111
+ * <p>
112
+ * <code>resource-id</code> - The ID of the resource.</p>
113
+ * </li>
114
+ * <li>
115
+ * <p>
116
+ * <code>resource-type</code> - The type of resource. The valid value is: <code>vpc</code>.</p>
117
+ * </li>
118
+ * <li>
119
+ * <p>
120
+ * <code>state</code> - The state of the subnet association. Valid values are
121
+ * <code>associated</code> | <code>associating</code> |
122
+ * <code>disassociated</code> | <code>disassociating</code>.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>
126
+ * <code>subnet-id</code> - The ID of the subnet.</p>
127
+ * </li>
128
+ * <li>
129
+ * <p>
130
+ * <code>transit-gateway-attachment-id</code> - The id of the transit gateway attachment.</p>
131
+ * </li>
132
+ * </ul>
133
+ */
134
+ Filters?: Filter[];
135
+ /**
136
+ * @public
137
+ * <p>The maximum number of results to return with a single call.
138
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
139
+ */
140
+ MaxResults?: number;
141
+ /**
142
+ * @public
143
+ * <p>The token for the next page of results.</p>
144
+ */
145
+ NextToken?: string;
146
+ /**
147
+ * @public
148
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
149
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
150
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
151
+ */
152
+ DryRun?: boolean;
153
+ }
154
+ /**
155
+ * @public
156
+ * <p>Describes the resources associated with the transit gateway multicast domain.</p>
157
+ */
158
+ export interface TransitGatewayMulticastDomainAssociation {
159
+ /**
160
+ * @public
161
+ * <p>The ID of the transit gateway attachment.</p>
162
+ */
163
+ TransitGatewayAttachmentId?: string;
164
+ /**
165
+ * @public
166
+ * <p>The ID of the resource.</p>
167
+ */
168
+ ResourceId?: string;
169
+ /**
170
+ * @public
171
+ * <p>The type of resource, for example a VPC attachment.</p>
172
+ */
173
+ ResourceType?: TransitGatewayAttachmentResourceType;
174
+ /**
175
+ * @public
176
+ * <p> The ID of the Amazon Web Services account that owns the transit gateway multicast domain association resource.</p>
177
+ */
178
+ ResourceOwnerId?: string;
179
+ /**
180
+ * @public
181
+ * <p>The subnet associated with the transit gateway multicast domain.</p>
182
+ */
183
+ Subnet?: SubnetAssociation;
184
+ }
7
185
  /**
8
186
  * @public
9
187
  */
@@ -7856,133 +8034,6 @@ export declare const ResetImageAttributeName: {
7856
8034
  * @public
7857
8035
  */
7858
8036
  export type ResetImageAttributeName = (typeof ResetImageAttributeName)[keyof typeof ResetImageAttributeName];
7859
- /**
7860
- * @public
7861
- * <p>Contains the parameters for ResetImageAttribute.</p>
7862
- */
7863
- export interface ResetImageAttributeRequest {
7864
- /**
7865
- * @public
7866
- * <p>The attribute to reset (currently you can only reset the launch permission attribute).</p>
7867
- */
7868
- Attribute: ResetImageAttributeName | undefined;
7869
- /**
7870
- * @public
7871
- * <p>The ID of the AMI.</p>
7872
- */
7873
- ImageId: string | undefined;
7874
- /**
7875
- * @public
7876
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7877
- * and provides an error response. If you have the required permissions, the error response is
7878
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7879
- */
7880
- DryRun?: boolean;
7881
- }
7882
- /**
7883
- * @public
7884
- */
7885
- export interface ResetInstanceAttributeRequest {
7886
- /**
7887
- * @public
7888
- * <p>The attribute to reset.</p>
7889
- * <important>
7890
- * <p>You can only reset the following attributes: <code>kernel</code> |
7891
- * <code>ramdisk</code> | <code>sourceDestCheck</code>.</p>
7892
- * </important>
7893
- */
7894
- Attribute: InstanceAttributeName | undefined;
7895
- /**
7896
- * @public
7897
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7898
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7899
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7900
- */
7901
- DryRun?: boolean;
7902
- /**
7903
- * @public
7904
- * <p>The ID of the instance.</p>
7905
- */
7906
- InstanceId: string | undefined;
7907
- }
7908
- /**
7909
- * @public
7910
- * <p>Contains the parameters for ResetNetworkInterfaceAttribute.</p>
7911
- */
7912
- export interface ResetNetworkInterfaceAttributeRequest {
7913
- /**
7914
- * @public
7915
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7916
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7917
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7918
- */
7919
- DryRun?: boolean;
7920
- /**
7921
- * @public
7922
- * <p>The ID of the network interface.</p>
7923
- */
7924
- NetworkInterfaceId: string | undefined;
7925
- /**
7926
- * @public
7927
- * <p>The source/destination checking attribute. Resets the value to <code>true</code>.</p>
7928
- */
7929
- SourceDestCheck?: string;
7930
- }
7931
- /**
7932
- * @public
7933
- */
7934
- export interface ResetSnapshotAttributeRequest {
7935
- /**
7936
- * @public
7937
- * <p>The attribute to reset. Currently, only the attribute for permission to create volumes can
7938
- * be reset.</p>
7939
- */
7940
- Attribute: SnapshotAttributeName | undefined;
7941
- /**
7942
- * @public
7943
- * <p>The ID of the snapshot.</p>
7944
- */
7945
- SnapshotId: string | undefined;
7946
- /**
7947
- * @public
7948
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7949
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7950
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7951
- */
7952
- DryRun?: boolean;
7953
- }
7954
- /**
7955
- * @public
7956
- */
7957
- export interface RestoreAddressToClassicRequest {
7958
- /**
7959
- * @public
7960
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7961
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7962
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7963
- */
7964
- DryRun?: boolean;
7965
- /**
7966
- * @public
7967
- * <p>The Elastic IP address.</p>
7968
- */
7969
- PublicIp: string | undefined;
7970
- }
7971
- /**
7972
- * @public
7973
- */
7974
- export interface RestoreAddressToClassicResult {
7975
- /**
7976
- * @public
7977
- * <p>The Elastic IP address.</p>
7978
- */
7979
- PublicIp?: string;
7980
- /**
7981
- * @public
7982
- * <p>The move status for the IP address.</p>
7983
- */
7984
- Status?: Status;
7985
- }
7986
8037
  /**
7987
8038
  * @internal
7988
8039
  */
@@ -1,9 +1,136 @@
1
1
  import { _InstanceType, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
2
2
  import { AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
3
  import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
4
- import { ClientVpnConnectionStatus, Filter } from "./models_3";
5
- import { HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled } from "./models_4";
6
- import { CapacityReservationSpecification, InstanceMonitoring } from "./models_6";
4
+ import { ClientVpnConnectionStatus, Filter, InstanceAttributeName } from "./models_3";
5
+ import { HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, SnapshotAttributeName } from "./models_4";
6
+ import { CapacityReservationSpecification, InstanceMonitoring, ResetImageAttributeName, Status } from "./models_6";
7
+ /**
8
+ * @public
9
+ * <p>Contains the parameters for ResetImageAttribute.</p>
10
+ */
11
+ export interface ResetImageAttributeRequest {
12
+ /**
13
+ * @public
14
+ * <p>The attribute to reset (currently you can only reset the launch permission attribute).</p>
15
+ */
16
+ Attribute: ResetImageAttributeName | undefined;
17
+ /**
18
+ * @public
19
+ * <p>The ID of the AMI.</p>
20
+ */
21
+ ImageId: string | undefined;
22
+ /**
23
+ * @public
24
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
25
+ * and provides an error response. If you have the required permissions, the error response is
26
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
27
+ */
28
+ DryRun?: boolean;
29
+ }
30
+ /**
31
+ * @public
32
+ */
33
+ export interface ResetInstanceAttributeRequest {
34
+ /**
35
+ * @public
36
+ * <p>The attribute to reset.</p>
37
+ * <important>
38
+ * <p>You can only reset the following attributes: <code>kernel</code> |
39
+ * <code>ramdisk</code> | <code>sourceDestCheck</code>.</p>
40
+ * </important>
41
+ */
42
+ Attribute: InstanceAttributeName | undefined;
43
+ /**
44
+ * @public
45
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
46
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
47
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
48
+ */
49
+ DryRun?: boolean;
50
+ /**
51
+ * @public
52
+ * <p>The ID of the instance.</p>
53
+ */
54
+ InstanceId: string | undefined;
55
+ }
56
+ /**
57
+ * @public
58
+ * <p>Contains the parameters for ResetNetworkInterfaceAttribute.</p>
59
+ */
60
+ export interface ResetNetworkInterfaceAttributeRequest {
61
+ /**
62
+ * @public
63
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
64
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
65
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
66
+ */
67
+ DryRun?: boolean;
68
+ /**
69
+ * @public
70
+ * <p>The ID of the network interface.</p>
71
+ */
72
+ NetworkInterfaceId: string | undefined;
73
+ /**
74
+ * @public
75
+ * <p>The source/destination checking attribute. Resets the value to <code>true</code>.</p>
76
+ */
77
+ SourceDestCheck?: string;
78
+ }
79
+ /**
80
+ * @public
81
+ */
82
+ export interface ResetSnapshotAttributeRequest {
83
+ /**
84
+ * @public
85
+ * <p>The attribute to reset. Currently, only the attribute for permission to create volumes can
86
+ * be reset.</p>
87
+ */
88
+ Attribute: SnapshotAttributeName | undefined;
89
+ /**
90
+ * @public
91
+ * <p>The ID of the snapshot.</p>
92
+ */
93
+ SnapshotId: string | undefined;
94
+ /**
95
+ * @public
96
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
97
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
98
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
99
+ */
100
+ DryRun?: boolean;
101
+ }
102
+ /**
103
+ * @public
104
+ */
105
+ export interface RestoreAddressToClassicRequest {
106
+ /**
107
+ * @public
108
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
109
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
110
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
111
+ */
112
+ DryRun?: boolean;
113
+ /**
114
+ * @public
115
+ * <p>The Elastic IP address.</p>
116
+ */
117
+ PublicIp: string | undefined;
118
+ }
119
+ /**
120
+ * @public
121
+ */
122
+ export interface RestoreAddressToClassicResult {
123
+ /**
124
+ * @public
125
+ * <p>The Elastic IP address.</p>
126
+ */
127
+ PublicIp?: string;
128
+ /**
129
+ * @public
130
+ * <p>The move status for the IP address.</p>
131
+ */
132
+ Status?: Status;
133
+ }
7
134
  /**
8
135
  * @public
9
136
  */
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { CreatePlacementGroupRequest } from "../models/models_1";
15
- import { CreatePlacementGroupResult } from "../models/models_2";
14
+ import {
15
+ CreatePlacementGroupRequest,
16
+ CreatePlacementGroupResult,
17
+ } from "../models/models_2";
16
18
  export { __MetadataBearer, $Command };
17
19
  export interface CreatePlacementGroupCommandInput
18
20
  extends CreatePlacementGroupRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { DeleteNetworkInterfaceRequest } from "../models/models_2";
14
+ import { DeleteNetworkInterfaceRequest } from "../models/models_3";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface DeleteNetworkInterfaceCommandInput
17
17
  extends DeleteNetworkInterfaceRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DeleteNetworkInterfacePermissionRequest,
16
16
  DeleteNetworkInterfacePermissionResult,
17
- } from "../models/models_2";
17
+ } from "../models/models_3";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DeleteNetworkInterfacePermissionCommandInput
20
20
  extends DeleteNetworkInterfacePermissionRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { DeletePlacementGroupRequest } from "../models/models_2";
14
+ import { DeletePlacementGroupRequest } from "../models/models_3";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface DeletePlacementGroupCommandInput
17
17
  extends DeletePlacementGroupRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeInstanceEventNotificationAttributesRequest,
16
16
  DescribeInstanceEventNotificationAttributesResult,
17
- } from "../models/models_3";
17
+ } from "../models/models_4";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeInstanceEventNotificationAttributesCommandInput
20
20
  extends DescribeInstanceEventNotificationAttributesRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeInstanceEventWindowsRequest,
16
16
  DescribeInstanceEventWindowsResult,
17
- } from "../models/models_3";
17
+ } from "../models/models_4";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeInstanceEventWindowsCommandInput
20
20
  extends DescribeInstanceEventWindowsRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeTransitGatewayRouteTablesRequest,
16
16
  DescribeTransitGatewayRouteTablesResult,
17
- } from "../models/models_4";
17
+ } from "../models/models_5";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeTransitGatewayRouteTablesCommandInput
20
20
  extends DescribeTransitGatewayRouteTablesRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeTransitGatewayVpcAttachmentsRequest,
16
16
  DescribeTransitGatewayVpcAttachmentsResult,
17
- } from "../models/models_4";
17
+ } from "../models/models_5";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeTransitGatewayVpcAttachmentsCommandInput
20
20
  extends DescribeTransitGatewayVpcAttachmentsRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeTransitGatewaysRequest,
16
16
  DescribeTransitGatewaysResult,
17
- } from "../models/models_4";
17
+ } from "../models/models_5";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeTransitGatewaysCommandInput
20
20
  extends DescribeTransitGatewaysRequest {}
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- GetSubnetCidrReservationsRequest,
16
- GetSubnetCidrReservationsResult,
17
- } from "../models/models_5";
14
+ import { GetSubnetCidrReservationsRequest } from "../models/models_5";
15
+ import { GetSubnetCidrReservationsResult } from "../models/models_6";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface GetSubnetCidrReservationsCommandInput
20
18
  extends GetSubnetCidrReservationsRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  GetTransitGatewayAttachmentPropagationsRequest,
16
16
  GetTransitGatewayAttachmentPropagationsResult,
17
- } from "../models/models_5";
17
+ } from "../models/models_6";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface GetTransitGatewayAttachmentPropagationsCommandInput
20
20
  extends GetTransitGatewayAttachmentPropagationsRequest {}
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { GetTransitGatewayMulticastDomainAssociationsRequest } from "../models/models_5";
15
- import { GetTransitGatewayMulticastDomainAssociationsResult } from "../models/models_6";
14
+ import {
15
+ GetTransitGatewayMulticastDomainAssociationsRequest,
16
+ GetTransitGatewayMulticastDomainAssociationsResult,
17
+ } from "../models/models_6";
16
18
  export { __MetadataBearer, $Command };
17
19
  export interface GetTransitGatewayMulticastDomainAssociationsCommandInput
18
20
  extends GetTransitGatewayMulticastDomainAssociationsRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { ResetImageAttributeRequest } from "../models/models_6";
14
+ import { ResetImageAttributeRequest } from "../models/models_7";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface ResetImageAttributeCommandInput
17
17
  extends ResetImageAttributeRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { ResetInstanceAttributeRequest } from "../models/models_6";
14
+ import { ResetInstanceAttributeRequest } from "../models/models_7";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface ResetInstanceAttributeCommandInput
17
17
  extends ResetInstanceAttributeRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { ResetNetworkInterfaceAttributeRequest } from "../models/models_6";
14
+ import { ResetNetworkInterfaceAttributeRequest } from "../models/models_7";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface ResetNetworkInterfaceAttributeCommandInput
17
17
  extends ResetNetworkInterfaceAttributeRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { ResetSnapshotAttributeRequest } from "../models/models_6";
14
+ import { ResetSnapshotAttributeRequest } from "../models/models_7";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface ResetSnapshotAttributeCommandInput
17
17
  extends ResetSnapshotAttributeRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  RestoreAddressToClassicRequest,
16
16
  RestoreAddressToClassicResult,
17
- } from "../models/models_6";
17
+ } from "../models/models_7";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface RestoreAddressToClassicCommandInput
20
20
  extends RestoreAddressToClassicRequest {}