libZSservicesZSamazonka-smsZSamazonka-sms
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.SMS.GetApp

Description

Retrieve information about the specified application.

Synopsis

Creating a Request

data GetApp Source #

See: newGetApp smart constructor.

Constructors

GetApp' 

Fields

Instances

Instances details
Eq GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Methods

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

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

Read GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Show GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Generic GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Associated Types

type Rep GetApp :: Type -> Type #

Methods

from :: GetApp -> Rep GetApp x #

to :: Rep GetApp x -> GetApp #

NFData GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Methods

rnf :: GetApp -> () #

Hashable GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Methods

hashWithSalt :: Int -> GetApp -> Int #

hash :: GetApp -> Int #

ToJSON GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

AWSRequest GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Associated Types

type AWSResponse GetApp #

ToHeaders GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Methods

toHeaders :: GetApp -> [Header] #

ToPath GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Methods

toPath :: GetApp -> ByteString #

ToQuery GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

type Rep GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

type Rep GetApp = D1 ('MetaData "GetApp" "Amazonka.SMS.GetApp" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "GetApp'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetApp Source # 
Instance details

Defined in Amazonka.SMS.GetApp

newGetApp :: GetApp Source #

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:

$sel:appId:GetApp', getApp_appId - The ID of the application.

Request Lenses

getApp_appId :: Lens' GetApp (Maybe Text) Source #

The ID of the application.

Destructuring the Response

data GetAppResponse Source #

See: newGetAppResponse smart constructor.

Constructors

GetAppResponse' 

Fields

Instances

Instances details
Eq GetAppResponse Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Read GetAppResponse Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Show GetAppResponse Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Generic GetAppResponse Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Associated Types

type Rep GetAppResponse :: Type -> Type #

NFData GetAppResponse Source # 
Instance details

Defined in Amazonka.SMS.GetApp

Methods

rnf :: GetAppResponse -> () #

type Rep GetAppResponse Source # 
Instance details

Defined in Amazonka.SMS.GetApp

type Rep GetAppResponse = D1 ('MetaData "GetAppResponse" "Amazonka.SMS.GetApp" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "GetAppResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppSummary)) :*: S1 ('MetaSel ('Just "serverGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ServerGroup]))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:appSummary:GetAppResponse', getAppResponse_appSummary - Information about the application.

$sel:serverGroups:GetAppResponse', getAppResponse_serverGroups - The server groups that belong to the application.

$sel:tags:GetAppResponse', getAppResponse_tags - The tags associated with the application.

$sel:httpStatus:GetAppResponse', getAppResponse_httpStatus - The response's http status code.

Response Lenses

getAppResponse_appSummary :: Lens' GetAppResponse (Maybe AppSummary) Source #

Information about the application.

getAppResponse_serverGroups :: Lens' GetAppResponse (Maybe [ServerGroup]) Source #

The server groups that belong to the application.

getAppResponse_tags :: Lens' GetAppResponse (Maybe [Tag]) Source #

The tags associated with the application.

getAppResponse_httpStatus :: Lens' GetAppResponse Int Source #

The response's http status code.