@aws-sdk/client-ec2 3.454.0 → 3.456.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/dist-cjs/models/models_0.js +6 -2
- package/dist-cjs/protocols/Aws_ec2.js +21 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +21 -0
- package/dist-types/commands/AcceptTransitGatewayVpcAttachmentCommand.d.ts +1 -0
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +6 -0
- package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -2
- package/dist-types/commands/CreateTransitGatewayCommand.d.ts +2 -0
- package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +2 -0
- package/dist-types/commands/DeleteNatGatewayCommand.d.ts +1 -2
- package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -0
- package/dist-types/commands/DeleteTransitGatewayVpcAttachmentCommand.d.ts +1 -0
- package/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -3
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -0
- package/dist-types/commands/GetIpamPoolCidrsCommand.d.ts +2 -1
- package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +2 -0
- package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +2 -0
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -1
- package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +18 -30
- package/dist-types/models/models_1.d.ts +61 -45
- package/dist-types/models/models_2.d.ts +54 -32
- package/dist-types/models/models_3.d.ts +17 -33
- package/dist-types/models/models_4.d.ts +43 -20
- package/dist-types/models/models_5.d.ts +17 -17
- package/dist-types/models/models_6.d.ts +42 -18
- package/dist-types/models/models_7.d.ts +18 -13
- package/dist-types/ts3.4/commands/CreateCarrierGatewayCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteNatGatewayCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetIpamPoolCidrsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +7 -6
- package/dist-types/ts3.4/models/models_1.d.ts +6 -4
- package/dist-types/ts3.4/models/models_2.d.ts +8 -5
- package/dist-types/ts3.4/models/models_3.d.ts +4 -7
- package/dist-types/ts3.4/models/models_4.d.ts +8 -5
- package/dist-types/ts3.4/models/models_5.d.ts +5 -5
- package/dist-types/ts3.4/models/models_6.d.ts +7 -3
- package/dist-types/ts3.4/models/models_7.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.CopySnapshotRequestFilterSensitiveLog = exports.CancelBundleTaskResultFilterSensitiveLog = exports.BundleInstanceResultFilterSensitiveLog = exports.BundleTaskFilterSensitiveLog = exports.BundleInstanceRequestFilterSensitiveLog = exports.StorageFilterSensitiveLog = exports.S3StorageFilterSensitiveLog = exports.AttachVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.VerifiedAccessTrustProviderFilterSensitiveLog = exports.OidcOptionsFilterSensitiveLog = exports.FleetCapacityReservationTenancy = exports._InstanceType = exports.FleetInstanceMatchCriteria = exports.CapacityReservationState = exports.CapacityReservationType = exports.CapacityReservationTenancy = exports.CapacityReservationInstancePlatform = exports.InstanceMatchCriteria = exports.EndDateType = exports.CancelSpotInstanceRequestState = exports.CancelBatchErrorCode = exports.BatchState = exports.ListingStatus = exports.CurrencyCodeValues = exports.ListingState = exports.CapacityReservationFleetState = exports.BundleTaskState = void 0;
|
|
3
|
+
exports.AttachmentStatus = exports.VolumeAttachmentState = exports.UserTrustProviderType = exports.TrustProviderType = exports.DeviceTrustProviderType = exports.VpcCidrBlockStateCode = exports.InterfaceProtocolType = exports.TransitGatewayAssociationState = exports.SubnetCidrBlockStateCode = exports.RouteTableAssociationStateCode = exports.IpamResourceDiscoveryAssociationState = exports.IpamAssociatedResourceDiscoveryStatus = exports.WeekDay = exports.InstanceEventWindowState = exports.IamInstanceProfileAssociationState = exports.AssociationStatusCode = exports.NatGatewayAddressStatus = exports.AllowsMultipleInstanceTypes = exports.AllocationType = exports.AllocationStrategy = exports.AllocationState = exports.IpamPoolAllocationResourceType = exports.HostRecovery = exports.HostMaintenance = exports.AutoPlacement = exports.Affinity = exports.ByoipCidrState = exports.AsnAssociationState = exports.AddressFamily = exports.AddressAttributeName = exports.DomainType = exports.PrincipalType = exports.ActivityStatus = exports.InstanceHealthStatus = exports.AccountAttributeName = exports.Protocol = exports.VpcPeeringConnectionStateReasonCode = exports.SecurityGroupReferencingSupportValue = exports.Ipv6SupportValue = exports.DnsSupportValue = exports.ApplianceModeSupportValue = exports.TransitGatewayAttachmentState = exports.DynamicRoutingValue = exports.TransitGatewayMulitcastDomainAssociationState = exports.TransitGatewayAttachmentResourceType = exports.AddressTransferStatus = exports.ResourceType = exports.AcceleratorType = exports.AcceleratorName = exports.AcceleratorManufacturer = void 0;
|
|
4
|
+
exports.CopySnapshotRequestFilterSensitiveLog = exports.CancelBundleTaskResultFilterSensitiveLog = exports.BundleInstanceResultFilterSensitiveLog = exports.BundleTaskFilterSensitiveLog = exports.BundleInstanceRequestFilterSensitiveLog = exports.StorageFilterSensitiveLog = exports.S3StorageFilterSensitiveLog = exports.AttachVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.VerifiedAccessTrustProviderFilterSensitiveLog = exports.OidcOptionsFilterSensitiveLog = exports.FleetCapacityReservationTenancy = exports._InstanceType = exports.FleetInstanceMatchCriteria = exports.CapacityReservationState = exports.CapacityReservationType = exports.CapacityReservationTenancy = exports.CapacityReservationInstancePlatform = exports.InstanceMatchCriteria = exports.EndDateType = exports.CancelSpotInstanceRequestState = exports.CancelBatchErrorCode = exports.BatchState = exports.ListingStatus = exports.CurrencyCodeValues = exports.ListingState = exports.CapacityReservationFleetState = exports.BundleTaskState = exports.ClientVpnAuthorizationRuleStatusCode = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
exports.AcceleratorManufacturer = {
|
|
7
7
|
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
@@ -166,6 +166,10 @@ exports.Ipv6SupportValue = {
|
|
|
166
166
|
disable: "disable",
|
|
167
167
|
enable: "enable",
|
|
168
168
|
};
|
|
169
|
+
exports.SecurityGroupReferencingSupportValue = {
|
|
170
|
+
disable: "disable",
|
|
171
|
+
enable: "enable",
|
|
172
|
+
};
|
|
169
173
|
exports.VpcPeeringConnectionStateReasonCode = {
|
|
170
174
|
active: "active",
|
|
171
175
|
deleted: "deleted",
|
|
@@ -27565,6 +27565,9 @@ const se_CreateTransitGatewayVpcAttachmentRequestOptions = (input, context) => {
|
|
|
27565
27565
|
if (input.DnsSupport != null) {
|
|
27566
27566
|
entries["DnsSupport"] = input.DnsSupport;
|
|
27567
27567
|
}
|
|
27568
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
27569
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
27570
|
+
}
|
|
27568
27571
|
if (input.Ipv6Support != null) {
|
|
27569
27572
|
entries["Ipv6Support"] = input.Ipv6Support;
|
|
27570
27573
|
}
|
|
@@ -40124,6 +40127,9 @@ const se_ModifyTransitGatewayOptions = (input, context) => {
|
|
|
40124
40127
|
if (input.DnsSupport != null) {
|
|
40125
40128
|
entries["DnsSupport"] = input.DnsSupport;
|
|
40126
40129
|
}
|
|
40130
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
40131
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
40132
|
+
}
|
|
40127
40133
|
if (input.AutoAcceptSharedAttachments != null) {
|
|
40128
40134
|
entries["AutoAcceptSharedAttachments"] = input.AutoAcceptSharedAttachments;
|
|
40129
40135
|
}
|
|
@@ -40225,6 +40231,9 @@ const se_ModifyTransitGatewayVpcAttachmentRequestOptions = (input, context) => {
|
|
|
40225
40231
|
if (input.DnsSupport != null) {
|
|
40226
40232
|
entries["DnsSupport"] = input.DnsSupport;
|
|
40227
40233
|
}
|
|
40234
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
40235
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
40236
|
+
}
|
|
40228
40237
|
if (input.Ipv6Support != null) {
|
|
40229
40238
|
entries["Ipv6Support"] = input.Ipv6Support;
|
|
40230
40239
|
}
|
|
@@ -45487,6 +45496,9 @@ const se_TransitGatewayRequestOptions = (input, context) => {
|
|
|
45487
45496
|
if (input.DnsSupport != null) {
|
|
45488
45497
|
entries["DnsSupport"] = input.DnsSupport;
|
|
45489
45498
|
}
|
|
45499
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
45500
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
45501
|
+
}
|
|
45490
45502
|
if (input.MulticastSupport != null) {
|
|
45491
45503
|
entries["MulticastSupport"] = input.MulticastSupport;
|
|
45492
45504
|
}
|
|
@@ -62949,6 +62961,9 @@ const de_SecurityGroupReference = (output, context) => {
|
|
|
62949
62961
|
if (output["vpcPeeringConnectionId"] !== undefined) {
|
|
62950
62962
|
contents.VpcPeeringConnectionId = (0, smithy_client_1.expectString)(output["vpcPeeringConnectionId"]);
|
|
62951
62963
|
}
|
|
62964
|
+
if (output["transitGatewayId"] !== undefined) {
|
|
62965
|
+
contents.TransitGatewayId = (0, smithy_client_1.expectString)(output["transitGatewayId"]);
|
|
62966
|
+
}
|
|
62952
62967
|
return contents;
|
|
62953
62968
|
};
|
|
62954
62969
|
const de_SecurityGroupReferences = (output, context) => {
|
|
@@ -65217,6 +65232,9 @@ const de_TransitGatewayOptions = (output, context) => {
|
|
|
65217
65232
|
if (output["dnsSupport"] !== undefined) {
|
|
65218
65233
|
contents.DnsSupport = (0, smithy_client_1.expectString)(output["dnsSupport"]);
|
|
65219
65234
|
}
|
|
65235
|
+
if (output["securityGroupReferencingSupport"] !== undefined) {
|
|
65236
|
+
contents.SecurityGroupReferencingSupport = (0, smithy_client_1.expectString)(output["securityGroupReferencingSupport"]);
|
|
65237
|
+
}
|
|
65220
65238
|
if (output["multicastSupport"] !== undefined) {
|
|
65221
65239
|
contents.MulticastSupport = (0, smithy_client_1.expectString)(output["multicastSupport"]);
|
|
65222
65240
|
}
|
|
@@ -65699,6 +65717,9 @@ const de_TransitGatewayVpcAttachmentOptions = (output, context) => {
|
|
|
65699
65717
|
if (output["dnsSupport"] !== undefined) {
|
|
65700
65718
|
contents.DnsSupport = (0, smithy_client_1.expectString)(output["dnsSupport"]);
|
|
65701
65719
|
}
|
|
65720
|
+
if (output["securityGroupReferencingSupport"] !== undefined) {
|
|
65721
|
+
contents.SecurityGroupReferencingSupport = (0, smithy_client_1.expectString)(output["securityGroupReferencingSupport"]);
|
|
65722
|
+
}
|
|
65702
65723
|
if (output["ipv6Support"] !== undefined) {
|
|
65703
65724
|
contents.Ipv6Support = (0, smithy_client_1.expectString)(output["ipv6Support"]);
|
|
65704
65725
|
}
|
|
@@ -162,6 +162,10 @@ export const Ipv6SupportValue = {
|
|
|
162
162
|
disable: "disable",
|
|
163
163
|
enable: "enable",
|
|
164
164
|
};
|
|
165
|
+
export const SecurityGroupReferencingSupportValue = {
|
|
166
|
+
disable: "disable",
|
|
167
|
+
enable: "enable",
|
|
168
|
+
};
|
|
165
169
|
export const VpcPeeringConnectionStateReasonCode = {
|
|
166
170
|
active: "active",
|
|
167
171
|
deleted: "deleted",
|
|
@@ -26308,6 +26308,9 @@ const se_CreateTransitGatewayVpcAttachmentRequestOptions = (input, context) => {
|
|
|
26308
26308
|
if (input.DnsSupport != null) {
|
|
26309
26309
|
entries["DnsSupport"] = input.DnsSupport;
|
|
26310
26310
|
}
|
|
26311
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
26312
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
26313
|
+
}
|
|
26311
26314
|
if (input.Ipv6Support != null) {
|
|
26312
26315
|
entries["Ipv6Support"] = input.Ipv6Support;
|
|
26313
26316
|
}
|
|
@@ -38867,6 +38870,9 @@ const se_ModifyTransitGatewayOptions = (input, context) => {
|
|
|
38867
38870
|
if (input.DnsSupport != null) {
|
|
38868
38871
|
entries["DnsSupport"] = input.DnsSupport;
|
|
38869
38872
|
}
|
|
38873
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
38874
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
38875
|
+
}
|
|
38870
38876
|
if (input.AutoAcceptSharedAttachments != null) {
|
|
38871
38877
|
entries["AutoAcceptSharedAttachments"] = input.AutoAcceptSharedAttachments;
|
|
38872
38878
|
}
|
|
@@ -38968,6 +38974,9 @@ const se_ModifyTransitGatewayVpcAttachmentRequestOptions = (input, context) => {
|
|
|
38968
38974
|
if (input.DnsSupport != null) {
|
|
38969
38975
|
entries["DnsSupport"] = input.DnsSupport;
|
|
38970
38976
|
}
|
|
38977
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
38978
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
38979
|
+
}
|
|
38971
38980
|
if (input.Ipv6Support != null) {
|
|
38972
38981
|
entries["Ipv6Support"] = input.Ipv6Support;
|
|
38973
38982
|
}
|
|
@@ -44230,6 +44239,9 @@ const se_TransitGatewayRequestOptions = (input, context) => {
|
|
|
44230
44239
|
if (input.DnsSupport != null) {
|
|
44231
44240
|
entries["DnsSupport"] = input.DnsSupport;
|
|
44232
44241
|
}
|
|
44242
|
+
if (input.SecurityGroupReferencingSupport != null) {
|
|
44243
|
+
entries["SecurityGroupReferencingSupport"] = input.SecurityGroupReferencingSupport;
|
|
44244
|
+
}
|
|
44233
44245
|
if (input.MulticastSupport != null) {
|
|
44234
44246
|
entries["MulticastSupport"] = input.MulticastSupport;
|
|
44235
44247
|
}
|
|
@@ -61692,6 +61704,9 @@ const de_SecurityGroupReference = (output, context) => {
|
|
|
61692
61704
|
if (output["vpcPeeringConnectionId"] !== undefined) {
|
|
61693
61705
|
contents.VpcPeeringConnectionId = __expectString(output["vpcPeeringConnectionId"]);
|
|
61694
61706
|
}
|
|
61707
|
+
if (output["transitGatewayId"] !== undefined) {
|
|
61708
|
+
contents.TransitGatewayId = __expectString(output["transitGatewayId"]);
|
|
61709
|
+
}
|
|
61695
61710
|
return contents;
|
|
61696
61711
|
};
|
|
61697
61712
|
const de_SecurityGroupReferences = (output, context) => {
|
|
@@ -63960,6 +63975,9 @@ const de_TransitGatewayOptions = (output, context) => {
|
|
|
63960
63975
|
if (output["dnsSupport"] !== undefined) {
|
|
63961
63976
|
contents.DnsSupport = __expectString(output["dnsSupport"]);
|
|
63962
63977
|
}
|
|
63978
|
+
if (output["securityGroupReferencingSupport"] !== undefined) {
|
|
63979
|
+
contents.SecurityGroupReferencingSupport = __expectString(output["securityGroupReferencingSupport"]);
|
|
63980
|
+
}
|
|
63963
63981
|
if (output["multicastSupport"] !== undefined) {
|
|
63964
63982
|
contents.MulticastSupport = __expectString(output["multicastSupport"]);
|
|
63965
63983
|
}
|
|
@@ -64442,6 +64460,9 @@ const de_TransitGatewayVpcAttachmentOptions = (output, context) => {
|
|
|
64442
64460
|
if (output["dnsSupport"] !== undefined) {
|
|
64443
64461
|
contents.DnsSupport = __expectString(output["dnsSupport"]);
|
|
64444
64462
|
}
|
|
64463
|
+
if (output["securityGroupReferencingSupport"] !== undefined) {
|
|
64464
|
+
contents.SecurityGroupReferencingSupport = __expectString(output["securityGroupReferencingSupport"]);
|
|
64465
|
+
}
|
|
64445
64466
|
if (output["ipv6Support"] !== undefined) {
|
|
64446
64467
|
contents.Ipv6Support = __expectString(output["ipv6Support"]);
|
|
64447
64468
|
}
|
|
@@ -52,6 +52,7 @@ export interface AcceptTransitGatewayVpcAttachmentCommandOutput extends AcceptTr
|
|
|
52
52
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
53
53
|
* // Options: { // TransitGatewayVpcAttachmentOptions
|
|
54
54
|
* // DnsSupport: "enable" || "disable",
|
|
55
|
+
* // SecurityGroupReferencingSupport: "enable" || "disable",
|
|
55
56
|
* // Ipv6Support: "enable" || "disable",
|
|
56
57
|
* // ApplianceModeSupport: "enable" || "disable",
|
|
57
58
|
* // },
|
|
@@ -34,6 +34,12 @@ export interface AuthorizeSecurityGroupEgressCommandOutput extends AuthorizeSecu
|
|
|
34
34
|
* You can use -1 for the type or code to mean all types or all codes.</p>
|
|
35
35
|
* <p>Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur.</p>
|
|
36
36
|
* <p>For information about VPC security group quotas, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC quotas</a>.</p>
|
|
37
|
+
* <note>
|
|
38
|
+
* <p>If you want to reference a security group across VPCs attached to a transit gateway using the
|
|
39
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-transit-gateways.html#create-tgw">security group
|
|
40
|
+
* referencing feature</a>, note that you can only reference security groups
|
|
41
|
+
* for ingress rules. You cannot reference a security group for egress rules.</p>
|
|
42
|
+
* </note>
|
|
37
43
|
* @example
|
|
38
44
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
45
|
* ```javascript
|
|
@@ -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 { CreateCarrierGatewayRequest } from "../models/
|
|
6
|
-
import { CreateCarrierGatewayResult } from "../models/models_1";
|
|
5
|
+
import { CreateCarrierGatewayRequest, CreateCarrierGatewayResult } from "../models/models_1";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -51,6 +51,7 @@ export interface CreateTransitGatewayCommandOutput extends CreateTransitGatewayR
|
|
|
51
51
|
* DefaultRouteTablePropagation: "enable" || "disable",
|
|
52
52
|
* VpnEcmpSupport: "enable" || "disable",
|
|
53
53
|
* DnsSupport: "enable" || "disable",
|
|
54
|
+
* SecurityGroupReferencingSupport: "enable" || "disable",
|
|
54
55
|
* MulticastSupport: "enable" || "disable",
|
|
55
56
|
* TransitGatewayCidrBlocks: [ // TransitGatewayCidrBlockStringList
|
|
56
57
|
* "STRING_VALUE",
|
|
@@ -91,6 +92,7 @@ export interface CreateTransitGatewayCommandOutput extends CreateTransitGatewayR
|
|
|
91
92
|
* // PropagationDefaultRouteTableId: "STRING_VALUE",
|
|
92
93
|
* // VpnEcmpSupport: "enable" || "disable",
|
|
93
94
|
* // DnsSupport: "enable" || "disable",
|
|
95
|
+
* // SecurityGroupReferencingSupport: "enable" || "disable",
|
|
94
96
|
* // MulticastSupport: "enable" || "disable",
|
|
95
97
|
* // },
|
|
96
98
|
* // Tags: [ // TagList
|
|
@@ -41,6 +41,7 @@ export interface CreateTransitGatewayVpcAttachmentCommandOutput extends CreateTr
|
|
|
41
41
|
* ],
|
|
42
42
|
* Options: { // CreateTransitGatewayVpcAttachmentRequestOptions
|
|
43
43
|
* DnsSupport: "enable" || "disable",
|
|
44
|
+
* SecurityGroupReferencingSupport: "enable" || "disable",
|
|
44
45
|
* Ipv6Support: "enable" || "disable",
|
|
45
46
|
* ApplianceModeSupport: "enable" || "disable",
|
|
46
47
|
* },
|
|
@@ -72,6 +73,7 @@ export interface CreateTransitGatewayVpcAttachmentCommandOutput extends CreateTr
|
|
|
72
73
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
73
74
|
* // Options: { // TransitGatewayVpcAttachmentOptions
|
|
74
75
|
* // DnsSupport: "enable" || "disable",
|
|
76
|
+
* // SecurityGroupReferencingSupport: "enable" || "disable",
|
|
75
77
|
* // Ipv6Support: "enable" || "disable",
|
|
76
78
|
* // ApplianceModeSupport: "enable" || "disable",
|
|
77
79
|
* // },
|
|
@@ -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 { DeleteNatGatewayRequest } from "../models/
|
|
6
|
-
import { DeleteNatGatewayResult } from "../models/models_3";
|
|
5
|
+
import { DeleteNatGatewayRequest, DeleteNatGatewayResult } from "../models/models_3";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -56,6 +56,7 @@ export interface DeleteTransitGatewayCommandOutput extends DeleteTransitGatewayR
|
|
|
56
56
|
* // PropagationDefaultRouteTableId: "STRING_VALUE",
|
|
57
57
|
* // VpnEcmpSupport: "enable" || "disable",
|
|
58
58
|
* // DnsSupport: "enable" || "disable",
|
|
59
|
+
* // SecurityGroupReferencingSupport: "enable" || "disable",
|
|
59
60
|
* // MulticastSupport: "enable" || "disable",
|
|
60
61
|
* // },
|
|
61
62
|
* // Tags: [ // TagList
|
|
@@ -49,6 +49,7 @@ export interface DeleteTransitGatewayVpcAttachmentCommandOutput extends DeleteTr
|
|
|
49
49
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
50
50
|
* // Options: { // TransitGatewayVpcAttachmentOptions
|
|
51
51
|
* // DnsSupport: "enable" || "disable",
|
|
52
|
+
* // SecurityGroupReferencingSupport: "enable" || "disable",
|
|
52
53
|
* // Ipv6Support: "enable" || "disable",
|
|
53
54
|
* // ApplianceModeSupport: "enable" || "disable",
|
|
54
55
|
* // },
|
|
@@ -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 { DescribeImportSnapshotTasksRequest } from "../models/
|
|
6
|
-
import { DescribeImportSnapshotTasksResult } from "../models/models_4";
|
|
5
|
+
import { DescribeImportSnapshotTasksRequest, DescribeImportSnapshotTasksResult } from "../models/models_4";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -23,7 +23,7 @@ export interface DescribeSecurityGroupReferencesCommandOutput extends DescribeSe
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request.</p>
|
|
26
|
+
* <p>Describes the VPCs on the other side of a VPC peering connection or the VPCs attached to a transit gateway that are referencing the security groups you've specified in this request.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -44,6 +44,7 @@ export interface DescribeSecurityGroupReferencesCommandOutput extends DescribeSe
|
|
|
44
44
|
* // GroupId: "STRING_VALUE",
|
|
45
45
|
* // ReferencingVpcId: "STRING_VALUE",
|
|
46
46
|
* // VpcPeeringConnectionId: "STRING_VALUE",
|
|
47
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
47
48
|
* // },
|
|
48
49
|
* // ],
|
|
49
50
|
* // };
|
|
@@ -24,9 +24,8 @@ export interface DescribeStaleSecurityGroupsCommandOutput extends DescribeStaleS
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Describes the stale security group rules for security groups in a specified VPC.
|
|
27
|
-
* Rules are stale when they reference a deleted security group in the same VPC or in a peer VPC
|
|
28
|
-
* or if they reference a security group in a
|
|
29
|
-
* been deleted.</p>
|
|
27
|
+
* Rules are stale when they reference a deleted security group in the same VPC, peered VPC, or in separate VPCs attached to a transit gateway (with <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-transit-gateways.html#create-tgw">security group referencing support</a> enabled). Rules can also be stale if they reference a security group in a peer VPC for which the VPC peering connection has
|
|
28
|
+
* been deleted or if they reference a security group in a VPC that has been detached from a transit gateway.</p>
|
|
30
29
|
* @example
|
|
31
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
31
|
* ```javascript
|
|
@@ -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 { DescribeSubnetsRequest
|
|
5
|
+
import { DescribeSubnetsRequest } from "../models/models_4";
|
|
6
|
+
import { DescribeSubnetsResult } from "../models/models_5";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
@@ -63,6 +63,7 @@ export interface DescribeTransitGatewayVpcAttachmentsCommandOutput extends Descr
|
|
|
63
63
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
64
64
|
* // Options: { // TransitGatewayVpcAttachmentOptions
|
|
65
65
|
* // DnsSupport: "enable" || "disable",
|
|
66
|
+
* // SecurityGroupReferencingSupport: "enable" || "disable",
|
|
66
67
|
* // Ipv6Support: "enable" || "disable",
|
|
67
68
|
* // ApplianceModeSupport: "enable" || "disable",
|
|
68
69
|
* // },
|
|
@@ -70,6 +70,7 @@ export interface DescribeTransitGatewaysCommandOutput extends DescribeTransitGat
|
|
|
70
70
|
* // PropagationDefaultRouteTableId: "STRING_VALUE",
|
|
71
71
|
* // VpnEcmpSupport: "enable" || "disable",
|
|
72
72
|
* // DnsSupport: "enable" || "disable",
|
|
73
|
+
* // SecurityGroupReferencingSupport: "enable" || "disable",
|
|
73
74
|
* // MulticastSupport: "enable" || "disable",
|
|
74
75
|
* // },
|
|
75
76
|
* // Tags: [ // TagList
|
|
@@ -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 { GetIpamPoolCidrsRequest
|
|
5
|
+
import { GetIpamPoolCidrsRequest } from "../models/models_5";
|
|
6
|
+
import { GetIpamPoolCidrsResult } from "../models/models_6";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
@@ -42,6 +42,7 @@ export interface ModifyTransitGatewayCommandOutput extends ModifyTransitGatewayR
|
|
|
42
42
|
* ],
|
|
43
43
|
* VpnEcmpSupport: "enable" || "disable",
|
|
44
44
|
* DnsSupport: "enable" || "disable",
|
|
45
|
+
* SecurityGroupReferencingSupport: "enable" || "disable",
|
|
45
46
|
* AutoAcceptSharedAttachments: "enable" || "disable",
|
|
46
47
|
* DefaultRouteTableAssociation: "enable" || "disable",
|
|
47
48
|
* AssociationDefaultRouteTableId: "STRING_VALUE",
|
|
@@ -73,6 +74,7 @@ export interface ModifyTransitGatewayCommandOutput extends ModifyTransitGatewayR
|
|
|
73
74
|
* // PropagationDefaultRouteTableId: "STRING_VALUE",
|
|
74
75
|
* // VpnEcmpSupport: "enable" || "disable",
|
|
75
76
|
* // DnsSupport: "enable" || "disable",
|
|
77
|
+
* // SecurityGroupReferencingSupport: "enable" || "disable",
|
|
76
78
|
* // MulticastSupport: "enable" || "disable",
|
|
77
79
|
* // },
|
|
78
80
|
* // Tags: [ // TagList
|
|
@@ -40,6 +40,7 @@ export interface ModifyTransitGatewayVpcAttachmentCommandOutput extends ModifyTr
|
|
|
40
40
|
* ],
|
|
41
41
|
* Options: { // ModifyTransitGatewayVpcAttachmentRequestOptions
|
|
42
42
|
* DnsSupport: "enable" || "disable",
|
|
43
|
+
* SecurityGroupReferencingSupport: "enable" || "disable",
|
|
43
44
|
* Ipv6Support: "enable" || "disable",
|
|
44
45
|
* ApplianceModeSupport: "enable" || "disable",
|
|
45
46
|
* },
|
|
@@ -60,6 +61,7 @@ export interface ModifyTransitGatewayVpcAttachmentCommandOutput extends ModifyTr
|
|
|
60
61
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
61
62
|
* // Options: { // TransitGatewayVpcAttachmentOptions
|
|
62
63
|
* // DnsSupport: "enable" || "disable",
|
|
64
|
+
* // SecurityGroupReferencingSupport: "enable" || "disable",
|
|
63
65
|
* // Ipv6Support: "enable" || "disable",
|
|
64
66
|
* // ApplianceModeSupport: "enable" || "disable",
|
|
65
67
|
* // },
|
|
@@ -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 { RegisterTransitGatewayMulticastGroupSourcesRequest
|
|
5
|
+
import { RegisterTransitGatewayMulticastGroupSourcesRequest } from "../models/models_6";
|
|
6
|
+
import { RegisterTransitGatewayMulticastGroupSourcesResult } from "../models/models_7";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
@@ -52,6 +52,7 @@ export interface RejectTransitGatewayVpcAttachmentCommandOutput extends RejectTr
|
|
|
52
52
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
53
53
|
* // Options: { // TransitGatewayVpcAttachmentOptions
|
|
54
54
|
* // DnsSupport: "enable" || "disable",
|
|
55
|
+
* // SecurityGroupReferencingSupport: "enable" || "disable",
|
|
55
56
|
* // Ipv6Support: "enable" || "disable",
|
|
56
57
|
* // ApplianceModeSupport: "enable" || "disable",
|
|
57
58
|
* // },
|
|
@@ -737,6 +737,18 @@ export declare const Ipv6SupportValue: {
|
|
|
737
737
|
* @public
|
|
738
738
|
*/
|
|
739
739
|
export type Ipv6SupportValue = (typeof Ipv6SupportValue)[keyof typeof Ipv6SupportValue];
|
|
740
|
+
/**
|
|
741
|
+
* @public
|
|
742
|
+
* @enum
|
|
743
|
+
*/
|
|
744
|
+
export declare const SecurityGroupReferencingSupportValue: {
|
|
745
|
+
readonly disable: "disable";
|
|
746
|
+
readonly enable: "enable";
|
|
747
|
+
};
|
|
748
|
+
/**
|
|
749
|
+
* @public
|
|
750
|
+
*/
|
|
751
|
+
export type SecurityGroupReferencingSupportValue = (typeof SecurityGroupReferencingSupportValue)[keyof typeof SecurityGroupReferencingSupportValue];
|
|
740
752
|
/**
|
|
741
753
|
* @public
|
|
742
754
|
* <p>Describes the VPC attachment options.</p>
|
|
@@ -747,6 +759,11 @@ export interface TransitGatewayVpcAttachmentOptions {
|
|
|
747
759
|
* <p>Indicates whether DNS support is enabled.</p>
|
|
748
760
|
*/
|
|
749
761
|
DnsSupport?: DnsSupportValue;
|
|
762
|
+
/**
|
|
763
|
+
* @public
|
|
764
|
+
* <p>For important information about this feature, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#create-vpc-attachment">Create a transit gateway attachment to a VPC</a> in the <i>Amazon Web Services Transit Gateway Guide</i>.</p>
|
|
765
|
+
*/
|
|
766
|
+
SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue;
|
|
750
767
|
/**
|
|
751
768
|
* @public
|
|
752
769
|
* <p>Indicates whether IPv6 support is disabled.</p>
|
|
@@ -5719,7 +5736,7 @@ export interface ReferencedSecurityGroup {
|
|
|
5719
5736
|
VpcId?: string;
|
|
5720
5737
|
/**
|
|
5721
5738
|
* @public
|
|
5722
|
-
* <p>The ID of the VPC peering connection.</p>
|
|
5739
|
+
* <p>The ID of the VPC peering connection (if applicable).</p>
|
|
5723
5740
|
*/
|
|
5724
5741
|
VpcPeeringConnectionId?: string;
|
|
5725
5742
|
}
|
|
@@ -8545,35 +8562,6 @@ export interface CreateCapacityReservationFleetResult {
|
|
|
8545
8562
|
*/
|
|
8546
8563
|
Tags?: Tag[];
|
|
8547
8564
|
}
|
|
8548
|
-
/**
|
|
8549
|
-
* @public
|
|
8550
|
-
*/
|
|
8551
|
-
export interface CreateCarrierGatewayRequest {
|
|
8552
|
-
/**
|
|
8553
|
-
* @public
|
|
8554
|
-
* <p>The ID of the VPC to associate with the carrier gateway.</p>
|
|
8555
|
-
*/
|
|
8556
|
-
VpcId: string | undefined;
|
|
8557
|
-
/**
|
|
8558
|
-
* @public
|
|
8559
|
-
* <p>The tags to associate with the carrier gateway.</p>
|
|
8560
|
-
*/
|
|
8561
|
-
TagSpecifications?: TagSpecification[];
|
|
8562
|
-
/**
|
|
8563
|
-
* @public
|
|
8564
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8565
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8566
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8567
|
-
*/
|
|
8568
|
-
DryRun?: boolean;
|
|
8569
|
-
/**
|
|
8570
|
-
* @public
|
|
8571
|
-
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
8572
|
-
* request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">How to ensure
|
|
8573
|
-
* idempotency</a>.</p>
|
|
8574
|
-
*/
|
|
8575
|
-
ClientToken?: string;
|
|
8576
|
-
}
|
|
8577
8565
|
/**
|
|
8578
8566
|
* @internal
|
|
8579
8567
|
*/
|