NAME

Paws::AppSync::CreateGraphqlApi - Arguments for method CreateGraphqlApi on Paws::AppSync

DESCRIPTION

This class represents the parameters used for calling the method CreateGraphqlApi on the AWS AppSync service. Use the attributes of this class as arguments to method CreateGraphqlApi.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateGraphqlApi.

SYNOPSIS

    my $appsync = Paws->service('AppSync');
    my $CreateGraphqlApiResponse = $appsync->CreateGraphqlApi(
      AuthenticationType => 'API_KEY',
      Name               => 'MyString',
      LogConfig          => {
        cloudWatchLogsRoleArn => 'MyString',
        fieldLogLevel         => 'NONE',       # values: NONE, ERROR, ALL

      },    # OPTIONAL
      OpenIDConnectConfig => {
        issuer   => 'MyString',
        authTTL  => 1,            # OPTIONAL
        clientId => 'MyString',
        iatTTL   => 1,            # OPTIONAL
      },    # OPTIONAL
      UserPoolConfig => {
        awsRegion        => 'MyString',
        defaultAction    => 'ALLOW',      # values: ALLOW, DENY
        userPoolId       => 'MyString',
        appIdClientRegex => 'MyString',
      },    # OPTIONAL
    );

    # Results:
    my $GraphqlApi = $CreateGraphqlApiResponse->GraphqlApi;

    # Returns a L<Paws::AppSync::CreateGraphqlApiResponse> 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 https://docs.aws.amazon.com/goto/WebAPI/appsync/CreateGraphqlApi

ATTRIBUTES

REQUIRED AuthenticationType => Str

The authentication type: API key, IAM, or Amazon Cognito User Pools.

Valid values are: "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"

LogConfig => Paws::AppSync::LogConfig

The Amazon CloudWatch logs configuration.

REQUIRED Name => Str

A user-supplied name for the GraphqlApi.

OpenIDConnectConfig => Paws::AppSync::OpenIDConnectConfig

The Open Id Connect configuration configuration.

UserPoolConfig => Paws::AppSync::UserPoolConfig

The Amazon Cognito User Pool configuration.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateGraphqlApi in Paws::AppSync

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues