Skip to content

Commit

Permalink
Updates SDK to v2.1653.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jul 2, 2024
1 parent 4bb3924 commit dd4fa6c
Show file tree
Hide file tree
Showing 17 changed files with 346 additions and 189 deletions.
17 changes: 17 additions & 0 deletions .changes/2.1653.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"type": "feature",
"category": "EC2",
"description": "Documentation updates for Elastic Compute Cloud (EC2)."
},
{
"type": "feature",
"category": "FMS",
"description": "Increases Customer API's ManagedServiceData length"
},
{
"type": "feature",
"category": "S3",
"description": "Added response overrides to Head Object requests."
}
]
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1652.0-->
<!--LATEST=2.1653.0-->
<!--ENTRYINSERT-->

## 2.1653.0
* feature: EC2: Documentation updates for Elastic Compute Cloud (EC2).
* feature: FMS: Increases Customer API's ManagedServiceData length
* feature: S3: Added response overrides to Head Object requests.

## 2.1652.0
* feature: APIGateway: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
* feature: CognitoIdentity: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1652.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1653.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
17 changes: 9 additions & 8 deletions apis/ec2-2016-11-15.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -12143,7 +12143,7 @@
},
"State": {
"shape": "ByoipCidrState",
"documentation": "<p>The state of the address pool.</p>",
"documentation": "<p>The state of the address range.</p> <ul> <li> <p> <code>advertised</code>: The address range is being advertised to the internet by Amazon Web Services.</p> </li> <li> <p> <code>deprovisioned</code>: The address range is deprovisioned.</p> </li> <li> <p> <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> </li> <li> <p> <code>failed-provision</code>: The request to provision the address range was unsuccessful.</p> </li> <li> <p> <code>pending-deprovision</code>: You’ve submitted a request to deprovision an address range and it's pending.</p> </li> <li> <p> <code>pending-provision</code>: You’ve submitted a request to provision an address range and it's pending.</p> </li> <li> <p> <code>provisioned</code>: The address range is provisioned and can be advertised. The range is not currently advertised.</p> </li> <li> <p> <code>provisioned-not-publicly-advertisable</code>: The address range is provisioned and cannot be advertised.</p> </li> </ul>",
"locationName": "state"
},
"NetworkBorderGroup": {
Expand Down Expand Up @@ -15609,7 +15609,7 @@
},
"PreserveClientIp": {
"shape": "Boolean",
"documentation": "<p>Indicates whether your client's IP address is preserved as the source. The value is <code>true</code> or <code>false</code>.</p> <ul> <li> <p>If <code>true</code>, your client's IP address is used when you connect to a resource.</p> </li> <li> <p>If <code>false</code>, the elastic network interface IP address is used when you connect to a resource.</p> </li> </ul> <p>Default: <code>true</code> </p>"
"documentation": "<p>Indicates whether the client IP address is preserved as the source. The following are the possible values.</p> <ul> <li> <p> <code>true</code> - Use the client IP address as the source.</p> </li> <li> <p> <code>false</code> - Use the network interface IP address as the source.</p> </li> </ul> <p>Default: <code>false</code> </p>"
},
"ClientToken": {
"shape": "String",
Expand Down Expand Up @@ -18503,7 +18503,7 @@
},
"OutpostArn": {
"shape": "String",
"documentation": "<p>The Amazon Resource Name (ARN) of the Outpost.</p>"
"documentation": "<p>The Amazon Resource Name (ARN) of the Outpost on which to create the volume.</p> <p>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.</p>"
},
"Size": {
"shape": "Integer",
Expand Down Expand Up @@ -27767,7 +27767,7 @@
},
"VolumeIds": {
"shape": "VolumeIdStringList",
"documentation": "<p>The volume IDs.</p>",
"documentation": "<p>The volume IDs. If not specified, then all volumes are included in the response.</p>",
"locationName": "VolumeId"
},
"DryRun": {
Expand Down Expand Up @@ -35871,6 +35871,7 @@
"HostTenancy": {
"type": "string",
"enum": [
"default",
"dedicated",
"host"
]
Expand Down Expand Up @@ -38952,7 +38953,7 @@
},
"MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": {
"shape": "Integer",
"documentation": "<p>[Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.</p> <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p> <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or <code>memory-mib</code>, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.</p> <note> <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as <code>999999</code>.</p> </note>",
"documentation": "<p>[Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.</p> <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p> <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or <code>memory-mib</code>, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.</p> <note> <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as <code>999999</code>.</p> </note>",
"locationName": "maxSpotPriceAsPercentageOfOptimalOnDemandPrice"
}
},
Expand Down Expand Up @@ -39067,7 +39068,7 @@
},
"MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": {
"shape": "Integer",
"documentation": "<p>[Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.</p> <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p> <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or <code>memory-mib</code>, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.</p> <note> <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as <code>999999</code>.</p> </note>"
"documentation": "<p>[Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.</p> <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p> <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or <code>memory-mib</code>, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.</p> <note> <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as <code>999999</code>.</p> </note>"
}
},
"documentation": "<p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.</p> <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes are optional. Any unspecified optional attribute is set to its default.</p> <p>When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.</p> <p>To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:</p> <ul> <li> <p> <code>AllowedInstanceTypes</code> - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.</p> </li> <li> <p> <code>ExcludedInstanceTypes</code> - The instance types to exclude from the list, even if they match your specified attributes.</p> </li> </ul> <note> <p>If you specify <code>InstanceRequirements</code>, you can't specify <code>InstanceType</code>.</p> <p>Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html\">launch instance wizard</a>, or with the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html\">RunInstances</a> API or <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html\">AWS::EC2::Instance</a> Amazon Web Services CloudFormation resource, you can't specify <code>InstanceRequirements</code>.</p> </note> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html\">Attribute-based instance type selection for EC2 Fleet</a>, <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html\">Attribute-based instance type selection for Spot Fleet</a>, and <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html\">Spot placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>"
Expand Down Expand Up @@ -45692,7 +45693,7 @@
},
"UserData": {
"shape": "BlobAttributeValue",
"documentation": "<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 can load the text from a file. Otherwise, you must provide base64-encoded text.</p>",
"documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html\">Work with instance user data</a>.</p>",
"locationName": "userData"
},
"Value": {
Expand Down Expand Up @@ -55324,7 +55325,7 @@
},
"UserData": {
"shape": "RunInstancesUserData",
"documentation": "<p>The user data script to make available to the instance. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html\">Run commands on your Amazon EC2 instance at launch</a> in the <i>Amazon EC2 User Guide</i>. 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.</p>"
"documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html\">Work with instance user data</a>.</p>"
},
"AdditionalInfo": {
"shape": "String",
Expand Down
5 changes: 4 additions & 1 deletion apis/fms-2018-01-01.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"serviceId": "FMS",
"signatureVersion": "v4",
"targetPrefix": "AWSFMS_20180101",
"uid": "fms-2018-01-01"
"uid": "fms-2018-01-01",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"AssociateAdminAccount": {
Expand Down
7 changes: 5 additions & 2 deletions apis/fms-2018-01-01.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"serviceId": "FMS",
"signatureVersion": "v4",
"targetPrefix": "AWSFMS_20180101",
"uid": "fms-2018-01-01"
"uid": "fms-2018-01-01",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"AssociateAdminAccount": {
Expand Down Expand Up @@ -3077,7 +3080,7 @@
},
"ManagedServiceData": {
"type": "string",
"max": 10000,
"max": 30000,
"min": 1,
"pattern": "^((?!\\\\[nr]).)+"
},
Expand Down
Loading

0 comments on commit dd4fa6c

Please sign in to comment.