getCertificateAssociation method

Future<GetCertificateAssociationResponse> getCertificateAssociation({
  1. required String acmCertificateArn,
  2. required String gatewayId,
})

Retrieves the details of a certificate association with a responder gateway.

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

Parameter acmCertificateArn : The Amazon Resource Name (ARN) of the ACM certificate.

Parameter gatewayId : The unique identifier of the gateway.

Implementation

Future<GetCertificateAssociationResponse> getCertificateAssociation({
  required String acmCertificateArn,
  required String gatewayId,
}) async {
  final $query = <String, List<String>>{
    'acmCertificateArn': [acmCertificateArn],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/responder-gateway/${Uri.encodeComponent(gatewayId)}/certificate',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return GetCertificateAssociationResponse.fromJson(response);
}