disassociateRepository method

Future<DisassociateRepositoryResponse> disassociateRepository({
  1. required String associationArn,
})

Removes the association between Amazon CodeGuru Reviewer and a repository.

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

Parameter associationArn : The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.

Implementation

Future<DisassociateRepositoryResponse> disassociateRepository({
  required String associationArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/associations/${Uri.encodeComponent(associationArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DisassociateRepositoryResponse.fromJson(response);
}