describeTags
inline suspend fun EfsClient.describeTags(crossinline block: DescribeTagsRequest.Builder.() -> Unit): DescribeTagsResponse
Deprecated
Use ListTagsForResource.
DEPRECATED - The DescribeTags
action is deprecated and not maintained. To view tags associated with EFS resources, use the ListTagsForResource
API action.
Returns the tags associated with a file system. The order of tags returned in the response of one DescribeTags
call and the order of tags returned across the responses of a multiple-call iteration (when using pagination) is unspecified.
This operation requires permissions for the elasticfilesystem:DescribeTags
action.
Samples
fun main() {
//sampleStart
// This operation describes all of a file system s tags.
val resp = efsClient.describeTags {
fileSystemId = "fs-01234567"
}
//sampleEnd
}