Class: Aws::AmplifyUIBuilder::Types::ApiConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-amplifyuibuilder/types.rb

Overview

Note:

ApiConfiguration is a union - when making an API calls you must set exactly one of the members.

Note:

ApiConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ApiConfiguration corresponding to the set member.

Describes the API configuration for a code generation job.

Direct Known Subclasses

DataStoreConfig, GraphQlConfig, NoApiConfig, Unknown

Defined Under Namespace

Classes: DataStoreConfig, GraphQlConfig, NoApiConfig, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_store_configTypes::DataStoreRenderConfig

The configuration for an application using DataStore APIs.



100
101
102
103
104
105
106
107
108
109
110
111
112
113
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 100

class ApiConfiguration < Struct.new(
  :graph_ql_config,
  :data_store_config,
  :no_api_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class GraphQlConfig < ApiConfiguration; end
  class DataStoreConfig < ApiConfiguration; end
  class NoApiConfig < ApiConfiguration; end
  class Unknown < ApiConfiguration; end
end

#graph_ql_configTypes::GraphQLRenderConfig

The configuration for an application using GraphQL APIs.



100
101
102
103
104
105
106
107
108
109
110
111
112
113
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 100

class ApiConfiguration < Struct.new(
  :graph_ql_config,
  :data_store_config,
  :no_api_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class GraphQlConfig < ApiConfiguration; end
  class DataStoreConfig < ApiConfiguration; end
  class NoApiConfig < ApiConfiguration; end
  class Unknown < ApiConfiguration; end
end

#no_api_configTypes::NoApiRenderConfig

The configuration for an application with no API being used.



100
101
102
103
104
105
106
107
108
109
110
111
112
113
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 100

class ApiConfiguration < Struct.new(
  :graph_ql_config,
  :data_store_config,
  :no_api_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class GraphQlConfig < ApiConfiguration; end
  class DataStoreConfig < ApiConfiguration; end
  class NoApiConfig < ApiConfiguration; end
  class Unknown < ApiConfiguration; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



100
101
102
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 100

def unknown
  @unknown
end