getConnectorDestination method

Future<GetConnectorDestinationResponse> getConnectorDestination({
  1. required String identifier,
})

Get connector destination details linked to a cloud-to-cloud (C2C) connector.

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

Parameter identifier : The identifier of the C2C connector destination.

Implementation

Future<GetConnectorDestinationResponse> getConnectorDestination({
  required String identifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/connector-destinations/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetConnectorDestinationResponse.fromJson(response);
}