@aws-sdk/client-ec2 3.58.0 → 3.69.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/CHANGELOG.md +30 -0
- package/README.md +2 -2
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/CreateTransitGatewayConnectCommand.js +2 -1
- package/dist-cjs/commands/DescribeCoipPoolsCommand.js +2 -1
- package/dist-cjs/commands/DescribeConversionTasksCommand.js +1 -2
- package/dist-cjs/commands/DescribeReplaceRootVolumeTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedInstancesCommand.js +1 -2
- package/dist-cjs/commands/GetGroupsForCapacityReservationCommand.js +3 -3
- package/dist-cjs/commands/GetHostReservationPurchasePreviewCommand.js +1 -2
- package/dist-cjs/commands/ModifyInstanceMaintenanceOptionsCommand.js +36 -0
- package/dist-cjs/commands/ResetAddressAttributeCommand.js +3 -3
- package/dist-cjs/commands/ResetEbsDefaultKmsKeyIdCommand.js +3 -3
- package/dist-cjs/commands/ResetFpgaImageAttributeCommand.js +3 -3
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_1.js +22 -23
- package/dist-cjs/models/models_2.js +24 -24
- package/dist-cjs/models/models_3.js +35 -29
- package/dist-cjs/models/models_4.js +29 -36
- package/dist-cjs/models/models_5.js +48 -42
- package/dist-cjs/models/models_6.js +44 -2
- package/dist-cjs/protocols/Aws_ec2.js +139 -13
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/CreateTransitGatewayConnectCommand.js +2 -1
- package/dist-es/commands/DescribeCoipPoolsCommand.js +2 -1
- package/dist-es/commands/DescribeConversionTasksCommand.js +1 -2
- package/dist-es/commands/DescribeReplaceRootVolumeTasksCommand.js +1 -1
- package/dist-es/commands/DescribeReservedInstancesCommand.js +1 -2
- package/dist-es/commands/GetGroupsForCapacityReservationCommand.js +1 -1
- package/dist-es/commands/GetHostReservationPurchasePreviewCommand.js +1 -2
- package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +39 -0
- package/dist-es/commands/ResetAddressAttributeCommand.js +1 -1
- package/dist-es/commands/ResetEbsDefaultKmsKeyIdCommand.js +1 -1
- package/dist-es/commands/ResetFpgaImageAttributeCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +13 -12
- package/dist-es/models/models_2.js +12 -12
- package/dist-es/models/models_3.js +21 -17
- package/dist-es/models/models_4.js +17 -20
- package/dist-es/models/models_5.js +28 -24
- package/dist-es/models/models_6.js +28 -0
- package/dist-es/protocols/Aws_ec2.js +137 -0
- package/dist-types/EC2.d.ts +91 -65
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCoipPoolsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +8 -7
- package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +3 -2
- package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +7 -5
- package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +11 -10
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -1
- package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +38 -0
- package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +14 -12
- package/dist-types/commands/StartInstancesCommand.d.ts +5 -4
- package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +17 -14
- package/dist-types/commands/UnmonitorInstancesCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +11 -9
- package/dist-types/models/models_1.d.ts +344 -313
- package/dist-types/models/models_2.d.ts +69 -69
- package/dist-types/models/models_3.d.ts +160 -218
- package/dist-types/models/models_4.d.ts +167 -126
- package/dist-types/models/models_5.d.ts +214 -140
- package/dist-types/models/models_6.d.ts +191 -66
- package/dist-types/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/ts3.4/EC2.d.ts +5 -0
- package/dist-types/ts3.4/EC2Client.d.ts +3 -2
- package/dist-types/ts3.4/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeCoipPoolsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +27 -39
- package/dist-types/ts3.4/models/models_2.d.ts +40 -39
- package/dist-types/ts3.4/models/models_3.d.ts +53 -49
- package/dist-types/ts3.4/models/models_4.d.ts +51 -71
- package/dist-types/ts3.4/models/models_5.d.ts +93 -60
- package/dist-types/ts3.4/models/models_6.d.ts +70 -2
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,8 +1,129 @@
|
|
|
1
|
-
import { _InstanceType, AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute,
|
|
1
|
+
import { _InstanceType, AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AttributeValue, AutoPlacement, ByoipCidr, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EndDateType, FleetExcessCapacityTerminationPolicy, HostnameType, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, PortRange, RouteTableAssociationState, SelfServicePortal, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
|
|
2
2
|
import { AutoAcceptSharedAttachmentsValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, FleetLaunchTemplateConfigRequest, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceTag, IpamScope, LaunchTemplate, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, RuleAction, ShutdownBehavior, SpotInstanceType, SubnetCidrReservation, TargetCapacitySpecificationRequest, TargetCapacityUnitType, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, VolumeType, VpnEcmpSupportValue } from "./models_1";
|
|
3
3
|
import { Filter, IKEVersionsRequestListValue, InstanceTagNotificationAttribute, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TransitGatewayPrefixListReference, TransitGatewayRoute, VpnConnection } from "./models_2";
|
|
4
|
-
import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, Monitoring, PermissionGroup, PublicIpv4PoolRange, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
|
|
5
|
-
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceFamilyCreditSpecification, InstanceNetworkInterfaceSpecification, LaunchTemplateConfig,
|
|
4
|
+
import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, Monitoring, PaymentOption, PermissionGroup, PublicIpv4PoolRange, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
|
|
5
|
+
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceFamilyCreditSpecification, InstanceNetworkInterfaceSpecification, LaunchTemplateConfig, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VolumeModification } from "./models_4";
|
|
6
|
+
export interface GetGroupsForCapacityReservationRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The ID of the Capacity Reservation.</p>
|
|
9
|
+
*/
|
|
10
|
+
CapacityReservationId: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* <p>The token to use to retrieve the next page of results.</p>
|
|
13
|
+
*/
|
|
14
|
+
NextToken?: string;
|
|
15
|
+
/**
|
|
16
|
+
* <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned <code>nextToken</code> value. This value can be between 5 and 500. If <code>maxResults</code> is given a larger value than 500, you receive an error.</p>
|
|
17
|
+
*/
|
|
18
|
+
MaxResults?: number;
|
|
19
|
+
/**
|
|
20
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
21
|
+
*/
|
|
22
|
+
DryRun?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace GetGroupsForCapacityReservationRequest {
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
const filterSensitiveLog: (obj: GetGroupsForCapacityReservationRequest) => any;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>Describes a resource group to which a Capacity Reservation has been added.</p>
|
|
32
|
+
*/
|
|
33
|
+
export interface CapacityReservationGroup {
|
|
34
|
+
/**
|
|
35
|
+
* <p>The ARN of the resource group.</p>
|
|
36
|
+
*/
|
|
37
|
+
GroupArn?: string;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The ID of the Amazon Web Services account that owns the resource group.</p>
|
|
40
|
+
*/
|
|
41
|
+
OwnerId?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace CapacityReservationGroup {
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
const filterSensitiveLog: (obj: CapacityReservationGroup) => any;
|
|
48
|
+
}
|
|
49
|
+
export interface GetGroupsForCapacityReservationResult {
|
|
50
|
+
/**
|
|
51
|
+
* <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>
|
|
52
|
+
*/
|
|
53
|
+
NextToken?: string;
|
|
54
|
+
/**
|
|
55
|
+
* <p>Information about the resource groups to which the Capacity Reservation has been added.</p>
|
|
56
|
+
*/
|
|
57
|
+
CapacityReservationGroups?: CapacityReservationGroup[];
|
|
58
|
+
}
|
|
59
|
+
export declare namespace GetGroupsForCapacityReservationResult {
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
const filterSensitiveLog: (obj: GetGroupsForCapacityReservationResult) => any;
|
|
64
|
+
}
|
|
65
|
+
export interface GetHostReservationPurchasePreviewRequest {
|
|
66
|
+
/**
|
|
67
|
+
* <p>The IDs of the Dedicated Hosts with which the reservation is associated.</p>
|
|
68
|
+
*/
|
|
69
|
+
HostIdSet: string[] | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* <p>The offering ID of the reservation.</p>
|
|
72
|
+
*/
|
|
73
|
+
OfferingId: string | undefined;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace GetHostReservationPurchasePreviewRequest {
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
const filterSensitiveLog: (obj: GetHostReservationPurchasePreviewRequest) => any;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* <p>Describes the result of the purchase.</p>
|
|
83
|
+
*/
|
|
84
|
+
export interface Purchase {
|
|
85
|
+
/**
|
|
86
|
+
* <p>The currency in which the <code>UpfrontPrice</code> and <code>HourlyPrice</code>
|
|
87
|
+
* amounts are specified. At this time, the only supported currency is
|
|
88
|
+
* <code>USD</code>.</p>
|
|
89
|
+
*/
|
|
90
|
+
CurrencyCode?: CurrencyCodeValues | string;
|
|
91
|
+
/**
|
|
92
|
+
* <p>The duration of the reservation's term in seconds.</p>
|
|
93
|
+
*/
|
|
94
|
+
Duration?: number;
|
|
95
|
+
/**
|
|
96
|
+
* <p>The IDs of the Dedicated Hosts associated with the reservation.</p>
|
|
97
|
+
*/
|
|
98
|
+
HostIdSet?: string[];
|
|
99
|
+
/**
|
|
100
|
+
* <p>The ID of the reservation.</p>
|
|
101
|
+
*/
|
|
102
|
+
HostReservationId?: string;
|
|
103
|
+
/**
|
|
104
|
+
* <p>The hourly price of the reservation per hour.</p>
|
|
105
|
+
*/
|
|
106
|
+
HourlyPrice?: string;
|
|
107
|
+
/**
|
|
108
|
+
* <p>The instance family on the Dedicated Host that the reservation can be associated
|
|
109
|
+
* with.</p>
|
|
110
|
+
*/
|
|
111
|
+
InstanceFamily?: string;
|
|
112
|
+
/**
|
|
113
|
+
* <p>The payment option for the reservation.</p>
|
|
114
|
+
*/
|
|
115
|
+
PaymentOption?: PaymentOption | string;
|
|
116
|
+
/**
|
|
117
|
+
* <p>The upfront price of the reservation.</p>
|
|
118
|
+
*/
|
|
119
|
+
UpfrontPrice?: string;
|
|
120
|
+
}
|
|
121
|
+
export declare namespace Purchase {
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
const filterSensitiveLog: (obj: Purchase) => any;
|
|
126
|
+
}
|
|
6
127
|
export interface GetHostReservationPurchasePreviewResult {
|
|
7
128
|
/**
|
|
8
129
|
* <p>The currency in which the <code>totalUpfrontPrice</code> and
|
|
@@ -3030,7 +3151,8 @@ export declare namespace ModifyFleetRequest {
|
|
|
3030
3151
|
}
|
|
3031
3152
|
export interface ModifyFleetResult {
|
|
3032
3153
|
/**
|
|
3033
|
-
* <p>
|
|
3154
|
+
* <p>If the request succeeds, the response returns <code>true</code>. If the request fails,
|
|
3155
|
+
* no response is returned, and instead an error message is returned.</p>
|
|
3034
3156
|
*/
|
|
3035
3157
|
Return?: boolean;
|
|
3036
3158
|
}
|
|
@@ -3407,12 +3529,12 @@ export declare namespace BlobAttributeValue {
|
|
|
3407
3529
|
}
|
|
3408
3530
|
export interface ModifyInstanceAttributeRequest {
|
|
3409
3531
|
/**
|
|
3410
|
-
* <p>Enable or disable source/destination checks, which ensure that the instance
|
|
3411
|
-
*
|
|
3412
|
-
*
|
|
3413
|
-
*
|
|
3414
|
-
*
|
|
3415
|
-
*
|
|
3532
|
+
* <p>Enable or disable source/destination checks, which ensure that the instance is either
|
|
3533
|
+
* the source or the destination of any traffic that it receives. If the value is
|
|
3534
|
+
* <code>true</code>, source/destination checks are enabled; otherwise, they are
|
|
3535
|
+
* disabled. The default value is <code>true</code>. You must disable source/destination
|
|
3536
|
+
* checks if the instance runs services such as network address translation, routing, or
|
|
3537
|
+
* firewalls.</p>
|
|
3416
3538
|
*/
|
|
3417
3539
|
SourceDestCheck?: AttributeBooleanValue;
|
|
3418
3540
|
/**
|
|
@@ -3426,7 +3548,7 @@ export interface ModifyInstanceAttributeRequest {
|
|
|
3426
3548
|
* deleted when the instance is terminated.</p>
|
|
3427
3549
|
* <p>To add instance store volumes to an Amazon EBS-backed instance, you must add them when
|
|
3428
3550
|
* you launch the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html#Using_OverridingAMIBDM">Update the block device mapping when launching an instance</a> in the
|
|
3429
|
-
*
|
|
3551
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
3430
3552
|
*/
|
|
3431
3553
|
BlockDeviceMappings?: InstanceBlockDeviceMappingSpecification[];
|
|
3432
3554
|
/**
|
|
@@ -3456,9 +3578,10 @@ export interface ModifyInstanceAttributeRequest {
|
|
|
3456
3578
|
*/
|
|
3457
3579
|
EnaSupport?: AttributeBooleanValue;
|
|
3458
3580
|
/**
|
|
3459
|
-
* <p>[EC2-VPC] Replaces the security groups of the instance with the specified security
|
|
3460
|
-
* You must specify at least one security group, even if it's just the default
|
|
3461
|
-
* specify the security group ID, not the security
|
|
3581
|
+
* <p>[EC2-VPC] Replaces the security groups of the instance with the specified security
|
|
3582
|
+
* groups. You must specify at least one security group, even if it's just the default
|
|
3583
|
+
* security group for the VPC. You must specify the security group ID, not the security
|
|
3584
|
+
* group name.</p>
|
|
3462
3585
|
*/
|
|
3463
3586
|
Groups?: string[];
|
|
3464
3587
|
/**
|
|
@@ -3472,8 +3595,8 @@ export interface ModifyInstanceAttributeRequest {
|
|
|
3472
3595
|
InstanceInitiatedShutdownBehavior?: AttributeValue;
|
|
3473
3596
|
/**
|
|
3474
3597
|
* <p>Changes the instance type to the specified value. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance
|
|
3475
|
-
*
|
|
3476
|
-
* the error returned is <code>InvalidInstanceAttributeValue</code>.</p>
|
|
3598
|
+
* types</a> in the <i>Amazon EC2 User Guide</i>. If the instance type is
|
|
3599
|
+
* not valid, the error returned is <code>InvalidInstanceAttributeValue</code>.</p>
|
|
3477
3600
|
*/
|
|
3478
3601
|
InstanceType?: AttributeValue;
|
|
3479
3602
|
/**
|
|
@@ -3496,9 +3619,8 @@ export interface ModifyInstanceAttributeRequest {
|
|
|
3496
3619
|
*/
|
|
3497
3620
|
SriovNetSupport?: AttributeValue;
|
|
3498
3621
|
/**
|
|
3499
|
-
* <p>Changes the instance's user data to the specified value. If you are using an Amazon Web Services SDK
|
|
3500
|
-
*
|
|
3501
|
-
* from a file. Otherwise, you must provide base64-encoded text.</p>
|
|
3622
|
+
* <p>Changes the instance's user data to the specified value. If you are using an Amazon Web Services SDK or command line tool, base64-encoding is performed for you, and you
|
|
3623
|
+
* can load the text from a file. Otherwise, you must provide base64-encoded text.</p>
|
|
3502
3624
|
*/
|
|
3503
3625
|
UserData?: BlobAttributeValue;
|
|
3504
3626
|
/**
|
|
@@ -3819,6 +3941,47 @@ export declare namespace ModifyInstanceEventWindowResult {
|
|
|
3819
3941
|
*/
|
|
3820
3942
|
const filterSensitiveLog: (obj: ModifyInstanceEventWindowResult) => any;
|
|
3821
3943
|
}
|
|
3944
|
+
export interface ModifyInstanceMaintenanceOptionsRequest {
|
|
3945
|
+
/**
|
|
3946
|
+
* <p>The ID of the instance.</p>
|
|
3947
|
+
*/
|
|
3948
|
+
InstanceId: string | undefined;
|
|
3949
|
+
/**
|
|
3950
|
+
* <p>Disables the automatic recovery behavior of your instance or sets it to
|
|
3951
|
+
* default.</p>
|
|
3952
|
+
*/
|
|
3953
|
+
AutoRecovery?: InstanceAutoRecoveryState | string;
|
|
3954
|
+
/**
|
|
3955
|
+
* <p>Checks whether you have the required permissions for the action, without actually
|
|
3956
|
+
* making the request, and provides an error response. If you have the required
|
|
3957
|
+
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
3958
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
3959
|
+
*/
|
|
3960
|
+
DryRun?: boolean;
|
|
3961
|
+
}
|
|
3962
|
+
export declare namespace ModifyInstanceMaintenanceOptionsRequest {
|
|
3963
|
+
/**
|
|
3964
|
+
* @internal
|
|
3965
|
+
*/
|
|
3966
|
+
const filterSensitiveLog: (obj: ModifyInstanceMaintenanceOptionsRequest) => any;
|
|
3967
|
+
}
|
|
3968
|
+
export interface ModifyInstanceMaintenanceOptionsResult {
|
|
3969
|
+
/**
|
|
3970
|
+
* <p>The ID of the instance.</p>
|
|
3971
|
+
*/
|
|
3972
|
+
InstanceId?: string;
|
|
3973
|
+
/**
|
|
3974
|
+
* <p>Provides information on the current automatic recovery behavior of your
|
|
3975
|
+
* instance.</p>
|
|
3976
|
+
*/
|
|
3977
|
+
AutoRecovery?: InstanceAutoRecoveryState | string;
|
|
3978
|
+
}
|
|
3979
|
+
export declare namespace ModifyInstanceMaintenanceOptionsResult {
|
|
3980
|
+
/**
|
|
3981
|
+
* @internal
|
|
3982
|
+
*/
|
|
3983
|
+
const filterSensitiveLog: (obj: ModifyInstanceMaintenanceOptionsResult) => any;
|
|
3984
|
+
}
|
|
3822
3985
|
export interface ModifyInstanceMetadataOptionsRequest {
|
|
3823
3986
|
/**
|
|
3824
3987
|
* <p>The ID of the instance.</p>
|
|
@@ -3828,33 +3991,34 @@ export interface ModifyInstanceMetadataOptionsRequest {
|
|
|
3828
3991
|
* <p>The state of token usage for your instance metadata requests. If the parameter is not
|
|
3829
3992
|
* specified in the request, the default state is <code>optional</code>.</p>
|
|
3830
3993
|
* <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
|
|
3831
|
-
* with or without a signed token header on your request. If you retrieve the IAM role
|
|
3832
|
-
*
|
|
3833
|
-
*
|
|
3834
|
-
* credentials are returned.</p>
|
|
3994
|
+
* with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are
|
|
3995
|
+
* returned. If you retrieve the IAM role credentials using a valid signed
|
|
3996
|
+
* token, the version 2.0 role credentials are returned.</p>
|
|
3835
3997
|
* <p>If the state is <code>required</code>, you must send a signed token header with any
|
|
3836
|
-
* instance metadata retrieval requests. In this state, retrieving the IAM
|
|
3837
|
-
* always returns the version 2.0 credentials; the version 1.0 credentials
|
|
3838
|
-
* available.</p>
|
|
3998
|
+
* instance metadata retrieval requests. In this state, retrieving the IAM
|
|
3999
|
+
* role credential always returns the version 2.0 credentials; the version 1.0 credentials
|
|
4000
|
+
* are not available.</p>
|
|
3839
4001
|
*/
|
|
3840
4002
|
HttpTokens?: HttpTokensState | string;
|
|
3841
4003
|
/**
|
|
3842
4004
|
* <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
|
|
3843
|
-
* number, the further instance metadata requests can travel. If no parameter is specified,
|
|
4005
|
+
* number, the further instance metadata requests can travel. If no parameter is specified,
|
|
4006
|
+
* the existing state is maintained.</p>
|
|
3844
4007
|
* <p>Possible values: Integers from 1 to 64</p>
|
|
3845
4008
|
*/
|
|
3846
4009
|
HttpPutResponseHopLimit?: number;
|
|
3847
4010
|
/**
|
|
3848
|
-
* <p>Enables or disables the HTTP metadata endpoint on your instances. If
|
|
3849
|
-
*
|
|
3850
|
-
* <p>If you specify a value of <code>disabled</code>, you cannot access your
|
|
3851
|
-
*
|
|
4011
|
+
* <p>Enables or disables the HTTP metadata endpoint on your instances. If this parameter is
|
|
4012
|
+
* not specified, the existing state is maintained.</p>
|
|
4013
|
+
* <p>If you specify a value of <code>disabled</code>, you cannot access your instance
|
|
4014
|
+
* metadata.</p>
|
|
3852
4015
|
*/
|
|
3853
4016
|
HttpEndpoint?: InstanceMetadataEndpointState | string;
|
|
3854
4017
|
/**
|
|
3855
|
-
* <p>Checks whether you have the required permissions for the action, without actually
|
|
3856
|
-
* and provides an error response. If you have the required
|
|
3857
|
-
* <code>DryRunOperation</code>. Otherwise, it is
|
|
4018
|
+
* <p>Checks whether you have the required permissions for the action, without actually
|
|
4019
|
+
* making the request, and provides an error response. If you have the required
|
|
4020
|
+
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
4021
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
3858
4022
|
*/
|
|
3859
4023
|
DryRun?: boolean;
|
|
3860
4024
|
/**
|
|
@@ -4355,9 +4519,10 @@ export declare namespace ModifyNetworkInterfaceAttributeRequest {
|
|
|
4355
4519
|
}
|
|
4356
4520
|
export interface ModifyPrivateDnsNameOptionsRequest {
|
|
4357
4521
|
/**
|
|
4358
|
-
* <p>Checks whether you have the required permissions for the action, without actually
|
|
4359
|
-
* and provides an error response. If you have the required
|
|
4360
|
-
*
|
|
4522
|
+
* <p>Checks whether you have the required permissions for the action, without actually
|
|
4523
|
+
* making the request, and provides an error response. If you have the required
|
|
4524
|
+
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
4525
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
4361
4526
|
*/
|
|
4362
4527
|
DryRun?: boolean;
|
|
4363
4528
|
/**
|
|
@@ -4365,18 +4530,20 @@ export interface ModifyPrivateDnsNameOptionsRequest {
|
|
|
4365
4530
|
*/
|
|
4366
4531
|
InstanceId?: string;
|
|
4367
4532
|
/**
|
|
4368
|
-
* <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name
|
|
4369
|
-
* based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name
|
|
4370
|
-
* on the instance ID. For dual-stack subnets, you can specify whether DNS
|
|
4371
|
-
* IPv4 address or the instance ID.</p>
|
|
4533
|
+
* <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name
|
|
4534
|
+
* must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name
|
|
4535
|
+
* must be based on the instance ID. For dual-stack subnets, you can specify whether DNS
|
|
4536
|
+
* names use the instance IPv4 address or the instance ID.</p>
|
|
4372
4537
|
*/
|
|
4373
4538
|
PrivateDnsHostnameType?: HostnameType | string;
|
|
4374
4539
|
/**
|
|
4375
|
-
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
|
|
4540
|
+
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
|
|
4541
|
+
* records.</p>
|
|
4376
4542
|
*/
|
|
4377
4543
|
EnableResourceNameDnsARecord?: boolean;
|
|
4378
4544
|
/**
|
|
4379
|
-
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA
|
|
4545
|
+
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA
|
|
4546
|
+
* records.</p>
|
|
4380
4547
|
*/
|
|
4381
4548
|
EnableResourceNameDnsAAAARecord?: boolean;
|
|
4382
4549
|
}
|
|
@@ -4388,7 +4555,8 @@ export declare namespace ModifyPrivateDnsNameOptionsRequest {
|
|
|
4388
4555
|
}
|
|
4389
4556
|
export interface ModifyPrivateDnsNameOptionsResult {
|
|
4390
4557
|
/**
|
|
4391
|
-
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an
|
|
4558
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an
|
|
4559
|
+
* error.</p>
|
|
4392
4560
|
*/
|
|
4393
4561
|
Return?: boolean;
|
|
4394
4562
|
}
|
|
@@ -4695,7 +4863,8 @@ export declare namespace ModifySpotFleetRequestRequest {
|
|
|
4695
4863
|
*/
|
|
4696
4864
|
export interface ModifySpotFleetRequestResponse {
|
|
4697
4865
|
/**
|
|
4698
|
-
* <p>
|
|
4866
|
+
* <p>If the request succeeds, the response returns <code>true</code>. If the request fails,
|
|
4867
|
+
* no response is returned, and instead an error message is returned.</p>
|
|
4699
4868
|
*/
|
|
4700
4869
|
Return?: boolean;
|
|
4701
4870
|
}
|
|
@@ -7693,98 +7862,3 @@ export declare namespace RequestSpotInstancesResult {
|
|
|
7693
7862
|
*/
|
|
7694
7863
|
const filterSensitiveLog: (obj: RequestSpotInstancesResult) => any;
|
|
7695
7864
|
}
|
|
7696
|
-
export interface ResetAddressAttributeRequest {
|
|
7697
|
-
/**
|
|
7698
|
-
* <p>[EC2-VPC] The allocation ID.</p>
|
|
7699
|
-
*/
|
|
7700
|
-
AllocationId: string | undefined;
|
|
7701
|
-
/**
|
|
7702
|
-
* <p>The attribute of the IP address.</p>
|
|
7703
|
-
*/
|
|
7704
|
-
Attribute: AddressAttributeName | string | undefined;
|
|
7705
|
-
/**
|
|
7706
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7707
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7708
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7709
|
-
*/
|
|
7710
|
-
DryRun?: boolean;
|
|
7711
|
-
}
|
|
7712
|
-
export declare namespace ResetAddressAttributeRequest {
|
|
7713
|
-
/**
|
|
7714
|
-
* @internal
|
|
7715
|
-
*/
|
|
7716
|
-
const filterSensitiveLog: (obj: ResetAddressAttributeRequest) => any;
|
|
7717
|
-
}
|
|
7718
|
-
export interface ResetAddressAttributeResult {
|
|
7719
|
-
/**
|
|
7720
|
-
* <p>Information about the IP address.</p>
|
|
7721
|
-
*/
|
|
7722
|
-
Address?: AddressAttribute;
|
|
7723
|
-
}
|
|
7724
|
-
export declare namespace ResetAddressAttributeResult {
|
|
7725
|
-
/**
|
|
7726
|
-
* @internal
|
|
7727
|
-
*/
|
|
7728
|
-
const filterSensitiveLog: (obj: ResetAddressAttributeResult) => any;
|
|
7729
|
-
}
|
|
7730
|
-
export interface ResetEbsDefaultKmsKeyIdRequest {
|
|
7731
|
-
/**
|
|
7732
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7733
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7734
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7735
|
-
*/
|
|
7736
|
-
DryRun?: boolean;
|
|
7737
|
-
}
|
|
7738
|
-
export declare namespace ResetEbsDefaultKmsKeyIdRequest {
|
|
7739
|
-
/**
|
|
7740
|
-
* @internal
|
|
7741
|
-
*/
|
|
7742
|
-
const filterSensitiveLog: (obj: ResetEbsDefaultKmsKeyIdRequest) => any;
|
|
7743
|
-
}
|
|
7744
|
-
export interface ResetEbsDefaultKmsKeyIdResult {
|
|
7745
|
-
/**
|
|
7746
|
-
* <p>The Amazon Resource Name (ARN) of the default KMS key for EBS encryption by default.</p>
|
|
7747
|
-
*/
|
|
7748
|
-
KmsKeyId?: string;
|
|
7749
|
-
}
|
|
7750
|
-
export declare namespace ResetEbsDefaultKmsKeyIdResult {
|
|
7751
|
-
/**
|
|
7752
|
-
* @internal
|
|
7753
|
-
*/
|
|
7754
|
-
const filterSensitiveLog: (obj: ResetEbsDefaultKmsKeyIdResult) => any;
|
|
7755
|
-
}
|
|
7756
|
-
export declare type ResetFpgaImageAttributeName = "loadPermission";
|
|
7757
|
-
export interface ResetFpgaImageAttributeRequest {
|
|
7758
|
-
/**
|
|
7759
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7760
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7761
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7762
|
-
*/
|
|
7763
|
-
DryRun?: boolean;
|
|
7764
|
-
/**
|
|
7765
|
-
* <p>The ID of the AFI.</p>
|
|
7766
|
-
*/
|
|
7767
|
-
FpgaImageId: string | undefined;
|
|
7768
|
-
/**
|
|
7769
|
-
* <p>The attribute.</p>
|
|
7770
|
-
*/
|
|
7771
|
-
Attribute?: ResetFpgaImageAttributeName | string;
|
|
7772
|
-
}
|
|
7773
|
-
export declare namespace ResetFpgaImageAttributeRequest {
|
|
7774
|
-
/**
|
|
7775
|
-
* @internal
|
|
7776
|
-
*/
|
|
7777
|
-
const filterSensitiveLog: (obj: ResetFpgaImageAttributeRequest) => any;
|
|
7778
|
-
}
|
|
7779
|
-
export interface ResetFpgaImageAttributeResult {
|
|
7780
|
-
/**
|
|
7781
|
-
* <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
|
|
7782
|
-
*/
|
|
7783
|
-
Return?: boolean;
|
|
7784
|
-
}
|
|
7785
|
-
export declare namespace ResetFpgaImageAttributeResult {
|
|
7786
|
-
/**
|
|
7787
|
-
* @internal
|
|
7788
|
-
*/
|
|
7789
|
-
const filterSensitiveLog: (obj: ResetFpgaImageAttributeResult) => any;
|
|
7790
|
-
}
|