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 one or more application revisions. The maximum number of application revisions that can be returned is 25.
Synopsis
- data BatchGetApplicationRevisions = BatchGetApplicationRevisions' {}
- newBatchGetApplicationRevisions :: Text -> BatchGetApplicationRevisions
- batchGetApplicationRevisions_applicationName :: Lens' BatchGetApplicationRevisions Text
- batchGetApplicationRevisions_revisions :: Lens' BatchGetApplicationRevisions [RevisionLocation]
- data BatchGetApplicationRevisionsResponse = BatchGetApplicationRevisionsResponse' {
- applicationName :: Maybe Text
- revisions :: Maybe [RevisionInfo]
- errorMessage :: Maybe Text
- httpStatus :: Int
- newBatchGetApplicationRevisionsResponse :: Int -> BatchGetApplicationRevisionsResponse
- batchGetApplicationRevisionsResponse_applicationName :: Lens' BatchGetApplicationRevisionsResponse (Maybe Text)
- batchGetApplicationRevisionsResponse_revisions :: Lens' BatchGetApplicationRevisionsResponse (Maybe [RevisionInfo])
- batchGetApplicationRevisionsResponse_errorMessage :: Lens' BatchGetApplicationRevisionsResponse (Maybe Text)
- batchGetApplicationRevisionsResponse_httpStatus :: Lens' BatchGetApplicationRevisionsResponse Int
Creating a Request
data BatchGetApplicationRevisions Source #
Represents the input of a BatchGetApplicationRevisions
operation.
See: newBatchGetApplicationRevisions
smart constructor.
BatchGetApplicationRevisions' | |
|
Instances
newBatchGetApplicationRevisions Source #
Create a value of BatchGetApplicationRevisions
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:BatchGetApplicationRevisions'
, batchGetApplicationRevisions_applicationName
- The name of an AWS CodeDeploy application about which to get revision
information.
$sel:revisions:BatchGetApplicationRevisions'
, batchGetApplicationRevisions_revisions
- An array of RevisionLocation
objects that specify information to get
about the application revisions, including type and location. The
maximum number of RevisionLocation
objects you can specify is 25.
Request Lenses
batchGetApplicationRevisions_applicationName :: Lens' BatchGetApplicationRevisions Text Source #
The name of an AWS CodeDeploy application about which to get revision information.
batchGetApplicationRevisions_revisions :: Lens' BatchGetApplicationRevisions [RevisionLocation] Source #
An array of RevisionLocation
objects that specify information to get
about the application revisions, including type and location. The
maximum number of RevisionLocation
objects you can specify is 25.
Destructuring the Response
data BatchGetApplicationRevisionsResponse Source #
Represents the output of a BatchGetApplicationRevisions
operation.
See: newBatchGetApplicationRevisionsResponse
smart constructor.
BatchGetApplicationRevisionsResponse' | |
|
Instances
newBatchGetApplicationRevisionsResponse Source #
Create a value of BatchGetApplicationRevisionsResponse
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:BatchGetApplicationRevisions'
, batchGetApplicationRevisionsResponse_applicationName
- The name of the application that corresponds to the revisions.
$sel:revisions:BatchGetApplicationRevisions'
, batchGetApplicationRevisionsResponse_revisions
- Additional information about the revisions, including the type and
location.
$sel:errorMessage:BatchGetApplicationRevisionsResponse'
, batchGetApplicationRevisionsResponse_errorMessage
- Information about errors that might have occurred during the API call.
$sel:httpStatus:BatchGetApplicationRevisionsResponse'
, batchGetApplicationRevisionsResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetApplicationRevisionsResponse_applicationName :: Lens' BatchGetApplicationRevisionsResponse (Maybe Text) Source #
The name of the application that corresponds to the revisions.
batchGetApplicationRevisionsResponse_revisions :: Lens' BatchGetApplicationRevisionsResponse (Maybe [RevisionInfo]) Source #
Additional information about the revisions, including the type and location.
batchGetApplicationRevisionsResponse_errorMessage :: Lens' BatchGetApplicationRevisionsResponse (Maybe Text) Source #
Information about errors that might have occurred during the API call.
batchGetApplicationRevisionsResponse_httpStatus :: Lens' BatchGetApplicationRevisionsResponse Int Source #
The response's http status code.