aws-sdk 2.994.0 → 2.995.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/CHANGELOG.md +5 -1
- package/README.md +1 -1
- package/apis/ec2-2016-11-15.min.json +25 -15
- package/apis/license-manager-2018-08-01.min.json +2 -1
- package/clients/ec2.d.ts +17 -5
- package/clients/licensemanager.d.ts +4 -0
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +3 -3
- package/dist/aws-sdk.js +28 -18
- package/dist/aws-sdk.min.js +62 -62
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
# Changelog for AWS SDK for JavaScript
|
|
2
|
-
<!--LATEST=2.
|
|
2
|
+
<!--LATEST=2.995.0-->
|
|
3
3
|
<!--ENTRYINSERT-->
|
|
4
4
|
|
|
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
|
+
|
|
5
9
|
## 2.994.0
|
|
6
10
|
* bugfix: HttpRequest: Allows request body to be either a string or a buffer
|
|
7
11
|
* feature: AppSync: Documented the new OpenSearchServiceDataSourceConfig data type. Added deprecation notes to the ElasticsearchDataSourceConfig data type.
|
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
|
|
|
29
29
|
To use the SDK in the browser, simply add the following script tag to your
|
|
30
30
|
HTML pages:
|
|
31
31
|
|
|
32
|
-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.
|
|
32
|
+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.995.0.min.js"></script>
|
|
33
33
|
|
|
34
34
|
You can also build a custom browser SDK with your specified set of AWS services.
|
|
35
35
|
This can allow you to reduce the SDK's size, specify different API versions of
|
|
@@ -1875,7 +1875,7 @@
|
|
|
1875
1875
|
"shape": "S9e"
|
|
1876
1876
|
},
|
|
1877
1877
|
"TargetCapacitySpecification": {
|
|
1878
|
-
"shape": "
|
|
1878
|
+
"shape": "S9o"
|
|
1879
1879
|
},
|
|
1880
1880
|
"TerminateInstancesWithExpiration": {
|
|
1881
1881
|
"type": "boolean"
|
|
@@ -1911,7 +1911,7 @@
|
|
|
1911
1911
|
"type": "structure",
|
|
1912
1912
|
"members": {
|
|
1913
1913
|
"LaunchTemplateAndOverrides": {
|
|
1914
|
-
"shape": "
|
|
1914
|
+
"shape": "S9v",
|
|
1915
1915
|
"locationName": "launchTemplateAndOverrides"
|
|
1916
1916
|
},
|
|
1917
1917
|
"Lifecycle": {
|
|
@@ -1934,7 +1934,7 @@
|
|
|
1934
1934
|
"type": "structure",
|
|
1935
1935
|
"members": {
|
|
1936
1936
|
"LaunchTemplateAndOverrides": {
|
|
1937
|
-
"shape": "
|
|
1937
|
+
"shape": "S9v",
|
|
1938
1938
|
"locationName": "launchTemplateAndOverrides"
|
|
1939
1939
|
},
|
|
1940
1940
|
"Lifecycle": {
|
|
@@ -7110,14 +7110,14 @@
|
|
|
7110
7110
|
"type": "structure",
|
|
7111
7111
|
"members": {
|
|
7112
7112
|
"LaunchTemplateSpecification": {
|
|
7113
|
-
"shape": "
|
|
7113
|
+
"shape": "S9w",
|
|
7114
7114
|
"locationName": "launchTemplateSpecification"
|
|
7115
7115
|
},
|
|
7116
7116
|
"Overrides": {
|
|
7117
7117
|
"locationName": "overrides",
|
|
7118
7118
|
"type": "list",
|
|
7119
7119
|
"member": {
|
|
7120
|
-
"shape": "
|
|
7120
|
+
"shape": "S9x",
|
|
7121
7121
|
"locationName": "item"
|
|
7122
7122
|
}
|
|
7123
7123
|
}
|
|
@@ -7255,7 +7255,7 @@
|
|
|
7255
7255
|
"type": "structure",
|
|
7256
7256
|
"members": {
|
|
7257
7257
|
"LaunchTemplateAndOverrides": {
|
|
7258
|
-
"shape": "
|
|
7258
|
+
"shape": "S9v",
|
|
7259
7259
|
"locationName": "launchTemplateAndOverrides"
|
|
7260
7260
|
},
|
|
7261
7261
|
"Lifecycle": {
|
|
@@ -7278,7 +7278,7 @@
|
|
|
7278
7278
|
"type": "structure",
|
|
7279
7279
|
"members": {
|
|
7280
7280
|
"LaunchTemplateAndOverrides": {
|
|
7281
|
-
"shape": "
|
|
7281
|
+
"shape": "S9v",
|
|
7282
7282
|
"locationName": "launchTemplateAndOverrides"
|
|
7283
7283
|
},
|
|
7284
7284
|
"Lifecycle": {
|
|
@@ -15768,7 +15768,7 @@
|
|
|
15768
15768
|
},
|
|
15769
15769
|
"FleetId": {},
|
|
15770
15770
|
"TargetCapacitySpecification": {
|
|
15771
|
-
"shape": "
|
|
15771
|
+
"shape": "S9o"
|
|
15772
15772
|
},
|
|
15773
15773
|
"Context": {}
|
|
15774
15774
|
}
|
|
@@ -20902,7 +20902,7 @@
|
|
|
20902
20902
|
}
|
|
20903
20903
|
}
|
|
20904
20904
|
},
|
|
20905
|
-
"
|
|
20905
|
+
"S9o": {
|
|
20906
20906
|
"type": "structure",
|
|
20907
20907
|
"required": [
|
|
20908
20908
|
"TotalTargetCapacity"
|
|
@@ -20920,20 +20920,20 @@
|
|
|
20920
20920
|
"DefaultTargetCapacityType": {}
|
|
20921
20921
|
}
|
|
20922
20922
|
},
|
|
20923
|
-
"
|
|
20923
|
+
"S9v": {
|
|
20924
20924
|
"type": "structure",
|
|
20925
20925
|
"members": {
|
|
20926
20926
|
"LaunchTemplateSpecification": {
|
|
20927
|
-
"shape": "
|
|
20927
|
+
"shape": "S9w",
|
|
20928
20928
|
"locationName": "launchTemplateSpecification"
|
|
20929
20929
|
},
|
|
20930
20930
|
"Overrides": {
|
|
20931
|
-
"shape": "
|
|
20931
|
+
"shape": "S9x",
|
|
20932
20932
|
"locationName": "overrides"
|
|
20933
20933
|
}
|
|
20934
20934
|
}
|
|
20935
20935
|
},
|
|
20936
|
-
"
|
|
20936
|
+
"S9w": {
|
|
20937
20937
|
"type": "structure",
|
|
20938
20938
|
"members": {
|
|
20939
20939
|
"LaunchTemplateId": {
|
|
@@ -20947,7 +20947,7 @@
|
|
|
20947
20947
|
}
|
|
20948
20948
|
}
|
|
20949
20949
|
},
|
|
20950
|
-
"
|
|
20950
|
+
"S9x": {
|
|
20951
20951
|
"type": "structure",
|
|
20952
20952
|
"members": {
|
|
20953
20953
|
"InstanceType": {
|
|
@@ -25011,6 +25011,16 @@
|
|
|
25011
25011
|
},
|
|
25012
25012
|
"BootMode": {
|
|
25013
25013
|
"locationName": "bootMode"
|
|
25014
|
+
},
|
|
25015
|
+
"PlatformDetails": {
|
|
25016
|
+
"locationName": "platformDetails"
|
|
25017
|
+
},
|
|
25018
|
+
"UsageOperation": {
|
|
25019
|
+
"locationName": "usageOperation"
|
|
25020
|
+
},
|
|
25021
|
+
"UsageOperationUpdateTime": {
|
|
25022
|
+
"locationName": "usageOperationUpdateTime",
|
|
25023
|
+
"type": "timestamp"
|
|
25014
25024
|
}
|
|
25015
25025
|
}
|
|
25016
25026
|
}
|
|
@@ -26045,7 +26055,7 @@
|
|
|
26045
26055
|
"type": "structure",
|
|
26046
26056
|
"members": {
|
|
26047
26057
|
"LaunchTemplateSpecification": {
|
|
26048
|
-
"shape": "
|
|
26058
|
+
"shape": "S9w",
|
|
26049
26059
|
"locationName": "launchTemplateSpecification"
|
|
26050
26060
|
},
|
|
26051
26061
|
"Overrides": {
|
package/clients/ec2.d.ts
CHANGED
|
@@ -3069,11 +3069,11 @@ declare class EC2 extends Service {
|
|
|
3069
3069
|
*/
|
|
3070
3070
|
modifyInstanceMetadataOptions(callback?: (err: AWSError, data: EC2.Types.ModifyInstanceMetadataOptionsResult) => void): Request<EC2.Types.ModifyInstanceMetadataOptionsResult, AWSError>;
|
|
3071
3071
|
/**
|
|
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
|
|
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.
|
|
3073
3073
|
*/
|
|
3074
3074
|
modifyInstancePlacement(params: EC2.Types.ModifyInstancePlacementRequest, callback?: (err: AWSError, data: EC2.Types.ModifyInstancePlacementResult) => void): Request<EC2.Types.ModifyInstancePlacementResult, AWSError>;
|
|
3075
3075
|
/**
|
|
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
|
|
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.
|
|
3077
3077
|
*/
|
|
3078
3078
|
modifyInstancePlacement(callback?: (err: AWSError, data: EC2.Types.ModifyInstancePlacementResult) => void): Request<EC2.Types.ModifyInstancePlacementResult, AWSError>;
|
|
3079
3079
|
/**
|
|
@@ -17990,7 +17990,7 @@ declare namespace EC2 {
|
|
|
17990
17990
|
*/
|
|
17991
17991
|
HibernationOptions?: HibernationOptions;
|
|
17992
17992
|
/**
|
|
17993
|
-
* The license configurations.
|
|
17993
|
+
* The license configurations for the instance.
|
|
17994
17994
|
*/
|
|
17995
17995
|
Licenses?: LicenseList;
|
|
17996
17996
|
/**
|
|
@@ -18005,6 +18005,18 @@ declare namespace EC2 {
|
|
|
18005
18005
|
* The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide.
|
|
18006
18006
|
*/
|
|
18007
18007
|
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;
|
|
18008
18020
|
}
|
|
18009
18021
|
export interface InstanceAttribute {
|
|
18010
18022
|
/**
|
|
@@ -20857,7 +20869,7 @@ declare namespace EC2 {
|
|
|
20857
20869
|
*/
|
|
20858
20870
|
InstanceId: InstanceId;
|
|
20859
20871
|
/**
|
|
20860
|
-
* The tenancy for the instance.
|
|
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.
|
|
20861
20873
|
*/
|
|
20862
20874
|
Tenancy?: HostTenancy;
|
|
20863
20875
|
/**
|
|
@@ -22672,7 +22684,7 @@ declare namespace EC2 {
|
|
|
22672
22684
|
/**
|
|
22673
22685
|
* The name of the placement group the instance is in.
|
|
22674
22686
|
*/
|
|
22675
|
-
GroupName?:
|
|
22687
|
+
GroupName?: PlacementGroupName;
|
|
22676
22688
|
/**
|
|
22677
22689
|
* 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.
|
|
22678
22690
|
*/
|
|
@@ -572,6 +572,10 @@ declare namespace LicenseManager {
|
|
|
572
572
|
* Date and time at which the license checkout expires.
|
|
573
573
|
*/
|
|
574
574
|
Expiration?: ISO8601DateTime;
|
|
575
|
+
/**
|
|
576
|
+
* Amazon Resource Name (ARN) of the checkout license.
|
|
577
|
+
*/
|
|
578
|
+
LicenseArn?: String;
|
|
575
579
|
}
|
|
576
580
|
export type CheckoutType = "PROVISIONAL"|"PERPETUAL"|string;
|
|
577
581
|
export type ClientRequestToken = string;
|