Skip to content

Commit 73add27

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent afc4dfe commit 73add27

File tree

7 files changed

+212
-16
lines changed

7 files changed

+212
-16
lines changed

CHANGELOG.md

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

4+
* Feature - Aws::AppStream - Updated the API, and documentation for Amazon AppStream.
5+
6+
* Feature - Aws::MediaStore - Updated the API, and documentation for AWS Elemental MediaStore.
7+
48
2.11.307 (2019-07-01)
59
------------------
610

aws-sdk-core/apis/appstream/2016-12-01/api-2.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,6 +1497,7 @@
14971497
"State":{"shape":"ImageState"},
14981498
"Visibility":{"shape":"VisibilityType"},
14991499
"ImageBuilderSupported":{"shape":"Boolean"},
1500+
"ImageBuilderName":{"shape":"String"},
15001501
"Platform":{"shape":"PlatformType"},
15011502
"Description":{"shape":"String"},
15021503
"StateChangeReason":{"shape":"ImageStateChangeReason"},
@@ -1524,6 +1525,7 @@
15241525
"CreatedTime":{"shape":"Timestamp"},
15251526
"EnableDefaultInternetAccess":{"shape":"BooleanObject"},
15261527
"DomainJoinInfo":{"shape":"DomainJoinInfo"},
1528+
"NetworkAccessConfiguration":{"shape":"NetworkAccessConfiguration"},
15271529
"ImageBuilderErrors":{"shape":"ResourceErrors"},
15281530
"AppstreamAgentVersion":{"shape":"AppstreamAgentVersion"}
15291531
}

aws-sdk-core/apis/appstream/2016-12-01/docs-2.json

Lines changed: 12 additions & 10 deletions
Large diffs are not rendered by default.

aws-sdk-core/apis/mediastore/2017-09-01/api-2.json

Lines changed: 117 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,20 @@
157157
{"shape":"InternalServerError"}
158158
]
159159
},
160+
"ListTagsForResource":{
161+
"name":"ListTagsForResource",
162+
"http":{
163+
"method":"POST",
164+
"requestUri":"/"
165+
},
166+
"input":{"shape":"ListTagsForResourceInput"},
167+
"output":{"shape":"ListTagsForResourceOutput"},
168+
"errors":[
169+
{"shape":"ContainerInUseException"},
170+
{"shape":"ContainerNotFoundException"},
171+
{"shape":"InternalServerError"}
172+
]
173+
},
160174
"PutContainerPolicy":{
161175
"name":"PutContainerPolicy",
162176
"http":{
@@ -226,6 +240,34 @@
226240
{"shape":"ContainerNotFoundException"},
227241
{"shape":"InternalServerError"}
228242
]
243+
},
244+
"TagResource":{
245+
"name":"TagResource",
246+
"http":{
247+
"method":"POST",
248+
"requestUri":"/"
249+
},
250+
"input":{"shape":"TagResourceInput"},
251+
"output":{"shape":"TagResourceOutput"},
252+
"errors":[
253+
{"shape":"ContainerInUseException"},
254+
{"shape":"ContainerNotFoundException"},
255+
{"shape":"InternalServerError"}
256+
]
257+
},
258+
"UntagResource":{
259+
"name":"UntagResource",
260+
"http":{
261+
"method":"POST",
262+
"requestUri":"/"
263+
},
264+
"input":{"shape":"UntagResourceInput"},
265+
"output":{"shape":"UntagResourceOutput"},
266+
"errors":[
267+
{"shape":"ContainerInUseException"},
268+
{"shape":"ContainerNotFoundException"},
269+
{"shape":"InternalServerError"}
270+
]
229271
}
230272
},
231273
"shapes":{
@@ -262,7 +304,7 @@
262304
"type":"string",
263305
"max":1024,
264306
"min":1,
265-
"pattern":"arn:aws:mediastore:[a-z]+-[a-z]+-\\d:\\d{12}:container/\\w{1,255}"
307+
"pattern":"arn:aws:mediastore:[a-z]+-[a-z]+-\\d:\\d{12}:container/[\\w-]{1,255}"
266308
},
267309
"ContainerAccessLoggingEnabled":{"type":"boolean"},
268310
"ContainerInUseException":{
@@ -298,7 +340,7 @@
298340
"type":"string",
299341
"max":8192,
300342
"min":1,
301-
"pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+"
343+
"pattern":"[\\x00-\\x7F]+"
302344
},
303345
"ContainerStatus":{
304346
"type":"string",
@@ -341,7 +383,8 @@
341383
"type":"structure",
342384
"required":["ContainerName"],
343385
"members":{
344-
"ContainerName":{"shape":"ContainerName"}
386+
"ContainerName":{"shape":"ContainerName"},
387+
"Tags":{"shape":"TagList"}
345388
}
346389
},
347390
"CreateContainerOutput":{
@@ -512,6 +555,19 @@
512555
"NextToken":{"shape":"PaginationToken"}
513556
}
514557
},
558+
"ListTagsForResourceInput":{
559+
"type":"structure",
560+
"required":["Resource"],
561+
"members":{
562+
"Resource":{"shape":"ContainerARN"}
563+
}
564+
},
565+
"ListTagsForResourceOutput":{
566+
"type":"structure",
567+
"members":{
568+
"Tags":{"shape":"TagList"}
569+
}
570+
},
515571
"MaxAgeSeconds":{
516572
"type":"integer",
517573
"max":2147483647,
@@ -617,6 +673,63 @@
617673
"members":{
618674
}
619675
},
620-
"TimeStamp":{"type":"timestamp"}
676+
"Tag":{
677+
"type":"structure",
678+
"members":{
679+
"Key":{"shape":"TagKey"},
680+
"Value":{"shape":"TagValue"}
681+
}
682+
},
683+
"TagKey":{
684+
"type":"string",
685+
"max":128,
686+
"min":1
687+
},
688+
"TagKeyList":{
689+
"type":"list",
690+
"member":{"shape":"TagKey"}
691+
},
692+
"TagList":{
693+
"type":"list",
694+
"member":{"shape":"Tag"}
695+
},
696+
"TagResourceInput":{
697+
"type":"structure",
698+
"required":[
699+
"Resource",
700+
"Tags"
701+
],
702+
"members":{
703+
"Resource":{"shape":"ContainerARN"},
704+
"Tags":{"shape":"TagList"}
705+
}
706+
},
707+
"TagResourceOutput":{
708+
"type":"structure",
709+
"members":{
710+
}
711+
},
712+
"TagValue":{
713+
"type":"string",
714+
"max":256,
715+
"min":0
716+
},
717+
"TimeStamp":{"type":"timestamp"},
718+
"UntagResourceInput":{
719+
"type":"structure",
720+
"required":[
721+
"Resource",
722+
"TagKeys"
723+
],
724+
"members":{
725+
"Resource":{"shape":"ContainerARN"},
726+
"TagKeys":{"shape":"TagKeyList"}
727+
}
728+
},
729+
"UntagResourceOutput":{
730+
"type":"structure",
731+
"members":{
732+
}
733+
}
621734
}
622735
}

aws-sdk-core/apis/mediastore/2017-09-01/docs-2.json

Lines changed: 71 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@
1212
"GetCorsPolicy": "<p>Returns the cross-origin resource sharing (CORS) configuration information that is set for the container.</p> <p>To use this operation, you must have permission to perform the <code>MediaStore:GetCorsPolicy</code> action. By default, the container owner has this permission and can grant it to others.</p>",
1313
"GetLifecyclePolicy": "<p>Retrieves the object lifecycle policy that is assigned to a container.</p>",
1414
"ListContainers": "<p>Lists the properties of all containers in AWS Elemental MediaStore. </p> <p>You can query to receive all the containers in one response. Or you can include the <code>MaxResults</code> parameter to receive a limited number of containers in each response. In this case, the response includes a token. To get the next set of containers, send the command again, this time with the <code>NextToken</code> parameter (with the returned token as its value). The next set of responses appears, with a token if there are still more containers to receive. </p> <p>See also <a>DescribeContainer</a>, which gets the properties of one container. </p>",
15+
"ListTagsForResource": "<p>Returns a list of the tags assigned to the specified container. </p>",
1516
"PutContainerPolicy": "<p>Creates an access policy for the specified container to restrict the users and clients that can access it. For information about the data that is included in an access policy, see the <a href=\"https://aws.amazon.com/documentation/iam/\">AWS Identity and Access Management User Guide</a>.</p> <p>For this release of the REST API, you can create only one policy for a container. If you enter <code>PutContainerPolicy</code> twice, the second command modifies the existing policy. </p>",
1617
"PutCorsPolicy": "<p>Sets the cross-origin resource sharing (CORS) configuration on a container so that the container can service cross-origin requests. For example, you might want to enable a request whose origin is http://www.example.com to access your AWS Elemental MediaStore container at my.example.container.com by using the browser's XMLHttpRequest capability.</p> <p>To enable CORS on a container, you attach a CORS policy to the container. In the CORS policy, you configure rules that identify origins and the HTTP methods that can be executed on your container. The policy can contain up to 398,000 characters. You can add up to 100 rules to a CORS policy. If more than one rule applies, the service uses the first applicable rule listed.</p> <p>To learn more about CORS, see <a href=\"https://docs.aws.amazon.com/mediastore/latest/ug/cors-policy.html\">Cross-Origin Resource Sharing (CORS) in AWS Elemental MediaStore</a>.</p>",
1718
"PutLifecyclePolicy": "<p>Writes an object lifecycle policy to a container. If the container already has an object lifecycle policy, the service replaces the existing policy with the new policy. It takes up to 20 minutes for the change to take effect.</p> <p>For information about how to construct an object lifecycle policy, see <a href=\"https://docs.aws.amazon.com/mediastore/latest/ug/policies-object-lifecycle-components.html\">Components of an Object Lifecycle Policy</a>.</p>",
1819
"StartAccessLogging": "<p>Starts access logging on the specified container. When you enable access logging on a container, MediaStore delivers access logs for objects stored in that container to Amazon CloudWatch Logs.</p>",
19-
"StopAccessLogging": "<p>Stops access logging on the specified container. When you stop access logging on a container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access logs are not saved and are not retrievable.</p>"
20+
"StopAccessLogging": "<p>Stops access logging on the specified container. When you stop access logging on a container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access logs are not saved and are not retrievable.</p>",
21+
"TagResource": "<p>Adds tags to the specified AWS Elemental MediaStore container. Tags are key:value pairs that you can associate with AWS resources. For example, the tag key might be \"customer\" and the tag value might be \"companyA.\" You can specify one or more tags to add to each container. You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see <a href=\"https://aws.amazon.com/documentation/mediastore/tagging\">Tagging Resources in MediaStore</a>.</p>",
22+
"UntagResource": "<p>Removes tags from the specified container. You can specify one or more tags to remove. </p>"
2023
},
2124
"shapes": {
2225
"AllowedHeaders": {
@@ -48,7 +51,10 @@
4851
"ContainerARN": {
4952
"base": null,
5053
"refs": {
51-
"Container$ARN": "<p>The Amazon Resource Name (ARN) of the container. The ARN has the following format:</p> <p>arn:aws:&lt;region&gt;:&lt;account that owns this container&gt;:container/&lt;name of container&gt; </p> <p>For example: arn:aws:mediastore:us-west-2:111122223333:container/movies </p>"
54+
"Container$ARN": "<p>The Amazon Resource Name (ARN) of the container. The ARN has the following format:</p> <p>arn:aws:&lt;region&gt;:&lt;account that owns this container&gt;:container/&lt;name of container&gt; </p> <p>For example: arn:aws:mediastore:us-west-2:111122223333:container/movies </p>",
55+
"ListTagsForResourceInput$Resource": "<p>The Amazon Resource Name (ARN) for the container.</p>",
56+
"TagResourceInput$Resource": "<p>The Amazon Resource Name (ARN) for the container. </p>",
57+
"UntagResourceInput$Resource": "<p>The Amazon Resource Name (ARN) for the container.</p>"
5258
}
5359
},
5460
"ContainerAccessLoggingEnabled": {
@@ -277,6 +283,16 @@
277283
"refs": {
278284
}
279285
},
286+
"ListTagsForResourceInput": {
287+
"base": null,
288+
"refs": {
289+
}
290+
},
291+
"ListTagsForResourceOutput": {
292+
"base": null,
293+
"refs": {
294+
}
295+
},
280296
"MaxAgeSeconds": {
281297
"base": null,
282298
"refs": {
@@ -357,11 +373,64 @@
357373
"refs": {
358374
}
359375
},
376+
"Tag": {
377+
"base": "<p>A collection of tags associated with a container. Each tag consists of a key:value pair, which can be anything you define. Typically, the tag key represents a category (such as \"environment\") and the tag value represents a specific value within that category (such as \"test,\" \"development,\" or \"production\"). You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see <a href=\"https://aws.amazon.com/documentation/mediastore/tagging\">Tagging Resources in MediaStore</a>.</p>",
378+
"refs": {
379+
"TagList$member": null
380+
}
381+
},
382+
"TagKey": {
383+
"base": null,
384+
"refs": {
385+
"Tag$Key": "<p>Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as \"customer.\" Tag keys are case-sensitive.</p>",
386+
"TagKeyList$member": null
387+
}
388+
},
389+
"TagKeyList": {
390+
"base": null,
391+
"refs": {
392+
"UntagResourceInput$TagKeys": "<p>A comma-separated list of keys for tags that you want to remove from the container. For example, if your container has two tags (customer:CompanyA and priority:High) and you want to remove one of the tags (priority:High), you specify the key for the tag that you want to remove (priority).</p>"
393+
}
394+
},
395+
"TagList": {
396+
"base": null,
397+
"refs": {
398+
"CreateContainerInput$Tags": "<p>An array of key:value pairs that you define. These values can be anything that you want. Typically, the tag key represents a category (such as \"environment\") and the tag value represents a specific value within that category (such as \"test,\" \"development,\" or \"production\"). You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see <a href=\"https://aws.amazon.com/documentation/mediastore/tagging\">Tagging Resources in MediaStore</a>.</p>",
399+
"ListTagsForResourceOutput$Tags": "<p>An array of key:value pairs that are assigned to the container.</p>",
400+
"TagResourceInput$Tags": "<p>An array of key:value pairs that you want to add to the container. You need to specify only the tags that you want to add or update. For example, suppose a container already has two tags (customer:CompanyA and priority:High). You want to change the priority tag and also add a third tag (type:Contract). For TagResource, you specify the following tags: priority:Medium, type:Contract. The result is that your container has three tags: customer:CompanyA, priority:Medium, and type:Contract.</p>"
401+
}
402+
},
403+
"TagResourceInput": {
404+
"base": null,
405+
"refs": {
406+
}
407+
},
408+
"TagResourceOutput": {
409+
"base": null,
410+
"refs": {
411+
}
412+
},
413+
"TagValue": {
414+
"base": null,
415+
"refs": {
416+
"Tag$Value": "<p>Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as \"companyA\" or \"companyB.\" Tag values are case-sensitive.</p>"
417+
}
418+
},
360419
"TimeStamp": {
361420
"base": null,
362421
"refs": {
363422
"Container$CreationTime": "<p>Unix timestamp.</p>"
364423
}
424+
},
425+
"UntagResourceInput": {
426+
"base": null,
427+
"refs": {
428+
}
429+
},
430+
"UntagResourceOutput": {
431+
"base": null,
432+
"refs": {
433+
}
365434
}
366435
}
367436
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
22
"pagination": {
3+
"ListContainers": {
4+
"input_token": "NextToken",
5+
"output_token": "NextToken",
6+
"limit_key": "MaxResults"
7+
}
38
}
49
}

aws-sdk-core/endpoints.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3813,6 +3813,7 @@
38133813
},
38143814
"codebuild" : {
38153815
"endpoints" : {
3816+
"us-gov-east-1" : { },
38163817
"us-gov-west-1" : { }
38173818
}
38183819
},

0 commit comments

Comments
 (0)