Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves information about an application.
Synopsis
- data GetApp = GetApp' {}
- newGetApp :: Text -> GetApp
- getApp_applicationId :: Lens' GetApp Text
- data GetAppResponse = GetAppResponse' {}
- newGetAppResponse :: Int -> ApplicationResponse -> GetAppResponse
- getAppResponse_httpStatus :: Lens' GetAppResponse Int
- getAppResponse_applicationResponse :: Lens' GetAppResponse ApplicationResponse
Creating a Request
See: newGetApp
smart constructor.
GetApp' | |
|
Instances
Eq GetApp Source # | |
Read GetApp Source # | |
Show GetApp Source # | |
Generic GetApp Source # | |
NFData GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp | |
Hashable GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp | |
AWSRequest GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp type AWSResponse GetApp # request :: GetApp -> Request GetApp # response :: MonadResource m => Logger -> Service -> Proxy GetApp -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetApp))) # | |
ToHeaders GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp | |
ToPath GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp toPath :: GetApp -> ByteString # | |
ToQuery GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp toQuery :: GetApp -> QueryString # | |
type Rep GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp | |
type AWSResponse GetApp Source # | |
Defined in Amazonka.Pinpoint.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:
$sel:applicationId:GetApp'
, getApp_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getApp_applicationId :: Lens' GetApp Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Destructuring the Response
data GetAppResponse Source #
See: newGetAppResponse
smart constructor.
GetAppResponse' | |
|
Instances
:: Int | |
-> ApplicationResponse | |
-> GetAppResponse |
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:applicationResponse:GetAppResponse'
, getAppResponse_applicationResponse
- Undocumented member.
Response Lenses
getAppResponse_httpStatus :: Lens' GetAppResponse Int Source #
The response's http status code.
getAppResponse_applicationResponse :: Lens' GetAppResponse ApplicationResponse Source #
Undocumented member.