@aws-sdk/client-ec2 3.427.0 → 3.428.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 +1 -0
- package/dist-types/models/models_3.d.ts +21 -1
- package/dist-types/models/models_4.d.ts +6 -2
- package/dist-types/models/models_5.d.ts +54 -78
- package/dist-types/models/models_6.d.ts +81 -103
- package/dist-types/models/models_7.d.ts +102 -2
- 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 +1 -0
- package/dist-types/ts3.4/models/models_3.d.ts +3 -0
- package/dist-types/ts3.4/models/models_5.d.ts +14 -19
- package/dist-types/ts3.4/models/models_6.d.ts +21 -18
- package/dist-types/ts3.4/models/models_7.d.ts +20 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
- package/package.json +33 -33
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
+
import { EnableImageRequest, EnableImageResult } from "../models/models_5";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link EnableImageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface EnableImageCommandInput extends EnableImageRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link EnableImageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface EnableImageCommandOutput extends EnableImageResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Re-enables a disabled AMI. The re-enabled AMI is marked as <code>available</code> and can
|
|
27
|
+
* be used for instance launches, appears in describe operations, and can be shared. Amazon Web Services
|
|
28
|
+
* accounts, organizations, and Organizational Units that lost access to the AMI when it was
|
|
29
|
+
* disabled do not regain access automatically. Once the AMI is available, it can be shared with
|
|
30
|
+
* them again.</p>
|
|
31
|
+
* <p>Only the AMI owner can re-enable a disabled AMI.</p>
|
|
32
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/disable-an-ami.html">Disable an AMI</a> in the
|
|
33
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { EC2Client, EnableImageCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
38
|
+
* // const { EC2Client, EnableImageCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
39
|
+
* const client = new EC2Client(config);
|
|
40
|
+
* const input = { // EnableImageRequest
|
|
41
|
+
* ImageId: "STRING_VALUE", // required
|
|
42
|
+
* DryRun: true || false,
|
|
43
|
+
* };
|
|
44
|
+
* const command = new EnableImageCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // EnableImageResult
|
|
47
|
+
* // Return: true || false,
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param EnableImageCommandInput - {@link EnableImageCommandInput}
|
|
53
|
+
* @returns {@link EnableImageCommandOutput}
|
|
54
|
+
* @see {@link EnableImageCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link EnableImageCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link EC2ServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare class EnableImageCommand extends $Command<EnableImageCommandInput, EnableImageCommandOutput, EC2ClientResolvedConfig> {
|
|
63
|
+
readonly input: EnableImageCommandInput;
|
|
64
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
constructor(input: EnableImageCommandInput);
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableImageCommandInput, EnableImageCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private deserialize;
|
|
81
|
+
}
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { GetTransitGatewayRouteTablePropagationsRequest
|
|
5
|
+
import { GetTransitGatewayRouteTablePropagationsRequest } from "../models/models_5";
|
|
6
|
+
import { GetTransitGatewayRouteTablePropagationsResult } from "../models/models_6";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { GetVerifiedAccessEndpointPolicyRequest, GetVerifiedAccessEndpointPolicyResult } from "../models/
|
|
5
|
+
import { GetVerifiedAccessEndpointPolicyRequest, GetVerifiedAccessEndpointPolicyResult } from "../models/models_6";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -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";
|
|
@@ -6949,6 +6949,7 @@ export declare const CapacityReservationInstancePlatform: {
|
|
|
6949
6949
|
readonly RHEL_WITH_SQL_SERVER_STANDARD: "RHEL with SQL Server Standard";
|
|
6950
6950
|
readonly RHEL_WITH_SQL_SERVER_WEB: "RHEL with SQL Server Web";
|
|
6951
6951
|
readonly SUSE_LINUX: "SUSE Linux";
|
|
6952
|
+
readonly UBUNTU_PRO_LINUX: "Ubuntu Pro";
|
|
6952
6953
|
readonly WINDOWS: "Windows";
|
|
6953
6954
|
readonly WINDOWS_WITH_SQL_SERVER: "Windows with SQL Server";
|
|
6954
6955
|
readonly WINDOWS_WITH_SQL_SERVER_ENTERPRISE: "Windows with SQL Server Enterprise";
|
|
@@ -7172,6 +7172,12 @@ export interface DescribeImagesRequest {
|
|
|
7172
7172
|
* </li>
|
|
7173
7173
|
* <li>
|
|
7174
7174
|
* <p>
|
|
7175
|
+
* <code>source-instance-id</code> - The ID of the instance that the AMI was created from
|
|
7176
|
+
* if the AMI was created using CreateImage. This filter is applicable only if the AMI was
|
|
7177
|
+
* created using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
|
|
7178
|
+
* </li>
|
|
7179
|
+
* <li>
|
|
7180
|
+
* <p>
|
|
7175
7181
|
* <code>state</code> - The state of the image (<code>available</code> | <code>pending</code>
|
|
7176
7182
|
* | <code>failed</code>).</p>
|
|
7177
7183
|
* </li>
|
|
@@ -7229,6 +7235,12 @@ export interface DescribeImagesRequest {
|
|
|
7229
7235
|
* </note>
|
|
7230
7236
|
*/
|
|
7231
7237
|
IncludeDeprecated?: boolean;
|
|
7238
|
+
/**
|
|
7239
|
+
* @public
|
|
7240
|
+
* <p>Specifies whether to include disabled AMIs.</p>
|
|
7241
|
+
* <p>Default: No disabled AMIs are included in the response.</p>
|
|
7242
|
+
*/
|
|
7243
|
+
IncludeDisabled?: boolean;
|
|
7232
7244
|
/**
|
|
7233
7245
|
* @public
|
|
7234
7246
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
@@ -7332,6 +7344,7 @@ export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
|
|
|
7332
7344
|
export declare const ImageState: {
|
|
7333
7345
|
readonly available: "available";
|
|
7334
7346
|
readonly deregistered: "deregistered";
|
|
7347
|
+
readonly disabled: "disabled";
|
|
7335
7348
|
readonly error: "error";
|
|
7336
7349
|
readonly failed: "failed";
|
|
7337
7350
|
readonly invalid: "invalid";
|
|
@@ -7467,7 +7480,8 @@ export interface Image {
|
|
|
7467
7480
|
EnaSupport?: boolean;
|
|
7468
7481
|
/**
|
|
7469
7482
|
* @public
|
|
7470
|
-
* <p>The hypervisor type of the image
|
|
7483
|
+
* <p>The hypervisor type of the image. Only <code>xen</code> is supported. <code>ovm</code> is
|
|
7484
|
+
* not supported.</p>
|
|
7471
7485
|
*/
|
|
7472
7486
|
Hypervisor?: HypervisorType | string;
|
|
7473
7487
|
/**
|
|
@@ -7542,6 +7556,12 @@ export interface Image {
|
|
|
7542
7556
|
* the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
7543
7557
|
*/
|
|
7544
7558
|
ImdsSupport?: ImdsSupportValues | string;
|
|
7559
|
+
/**
|
|
7560
|
+
* @public
|
|
7561
|
+
* <p>The ID of the instance that the AMI was created from if the AMI was created using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>. This field only appears if the AMI was created using
|
|
7562
|
+
* CreateImage.</p>
|
|
7563
|
+
*/
|
|
7564
|
+
SourceInstanceId?: string;
|
|
7545
7565
|
}
|
|
7546
7566
|
/**
|
|
7547
7567
|
* @public
|
|
@@ -9496,6 +9496,10 @@ export interface DescribeStoreImageTasksRequest {
|
|
|
9496
9496
|
* bucket. For the filter value, specify the bucket name.</p>
|
|
9497
9497
|
* </li>
|
|
9498
9498
|
* </ul>
|
|
9499
|
+
* <note>
|
|
9500
|
+
* <p>When you specify the <code>ImageIds</code> parameter, any filters that you specify are
|
|
9501
|
+
* ignored. To use the filters, you must remove the <code>ImageIds</code> parameter.</p>
|
|
9502
|
+
* </note>
|
|
9499
9503
|
*/
|
|
9500
9504
|
Filters?: Filter[];
|
|
9501
9505
|
/**
|
|
@@ -9508,8 +9512,8 @@ export interface DescribeStoreImageTasksRequest {
|
|
|
9508
9512
|
* <p>The maximum number of items to return for this request.
|
|
9509
9513
|
* To get the next page of items, make another request with the token returned in the output.
|
|
9510
9514
|
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
9511
|
-
* <p>You cannot specify this parameter and the <code>
|
|
9512
|
-
*
|
|
9515
|
+
* <p>You cannot specify this parameter and the <code>ImageIds</code> parameter in the same
|
|
9516
|
+
* call.</p>
|
|
9513
9517
|
*/
|
|
9514
9518
|
MaxResults?: number;
|
|
9515
9519
|
}
|
|
@@ -2777,6 +2777,33 @@ export interface DisableFastSnapshotRestoresResult {
|
|
|
2777
2777
|
*/
|
|
2778
2778
|
Unsuccessful?: DisableFastSnapshotRestoreErrorItem[];
|
|
2779
2779
|
}
|
|
2780
|
+
/**
|
|
2781
|
+
* @public
|
|
2782
|
+
*/
|
|
2783
|
+
export interface DisableImageRequest {
|
|
2784
|
+
/**
|
|
2785
|
+
* @public
|
|
2786
|
+
* <p>The ID of the AMI.</p>
|
|
2787
|
+
*/
|
|
2788
|
+
ImageId: string | undefined;
|
|
2789
|
+
/**
|
|
2790
|
+
* @public
|
|
2791
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
2792
|
+
* and provides an error response. If you have the required permissions, the error response is
|
|
2793
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
2794
|
+
*/
|
|
2795
|
+
DryRun?: boolean;
|
|
2796
|
+
}
|
|
2797
|
+
/**
|
|
2798
|
+
* @public
|
|
2799
|
+
*/
|
|
2800
|
+
export interface DisableImageResult {
|
|
2801
|
+
/**
|
|
2802
|
+
* @public
|
|
2803
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
2804
|
+
*/
|
|
2805
|
+
Return?: boolean;
|
|
2806
|
+
}
|
|
2780
2807
|
/**
|
|
2781
2808
|
* @public
|
|
2782
2809
|
*/
|
|
@@ -3877,6 +3904,33 @@ export interface EnableFastSnapshotRestoresResult {
|
|
|
3877
3904
|
*/
|
|
3878
3905
|
Unsuccessful?: EnableFastSnapshotRestoreErrorItem[];
|
|
3879
3906
|
}
|
|
3907
|
+
/**
|
|
3908
|
+
* @public
|
|
3909
|
+
*/
|
|
3910
|
+
export interface EnableImageRequest {
|
|
3911
|
+
/**
|
|
3912
|
+
* @public
|
|
3913
|
+
* <p>The ID of the AMI.</p>
|
|
3914
|
+
*/
|
|
3915
|
+
ImageId: string | undefined;
|
|
3916
|
+
/**
|
|
3917
|
+
* @public
|
|
3918
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
3919
|
+
* and provides an error response. If you have the required permissions, the error response is
|
|
3920
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
3921
|
+
*/
|
|
3922
|
+
DryRun?: boolean;
|
|
3923
|
+
}
|
|
3924
|
+
/**
|
|
3925
|
+
* @public
|
|
3926
|
+
*/
|
|
3927
|
+
export interface EnableImageResult {
|
|
3928
|
+
/**
|
|
3929
|
+
* @public
|
|
3930
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
3931
|
+
*/
|
|
3932
|
+
Return?: boolean;
|
|
3933
|
+
}
|
|
3880
3934
|
/**
|
|
3881
3935
|
* @public
|
|
3882
3936
|
* @enum
|
|
@@ -7409,84 +7463,6 @@ export interface GetTransitGatewayRouteTablePropagationsRequest {
|
|
|
7409
7463
|
*/
|
|
7410
7464
|
DryRun?: boolean;
|
|
7411
7465
|
}
|
|
7412
|
-
/**
|
|
7413
|
-
* @public
|
|
7414
|
-
* <p>Describes a route table propagation.</p>
|
|
7415
|
-
*/
|
|
7416
|
-
export interface TransitGatewayRouteTablePropagation {
|
|
7417
|
-
/**
|
|
7418
|
-
* @public
|
|
7419
|
-
* <p>The ID of the attachment.</p>
|
|
7420
|
-
*/
|
|
7421
|
-
TransitGatewayAttachmentId?: string;
|
|
7422
|
-
/**
|
|
7423
|
-
* @public
|
|
7424
|
-
* <p>The ID of the resource.</p>
|
|
7425
|
-
*/
|
|
7426
|
-
ResourceId?: string;
|
|
7427
|
-
/**
|
|
7428
|
-
* @public
|
|
7429
|
-
* <p>The type of resource. Note that the <code>tgw-peering</code> resource type has been deprecated.</p>
|
|
7430
|
-
*/
|
|
7431
|
-
ResourceType?: TransitGatewayAttachmentResourceType | string;
|
|
7432
|
-
/**
|
|
7433
|
-
* @public
|
|
7434
|
-
* <p>The state of the resource.</p>
|
|
7435
|
-
*/
|
|
7436
|
-
State?: TransitGatewayPropagationState | string;
|
|
7437
|
-
/**
|
|
7438
|
-
* @public
|
|
7439
|
-
* <p>The ID of the transit gateway route table announcement.</p>
|
|
7440
|
-
*/
|
|
7441
|
-
TransitGatewayRouteTableAnnouncementId?: string;
|
|
7442
|
-
}
|
|
7443
|
-
/**
|
|
7444
|
-
* @public
|
|
7445
|
-
*/
|
|
7446
|
-
export interface GetTransitGatewayRouteTablePropagationsResult {
|
|
7447
|
-
/**
|
|
7448
|
-
* @public
|
|
7449
|
-
* <p>Information about the route table propagations.</p>
|
|
7450
|
-
*/
|
|
7451
|
-
TransitGatewayRouteTablePropagations?: TransitGatewayRouteTablePropagation[];
|
|
7452
|
-
/**
|
|
7453
|
-
* @public
|
|
7454
|
-
* <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>
|
|
7455
|
-
*/
|
|
7456
|
-
NextToken?: string;
|
|
7457
|
-
}
|
|
7458
|
-
/**
|
|
7459
|
-
* @public
|
|
7460
|
-
*/
|
|
7461
|
-
export interface GetVerifiedAccessEndpointPolicyRequest {
|
|
7462
|
-
/**
|
|
7463
|
-
* @public
|
|
7464
|
-
* <p>The ID of the Verified Access endpoint.</p>
|
|
7465
|
-
*/
|
|
7466
|
-
VerifiedAccessEndpointId: string | undefined;
|
|
7467
|
-
/**
|
|
7468
|
-
* @public
|
|
7469
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7470
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7471
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7472
|
-
*/
|
|
7473
|
-
DryRun?: boolean;
|
|
7474
|
-
}
|
|
7475
|
-
/**
|
|
7476
|
-
* @public
|
|
7477
|
-
*/
|
|
7478
|
-
export interface GetVerifiedAccessEndpointPolicyResult {
|
|
7479
|
-
/**
|
|
7480
|
-
* @public
|
|
7481
|
-
* <p>The status of the Verified Access policy.</p>
|
|
7482
|
-
*/
|
|
7483
|
-
PolicyEnabled?: boolean;
|
|
7484
|
-
/**
|
|
7485
|
-
* @public
|
|
7486
|
-
* <p>The Verified Access policy document.</p>
|
|
7487
|
-
*/
|
|
7488
|
-
PolicyDocument?: string;
|
|
7489
|
-
}
|
|
7490
7466
|
/**
|
|
7491
7467
|
* @internal
|
|
7492
7468
|
*/
|
|
@@ -1,9 +1,87 @@
|
|
|
1
|
-
import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
|
-
import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList,
|
|
1
|
+
import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
|
+
import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, Placement, PlatformValues, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
|
|
3
3
|
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
|
|
4
4
|
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_3";
|
|
5
5
|
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
|
|
6
|
-
import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
|
|
6
|
+
import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>Describes a route table propagation.</p>
|
|
10
|
+
*/
|
|
11
|
+
export interface TransitGatewayRouteTablePropagation {
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* <p>The ID of the attachment.</p>
|
|
15
|
+
*/
|
|
16
|
+
TransitGatewayAttachmentId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
* <p>The ID of the resource.</p>
|
|
20
|
+
*/
|
|
21
|
+
ResourceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
* <p>The type of resource. Note that the <code>tgw-peering</code> resource type has been deprecated.</p>
|
|
25
|
+
*/
|
|
26
|
+
ResourceType?: TransitGatewayAttachmentResourceType | string;
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>The state of the resource.</p>
|
|
30
|
+
*/
|
|
31
|
+
State?: TransitGatewayPropagationState | string;
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
* <p>The ID of the transit gateway route table announcement.</p>
|
|
35
|
+
*/
|
|
36
|
+
TransitGatewayRouteTableAnnouncementId?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export interface GetTransitGatewayRouteTablePropagationsResult {
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* <p>Information about the route table propagations.</p>
|
|
45
|
+
*/
|
|
46
|
+
TransitGatewayRouteTablePropagations?: TransitGatewayRouteTablePropagation[];
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
* <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>
|
|
50
|
+
*/
|
|
51
|
+
NextToken?: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export interface GetVerifiedAccessEndpointPolicyRequest {
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
* <p>The ID of the Verified Access endpoint.</p>
|
|
60
|
+
*/
|
|
61
|
+
VerifiedAccessEndpointId: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
65
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
66
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
67
|
+
*/
|
|
68
|
+
DryRun?: boolean;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export interface GetVerifiedAccessEndpointPolicyResult {
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* <p>The status of the Verified Access policy.</p>
|
|
77
|
+
*/
|
|
78
|
+
PolicyEnabled?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* <p>The Verified Access policy document.</p>
|
|
82
|
+
*/
|
|
83
|
+
PolicyDocument?: string;
|
|
84
|
+
}
|
|
7
85
|
/**
|
|
8
86
|
* @public
|
|
9
87
|
*/
|
|
@@ -7929,106 +8007,6 @@ export interface ElasticInferenceAccelerator {
|
|
|
7929
8007
|
*/
|
|
7930
8008
|
Count?: number;
|
|
7931
8009
|
}
|
|
7932
|
-
/**
|
|
7933
|
-
* @public
|
|
7934
|
-
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For
|
|
7935
|
-
* more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html"> What is Amazon Web Services Nitro
|
|
7936
|
-
* Enclaves?</a> in the <i>Amazon Web Services Nitro Enclaves User
|
|
7937
|
-
* Guide</i>.</p>
|
|
7938
|
-
*/
|
|
7939
|
-
export interface EnclaveOptionsRequest {
|
|
7940
|
-
/**
|
|
7941
|
-
* @public
|
|
7942
|
-
* <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
|
|
7943
|
-
* <code>true</code>.</p>
|
|
7944
|
-
*/
|
|
7945
|
-
Enabled?: boolean;
|
|
7946
|
-
}
|
|
7947
|
-
/**
|
|
7948
|
-
* @public
|
|
7949
|
-
* <p>Indicates whether your instance is configured for hibernation. This parameter is valid
|
|
7950
|
-
* only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
|
|
7951
|
-
* prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
|
|
7952
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
7953
|
-
*/
|
|
7954
|
-
export interface HibernationOptionsRequest {
|
|
7955
|
-
/**
|
|
7956
|
-
* @public
|
|
7957
|
-
* <p>Set to <code>true</code> to enable your instance for hibernation.</p>
|
|
7958
|
-
* <p>Default: <code>false</code>
|
|
7959
|
-
* </p>
|
|
7960
|
-
*/
|
|
7961
|
-
Configured?: boolean;
|
|
7962
|
-
}
|
|
7963
|
-
/**
|
|
7964
|
-
* @public
|
|
7965
|
-
* <p>The options for Spot Instances.</p>
|
|
7966
|
-
*/
|
|
7967
|
-
export interface SpotMarketOptions {
|
|
7968
|
-
/**
|
|
7969
|
-
* @public
|
|
7970
|
-
* <p>The maximum hourly price that you're willing to pay for a Spot Instance. We do not
|
|
7971
|
-
* recommend using this parameter because it can lead to increased interruptions. If you do
|
|
7972
|
-
* not specify this parameter, you will pay the current Spot price.</p>
|
|
7973
|
-
* <important>
|
|
7974
|
-
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
7975
|
-
* frequently than if you do not specify this parameter.</p>
|
|
7976
|
-
* </important>
|
|
7977
|
-
*/
|
|
7978
|
-
MaxPrice?: string;
|
|
7979
|
-
/**
|
|
7980
|
-
* @public
|
|
7981
|
-
* <p>The Spot Instance request type. For <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances">RunInstances</a>, persistent
|
|
7982
|
-
* Spot Instance requests are only supported when the instance interruption behavior is
|
|
7983
|
-
* either <code>hibernate</code> or <code>stop</code>.</p>
|
|
7984
|
-
*/
|
|
7985
|
-
SpotInstanceType?: SpotInstanceType | string;
|
|
7986
|
-
/**
|
|
7987
|
-
* @public
|
|
7988
|
-
* <p>Deprecated.</p>
|
|
7989
|
-
*/
|
|
7990
|
-
BlockDurationMinutes?: number;
|
|
7991
|
-
/**
|
|
7992
|
-
* @public
|
|
7993
|
-
* <p>The end date of the request, in UTC format
|
|
7994
|
-
* (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
|
|
7995
|
-
* Supported only for persistent requests.</p>
|
|
7996
|
-
* <ul>
|
|
7997
|
-
* <li>
|
|
7998
|
-
* <p>For a persistent request, the request remains active until the
|
|
7999
|
-
* <code>ValidUntil</code> date and time is reached. Otherwise, the request
|
|
8000
|
-
* remains active until you cancel it.</p>
|
|
8001
|
-
* </li>
|
|
8002
|
-
* <li>
|
|
8003
|
-
* <p>For a one-time request, <code>ValidUntil</code> is not supported. The request
|
|
8004
|
-
* remains active until all instances launch or you cancel the request.</p>
|
|
8005
|
-
* </li>
|
|
8006
|
-
* </ul>
|
|
8007
|
-
*/
|
|
8008
|
-
ValidUntil?: Date;
|
|
8009
|
-
/**
|
|
8010
|
-
* @public
|
|
8011
|
-
* <p>The behavior when a Spot Instance is interrupted. The default is
|
|
8012
|
-
* <code>terminate</code>.</p>
|
|
8013
|
-
*/
|
|
8014
|
-
InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
|
|
8015
|
-
}
|
|
8016
|
-
/**
|
|
8017
|
-
* @public
|
|
8018
|
-
* <p>Describes the market (purchasing) option for the instances.</p>
|
|
8019
|
-
*/
|
|
8020
|
-
export interface InstanceMarketOptionsRequest {
|
|
8021
|
-
/**
|
|
8022
|
-
* @public
|
|
8023
|
-
* <p>The market type.</p>
|
|
8024
|
-
*/
|
|
8025
|
-
MarketType?: MarketType | string;
|
|
8026
|
-
/**
|
|
8027
|
-
* @public
|
|
8028
|
-
* <p>The options for Spot Instances.</p>
|
|
8029
|
-
*/
|
|
8030
|
-
SpotOptions?: SpotMarketOptions;
|
|
8031
|
-
}
|
|
8032
8010
|
/**
|
|
8033
8011
|
* @internal
|
|
8034
8012
|
*/
|