Skip to content

Commit 65936b1

Browse files
author
awstools
committed
Updates SDK to v2.995.0
1 parent 1f5436e commit 65936b1

15 files changed

+185
-113
lines changed

.changes/2.995.0.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "EC2",
5+
"description": "DescribeInstances now returns Platform Details, Usage Operation, and Usage Operation Update Time."
6+
},
7+
{
8+
"type": "feature",
9+
"category": "LicenseManager",
10+
"description": "AWS License Manager now allows customers to get the LicenseArn in the Checkout API Response."
11+
}
12+
]

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.994.0-->
2+
<!--LATEST=2.995.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.995.0
6+
* feature: EC2: DescribeInstances now returns Platform Details, Usage Operation, and Usage Operation Update Time.
7+
* feature: LicenseManager: AWS License Manager now allows customers to get the LicenseArn in the Checkout API Response.
8+
59
## 2.994.0
610
* bugfix: HttpRequest: Allows request body to be either a string or a buffer
711
* feature: AppSync: Documented the new OpenSearchServiceDataSourceConfig data type. Added deprecation notes to the ElasticsearchDataSourceConfig data type.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
2929
To use the SDK in the browser, simply add the following script tag to your
3030
HTML pages:
3131

32-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.994.0.min.js"></script>
32+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.995.0.min.js"></script>
3333

3434
You can also build a custom browser SDK with your specified set of AWS services.
3535
This can allow you to reduce the SDK's size, specify different API versions of

apis/ec2-2016-11-15.min.json

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,7 +1875,7 @@
18751875
"shape": "S9e"
18761876
},
18771877
"TargetCapacitySpecification": {
1878-
"shape": "S9n"
1878+
"shape": "S9o"
18791879
},
18801880
"TerminateInstancesWithExpiration": {
18811881
"type": "boolean"
@@ -1911,7 +1911,7 @@
19111911
"type": "structure",
19121912
"members": {
19131913
"LaunchTemplateAndOverrides": {
1914-
"shape": "S9u",
1914+
"shape": "S9v",
19151915
"locationName": "launchTemplateAndOverrides"
19161916
},
19171917
"Lifecycle": {
@@ -1934,7 +1934,7 @@
19341934
"type": "structure",
19351935
"members": {
19361936
"LaunchTemplateAndOverrides": {
1937-
"shape": "S9u",
1937+
"shape": "S9v",
19381938
"locationName": "launchTemplateAndOverrides"
19391939
},
19401940
"Lifecycle": {
@@ -7110,14 +7110,14 @@
71107110
"type": "structure",
71117111
"members": {
71127112
"LaunchTemplateSpecification": {
7113-
"shape": "S9v",
7113+
"shape": "S9w",
71147114
"locationName": "launchTemplateSpecification"
71157115
},
71167116
"Overrides": {
71177117
"locationName": "overrides",
71187118
"type": "list",
71197119
"member": {
7120-
"shape": "S9w",
7120+
"shape": "S9x",
71217121
"locationName": "item"
71227122
}
71237123
}
@@ -7255,7 +7255,7 @@
72557255
"type": "structure",
72567256
"members": {
72577257
"LaunchTemplateAndOverrides": {
7258-
"shape": "S9u",
7258+
"shape": "S9v",
72597259
"locationName": "launchTemplateAndOverrides"
72607260
},
72617261
"Lifecycle": {
@@ -7278,7 +7278,7 @@
72787278
"type": "structure",
72797279
"members": {
72807280
"LaunchTemplateAndOverrides": {
7281-
"shape": "S9u",
7281+
"shape": "S9v",
72827282
"locationName": "launchTemplateAndOverrides"
72837283
},
72847284
"Lifecycle": {
@@ -15768,7 +15768,7 @@
1576815768
},
1576915769
"FleetId": {},
1577015770
"TargetCapacitySpecification": {
15771-
"shape": "S9n"
15771+
"shape": "S9o"
1577215772
},
1577315773
"Context": {}
1577415774
}
@@ -20902,7 +20902,7 @@
2090220902
}
2090320903
}
2090420904
},
20905-
"S9n": {
20905+
"S9o": {
2090620906
"type": "structure",
2090720907
"required": [
2090820908
"TotalTargetCapacity"
@@ -20920,20 +20920,20 @@
2092020920
"DefaultTargetCapacityType": {}
2092120921
}
2092220922
},
20923-
"S9u": {
20923+
"S9v": {
2092420924
"type": "structure",
2092520925
"members": {
2092620926
"LaunchTemplateSpecification": {
20927-
"shape": "S9v",
20927+
"shape": "S9w",
2092820928
"locationName": "launchTemplateSpecification"
2092920929
},
2093020930
"Overrides": {
20931-
"shape": "S9w",
20931+
"shape": "S9x",
2093220932
"locationName": "overrides"
2093320933
}
2093420934
}
2093520935
},
20936-
"S9v": {
20936+
"S9w": {
2093720937
"type": "structure",
2093820938
"members": {
2093920939
"LaunchTemplateId": {
@@ -20947,7 +20947,7 @@
2094720947
}
2094820948
}
2094920949
},
20950-
"S9w": {
20950+
"S9x": {
2095120951
"type": "structure",
2095220952
"members": {
2095320953
"InstanceType": {
@@ -25011,6 +25011,16 @@
2501125011
},
2501225012
"BootMode": {
2501325013
"locationName": "bootMode"
25014+
},
25015+
"PlatformDetails": {
25016+
"locationName": "platformDetails"
25017+
},
25018+
"UsageOperation": {
25019+
"locationName": "usageOperation"
25020+
},
25021+
"UsageOperationUpdateTime": {
25022+
"locationName": "usageOperationUpdateTime",
25023+
"type": "timestamp"
2501425024
}
2501525025
}
2501625026
}
@@ -26045,7 +26055,7 @@
2604526055
"type": "structure",
2604626056
"members": {
2604726057
"LaunchTemplateSpecification": {
26048-
"shape": "S9v",
26058+
"shape": "S9w",
2604926059
"locationName": "launchTemplateSpecification"
2605026060
},
2605126061
"Overrides": {

apis/ec2-2016-11-15.normal.json

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5252,7 +5252,7 @@
52525252
"output": {
52535253
"shape": "ModifyInstancePlacementResult"
52545254
},
5255-
"documentation": "<p>Modifies the placement attributes for a specified instance. You can do the following:</p> <ul> <li> <p>Modify the affinity between an instance and a <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html\">Dedicated Host</a>. When affinity is set to <code>host</code> and the instance is not associated with a specific Dedicated Host, the next time the instance is launched, it is automatically associated with the host on which it lands. If the instance is restarted or rebooted, this relationship persists.</p> </li> <li> <p>Change the Dedicated Host with which an instance is associated.</p> </li> <li> <p>Change the instance tenancy of an instance from <code>host</code> to <code>dedicated</code>, or from <code>dedicated</code> to <code>host</code>.</p> </li> <li> <p>Move an instance to or from a <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html\">placement group</a>.</p> </li> </ul> <p>At least one attribute for affinity, host ID, tenancy, or placement group name must be specified in the request. Affinity and tenancy can be modified in the same request.</p> <p>To modify the host ID, tenancy, placement group, or partition for an instance, the instance must be in the <code>stopped</code> state.</p>"
5255+
"documentation": "<p>Modifies the placement attributes for a specified instance. You can do the following:</p> <ul> <li> <p>Modify the affinity between an instance and a <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html\">Dedicated Host</a>. When affinity is set to <code>host</code> and the instance is not associated with a specific Dedicated Host, the next time the instance is launched, it is automatically associated with the host on which it lands. If the instance is restarted or rebooted, this relationship persists.</p> </li> <li> <p>Change the Dedicated Host with which an instance is associated.</p> </li> <li> <p>Change the instance tenancy of an instance.</p> </li> <li> <p>Move an instance to or from a <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html\">placement group</a>.</p> </li> </ul> <p>At least one attribute for affinity, host ID, tenancy, or placement group name must be specified in the request. Affinity and tenancy can be modified in the same request.</p> <p>To modify the host ID, tenancy, placement group, or partition for an instance, the instance must be in the <code>stopped</code> state.</p>"
52565256
},
52575257
"ModifyLaunchTemplate": {
52585258
"name": "ModifyLaunchTemplate",
@@ -27941,7 +27941,7 @@
2794127941
},
2794227942
"Licenses": {
2794327943
"shape": "LicenseList",
27944-
"documentation": "<p>The license configurations.</p>",
27944+
"documentation": "<p>The license configurations for the instance.</p>",
2794527945
"locationName": "licenseSet"
2794627946
},
2794727947
"MetadataOptions": {
@@ -27958,6 +27958,21 @@
2795827958
"shape": "BootModeValues",
2795927959
"documentation": "<p>The boot mode of the instance. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html\">Boot modes</a> in the <i>Amazon EC2 User Guide</i>.</p>",
2796027960
"locationName": "bootMode"
27961+
},
27962+
"PlatformDetails": {
27963+
"shape": "String",
27964+
"documentation": "<p>The platform details value for the instance. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html\">AMI billing information fields</a> in the <i>Amazon EC2 User Guide</i>.</p>",
27965+
"locationName": "platformDetails"
27966+
},
27967+
"UsageOperation": {
27968+
"shape": "String",
27969+
"documentation": "<p>The usage operation value for the instance. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html\">AMI billing information fields</a> in the <i>Amazon EC2 User Guide</i>.</p>",
27970+
"locationName": "usageOperation"
27971+
},
27972+
"UsageOperationUpdateTime": {
27973+
"shape": "MillisecondDateTime",
27974+
"documentation": "<p>The time that the usage operation was last updated.</p>",
27975+
"locationName": "usageOperationUpdateTime"
2796127976
}
2796227977
},
2796327978
"documentation": "<p>Describes an instance.</p>"
@@ -33147,7 +33162,7 @@
3314733162
},
3314833163
"Tenancy": {
3314933164
"shape": "HostTenancy",
33150-
"documentation": "<p>The tenancy for the instance.</p> <p>For T3 instances, you can't change the tenancy from <code>dedicated</code> to <code>host</code>, or from <code>host</code> to <code>dedicated</code>. Attempting to make one of these unsupported tenancy changes results in the <code>InvalidTenancy</code> error code.</p>",
33165+
"documentation": "<p>The tenancy for the instance.</p> <note> <p>For T3 instances, you can't change the tenancy from <code>dedicated</code> to <code>host</code>, or from <code>host</code> to <code>dedicated</code>. Attempting to make one of these unsupported tenancy changes results in the <code>InvalidTenancy</code> error code.</p> </note>",
3315133166
"locationName": "tenancy"
3315233167
},
3315333168
"PartitionNumber": {
@@ -36008,7 +36023,7 @@
3600836023
"locationName": "affinity"
3600936024
},
3601036025
"GroupName": {
36011-
"shape": "String",
36026+
"shape": "PlacementGroupName",
3601236027
"documentation": "<p>The name of the placement group the instance is in.</p>",
3601336028
"locationName": "groupName"
3601436029
},

apis/license-manager-2018-08-01.min.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@
120120
"SignedToken": {},
121121
"NodeId": {},
122122
"IssuedAt": {},
123-
"Expiration": {}
123+
"Expiration": {},
124+
"LicenseArn": {}
124125
}
125126
}
126127
},

apis/license-manager-2018-08-01.normal.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,6 +1986,10 @@
19861986
"Expiration": {
19871987
"shape": "ISO8601DateTime",
19881988
"documentation": "<p>Date and time at which the license checkout expires.</p>"
1989+
},
1990+
"LicenseArn": {
1991+
"shape": "String",
1992+
"documentation": "<p>Amazon Resource Name (ARN) of the checkout license.</p>"
19891993
}
19901994
}
19911995
},

clients/ec2.d.ts

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3069,11 +3069,11 @@ declare class EC2 extends Service {
30693069
*/
30703070
modifyInstanceMetadataOptions(callback?: (err: AWSError, data: EC2.Types.ModifyInstanceMetadataOptionsResult) => void): Request<EC2.Types.ModifyInstanceMetadataOptionsResult, AWSError>;
30713071
/**
3072-
* Modifies the placement attributes for a specified instance. You can do the following: Modify the affinity between an instance and a Dedicated Host. When affinity is set to host and the instance is not associated with a specific Dedicated Host, the next time the instance is launched, it is automatically associated with the host on which it lands. If the instance is restarted or rebooted, this relationship persists. Change the Dedicated Host with which an instance is associated. Change the instance tenancy of an instance from host to dedicated, or from dedicated to host. Move an instance to or from a placement group. At least one attribute for affinity, host ID, tenancy, or placement group name must be specified in the request. Affinity and tenancy can be modified in the same request. To modify the host ID, tenancy, placement group, or partition for an instance, the instance must be in the stopped state.
3072+
* Modifies the placement attributes for a specified instance. You can do the following: Modify the affinity between an instance and a Dedicated Host. When affinity is set to host and the instance is not associated with a specific Dedicated Host, the next time the instance is launched, it is automatically associated with the host on which it lands. If the instance is restarted or rebooted, this relationship persists. Change the Dedicated Host with which an instance is associated. Change the instance tenancy of an instance. Move an instance to or from a placement group. At least one attribute for affinity, host ID, tenancy, or placement group name must be specified in the request. Affinity and tenancy can be modified in the same request. To modify the host ID, tenancy, placement group, or partition for an instance, the instance must be in the stopped state.
30733073
*/
30743074
modifyInstancePlacement(params: EC2.Types.ModifyInstancePlacementRequest, callback?: (err: AWSError, data: EC2.Types.ModifyInstancePlacementResult) => void): Request<EC2.Types.ModifyInstancePlacementResult, AWSError>;
30753075
/**
3076-
* Modifies the placement attributes for a specified instance. You can do the following: Modify the affinity between an instance and a Dedicated Host. When affinity is set to host and the instance is not associated with a specific Dedicated Host, the next time the instance is launched, it is automatically associated with the host on which it lands. If the instance is restarted or rebooted, this relationship persists. Change the Dedicated Host with which an instance is associated. Change the instance tenancy of an instance from host to dedicated, or from dedicated to host. Move an instance to or from a placement group. At least one attribute for affinity, host ID, tenancy, or placement group name must be specified in the request. Affinity and tenancy can be modified in the same request. To modify the host ID, tenancy, placement group, or partition for an instance, the instance must be in the stopped state.
3076+
* Modifies the placement attributes for a specified instance. You can do the following: Modify the affinity between an instance and a Dedicated Host. When affinity is set to host and the instance is not associated with a specific Dedicated Host, the next time the instance is launched, it is automatically associated with the host on which it lands. If the instance is restarted or rebooted, this relationship persists. Change the Dedicated Host with which an instance is associated. Change the instance tenancy of an instance. Move an instance to or from a placement group. At least one attribute for affinity, host ID, tenancy, or placement group name must be specified in the request. Affinity and tenancy can be modified in the same request. To modify the host ID, tenancy, placement group, or partition for an instance, the instance must be in the stopped state.
30773077
*/
30783078
modifyInstancePlacement(callback?: (err: AWSError, data: EC2.Types.ModifyInstancePlacementResult) => void): Request<EC2.Types.ModifyInstancePlacementResult, AWSError>;
30793079
/**
@@ -17990,7 +17990,7 @@ declare namespace EC2 {
1799017990
*/
1799117991
HibernationOptions?: HibernationOptions;
1799217992
/**
17993-
* The license configurations.
17993+
* The license configurations for the instance.
1799417994
*/
1799517995
Licenses?: LicenseList;
1799617996
/**
@@ -18005,6 +18005,18 @@ declare namespace EC2 {
1800518005
* The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide.
1800618006
*/
1800718007
BootMode?: BootModeValues;
18008+
/**
18009+
* The platform details value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.
18010+
*/
18011+
PlatformDetails?: String;
18012+
/**
18013+
* The usage operation value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.
18014+
*/
18015+
UsageOperation?: String;
18016+
/**
18017+
* The time that the usage operation was last updated.
18018+
*/
18019+
UsageOperationUpdateTime?: MillisecondDateTime;
1800818020
}
1800918021
export interface InstanceAttribute {
1801018022
/**
@@ -20857,7 +20869,7 @@ declare namespace EC2 {
2085720869
*/
2085820870
InstanceId: InstanceId;
2085920871
/**
20860-
* The tenancy for the instance. For T3 instances, you can't change the tenancy from dedicated to host, or from host to dedicated. Attempting to make one of these unsupported tenancy changes results in the InvalidTenancy error code.
20872+
* The tenancy for the instance. For T3 instances, you can't change the tenancy from dedicated to host, or from host to dedicated. Attempting to make one of these unsupported tenancy changes results in the InvalidTenancy error code.
2086120873
*/
2086220874
Tenancy?: HostTenancy;
2086320875
/**
@@ -22672,7 +22684,7 @@ declare namespace EC2 {
2267222684
/**
2267322685
* The name of the placement group the instance is in.
2267422686
*/
22675-
GroupName?: String;
22687+
GroupName?: PlacementGroupName;
2267622688
/**
2267722689
* The number of the partition the instance is in. Valid only if the placement group strategy is set to partition. This parameter is not supported by CreateFleet.
2267822690
*/

clients/licensemanager.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,10 @@ declare namespace LicenseManager {
572572
* Date and time at which the license checkout expires.
573573
*/
574574
Expiration?: ISO8601DateTime;
575+
/**
576+
* Amazon Resource Name (ARN) of the checkout license.
577+
*/
578+
LicenseArn?: String;
575579
}
576580
export type CheckoutType = "PROVISIONAL"|"PERPETUAL"|string;
577581
export type ClientRequestToken = string;

dist/aws-sdk-core-react-native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
8383
/**
8484
* @constant
8585
*/
86-
VERSION: '2.994.0',
86+
VERSION: '2.995.0',
8787

8888
/**
8989
* @api private

dist/aws-sdk-react-native.js

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)