Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob
action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created.
- createCluster :: JobType -> JobResource -> Text -> Text -> ShippingOption -> CreateCluster
- data CreateCluster
- ccKMSKeyARN :: Lens' CreateCluster (Maybe Text)
- ccNotification :: Lens' CreateCluster (Maybe Notification)
- ccSnowballType :: Lens' CreateCluster (Maybe SnowballType)
- ccDescription :: Lens' CreateCluster (Maybe Text)
- ccJobType :: Lens' CreateCluster JobType
- ccResources :: Lens' CreateCluster JobResource
- ccAddressId :: Lens' CreateCluster Text
- ccRoleARN :: Lens' CreateCluster Text
- ccShippingOption :: Lens' CreateCluster ShippingOption
- createClusterResponse :: Int -> CreateClusterResponse
- data CreateClusterResponse
- crersClusterId :: Lens' CreateClusterResponse (Maybe Text)
- crersResponseStatus :: Lens' CreateClusterResponse Int
Creating a Request
:: JobType | |
-> JobResource | |
-> Text | |
-> Text | |
-> ShippingOption | |
-> CreateCluster |
Creates a value of CreateCluster
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccKMSKeyARN
- TheKmsKeyARN
value that you want to associate with this cluster.KmsKeyARN
values are created by using the CreateKey API action in AWS Key Management Service (AWS KMS).ccNotification
- The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.ccSnowballType
- The type of AWS Snowball appliance to use for this cluster. Currently, the only supported appliance type for cluster jobs isEDGE
.ccDescription
- An optional description of this specific cluster, for exampleEnvironmental Data Cluster-01
.ccJobType
- The type of job for this cluster. Currently, the only job type supported for clusters isLOCAL_USE
.ccResources
- The resources associated with the cluster job. These resources include Amazon S3 buckets and optional AWS Lambda functions written in the Python language.ccAddressId
- The ID for the address that you want the cluster shipped to.>ccRoleARN
- TheRoleARN
that you want to associate with this cluster.RoleArn
values are created by using the CreateRole API action in AWS Identity and Access Management (IAM).ccShippingOption
- The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each Snowball Edge appliance, rather it represents how quickly each appliance moves to its destination while in transit. Regional shipping speeds are as follows: * In Australia, you have access to express shipping. Typically, appliances shipped express are delivered in about a day. * In the European Union (EU), you have access to express shipping. Typically, Snowball Edges shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way. * In India, Snowball Edges are delivered in one to seven days. * In the US, you have access to one-day shipping and two-day shipping.
data CreateCluster Source #
See: createCluster
smart constructor.
Request Lenses
ccKMSKeyARN :: Lens' CreateCluster (Maybe Text) Source #
The KmsKeyARN
value that you want to associate with this cluster. KmsKeyARN
values are created by using the CreateKey API action in AWS Key Management Service (AWS KMS).
ccNotification :: Lens' CreateCluster (Maybe Notification) Source #
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
ccSnowballType :: Lens' CreateCluster (Maybe SnowballType) Source #
The type of AWS Snowball appliance to use for this cluster. Currently, the only supported appliance type for cluster jobs is EDGE
.
ccDescription :: Lens' CreateCluster (Maybe Text) Source #
An optional description of this specific cluster, for example Environmental Data Cluster-01
.
ccJobType :: Lens' CreateCluster JobType Source #
The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE
.
ccResources :: Lens' CreateCluster JobResource Source #
The resources associated with the cluster job. These resources include Amazon S3 buckets and optional AWS Lambda functions written in the Python language.
ccAddressId :: Lens' CreateCluster Text Source #
The ID for the address that you want the cluster shipped to.>
ccRoleARN :: Lens' CreateCluster Text Source #
The RoleARN
that you want to associate with this cluster. RoleArn
values are created by using the CreateRole API action in AWS Identity and Access Management (IAM).
ccShippingOption :: Lens' CreateCluster ShippingOption Source #
The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each Snowball Edge appliance, rather it represents how quickly each appliance moves to its destination while in transit. Regional shipping speeds are as follows: * In Australia, you have access to express shipping. Typically, appliances shipped express are delivered in about a day. * In the European Union (EU), you have access to express shipping. Typically, Snowball Edges shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way. * In India, Snowball Edges are delivered in one to seven days. * In the US, you have access to one-day shipping and two-day shipping.
Destructuring the Response
createClusterResponse Source #
Creates a value of CreateClusterResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crersClusterId
- The automatically generated ID for a cluster.crersResponseStatus
- -- | The response status code.
data CreateClusterResponse Source #
See: createClusterResponse
smart constructor.
Response Lenses
crersClusterId :: Lens' CreateClusterResponse (Maybe Text) Source #
The automatically generated ID for a cluster.
crersResponseStatus :: Lens' CreateClusterResponse Int Source #
- - | The response status code.