Module Smaws_Client_Lightsail.TagResource

val request : Smaws_Lib.Context.t -> tag_resource_request -> (tag_resource_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of access_denied_exception | `AccountSetupInProgressException of account_setup_in_progress_exception | `InvalidInputException of invalid_input_exception | `NotFoundException of not_found_exception | `OperationFailureException of operation_failure_exception | `ServiceException of service_exception | `UnauthenticatedException of unauthenticated_exception ]) Stdlib.result

Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Amazon Lightsail Developer Guide.

The tag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Amazon Lightsail Developer Guide.