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

Description

This operation clones an existing backend.

Synopsis

Creating a Request

data CloneBackend Source #

The request body for CloneBackend.

See: newCloneBackend smart constructor.

Constructors

CloneBackend' 

Fields

Instances

Instances details
Eq CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

Read CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

Show CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

Generic CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

Associated Types

type Rep CloneBackend :: Type -> Type #

NFData CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

Methods

rnf :: CloneBackend -> () #

Hashable CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

ToJSON CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

AWSRequest CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

Associated Types

type AWSResponse CloneBackend #

ToHeaders CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

ToPath CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

ToQuery CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

type Rep CloneBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

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

Defined in Amazonka.AmplifyBackend.CloneBackend

newCloneBackend Source #

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

$sel:backendEnvironmentName:CloneBackend', cloneBackend_backendEnvironmentName - The name of the backend environment.

$sel:targetEnvironmentName:CloneBackend', cloneBackend_targetEnvironmentName - The name of the destination backend environment to be created.

Request Lenses

cloneBackend_backendEnvironmentName :: Lens' CloneBackend Text Source #

The name of the backend environment.

cloneBackend_targetEnvironmentName :: Lens' CloneBackend Text Source #

The name of the destination backend environment to be created.

Destructuring the Response

data CloneBackendResponse Source #

See: newCloneBackendResponse smart constructor.

Constructors

CloneBackendResponse' 

Fields

Instances

Instances details
Eq CloneBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

Read CloneBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

Show CloneBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

Generic CloneBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

Associated Types

type Rep CloneBackendResponse :: Type -> Type #

NFData CloneBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

Methods

rnf :: CloneBackendResponse -> () #

type Rep CloneBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CloneBackend

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

newCloneBackendResponse Source #

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

$sel:jobId:CloneBackendResponse', cloneBackendResponse_jobId - The ID for the job.

$sel:operation:CloneBackendResponse', cloneBackendResponse_operation - The name of the operation.

$sel:error:CloneBackendResponse', cloneBackendResponse_error - If the request fails, this error is returned.

$sel:appId:CloneBackend', cloneBackendResponse_appId - The app ID.

$sel:backendEnvironmentName:CloneBackend', cloneBackendResponse_backendEnvironmentName - The name of the backend environment.

$sel:httpStatus:CloneBackendResponse', cloneBackendResponse_httpStatus - The response's http status code.

Response Lenses

cloneBackendResponse_error :: Lens' CloneBackendResponse (Maybe Text) Source #

If the request fails, this error is returned.