amazonka-emr-1.4.3: 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.SetVisibleToAllUsers

Contents

Description

Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specified job flows. This action works on running job flows. You can also set the visibility of a job flow when you launch it using the VisibleToAllUsers parameter of RunJobFlow. The SetVisibleToAllUsers action can be called only by an IAM user who created the job flow or the AWS account that owns the job flow.

Synopsis

Creating a Request

setVisibleToAllUsers Source #

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

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

data SetVisibleToAllUsers Source #

The input to the SetVisibleToAllUsers action.

See: setVisibleToAllUsers smart constructor.

Instances

Eq SetVisibleToAllUsers Source # 
Data SetVisibleToAllUsers Source # 

Methods

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

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

toConstr :: SetVisibleToAllUsers -> Constr #

dataTypeOf :: SetVisibleToAllUsers -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetVisibleToAllUsers Source # 
Show SetVisibleToAllUsers Source # 
Generic SetVisibleToAllUsers Source # 
Hashable SetVisibleToAllUsers Source # 
ToJSON SetVisibleToAllUsers Source # 
NFData SetVisibleToAllUsers Source # 

Methods

rnf :: SetVisibleToAllUsers -> () #

AWSRequest SetVisibleToAllUsers Source # 
ToQuery SetVisibleToAllUsers Source # 
ToPath SetVisibleToAllUsers Source # 
ToHeaders SetVisibleToAllUsers Source # 
type Rep SetVisibleToAllUsers Source # 
type Rep SetVisibleToAllUsers = D1 (MetaData "SetVisibleToAllUsers" "Network.AWS.EMR.SetVisibleToAllUsers" "amazonka-emr-1.4.3-JhI7i8ZjQat1I7GGwtELEx" False) (C1 (MetaCons "SetVisibleToAllUsers'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_svtauJobFlowIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])) (S1 (MetaSel (Just Symbol "_svtauVisibleToAllUsers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))
type Rs SetVisibleToAllUsers Source # 

Request Lenses

svtauJobFlowIds :: Lens' SetVisibleToAllUsers [Text] Source #

Identifiers of the job flows to receive the new visibility setting.

svtauVisibleToAllUsers :: Lens' SetVisibleToAllUsers Bool Source #

Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.

Destructuring the Response

setVisibleToAllUsersResponse :: SetVisibleToAllUsersResponse Source #

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

data SetVisibleToAllUsersResponse Source #

See: setVisibleToAllUsersResponse smart constructor.

Instances

Eq SetVisibleToAllUsersResponse Source # 
Data SetVisibleToAllUsersResponse Source # 

Methods

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

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

toConstr :: SetVisibleToAllUsersResponse -> Constr #

dataTypeOf :: SetVisibleToAllUsersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetVisibleToAllUsersResponse Source # 
Show SetVisibleToAllUsersResponse Source # 
Generic SetVisibleToAllUsersResponse Source # 
NFData SetVisibleToAllUsersResponse Source # 
type Rep SetVisibleToAllUsersResponse Source # 
type Rep SetVisibleToAllUsersResponse = D1 (MetaData "SetVisibleToAllUsersResponse" "Network.AWS.EMR.SetVisibleToAllUsers" "amazonka-emr-1.4.3-JhI7i8ZjQat1I7GGwtELEx" False) (C1 (MetaCons "SetVisibleToAllUsersResponse'" PrefixI False) U1)