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 vehicle.
Synopsis
- data GetVehicle = GetVehicle' {
- vehicleName :: Text
- newGetVehicle :: Text -> GetVehicle
- getVehicle_vehicleName :: Lens' GetVehicle Text
- data GetVehicleResponse = GetVehicleResponse' {}
- newGetVehicleResponse :: Int -> GetVehicleResponse
- getVehicleResponse_arn :: Lens' GetVehicleResponse (Maybe Text)
- getVehicleResponse_attributes :: Lens' GetVehicleResponse (Maybe (HashMap Text Text))
- getVehicleResponse_creationTime :: Lens' GetVehicleResponse (Maybe UTCTime)
- getVehicleResponse_decoderManifestArn :: Lens' GetVehicleResponse (Maybe Text)
- getVehicleResponse_lastModificationTime :: Lens' GetVehicleResponse (Maybe UTCTime)
- getVehicleResponse_modelManifestArn :: Lens' GetVehicleResponse (Maybe Text)
- getVehicleResponse_vehicleName :: Lens' GetVehicleResponse (Maybe Text)
- getVehicleResponse_httpStatus :: Lens' GetVehicleResponse Int
Creating a Request
data GetVehicle Source #
See: newGetVehicle
smart constructor.
GetVehicle' | |
|
Instances
:: Text | |
-> GetVehicle |
Create a value of GetVehicle
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:
GetVehicle
, getVehicle_vehicleName
- The ID of the vehicle to retrieve information about.
Request Lenses
getVehicle_vehicleName :: Lens' GetVehicle Text Source #
The ID of the vehicle to retrieve information about.
Destructuring the Response
data GetVehicleResponse Source #
See: newGetVehicleResponse
smart constructor.
GetVehicleResponse' | |
|
Instances
newGetVehicleResponse Source #
Create a value of GetVehicleResponse
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:
GetVehicleResponse
, getVehicleResponse_arn
- The Amazon Resource Name (ARN) of the vehicle to retrieve information
about.
GetVehicleResponse
, getVehicleResponse_attributes
- Static information about a vehicle in a key-value pair. For example:
"engineType"
: "1.3 L R2"
GetVehicleResponse
, getVehicleResponse_creationTime
- The time the vehicle was created in seconds since epoch (January 1, 1970
at midnight UTC time).
GetVehicleResponse
, getVehicleResponse_decoderManifestArn
- The ARN of a decoder manifest associated with the vehicle.
GetVehicleResponse
, getVehicleResponse_lastModificationTime
- The time the vehicle was last updated in seconds since epoch (January 1,
1970 at midnight UTC time).
GetVehicleResponse
, getVehicleResponse_modelManifestArn
- The ARN of a vehicle model (model manifest) associated with the vehicle.
GetVehicle
, getVehicleResponse_vehicleName
- The ID of the vehicle.
$sel:httpStatus:GetVehicleResponse'
, getVehicleResponse_httpStatus
- The response's http status code.
Response Lenses
getVehicleResponse_arn :: Lens' GetVehicleResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the vehicle to retrieve information about.
getVehicleResponse_attributes :: Lens' GetVehicleResponse (Maybe (HashMap Text Text)) Source #
Static information about a vehicle in a key-value pair. For example:
"engineType"
: "1.3 L R2"
getVehicleResponse_creationTime :: Lens' GetVehicleResponse (Maybe UTCTime) Source #
The time the vehicle was created in seconds since epoch (January 1, 1970 at midnight UTC time).
getVehicleResponse_decoderManifestArn :: Lens' GetVehicleResponse (Maybe Text) Source #
The ARN of a decoder manifest associated with the vehicle.
getVehicleResponse_lastModificationTime :: Lens' GetVehicleResponse (Maybe UTCTime) Source #
The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
getVehicleResponse_modelManifestArn :: Lens' GetVehicleResponse (Maybe Text) Source #
The ARN of a vehicle model (model manifest) associated with the vehicle.
getVehicleResponse_vehicleName :: Lens' GetVehicleResponse (Maybe Text) Source #
The ID of the vehicle.
getVehicleResponse_httpStatus :: Lens' GetVehicleResponse Int Source #
The response's http status code.