Inital Commit
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"pagination": {
|
||||
"ListEnvironmentAccountConnections": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "environmentAccountConnections"
|
||||
},
|
||||
"ListEnvironmentTemplateVersions": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "templateVersions"
|
||||
},
|
||||
"ListEnvironmentTemplates": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "templates"
|
||||
},
|
||||
"ListEnvironments": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "environments"
|
||||
},
|
||||
"ListServiceInstances": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "serviceInstances"
|
||||
},
|
||||
"ListServiceTemplateVersions": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "templateVersions"
|
||||
},
|
||||
"ListServiceTemplates": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "templates"
|
||||
},
|
||||
"ListServices": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "services"
|
||||
},
|
||||
"ListTagsForResource": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "tags"
|
||||
},
|
||||
"ListEnvironmentOutputs": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "outputs"
|
||||
},
|
||||
"ListEnvironmentProvisionedResources": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "provisionedResources"
|
||||
},
|
||||
"ListRepositories": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "repositories"
|
||||
},
|
||||
"ListRepositorySyncDefinitions": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "syncDefinitions"
|
||||
},
|
||||
"ListServiceInstanceOutputs": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "outputs"
|
||||
},
|
||||
"ListServiceInstanceProvisionedResources": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "provisionedResources"
|
||||
},
|
||||
"ListServicePipelineOutputs": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "outputs"
|
||||
},
|
||||
"ListServicePipelineProvisionedResources": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "provisionedResources"
|
||||
},
|
||||
"ListComponentOutputs": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "outputs"
|
||||
},
|
||||
"ListComponentProvisionedResources": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"result_key": "provisionedResources"
|
||||
},
|
||||
"ListComponents": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "components"
|
||||
},
|
||||
"ListDeployments": {
|
||||
"input_token": "nextToken",
|
||||
"output_token": "nextToken",
|
||||
"limit_key": "maxResults",
|
||||
"result_key": "deployments"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"version" : 2,
|
||||
"waiters" : {
|
||||
"ComponentDeleted" : {
|
||||
"description" : "Wait until a Component is deleted. Use this after invoking DeleteComponent",
|
||||
"delay" : 5,
|
||||
"maxAttempts" : 999,
|
||||
"operation" : "GetComponent",
|
||||
"acceptors" : [ {
|
||||
"matcher" : "error",
|
||||
"state" : "success",
|
||||
"expected" : "ResourceNotFoundException"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "component.deploymentStatus",
|
||||
"state" : "failure",
|
||||
"expected" : "DELETE_FAILED"
|
||||
} ]
|
||||
},
|
||||
"ComponentDeployed" : {
|
||||
"description" : "Wait until a Component is deployed. Use this after invoking CreateComponent or UpdateComponent",
|
||||
"delay" : 5,
|
||||
"maxAttempts" : 999,
|
||||
"operation" : "GetComponent",
|
||||
"acceptors" : [ {
|
||||
"matcher" : "path",
|
||||
"argument" : "component.deploymentStatus",
|
||||
"state" : "success",
|
||||
"expected" : "SUCCEEDED"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "component.deploymentStatus",
|
||||
"state" : "failure",
|
||||
"expected" : "FAILED"
|
||||
} ]
|
||||
},
|
||||
"EnvironmentDeployed" : {
|
||||
"description" : "Wait until an Environment is deployed. Use this after invoking CreateEnvironment or UpdateEnvironment",
|
||||
"delay" : 5,
|
||||
"maxAttempts" : 999,
|
||||
"operation" : "GetEnvironment",
|
||||
"acceptors" : [ {
|
||||
"matcher" : "path",
|
||||
"argument" : "environment.deploymentStatus",
|
||||
"state" : "success",
|
||||
"expected" : "SUCCEEDED"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "environment.deploymentStatus",
|
||||
"state" : "failure",
|
||||
"expected" : "FAILED"
|
||||
} ]
|
||||
},
|
||||
"EnvironmentTemplateVersionRegistered" : {
|
||||
"description" : "Wait until an EnvironmentTemplateVersion is registered. Use this after invoking CreateEnvironmentTemplateVersion",
|
||||
"delay" : 2,
|
||||
"maxAttempts" : 150,
|
||||
"operation" : "GetEnvironmentTemplateVersion",
|
||||
"acceptors" : [ {
|
||||
"matcher" : "path",
|
||||
"argument" : "environmentTemplateVersion.status",
|
||||
"state" : "success",
|
||||
"expected" : "DRAFT"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "environmentTemplateVersion.status",
|
||||
"state" : "success",
|
||||
"expected" : "PUBLISHED"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "environmentTemplateVersion.status",
|
||||
"state" : "failure",
|
||||
"expected" : "REGISTRATION_FAILED"
|
||||
} ]
|
||||
},
|
||||
"ServiceCreated" : {
|
||||
"description" : "Wait until an Service has deployed its instances and possibly pipeline. Use this after invoking CreateService",
|
||||
"delay" : 5,
|
||||
"maxAttempts" : 999,
|
||||
"operation" : "GetService",
|
||||
"acceptors" : [ {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.status",
|
||||
"state" : "success",
|
||||
"expected" : "ACTIVE"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.status",
|
||||
"state" : "failure",
|
||||
"expected" : "CREATE_FAILED_CLEANUP_COMPLETE"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.status",
|
||||
"state" : "failure",
|
||||
"expected" : "CREATE_FAILED_CLEANUP_FAILED"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.status",
|
||||
"state" : "failure",
|
||||
"expected" : "CREATE_FAILED"
|
||||
} ]
|
||||
},
|
||||
"ServiceDeleted" : {
|
||||
"description" : "Wait until a Service, its instances, and possibly pipeline have been deleted after DeleteService is invoked",
|
||||
"delay" : 5,
|
||||
"maxAttempts" : 999,
|
||||
"operation" : "GetService",
|
||||
"acceptors" : [ {
|
||||
"matcher" : "error",
|
||||
"state" : "success",
|
||||
"expected" : "ResourceNotFoundException"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.status",
|
||||
"state" : "failure",
|
||||
"expected" : "DELETE_FAILED"
|
||||
} ]
|
||||
},
|
||||
"ServiceInstanceDeployed" : {
|
||||
"description" : "Wait until a ServiceInstance is deployed. Use this after invoking CreateService or UpdateServiceInstance",
|
||||
"delay" : 5,
|
||||
"maxAttempts" : 999,
|
||||
"operation" : "GetServiceInstance",
|
||||
"acceptors" : [ {
|
||||
"matcher" : "path",
|
||||
"argument" : "serviceInstance.deploymentStatus",
|
||||
"state" : "success",
|
||||
"expected" : "SUCCEEDED"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "serviceInstance.deploymentStatus",
|
||||
"state" : "failure",
|
||||
"expected" : "FAILED"
|
||||
} ]
|
||||
},
|
||||
"ServicePipelineDeployed" : {
|
||||
"description" : "Wait until an ServicePipeline is deployed. Use this after invoking CreateService or UpdateServicePipeline",
|
||||
"delay" : 10,
|
||||
"maxAttempts" : 360,
|
||||
"operation" : "GetService",
|
||||
"acceptors" : [ {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.pipeline.deploymentStatus",
|
||||
"state" : "success",
|
||||
"expected" : "SUCCEEDED"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.pipeline.deploymentStatus",
|
||||
"state" : "failure",
|
||||
"expected" : "FAILED"
|
||||
} ]
|
||||
},
|
||||
"ServiceTemplateVersionRegistered" : {
|
||||
"description" : "Wait until a ServiceTemplateVersion is registered. Use this after invoking CreateServiceTemplateVersion",
|
||||
"delay" : 2,
|
||||
"maxAttempts" : 150,
|
||||
"operation" : "GetServiceTemplateVersion",
|
||||
"acceptors" : [ {
|
||||
"matcher" : "path",
|
||||
"argument" : "serviceTemplateVersion.status",
|
||||
"state" : "success",
|
||||
"expected" : "DRAFT"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "serviceTemplateVersion.status",
|
||||
"state" : "success",
|
||||
"expected" : "PUBLISHED"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "serviceTemplateVersion.status",
|
||||
"state" : "failure",
|
||||
"expected" : "REGISTRATION_FAILED"
|
||||
} ]
|
||||
},
|
||||
"ServiceUpdated" : {
|
||||
"description" : "Wait until a Service, its instances, and possibly pipeline have been deployed after UpdateService is invoked",
|
||||
"delay" : 5,
|
||||
"maxAttempts" : 999,
|
||||
"operation" : "GetService",
|
||||
"acceptors" : [ {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.status",
|
||||
"state" : "success",
|
||||
"expected" : "ACTIVE"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.status",
|
||||
"state" : "failure",
|
||||
"expected" : "UPDATE_FAILED_CLEANUP_COMPLETE"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.status",
|
||||
"state" : "failure",
|
||||
"expected" : "UPDATE_FAILED_CLEANUP_FAILED"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.status",
|
||||
"state" : "failure",
|
||||
"expected" : "UPDATE_FAILED"
|
||||
}, {
|
||||
"matcher" : "path",
|
||||
"argument" : "service.status",
|
||||
"state" : "failure",
|
||||
"expected" : "UPDATE_COMPLETE_CLEANUP_FAILED"
|
||||
} ]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user