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::CreateDataSource; use Moose; has ApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'apiId', required => 1); has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); has DynamodbConfig => (is => 'ro', isa => 'Paws::AppSync::DynamodbDataSourceConfig', traits => ['NameInRequest'], request_name => 'dynamodbConfig'); has ElasticsearchConfig => (is => 'ro', isa => 'Paws::AppSync::ElasticsearchDataSourceConfig', traits => ['NameInRequest'], request_name => 'elasticsearchConfig'); has HttpConfig => (is => 'ro', isa => 'Paws::AppSync::HttpDataSourceConfig', traits => ['NameInRequest'], request_name => 'httpConfig'); has LambdaConfig => (is => 'ro', isa => 'Paws::AppSync::LambdaDataSourceConfig', traits => ['NameInRequest'], request_name => 'lambdaConfig'); has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name', required => 1); has RelationalDatabaseConfig => (is => 'ro', isa => 'Paws::AppSync::RelationalDatabaseDataSourceConfig', traits => ['NameInRequest'], request_name => 'relationalDatabaseConfig'); has ServiceRoleArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'serviceRoleArn'); 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 => 'CreateDataSource'); class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/apis/{apiId}/datasources'); class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppSync::CreateDataSourceResponse'); 1; ### main pod documentation begin ### =head1 NAME Paws::AppSync::CreateDataSource - Arguments for method CreateDataSource on L =head1 DESCRIPTION This class represents the parameters used for calling the method CreateDataSource on the L service. Use the attributes of this class as arguments to method CreateDataSource. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDataSource. =head1 SYNOPSIS my $appsync = Paws->service('AppSync'); my $CreateDataSourceResponse = $appsync->CreateDataSource( ApiId => 'MyString', Name => 'MyResourceName', Type => 'AWS_LAMBDA', Description => 'MyString', # OPTIONAL DynamodbConfig => { AwsRegion => 'MyString', TableName => 'MyString', DeltaSyncConfig => { BaseTableTTL => 1, # OPTIONAL DeltaSyncTableName => 'MyString', DeltaSyncTableTTL => 1, # OPTIONAL }, # OPTIONAL UseCallerCredentials => 1, # OPTIONAL Versioned => 1, # OPTIONAL }, # OPTIONAL ElasticsearchConfig => { AwsRegion => 'MyString', Endpoint => 'MyString', }, # OPTIONAL HttpConfig => { AuthorizationConfig => { AuthorizationType => 'AWS_IAM', # values: AWS_IAM AwsIamConfig => { SigningRegion => 'MyString', SigningServiceName => 'MyString', }, # OPTIONAL }, # OPTIONAL Endpoint => 'MyString', }, # OPTIONAL LambdaConfig => { LambdaFunctionArn => 'MyString', }, # OPTIONAL RelationalDatabaseConfig => { RdsHttpEndpointConfig => { AwsRegion => 'MyString', AwsSecretStoreArn => 'MyString', DatabaseName => 'MyString', DbClusterIdentifier => 'MyString', Schema => 'MyString', }, # OPTIONAL RelationalDatabaseSourceType => 'RDS_HTTP_ENDPOINT', # values: RDS_HTTP_ENDPOINT; OPTIONAL }, # OPTIONAL ServiceRoleArn => 'MyString', # OPTIONAL ); # Results: my $DataSource = $CreateDataSourceResponse->DataSource; # 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 API ID for the GraphQL API for the C. =head2 Description => Str A description of the C. =head2 DynamodbConfig => L Amazon DynamoDB settings. =head2 ElasticsearchConfig => L Amazon Elasticsearch Service settings. =head2 HttpConfig => L HTTP endpoint settings. =head2 LambdaConfig => L AWS Lambda settings. =head2 B Name => Str A user-supplied name for the C. =head2 RelationalDatabaseConfig => L Relational database settings. =head2 ServiceRoleArn => Str The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source. =head2 B Type => Str The type of the C. Valid values are: C<"AWS_LAMBDA">, C<"AMAZON_DYNAMODB">, C<"AMAZON_ELASTICSEARCH">, C<"NONE">, C<"HTTP">, C<"RELATIONAL_DATABASE"> =head1 SEE ALSO This class forms part of L, documenting arguments for method CreateDataSource in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut