disassociateCertificate method
Removes a certificate association from a responder gateway.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw ValidationException.
Parameter acmCertificateArn :
The Amazon Resource Name (ARN) of the ACM certificate to disassociate.
Parameter gatewayId :
The unique identifier of the gateway.
Implementation
Future<DisassociateCertificateResponse> disassociateCertificate({
required String acmCertificateArn,
required String gatewayId,
}) async {
final $query = <String, List<String>>{
'acmCertificateArn': [acmCertificateArn],
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/responder-gateway/${Uri.encodeComponent(gatewayId)}/certificate',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return DisassociateCertificateResponse.fromJson(response);
}