aws-sdk-core 2.0.18 → 2.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/CloudFormation.resources.json +55 -20
- data/apis/CloudFront.waiters.json +35 -17
- data/apis/DynamoDB.waiters.json +27 -17
- data/apis/EC2.api.json +5 -0
- data/apis/EC2.resources.json +449 -319
- data/apis/EC2.waiters.json +389 -139
- data/apis/{EMR.waiters2.json → EMR.waiters.json} +0 -0
- data/apis/ElasticTranscoder.api.json +34 -3
- data/apis/ElasticTranscoder.waiters.json +22 -8
- data/apis/Glacier.resources.json +215 -117
- data/apis/Glacier.waiters.json +31 -15
- data/apis/IAM.resources.json +380 -169
- data/apis/{Kinesis.waiters2.json → Kinesis.waiters.json} +0 -0
- data/apis/OpsWorks.resources.json +51 -17
- data/apis/RDS.waiters.json +87 -26
- data/apis/Redshift.waiters.json +54 -29
- data/apis/S3.resources.json +404 -143
- data/apis/S3.waiters.json +47 -16
- data/apis/SES.waiters.json +11 -7
- data/apis/SNS.resources.json +67 -33
- data/apis/SQS.resources.json +57 -30
- data/lib/aws-sdk-core.rb +1 -0
- data/lib/aws-sdk-core/api/documenter.rb +4 -3
- data/lib/aws-sdk-core/api/service_customizations.rb +0 -6
- data/lib/aws-sdk-core/client_waiters.rb +65 -50
- data/lib/aws-sdk-core/emr.rb +1 -0
- data/lib/aws-sdk-core/errors.rb +4 -0
- data/lib/aws-sdk-core/instance_profile_credentials.rb +1 -0
- data/lib/aws-sdk-core/kinesis.rb +1 -0
- data/lib/aws-sdk-core/paging/pager.rb +5 -1
- data/lib/aws-sdk-core/refreshing_credentials.rb +2 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- data/lib/aws-sdk-core/waiters/errors.rb +50 -12
- data/lib/aws-sdk-core/waiters/poller.rb +105 -0
- data/lib/aws-sdk-core/waiters/provider.rb +11 -30
- data/lib/aws-sdk-core/waiters/waiter.rb +42 -102
- metadata +5 -12
- data/apis/CloudFront.waiters2.json +0 -47
- data/apis/DynamoDB.waiters2.json +0 -35
- data/apis/EC2.waiters2.json +0 -341
- data/apis/ElasticTranscoder.waiters2.json +0 -30
- data/apis/RDS.waiters2.json +0 -97
- data/apis/Redshift.waiters2.json +0 -97
- data/apis/S3.waiters2.json +0 -63
- data/apis/SES.waiters2.json +0 -18
@@ -1,30 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 2,
|
3
|
-
"waiters": {
|
4
|
-
"JobComplete": {
|
5
|
-
"delay": 30,
|
6
|
-
"operation": "ReadJob",
|
7
|
-
"maxAttempts": 120,
|
8
|
-
"acceptors": [
|
9
|
-
{
|
10
|
-
"expected": "Complete",
|
11
|
-
"matcher": "path",
|
12
|
-
"state": "success",
|
13
|
-
"argument": "Job.Status"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"expected": "Canceled",
|
17
|
-
"matcher": "path",
|
18
|
-
"state": "failure",
|
19
|
-
"argument": "Job.Status"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"expected": "Error",
|
23
|
-
"matcher": "path",
|
24
|
-
"state": "failure",
|
25
|
-
"argument": "Job.Status"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
data/apis/RDS.waiters2.json
DELETED
@@ -1,97 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 2,
|
3
|
-
"waiters": {
|
4
|
-
"DBInstanceAvailable": {
|
5
|
-
"delay": 30,
|
6
|
-
"operation": "DescribeDBInstances",
|
7
|
-
"maxAttempts": 60,
|
8
|
-
"acceptors": [
|
9
|
-
{
|
10
|
-
"expected": "available",
|
11
|
-
"matcher": "pathAll",
|
12
|
-
"state": "success",
|
13
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"expected": "deleted",
|
17
|
-
"matcher": "pathAny",
|
18
|
-
"state": "failure",
|
19
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"expected": "deleting",
|
23
|
-
"matcher": "pathAny",
|
24
|
-
"state": "failure",
|
25
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"expected": "failed",
|
29
|
-
"matcher": "pathAny",
|
30
|
-
"state": "failure",
|
31
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"expected": "incompatible-restore",
|
35
|
-
"matcher": "pathAny",
|
36
|
-
"state": "failure",
|
37
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"expected": "incompatible-parameters",
|
41
|
-
"matcher": "pathAny",
|
42
|
-
"state": "failure",
|
43
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"expected": "incompatible-parameters",
|
47
|
-
"matcher": "pathAny",
|
48
|
-
"state": "failure",
|
49
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"expected": "incompatible-restore",
|
53
|
-
"matcher": "pathAny",
|
54
|
-
"state": "failure",
|
55
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
56
|
-
}
|
57
|
-
]
|
58
|
-
},
|
59
|
-
"DBInstanceDeleted": {
|
60
|
-
"delay": 30,
|
61
|
-
"operation": "DescribeDBInstances",
|
62
|
-
"maxAttempts": 60,
|
63
|
-
"acceptors": [
|
64
|
-
{
|
65
|
-
"expected": "deleted",
|
66
|
-
"matcher": "pathAll",
|
67
|
-
"state": "success",
|
68
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"expected": "creating",
|
72
|
-
"matcher": "pathAny",
|
73
|
-
"state": "failure",
|
74
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"expected": "modifying",
|
78
|
-
"matcher": "pathAny",
|
79
|
-
"state": "failure",
|
80
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"expected": "rebooting",
|
84
|
-
"matcher": "pathAny",
|
85
|
-
"state": "failure",
|
86
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"expected": "resetting-master-credentials",
|
90
|
-
"matcher": "pathAny",
|
91
|
-
"state": "failure",
|
92
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
93
|
-
}
|
94
|
-
]
|
95
|
-
}
|
96
|
-
}
|
97
|
-
}
|
data/apis/Redshift.waiters2.json
DELETED
@@ -1,97 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 2,
|
3
|
-
"waiters": {
|
4
|
-
"DBInstanceAvailable": {
|
5
|
-
"delay": 30,
|
6
|
-
"operation": "DescribeDBInstances",
|
7
|
-
"maxAttempts": 60,
|
8
|
-
"acceptors": [
|
9
|
-
{
|
10
|
-
"expected": "available",
|
11
|
-
"matcher": "pathAll",
|
12
|
-
"state": "success",
|
13
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"expected": "deleted",
|
17
|
-
"matcher": "pathAny",
|
18
|
-
"state": "failure",
|
19
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"expected": "deleting",
|
23
|
-
"matcher": "pathAny",
|
24
|
-
"state": "failure",
|
25
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"expected": "failed",
|
29
|
-
"matcher": "pathAny",
|
30
|
-
"state": "failure",
|
31
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"expected": "incompatible-restore",
|
35
|
-
"matcher": "pathAny",
|
36
|
-
"state": "failure",
|
37
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"expected": "incompatible-parameters",
|
41
|
-
"matcher": "pathAny",
|
42
|
-
"state": "failure",
|
43
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"expected": "incompatible-parameters",
|
47
|
-
"matcher": "pathAny",
|
48
|
-
"state": "failure",
|
49
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"expected": "incompatible-restore",
|
53
|
-
"matcher": "pathAny",
|
54
|
-
"state": "failure",
|
55
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
56
|
-
}
|
57
|
-
]
|
58
|
-
},
|
59
|
-
"DBInstanceDeleted": {
|
60
|
-
"delay": 30,
|
61
|
-
"operation": "DescribeDBInstances",
|
62
|
-
"maxAttempts": 60,
|
63
|
-
"acceptors": [
|
64
|
-
{
|
65
|
-
"expected": "deleted",
|
66
|
-
"matcher": "pathAll",
|
67
|
-
"state": "success",
|
68
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"expected": "creating",
|
72
|
-
"matcher": "pathAny",
|
73
|
-
"state": "failure",
|
74
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"expected": "modifying",
|
78
|
-
"matcher": "pathAny",
|
79
|
-
"state": "failure",
|
80
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"expected": "rebooting",
|
84
|
-
"matcher": "pathAny",
|
85
|
-
"state": "failure",
|
86
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"expected": "resetting-master-credentials",
|
90
|
-
"matcher": "pathAny",
|
91
|
-
"state": "failure",
|
92
|
-
"argument": "DBInstances[].DBInstanceStatus"
|
93
|
-
}
|
94
|
-
]
|
95
|
-
}
|
96
|
-
}
|
97
|
-
}
|
data/apis/S3.waiters2.json
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 2,
|
3
|
-
"waiters": {
|
4
|
-
"BucketExists": {
|
5
|
-
"delay": 5,
|
6
|
-
"operation": "HeadBucket",
|
7
|
-
"maxAttempts": 20,
|
8
|
-
"acceptors": [
|
9
|
-
{
|
10
|
-
"expected": 200,
|
11
|
-
"matcher": "status",
|
12
|
-
"state": "success"
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"expected": 404,
|
16
|
-
"matcher": "status",
|
17
|
-
"state": "retry"
|
18
|
-
}
|
19
|
-
]
|
20
|
-
},
|
21
|
-
"BucketNotExists": {
|
22
|
-
"delay": 5,
|
23
|
-
"operation": "HeadBucket",
|
24
|
-
"maxAttempts": 20,
|
25
|
-
"acceptors": [
|
26
|
-
{
|
27
|
-
"expected": 404,
|
28
|
-
"matcher": "status",
|
29
|
-
"state": "success"
|
30
|
-
}
|
31
|
-
]
|
32
|
-
},
|
33
|
-
"ObjectExists": {
|
34
|
-
"delay": 5,
|
35
|
-
"operation": "HeadObject",
|
36
|
-
"maxAttempts": 20,
|
37
|
-
"acceptors": [
|
38
|
-
{
|
39
|
-
"expected": 200,
|
40
|
-
"matcher": "status",
|
41
|
-
"state": "success"
|
42
|
-
},
|
43
|
-
{
|
44
|
-
"expected": 404,
|
45
|
-
"matcher": "status",
|
46
|
-
"state": "retry"
|
47
|
-
}
|
48
|
-
]
|
49
|
-
},
|
50
|
-
"ObjectNotExists": {
|
51
|
-
"delay": 5,
|
52
|
-
"operation": "HeadObject",
|
53
|
-
"maxAttempts": 20,
|
54
|
-
"acceptors": [
|
55
|
-
{
|
56
|
-
"expected": 404,
|
57
|
-
"matcher": "status",
|
58
|
-
"state": "success"
|
59
|
-
}
|
60
|
-
]
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
data/apis/SES.waiters2.json
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 2,
|
3
|
-
"waiters": {
|
4
|
-
"IdentityExists": {
|
5
|
-
"delay": 3,
|
6
|
-
"operation": "GetIdentityVerificationAttributes",
|
7
|
-
"maxAttempts": 20,
|
8
|
-
"acceptors": [
|
9
|
-
{
|
10
|
-
"expected": "Success",
|
11
|
-
"matcher": "pathAll",
|
12
|
-
"state": "success",
|
13
|
-
"argument": "VerificationAttributes.*.VerificationStatus"
|
14
|
-
}
|
15
|
-
]
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|