deleteAccessPoint method

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

Deletes the specified access point. After deletion is complete, new clients can no longer connect to the access points. Clients connected to the access point at the time of deletion will continue to function until they terminate their connection.

This operation requires permissions for the elasticfilesystem:DeleteAccessPoint action.

May throw BadRequest. May throw InternalServerError. May throw AccessPointNotFound.

Parameter accessPointId : The ID of the access point that you want to delete.

Implementation

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