describeAcmeExternalAccountBinding method
Future<DescribeAcmeExternalAccountBindingResponse>
describeAcmeExternalAccountBinding({
- required String acmeExternalAccountBindingArn,
Returns detailed metadata about the specified external account binding, including the associated IAM role, expiration time, and usage history.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter acmeExternalAccountBindingArn :
The Amazon Resource Name (ARN) of the ACME external account binding.
Implementation
Future<DescribeAcmeExternalAccountBindingResponse>
describeAcmeExternalAccountBinding({
required String acmeExternalAccountBindingArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'CertificateManager.DescribeAcmeExternalAccountBinding'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AcmeExternalAccountBindingArn': acmeExternalAccountBindingArn,
},
endpoint: _resolveEndpoint(
serviceType: 'ACM-ACME',
),
);
return DescribeAcmeExternalAccountBindingResponse.fromJson(
jsonResponse.body);
}