libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig

Description

 
Synopsis

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

Instances details
Eq BackendAPIResourceConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig

Read BackendAPIResourceConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig

Show BackendAPIResourceConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig

Generic BackendAPIResourceConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig

Associated Types

type Rep BackendAPIResourceConfig :: Type -> Type #

NFData BackendAPIResourceConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig

Hashable BackendAPIResourceConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig

ToJSON BackendAPIResourceConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig

FromJSON BackendAPIResourceConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig

type Rep BackendAPIResourceConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig

type Rep BackendAPIResourceConfig = D1 ('MetaData "BackendAPIResourceConfig" "Amazonka.AmplifyBackend.Types.BackendAPIResourceConfig" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "BackendAPIResourceConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "transformSchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "additionalAuthTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BackendAPIAuthType])) :*: (S1 ('MetaSel ('Just "conflictResolution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackendAPIConflictResolution)) :*: S1 ('MetaSel ('Just "defaultAuthType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackendAPIAuthType))))))

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.