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/async_direct_connect.py
| async def describe_customer_metadata(
self, *, config_overrides: Optional[AsyncDirectConnectClientConfig] = 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.
"""
async def _handler(
req: "AsyncOperationRequest[None]",
) -> AsyncOperationResponse[
"capo_direct_connect.types.describe_customer_metadata_response.DescribeCustomerMetadataResponse"
]:
import capo_direct_connect._operations.overture_service.describe_customer_metadata
(
output,
http_response,
) = await capo_direct_connect._operations.overture_service.describe_customer_metadata.async_describe_customer_metadata(
req.options
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeCustomerMetadata")
)
response = await aexecute_pipeline(
AsyncOperationRequest(input=None, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|