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::PutMethod; use Moose; has ApiKeyRequired => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'apiKeyRequired'); has AuthorizationScopes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'authorizationScopes'); has AuthorizationType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'authorizationType', required => 1); has AuthorizerId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'authorizerId'); has HttpMethod => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'http_method', required => 1); has OperationName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'operationName'); has RequestModels => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToString', traits => ['NameInRequest'], request_name => 'requestModels'); has RequestParameters => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToBoolean', traits => ['NameInRequest'], request_name => 'requestParameters'); has RequestValidatorId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'requestValidatorId'); has ResourceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'resource_id', required => 1); has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restapi_id', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutMethod'); class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}'); class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::Method'); 1; ### main pod documentation begin ### =head1 NAME Paws::ApiGateway::PutMethod - Arguments for method PutMethod on L =head1 DESCRIPTION This class represents the parameters used for calling the method PutMethod on the L service. Use the attributes of this class as arguments to method PutMethod. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutMethod. =head1 SYNOPSIS my $apigateway = Paws->service('ApiGateway'); my $Method = $apigateway->PutMethod( AuthorizationType => 'MyString', HttpMethod => 'MyString', ResourceId => 'MyString', RestApiId => 'MyString', ApiKeyRequired => 1, # OPTIONAL AuthorizationScopes => [ 'MyString', ... ], # OPTIONAL AuthorizerId => 'MyString', # OPTIONAL OperationName => 'MyString', # OPTIONAL RequestModels => { 'MyString' => 'MyString', }, # OPTIONAL RequestParameters => { 'MyString' => 1, }, # OPTIONAL RequestValidatorId => 'MyString', # OPTIONAL ); # Results: my $ApiKeyRequired = $Method->ApiKeyRequired; my $AuthorizationScopes = $Method->AuthorizationScopes; my $AuthorizationType = $Method->AuthorizationType; my $AuthorizerId = $Method->AuthorizerId; my $HttpMethod = $Method->HttpMethod; my $MethodIntegration = $Method->MethodIntegration; my $MethodResponses = $Method->MethodResponses; my $OperationName = $Method->OperationName; my $RequestModels = $Method->RequestModels; my $RequestParameters = $Method->RequestParameters; my $RequestValidatorId = $Method->RequestValidatorId; # 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 ApiKeyRequired => Bool Specifies whether the method required a valid ApiKey. =head2 AuthorizationScopes => ArrayRef[Str|Undef] A list of authorization scopes configured on the method. The scopes are used with a C authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes. =head2 B AuthorizationType => Str [Required] The method's authorization type. Valid values are C for open access, C for using AWS IAM permissions, C for using a custom authorizer, or C for using a Cognito user pool. =head2 AuthorizerId => Str Specifies the identifier of an Authorizer to use on this Method, if the type is CUSTOM or COGNITO_USER_POOLS. The authorizer identifier is generated by API Gateway when you created the authorizer. =head2 B HttpMethod => Str [Required] Specifies the method request's HTTP method type. =head2 OperationName => Str A human-friendly operation identifier for the method. For example, you can assign the C of C for the C method in the C example. =head2 RequestModels => L Specifies the Model resources used for the request's content type. Request models are represented as a key/value map, with a content type as the key and a Model name as the value. =head2 RequestParameters => L A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key defines a method request parameter name matching the pattern of C, where C is C, C, or C
and C is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (C) or optional (C). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or body-mapping templates. =head2 RequestValidatorId => Str The identifier of a RequestValidator for validating the method request. =head2 B ResourceId => Str [Required] The Resource identifier for the new Method resource. =head2 B RestApiId => Str [Required] The string identifier of the associated RestApi. =head1 SEE ALSO This class forms part of L, documenting arguments for method PutMethod in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut