listTagsForResource method
Retrieve the tags for a MediaConvert resource.
May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw TooManyRequestsException. May throw ConflictException.
Parameter arn
:
The Amazon Resource Name (ARN) of the resource that you want to list tags
for. To get the ARN, send a GET request with the resource name.
Implementation
Future<ListTagsForResourceResponse> listTagsForResource({
required String arn,
}) async {
ArgumentError.checkNotNull(arn, 'arn');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/2017-08-29/tags/${Uri.encodeComponent(arn)}',
exceptionFnMap: _exceptionFns,
);
return ListTagsForResourceResponse.fromJson(response);
}