libZSservicesZSamazonka-amplifyZSamazonka-amplify
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.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
Eq DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Read DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Show DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Generic DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Associated Types

type Rep DeleteBranch :: Type -> Type #

NFData DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Methods

rnf :: DeleteBranch -> () #

Hashable DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

AWSRequest DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Associated Types

type AWSResponse DeleteBranch #

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

type Rep DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

type Rep DeleteBranch = D1 ('MetaData "DeleteBranch" "Amazonka.Amplify.DeleteBranch" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "DeleteBranch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "branchName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteBranch Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

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:

$sel:appId:DeleteBranch', deleteBranch_appId - The unique ID for an Amplify app.

$sel:branchName: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.

Instances

Instances details
Eq DeleteBranchResponse Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Show DeleteBranchResponse Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Generic DeleteBranchResponse Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Associated Types

type Rep DeleteBranchResponse :: Type -> Type #

NFData DeleteBranchResponse Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

Methods

rnf :: DeleteBranchResponse -> () #

type Rep DeleteBranchResponse Source # 
Instance details

Defined in Amazonka.Amplify.DeleteBranch

type Rep DeleteBranchResponse = D1 ('MetaData "DeleteBranchResponse" "Amazonka.Amplify.DeleteBranch" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "DeleteBranchResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 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.