amazonka-amplifybackend-2.0: Amazon AmplifyBackend SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AmplifyBackend.CreateBackendAuth

Description

Creates a new backend authentication resource.

Synopsis

Creating a Request

data CreateBackendAuth Source #

The request body for CreateBackendAuth.

See: newCreateBackendAuth smart constructor.

Constructors

CreateBackendAuth' 

Fields

Instances

Instances details
ToJSON CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

ToHeaders CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

ToPath CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

ToQuery CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

AWSRequest CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Associated Types

type AWSResponse CreateBackendAuth #

Generic CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Associated Types

type Rep CreateBackendAuth :: Type -> Type #

Read CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Show CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

NFData CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Methods

rnf :: CreateBackendAuth -> () #

Eq CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Hashable CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

type AWSResponse CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

type Rep CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

type Rep CreateBackendAuth = D1 ('MetaData "CreateBackendAuth" "Amazonka.AmplifyBackend.CreateBackendAuth" "amazonka-amplifybackend-2.0-KAbme26dIsGHSomQ2pZcRc" 'False) (C1 ('MetaCons "CreateBackendAuth'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CreateBackendAuthResourceConfig))))

newCreateBackendAuth Source #

Create a value of CreateBackendAuth 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:

CreateBackendAuth, createBackendAuth_appId - The app ID.

$sel:resourceName:CreateBackendAuth', createBackendAuth_resourceName - The name of this resource.

CreateBackendAuth, createBackendAuth_backendEnvironmentName - The name of the backend environment.

$sel:resourceConfig:CreateBackendAuth', createBackendAuth_resourceConfig - The resource configuration for this request object.

Request Lenses

Destructuring the Response

data CreateBackendAuthResponse Source #

See: newCreateBackendAuthResponse smart constructor.

Constructors

CreateBackendAuthResponse' 

Fields

Instances

Instances details
Generic CreateBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Associated Types

type Rep CreateBackendAuthResponse :: Type -> Type #

Read CreateBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Show CreateBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

NFData CreateBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Eq CreateBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

type Rep CreateBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

type Rep CreateBackendAuthResponse = D1 ('MetaData "CreateBackendAuthResponse" "Amazonka.AmplifyBackend.CreateBackendAuth" "amazonka-amplifybackend-2.0-KAbme26dIsGHSomQ2pZcRc" 'False) (C1 ('MetaCons "CreateBackendAuthResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateBackendAuthResponse Source #

Create a value of CreateBackendAuthResponse 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:

CreateBackendAuth, createBackendAuthResponse_appId - The app ID.

CreateBackendAuth, createBackendAuthResponse_backendEnvironmentName - The name of the backend environment.

CreateBackendAuthResponse, createBackendAuthResponse_error - If the request fails, this error is returned.

CreateBackendAuthResponse, createBackendAuthResponse_jobId - The ID for the job.

CreateBackendAuthResponse, createBackendAuthResponse_operation - The name of the operation.

CreateBackendAuthResponse, createBackendAuthResponse_status - The current status of the request.

$sel:httpStatus:CreateBackendAuthResponse', createBackendAuthResponse_httpStatus - The response's http status code.

Response Lenses

createBackendAuthResponse_error :: Lens' CreateBackendAuthResponse (Maybe Text) Source #

If the request fails, this error is returned.