| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig
Description
Synopsis
- data BackendAPIResourceConfig = BackendAPIResourceConfig' {}
- newBackendAPIResourceConfig :: BackendAPIResourceConfig
- backendAPIResourceConfig_additionalAuthTypes :: Lens' BackendAPIResourceConfig (Maybe [BackendAPIAuthType])
- backendAPIResourceConfig_apiName :: Lens' BackendAPIResourceConfig (Maybe Text)
- backendAPIResourceConfig_conflictResolution :: Lens' BackendAPIResourceConfig (Maybe BackendAPIConflictResolution)
- backendAPIResourceConfig_defaultAuthType :: Lens' BackendAPIResourceConfig (Maybe BackendAPIAuthType)
- backendAPIResourceConfig_service :: Lens' BackendAPIResourceConfig (Maybe Text)
- backendAPIResourceConfig_transformSchema :: Lens' BackendAPIResourceConfig (Maybe Text)
Documentation
data BackendAPIResourceConfig Source #
The resource config for the data model, configured as a part of the Amplify project.
See: newBackendAPIResourceConfig smart constructor.
Constructors
| BackendAPIResourceConfig' | |
Fields
| |
Instances
newBackendAPIResourceConfig :: BackendAPIResourceConfig Source #
Create a value of BackendAPIResourceConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:additionalAuthTypes:BackendAPIResourceConfig', backendAPIResourceConfig_additionalAuthTypes - Additional authentication methods used to interact with your data
models.
$sel:apiName:BackendAPIResourceConfig', backendAPIResourceConfig_apiName - The API name used to interact with the data model, configured as a part
of your Amplify project.
$sel:conflictResolution:BackendAPIResourceConfig', backendAPIResourceConfig_conflictResolution - The conflict resolution strategy for your data stored in the data
models.
$sel:defaultAuthType:BackendAPIResourceConfig', backendAPIResourceConfig_defaultAuthType - The default authentication type for interacting with the configured data
models in your Amplify project.
$sel:service:BackendAPIResourceConfig', backendAPIResourceConfig_service - The service used to provision and interact with the data model.
$sel:transformSchema:BackendAPIResourceConfig', backendAPIResourceConfig_transformSchema - The definition of the data model in the annotated transform of the
GraphQL schema.
backendAPIResourceConfig_additionalAuthTypes :: Lens' BackendAPIResourceConfig (Maybe [BackendAPIAuthType]) Source #
Additional authentication methods used to interact with your data models.
backendAPIResourceConfig_apiName :: Lens' BackendAPIResourceConfig (Maybe Text) Source #
The API name used to interact with the data model, configured as a part of your Amplify project.
backendAPIResourceConfig_conflictResolution :: Lens' BackendAPIResourceConfig (Maybe BackendAPIConflictResolution) Source #
The conflict resolution strategy for your data stored in the data models.
backendAPIResourceConfig_defaultAuthType :: Lens' BackendAPIResourceConfig (Maybe BackendAPIAuthType) Source #
The default authentication type for interacting with the configured data models in your Amplify project.
backendAPIResourceConfig_service :: Lens' BackendAPIResourceConfig (Maybe Text) Source #
The service used to provision and interact with the data model.
backendAPIResourceConfig_transformSchema :: Lens' BackendAPIResourceConfig (Maybe Text) Source #
The definition of the data model in the annotated transform of the GraphQL schema.