aws_sdk_fms/client/
get_resource_set.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 [`GetResourceSet`](crate::operation::get_resource_set::builders::GetResourceSetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::get_resource_set::builders::GetResourceSetFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_resource_set::builders::GetResourceSetFluentBuilder::set_identifier):<br>required: **true**<br><p>A unique identifier for the resource set, used in a request to refer to the resource set.</p><br>
7    /// - On success, responds with [`GetResourceSetOutput`](crate::operation::get_resource_set::GetResourceSetOutput) with field(s):
8    ///   - [`resource_set(Option<ResourceSet>)`](crate::operation::get_resource_set::GetResourceSetOutput::resource_set): <p>Information about the specified resource set.</p>
9    ///   - [`resource_set_arn(String)`](crate::operation::get_resource_set::GetResourceSetOutput::resource_set_arn): <p>The Amazon Resource Name (ARN) of the resource set.</p>
10    /// - On failure, responds with [`SdkError<GetResourceSetError>`](crate::operation::get_resource_set::GetResourceSetError)
11    pub fn get_resource_set(&self) -> crate::operation::get_resource_set::builders::GetResourceSetFluentBuilder {
12        crate::operation::get_resource_set::builders::GetResourceSetFluentBuilder::new(self.handle.clone())
13    }
14}