Permalink
Browse files

Re-add waiter configs after rebase

  • Loading branch information...
1 parent 5c6ddd5 commit 9be62a372cf936c3c69fd0f8d41fd4ce438a9b42 @lsegal lsegal committed Feb 25, 2014
@@ -5,7 +5,7 @@
"globalEndpoint": "cloudfront.amazonaws.com",
"serviceAbbreviation": "CloudFront",
"serviceFullName": "Amazon CloudFront",
- "signatureVersion": "cloudfront",
+ "signatureVersion": "v4",
"timestampFormat": "iso8601",
"xmlnamespace": "http://cloudfront.amazonaws.com/doc/2012-05-05/",
"operations": {
@@ -3573,5 +3573,32 @@
"moreResults": "IsTruncated",
"resultKey": "Items"
}
+ },
+ "waiters": {
+ "__default__": {
+ "successType": "output",
+ "successPath": "Status"
+ },
+ "streamingDistributionDeployed": {
+ "operation": "GetStreamingDistribution",
+ "description": "Wait until a streaming distribution is deployed.",
+ "interval": 60,
+ "maxAttempts": 25,
+ "successValue": "Deployed"
+ },
+ "distributionDeployed": {
+ "operation": "GetDistribution",
+ "description": "Wait until a distribution is deployed.",
+ "interval": 60,
+ "maxAttempts": 25,
+ "successValue": "Deployed"
+ },
+ "invalidationCompleted": {
+ "operation": "GetInvalidation",
+ "description": "Wait until an invalidation has completed.",
+ "interval": 20,
+ "maxAttempts": 30,
+ "successValue": "Completed"
+ }
}
}
@@ -1818,5 +1818,30 @@
"limitKey": "Limit",
"resultKey": "Items"
}
+ },
+ "waiters": {
+ "__default__": {
+ "interval": 20,
+ "maxAttempts": 25
+ },
+ "__TableState": {
+ "operation": "DescribeTable"
+ },
+ "tableExists": {
+ "extends": "__TableState",
+ "description": "Wait until a table exists and can be accessed",
+ "ignoreErrors": [
+ "ResourceNotFoundException"
+ ],
+ "successType": "output",
+ "successPath": "Table.TableStatus",
+ "successValue": "ACTIVE"
+ },
+ "tableNotExists": {
+ "extends": "__TableState",
+ "description": "Wait until a table is deleted",
+ "successType": "error",
+ "successValue": "ResourceNotFoundException"
+ }
}
}
@@ -2474,5 +2474,28 @@
"limitKey": "Limit",
"resultKey": "Items"
}
+ },
+ "waiters": {
+ "__default__": {
+ "interval": 20,
+ "maxAttempts": 25
+ },
+ "__TableState": {
+ "operation": "DescribeTable"
+ },
+ "tableExists": {
+ "extends": "__TableState",
+ "ignoreErrors": [
+ "ResourceNotFoundException"
+ ],
+ "successType": "output",
+ "successPath": "Table.TableStatus",
+ "successValue": "ACTIVE"
+ },
+ "tableNotExists": {
+ "extends": "__TableState",
+ "successType": "error",
+ "successValue": "ResourceNotFoundException"
+ }
}
}
@@ -7,28 +7,6 @@
"signatureVersion": "v2",
"timestampFormat": "iso8601",
"operations": {
- "activateLicense": {
- "name": "ActivateLicense",
- "input": {
- "type": "structure",
- "members": {
- "DryRun": {
- "type": "boolean"
- },
- "LicenseId": {
- "required": true
- },
- "Capacity": {
- "type": "integer",
- "required": true
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- }
- },
"allocateAddress": {
"name": "AllocateAddress",
"input": {
@@ -10874,5 +10852,149 @@
"describeVpnGateways": {
"resultKey": "VpnGateways"
}
+ },
+ "waiters": {
+ "__default__": {
+ "interval": 15,
+ "maxAttempts": 40,
+ "acceptorType": "output"
+ },
+ "__InstanceState": {
+ "operation": "DescribeInstances",
+ "acceptorPath": "Reservations[].Instances[].State.Name"
+ },
+ "instanceRunning": {
+ "extends": "__InstanceState",
+ "successValue": "running",
+ "failureValue": [
+ "shutting-down",
+ "terminated",
+ "stopping"
+ ]
+ },
+ "instanceStopped": {
+ "extends": "__InstanceState",
+ "successValue": "stopped",
+ "failureValue": [
+ "pending",
+ "terminated"
+ ]
+ },
+ "instanceTerminated": {
+ "extends": "__InstanceState",
+ "successValue": "terminated",
+ "failureValue": [
+ "pending",
+ "stopping"
+ ]
+ },
+ "__ExportTaskState": {
+ "operation": "DescribeExportTasks",
+ "acceptorPath": "ExportTasks[].State"
+ },
+ "exportTaskCompleted": {
+ "extends": "__ExportTaskState",
+ "successValue": "completed"
+ },
+ "exportTaskCancelled": {
+ "extends": "__ExportTaskState",
+ "successValue": "cancelled"
+ },
+ "snapshotCompleted": {
+ "operation": "DescribeSnapshots",
+ "successPath": "Snapshots[].State",
+ "successValue": "completed"
+ },
+ "subnetAvailable": {
+ "operation": "DescribeSubnets",
+ "successPath": "Subnets[].State",
+ "successValue": "available"
+ },
+ "__VolumeStatus": {
+ "operation": "DescribeVolumes",
+ "acceptorPath": "VolumeStatuses[].VolumeStatus.Status"
+ },
+ "volumeAvailable": {
+ "extends": "__VolumeStatus",
+ "successValue": "available",
+ "failureValue": [
+ "deleted"
+ ]
+ },
+ "volumeInUse": {
+ "extends": "__VolumeStatus",
+ "successValue": "in-use",
+ "failureValue": [
+ "deleted"
+ ]
+ },
+ "volumeDeleted": {
+ "extends": "__VolumeStatus",
+ "successValue": "deleted"
+ },
+ "vpcAvailable": {
+ "operation": "DescribeVpcs",
+ "successPath": "Vpcs[].State",
+ "successValue": "available"
+ },
+ "__VpnConnectionState": {
+ "operation": "DescribeVpnConnections",
+ "acceptorPath": "VpnConnections[].State"
+ },
+ "vpnConnectionAvailable": {
+ "extends": "__VpnConnectionState",
+ "successValue": "available",
+ "failureValue": [
+ "deleting",
+ "deleted"
+ ]
+ },
+ "vpnConnectionDeleted": {
+ "extends": "__VpnConnectionState",
+ "successValue": "deleted",
+ "failureValue": [
+ "pending"
+ ]
+ },
+ "bundleTaskComplete": {
+ "operation": "DescribeBundleTasks",
+ "acceptorPath": "BundleTasks[].State",
+ "successValue": "complete",
+ "failureValue": [
+ "failed"
+ ]
+ },
+ "__ConversionTaskState": {
+ "operation": "DescribeConversionTasks",
+ "acceptorPath": "ConversionTasks[].State"
+ },
+ "conversionTaskCompleted": {
+ "extends": "__ConversionTaskState",
+ "successValue": "completed",
+ "failureValue": [
+ "cancelled",
+ "cancelling"
+ ]
+ },
+ "conversionTaskCancelled": {
+ "extends": "__ConversionTaskState",
+ "successValue": "cancelled"
+ },
+ "__CustomerGatewayState": {
+ "operation": "DescribeCustomerGateways",
+ "acceptorPath": "CustomerGateways[].State"
+ },
+ "customerGatewayAvailable": {
+ "extends": "__CustomerGatewayState",
+ "successValue": "available",
+ "failureValue": [
+ "deleted",
+ "deleting"
+ ]
+ },
+ "conversionTaskDeleted": {
+ "extends": "__CustomerGatewayState",
+ "successValue": "deleted"
+ }
}
}
@@ -809,5 +809,26 @@
"limitKey": "limit",
"resultKey": "VaultList"
}
+ },
+ "waiters": {
+ "__default__": {
+ "interval": 3,
+ "maxAttempts": 15
+ },
+ "__VaultState": {
+ "operation": "DescribeVault"
+ },
+ "vaultExists": {
+ "extends": "__VaultState",
+ "ignoreErrors": [
+ "ResourceNotFoundException"
+ ],
+ "successType": "output"
+ },
+ "vaultNotExists": {
+ "extends": "__VaultState",
+ "successType": "error",
+ "successValue": "ResourceNotFoundException"
+ }
}
}
@@ -4419,5 +4419,39 @@
"listTagsForResource": {
"resultKey": "TagList"
}
+ },
+ "waiters": {
+ "__default__": {
+ "interval": 30,
+ "maxAttempts": 60
+ },
+ "__DBInstanceState": {
+ "operation": "DescribeDBInstances",
+ "acceptorPath": "DBInstances[].DBInstanceStatus",
+ "acceptorType": "output"
+ },
+ "dBInstanceAvailable": {
+ "extends": "__DBInstanceState",
+ "successValue": "available",
+ "failureValue": [
+ "deleted",
+ "deleting",
+ "failed",
+ "incompatible-restore",
+ "incompatible-parameters",
+ "incompatible-parameters",
+ "incompatible-restore"
+ ]
+ },
+ "dBInstanceDeleted": {
+ "extends": "__DBInstanceState",
+ "successValue": "deleted",
+ "failureValue": [
+ "creating",
+ "modifying",
+ "rebooting",
+ "resetting-master-credentials"
+ ]
+ }
}
}
Oops, something went wrong. Retry.

0 comments on commit 9be62a3

Please sign in to comment.