Module Smaws_Client_ResourceGroupsTaggingAPI.TagResources

Applies one or more tags to the specified resources. Note the following:

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

Minimum permissions

In addition to the tag:TagResources permission required by this operation, you must also have the tagging permission defined by the service that created the resource. For example, to tag an Amazon EC2 instance using the TagResources operation, you must have both of the following permissions:

In addition, some services might have specific requirements for tagging some types of resources. For example, to tag an Amazon S3 bucket, you must also have the s3:GetBucketTagging permission. If the expected minimum permissions don't work, check the documentation for that service's tagging APIs for more information.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ThrottledException of Types.throttled_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.tag_resources_input -> (Types.tag_resources_output, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ThrottledException of Types.throttled_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.tag_resources_input -> (Types.tag_resources_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ThrottledException of Types.throttled_exception ] * Smaws_Lib.Response.metadata) Stdlib.result