PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::ApiGateway::CreateAuthorizer; use Moose; has AuthorizerCredentials => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'authorizerCredentials'); has AuthorizerResultTtlInSeconds => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'authorizerResultTtlInSeconds'); has AuthorizerUri => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'authorizerUri'); has AuthType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'authType'); has IdentitySource => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'identitySource'); has IdentityValidationExpression => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'identityValidationExpression'); has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name', required => 1); has ProviderARNs => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'providerARNs'); has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restapi_id', required => 1); has Type => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'type', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateAuthorizer'); class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}/authorizers'); class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::Authorizer'); 1; ### main pod documentation begin ### =head1 NAME Paws::ApiGateway::CreateAuthorizer - Arguments for method CreateAuthorizer on L =head1 DESCRIPTION This class represents the parameters used for calling the method CreateAuthorizer on the L service. Use the attributes of this class as arguments to method CreateAuthorizer. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAuthorizer. =head1 SYNOPSIS my $apigateway = Paws->service('ApiGateway'); my $Authorizer = $apigateway->CreateAuthorizer( Name => 'MyString', RestApiId => 'MyString', Type => 'TOKEN', AuthType => 'MyString', # OPTIONAL AuthorizerCredentials => 'MyString', # OPTIONAL AuthorizerResultTtlInSeconds => 1, # OPTIONAL AuthorizerUri => 'MyString', # OPTIONAL IdentitySource => 'MyString', # OPTIONAL IdentityValidationExpression => 'MyString', # OPTIONAL ProviderARNs => [ 'MyProviderARN', ... ], # OPTIONAL ); # Results: my $AuthType = $Authorizer->AuthType; my $AuthorizerCredentials = $Authorizer->AuthorizerCredentials; my $AuthorizerResultTtlInSeconds = $Authorizer->AuthorizerResultTtlInSeconds; my $AuthorizerUri = $Authorizer->AuthorizerUri; my $Id = $Authorizer->Id; my $IdentitySource = $Authorizer->IdentitySource; my $IdentityValidationExpression = $Authorizer->IdentityValidationExpression; my $Name = $Authorizer->Name; my $ProviderARNs = $Authorizer->ProviderARNs; my $Type = $Authorizer->Type; # Returns a L object. 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. For the AWS API documentation, see L =head1 ATTRIBUTES =head2 AuthorizerCredentials => Str Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null. =head2 AuthorizerResultTtlInSeconds => Int The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour. =head2 AuthorizerUri => Str Specifies the authorizer's Uniform Resource Identifier (URI). For C or C authorizers, this must be a well-formed Lambda function URI, for example, C. In general, the URI has this form C, where C<{region}> is the same as the region hosting the Lambda function, C indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial C. For Lambda functions, this is usually of the form C. =head2 AuthType => Str Optional customer-defined field, used in OpenAPI imports and exports without functional impact. =head2 IdentitySource => Str The identity source for which authorization is requested. =over =item * For a C or C authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is C, the header mapping expression is C. =item * For the C authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an C header, a C query string parameter are defined as identity sources, this value is C. These parameters will be used to derive the authorization caching key and to perform runtime validation of the C authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional. =back =head2 IdentityValidationExpression => Str A validation expression for the incoming identity token. For C authorizers, this value is a regular expression. For C authorizers, API Gateway will match the C field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the C authorizer. =head2 B Name => Str [Required] The name of the authorizer. =head2 ProviderARNs => ArrayRef[Str|Undef] A list of the Amazon Cognito user pool ARNs for the C authorizer. Each element is of this format: C. For a C or C authorizer, this is not defined. =head2 B RestApiId => Str [Required] The string identifier of the associated RestApi. =head2 B Type => Str [Required] The authorizer type. Valid values are C for a Lambda function using a single authorization token submitted in a custom header, C for a Lambda function using incoming request parameters, and C for using an Amazon Cognito user pool. Valid values are: C<"TOKEN">, C<"REQUEST">, C<"COGNITO_USER_POOLS"> =head1 SEE ALSO This class forms part of L, documenting arguments for method CreateAuthorizer in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut