getChannels method
Retrieves information about the history and status of each channel for an application.
May throw BadRequestException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw MethodNotAllowedException.
May throw NotFoundException.
May throw PayloadTooLargeException.
May throw TooManyRequestsException.
Parameter applicationId :
The unique identifier for the application. This identifier is displayed as
the Project ID on the Amazon Pinpoint console.
Implementation
Future<GetChannelsResponse> getChannels({
required String applicationId,
}) async {
final response = await _protocol.sendRaw(
payload: null,
method: 'GET',
requestUri: '/v1/apps/${Uri.encodeComponent(applicationId)}/channels',
exceptionFnMap: _exceptionFns,
);
final $json = await _s.jsonFromResponse(response);
return GetChannelsResponse(
channelsResponse: ChannelsResponse.fromJson($json),
);
}