describeAcmeEndpoint method

Future<DescribeAcmeEndpointResponse> describeAcmeEndpoint({
  1. required String acmeEndpointArn,
})

Returns detailed metadata about the specified ACME endpoint, including its status, URL, authorization behavior, and certificate authority configuration.

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

Parameter acmeEndpointArn : The Amazon Resource Name (ARN) of the ACME endpoint.

Implementation

Future<DescribeAcmeEndpointResponse> describeAcmeEndpoint({
  required String acmeEndpointArn,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'CertificateManager.DescribeAcmeEndpoint'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'AcmeEndpointArn': acmeEndpointArn,
    },
    endpoint: _resolveEndpoint(
      serviceType: 'ACM-ACME',
    ),
  );

  return DescribeAcmeEndpointResponse.fromJson(jsonResponse.body);
}