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 |
Creates a fleet, a logical group of robots running the same robot application.
Synopsis
- data CreateFleet = CreateFleet' {}
- newCreateFleet :: Text -> CreateFleet
- createFleet_tags :: Lens' CreateFleet (Maybe (HashMap Text Text))
- createFleet_name :: Lens' CreateFleet Text
- data CreateFleetResponse = CreateFleetResponse' {}
- newCreateFleetResponse :: Int -> CreateFleetResponse
- createFleetResponse_arn :: Lens' CreateFleetResponse (Maybe Text)
- createFleetResponse_createdAt :: Lens' CreateFleetResponse (Maybe UTCTime)
- createFleetResponse_name :: Lens' CreateFleetResponse (Maybe Text)
- createFleetResponse_tags :: Lens' CreateFleetResponse (Maybe (HashMap Text Text))
- createFleetResponse_httpStatus :: Lens' CreateFleetResponse Int
Creating a Request
data CreateFleet Source #
See: newCreateFleet
smart constructor.
Instances
Create a value of CreateFleet
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:tags:CreateFleet'
, createFleet_tags
- A map that contains tag keys and tag values that are attached to the
fleet.
$sel:name:CreateFleet'
, createFleet_name
- The name of the fleet.
Request Lenses
createFleet_tags :: Lens' CreateFleet (Maybe (HashMap Text Text)) Source #
A map that contains tag keys and tag values that are attached to the fleet.
createFleet_name :: Lens' CreateFleet Text Source #
The name of the fleet.
Destructuring the Response
data CreateFleetResponse Source #
See: newCreateFleetResponse
smart constructor.
CreateFleetResponse' | |
|
Instances
newCreateFleetResponse Source #
Create a value of CreateFleetResponse
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:arn:CreateFleetResponse'
, createFleetResponse_arn
- The Amazon Resource Name (ARN) of the fleet.
$sel:createdAt:CreateFleetResponse'
, createFleetResponse_createdAt
- The time, in milliseconds since the epoch, when the fleet was created.
$sel:name:CreateFleet'
, createFleetResponse_name
- The name of the fleet.
$sel:tags:CreateFleet'
, createFleetResponse_tags
- The list of all tags added to the fleet.
$sel:httpStatus:CreateFleetResponse'
, createFleetResponse_httpStatus
- The response's http status code.
Response Lenses
createFleetResponse_arn :: Lens' CreateFleetResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the fleet.
createFleetResponse_createdAt :: Lens' CreateFleetResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the fleet was created.
createFleetResponse_name :: Lens' CreateFleetResponse (Maybe Text) Source #
The name of the fleet.
createFleetResponse_tags :: Lens' CreateFleetResponse (Maybe (HashMap Text Text)) Source #
The list of all tags added to the fleet.
createFleetResponse_httpStatus :: Lens' CreateFleetResponse Int Source #
The response's http status code.