Struct aws_sdk_emr::client::fluent_builders::SetVisibleToAllUsers
source · [−]pub struct SetVisibleToAllUsers<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to SetVisibleToAllUsers.
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.
Implementations
impl<C, M, R> SetVisibleToAllUsers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SetVisibleToAllUsers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SetVisibleToAllUsersOutput, SdkError<SetVisibleToAllUsersError>> where
R::Policy: SmithyRetryPolicy<SetVisibleToAllUsersInputOperationOutputAlias, SetVisibleToAllUsersOutput, SetVisibleToAllUsersError, SetVisibleToAllUsersInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SetVisibleToAllUsersOutput, SdkError<SetVisibleToAllUsersError>> where
R::Policy: SmithyRetryPolicy<SetVisibleToAllUsersInputOperationOutputAlias, SetVisibleToAllUsersOutput, SetVisibleToAllUsersError, SetVisibleToAllUsersInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Appends an item to JobFlowIds.
To override the contents of this collection use set_job_flow_ids.
The unique identifier of the job flow (cluster).
The unique identifier of the job flow (cluster).
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.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for SetVisibleToAllUsers<C, M, R>
impl<C, M, R> Send for SetVisibleToAllUsers<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for SetVisibleToAllUsers<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for SetVisibleToAllUsers<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SetVisibleToAllUsers<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more