deleteAccessSource method

Future<DeleteAccessSourceOutput> deleteAccessSource({
  1. required String accessSourceId,
})

Deletes an access source. This operation cannot be undone.

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

Parameter accessSourceId : The unique identifier of the access source to delete.

Implementation

Future<DeleteAccessSourceOutput> deleteAccessSource({
  required String accessSourceId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/access-sources/${Uri.encodeComponent(accessSourceId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteAccessSourceOutput.fromJson(response);
}