@aws-sdk/client-ec2 3.709.0 → 3.713.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/dist-cjs/index.js +42 -11
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/models/models_4.js +0 -8
- package/dist-es/models/models_5.js +8 -0
- package/dist-es/protocols/Aws_ec2.js +26 -1
- package/dist-types/commands/CreateSnapshotCommand.d.ts +20 -8
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +22 -10
- package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +1 -2
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +7 -4
- package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/EnableAddressTransferCommand.d.ts +2 -1
- package/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +1 -2
- package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +3 -3
- package/dist-types/commands/UnlockSnapshotCommand.d.ts +1 -1
- package/dist-types/models/models_2.d.ts +80 -52
- package/dist-types/models/models_3.d.ts +41 -76
- package/dist-types/models/models_4.d.ts +77 -114
- package/dist-types/models/models_5.d.ts +115 -31
- package/dist-types/models/models_6.d.ts +31 -72
- package/dist-types/models/models_7.d.ts +74 -30
- package/dist-types/models/models_8.d.ts +27 -0
- package/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +8 -3
- package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_2.d.ts +10 -6
- package/dist-types/ts3.4/models/models_3.d.ts +10 -14
- package/dist-types/ts3.4/models/models_4.d.ts +15 -17
- package/dist-types/ts3.4/models/models_5.d.ts +17 -9
- package/dist-types/ts3.4/models/models_6.d.ts +8 -12
- package/dist-types/ts3.4/models/models_7.d.ts +12 -7
- package/dist-types/ts3.4/models/models_8.d.ts +7 -0
- package/package.json +15 -15
|
@@ -1,8 +1,121 @@
|
|
|
1
|
-
import { ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedImagesSettingsDisabledState,
|
|
1
|
+
import { ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedImagesSettingsDisabledState, AllowedPrincipal, AsnAssociation, AssociationStatus, BatchState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, NatGatewayAddress, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
2
2
|
import { _InstanceType, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
|
|
3
3
|
import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, RouteTable, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
4
|
import { EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, StatisticType } from "./models_3";
|
|
5
|
-
import { AttributeBooleanValue, OfferingClassType,
|
|
5
|
+
import { AttributeBooleanValue, OfferingClassType, PermissionGroup, ProductCode } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
* @enum
|
|
9
|
+
*/
|
|
10
|
+
export declare const OfferingTypeValues: {
|
|
11
|
+
readonly All_Upfront: "All Upfront";
|
|
12
|
+
readonly Heavy_Utilization: "Heavy Utilization";
|
|
13
|
+
readonly Light_Utilization: "Light Utilization";
|
|
14
|
+
readonly Medium_Utilization: "Medium Utilization";
|
|
15
|
+
readonly No_Upfront: "No Upfront";
|
|
16
|
+
readonly Partial_Upfront: "Partial Upfront";
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type OfferingTypeValues = (typeof OfferingTypeValues)[keyof typeof OfferingTypeValues];
|
|
22
|
+
/**
|
|
23
|
+
* <p>Contains the parameters for DescribeReservedInstances.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export interface DescribeReservedInstancesRequest {
|
|
27
|
+
/**
|
|
28
|
+
* <p>Describes whether the Reserved Instance is Standard or Convertible.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
OfferingClass?: OfferingClassType | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>One or more Reserved Instance IDs.</p>
|
|
34
|
+
* <p>Default: Describes all your Reserved Instances, or only those otherwise specified.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
ReservedInstancesIds?: string[] | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
40
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
41
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
DryRun?: boolean | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* <p>One or more filters.</p>
|
|
47
|
+
* <ul>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p>
|
|
50
|
+
* <code>availability-zone</code> - The Availability Zone where the Reserved Instance can be used.</p>
|
|
51
|
+
* </li>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>
|
|
54
|
+
* <code>duration</code> - The duration of the Reserved Instance (one year or three years), in seconds (<code>31536000</code> | <code>94608000</code>).</p>
|
|
55
|
+
* </li>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>
|
|
58
|
+
* <code>end</code> - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).</p>
|
|
59
|
+
* </li>
|
|
60
|
+
* <li>
|
|
61
|
+
* <p>
|
|
62
|
+
* <code>fixed-price</code> - The purchase price of the Reserved Instance (for example, 9800.0).</p>
|
|
63
|
+
* </li>
|
|
64
|
+
* <li>
|
|
65
|
+
* <p>
|
|
66
|
+
* <code>instance-type</code> - The instance type that is covered by the reservation.</p>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>
|
|
70
|
+
* <code>scope</code> - The scope of the Reserved Instance (<code>Region</code> or <code>Availability Zone</code>).</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>
|
|
74
|
+
* <code>product-description</code> - The Reserved Instance product platform description
|
|
75
|
+
* (<code>Linux/UNIX</code> | <code>Linux with SQL Server Standard</code> |
|
|
76
|
+
* <code>Linux with SQL Server Web</code> | <code>Linux with SQL Server Enterprise</code> |
|
|
77
|
+
* <code>SUSE Linux</code> |
|
|
78
|
+
* <code>Red Hat Enterprise Linux</code> | <code>Red Hat Enterprise Linux with HA</code> |
|
|
79
|
+
* <code>Windows</code> | <code>Windows with SQL Server Standard</code> |
|
|
80
|
+
* <code>Windows with SQL Server Web</code> | <code>Windows with SQL Server Enterprise</code>).</p>
|
|
81
|
+
* </li>
|
|
82
|
+
* <li>
|
|
83
|
+
* <p>
|
|
84
|
+
* <code>reserved-instances-id</code> - The ID of the Reserved Instance.</p>
|
|
85
|
+
* </li>
|
|
86
|
+
* <li>
|
|
87
|
+
* <p>
|
|
88
|
+
* <code>start</code> - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).</p>
|
|
89
|
+
* </li>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>
|
|
92
|
+
* <code>state</code> - The state of the Reserved Instance (<code>payment-pending</code> | <code>active</code> | <code>payment-failed</code> | <code>retired</code>).</p>
|
|
93
|
+
* </li>
|
|
94
|
+
* <li>
|
|
95
|
+
* <p>
|
|
96
|
+
* <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
|
|
97
|
+
* For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
|
|
98
|
+
* </li>
|
|
99
|
+
* <li>
|
|
100
|
+
* <p>
|
|
101
|
+
* <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
|
|
102
|
+
* </li>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>
|
|
105
|
+
* <code>usage-price</code> - The usage price of the Reserved Instance, per hour (for example, 0.84).</p>
|
|
106
|
+
* </li>
|
|
107
|
+
* </ul>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
Filters?: Filter[] | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* <p>The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API
|
|
113
|
+
* version, you only have access to the <code>Medium Utilization</code> Reserved Instance
|
|
114
|
+
* offering type.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
OfferingType?: OfferingTypeValues | undefined;
|
|
118
|
+
}
|
|
6
119
|
/**
|
|
7
120
|
* @public
|
|
8
121
|
* @enum
|
|
@@ -9761,35 +9874,6 @@ export interface EnableAddressTransferRequest {
|
|
|
9761
9874
|
*/
|
|
9762
9875
|
DryRun?: boolean | undefined;
|
|
9763
9876
|
}
|
|
9764
|
-
/**
|
|
9765
|
-
* @public
|
|
9766
|
-
*/
|
|
9767
|
-
export interface EnableAddressTransferResult {
|
|
9768
|
-
/**
|
|
9769
|
-
* <p>An Elastic IP address transfer.</p>
|
|
9770
|
-
* @public
|
|
9771
|
-
*/
|
|
9772
|
-
AddressTransfer?: AddressTransfer | undefined;
|
|
9773
|
-
}
|
|
9774
|
-
/**
|
|
9775
|
-
* @public
|
|
9776
|
-
*/
|
|
9777
|
-
export interface EnableAllowedImagesSettingsRequest {
|
|
9778
|
-
/**
|
|
9779
|
-
* <p>Specify <code>enabled</code> to apply the image criteria specified by the Allowed AMIs
|
|
9780
|
-
* settings. Specify <code>audit-mode</code> so that you can check which AMIs will be allowed or
|
|
9781
|
-
* not allowed by the image criteria.</p>
|
|
9782
|
-
* @public
|
|
9783
|
-
*/
|
|
9784
|
-
AllowedImagesSettingsState: AllowedImagesSettingsEnabledState | undefined;
|
|
9785
|
-
/**
|
|
9786
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
9787
|
-
* and provides an error response. If you have the required permissions, the error response is
|
|
9788
|
-
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
9789
|
-
* @public
|
|
9790
|
-
*/
|
|
9791
|
-
DryRun?: boolean | undefined;
|
|
9792
|
-
}
|
|
9793
9877
|
/**
|
|
9794
9878
|
* @internal
|
|
9795
9879
|
*/
|
|
@@ -1,9 +1,38 @@
|
|
|
1
|
-
import { AccessScopeAnalysisFinding, AddressAttribute, AllowedImagesSettingsEnabledState, AutoPlacement, CurrencyCodeValues, DeviceTrustProviderType, HostMaintenance, HostRecovery,
|
|
2
|
-
import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationState, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, DiskImageFormat, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest,
|
|
1
|
+
import { AccessScopeAnalysisFinding, AddressAttribute, AddressTransfer, AllowedImagesSettingsEnabledState, AutoPlacement, CurrencyCodeValues, DeviceTrustProviderType, HostMaintenance, HostRecovery, IpamPoolAllocation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem, UserTrustProviderType } from "./models_0";
|
|
2
|
+
import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationState, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, DiskImageFormat, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, InstanceMatchCriteria, InstanceRequirementsRequest, IpamResourceTag, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType } from "./models_1";
|
|
3
3
|
import { NetworkInsightsAccessScopeContent, SSEType, SubnetCidrReservation, TransitGatewayPrefixListReference } from "./models_2";
|
|
4
4
|
import { ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IpamPoolCidr, MetricType, PeriodType, StatisticType } from "./models_3";
|
|
5
5
|
import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceMetadataEndpointState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, LockState, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
|
|
6
6
|
import { ManagedBy, SnapshotBlockPublicAccessState, TransitGatewayPropagation, TransitGatewayPropagationState } from "./models_5";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface EnableAddressTransferResult {
|
|
11
|
+
/**
|
|
12
|
+
* <p>An Elastic IP address transfer.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
AddressTransfer?: AddressTransfer | undefined;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface EnableAllowedImagesSettingsRequest {
|
|
21
|
+
/**
|
|
22
|
+
* <p>Specify <code>enabled</code> to apply the image criteria specified by the Allowed AMIs
|
|
23
|
+
* settings. Specify <code>audit-mode</code> so that you can check which AMIs will be allowed or
|
|
24
|
+
* not allowed by the image criteria.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
AllowedImagesSettingsState: AllowedImagesSettingsEnabledState | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
30
|
+
* and provides an error response. If you have the required permissions, the error response is
|
|
31
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
DryRun?: boolean | undefined;
|
|
35
|
+
}
|
|
7
36
|
/**
|
|
8
37
|
* @public
|
|
9
38
|
*/
|
|
@@ -7837,76 +7866,6 @@ export interface ModifyInstanceEventStartTimeResult {
|
|
|
7837
7866
|
*/
|
|
7838
7867
|
Event?: InstanceStatusEvent | undefined;
|
|
7839
7868
|
}
|
|
7840
|
-
/**
|
|
7841
|
-
* @public
|
|
7842
|
-
*/
|
|
7843
|
-
export interface ModifyInstanceEventWindowRequest {
|
|
7844
|
-
/**
|
|
7845
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7846
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7847
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7848
|
-
* @public
|
|
7849
|
-
*/
|
|
7850
|
-
DryRun?: boolean | undefined;
|
|
7851
|
-
/**
|
|
7852
|
-
* <p>The name of the event window.</p>
|
|
7853
|
-
* @public
|
|
7854
|
-
*/
|
|
7855
|
-
Name?: string | undefined;
|
|
7856
|
-
/**
|
|
7857
|
-
* <p>The ID of the event window.</p>
|
|
7858
|
-
* @public
|
|
7859
|
-
*/
|
|
7860
|
-
InstanceEventWindowId: string | undefined;
|
|
7861
|
-
/**
|
|
7862
|
-
* <p>The time ranges of the event window.</p>
|
|
7863
|
-
* @public
|
|
7864
|
-
*/
|
|
7865
|
-
TimeRanges?: InstanceEventWindowTimeRangeRequest[] | undefined;
|
|
7866
|
-
/**
|
|
7867
|
-
* <p>The cron expression of the event window, for example, <code>* 0-4,20-23 * * 1,5</code>.</p>
|
|
7868
|
-
* <p>Constraints:</p>
|
|
7869
|
-
* <ul>
|
|
7870
|
-
* <li>
|
|
7871
|
-
* <p>Only hour and day of the week values are supported.</p>
|
|
7872
|
-
* </li>
|
|
7873
|
-
* <li>
|
|
7874
|
-
* <p>For day of the week values, you can specify either integers <code>0</code> through
|
|
7875
|
-
* <code>6</code>, or alternative single values <code>SUN</code> through
|
|
7876
|
-
* <code>SAT</code>.</p>
|
|
7877
|
-
* </li>
|
|
7878
|
-
* <li>
|
|
7879
|
-
* <p>The minute, month, and year must be specified by <code>*</code>.</p>
|
|
7880
|
-
* </li>
|
|
7881
|
-
* <li>
|
|
7882
|
-
* <p>The hour value must be one or a multiple range, for example, <code>0-4</code> or
|
|
7883
|
-
* <code>0-4,20-23</code>.</p>
|
|
7884
|
-
* </li>
|
|
7885
|
-
* <li>
|
|
7886
|
-
* <p>Each hour range must be >= 2 hours, for example, <code>0-2</code> or
|
|
7887
|
-
* <code>20-23</code>.</p>
|
|
7888
|
-
* </li>
|
|
7889
|
-
* <li>
|
|
7890
|
-
* <p>The event window must be >= 4 hours. The combined total time ranges in the event
|
|
7891
|
-
* window must be >= 4 hours.</p>
|
|
7892
|
-
* </li>
|
|
7893
|
-
* </ul>
|
|
7894
|
-
* <p>For more information about cron expressions, see <a href="https://en.wikipedia.org/wiki/Cron">cron</a> on the <i>Wikipedia
|
|
7895
|
-
* website</i>.</p>
|
|
7896
|
-
* @public
|
|
7897
|
-
*/
|
|
7898
|
-
CronExpression?: string | undefined;
|
|
7899
|
-
}
|
|
7900
|
-
/**
|
|
7901
|
-
* @public
|
|
7902
|
-
*/
|
|
7903
|
-
export interface ModifyInstanceEventWindowResult {
|
|
7904
|
-
/**
|
|
7905
|
-
* <p>Information about the event window.</p>
|
|
7906
|
-
* @public
|
|
7907
|
-
*/
|
|
7908
|
-
InstanceEventWindow?: InstanceEventWindow | undefined;
|
|
7909
|
-
}
|
|
7910
7869
|
/**
|
|
7911
7870
|
* @internal
|
|
7912
7871
|
*/
|
|
@@ -1,10 +1,80 @@
|
|
|
1
|
-
import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, Ipv6SupportValue, NatGatewayAddress, PortRange, RouteTableAssociationState, SecurityGroupReferencingSupportValue, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
|
-
import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, ConnectionTrackingSpecificationRequest, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, MarketType, OperatorRequest, Placement, RequestIpamResourceTag, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
|
|
1
|
+
import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, NatGatewayAddress, PortRange, RouteTableAssociationState, SecurityGroupReferencingSupportValue, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
|
+
import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, ConnectionTrackingSpecificationRequest, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceBandwidthWeighting, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, MarketType, OperatorRequest, Placement, RequestIpamResourceTag, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
|
|
3
3
|
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IcmpTypeCode, IKEVersionsRequestListValue, InternetGatewayExclusionMode, IpAddressType, ManagedPrefixList, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RuleAction, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
|
|
4
4
|
import { Byoasn, CapacityBlockExtension, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
|
|
5
5
|
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, TpmSupportValues } from "./models_4";
|
|
6
6
|
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InternetGatewayBlockMode, LaunchTemplateConfig, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
|
|
7
7
|
import { CapacityReservationSpecification, IpamResourceCidr, OperationType, Purchase } from "./models_6";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface ModifyInstanceEventWindowRequest {
|
|
12
|
+
/**
|
|
13
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
14
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
15
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
DryRun?: boolean | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The name of the event window.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
Name?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The ID of the event window.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
InstanceEventWindowId: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The time ranges of the event window.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
TimeRanges?: InstanceEventWindowTimeRangeRequest[] | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The cron expression of the event window, for example, <code>* 0-4,20-23 * * 1,5</code>.</p>
|
|
36
|
+
* <p>Constraints:</p>
|
|
37
|
+
* <ul>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>Only hour and day of the week values are supported.</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>For day of the week values, you can specify either integers <code>0</code> through
|
|
43
|
+
* <code>6</code>, or alternative single values <code>SUN</code> through
|
|
44
|
+
* <code>SAT</code>.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>The minute, month, and year must be specified by <code>*</code>.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>The hour value must be one or a multiple range, for example, <code>0-4</code> or
|
|
51
|
+
* <code>0-4,20-23</code>.</p>
|
|
52
|
+
* </li>
|
|
53
|
+
* <li>
|
|
54
|
+
* <p>Each hour range must be >= 2 hours, for example, <code>0-2</code> or
|
|
55
|
+
* <code>20-23</code>.</p>
|
|
56
|
+
* </li>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>The event window must be >= 4 hours. The combined total time ranges in the event
|
|
59
|
+
* window must be >= 4 hours.</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* </ul>
|
|
62
|
+
* <p>For more information about cron expressions, see <a href="https://en.wikipedia.org/wiki/Cron">cron</a> on the <i>Wikipedia
|
|
63
|
+
* website</i>.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
CronExpression?: string | undefined;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export interface ModifyInstanceEventWindowResult {
|
|
72
|
+
/**
|
|
73
|
+
* <p>Information about the event window.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
InstanceEventWindow?: InstanceEventWindow | undefined;
|
|
77
|
+
}
|
|
8
78
|
/**
|
|
9
79
|
* @public
|
|
10
80
|
*/
|
|
@@ -7778,7 +7848,8 @@ export interface StartDeclarativePoliciesReportRequest {
|
|
|
7778
7848
|
*/
|
|
7779
7849
|
DryRun?: boolean | undefined;
|
|
7780
7850
|
/**
|
|
7781
|
-
* <p>The name of the S3 bucket where the report will be saved
|
|
7851
|
+
* <p>The name of the S3 bucket where the report will be saved. The bucket must be in the
|
|
7852
|
+
* same Region where the report generation request is made.</p>
|
|
7782
7853
|
* @public
|
|
7783
7854
|
*/
|
|
7784
7855
|
S3Bucket: string | undefined;
|
|
@@ -8236,33 +8307,6 @@ export interface UnassignPrivateNatGatewayAddressResult {
|
|
|
8236
8307
|
*/
|
|
8237
8308
|
NatGatewayAddresses?: NatGatewayAddress[] | undefined;
|
|
8238
8309
|
}
|
|
8239
|
-
/**
|
|
8240
|
-
* @public
|
|
8241
|
-
*/
|
|
8242
|
-
export interface UnlockSnapshotRequest {
|
|
8243
|
-
/**
|
|
8244
|
-
* <p>The ID of the snapshot to unlock.</p>
|
|
8245
|
-
* @public
|
|
8246
|
-
*/
|
|
8247
|
-
SnapshotId: string | undefined;
|
|
8248
|
-
/**
|
|
8249
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8250
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8251
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8252
|
-
* @public
|
|
8253
|
-
*/
|
|
8254
|
-
DryRun?: boolean | undefined;
|
|
8255
|
-
}
|
|
8256
|
-
/**
|
|
8257
|
-
* @public
|
|
8258
|
-
*/
|
|
8259
|
-
export interface UnlockSnapshotResult {
|
|
8260
|
-
/**
|
|
8261
|
-
* <p>The ID of the snapshot.</p>
|
|
8262
|
-
* @public
|
|
8263
|
-
*/
|
|
8264
|
-
SnapshotId?: string | undefined;
|
|
8265
|
-
}
|
|
8266
8310
|
/**
|
|
8267
8311
|
* @internal
|
|
8268
8312
|
*/
|
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
import { ByoipCidr, IpPermission } from "./models_0";
|
|
2
2
|
import { InstanceMonitoring } from "./models_7";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface UnlockSnapshotRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The ID of the snapshot to unlock.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
SnapshotId: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
14
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
15
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
DryRun?: boolean | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface UnlockSnapshotResult {
|
|
24
|
+
/**
|
|
25
|
+
* <p>The ID of the snapshot.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
SnapshotId?: string | undefined;
|
|
29
|
+
}
|
|
3
30
|
/**
|
|
4
31
|
* @public
|
|
5
32
|
*/
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DeleteClientVpnRouteRequest,
|
|
10
|
+
DeleteClientVpnRouteResult,
|
|
11
|
+
} from "../models/models_3";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface DeleteClientVpnRouteCommandInput
|
|
@@ -5,12 +5,17 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
8
|
+
import {
|
|
9
|
+
DeleteSecurityGroupRequest,
|
|
10
|
+
DeleteSecurityGroupResult,
|
|
11
|
+
} from "../models/models_3";
|
|
9
12
|
export { __MetadataBearer };
|
|
10
13
|
export { $Command };
|
|
11
14
|
export interface DeleteSecurityGroupCommandInput
|
|
12
15
|
extends DeleteSecurityGroupRequest {}
|
|
13
|
-
export interface DeleteSecurityGroupCommandOutput
|
|
16
|
+
export interface DeleteSecurityGroupCommandOutput
|
|
17
|
+
extends DeleteSecurityGroupResult,
|
|
18
|
+
__MetadataBearer {}
|
|
14
19
|
declare const DeleteSecurityGroupCommand_base: {
|
|
15
20
|
new (
|
|
16
21
|
input: DeleteSecurityGroupCommandInput
|
|
@@ -36,7 +41,7 @@ export declare class DeleteSecurityGroupCommand extends DeleteSecurityGroupComma
|
|
|
36
41
|
protected static __types: {
|
|
37
42
|
api: {
|
|
38
43
|
input: DeleteSecurityGroupRequest;
|
|
39
|
-
output:
|
|
44
|
+
output: DeleteSecurityGroupResult;
|
|
40
45
|
};
|
|
41
46
|
sdk: {
|
|
42
47
|
input: DeleteSecurityGroupCommandInput;
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
DescribeFleetHistoryResult,
|
|
11
|
-
} from "../models/models_3";
|
|
8
|
+
import { DescribeFleetHistoryRequest } from "../models/models_3";
|
|
9
|
+
import { DescribeFleetHistoryResult } from "../models/models_4";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface DescribeFleetHistoryCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DescribeFleetInstancesRequest,
|
|
10
|
+
DescribeFleetInstancesResult,
|
|
11
|
+
} from "../models/models_4";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface DescribeFleetInstancesCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DescribeReservedInstancesRequest,
|
|
10
|
+
DescribeReservedInstancesResult,
|
|
11
|
+
} from "../models/models_5";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface DescribeReservedInstancesCommandInput
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
EnableAddressTransferResult,
|
|
11
|
-
} from "../models/models_5";
|
|
8
|
+
import { EnableAddressTransferRequest } from "../models/models_5";
|
|
9
|
+
import { EnableAddressTransferResult } from "../models/models_6";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface EnableAddressTransferCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
EnableAllowedImagesSettingsRequest,
|
|
10
|
+
EnableAllowedImagesSettingsResult,
|
|
11
|
+
} from "../models/models_6";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface EnableAllowedImagesSettingsCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ModifyInstanceEventWindowRequest,
|
|
10
10
|
ModifyInstanceEventWindowResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_7";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ModifyInstanceEventWindowCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
UnlockSnapshotRequest,
|
|
10
10
|
UnlockSnapshotResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_8";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface UnlockSnapshotCommandInput extends UnlockSnapshotRequest {}
|
|
@@ -656,11 +656,18 @@ export interface CreateSecurityGroupResult {
|
|
|
656
656
|
Tags?: Tag[] | undefined;
|
|
657
657
|
SecurityGroupArn?: string | undefined;
|
|
658
658
|
}
|
|
659
|
+
export declare const SnapshotLocationEnum: {
|
|
660
|
+
readonly LOCAL: "local";
|
|
661
|
+
readonly REGIONAL: "regional";
|
|
662
|
+
};
|
|
663
|
+
export type SnapshotLocationEnum =
|
|
664
|
+
(typeof SnapshotLocationEnum)[keyof typeof SnapshotLocationEnum];
|
|
659
665
|
export interface CreateSnapshotRequest {
|
|
660
666
|
Description?: string | undefined;
|
|
661
667
|
OutpostArn?: string | undefined;
|
|
662
668
|
VolumeId: string | undefined;
|
|
663
669
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
670
|
+
Location?: SnapshotLocationEnum | undefined;
|
|
664
671
|
DryRun?: boolean | undefined;
|
|
665
672
|
}
|
|
666
673
|
export declare const SSEType: {
|
|
@@ -694,6 +701,7 @@ export interface Snapshot {
|
|
|
694
701
|
StorageTier?: StorageTier | undefined;
|
|
695
702
|
RestoreExpiryTime?: Date | undefined;
|
|
696
703
|
SseType?: SSEType | undefined;
|
|
704
|
+
AvailabilityZone?: string | undefined;
|
|
697
705
|
TransferType?: TransferType | undefined;
|
|
698
706
|
CompletionDurationMinutes?: number | undefined;
|
|
699
707
|
CompletionTime?: Date | undefined;
|
|
@@ -727,6 +735,7 @@ export interface CreateSnapshotsRequest {
|
|
|
727
735
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
728
736
|
DryRun?: boolean | undefined;
|
|
729
737
|
CopyTagsFromSource?: CopyTagsFromSource | undefined;
|
|
738
|
+
Location?: SnapshotLocationEnum | undefined;
|
|
730
739
|
}
|
|
731
740
|
export interface SnapshotInfo {
|
|
732
741
|
Description?: string | undefined;
|
|
@@ -741,6 +750,7 @@ export interface SnapshotInfo {
|
|
|
741
750
|
SnapshotId?: string | undefined;
|
|
742
751
|
OutpostArn?: string | undefined;
|
|
743
752
|
SseType?: SSEType | undefined;
|
|
753
|
+
AvailabilityZone?: string | undefined;
|
|
744
754
|
}
|
|
745
755
|
export interface CreateSnapshotsResult {
|
|
746
756
|
Snapshots?: SnapshotInfo[] | undefined;
|
|
@@ -2194,12 +2204,6 @@ export interface DeleteClientVpnEndpointRequest {
|
|
|
2194
2204
|
export interface DeleteClientVpnEndpointResult {
|
|
2195
2205
|
Status?: ClientVpnEndpointStatus | undefined;
|
|
2196
2206
|
}
|
|
2197
|
-
export interface DeleteClientVpnRouteRequest {
|
|
2198
|
-
ClientVpnEndpointId: string | undefined;
|
|
2199
|
-
TargetVpcSubnetId?: string | undefined;
|
|
2200
|
-
DestinationCidrBlock: string | undefined;
|
|
2201
|
-
DryRun?: boolean | undefined;
|
|
2202
|
-
}
|
|
2203
2207
|
export declare const CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: (
|
|
2204
2208
|
obj: CreateVerifiedAccessNativeApplicationOidcOptions
|
|
2205
2209
|
) => any;
|