Skip to content

Commit f048e1d

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent 37c912e commit f048e1d

File tree

7 files changed

+297
-169
lines changed

7 files changed

+297
-169
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::MediaLive - Updated the API, and waiters for AWS Elemental MediaLive.
5+
6+
* Feature - Aws::S3 - Updated the API, and documentation for Amazon Simple Storage Service.
7+
48
2.11.275 (2019-05-15)
59
------------------
610

aws-sdk-core/apis/medialive/2017-10-14/paginators-1.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,38 @@
33
"DescribeSchedule": {
44
"input_token": "NextToken",
55
"output_token": "NextToken",
6-
"limit_key": "MaxResults"
6+
"limit_key": "MaxResults",
7+
"result_key": "ScheduleActions"
78
},
89
"ListChannels": {
910
"input_token": "NextToken",
1011
"output_token": "NextToken",
11-
"limit_key": "MaxResults"
12+
"limit_key": "MaxResults",
13+
"result_key": "Channels"
1214
},
1315
"ListInputSecurityGroups": {
1416
"input_token": "NextToken",
1517
"output_token": "NextToken",
16-
"limit_key": "MaxResults"
18+
"limit_key": "MaxResults",
19+
"result_key": "InputSecurityGroups"
1720
},
1821
"ListInputs": {
1922
"input_token": "NextToken",
2023
"output_token": "NextToken",
21-
"limit_key": "MaxResults"
24+
"limit_key": "MaxResults",
25+
"result_key": "Inputs"
2226
},
2327
"ListOfferings": {
2428
"input_token": "NextToken",
2529
"output_token": "NextToken",
26-
"limit_key": "MaxResults"
30+
"limit_key": "MaxResults",
31+
"result_key": "Offerings"
2732
},
2833
"ListReservations": {
2934
"input_token": "NextToken",
3035
"output_token": "NextToken",
31-
"limit_key": "MaxResults"
36+
"limit_key": "MaxResults",
37+
"result_key": "Reservations"
3238
}
3339
}
3440
}
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"version": 2,
3+
"waiters": {
4+
"ChannelCreated": {
5+
"description": "Wait until a channel has been created",
6+
"operation": "DescribeChannel",
7+
"delay": 3,
8+
"maxAttempts": 5,
9+
"acceptors": [
10+
{
11+
"state": "success",
12+
"matcher": "path",
13+
"argument": "State",
14+
"expected": "IDLE"
15+
},
16+
{
17+
"state": "retry",
18+
"matcher": "path",
19+
"argument": "State",
20+
"expected": "CREATING"
21+
},
22+
{
23+
"state": "retry",
24+
"matcher": "status",
25+
"expected": 500
26+
},
27+
{
28+
"state": "failure",
29+
"matcher": "path",
30+
"argument": "State",
31+
"expected": "CREATE_FAILED"
32+
}
33+
]
34+
},
35+
"ChannelRunning": {
36+
"description": "Wait until a channel is running",
37+
"operation": "DescribeChannel",
38+
"delay": 5,
39+
"maxAttempts": 120,
40+
"acceptors": [
41+
{
42+
"state": "success",
43+
"matcher": "path",
44+
"argument": "State",
45+
"expected": "RUNNING"
46+
},
47+
{
48+
"state": "retry",
49+
"matcher": "path",
50+
"argument": "State",
51+
"expected": "STARTING"
52+
},
53+
{
54+
"state": "retry",
55+
"matcher": "status",
56+
"expected": 500
57+
}
58+
]
59+
},
60+
"ChannelStopped": {
61+
"description": "Wait until a channel has is stopped",
62+
"operation": "DescribeChannel",
63+
"delay": 5,
64+
"maxAttempts": 28,
65+
"acceptors": [
66+
{
67+
"state": "success",
68+
"matcher": "path",
69+
"argument": "State",
70+
"expected": "IDLE"
71+
},
72+
{
73+
"state": "retry",
74+
"matcher": "path",
75+
"argument": "State",
76+
"expected": "STOPPING"
77+
},
78+
{
79+
"state": "retry",
80+
"matcher": "status",
81+
"expected": 500
82+
}
83+
]
84+
},
85+
"ChannelDeleted": {
86+
"description": "Wait until a channel has been deleted",
87+
"operation": "DescribeChannel",
88+
"delay": 5,
89+
"maxAttempts": 20,
90+
"acceptors": [
91+
{
92+
"state": "success",
93+
"matcher": "path",
94+
"argument": "State",
95+
"expected": "DELETED"
96+
},
97+
{
98+
"state": "retry",
99+
"matcher": "path",
100+
"argument": "State",
101+
"expected": "DELETING"
102+
},
103+
{
104+
"state": "retry",
105+
"matcher": "status",
106+
"expected": 500
107+
}
108+
]
109+
}
110+
}
111+
}

aws-sdk-core/apis/s3/2006-03-01/api-2.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5003,6 +5003,11 @@
50035003
"shape":"ReplicationConfiguration",
50045004
"locationName":"ReplicationConfiguration",
50055005
"xmlNamespace":{"uri":"http://s3.amazonaws.com/doc/2006-03-01/"}
5006+
},
5007+
"Token":{
5008+
"shape":"ObjectLockToken",
5009+
"location":"header",
5010+
"locationName":"x-amz-bucket-object-lock-token"
50065011
}
50075012
},
50085013
"payload":"ReplicationConfiguration"

aws-sdk-core/apis/s3/2006-03-01/docs-2.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@
816816
"refs": {
817817
"DefaultRetention$Days": "<p>The number of days that you want to specify for the default retention period.</p>",
818818
"LifecycleExpiration$Days": "<p>Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.</p>",
819-
"NoncurrentVersionExpiration$NoncurrentDays": "<p>Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html\">How Amazon S3 Calculates When an Object Became Noncurrent</a> in the Amazon Simple Storage Service Developer Guide.</p>",
819+
"NoncurrentVersionExpiration$NoncurrentDays": "<p>Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations\">How Amazon S3 Calculates When an Object Became Noncurrent</a> in the Amazon Simple Storage Service Developer Guide.</p>",
820820
"NoncurrentVersionTransition$NoncurrentDays": "<p>Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html\">How Amazon S3 Calculates When an Object Became Noncurrent</a> in the Amazon Simple Storage Service Developer Guide.</p>",
821821
"RestoreRequest$Days": "<p>Lifetime of the active copy in days. Do not use with restores that specify OutputLocation.</p>",
822822
"Transition$Days": "<p>Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.</p>"
@@ -2426,6 +2426,7 @@
24262426
"ObjectLockToken": {
24272427
"base": null,
24282428
"refs": {
2429+
"PutBucketReplicationRequest$Token": "<p/>",
24292430
"PutObjectLockConfigurationRequest$Token": "<p>A token to allow Object Lock to be enabled for an existing bucket.</p>"
24302431
}
24312432
},

0 commit comments

Comments
 (0)