@aws-sdk/client-ec2 3.267.0 → 3.271.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.
Files changed (68) hide show
  1. package/dist-cjs/commands/DeleteTrafficMirrorSessionCommand.js +2 -1
  2. package/dist-cjs/commands/UnassignIpv6AddressesCommand.js +1 -2
  3. package/dist-cjs/endpoint/ruleset.js +3 -3
  4. package/dist-cjs/models/models_0.js +7 -7
  5. package/dist-cjs/models/models_1.js +18 -10
  6. package/dist-cjs/models/models_2.js +9 -9
  7. package/dist-cjs/models/models_3.js +10 -10
  8. package/dist-cjs/models/models_4.js +29 -10
  9. package/dist-cjs/models/models_5.js +9 -6
  10. package/dist-cjs/models/models_6.js +23 -10
  11. package/dist-cjs/models/models_7.js +5 -1
  12. package/dist-cjs/protocols/Aws_ec2.js +10 -0
  13. package/dist-cjs/waiters/index.js +1 -0
  14. package/dist-cjs/waiters/waitForSnapshotImported.js +59 -0
  15. package/dist-es/commands/DeleteTrafficMirrorSessionCommand.js +2 -1
  16. package/dist-es/commands/UnassignIpv6AddressesCommand.js +1 -2
  17. package/dist-es/endpoint/ruleset.js +3 -3
  18. package/dist-es/models/models_0.js +5 -5
  19. package/dist-es/models/models_1.js +12 -3
  20. package/dist-es/models/models_2.js +3 -3
  21. package/dist-es/models/models_3.js +3 -3
  22. package/dist-es/models/models_4.js +22 -3
  23. package/dist-es/models/models_5.js +7 -5
  24. package/dist-es/models/models_6.js +17 -3
  25. package/dist-es/models/models_7.js +3 -0
  26. package/dist-es/protocols/Aws_ec2.js +10 -0
  27. package/dist-es/waiters/index.js +1 -0
  28. package/dist-es/waiters/waitForSnapshotImported.js +54 -0
  29. package/dist-types/EC2.d.ts +6 -13
  30. package/dist-types/EC2Client.d.ts +15 -15
  31. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -2
  32. package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -5
  34. package/dist-types/commands/DescribeVolumesCommand.d.ts +1 -5
  35. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +1 -2
  36. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
  37. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  38. package/dist-types/models/models_0.d.ts +14 -5
  39. package/dist-types/models/models_1.d.ts +36 -40
  40. package/dist-types/models/models_2.d.ts +35 -12
  41. package/dist-types/models/models_3.d.ts +65 -304
  42. package/dist-types/models/models_4.d.ts +399 -148
  43. package/dist-types/models/models_5.d.ts +42 -23
  44. package/dist-types/models/models_6.d.ts +13 -21
  45. package/dist-types/models/models_7.d.ts +18 -0
  46. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  47. package/dist-types/runtimeConfig.d.ts +1 -1
  48. package/dist-types/runtimeConfig.native.d.ts +4 -4
  49. package/dist-types/ts3.4/EC2Client.d.ts +4 -4
  50. package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  53. package/dist-types/ts3.4/models/models_0.d.ts +5 -4
  54. package/dist-types/ts3.4/models/models_1.d.ts +4 -13
  55. package/dist-types/ts3.4/models/models_2.d.ts +12 -7
  56. package/dist-types/ts3.4/models/models_3.d.ts +8 -61
  57. package/dist-types/ts3.4/models/models_4.d.ts +81 -8
  58. package/dist-types/ts3.4/models/models_5.d.ts +8 -5
  59. package/dist-types/ts3.4/models/models_6.d.ts +7 -10
  60. package/dist-types/ts3.4/models/models_7.d.ts +8 -0
  61. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  62. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  63. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  64. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  65. package/dist-types/ts3.4/waiters/waitForSnapshotImported.d.ts +11 -0
  66. package/dist-types/waiters/index.d.ts +1 -0
  67. package/dist-types/waiters/waitForSnapshotImported.d.ts +14 -0
  68. package/package.json +31 -31
@@ -1,4 +1,8 @@
1
- import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, ClientConnectOptions, ClientLoginBannerOptions, ClientVpnAuthenticationRequest, ConnectionLogOptions, CurrencyCodeValues, InstanceEventWindow, Ipv4PrefixSpecification, NatGatewayAddress, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, SelfServicePortal, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
1
+ import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, ClientConnectOptions, ClientLoginBannerOptions, ClientVpnAuthenticationRequest, ConnectionLogOptions, CurrencyCodeValues, InstanceEventWindow, Ipv4PrefixSpecification, NatGatewayAddress, PortRange, Protocol, ReservedInstancesListing, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
2
+ export declare enum SelfServicePortal {
3
+ disabled = "disabled",
4
+ enabled = "enabled"
5
+ }
2
6
  export declare enum TransportProtocol {
3
7
  tcp = "tcp",
4
8
  udp = "udp"
@@ -2784,12 +2788,37 @@ export interface EbsBlockDevice {
2784
2788
  * <p>In no case can you remove encryption from an encrypted volume.</p>
2785
2789
  * <p>Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For
2786
2790
  * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances">Supported instance types</a>.</p>
2787
- * <p>This parameter is not returned by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute.html">DescribeImageAttribute</a>.</p>
2788
- * <p>For <a>CreateImage</a> and <a>RegisterImage</a>, you can specify this
2789
- * parameter only for block device mappings that result in new, empty volumes when instances are
2790
- * launched from the image. Omit this parameter on block device mappings that include an existing
2791
- * volume or snapshot. If you include this parameter, and specify an encryption setting that is
2792
- * different from the existing volume or snapshot, the request will fail.</p>
2791
+ * <p>This parameter is not returned by <a>DescribeImageAttribute</a>.</p>
2792
+ * <p>For <a>CreateImage</a> and <a>RegisterImage</a>, whether you can
2793
+ * include this parameter, and the allowed values differ depending on the type of block
2794
+ * device mapping you are creating.</p>
2795
+ * <ul>
2796
+ * <li>
2797
+ * <p>If you are creating a block device mapping for a <b>new (empty)
2798
+ * volume</b>, you can include this parameter, and specify either <code>true</code>
2799
+ * for an encrypted volume, or <code>false</code> for an unencrypted volume. If you omit
2800
+ * this parameter, it defaults to <code>false</code> (unencrypted).</p>
2801
+ * </li>
2802
+ * <li>
2803
+ * <p>If you are creating a block device mapping from an <b>existing
2804
+ * encrypted or unencrypted snapshot</b>, you must omit this parameter. If you
2805
+ * include this parameter, the request will fail, regardless of the value that you
2806
+ * specify.</p>
2807
+ * </li>
2808
+ * <li>
2809
+ * <p>If you are creating a block device mapping from an <b>existing
2810
+ * unencrypted volume</b>, you can include this parameter, but you must specify
2811
+ * <code>false</code>. If you specify <code>true</code>, the request will fail. In this
2812
+ * case, we recommend that you omit the parameter.</p>
2813
+ * </li>
2814
+ * <li>
2815
+ * <p>If you are creating a block device mapping from an <b>existing
2816
+ * encrypted volume</b>, you can include this parameter, and specify either
2817
+ * <code>true</code> or <code>false</code>. However, if you specify <code>false</code>,
2818
+ * the parameter is ignored and the block device mapping is always encrypted. In this
2819
+ * case, we recommend that you omit the parameter.</p>
2820
+ * </li>
2821
+ * </ul>
2793
2822
  */
2794
2823
  Encrypted?: boolean;
2795
2824
  }
@@ -7601,35 +7630,6 @@ export interface CreateRouteTableRequest {
7601
7630
  */
7602
7631
  TagSpecifications?: TagSpecification[];
7603
7632
  }
7604
- /**
7605
- * <p>Describes an association between a route table and a subnet or gateway.</p>
7606
- */
7607
- export interface RouteTableAssociation {
7608
- /**
7609
- * <p>Indicates whether this is the main route table.</p>
7610
- */
7611
- Main?: boolean;
7612
- /**
7613
- * <p>The ID of the association.</p>
7614
- */
7615
- RouteTableAssociationId?: string;
7616
- /**
7617
- * <p>The ID of the route table.</p>
7618
- */
7619
- RouteTableId?: string;
7620
- /**
7621
- * <p>The ID of the subnet. A subnet ID is not returned for an implicit association.</p>
7622
- */
7623
- SubnetId?: string;
7624
- /**
7625
- * <p>The ID of the internet gateway or virtual private gateway.</p>
7626
- */
7627
- GatewayId?: string;
7628
- /**
7629
- * <p>The state of the association.</p>
7630
- */
7631
- AssociationState?: RouteTableAssociationState;
7632
- }
7633
7633
  /**
7634
7634
  * @internal
7635
7635
  */
@@ -8546,7 +8546,3 @@ export declare const CreateRouteResultFilterSensitiveLog: (obj: CreateRouteResul
8546
8546
  * @internal
8547
8547
  */
8548
8548
  export declare const CreateRouteTableRequestFilterSensitiveLog: (obj: CreateRouteTableRequest) => any;
8549
- /**
8550
- * @internal
8551
- */
8552
- export declare const RouteTableAssociationFilterSensitiveLog: (obj: RouteTableAssociation) => any;
@@ -1,5 +1,34 @@
1
- import { ApplianceModeSupportValue, CarrierGateway, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, GatewayType, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, RouteTableAssociation, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
1
+ import { ApplianceModeSupportValue, CarrierGateway, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv6SupportValue, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
+ import { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, GatewayType, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * <p>Describes an association between a route table and a subnet or gateway.</p>
5
+ */
6
+ export interface RouteTableAssociation {
7
+ /**
8
+ * <p>Indicates whether this is the main route table.</p>
9
+ */
10
+ Main?: boolean;
11
+ /**
12
+ * <p>The ID of the association.</p>
13
+ */
14
+ RouteTableAssociationId?: string;
15
+ /**
16
+ * <p>The ID of the route table.</p>
17
+ */
18
+ RouteTableId?: string;
19
+ /**
20
+ * <p>The ID of the subnet. A subnet ID is not returned for an implicit association.</p>
21
+ */
22
+ SubnetId?: string;
23
+ /**
24
+ * <p>The ID of the internet gateway or virtual private gateway.</p>
25
+ */
26
+ GatewayId?: string;
27
+ /**
28
+ * <p>The state of the association.</p>
29
+ */
30
+ AssociationState?: RouteTableAssociationState;
31
+ }
3
32
  /**
4
33
  * <p>Describes a virtual private gateway propagating route.</p>
5
34
  */
@@ -5423,12 +5452,10 @@ export interface DeleteTrafficMirrorSessionRequest {
5423
5452
  */
5424
5453
  DryRun?: boolean;
5425
5454
  }
5426
- export interface DeleteTrafficMirrorSessionResult {
5427
- /**
5428
- * <p>The ID of the deleted Traffic Mirror session.</p>
5429
- */
5430
- TrafficMirrorSessionId?: string;
5431
- }
5455
+ /**
5456
+ * @internal
5457
+ */
5458
+ export declare const RouteTableAssociationFilterSensitiveLog: (obj: RouteTableAssociation) => any;
5432
5459
  /**
5433
5460
  * @internal
5434
5461
  */
@@ -6401,7 +6428,3 @@ export declare const DeleteTrafficMirrorFilterRuleResultFilterSensitiveLog: (obj
6401
6428
  * @internal
6402
6429
  */
6403
6430
  export declare const DeleteTrafficMirrorSessionRequestFilterSensitiveLog: (obj: DeleteTrafficMirrorSessionRequest) => any;
6404
- /**
6405
- * @internal
6406
- */
6407
- export declare const DeleteTrafficMirrorSessionResultFilterSensitiveLog: (obj: DeleteTrafficMirrorSessionResult) => any;