| 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.IoTFleetWise.UpdateModelManifest
Description
Updates a vehicle model (model manifest). If created vehicles are associated with a vehicle model, it can't be updated.
Synopsis
- data UpdateModelManifest = UpdateModelManifest' {
- description :: Maybe Text
- nodesToAdd :: Maybe (NonEmpty Text)
- nodesToRemove :: Maybe (NonEmpty Text)
- status :: Maybe ManifestStatus
- name :: Text
- newUpdateModelManifest :: Text -> UpdateModelManifest
- updateModelManifest_description :: Lens' UpdateModelManifest (Maybe Text)
- updateModelManifest_nodesToAdd :: Lens' UpdateModelManifest (Maybe (NonEmpty Text))
- updateModelManifest_nodesToRemove :: Lens' UpdateModelManifest (Maybe (NonEmpty Text))
- updateModelManifest_status :: Lens' UpdateModelManifest (Maybe ManifestStatus)
- updateModelManifest_name :: Lens' UpdateModelManifest Text
- data UpdateModelManifestResponse = UpdateModelManifestResponse' {}
- newUpdateModelManifestResponse :: Int -> Text -> Text -> UpdateModelManifestResponse
- updateModelManifestResponse_httpStatus :: Lens' UpdateModelManifestResponse Int
- updateModelManifestResponse_name :: Lens' UpdateModelManifestResponse Text
- updateModelManifestResponse_arn :: Lens' UpdateModelManifestResponse Text
Creating a Request
data UpdateModelManifest Source #
See: newUpdateModelManifest smart constructor.
Constructors
| UpdateModelManifest' | |
Fields
| |
Instances
newUpdateModelManifest Source #
Arguments
| :: Text | |
| -> UpdateModelManifest |
Create a value of UpdateModelManifest 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:
UpdateModelManifest, updateModelManifest_description - A brief description of the vehicle model.
$sel:nodesToAdd:UpdateModelManifest', updateModelManifest_nodesToAdd - A list of fullyQualifiedName of nodes, which are a general abstraction
of signals, to add to the vehicle model.
$sel:nodesToRemove:UpdateModelManifest', updateModelManifest_nodesToRemove - A list of fullyQualifiedName of nodes, which are a general abstraction
of signals, to remove from the vehicle model.
UpdateModelManifest, updateModelManifest_status - The state of the vehicle model. If the status is ACTIVE, the vehicle
model can't be edited. If the status is DRAFT, you can edit the
vehicle model.
UpdateModelManifest, updateModelManifest_name - The name of the vehicle model to update.
Request Lenses
updateModelManifest_description :: Lens' UpdateModelManifest (Maybe Text) Source #
A brief description of the vehicle model.
updateModelManifest_nodesToAdd :: Lens' UpdateModelManifest (Maybe (NonEmpty Text)) Source #
A list of fullyQualifiedName of nodes, which are a general abstraction
of signals, to add to the vehicle model.
updateModelManifest_nodesToRemove :: Lens' UpdateModelManifest (Maybe (NonEmpty Text)) Source #
A list of fullyQualifiedName of nodes, which are a general abstraction
of signals, to remove from the vehicle model.
updateModelManifest_status :: Lens' UpdateModelManifest (Maybe ManifestStatus) Source #
The state of the vehicle model. If the status is ACTIVE, the vehicle
model can't be edited. If the status is DRAFT, you can edit the
vehicle model.
updateModelManifest_name :: Lens' UpdateModelManifest Text Source #
The name of the vehicle model to update.
Destructuring the Response
data UpdateModelManifestResponse Source #
See: newUpdateModelManifestResponse smart constructor.
Constructors
| UpdateModelManifestResponse' | |
Instances
newUpdateModelManifestResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> UpdateModelManifestResponse |
Create a value of UpdateModelManifestResponse 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:httpStatus:UpdateModelManifestResponse', updateModelManifestResponse_httpStatus - The response's http status code.
UpdateModelManifest, updateModelManifestResponse_name - The name of the updated vehicle model.
UpdateModelManifestResponse, updateModelManifestResponse_arn - The Amazon Resource Name (ARN) of the updated vehicle model.
Response Lenses
updateModelManifestResponse_httpStatus :: Lens' UpdateModelManifestResponse Int Source #
The response's http status code.
updateModelManifestResponse_name :: Lens' UpdateModelManifestResponse Text Source #
The name of the updated vehicle model.
updateModelManifestResponse_arn :: Lens' UpdateModelManifestResponse Text Source #
The Amazon Resource Name (ARN) of the updated vehicle model.