/AWS1/CL_OWC=>LISTTAGSFORRESOURCE()
¶
About ListTagsForResource¶
Returns a list of tags that are applied to the specified AWS OpsWorks for Chef Automate or AWS OpsWorks for Puppet Enterprise servers or backups.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_RESOURCEARN
TYPE /AWS1/OWCAWSOPSWORKSCMRESRCARN
/AWS1/OWCAWSOPSWORKSCMRESRCARN
¶
The Amazon Resource Number (ARN) of an AWS OpsWorks for Chef Automate or AWS OpsWorks for Puppet Enterprise server for which you want to show applied tags. For example,
arn:aws:opsworks-cm:us-west-2:123456789012:server/test-owcm-server/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE
.
Optional arguments:¶
IV_NEXTTOKEN
TYPE /AWS1/OWCNEXTTOKEN
/AWS1/OWCNEXTTOKEN
¶
NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call
ListTagsForResource
again, and assign the token from the previous results as the value of thenextToken
parameter. If there are no more results, the response object'snextToken
parameter value isnull
. Setting anextToken
value that was not returned in your previous results causes anInvalidNextTokenException
to occur.
IV_MAXRESULTS
TYPE /AWS1/OWCMAXRESULTS
/AWS1/OWCMAXRESULTS
¶
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to theNextToken
request parameter to get the next set of results.