amazonka-emr-1.4.5: Amazon Elastic MapReduce SDK.

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

Network.AWS.EMR.CreateSecurityConfiguration

Contents

Description

Creates a security configuration, which is stored in the service and can be specified when a cluster is created.

Synopsis

Creating a Request

createSecurityConfiguration #

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

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

data CreateSecurityConfiguration #

See: createSecurityConfiguration smart constructor.

Instances

Eq CreateSecurityConfiguration # 
Data CreateSecurityConfiguration # 

Methods

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

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

toConstr :: CreateSecurityConfiguration -> Constr #

dataTypeOf :: CreateSecurityConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateSecurityConfiguration # 
Show CreateSecurityConfiguration # 
Generic CreateSecurityConfiguration # 
Hashable CreateSecurityConfiguration # 
ToJSON CreateSecurityConfiguration # 
NFData CreateSecurityConfiguration # 
AWSRequest CreateSecurityConfiguration # 
ToQuery CreateSecurityConfiguration # 
ToPath CreateSecurityConfiguration # 
ToHeaders CreateSecurityConfiguration # 
type Rep CreateSecurityConfiguration # 
type Rep CreateSecurityConfiguration = D1 (MetaData "CreateSecurityConfiguration" "Network.AWS.EMR.CreateSecurityConfiguration" "amazonka-emr-1.4.5-GRo1oO6f7JSBJNAYUVYNd0" False) (C1 (MetaCons "CreateSecurityConfiguration'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cscName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cscSecurityConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateSecurityConfiguration # 

Request Lenses

cscName :: Lens' CreateSecurityConfiguration Text #

The name of the security configuration.

cscSecurityConfiguration :: Lens' CreateSecurityConfiguration Text #

The security configuration details in JSON format.

Destructuring the Response

createSecurityConfigurationResponse #

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

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

data CreateSecurityConfigurationResponse #

See: createSecurityConfigurationResponse smart constructor.

Instances

Eq CreateSecurityConfigurationResponse # 
Data CreateSecurityConfigurationResponse # 

Methods

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

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

toConstr :: CreateSecurityConfigurationResponse -> Constr #

dataTypeOf :: CreateSecurityConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateSecurityConfigurationResponse # 
Show CreateSecurityConfigurationResponse # 
Generic CreateSecurityConfigurationResponse # 
NFData CreateSecurityConfigurationResponse # 
type Rep CreateSecurityConfigurationResponse # 
type Rep CreateSecurityConfigurationResponse = D1 (MetaData "CreateSecurityConfigurationResponse" "Network.AWS.EMR.CreateSecurityConfiguration" "amazonka-emr-1.4.5-GRo1oO6f7JSBJNAYUVYNd0" False) (C1 (MetaCons "CreateSecurityConfigurationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_cscrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cscrsCreationDateTime") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 POSIX)))))

Response Lenses

cscrsName :: Lens' CreateSecurityConfigurationResponse Text #

The name of the security configuration.

cscrsCreationDateTime :: Lens' CreateSecurityConfigurationResponse UTCTime #

The date and time the security configuration was created.