« blib/lib/Paws/IoT/UpdateAuditSuppressionResponse.pm
↑ Summary
blib/lib/Paws/IoT/UpdateAuthorizerResponse.pm »
| 1 | |||
| 2 | package Paws::IoT::UpdateAuthorizer; | ||
| 3 | use Moose; | ||
| 4 | has AuthorizerFunctionArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'authorizerFunctionArn'); | ||
| 5 | has AuthorizerName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'authorizerName', required => 1); | ||
| 6 | has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status'); | ||
| 7 | has TokenKeyName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'tokenKeyName'); | ||
| 8 | has TokenSigningPublicKeys => (is => 'ro', isa => 'Paws::IoT::PublicKeyMap', traits => ['NameInRequest'], request_name => 'tokenSigningPublicKeys'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAuthorizer'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/authorizer/{authorizerName}'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::UpdateAuthorizerResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::IoT::UpdateAuthorizer - Arguments for method UpdateAuthorizer on L<Paws::IoT> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdateAuthorizer on the | ||
| 27 | L<AWS IoT|Paws::IoT> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdateAuthorizer. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAuthorizer. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $iot = Paws->service('IoT'); | ||
| 35 | my $UpdateAuthorizerResponse = $iot->UpdateAuthorizer( | ||
| 36 | AuthorizerName => 'MyAuthorizerName', | ||
| 37 | AuthorizerFunctionArn => 'MyAuthorizerFunctionArn', # OPTIONAL | ||
| 38 | Status => 'ACTIVE', # OPTIONAL | ||
| 39 | TokenKeyName => 'MyTokenKeyName', # OPTIONAL | ||
| 40 | TokenSigningPublicKeys => { | ||
| 41 | 'MyKeyName' => 'MyKeyValue', # key: min: 1, max: 128, value: max: 5120 | ||
| 42 | }, # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $AuthorizerArn = $UpdateAuthorizerResponse->AuthorizerArn; | ||
| 47 | my $AuthorizerName = $UpdateAuthorizerResponse->AuthorizerName; | ||
| 48 | |||
| 49 | # Returns a L<Paws::IoT::UpdateAuthorizerResponse> object. | ||
| 50 | |||
| 51 | 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. | ||
| 52 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/UpdateAuthorizer> | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 AuthorizerFunctionArn => Str | ||
| 58 | |||
| 59 | The ARN of the authorizer's Lambda function. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> AuthorizerName => Str | ||
| 64 | |||
| 65 | The authorizer name. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 Status => Str | ||
| 70 | |||
| 71 | The status of the update authorizer request. | ||
| 72 | |||
| 73 | Valid values are: C<"ACTIVE">, C<"INACTIVE"> | ||
| 74 | |||
| 75 | =head2 TokenKeyName => Str | ||
| 76 | |||
| 77 | The key used to extract the token from the HTTP headers. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 TokenSigningPublicKeys => L<Paws::IoT::PublicKeyMap> | ||
| 82 | |||
| 83 | The public keys used to verify the token signature. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head1 SEE ALSO | ||
| 89 | |||
| 90 | This class forms part of L<Paws>, documenting arguments for method UpdateAuthorizer in L<Paws::IoT> | ||
| 91 | |||
| 92 | =head1 BUGS and CONTRIBUTIONS | ||
| 93 | |||
| 94 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 95 | |||
| 96 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 97 | |||
| 98 | =cut | ||
| 99 |