describePrivateConnection method

Future<DescribePrivateConnectionOutput> describePrivateConnection({
  1. required String name,
})

Retrieves details of an existing Private Connection.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter name : The name of the Private Connection.

Implementation

Future<DescribePrivateConnectionOutput> describePrivateConnection({
  required String name,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/private-connections/${Uri.encodeComponent(name)}',
    hostPrefix: 'cp.',
    exceptionFnMap: _exceptionFns,
  );
  return DescribePrivateConnectionOutput.fromJson(response);
}