aws_sdk_deadline/client/assume_queue_role_for_read.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssumeQueueRoleForRead`](crate::operation::assume_queue_role_for_read::builders::AssumeQueueRoleForReadFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`farm_id(impl Into<String>)`](crate::operation::assume_queue_role_for_read::builders::AssumeQueueRoleForReadFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::assume_queue_role_for_read::builders::AssumeQueueRoleForReadFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID of the farm containing the queue.</p><br>
/// - [`queue_id(impl Into<String>)`](crate::operation::assume_queue_role_for_read::builders::AssumeQueueRoleForReadFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::assume_queue_role_for_read::builders::AssumeQueueRoleForReadFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID.</p><br>
/// - On success, responds with [`AssumeQueueRoleForReadOutput`](crate::operation::assume_queue_role_for_read::AssumeQueueRoleForReadOutput) with field(s):
/// - [`credentials(Option<AwsCredentials>)`](crate::operation::assume_queue_role_for_read::AssumeQueueRoleForReadOutput::credentials): <p>The credentials for the queue role.</p>
/// - On failure, responds with [`SdkError<AssumeQueueRoleForReadError>`](crate::operation::assume_queue_role_for_read::AssumeQueueRoleForReadError)
pub fn assume_queue_role_for_read(&self) -> crate::operation::assume_queue_role_for_read::builders::AssumeQueueRoleForReadFluentBuilder {
crate::operation::assume_queue_role_for_read::builders::AssumeQueueRoleForReadFluentBuilder::new(self.handle.clone())
}
}