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

Description

Returns a branch for an Amplify app.

Synopsis

Creating a Request

data GetBranch Source #

The request structure for the get branch request.

See: newGetBranch smart constructor.

Constructors

GetBranch' 

Fields

Instances

Instances details
Eq GetBranch Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

Read GetBranch Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

Show GetBranch Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

Generic GetBranch Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

Associated Types

type Rep GetBranch :: Type -> Type #

NFData GetBranch Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

Methods

rnf :: GetBranch -> () #

Hashable GetBranch Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

AWSRequest GetBranch Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

Associated Types

type AWSResponse GetBranch #

ToHeaders GetBranch Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

Methods

toHeaders :: GetBranch -> [Header] #

ToPath GetBranch Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

ToQuery GetBranch Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

type Rep GetBranch Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

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

Defined in Amazonka.Amplify.GetBranch

newGetBranch Source #

Create a value of GetBranch 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:GetBranch', getBranch_appId - The unique ID for an Amplify app.

$sel:branchName:GetBranch', getBranch_branchName - The name for the branch.

Request Lenses

getBranch_appId :: Lens' GetBranch Text Source #

The unique ID for an Amplify app.

getBranch_branchName :: Lens' GetBranch Text Source #

The name for the branch.

Destructuring the Response

data GetBranchResponse Source #

See: newGetBranchResponse smart constructor.

Constructors

GetBranchResponse' 

Fields

Instances

Instances details
Eq GetBranchResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

Show GetBranchResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

Generic GetBranchResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

Associated Types

type Rep GetBranchResponse :: Type -> Type #

NFData GetBranchResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

Methods

rnf :: GetBranchResponse -> () #

type Rep GetBranchResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetBranch

type Rep GetBranchResponse = D1 ('MetaData "GetBranchResponse" "Amazonka.Amplify.GetBranch" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "GetBranchResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Branch)))

newGetBranchResponse Source #

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

$sel:branch:GetBranchResponse', getBranchResponse_branch - Undocumented member.

Response Lenses

getBranchResponse_httpStatus :: Lens' GetBranchResponse Int Source #

The response's http status code.