@aws-sdk/client-ec2 3.606.0 → 3.613.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/index.js CHANGED
@@ -71211,6 +71211,7 @@ var DefaultInstanceMetadataTagsState = {
71211
71211
  };
71212
71212
  var HostTenancy = {
71213
71213
  dedicated: "dedicated",
71214
+ default: "default",
71214
71215
  host: "host"
71215
71216
  };
71216
71217
  var TargetStorageTier = {
@@ -86,6 +86,7 @@ export const DefaultInstanceMetadataTagsState = {
86
86
  };
87
87
  export const HostTenancy = {
88
88
  dedicated: "dedicated",
89
+ default: "default",
89
90
  host: "host",
90
91
  };
91
92
  export const TargetStorageTier = {
@@ -64,7 +64,7 @@ declare const ModifyInstancePlacementCommand_base: {
64
64
  * GroupName: "STRING_VALUE",
65
65
  * HostId: "STRING_VALUE",
66
66
  * InstanceId: "STRING_VALUE", // required
67
- * Tenancy: "dedicated" || "host",
67
+ * Tenancy: "default" || "dedicated" || "host",
68
68
  * PartitionNumber: Number("int"),
69
69
  * HostResourceGroupArn: "STRING_VALUE",
70
70
  * GroupId: "STRING_VALUE",
@@ -2704,7 +2704,41 @@ export interface ByoipCidr {
2704
2704
  */
2705
2705
  StatusMessage?: string;
2706
2706
  /**
2707
- * <p>The state of the address pool.</p>
2707
+ * <p>The state of the address range.</p>
2708
+ * <ul>
2709
+ * <li>
2710
+ * <p>
2711
+ * <code>advertised</code>: The address range is being advertised to the internet by Amazon Web Services.</p>
2712
+ * </li>
2713
+ * <li>
2714
+ * <p>
2715
+ * <code>deprovisioned</code>: The address range is deprovisioned.</p>
2716
+ * </li>
2717
+ * <li>
2718
+ * <p>
2719
+ * <code>failed-deprovision</code>: The request to deprovision the address range was unsuccessful. Ensure that all EIPs from the range have been deallocated and try again.</p>
2720
+ * </li>
2721
+ * <li>
2722
+ * <p>
2723
+ * <code>failed-provision</code>: The request to provision the address range was unsuccessful.</p>
2724
+ * </li>
2725
+ * <li>
2726
+ * <p>
2727
+ * <code>pending-deprovision</code>: You’ve submitted a request to deprovision an address range and it's pending.</p>
2728
+ * </li>
2729
+ * <li>
2730
+ * <p>
2731
+ * <code>pending-provision</code>: You’ve submitted a request to provision an address range and it's pending.</p>
2732
+ * </li>
2733
+ * <li>
2734
+ * <p>
2735
+ * <code>provisioned</code>: The address range is provisioned and can be advertised. The range is not currently advertised.</p>
2736
+ * </li>
2737
+ * <li>
2738
+ * <p>
2739
+ * <code>provisioned-not-publicly-advertisable</code>: The address range is provisioned and cannot be advertised.</p>
2740
+ * </li>
2741
+ * </ul>
2708
2742
  * @public
2709
2743
  */
2710
2744
  State?: ByoipCidrState;
@@ -1958,7 +1958,7 @@ export interface InstanceRequirementsRequest {
1958
1958
  * selects instance types with your attributes, it will exclude instance types whose price
1959
1959
  * exceeds your specified threshold.</p>
1960
1960
  * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
1961
- * <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or
1961
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
1962
1962
  * <code>memory-mib</code>, the price protection threshold is based on the per vCPU or per
1963
1963
  * memory price instead of the per instance price.</p>
1964
1964
  * <note>
@@ -3232,7 +3232,7 @@ export interface InstanceRequirements {
3232
3232
  * selects instance types with your attributes, it will exclude instance types whose price
3233
3233
  * exceeds your specified threshold.</p>
3234
3234
  * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
3235
- * <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or
3235
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
3236
3236
  * <code>memory-mib</code>, the price protection threshold is based on the per vCPU or per
3237
3237
  * memory price instead of the per instance price.</p>
3238
3238
  * <note>
@@ -4089,16 +4089,18 @@ export interface CreateInstanceConnectEndpointRequest {
4089
4089
  */
4090
4090
  SecurityGroupIds?: string[];
4091
4091
  /**
4092
- * <p>Indicates whether your client's IP address is preserved as the source. The value is <code>true</code> or <code>false</code>.</p>
4092
+ * <p>Indicates whether the client IP address is preserved as the source. The following are the possible values.</p>
4093
4093
  * <ul>
4094
4094
  * <li>
4095
- * <p>If <code>true</code>, your client's IP address is used when you connect to a resource.</p>
4095
+ * <p>
4096
+ * <code>true</code> - Use the client IP address as the source.</p>
4096
4097
  * </li>
4097
4098
  * <li>
4098
- * <p>If <code>false</code>, the elastic network interface IP address is used when you connect to a resource.</p>
4099
+ * <p>
4100
+ * <code>false</code> - Use the network interface IP address as the source.</p>
4099
4101
  * </li>
4100
4102
  * </ul>
4101
- * <p>Default: <code>true</code>
4103
+ * <p>Default: <code>false</code>
4102
4104
  * </p>
4103
4105
  * @public
4104
4106
  */
@@ -4719,7 +4719,10 @@ export interface CreateVolumeRequest {
4719
4719
  */
4720
4720
  KmsKeyId?: string;
4721
4721
  /**
4722
- * <p>The Amazon Resource Name (ARN) of the Outpost.</p>
4722
+ * <p>The Amazon Resource Name (ARN) of the Outpost on which to create the volume.</p>
4723
+ * <p>If you intend to use a volume with an instance running on an outpost, then you must
4724
+ * create the volume on the same outpost as the instance. You can't use a volume created
4725
+ * in an Amazon Web Services Region with an instance on an Amazon Web Services outpost, or the other way around.</p>
4723
4726
  * @public
4724
4727
  */
4725
4728
  OutpostArn?: string;
@@ -2360,7 +2360,7 @@ export interface DescribeVolumesRequest {
2360
2360
  */
2361
2361
  Filters?: Filter[];
2362
2362
  /**
2363
- * <p>The volume IDs.</p>
2363
+ * <p>The volume IDs. If not specified, then all volumes are included in the response.</p>
2364
2364
  * @public
2365
2365
  */
2366
2366
  VolumeIds?: string[];
@@ -4623,8 +4623,9 @@ export interface ModifyInstanceAttributeRequest {
4623
4623
  */
4624
4624
  SriovNetSupport?: AttributeValue;
4625
4625
  /**
4626
- * <p>Changes the instance's user data to the specified value. If you are using an Amazon Web Services SDK or command line tool, base64-encoding is performed for you, and you
4627
- * can load the text from a file. Otherwise, you must provide base64-encoded text.</p>
4626
+ * <p>Changes the instance's user data to the specified value. User data must be base64-encoded.
4627
+ * Depending on the tool or SDK that you're using, the base64-encoding might be performed for you.
4628
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html">Work with instance user data</a>.</p>
4628
4629
  * @public
4629
4630
  */
4630
4631
  UserData?: BlobAttributeValue;
@@ -5186,6 +5187,7 @@ export interface ModifyInstanceMetadataOptionsResult {
5186
5187
  */
5187
5188
  export declare const HostTenancy: {
5188
5189
  readonly dedicated: "dedicated";
5190
+ readonly default: "default";
5189
5191
  readonly host: "host";
5190
5192
  };
5191
5193
  /**
@@ -2760,12 +2760,9 @@ export interface RunInstancesRequest {
2760
2760
  */
2761
2761
  SubnetId?: string;
2762
2762
  /**
2763
- * <p>The user data script to make available to the instance. For more information, see
2764
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Run
2765
- * commands on your Amazon EC2 instance at launch</a> in the <i>Amazon EC2 User
2766
- * Guide</i>. If you are using a command line tool, base64-encoding is performed
2767
- * for you, and you can load the text from a file. Otherwise, you must provide
2768
- * base64-encoded text. User data is limited to 16 KB.</p>
2763
+ * <p>The user data to make available to the instance. User data must be base64-encoded.
2764
+ * Depending on the tool or SDK that you're using, the base64-encoding might be performed for you.
2765
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html">Work with instance user data</a>.</p>
2769
2766
  * @public
2770
2767
  */
2771
2768
  UserData?: string;
@@ -1230,6 +1230,7 @@ export interface ModifyInstanceMetadataOptionsResult {
1230
1230
  }
1231
1231
  export declare const HostTenancy: {
1232
1232
  readonly dedicated: "dedicated";
1233
+ readonly default: "default";
1233
1234
  readonly host: "host";
1234
1235
  };
1235
1236
  export type HostTenancy = (typeof HostTenancy)[keyof typeof HostTenancy];
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.606.0",
4
+ "version": "3.613.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -20,46 +20,46 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.606.0",
24
- "@aws-sdk/client-sts": "3.606.0",
25
- "@aws-sdk/core": "3.598.0",
26
- "@aws-sdk/credential-provider-node": "3.600.0",
27
- "@aws-sdk/middleware-host-header": "3.598.0",
28
- "@aws-sdk/middleware-logger": "3.598.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.598.0",
30
- "@aws-sdk/middleware-sdk-ec2": "3.598.0",
31
- "@aws-sdk/middleware-user-agent": "3.598.0",
32
- "@aws-sdk/region-config-resolver": "3.598.0",
33
- "@aws-sdk/types": "3.598.0",
34
- "@aws-sdk/util-endpoints": "3.598.0",
35
- "@aws-sdk/util-user-agent-browser": "3.598.0",
36
- "@aws-sdk/util-user-agent-node": "3.598.0",
37
- "@smithy/config-resolver": "^3.0.2",
38
- "@smithy/core": "^2.2.1",
39
- "@smithy/fetch-http-handler": "^3.0.2",
40
- "@smithy/hash-node": "^3.0.1",
41
- "@smithy/invalid-dependency": "^3.0.1",
42
- "@smithy/middleware-content-length": "^3.0.1",
43
- "@smithy/middleware-endpoint": "^3.0.2",
44
- "@smithy/middleware-retry": "^3.0.4",
45
- "@smithy/middleware-serde": "^3.0.1",
46
- "@smithy/middleware-stack": "^3.0.1",
47
- "@smithy/node-config-provider": "^3.1.1",
48
- "@smithy/node-http-handler": "^3.0.1",
49
- "@smithy/protocol-http": "^4.0.1",
50
- "@smithy/smithy-client": "^3.1.2",
51
- "@smithy/types": "^3.1.0",
52
- "@smithy/url-parser": "^3.0.1",
23
+ "@aws-sdk/client-sso-oidc": "3.613.0",
24
+ "@aws-sdk/client-sts": "3.613.0",
25
+ "@aws-sdk/core": "3.609.0",
26
+ "@aws-sdk/credential-provider-node": "3.613.0",
27
+ "@aws-sdk/middleware-host-header": "3.609.0",
28
+ "@aws-sdk/middleware-logger": "3.609.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.609.0",
30
+ "@aws-sdk/middleware-sdk-ec2": "3.609.0",
31
+ "@aws-sdk/middleware-user-agent": "3.609.0",
32
+ "@aws-sdk/region-config-resolver": "3.609.0",
33
+ "@aws-sdk/types": "3.609.0",
34
+ "@aws-sdk/util-endpoints": "3.609.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.609.0",
36
+ "@aws-sdk/util-user-agent-node": "3.609.0",
37
+ "@smithy/config-resolver": "^3.0.4",
38
+ "@smithy/core": "^2.2.4",
39
+ "@smithy/fetch-http-handler": "^3.2.0",
40
+ "@smithy/hash-node": "^3.0.3",
41
+ "@smithy/invalid-dependency": "^3.0.3",
42
+ "@smithy/middleware-content-length": "^3.0.3",
43
+ "@smithy/middleware-endpoint": "^3.0.4",
44
+ "@smithy/middleware-retry": "^3.0.7",
45
+ "@smithy/middleware-serde": "^3.0.3",
46
+ "@smithy/middleware-stack": "^3.0.3",
47
+ "@smithy/node-config-provider": "^3.1.3",
48
+ "@smithy/node-http-handler": "^3.1.1",
49
+ "@smithy/protocol-http": "^4.0.3",
50
+ "@smithy/smithy-client": "^3.1.5",
51
+ "@smithy/types": "^3.3.0",
52
+ "@smithy/url-parser": "^3.0.3",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.4",
57
- "@smithy/util-defaults-mode-node": "^3.0.4",
58
- "@smithy/util-endpoints": "^2.0.2",
59
- "@smithy/util-middleware": "^3.0.1",
60
- "@smithy/util-retry": "^3.0.1",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.7",
57
+ "@smithy/util-defaults-mode-node": "^3.0.7",
58
+ "@smithy/util-endpoints": "^2.0.4",
59
+ "@smithy/util-middleware": "^3.0.3",
60
+ "@smithy/util-retry": "^3.0.3",
61
61
  "@smithy/util-utf8": "^3.0.0",
62
- "@smithy/util-waiter": "^3.0.1",
62
+ "@smithy/util-waiter": "^3.1.2",
63
63
  "tslib": "^2.6.2",
64
64
  "uuid": "^9.0.1"
65
65
  },