| 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.CodeDeploy.GetApplicationRevision
Description
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_revision :: Lens' GetApplicationRevisionResponse (Maybe RevisionLocation)
- getApplicationRevisionResponse_revisionInfo :: Lens' GetApplicationRevisionResponse (Maybe GenericRevisionInfo)
- getApplicationRevisionResponse_httpStatus :: Lens' GetApplicationRevisionResponse Int
Creating a Request
data GetApplicationRevision Source #
Represents the input of a GetApplicationRevision operation.
See: newGetApplicationRevision smart constructor.
Constructors
| GetApplicationRevision' | |
Fields
| |
Instances
newGetApplicationRevision Source #
Arguments
| :: Text | |
| -> RevisionLocation | |
| -> GetApplicationRevision |
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:
GetApplicationRevision, getApplicationRevision_applicationName - The name of the application that corresponds to the 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.
Constructors
| GetApplicationRevisionResponse' | |
Fields
| |
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:
GetApplicationRevision, getApplicationRevisionResponse_applicationName - The name of the application that corresponds to the revision.
GetApplicationRevision, getApplicationRevisionResponse_revision - Additional information about the revision, including type and location.
$sel:revisionInfo:GetApplicationRevisionResponse', getApplicationRevisionResponse_revisionInfo - General information about the revision.
$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_revision :: Lens' GetApplicationRevisionResponse (Maybe RevisionLocation) Source #
Additional information about the revision, including type and location.
getApplicationRevisionResponse_revisionInfo :: Lens' GetApplicationRevisionResponse (Maybe GenericRevisionInfo) Source #
General information about the revision.
getApplicationRevisionResponse_httpStatus :: Lens' GetApplicationRevisionResponse Int Source #
The response's http status code.