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