Skip to content

Commit f3a4077

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent 17d6187 commit f3a4077

File tree

10 files changed

+993
-100
lines changed

10 files changed

+993
-100
lines changed

CHANGELOG.md

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

4+
* Feature - Aws::Athena - Updated the API, and documentation for Amazon Athena.
5+
6+
* Feature - Aws::Cloud9 - Updated the API, and documentation for AWS Cloud9.
7+
8+
* Feature - Aws::Glue - Updated the API, and documentation for AWS Glue.
9+
10+
* Feature - Aws::States - Updated the API, and documentation for AWS Step Functions.
11+
412
2.11.226 (2019-02-21)
513
------------------
614

aws-sdk-core/apis/athena/2017-05-18/api-2.json

Lines changed: 135 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,20 @@
171171
{"shape":"InvalidRequestException"}
172172
]
173173
},
174+
"ListTagsForResource":{
175+
"name":"ListTagsForResource",
176+
"http":{
177+
"method":"POST",
178+
"requestUri":"/"
179+
},
180+
"input":{"shape":"ListTagsForResourceInput"},
181+
"output":{"shape":"ListTagsForResourceOutput"},
182+
"errors":[
183+
{"shape":"InternalServerException"},
184+
{"shape":"InvalidRequestException"},
185+
{"shape":"ResourceNotFoundException"}
186+
]
187+
},
174188
"ListWorkGroups":{
175189
"name":"ListWorkGroups",
176190
"http":{
@@ -213,6 +227,34 @@
213227
],
214228
"idempotent":true
215229
},
230+
"TagResource":{
231+
"name":"TagResource",
232+
"http":{
233+
"method":"POST",
234+
"requestUri":"/"
235+
},
236+
"input":{"shape":"TagResourceInput"},
237+
"output":{"shape":"TagResourceOutput"},
238+
"errors":[
239+
{"shape":"InternalServerException"},
240+
{"shape":"InvalidRequestException"},
241+
{"shape":"ResourceNotFoundException"}
242+
]
243+
},
244+
"UntagResource":{
245+
"name":"UntagResource",
246+
"http":{
247+
"method":"POST",
248+
"requestUri":"/"
249+
},
250+
"input":{"shape":"UntagResourceInput"},
251+
"output":{"shape":"UntagResourceOutput"},
252+
"errors":[
253+
{"shape":"InternalServerException"},
254+
{"shape":"InvalidRequestException"},
255+
{"shape":"ResourceNotFoundException"}
256+
]
257+
},
216258
"UpdateWorkGroup":{
217259
"name":"UpdateWorkGroup",
218260
"http":{
@@ -228,6 +270,11 @@
228270
}
229271
},
230272
"shapes":{
273+
"AmazonResourceName":{
274+
"type":"string",
275+
"max":1011,
276+
"min":1
277+
},
231278
"BatchGetNamedQueryInput":{
232279
"type":"structure",
233280
"required":["NamedQueryIds"],
@@ -324,7 +371,8 @@
324371
"members":{
325372
"Name":{"shape":"WorkGroupName"},
326373
"Configuration":{"shape":"WorkGroupConfiguration"},
327-
"Description":{"shape":"WorkGroupDescriptionString"}
374+
"Description":{"shape":"WorkGroupDescriptionString"},
375+
"Tags":{"shape":"TagList"}
328376
}
329377
},
330378
"CreateWorkGroupOutput":{
@@ -507,6 +555,22 @@
507555
"NextToken":{"shape":"Token"}
508556
}
509557
},
558+
"ListTagsForResourceInput":{
559+
"type":"structure",
560+
"required":["ResourceARN"],
561+
"members":{
562+
"ResourceARN":{"shape":"AmazonResourceName"},
563+
"NextToken":{"shape":"Token"},
564+
"MaxResults":{"shape":"MaxTagsCount"}
565+
}
566+
},
567+
"ListTagsForResourceOutput":{
568+
"type":"structure",
569+
"members":{
570+
"Tags":{"shape":"TagList"},
571+
"NextToken":{"shape":"Token"}
572+
}
573+
},
510574
"ListWorkGroupsInput":{
511575
"type":"structure",
512576
"members":{
@@ -540,6 +604,11 @@
540604
"max":1000,
541605
"min":0
542606
},
607+
"MaxTagsCount":{
608+
"type":"integer",
609+
"box":true,
610+
"min":75
611+
},
543612
"MaxWorkGroupsCount":{
544613
"type":"integer",
545614
"box":true,
@@ -639,6 +708,14 @@
639708
"max":262144,
640709
"min":1
641710
},
711+
"ResourceNotFoundException":{
712+
"type":"structure",
713+
"members":{
714+
"Message":{"shape":"ErrorMessage"},
715+
"ResourceName":{"shape":"AmazonResourceName"}
716+
},
717+
"exception":true
718+
},
642719
"ResultConfiguration":{
643720
"type":"structure",
644721
"members":{
@@ -722,6 +799,47 @@
722799
}
723800
},
724801
"String":{"type":"string"},
802+
"Tag":{
803+
"type":"structure",
804+
"members":{
805+
"Key":{"shape":"TagKey"},
806+
"Value":{"shape":"TagValue"}
807+
}
808+
},
809+
"TagKey":{
810+
"type":"string",
811+
"max":128,
812+
"min":1
813+
},
814+
"TagKeyList":{
815+
"type":"list",
816+
"member":{"shape":"TagKey"}
817+
},
818+
"TagList":{
819+
"type":"list",
820+
"member":{"shape":"Tag"}
821+
},
822+
"TagResourceInput":{
823+
"type":"structure",
824+
"required":[
825+
"ResourceARN",
826+
"Tags"
827+
],
828+
"members":{
829+
"ResourceARN":{"shape":"AmazonResourceName"},
830+
"Tags":{"shape":"TagList"}
831+
}
832+
},
833+
"TagResourceOutput":{
834+
"type":"structure",
835+
"members":{
836+
}
837+
},
838+
"TagValue":{
839+
"type":"string",
840+
"max":256,
841+
"min":0
842+
},
725843
"ThrottleReason":{
726844
"type":"string",
727845
"enum":["CONCURRENT_QUERY_LIMIT_EXCEEDED"]
@@ -763,6 +881,22 @@
763881
"type":"list",
764882
"member":{"shape":"UnprocessedQueryExecutionId"}
765883
},
884+
"UntagResourceInput":{
885+
"type":"structure",
886+
"required":[
887+
"ResourceARN",
888+
"TagKeys"
889+
],
890+
"members":{
891+
"ResourceARN":{"shape":"AmazonResourceName"},
892+
"TagKeys":{"shape":"TagKeyList"}
893+
}
894+
},
895+
"UntagResourceOutput":{
896+
"type":"structure",
897+
"members":{
898+
}
899+
},
766900
"UpdateWorkGroupInput":{
767901
"type":"structure",
768902
"required":["WorkGroup"],

aws-sdk-core/apis/athena/2017-05-18/docs-2.json

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,27 @@
1111
"GetNamedQuery": "<p>Returns information about a single query. Requires that you have access to the workgroup in which the query was saved.</p>",
1212
"GetQueryExecution": "<p>Returns information about a single execution of a query if you have access to the workgroup in which the query ran. Each time a query executes, information about the query execution is saved with a unique ID.</p>",
1313
"GetQueryResults": "<p>Returns the results of a single query execution specified by <code>QueryExecutionId</code> if you have access to the workgroup in which the query ran. This request does not execute the query but returns results. Use <a>StartQueryExecution</a> to run a query.</p>",
14-
"GetWorkGroup": "<p>Returns information about the workgroup with the speficied name.</p>",
14+
"GetWorkGroup": "<p>Returns information about the workgroup with the specified name.</p>",
1515
"ListNamedQueries": "<p>Provides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the workgroup.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
1616
"ListQueryExecutions": "<p>Provides a list of available query execution IDs for the queries in the specified workgroup. Requires you to have access to the workgroup in which the queries ran.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
17+
"ListTagsForResource": "<p>Lists the tags associated with this workgroup.</p>",
1718
"ListWorkGroups": "<p>Lists available workgroups for the account.</p>",
1819
"StartQueryExecution": "<p>Runs the SQL query statements contained in the <code>Query</code>. Requires you to have access to the workgroup in which the query ran.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
1920
"StopQueryExecution": "<p>Stops a query execution. Requires you to have access to the workgroup in which the query ran.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
21+
"TagResource": "<p>Adds one or more tags to the resource, such as a workgroup. A tag is a label that you assign to an AWS Athena resource (a workgroup). Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize resources (workgroups) in Athena, for example, by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter workgroups in your account. For best practices, see <a href=\"https://aws.amazon.com/answers/account-management/aws-tagging-strategies/\">AWS Tagging Strategies</a>. The key length is from 1 (minimum) to 128 (maximum) Unicode characters in UTF-8. The tag value length is from 0 (minimum) to 256 (maximum) Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one, separate them by commas.</p>",
22+
"UntagResource": "<p>Removes one or more tags from the workgroup resource. Takes as an input a list of TagKey Strings separated by commas, and removes their tags at the same time.</p>",
2023
"UpdateWorkGroup": "<p>Updates the workgroup with the specified name. The workgroup's name cannot be changed.</p>"
2124
},
2225
"shapes": {
26+
"AmazonResourceName": {
27+
"base": null,
28+
"refs": {
29+
"ListTagsForResourceInput$ResourceARN": "<p>Lists the tags for the workgroup resource with the specified ARN.</p>",
30+
"ResourceNotFoundException$ResourceName": null,
31+
"TagResourceInput$ResourceARN": "<p>Requests that one or more tags are added to the resource (such as a workgroup) for the specified ARN.</p>",
32+
"UntagResourceInput$ResourceARN": "<p>Removes one or more tags from the workgroup resource for the specified ARN.</p>"
33+
}
34+
},
2335
"BatchGetNamedQueryInput": {
2436
"base": null,
2537
"refs": {
@@ -180,6 +192,7 @@
180192
"refs": {
181193
"InternalServerException$Message": null,
182194
"InvalidRequestException$Message": null,
195+
"ResourceNotFoundException$Message": null,
183196
"TooManyRequestsException$Message": null,
184197
"UnprocessedNamedQueryId$ErrorMessage": "<p>The error message returned when the processing request for the named query failed, if applicable.</p>",
185198
"UnprocessedQueryExecutionId$ErrorMessage": "<p>The error message returned when the query execution failed to process, if applicable.</p>"
@@ -269,6 +282,16 @@
269282
"refs": {
270283
}
271284
},
285+
"ListTagsForResourceInput": {
286+
"base": null,
287+
"refs": {
288+
}
289+
},
290+
"ListTagsForResourceOutput": {
291+
"base": null,
292+
"refs": {
293+
}
294+
},
272295
"ListWorkGroupsInput": {
273296
"base": null,
274297
"refs": {
@@ -305,6 +328,12 @@
305328
"GetQueryResultsInput$MaxResults": "<p>The maximum number of results (rows) to return in this request.</p>"
306329
}
307330
},
331+
"MaxTagsCount": {
332+
"base": null,
333+
"refs": {
334+
"ListTagsForResourceInput$MaxResults": "<p>The maximum number of results to be returned per request that lists the tags for the workgroup resource.</p>"
335+
}
336+
},
308337
"MaxWorkGroupsCount": {
309338
"base": null,
310339
"refs": {
@@ -415,6 +444,11 @@
415444
"StartQueryExecutionInput$QueryString": "<p>The SQL query statements to be executed.</p>"
416445
}
417446
},
447+
"ResourceNotFoundException": {
448+
"base": "<p>A resource, such as a workgroup, was not found.</p>",
449+
"refs": {
450+
}
451+
},
418452
"ResultConfiguration": {
419453
"base": "<p>The location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. These are known as \"client-side settings\". If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup.</p>",
420454
"refs": {
@@ -494,6 +528,49 @@
494528
"ResultConfigurationUpdates$OutputLocation": "<p>The location in Amazon S3 where your query results are stored, such as <code>s3://path/to/query/bucket/</code>. For more information, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/querying.html\">Queries and Query Result Files.</a> If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The \"workgroup settings override\" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>"
495529
}
496530
},
531+
"Tag": {
532+
"base": "<p>A tag that you can add to a resource. A tag is a label that you assign to an AWS Athena resource (a workgroup). Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize workgroups in Athena, for example, by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter workgroups in your account. The maximum tag key length is 128 Unicode characters in UTF-8. The maximum tag value length is 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. </p>",
533+
"refs": {
534+
"TagList$member": null
535+
}
536+
},
537+
"TagKey": {
538+
"base": null,
539+
"refs": {
540+
"Tag$Key": "<p>A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys are case-sensitive and must be unique per resource. </p>",
541+
"TagKeyList$member": null
542+
}
543+
},
544+
"TagKeyList": {
545+
"base": null,
546+
"refs": {
547+
"UntagResourceInput$TagKeys": "<p>Removes the tags associated with one or more tag keys from the workgroup resource.</p>"
548+
}
549+
},
550+
"TagList": {
551+
"base": null,
552+
"refs": {
553+
"CreateWorkGroupInput$Tags": "<p>One or more tags, separated by commas, that you want to attach to the workgroup as you create it.</p>",
554+
"ListTagsForResourceOutput$Tags": "<p>The list of tags associated with this workgroup.</p>",
555+
"TagResourceInput$Tags": "<p>One or more tags, separated by commas, to be added to the resource, such as a workgroup.</p>"
556+
}
557+
},
558+
"TagResourceInput": {
559+
"base": null,
560+
"refs": {
561+
}
562+
},
563+
"TagResourceOutput": {
564+
"base": null,
565+
"refs": {
566+
}
567+
},
568+
"TagValue": {
569+
"base": null,
570+
"refs": {
571+
"Tag$Value": "<p>A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag values are case-sensitive. </p>"
572+
}
573+
},
497574
"ThrottleReason": {
498575
"base": "<p>The reason for the query throttling, for example, when it exceeds the concurrent query limit.</p>",
499576
"refs": {
@@ -509,6 +586,8 @@
509586
"ListNamedQueriesOutput$NextToken": "<p>A token to be used by the next request if this request is truncated.</p>",
510587
"ListQueryExecutionsInput$NextToken": "<p>The token that specifies where to start pagination if a previous request was truncated.</p>",
511588
"ListQueryExecutionsOutput$NextToken": "<p>A token to be used by the next request if this request is truncated.</p>",
589+
"ListTagsForResourceInput$NextToken": "<p>The token for the next set of results, or null if there are no additional results for this request, where the request lists the tags for the workgroup resource with the specified ARN.</p>",
590+
"ListTagsForResourceOutput$NextToken": "<p>A token to be used by the next request if this request is truncated.</p>",
512591
"ListWorkGroupsInput$NextToken": "<p>A token to be used by the next request if this request is truncated.</p>",
513592
"ListWorkGroupsOutput$NextToken": "<p>A token to be used by the next request if this request is truncated.</p>"
514593
}
@@ -542,6 +621,16 @@
542621
"BatchGetQueryExecutionOutput$UnprocessedQueryExecutionIds": "<p>Information about the query executions that failed to run.</p>"
543622
}
544623
},
624+
"UntagResourceInput": {
625+
"base": null,
626+
"refs": {
627+
}
628+
},
629+
"UntagResourceOutput": {
630+
"base": null,
631+
"refs": {
632+
}
633+
},
545634
"UpdateWorkGroupInput": {
546635
"base": null,
547636
"refs": {

0 commit comments

Comments
 (0)