Skip to content

describe_customer_metadata

describe_customer_metadata(
    *, config_overrides: Optional[DirectConnectClientConfig] = None
) -> DescribeCustomerMetadataResponse

Get and view a list of customer agreements, along with their signed status and whether the customer is an NNIPartner, NNIPartnerV2, or a nonPartner.

Raises:

Source code in docs_src/capo_direct_connect/_services/direct_connect.py
def describe_customer_metadata(
    self, *, config_overrides: Optional[DirectConnectClientConfig] = None
) -> "capo_direct_connect.types.describe_customer_metadata_response.DescribeCustomerMetadataResponse":
    """<p>Get and view a list of customer agreements, along with their signed status and whether the customer is an NNIPartner, NNIPartnerV2, or a nonPartner. </p>

    Raises:
        capo_direct_connect.errors.direct_connect_client_exception.DirectConnectClientException: <p>One or more parameters are not valid.</p>
        capo_direct_connect.errors.direct_connect_server_exception.DirectConnectServerException: <p>A server-side error occurred.</p>
        capo_direct_connect.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[None]",
    ) -> OperationResponse[
        "capo_direct_connect.types.describe_customer_metadata_response.DescribeCustomerMetadataResponse"
    ]:
        import capo_direct_connect._operations.overture_service.describe_customer_metadata

        output, http_response = (
            capo_direct_connect._operations.overture_service.describe_customer_metadata.describe_customer_metadata(
                req.options
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DescribeCustomerMetadata")
    )

    response = execute_pipeline(
        OperationRequest(input=None, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output