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

Amazonka.EMR.SetVisibleToAllUsers

Description

Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals.

This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter.

For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide.

Synopsis

Creating a Request

data SetVisibleToAllUsers Source #

The input to the SetVisibleToAllUsers action.

See: newSetVisibleToAllUsers smart constructor.

Constructors

SetVisibleToAllUsers' 

Fields

  • jobFlowIds :: [Text]

    The unique identifier of the job flow (cluster).

  • visibleToAllUsers :: Bool

    A value of true indicates that an IAM principal in the Amazon Web Services account can perform EMR actions on the cluster that the IAM policies attached to the principal allow. A value of false indicates that only the IAM principal that created the cluster and the Amazon Web Services root user can perform EMR actions on the cluster.

Instances

Instances details
Eq SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Read SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Show SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Generic SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Associated Types

type Rep SetVisibleToAllUsers :: Type -> Type #

NFData SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Methods

rnf :: SetVisibleToAllUsers -> () #

Hashable SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

ToJSON SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

AWSRequest SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Associated Types

type AWSResponse SetVisibleToAllUsers #

ToHeaders SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

ToPath SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

ToQuery SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

type Rep SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

type Rep SetVisibleToAllUsers = D1 ('MetaData "SetVisibleToAllUsers" "Amazonka.EMR.SetVisibleToAllUsers" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "SetVisibleToAllUsers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobFlowIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "visibleToAllUsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))
type AWSResponse SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

newSetVisibleToAllUsers Source #

Create a value of SetVisibleToAllUsers with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:jobFlowIds:SetVisibleToAllUsers', setVisibleToAllUsers_jobFlowIds - The unique identifier of the job flow (cluster).

$sel:visibleToAllUsers:SetVisibleToAllUsers', setVisibleToAllUsers_visibleToAllUsers - A value of true indicates that an IAM principal in the Amazon Web Services account can perform EMR actions on the cluster that the IAM policies attached to the principal allow. A value of false indicates that only the IAM principal that created the cluster and the Amazon Web Services root user can perform EMR actions on the cluster.

Request Lenses

setVisibleToAllUsers_jobFlowIds :: Lens' SetVisibleToAllUsers [Text] Source #

The unique identifier of the job flow (cluster).

setVisibleToAllUsers_visibleToAllUsers :: Lens' SetVisibleToAllUsers Bool Source #

A value of true indicates that an IAM principal in the Amazon Web Services account can perform EMR actions on the cluster that the IAM policies attached to the principal allow. A value of false indicates that only the IAM principal that created the cluster and the Amazon Web Services root user can perform EMR actions on the cluster.

Destructuring the Response

data SetVisibleToAllUsersResponse Source #

See: newSetVisibleToAllUsersResponse smart constructor.

Instances

Instances details
Eq SetVisibleToAllUsersResponse Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Read SetVisibleToAllUsersResponse Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Show SetVisibleToAllUsersResponse Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Generic SetVisibleToAllUsersResponse Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Associated Types

type Rep SetVisibleToAllUsersResponse :: Type -> Type #

NFData SetVisibleToAllUsersResponse Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

type Rep SetVisibleToAllUsersResponse Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

type Rep SetVisibleToAllUsersResponse = D1 ('MetaData "SetVisibleToAllUsersResponse" "Amazonka.EMR.SetVisibleToAllUsers" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "SetVisibleToAllUsersResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSetVisibleToAllUsersResponse :: SetVisibleToAllUsersResponse Source #

Create a value of SetVisibleToAllUsersResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.