getConnectorDefinition method
Future<GetConnectorDefinitionResponse>
getConnectorDefinition({
- required String connectorDefinitionId,
Retrieves information about a connector definition.
May throw BadRequestException.
Parameter connectorDefinitionId
:
The ID of the connector definition.
Implementation
Future<GetConnectorDefinitionResponse> getConnectorDefinition({
required String connectorDefinitionId,
}) async {
ArgumentError.checkNotNull(connectorDefinitionId, 'connectorDefinitionId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/greengrass/definition/connectors/${Uri.encodeComponent(connectorDefinitionId)}',
exceptionFnMap: _exceptionFns,
);
return GetConnectorDefinitionResponse.fromJson(response);
}