@aws-sdk/client-ec2 3.865.0 → 3.868.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 +8 -0
- package/dist-cjs/index.js +144 -35
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/ModifyInstanceConnectEndpointCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +3 -0
- package/dist-es/models/models_2.js +0 -11
- package/dist-es/models/models_3.js +11 -0
- package/dist-es/protocols/Aws_ec2.js +110 -22
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +0 -1
- package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -0
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +11 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -0
- package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +11 -1
- package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +2 -2
- package/dist-types/commands/DescribeByoipCidrsCommand.d.ts +2 -3
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +1 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +11 -1
- package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +0 -1
- package/dist-types/commands/DescribePrefixListsCommand.d.ts +0 -1
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +1 -2
- package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -2
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceConnectEndpointCommand.d.ts +81 -0
- package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -2
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -4
- package/dist-types/commands/RegisterImageCommand.d.ts +3 -8
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -1
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseAddressCommand.d.ts +4 -4
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +2 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/models/models_1.d.ts +42 -44
- package/dist-types/models/models_2.d.ts +49 -152
- package/dist-types/models/models_3.d.ts +153 -78
- package/dist-types/models/models_4.d.ts +79 -60
- package/dist-types/models/models_5.d.ts +50 -99
- package/dist-types/models/models_6.d.ts +94 -61
- package/dist-types/models/models_7.d.ts +132 -70
- package/dist-types/models/models_8.d.ts +69 -1
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeCapacityReservationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeCarrierGatewaysCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceConnectEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +12 -8
- package/dist-types/ts3.4/models/models_2.d.ts +9 -41
- package/dist-types/ts3.4/models/models_3.d.ts +46 -13
- package/dist-types/ts3.4/models/models_4.d.ts +12 -12
- package/dist-types/ts3.4/models/models_5.d.ts +13 -13
- package/dist-types/ts3.4/models/models_6.d.ts +13 -9
- package/dist-types/ts3.4/models/models_7.d.ts +19 -21
- package/dist-types/ts3.4/models/models_8.d.ts +22 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/package.json +1 -1
|
@@ -66,7 +66,7 @@ declare const CreateInstanceConnectEndpointCommand_base: {
|
|
|
66
66
|
* // OwnerId: "STRING_VALUE",
|
|
67
67
|
* // InstanceConnectEndpointId: "STRING_VALUE",
|
|
68
68
|
* // InstanceConnectEndpointArn: "STRING_VALUE",
|
|
69
|
-
* // State: "create-in-progress" || "create-complete" || "create-failed" || "delete-in-progress" || "delete-complete" || "delete-failed",
|
|
69
|
+
* // State: "create-in-progress" || "create-complete" || "create-failed" || "delete-in-progress" || "delete-complete" || "delete-failed" || "update-in-progress" || "update-complete" || "update-failed",
|
|
70
70
|
* // StateMessage: "STRING_VALUE",
|
|
71
71
|
* // DnsName: "STRING_VALUE",
|
|
72
72
|
* // FipsDnsName: "STRING_VALUE",
|
|
@@ -88,6 +88,16 @@ declare const CreateInstanceConnectEndpointCommand_base: {
|
|
|
88
88
|
* // },
|
|
89
89
|
* // ],
|
|
90
90
|
* // IpAddressType: "ipv4" || "dualstack" || "ipv6",
|
|
91
|
+
* // PublicDnsNames: { // InstanceConnectEndpointPublicDnsNames
|
|
92
|
+
* // Ipv4: { // InstanceConnectEndpointDnsNames
|
|
93
|
+
* // DnsName: "STRING_VALUE",
|
|
94
|
+
* // FipsDnsName: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // Dualstack: {
|
|
97
|
+
* // DnsName: "STRING_VALUE",
|
|
98
|
+
* // FipsDnsName: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // },
|
|
91
101
|
* // },
|
|
92
102
|
* // ClientToken: "STRING_VALUE",
|
|
93
103
|
* // };
|
|
@@ -63,6 +63,7 @@ declare const CreateRouteTableCommand_base: {
|
|
|
63
63
|
* // RouteTableId: "STRING_VALUE",
|
|
64
64
|
* // SubnetId: "STRING_VALUE",
|
|
65
65
|
* // GatewayId: "STRING_VALUE",
|
|
66
|
+
* // PublicIpv4Pool: "STRING_VALUE",
|
|
66
67
|
* // AssociationState: { // RouteTableAssociationState
|
|
67
68
|
* // State: "associating" || "associated" || "disassociating" || "disassociated" || "failed",
|
|
68
69
|
* // StatusMessage: "STRING_VALUE",
|
|
@@ -45,7 +45,7 @@ declare const DeleteInstanceConnectEndpointCommand_base: {
|
|
|
45
45
|
* // OwnerId: "STRING_VALUE",
|
|
46
46
|
* // InstanceConnectEndpointId: "STRING_VALUE",
|
|
47
47
|
* // InstanceConnectEndpointArn: "STRING_VALUE",
|
|
48
|
-
* // State: "create-in-progress" || "create-complete" || "create-failed" || "delete-in-progress" || "delete-complete" || "delete-failed",
|
|
48
|
+
* // State: "create-in-progress" || "create-complete" || "create-failed" || "delete-in-progress" || "delete-complete" || "delete-failed" || "update-in-progress" || "update-complete" || "update-failed",
|
|
49
49
|
* // StateMessage: "STRING_VALUE",
|
|
50
50
|
* // DnsName: "STRING_VALUE",
|
|
51
51
|
* // FipsDnsName: "STRING_VALUE",
|
|
@@ -67,6 +67,16 @@ declare const DeleteInstanceConnectEndpointCommand_base: {
|
|
|
67
67
|
* // },
|
|
68
68
|
* // ],
|
|
69
69
|
* // IpAddressType: "ipv4" || "dualstack" || "ipv6",
|
|
70
|
+
* // PublicDnsNames: { // InstanceConnectEndpointPublicDnsNames
|
|
71
|
+
* // Ipv4: { // InstanceConnectEndpointDnsNames
|
|
72
|
+
* // DnsName: "STRING_VALUE",
|
|
73
|
+
* // FipsDnsName: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // Dualstack: {
|
|
76
|
+
* // DnsName: "STRING_VALUE",
|
|
77
|
+
* // FipsDnsName: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
70
80
|
* // },
|
|
71
81
|
* // };
|
|
72
82
|
*
|
|
@@ -29,8 +29,8 @@ declare const DeprovisionByoipCidrCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Releases the specified address range that you provisioned for use with your Amazon Web Services resources
|
|
31
31
|
* through bring your own IP addresses (BYOIP) and deletes the corresponding address pool.</p>
|
|
32
|
-
* <p>Before you can release an address range, you must stop advertising it
|
|
33
|
-
*
|
|
32
|
+
* <p>Before you can release an address range, you must stop advertising it and you must not
|
|
33
|
+
* have any IP addresses allocated from its address range.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -27,9 +27,8 @@ declare const DescribeByoipCidrsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes the IP address ranges that were
|
|
31
|
-
*
|
|
32
|
-
* ranges, use <a>DescribePublicIpv4Pools</a> or <a>DescribeIpv6Pools</a>.</p>
|
|
30
|
+
* <p>Describes the IP address ranges that were provisioned for use with Amazon Web Services resources
|
|
31
|
+
* through through bring your own IP addresses (BYOIP).</p>
|
|
33
32
|
* @example
|
|
34
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
34
|
* ```javascript
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeCapacityReservationsRequest
|
|
4
|
+
import { DescribeCapacityReservationsRequest } from "../models/models_3";
|
|
5
|
+
import { DescribeCapacityReservationsResult } from "../models/models_4";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeCarrierGatewaysRequest } from "../models/
|
|
5
|
-
import { DescribeCarrierGatewaysResult } from "../models/models_4";
|
|
4
|
+
import { DescribeCarrierGatewaysRequest, DescribeCarrierGatewaysResult } from "../models/models_4";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -40,7 +40,7 @@ declare const DescribeImagesCommand_base: {
|
|
|
40
40
|
* results, with the <code>imageAllowed</code> field set to <code>true</code> for each image. In
|
|
41
41
|
* <code>audit-mode</code>, the <code>imageAllowed</code> field is set to <code>true</code> for
|
|
42
42
|
* images that meet the account's Allowed AMIs criteria, and <code>false</code> for images that
|
|
43
|
-
* don't meet the criteria. For more information, see <a>
|
|
43
|
+
* don't meet the criteria. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html">Allowed AMIs</a>.</p>
|
|
44
44
|
* <p>The Amazon EC2 API follows an eventual consistency model. This means that the result of an API
|
|
45
45
|
* command you run that creates or modifies resources might not be immediately available to all
|
|
46
46
|
* subsequent commands you run. For guidance on how to manage eventual consistency, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/eventual-consistency.html">Eventual
|
|
@@ -58,7 +58,7 @@ declare const DescribeInstanceConnectEndpointsCommand_base: {
|
|
|
58
58
|
* // OwnerId: "STRING_VALUE",
|
|
59
59
|
* // InstanceConnectEndpointId: "STRING_VALUE",
|
|
60
60
|
* // InstanceConnectEndpointArn: "STRING_VALUE",
|
|
61
|
-
* // State: "create-in-progress" || "create-complete" || "create-failed" || "delete-in-progress" || "delete-complete" || "delete-failed",
|
|
61
|
+
* // State: "create-in-progress" || "create-complete" || "create-failed" || "delete-in-progress" || "delete-complete" || "delete-failed" || "update-in-progress" || "update-complete" || "update-failed",
|
|
62
62
|
* // StateMessage: "STRING_VALUE",
|
|
63
63
|
* // DnsName: "STRING_VALUE",
|
|
64
64
|
* // FipsDnsName: "STRING_VALUE",
|
|
@@ -80,6 +80,16 @@ declare const DescribeInstanceConnectEndpointsCommand_base: {
|
|
|
80
80
|
* // },
|
|
81
81
|
* // ],
|
|
82
82
|
* // IpAddressType: "ipv4" || "dualstack" || "ipv6",
|
|
83
|
+
* // PublicDnsNames: { // InstanceConnectEndpointPublicDnsNames
|
|
84
|
+
* // Ipv4: { // InstanceConnectEndpointDnsNames
|
|
85
|
+
* // DnsName: "STRING_VALUE",
|
|
86
|
+
* // FipsDnsName: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // Dualstack: {
|
|
89
|
+
* // DnsName: "STRING_VALUE",
|
|
90
|
+
* // FipsDnsName: "STRING_VALUE",
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
83
93
|
* // },
|
|
84
94
|
* // ],
|
|
85
95
|
* // NextToken: "STRING_VALUE",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeIpamResourceDiscoveriesRequest
|
|
4
|
+
import { DescribeIpamResourceDiscoveriesRequest } from "../models/models_4";
|
|
5
|
+
import { DescribeIpamResourceDiscoveriesResult } from "../models/models_5";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeIpamResourceDiscoveryAssociationsRequest } from "../models/
|
|
5
|
-
import { DescribeIpamResourceDiscoveryAssociationsResult } from "../models/models_5";
|
|
4
|
+
import { DescribeIpamResourceDiscoveryAssociationsRequest, DescribeIpamResourceDiscoveryAssociationsResult } from "../models/models_5";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -28,7 +28,6 @@ declare const DescribeManagedPrefixListsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes your managed prefix lists and any Amazon Web Services-managed prefix lists.</p>
|
|
31
|
-
* <p>To view the entries for your prefix list, use <a>GetManagedPrefixListEntries</a>.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -29,7 +29,6 @@ declare const DescribePrefixListsCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes available Amazon Web Services services in a prefix list format, which includes the prefix list
|
|
31
31
|
* name and prefix list ID of the service and the IP address range for the service.</p>
|
|
32
|
-
* <p>We recommend that you use <a>DescribeManagedPrefixLists</a> instead.</p>
|
|
33
32
|
* @example
|
|
34
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
34
|
* ```javascript
|
|
@@ -67,6 +67,7 @@ declare const DescribeRouteTablesCommand_base: {
|
|
|
67
67
|
* // RouteTableId: "STRING_VALUE",
|
|
68
68
|
* // SubnetId: "STRING_VALUE",
|
|
69
69
|
* // GatewayId: "STRING_VALUE",
|
|
70
|
+
* // PublicIpv4Pool: "STRING_VALUE",
|
|
70
71
|
* // AssociationState: { // RouteTableAssociationState
|
|
71
72
|
* // State: "associating" || "associated" || "disassociating" || "disassociated" || "failed",
|
|
72
73
|
* // StatusMessage: "STRING_VALUE",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeVpcEndpointConnectionsRequest
|
|
4
|
+
import { DescribeVpcEndpointConnectionsRequest } from "../models/models_5";
|
|
5
|
+
import { DescribeVpcEndpointConnectionsResult } from "../models/models_6";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeVpcEndpointsRequest } from "../models/
|
|
5
|
-
import { DescribeVpcEndpointsResult } from "../models/models_6";
|
|
4
|
+
import { DescribeVpcEndpointsRequest, DescribeVpcEndpointsResult } from "../models/models_6";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -29,8 +29,7 @@ declare const EnableImageDeregistrationProtectionCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Enables deregistration protection for an AMI. When deregistration protection is enabled,
|
|
31
31
|
* the AMI can't be deregistered.</p>
|
|
32
|
-
* <p>To allow the AMI to be deregistered, you must first disable deregistration protection
|
|
33
|
-
* using <a>DisableImageDeregistrationProtection</a>.</p>
|
|
32
|
+
* <p>To allow the AMI to be deregistered, you must first disable deregistration protection.</p>
|
|
34
33
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deregistration-protection.html">Protect an
|
|
35
34
|
* Amazon EC2 AMI from deregistration</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
36
35
|
* @example
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { GetSnapshotBlockPublicAccessStateRequest, GetSnapshotBlockPublicAccessStateResult } from "../models/
|
|
4
|
+
import { GetSnapshotBlockPublicAccessStateRequest, GetSnapshotBlockPublicAccessStateResult } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import { ModifyInstanceConnectEndpointRequest, ModifyInstanceConnectEndpointResult } from "../models/models_7";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ModifyInstanceConnectEndpointCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ModifyInstanceConnectEndpointCommandInput extends ModifyInstanceConnectEndpointRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ModifyInstanceConnectEndpointCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ModifyInstanceConnectEndpointCommandOutput extends ModifyInstanceConnectEndpointResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ModifyInstanceConnectEndpointCommand_base: {
|
|
25
|
+
new (input: ModifyInstanceConnectEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyInstanceConnectEndpointCommandInput, ModifyInstanceConnectEndpointCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ModifyInstanceConnectEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyInstanceConnectEndpointCommandInput, ModifyInstanceConnectEndpointCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Modifies the specified EC2 Instance Connect Endpoint.</p>
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/modify-ec2-instance-connect-endpoint.html">Modify an
|
|
32
|
+
* EC2 Instance Connect Endpoint</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, ModifyInstanceConnectEndpointCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
38
|
+
* // const { EC2Client, ModifyInstanceConnectEndpointCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
39
|
+
* const client = new EC2Client(config);
|
|
40
|
+
* const input = { // ModifyInstanceConnectEndpointRequest
|
|
41
|
+
* DryRun: true || false,
|
|
42
|
+
* InstanceConnectEndpointId: "STRING_VALUE", // required
|
|
43
|
+
* IpAddressType: "ipv4" || "dualstack" || "ipv6",
|
|
44
|
+
* SecurityGroupIds: [ // SecurityGroupIdStringListRequest
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* PreserveClientIp: true || false,
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ModifyInstanceConnectEndpointCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ModifyInstanceConnectEndpointResult
|
|
52
|
+
* // Return: true || false,
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param ModifyInstanceConnectEndpointCommandInput - {@link ModifyInstanceConnectEndpointCommandInput}
|
|
58
|
+
* @returns {@link ModifyInstanceConnectEndpointCommandOutput}
|
|
59
|
+
* @see {@link ModifyInstanceConnectEndpointCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link ModifyInstanceConnectEndpointCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link EC2ServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
65
|
+
*
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class ModifyInstanceConnectEndpointCommand extends ModifyInstanceConnectEndpointCommand_base {
|
|
70
|
+
/** @internal type navigation helper, not in runtime. */
|
|
71
|
+
protected static __types: {
|
|
72
|
+
api: {
|
|
73
|
+
input: ModifyInstanceConnectEndpointRequest;
|
|
74
|
+
output: ModifyInstanceConnectEndpointResult;
|
|
75
|
+
};
|
|
76
|
+
sdk: {
|
|
77
|
+
input: ModifyInstanceConnectEndpointCommandInput;
|
|
78
|
+
output: ModifyInstanceConnectEndpointCommandOutput;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -33,8 +33,7 @@ declare const MoveAddressToVpcCommand_base: {
|
|
|
33
33
|
* <p>Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. The
|
|
34
34
|
* Elastic IP address must be allocated to your account for more than 24 hours, and it must not
|
|
35
35
|
* be associated with an instance. After the Elastic IP address is moved, it is no longer
|
|
36
|
-
* available for use in the EC2-Classic platform
|
|
37
|
-
* <a>RestoreAddressToClassic</a> request. You cannot move an Elastic IP address that was
|
|
36
|
+
* available for use in the EC2-Classic platform. You cannot move an Elastic IP address that was
|
|
38
37
|
* originally allocated for use in the EC2-VPC platform to the EC2-Classic platform.</p>
|
|
39
38
|
* @example
|
|
40
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -29,16 +29,14 @@ declare const ProvisionByoipCidrCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Provisions an IPv4 or IPv6 address range for use with your Amazon Web Services resources through bring your own IP
|
|
31
31
|
* addresses (BYOIP) and creates a corresponding address pool. After the address range is
|
|
32
|
-
* provisioned, it is ready to be advertised
|
|
32
|
+
* provisioned, it is ready to be advertised.</p>
|
|
33
33
|
* <p>Amazon Web Services verifies that you own the address range and are authorized to advertise it.
|
|
34
34
|
* You must ensure that the address range is registered to you and that you created an
|
|
35
35
|
* RPKI ROA to authorize Amazon ASNs 16509 and 14618 to advertise the address range.
|
|
36
36
|
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">Bring your own IP addresses (BYOIP)</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
37
37
|
* <p>Provisioning an address range is an asynchronous operation, so the call returns immediately,
|
|
38
38
|
* but the address range is not ready to use until its status changes from <code>pending-provision</code>
|
|
39
|
-
*
|
|
40
|
-
* To allocate an Elastic IP address from your IPv4 address pool, use <a>AllocateAddress</a>
|
|
41
|
-
* with either the specific address from the address pool or the ID of the address pool.</p>
|
|
39
|
+
* to <code>provisioned</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/byoip-onboard.html">Onboard your address range</a>.</p>
|
|
42
40
|
* @example
|
|
43
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
44
42
|
* ```javascript
|
|
@@ -31,12 +31,6 @@ declare const RegisterImageCommand_base: {
|
|
|
31
31
|
* is the final step in the creation process. For more information about creating AMIs, see
|
|
32
32
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot">Create an AMI from a snapshot</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-instance-store.html">Create an instance-store
|
|
33
33
|
* backed AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
34
|
-
* <note>
|
|
35
|
-
* <p>For Amazon EBS-backed instances, <a>CreateImage</a> creates and registers the AMI
|
|
36
|
-
* in a single request, so you don't have to register the AMI yourself. We recommend that you
|
|
37
|
-
* always use <a>CreateImage</a> unless you have a specific reason to use
|
|
38
|
-
* RegisterImage.</p>
|
|
39
|
-
* </note>
|
|
40
34
|
* <p>If needed, you can deregister an AMI at any time. Any modifications you make to an AMI
|
|
41
35
|
* backed by an instance store volume invalidates its registration. If you make changes to an
|
|
42
36
|
* image, deregister the previous image and register the new image.</p>
|
|
@@ -62,12 +56,13 @@ declare const RegisterImageCommand_base: {
|
|
|
62
56
|
* verify if the correct billing information was applied, check the <code>PlatformDetails</code>
|
|
63
57
|
* field on the new AMI. If the field is empty or doesn't match the expected operating system
|
|
64
58
|
* code (for example, Windows, RedHat, SUSE, or SQL), the AMI creation was unsuccessful, and you
|
|
65
|
-
* should discard the AMI and instead create the AMI from an instance
|
|
59
|
+
* should discard the AMI and instead create the AMI from an instance.
|
|
60
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#how-to-create-ebs-ami">Create an AMI
|
|
66
61
|
* from an instance </a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
67
62
|
* <p>If you purchase a Reserved Instance to apply to an On-Demand Instance that was launched
|
|
68
63
|
* from an AMI with a billing product code, make sure that the Reserved Instance has the matching
|
|
69
64
|
* billing product code. If you purchase a Reserved Instance without the matching billing product
|
|
70
|
-
* code, the Reserved Instance
|
|
65
|
+
* code, the Reserved Instance is not applied to the On-Demand Instance. For information
|
|
71
66
|
* about how to obtain the platform details and billing information of an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understand AMI
|
|
72
67
|
* billing information</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
73
68
|
* @example
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { RegisterTransitGatewayMulticastGroupMembersRequest
|
|
4
|
+
import { RegisterTransitGatewayMulticastGroupMembersRequest } from "../models/models_7";
|
|
5
|
+
import { RegisterTransitGatewayMulticastGroupMembersResult } from "../models/models_8";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { RegisterTransitGatewayMulticastGroupSourcesRequest, RegisterTransitGatewayMulticastGroupSourcesResult } from "../models/
|
|
4
|
+
import { RegisterTransitGatewayMulticastGroupSourcesRequest, RegisterTransitGatewayMulticastGroupSourcesResult } from "../models/models_8";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -29,16 +29,16 @@ declare const ReleaseAddressCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Releases the specified Elastic IP address.</p>
|
|
31
31
|
* <p>[Default VPC] Releasing an Elastic IP address automatically disassociates it
|
|
32
|
-
* from any instance that it's associated with.
|
|
33
|
-
* releasing it
|
|
34
|
-
* <p>[Nondefault VPC] You must
|
|
32
|
+
* from any instance that it's associated with. Alternatively, you can disassociate an Elastic IP address without
|
|
33
|
+
* releasing it.</p>
|
|
34
|
+
* <p>[Nondefault VPC] You must disassociate the Elastic IP address
|
|
35
35
|
* before you can release it. Otherwise, Amazon EC2 returns an error (<code>InvalidIPAddress.InUse</code>).</p>
|
|
36
36
|
* <p>After releasing an Elastic IP address, it is released to the IP address pool.
|
|
37
37
|
* Be sure to update your DNS records and any servers or devices that communicate with the address.
|
|
38
38
|
* If you attempt to release an Elastic IP address that you already released, you'll get an
|
|
39
39
|
* <code>AuthFailure</code> error if the address is already allocated to another Amazon Web Services account.</p>
|
|
40
40
|
* <p>After you release an Elastic IP address, you might be able to recover it.
|
|
41
|
-
*
|
|
41
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing-eips-releasing.html">Release an Elastic IP address</a>.</p>
|
|
42
42
|
* @example
|
|
43
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
44
44
|
* ```javascript
|
|
@@ -35,10 +35,9 @@ declare const StartDeclarativePoliciesReportCommand_base: {
|
|
|
35
35
|
* accounts that fall under the specified organizational unit (OU) or root (the entire
|
|
36
36
|
* Amazon Web Services Organization).</p>
|
|
37
37
|
* <p>The report is saved to your specified S3 bucket, using the following path structure
|
|
38
|
-
* (with the
|
|
39
|
-
* values):</p>
|
|
38
|
+
* (with the capitalized placeholders representing your specific values):</p>
|
|
40
39
|
* <p>
|
|
41
|
-
* <code>s3
|
|
40
|
+
* <code>s3://AMZN-S3-DEMO-BUCKET/YOUR-OPTIONAL-S3-PREFIX/ec2_TARGETID_REPORTID_YYYYMMDDTHHMMZ.csv</code>
|
|
42
41
|
* </p>
|
|
43
42
|
* <p class="title">
|
|
44
43
|
* <b>Prerequisites for generating a report</b>
|
|
@@ -555,6 +555,7 @@ export * from "./ModifyIdentityIdFormatCommand";
|
|
|
555
555
|
export * from "./ModifyImageAttributeCommand";
|
|
556
556
|
export * from "./ModifyInstanceAttributeCommand";
|
|
557
557
|
export * from "./ModifyInstanceCapacityReservationAttributesCommand";
|
|
558
|
+
export * from "./ModifyInstanceConnectEndpointCommand";
|
|
558
559
|
export * from "./ModifyInstanceCpuOptionsCommand";
|
|
559
560
|
export * from "./ModifyInstanceCreditSpecificationCommand";
|
|
560
561
|
export * from "./ModifyInstanceEventStartTimeCommand";
|
|
@@ -4606,6 +4606,11 @@ export interface AssociateRouteTableRequest {
|
|
|
4606
4606
|
* @public
|
|
4607
4607
|
*/
|
|
4608
4608
|
GatewayId?: string | undefined;
|
|
4609
|
+
/**
|
|
4610
|
+
* <p>The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 addresses that you've brought to Amazon Web Services with BYOIP.</p>
|
|
4611
|
+
* @public
|
|
4612
|
+
*/
|
|
4613
|
+
PublicIpv4Pool?: string | undefined;
|
|
4609
4614
|
/**
|
|
4610
4615
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
4611
4616
|
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
@@ -7537,7 +7537,7 @@ export interface CreateImageRequest {
|
|
|
7537
7537
|
* <p>You can't modify the encryption status of existing volumes or snapshots. To create an
|
|
7538
7538
|
* AMI with volumes or snapshots that have a different encryption status (for example, where
|
|
7539
7539
|
* the source volume and snapshots are unencrypted, and you want to create an AMI with
|
|
7540
|
-
* encrypted volumes or snapshots),
|
|
7540
|
+
* encrypted volumes or snapshots), copy the image instead.</p>
|
|
7541
7541
|
* </li>
|
|
7542
7542
|
* <li>
|
|
7543
7543
|
* <p>The only option that can be changed for existing mappings or snapshots is
|
|
@@ -7654,6 +7654,39 @@ export interface CreateInstanceConnectEndpointRequest {
|
|
|
7654
7654
|
*/
|
|
7655
7655
|
IpAddressType?: IpAddressType | undefined;
|
|
7656
7656
|
}
|
|
7657
|
+
/**
|
|
7658
|
+
* <p>The DNS names of the endpoint.</p>
|
|
7659
|
+
* @public
|
|
7660
|
+
*/
|
|
7661
|
+
export interface InstanceConnectEndpointDnsNames {
|
|
7662
|
+
/**
|
|
7663
|
+
* <p>The DNS name of the EC2 Instance Connect Endpoint.</p>
|
|
7664
|
+
* @public
|
|
7665
|
+
*/
|
|
7666
|
+
DnsName?: string | undefined;
|
|
7667
|
+
/**
|
|
7668
|
+
* <p>The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2 Instance Connect Endpoint.</p>
|
|
7669
|
+
* @public
|
|
7670
|
+
*/
|
|
7671
|
+
FipsDnsName?: string | undefined;
|
|
7672
|
+
}
|
|
7673
|
+
/**
|
|
7674
|
+
* <p>The public DNS names of the endpoint, including IPv4-only and dualstack DNS
|
|
7675
|
+
* names.</p>
|
|
7676
|
+
* @public
|
|
7677
|
+
*/
|
|
7678
|
+
export interface InstanceConnectEndpointPublicDnsNames {
|
|
7679
|
+
/**
|
|
7680
|
+
* <p>The IPv4-only DNS name of the EC2 Instance Connect Endpoint.</p>
|
|
7681
|
+
* @public
|
|
7682
|
+
*/
|
|
7683
|
+
Ipv4?: InstanceConnectEndpointDnsNames | undefined;
|
|
7684
|
+
/**
|
|
7685
|
+
* <p>The dualstack DNS name of the EC2 Instance Connect Endpoint. A dualstack DNS name supports connections from both IPv4 and IPv6 clients.</p>
|
|
7686
|
+
* @public
|
|
7687
|
+
*/
|
|
7688
|
+
Dualstack?: InstanceConnectEndpointDnsNames | undefined;
|
|
7689
|
+
}
|
|
7657
7690
|
/**
|
|
7658
7691
|
* @public
|
|
7659
7692
|
* @enum
|
|
@@ -7665,6 +7698,9 @@ export declare const Ec2InstanceConnectEndpointState: {
|
|
|
7665
7698
|
readonly delete_complete: "delete-complete";
|
|
7666
7699
|
readonly delete_failed: "delete-failed";
|
|
7667
7700
|
readonly delete_in_progress: "delete-in-progress";
|
|
7701
|
+
readonly update_complete: "update-complete";
|
|
7702
|
+
readonly update_failed: "update-failed";
|
|
7703
|
+
readonly update_in_progress: "update-in-progress";
|
|
7668
7704
|
};
|
|
7669
7705
|
/**
|
|
7670
7706
|
* @public
|
|
@@ -7769,6 +7805,11 @@ export interface Ec2InstanceConnectEndpoint {
|
|
|
7769
7805
|
* @public
|
|
7770
7806
|
*/
|
|
7771
7807
|
IpAddressType?: IpAddressType | undefined;
|
|
7808
|
+
/**
|
|
7809
|
+
* <p>The public DNS names of the endpoint.</p>
|
|
7810
|
+
* @public
|
|
7811
|
+
*/
|
|
7812
|
+
PublicDnsNames?: InstanceConnectEndpointPublicDnsNames | undefined;
|
|
7772
7813
|
}
|
|
7773
7814
|
/**
|
|
7774
7815
|
* @public
|
|
@@ -11407,49 +11448,6 @@ export interface LaunchTemplateInstanceMetadataOptions {
|
|
|
11407
11448
|
*/
|
|
11408
11449
|
InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | undefined;
|
|
11409
11450
|
}
|
|
11410
|
-
/**
|
|
11411
|
-
* <p>Describes the monitoring for the instance.</p>
|
|
11412
|
-
* @public
|
|
11413
|
-
*/
|
|
11414
|
-
export interface LaunchTemplatesMonitoring {
|
|
11415
|
-
/**
|
|
11416
|
-
* <p>Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is
|
|
11417
|
-
* enabled.</p>
|
|
11418
|
-
* @public
|
|
11419
|
-
*/
|
|
11420
|
-
Enabled?: boolean | undefined;
|
|
11421
|
-
}
|
|
11422
|
-
/**
|
|
11423
|
-
* <p>A security group connection tracking specification that enables you to set the idle
|
|
11424
|
-
* timeout for connection tracking on an Elastic network interface. For more information,
|
|
11425
|
-
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the
|
|
11426
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
11427
|
-
* @public
|
|
11428
|
-
*/
|
|
11429
|
-
export interface ConnectionTrackingSpecification {
|
|
11430
|
-
/**
|
|
11431
|
-
* <p>Timeout (in seconds) for idle TCP
|
|
11432
|
-
* connections in an established state. Min: 60 seconds. Max: 432000 seconds (5
|
|
11433
|
-
* days). Default: 432000 seconds. Recommended: Less than 432000 seconds.</p>
|
|
11434
|
-
* @public
|
|
11435
|
-
*/
|
|
11436
|
-
TcpEstablishedTimeout?: number | undefined;
|
|
11437
|
-
/**
|
|
11438
|
-
* <p>Timeout (in seconds) for idle UDP flows that
|
|
11439
|
-
* have seen traffic only in a single direction or a single request-response
|
|
11440
|
-
* transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.</p>
|
|
11441
|
-
* @public
|
|
11442
|
-
*/
|
|
11443
|
-
UdpTimeout?: number | undefined;
|
|
11444
|
-
/**
|
|
11445
|
-
* <p>Timeout (in seconds) for idle UDP
|
|
11446
|
-
* flows classified as streams which have seen more than one request-response
|
|
11447
|
-
* transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180
|
|
11448
|
-
* seconds.</p>
|
|
11449
|
-
* @public
|
|
11450
|
-
*/
|
|
11451
|
-
UdpStreamTimeout?: number | undefined;
|
|
11452
|
-
}
|
|
11453
11451
|
/**
|
|
11454
11452
|
* @internal
|
|
11455
11453
|
*/
|