Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data BackendAPIResourceConfig = BackendAPIResourceConfig' {}
- newBackendAPIResourceConfig :: BackendAPIResourceConfig
- backendAPIResourceConfig_apiName :: Lens' BackendAPIResourceConfig (Maybe Text)
- backendAPIResourceConfig_service :: Lens' BackendAPIResourceConfig (Maybe Text)
- backendAPIResourceConfig_transformSchema :: Lens' BackendAPIResourceConfig (Maybe Text)
- backendAPIResourceConfig_additionalAuthTypes :: Lens' BackendAPIResourceConfig (Maybe [BackendAPIAuthType])
- backendAPIResourceConfig_conflictResolution :: Lens' BackendAPIResourceConfig (Maybe BackendAPIConflictResolution)
- backendAPIResourceConfig_defaultAuthType :: Lens' BackendAPIResourceConfig (Maybe BackendAPIAuthType)
Documentation
data BackendAPIResourceConfig Source #
The resource config for the data model, configured as a part of the Amplify project.
See: newBackendAPIResourceConfig
smart constructor.
BackendAPIResourceConfig' | |
|
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:apiName:BackendAPIResourceConfig'
, backendAPIResourceConfig_apiName
- The API name used to interact with the data model, configured as a part
of 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.
$sel:additionalAuthTypes:BackendAPIResourceConfig'
, backendAPIResourceConfig_additionalAuthTypes
- Additional authentication methods used to interact with your data
models.
$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.
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_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.
backendAPIResourceConfig_additionalAuthTypes :: Lens' BackendAPIResourceConfig (Maybe [BackendAPIAuthType]) Source #
Additional authentication methods used to interact with your data models.
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.