The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $appsync = Paws->service('AppSync');
my $UpdateGraphqlApiResponse = $appsync->UpdateGraphqlApi(
ApiId => 'MyString',
Name => 'MyString',
AdditionalAuthenticationProviders => [
{
AuthenticationType => 'API_KEY'
, # values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT; OPTIONAL
OpenIDConnectConfig => {
Issuer => 'MyString',
AuthTTL => 1, # OPTIONAL
ClientId => 'MyString',
IatTTL => 1, # OPTIONAL
}, # OPTIONAL
UserPoolConfig => {
AwsRegion => 'MyString',
UserPoolId => 'MyString',
AppIdClientRegex => 'MyString',
}, # OPTIONAL
},
...
], # OPTIONAL
AuthenticationType => 'API_KEY', # OPTIONAL
LogConfig => {
CloudWatchLogsRoleArn => 'MyString',
FieldLogLevel => 'NONE', # values: NONE, ERROR, ALL
ExcludeVerboseContent => 1, # OPTIONAL
}, # 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
XrayEnabled => 1, # OPTIONAL
);
# Results:
my $GraphqlApi = $UpdateGraphqlApiResponse->GraphqlApi;
# Returns a L<Paws::AppSync::UpdateGraphqlApiResponse> 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/UpdateGraphqlApi

ATTRIBUTES

AdditionalAuthenticationProviders => ArrayRef[Paws::AppSync::AdditionalAuthenticationProvider]

A list of additional authentication providers for the GraphqlApi API.

REQUIRED ApiId => Str

The API ID.

AuthenticationType => Str

The new authentication type for the GraphqlApi object.

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

LogConfig => Paws::AppSync::LogConfig

The Amazon CloudWatch Logs configuration for the GraphqlApi object.

REQUIRED Name => Str

The new name for the GraphqlApi object.

OpenIDConnectConfig => Paws::AppSync::OpenIDConnectConfig

The OpenID Connect configuration for the GraphqlApi object.

UserPoolConfig => Paws::AppSync::UserPoolConfig

The new Amazon Cognito user pool configuration for the GraphqlApi object.

XrayEnabled => Bool

A flag indicating whether to enable X-Ray tracing for the GraphqlApi.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateGraphqlApi 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