removeTags method

Future<void> removeTags({
  1. required List<String> loadBalancerNames,
  2. required List<TagKeyOnly> tags,
})

Removes one or more tags from the specified load balancer.

May throw AccessPointNotFoundException.

Parameter loadBalancerNames : The name of the load balancer. You can specify a maximum of one load balancer name.

Parameter tags : The list of tag keys to remove.

Implementation

Future<void> removeTags({
  required List<String> loadBalancerNames,
  required List<TagKeyOnly> tags,
}) async {
  ArgumentError.checkNotNull(loadBalancerNames, 'loadBalancerNames');
  ArgumentError.checkNotNull(tags, 'tags');
  final $request = <String, dynamic>{};
  $request['LoadBalancerNames'] = loadBalancerNames;
  $request['Tags'] = tags;
  await _protocol.send(
    $request,
    action: 'RemoveTags',
    version: '2012-06-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['RemoveTagsInput'],
    shapes: shapes,
    resultWrapper: 'RemoveTagsResult',
  );
}