getConnector method
Lists information about your connector. You specify the connector on input by its ARN (Amazon Resource Name).
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter connectorArn :
The Amazon Resource Name (ARN) that was returned when you called CreateConnector.
Implementation
Future<GetConnectorResponse> getConnector({
required String connectorArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/connectors/${Uri.encodeComponent(connectorArn)}',
exceptionFnMap: _exceptionFns,
);
return GetConnectorResponse.fromJson(response);
}