createResourceShare method

Future<void> createResourceShare({
  1. required String jobId,
  2. required String supportCaseId,
})

Create a new resource share request for MediaConvert resources with AWS Support.

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

Parameter jobId : Specify MediaConvert Job ID or ARN to share

Parameter supportCaseId : AWS Support case identifier

Implementation

Future<void> createResourceShare({
  required String jobId,
  required String supportCaseId,
}) async {
  final $payload = <String, dynamic>{
    'jobId': jobId,
    'supportCaseId': supportCaseId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/2017-08-29/resourceShares',
    exceptionFnMap: _exceptionFns,
  );
}