aws_sdk_emr/client/
set_visible_to_all_users.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`SetVisibleToAllUsers`](crate::operation::set_visible_to_all_users::builders::SetVisibleToAllUsersFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`job_flow_ids(impl Into<String>)`](crate::operation::set_visible_to_all_users::builders::SetVisibleToAllUsersFluentBuilder::job_flow_ids) / [`set_job_flow_ids(Option<Vec::<String>>)`](crate::operation::set_visible_to_all_users::builders::SetVisibleToAllUsersFluentBuilder::set_job_flow_ids):<br>required: **true**<br><p>The unique identifier of the job flow (cluster).</p><br>
7    ///   - [`visible_to_all_users(bool)`](crate::operation::set_visible_to_all_users::builders::SetVisibleToAllUsersFluentBuilder::visible_to_all_users) / [`set_visible_to_all_users(Option<bool>)`](crate::operation::set_visible_to_all_users::builders::SetVisibleToAllUsersFluentBuilder::set_visible_to_all_users):<br>required: **true**<br><p>A value of <code>true</code> indicates that an IAM principal in the Amazon Web Services account can perform Amazon EMR actions on the cluster that the IAM policies attached to the principal allow. A value of <code>false</code> indicates that only the IAM principal that created the cluster and the Amazon Web Services root user can perform Amazon EMR actions on the cluster.</p><br>
8    /// - On success, responds with [`SetVisibleToAllUsersOutput`](crate::operation::set_visible_to_all_users::SetVisibleToAllUsersOutput)
9    /// - On failure, responds with [`SdkError<SetVisibleToAllUsersError>`](crate::operation::set_visible_to_all_users::SetVisibleToAllUsersError)
10    pub fn set_visible_to_all_users(&self) -> crate::operation::set_visible_to_all_users::builders::SetVisibleToAllUsersFluentBuilder {
11        crate::operation::set_visible_to_all_users::builders::SetVisibleToAllUsersFluentBuilder::new(self.handle.clone())
12    }
13}