Class: Aws::AmplifyUIBuilder::Types::ApiConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::AmplifyUIBuilder::Types::ApiConfiguration
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-amplifyuibuilder/types.rb
Overview
ApiConfiguration is a union - when making an API calls you must set exactly one of the members.
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
Defined Under Namespace
Classes: DataStoreConfig, GraphQlConfig, NoApiConfig, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#data_store_config ⇒ Types::DataStoreRenderConfig
The configuration for an application using DataStore APIs.
-
#graph_ql_config ⇒ Types::GraphQLRenderConfig
The configuration for an application using GraphQL APIs.
-
#no_api_config ⇒ Types::NoApiRenderConfig
The configuration for an application with no API being used.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#data_store_config ⇒ Types::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_config ⇒ Types::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_config ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
100 101 102 |
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 100 def unknown @unknown end |