@aws-sdk/client-ec2 3.474.0 → 3.477.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.
@@ -44,6 +44,7 @@ export interface AdvertiseByoipCidrCommandOutput extends AdvertiseByoipCidrResul
44
44
  * Cidr: "STRING_VALUE", // required
45
45
  * Asn: "STRING_VALUE",
46
46
  * DryRun: true || false,
47
+ * NetworkBorderGroup: "STRING_VALUE",
47
48
  * };
48
49
  * const command = new AdvertiseByoipCidrCommand(input);
49
50
  * const response = await client.send(command);
@@ -61,6 +62,7 @@ export interface AdvertiseByoipCidrCommandOutput extends AdvertiseByoipCidrResul
61
62
  * // ],
62
63
  * // StatusMessage: "STRING_VALUE",
63
64
  * // State: "advertised" || "deprovisioned" || "failed-deprovision" || "failed-provision" || "pending-deprovision" || "pending-provision" || "provisioned" || "provisioned-not-publicly-advertisable",
65
+ * // NetworkBorderGroup: "STRING_VALUE",
64
66
  * // },
65
67
  * // };
66
68
  *
@@ -53,6 +53,7 @@ export interface DeprovisionByoipCidrCommandOutput extends DeprovisionByoipCidrR
53
53
  * // ],
54
54
  * // StatusMessage: "STRING_VALUE",
55
55
  * // State: "advertised" || "deprovisioned" || "failed-deprovision" || "failed-provision" || "pending-deprovision" || "pending-provision" || "provisioned" || "provisioned-not-publicly-advertisable",
56
+ * // NetworkBorderGroup: "STRING_VALUE",
56
57
  * // },
57
58
  * // };
58
59
  *
@@ -54,6 +54,7 @@ export interface DescribeByoipCidrsCommandOutput extends DescribeByoipCidrsResul
54
54
  * // ],
55
55
  * // StatusMessage: "STRING_VALUE",
56
56
  * // State: "advertised" || "deprovisioned" || "failed-deprovision" || "failed-provision" || "pending-deprovision" || "pending-provision" || "provisioned" || "provisioned-not-publicly-advertisable",
57
+ * // NetworkBorderGroup: "STRING_VALUE",
57
58
  * // },
58
59
  * // ],
59
60
  * // NextToken: "STRING_VALUE",
@@ -53,6 +53,7 @@ export interface MoveByoipCidrToIpamCommandOutput extends MoveByoipCidrToIpamRes
53
53
  * // ],
54
54
  * // StatusMessage: "STRING_VALUE",
55
55
  * // State: "advertised" || "deprovisioned" || "failed-deprovision" || "failed-provision" || "pending-deprovision" || "pending-provision" || "provisioned" || "provisioned-not-publicly-advertisable",
56
+ * // NetworkBorderGroup: "STRING_VALUE",
56
57
  * // },
57
58
  * // };
58
59
  *
@@ -62,6 +62,7 @@ export interface ProvisionByoipCidrCommandOutput extends ProvisionByoipCidrResul
62
62
  * },
63
63
  * ],
64
64
  * MultiRegion: true || false,
65
+ * NetworkBorderGroup: "STRING_VALUE",
65
66
  * };
66
67
  * const command = new ProvisionByoipCidrCommand(input);
67
68
  * const response = await client.send(command);
@@ -79,6 +80,7 @@ export interface ProvisionByoipCidrCommandOutput extends ProvisionByoipCidrResul
79
80
  * // ],
80
81
  * // StatusMessage: "STRING_VALUE",
81
82
  * // State: "advertised" || "deprovisioned" || "failed-deprovision" || "failed-provision" || "pending-deprovision" || "pending-provision" || "provisioned" || "provisioned-not-publicly-advertisable",
83
+ * // NetworkBorderGroup: "STRING_VALUE",
82
84
  * // },
83
85
  * // };
84
86
  *
@@ -54,6 +54,7 @@ export interface WithdrawByoipCidrCommandOutput extends WithdrawByoipCidrResult,
54
54
  * // ],
55
55
  * // StatusMessage: "STRING_VALUE",
56
56
  * // State: "advertised" || "deprovisioned" || "failed-deprovision" || "failed-provision" || "pending-deprovision" || "pending-provision" || "provisioned" || "provisioned-not-publicly-advertisable",
57
+ * // NetworkBorderGroup: "STRING_VALUE",
57
58
  * // },
58
59
  * // };
59
60
  *
@@ -2592,6 +2592,26 @@ export interface AdvertiseByoipCidrRequest {
2592
2592
  * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2593
2593
  */
2594
2594
  DryRun?: boolean;
2595
+ /**
2596
+ * @public
2597
+ * <p>If you have <a href="https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html">Local Zones</a> enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.</p>
2598
+ * <p>You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:</p>
2599
+ * <ul>
2600
+ * <li>
2601
+ * <p>us-east-1-dfw-2</p>
2602
+ * </li>
2603
+ * <li>
2604
+ * <p>us-west-2-lax-1</p>
2605
+ * </li>
2606
+ * <li>
2607
+ * <p>us-west-2-phx-2</p>
2608
+ * </li>
2609
+ * </ul>
2610
+ * <note>
2611
+ * <p>You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.</p>
2612
+ * </note>
2613
+ */
2614
+ NetworkBorderGroup?: string;
2595
2615
  }
2596
2616
  /**
2597
2617
  * @public
@@ -2684,6 +2704,26 @@ export interface ByoipCidr {
2684
2704
  * <p>The state of the address pool.</p>
2685
2705
  */
2686
2706
  State?: ByoipCidrState;
2707
+ /**
2708
+ * @public
2709
+ * <p>If you have <a href="https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html">Local Zones</a> enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.</p>
2710
+ * <p>You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:</p>
2711
+ * <ul>
2712
+ * <li>
2713
+ * <p>us-east-1-dfw-2</p>
2714
+ * </li>
2715
+ * <li>
2716
+ * <p>us-west-2-lax-1</p>
2717
+ * </li>
2718
+ * <li>
2719
+ * <p>us-west-2-phx-2</p>
2720
+ * </li>
2721
+ * </ul>
2722
+ * <note>
2723
+ * <p>You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.</p>
2724
+ * </note>
2725
+ */
2726
+ NetworkBorderGroup?: string;
2687
2727
  }
2688
2728
  /**
2689
2729
  * @public
@@ -5986,27 +5986,26 @@ export type LaunchTemplateInstanceMetadataTagsState = (typeof LaunchTemplateInst
5986
5986
  export interface LaunchTemplateInstanceMetadataOptionsRequest {
5987
5987
  /**
5988
5988
  * @public
5989
- * <p>IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to <code>optional</code>
5990
- * (in other words, set the use of IMDSv2 to <code>optional</code>) or
5991
- * <code>required</code> (in other words, set the use of IMDSv2 to
5992
- * <code>required</code>).</p>
5989
+ * <p>Indicates whether IMDSv2 is required.</p>
5993
5990
  * <ul>
5994
5991
  * <li>
5995
5992
  * <p>
5996
- * <code>optional</code> - When IMDSv2 is optional, you can choose to retrieve instance metadata with or without
5997
- * a session token in your request. If you retrieve the IAM role credentials
5998
- * without a token, the IMDSv1 role credentials are returned. If you retrieve the IAM role credentials
5999
- * using a valid session token, the IMDSv2 role credentials are returned.</p>
5993
+ * <code>optional</code> - IMDSv2 is optional. You can choose whether to send a
5994
+ * session token in your instance metadata retrieval requests. If you retrieve
5995
+ * IAM role credentials without a session token, you receive the IMDSv1 role
5996
+ * credentials. If you retrieve IAM role credentials using a valid session token,
5997
+ * you receive the IMDSv2 role credentials.</p>
6000
5998
  * </li>
6001
5999
  * <li>
6002
6000
  * <p>
6003
- * <code>required</code> - When IMDSv2 is required, you must send a session token
6004
- * with any instance metadata retrieval requests. In this state, retrieving the IAM role
6005
- * credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.</p>
6001
+ * <code>required</code> - IMDSv2 is required. You must send a session token
6002
+ * in your instance metadata retrieval requests. With this option, retrieving the
6003
+ * IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are
6004
+ * not available.</p>
6006
6005
  * </li>
6007
6006
  * </ul>
6008
- * <p>Default: <code>optional</code>
6009
- * </p>
6007
+ * <p>Default: If the value of <code>ImdsSupport</code> for the Amazon Machine Image (AMI)
6008
+ * for your instance is <code>v2.0</code>, the default is <code>required</code>.</p>
6010
6009
  */
6011
6010
  HttpTokens?: LaunchTemplateHttpTokensState;
6012
6011
  /**
@@ -6187,6 +6186,8 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
6187
6186
  /**
6188
6187
  * @public
6189
6188
  * <p>Associates a public IPv4 address with eth0 for a new network interface.</p>
6189
+ * <p>Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses
6190
+ * associated with running instances and Elastic IP addresses. For more information, see the <i>Public IPv4 Address</i> tab on the <a href="http://aws.amazon.com/vpc/pricing/">Amazon VPC pricing page</a>.</p>
6190
6191
  */
6191
6192
  AssociatePublicIpAddress?: boolean;
6192
6193
  /**
@@ -6562,29 +6563,8 @@ export interface RequestLaunchTemplateData {
6562
6563
  UserData?: string;
6563
6564
  /**
6564
6565
  * @public
6565
- * <p>The tags to apply to the resources that are created during instance launch.</p>
6566
- * <p>You can specify tags for the following resources only:</p>
6567
- * <ul>
6568
- * <li>
6569
- * <p>Instances</p>
6570
- * </li>
6571
- * <li>
6572
- * <p>Volumes</p>
6573
- * </li>
6574
- * <li>
6575
- * <p>Elastic graphics</p>
6576
- * </li>
6577
- * <li>
6578
- * <p>Spot Instance requests</p>
6579
- * </li>
6580
- * <li>
6581
- * <p>Network interfaces</p>
6582
- * </li>
6583
- * </ul>
6584
- * <p>To tag a resource after it has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
6585
- * <note>
6586
- * <p>To tag the launch template itself, you must use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html">TagSpecification</a> parameter.</p>
6587
- * </note>
6566
+ * <p>The tags to apply to the resources that are created during instance launch. These
6567
+ * tags are not applied to the launch template.</p>
6588
6568
  */
6589
6569
  TagSpecifications?: LaunchTemplateTagSpecificationRequest[];
6590
6570
  /**
@@ -7261,18 +7241,24 @@ export interface LaunchTemplateInstanceMetadataOptions {
7261
7241
  State?: LaunchTemplateInstanceMetadataOptionsState;
7262
7242
  /**
7263
7243
  * @public
7264
- * <p>Indicates whether IMDSv2 is <code>optional</code> or <code>required</code>.</p>
7265
- * <p>
7266
- * <code>optional</code> - When IMDSv2 is optional, you can choose to retrieve instance metadata with or without
7267
- * a session token in your request. If you retrieve the IAM role credentials
7268
- * without a token, the IMDSv1 role credentials are returned. If you retrieve the IAM role credentials
7269
- * using a valid session token, the IMDSv2 role credentials are returned.</p>
7270
- * <p>
7271
- * <code>required</code> - When IMDSv2 is required, you must send a session token
7272
- * with any instance metadata retrieval requests. In this state, retrieving the IAM role
7273
- * credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.</p>
7274
- * <p>Default: <code>optional</code>
7275
- * </p>
7244
+ * <p>Indicates whether IMDSv2 is required.</p>
7245
+ * <ul>
7246
+ * <li>
7247
+ * <p>
7248
+ * <code>optional</code> - IMDSv2 is optional. You can choose whether to send a
7249
+ * session token in your instance metadata retrieval requests. If you retrieve
7250
+ * IAM role credentials without a session token, you receive the IMDSv1 role
7251
+ * credentials. If you retrieve IAM role credentials using a valid session token,
7252
+ * you receive the IMDSv2 role credentials.</p>
7253
+ * </li>
7254
+ * <li>
7255
+ * <p>
7256
+ * <code>required</code> - IMDSv2 is required. You must send a session token
7257
+ * in your instance metadata retrieval requests. With this option, retrieving the
7258
+ * IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are
7259
+ * not available.</p>
7260
+ * </li>
7261
+ * </ul>
7276
7262
  */
7277
7263
  HttpTokens?: LaunchTemplateHttpTokensState;
7278
7264
  /**
@@ -7450,6 +7436,8 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecification {
7450
7436
  * @public
7451
7437
  * <p>Indicates whether to associate a public IPv4 address with eth0 for a new network
7452
7438
  * interface.</p>
7439
+ * <p>Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses
7440
+ * associated with running instances and Elastic IP addresses. For more information, see the <i>Public IPv4 Address</i> tab on the <a href="http://aws.amazon.com/vpc/pricing/">Amazon VPC pricing page</a>.</p>
7453
7441
  */
7454
7442
  AssociatePublicIpAddress?: boolean;
7455
7443
  /**
@@ -9667,6 +9667,8 @@ export interface InstanceNetworkInterfaceSpecification {
9667
9667
  * assigned to a new network interface, not an existing one. You cannot specify more than one
9668
9668
  * network interface in the request. If launching into a default subnet, the default value is
9669
9669
  * <code>true</code>.</p>
9670
+ * <p>Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses
9671
+ * associated with running instances and Elastic IP addresses. For more information, see the <i>Public IPv4 Address</i> tab on the <a href="http://aws.amazon.com/vpc/pricing/">Amazon VPC pricing page</a>.</p>
9670
9672
  */
9671
9673
  AssociatePublicIpAddress?: boolean;
9672
9674
  /**
@@ -7508,6 +7508,26 @@ export interface ProvisionByoipCidrRequest {
7508
7508
  * <p>Reserved.</p>
7509
7509
  */
7510
7510
  MultiRegion?: boolean;
7511
+ /**
7512
+ * @public
7513
+ * <p>If you have <a href="https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html">Local Zones</a> enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.</p>
7514
+ * <p>You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:</p>
7515
+ * <ul>
7516
+ * <li>
7517
+ * <p>us-east-1-dfw-2</p>
7518
+ * </li>
7519
+ * <li>
7520
+ * <p>us-west-2-lax-1</p>
7521
+ * </li>
7522
+ * <li>
7523
+ * <p>us-west-2-phx-2</p>
7524
+ * </li>
7525
+ * </ul>
7526
+ * <note>
7527
+ * <p>You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.</p>
7528
+ * </note>
7529
+ */
7530
+ NetworkBorderGroup?: string;
7511
7531
  }
7512
7532
  /**
7513
7533
  * @public
@@ -738,6 +738,7 @@ export interface AdvertiseByoipCidrRequest {
738
738
  Cidr: string | undefined;
739
739
  Asn?: string;
740
740
  DryRun?: boolean;
741
+ NetworkBorderGroup?: string;
741
742
  }
742
743
  export declare const AsnAssociationState: {
743
744
  readonly associated: "associated";
@@ -773,6 +774,7 @@ export interface ByoipCidr {
773
774
  AsnAssociations?: AsnAssociation[];
774
775
  StatusMessage?: string;
775
776
  State?: ByoipCidrState;
777
+ NetworkBorderGroup?: string;
776
778
  }
777
779
  export interface AdvertiseByoipCidrResult {
778
780
  ByoipCidr?: ByoipCidr;
@@ -1692,6 +1692,7 @@ export interface ProvisionByoipCidrRequest {
1692
1692
  DryRun?: boolean;
1693
1693
  PoolTagSpecifications?: TagSpecification[];
1694
1694
  MultiRegion?: boolean;
1695
+ NetworkBorderGroup?: string;
1695
1696
  }
1696
1697
  export interface ProvisionByoipCidrResult {
1697
1698
  ByoipCidr?: ByoipCidr;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.474.0",
4
+ "version": "3.477.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.474.0",
24
- "@aws-sdk/core": "3.474.0",
25
- "@aws-sdk/credential-provider-node": "3.474.0",
23
+ "@aws-sdk/client-sts": "3.477.0",
24
+ "@aws-sdk/core": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.477.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",