aws_sdk_deadline/client/
assume_queue_role_for_user.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssumeQueueRoleForUser`](crate::operation::assume_queue_role_for_user::builders::AssumeQueueRoleForUserFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`farm_id(impl Into<String>)`](crate::operation::assume_queue_role_for_user::builders::AssumeQueueRoleForUserFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::assume_queue_role_for_user::builders::AssumeQueueRoleForUserFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID of the queue that the user assumes the role for.</p><br>
    ///   - [`queue_id(impl Into<String>)`](crate::operation::assume_queue_role_for_user::builders::AssumeQueueRoleForUserFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::assume_queue_role_for_user::builders::AssumeQueueRoleForUserFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID of the queue that the user assumes the role for.</p><br>
    /// - On success, responds with [`AssumeQueueRoleForUserOutput`](crate::operation::assume_queue_role_for_user::AssumeQueueRoleForUserOutput) with field(s):
    ///   - [`credentials(Option<AwsCredentials>)`](crate::operation::assume_queue_role_for_user::AssumeQueueRoleForUserOutput::credentials): <p>The credentials for the queue role that a user has access to.</p>
    /// - On failure, responds with [`SdkError<AssumeQueueRoleForUserError>`](crate::operation::assume_queue_role_for_user::AssumeQueueRoleForUserError)
    pub fn assume_queue_role_for_user(&self) -> crate::operation::assume_queue_role_for_user::builders::AssumeQueueRoleForUserFluentBuilder {
        crate::operation::assume_queue_role_for_user::builders::AssumeQueueRoleForUserFluentBuilder::new(self.handle.clone())
    }
}