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 |
Retrieve information about the specified application.
Synopsis
- data GetApp = GetApp' {}
- newGetApp :: GetApp
- getApp_appId :: Lens' GetApp (Maybe Text)
- data GetAppResponse = GetAppResponse' {
- appSummary :: Maybe AppSummary
- serverGroups :: Maybe [ServerGroup]
- tags :: Maybe [Tag]
- httpStatus :: Int
- newGetAppResponse :: Int -> GetAppResponse
- getAppResponse_appSummary :: Lens' GetAppResponse (Maybe AppSummary)
- getAppResponse_serverGroups :: Lens' GetAppResponse (Maybe [ServerGroup])
- getAppResponse_tags :: Lens' GetAppResponse (Maybe [Tag])
- getAppResponse_httpStatus :: Lens' GetAppResponse Int
Creating a Request
See: newGetApp
smart constructor.
Instances
Eq GetApp Source # | |
Read GetApp Source # | |
Show GetApp Source # | |
Generic GetApp Source # | |
NFData GetApp Source # | |
Defined in Amazonka.SMS.GetApp | |
Hashable GetApp Source # | |
Defined in Amazonka.SMS.GetApp | |
ToJSON GetApp Source # | |
Defined in Amazonka.SMS.GetApp | |
AWSRequest GetApp Source # | |
Defined in Amazonka.SMS.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.SMS.GetApp | |
ToPath GetApp Source # | |
Defined in Amazonka.SMS.GetApp toPath :: GetApp -> ByteString # | |
ToQuery GetApp Source # | |
Defined in Amazonka.SMS.GetApp toQuery :: GetApp -> QueryString # | |
type Rep GetApp Source # | |
Defined in Amazonka.SMS.GetApp | |
type AWSResponse GetApp Source # | |
Defined in Amazonka.SMS.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:appId:GetApp'
, getApp_appId
- The ID of the application.
Request Lenses
Destructuring the Response
data GetAppResponse Source #
See: newGetAppResponse
smart constructor.
GetAppResponse' | |
|
Instances
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.