aws-sdk-workspacesweb 1.107.0

AWS SDK for Amazon WorkSpaces Web
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateSessionLogger`](crate::operation::associate_session_logger::builders::AssociateSessionLoggerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`portal_arn(impl Into<String>)`](crate::operation::associate_session_logger::builders::AssociateSessionLoggerFluentBuilder::portal_arn) / [`set_portal_arn(Option<String>)`](crate::operation::associate_session_logger::builders::AssociateSessionLoggerFluentBuilder::set_portal_arn):<br>required: **true**<br><p>The ARN of the portal to associate to the session logger ARN.</p><br>
    ///   - [`session_logger_arn(impl Into<String>)`](crate::operation::associate_session_logger::builders::AssociateSessionLoggerFluentBuilder::session_logger_arn) / [`set_session_logger_arn(Option<String>)`](crate::operation::associate_session_logger::builders::AssociateSessionLoggerFluentBuilder::set_session_logger_arn):<br>required: **true**<br><p>The ARN of the session logger to associate to the portal ARN.</p><br>
    /// - On success, responds with [`AssociateSessionLoggerOutput`](crate::operation::associate_session_logger::AssociateSessionLoggerOutput) with field(s):
    ///   - [`portal_arn(String)`](crate::operation::associate_session_logger::AssociateSessionLoggerOutput::portal_arn): <p>The ARN of the portal.</p>
    ///   - [`session_logger_arn(String)`](crate::operation::associate_session_logger::AssociateSessionLoggerOutput::session_logger_arn): <p>The ARN of the session logger.</p>
    /// - On failure, responds with [`SdkError<AssociateSessionLoggerError>`](crate::operation::associate_session_logger::AssociateSessionLoggerError)
    pub fn associate_session_logger(&self) -> crate::operation::associate_session_logger::builders::AssociateSessionLoggerFluentBuilder {
        crate::operation::associate_session_logger::builders::AssociateSessionLoggerFluentBuilder::new(self.handle.clone())
    }
}