github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/proton/2020-07-20/waiters-2.json (about)

     1  {
     2    "version" : 2,
     3    "waiters" : {
     4      "EnvironmentDeployed" : {
     5        "description" : "Wait until an Environment is deployed. Use this after invoking CreateEnvironment or UpdateEnvironment",
     6        "delay" : 5,
     7        "maxAttempts" : 999,
     8        "operation" : "GetEnvironment",
     9        "acceptors" : [ {
    10          "matcher" : "path",
    11          "argument" : "environment.deploymentStatus",
    12          "state" : "success",
    13          "expected" : "SUCCEEDED"
    14        }, {
    15          "matcher" : "path",
    16          "argument" : "environment.deploymentStatus",
    17          "state" : "failure",
    18          "expected" : "FAILED"
    19        } ]
    20      },
    21      "EnvironmentTemplateVersionRegistered" : {
    22        "description" : "Wait until an EnvironmentTemplateVersion is registered. Use this after invoking CreateEnvironmentTemplateVersion",
    23        "delay" : 2,
    24        "maxAttempts" : 150,
    25        "operation" : "GetEnvironmentTemplateVersion",
    26        "acceptors" : [ {
    27          "matcher" : "path",
    28          "argument" : "environmentTemplateVersion.status",
    29          "state" : "success",
    30          "expected" : "DRAFT"
    31        }, {
    32          "matcher" : "path",
    33          "argument" : "environmentTemplateVersion.status",
    34          "state" : "success",
    35          "expected" : "PUBLISHED"
    36        }, {
    37          "matcher" : "path",
    38          "argument" : "environmentTemplateVersion.status",
    39          "state" : "failure",
    40          "expected" : "REGISTRATION_FAILED"
    41        } ]
    42      },
    43      "ServiceCreated" : {
    44        "description" : "Wait until an Service has deployed its instances and possibly pipeline. Use this after invoking CreateService",
    45        "delay" : 5,
    46        "maxAttempts" : 999,
    47        "operation" : "GetService",
    48        "acceptors" : [ {
    49          "matcher" : "path",
    50          "argument" : "service.status",
    51          "state" : "success",
    52          "expected" : "ACTIVE"
    53        }, {
    54          "matcher" : "path",
    55          "argument" : "service.status",
    56          "state" : "failure",
    57          "expected" : "CREATE_FAILED_CLEANUP_COMPLETE"
    58        }, {
    59          "matcher" : "path",
    60          "argument" : "service.status",
    61          "state" : "failure",
    62          "expected" : "CREATE_FAILED_CLEANUP_FAILED"
    63        }, {
    64          "matcher" : "path",
    65          "argument" : "service.status",
    66          "state" : "failure",
    67          "expected" : "CREATE_FAILED"
    68        } ]
    69      },
    70      "ServiceDeleted" : {
    71        "description" : "Wait until a Service, its instances, and possibly pipeline have been deleted after DeleteService is invoked",
    72        "delay" : 5,
    73        "maxAttempts" : 999,
    74        "operation" : "GetService",
    75        "acceptors" : [ {
    76          "matcher" : "error",
    77          "state" : "success",
    78          "expected" : "ResourceNotFoundException"
    79        }, {
    80          "matcher" : "path",
    81          "argument" : "service.status",
    82          "state" : "failure",
    83          "expected" : "DELETE_FAILED"
    84        } ]
    85      },
    86      "ServiceInstanceDeployed" : {
    87        "description" : "Wait until a ServiceInstance is deployed. Use this after invoking CreateService or UpdateServiceInstance",
    88        "delay" : 5,
    89        "maxAttempts" : 999,
    90        "operation" : "GetServiceInstance",
    91        "acceptors" : [ {
    92          "matcher" : "path",
    93          "argument" : "serviceInstance.deploymentStatus",
    94          "state" : "success",
    95          "expected" : "SUCCEEDED"
    96        }, {
    97          "matcher" : "path",
    98          "argument" : "serviceInstance.deploymentStatus",
    99          "state" : "failure",
   100          "expected" : "FAILED"
   101        } ]
   102      },
   103      "ServicePipelineDeployed" : {
   104        "description" : "Wait until an ServicePipeline is deployed. Use this after invoking CreateService or UpdateServicePipeline",
   105        "delay" : 10,
   106        "maxAttempts" : 360,
   107        "operation" : "GetService",
   108        "acceptors" : [ {
   109          "matcher" : "path",
   110          "argument" : "service.pipeline.deploymentStatus",
   111          "state" : "success",
   112          "expected" : "SUCCEEDED"
   113        }, {
   114          "matcher" : "path",
   115          "argument" : "service.pipeline.deploymentStatus",
   116          "state" : "failure",
   117          "expected" : "FAILED"
   118        } ]
   119      },
   120      "ServiceTemplateVersionRegistered" : {
   121        "description" : "Wait until a ServiceTemplateVersion is registered. Use this after invoking CreateServiceTemplateVersion",
   122        "delay" : 2,
   123        "maxAttempts" : 150,
   124        "operation" : "GetServiceTemplateVersion",
   125        "acceptors" : [ {
   126          "matcher" : "path",
   127          "argument" : "serviceTemplateVersion.status",
   128          "state" : "success",
   129          "expected" : "DRAFT"
   130        }, {
   131          "matcher" : "path",
   132          "argument" : "serviceTemplateVersion.status",
   133          "state" : "success",
   134          "expected" : "PUBLISHED"
   135        }, {
   136          "matcher" : "path",
   137          "argument" : "serviceTemplateVersion.status",
   138          "state" : "failure",
   139          "expected" : "REGISTRATION_FAILED"
   140        } ]
   141      },
   142      "ServiceUpdated" : {
   143        "description" : "Wait until a Service, its instances, and possibly pipeline have been deployed after UpdateService is invoked",
   144        "delay" : 5,
   145        "maxAttempts" : 999,
   146        "operation" : "GetService",
   147        "acceptors" : [ {
   148          "matcher" : "path",
   149          "argument" : "service.status",
   150          "state" : "success",
   151          "expected" : "ACTIVE"
   152        }, {
   153          "matcher" : "path",
   154          "argument" : "service.status",
   155          "state" : "failure",
   156          "expected" : "UPDATE_FAILED_CLEANUP_COMPLETE"
   157        }, {
   158          "matcher" : "path",
   159          "argument" : "service.status",
   160          "state" : "failure",
   161          "expected" : "UPDATE_FAILED_CLEANUP_FAILED"
   162        }, {
   163          "matcher" : "path",
   164          "argument" : "service.status",
   165          "state" : "failure",
   166          "expected" : "UPDATE_FAILED"
   167        }, {
   168          "matcher" : "path",
   169          "argument" : "service.status",
   170          "state" : "failure",
   171          "expected" : "UPDATE_COMPLETE_CLEANUP_FAILED"
   172        } ]
   173      }
   174    }
   175  }