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 |
Returns an existing Amplify app by appID.
Synopsis
- data GetApp = GetApp' {}
- newGetApp :: Text -> GetApp
- getApp_appId :: Lens' GetApp Text
- data GetAppResponse = GetAppResponse' {
- httpStatus :: Int
- app :: App
- newGetAppResponse :: Int -> App -> GetAppResponse
- getAppResponse_httpStatus :: Lens' GetAppResponse Int
- getAppResponse_app :: Lens' GetAppResponse App
Creating a Request
The request structure for the get app request.
See: newGetApp
smart constructor.
Instances
ToHeaders GetApp Source # | |
Defined in Amazonka.Amplify.GetApp | |
ToPath GetApp Source # | |
Defined in Amazonka.Amplify.GetApp toPath :: GetApp -> ByteString # | |
ToQuery GetApp Source # | |
Defined in Amazonka.Amplify.GetApp toQuery :: GetApp -> QueryString # | |
AWSRequest GetApp Source # | |
Defined in Amazonka.Amplify.GetApp type AWSResponse GetApp # 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.Amplify.GetApp | |
Eq GetApp Source # | |
Hashable GetApp Source # | |
Defined in Amazonka.Amplify.GetApp | |
type AWSResponse GetApp Source # | |
Defined in Amazonka.Amplify.GetApp | |
type Rep GetApp Source # | |
Defined in Amazonka.Amplify.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
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: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.
getAppResponse_app :: Lens' GetAppResponse App Source #
Undocumented member.