getConnectorV2 method

Future<GetConnectorV2Response> getConnectorV2({
  1. required String connectorId,
})

Grants permission to retrieve details for a connectorV2 based on connector id.

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

Parameter connectorId : The UUID of the connectorV2 to identify connectorV2 resource.

Implementation

Future<GetConnectorV2Response> getConnectorV2({
  required String connectorId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/connectorsv2/${connectorId.split('/').map(Uri.encodeComponent).join('/')}',
    exceptionFnMap: _exceptionFns,
  );
  return GetConnectorV2Response.fromJson(response);
}