Skip to content

Commit

Permalink
Updates SDK to v2.441.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Apr 19, 2019
1 parent 6fdf03c commit 5ade36c
Show file tree
Hide file tree
Showing 19 changed files with 1,267 additions and 536 deletions.
22 changes: 22 additions & 0 deletions .changes/2.441.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"type": "feature",
"category": "CostExplorer",
"description": "enable cors"
},
{
"type": "feature",
"category": "ResourceGroups",
"description": "The AWS Resource Groups service increased the query size limit to 4096 bytes."
},
{
"type": "feature",
"category": "TranscribeService",
"description": "Amazon Transcribe - support transcriptions from audio sources in Spanish Spanish (es-ES)."
},
{
"type": "feature",
"category": "WorkSpaces",
"description": "Added a new reserved field."
}
]
5 changes: 0 additions & 5 deletions .changes/next-release/feature-CostExplorer-3fe24920.json

This file was deleted.

8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.440.0-->
<!--LATEST=2.441.0-->
<!--ENTRYINSERT-->

## 2.441.0
* feature: CostExplorer: enable cors
* feature: ResourceGroups: The AWS Resource Groups service increased the query size limit to 4096 bytes.
* feature: TranscribeService: Amazon Transcribe - support transcriptions from audio sources in Spanish Spanish (es-ES).
* feature: WorkSpaces: Added a new reserved field.

## 2.440.0
* feature: Discovery: The Application Discovery Service's DescribeImportTasks and BatchDeleteImportData APIs now return additional statuses for error reporting.
* feature: Kafka: Amazon Kafka - Added tagging APIs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ 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.440.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.441.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
32 changes: 21 additions & 11 deletions apis/resource-groups-2017-11-27.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"shape": "InternalServerErrorException"
}
],
"documentation": "<p>Returns a list of tags that are associated with a resource, specified by an ARN.</p>"
"documentation": "<p>Returns a list of tags that are associated with a resource group, specified by an ARN.</p>"
},
"ListGroupResources": {
"name": "ListGroupResources",
Expand Down Expand Up @@ -538,7 +538,7 @@
"members": {
"Arn": {
"shape": "GroupArn",
"documentation": "<p>The ARN of the resource for which you want a list of tags. The resource must exist within the account you are using.</p>",
"documentation": "<p>The ARN of the resource group for which you want a list of tags. The resource must exist within the account you are using.</p>",
"location": "uri",
"locationName": "Arn"
}
Expand All @@ -549,11 +549,11 @@
"members": {
"Arn": {
"shape": "GroupArn",
"documentation": "<p>The ARN of the tagged resource.</p>"
"documentation": "<p>The ARN of the tagged resource group.</p>"
},
"Tags": {
"shape": "Tags",
"documentation": "<p>The tags associated with the specified resource.</p>"
"documentation": "<p>The tags associated with the specified resource group.</p>"
}
}
},
Expand Down Expand Up @@ -581,7 +581,9 @@
},
"GroupArn": {
"type": "string",
"pattern": "arn:aws:resource-groups:[a-z]{2}-[a-z]+-\\d{1}:[0-9]{12}:group/[a-zA-Z0-9_\\.-]{1,128}"
"max": 1600,
"min": 12,
"pattern": "arn:aws(-[a-z]+)*:resource-groups:[a-z]{2}-[a-z]+-\\d{1}:[0-9]{12}:group/[a-zA-Z0-9_\\.-]{1,128}"
},
"GroupDescription": {
"type": "string",
Expand Down Expand Up @@ -621,7 +623,8 @@
"GroupFilterValue": {
"type": "string",
"max": 128,
"min": 1
"min": 1,
"pattern": "AWS::(AllSupported|[a-zA-Z0-9]+::[a-zA-Z0-9]+)"
},
"GroupFilterValues": {
"type": "list",
Expand Down Expand Up @@ -774,11 +777,15 @@
"min": 1
},
"NextToken": {
"type": "string"
"type": "string",
"max": 8192,
"min": 0,
"pattern": "^[a-zA-Z0-9+/]*={0,2}$"
},
"Query": {
"type": "string",
"max": 2048
"max": 4096,
"pattern": "[\\s\\S]*"
},
"QueryError": {
"type": "structure",
Expand Down Expand Up @@ -815,11 +822,14 @@
"enum": [
"TAG_FILTERS_1_0",
"CLOUDFORMATION_STACK_1_0"
]
],
"max": 128,
"min": 1,
"pattern": "^\\w+$"
},
"ResourceArn": {
"type": "string",
"pattern": "arn:aws:[a-z0-9\\-]*:([a-z]{2}-[a-z]+-\\d{1})?:([0-9]{12})?:.+"
"pattern": "arn:aws(-[a-z]+)*:[a-z0-9\\-]*:([a-z]{2}-[a-z]+-\\d{1})?:([0-9]{12})?:.+"
},
"ResourceFilter": {
"type": "structure",
Expand Down Expand Up @@ -894,7 +904,7 @@
"members": {
"Type": {
"shape": "QueryType",
"documentation": "<p>The type of the query. The valid values in this release are <code>TAG_FILTERS_1_0</code> and <code>CLOUDFORMATION_STACK_1_0</code>.</p> <p> <i> <code>TAG_FILTERS_1_0:</code> </i> A JSON syntax that lets you specify a collection of simple tag filters for resource types and tags, as supported by the AWS Tagging API <a href=\"https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html\">GetResources</a> operation. If you specify more than one tag key, only resources that match all tag keys, and at least one value of each specified tag key, are returned in your query. If you specify more than one value for a tag key, a resource matches the filter if it has a tag key value that matches <i>any</i> of the specified values.</p> <p>For example, consider the following sample query for resources that have two tags, <code>Stage</code> and <code>Version</code>, with two values each. (<code>[{\"Key\":\"Stage\",\"Values\":[\"Test\",\"Deploy\"]},{\"Key\":\"Version\",\"Values\":[\"1\",\"2\"]}]</code>) The results of this query might include the following.</p> <ul> <li> <p>An EC2 instance that has the following two tags: <code>{\"Key\":\"Stage\",\"Values\":[\"Deploy\"]}</code>, and <code>{\"Key\":\"Version\",\"Values\":[\"2\"]}</code> </p> </li> <li> <p>An S3 bucket that has the following two tags: {\"Key\":\"Stage\",\"Values\":[\"Test\",\"Deploy\"]}, and {\"Key\":\"Version\",\"Values\":[\"1\"]}</p> </li> </ul> <p>The query would not return the following results, however. The following EC2 instance does not have all tag keys specified in the filter, so it is rejected. The RDS database has all of the tag keys, but no values that match at least one of the specified tag key values in the filter.</p> <ul> <li> <p>An EC2 instance that has only the following tag: <code>{\"Key\":\"Stage\",\"Values\":[\"Deploy\"]}</code>.</p> </li> <li> <p>An RDS database that has the following two tags: <code>{\"Key\":\"Stage\",\"Values\":[\"Archived\"]}</code>, and <code>{\"Key\":\"Version\",\"Values\":[\"4\"]}</code> </p> </li> </ul> <p> <i> <code>CLOUDFORMATION_STACK_1_0:</code> </i> A JSON syntax that lets you specify a CloudFormation stack ARN.</p>"
"documentation": "<p>The type of the query. The valid values in this release are <code>TAG_FILTERS_1_0</code> and <code>CLOUDFORMATION_STACK_1_0</code>.</p> <p> <i> <code>TAG_FILTERS_1_0:</code> </i> A JSON syntax that lets you specify a collection of simple tag filters for resource types and tags, as supported by the AWS Tagging API <a href=\"https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html\">GetResources</a> operation. If you specify more than one tag key, only resources that match all tag keys, and at least one value of each specified tag key, are returned in your query. If you specify more than one value for a tag key, a resource matches the filter if it has a tag key value that matches <i>any</i> of the specified values.</p> <p>For example, consider the following sample query for resources that have two tags, <code>Stage</code> and <code>Version</code>, with two values each. (<code>[{\"Key\":\"Stage\",\"Values\":[\"Test\",\"Deploy\"]},{\"Key\":\"Version\",\"Values\":[\"1\",\"2\"]}]</code>) The results of this query might include the following.</p> <ul> <li> <p>An EC2 instance that has the following two tags: <code>{\"Key\":\"Stage\",\"Value\":\"Deploy\"}</code>, and <code>{\"Key\":\"Version\",\"Value\":\"2\"}</code> </p> </li> <li> <p>An S3 bucket that has the following two tags: {\"Key\":\"Stage\",\"Value\":\"Test\"}, and {\"Key\":\"Version\",\"Value\":\"1\"}</p> </li> </ul> <p>The query would not return the following results, however. The following EC2 instance does not have all tag keys specified in the filter, so it is rejected. The RDS database has all of the tag keys, but no values that match at least one of the specified tag key values in the filter.</p> <ul> <li> <p>An EC2 instance that has only the following tag: <code>{\"Key\":\"Stage\",\"Value\":\"Deploy\"}</code>.</p> </li> <li> <p>An RDS database that has the following two tags: <code>{\"Key\":\"Stage\",\"Value\":\"Archived\"}</code>, and <code>{\"Key\":\"Version\",\"Value\":\"4\"}</code> </p> </li> </ul> <p> <i> <code>CLOUDFORMATION_STACK_1_0:</code> </i> A JSON syntax that lets you specify a CloudFormation stack ARN.</p>"
},
"Query": {
"shape": "Query",
Expand Down
3 changes: 2 additions & 1 deletion apis/transcribe-2017-10-26.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,8 @@
"pt-BR",
"fr-FR",
"it-IT",
"ko-KR"
"ko-KR",
"es-ES"
]
},
"ListTranscriptionJobsRequest": {
Expand Down
3 changes: 2 additions & 1 deletion apis/workspaces-2015-04-08.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,8 @@
"WorkspaceId": {}
}
}
}
},
"AdditionalInfo": {}
}
},
"output": {
Expand Down
24 changes: 17 additions & 7 deletions apis/workspaces-2015-04-08.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"shape": "ResourceLimitExceededException"
}
],
"documentation": "<p>Creates the specified tags for the specified WorkSpaces resource.</p>"
"documentation": "<p>Creates the specified tags for the specified WorkSpace.</p>"
},
"CreateWorkspaces": {
"name": "CreateWorkspaces",
Expand Down Expand Up @@ -203,7 +203,7 @@
"shape": "InvalidParameterValuesException"
}
],
"documentation": "<p>Deletes the specified tags from the specified WorkSpaces resource.</p>"
"documentation": "<p>Deletes the specified tags from the specified WorkSpace.</p>"
},
"DeleteWorkspaceImage": {
"name": "DeleteWorkspaceImage",
Expand Down Expand Up @@ -332,7 +332,7 @@
"shape": "ResourceNotFoundException"
}
],
"documentation": "<p>Describes the specified tags for the specified WorkSpaces resource.</p>"
"documentation": "<p>Describes the specified tags for the specified WorkSpace.</p>"
},
"DescribeWorkspaceBundles": {
"name": "DescribeWorkspaceBundles",
Expand Down Expand Up @@ -487,6 +487,9 @@
},
{
"shape": "AccessDeniedException"
},
{
"shape": "InvalidParameterValuesException"
}
],
"documentation": "<p>Imports the specified Windows 7 or Windows 10 bring your own license (BYOL) image into Amazon WorkSpaces. The image must be an already licensed EC2 image that is in your AWS account, and you must own the image. </p>"
Expand Down Expand Up @@ -802,6 +805,9 @@
"shape": "AccountModification"
}
},
"AdditionalInfo": {
"type": "string"
},
"Alias": {
"type": "string"
},
Expand Down Expand Up @@ -976,11 +982,11 @@
"members": {
"ResourceId": {
"shape": "NonEmptyString",
"documentation": "<p>The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, and IP access control groups.</p>"
"documentation": "<p>The identifier of the WorkSpace. To find this ID, use <a>DescribeWorkspaces</a>.</p>"
},
"Tags": {
"shape": "TagList",
"documentation": "<p>The tags. Each WorkSpaces resource can have a maximum of 50 tags.</p>"
"documentation": "<p>The tags. Each WorkSpace can have a maximum of 50 tags.</p>"
}
}
},
Expand Down Expand Up @@ -1098,7 +1104,7 @@
"members": {
"ResourceId": {
"shape": "NonEmptyString",
"documentation": "<p>The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, and IP access control groups.</p>"
"documentation": "<p>The identifier of the WorkSpace. To find this ID, use <a>DescribeWorkspaces</a>.</p>"
},
"TagKeys": {
"shape": "TagKeyList",
Expand Down Expand Up @@ -1224,7 +1230,7 @@
"members": {
"ResourceId": {
"shape": "NonEmptyString",
"documentation": "<p>The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, and IP access control groups.</p>"
"documentation": "<p>The identifier of the WorkSpace. To find this ID, use <a>DescribeWorkspaces</a>.</p>"
}
}
},
Expand Down Expand Up @@ -1872,6 +1878,10 @@
"RebuildWorkspaceRequests": {
"shape": "RebuildWorkspaceRequests",
"documentation": "<p>The WorkSpace to rebuild. You can specify a single WorkSpace.</p>"
},
"AdditionalInfo": {
"shape": "AdditionalInfo",
"documentation": "<p>Reserved.</p>"
}
}
},
Expand Down
1 change: 1 addition & 0 deletions clients/browser_default.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export import WAF = require('./waf');
export import WorkDocs = require('./workdocs');
export import LexModelBuildingService = require('./lexmodelbuildingservice');
export import Pricing = require('./pricing');
export import CostExplorer = require('./costexplorer');
export import MediaStoreData = require('./mediastoredata');
export import Comprehend = require('./comprehend');
export import KinesisVideoArchivedMedia = require('./kinesisvideoarchivedmedia');
Expand Down
1 change: 1 addition & 0 deletions clients/browser_default.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ module.exports = {
WorkDocs: require('./workdocs'),
LexModelBuildingService: require('./lexmodelbuildingservice'),
Pricing: require('./pricing'),
CostExplorer: require('./costexplorer'),
MediaStoreData: require('./mediastoredata'),
Comprehend: require('./comprehend'),
KinesisVideoArchivedMedia: require('./kinesisvideoarchivedmedia'),
Expand Down
12 changes: 6 additions & 6 deletions clients/resourcegroups.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ declare class ResourceGroups extends Service {
*/
getGroupQuery(callback?: (err: AWSError, data: ResourceGroups.Types.GetGroupQueryOutput) => void): Request<ResourceGroups.Types.GetGroupQueryOutput, AWSError>;
/**
* Returns a list of tags that are associated with a resource, specified by an ARN.
* Returns a list of tags that are associated with a resource group, specified by an ARN.
*/
getTags(params: ResourceGroups.Types.GetTagsInput, callback?: (err: AWSError, data: ResourceGroups.Types.GetTagsOutput) => void): Request<ResourceGroups.Types.GetTagsOutput, AWSError>;
/**
* Returns a list of tags that are associated with a resource, specified by an ARN.
* Returns a list of tags that are associated with a resource group, specified by an ARN.
*/
getTags(callback?: (err: AWSError, data: ResourceGroups.Types.GetTagsOutput) => void): Request<ResourceGroups.Types.GetTagsOutput, AWSError>;
/**
Expand Down Expand Up @@ -179,17 +179,17 @@ declare namespace ResourceGroups {
}
export interface GetTagsInput {
/**
* The ARN of the resource for which you want a list of tags. The resource must exist within the account you are using.
* The ARN of the resource group for which you want a list of tags. The resource must exist within the account you are using.
*/
Arn: GroupArn;
}
export interface GetTagsOutput {
/**
* The ARN of the tagged resource.
* The ARN of the tagged resource group.
*/
Arn?: GroupArn;
/**
* The tags associated with the specified resource.
* The tags associated with the specified resource group.
*/
Tags?: Tags;
}
Expand Down Expand Up @@ -351,7 +351,7 @@ declare namespace ResourceGroups {
export type ResourceIdentifierList = ResourceIdentifier[];
export interface ResourceQuery {
/**
* The type of the query. The valid values in this release are TAG_FILTERS_1_0 and CLOUDFORMATION_STACK_1_0. TAG_FILTERS_1_0: A JSON syntax that lets you specify a collection of simple tag filters for resource types and tags, as supported by the AWS Tagging API GetResources operation. If you specify more than one tag key, only resources that match all tag keys, and at least one value of each specified tag key, are returned in your query. If you specify more than one value for a tag key, a resource matches the filter if it has a tag key value that matches any of the specified values. For example, consider the following sample query for resources that have two tags, Stage and Version, with two values each. ([{"Key":"Stage","Values":["Test","Deploy"]},{"Key":"Version","Values":["1","2"]}]) The results of this query might include the following. An EC2 instance that has the following two tags: {"Key":"Stage","Values":["Deploy"]}, and {"Key":"Version","Values":["2"]} An S3 bucket that has the following two tags: {"Key":"Stage","Values":["Test","Deploy"]}, and {"Key":"Version","Values":["1"]} The query would not return the following results, however. The following EC2 instance does not have all tag keys specified in the filter, so it is rejected. The RDS database has all of the tag keys, but no values that match at least one of the specified tag key values in the filter. An EC2 instance that has only the following tag: {"Key":"Stage","Values":["Deploy"]}. An RDS database that has the following two tags: {"Key":"Stage","Values":["Archived"]}, and {"Key":"Version","Values":["4"]} CLOUDFORMATION_STACK_1_0: A JSON syntax that lets you specify a CloudFormation stack ARN.
* The type of the query. The valid values in this release are TAG_FILTERS_1_0 and CLOUDFORMATION_STACK_1_0. TAG_FILTERS_1_0: A JSON syntax that lets you specify a collection of simple tag filters for resource types and tags, as supported by the AWS Tagging API GetResources operation. If you specify more than one tag key, only resources that match all tag keys, and at least one value of each specified tag key, are returned in your query. If you specify more than one value for a tag key, a resource matches the filter if it has a tag key value that matches any of the specified values. For example, consider the following sample query for resources that have two tags, Stage and Version, with two values each. ([{"Key":"Stage","Values":["Test","Deploy"]},{"Key":"Version","Values":["1","2"]}]) The results of this query might include the following. An EC2 instance that has the following two tags: {"Key":"Stage","Value":"Deploy"}, and {"Key":"Version","Value":"2"} An S3 bucket that has the following two tags: {"Key":"Stage","Value":"Test"}, and {"Key":"Version","Value":"1"} The query would not return the following results, however. The following EC2 instance does not have all tag keys specified in the filter, so it is rejected. The RDS database has all of the tag keys, but no values that match at least one of the specified tag key values in the filter. An EC2 instance that has only the following tag: {"Key":"Stage","Value":"Deploy"}. An RDS database that has the following two tags: {"Key":"Stage","Value":"Archived"}, and {"Key":"Version","Value":"4"} CLOUDFORMATION_STACK_1_0: A JSON syntax that lets you specify a CloudFormation stack ARN.
*/
Type: QueryType;
/**
Expand Down
2 changes: 1 addition & 1 deletion clients/transcribeservice.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ declare namespace TranscribeService {
*/
DownloadUri?: Uri;
}
export type LanguageCode = "en-US"|"es-US"|"en-AU"|"fr-CA"|"en-GB"|"de-DE"|"pt-BR"|"fr-FR"|"it-IT"|"ko-KR"|string;
export type LanguageCode = "en-US"|"es-US"|"en-AU"|"fr-CA"|"en-GB"|"de-DE"|"pt-BR"|"fr-FR"|"it-IT"|"ko-KR"|"es-ES"|string;
export interface ListTranscriptionJobsRequest {
/**
* When specified, returns only transcription jobs with the specified status. Jobs are ordered by creation date, with the newest jobs returned first. If you don’t specify a status, Amazon Transcribe returns all transcription jobs ordered by creation date.
Expand Down
Loading

0 comments on commit 5ade36c

Please sign in to comment.