You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AppSync::Types::UpdateGraphqlApiRequest
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::AppSync::Types::UpdateGraphqlApiRequest
 
- Defined in:
- (unknown)
Overview
When passing UpdateGraphqlApiRequest as input to an Aws::Client method, you can use a vanilla 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
    exclude_verbose_content: false,
  },
  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,
  },
  additional_authentication_providers: [
    {
      authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
      open_id_connect_config: {
        issuer: "String", # required
        client_id: "String",
        iat_ttl: 1,
        auth_ttl: 1,
      },
      user_pool_config: {
        user_pool_id: "String", # required
        aws_region: "String", # required
        app_id_client_regex: "String",
      },
    },
  ],
  xray_enabled: false,
}
Instance Attribute Summary collapse
- 
  
    
      #additional_authentication_providers  ⇒ Array<Types::AdditionalAuthenticationProvider> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of additional authentication providers for the GraphqlApiAPI.
- 
  
    
      #api_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The API ID. 
- 
  
    
      #authentication_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The new authentication type for the GraphqlApiobject.
- 
  
    
      #log_config  ⇒ Types::LogConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Amazon CloudWatch Logs configuration for the GraphqlApiobject.
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The new name for the GraphqlApiobject.
- 
  
    
      #open_id_connect_config  ⇒ Types::OpenIDConnectConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The OpenID Connect configuration for the GraphqlApiobject.
- 
  
    
      #user_pool_config  ⇒ Types::UserPoolConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The new Amazon Cognito user pool configuration for the GraphqlApiobject.
- 
  
    
      #xray_enabled  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A flag indicating whether to enable X-Ray tracing for the GraphqlApi.
Instance Attribute Details
#additional_authentication_providers ⇒ Array<Types::AdditionalAuthenticationProvider>
A list of additional authentication providers for the GraphqlApi API.
#api_id ⇒ String
The API ID.
#authentication_type ⇒ String
The new authentication type for the GraphqlApi object. 
Possible values:
- API_KEY
- AWS_IAM
- AMAZON_COGNITO_USER_POOLS
- OPENID_CONNECT
#log_config ⇒ Types::LogConfig
The Amazon CloudWatch Logs configuration for the GraphqlApi object.
#name ⇒ String
The new name for the GraphqlApi object.
#open_id_connect_config ⇒ Types::OpenIDConnectConfig
The OpenID Connect configuration for the GraphqlApi object.
#user_pool_config ⇒ Types::UserPoolConfig
The new Amazon Cognito user pool configuration for the GraphqlApi
object.
#xray_enabled ⇒ Boolean
A flag indicating whether to enable X-Ray tracing for the GraphqlApi.