| 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.BatchGetOnPremisesInstances
Description
Gets information about one or more on-premises instances. The maximum number of on-premises instances that can be returned is 25.
Synopsis
- data BatchGetOnPremisesInstances = BatchGetOnPremisesInstances' {
- instanceNames :: [Text]
- newBatchGetOnPremisesInstances :: BatchGetOnPremisesInstances
- batchGetOnPremisesInstances_instanceNames :: Lens' BatchGetOnPremisesInstances [Text]
- data BatchGetOnPremisesInstancesResponse = BatchGetOnPremisesInstancesResponse' {
- instanceInfos :: Maybe [InstanceInfo]
- httpStatus :: Int
- newBatchGetOnPremisesInstancesResponse :: Int -> BatchGetOnPremisesInstancesResponse
- batchGetOnPremisesInstancesResponse_instanceInfos :: Lens' BatchGetOnPremisesInstancesResponse (Maybe [InstanceInfo])
- batchGetOnPremisesInstancesResponse_httpStatus :: Lens' BatchGetOnPremisesInstancesResponse Int
Creating a Request
data BatchGetOnPremisesInstances Source #
Represents the input of a BatchGetOnPremisesInstances operation.
See: newBatchGetOnPremisesInstances smart constructor.
Constructors
| BatchGetOnPremisesInstances' | |
Fields
| |
Instances
newBatchGetOnPremisesInstances :: BatchGetOnPremisesInstances Source #
Create a value of BatchGetOnPremisesInstances 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:instanceNames:BatchGetOnPremisesInstances', batchGetOnPremisesInstances_instanceNames - The names of the on-premises instances about which to get information.
The maximum number of instance names you can specify is 25.
Request Lenses
batchGetOnPremisesInstances_instanceNames :: Lens' BatchGetOnPremisesInstances [Text] Source #
The names of the on-premises instances about which to get information. The maximum number of instance names you can specify is 25.
Destructuring the Response
data BatchGetOnPremisesInstancesResponse Source #
Represents the output of a BatchGetOnPremisesInstances operation.
See: newBatchGetOnPremisesInstancesResponse smart constructor.
Constructors
| BatchGetOnPremisesInstancesResponse' | |
Fields
| |
Instances
newBatchGetOnPremisesInstancesResponse Source #
Arguments
| :: Int | |
| -> BatchGetOnPremisesInstancesResponse |
Create a value of BatchGetOnPremisesInstancesResponse 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:instanceInfos:BatchGetOnPremisesInstancesResponse', batchGetOnPremisesInstancesResponse_instanceInfos - Information about the on-premises instances.
$sel:httpStatus:BatchGetOnPremisesInstancesResponse', batchGetOnPremisesInstancesResponse_httpStatus - The response's http status code.
Response Lenses
batchGetOnPremisesInstancesResponse_instanceInfos :: Lens' BatchGetOnPremisesInstancesResponse (Maybe [InstanceInfo]) Source #
Information about the on-premises instances.
batchGetOnPremisesInstancesResponse_httpStatus :: Lens' BatchGetOnPremisesInstancesResponse Int Source #
The response's http status code.