Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.EMR.SetVisibleToAllUsers
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.
Creating a Request
Arguments
:: Bool | |
-> 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 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.
data SetVisibleToAllUsers #
The input to the SetVisibleToAllUsers action.
See: setVisibleToAllUsers
smart constructor.
Instances
Request Lenses
svtauJobFlowIds :: Lens' SetVisibleToAllUsers [Text] #
Identifiers of the job flows to receive the new visibility setting.
svtauVisibleToAllUsers :: Lens' SetVisibleToAllUsers Bool #
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 #
Creates a value of SetVisibleToAllUsersResponse
with the minimum fields required to make a request.
data SetVisibleToAllUsersResponse #
See: setVisibleToAllUsersResponse
smart constructor.