updatePrivateConnectionCertificate method
Updates the certificate associated with a private connection. Certificates can be added or replaced but not removed.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter certificate :
The PEM-encoded certificate chain for the private connection.
Parameter privateConnectionName :
The name of the private connection to update.
Implementation
Future<UpdatePrivateConnectionCertificateOutput>
updatePrivateConnectionCertificate({
required String certificate,
required String privateConnectionName,
}) async {
final $payload = <String, dynamic>{
'certificate': certificate,
'privateConnectionName': privateConnectionName,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/UpdatePrivateConnectionCertificate',
exceptionFnMap: _exceptionFns,
);
return UpdatePrivateConnectionCertificateOutput.fromJson(response);
}