| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoT::HttpAction; | ||
| 3 | use Moose; | ||
| 4 | has Auth => (is => 'ro', isa => 'Paws::IoT::HttpAuthorization', request_name => 'auth', traits => ['NameInRequest']); | ||
| 5 | has ConfirmationUrl => (is => 'ro', isa => 'Str', request_name => 'confirmationUrl', traits => ['NameInRequest']); | ||
| 6 | has Headers => (is => 'ro', isa => 'ArrayRef[Paws::IoT::HttpActionHeader]', request_name => 'headers', traits => ['NameInRequest']); | ||
| 7 | has Url => (is => 'ro', isa => 'Str', request_name => 'url', traits => ['NameInRequest'], required => 1); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::IoT::HttpAction | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::IoT::HttpAction object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { Auth => $value, ..., Url => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::HttpAction object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->Auth | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Send data to an HTTPS endpoint. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 Auth => L<Paws::IoT::HttpAuthorization> | ||
| 45 | |||
| 46 | The authentication method to use when sending data to an HTTPS | ||
| 47 | endpoint. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 ConfirmationUrl => Str | ||
| 51 | |||
| 52 | The URL to which AWS IoT sends a confirmation message. The value of the | ||
| 53 | confirmation URL must be a prefix of the endpoint URL. If you do not | ||
| 54 | specify a confirmation URL AWS IoT uses the endpoint URL as the | ||
| 55 | confirmation URL. If you use substitution templates in the | ||
| 56 | confirmationUrl, you must create and enable topic rule destinations | ||
| 57 | that match each possible value of the substitution template before | ||
| 58 | traffic is allowed to your endpoint URL. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 Headers => ArrayRef[L<Paws::IoT::HttpActionHeader>] | ||
| 62 | |||
| 63 | The HTTP headers to send with the message data. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> Url => Str | ||
| 67 | |||
| 68 | The endpoint URL. If substitution templates are used in the URL, you | ||
| 69 | must also specify a C<confirmationUrl>. If this is a new destination, a | ||
| 70 | new C<TopicRuleDestination> is created if possible. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head1 SEE ALSO | ||
| 75 | |||
| 76 | This class forms part of L<Paws>, describing an object used in L<Paws::IoT> | ||
| 77 | |||
| 78 | =head1 BUGS and CONTRIBUTIONS | ||
| 79 | |||
| 80 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 81 | |||
| 82 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 83 | |||
| 84 | =cut | ||
| 85 |