« blib/lib/Paws/IoTWireless/CreateDestinationResponse.pm
↑ Summary
blib/lib/Paws/IoTWireless/CreateDeviceProfileResponse.pm »
| 1 | |||
| 2 | package Paws::IoTWireless::CreateDeviceProfile; | ||
| 3 | use Moose; | ||
| 4 | has ClientRequestToken => (is => 'ro', isa => 'Str'); | ||
| 5 | has LoRaWAN => (is => 'ro', isa => 'Paws::IoTWireless::LoRaWANDeviceProfile'); | ||
| 6 | has Name => (is => 'ro', isa => 'Str'); | ||
| 7 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::IoTWireless::Tag]'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDeviceProfile'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/device-profiles'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoTWireless::CreateDeviceProfileResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::IoTWireless::CreateDeviceProfile - Arguments for method CreateDeviceProfile on L<Paws::IoTWireless> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method CreateDeviceProfile on the | ||
| 26 | L<AWS IoT Wireless|Paws::IoTWireless> service. Use the attributes of this class | ||
| 27 | as arguments to method CreateDeviceProfile. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDeviceProfile. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $api.iotwireless = Paws->service('IoTWireless'); | ||
| 34 | my $CreateDeviceProfileResponse = $api . iotwireless->CreateDeviceProfile( | ||
| 35 | ClientRequestToken => 'MyClientRequestToken', # OPTIONAL | ||
| 36 | LoRaWAN => { | ||
| 37 | ClassBTimeout => 1, # max: 1000; OPTIONAL | ||
| 38 | ClassCTimeout => 1, # max: 1000; OPTIONAL | ||
| 39 | FactoryPresetFreqsList => [ | ||
| 40 | 1, ... # min: 1000000, max: 16700000 | ||
| 41 | ], # max: 20; OPTIONAL | ||
| 42 | MacVersion => 'MyMacVersion', # max: 64; OPTIONAL | ||
| 43 | MaxDutyCycle => 1, # max: 100; OPTIONAL | ||
| 44 | MaxEirp => 1, # max: 15; OPTIONAL | ||
| 45 | PingSlotDr => 1, # max: 15; OPTIONAL | ||
| 46 | PingSlotFreq => 1, # min: 1000000, max: 16700000; OPTIONAL | ||
| 47 | PingSlotPeriod => 1, # min: 128, max: 4096; OPTIONAL | ||
| 48 | RegParamsRevision => 'MyRegParamsRevision', # max: 64; OPTIONAL | ||
| 49 | RfRegion => 'MyRfRegion', # max: 64; OPTIONAL | ||
| 50 | RxDataRate2 => 1, # max: 15; OPTIONAL | ||
| 51 | RxDelay1 => 1, # max: 15; OPTIONAL | ||
| 52 | RxDrOffset1 => 1, # max: 7; OPTIONAL | ||
| 53 | RxFreq2 => 1, # min: 1000000, max: 16700000; OPTIONAL | ||
| 54 | Supports32BitFCnt => 1, # OPTIONAL | ||
| 55 | SupportsClassB => 1, # OPTIONAL | ||
| 56 | SupportsClassC => 1, # OPTIONAL | ||
| 57 | SupportsJoin => 1, # OPTIONAL | ||
| 58 | }, # OPTIONAL | ||
| 59 | Name => 'MyDeviceProfileName', # OPTIONAL | ||
| 60 | Tags => [ | ||
| 61 | { | ||
| 62 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 63 | Value => 'MyTagValue', # max: 256 | ||
| 64 | |||
| 65 | }, | ||
| 66 | ... | ||
| 67 | ], # OPTIONAL | ||
| 68 | ); | ||
| 69 | |||
| 70 | # Results: | ||
| 71 | my $Arn = $CreateDeviceProfileResponse->Arn; | ||
| 72 | my $Id = $CreateDeviceProfileResponse->Id; | ||
| 73 | |||
| 74 | # Returns a L<Paws::IoTWireless::CreateDeviceProfileResponse> object. | ||
| 75 | |||
| 76 | 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. | ||
| 77 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.iotwireless/CreateDeviceProfile> | ||
| 78 | |||
| 79 | =head1 ATTRIBUTES | ||
| 80 | |||
| 81 | |||
| 82 | =head2 ClientRequestToken => Str | ||
| 83 | |||
| 84 | Each resource must have a unique client request token. If you try to | ||
| 85 | create a new resource with the same token as a resource that already | ||
| 86 | exists, an exception occurs. If you omit this value, AWS SDKs will | ||
| 87 | automatically generate a unique client request. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head2 LoRaWAN => L<Paws::IoTWireless::LoRaWANDeviceProfile> | ||
| 92 | |||
| 93 | The device profile information to use to create the device profile. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head2 Name => Str | ||
| 98 | |||
| 99 | The name of the new resource. | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head2 Tags => ArrayRef[L<Paws::IoTWireless::Tag>] | ||
| 104 | |||
| 105 | The tags to attach to the new device profile. Tags are metadata that | ||
| 106 | you can use to manage a resource. | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | =head1 SEE ALSO | ||
| 112 | |||
| 113 | This class forms part of L<Paws>, documenting arguments for method CreateDeviceProfile in L<Paws::IoTWireless> | ||
| 114 | |||
| 115 | =head1 BUGS and CONTRIBUTIONS | ||
| 116 | |||
| 117 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 118 | |||
| 119 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 120 | |||
| 121 | =cut | ||
| 122 |