describeRepositoryAssociation method

Future<DescribeRepositoryAssociationResponse> describeRepositoryAssociation({
  1. required String associationArn,
})

Returns a RepositoryAssociation object that contains information about the requested repository association.

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

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

Implementation

Future<DescribeRepositoryAssociationResponse> describeRepositoryAssociation({
  required String associationArn,
}) async {
  ArgumentError.checkNotNull(associationArn, 'associationArn');
  _s.validateStringLength(
    'associationArn',
    associationArn,
    1,
    1600,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/associations/${Uri.encodeComponent(associationArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeRepositoryAssociationResponse.fromJson(response);
}