Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
Creating a Request
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 Source #
The input to the SetVisibleToAllUsers action.
See: setVisibleToAllUsers
smart constructor.
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 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 Source #
Creates a value of SetVisibleToAllUsersResponse
with the minimum fields required to make a request.
data SetVisibleToAllUsersResponse Source #
See: setVisibleToAllUsersResponse
smart constructor.