![]() |
![]()
| ![]() |
![]()
NAMEPaws::Organizations::TagResource - Arguments for method TagResource on Paws::Organizations DESCRIPTIONThis class represents the parameters used for calling the method TagResource on the AWS Organizations service. Use the attributes of this class as arguments to method TagResource. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TagResource. SYNOPSISmy $organizations = Paws->service('Organizations'); $organizations->TagResource( ResourceId => 'MyTaggableResourceId', Tags => [ { Key => 'MyTagKey', # min: 1, max: 128 Value => 'MyTagValue', # max: 256 }, ... ], ); Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/organizations/TagResource> ATTRIBUTESREQUIRED ResourceId => StrThe ID of the resource to add a tag to. REQUIRED Tags => ArrayRef[Paws::Organizations::Tag]A list of tags to add to the specified resource. You can specify any of the following taggable resources.
For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to "null". If any one of the tags is invalid or if you exceed the allowed number of tags for an account user, then the entire request fails and the account is not created. SEE ALSOThis class forms part of Paws, documenting arguments for method TagResource in Paws::Organizations BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|