getS3AccessPolicy method

Future<GetS3AccessPolicyResponse> getS3AccessPolicy({
  1. required String s3AccessPointArn,
})

Retrieves details about an access policy on a given store.

May throw AccessDeniedException. May throw InternalServerException. May throw NotSupportedOperationException. May throw RequestTimeoutException. May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw ThrottlingException. May throw ValidationException.

Parameter s3AccessPointArn : The S3 access point ARN that has the access policy.

Implementation

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