Module Smaws_Client_Lightsail.TagResource

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.

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