« blib/lib/Paws/DataPipeline/SetTaskStatusOutput.pm
↑ Summary
blib/lib/Paws/DataPipeline/TaskObject.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::DataPipeline::Tag; | ||
| 3 | use Moose; | ||
| 4 | has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest'], required => 1); | ||
| 5 | has Value => (is => 'ro', isa => 'Str', request_name => 'value', traits => ['NameInRequest'], required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::DataPipeline::Tag | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::DataPipeline::Tag object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Key => $value, ..., Value => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::DataPipeline::Tag object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Key | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Tags are key/value pairs defined by a user and associated with a | ||
| 38 | pipeline to control access. AWS Data Pipeline allows you to associate | ||
| 39 | ten tags per pipeline. For more information, see Controlling User | ||
| 40 | Access to Pipelines | ||
| 41 | (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html) | ||
| 42 | in the I<AWS Data Pipeline Developer Guide>. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 B<REQUIRED> Key => Str | ||
| 48 | |||
| 49 | The key name of a tag defined by a user. For more information, see | ||
| 50 | Controlling User Access to Pipelines | ||
| 51 | (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html) | ||
| 52 | in the I<AWS Data Pipeline Developer Guide>. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> Value => Str | ||
| 56 | |||
| 57 | The optional value portion of a tag defined by a user. For more | ||
| 58 | information, see Controlling User Access to Pipelines | ||
| 59 | (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html) | ||
| 60 | in the I<AWS Data Pipeline Developer Guide>. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head1 SEE ALSO | ||
| 65 | |||
| 66 | This class forms part of L<Paws>, describing an object used in L<Paws::DataPipeline> | ||
| 67 | |||
| 68 | =head1 BUGS and CONTRIBUTIONS | ||
| 69 | |||
| 70 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 71 | |||
| 72 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 73 | |||
| 74 | =cut | ||
| 75 |