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, AWS 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 OpenID Connect 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