| 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.BatchGetDeploymentGroups
Description
Gets information about one or more deployment groups.
Synopsis
- data BatchGetDeploymentGroups = BatchGetDeploymentGroups' {}
- newBatchGetDeploymentGroups :: Text -> BatchGetDeploymentGroups
- batchGetDeploymentGroups_applicationName :: Lens' BatchGetDeploymentGroups Text
- batchGetDeploymentGroups_deploymentGroupNames :: Lens' BatchGetDeploymentGroups [Text]
- data BatchGetDeploymentGroupsResponse = BatchGetDeploymentGroupsResponse' {}
- newBatchGetDeploymentGroupsResponse :: Int -> BatchGetDeploymentGroupsResponse
- batchGetDeploymentGroupsResponse_deploymentGroupsInfo :: Lens' BatchGetDeploymentGroupsResponse (Maybe [DeploymentGroupInfo])
- batchGetDeploymentGroupsResponse_errorMessage :: Lens' BatchGetDeploymentGroupsResponse (Maybe Text)
- batchGetDeploymentGroupsResponse_httpStatus :: Lens' BatchGetDeploymentGroupsResponse Int
Creating a Request
data BatchGetDeploymentGroups Source #
Represents the input of a BatchGetDeploymentGroups operation.
See: newBatchGetDeploymentGroups smart constructor.
Constructors
| BatchGetDeploymentGroups' | |
Fields
| |
Instances
newBatchGetDeploymentGroups Source #
Arguments
| :: Text | |
| -> BatchGetDeploymentGroups |
Create a value of BatchGetDeploymentGroups 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:
BatchGetDeploymentGroups, batchGetDeploymentGroups_applicationName - The name of an CodeDeploy application associated with the applicable IAM
or Amazon Web Services account.
$sel:deploymentGroupNames:BatchGetDeploymentGroups', batchGetDeploymentGroups_deploymentGroupNames - The names of the deployment groups.
Request Lenses
batchGetDeploymentGroups_applicationName :: Lens' BatchGetDeploymentGroups Text Source #
The name of an CodeDeploy application associated with the applicable IAM or Amazon Web Services account.
batchGetDeploymentGroups_deploymentGroupNames :: Lens' BatchGetDeploymentGroups [Text] Source #
The names of the deployment groups.
Destructuring the Response
data BatchGetDeploymentGroupsResponse Source #
Represents the output of a BatchGetDeploymentGroups operation.
See: newBatchGetDeploymentGroupsResponse smart constructor.
Constructors
| BatchGetDeploymentGroupsResponse' | |
Fields
| |
Instances
newBatchGetDeploymentGroupsResponse Source #
Create a value of BatchGetDeploymentGroupsResponse 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:deploymentGroupsInfo:BatchGetDeploymentGroupsResponse', batchGetDeploymentGroupsResponse_deploymentGroupsInfo - Information about the deployment groups.
$sel:errorMessage:BatchGetDeploymentGroupsResponse', batchGetDeploymentGroupsResponse_errorMessage - Information about errors that might have occurred during the API call.
$sel:httpStatus:BatchGetDeploymentGroupsResponse', batchGetDeploymentGroupsResponse_httpStatus - The response's http status code.
Response Lenses
batchGetDeploymentGroupsResponse_deploymentGroupsInfo :: Lens' BatchGetDeploymentGroupsResponse (Maybe [DeploymentGroupInfo]) Source #
Information about the deployment groups.
batchGetDeploymentGroupsResponse_errorMessage :: Lens' BatchGetDeploymentGroupsResponse (Maybe Text) Source #
Information about errors that might have occurred during the API call.
batchGetDeploymentGroupsResponse_httpStatus :: Lens' BatchGetDeploymentGroupsResponse Int Source #
The response's http status code.