Skip to content

Commit 4f7b9db

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent 2be3c9e commit 4f7b9db

File tree

6 files changed

+49
-21
lines changed

6 files changed

+49
-21
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::ResourceGroups - Updated the API, and documentation for AWS Resource Groups.
5+
6+
* Feature - Aws::TranscribeService - Updated the API for Amazon Transcribe Service.
7+
8+
* Feature - Aws::WorkSpaces - Updated the API, and documentation for Amazon WorkSpaces.
9+
410
2.11.259 (2019-04-18)
511
------------------
612

aws-sdk-core/apis/resource-groups/2017-11-27/api-2.json

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,9 @@
342342
},
343343
"GroupArn":{
344344
"type":"string",
345-
"pattern":"arn:aws:resource-groups:[a-z]{2}-[a-z]+-\\d{1}:[0-9]{12}:group/[a-zA-Z0-9_\\.-]{1,128}"
345+
"max":1600,
346+
"min":12,
347+
"pattern":"arn:aws(-[a-z]+)*:resource-groups:[a-z]{2}-[a-z]+-\\d{1}:[0-9]{12}:group/[a-zA-Z0-9_\\.-]{1,128}"
346348
},
347349
"GroupDescription":{
348350
"type":"string",
@@ -371,7 +373,8 @@
371373
"GroupFilterValue":{
372374
"type":"string",
373375
"max":128,
374-
"min":1
376+
"min":1,
377+
"pattern":"AWS::(AllSupported|[a-zA-Z0-9]+::[a-zA-Z0-9]+)"
375378
},
376379
"GroupFilterValues":{
377380
"type":"list",
@@ -490,7 +493,12 @@
490493
"error":{"httpStatusCode":405},
491494
"exception":true
492495
},
493-
"NextToken":{"type":"string"},
496+
"NextToken":{
497+
"type":"string",
498+
"max":8192,
499+
"min":0,
500+
"pattern":"^[a-zA-Z0-9+/]*={0,2}$"
501+
},
494502
"NotFoundException":{
495503
"type":"structure",
496504
"members":{
@@ -501,7 +509,8 @@
501509
},
502510
"Query":{
503511
"type":"string",
504-
"max":2048
512+
"max":4096,
513+
"pattern":"[\\s\\S]*"
505514
},
506515
"QueryError":{
507516
"type":"structure",
@@ -527,11 +536,14 @@
527536
"enum":[
528537
"TAG_FILTERS_1_0",
529538
"CLOUDFORMATION_STACK_1_0"
530-
]
539+
],
540+
"max":128,
541+
"min":1,
542+
"pattern":"^\\w+$"
531543
},
532544
"ResourceArn":{
533545
"type":"string",
534-
"pattern":"arn:aws:[a-z0-9\\-]*:([a-z]{2}-[a-z]+-\\d{1})?:([0-9]{12})?:.+"
546+
"pattern":"arn:aws(-[a-z]+)*:[a-z0-9\\-]*:([a-z]{2}-[a-z]+-\\d{1})?:([0-9]{12})?:.+"
535547
},
536548
"ResourceFilter":{
537549
"type":"structure",

aws-sdk-core/apis/resource-groups/2017-11-27/docs-2.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"DeleteGroup": "<p>Deletes a specified resource group. Deleting a resource group does not delete resources that are members of the group; it only deletes the group structure.</p>",
77
"GetGroup": "<p>Returns information about a specified resource group.</p>",
88
"GetGroupQuery": "<p>Returns the resource query associated with the specified resource group.</p>",
9-
"GetTags": "<p>Returns a list of tags that are associated with a resource, specified by an ARN.</p>",
9+
"GetTags": "<p>Returns a list of tags that are associated with a resource group, specified by an ARN.</p>",
1010
"ListGroupResources": "<p>Returns a list of ARNs of resources that are members of a specified resource group.</p>",
1111
"ListGroups": "<p>Returns a list of existing resource groups in your account.</p>",
1212
"SearchResources": "<p>Returns a list of AWS resource identifiers that matches a specified query. The query uses the same format as a resource query in a CreateGroup or UpdateGroupQuery operation.</p>",
@@ -101,8 +101,8 @@
101101
"GroupArn": {
102102
"base": null,
103103
"refs": {
104-
"GetTagsInput$Arn": "<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>",
105-
"GetTagsOutput$Arn": "<p>The ARN of the tagged resource.</p>",
104+
"GetTagsInput$Arn": "<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>",
105+
"GetTagsOutput$Arn": "<p>The ARN of the tagged resource group.</p>",
106106
"Group$GroupArn": "<p>The ARN of a resource group.</p>",
107107
"GroupIdentifier$GroupArn": "<p>The ARN of a resource group.</p>",
108108
"TagInput$Arn": "<p>The ARN of the resource to which to add tags.</p>",
@@ -277,7 +277,7 @@
277277
"QueryType": {
278278
"base": null,
279279
"refs": {
280-
"ResourceQuery$Type": "<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>"
280+
"ResourceQuery$Type": "<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>"
281281
}
282282
},
283283
"ResourceArn": {
@@ -390,7 +390,7 @@
390390
"refs": {
391391
"CreateGroupInput$Tags": "<p>The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>",
392392
"CreateGroupOutput$Tags": "<p>The tags associated with the group.</p>",
393-
"GetTagsOutput$Tags": "<p>The tags associated with the specified resource.</p>",
393+
"GetTagsOutput$Tags": "<p>The tags associated with the specified resource group.</p>",
394394
"TagInput$Tags": "<p>The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>",
395395
"TagOutput$Tags": "<p>The tags that have been added to the specified resource.</p>"
396396
}

aws-sdk-core/apis/transcribe/2017-10-26/api-2.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@
251251
"pt-BR",
252252
"fr-FR",
253253
"it-IT",
254-
"ko-KR"
254+
"ko-KR",
255+
"es-ES"
255256
]
256257
},
257258
"LimitExceededException":{

aws-sdk-core/apis/workspaces/2015-04-08/api-2.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@
282282
{"shape":"ResourceAlreadyExistsException"},
283283
{"shape":"ResourceNotFoundException"},
284284
{"shape":"OperationNotSupportedException"},
285-
{"shape":"AccessDeniedException"}
285+
{"shape":"AccessDeniedException"},
286+
{"shape":"InvalidParameterValuesException"}
286287
]
287288
},
288289
"ListAvailableManagementCidrRanges":{
@@ -464,6 +465,7 @@
464465
"type":"list",
465466
"member":{"shape":"AccountModification"}
466467
},
468+
"AdditionalInfo":{"type":"string"},
467469
"Alias":{"type":"string"},
468470
"AssociateIpGroupsRequest":{
469471
"type":"structure",
@@ -1164,7 +1166,8 @@
11641166
"type":"structure",
11651167
"required":["RebuildWorkspaceRequests"],
11661168
"members":{
1167-
"RebuildWorkspaceRequests":{"shape":"RebuildWorkspaceRequests"}
1169+
"RebuildWorkspaceRequests":{"shape":"RebuildWorkspaceRequests"},
1170+
"AdditionalInfo":{"shape":"AdditionalInfo"}
11681171
}
11691172
},
11701173
"RebuildWorkspacesResult":{

aws-sdk-core/apis/workspaces/2015-04-08/docs-2.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
"AssociateIpGroups": "<p>Associates the specified IP access control group with the specified directory.</p>",
66
"AuthorizeIpRules": "<p>Adds one or more rules to the specified IP access control group.</p> <p>This action gives users permission to access their WorkSpaces from the CIDR address ranges specified in the rules.</p>",
77
"CreateIpGroup": "<p>Creates an IP access control group.</p> <p>An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using <a>AuthorizeIpRules</a>.</p> <p>There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.</p>",
8-
"CreateTags": "<p>Creates the specified tags for the specified WorkSpaces resource.</p>",
8+
"CreateTags": "<p>Creates the specified tags for the specified WorkSpace.</p>",
99
"CreateWorkspaces": "<p>Creates one or more WorkSpaces.</p> <p>This operation is asynchronous and returns before the WorkSpaces are created.</p>",
1010
"DeleteIpGroup": "<p>Deletes the specified IP access control group.</p> <p>You cannot delete an IP access control group that is associated with a directory.</p>",
11-
"DeleteTags": "<p>Deletes the specified tags from the specified WorkSpaces resource.</p>",
11+
"DeleteTags": "<p>Deletes the specified tags from the specified WorkSpace.</p>",
1212
"DeleteWorkspaceImage": "<p>Deletes the specified image from your account. To delete an image, you must first delete any bundles that are associated with the image. </p>",
1313
"DescribeAccount": "<p>Retrieves a list that describes the configuration of bring your own license (BYOL) for the specified account.</p>",
1414
"DescribeAccountModifications": "<p>Retrieves a list that describes modifications to the configuration of bring your own license (BYOL) for the specified account.</p>",
1515
"DescribeClientProperties": "<p>Retrieves a list that describes one or more specified Amazon WorkSpaces clients.</p>",
1616
"DescribeIpGroups": "<p>Describes one or more of your IP access control groups.</p>",
17-
"DescribeTags": "<p>Describes the specified tags for the specified WorkSpaces resource.</p>",
17+
"DescribeTags": "<p>Describes the specified tags for the specified WorkSpace.</p>",
1818
"DescribeWorkspaceBundles": "<p>Retrieves a list that describes the available WorkSpace bundles.</p> <p>You can filter the results using either bundle ID or owner, but not both.</p>",
1919
"DescribeWorkspaceDirectories": "<p>Describes the available AWS Directory Service directories that are registered with Amazon WorkSpaces.</p>",
2020
"DescribeWorkspaceImages": "<p>Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described. </p>",
@@ -59,6 +59,12 @@
5959
"DescribeAccountModificationsResult$AccountModifications": "<p>The list of modifications to the configuration of BYOL.</p>"
6060
}
6161
},
62+
"AdditionalInfo": {
63+
"base": null,
64+
"refs": {
65+
"RebuildWorkspacesRequest$AdditionalInfo": "<p>Reserved.</p>"
66+
}
67+
},
6268
"Alias": {
6369
"base": null,
6470
"refs": {
@@ -709,9 +715,9 @@
709715
"base": null,
710716
"refs": {
711717
"ClientPropertiesResult$ResourceId": "<p>The resource identifier, in the form of a directory ID.</p>",
712-
"CreateTagsRequest$ResourceId": "<p>The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, and IP access control groups.</p>",
713-
"DeleteTagsRequest$ResourceId": "<p>The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, and IP access control groups.</p>",
714-
"DescribeTagsRequest$ResourceId": "<p>The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, and IP access control groups.</p>",
718+
"CreateTagsRequest$ResourceId": "<p>The identifier of the WorkSpace. To find this ID, use <a>DescribeWorkspaces</a>.</p>",
719+
"DeleteTagsRequest$ResourceId": "<p>The identifier of the WorkSpace. To find this ID, use <a>DescribeWorkspaces</a>.</p>",
720+
"DescribeTagsRequest$ResourceId": "<p>The identifier of the WorkSpace. To find this ID, use <a>DescribeWorkspaces</a>.</p>",
715721
"ModifyClientPropertiesRequest$ResourceId": "<p>The resource identifiers, in the form of directory IDs.</p>",
716722
"ResourceIdList$member": null,
717723
"ResourceNotFoundException$ResourceId": "<p>The ID of the resource that could not be found.</p>",
@@ -977,7 +983,7 @@
977983
"base": null,
978984
"refs": {
979985
"CreateIpGroupRequest$Tags": "<p>The tags. Each WorkSpaces resource can have a maximum of 50 tags.</p>",
980-
"CreateTagsRequest$Tags": "<p>The tags. Each WorkSpaces resource can have a maximum of 50 tags.</p>",
986+
"CreateTagsRequest$Tags": "<p>The tags. Each WorkSpace can have a maximum of 50 tags.</p>",
981987
"DescribeTagsResult$TagList": "<p>The tags.</p>",
982988
"ImportWorkspaceImageRequest$Tags": "<p>The tags. Each WorkSpaces resource can have a maximum of 50 tags.</p>",
983989
"WorkspaceRequest$Tags": "<p>The tags for the WorkSpace.</p>"

0 commit comments

Comments
 (0)