« blib/lib/Paws/IoT/TestInvokeAuthorizerResponse.pm
↑ Summary
blib/lib/Paws/IoT/ThingConnectivity.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoT::ThingAttribute; | ||
| 3 | use Moose; | ||
| 4 | has Attributes => (is => 'ro', isa => 'Paws::IoT::Attributes', request_name => 'attributes', traits => ['NameInRequest']); | ||
| 5 | has ThingArn => (is => 'ro', isa => 'Str', request_name => 'thingArn', traits => ['NameInRequest']); | ||
| 6 | has ThingName => (is => 'ro', isa => 'Str', request_name => 'thingName', traits => ['NameInRequest']); | ||
| 7 | has ThingTypeName => (is => 'ro', isa => 'Str', request_name => 'thingTypeName', traits => ['NameInRequest']); | ||
| 8 | has Version => (is => 'ro', isa => 'Int', request_name => 'version', traits => ['NameInRequest']); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::IoT::ThingAttribute | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::IoT::ThingAttribute object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { Attributes => $value, ..., Version => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::ThingAttribute object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->Attributes | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | The properties of the thing, including thing name, thing type name, and | ||
| 41 | a list of thing attributes. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 Attributes => L<Paws::IoT::Attributes> | ||
| 47 | |||
| 48 | A list of thing attributes which are name-value pairs. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 ThingArn => Str | ||
| 52 | |||
| 53 | The thing ARN. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 ThingName => Str | ||
| 57 | |||
| 58 | The name of the thing. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 ThingTypeName => Str | ||
| 62 | |||
| 63 | The name of the thing type, if the thing has been associated with a | ||
| 64 | type. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 Version => Int | ||
| 68 | |||
| 69 | The version of the thing record in the registry. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head1 SEE ALSO | ||
| 74 | |||
| 75 | This class forms part of L<Paws>, describing an object used in L<Paws::IoT> | ||
| 76 | |||
| 77 | =head1 BUGS and CONTRIBUTIONS | ||
| 78 | |||
| 79 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 80 | |||
| 81 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 82 | |||
| 83 | =cut | ||
| 84 |