forked from brendanhay/amazonka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da6fed7
commit a999f4c
Showing
11 changed files
with
166 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{-# LANGUAGE TypeFamilies #-} | ||
{-# LANGUAGE OverloadedStrings #-} | ||
{-# LANGUAGE TypeFamilies #-} | ||
|
||
-- Module : Network.AWS.CloudFront.Waiters | ||
-- Copyright : (c) 2013-2014 Brendan Hay <[email protected]> | ||
|
@@ -21,21 +22,24 @@ import Network.AWS.Types | |
|
||
distributionDeployed :: Wait GetDistribution | ||
distributionDeployed = Wait | ||
{ _waitDelay = 60 | ||
, _waitAttempts = 25 | ||
, _waitAccept = const True | ||
{ _waitName = "DistributionDeployed" | ||
, _waitDelay = 60 | ||
, _waitAttempts = 25 | ||
, _waitAccept = const True | ||
} | ||
|
||
invalidationCompleted :: Wait GetInvalidation | ||
invalidationCompleted = Wait | ||
{ _waitDelay = 20 | ||
, _waitAttempts = 30 | ||
, _waitAccept = const True | ||
{ _waitName = "InvalidationCompleted" | ||
, _waitDelay = 20 | ||
, _waitAttempts = 30 | ||
, _waitAccept = const True | ||
} | ||
|
||
streamingDistributionDeployed :: Wait GetStreamingDistribution | ||
streamingDistributionDeployed = Wait | ||
{ _waitDelay = 60 | ||
, _waitAttempts = 25 | ||
, _waitAccept = const True | ||
{ _waitName = "StreamingDistributionDeployed" | ||
, _waitDelay = 60 | ||
, _waitAttempts = 25 | ||
, _waitAccept = const True | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{-# LANGUAGE TypeFamilies #-} | ||
{-# LANGUAGE OverloadedStrings #-} | ||
{-# LANGUAGE TypeFamilies #-} | ||
|
||
-- Module : Network.AWS.DynamoDB.Waiters | ||
-- Copyright : (c) 2013-2014 Brendan Hay <[email protected]> | ||
|
@@ -19,14 +20,16 @@ import Network.AWS.Types | |
|
||
tableExists :: Wait DescribeTable | ||
tableExists = Wait | ||
{ _waitDelay = 20 | ||
, _waitAttempts = 25 | ||
, _waitAccept = const True | ||
{ _waitName = "TableExists" | ||
, _waitDelay = 20 | ||
, _waitAttempts = 25 | ||
, _waitAccept = const True | ||
} | ||
|
||
tableNotExists :: Wait DescribeTable | ||
tableNotExists = Wait | ||
{ _waitDelay = 20 | ||
, _waitAttempts = 25 | ||
, _waitAccept = const True | ||
{ _waitName = "TableNotExists" | ||
, _waitDelay = 20 | ||
, _waitAttempts = 25 | ||
, _waitAccept = const True | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{-# LANGUAGE TypeFamilies #-} | ||
{-# LANGUAGE OverloadedStrings #-} | ||
{-# LANGUAGE TypeFamilies #-} | ||
|
||
-- Module : Network.AWS.EC2.Waiters | ||
-- Copyright : (c) 2013-2014 Brendan Hay <[email protected]> | ||
|
@@ -28,126 +29,144 @@ import Network.AWS.Types | |
|
||
bundleTaskComplete :: Wait DescribeBundleTasks | ||
bundleTaskComplete = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "BundleTaskComplete" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
conversionTaskCancelled :: Wait DescribeConversionTasks | ||
conversionTaskCancelled = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "ConversionTaskCancelled" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
conversionTaskCompleted :: Wait DescribeConversionTasks | ||
conversionTaskCompleted = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "ConversionTaskCompleted" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
conversionTaskDeleted :: Wait DescribeConversionTasks | ||
conversionTaskDeleted = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "ConversionTaskDeleted" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
customerGatewayAvailable :: Wait DescribeCustomerGateways | ||
customerGatewayAvailable = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "CustomerGatewayAvailable" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
exportTaskCancelled :: Wait DescribeExportTasks | ||
exportTaskCancelled = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "ExportTaskCancelled" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
exportTaskCompleted :: Wait DescribeExportTasks | ||
exportTaskCompleted = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "ExportTaskCompleted" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
instanceRunning :: Wait DescribeInstances | ||
instanceRunning = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "InstanceRunning" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
instanceStopped :: Wait DescribeInstances | ||
instanceStopped = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "InstanceStopped" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
instanceTerminated :: Wait DescribeInstances | ||
instanceTerminated = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "InstanceTerminated" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
snapshotCompleted :: Wait DescribeSnapshots | ||
snapshotCompleted = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "SnapshotCompleted" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
subnetAvailable :: Wait DescribeSubnets | ||
subnetAvailable = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "SubnetAvailable" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
volumeAvailable :: Wait DescribeVolumes | ||
volumeAvailable = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "VolumeAvailable" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
volumeDeleted :: Wait DescribeVolumes | ||
volumeDeleted = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "VolumeDeleted" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
volumeInUse :: Wait DescribeVolumes | ||
volumeInUse = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "VolumeInUse" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
vpcAvailable :: Wait DescribeVpcs | ||
vpcAvailable = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "VpcAvailable" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
vpnConnectionAvailable :: Wait DescribeVpnConnections | ||
vpnConnectionAvailable = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "VpnConnectionAvailable" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} | ||
|
||
vpnConnectionDeleted :: Wait DescribeVpnConnections | ||
vpnConnectionDeleted = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
{ _waitName = "VpnConnectionDeleted" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 40 | ||
, _waitAccept = const True | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{-# LANGUAGE TypeFamilies #-} | ||
{-# LANGUAGE OverloadedStrings #-} | ||
{-# LANGUAGE TypeFamilies #-} | ||
|
||
-- Module : Network.AWS.ElasticTranscoder.Waiters | ||
-- Copyright : (c) 2013-2014 Brendan Hay <[email protected]> | ||
|
@@ -19,7 +20,8 @@ import Network.AWS.Types | |
|
||
jobComplete :: Wait ReadJob | ||
jobComplete = Wait | ||
{ _waitDelay = 30 | ||
, _waitAttempts = 120 | ||
, _waitAccept = const True | ||
{ _waitName = "JobComplete" | ||
, _waitDelay = 30 | ||
, _waitAttempts = 120 | ||
, _waitAccept = const True | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{-# LANGUAGE TypeFamilies #-} | ||
{-# LANGUAGE OverloadedStrings #-} | ||
{-# LANGUAGE TypeFamilies #-} | ||
|
||
-- Module : Network.AWS.EMR.Waiters | ||
-- Copyright : (c) 2013-2014 Brendan Hay <[email protected]> | ||
|
@@ -19,7 +20,8 @@ import Network.AWS.Types | |
|
||
clusterRunning :: Wait DescribeCluster | ||
clusterRunning = Wait | ||
{ _waitDelay = 30 | ||
, _waitAttempts = 60 | ||
, _waitAccept = const True | ||
{ _waitName = "ClusterRunning" | ||
, _waitDelay = 30 | ||
, _waitAttempts = 60 | ||
, _waitAccept = const True | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{-# LANGUAGE TypeFamilies #-} | ||
{-# LANGUAGE OverloadedStrings #-} | ||
{-# LANGUAGE TypeFamilies #-} | ||
|
||
-- Module : Network.AWS.RDS.Waiters | ||
-- Copyright : (c) 2013-2014 Brendan Hay <[email protected]> | ||
|
@@ -19,14 +20,16 @@ import Network.AWS.Types | |
|
||
dBInstanceAvailable :: Wait DescribeDBInstances | ||
dBInstanceAvailable = Wait | ||
{ _waitDelay = 30 | ||
, _waitAttempts = 60 | ||
, _waitAccept = const True | ||
{ _waitName = "DBInstanceAvailable" | ||
, _waitDelay = 30 | ||
, _waitAttempts = 60 | ||
, _waitAccept = const True | ||
} | ||
|
||
dBInstanceDeleted :: Wait DescribeDBInstances | ||
dBInstanceDeleted = Wait | ||
{ _waitDelay = 30 | ||
, _waitAttempts = 60 | ||
, _waitAccept = const True | ||
{ _waitName = "DBInstanceDeleted" | ||
, _waitDelay = 30 | ||
, _waitAttempts = 60 | ||
, _waitAccept = const True | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{-# LANGUAGE TypeFamilies #-} | ||
{-# LANGUAGE OverloadedStrings #-} | ||
{-# LANGUAGE TypeFamilies #-} | ||
|
||
-- Module : Network.AWS.Redshift.Waiters | ||
-- Copyright : (c) 2013-2014 Brendan Hay <[email protected]> | ||
|
@@ -20,21 +21,24 @@ import Network.AWS.Types | |
|
||
clusterAvailable :: Wait DescribeClusters | ||
clusterAvailable = Wait | ||
{ _waitDelay = 60 | ||
, _waitAttempts = 30 | ||
, _waitAccept = const True | ||
{ _waitName = "ClusterAvailable" | ||
, _waitDelay = 60 | ||
, _waitAttempts = 30 | ||
, _waitAccept = const True | ||
} | ||
|
||
clusterDeleted :: Wait DescribeClusters | ||
clusterDeleted = Wait | ||
{ _waitDelay = 60 | ||
, _waitAttempts = 30 | ||
, _waitAccept = const True | ||
{ _waitName = "ClusterDeleted" | ||
, _waitDelay = 60 | ||
, _waitAttempts = 30 | ||
, _waitAccept = const True | ||
} | ||
|
||
snapshotAvailable :: Wait DescribeClusterSnapshots | ||
snapshotAvailable = Wait | ||
{ _waitDelay = 15 | ||
, _waitAttempts = 20 | ||
, _waitAccept = const True | ||
{ _waitName = "SnapshotAvailable" | ||
, _waitDelay = 15 | ||
, _waitAttempts = 20 | ||
, _waitAccept = const True | ||
} |
Oops, something went wrong.