tagResource method
Adds one or more tags to the specified resource.
May throw InternalServerException.
May throw ResourceNotFoundException.
Parameter tags :
The tags for the resource.
Implementation
Future<void> tagResource({
required Map<String, String> tags,
required String workloadArn,
}) async {
final $payload = <String, dynamic>{
'Tags': tags,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/tags/${Uri.encodeComponent(workloadArn)}',
exceptionFnMap: _exceptionFns,
);
}