aws_sdk_deadline/client/
assume_fleet_role_for_read.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 [`AssumeFleetRoleForRead`](crate::operation::assume_fleet_role_for_read::builders::AssumeFleetRoleForReadFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`farm_id(impl Into<String>)`](crate::operation::assume_fleet_role_for_read::builders::AssumeFleetRoleForReadFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::assume_fleet_role_for_read::builders::AssumeFleetRoleForReadFluentBuilder::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_read::builders::AssumeFleetRoleForReadFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::assume_fleet_role_for_read::builders::AssumeFleetRoleForReadFluentBuilder::set_fleet_id):<br>required: **true**<br><p>The fleet ID.</p><br>
    /// - On success, responds with [`AssumeFleetRoleForReadOutput`](crate::operation::assume_fleet_role_for_read::AssumeFleetRoleForReadOutput) with field(s):
    ///   - [`credentials(Option<AwsCredentials>)`](crate::operation::assume_fleet_role_for_read::AssumeFleetRoleForReadOutput::credentials): <p>The credentials for the fleet role.</p>
    /// - On failure, responds with [`SdkError<AssumeFleetRoleForReadError>`](crate::operation::assume_fleet_role_for_read::AssumeFleetRoleForReadError)
    pub fn assume_fleet_role_for_read(&self) -> crate::operation::assume_fleet_role_for_read::builders::AssumeFleetRoleForReadFluentBuilder {
        crate::operation::assume_fleet_role_for_read::builders::AssumeFleetRoleForReadFluentBuilder::new(self.handle.clone())
    }
}