@aws-sdk/client-ec2 3.445.0 → 3.449.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 +24 -0
- package/dist-cjs/EC2.js +6 -0
- package/dist-cjs/commands/DisableSnapshotBlockPublicAccessCommand.js +51 -0
- package/dist-cjs/commands/EnableSnapshotBlockPublicAccessCommand.js +51 -0
- package/dist-cjs/commands/GetSnapshotBlockPublicAccessStateCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_1.js +1 -16
- package/dist-cjs/models/models_2.js +17 -2
- package/dist-cjs/models/models_5.js +6 -1
- package/dist-cjs/protocols/Aws_ec2.js +272 -18
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/DisableSnapshotBlockPublicAccessCommand.js +47 -0
- package/dist-es/commands/EnableSnapshotBlockPublicAccessCommand.js +47 -0
- package/dist-es/commands/GetSnapshotBlockPublicAccessStateCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_1.js +0 -15
- package/dist-es/models/models_2.js +15 -0
- package/dist-es/models/models_5.js +5 -0
- package/dist-es/protocols/Aws_ec2.js +248 -0
- package/dist-types/EC2.d.ts +21 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +6 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +12 -0
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -2
- package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
- package/dist-types/commands/DeletePlacementGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +81 -0
- package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +85 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +6 -0
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +76 -0
- package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +2 -1
- package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +6 -0
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +12 -0
- package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
- package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
- package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +1 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +12 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +3 -2
- package/dist-types/models/models_1.d.ts +99 -99
- package/dist-types/models/models_2.d.ts +89 -71
- package/dist-types/models/models_3.d.ts +71 -126
- package/dist-types/models/models_4.d.ts +182 -240
- package/dist-types/models/models_5.d.ts +370 -354
- package/dist-types/models/models_6.d.ts +350 -306
- package/dist-types/models/models_7.d.ts +308 -5
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +57 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreatePlacementGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePlacementGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_1.d.ts +16 -28
- package/dist-types/ts3.4/models/models_2.d.ts +28 -19
- package/dist-types/ts3.4/models/models_3.d.ts +16 -18
- package/dist-types/ts3.4/models/models_4.d.ts +29 -36
- package/dist-types/ts3.4/models/models_5.d.ts +62 -75
- package/dist-types/ts3.4/models/models_6.d.ts +76 -70
- package/dist-types/ts3.4/models/models_7.d.ts +77 -2
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +13 -13
|
@@ -0,0 +1,85 @@
|
|
|
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 { EnableSnapshotBlockPublicAccessRequest, EnableSnapshotBlockPublicAccessResult } from "../models/models_5";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link EnableSnapshotBlockPublicAccessCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface EnableSnapshotBlockPublicAccessCommandInput extends EnableSnapshotBlockPublicAccessRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link EnableSnapshotBlockPublicAccessCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface EnableSnapshotBlockPublicAccessCommandOutput extends EnableSnapshotBlockPublicAccessResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Enables or modifies the <i>block public access for snapshots</i>
|
|
27
|
+
* setting at the account level for the specified Amazon Web Services Region. After you enable block
|
|
28
|
+
* public access for snapshots in a Region, users can no longer request public sharing
|
|
29
|
+
* for snapshots in that Region. Snapshots that are already publicly shared are either
|
|
30
|
+
* treated as private or they remain publicly shared, depending on the
|
|
31
|
+
* <b>State</b> that you specify.</p>
|
|
32
|
+
* <p>If block public access is enabled in <code>block-all-sharing</code> mode, and
|
|
33
|
+
* you change the mode to <code>block-new-sharing</code>, all snapshots that were
|
|
34
|
+
* previously publicly shared are no longer treated as private and they become publicly
|
|
35
|
+
* accessible again.</p>
|
|
36
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-snapshots.html">
|
|
37
|
+
* Block public access for snapshots</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { EC2Client, EnableSnapshotBlockPublicAccessCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
42
|
+
* // const { EC2Client, EnableSnapshotBlockPublicAccessCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
43
|
+
* const client = new EC2Client(config);
|
|
44
|
+
* const input = { // EnableSnapshotBlockPublicAccessRequest
|
|
45
|
+
* State: "block-all-sharing" || "block-new-sharing" || "unblocked", // required
|
|
46
|
+
* DryRun: true || false,
|
|
47
|
+
* };
|
|
48
|
+
* const command = new EnableSnapshotBlockPublicAccessCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // EnableSnapshotBlockPublicAccessResult
|
|
51
|
+
* // State: "block-all-sharing" || "block-new-sharing" || "unblocked",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param EnableSnapshotBlockPublicAccessCommandInput - {@link EnableSnapshotBlockPublicAccessCommandInput}
|
|
57
|
+
* @returns {@link EnableSnapshotBlockPublicAccessCommandOutput}
|
|
58
|
+
* @see {@link EnableSnapshotBlockPublicAccessCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link EnableSnapshotBlockPublicAccessCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link EC2ServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export declare class EnableSnapshotBlockPublicAccessCommand extends $Command<EnableSnapshotBlockPublicAccessCommandInput, EnableSnapshotBlockPublicAccessCommandOutput, EC2ClientResolvedConfig> {
|
|
67
|
+
readonly input: EnableSnapshotBlockPublicAccessCommandInput;
|
|
68
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
constructor(input: EnableSnapshotBlockPublicAccessCommandInput);
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableSnapshotBlockPublicAccessCommandInput, EnableSnapshotBlockPublicAccessCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private deserialize;
|
|
85
|
+
}
|
|
@@ -110,6 +110,12 @@ export interface GetLaunchTemplateDataCommandOutput extends GetLaunchTemplateDat
|
|
|
110
110
|
* // ],
|
|
111
111
|
* // Ipv6PrefixCount: Number("int"),
|
|
112
112
|
* // PrimaryIpv6: true || false,
|
|
113
|
+
* // EnaSrdSpecification: { // LaunchTemplateEnaSrdSpecification
|
|
114
|
+
* // EnaSrdEnabled: true || false,
|
|
115
|
+
* // EnaSrdUdpSpecification: { // LaunchTemplateEnaSrdUdpSpecification
|
|
116
|
+
* // EnaSrdUdpEnabled: true || false,
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
113
119
|
* // },
|
|
114
120
|
* // ],
|
|
115
121
|
* // ImageId: "STRING_VALUE",
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { GetSnapshotBlockPublicAccessStateRequest, GetSnapshotBlockPublicAccessStateResult } from "../models/models_5";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSnapshotBlockPublicAccessStateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSnapshotBlockPublicAccessStateCommandInput extends GetSnapshotBlockPublicAccessStateRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSnapshotBlockPublicAccessStateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSnapshotBlockPublicAccessStateCommandOutput extends GetSnapshotBlockPublicAccessStateResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Gets the current state of <i>block public access for snapshots</i> setting
|
|
27
|
+
* for the account and Region.</p>
|
|
28
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-snapshots.html">
|
|
29
|
+
* Block public access for snapshots</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { EC2Client, GetSnapshotBlockPublicAccessStateCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
34
|
+
* // const { EC2Client, GetSnapshotBlockPublicAccessStateCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
35
|
+
* const client = new EC2Client(config);
|
|
36
|
+
* const input = { // GetSnapshotBlockPublicAccessStateRequest
|
|
37
|
+
* DryRun: true || false,
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetSnapshotBlockPublicAccessStateCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetSnapshotBlockPublicAccessStateResult
|
|
42
|
+
* // State: "block-all-sharing" || "block-new-sharing" || "unblocked",
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param GetSnapshotBlockPublicAccessStateCommandInput - {@link GetSnapshotBlockPublicAccessStateCommandInput}
|
|
48
|
+
* @returns {@link GetSnapshotBlockPublicAccessStateCommandOutput}
|
|
49
|
+
* @see {@link GetSnapshotBlockPublicAccessStateCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link GetSnapshotBlockPublicAccessStateCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link EC2ServiceException}
|
|
54
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
export declare class GetSnapshotBlockPublicAccessStateCommand extends $Command<GetSnapshotBlockPublicAccessStateCommandInput, GetSnapshotBlockPublicAccessStateCommandOutput, EC2ClientResolvedConfig> {
|
|
58
|
+
readonly input: GetSnapshotBlockPublicAccessStateCommandInput;
|
|
59
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
constructor(input: GetSnapshotBlockPublicAccessStateCommandInput);
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSnapshotBlockPublicAccessStateCommandInput, GetSnapshotBlockPublicAccessStateCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
private deserialize;
|
|
76
|
+
}
|
|
@@ -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 { GetSubnetCidrReservationsRequest
|
|
5
|
+
import { GetSubnetCidrReservationsRequest } from "../models/models_5";
|
|
6
|
+
import { GetSubnetCidrReservationsResult } 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 { GetTransitGatewayAttachmentPropagationsRequest, GetTransitGatewayAttachmentPropagationsResult } from "../models/
|
|
5
|
+
import { GetTransitGatewayAttachmentPropagationsRequest, GetTransitGatewayAttachmentPropagationsResult } from "../models/models_6";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -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 { GetTransitGatewayMulticastDomainAssociationsRequest, GetTransitGatewayMulticastDomainAssociationsResult } from "../models/
|
|
5
|
+
import { GetTransitGatewayMulticastDomainAssociationsRequest, GetTransitGatewayMulticastDomainAssociationsResult } from "../models/models_6";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -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 { GetTransitGatewayPolicyTableAssociationsRequest, GetTransitGatewayPolicyTableAssociationsResult } from "../models/
|
|
5
|
+
import { GetTransitGatewayPolicyTableAssociationsRequest, GetTransitGatewayPolicyTableAssociationsResult } from "../models/models_6";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,8 +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 { GetTransitGatewayPolicyTableEntriesRequest } from "../models/
|
|
6
|
-
import { GetTransitGatewayPolicyTableEntriesResult } from "../models/models_6";
|
|
5
|
+
import { GetTransitGatewayPolicyTableEntriesRequest, GetTransitGatewayPolicyTableEntriesResult } from "../models/models_6";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -153,6 +153,12 @@ export interface RequestSpotFleetCommandOutput extends RequestSpotFleetResponse,
|
|
|
153
153
|
* ],
|
|
154
154
|
* Ipv6PrefixCount: Number("int"),
|
|
155
155
|
* PrimaryIpv6: true || false,
|
|
156
|
+
* EnaSrdSpecification: { // EnaSrdSpecificationRequest
|
|
157
|
+
* EnaSrdEnabled: true || false,
|
|
158
|
+
* EnaSrdUdpSpecification: { // EnaSrdUdpSpecificationRequest
|
|
159
|
+
* EnaSrdUdpEnabled: true || false,
|
|
160
|
+
* },
|
|
161
|
+
* },
|
|
156
162
|
* },
|
|
157
163
|
* ],
|
|
158
164
|
* Placement: { // SpotPlacement
|
|
@@ -126,6 +126,12 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
|
|
|
126
126
|
* ],
|
|
127
127
|
* Ipv6PrefixCount: Number("int"),
|
|
128
128
|
* PrimaryIpv6: true || false,
|
|
129
|
+
* EnaSrdSpecification: { // EnaSrdSpecificationRequest
|
|
130
|
+
* EnaSrdEnabled: true || false,
|
|
131
|
+
* EnaSrdUdpSpecification: { // EnaSrdUdpSpecificationRequest
|
|
132
|
+
* EnaSrdUdpEnabled: true || false,
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
129
135
|
* },
|
|
130
136
|
* ],
|
|
131
137
|
* Placement: { // SpotPlacement
|
|
@@ -247,6 +253,12 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
|
|
|
247
253
|
* // ],
|
|
248
254
|
* // Ipv6PrefixCount: Number("int"),
|
|
249
255
|
* // PrimaryIpv6: true || false,
|
|
256
|
+
* // EnaSrdSpecification: { // EnaSrdSpecificationRequest
|
|
257
|
+
* // EnaSrdEnabled: true || false,
|
|
258
|
+
* // EnaSrdUdpSpecification: { // EnaSrdUdpSpecificationRequest
|
|
259
|
+
* // EnaSrdUdpEnabled: true || false,
|
|
260
|
+
* // },
|
|
261
|
+
* // },
|
|
250
262
|
* // },
|
|
251
263
|
* // ],
|
|
252
264
|
* // Placement: { // SpotPlacement
|
|
@@ -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 { ResetImageAttributeRequest } from "../models/
|
|
5
|
+
import { ResetImageAttributeRequest } from "../models/models_7";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -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 { ResetInstanceAttributeRequest } from "../models/
|
|
5
|
+
import { ResetInstanceAttributeRequest } from "../models/models_7";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -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 { ResetNetworkInterfaceAttributeRequest } from "../models/
|
|
5
|
+
import { ResetNetworkInterfaceAttributeRequest } from "../models/models_7";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -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 { ResetSnapshotAttributeRequest } from "../models/
|
|
5
|
+
import { ResetSnapshotAttributeRequest } from "../models/models_7";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -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 { RestoreAddressToClassicRequest, RestoreAddressToClassicResult } from "../models/
|
|
5
|
+
import { RestoreAddressToClassicRequest, RestoreAddressToClassicResult } from "../models/models_7";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -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 { RestoreImageFromRecycleBinRequest, RestoreImageFromRecycleBinResult } from "../models/
|
|
5
|
+
import { RestoreImageFromRecycleBinRequest, RestoreImageFromRecycleBinResult } from "../models/models_7";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -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 { RestoreManagedPrefixListVersionRequest, RestoreManagedPrefixListVersionResult } from "../models/
|
|
5
|
+
import { RestoreManagedPrefixListVersionRequest, RestoreManagedPrefixListVersionResult } from "../models/models_7";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -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 { RestoreSnapshotFromRecycleBinRequest, RestoreSnapshotFromRecycleBinResult } from "../models/
|
|
5
|
+
import { RestoreSnapshotFromRecycleBinRequest, RestoreSnapshotFromRecycleBinResult } from "../models/models_7";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,8 +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 { RestoreSnapshotTierRequest } from "../models/
|
|
6
|
-
import { RestoreSnapshotTierResult } from "../models/models_7";
|
|
5
|
+
import { RestoreSnapshotTierRequest, RestoreSnapshotTierResult } from "../models/models_7";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -185,6 +185,12 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
|
|
|
185
185
|
* ],
|
|
186
186
|
* Ipv6PrefixCount: Number("int"),
|
|
187
187
|
* PrimaryIpv6: true || false,
|
|
188
|
+
* EnaSrdSpecification: { // EnaSrdSpecificationRequest
|
|
189
|
+
* EnaSrdEnabled: true || false,
|
|
190
|
+
* EnaSrdUdpSpecification: { // EnaSrdUdpSpecificationRequest
|
|
191
|
+
* EnaSrdUdpEnabled: true || false,
|
|
192
|
+
* },
|
|
193
|
+
* },
|
|
188
194
|
* },
|
|
189
195
|
* ],
|
|
190
196
|
* PrivateIpAddress: "STRING_VALUE",
|
|
@@ -373,6 +379,12 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
|
|
|
373
379
|
* // DeviceIndex: Number("int"),
|
|
374
380
|
* // Status: "attaching" || "attached" || "detaching" || "detached",
|
|
375
381
|
* // NetworkCardIndex: Number("int"),
|
|
382
|
+
* // EnaSrdSpecification: { // InstanceAttachmentEnaSrdSpecification
|
|
383
|
+
* // EnaSrdEnabled: true || false,
|
|
384
|
+
* // EnaSrdUdpSpecification: { // InstanceAttachmentEnaSrdUdpSpecification
|
|
385
|
+
* // EnaSrdUdpEnabled: true || false,
|
|
386
|
+
* // },
|
|
387
|
+
* // },
|
|
376
388
|
* // },
|
|
377
389
|
* // Description: "STRING_VALUE",
|
|
378
390
|
* // Groups: [
|
|
@@ -377,6 +377,7 @@ export * from "./DisableImageCommand";
|
|
|
377
377
|
export * from "./DisableImageDeprecationCommand";
|
|
378
378
|
export * from "./DisableIpamOrganizationAdminAccountCommand";
|
|
379
379
|
export * from "./DisableSerialConsoleAccessCommand";
|
|
380
|
+
export * from "./DisableSnapshotBlockPublicAccessCommand";
|
|
380
381
|
export * from "./DisableTransitGatewayRouteTablePropagationCommand";
|
|
381
382
|
export * from "./DisableVgwRoutePropagationCommand";
|
|
382
383
|
export * from "./DisableVpcClassicLinkCommand";
|
|
@@ -406,6 +407,7 @@ export * from "./EnableImageDeprecationCommand";
|
|
|
406
407
|
export * from "./EnableIpamOrganizationAdminAccountCommand";
|
|
407
408
|
export * from "./EnableReachabilityAnalyzerOrganizationSharingCommand";
|
|
408
409
|
export * from "./EnableSerialConsoleAccessCommand";
|
|
410
|
+
export * from "./EnableSnapshotBlockPublicAccessCommand";
|
|
409
411
|
export * from "./EnableTransitGatewayRouteTablePropagationCommand";
|
|
410
412
|
export * from "./EnableVgwRoutePropagationCommand";
|
|
411
413
|
export * from "./EnableVolumeIOCommand";
|
|
@@ -446,6 +448,7 @@ export * from "./GetPasswordDataCommand";
|
|
|
446
448
|
export * from "./GetReservedInstancesExchangeQuoteCommand";
|
|
447
449
|
export * from "./GetSecurityGroupsForVpcCommand";
|
|
448
450
|
export * from "./GetSerialConsoleAccessStatusCommand";
|
|
451
|
+
export * from "./GetSnapshotBlockPublicAccessStateCommand";
|
|
449
452
|
export * from "./GetSpotPlacementScoresCommand";
|
|
450
453
|
export * from "./GetSubnetCidrReservationsCommand";
|
|
451
454
|
export * from "./GetTransitGatewayAttachmentPropagationsCommand";
|
|
@@ -4762,7 +4762,7 @@ export interface AttachInternetGatewayRequest {
|
|
|
4762
4762
|
}
|
|
4763
4763
|
/**
|
|
4764
4764
|
* @public
|
|
4765
|
-
* <p>ENA Express is compatible with both TCP and UDP transport protocols. When it
|
|
4765
|
+
* <p>ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic
|
|
4766
4766
|
* automatically uses it. However, some UDP-based applications are designed to handle network packets that are
|
|
4767
4767
|
* out of order, without a need for retransmission, such as live video broadcasting or other near-real-time
|
|
4768
4768
|
* applications. For UDP traffic, you can specify whether to use ENA Express, based on your application
|
|
@@ -4771,7 +4771,8 @@ export interface AttachInternetGatewayRequest {
|
|
|
4771
4771
|
export interface EnaSrdUdpSpecification {
|
|
4772
4772
|
/**
|
|
4773
4773
|
* @public
|
|
4774
|
-
* <p>Indicates whether UDP traffic uses ENA Express. To specify this setting,
|
|
4774
|
+
* <p>Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting,
|
|
4775
|
+
* you must first enable ENA Express.</p>
|
|
4775
4776
|
*/
|
|
4776
4777
|
EnaSrdUdpEnabled?: boolean;
|
|
4777
4778
|
}
|