@aws-sdk/client-ec2 3.1051.0 → 3.1053.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,8 +7,58 @@
7
7
  AWS SDK for JavaScript EC2 Client for Node.js, Browser and React Native.
8
8
 
9
9
  <fullname>Amazon Elastic Compute Cloud</fullname>
10
- <p>You can access the features of Amazon Elastic Compute Cloud (Amazon EC2) programmatically. For more information,
11
- see the <a href="https://docs.aws.amazon.com/ec2/latest/devguide">Amazon EC2 Developer Guide</a>.</p>
10
+ <p>This is the <i>Amazon EC2 API Reference</i>. It provides descriptions, API request
11
+ parameters, and the XML response for each of the Amazon EC2 Query API actions. Note that the
12
+ Amazon EC2 API includes actions for Amazon EC2 plus additional services, such as Amazon EBS and Amazon VPC.</p>
13
+ <p class="title">
14
+ <b>Learn more</b>
15
+ </p>
16
+ <ul>
17
+ <li>
18
+ <p>To learn about using the Query API, see
19
+ <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-low-level-api.html">Using the API for Amazon EC2</a>.</p>
20
+ </li>
21
+ <li>
22
+ <p>To learn about the permissions required to call an Amazon EC2 API action, see
23
+ <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html">Actions, resources, and condition keys for Amazon EC2</a>.</p>
24
+ </li>
25
+ <li>
26
+ <p>To get the list of API actions by service and resource, see
27
+ <a href="https://docs.aws.amazon.com/ec2/latest/devguide/OperationList-query.html">Actions by service</a>.</p>
28
+ </li>
29
+ <li>
30
+ <p>To get the alphabetical list of API actions, see
31
+ .</p>
32
+ </li>
33
+ <li>
34
+ <p>To get descriptions of the API error codes, see
35
+ <a href="https://docs.aws.amazon.com/ec2/latest/devguide/errors-overview.html">Error codes for the Amazon EC2 API</a>.</p>
36
+ </li>
37
+ </ul>
38
+ <p>Alternatively, use one of the following methods to access the Amazon EC2 API, instead of using
39
+ the Query API directly:</p>
40
+ <ul>
41
+ <li>
42
+ <p>
43
+ <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/">Amazon Web Services CLI Command Reference - ec2 commands</a>
44
+ </p>
45
+ </li>
46
+ <li>
47
+ <p>
48
+ <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/AWS_EC2.html">CloudFormation - Amazon EC2 resource type reference</a>
49
+ </p>
50
+ </li>
51
+ <li>
52
+ <p>
53
+ <a href="https://docs.aws.amazon.com/powershell/v5/reference/items/EC2_cmdlets.html">Amazon Web Services Tools for PowerShell Cmdlet Reference - Amazon EC2 cmdlets</a>
54
+ </p>
55
+ </li>
56
+ <li>
57
+ <p>
58
+ <a href="https://builder.aws.com/build/tools">Amazon Web Services SDKs</a>
59
+ </p>
60
+ </li>
61
+ </ul>
12
62
 
13
63
  ## Installing
14
64
 
@@ -20241,9 +20241,9 @@ exports.ModifyImageAttributeRequest$ = [3, n0, _MIAR,
20241
20241
  ];
20242
20242
  exports.ModifyInstanceAttributeRequest$ = [3, n0, _MIARo,
20243
20243
  0,
20244
- [_II, _SDC, _DASi, _DR, _At, _V, _BDMl, _DAT, _IT, _Ke, _Ra, _UDs, _IISB, _G, _EO, _SNS, _ESna],
20244
+ [_II, _SDC, _EOn, _DASi, _DR, _At, _V, _BDMl, _DAT, _IT, _Ke, _Ra, _UDs, _IISB, _G, _EO, _SNS, _ESna],
20245
20245
  [[0, { [_eQN]: `InstanceId`,
20246
- [_xN]: _iI }], [() => exports.AttributeBooleanValue$, 0], [() => exports.AttributeBooleanValue$, 0], [2, { [_eQN]: `DryRun`,
20246
+ [_xN]: _iI }], [() => exports.AttributeBooleanValue$, 0], () => exports.EnclaveOptionsRequest$, [() => exports.AttributeBooleanValue$, 0], [2, { [_eQN]: `DryRun`,
20247
20247
  [_xN]: _dR }], [0, { [_eQN]: `Attribute`,
20248
20248
  [_xN]: _att }], [() => ModifyInstanceAttributeValue, { [_eQN]: `Value`,
20249
20249
  [_xN]: _v }], [() => InstanceBlockDeviceMappingSpecificationList, { [_eQN]: `BlockDeviceMapping`,
@@ -20176,9 +20176,9 @@ export var ModifyImageAttributeRequest$ = [3, n0, _MIAR,
20176
20176
  ];
20177
20177
  export var ModifyInstanceAttributeRequest$ = [3, n0, _MIARo,
20178
20178
  0,
20179
- [_II, _SDC, _DASi, _DR, _At, _V, _BDMl, _DAT, _IT, _Ke, _Ra, _UDs, _IISB, _G, _EO, _SNS, _ESna],
20179
+ [_II, _SDC, _EOn, _DASi, _DR, _At, _V, _BDMl, _DAT, _IT, _Ke, _Ra, _UDs, _IISB, _G, _EO, _SNS, _ESna],
20180
20180
  [[0, { [_eQN]: `InstanceId`,
20181
- [_xN]: _iI }], [() => AttributeBooleanValue$, 0], [() => AttributeBooleanValue$, 0], [2, { [_eQN]: `DryRun`,
20181
+ [_xN]: _iI }], [() => AttributeBooleanValue$, 0], () => EnclaveOptionsRequest$, [() => AttributeBooleanValue$, 0], [2, { [_eQN]: `DryRun`,
20182
20182
  [_xN]: _dR }], [0, { [_eQN]: `Attribute`,
20183
20183
  [_xN]: _att }], [() => ModifyInstanceAttributeValue, { [_eQN]: `Value`,
20184
20184
  [_xN]: _v }], [() => InstanceBlockDeviceMappingSpecificationList, { [_eQN]: `BlockDeviceMapping`,
@@ -7035,8 +7035,58 @@ export interface EC2 {
7035
7035
  }
7036
7036
  /**
7037
7037
  * <fullname>Amazon Elastic Compute Cloud</fullname>
7038
- * <p>You can access the features of Amazon Elastic Compute Cloud (Amazon EC2) programmatically. For more information,
7039
- * see the <a href="https://docs.aws.amazon.com/ec2/latest/devguide">Amazon EC2 Developer Guide</a>.</p>
7038
+ * <p>This is the <i>Amazon EC2 API Reference</i>. It provides descriptions, API request
7039
+ * parameters, and the XML response for each of the Amazon EC2 Query API actions. Note that the
7040
+ * Amazon EC2 API includes actions for Amazon EC2 plus additional services, such as Amazon EBS and Amazon VPC.</p>
7041
+ * <p class="title">
7042
+ * <b>Learn more</b>
7043
+ * </p>
7044
+ * <ul>
7045
+ * <li>
7046
+ * <p>To learn about using the Query API, see
7047
+ * <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-low-level-api.html">Using the API for Amazon EC2</a>.</p>
7048
+ * </li>
7049
+ * <li>
7050
+ * <p>To learn about the permissions required to call an Amazon EC2 API action, see
7051
+ * <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html">Actions, resources, and condition keys for Amazon EC2</a>.</p>
7052
+ * </li>
7053
+ * <li>
7054
+ * <p>To get the list of API actions by service and resource, see
7055
+ * <a href="https://docs.aws.amazon.com/ec2/latest/devguide/OperationList-query.html">Actions by service</a>.</p>
7056
+ * </li>
7057
+ * <li>
7058
+ * <p>To get the alphabetical list of API actions, see
7059
+ * .</p>
7060
+ * </li>
7061
+ * <li>
7062
+ * <p>To get descriptions of the API error codes, see
7063
+ * <a href="https://docs.aws.amazon.com/ec2/latest/devguide/errors-overview.html">Error codes for the Amazon EC2 API</a>.</p>
7064
+ * </li>
7065
+ * </ul>
7066
+ * <p>Alternatively, use one of the following methods to access the Amazon EC2 API, instead of using
7067
+ * the Query API directly:</p>
7068
+ * <ul>
7069
+ * <li>
7070
+ * <p>
7071
+ * <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/">Amazon Web Services CLI Command Reference - ec2 commands</a>
7072
+ * </p>
7073
+ * </li>
7074
+ * <li>
7075
+ * <p>
7076
+ * <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/AWS_EC2.html">CloudFormation - Amazon EC2 resource type reference</a>
7077
+ * </p>
7078
+ * </li>
7079
+ * <li>
7080
+ * <p>
7081
+ * <a href="https://docs.aws.amazon.com/powershell/v5/reference/items/EC2_cmdlets.html">Amazon Web Services Tools for PowerShell Cmdlet Reference - Amazon EC2 cmdlets</a>
7082
+ * </p>
7083
+ * </li>
7084
+ * <li>
7085
+ * <p>
7086
+ * <a href="https://builder.aws.com/build/tools">Amazon Web Services SDKs</a>
7087
+ * </p>
7088
+ * </li>
7089
+ * </ul>
7040
7090
  * @public
7041
7091
  */
7042
7092
  export declare class EC2 extends EC2Client implements EC2 {
@@ -934,8 +934,58 @@ export interface EC2ClientResolvedConfig extends EC2ClientResolvedConfigType {
934
934
  }
935
935
  /**
936
936
  * <fullname>Amazon Elastic Compute Cloud</fullname>
937
- * <p>You can access the features of Amazon Elastic Compute Cloud (Amazon EC2) programmatically. For more information,
938
- * see the <a href="https://docs.aws.amazon.com/ec2/latest/devguide">Amazon EC2 Developer Guide</a>.</p>
937
+ * <p>This is the <i>Amazon EC2 API Reference</i>. It provides descriptions, API request
938
+ * parameters, and the XML response for each of the Amazon EC2 Query API actions. Note that the
939
+ * Amazon EC2 API includes actions for Amazon EC2 plus additional services, such as Amazon EBS and Amazon VPC.</p>
940
+ * <p class="title">
941
+ * <b>Learn more</b>
942
+ * </p>
943
+ * <ul>
944
+ * <li>
945
+ * <p>To learn about using the Query API, see
946
+ * <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-low-level-api.html">Using the API for Amazon EC2</a>.</p>
947
+ * </li>
948
+ * <li>
949
+ * <p>To learn about the permissions required to call an Amazon EC2 API action, see
950
+ * <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html">Actions, resources, and condition keys for Amazon EC2</a>.</p>
951
+ * </li>
952
+ * <li>
953
+ * <p>To get the list of API actions by service and resource, see
954
+ * <a href="https://docs.aws.amazon.com/ec2/latest/devguide/OperationList-query.html">Actions by service</a>.</p>
955
+ * </li>
956
+ * <li>
957
+ * <p>To get the alphabetical list of API actions, see
958
+ * .</p>
959
+ * </li>
960
+ * <li>
961
+ * <p>To get descriptions of the API error codes, see
962
+ * <a href="https://docs.aws.amazon.com/ec2/latest/devguide/errors-overview.html">Error codes for the Amazon EC2 API</a>.</p>
963
+ * </li>
964
+ * </ul>
965
+ * <p>Alternatively, use one of the following methods to access the Amazon EC2 API, instead of using
966
+ * the Query API directly:</p>
967
+ * <ul>
968
+ * <li>
969
+ * <p>
970
+ * <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/">Amazon Web Services CLI Command Reference - ec2 commands</a>
971
+ * </p>
972
+ * </li>
973
+ * <li>
974
+ * <p>
975
+ * <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/AWS_EC2.html">CloudFormation - Amazon EC2 resource type reference</a>
976
+ * </p>
977
+ * </li>
978
+ * <li>
979
+ * <p>
980
+ * <a href="https://docs.aws.amazon.com/powershell/v5/reference/items/EC2_cmdlets.html">Amazon Web Services Tools for PowerShell Cmdlet Reference - Amazon EC2 cmdlets</a>
981
+ * </p>
982
+ * </li>
983
+ * <li>
984
+ * <p>
985
+ * <a href="https://builder.aws.com/build/tools">Amazon Web Services SDKs</a>
986
+ * </p>
987
+ * </li>
988
+ * </ul>
939
989
  * @public
940
990
  */
941
991
  export declare class EC2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EC2ClientResolvedConfig> {
@@ -52,6 +52,9 @@ declare const ModifyInstanceAttributeCommand_base: {
52
52
  * SourceDestCheck: { // AttributeBooleanValue
53
53
  * Value: true || false,
54
54
  * },
55
+ * EnclaveOptions: { // EnclaveOptionsRequest
56
+ * Enabled: true || false,
57
+ * },
55
58
  * DisableApiStop: {
56
59
  * Value: true || false,
57
60
  * },
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import type { ModifyPublicIpDnsNameOptionsRequest } from "../models/models_6";
5
- import type { ModifyPublicIpDnsNameOptionsResult } from "../models/models_7";
4
+ import type { ModifyPublicIpDnsNameOptionsRequest, ModifyPublicIpDnsNameOptionsResult } from "../models/models_7";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,57 @@
1
1
  /**
2
2
  * <fullname>Amazon Elastic Compute Cloud</fullname>
3
- * <p>You can access the features of Amazon Elastic Compute Cloud (Amazon EC2) programmatically. For more information,
4
- * see the <a href="https://docs.aws.amazon.com/ec2/latest/devguide">Amazon EC2 Developer Guide</a>.</p>
3
+ * <p>This is the <i>Amazon EC2 API Reference</i>. It provides descriptions, API request
4
+ * parameters, and the XML response for each of the Amazon EC2 Query API actions. Note that the
5
+ * Amazon EC2 API includes actions for Amazon EC2 plus additional services, such as Amazon EBS and Amazon VPC.</p>
6
+ * <p class="title">
7
+ * <b>Learn more</b>
8
+ * </p>
9
+ * <ul>
10
+ * <li>
11
+ * <p>To learn about using the Query API, see
12
+ * <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-low-level-api.html">Using the API for Amazon EC2</a>.</p>
13
+ * </li>
14
+ * <li>
15
+ * <p>To learn about the permissions required to call an Amazon EC2 API action, see
16
+ * <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html">Actions, resources, and condition keys for Amazon EC2</a>.</p>
17
+ * </li>
18
+ * <li>
19
+ * <p>To get the list of API actions by service and resource, see
20
+ * <a href="https://docs.aws.amazon.com/ec2/latest/devguide/OperationList-query.html">Actions by service</a>.</p>
21
+ * </li>
22
+ * <li>
23
+ * <p>To get the alphabetical list of API actions, see
24
+ * .</p>
25
+ * </li>
26
+ * <li>
27
+ * <p>To get descriptions of the API error codes, see
28
+ * <a href="https://docs.aws.amazon.com/ec2/latest/devguide/errors-overview.html">Error codes for the Amazon EC2 API</a>.</p>
29
+ * </li>
30
+ * </ul>
31
+ * <p>Alternatively, use one of the following methods to access the Amazon EC2 API, instead of using
32
+ * the Query API directly:</p>
33
+ * <ul>
34
+ * <li>
35
+ * <p>
36
+ * <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/">Amazon Web Services CLI Command Reference - ec2 commands</a>
37
+ * </p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
41
+ * <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/AWS_EC2.html">CloudFormation - Amazon EC2 resource type reference</a>
42
+ * </p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <a href="https://docs.aws.amazon.com/powershell/v5/reference/items/EC2_cmdlets.html">Amazon Web Services Tools for PowerShell Cmdlet Reference - Amazon EC2 cmdlets</a>
47
+ * </p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <a href="https://builder.aws.com/build/tools">Amazon Web Services SDKs</a>
52
+ * </p>
53
+ * </li>
54
+ * </ul>
5
55
  *
6
56
  * @packageDocumentation
7
57
  */
@@ -1,4 +1,4 @@
1
- import type { _InstanceType, Affinity, AnalysisStatus, ArchitectureType, ArchitectureValues, AutoPlacement, BootModeValues, CapacityReservationPreference, CapacityReservationState, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, EndDateType, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensEnforcedState, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamAddressHistoryResourceType, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, LockMode, LockState, ManagedBy, ManagedResourceDefaultVisibility, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, OperationType, PartitionLoadFrequency, PaymentOption, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SelfServicePortal, ShutdownBehavior, SnapshotBlockPublicAccessState, SSEType, TargetCapacityUnitType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VirtualizationType, VolumeState, VolumeType } from "./enums";
1
+ import type { _InstanceType, Affinity, AnalysisStatus, ArchitectureType, ArchitectureValues, AutoPlacement, BootModeValues, CapacityReservationPreference, CapacityReservationState, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, EndDateType, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensEnforcedState, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamAddressHistoryResourceType, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, LockMode, LockState, ManagedBy, ManagedResourceDefaultVisibility, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, OperationType, PartitionLoadFrequency, PaymentOption, PermissionGroup, PlatformValues, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SelfServicePortal, ShutdownBehavior, SnapshotBlockPublicAccessState, SSEType, TargetCapacityUnitType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VirtualizationType, VolumeState, VolumeType } from "./enums";
2
2
  import type { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, EnaSrdSpecification, InstanceEventWindow, InterruptibleCapacityAllocation, InterruptionInfo, IpamPoolAllocation, OperatorResponse, RouteServerAssociation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayConfigurationInputStructure, TransitGatewayPolicyTableAssociation, UnsuccessfulItem } from "./models_0";
3
3
  import type { AttributeValue, CapacityReservationTarget, ConnectionTrackingSpecificationRequest, ExternalAuthorityConfiguration, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, RequestIpamResourceTag, ResponseLaunchTemplateData, TargetCapacitySpecificationRequest } from "./models_1";
4
4
  import type { SubnetCidrReservation, TransitGatewayMeteringPolicyEntry, TransitGatewayPrefixListReference } from "./models_2";
@@ -6828,6 +6828,21 @@ export interface InstanceBlockDeviceMappingSpecification {
6828
6828
  */
6829
6829
  NoDevice?: string | undefined;
6830
6830
  }
6831
+ /**
6832
+ * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For
6833
+ * more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html"> What is Amazon Web Services Nitro
6834
+ * Enclaves?</a> in the <i>Amazon Web Services Nitro Enclaves User
6835
+ * Guide</i>.</p>
6836
+ * @public
6837
+ */
6838
+ export interface EnclaveOptionsRequest {
6839
+ /**
6840
+ * <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
6841
+ * <code>true</code>.</p>
6842
+ * @public
6843
+ */
6844
+ Enabled?: boolean | undefined;
6845
+ }
6831
6846
  /**
6832
6847
  * @public
6833
6848
  */
@@ -6848,6 +6863,13 @@ export interface ModifyInstanceAttributeRequest {
6848
6863
  * @public
6849
6864
  */
6850
6865
  SourceDestCheck?: AttributeBooleanValue | undefined;
6866
+ /**
6867
+ * <p>Enables or disables the instance for Amazon Web Services Nitro Enclaves. For more
6868
+ * information, see the <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html">Amazon Web Services Nitro Enclaves User
6869
+ * Guide</a>.</p>
6870
+ * @public
6871
+ */
6872
+ EnclaveOptions?: EnclaveOptionsRequest | undefined;
6851
6873
  /**
6852
6874
  * <p>Indicates whether an instance is enabled for stop protection. For more information,
6853
6875
  * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html">Enable stop
@@ -8680,39 +8702,3 @@ export interface ModifyPrivateDnsNameOptionsResult {
8680
8702
  */
8681
8703
  Return?: boolean | undefined;
8682
8704
  }
8683
- /**
8684
- * @public
8685
- */
8686
- export interface ModifyPublicIpDnsNameOptionsRequest {
8687
- /**
8688
- * <p>A network interface ID.</p>
8689
- * @public
8690
- */
8691
- NetworkInterfaceId: string | undefined;
8692
- /**
8693
- * <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>
8694
- * <ul>
8695
- * <li>
8696
- * <p>
8697
- * <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>
8698
- * </li>
8699
- * <li>
8700
- * <p>
8701
- * <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>
8702
- * </li>
8703
- * <li>
8704
- * <p>
8705
- * <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>
8706
- * </li>
8707
- * </ul>
8708
- * @public
8709
- */
8710
- HostnameType: PublicIpDnsOption | undefined;
8711
- /**
8712
- * <p>Checks whether you have the required permissions for the operation, without actually making the
8713
- * request, and provides an error response. If you have the required permissions, the error response is
8714
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8715
- * @public
8716
- */
8717
- DryRun?: boolean | undefined;
8718
- }
@@ -1,11 +1,47 @@
1
- import type { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, ApplianceModeSupportValue, ArchitectureValues, AutoAcceptSharedAttachmentsValue, BootModeValues, CapacityManagerStatus, CapacityReservationInstancePlatform, CurrencyCodeValues, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsSupportValue, EncryptionSupportOptionValue, ExcessCapacityTerminationPolicy, HostnameType, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InternetGatewayBlockMode, InternetGatewayExclusionMode, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, Ipv6SupportValue, MarketType, MembershipType, NestedVirtualizationSpecification, OperationType, PayerResponsibility, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RouteServerPersistRoutesAction, RuleAction, SecondaryInterfaceType, SecurityGroupReferencingSupportValue, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TargetStorageTier, TpmSupportValues, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, TransitGatewayAttachmentResourceType, VerificationMethod, VerifiedAccessEndpointProtocol, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy, VpnEcmpSupportValue, VpnTunnelBandwidth } from "./enums";
1
+ import type { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, ApplianceModeSupportValue, ArchitectureValues, AutoAcceptSharedAttachmentsValue, BootModeValues, CapacityManagerStatus, CapacityReservationInstancePlatform, CurrencyCodeValues, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsSupportValue, EncryptionSupportOptionValue, ExcessCapacityTerminationPolicy, HostnameType, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InternetGatewayBlockMode, InternetGatewayExclusionMode, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, Ipv6SupportValue, MarketType, MembershipType, NestedVirtualizationSpecification, OperationType, PayerResponsibility, PublicIpDnsOption, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RouteServerPersistRoutesAction, RuleAction, SecondaryInterfaceType, SecurityGroupReferencingSupportValue, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TargetStorageTier, TpmSupportValues, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, TransitGatewayAttachmentResourceType, VerificationMethod, VerifiedAccessEndpointProtocol, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy, VpnEcmpSupportValue, VpnTunnelBandwidth } from "./enums";
2
2
  import type { AddedPrincipal, AddressAttribute, ByoipCidr, CapacityReservation, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayClientVpnAttachment, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VpcEncryptionControl } from "./models_0";
3
3
  import type { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, IcmpTypeCode, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, OperatorRequest, Placement, RouteServer } from "./models_1";
4
4
  import type { DnsOptionsSpecification, IKEVersionsRequestListValue, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetConfiguration, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorPortRangeRequest, TrafficMirrorSession, TransitGateway, TransitGatewayMeteringPolicy, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
5
5
  import type { AttributeBooleanValue, Byoasn, CapacityBlock, CapacityBlockExtension, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
6
6
  import type { CreateVolumePermission, InstanceNetworkInterfaceSpecification, InstanceState, LaunchTemplateConfig, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
7
7
  import type { CapacityManagerMonitoredTagKey, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
8
- import type { CapacityReservationSpecification, Purchase } from "./models_6";
8
+ import type { CapacityReservationSpecification, EnclaveOptionsRequest, Purchase } from "./models_6";
9
+ /**
10
+ * @public
11
+ */
12
+ export interface ModifyPublicIpDnsNameOptionsRequest {
13
+ /**
14
+ * <p>A network interface ID.</p>
15
+ * @public
16
+ */
17
+ NetworkInterfaceId: string | undefined;
18
+ /**
19
+ * <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>
20
+ * <ul>
21
+ * <li>
22
+ * <p>
23
+ * <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>
24
+ * </li>
25
+ * <li>
26
+ * <p>
27
+ * <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>
28
+ * </li>
29
+ * <li>
30
+ * <p>
31
+ * <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>
32
+ * </li>
33
+ * </ul>
34
+ * @public
35
+ */
36
+ HostnameType: PublicIpDnsOption | undefined;
37
+ /**
38
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
39
+ * request, and provides an error response. If you have the required permissions, the error response is
40
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
41
+ * @public
42
+ */
43
+ DryRun?: boolean | undefined;
44
+ }
9
45
  /**
10
46
  * @public
11
47
  */
@@ -5653,21 +5689,6 @@ export interface ElasticInferenceAccelerator {
5653
5689
  */
5654
5690
  Count?: number | undefined;
5655
5691
  }
5656
- /**
5657
- * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For
5658
- * more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html"> What is Amazon Web Services Nitro
5659
- * Enclaves?</a> in the <i>Amazon Web Services Nitro Enclaves User
5660
- * Guide</i>.</p>
5661
- * @public
5662
- */
5663
- export interface EnclaveOptionsRequest {
5664
- /**
5665
- * <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
5666
- * <code>true</code>.</p>
5667
- * @public
5668
- */
5669
- Enabled?: boolean | undefined;
5670
- }
5671
5692
  /**
5672
5693
  * <p>Indicates whether your instance is configured for hibernation. This parameter is valid
5673
5694
  * only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { ModifyPublicIpDnsNameOptionsRequest } from "../models/models_6";
9
- import { ModifyPublicIpDnsNameOptionsResult } from "../models/models_7";
8
+ import {
9
+ ModifyPublicIpDnsNameOptionsRequest,
10
+ ModifyPublicIpDnsNameOptionsResult,
11
+ } from "../models/models_7";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ModifyPublicIpDnsNameOptionsCommandInput
@@ -62,7 +62,6 @@ import {
62
62
  PaymentOption,
63
63
  PermissionGroup,
64
64
  PlatformValues,
65
- PublicIpDnsOption,
66
65
  RouteServerRouteInstallationStatus,
67
66
  RouteServerRouteStatus,
68
67
  SelfServicePortal,
@@ -1528,11 +1527,15 @@ export interface InstanceBlockDeviceMappingSpecification {
1528
1527
  VirtualName?: string | undefined;
1529
1528
  NoDevice?: string | undefined;
1530
1529
  }
1530
+ export interface EnclaveOptionsRequest {
1531
+ Enabled?: boolean | undefined;
1532
+ }
1531
1533
  export interface BlobAttributeValue {
1532
1534
  Value?: Uint8Array | undefined;
1533
1535
  }
1534
1536
  export interface ModifyInstanceAttributeRequest {
1535
1537
  SourceDestCheck?: AttributeBooleanValue | undefined;
1538
+ EnclaveOptions?: EnclaveOptionsRequest | undefined;
1536
1539
  DisableApiStop?: AttributeBooleanValue | undefined;
1537
1540
  DryRun?: boolean | undefined;
1538
1541
  InstanceId: string | undefined;
@@ -1880,8 +1883,3 @@ export interface ModifyPrivateDnsNameOptionsRequest {
1880
1883
  export interface ModifyPrivateDnsNameOptionsResult {
1881
1884
  Return?: boolean | undefined;
1882
1885
  }
1883
- export interface ModifyPublicIpDnsNameOptionsRequest {
1884
- NetworkInterfaceId: string | undefined;
1885
- HostnameType: PublicIpDnsOption | undefined;
1886
- DryRun?: boolean | undefined;
1887
- }
@@ -35,6 +35,7 @@ import {
35
35
  NestedVirtualizationSpecification,
36
36
  OperationType,
37
37
  PayerResponsibility,
38
+ PublicIpDnsOption,
38
39
  ReportInstanceReasonCodes,
39
40
  ReportStatusType,
40
41
  ResetFpgaImageAttributeName,
@@ -158,7 +159,16 @@ import {
158
159
  VolumeModification,
159
160
  VpcBlockPublicAccessOptions,
160
161
  } from "./models_5";
161
- import { CapacityReservationSpecification, Purchase } from "./models_6";
162
+ import {
163
+ CapacityReservationSpecification,
164
+ EnclaveOptionsRequest,
165
+ Purchase,
166
+ } from "./models_6";
167
+ export interface ModifyPublicIpDnsNameOptionsRequest {
168
+ NetworkInterfaceId: string | undefined;
169
+ HostnameType: PublicIpDnsOption | undefined;
170
+ DryRun?: boolean | undefined;
171
+ }
162
172
  export interface ModifyPublicIpDnsNameOptionsResult {
163
173
  Successful?: boolean | undefined;
164
174
  }
@@ -1357,9 +1367,6 @@ export interface ElasticInferenceAccelerator {
1357
1367
  Type: string | undefined;
1358
1368
  Count?: number | undefined;
1359
1369
  }
1360
- export interface EnclaveOptionsRequest {
1361
- Enabled?: boolean | undefined;
1362
- }
1363
1370
  export interface HibernationOptionsRequest {
1364
1371
  Configured?: boolean | undefined;
1365
1372
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.1051.0",
4
+ "version": "3.1053.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -25,18 +25,18 @@
25
25
  "dependencies": {
26
26
  "@aws-crypto/sha256-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-js": "5.2.0",
28
- "@aws-sdk/core": "^3.974.12",
29
- "@aws-sdk/credential-provider-node": "^3.972.43",
30
- "@aws-sdk/middleware-sdk-ec2": "^3.972.26",
31
- "@aws-sdk/types": "^3.973.8",
32
- "@smithy/core": "^3.24.2",
33
- "@smithy/fetch-http-handler": "^5.4.2",
34
- "@smithy/node-http-handler": "^4.7.2",
35
- "@smithy/types": "^4.14.1",
28
+ "@aws-sdk/core": "^3.974.13",
29
+ "@aws-sdk/credential-provider-node": "^3.972.44",
30
+ "@aws-sdk/middleware-sdk-ec2": "^3.972.27",
31
+ "@aws-sdk/types": "^3.973.9",
32
+ "@smithy/core": "^3.24.3",
33
+ "@smithy/fetch-http-handler": "^5.4.3",
34
+ "@smithy/node-http-handler": "^4.7.3",
35
+ "@smithy/types": "^4.14.2",
36
36
  "tslib": "^2.6.2"
37
37
  },
38
38
  "devDependencies": {
39
- "@smithy/snapshot-testing": "^2.1.2",
39
+ "@smithy/snapshot-testing": "^2.1.3",
40
40
  "@tsconfig/node20": "20.1.8",
41
41
  "@types/node": "^20.14.8",
42
42
  "concurrently": "7.0.0",