// Adds tags to a resource group with the specified ARN. Existing tags on a
// resource group are not changed if they are not specified in the request
// parameters. 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.
Adds tags to a resource group with the specified ARN. Existing tags on a
resource group are not changed if they are not specified in the request
parameters. 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.
// Adds tags to a resource group with the specified ARN . Existing tags on a // resource group are not changed if they are not specified in the request // parameters . 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 .
func (c *Client) Tag(ctx context.Context, params *TagInput, optFns ...func(*Options)) (*TagOutput, error) {
	if params == nil {
		params = &TagInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "Tag", params, optFns, addOperationTagMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*TagOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) Tag ( ctx context . Context , params * TagInput , optFns ... func ( * Options ) ) ( * TagOutput , error ) { if params == nil { params = & TagInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationTagMiddlewares ) if err != nil { return nil , err } out := result . ( * TagOutput ) out . ResultMetadata = metadata return out , nil }
Adds tags to a resource group with the specified ARN.
Adds tags to a resource group with the specified ARN .