| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.GetApp
Description
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.
Constructors
| GetApp' | |
Fields
| |
Instances
| ToHeaders GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp | |
| ToPath GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp Methods toPath :: GetApp -> ByteString # | |
| ToQuery GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp Methods toQuery :: GetApp -> QueryString # | |
| AWSRequest GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp Associated Types type AWSResponse GetApp # Methods request :: (Service -> Service) -> GetApp -> Request GetApp # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetApp -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetApp))) # | |
| Generic GetApp Source # | |
| Read GetApp Source # | |
| Show GetApp Source # | |
| NFData GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp | |
| Eq GetApp Source # | |
| Hashable GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp | |
| type AWSResponse GetApp Source # | |
Defined in Amazonka.Pinpoint.GetApp | |
| type Rep 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:
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.
Constructors
| GetAppResponse' | |
Fields
| |
Instances
Arguments
| :: 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.