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

Description

Gets a backend auth details.

Synopsis

Creating a Request

data GetBackendAuth Source #

The request body for GetBackendAuth.

See: newGetBackendAuth smart constructor.

Constructors

GetBackendAuth' 

Fields

Instances

Instances details
Eq GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

Read GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

Show GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

Generic GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

Associated Types

type Rep GetBackendAuth :: Type -> Type #

NFData GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

Methods

rnf :: GetBackendAuth -> () #

Hashable GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

ToJSON GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

AWSRequest GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

Associated Types

type AWSResponse GetBackendAuth #

ToHeaders GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

ToPath GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

ToQuery GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

type Rep GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

type Rep GetBackendAuth = D1 ('MetaData "GetBackendAuth" "Amazonka.AmplifyBackend.GetBackendAuth" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "GetBackendAuth'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

newGetBackendAuth Source #

Create a value of GetBackendAuth 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:GetBackendAuth', getBackendAuth_appId - The app ID.

$sel:backendEnvironmentName:GetBackendAuth', getBackendAuth_backendEnvironmentName - The name of the backend environment.

$sel:resourceName:GetBackendAuth', getBackendAuth_resourceName - The name of this resource.

Request Lenses

Destructuring the Response

data GetBackendAuthResponse Source #

See: newGetBackendAuthResponse smart constructor.

Constructors

GetBackendAuthResponse' 

Fields

Instances

Instances details
Eq GetBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

Read GetBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

Show GetBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

Generic GetBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

Associated Types

type Rep GetBackendAuthResponse :: Type -> Type #

NFData GetBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

Methods

rnf :: GetBackendAuthResponse -> () #

type Rep GetBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAuth

type Rep GetBackendAuthResponse = D1 ('MetaData "GetBackendAuthResponse" "Amazonka.AmplifyBackend.GetBackendAuth" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "GetBackendAuthResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceName") '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 "resourceConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CreateBackendAuthResourceConfig)) :*: (S1 ('MetaSel ('Just "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetBackendAuthResponse Source #

Create a value of GetBackendAuthResponse 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:resourceName:GetBackendAuth', getBackendAuthResponse_resourceName - The name of this resource.

$sel:error:GetBackendAuthResponse', getBackendAuthResponse_error - If the request fails, this error is returned.

$sel:appId:GetBackendAuth', getBackendAuthResponse_appId - The app ID.

$sel:resourceConfig:GetBackendAuthResponse', getBackendAuthResponse_resourceConfig - The resource configuration for authorization requests to the backend of your Amplify project.

$sel:backendEnvironmentName:GetBackendAuth', getBackendAuthResponse_backendEnvironmentName - The name of the backend environment.

$sel:httpStatus:GetBackendAuthResponse', getBackendAuthResponse_httpStatus - The response's http status code.

Response Lenses

getBackendAuthResponse_error :: Lens' GetBackendAuthResponse (Maybe Text) Source #

If the request fails, this error is returned.

getBackendAuthResponse_resourceConfig :: Lens' GetBackendAuthResponse (Maybe CreateBackendAuthResourceConfig) Source #

The resource configuration for authorization requests to the backend of your Amplify project.