You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AppSync::Types::UpdateGraphqlApiRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb

Overview

Note:

When making an API call, you may pass UpdateGraphqlApiRequest data as a hash:

{
  api_id: "String", # required
  name: "String", # required
  log_config: {
    field_log_level: "NONE", # required, accepts NONE, ERROR, ALL
    cloud_watch_logs_role_arn: "String", # required
  },
  authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
  user_pool_config: {
    user_pool_id: "String", # required
    aws_region: "String", # required
    default_action: "ALLOW", # required, accepts ALLOW, DENY
    app_id_client_regex: "String",
  },
  open_id_connect_config: {
    issuer: "String", # required
    client_id: "String",
    iat_ttl: 1,
    auth_ttl: 1,
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The API ID.

Returns:

  • (String)


1605
1606
1607
1608
1609
1610
1611
1612
1613
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1605

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config)
  include Aws::Structure
end

#authentication_typeString

The new authentication type for the GraphqlApi object.

Returns:

  • (String)


1605
1606
1607
1608
1609
1610
1611
1612
1613
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1605

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config)
  include Aws::Structure
end

#log_configTypes::LogConfig

The Amazon CloudWatch logs configuration for the GraphqlApi object.

Returns:



1605
1606
1607
1608
1609
1610
1611
1612
1613
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1605

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config)
  include Aws::Structure
end

#nameString

The new name for the GraphqlApi object.

Returns:

  • (String)


1605
1606
1607
1608
1609
1610
1611
1612
1613
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1605

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config)
  include Aws::Structure
end

#open_id_connect_configTypes::OpenIDConnectConfig

The Open Id Connect configuration configuration for the GraphqlApi object.



1605
1606
1607
1608
1609
1610
1611
1612
1613
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1605

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config)
  include Aws::Structure
end

#user_pool_configTypes::UserPoolConfig

The new Amazon Cognito User Pool configuration for the GraphqlApi object.



1605
1606
1607
1608
1609
1610
1611
1612
1613
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1605

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config)
  include Aws::Structure
end