amazonka-emr-1.6.0: Amazon Elastic MapReduce 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.EMR.SetVisibleToAllUsers

Contents

Description

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

Synopsis

Creating a Request

setVisibleToAllUsers #

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:

  • svtauJobFlowIds - Identifiers of the job flows to receive the new visibility setting.
  • svtauVisibleToAllUsers - Whether the specified clusters are visible to all IAM users of the AWS account associated with the cluster. 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 clusters. If it is set to False, only the IAM user that created a cluster can view and manage it.

data SetVisibleToAllUsers #

The input to the SetVisibleToAllUsers action.

See: setVisibleToAllUsers smart constructor.

Instances

Eq SetVisibleToAllUsers # 
Data SetVisibleToAllUsers # 

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 # 
Show SetVisibleToAllUsers # 
Generic SetVisibleToAllUsers # 
Hashable SetVisibleToAllUsers # 
ToJSON SetVisibleToAllUsers # 
NFData SetVisibleToAllUsers # 

Methods

rnf :: SetVisibleToAllUsers -> () #

AWSRequest SetVisibleToAllUsers # 
ToHeaders SetVisibleToAllUsers # 
ToPath SetVisibleToAllUsers # 
ToQuery SetVisibleToAllUsers # 
type Rep SetVisibleToAllUsers # 
type Rep SetVisibleToAllUsers = D1 * (MetaData "SetVisibleToAllUsers" "Network.AWS.EMR.SetVisibleToAllUsers" "amazonka-emr-1.6.0-IfkEnk2mHfrL7lT8VCMwMx" 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 # 

Request Lenses

svtauJobFlowIds :: Lens' SetVisibleToAllUsers [Text] #

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

svtauVisibleToAllUsers :: Lens' SetVisibleToAllUsers Bool #

Whether the specified clusters are visible to all IAM users of the AWS account associated with the cluster. 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 clusters. If it is set to False, only the IAM user that created a cluster can view and manage it.

Destructuring the Response

setVisibleToAllUsersResponse :: SetVisibleToAllUsersResponse #

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

data SetVisibleToAllUsersResponse #

See: setVisibleToAllUsersResponse smart constructor.

Instances

Eq SetVisibleToAllUsersResponse # 
Data SetVisibleToAllUsersResponse # 

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 # 
Show SetVisibleToAllUsersResponse # 
Generic SetVisibleToAllUsersResponse # 
NFData SetVisibleToAllUsersResponse # 
type Rep SetVisibleToAllUsersResponse # 
type Rep SetVisibleToAllUsersResponse = D1 * (MetaData "SetVisibleToAllUsersResponse" "Network.AWS.EMR.SetVisibleToAllUsers" "amazonka-emr-1.6.0-IfkEnk2mHfrL7lT8VCMwMx" False) (C1 * (MetaCons "SetVisibleToAllUsersResponse'" PrefixI False) (U1 *))