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

Description

Returns an existing Amplify app by appID.

Synopsis

Creating a Request

data GetApp Source #

The request structure for the get app request.

See: newGetApp smart constructor.

Constructors

GetApp' 

Fields

  • appId :: Text

    The unique ID for an Amplify app.

Instances

Instances details
ToHeaders GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

Methods

toHeaders :: GetApp -> [Header] #

ToPath GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

Methods

toPath :: GetApp -> ByteString #

ToQuery GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

AWSRequest GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

Associated Types

type AWSResponse GetApp #

Generic GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

Associated Types

type Rep GetApp :: Type -> Type #

Methods

from :: GetApp -> Rep GetApp x #

to :: Rep GetApp x -> GetApp #

Read GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

Show GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

NFData GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

Methods

rnf :: GetApp -> () #

Eq GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

Methods

(==) :: GetApp -> GetApp -> Bool #

(/=) :: GetApp -> GetApp -> Bool #

Hashable GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

Methods

hashWithSalt :: Int -> GetApp -> Int #

hash :: GetApp -> Int #

type AWSResponse GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

type Rep GetApp Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

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

newGetApp Source #

Arguments

:: Text

GetApp

-> GetApp 

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

GetApp, getApp_appId - The unique ID for an Amplify app.

Request Lenses

getApp_appId :: Lens' GetApp Text Source #

The unique ID for an Amplify app.

Destructuring the Response

data GetAppResponse Source #

See: newGetAppResponse smart constructor.

Constructors

GetAppResponse' 

Fields

Instances

Instances details
Generic GetAppResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

Associated Types

type Rep GetAppResponse :: Type -> Type #

Show GetAppResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

NFData GetAppResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

Methods

rnf :: GetAppResponse -> () #

Eq GetAppResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

type Rep GetAppResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetApp

type Rep GetAppResponse = D1 ('MetaData "GetAppResponse" "Amazonka.Amplify.GetApp" "amazonka-amplify-2.0-FzmP32buJCeA4C8B1HzWt" 'False) (C1 ('MetaCons "GetAppResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "app") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 App)))

newGetAppResponse Source #

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

$sel:app:GetAppResponse', getAppResponse_app - Undocumented member.

Response Lenses

getAppResponse_httpStatus :: Lens' GetAppResponse Int Source #

The response's http status code.