Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets information about an application revision.
See: AWS API Reference for GetApplicationRevision.
- getApplicationRevision :: Text -> RevisionLocation -> GetApplicationRevision
- data GetApplicationRevision
- garApplicationName :: Lens' GetApplicationRevision Text
- garRevision :: Lens' GetApplicationRevision RevisionLocation
- getApplicationRevisionResponse :: Int -> GetApplicationRevisionResponse
- data GetApplicationRevisionResponse
- garrsApplicationName :: Lens' GetApplicationRevisionResponse (Maybe Text)
- garrsRevisionInfo :: Lens' GetApplicationRevisionResponse (Maybe GenericRevisionInfo)
- garrsRevision :: Lens' GetApplicationRevisionResponse (Maybe RevisionLocation)
- garrsResponseStatus :: Lens' GetApplicationRevisionResponse Int
Creating a Request
Creates a value of GetApplicationRevision
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetApplicationRevision Source
Represents the input of a get application revision operation.
See: getApplicationRevision
smart constructor.
Request Lenses
garApplicationName :: Lens' GetApplicationRevision Text Source
The name of the application that corresponds to the revision.
garRevision :: Lens' GetApplicationRevision RevisionLocation Source
Information about the application revision to get, including the revision's type and its location.
Destructuring the Response
getApplicationRevisionResponse Source
Creates a value of GetApplicationRevisionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetApplicationRevisionResponse Source
Represents the output of a get application revision operation.
See: getApplicationRevisionResponse
smart constructor.
Response Lenses
garrsApplicationName :: Lens' GetApplicationRevisionResponse (Maybe Text) Source
The name of the application that corresponds to the revision.
garrsRevisionInfo :: Lens' GetApplicationRevisionResponse (Maybe GenericRevisionInfo) Source
General information about the revision.
garrsRevision :: Lens' GetApplicationRevisionResponse (Maybe RevisionLocation) Source
Additional information about the revision, including the revision's type and its location.
garrsResponseStatus :: Lens' GetApplicationRevisionResponse Int Source
The response status code.