| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoTSiteWise::AssociatedAssetsSummary; | ||
| 3 | use Moose; | ||
| 4 | has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest'], required => 1); | ||
| 5 | has AssetModelId => (is => 'ro', isa => 'Str', request_name => 'assetModelId', traits => ['NameInRequest'], required => 1); | ||
| 6 | has CreationDate => (is => 'ro', isa => 'Str', request_name => 'creationDate', traits => ['NameInRequest'], required => 1); | ||
| 7 | has Hierarchies => (is => 'ro', isa => 'ArrayRef[Paws::IoTSiteWise::AssetHierarchy]', request_name => 'hierarchies', traits => ['NameInRequest'], required => 1); | ||
| 8 | has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1); | ||
| 9 | has LastUpdateDate => (is => 'ro', isa => 'Str', request_name => 'lastUpdateDate', traits => ['NameInRequest'], required => 1); | ||
| 10 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1); | ||
| 11 | has Status => (is => 'ro', isa => 'Paws::IoTSiteWise::AssetStatus', request_name => 'status', traits => ['NameInRequest'], required => 1); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::IoTSiteWise::AssociatedAssetsSummary | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::IoTSiteWise::AssociatedAssetsSummary object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { Arn => $value, ..., Status => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoTSiteWise::AssociatedAssetsSummary object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->Arn | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | Contains a summary of an associated asset. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 B<REQUIRED> Arn => Str | ||
| 49 | |||
| 50 | The ARN | ||
| 51 | (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) | ||
| 52 | of the asset, which has the following format. | ||
| 53 | |||
| 54 | C<arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}> | ||
| 55 | |||
| 56 | |||
| 57 | =head2 B<REQUIRED> AssetModelId => Str | ||
| 58 | |||
| 59 | The ID of the asset model used to create the asset. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> CreationDate => Str | ||
| 63 | |||
| 64 | The date the asset was created, in Unix epoch time. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> Hierarchies => ArrayRef[L<Paws::IoTSiteWise::AssetHierarchy>] | ||
| 68 | |||
| 69 | A list of asset hierarchies that each contain a C<hierarchyId>. A | ||
| 70 | hierarchy specifies allowed parent/child asset relationships. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> Id => Str | ||
| 74 | |||
| 75 | The ID of the asset. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> LastUpdateDate => Str | ||
| 79 | |||
| 80 | The date the asset was last updated, in Unix epoch time. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> Name => Str | ||
| 84 | |||
| 85 | The name of the asset. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 B<REQUIRED> Status => L<Paws::IoTSiteWise::AssetStatus> | ||
| 89 | |||
| 90 | The current status of the asset. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head1 SEE ALSO | ||
| 95 | |||
| 96 | This class forms part of L<Paws>, describing an object used in L<Paws::IoTSiteWise> | ||
| 97 | |||
| 98 | =head1 BUGS and CONTRIBUTIONS | ||
| 99 | |||
| 100 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 101 | |||
| 102 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 103 | |||
| 104 | =cut | ||
| 105 |