aws_sdk_directconnect/client/
describe_customer_metadata.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 [`DescribeCustomerMetadata`](crate::operation::describe_customer_metadata::builders::DescribeCustomerMetadataFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::describe_customer_metadata::builders::DescribeCustomerMetadataFluentBuilder::send) it.
6    /// - On success, responds with [`DescribeCustomerMetadataOutput`](crate::operation::describe_customer_metadata::DescribeCustomerMetadataOutput) with field(s):
7    ///   - [`agreements(Option<Vec::<CustomerAgreement>>)`](crate::operation::describe_customer_metadata::DescribeCustomerMetadataOutput::agreements): <p>The list of customer agreements.</p>
8    ///   - [`nni_partner_type(Option<NniPartnerType>)`](crate::operation::describe_customer_metadata::DescribeCustomerMetadataOutput::nni_partner_type): <p>The type of network-to-network interface (NNI) partner. The partner type will be one of the following:</p> <ul>  <li>   <p>V1: This partner can only allocate 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps subgigabit connections.</p></li>  <li>   <p>V2: This partner can only allocate 1GB, 2GB, 5GB, or 10GB hosted connections.</p></li>  <li>   <p>nonPartner: The customer is not a partner.</p></li> </ul>
9    /// - On failure, responds with [`SdkError<DescribeCustomerMetadataError>`](crate::operation::describe_customer_metadata::DescribeCustomerMetadataError)
10    pub fn describe_customer_metadata(&self) -> crate::operation::describe_customer_metadata::builders::DescribeCustomerMetadataFluentBuilder {
11        crate::operation::describe_customer_metadata::builders::DescribeCustomerMetadataFluentBuilder::new(self.handle.clone())
12    }
13}