getProfileResourceAssociation method

Future<GetProfileResourceAssociationResponse> getProfileResourceAssociation({
  1. required String profileResourceAssociationId,
})

Returns information about a specified Route 53 Profile resource association.

May throw AccessDeniedException. May throw InvalidParameterException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter profileResourceAssociationId : The ID of the profile resource association that you want to get information about.

Implementation

Future<GetProfileResourceAssociationResponse> getProfileResourceAssociation({
  required String profileResourceAssociationId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/profileresourceassociation/${Uri.encodeComponent(profileResourceAssociationId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetProfileResourceAssociationResponse.fromJson(response);
}