aws_sdk_deadline/client/assume_fleet_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 [`AssumeFleetRoleForWorker`](crate::operation::assume_fleet_role_for_worker::builders::AssumeFleetRoleForWorkerFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`farm_id(impl Into<String>)`](crate::operation::assume_fleet_role_for_worker::builders::AssumeFleetRoleForWorkerFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::assume_fleet_role_for_worker::builders::AssumeFleetRoleForWorkerFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID for the fleet's farm.</p><br>
/// - [`fleet_id(impl Into<String>)`](crate::operation::assume_fleet_role_for_worker::builders::AssumeFleetRoleForWorkerFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::assume_fleet_role_for_worker::builders::AssumeFleetRoleForWorkerFluentBuilder::set_fleet_id):<br>required: **true**<br><p>The fleet ID that contains the worker.</p><br>
/// - [`worker_id(impl Into<String>)`](crate::operation::assume_fleet_role_for_worker::builders::AssumeFleetRoleForWorkerFluentBuilder::worker_id) / [`set_worker_id(Option<String>)`](crate::operation::assume_fleet_role_for_worker::builders::AssumeFleetRoleForWorkerFluentBuilder::set_worker_id):<br>required: **true**<br><p>The ID of the worker assuming the fleet role.</p><br>
/// - On success, responds with [`AssumeFleetRoleForWorkerOutput`](crate::operation::assume_fleet_role_for_worker::AssumeFleetRoleForWorkerOutput) with field(s):
/// - [`credentials(Option<AwsCredentials>)`](crate::operation::assume_fleet_role_for_worker::AssumeFleetRoleForWorkerOutput::credentials): <p>The credentials for the worker.</p>
/// - On failure, responds with [`SdkError<AssumeFleetRoleForWorkerError>`](crate::operation::assume_fleet_role_for_worker::AssumeFleetRoleForWorkerError)
pub fn assume_fleet_role_for_worker(&self) -> crate::operation::assume_fleet_role_for_worker::builders::AssumeFleetRoleForWorkerFluentBuilder {
crate::operation::assume_fleet_role_for_worker::builders::AssumeFleetRoleForWorkerFluentBuilder::new(self.handle.clone())
}
}