amazonka-redshift-1.6.1: Amazon Redshift 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.Redshift.CreateClusterSecurityGroup

Contents

Description

Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.

For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide .

Synopsis

Creating a Request

createClusterSecurityGroup Source #

Creates a value of CreateClusterSecurityGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • creTags - A list of tag instances.
  • creClusterSecurityGroupName - The name for the security group. Amazon Redshift stores the value as a lowercase string. Constraints: * Must contain no more than 255 alphanumeric characters or hyphens. * Must not be Default. * Must be unique for all security groups that are created by your AWS account. Example: examplesecuritygroup
  • creDescription - A description for the security group.

data CreateClusterSecurityGroup Source #

See: createClusterSecurityGroup smart constructor.

Instances
Eq CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Data CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Methods

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

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

toConstr :: CreateClusterSecurityGroup -> Constr #

dataTypeOf :: CreateClusterSecurityGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Show CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Generic CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Associated Types

type Rep CreateClusterSecurityGroup :: Type -> Type #

Hashable CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

AWSRequest CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Associated Types

type Rs CreateClusterSecurityGroup :: Type #

ToHeaders CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

ToPath CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

ToQuery CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

NFData CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

type Rep CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

type Rep CreateClusterSecurityGroup = D1 (MetaData "CreateClusterSecurityGroup" "Network.AWS.Redshift.CreateClusterSecurityGroup" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "CreateClusterSecurityGroup'" PrefixI True) (S1 (MetaSel (Just "_creTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 (MetaSel (Just "_creClusterSecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_creDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateClusterSecurityGroup Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Request Lenses

creTags :: Lens' CreateClusterSecurityGroup [Tag] Source #

A list of tag instances.

creClusterSecurityGroupName :: Lens' CreateClusterSecurityGroup Text Source #

The name for the security group. Amazon Redshift stores the value as a lowercase string. Constraints: * Must contain no more than 255 alphanumeric characters or hyphens. * Must not be Default. * Must be unique for all security groups that are created by your AWS account. Example: examplesecuritygroup

creDescription :: Lens' CreateClusterSecurityGroup Text Source #

A description for the security group.

Destructuring the Response

createClusterSecurityGroupResponse Source #

Creates a value of CreateClusterSecurityGroupResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateClusterSecurityGroupResponse Source #

See: createClusterSecurityGroupResponse smart constructor.

Instances
Eq CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Data CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Methods

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

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

toConstr :: CreateClusterSecurityGroupResponse -> Constr #

dataTypeOf :: CreateClusterSecurityGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Show CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Generic CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

Associated Types

type Rep CreateClusterSecurityGroupResponse :: Type -> Type #

NFData CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

type Rep CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSecurityGroup

type Rep CreateClusterSecurityGroupResponse = D1 (MetaData "CreateClusterSecurityGroupResponse" "Network.AWS.Redshift.CreateClusterSecurityGroup" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "CreateClusterSecurityGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_crsClusterSecurityGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterSecurityGroup)) :*: S1 (MetaSel (Just "_crsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses