amazonka-emr-2.0: Amazon EMR SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EMR.SetVisibleToAllUsers

Description

The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be visible to all users in your account. To restrict cluster access using an IAM policy, see Identity and Access Management for EMR.

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
ToJSON SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.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

AWSRequest SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Associated Types

type AWSResponse SetVisibleToAllUsers #

Generic SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Associated Types

type Rep SetVisibleToAllUsers :: Type -> Type #

Read SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Show SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

NFData SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Methods

rnf :: SetVisibleToAllUsers -> () #

Eq SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Hashable SetVisibleToAllUsers Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

type AWSResponse 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" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "SetVisibleToAllUsers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobFlowIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "visibleToAllUsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

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).

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
Generic SetVisibleToAllUsersResponse Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Associated Types

type Rep SetVisibleToAllUsersResponse :: Type -> Type #

Read SetVisibleToAllUsersResponse Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Show SetVisibleToAllUsersResponse Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

NFData SetVisibleToAllUsersResponse Source # 
Instance details

Defined in Amazonka.EMR.SetVisibleToAllUsers

Eq 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" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" '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.