getHostedZoneAssociation method

Future<GetHostedZoneAssociationOutput> getHostedZoneAssociation({
  1. required String hostedZoneAssociationId,
})

Retrieves information about a hosted zone association.

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

Parameter hostedZoneAssociationId : ID of the private hosted zone association.

Implementation

Future<GetHostedZoneAssociationOutput> getHostedZoneAssociation({
  required String hostedZoneAssociationId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/hosted-zone-associations/${Uri.encodeComponent(hostedZoneAssociationId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetHostedZoneAssociationOutput.fromJson(response);
}