Skip to content

Commit

Permalink
Updates SDK to v2.889.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Apr 19, 2021
1 parent 6efa2fe commit 658790c
Show file tree
Hide file tree
Showing 14 changed files with 54 additions and 27 deletions.
12 changes: 12 additions & 0 deletions .changes/2.889.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"type": "feature",
"category": "CostExplorer",
"description": "Adding support for Sagemaker savings plans in GetSavingsPlansPurchaseRecommendation API"
},
{
"type": "feature",
"category": "SavingsPlans",
"description": "Added support for Amazon SageMaker in Machine Learning Savings Plans"
}
]
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.888.0-->
<!--LATEST=2.889.0-->
<!--ENTRYINSERT-->

## 2.889.0
* feature: CostExplorer: Adding support for Sagemaker savings plans in GetSavingsPlansPurchaseRecommendation API
* feature: SavingsPlans: Added support for Amazon SageMaker in Machine Learning Savings Plans

## 2.888.0
* feature: DMS: AWS DMS added support of TLS for Kafka endpoint. Added Describe endpoint setting API for DMS endpoints.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
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.888.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.889.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
2 changes: 2 additions & 0 deletions apis/ce-2017-10-25.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@
"type": "structure",
"required": [
"TimePeriod",
"Granularity",
"Metrics"
],
"members": {
Expand Down Expand Up @@ -388,6 +389,7 @@
"type": "structure",
"required": [
"TimePeriod",
"Granularity",
"Filter"
],
"members": {
Expand Down
5 changes: 4 additions & 1 deletion apis/ce-2017-10-25.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -2019,6 +2019,7 @@
"type": "structure",
"required": [
"TimePeriod",
"Granularity",
"Metrics"
],
"members": {
Expand Down Expand Up @@ -2073,6 +2074,7 @@
"type": "structure",
"required": [
"TimePeriod",
"Granularity",
"Filter"
],
"members": {
Expand Down Expand Up @@ -4254,7 +4256,8 @@
"type": "string",
"enum": [
"COMPUTE_SP",
"EC2_INSTANCE_SP"
"EC2_INSTANCE_SP",
"SAGEMAKER_SP"
]
},
"TagKey": {
Expand Down
10 changes: 7 additions & 3 deletions apis/savingsplans-2019-06-28.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,8 @@
"enum": [
"EC2",
"Fargate",
"Lambda"
"Lambda",
"SageMaker"
]
},
"SavingsPlanProductTypeList": {
Expand Down Expand Up @@ -1130,7 +1131,9 @@
"enum": [
"AmazonEC2",
"AmazonECS",
"AWSLambda"
"AmazonEKS",
"AWSLambda",
"AmazonSageMaker"
]
},
"SavingsPlanRateServiceCodeList": {
Expand Down Expand Up @@ -1190,7 +1193,8 @@
"type": "string",
"enum": [
"Compute",
"EC2Instance"
"EC2Instance",
"SageMaker"
]
},
"SavingsPlanTypeList": {
Expand Down
6 changes: 3 additions & 3 deletions clients/costexplorer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ declare namespace CostExplorer {
/**
* Sets the AWS cost granularity to MONTHLY or DAILY, or HOURLY. If Granularity isn't set, the response object doesn't include the Granularity, either MONTHLY or DAILY, or HOURLY.
*/
Granularity?: Granularity;
Granularity: Granularity;
/**
* Filters AWS costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression.
*/
Expand Down Expand Up @@ -1097,7 +1097,7 @@ declare namespace CostExplorer {
/**
* Sets the AWS cost granularity to MONTHLY, DAILY, or HOURLY. If Granularity isn't set, the response object doesn't include the Granularity, MONTHLY, DAILY, or HOURLY.
*/
Granularity?: Granularity;
Granularity: Granularity;
/**
* Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression. The GetCostAndUsageWithResources operation requires that you either group by or filter by a ResourceId. It requires the Expression "SERVICE = Amazon Elastic Compute Cloud - Compute" in the filter.
*/
Expand Down Expand Up @@ -2582,7 +2582,7 @@ declare namespace CostExplorer {
export type SubscriberStatus = "CONFIRMED"|"DECLINED"|string;
export type SubscriberType = "EMAIL"|"SNS"|string;
export type Subscribers = Subscriber[];
export type SupportedSavingsPlansType = "COMPUTE_SP"|"EC2_INSTANCE_SP"|string;
export type SupportedSavingsPlansType = "COMPUTE_SP"|"EC2_INSTANCE_SP"|"SAGEMAKER_SP"|string;
export type TagKey = string;
export type TagList = Entity[];
export interface TagValues {
Expand Down
6 changes: 3 additions & 3 deletions clients/savingsplans.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ declare namespace SavingsPlans {
export type SavingsPlanOperationList = SavingsPlanOperation[];
export type SavingsPlanPaymentOption = "All Upfront"|"Partial Upfront"|"No Upfront"|string;
export type SavingsPlanPaymentOptionList = SavingsPlanPaymentOption[];
export type SavingsPlanProductType = "EC2"|"Fargate"|"Lambda"|string;
export type SavingsPlanProductType = "EC2"|"Fargate"|"Lambda"|"SageMaker"|string;
export type SavingsPlanProductTypeList = SavingsPlanProductType[];
export interface SavingsPlanRate {
/**
Expand Down Expand Up @@ -651,7 +651,7 @@ declare namespace SavingsPlans {
}
export type SavingsPlanRatePropertyKey = "region"|"instanceType"|"instanceFamily"|"productDescription"|"tenancy"|string;
export type SavingsPlanRatePropertyList = SavingsPlanRateProperty[];
export type SavingsPlanRateServiceCode = "AmazonEC2"|"AmazonECS"|"AWSLambda"|string;
export type SavingsPlanRateServiceCode = "AmazonEC2"|"AmazonECS"|"AmazonEKS"|"AWSLambda"|"AmazonSageMaker"|string;
export type SavingsPlanRateServiceCodeList = SavingsPlanRateServiceCode[];
export type SavingsPlanRateUnit = "Hrs"|"Lambda-GB-Second"|"Request"|string;
export type SavingsPlanRateUsageType = string;
Expand All @@ -660,7 +660,7 @@ declare namespace SavingsPlans {
export type SavingsPlanServiceCodeList = SavingsPlanServiceCode[];
export type SavingsPlanState = "payment-pending"|"payment-failed"|"active"|"retired"|"queued"|"queued-deleted"|string;
export type SavingsPlanStateList = SavingsPlanState[];
export type SavingsPlanType = "Compute"|"EC2Instance"|string;
export type SavingsPlanType = "Compute"|"EC2Instance"|"SageMaker"|string;
export type SavingsPlanTypeList = SavingsPlanType[];
export type SavingsPlanUsageType = string;
export type SavingsPlanUsageTypeList = SavingsPlanUsageType[];
Expand Down
2 changes: 1 addition & 1 deletion dist/aws-sdk-core-react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
/**
* @constant
*/
VERSION: '2.888.0',
VERSION: '2.889.0',

/**
* @api private
Expand Down
4 changes: 2 additions & 2 deletions dist/aws-sdk-react-native.js

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions dist/aws-sdk.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// AWS SDK for JavaScript v2.888.0
// AWS SDK for JavaScript v2.889.0
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
Expand Down Expand Up @@ -8126,6 +8126,7 @@ module.exports={
"type": "structure",
"required": [
"TimePeriod",
"Granularity",
"Metrics"
],
"members": {
Expand Down Expand Up @@ -8166,6 +8167,7 @@ module.exports={
"type": "structure",
"required": [
"TimePeriod",
"Granularity",
"Filter"
],
"members": {
Expand Down Expand Up @@ -216445,7 +216447,7 @@ AWS.util.update(AWS, {
/**
* @constant
*/
VERSION: '2.888.0',
VERSION: '2.889.0',

/**
* @api private
Expand Down Expand Up @@ -237664,7 +237666,7 @@ var LRUCache = /** @class */ (function () {
}());
exports.LRUCache = LRUCache;
},{}],442:[function(require,module,exports){
// AWS SDK for JavaScript v2.888.0
// AWS SDK for JavaScript v2.889.0
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
require('./browser_loader');
Expand Down
14 changes: 7 additions & 7 deletions dist/aws-sdk.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ AWS.util.update(AWS, {
/**
* @constant
*/
VERSION: '2.888.0',
VERSION: '2.889.0',

/**
* @api private
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aws-sdk",
"description": "AWS SDK for JavaScript",
"version": "2.888.0",
"version": "2.889.0",
"author": {
"name": "Amazon Web Services",
"email": "",
Expand Down

0 comments on commit 658790c

Please sign in to comment.