From c155b9e2ca52f81da287efb0c184de8f5388884d Mon Sep 17 00:00:00 2001
From: awstools The state of the address pool. The state of the address range.
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
* @public
*/
State?: ByoipCidrState;
diff --git a/clients/client-ec2/src/models/models_1.ts b/clients/client-ec2/src/models/models_1.ts
index 8ebe24dc3cfc..24fb1611c41a 100644
--- a/clients/client-ec2/src/models/models_1.ts
+++ b/clients/client-ec2/src/models/models_1.ts
@@ -2224,7 +2224,7 @@ export interface InstanceRequirementsRequest {
* selects instance types with your attributes, it will exclude instance types whose price
* exceeds your specified threshold.advertised
: The address range is being advertised to the internet by Amazon Web Services.deprovisioned
: The address range is deprovisioned.failed-deprovision
: The request to deprovision the address range was unsuccessful. Ensure that all EIPs from the range have been deallocated and try again.failed-provision
: The request to provision the address range was unsuccessful.pending-deprovision
: You’ve submitted a request to deprovision an address range and it's pending.pending-provision
: You’ve submitted a request to provision an address range and it's pending.provisioned
: The address range is provisioned and can be advertised. The range is not currently advertised.provisioned-not-publicly-advertisable
: The address range is provisioned and cannot be advertised.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
- *If you set DesiredCapacityType
to vcpu
or
+ *
If you set TargetCapacityUnitType
to vcpu
or
* memory-mib
, the price protection threshold is based on the per vCPU or per
* memory price instead of the per instance price.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
- *If you set DesiredCapacityType
to vcpu
or
+ *
If you set TargetCapacityUnitType
to vcpu
or
* memory-mib
, the price protection threshold is based on the per vCPU or per
* memory price instead of the per instance price.
Indicates whether your client's IP address is preserved as the source. The value is true
or false
.
Indicates whether the client IP address is preserved as the source. The following are the possible values.
*If true
, your client's IP address is used when you connect to a resource.
+ * true
- Use the client IP address as the source.
If false
, the elastic network interface IP address is used when you connect to a resource.
+ * false
- Use the network interface IP address as the source.
Default: true
+ *
Default: false
*
The Amazon Resource Name (ARN) of the Outpost.
+ *The Amazon Resource Name (ARN) of the Outpost on which to create the volume.
+ *If you intend to use a volume with an instance running on an outpost, then you must + * create the volume on the same outpost as the instance. You can't use a volume created + * in an Amazon Web Services Region with an instance on an Amazon Web Services outpost, or the other way around.
* @public */ OutpostArn?: string; diff --git a/clients/client-ec2/src/models/models_5.ts b/clients/client-ec2/src/models/models_5.ts index 75cf7982c878..460dca0690bb 100644 --- a/clients/client-ec2/src/models/models_5.ts +++ b/clients/client-ec2/src/models/models_5.ts @@ -2703,7 +2703,7 @@ export interface DescribeVolumesRequest { Filters?: Filter[]; /** - *The volume IDs.
+ *The volume IDs. If not specified, then all volumes are included in the response.
* @public */ VolumeIds?: string[]; diff --git a/clients/client-ec2/src/models/models_6.ts b/clients/client-ec2/src/models/models_6.ts index 37625c83a1b7..8546cec42480 100644 --- a/clients/client-ec2/src/models/models_6.ts +++ b/clients/client-ec2/src/models/models_6.ts @@ -5385,8 +5385,9 @@ export interface ModifyInstanceAttributeRequest { SriovNetSupport?: AttributeValue; /** - *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 - * can load the text from a file. Otherwise, you must provide base64-encoded text.
+ *Changes the instance's user data to the specified value. User data must be base64-encoded. + * Depending on the tool or SDK that you're using, the base64-encoding might be performed for you. + * For more information, see Work with instance user data.
* @public */ UserData?: BlobAttributeValue; @@ -6012,6 +6013,7 @@ export interface ModifyInstanceMetadataOptionsResult { */ export const HostTenancy = { dedicated: "dedicated", + default: "default", host: "host", } as const; diff --git a/clients/client-ec2/src/models/models_7.ts b/clients/client-ec2/src/models/models_7.ts index d6b79665b394..7fb756e5116d 100644 --- a/clients/client-ec2/src/models/models_7.ts +++ b/clients/client-ec2/src/models/models_7.ts @@ -3188,12 +3188,9 @@ export interface RunInstancesRequest { SubnetId?: string; /** - *The user data script to make available to the instance. For more information, see - * Run - * commands on your Amazon EC2 instance at launch in the Amazon EC2 User - * Guide. If you are using a command line tool, base64-encoding is performed - * for you, and you can load the text from a file. Otherwise, you must provide - * base64-encoded text. User data is limited to 16 KB.
+ *The user data to make available to the instance. User data must be base64-encoded. + * Depending on the tool or SDK that you're using, the base64-encoding might be performed for you. + * For more information, see Work with instance user data.
* @public */ UserData?: string; diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index e0c7f2eb518a..b298cf3f7261 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -9556,7 +9556,7 @@ "target": "com.amazonaws.ec2#ByoipCidrState", "traits": { "aws.protocols#ec2QueryName": "State", - "smithy.api#documentation": "The state of the address pool.
", + "smithy.api#documentation": "The state of the address range.
\n\n advertised
: The address range is being advertised to the internet by Amazon Web Services.
\n deprovisioned
: The address range is deprovisioned.
\n failed-deprovision
: The request to deprovision the address range was unsuccessful. Ensure that all EIPs from the range have been deallocated and try again.
\n failed-provision
: The request to provision the address range was unsuccessful.
\n pending-deprovision
: You’ve submitted a request to deprovision an address range and it's pending.
\n pending-provision
: You’ve submitted a request to provision an address range and it's pending.
\n provisioned
: The address range is provisioned and can be advertised. The range is not currently advertised.
\n provisioned-not-publicly-advertisable
: The address range is provisioned and cannot be advertised.
Indicates whether your client's IP address is preserved as the source. The value is true
or false
.
If true
, your client's IP address is used when you connect to a resource.
If false
, the elastic network interface IP address is used when you connect to a resource.
Default: true
\n
Indicates whether the client IP address is preserved as the source. The following are the possible values.
\n\n true
- Use the client IP address as the source.
\n false
- Use the network interface IP address as the source.
Default: false
\n
The Amazon Resource Name (ARN) of the Outpost.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Outpost on which to create the volume.
\nIf you intend to use a volume with an instance running on an outpost, then you must \n create the volume on the same outpost as the instance. You can't use a volume created \n in an Amazon Web Services Region with an instance on an Amazon Web Services outpost, or the other way around.
" } }, "Size": { @@ -40849,7 +40849,7 @@ "VolumeIds": { "target": "com.amazonaws.ec2#VolumeIdStringList", "traits": { - "smithy.api#documentation": "The volume IDs.
", + "smithy.api#documentation": "The volume IDs. If not specified, then all volumes are included in the response.
", "smithy.api#xmlName": "VolumeId" } }, @@ -55504,6 +55504,12 @@ "com.amazonaws.ec2#HostTenancy": { "type": "enum", "members": { + "default": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "default" + } + }, "dedicated": { "target": "smithy.api#Unit", "traits": { @@ -60543,7 +60549,7 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice", - "smithy.api#documentation": "[Price protection] The price protection threshold for Spot Instances, as a percentage of an\n identified On-Demand price. The identified On-Demand price is the price of the lowest\n priced current generation C, M, or R instance type with your specified attributes. If no\n current generation C, M, or R instance type matches your attributes, then the identified\n price is from the lowest priced current generation instance types, and failing that, from\n the lowest priced previous generation instance types that match your attributes. When Amazon EC2\n selects instance types with your attributes, it will exclude instance types whose price\n exceeds your specified threshold.
\nThe parameter accepts an integer, which Amazon EC2 interprets as a percentage.
\nIf you set DesiredCapacityType
to vcpu
or\n memory-mib
, the price protection threshold is based on the per vCPU or per\n memory price instead of the per instance price.
Only one of SpotMaxPricePercentageOverLowestPrice
or\n MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you\n don't specify either, Amazon EC2 will automatically apply optimal price protection to\n consistently select from a wide range of instance types. To indicate no price protection\n threshold for Spot Instances, meaning you want to consider all instance types that match your\n attributes, include one of these parameters and specify a high value, such as\n 999999
.
[Price protection] The price protection threshold for Spot Instances, as a percentage of an\n identified On-Demand price. The identified On-Demand price is the price of the lowest\n priced current generation C, M, or R instance type with your specified attributes. If no\n current generation C, M, or R instance type matches your attributes, then the identified\n price is from the lowest priced current generation instance types, and failing that, from\n the lowest priced previous generation instance types that match your attributes. When Amazon EC2\n selects instance types with your attributes, it will exclude instance types whose price\n exceeds your specified threshold.
\nThe parameter accepts an integer, which Amazon EC2 interprets as a percentage.
\nIf you set TargetCapacityUnitType
to vcpu
or\n memory-mib
, the price protection threshold is based on the per vCPU or per\n memory price instead of the per instance price.
Only one of SpotMaxPricePercentageOverLowestPrice
or\n MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you\n don't specify either, Amazon EC2 will automatically apply optimal price protection to\n consistently select from a wide range of instance types. To indicate no price protection\n threshold for Spot Instances, meaning you want to consider all instance types that match your\n attributes, include one of these parameters and specify a high value, such as\n 999999
.
[Price protection] The price protection threshold for Spot Instances, as a percentage of an\n identified On-Demand price. The identified On-Demand price is the price of the lowest\n priced current generation C, M, or R instance type with your specified attributes. If no\n current generation C, M, or R instance type matches your attributes, then the identified\n price is from the lowest priced current generation instance types, and failing that, from\n the lowest priced previous generation instance types that match your attributes. When Amazon EC2\n selects instance types with your attributes, it will exclude instance types whose price\n exceeds your specified threshold.
\nThe parameter accepts an integer, which Amazon EC2 interprets as a percentage.
\nIf you set DesiredCapacityType
to vcpu
or\n memory-mib
, the price protection threshold is based on the per vCPU or per\n memory price instead of the per instance price.
Only one of SpotMaxPricePercentageOverLowestPrice
or\n MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you\n don't specify either, Amazon EC2 will automatically apply optimal price protection to\n consistently select from a wide range of instance types. To indicate no price protection\n threshold for Spot Instances, meaning you want to consider all instance types that match your\n attributes, include one of these parameters and specify a high value, such as\n 999999
.
[Price protection] The price protection threshold for Spot Instances, as a percentage of an\n identified On-Demand price. The identified On-Demand price is the price of the lowest\n priced current generation C, M, or R instance type with your specified attributes. If no\n current generation C, M, or R instance type matches your attributes, then the identified\n price is from the lowest priced current generation instance types, and failing that, from\n the lowest priced previous generation instance types that match your attributes. When Amazon EC2\n selects instance types with your attributes, it will exclude instance types whose price\n exceeds your specified threshold.
\nThe parameter accepts an integer, which Amazon EC2 interprets as a percentage.
\nIf you set TargetCapacityUnitType
to vcpu
or\n memory-mib
, the price protection threshold is based on the per vCPU or per\n memory price instead of the per instance price.
Only one of SpotMaxPricePercentageOverLowestPrice
or\n MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you\n don't specify either, Amazon EC2 will automatically apply optimal price protection to\n consistently select from a wide range of instance types. To indicate no price protection\n threshold for Spot Instances, meaning you want to consider all instance types that match your\n attributes, include one of these parameters and specify a high value, such as\n 999999
.
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\n can load the text from a file. Otherwise, you must provide base64-encoded text.
", + "smithy.api#documentation": "Changes the instance's user data to the specified value. User data must be base64-encoded.\n Depending on the tool or SDK that you're using, the base64-encoding might be performed for you.\n For more information, see Work with instance user data.
", "smithy.api#xmlName": "userData" } }, @@ -92306,7 +92312,7 @@ "UserData": { "target": "com.amazonaws.ec2#RunInstancesUserData", "traits": { - "smithy.api#documentation": "The user data script to make available to the instance. For more information, see\n Run\n commands on your Amazon EC2 instance at launch in the Amazon EC2 User\n Guide. If you are using a command line tool, base64-encoding is performed\n for you, and you can load the text from a file. Otherwise, you must provide\n base64-encoded text. User data is limited to 16 KB.
" + "smithy.api#documentation": "The user data to make available to the instance. User data must be base64-encoded.\n Depending on the tool or SDK that you're using, the base64-encoding might be performed for you.\n For more information, see Work with instance user data.
" } }, "AdditionalInfo": {