aws_sdk_ssmguiconnect/client/
get_connection_recording_preferences.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetConnectionRecordingPreferences`](crate::operation::get_connection_recording_preferences::builders::GetConnectionRecordingPreferencesFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_connection_recording_preferences::builders::GetConnectionRecordingPreferencesFluentBuilder::send) it.
6    /// - On success, responds with [`GetConnectionRecordingPreferencesOutput`](crate::operation::get_connection_recording_preferences::GetConnectionRecordingPreferencesOutput) with field(s):
7    ///   - [`client_token(Option<String>)`](crate::operation::get_connection_recording_preferences::GetConnectionRecordingPreferencesOutput::client_token): <p>Service-provided idempotency token.</p>
8    ///   - [`connection_recording_preferences(Option<ConnectionRecordingPreferences>)`](crate::operation::get_connection_recording_preferences::GetConnectionRecordingPreferencesOutput::connection_recording_preferences): <p>The set of preferences used for recording RDP connections in the requesting Amazon Web Services account and Amazon Web Services Region. This includes details such as which S3 bucket recordings are stored in.</p>
9    /// - On failure, responds with [`SdkError<GetConnectionRecordingPreferencesError>`](crate::operation::get_connection_recording_preferences::GetConnectionRecordingPreferencesError)
10    pub fn get_connection_recording_preferences(
11        &self,
12    ) -> crate::operation::get_connection_recording_preferences::builders::GetConnectionRecordingPreferencesFluentBuilder {
13        crate::operation::get_connection_recording_preferences::builders::GetConnectionRecordingPreferencesFluentBuilder::new(self.handle.clone())
14    }
15}