« blib/lib/Paws/IoTSiteWise/CreateAssetModelResponse.pm
↑ Summary
blib/lib/Paws/IoTSiteWise/CreateDashboard.pm »
| 1 | |||
| 2 | package Paws::IoTSiteWise::CreateAssetResponse; | ||
| 3 | use Moose; | ||
| 4 | has AssetArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'assetArn', required => 1); | ||
| 5 | has AssetId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'assetId', required => 1); | ||
| 6 | has AssetStatus => (is => 'ro', isa => 'Paws::IoTSiteWise::AssetStatus', traits => ['NameInRequest'], request_name => 'assetStatus', required => 1); | ||
| 7 | |||
| 8 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::IoTSiteWise::CreateAssetResponse | ||
| 16 | |||
| 17 | =head1 ATTRIBUTES | ||
| 18 | |||
| 19 | |||
| 20 | =head2 B<REQUIRED> AssetArn => Str | ||
| 21 | |||
| 22 | The ARN | ||
| 23 | (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) | ||
| 24 | of the asset, which has the following format. | ||
| 25 | |||
| 26 | C<arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}> | ||
| 27 | |||
| 28 | |||
| 29 | =head2 B<REQUIRED> AssetId => Str | ||
| 30 | |||
| 31 | The ID of the asset. This ID uniquely identifies the asset within AWS | ||
| 32 | IoT SiteWise and can be used with other AWS IoT SiteWise APIs. | ||
| 33 | |||
| 34 | |||
| 35 | =head2 B<REQUIRED> AssetStatus => L<Paws::IoTSiteWise::AssetStatus> | ||
| 36 | |||
| 37 | The status of the asset, which contains a state (C<CREATING> after | ||
| 38 | successfully calling this operation) and any error message. | ||
| 39 | |||
| 40 | |||
| 41 | =head2 _request_id => Str | ||
| 42 | |||
| 43 | |||
| 44 | =cut | ||
| 45 |