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.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
Eq CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Read CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Show CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Generic CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Associated Types

type Rep CreateBackendAuth :: Type -> Type #

NFData CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Methods

rnf :: CreateBackendAuth -> () #

Hashable CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

ToJSON CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

AWSRequest CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Associated Types

type AWSResponse 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

type Rep CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

type Rep CreateBackendAuth = D1 ('MetaData "CreateBackendAuth" "Amazonka.AmplifyBackend.CreateBackendAuth" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" '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))))
type AWSResponse CreateBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

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:

$sel:appId:CreateBackendAuth', createBackendAuth_appId - The app ID.

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

$sel:backendEnvironmentName: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
Eq CreateBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Read CreateBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Show CreateBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Generic CreateBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAuth

Associated Types

type Rep CreateBackendAuthResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "CreateBackendAuthResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") '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 "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "backendEnvironmentName") '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:

$sel:status:CreateBackendAuthResponse', createBackendAuthResponse_status - The current status of the request.

$sel:jobId:CreateBackendAuthResponse', createBackendAuthResponse_jobId - The ID for the job.

$sel:operation:CreateBackendAuthResponse', createBackendAuthResponse_operation - The name of the operation.

$sel:error:CreateBackendAuthResponse', createBackendAuthResponse_error - If the request fails, this error is returned.

$sel:appId:CreateBackendAuth', createBackendAuthResponse_appId - The app ID.

$sel:backendEnvironmentName:CreateBackendAuth', createBackendAuthResponse_backendEnvironmentName - The name of the backend environment.

$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.