deleteAccessPoint method

Future<void> deleteAccessPoint({
  1. required String accessPointId,
})

Deletes an S3 File System Access Point. This operation is irreversible.

May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter accessPointId : The ID or Amazon Resource Name (ARN) of the access point to delete.

Implementation

Future<void> deleteAccessPoint({
  required String accessPointId,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/access-points/${Uri.encodeComponent(accessPointId)}',
    exceptionFnMap: _exceptionFns,
  );
}