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

Description

Imports an existing backend authentication resource.

Synopsis

Creating a Request

data ImportBackendAuth Source #

The request body for ImportBackendAuth.

See: newImportBackendAuth smart constructor.

Constructors

ImportBackendAuth' 

Fields

Instances

Instances details
Eq ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

Read ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

Show ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

Generic ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

Associated Types

type Rep ImportBackendAuth :: Type -> Type #

NFData ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

Methods

rnf :: ImportBackendAuth -> () #

Hashable ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

ToJSON ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

AWSRequest ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

Associated Types

type AWSResponse ImportBackendAuth #

ToHeaders ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

ToPath ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

ToQuery ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

type Rep ImportBackendAuth Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

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

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

newImportBackendAuth Source #

Create a value of ImportBackendAuth 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:identityPoolId:ImportBackendAuth', importBackendAuth_identityPoolId - The ID of the Amazon Cognito identity pool.

$sel:appId:ImportBackendAuth', importBackendAuth_appId - The app ID.

$sel:backendEnvironmentName:ImportBackendAuth', importBackendAuth_backendEnvironmentName - The name of the backend environment.

$sel:userPoolId:ImportBackendAuth', importBackendAuth_userPoolId - The ID of the Amazon Cognito user pool.

$sel:nativeClientId:ImportBackendAuth', importBackendAuth_nativeClientId - The ID of the Amazon Cognito native client.

$sel:webClientId:ImportBackendAuth', importBackendAuth_webClientId - The ID of the Amazon Cognito web client.

Request Lenses

importBackendAuth_identityPoolId :: Lens' ImportBackendAuth (Maybe Text) Source #

The ID of the Amazon Cognito identity pool.

importBackendAuth_userPoolId :: Lens' ImportBackendAuth Text Source #

The ID of the Amazon Cognito user pool.

importBackendAuth_nativeClientId :: Lens' ImportBackendAuth Text Source #

The ID of the Amazon Cognito native client.

importBackendAuth_webClientId :: Lens' ImportBackendAuth Text Source #

The ID of the Amazon Cognito web client.

Destructuring the Response

data ImportBackendAuthResponse Source #

See: newImportBackendAuthResponse smart constructor.

Constructors

ImportBackendAuthResponse' 

Fields

Instances

Instances details
Eq ImportBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

Read ImportBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

Show ImportBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

Generic ImportBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

Associated Types

type Rep ImportBackendAuthResponse :: Type -> Type #

NFData ImportBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

type Rep ImportBackendAuthResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.ImportBackendAuth

type Rep ImportBackendAuthResponse = D1 ('MetaData "ImportBackendAuthResponse" "Amazonka.AmplifyBackend.ImportBackendAuth" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "ImportBackendAuthResponse'" '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)))))

newImportBackendAuthResponse Source #

Create a value of ImportBackendAuthResponse 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:ImportBackendAuthResponse', importBackendAuthResponse_status - The current status of the request.

$sel:jobId:ImportBackendAuthResponse', importBackendAuthResponse_jobId - The ID for the job.

$sel:operation:ImportBackendAuthResponse', importBackendAuthResponse_operation - The name of the operation.

$sel:error:ImportBackendAuthResponse', importBackendAuthResponse_error - If the request fails, this error is returned.

$sel:appId:ImportBackendAuth', importBackendAuthResponse_appId - The app ID.

$sel:backendEnvironmentName:ImportBackendAuth', importBackendAuthResponse_backendEnvironmentName - The name of the backend environment.

$sel:httpStatus:ImportBackendAuthResponse', importBackendAuthResponse_httpStatus - The response's http status code.

Response Lenses

importBackendAuthResponse_error :: Lens' ImportBackendAuthResponse (Maybe Text) Source #

If the request fails, this error is returned.