aws_sdk_vpclattice/client/
get_resource_configuration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetResourceConfiguration`](crate::operation::get_resource_configuration::builders::GetResourceConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_configuration_identifier(impl Into<String>)`](crate::operation::get_resource_configuration::builders::GetResourceConfigurationFluentBuilder::resource_configuration_identifier) / [`set_resource_configuration_identifier(Option<String>)`](crate::operation::get_resource_configuration::builders::GetResourceConfigurationFluentBuilder::set_resource_configuration_identifier):<br>required: **true**<br><p>The ID of the resource configuration.</p><br>
    /// - On success, responds with [`GetResourceConfigurationOutput`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::id): <p>The ID of the resource configuration.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::name): <p>The name of the resource configuration.</p>
    ///   - [`arn(Option<String>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::arn): <p>The Amazon Resource Name (ARN) of the resource configuration.</p>
    ///   - [`resource_gateway_id(Option<String>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::resource_gateway_id): <p>The ID of the resource gateway used to connect to the resource configuration in a given VPC. You can specify the resource gateway identifier only for resource configurations with type SINGLE, GROUP, or ARN.</p>
    ///   - [`resource_configuration_group_id(Option<String>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::resource_configuration_group_id): <p>The ID of the group resource configuration.</p>
    ///   - [`r#type(Option<ResourceConfigurationType>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::type): <p>The type of resource configuration.</p> <ul>  <li>   <p><code>SINGLE</code> - A single resource.</p></li>  <li>   <p><code>GROUP</code> - A group of resources.</p></li>  <li>   <p><code>CHILD</code> - A single resource that is part of a group resource configuration.</p></li>  <li>   <p><code>ARN</code> - An Amazon Web Services resource.</p></li> </ul>
    ///   - [`allow_association_to_shareable_service_network(Option<bool>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::allow_association_to_shareable_service_network): <p>Specifies whether the resource configuration is associated with a sharable service network.</p>
    ///   - [`port_ranges(Option<Vec::<String>>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::port_ranges): <p>The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30</p>
    ///   - [`protocol(Option<ProtocolType>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::protocol): <p>The TCP protocol accepted by the specified resource configuration.</p>
    ///   - [`custom_domain_name(Option<String>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::custom_domain_name): <p>The custom domain name of the resource configuration.</p>
    ///   - [`status(Option<ResourceConfigurationStatus>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::status): <p>The status of the resource configuration.</p>
    ///   - [`resource_configuration_definition(Option<ResourceConfigurationDefinition>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::resource_configuration_definition): <p>The resource configuration.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::created_at): <p>The date and time that the resource configuration was created, in ISO-8601 format.</p>
    ///   - [`amazon_managed(Option<bool>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::amazon_managed): <p>Indicates whether the resource configuration was created and is managed by Amazon.</p>
    ///   - [`failure_reason(Option<String>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::failure_reason): <p>The reason the create-resource-configuration request failed.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_resource_configuration::GetResourceConfigurationOutput::last_updated_at): <p>The most recent date and time that the resource configuration was updated, in ISO-8601 format.</p>
    /// - On failure, responds with [`SdkError<GetResourceConfigurationError>`](crate::operation::get_resource_configuration::GetResourceConfigurationError)
    pub fn get_resource_configuration(&self) -> crate::operation::get_resource_configuration::builders::GetResourceConfigurationFluentBuilder {
        crate::operation::get_resource_configuration::builders::GetResourceConfigurationFluentBuilder::new(self.handle.clone())
    }
}