« blib/lib/Paws/IoTFleetHub/ApplicationSummary.pm
↑ Summary
blib/lib/Paws/IoTFleetHub/CreateApplicationResponse.pm »
| 1 | |||
| 2 | package Paws::IoTFleetHub::CreateApplication; | ||
| 3 | use Moose; | ||
| 4 | has ApplicationDescription => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'applicationDescription'); | ||
| 5 | has ApplicationName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'applicationName', required => 1); | ||
| 6 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken'); | ||
| 7 | has RoleArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'roleArn', required => 1); | ||
| 8 | has Tags => (is => 'ro', isa => 'Paws::IoTFleetHub::TagMap', traits => ['NameInRequest'], request_name => 'tags'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateApplication'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/applications'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoTFleetHub::CreateApplicationResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::IoTFleetHub::CreateApplication - Arguments for method CreateApplication on L<Paws::IoTFleetHub> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method CreateApplication on the | ||
| 27 | L<AWS IoT Fleet Hub|Paws::IoTFleetHub> service. Use the attributes of this class | ||
| 28 | as arguments to method CreateApplication. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateApplication. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $api.fleethub.iot = Paws->service('IoTFleetHub'); | ||
| 35 | my $CreateApplicationResponse = $api . fleethub . iot->CreateApplication( | ||
| 36 | ApplicationName => 'MyName', | ||
| 37 | RoleArn => 'MyArn', | ||
| 38 | ApplicationDescription => 'MyDescription', # OPTIONAL | ||
| 39 | ClientToken => 'MyClientRequestToken', # OPTIONAL | ||
| 40 | Tags => { | ||
| 41 | 'MyTagKey' => | ||
| 42 | 'MyTagValue', # key: min: 1, max: 128, value: min: 1, max: 256 | ||
| 43 | }, # OPTIONAL | ||
| 44 | ); | ||
| 45 | |||
| 46 | # Results: | ||
| 47 | my $ApplicationArn = $CreateApplicationResponse->ApplicationArn; | ||
| 48 | my $ApplicationId = $CreateApplicationResponse->ApplicationId; | ||
| 49 | |||
| 50 | # Returns a L<Paws::IoTFleetHub::CreateApplicationResponse> object. | ||
| 51 | |||
| 52 | 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. | ||
| 53 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.fleethub.iot/CreateApplication> | ||
| 54 | |||
| 55 | =head1 ATTRIBUTES | ||
| 56 | |||
| 57 | |||
| 58 | =head2 ApplicationDescription => Str | ||
| 59 | |||
| 60 | An optional description of the web application. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> ApplicationName => Str | ||
| 65 | |||
| 66 | The name of the web application. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 ClientToken => Str | ||
| 71 | |||
| 72 | A unique case-sensitive identifier that you can provide to ensure the | ||
| 73 | idempotency of the request. Don't reuse this client token if a new | ||
| 74 | idempotent request is required. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> RoleArn => Str | ||
| 79 | |||
| 80 | The ARN of the role that the web application assumes when it interacts | ||
| 81 | with AWS IoT Core. | ||
| 82 | |||
| 83 | The name of the role must be in the form | ||
| 84 | C<AWSIotFleetHub_I<random_string> >. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 Tags => L<Paws::IoTFleetHub::TagMap> | ||
| 89 | |||
| 90 | A set of key/value pairs that you can use to manage the web application | ||
| 91 | resource. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head1 SEE ALSO | ||
| 97 | |||
| 98 | This class forms part of L<Paws>, documenting arguments for method CreateApplication in L<Paws::IoTFleetHub> | ||
| 99 | |||
| 100 | =head1 BUGS and CONTRIBUTIONS | ||
| 101 | |||
| 102 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 103 | |||
| 104 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 105 | |||
| 106 | =cut | ||
| 107 |