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
    exclude_verbose_content: false,
  },
  authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
  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, AWS_LAMBDA
      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",
      },
      lambda_authorizer_config: {
        authorizer_result_ttl_in_seconds: 1,
        authorizer_uri: "String", # required
        identity_validation_expression: "String",
      },
    },
  ],
  xray_enabled: false,
  lambda_authorizer_config: {
    authorizer_result_ttl_in_seconds: 1,
    authorizer_uri: "String", # required
    identity_validation_expression: "String",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_authentication_providersArray<Types::AdditionalAuthenticationProvider>

A list of additional authentication providers for the GraphqlApi API.



3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3477

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config,
  :additional_authentication_providers,
  :xray_enabled,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#api_idString

The API ID.

Returns:

  • (String)


3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3477

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config,
  :additional_authentication_providers,
  :xray_enabled,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#authentication_typeString

The new authentication type for the GraphqlApi object.

Returns:

  • (String)


3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3477

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config,
  :additional_authentication_providers,
  :xray_enabled,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#lambda_authorizer_configTypes::LambdaAuthorizerConfig

Configuration for AWS Lambda function authorization.



3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3477

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config,
  :additional_authentication_providers,
  :xray_enabled,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#log_configTypes::LogConfig

The Amazon CloudWatch Logs configuration for the GraphqlApi object.

Returns:



3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3477

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config,
  :additional_authentication_providers,
  :xray_enabled,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The new name for the GraphqlApi object.

Returns:

  • (String)


3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3477

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config,
  :additional_authentication_providers,
  :xray_enabled,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#open_id_connect_configTypes::OpenIDConnectConfig

The OpenID Connect configuration for the GraphqlApi object.



3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3477

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config,
  :additional_authentication_providers,
  :xray_enabled,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#user_pool_configTypes::UserPoolConfig

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



3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3477

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config,
  :additional_authentication_providers,
  :xray_enabled,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#xray_enabledBoolean

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

Returns:

  • (Boolean)


3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3477

class UpdateGraphqlApiRequest < Struct.new(
  :api_id,
  :name,
  :log_config,
  :authentication_type,
  :user_pool_config,
  :open_id_connect_config,
  :additional_authentication_providers,
  :xray_enabled,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end