UNPKG

1.44 kBJSONView Raw
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": 301,
16 "matcher": "status",
17 "state": "success"
18 },
19 {
20 "expected": 403,
21 "matcher": "status",
22 "state": "success"
23 },
24 {
25 "expected": 404,
26 "matcher": "status",
27 "state": "retry"
28 }
29 ]
30 },
31 "BucketNotExists": {
32 "delay": 5,
33 "operation": "HeadBucket",
34 "maxAttempts": 20,
35 "acceptors": [
36 {
37 "expected": 404,
38 "matcher": "status",
39 "state": "success"
40 }
41 ]
42 },
43 "ObjectExists": {
44 "delay": 5,
45 "operation": "HeadObject",
46 "maxAttempts": 20,
47 "acceptors": [
48 {
49 "expected": 200,
50 "matcher": "status",
51 "state": "success"
52 },
53 {
54 "expected": 404,
55 "matcher": "status",
56 "state": "retry"
57 }
58 ]
59 },
60 "ObjectNotExists": {
61 "delay": 5,
62 "operation": "HeadObject",
63 "maxAttempts": 20,
64 "acceptors": [
65 {
66 "expected": 404,
67 "matcher": "status",
68 "state": "success"
69 }
70 ]
71 }
72 }
73}