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 |
Retrieves information about a fleet.
Synopsis
- data GetFleet = GetFleet' {}
- newGetFleet :: Text -> GetFleet
- getFleet_fleetId :: Lens' GetFleet Text
- data GetFleetResponse = GetFleetResponse' {
- description :: Maybe Text
- httpStatus :: Int
- id :: Text
- arn :: Text
- signalCatalogArn :: Text
- creationTime :: POSIX
- lastModificationTime :: POSIX
- newGetFleetResponse :: Int -> Text -> Text -> Text -> UTCTime -> UTCTime -> GetFleetResponse
- getFleetResponse_description :: Lens' GetFleetResponse (Maybe Text)
- getFleetResponse_httpStatus :: Lens' GetFleetResponse Int
- getFleetResponse_id :: Lens' GetFleetResponse Text
- getFleetResponse_arn :: Lens' GetFleetResponse Text
- getFleetResponse_signalCatalogArn :: Lens' GetFleetResponse Text
- getFleetResponse_creationTime :: Lens' GetFleetResponse UTCTime
- getFleetResponse_lastModificationTime :: Lens' GetFleetResponse UTCTime
Creating a Request
See: newGetFleet
smart constructor.
Instances
Create a value of GetFleet
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:fleetId:GetFleet'
, getFleet_fleetId
- The ID of the fleet to retrieve information about.
Request Lenses
Destructuring the Response
data GetFleetResponse Source #
See: newGetFleetResponse
smart constructor.
GetFleetResponse' | |
|
Instances
Create a value of GetFleetResponse
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:
GetFleetResponse
, getFleetResponse_description
- A brief description of the fleet.
$sel:httpStatus:GetFleetResponse'
, getFleetResponse_httpStatus
- The response's http status code.
GetFleetResponse
, getFleetResponse_id
- The ID of the fleet.
GetFleetResponse
, getFleetResponse_arn
- The Amazon Resource Name (ARN) of the fleet.
GetFleetResponse
, getFleetResponse_signalCatalogArn
- The ARN of a signal catalog associated with the fleet.
GetFleetResponse
, getFleetResponse_creationTime
- The time the fleet was created in seconds since epoch (January 1, 1970
at midnight UTC time).
GetFleetResponse
, getFleetResponse_lastModificationTime
- The time the fleet was last updated, in seconds since epoch (January 1,
1970 at midnight UTC time).
Response Lenses
getFleetResponse_description :: Lens' GetFleetResponse (Maybe Text) Source #
A brief description of the fleet.
getFleetResponse_httpStatus :: Lens' GetFleetResponse Int Source #
The response's http status code.
getFleetResponse_id :: Lens' GetFleetResponse Text Source #
The ID of the fleet.
getFleetResponse_arn :: Lens' GetFleetResponse Text Source #
The Amazon Resource Name (ARN) of the fleet.
getFleetResponse_signalCatalogArn :: Lens' GetFleetResponse Text Source #
The ARN of a signal catalog associated with the fleet.
getFleetResponse_creationTime :: Lens' GetFleetResponse UTCTime Source #
The time the fleet was created in seconds since epoch (January 1, 1970 at midnight UTC time).
getFleetResponse_lastModificationTime :: Lens' GetFleetResponse UTCTime Source #
The time the fleet was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).