getIntegration method

Future<GetIntegrationOutput> getIntegration({
  1. required String integrationId,
})

Retrieves information about an integration.

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

Parameter integrationId : The unique identifier of the integration to retrieve.

Implementation

Future<GetIntegrationOutput> getIntegration({
  required String integrationId,
}) async {
  final $payload = <String, dynamic>{
    'integrationId': integrationId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/GetIntegration',
    exceptionFnMap: _exceptionFns,
  );
  return GetIntegrationOutput.fromJson(response);
}