aws-sdk-oam 0.11.0

AWS SDK for CloudWatch Observability Access Manager
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSink`](crate::operation::get_sink::builders::GetSinkFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_sink::builders::GetSinkFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_sink::builders::GetSinkFluentBuilder::set_identifier): <p>The ARN of the sink to retrieve information for.</p>
    /// - On success, responds with [`GetSinkOutput`](crate::operation::get_sink::GetSinkOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_sink::GetSinkOutput::arn): <p>The ARN of the sink.</p>
    ///   - [`id(Option<String>)`](crate::operation::get_sink::GetSinkOutput::id): <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_sink::GetSinkOutput::name): <p>The name of the sink.</p>
    ///   - [`tags(Option<HashMap<String, String>>)`](crate::operation::get_sink::GetSinkOutput::tags): <p>The tags assigned to the sink.</p>
    /// - On failure, responds with [`SdkError<GetSinkError>`](crate::operation::get_sink::GetSinkError)
    pub fn get_sink(&self) -> crate::operation::get_sink::builders::GetSinkFluentBuilder {
        crate::operation::get_sink::builders::GetSinkFluentBuilder::new(self.handle.clone())
    }
}