Class: Aws::AmplifyBackend::Types::UpdateBackendAPIRequest

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

Overview

Note:

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

{
  app_id: "__string", # required
  backend_environment_name: "__string", # required
  resource_config: {
    additional_auth_types: [
      {
        mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
        settings: {
          cognito_user_pool_id: "__string",
          description: "__string",
          expiration_time: 1.0,
          open_id_auth_ttl: "__string",
          open_id_client_id: "__string",
          open_id_iat_ttl: "__string",
          open_id_issue_url: "__string",
          open_id_provider_name: "__string",
        },
      },
    ],
    api_name: "__string",
    conflict_resolution: {
      resolution_strategy: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
    },
    default_auth_type: {
      mode: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
      settings: {
        cognito_user_pool_id: "__string",
        description: "__string",
        expiration_time: 1.0,
        open_id_auth_ttl: "__string",
        open_id_client_id: "__string",
        open_id_iat_ttl: "__string",
        open_id_issue_url: "__string",
        open_id_provider_name: "__string",
      },
    },
    service: "__string",
    transform_schema: "__string",
  },
  resource_name: "__string", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

Returns:

  • (String)


3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 3273

class UpdateBackendAPIRequest < Struct.new(
  :app_id,
  :backend_environment_name,
  :resource_config,
  :resource_name)
  SENSITIVE = []
  include Aws::Structure
end

#backend_environment_nameString

Returns:

  • (String)


3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 3273

class UpdateBackendAPIRequest < Struct.new(
  :app_id,
  :backend_environment_name,
  :resource_config,
  :resource_name)
  SENSITIVE = []
  include Aws::Structure
end

#resource_configTypes::BackendAPIResourceConfig

The resource config for the data model, configured as a part of the Amplify project.



3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 3273

class UpdateBackendAPIRequest < Struct.new(
  :app_id,
  :backend_environment_name,
  :resource_config,
  :resource_name)
  SENSITIVE = []
  include Aws::Structure
end

#resource_nameString

Returns:

  • (String)


3273
3274
3275
3276
3277
3278
3279
3280
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 3273

class UpdateBackendAPIRequest < Struct.new(
  :app_id,
  :backend_environment_name,
  :resource_config,
  :resource_name)
  SENSITIVE = []
  include Aws::Structure
end