github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/amp/2020-08-01/waiters-2.json (about)

     1  {
     2    "version" : 2,
     3    "waiters" : {
     4      "WorkspaceActive" : {
     5        "description" : "Wait until a workspace reaches ACTIVE status",
     6        "delay" : 2,
     7        "maxAttempts" : 60,
     8        "operation" : "DescribeWorkspace",
     9        "acceptors" : [ {
    10          "matcher" : "path",
    11          "argument" : "workspace.status.statusCode",
    12          "state" : "success",
    13          "expected" : "ACTIVE"
    14        }, {
    15          "matcher" : "path",
    16          "argument" : "workspace.status.statusCode",
    17          "state" : "retry",
    18          "expected" : "UPDATING"
    19        }, {
    20          "matcher" : "path",
    21          "argument" : "workspace.status.statusCode",
    22          "state" : "retry",
    23          "expected" : "CREATING"
    24        } ]
    25      },
    26      "WorkspaceDeleted" : {
    27        "description" : "Wait until a workspace reaches DELETED status",
    28        "delay" : 2,
    29        "maxAttempts" : 60,
    30        "operation" : "DescribeWorkspace",
    31        "acceptors" : [ {
    32          "matcher" : "error",
    33          "state" : "success",
    34          "expected" : "ResourceNotFoundException"
    35        }, {
    36          "matcher" : "path",
    37          "argument" : "workspace.status.statusCode",
    38          "state" : "retry",
    39          "expected" : "DELETING"
    40        } ]
    41      }
    42    }
    43  }