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::AppSync::CreateFunction; use Moose; has ApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'apiId', required => 1); has DataSourceName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'dataSourceName', required => 1); has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); has FunctionVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'functionVersion', required => 1); has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name', required => 1); has RequestMappingTemplate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'requestMappingTemplate'); has ResponseMappingTemplate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'responseMappingTemplate'); has SyncConfig => (is => 'ro', isa => 'Paws::AppSync::SyncConfig', traits => ['NameInRequest'], request_name => 'syncConfig'); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateFunction'); class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/apis/{apiId}/functions'); class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppSync::CreateFunctionResponse'); 1; ### main pod documentation begin ### =head1 NAME Paws::AppSync::CreateFunction - Arguments for method CreateFunction on L =head1 DESCRIPTION This class represents the parameters used for calling the method CreateFunction on the L service. Use the attributes of this class as arguments to method CreateFunction. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateFunction. =head1 SYNOPSIS my $appsync = Paws->service('AppSync'); my $CreateFunctionResponse = $appsync->CreateFunction( ApiId => 'MyString', DataSourceName => 'MyResourceName', FunctionVersion => 'MyString', Name => 'MyResourceName', Description => 'MyString', # OPTIONAL RequestMappingTemplate => 'MyMappingTemplate', # OPTIONAL ResponseMappingTemplate => 'MyMappingTemplate', # OPTIONAL SyncConfig => { ConflictDetection => 'VERSION', # values: VERSION, NONE; OPTIONAL ConflictHandler => 'OPTIMISTIC_CONCURRENCY' , # values: OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE; OPTIONAL LambdaConflictHandlerConfig => { LambdaConflictHandlerArn => 'MyString', }, # OPTIONAL }, # OPTIONAL ); # Results: my $FunctionConfiguration = $CreateFunctionResponse->FunctionConfiguration; # 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 B ApiId => Str The GraphQL API ID. =head2 B DataSourceName => Str The C C name. =head2 Description => Str The C description. =head2 B FunctionVersion => Str The C of the request mapping template. Currently the supported value is 2018-05-29. =head2 B Name => Str The C name. The function name does not have to be unique. =head2 RequestMappingTemplate => Str The C request mapping template. Functions support only the 2018-05-29 version of the request mapping template. =head2 ResponseMappingTemplate => Str The C response mapping template. =head2 SyncConfig => L =head1 SEE ALSO This class forms part of L, documenting arguments for method CreateFunction in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut