amazonka-dynamodb-dax-1.6.1: Amazon DynamoDB Accelerator (DAX) SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DAX.CreateCluster

Contents

Description

Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.

Synopsis

Creating a Request

createCluster Source #

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:

  • ccSecurityGroupIds - A list of security group IDs to be assigned to each node in the DAX cluster. (Each of the security group ID is system-generated.) If this parameter is not specified, DAX assigns the default VPC security group to each node.
  • ccSubnetGroupName - The name of the subnet group to be used for the replication group. Important: DAX clusters can only run in an Amazon VPC environment. All of the subnets that you specify in a subnet group must exist in the same VPC.
  • ccPreferredMaintenanceWindow - Specifies the weekly time range during which maintenance on the DAX cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: * sun * mon * tue * wed * thu * fri * sat Example: sun:05:00-sun:09:00
  • ccAvailabilityZones - The Availability Zones (AZs) in which the cluster nodes will be created. All nodes belonging to the cluster are placed in these Availability Zones. Use this parameter if you want to distribute the nodes across multiple AZs.
  • ccDescription - A description of the cluster.
  • ccNotificationTopicARN - The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent.
  • ccTags - A set of tags to associate with the DAX cluster.
  • ccParameterGroupName - The parameter group to be associated with the DAX cluster.
  • ccClusterName - The cluster identifier. This parameter is stored as a lowercase string. Constraints: * A name must contain from 1 to 20 alphanumeric characters or hyphens. * The first character must be a letter. * A name cannot end with a hyphen or contain two consecutive hyphens.
  • ccNodeType - The compute and memory capacity of the nodes in the cluster.
  • ccReplicationFactor - The number of nodes in the DAX cluster. A replication factor of 1 will create a single-node cluster, without any read replicas. For additional fault tolerance, you can create a multiple node cluster with one or more read replicas. To do this, set ReplicationFactor to 2 or more.
  • ccIAMRoleARN - A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf.

data CreateCluster Source #

See: createCluster smart constructor.

Instances
Eq CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Data CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateCluster -> c CreateCluster #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateCluster #

toConstr :: CreateCluster -> Constr #

dataTypeOf :: CreateCluster -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateCluster) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateCluster) #

gmapT :: (forall b. Data b => b -> b) -> CreateCluster -> CreateCluster #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateCluster -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateCluster -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateCluster -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateCluster -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateCluster -> m CreateCluster #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateCluster -> m CreateCluster #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateCluster -> m CreateCluster #

Read CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Show CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Generic CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Associated Types

type Rep CreateCluster :: Type -> Type #

Hashable CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

ToJSON CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

AWSRequest CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Associated Types

type Rs CreateCluster :: Type #

ToHeaders CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

ToPath CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

ToQuery CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

NFData CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Methods

rnf :: CreateCluster -> () #

type Rep CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

type Rep CreateCluster = D1 (MetaData "CreateCluster" "Network.AWS.DAX.CreateCluster" "amazonka-dynamodb-dax-1.6.1-6GOQo4sHyZjF5gipywaEPV" False) (C1 (MetaCons "CreateCluster'" PrefixI True) (((S1 (MetaSel (Just "_ccSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_ccSubnetGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ccPreferredMaintenanceWindow") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ccAvailabilityZones") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_ccDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ccNotificationTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_ccTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 (MetaSel (Just "_ccParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ccClusterName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_ccNodeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ccReplicationFactor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_ccIAMRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs CreateCluster Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Request Lenses

ccSecurityGroupIds :: Lens' CreateCluster [Text] Source #

A list of security group IDs to be assigned to each node in the DAX cluster. (Each of the security group ID is system-generated.) If this parameter is not specified, DAX assigns the default VPC security group to each node.

ccSubnetGroupName :: Lens' CreateCluster (Maybe Text) Source #

The name of the subnet group to be used for the replication group. Important: DAX clusters can only run in an Amazon VPC environment. All of the subnets that you specify in a subnet group must exist in the same VPC.

ccPreferredMaintenanceWindow :: Lens' CreateCluster (Maybe Text) Source #

Specifies the weekly time range during which maintenance on the DAX cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: * sun * mon * tue * wed * thu * fri * sat Example: sun:05:00-sun:09:00

ccAvailabilityZones :: Lens' CreateCluster [Text] Source #

The Availability Zones (AZs) in which the cluster nodes will be created. All nodes belonging to the cluster are placed in these Availability Zones. Use this parameter if you want to distribute the nodes across multiple AZs.

ccDescription :: Lens' CreateCluster (Maybe Text) Source #

A description of the cluster.

ccNotificationTopicARN :: Lens' CreateCluster (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent.

ccTags :: Lens' CreateCluster [Tag] Source #

A set of tags to associate with the DAX cluster.

ccParameterGroupName :: Lens' CreateCluster (Maybe Text) Source #

The parameter group to be associated with the DAX cluster.

ccClusterName :: Lens' CreateCluster Text Source #

The cluster identifier. This parameter is stored as a lowercase string. Constraints: * A name must contain from 1 to 20 alphanumeric characters or hyphens. * The first character must be a letter. * A name cannot end with a hyphen or contain two consecutive hyphens.

ccNodeType :: Lens' CreateCluster Text Source #

The compute and memory capacity of the nodes in the cluster.

ccReplicationFactor :: Lens' CreateCluster Int Source #

The number of nodes in the DAX cluster. A replication factor of 1 will create a single-node cluster, without any read replicas. For additional fault tolerance, you can create a multiple node cluster with one or more read replicas. To do this, set ReplicationFactor to 2 or more.

ccIAMRoleARN :: Lens' CreateCluster Text Source #

A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf.

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:

data CreateClusterResponse Source #

See: createClusterResponse smart constructor.

Instances
Eq CreateClusterResponse Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Data CreateClusterResponse Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateClusterResponse -> c CreateClusterResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateClusterResponse #

toConstr :: CreateClusterResponse -> Constr #

dataTypeOf :: CreateClusterResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateClusterResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateClusterResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateClusterResponse -> CreateClusterResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateClusterResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateClusterResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateClusterResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateClusterResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateClusterResponse -> m CreateClusterResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateClusterResponse -> m CreateClusterResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateClusterResponse -> m CreateClusterResponse #

Read CreateClusterResponse Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Show CreateClusterResponse Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Generic CreateClusterResponse Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Associated Types

type Rep CreateClusterResponse :: Type -> Type #

NFData CreateClusterResponse Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

Methods

rnf :: CreateClusterResponse -> () #

type Rep CreateClusterResponse Source # 
Instance details

Defined in Network.AWS.DAX.CreateCluster

type Rep CreateClusterResponse = D1 (MetaData "CreateClusterResponse" "Network.AWS.DAX.CreateCluster" "amazonka-dynamodb-dax-1.6.1-6GOQo4sHyZjF5gipywaEPV" False) (C1 (MetaCons "CreateClusterResponse'" PrefixI True) (S1 (MetaSel (Just "_ccrsCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Cluster)) :*: S1 (MetaSel (Just "_ccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

ccrsCluster :: Lens' CreateClusterResponse (Maybe Cluster) Source #

A description of the DAX cluster that you have created.

ccrsResponseStatus :: Lens' CreateClusterResponse Int Source #

  • - | The response status code.