Retrieve an AWS tag
Returns a representation of the specified AWS tag in the specified environment.
Path Parameters
- environment_id string required
Performs the operation on an AWS tag within the specified environment.
- tag_id string required
Performs the operation on the AWS tag with the specified ID.
Query Parameters
- embed string
Embeds the details of an associated resource. Set the parameter to one of the following embeddable links to include additional details associated with the resource.
For more information about embedded links, refer to the Embedding Referenced Resources section of this guide.Embeddable Link Description read-aws-environment-tag-ebs-volumes-protection-stats Embeds protection stats about EBS Volumes associated with this tag into the response. For example, ?embed=read-aws-environment-tag-ebs-volumes-protection-stats
read-aws-environment-tag-ec2-instances-protection-stats Embeds protection stats about EC2 Instance associated with this tag into the response. For example, ?embed=read-aws-environment-tag-ec2-instances-protection-stats
read-aws-environment-tag-rds-volumes-protection-stats Embeds protection stats about RDS Instance associated with this tag into the response. For example, ?embed=read-aws-environment-tag-rds-volumes-protection-stats
read-aws-environment-tag-dynamodb-tables-protection-stats Embeds protection stats about DynamoDB tables associated with this tag into the response. For example, ?embed=read-aws-environment-tag-dynamodb-tables-protection-stats
read-aws-environment-tag-protection-groups-protection-stats Embeds protection stats about Protection Groups associated with this tag into the response. For example, ?embed=read-aws-environment-tag-protection-groups-protection-stats
read-aws-environment-tag-backup-status-stats Embeds the backup statistics for each tag into the response. For example, ?embed=read-aws-environment-tag-backup-status-stats
read-policy-definition Embeds the associated policy of a protected tag into the response. For example, ?embed=read-policy-definition
- lookback_days int64
Calculate backup status for the last
lookback_days
days.
- 200
- default
Success
- application/api.clumio.aws-environment-tags=v1+json
- Schema
- Example (from schema)
Schema
_embedded object
Embedded responses related to the resource.
read-aws-environment-tag-backup-status-statsBackup statistics for each tag.
read-aws-environment-tag-ebs-volumes-protection-statsread-policy-definition Embeds the associated policy of a protected resource in the response if requested using the `embed` query parameter. Unprotected resources will not have an associated policy.Embeds the associated policy of a protected resource in the response if requested using the
embed
query parameter. Unprotected resources will not have an associated policy._links object
URLs to pages related to the resource.
_self object
The HATEOAS link to this resource.
href stringThe URI for the referenced operation.
templated booleanDetermines whether the "href" link is a URI template. If set to
true
, the "href" link is a URI template.type stringThe HTTP method to be used with the "href" link for the referenced operation.
protect-entities object
A HATEOAS link to protect the entities.
href stringThe URI for the referenced operation.
templated booleanDetermines whether the "href" link is a URI template. If set to
true
, the "href" link is a URI template.type stringThe HTTP method to be used with the "href" link for the referenced operation.
read-aws-environment-tag-ebs-volumes-protection-stats object
A resource-specific HATEOAS link.
href stringThe URI for the referenced operation.
templated booleanDetermines whether the "href" link is a URI template. If set to
true
, the "href" link is a URI template.type stringThe HTTP method to be used with the "href" link for the referenced operation.
read-policy-definition object
A HATEOAS link to the policy protecting this resource. Will be omitted for unprotected entities.
href stringThe URI for the referenced operation.
templated booleanDetermines whether the "href" link is a URI template. If set to
true
, the "href" link is a URI template.type stringThe HTTP method to be used with the "href" link for the referenced operation.
unprotect-entities object
A HATEOAS link to unprotect the entities.
href stringThe URI for the referenced operation.
templated booleanDetermines whether the "href" link is a URI template. If set to
true
, the "href" link is a URI template.type stringThe HTTP method to be used with the "href" link for the referenced operation.
- id string
The Clumio-assigned ID of the AWS tag.
- key string
The AWS-assigned tag key.
- key_id string
The Clumio-assigned ID of the AWS key.
- organizational_unit_id string
The Clumio-assigned ID of the organizational unit associated with the tag.
protection_info object
The protection policy applied to this resource. If the resource is not protected, then this field has a value of
null
.inheriting_entity_id stringThe ID of the entity from which protection was inherited. If protection was not inherited, then this field has a value of
null
.inheriting_entity_type stringThe type of entity from which protection was inherited. If protection was not inherited, then this field has a value of
null
.
Entities from which protection can be inherited include the following:Inheriting Entity Type Details aws_tag AWS tag. policy_id stringA system-generated ID assigned to the policy protecting this resource.
- protection_status string
The protection status of the EBS volume. Possible values include "protected" and "unprotected".
- value string
The AWS-assigned tag value.
{
"_embedded": {},
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"protect-entities": {
"href": "string",
"templated": true,
"type": "string"
},
"read-aws-environment-tag-ebs-volumes-protection-stats": {
"href": "string",
"templated": true,
"type": "string"
},
"read-policy-definition": {
"href": "string",
"templated": true,
"type": "string"
},
"unprotect-entities": {
"href": "string",
"templated": true,
"type": "string"
}
},
"id": "string",
"key": "string",
"key_id": "string",
"organizational_unit_id": "string",
"protection_info": {
"inheriting_entity_id": "string",
"inheriting_entity_type": "string",
"policy_id": "string"
},
"protection_status": "string",
"value": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
A list of errors encountered during runtime.
error_code uint32error_message stringThe reason for the error.
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}