@aws-sdk/client-ec2 3.813.0 → 3.815.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 (64) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +361 -229
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +1 -1
  5. package/dist-es/commands/ModifyPublicIpDnsNameOptionsCommand.js +22 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_2.js +0 -4
  8. package/dist-es/models/models_3.js +4 -3
  9. package/dist-es/models/models_4.js +11 -7
  10. package/dist-es/models/models_5.js +7 -0
  11. package/dist-es/models/models_7.js +5 -0
  12. package/dist-es/protocols/Aws_ec2.js +101 -6
  13. package/dist-types/EC2.d.ts +7 -0
  14. package/dist-types/EC2Client.d.ts +3 -2
  15. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +8 -0
  16. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +34 -19
  17. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -0
  18. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
  19. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +8 -0
  22. package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
  23. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +1 -2
  24. package/dist-types/commands/DisassociateAddressCommand.d.ts +12 -0
  25. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -1
  26. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -2
  27. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +4 -0
  28. package/dist-types/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +74 -0
  29. package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  30. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
  31. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -2
  32. package/dist-types/commands/RunInstancesCommand.d.ts +1 -0
  33. package/dist-types/commands/TerminateInstancesCommand.d.ts +4 -4
  34. package/dist-types/commands/index.d.ts +1 -0
  35. package/dist-types/models/models_2.d.ts +42 -13
  36. package/dist-types/models/models_3.d.ts +13 -12
  37. package/dist-types/models/models_4.d.ts +75 -193
  38. package/dist-types/models/models_5.d.ts +191 -105
  39. package/dist-types/models/models_6.d.ts +105 -97
  40. package/dist-types/models/models_7.d.ts +206 -109
  41. package/dist-types/models/models_8.d.ts +107 -1
  42. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  43. package/dist-types/ts3.4/EC2.d.ts +17 -0
  44. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  45. package/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DetachClassicLinkVpcCommand.d.ts +4 -2
  49. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +4 -2
  51. package/dist-types/ts3.4/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ReplaceNetworkAclAssociationCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  56. package/dist-types/ts3.4/models/models_2.d.ts +9 -6
  57. package/dist-types/ts3.4/models/models_3.d.ts +6 -6
  58. package/dist-types/ts3.4/models/models_4.d.ts +19 -26
  59. package/dist-types/ts3.4/models/models_5.d.ts +25 -14
  60. package/dist-types/ts3.4/models/models_6.d.ts +14 -17
  61. package/dist-types/ts3.4/models/models_7.d.ts +36 -24
  62. package/dist-types/ts3.4/models/models_8.d.ts +23 -0
  63. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  64. package/package.json +1 -1
@@ -1,10 +1,106 @@
1
- import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, Ipv6SupportValue, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
1
+ import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, HostMaintenance, HostRecovery, InstanceEventWindow, Ipv6SupportValue, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { _InstanceType, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceBandwidthWeighting, InstanceEventWindowTimeRangeRequest, InstanceMatchCriteria, Ipam, IpamMeteredAccount, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, Placement, PlatformValues, RequestIpamResourceTag, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, InternetGatewayExclusionMode, IpAddressType, LocalGatewayRoute, ManagedPrefixList, RouteServer, RouteServerPersistRoutesAction, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnEcmpSupportValue } from "./models_2";
4
4
  import { Byoasn, CapacityBlockExtension, Filter, IKEVersionsRequestListValue, InstanceTagNotificationAttribute, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_3";
5
- import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, Monitoring, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_4";
5
+ import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStatusEvent, LaunchPermission, Monitoring, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_4";
6
6
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InternetGatewayBlockMode, LaunchTemplateConfig, LockState, PublicIpv4PoolRange, ReservedInstancesConfiguration, ScheduledInstance, SnapshotAttributeName, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
7
- import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily } from "./models_6";
7
+ import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPolicyRule, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily } from "./models_6";
8
+ /**
9
+ * <p>Describes a transit gateway policy table entry</p>
10
+ * @public
11
+ */
12
+ export interface TransitGatewayPolicyTableEntry {
13
+ /**
14
+ * <p>The rule number for the transit gateway policy table entry.</p>
15
+ * @public
16
+ */
17
+ PolicyRuleNumber?: string | undefined;
18
+ /**
19
+ * <p>The policy rule associated with the transit gateway policy table.</p>
20
+ * @public
21
+ */
22
+ PolicyRule?: TransitGatewayPolicyRule | undefined;
23
+ /**
24
+ * <p>The ID of the target route table.</p>
25
+ * @public
26
+ */
27
+ TargetRouteTableId?: string | undefined;
28
+ }
29
+ /**
30
+ * @public
31
+ */
32
+ export interface GetTransitGatewayPolicyTableEntriesResult {
33
+ /**
34
+ * <p>The entries for the transit gateway policy table.</p>
35
+ * @public
36
+ */
37
+ TransitGatewayPolicyTableEntries?: TransitGatewayPolicyTableEntry[] | undefined;
38
+ }
39
+ /**
40
+ * @public
41
+ */
42
+ export interface GetTransitGatewayPrefixListReferencesRequest {
43
+ /**
44
+ * <p>The ID of the transit gateway route table.</p>
45
+ * @public
46
+ */
47
+ TransitGatewayRouteTableId: string | undefined;
48
+ /**
49
+ * <p>One or more filters. The possible values are:</p>
50
+ * <ul>
51
+ * <li>
52
+ * <p>
53
+ * <code>attachment.resource-id</code> - The ID of the resource for the attachment.</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>
57
+ * <code>attachment.resource-type</code> - The type of resource for the
58
+ * attachment. Valid values are <code>vpc</code> | <code>vpn</code> |
59
+ * <code>direct-connect-gateway</code> | <code>peering</code>.</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>
63
+ * <code>attachment.transit-gateway-attachment-id</code> - The ID of the attachment.</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>
67
+ * <code>is-blackhole</code> - Whether traffic matching the route is blocked (<code>true</code> | <code>false</code>).</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>
71
+ * <code>prefix-list-id</code> - The ID of the prefix list.</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>
75
+ * <code>prefix-list-owner-id</code> - The ID of the owner of the prefix list.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>
79
+ * <code>state</code> - The state of the prefix list reference (<code>pending</code> | <code>available</code> | <code>modifying</code> | <code>deleting</code>).</p>
80
+ * </li>
81
+ * </ul>
82
+ * @public
83
+ */
84
+ Filters?: Filter[] | undefined;
85
+ /**
86
+ * <p>The maximum number of results to return with a single call.
87
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
88
+ * @public
89
+ */
90
+ MaxResults?: number | undefined;
91
+ /**
92
+ * <p>The token for the next page of results.</p>
93
+ * @public
94
+ */
95
+ NextToken?: string | undefined;
96
+ /**
97
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
98
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
99
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
100
+ * @public
101
+ */
102
+ DryRun?: boolean | undefined;
103
+ }
8
104
  /**
9
105
  * @public
10
106
  */
@@ -3013,6 +3109,30 @@ export interface ModifyInstanceMaintenanceOptionsRequest {
3013
3109
  * @public
3014
3110
  */
3015
3111
  AutoRecovery?: InstanceAutoRecoveryState | undefined;
3112
+ /**
3113
+ * <p>Specifies whether to attempt reboot migration during a user-initiated reboot of an
3114
+ * instance that has a scheduled <code>system-reboot</code> event:</p>
3115
+ * <ul>
3116
+ * <li>
3117
+ * <p>
3118
+ * <code>default</code> - Amazon EC2 attempts to migrate the instance to
3119
+ * new hardware (reboot migration). If successful, the <code>system-reboot</code>
3120
+ * event is cleared. If unsuccessful, an in-place reboot occurs and the event
3121
+ * remains scheduled.</p>
3122
+ * </li>
3123
+ * <li>
3124
+ * <p>
3125
+ * <code>disabled</code> - Amazon EC2 keeps the instance on the same
3126
+ * hardware (in-place reboot). The <code>system-reboot</code> event remains
3127
+ * scheduled.</p>
3128
+ * </li>
3129
+ * </ul>
3130
+ * <p>This setting only applies to supported instances that have a scheduled reboot event.
3131
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration">Enable or disable reboot migration</a> in the
3132
+ * <i>Amazon EC2 User Guide</i>.</p>
3133
+ * @public
3134
+ */
3135
+ RebootMigration?: InstanceRebootMigrationState | undefined;
3016
3136
  /**
3017
3137
  * <p>Checks whether you have the required permissions for the action, without actually
3018
3138
  * making the request, and provides an error response. If you have the required
@@ -3037,6 +3157,30 @@ export interface ModifyInstanceMaintenanceOptionsResult {
3037
3157
  * @public
3038
3158
  */
3039
3159
  AutoRecovery?: InstanceAutoRecoveryState | undefined;
3160
+ /**
3161
+ * <p>Specifies whether to attempt reboot migration during a user-initiated reboot of an
3162
+ * instance that has a scheduled <code>system-reboot</code> event:</p>
3163
+ * <ul>
3164
+ * <li>
3165
+ * <p>
3166
+ * <code>default</code> - Amazon EC2 attempts to migrate the instance to
3167
+ * new hardware (reboot migration). If successful, the <code>system-reboot</code>
3168
+ * event is cleared. If unsuccessful, an in-place reboot occurs and the event
3169
+ * remains scheduled.</p>
3170
+ * </li>
3171
+ * <li>
3172
+ * <p>
3173
+ * <code>disabled</code> - Amazon EC2 keeps the instance on the same
3174
+ * hardware (in-place reboot). The <code>system-reboot</code> event remains
3175
+ * scheduled.</p>
3176
+ * </li>
3177
+ * </ul>
3178
+ * <p>This setting only applies to supported instances that have a scheduled reboot event.
3179
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration">Enable or disable reboot migration</a> in the
3180
+ * <i>Amazon EC2 User Guide</i>.</p>
3181
+ * @public
3182
+ */
3183
+ RebootMigration?: InstanceRebootMigrationState | undefined;
3040
3184
  }
3041
3185
  /**
3042
3186
  * @public
@@ -4052,6 +4196,65 @@ export interface ModifyPrivateDnsNameOptionsResult {
4052
4196
  */
4053
4197
  Return?: boolean | undefined;
4054
4198
  }
4199
+ /**
4200
+ * @public
4201
+ * @enum
4202
+ */
4203
+ export declare const PublicIpDnsOption: {
4204
+ readonly public_dual_stack_dns_name: "public-dual-stack-dns-name";
4205
+ readonly public_ipv4_dns_name: "public-ipv4-dns-name";
4206
+ readonly public_ipv6_dns_name: "public-ipv6-dns-name";
4207
+ };
4208
+ /**
4209
+ * @public
4210
+ */
4211
+ export type PublicIpDnsOption = (typeof PublicIpDnsOption)[keyof typeof PublicIpDnsOption];
4212
+ /**
4213
+ * @public
4214
+ */
4215
+ export interface ModifyPublicIpDnsNameOptionsRequest {
4216
+ /**
4217
+ * <p>A network interface ID.</p>
4218
+ * @public
4219
+ */
4220
+ NetworkInterfaceId: string | undefined;
4221
+ /**
4222
+ * <p>The public hostname type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html">EC2 instance hostnames, DNS names, and domains</a> in the <i>Amazon EC2 User Guide</i>.</p>
4223
+ * <ul>
4224
+ * <li>
4225
+ * <p>
4226
+ * <code>public-dual-stack-dns-name</code>: A dual-stack public hostname for a network interface. Requests from within the VPC resolve to both the private IPv4 address and the IPv6 Global Unicast Address of the network interface. Requests from the internet resolve to both the public IPv4 and the IPv6 GUA address of the network interface.</p>
4227
+ * </li>
4228
+ * <li>
4229
+ * <p>
4230
+ * <code>public-ipv4-dns-name</code>: An IPv4-enabled public hostname for a network interface. Requests from within the VPC resolve to the private primary IPv4 address of the network interface. Requests from the internet resolve to the public IPv4 address of the network interface.</p>
4231
+ * </li>
4232
+ * <li>
4233
+ * <p>
4234
+ * <code>public-ipv6-dns-name</code>: An IPv6-enabled public hostname for a network interface. Requests from within the VPC or from the internet resolve to the IPv6 GUA of the network interface. </p>
4235
+ * </li>
4236
+ * </ul>
4237
+ * @public
4238
+ */
4239
+ HostnameType: PublicIpDnsOption | undefined;
4240
+ /**
4241
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
4242
+ * request, and provides an error response. If you have the required permissions, the error response is
4243
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4244
+ * @public
4245
+ */
4246
+ DryRun?: boolean | undefined;
4247
+ }
4248
+ /**
4249
+ * @public
4250
+ */
4251
+ export interface ModifyPublicIpDnsNameOptionsResult {
4252
+ /**
4253
+ * <p>Whether or not the request was successful.</p>
4254
+ * @public
4255
+ */
4256
+ Successful?: boolean | undefined;
4257
+ }
4055
4258
  /**
4056
4259
  * <p>Contains the parameters for ModifyReservedInstances.</p>
4057
4260
  * @public
@@ -7981,112 +8184,6 @@ export interface ReleaseIpamPoolAllocationResult {
7981
8184
  */
7982
8185
  Success?: boolean | undefined;
7983
8186
  }
7984
- /**
7985
- * @public
7986
- */
7987
- export interface ReplaceIamInstanceProfileAssociationRequest {
7988
- /**
7989
- * <p>The IAM instance profile.</p>
7990
- * @public
7991
- */
7992
- IamInstanceProfile: IamInstanceProfileSpecification | undefined;
7993
- /**
7994
- * <p>The ID of the existing IAM instance profile association.</p>
7995
- * @public
7996
- */
7997
- AssociationId: string | undefined;
7998
- }
7999
- /**
8000
- * @public
8001
- */
8002
- export interface ReplaceIamInstanceProfileAssociationResult {
8003
- /**
8004
- * <p>Information about the IAM instance profile association.</p>
8005
- * @public
8006
- */
8007
- IamInstanceProfileAssociation?: IamInstanceProfileAssociation | undefined;
8008
- }
8009
- /**
8010
- * <p>The list of criteria that are evaluated to determine whch AMIs are discoverable and usable
8011
- * in the account in the specified Amazon Web Services Region. Currently, the only criteria that can be
8012
- * specified are AMI providers. </p>
8013
- * <p>Up to 10 <code>imageCriteria</code> objects can be specified, and up to a total of 200
8014
- * values for all <code>imageProviders</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#allowed-amis-json-configuration">JSON
8015
- * configuration for the Allowed AMIs criteria</a> in the
8016
- * <i>Amazon EC2 User Guide</i>.</p>
8017
- * @public
8018
- */
8019
- export interface ImageCriterionRequest {
8020
- /**
8021
- * <p>A list of image providers whose AMIs are discoverable and useable in the account. Up to a
8022
- * total of 200 values can be specified.</p>
8023
- * <p>Possible values:</p>
8024
- * <p>
8025
- * <code>amazon</code>: Allow AMIs created by Amazon Web Services.</p>
8026
- * <p>
8027
- * <code>aws-marketplace</code>: Allow AMIs created by verified providers in the Amazon Web Services
8028
- * Marketplace.</p>
8029
- * <p>
8030
- * <code>aws-backup-vault</code>: Allow AMIs created by Amazon Web Services Backup. </p>
8031
- * <p>12-digit account ID: Allow AMIs created by this account. One or more account IDs can be
8032
- * specified.</p>
8033
- * <p>
8034
- * <code>none</code>: Allow AMIs created by your own account only. When <code>none</code> is
8035
- * specified, no other values can be specified.</p>
8036
- * @public
8037
- */
8038
- ImageProviders?: string[] | undefined;
8039
- }
8040
- /**
8041
- * @public
8042
- */
8043
- export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
8044
- /**
8045
- * <p>The list of criteria that are evaluated to determine whether AMIs are discoverable and
8046
- * usable in the account in the specified Amazon Web Services Region.</p>
8047
- * @public
8048
- */
8049
- ImageCriteria?: ImageCriterionRequest[] | undefined;
8050
- /**
8051
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8052
- * and provides an error response. If you have the required permissions, the error response is
8053
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8054
- * @public
8055
- */
8056
- DryRun?: boolean | undefined;
8057
- }
8058
- /**
8059
- * @public
8060
- */
8061
- export interface ReplaceImageCriteriaInAllowedImagesSettingsResult {
8062
- /**
8063
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
8064
- * @public
8065
- */
8066
- ReturnValue?: boolean | undefined;
8067
- }
8068
- /**
8069
- * @public
8070
- */
8071
- export interface ReplaceNetworkAclAssociationRequest {
8072
- /**
8073
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8074
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8075
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8076
- * @public
8077
- */
8078
- DryRun?: boolean | undefined;
8079
- /**
8080
- * <p>The ID of the current association between the original network ACL and the subnet.</p>
8081
- * @public
8082
- */
8083
- AssociationId: string | undefined;
8084
- /**
8085
- * <p>The ID of the new network ACL to associate with the subnet.</p>
8086
- * @public
8087
- */
8088
- NetworkAclId: string | undefined;
8089
- }
8090
8187
  /**
8091
8188
  * @internal
8092
8189
  */
@@ -1,10 +1,116 @@
1
- import { AddressAttribute, AddressAttributeName, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
1
+ import { AddressAttribute, AddressAttributeName, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
2
2
  import { _InstanceType, AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceIpv6Address, MarketType, OperatorRequest, Placement, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
3
  import { IcmpTypeCode, LocalGatewayRoute, ManagedPrefixList, RuleAction, SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
4
4
  import { ClientVpnConnectionStatus, Filter } from "./models_3";
5
5
  import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState } from "./models_4";
6
6
  import { InstanceNetworkInterfaceSpecification, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_5";
7
7
  import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_7";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface ReplaceIamInstanceProfileAssociationRequest {
12
+ /**
13
+ * <p>The IAM instance profile.</p>
14
+ * @public
15
+ */
16
+ IamInstanceProfile: IamInstanceProfileSpecification | undefined;
17
+ /**
18
+ * <p>The ID of the existing IAM instance profile association.</p>
19
+ * @public
20
+ */
21
+ AssociationId: string | undefined;
22
+ }
23
+ /**
24
+ * @public
25
+ */
26
+ export interface ReplaceIamInstanceProfileAssociationResult {
27
+ /**
28
+ * <p>Information about the IAM instance profile association.</p>
29
+ * @public
30
+ */
31
+ IamInstanceProfileAssociation?: IamInstanceProfileAssociation | undefined;
32
+ }
33
+ /**
34
+ * <p>The list of criteria that are evaluated to determine whch AMIs are discoverable and usable
35
+ * in the account in the specified Amazon Web Services Region. Currently, the only criteria that can be
36
+ * specified are AMI providers. </p>
37
+ * <p>Up to 10 <code>imageCriteria</code> objects can be specified, and up to a total of 200
38
+ * values for all <code>imageProviders</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#allowed-amis-json-configuration">JSON
39
+ * configuration for the Allowed AMIs criteria</a> in the
40
+ * <i>Amazon EC2 User Guide</i>.</p>
41
+ * @public
42
+ */
43
+ export interface ImageCriterionRequest {
44
+ /**
45
+ * <p>A list of image providers whose AMIs are discoverable and useable in the account. Up to a
46
+ * total of 200 values can be specified.</p>
47
+ * <p>Possible values:</p>
48
+ * <p>
49
+ * <code>amazon</code>: Allow AMIs created by Amazon Web Services.</p>
50
+ * <p>
51
+ * <code>aws-marketplace</code>: Allow AMIs created by verified providers in the Amazon Web Services
52
+ * Marketplace.</p>
53
+ * <p>
54
+ * <code>aws-backup-vault</code>: Allow AMIs created by Amazon Web Services Backup. </p>
55
+ * <p>12-digit account ID: Allow AMIs created by this account. One or more account IDs can be
56
+ * specified.</p>
57
+ * <p>
58
+ * <code>none</code>: Allow AMIs created by your own account only. When <code>none</code> is
59
+ * specified, no other values can be specified.</p>
60
+ * @public
61
+ */
62
+ ImageProviders?: string[] | undefined;
63
+ }
64
+ /**
65
+ * @public
66
+ */
67
+ export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
68
+ /**
69
+ * <p>The list of criteria that are evaluated to determine whether AMIs are discoverable and
70
+ * usable in the account in the specified Amazon Web Services Region.</p>
71
+ * @public
72
+ */
73
+ ImageCriteria?: ImageCriterionRequest[] | undefined;
74
+ /**
75
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
76
+ * and provides an error response. If you have the required permissions, the error response is
77
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
78
+ * @public
79
+ */
80
+ DryRun?: boolean | undefined;
81
+ }
82
+ /**
83
+ * @public
84
+ */
85
+ export interface ReplaceImageCriteriaInAllowedImagesSettingsResult {
86
+ /**
87
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
88
+ * @public
89
+ */
90
+ ReturnValue?: boolean | undefined;
91
+ }
92
+ /**
93
+ * @public
94
+ */
95
+ export interface ReplaceNetworkAclAssociationRequest {
96
+ /**
97
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
98
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
99
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
100
+ * @public
101
+ */
102
+ DryRun?: boolean | undefined;
103
+ /**
104
+ * <p>The ID of the current association between the original network ACL and the subnet.</p>
105
+ * @public
106
+ */
107
+ AssociationId: string | undefined;
108
+ /**
109
+ * <p>The ID of the new network ACL to associate with the subnet.</p>
110
+ * @public
111
+ */
112
+ NetworkAclId: string | undefined;
113
+ }
8
114
  /**
9
115
  * @public
10
116
  */
@@ -573,6 +573,7 @@ import { ModifyLocalGatewayRouteCommandInput, ModifyLocalGatewayRouteCommandOutp
573
573
  import { ModifyManagedPrefixListCommandInput, ModifyManagedPrefixListCommandOutput } from "../commands/ModifyManagedPrefixListCommand";
574
574
  import { ModifyNetworkInterfaceAttributeCommandInput, ModifyNetworkInterfaceAttributeCommandOutput } from "../commands/ModifyNetworkInterfaceAttributeCommand";
575
575
  import { ModifyPrivateDnsNameOptionsCommandInput, ModifyPrivateDnsNameOptionsCommandOutput } from "../commands/ModifyPrivateDnsNameOptionsCommand";
576
+ import { ModifyPublicIpDnsNameOptionsCommandInput, ModifyPublicIpDnsNameOptionsCommandOutput } from "../commands/ModifyPublicIpDnsNameOptionsCommand";
576
577
  import { ModifyReservedInstancesCommandInput, ModifyReservedInstancesCommandOutput } from "../commands/ModifyReservedInstancesCommand";
577
578
  import { ModifyRouteServerCommandInput, ModifyRouteServerCommandOutput } from "../commands/ModifyRouteServerCommand";
578
579
  import { ModifySecurityGroupRulesCommandInput, ModifySecurityGroupRulesCommandOutput } from "../commands/ModifySecurityGroupRulesCommand";
@@ -2976,6 +2977,10 @@ export declare const se_ModifyNetworkInterfaceAttributeCommand: (input: ModifyNe
2976
2977
  * serializeAws_ec2ModifyPrivateDnsNameOptionsCommand
2977
2978
  */
2978
2979
  export declare const se_ModifyPrivateDnsNameOptionsCommand: (input: ModifyPrivateDnsNameOptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2980
+ /**
2981
+ * serializeAws_ec2ModifyPublicIpDnsNameOptionsCommand
2982
+ */
2983
+ export declare const se_ModifyPublicIpDnsNameOptionsCommand: (input: ModifyPublicIpDnsNameOptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2979
2984
  /**
2980
2985
  * serializeAws_ec2ModifyReservedInstancesCommand
2981
2986
  */
@@ -5712,6 +5717,10 @@ export declare const de_ModifyNetworkInterfaceAttributeCommand: (output: __HttpR
5712
5717
  * deserializeAws_ec2ModifyPrivateDnsNameOptionsCommand
5713
5718
  */
5714
5719
  export declare const de_ModifyPrivateDnsNameOptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyPrivateDnsNameOptionsCommandOutput>;
5720
+ /**
5721
+ * deserializeAws_ec2ModifyPublicIpDnsNameOptionsCommand
5722
+ */
5723
+ export declare const de_ModifyPublicIpDnsNameOptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyPublicIpDnsNameOptionsCommandOutput>;
5715
5724
  /**
5716
5725
  * deserializeAws_ec2ModifyReservedInstancesCommand
5717
5726
  */
@@ -2291,6 +2291,10 @@ import {
2291
2291
  ModifyPrivateDnsNameOptionsCommandInput,
2292
2292
  ModifyPrivateDnsNameOptionsCommandOutput,
2293
2293
  } from "./commands/ModifyPrivateDnsNameOptionsCommand";
2294
+ import {
2295
+ ModifyPublicIpDnsNameOptionsCommandInput,
2296
+ ModifyPublicIpDnsNameOptionsCommandOutput,
2297
+ } from "./commands/ModifyPublicIpDnsNameOptionsCommand";
2294
2298
  import {
2295
2299
  ModifyReservedInstancesCommandInput,
2296
2300
  ModifyReservedInstancesCommandOutput,
@@ -11162,6 +11166,19 @@ export interface EC2 {
11162
11166
  options: __HttpHandlerOptions,
11163
11167
  cb: (err: any, data?: ModifyPrivateDnsNameOptionsCommandOutput) => void
11164
11168
  ): void;
11169
+ modifyPublicIpDnsNameOptions(
11170
+ args: ModifyPublicIpDnsNameOptionsCommandInput,
11171
+ options?: __HttpHandlerOptions
11172
+ ): Promise<ModifyPublicIpDnsNameOptionsCommandOutput>;
11173
+ modifyPublicIpDnsNameOptions(
11174
+ args: ModifyPublicIpDnsNameOptionsCommandInput,
11175
+ cb: (err: any, data?: ModifyPublicIpDnsNameOptionsCommandOutput) => void
11176
+ ): void;
11177
+ modifyPublicIpDnsNameOptions(
11178
+ args: ModifyPublicIpDnsNameOptionsCommandInput,
11179
+ options: __HttpHandlerOptions,
11180
+ cb: (err: any, data?: ModifyPublicIpDnsNameOptionsCommandOutput) => void
11181
+ ): void;
11165
11182
  modifyReservedInstances(
11166
11183
  args: ModifyReservedInstancesCommandInput,
11167
11184
  options?: __HttpHandlerOptions
@@ -2337,6 +2337,10 @@ import {
2337
2337
  ModifyPrivateDnsNameOptionsCommandInput,
2338
2338
  ModifyPrivateDnsNameOptionsCommandOutput,
2339
2339
  } from "./commands/ModifyPrivateDnsNameOptionsCommand";
2340
+ import {
2341
+ ModifyPublicIpDnsNameOptionsCommandInput,
2342
+ ModifyPublicIpDnsNameOptionsCommandOutput,
2343
+ } from "./commands/ModifyPublicIpDnsNameOptionsCommand";
2340
2344
  import {
2341
2345
  ModifyReservedInstancesCommandInput,
2342
2346
  ModifyReservedInstancesCommandOutput,
@@ -3362,6 +3366,7 @@ export type ServiceInputTypes =
3362
3366
  | ModifyManagedPrefixListCommandInput
3363
3367
  | ModifyNetworkInterfaceAttributeCommandInput
3364
3368
  | ModifyPrivateDnsNameOptionsCommandInput
3369
+ | ModifyPublicIpDnsNameOptionsCommandInput
3365
3370
  | ModifyReservedInstancesCommandInput
3366
3371
  | ModifyRouteServerCommandInput
3367
3372
  | ModifySecurityGroupRulesCommandInput
@@ -4047,6 +4052,7 @@ export type ServiceOutputTypes =
4047
4052
  | ModifyManagedPrefixListCommandOutput
4048
4053
  | ModifyNetworkInterfaceAttributeCommandOutput
4049
4054
  | ModifyPrivateDnsNameOptionsCommandOutput
4055
+ | ModifyPublicIpDnsNameOptionsCommandOutput
4050
4056
  | ModifyReservedInstancesCommandOutput
4051
4057
  | ModifyRouteServerCommandOutput
4052
4058
  | ModifySecurityGroupRulesCommandOutput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeLaunchTemplateVersionsRequest,
10
10
  DescribeLaunchTemplateVersionsResult,
11
- } from "../models/models_4";
11
+ } from "../models/models_5";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeLaunchTemplateVersionsCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeLaunchTemplatesRequest,
10
- DescribeLaunchTemplatesResult,
11
- } from "../models/models_4";
8
+ import { DescribeLaunchTemplatesRequest } from "../models/models_4";
9
+ import { DescribeLaunchTemplatesResult } from "../models/models_5";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeLaunchTemplatesCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeVpnGatewaysRequest,
10
10
  DescribeVpnGatewaysResult,
11
- } from "../models/models_5";
11
+ } from "../models/models_6";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeVpnGatewaysCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DetachClassicLinkVpcRequest } from "../models/models_5";
9
- import { DetachClassicLinkVpcResult } from "../models/models_6";
8
+ import {
9
+ DetachClassicLinkVpcRequest,
10
+ DetachClassicLinkVpcResult,
11
+ } from "../models/models_6";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DetachClassicLinkVpcCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- GetTransitGatewayPolicyTableEntriesRequest,
10
- GetTransitGatewayPolicyTableEntriesResult,
11
- } from "../models/models_6";
8
+ import { GetTransitGatewayPolicyTableEntriesRequest } from "../models/models_6";
9
+ import { GetTransitGatewayPolicyTableEntriesResult } from "../models/models_7";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface GetTransitGatewayPolicyTableEntriesCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { GetTransitGatewayPrefixListReferencesRequest } from "../models/models_6";
9
- import { GetTransitGatewayPrefixListReferencesResult } from "../models/models_7";
8
+ import {
9
+ GetTransitGatewayPrefixListReferencesRequest,
10
+ GetTransitGatewayPrefixListReferencesResult,
11
+ } from "../models/models_7";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface GetTransitGatewayPrefixListReferencesCommandInput