| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoT::AuthResult; | ||
| 3 | use Moose; | ||
| 4 | has Allowed => (is => 'ro', isa => 'Paws::IoT::Allowed', request_name => 'allowed', traits => ['NameInRequest']); | ||
| 5 | has AuthDecision => (is => 'ro', isa => 'Str', request_name => 'authDecision', traits => ['NameInRequest']); | ||
| 6 | has AuthInfo => (is => 'ro', isa => 'Paws::IoT::AuthInfo', request_name => 'authInfo', traits => ['NameInRequest']); | ||
| 7 | has Denied => (is => 'ro', isa => 'Paws::IoT::Denied', request_name => 'denied', traits => ['NameInRequest']); | ||
| 8 | has MissingContextValues => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'missingContextValues', traits => ['NameInRequest']); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::IoT::AuthResult | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::IoT::AuthResult object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { Allowed => $value, ..., MissingContextValues => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::AuthResult object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->Allowed | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | The authorizer result. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 Allowed => L<Paws::IoT::Allowed> | ||
| 46 | |||
| 47 | The policies and statements that allowed the specified action. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 AuthDecision => Str | ||
| 51 | |||
| 52 | The final authorization decision of this scenario. Multiple statements | ||
| 53 | are taken into account when determining the authorization decision. An | ||
| 54 | explicit deny statement can override multiple allow statements. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 AuthInfo => L<Paws::IoT::AuthInfo> | ||
| 58 | |||
| 59 | Authorization information. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 Denied => L<Paws::IoT::Denied> | ||
| 63 | |||
| 64 | The policies and statements that denied the specified action. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 MissingContextValues => ArrayRef[Str|Undef] | ||
| 68 | |||
| 69 | Contains any missing context values found while evaluating policy. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head1 SEE ALSO | ||
| 74 | |||
| 75 | This class forms part of L<Paws>, describing an object used in L<Paws::IoT> | ||
| 76 | |||
| 77 | =head1 BUGS and CONTRIBUTIONS | ||
| 78 | |||
| 79 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 80 | |||
| 81 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 82 | |||
| 83 | =cut | ||
| 84 |