associateCertificate method

Future<void> associateCertificate({
  1. required String arn,
})

Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.

May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw TooManyRequestsException. May throw ConflictException.

Parameter arn : The ARN of the ACM certificate that you want to associate with your MediaConvert resource.

Implementation

Future<void> associateCertificate({
  required String arn,
}) async {
  ArgumentError.checkNotNull(arn, 'arn');
  final $payload = <String, dynamic>{
    'arn': arn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/2017-08-29/certificates',
    exceptionFnMap: _exceptionFns,
  );
}