amazonka-amplify-2.0: Amazon Amplify 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.Amplify.DeleteBranch

Description

Deletes a branch for an Amplify app.

Synopsis

Creating a Request

data DeleteBranch Source #

The request structure for the delete branch request.

See: newDeleteBranch smart constructor.

Constructors

DeleteBranch' 

Fields

Instances

Instances details
ToHeaders DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

ToPath DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

ToQuery DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

AWSRequest DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Associated Types

type AWSResponse DeleteBranch #

Generic DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Associated Types

type Rep DeleteBranch :: Type -> Type #

Read DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Show DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

NFData DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Methods

rnf :: DeleteBranch -> () #

Eq DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Hashable DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

type AWSResponse DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

type Rep DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

type Rep DeleteBranch = D1 ('MetaData "DeleteBranch" "Amazonka.Amplify.DeleteBranch" "amazonka-amplify-2.0-FzmP32buJCeA4C8B1HzWt" 'False) (C1 ('MetaCons "DeleteBranch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "branchName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteBranch Source #

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

DeleteBranch, deleteBranch_appId - The unique ID for an Amplify app.

DeleteBranch, deleteBranch_branchName - The name for the branch.

Request Lenses

deleteBranch_appId :: Lens' DeleteBranch Text Source #

The unique ID for an Amplify app.

Destructuring the Response

data DeleteBranchResponse Source #

The result structure for the delete branch request.

See: newDeleteBranchResponse smart constructor.

Constructors

DeleteBranchResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • branch :: Branch

    The branch for an Amplify app, which maps to a third-party repository branch.

newDeleteBranchResponse Source #

Create a value of DeleteBranchResponse 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:httpStatus:DeleteBranchResponse', deleteBranchResponse_httpStatus - The response's http status code.

$sel:branch:DeleteBranchResponse', deleteBranchResponse_branch - The branch for an Amplify app, which maps to a third-party repository branch.

Response Lenses

deleteBranchResponse_branch :: Lens' DeleteBranchResponse Branch Source #

The branch for an Amplify app, which maps to a third-party repository branch.