@aws-sdk/client-ec2 3.1170.0 → 3.1172.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 +7 -0
- package/dist-cjs/index.js +245 -32
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/ModifyTransitGatewayPeeringAttachmentCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +20 -0
- package/dist-es/schemas/schemas_0.js +202 -31
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AcceptTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
- package/dist-types/commands/AcceptVpcPeeringConnectionCommand.d.ts +10 -0
- package/dist-types/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +1 -2
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +7 -0
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +11 -0
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +44 -0
- package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
- package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +20 -0
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +22 -0
- package/dist-types/commands/DisableRouteServerPropagationCommand.d.ts +1 -1
- package/dist-types/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
- package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +1 -1
- package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -2
- package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +12 -0
- package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +2 -1
- package/dist-types/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetRouteServerPropagationsCommand.d.ts +1 -2
- package/dist-types/commands/ModifyTransitGatewayPeeringAttachmentCommand.d.ts +119 -0
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +14 -0
- package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +2 -1
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +23 -1
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +23 -1
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +23 -1
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +45 -1
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +76 -0
- package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +60 -0
- package/dist-types/models/models_0.d.ts +187 -161
- package/dist-types/models/models_1.d.ts +162 -156
- package/dist-types/models/models_2.d.ts +246 -125
- package/dist-types/models/models_3.d.ts +211 -264
- package/dist-types/models/models_4.d.ts +266 -367
- package/dist-types/models/models_5.d.ts +366 -129
- package/dist-types/models/models_6.d.ts +129 -178
- package/dist-types/models/models_7.d.ts +275 -446
- package/dist-types/models/models_8.d.ts +469 -5
- package/dist-types/schemas/schemas_0.d.ts +12 -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/CreateCapacityReservationDateChangeQuoteCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DisableRouteServerPropagationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetRouteServerPropagationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyTransitGatewayPeeringAttachmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +30 -0
- package/dist-types/ts3.4/models/models_0.d.ts +39 -32
- package/dist-types/ts3.4/models/models_1.d.ts +32 -33
- package/dist-types/ts3.4/models/models_2.d.ts +48 -29
- package/dist-types/ts3.4/models/models_3.d.ts +45 -54
- package/dist-types/ts3.4/models/models_4.d.ts +62 -72
- package/dist-types/ts3.4/models/models_5.d.ts +71 -33
- package/dist-types/ts3.4/models/models_6.d.ts +38 -44
- package/dist-types/ts3.4/models/models_7.d.ts +65 -85
- package/dist-types/ts3.4/models/models_8.d.ts +90 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
- package/package.json +1 -1
|
@@ -48,6 +48,11 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
|
|
|
48
48
|
* UltraserverType: "STRING_VALUE",
|
|
49
49
|
* UltraserverCount: Number("int"),
|
|
50
50
|
* AllAvailabilityZones: true || false,
|
|
51
|
+
* InstanceTypePreferences: [ // CapacityBlockInstanceTypePreferenceSet
|
|
52
|
+
* { // CapacityBlockInstanceTypePreference
|
|
53
|
+
* InstanceType: "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
51
56
|
* };
|
|
52
57
|
* const command = new DescribeCapacityBlockOfferingsCommand(input);
|
|
53
58
|
* const response = await client.send(command);
|
|
@@ -68,6 +73,21 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
|
|
|
68
73
|
* // UltraserverCount: Number("int"),
|
|
69
74
|
* // CapacityBlockDurationMinutes: Number("int"),
|
|
70
75
|
* // ZoneType: "STRING_VALUE",
|
|
76
|
+
* // CapacityBlockOfferingSegments: [ // CapacityBlockOfferingSegmentSet
|
|
77
|
+
* // { // CapacityBlockOfferingSegment
|
|
78
|
+
* // InstanceType: "STRING_VALUE",
|
|
79
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
80
|
+
* // AvailabilityZoneId: "STRING_VALUE",
|
|
81
|
+
* // InstanceCount: Number("int"),
|
|
82
|
+
* // StartDate: new Date("TIMESTAMP"),
|
|
83
|
+
* // EndDate: new Date("TIMESTAMP"),
|
|
84
|
+
* // CapacityBlockDurationHours: Number("int"),
|
|
85
|
+
* // CapacityBlockDurationMinutes: Number("int"),
|
|
86
|
+
* // UpfrontFee: "STRING_VALUE",
|
|
87
|
+
* // CurrencyCode: "STRING_VALUE",
|
|
88
|
+
* // ZoneType: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
71
91
|
* // },
|
|
72
92
|
* // ],
|
|
73
93
|
* // NextToken: "STRING_VALUE",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeConversionTasksRequest
|
|
2
|
+
import type { DescribeConversionTasksRequest } from "../models/models_3";
|
|
3
|
+
import type { DescribeConversionTasksResult } from "../models/models_4";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeCustomerGatewaysRequest, DescribeCustomerGatewaysResult } from "../models/
|
|
2
|
+
import type { DescribeCustomerGatewaysRequest, DescribeCustomerGatewaysResult } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeDeclarativePoliciesReportsRequest } from "../models/
|
|
3
|
-
import type { DescribeDeclarativePoliciesReportsResult } from "../models/models_4";
|
|
2
|
+
import type { DescribeDeclarativePoliciesReportsRequest, DescribeDeclarativePoliciesReportsResult } from "../models/models_4";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeNetworkInsightsAnalysesRequest, DescribeNetworkInsightsAnalysesResult } from "../models/
|
|
2
|
+
import type { DescribeNetworkInsightsAnalysesRequest, DescribeNetworkInsightsAnalysesResult } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeNetworkInsightsPathsRequest, DescribeNetworkInsightsPathsResult } from "../models/
|
|
2
|
+
import type { DescribeNetworkInsightsPathsRequest, DescribeNetworkInsightsPathsResult } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeNetworkInterfaceAttributeRequest, DescribeNetworkInterfaceAttributeResult } from "../models/
|
|
2
|
+
import type { DescribeNetworkInterfaceAttributeRequest, DescribeNetworkInterfaceAttributeResult } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeNetworkInterfacePermissionsRequest } from "../models/
|
|
3
|
-
import type { DescribeNetworkInterfacePermissionsResult } from "../models/models_5";
|
|
2
|
+
import type { DescribeNetworkInterfacePermissionsRequest, DescribeNetworkInterfacePermissionsResult } from "../models/models_5";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -70,6 +70,11 @@ declare const DescribeTransitGatewayPeeringAttachmentsCommand_base: {
|
|
|
70
70
|
* // },
|
|
71
71
|
* // Options: { // TransitGatewayPeeringAttachmentOptions
|
|
72
72
|
* // DynamicRouting: "enable" || "disable",
|
|
73
|
+
* // RequesterAllowMultipathResilience: true || false,
|
|
74
|
+
* // RequesterMultipathResilienceMode: "always-on",
|
|
75
|
+
* // AccepterAllowMultipathResilience: true || false,
|
|
76
|
+
* // AccepterMultipathResilienceMode: "always-on",
|
|
77
|
+
* // MultipathResilienceStatus: "pending" || "enabled" || "disabled",
|
|
73
78
|
* // },
|
|
74
79
|
* // Status: { // PeeringAttachmentStatus
|
|
75
80
|
* // Code: "STRING_VALUE",
|
|
@@ -73,6 +73,8 @@ declare const DescribeVpcPeeringConnectionsCommand_base: {
|
|
|
73
73
|
* // AllowDnsResolutionFromRemoteVpc: true || false,
|
|
74
74
|
* // AllowEgressFromLocalClassicLinkToRemoteVpc: true || false,
|
|
75
75
|
* // AllowEgressFromLocalVpcToRemoteClassicLink: true || false,
|
|
76
|
+
* // AllowMultipathResilience: true || false,
|
|
77
|
+
* // MultipathResilienceMode: "always-on",
|
|
76
78
|
* // },
|
|
77
79
|
* // VpcId: "STRING_VALUE",
|
|
78
80
|
* // Region: "STRING_VALUE",
|
|
@@ -95,6 +97,8 @@ declare const DescribeVpcPeeringConnectionsCommand_base: {
|
|
|
95
97
|
* // AllowDnsResolutionFromRemoteVpc: true || false,
|
|
96
98
|
* // AllowEgressFromLocalClassicLinkToRemoteVpc: true || false,
|
|
97
99
|
* // AllowEgressFromLocalVpcToRemoteClassicLink: true || false,
|
|
100
|
+
* // AllowMultipathResilience: true || false,
|
|
101
|
+
* // MultipathResilienceMode: "always-on",
|
|
98
102
|
* // },
|
|
99
103
|
* // VpcId: "STRING_VALUE",
|
|
100
104
|
* // Region: "STRING_VALUE",
|
|
@@ -110,6 +114,7 @@ declare const DescribeVpcPeeringConnectionsCommand_base: {
|
|
|
110
114
|
* // },
|
|
111
115
|
* // ],
|
|
112
116
|
* // VpcPeeringConnectionId: "STRING_VALUE",
|
|
117
|
+
* // MultipathResilienceStatus: "pending" || "enabled" || "disabled",
|
|
113
118
|
* // },
|
|
114
119
|
* // ],
|
|
115
120
|
* // NextToken: "STRING_VALUE",
|
|
@@ -130,6 +130,28 @@ declare const DescribeVpnConnectionsCommand_base: {
|
|
|
130
130
|
* // },
|
|
131
131
|
* // },
|
|
132
132
|
* // EnableTunnelLifecycleControl: true || false,
|
|
133
|
+
* // Phase1AdditionalKeyExchanges: [ // AdditionalKeyExchangesList
|
|
134
|
+
* // { // VpnAdditionalKeyExchange
|
|
135
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
136
|
+
* // KeyExchangeMethods: [ // AdditionalKeyExchangeMethodsList
|
|
137
|
+
* // { // AdditionalKeyExchangeMethodsListValue
|
|
138
|
+
* // Value: Number("int"),
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // Requirement: "required" || "optional",
|
|
142
|
+
* // },
|
|
143
|
+
* // ],
|
|
144
|
+
* // Phase2AdditionalKeyExchanges: [
|
|
145
|
+
* // {
|
|
146
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
147
|
+
* // KeyExchangeMethods: [
|
|
148
|
+
* // {
|
|
149
|
+
* // Value: Number("int"),
|
|
150
|
+
* // },
|
|
151
|
+
* // ],
|
|
152
|
+
* // Requirement: "required" || "optional",
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
133
155
|
* // },
|
|
134
156
|
* // ],
|
|
135
157
|
* // TunnelBandwidth: "standard" || "large",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DisableRouteServerPropagationRequest, DisableRouteServerPropagationResult } from "../models/
|
|
2
|
+
import type { DisableRouteServerPropagationRequest, DisableRouteServerPropagationResult } from "../models/models_6";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DisableSerialConsoleAccessRequest, DisableSerialConsoleAccessResult } from "../models/
|
|
2
|
+
import type { DisableSerialConsoleAccessRequest, DisableSerialConsoleAccessResult } from "../models/models_6";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DisableSnapshotBlockPublicAccessRequest, DisableSnapshotBlockPublicAccessResult } from "../models/
|
|
2
|
+
import type { DisableSnapshotBlockPublicAccessRequest, DisableSnapshotBlockPublicAccessResult } from "../models/models_6";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DisableTransitGatewayRouteTablePropagationRequest } from "../models/
|
|
3
|
-
import type { DisableTransitGatewayRouteTablePropagationResult } from "../models/models_6";
|
|
2
|
+
import type { DisableTransitGatewayRouteTablePropagationRequest, DisableTransitGatewayRouteTablePropagationResult } from "../models/models_6";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -51,6 +51,18 @@ declare const GetActiveVpnTunnelStatusCommand_base: {
|
|
|
51
51
|
* // IkeVersion: "STRING_VALUE",
|
|
52
52
|
* // ProvisioningStatus: "available" || "pending" || "failed",
|
|
53
53
|
* // ProvisioningStatusReason: "STRING_VALUE",
|
|
54
|
+
* // Phase1AdditionalKeyExchanges: [ // ActiveAdditionalKeyExchangesList
|
|
55
|
+
* // { // ActiveVpnTunnelAdditionalKeyExchange
|
|
56
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
57
|
+
* // KeyExchangeMethod: Number("int"),
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // Phase2AdditionalKeyExchanges: [
|
|
61
|
+
* // {
|
|
62
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
63
|
+
* // KeyExchangeMethod: Number("int"),
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
54
66
|
* // },
|
|
55
67
|
* // };
|
|
56
68
|
*
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetReservedInstancesExchangeQuoteRequest
|
|
2
|
+
import type { GetReservedInstancesExchangeQuoteRequest } from "../models/models_6";
|
|
3
|
+
import type { GetReservedInstancesExchangeQuoteResult } from "../models/models_7";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetRouteServerAssociationsRequest, GetRouteServerAssociationsResult } from "../models/
|
|
2
|
+
import type { GetRouteServerAssociationsRequest, GetRouteServerAssociationsResult } from "../models/models_7";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetRouteServerPropagationsRequest } from "../models/
|
|
3
|
-
import type { GetRouteServerPropagationsResult } from "../models/models_7";
|
|
2
|
+
import type { GetRouteServerPropagationsRequest, GetRouteServerPropagationsResult } from "../models/models_7";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ModifyTransitGatewayPeeringAttachmentRequest, ModifyTransitGatewayPeeringAttachmentResult } from "../models/models_7";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ModifyTransitGatewayPeeringAttachmentCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ModifyTransitGatewayPeeringAttachmentCommandInput extends ModifyTransitGatewayPeeringAttachmentRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ModifyTransitGatewayPeeringAttachmentCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ModifyTransitGatewayPeeringAttachmentCommandOutput extends ModifyTransitGatewayPeeringAttachmentResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ModifyTransitGatewayPeeringAttachmentCommand_base: {
|
|
22
|
+
new (input: ModifyTransitGatewayPeeringAttachmentCommandInput): import("@smithy/core/client").CommandImpl<ModifyTransitGatewayPeeringAttachmentCommandInput, ModifyTransitGatewayPeeringAttachmentCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ModifyTransitGatewayPeeringAttachmentCommandInput): import("@smithy/core/client").CommandImpl<ModifyTransitGatewayPeeringAttachmentCommandInput, ModifyTransitGatewayPeeringAttachmentCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Modifies the options for a transit gateway peering attachment. The peering attachment must be in the <code>available</code> state.</p>
|
|
28
|
+
* <p>You can allow multipath resilience for your side of an inter-Region transit gateway peering attachment between
|
|
29
|
+
* supported Regions.
|
|
30
|
+
* Multipath resilience isn't supported for transit gateway peering attachments in the same Region. It takes
|
|
31
|
+
* effect only when both the requester and the accepter allow it. To modify the requester side, send the
|
|
32
|
+
* request in the Region of the requester transit gateway. To modify the accepter side, send the request in the
|
|
33
|
+
* Region of the accepter transit gateway. To check whether multipath resilience is in effect, use
|
|
34
|
+
* <a>DescribeTransitGatewayPeeringAttachments</a> and check
|
|
35
|
+
* <code>multipathResilienceStatus</code>.</p>
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { EC2Client, ModifyTransitGatewayPeeringAttachmentCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
40
|
+
* // const { EC2Client, ModifyTransitGatewayPeeringAttachmentCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
41
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
42
|
+
* const config = {}; // type is EC2ClientConfig
|
|
43
|
+
* const client = new EC2Client(config);
|
|
44
|
+
* const input = { // ModifyTransitGatewayPeeringAttachmentRequest
|
|
45
|
+
* TransitGatewayAttachmentId: "STRING_VALUE", // required
|
|
46
|
+
* Options: { // ModifyTransitGatewayPeeringAttachmentRequestOptions
|
|
47
|
+
* AllowMultipathResilience: true || false,
|
|
48
|
+
* MultipathResilienceMode: "always-on",
|
|
49
|
+
* },
|
|
50
|
+
* DryRun: true || false,
|
|
51
|
+
* };
|
|
52
|
+
* const command = new ModifyTransitGatewayPeeringAttachmentCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // ModifyTransitGatewayPeeringAttachmentResult
|
|
55
|
+
* // TransitGatewayPeeringAttachment: { // TransitGatewayPeeringAttachment
|
|
56
|
+
* // TransitGatewayAttachmentId: "STRING_VALUE",
|
|
57
|
+
* // AccepterTransitGatewayAttachmentId: "STRING_VALUE",
|
|
58
|
+
* // RequesterTgwInfo: { // PeeringTgwInfo
|
|
59
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
60
|
+
* // CoreNetworkId: "STRING_VALUE",
|
|
61
|
+
* // OwnerId: "STRING_VALUE",
|
|
62
|
+
* // Region: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // AccepterTgwInfo: {
|
|
65
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
66
|
+
* // CoreNetworkId: "STRING_VALUE",
|
|
67
|
+
* // OwnerId: "STRING_VALUE",
|
|
68
|
+
* // Region: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // Options: { // TransitGatewayPeeringAttachmentOptions
|
|
71
|
+
* // DynamicRouting: "enable" || "disable",
|
|
72
|
+
* // RequesterAllowMultipathResilience: true || false,
|
|
73
|
+
* // RequesterMultipathResilienceMode: "always-on",
|
|
74
|
+
* // AccepterAllowMultipathResilience: true || false,
|
|
75
|
+
* // AccepterMultipathResilienceMode: "always-on",
|
|
76
|
+
* // MultipathResilienceStatus: "pending" || "enabled" || "disabled",
|
|
77
|
+
* // },
|
|
78
|
+
* // Status: { // PeeringAttachmentStatus
|
|
79
|
+
* // Code: "STRING_VALUE",
|
|
80
|
+
* // Message: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // State: "initiating" || "initiatingRequest" || "pendingAcceptance" || "rollingBack" || "pending" || "available" || "modifying" || "deleting" || "deleted" || "failed" || "rejected" || "rejecting" || "failing",
|
|
83
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
84
|
+
* // Tags: [ // TagList
|
|
85
|
+
* // { // Tag
|
|
86
|
+
* // Key: "STRING_VALUE",
|
|
87
|
+
* // Value: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // },
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param ModifyTransitGatewayPeeringAttachmentCommandInput - {@link ModifyTransitGatewayPeeringAttachmentCommandInput}
|
|
96
|
+
* @returns {@link ModifyTransitGatewayPeeringAttachmentCommandOutput}
|
|
97
|
+
* @see {@link ModifyTransitGatewayPeeringAttachmentCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link ModifyTransitGatewayPeeringAttachmentCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link EC2ServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
103
|
+
*
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class ModifyTransitGatewayPeeringAttachmentCommand extends ModifyTransitGatewayPeeringAttachmentCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: ModifyTransitGatewayPeeringAttachmentRequest;
|
|
112
|
+
output: ModifyTransitGatewayPeeringAttachmentResult;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: ModifyTransitGatewayPeeringAttachmentCommandInput;
|
|
116
|
+
output: ModifyTransitGatewayPeeringAttachmentCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
@@ -35,6 +35,12 @@ declare const ModifyVpcPeeringConnectionOptionsCommand_base: {
|
|
|
35
35
|
* modify the requester VPC peering options and the Region for the accepter VPC to modify
|
|
36
36
|
* the accepter VPC peering options. To verify which VPCs are the accepter and the
|
|
37
37
|
* requester for a VPC peering connection, use the <a>DescribeVpcPeeringConnections</a> command.</p>
|
|
38
|
+
* <p>Multipath resilience replicates the traffic of an inter-Region VPC peering connection across
|
|
39
|
+
* multiple network paths. You can allow multipath resilience for your side of the connection if both of its
|
|
40
|
+
* Regions are supported. It takes effect only when both the requester and the
|
|
41
|
+
* accepter allow it. Additional charges apply when multipath resilience is in effect. For more
|
|
42
|
+
* information, see <a href="http://aws.amazon.com/vpc/pricing/">Amazon VPC pricing</a>. To check whether multipath resilience is in effect, use
|
|
43
|
+
* <a>DescribeVpcPeeringConnections</a> and check <code>multipathResilienceStatus</code>.</p>
|
|
38
44
|
* @example
|
|
39
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
46
|
* ```javascript
|
|
@@ -48,12 +54,16 @@ declare const ModifyVpcPeeringConnectionOptionsCommand_base: {
|
|
|
48
54
|
* AllowDnsResolutionFromRemoteVpc: true || false,
|
|
49
55
|
* AllowEgressFromLocalClassicLinkToRemoteVpc: true || false,
|
|
50
56
|
* AllowEgressFromLocalVpcToRemoteClassicLink: true || false,
|
|
57
|
+
* AllowMultipathResilience: true || false,
|
|
58
|
+
* MultipathResilienceMode: "always-on",
|
|
51
59
|
* },
|
|
52
60
|
* DryRun: true || false,
|
|
53
61
|
* RequesterPeeringConnectionOptions: {
|
|
54
62
|
* AllowDnsResolutionFromRemoteVpc: true || false,
|
|
55
63
|
* AllowEgressFromLocalClassicLinkToRemoteVpc: true || false,
|
|
56
64
|
* AllowEgressFromLocalVpcToRemoteClassicLink: true || false,
|
|
65
|
+
* AllowMultipathResilience: true || false,
|
|
66
|
+
* MultipathResilienceMode: "always-on",
|
|
57
67
|
* },
|
|
58
68
|
* VpcPeeringConnectionId: "STRING_VALUE", // required
|
|
59
69
|
* };
|
|
@@ -64,11 +74,15 @@ declare const ModifyVpcPeeringConnectionOptionsCommand_base: {
|
|
|
64
74
|
* // AllowDnsResolutionFromRemoteVpc: true || false,
|
|
65
75
|
* // AllowEgressFromLocalClassicLinkToRemoteVpc: true || false,
|
|
66
76
|
* // AllowEgressFromLocalVpcToRemoteClassicLink: true || false,
|
|
77
|
+
* // AllowMultipathResilience: true || false,
|
|
78
|
+
* // MultipathResilienceMode: "always-on",
|
|
67
79
|
* // },
|
|
68
80
|
* // RequesterPeeringConnectionOptions: {
|
|
69
81
|
* // AllowDnsResolutionFromRemoteVpc: true || false,
|
|
70
82
|
* // AllowEgressFromLocalClassicLinkToRemoteVpc: true || false,
|
|
71
83
|
* // AllowEgressFromLocalVpcToRemoteClassicLink: true || false,
|
|
84
|
+
* // AllowMultipathResilience: true || false,
|
|
85
|
+
* // MultipathResilienceMode: "always-on",
|
|
72
86
|
* // },
|
|
73
87
|
* // };
|
|
74
88
|
*
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ModifyVpcTenancyRequest
|
|
2
|
+
import type { ModifyVpcTenancyRequest } from "../models/models_7";
|
|
3
|
+
import type { ModifyVpcTenancyResult } from "../models/models_8";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ModifyVpnConnectionRequest, ModifyVpnConnectionResult } from "../models/
|
|
2
|
+
import type { ModifyVpnConnectionRequest, ModifyVpnConnectionResult } from "../models/models_8";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -155,6 +155,28 @@ declare const ModifyVpnConnectionCommand_base: {
|
|
|
155
155
|
* // },
|
|
156
156
|
* // },
|
|
157
157
|
* // EnableTunnelLifecycleControl: true || false,
|
|
158
|
+
* // Phase1AdditionalKeyExchanges: [ // AdditionalKeyExchangesList
|
|
159
|
+
* // { // VpnAdditionalKeyExchange
|
|
160
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
161
|
+
* // KeyExchangeMethods: [ // AdditionalKeyExchangeMethodsList
|
|
162
|
+
* // { // AdditionalKeyExchangeMethodsListValue
|
|
163
|
+
* // Value: Number("int"),
|
|
164
|
+
* // },
|
|
165
|
+
* // ],
|
|
166
|
+
* // Requirement: "required" || "optional",
|
|
167
|
+
* // },
|
|
168
|
+
* // ],
|
|
169
|
+
* // Phase2AdditionalKeyExchanges: [
|
|
170
|
+
* // {
|
|
171
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
172
|
+
* // KeyExchangeMethods: [
|
|
173
|
+
* // {
|
|
174
|
+
* // Value: Number("int"),
|
|
175
|
+
* // },
|
|
176
|
+
* // ],
|
|
177
|
+
* // Requirement: "required" || "optional",
|
|
178
|
+
* // },
|
|
179
|
+
* // ],
|
|
158
180
|
* // },
|
|
159
181
|
* // ],
|
|
160
182
|
* // TunnelBandwidth: "standard" || "large",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ModifyVpnConnectionOptionsRequest, ModifyVpnConnectionOptionsResult } from "../models/
|
|
2
|
+
import type { ModifyVpnConnectionOptionsRequest, ModifyVpnConnectionOptionsResult } from "../models/models_8";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -126,6 +126,28 @@ declare const ModifyVpnConnectionOptionsCommand_base: {
|
|
|
126
126
|
* // },
|
|
127
127
|
* // },
|
|
128
128
|
* // EnableTunnelLifecycleControl: true || false,
|
|
129
|
+
* // Phase1AdditionalKeyExchanges: [ // AdditionalKeyExchangesList
|
|
130
|
+
* // { // VpnAdditionalKeyExchange
|
|
131
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
132
|
+
* // KeyExchangeMethods: [ // AdditionalKeyExchangeMethodsList
|
|
133
|
+
* // { // AdditionalKeyExchangeMethodsListValue
|
|
134
|
+
* // Value: Number("int"),
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // Requirement: "required" || "optional",
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
140
|
+
* // Phase2AdditionalKeyExchanges: [
|
|
141
|
+
* // {
|
|
142
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
143
|
+
* // KeyExchangeMethods: [
|
|
144
|
+
* // {
|
|
145
|
+
* // Value: Number("int"),
|
|
146
|
+
* // },
|
|
147
|
+
* // ],
|
|
148
|
+
* // Requirement: "required" || "optional",
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
129
151
|
* // },
|
|
130
152
|
* // ],
|
|
131
153
|
* // TunnelBandwidth: "standard" || "large",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ModifyVpnTunnelCertificateRequest, ModifyVpnTunnelCertificateResult } from "../models/
|
|
2
|
+
import type { ModifyVpnTunnelCertificateRequest, ModifyVpnTunnelCertificateResult } from "../models/models_8";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -118,6 +118,28 @@ declare const ModifyVpnTunnelCertificateCommand_base: {
|
|
|
118
118
|
* // },
|
|
119
119
|
* // },
|
|
120
120
|
* // EnableTunnelLifecycleControl: true || false,
|
|
121
|
+
* // Phase1AdditionalKeyExchanges: [ // AdditionalKeyExchangesList
|
|
122
|
+
* // { // VpnAdditionalKeyExchange
|
|
123
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
124
|
+
* // KeyExchangeMethods: [ // AdditionalKeyExchangeMethodsList
|
|
125
|
+
* // { // AdditionalKeyExchangeMethodsListValue
|
|
126
|
+
* // Value: Number("int"),
|
|
127
|
+
* // },
|
|
128
|
+
* // ],
|
|
129
|
+
* // Requirement: "required" || "optional",
|
|
130
|
+
* // },
|
|
131
|
+
* // ],
|
|
132
|
+
* // Phase2AdditionalKeyExchanges: [
|
|
133
|
+
* // {
|
|
134
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
135
|
+
* // KeyExchangeMethods: [
|
|
136
|
+
* // {
|
|
137
|
+
* // Value: Number("int"),
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
140
|
+
* // Requirement: "required" || "optional",
|
|
141
|
+
* // },
|
|
142
|
+
* // ],
|
|
121
143
|
* // },
|
|
122
144
|
* // ],
|
|
123
145
|
* // TunnelBandwidth: "standard" || "large",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ModifyVpnTunnelOptionsRequest, ModifyVpnTunnelOptionsResult } from "../models/
|
|
2
|
+
import type { ModifyVpnTunnelOptionsRequest, ModifyVpnTunnelOptionsResult } from "../models/models_8";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -97,6 +97,28 @@ declare const ModifyVpnTunnelOptionsCommand_base: {
|
|
|
97
97
|
* },
|
|
98
98
|
* },
|
|
99
99
|
* EnableTunnelLifecycleControl: true || false,
|
|
100
|
+
* Phase1AdditionalKeyExchanges: [ // AdditionalKeyExchangesRequestSpecification
|
|
101
|
+
* { // VpnAdditionalKeyExchangeRequest
|
|
102
|
+
* AdditionalKeyExchangeRound: Number("int"), // required
|
|
103
|
+
* KeyExchangeMethods: [ // AdditionalKeyExchangeMethodsRequestList
|
|
104
|
+
* { // AdditionalKeyExchangeMethodsRequestListValue
|
|
105
|
+
* Value: Number("int"),
|
|
106
|
+
* },
|
|
107
|
+
* ],
|
|
108
|
+
* Requirement: "required" || "optional",
|
|
109
|
+
* },
|
|
110
|
+
* ],
|
|
111
|
+
* Phase2AdditionalKeyExchanges: [
|
|
112
|
+
* {
|
|
113
|
+
* AdditionalKeyExchangeRound: Number("int"), // required
|
|
114
|
+
* KeyExchangeMethods: [
|
|
115
|
+
* {
|
|
116
|
+
* Value: Number("int"),
|
|
117
|
+
* },
|
|
118
|
+
* ],
|
|
119
|
+
* Requirement: "required" || "optional",
|
|
120
|
+
* },
|
|
121
|
+
* ],
|
|
100
122
|
* },
|
|
101
123
|
* DryRun: true || false,
|
|
102
124
|
* SkipTunnelReplacement: true || false,
|
|
@@ -182,6 +204,28 @@ declare const ModifyVpnTunnelOptionsCommand_base: {
|
|
|
182
204
|
* // },
|
|
183
205
|
* // },
|
|
184
206
|
* // EnableTunnelLifecycleControl: true || false,
|
|
207
|
+
* // Phase1AdditionalKeyExchanges: [ // AdditionalKeyExchangesList
|
|
208
|
+
* // { // VpnAdditionalKeyExchange
|
|
209
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
210
|
+
* // KeyExchangeMethods: [ // AdditionalKeyExchangeMethodsList
|
|
211
|
+
* // { // AdditionalKeyExchangeMethodsListValue
|
|
212
|
+
* // Value: Number("int"),
|
|
213
|
+
* // },
|
|
214
|
+
* // ],
|
|
215
|
+
* // Requirement: "required" || "optional",
|
|
216
|
+
* // },
|
|
217
|
+
* // ],
|
|
218
|
+
* // Phase2AdditionalKeyExchanges: [
|
|
219
|
+
* // {
|
|
220
|
+
* // AdditionalKeyExchangeRound: Number("int"),
|
|
221
|
+
* // KeyExchangeMethods: [
|
|
222
|
+
* // {
|
|
223
|
+
* // Value: Number("int"),
|
|
224
|
+
* // },
|
|
225
|
+
* // ],
|
|
226
|
+
* // Requirement: "required" || "optional",
|
|
227
|
+
* // },
|
|
228
|
+
* // ],
|
|
185
229
|
* // },
|
|
186
230
|
* // ],
|
|
187
231
|
* // TunnelBandwidth: "standard" || "large",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { MonitorInstancesRequest } from "../models/
|
|
3
|
-
import type { MonitorInstancesResult } from "../models/models_8";
|
|
2
|
+
import type { MonitorInstancesRequest, MonitorInstancesResult } from "../models/models_8";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|