describeCampaign method

Future<DescribeCampaignResponse> describeCampaign({
  1. required String id,
})

Describes the specific campaign.

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

Implementation

Future<DescribeCampaignResponse> describeCampaign({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v2/campaigns/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeCampaignResponse.fromJson(response);
}