Skip to content

Commit

Permalink
Updates SDK to v2.48.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Apr 28, 2017
1 parent 207593d commit 33924ac
Show file tree
Hide file tree
Showing 11 changed files with 174 additions and 50 deletions.
7 changes: 7 additions & 0 deletions .changes/2.48.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "feature",
"category": "CloudFormation",
"description": "Adding back the removed waiters and paginators."
}
]
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.47.0-->
<!--LATEST=2.48.0-->
<!--ENTRYINSERT-->

## 2.48.0
* feature: CloudFormation: Adding back the removed waiters and paginators.

## 2.47.0
* feature: CloudFormation: API update for CloudFormation: New optional parameter ClientRequestToken which can be used as an idempotency token to safely retry certain operations as well as tagging StackEvents.
* feature: RDS: The DescribeDBClusterSnapshots API now returns a SourceDBClusterSnapshotArn field which identifies the source DB cluster snapshot of a copied snapshot.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ to work with the new major version.
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.47.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.48.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
10 changes: 10 additions & 0 deletions apis/cloudformation-2010-05-15.paginators.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
"output_token": "NextToken",
"result_key": "Stacks"
},
"ListExports": {
"input_token": "NextToken",
"output_token": "NextToken",
"result_key": "Exports"
},
"ListImports": {
"input_token": "NextToken",
"output_token": "NextToken",
"result_key": "Imports"
},
"ListStackResources": {
"input_token": "NextToken",
"output_token": "NextToken",
Expand Down
25 changes: 25 additions & 0 deletions apis/cloudformation-2010-05-15.waiters2.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,31 @@
"state": "failure"
}
]
},
"ChangeSetCreateComplete": {
"delay": 30,
"operation": "DescribeChangeSet",
"maxAttempts": 120,
"description": "Wait until change set status is CREATE_COMPLETE.",
"acceptors": [
{
"argument": "Status",
"expected": "CREATE_COMPLETE",
"matcher": "path",
"state": "success"
},
{
"argument": "Status",
"expected": "FAILED",
"matcher": "path",
"state": "failure"
},
{
"expected": "ValidationError",
"matcher": "error",
"state": "failure"
}
]
}
}
}
8 changes: 8 additions & 0 deletions clients/cloudformation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,14 @@ declare class CloudFormation extends Service {
* Waits for the stackUpdateComplete state by periodically calling the underlying CloudFormation.describeStacksoperation every 30 seconds (at most 120 times). Wait until stack status is UPDATE_COMPLETE.
*/
waitFor(state: "stackUpdateComplete", callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request<CloudFormation.Types.DescribeStacksOutput, AWSError>;
/**
* Waits for the changeSetCreateComplete state by periodically calling the underlying CloudFormation.describeChangeSetoperation every 30 seconds (at most 120 times). Wait until change set status is CREATE_COMPLETE.
*/
waitFor(state: "changeSetCreateComplete", params: CloudFormation.Types.DescribeChangeSetInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeChangeSetOutput) => void): Request<CloudFormation.Types.DescribeChangeSetOutput, AWSError>;
/**
* Waits for the changeSetCreateComplete state by periodically calling the underlying CloudFormation.describeChangeSetoperation every 30 seconds (at most 120 times). Wait until change set status is CREATE_COMPLETE.
*/
waitFor(state: "changeSetCreateComplete", callback?: (err: AWSError, data: CloudFormation.Types.DescribeChangeSetOutput) => void): Request<CloudFormation.Types.DescribeChangeSetOutput, AWSError>;
}
declare namespace CloudFormation {
export interface AccountLimit {
Expand Down
37 changes: 36 additions & 1 deletion dist/aws-sdk-react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ AWS.util.update(AWS, {
/**
* @constant
*/
VERSION: '2.47.0',
VERSION: '2.48.0',

/**
* @api private
Expand Down Expand Up @@ -32222,6 +32222,16 @@ module.exports = {
"output_token": "NextToken",
"result_key": "Stacks"
},
"ListExports": {
"input_token": "NextToken",
"output_token": "NextToken",
"result_key": "Exports"
},
"ListImports": {
"input_token": "NextToken",
"output_token": "NextToken",
"result_key": "Imports"
},
"ListStackResources": {
"input_token": "NextToken",
"output_token": "NextToken",
Expand Down Expand Up @@ -32393,6 +32403,31 @@ module.exports = {
"state": "failure"
}
]
},
"ChangeSetCreateComplete": {
"delay": 30,
"operation": "DescribeChangeSet",
"maxAttempts": 120,
"description": "Wait until change set status is CREATE_COMPLETE.",
"acceptors": [
{
"argument": "Status",
"expected": "CREATE_COMPLETE",
"matcher": "path",
"state": "success"
},
{
"argument": "Status",
"expected": "FAILED",
"matcher": "path",
"state": "failure"
},
{
"expected": "ValidationError",
"matcher": "error",
"state": "failure"
}
]
}
}
};
Expand Down
39 changes: 37 additions & 2 deletions dist/aws-sdk.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// AWS SDK for JavaScript v2.47.0
// AWS SDK for JavaScript v2.48.0
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
Expand Down Expand Up @@ -7178,6 +7178,16 @@ module.exports={
"output_token": "NextToken",
"result_key": "Stacks"
},
"ListExports": {
"input_token": "NextToken",
"output_token": "NextToken",
"result_key": "Exports"
},
"ListImports": {
"input_token": "NextToken",
"output_token": "NextToken",
"result_key": "Imports"
},
"ListStackResources": {
"input_token": "NextToken",
"output_token": "NextToken",
Expand Down Expand Up @@ -7345,6 +7355,31 @@ module.exports={
"state": "failure"
}
]
},
"ChangeSetCreateComplete": {
"delay": 30,
"operation": "DescribeChangeSet",
"maxAttempts": 120,
"description": "Wait until change set status is CREATE_COMPLETE.",
"acceptors": [
{
"argument": "Status",
"expected": "CREATE_COMPLETE",
"matcher": "path",
"state": "success"
},
{
"argument": "Status",
"expected": "FAILED",
"matcher": "path",
"state": "failure"
},
{
"expected": "ValidationError",
"matcher": "error",
"state": "failure"
}
]
}
}
}
Expand Down Expand Up @@ -101032,7 +101067,7 @@ module.exports = AWS;
AWS.util.update(AWS, {


VERSION: '2.47.0',
VERSION: '2.48.0',


Signers: {},
Expand Down
87 changes: 44 additions & 43 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 @@ -17,7 +17,7 @@ AWS.util.update(AWS, {
/**
* @constant
*/
VERSION: '2.47.0',
VERSION: '2.48.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.47.0",
"version": "2.48.0",
"author": {
"name": "Amazon Web Services",
"email": "",
Expand Down

0 comments on commit 33924ac

Please sign in to comment.