getAccessLogSubscription method

Future<GetAccessLogSubscriptionResponse> getAccessLogSubscription({
  1. required String accessLogSubscriptionIdentifier,
})

Retrieves information about the specified access log subscription.

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

Parameter accessLogSubscriptionIdentifier : The ID or ARN of the access log subscription.

Implementation

Future<GetAccessLogSubscriptionResponse> getAccessLogSubscription({
  required String accessLogSubscriptionIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/accesslogsubscriptions/${Uri.encodeComponent(accessLogSubscriptionIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetAccessLogSubscriptionResponse.fromJson(response);
}