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 |
Gets information about an application revision.
Synopsis
- data GetApplicationRevision = GetApplicationRevision' {}
- newGetApplicationRevision :: Text -> RevisionLocation -> GetApplicationRevision
- getApplicationRevision_applicationName :: Lens' GetApplicationRevision Text
- getApplicationRevision_revision :: Lens' GetApplicationRevision RevisionLocation
- data GetApplicationRevisionResponse = GetApplicationRevisionResponse' {}
- newGetApplicationRevisionResponse :: Int -> GetApplicationRevisionResponse
- getApplicationRevisionResponse_applicationName :: Lens' GetApplicationRevisionResponse (Maybe Text)
- getApplicationRevisionResponse_revisionInfo :: Lens' GetApplicationRevisionResponse (Maybe GenericRevisionInfo)
- getApplicationRevisionResponse_revision :: Lens' GetApplicationRevisionResponse (Maybe RevisionLocation)
- getApplicationRevisionResponse_httpStatus :: Lens' GetApplicationRevisionResponse Int
Creating a Request
data GetApplicationRevision Source #
Represents the input of a GetApplicationRevision
operation.
See: newGetApplicationRevision
smart constructor.
GetApplicationRevision' | |
|
Instances
newGetApplicationRevision Source #
Create a value of GetApplicationRevision
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:applicationName:GetApplicationRevision'
, getApplicationRevision_applicationName
- The name of the application that corresponds to the revision.
$sel:revision:GetApplicationRevision'
, getApplicationRevision_revision
- Information about the application revision to get, including type and
location.
Request Lenses
getApplicationRevision_applicationName :: Lens' GetApplicationRevision Text Source #
The name of the application that corresponds to the revision.
getApplicationRevision_revision :: Lens' GetApplicationRevision RevisionLocation Source #
Information about the application revision to get, including type and location.
Destructuring the Response
data GetApplicationRevisionResponse Source #
Represents the output of a GetApplicationRevision
operation.
See: newGetApplicationRevisionResponse
smart constructor.
GetApplicationRevisionResponse' | |
|
Instances
newGetApplicationRevisionResponse Source #
Create a value of GetApplicationRevisionResponse
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:applicationName:GetApplicationRevision'
, getApplicationRevisionResponse_applicationName
- The name of the application that corresponds to the revision.
$sel:revisionInfo:GetApplicationRevisionResponse'
, getApplicationRevisionResponse_revisionInfo
- General information about the revision.
$sel:revision:GetApplicationRevision'
, getApplicationRevisionResponse_revision
- Additional information about the revision, including type and location.
$sel:httpStatus:GetApplicationRevisionResponse'
, getApplicationRevisionResponse_httpStatus
- The response's http status code.
Response Lenses
getApplicationRevisionResponse_applicationName :: Lens' GetApplicationRevisionResponse (Maybe Text) Source #
The name of the application that corresponds to the revision.
getApplicationRevisionResponse_revisionInfo :: Lens' GetApplicationRevisionResponse (Maybe GenericRevisionInfo) Source #
General information about the revision.
getApplicationRevisionResponse_revision :: Lens' GetApplicationRevisionResponse (Maybe RevisionLocation) Source #
Additional information about the revision, including type and location.
getApplicationRevisionResponse_httpStatus :: Lens' GetApplicationRevisionResponse Int Source #
The response's http status code.