« blib/lib/Paws/IoT1ClickDevices/__mapOf__string.pm
↑ Summary
blib/lib/Paws/IoT1ClickProjects/AssociateDeviceWithPlacementResponse.pm »
| 1 | |||
| 2 | package Paws::IoT1ClickProjects::AssociateDeviceWithPlacement; | ||
| 3 | use Moose; | ||
| 4 | has DeviceId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'deviceId', required => 1); | ||
| 5 | has DeviceTemplateName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'deviceTemplateName', required => 1); | ||
| 6 | has PlacementName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'placementName', required => 1); | ||
| 7 | has ProjectName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'projectName', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'AssociateDeviceWithPlacement'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/projects/{projectName}/placements/{placementName}/devices/{deviceTemplateName}'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT1ClickProjects::AssociateDeviceWithPlacementResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::IoT1ClickProjects::AssociateDeviceWithPlacement - Arguments for method AssociateDeviceWithPlacement on L<Paws::IoT1ClickProjects> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method AssociateDeviceWithPlacement on the | ||
| 26 | L<AWS IoT 1-Click Projects Service|Paws::IoT1ClickProjects> service. Use the attributes of this class | ||
| 27 | as arguments to method AssociateDeviceWithPlacement. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateDeviceWithPlacement. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $projects.iot1click = Paws->service('IoT1ClickProjects'); | ||
| 34 | my $AssociateDeviceWithPlacementResponse = | ||
| 35 | $projects . iot1click->AssociateDeviceWithPlacement( | ||
| 36 | DeviceId => 'MyDeviceId', | ||
| 37 | DeviceTemplateName => 'MyDeviceTemplateName', | ||
| 38 | PlacementName => 'MyPlacementName', | ||
| 39 | ProjectName => 'MyProjectName', | ||
| 40 | |||
| 41 | ); | ||
| 42 | |||
| 43 | 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. | ||
| 44 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/projects.iot1click/AssociateDeviceWithPlacement> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 B<REQUIRED> DeviceId => Str | ||
| 50 | |||
| 51 | The ID of the physical device to be associated with the given placement | ||
| 52 | in the project. Note that a mandatory 4 character prefix is required | ||
| 53 | for all C<deviceId> values. | ||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | =head2 B<REQUIRED> DeviceTemplateName => Str | ||
| 58 | |||
| 59 | The device template name to associate with the device ID. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> PlacementName => Str | ||
| 64 | |||
| 65 | The name of the placement in which to associate the device. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> ProjectName => Str | ||
| 70 | |||
| 71 | The name of the project containing the placement in which to associate | ||
| 72 | the device. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head1 SEE ALSO | ||
| 78 | |||
| 79 | This class forms part of L<Paws>, documenting arguments for method AssociateDeviceWithPlacement in L<Paws::IoT1ClickProjects> | ||
| 80 | |||
| 81 | =head1 BUGS and CONTRIBUTIONS | ||
| 82 | |||
| 83 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 84 | |||
| 85 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 86 | |||
| 87 | =cut | ||
| 88 |