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 model (model manifest).
Synopsis
- data GetModelManifest = GetModelManifest' {}
- newGetModelManifest :: Text -> GetModelManifest
- getModelManifest_name :: Lens' GetModelManifest Text
- data GetModelManifestResponse = GetModelManifestResponse' {
- description :: Maybe Text
- signalCatalogArn :: Maybe Text
- status :: Maybe ManifestStatus
- httpStatus :: Int
- name :: Text
- arn :: Text
- creationTime :: POSIX
- lastModificationTime :: POSIX
- newGetModelManifestResponse :: Int -> Text -> Text -> UTCTime -> UTCTime -> GetModelManifestResponse
- getModelManifestResponse_description :: Lens' GetModelManifestResponse (Maybe Text)
- getModelManifestResponse_signalCatalogArn :: Lens' GetModelManifestResponse (Maybe Text)
- getModelManifestResponse_status :: Lens' GetModelManifestResponse (Maybe ManifestStatus)
- getModelManifestResponse_httpStatus :: Lens' GetModelManifestResponse Int
- getModelManifestResponse_name :: Lens' GetModelManifestResponse Text
- getModelManifestResponse_arn :: Lens' GetModelManifestResponse Text
- getModelManifestResponse_creationTime :: Lens' GetModelManifestResponse UTCTime
- getModelManifestResponse_lastModificationTime :: Lens' GetModelManifestResponse UTCTime
Creating a Request
data GetModelManifest Source #
See: newGetModelManifest
smart constructor.
Instances
Create a value of GetModelManifest
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:
GetModelManifest
, getModelManifest_name
- The name of the vehicle model to retrieve information about.
Request Lenses
getModelManifest_name :: Lens' GetModelManifest Text Source #
The name of the vehicle model to retrieve information about.
Destructuring the Response
data GetModelManifestResponse Source #
See: newGetModelManifestResponse
smart constructor.
GetModelManifestResponse' | |
|
Instances
newGetModelManifestResponse Source #
Create a value of GetModelManifestResponse
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:
GetModelManifestResponse
, getModelManifestResponse_description
- A brief description of the vehicle model.
GetModelManifestResponse
, getModelManifestResponse_signalCatalogArn
- The ARN of the signal catalog associated with the vehicle model.
GetModelManifestResponse
, getModelManifestResponse_status
- The state of the vehicle model. If the status is ACTIVE
, the vehicle
model can't be edited. You can edit the vehicle model if the status is
marked DRAFT
.
$sel:httpStatus:GetModelManifestResponse'
, getModelManifestResponse_httpStatus
- The response's http status code.
GetModelManifest
, getModelManifestResponse_name
- The name of the vehicle model.
GetModelManifestResponse
, getModelManifestResponse_arn
- The Amazon Resource Name (ARN) of the vehicle model.
GetModelManifestResponse
, getModelManifestResponse_creationTime
- The time the vehicle model was created, in seconds since epoch (January
1, 1970 at midnight UTC time).
GetModelManifestResponse
, getModelManifestResponse_lastModificationTime
- The last time the vehicle model was modified.
Response Lenses
getModelManifestResponse_description :: Lens' GetModelManifestResponse (Maybe Text) Source #
A brief description of the vehicle model.
getModelManifestResponse_signalCatalogArn :: Lens' GetModelManifestResponse (Maybe Text) Source #
The ARN of the signal catalog associated with the vehicle model.
getModelManifestResponse_status :: Lens' GetModelManifestResponse (Maybe ManifestStatus) Source #
The state of the vehicle model. If the status is ACTIVE
, the vehicle
model can't be edited. You can edit the vehicle model if the status is
marked DRAFT
.
getModelManifestResponse_httpStatus :: Lens' GetModelManifestResponse Int Source #
The response's http status code.
getModelManifestResponse_name :: Lens' GetModelManifestResponse Text Source #
The name of the vehicle model.
getModelManifestResponse_arn :: Lens' GetModelManifestResponse Text Source #
The Amazon Resource Name (ARN) of the vehicle model.
getModelManifestResponse_creationTime :: Lens' GetModelManifestResponse UTCTime Source #
The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time).
getModelManifestResponse_lastModificationTime :: Lens' GetModelManifestResponse UTCTime Source #
The last time the vehicle model was modified.