@aws-sdk/client-ec2 3.427.0 → 3.429.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 +16 -0
- package/dist-cjs/EC2.js +4 -0
- package/dist-cjs/commands/DisableImageCommand.js +51 -0
- package/dist-cjs/commands/EnableImageCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/models/models_3.js +1 -0
- package/dist-cjs/protocols/Aws_ec2.js +133 -17
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/DisableImageCommand.js +47 -0
- package/dist-es/commands/EnableImageCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/models/models_3.js +1 -0
- package/dist-es/protocols/Aws_ec2.js +112 -0
- package/dist-types/EC2.d.ts +14 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -2
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +3 -1
- package/dist-types/commands/DisableImageCommand.d.ts +84 -0
- package/dist-types/commands/EnableImageCommand.d.ts +81 -0
- package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +2 -1
- package/dist-types/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +80 -79
- package/dist-types/models/models_1.d.ts +131 -131
- package/dist-types/models/models_2.d.ts +105 -105
- package/dist-types/models/models_3.d.ts +99 -79
- package/dist-types/models/models_4.d.ts +115 -111
- package/dist-types/models/models_5.d.ts +119 -143
- package/dist-types/models/models_6.d.ts +159 -181
- package/dist-types/models/models_7.d.ts +113 -13
- package/dist-types/protocols/Aws_ec2.d.ts +18 -0
- package/dist-types/ts3.4/EC2.d.ts +34 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/DisableImageCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/EnableImageCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +80 -79
- package/dist-types/ts3.4/models/models_1.d.ts +131 -133
- package/dist-types/ts3.4/models/models_2.d.ts +105 -107
- package/dist-types/ts3.4/models/models_3.d.ts +81 -80
- package/dist-types/ts3.4/models/models_4.d.ts +109 -109
- package/dist-types/ts3.4/models/models_5.d.ts +79 -87
- package/dist-types/ts3.4/models/models_6.d.ts +99 -98
- package/dist-types/ts3.4/models/models_7.d.ts +31 -14
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
- package/package.json +33 -33
|
@@ -1,9 +1,109 @@
|
|
|
1
1
|
import { _InstanceType, ByoipCidr, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
|
|
2
|
-
import { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceIpv6Address, LocalGatewayRoute, Placement, ShutdownBehavior } from "./models_1";
|
|
2
|
+
import { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, MarketType, Placement, ShutdownBehavior, SpotInstanceType } from "./models_1";
|
|
3
3
|
import { TransitGatewayRoute } from "./models_2";
|
|
4
4
|
import { ClientVpnConnectionStatus, Filter } from "./models_3";
|
|
5
5
|
import { HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled } from "./models_4";
|
|
6
|
-
import { CapacityReservationSpecification, CpuOptionsRequest, ElasticInferenceAccelerator,
|
|
6
|
+
import { CapacityReservationSpecification, CpuOptionsRequest, ElasticInferenceAccelerator, InstanceMonitoring } from "./models_6";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For
|
|
10
|
+
* more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html"> What is Amazon Web Services Nitro
|
|
11
|
+
* Enclaves?</a> in the <i>Amazon Web Services Nitro Enclaves User
|
|
12
|
+
* Guide</i>.</p>
|
|
13
|
+
*/
|
|
14
|
+
export interface EnclaveOptionsRequest {
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
|
|
18
|
+
* <code>true</code>.</p>
|
|
19
|
+
*/
|
|
20
|
+
Enabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
* <p>Indicates whether your instance is configured for hibernation. This parameter is valid
|
|
25
|
+
* only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
|
|
26
|
+
* prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
|
|
27
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
28
|
+
*/
|
|
29
|
+
export interface HibernationOptionsRequest {
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* <p>Set to <code>true</code> to enable your instance for hibernation.</p>
|
|
33
|
+
* <p>Default: <code>false</code>
|
|
34
|
+
* </p>
|
|
35
|
+
*/
|
|
36
|
+
Configured?: boolean;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* <p>The options for Spot Instances.</p>
|
|
41
|
+
*/
|
|
42
|
+
export interface SpotMarketOptions {
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* <p>The maximum hourly price that you're willing to pay for a Spot Instance. We do not
|
|
46
|
+
* recommend using this parameter because it can lead to increased interruptions. If you do
|
|
47
|
+
* not specify this parameter, you will pay the current Spot price.</p>
|
|
48
|
+
* <important>
|
|
49
|
+
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
50
|
+
* frequently than if you do not specify this parameter.</p>
|
|
51
|
+
* </important>
|
|
52
|
+
*/
|
|
53
|
+
MaxPrice?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
* <p>The Spot Instance request type. For <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances">RunInstances</a>, persistent
|
|
57
|
+
* Spot Instance requests are only supported when the instance interruption behavior is
|
|
58
|
+
* either <code>hibernate</code> or <code>stop</code>.</p>
|
|
59
|
+
*/
|
|
60
|
+
SpotInstanceType?: SpotInstanceType;
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* <p>Deprecated.</p>
|
|
64
|
+
*/
|
|
65
|
+
BlockDurationMinutes?: number;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* <p>The end date of the request, in UTC format
|
|
69
|
+
* (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
|
|
70
|
+
* Supported only for persistent requests.</p>
|
|
71
|
+
* <ul>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>For a persistent request, the request remains active until the
|
|
74
|
+
* <code>ValidUntil</code> date and time is reached. Otherwise, the request
|
|
75
|
+
* remains active until you cancel it.</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>For a one-time request, <code>ValidUntil</code> is not supported. The request
|
|
79
|
+
* remains active until all instances launch or you cancel the request.</p>
|
|
80
|
+
* </li>
|
|
81
|
+
* </ul>
|
|
82
|
+
*/
|
|
83
|
+
ValidUntil?: Date;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
* <p>The behavior when a Spot Instance is interrupted. The default is
|
|
87
|
+
* <code>terminate</code>.</p>
|
|
88
|
+
*/
|
|
89
|
+
InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* <p>Describes the market (purchasing) option for the instances.</p>
|
|
94
|
+
*/
|
|
95
|
+
export interface InstanceMarketOptionsRequest {
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
* <p>The market type.</p>
|
|
99
|
+
*/
|
|
100
|
+
MarketType?: MarketType;
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
* <p>The options for Spot Instances.</p>
|
|
104
|
+
*/
|
|
105
|
+
SpotOptions?: SpotMarketOptions;
|
|
106
|
+
}
|
|
7
107
|
/**
|
|
8
108
|
* @public
|
|
9
109
|
* <p>The launch template to use. You must specify either the launch template ID or launch
|
|
@@ -57,7 +157,7 @@ export interface InstanceMaintenanceOptionsRequest {
|
|
|
57
157
|
* <p>Disables the automatic recovery behavior of your instance or sets it to default. For
|
|
58
158
|
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery">Simplified automatic recovery</a>.</p>
|
|
59
159
|
*/
|
|
60
|
-
AutoRecovery?: InstanceAutoRecoveryState
|
|
160
|
+
AutoRecovery?: InstanceAutoRecoveryState;
|
|
61
161
|
}
|
|
62
162
|
/**
|
|
63
163
|
* @public
|
|
@@ -88,7 +188,7 @@ export interface InstanceMetadataOptionsRequest {
|
|
|
88
188
|
* <p>Default: <code>optional</code>
|
|
89
189
|
* </p>
|
|
90
190
|
*/
|
|
91
|
-
HttpTokens?: HttpTokensState
|
|
191
|
+
HttpTokens?: HttpTokensState;
|
|
92
192
|
/**
|
|
93
193
|
* @public
|
|
94
194
|
* <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
|
|
@@ -105,12 +205,12 @@ export interface InstanceMetadataOptionsRequest {
|
|
|
105
205
|
* <p>Default: <code>enabled</code>
|
|
106
206
|
* </p>
|
|
107
207
|
*/
|
|
108
|
-
HttpEndpoint?: InstanceMetadataEndpointState
|
|
208
|
+
HttpEndpoint?: InstanceMetadataEndpointState;
|
|
109
209
|
/**
|
|
110
210
|
* @public
|
|
111
211
|
* <p>Enables or disables the IPv6 endpoint for the instance metadata service.</p>
|
|
112
212
|
*/
|
|
113
|
-
HttpProtocolIpv6?: InstanceMetadataProtocolState
|
|
213
|
+
HttpProtocolIpv6?: InstanceMetadataProtocolState;
|
|
114
214
|
/**
|
|
115
215
|
* @public
|
|
116
216
|
* <p>Set to <code>enabled</code> to allow access to instance tags from the instance
|
|
@@ -120,7 +220,7 @@ export interface InstanceMetadataOptionsRequest {
|
|
|
120
220
|
* <p>Default: <code>disabled</code>
|
|
121
221
|
* </p>
|
|
122
222
|
*/
|
|
123
|
-
InstanceMetadataTags?: InstanceMetadataTagsState
|
|
223
|
+
InstanceMetadataTags?: InstanceMetadataTagsState;
|
|
124
224
|
}
|
|
125
225
|
/**
|
|
126
226
|
* @public
|
|
@@ -134,7 +234,7 @@ export interface PrivateDnsNameOptionsRequest {
|
|
|
134
234
|
* must be based on the instance ID. For dual-stack subnets, you can specify whether DNS
|
|
135
235
|
* names use the instance IPv4 address or the instance ID.</p>
|
|
136
236
|
*/
|
|
137
|
-
HostnameType?: HostnameType
|
|
237
|
+
HostnameType?: HostnameType;
|
|
138
238
|
/**
|
|
139
239
|
* @public
|
|
140
240
|
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
|
|
@@ -170,7 +270,7 @@ export interface RunInstancesRequest {
|
|
|
170
270
|
* <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
|
|
171
271
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
172
272
|
*/
|
|
173
|
-
InstanceType?: _InstanceType
|
|
273
|
+
InstanceType?: _InstanceType;
|
|
174
274
|
/**
|
|
175
275
|
* @public
|
|
176
276
|
* <p>The number of IPv6 addresses to associate with the primary network
|
|
@@ -346,7 +446,7 @@ export interface RunInstancesRequest {
|
|
|
346
446
|
* <p>Default: <code>stop</code>
|
|
347
447
|
* </p>
|
|
348
448
|
*/
|
|
349
|
-
InstanceInitiatedShutdownBehavior?: ShutdownBehavior
|
|
449
|
+
InstanceInitiatedShutdownBehavior?: ShutdownBehavior;
|
|
350
450
|
/**
|
|
351
451
|
* @public
|
|
352
452
|
* <p>The network interfaces to associate with the instance. If you specify a network
|
|
@@ -1061,7 +1161,7 @@ export interface TransitGatewayMulticastGroup {
|
|
|
1061
1161
|
* @public
|
|
1062
1162
|
* <p>The type of resource, for example a VPC attachment.</p>
|
|
1063
1163
|
*/
|
|
1064
|
-
ResourceType?: TransitGatewayAttachmentResourceType
|
|
1164
|
+
ResourceType?: TransitGatewayAttachmentResourceType;
|
|
1065
1165
|
/**
|
|
1066
1166
|
* @public
|
|
1067
1167
|
* <p> The ID of the Amazon Web Services account that owns the transit gateway multicast domain group resource.</p>
|
|
@@ -1086,12 +1186,12 @@ export interface TransitGatewayMulticastGroup {
|
|
|
1086
1186
|
* @public
|
|
1087
1187
|
* <p>The member type (for example, <code>static</code>).</p>
|
|
1088
1188
|
*/
|
|
1089
|
-
MemberType?: MembershipType
|
|
1189
|
+
MemberType?: MembershipType;
|
|
1090
1190
|
/**
|
|
1091
1191
|
* @public
|
|
1092
1192
|
* <p>The source type.</p>
|
|
1093
1193
|
*/
|
|
1094
|
-
SourceType?: MembershipType
|
|
1194
|
+
SourceType?: MembershipType;
|
|
1095
1195
|
}
|
|
1096
1196
|
/**
|
|
1097
1197
|
* @public
|
|
@@ -374,6 +374,7 @@ import { DisableEbsEncryptionByDefaultCommandInput, DisableEbsEncryptionByDefaul
|
|
|
374
374
|
import { DisableFastLaunchCommandInput, DisableFastLaunchCommandOutput } from "../commands/DisableFastLaunchCommand";
|
|
375
375
|
import { DisableFastSnapshotRestoresCommandInput, DisableFastSnapshotRestoresCommandOutput } from "../commands/DisableFastSnapshotRestoresCommand";
|
|
376
376
|
import { DisableImageBlockPublicAccessCommandInput, DisableImageBlockPublicAccessCommandOutput } from "../commands/DisableImageBlockPublicAccessCommand";
|
|
377
|
+
import { DisableImageCommandInput, DisableImageCommandOutput } from "../commands/DisableImageCommand";
|
|
377
378
|
import { DisableImageDeprecationCommandInput, DisableImageDeprecationCommandOutput } from "../commands/DisableImageDeprecationCommand";
|
|
378
379
|
import { DisableIpamOrganizationAdminAccountCommandInput, DisableIpamOrganizationAdminAccountCommandOutput } from "../commands/DisableIpamOrganizationAdminAccountCommand";
|
|
379
380
|
import { DisableSerialConsoleAccessCommandInput, DisableSerialConsoleAccessCommandOutput } from "../commands/DisableSerialConsoleAccessCommand";
|
|
@@ -401,6 +402,7 @@ import { EnableEbsEncryptionByDefaultCommandInput, EnableEbsEncryptionByDefaultC
|
|
|
401
402
|
import { EnableFastLaunchCommandInput, EnableFastLaunchCommandOutput } from "../commands/EnableFastLaunchCommand";
|
|
402
403
|
import { EnableFastSnapshotRestoresCommandInput, EnableFastSnapshotRestoresCommandOutput } from "../commands/EnableFastSnapshotRestoresCommand";
|
|
403
404
|
import { EnableImageBlockPublicAccessCommandInput, EnableImageBlockPublicAccessCommandOutput } from "../commands/EnableImageBlockPublicAccessCommand";
|
|
405
|
+
import { EnableImageCommandInput, EnableImageCommandOutput } from "../commands/EnableImageCommand";
|
|
404
406
|
import { EnableImageDeprecationCommandInput, EnableImageDeprecationCommandOutput } from "../commands/EnableImageDeprecationCommand";
|
|
405
407
|
import { EnableIpamOrganizationAdminAccountCommandInput, EnableIpamOrganizationAdminAccountCommandOutput } from "../commands/EnableIpamOrganizationAdminAccountCommand";
|
|
406
408
|
import { EnableReachabilityAnalyzerOrganizationSharingCommandInput, EnableReachabilityAnalyzerOrganizationSharingCommandOutput } from "../commands/EnableReachabilityAnalyzerOrganizationSharingCommand";
|
|
@@ -2089,6 +2091,10 @@ export declare const se_DisableFastLaunchCommand: (input: DisableFastLaunchComma
|
|
|
2089
2091
|
* serializeAws_ec2DisableFastSnapshotRestoresCommand
|
|
2090
2092
|
*/
|
|
2091
2093
|
export declare const se_DisableFastSnapshotRestoresCommand: (input: DisableFastSnapshotRestoresCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
2094
|
+
/**
|
|
2095
|
+
* serializeAws_ec2DisableImageCommand
|
|
2096
|
+
*/
|
|
2097
|
+
export declare const se_DisableImageCommand: (input: DisableImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
2092
2098
|
/**
|
|
2093
2099
|
* serializeAws_ec2DisableImageBlockPublicAccessCommand
|
|
2094
2100
|
*/
|
|
@@ -2197,6 +2203,10 @@ export declare const se_EnableFastLaunchCommand: (input: EnableFastLaunchCommand
|
|
|
2197
2203
|
* serializeAws_ec2EnableFastSnapshotRestoresCommand
|
|
2198
2204
|
*/
|
|
2199
2205
|
export declare const se_EnableFastSnapshotRestoresCommand: (input: EnableFastSnapshotRestoresCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
2206
|
+
/**
|
|
2207
|
+
* serializeAws_ec2EnableImageCommand
|
|
2208
|
+
*/
|
|
2209
|
+
export declare const se_EnableImageCommand: (input: EnableImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
2200
2210
|
/**
|
|
2201
2211
|
* serializeAws_ec2EnableImageBlockPublicAccessCommand
|
|
2202
2212
|
*/
|
|
@@ -4477,6 +4487,10 @@ export declare const de_DisableFastLaunchCommand: (output: __HttpResponse, conte
|
|
|
4477
4487
|
* deserializeAws_ec2DisableFastSnapshotRestoresCommand
|
|
4478
4488
|
*/
|
|
4479
4489
|
export declare const de_DisableFastSnapshotRestoresCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableFastSnapshotRestoresCommandOutput>;
|
|
4490
|
+
/**
|
|
4491
|
+
* deserializeAws_ec2DisableImageCommand
|
|
4492
|
+
*/
|
|
4493
|
+
export declare const de_DisableImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableImageCommandOutput>;
|
|
4480
4494
|
/**
|
|
4481
4495
|
* deserializeAws_ec2DisableImageBlockPublicAccessCommand
|
|
4482
4496
|
*/
|
|
@@ -4585,6 +4599,10 @@ export declare const de_EnableFastLaunchCommand: (output: __HttpResponse, contex
|
|
|
4585
4599
|
* deserializeAws_ec2EnableFastSnapshotRestoresCommand
|
|
4586
4600
|
*/
|
|
4587
4601
|
export declare const de_EnableFastSnapshotRestoresCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableFastSnapshotRestoresCommandOutput>;
|
|
4602
|
+
/**
|
|
4603
|
+
* deserializeAws_ec2EnableImageCommand
|
|
4604
|
+
*/
|
|
4605
|
+
export declare const de_EnableImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableImageCommandOutput>;
|
|
4588
4606
|
/**
|
|
4589
4607
|
* deserializeAws_ec2EnableImageBlockPublicAccessCommand
|
|
4590
4608
|
*/
|
|
@@ -1495,6 +1495,10 @@ import {
|
|
|
1495
1495
|
DisableImageBlockPublicAccessCommandInput,
|
|
1496
1496
|
DisableImageBlockPublicAccessCommandOutput,
|
|
1497
1497
|
} from "./commands/DisableImageBlockPublicAccessCommand";
|
|
1498
|
+
import {
|
|
1499
|
+
DisableImageCommandInput,
|
|
1500
|
+
DisableImageCommandOutput,
|
|
1501
|
+
} from "./commands/DisableImageCommand";
|
|
1498
1502
|
import {
|
|
1499
1503
|
DisableImageDeprecationCommandInput,
|
|
1500
1504
|
DisableImageDeprecationCommandOutput,
|
|
@@ -1603,6 +1607,10 @@ import {
|
|
|
1603
1607
|
EnableImageBlockPublicAccessCommandInput,
|
|
1604
1608
|
EnableImageBlockPublicAccessCommandOutput,
|
|
1605
1609
|
} from "./commands/EnableImageBlockPublicAccessCommand";
|
|
1610
|
+
import {
|
|
1611
|
+
EnableImageCommandInput,
|
|
1612
|
+
EnableImageCommandOutput,
|
|
1613
|
+
} from "./commands/EnableImageCommand";
|
|
1606
1614
|
import {
|
|
1607
1615
|
EnableImageDeprecationCommandInput,
|
|
1608
1616
|
EnableImageDeprecationCommandOutput,
|
|
@@ -7658,6 +7666,19 @@ export interface EC2 {
|
|
|
7658
7666
|
options: __HttpHandlerOptions,
|
|
7659
7667
|
cb: (err: any, data?: DisableFastSnapshotRestoresCommandOutput) => void
|
|
7660
7668
|
): void;
|
|
7669
|
+
disableImage(
|
|
7670
|
+
args: DisableImageCommandInput,
|
|
7671
|
+
options?: __HttpHandlerOptions
|
|
7672
|
+
): Promise<DisableImageCommandOutput>;
|
|
7673
|
+
disableImage(
|
|
7674
|
+
args: DisableImageCommandInput,
|
|
7675
|
+
cb: (err: any, data?: DisableImageCommandOutput) => void
|
|
7676
|
+
): void;
|
|
7677
|
+
disableImage(
|
|
7678
|
+
args: DisableImageCommandInput,
|
|
7679
|
+
options: __HttpHandlerOptions,
|
|
7680
|
+
cb: (err: any, data?: DisableImageCommandOutput) => void
|
|
7681
|
+
): void;
|
|
7661
7682
|
disableImageBlockPublicAccess(
|
|
7662
7683
|
args: DisableImageBlockPublicAccessCommandInput,
|
|
7663
7684
|
options?: __HttpHandlerOptions
|
|
@@ -8063,6 +8084,19 @@ export interface EC2 {
|
|
|
8063
8084
|
options: __HttpHandlerOptions,
|
|
8064
8085
|
cb: (err: any, data?: EnableFastSnapshotRestoresCommandOutput) => void
|
|
8065
8086
|
): void;
|
|
8087
|
+
enableImage(
|
|
8088
|
+
args: EnableImageCommandInput,
|
|
8089
|
+
options?: __HttpHandlerOptions
|
|
8090
|
+
): Promise<EnableImageCommandOutput>;
|
|
8091
|
+
enableImage(
|
|
8092
|
+
args: EnableImageCommandInput,
|
|
8093
|
+
cb: (err: any, data?: EnableImageCommandOutput) => void
|
|
8094
|
+
): void;
|
|
8095
|
+
enableImage(
|
|
8096
|
+
args: EnableImageCommandInput,
|
|
8097
|
+
options: __HttpHandlerOptions,
|
|
8098
|
+
cb: (err: any, data?: EnableImageCommandOutput) => void
|
|
8099
|
+
): void;
|
|
8066
8100
|
enableImageBlockPublicAccess(
|
|
8067
8101
|
args: EnableImageBlockPublicAccessCommandInput,
|
|
8068
8102
|
options?: __HttpHandlerOptions
|
|
@@ -1541,6 +1541,10 @@ import {
|
|
|
1541
1541
|
DisableImageBlockPublicAccessCommandInput,
|
|
1542
1542
|
DisableImageBlockPublicAccessCommandOutput,
|
|
1543
1543
|
} from "./commands/DisableImageBlockPublicAccessCommand";
|
|
1544
|
+
import {
|
|
1545
|
+
DisableImageCommandInput,
|
|
1546
|
+
DisableImageCommandOutput,
|
|
1547
|
+
} from "./commands/DisableImageCommand";
|
|
1544
1548
|
import {
|
|
1545
1549
|
DisableImageDeprecationCommandInput,
|
|
1546
1550
|
DisableImageDeprecationCommandOutput,
|
|
@@ -1649,6 +1653,10 @@ import {
|
|
|
1649
1653
|
EnableImageBlockPublicAccessCommandInput,
|
|
1650
1654
|
EnableImageBlockPublicAccessCommandOutput,
|
|
1651
1655
|
} from "./commands/EnableImageBlockPublicAccessCommand";
|
|
1656
|
+
import {
|
|
1657
|
+
EnableImageCommandInput,
|
|
1658
|
+
EnableImageCommandOutput,
|
|
1659
|
+
} from "./commands/EnableImageCommand";
|
|
1652
1660
|
import {
|
|
1653
1661
|
EnableImageDeprecationCommandInput,
|
|
1654
1662
|
EnableImageDeprecationCommandOutput,
|
|
@@ -2815,6 +2823,7 @@ export type ServiceInputTypes =
|
|
|
2815
2823
|
| DisableFastLaunchCommandInput
|
|
2816
2824
|
| DisableFastSnapshotRestoresCommandInput
|
|
2817
2825
|
| DisableImageBlockPublicAccessCommandInput
|
|
2826
|
+
| DisableImageCommandInput
|
|
2818
2827
|
| DisableImageDeprecationCommandInput
|
|
2819
2828
|
| DisableIpamOrganizationAdminAccountCommandInput
|
|
2820
2829
|
| DisableSerialConsoleAccessCommandInput
|
|
@@ -2842,6 +2851,7 @@ export type ServiceInputTypes =
|
|
|
2842
2851
|
| EnableFastLaunchCommandInput
|
|
2843
2852
|
| EnableFastSnapshotRestoresCommandInput
|
|
2844
2853
|
| EnableImageBlockPublicAccessCommandInput
|
|
2854
|
+
| EnableImageCommandInput
|
|
2845
2855
|
| EnableImageDeprecationCommandInput
|
|
2846
2856
|
| EnableIpamOrganizationAdminAccountCommandInput
|
|
2847
2857
|
| EnableReachabilityAnalyzerOrganizationSharingCommandInput
|
|
@@ -3413,6 +3423,7 @@ export type ServiceOutputTypes =
|
|
|
3413
3423
|
| DisableFastLaunchCommandOutput
|
|
3414
3424
|
| DisableFastSnapshotRestoresCommandOutput
|
|
3415
3425
|
| DisableImageBlockPublicAccessCommandOutput
|
|
3426
|
+
| DisableImageCommandOutput
|
|
3416
3427
|
| DisableImageDeprecationCommandOutput
|
|
3417
3428
|
| DisableIpamOrganizationAdminAccountCommandOutput
|
|
3418
3429
|
| DisableSerialConsoleAccessCommandOutput
|
|
@@ -3440,6 +3451,7 @@ export type ServiceOutputTypes =
|
|
|
3440
3451
|
| EnableFastLaunchCommandOutput
|
|
3441
3452
|
| EnableFastSnapshotRestoresCommandOutput
|
|
3442
3453
|
| EnableImageBlockPublicAccessCommandOutput
|
|
3454
|
+
| EnableImageCommandOutput
|
|
3443
3455
|
| EnableImageDeprecationCommandOutput
|
|
3444
3456
|
| EnableIpamOrganizationAdminAccountCommandOutput
|
|
3445
3457
|
| EnableReachabilityAnalyzerOrganizationSharingCommandOutput
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
EC2ClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../EC2Client";
|
|
14
|
+
import { DisableImageRequest, DisableImageResult } from "../models/models_5";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface DisableImageCommandInput extends DisableImageRequest {}
|
|
17
|
+
export interface DisableImageCommandOutput
|
|
18
|
+
extends DisableImageResult,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class DisableImageCommand extends $Command<
|
|
21
|
+
DisableImageCommandInput,
|
|
22
|
+
DisableImageCommandOutput,
|
|
23
|
+
EC2ClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: DisableImageCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: DisableImageCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: EC2ClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<DisableImageCommandInput, DisableImageCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
EC2ClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../EC2Client";
|
|
14
|
+
import { EnableImageRequest, EnableImageResult } from "../models/models_5";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface EnableImageCommandInput extends EnableImageRequest {}
|
|
17
|
+
export interface EnableImageCommandOutput
|
|
18
|
+
extends EnableImageResult,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class EnableImageCommand extends $Command<
|
|
21
|
+
EnableImageCommandInput,
|
|
22
|
+
EnableImageCommandOutput,
|
|
23
|
+
EC2ClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: EnableImageCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: EnableImageCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: EC2ClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<EnableImageCommandInput, EnableImageCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -11,10 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../EC2Client";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
GetTransitGatewayRouteTablePropagationsResult,
|
|
17
|
-
} from "../models/models_5";
|
|
14
|
+
import { GetTransitGatewayRouteTablePropagationsRequest } from "../models/models_5";
|
|
15
|
+
import { GetTransitGatewayRouteTablePropagationsResult } from "../models/models_6";
|
|
18
16
|
export { __MetadataBearer, $Command };
|
|
19
17
|
export interface GetTransitGatewayRouteTablePropagationsCommandInput
|
|
20
18
|
extends GetTransitGatewayRouteTablePropagationsRequest {}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
GetVerifiedAccessEndpointPolicyRequest,
|
|
16
16
|
GetVerifiedAccessEndpointPolicyResult,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_6";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface GetVerifiedAccessEndpointPolicyCommandInput
|
|
20
20
|
extends GetVerifiedAccessEndpointPolicyRequest {}
|
|
@@ -372,6 +372,7 @@ export * from "./DisableEbsEncryptionByDefaultCommand";
|
|
|
372
372
|
export * from "./DisableFastLaunchCommand";
|
|
373
373
|
export * from "./DisableFastSnapshotRestoresCommand";
|
|
374
374
|
export * from "./DisableImageBlockPublicAccessCommand";
|
|
375
|
+
export * from "./DisableImageCommand";
|
|
375
376
|
export * from "./DisableImageDeprecationCommand";
|
|
376
377
|
export * from "./DisableIpamOrganizationAdminAccountCommand";
|
|
377
378
|
export * from "./DisableSerialConsoleAccessCommand";
|
|
@@ -399,6 +400,7 @@ export * from "./EnableEbsEncryptionByDefaultCommand";
|
|
|
399
400
|
export * from "./EnableFastLaunchCommand";
|
|
400
401
|
export * from "./EnableFastSnapshotRestoresCommand";
|
|
401
402
|
export * from "./EnableImageBlockPublicAccessCommand";
|
|
403
|
+
export * from "./EnableImageCommand";
|
|
402
404
|
export * from "./EnableImageDeprecationCommand";
|
|
403
405
|
export * from "./EnableIpamOrganizationAdminAccountCommand";
|
|
404
406
|
export * from "./EnableReachabilityAnalyzerOrganizationSharingCommand";
|