amazonka-emr-1.3.6: Amazon Elastic MapReduce SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for SetVisibleToAllUsers.

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:

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.