aws_sdk_deadline/client/assume_queue_role_for_worker.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssumeQueueRoleForWorker`](crate::operation::assume_queue_role_for_worker::builders::AssumeQueueRoleForWorkerFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`farm_id(impl Into<String>)`](crate::operation::assume_queue_role_for_worker::builders::AssumeQueueRoleForWorkerFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::assume_queue_role_for_worker::builders::AssumeQueueRoleForWorkerFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID of the worker assuming the queue role.</p><br>
/// - [`fleet_id(impl Into<String>)`](crate::operation::assume_queue_role_for_worker::builders::AssumeQueueRoleForWorkerFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::assume_queue_role_for_worker::builders::AssumeQueueRoleForWorkerFluentBuilder::set_fleet_id):<br>required: **true**<br><p>The fleet ID of the worker assuming the queue role.</p><br>
/// - [`worker_id(impl Into<String>)`](crate::operation::assume_queue_role_for_worker::builders::AssumeQueueRoleForWorkerFluentBuilder::worker_id) / [`set_worker_id(Option<String>)`](crate::operation::assume_queue_role_for_worker::builders::AssumeQueueRoleForWorkerFluentBuilder::set_worker_id):<br>required: **true**<br><p>The worker ID of the worker assuming the queue role.</p><br>
/// - [`queue_id(impl Into<String>)`](crate::operation::assume_queue_role_for_worker::builders::AssumeQueueRoleForWorkerFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::assume_queue_role_for_worker::builders::AssumeQueueRoleForWorkerFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID of the worker assuming the queue role.</p><br>
/// - On success, responds with [`AssumeQueueRoleForWorkerOutput`](crate::operation::assume_queue_role_for_worker::AssumeQueueRoleForWorkerOutput) with field(s):
/// - [`credentials(Option<AwsCredentials>)`](crate::operation::assume_queue_role_for_worker::AssumeQueueRoleForWorkerOutput::credentials): <p>The Amazon Web Services credentials for the role that the worker is assuming.</p>
/// - On failure, responds with [`SdkError<AssumeQueueRoleForWorkerError>`](crate::operation::assume_queue_role_for_worker::AssumeQueueRoleForWorkerError)
pub fn assume_queue_role_for_worker(&self) -> crate::operation::assume_queue_role_for_worker::builders::AssumeQueueRoleForWorkerFluentBuilder {
crate::operation::assume_queue_role_for_worker::builders::AssumeQueueRoleForWorkerFluentBuilder::new(self.handle.clone())
}
}