deleteS3AccessPolicy method

Future<void> deleteS3AccessPolicy({
  1. required String s3AccessPointArn,
})

Deletes an access policy for the specified store.

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

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

Implementation

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