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 |
Updates a decoder manifest.
A decoder manifest can only be updated when the status is DRAFT
. Only
ACTIVE
decoder manifests can be associated with vehicles.
Synopsis
- data UpdateDecoderManifest = UpdateDecoderManifest' {
- description :: Maybe Text
- networkInterfacesToAdd :: Maybe (NonEmpty NetworkInterface)
- networkInterfacesToRemove :: Maybe (NonEmpty Text)
- networkInterfacesToUpdate :: Maybe (NonEmpty NetworkInterface)
- signalDecodersToAdd :: Maybe (NonEmpty SignalDecoder)
- signalDecodersToRemove :: Maybe (NonEmpty Text)
- signalDecodersToUpdate :: Maybe (NonEmpty SignalDecoder)
- status :: Maybe ManifestStatus
- name :: Text
- newUpdateDecoderManifest :: Text -> UpdateDecoderManifest
- updateDecoderManifest_description :: Lens' UpdateDecoderManifest (Maybe Text)
- updateDecoderManifest_networkInterfacesToAdd :: Lens' UpdateDecoderManifest (Maybe (NonEmpty NetworkInterface))
- updateDecoderManifest_networkInterfacesToRemove :: Lens' UpdateDecoderManifest (Maybe (NonEmpty Text))
- updateDecoderManifest_networkInterfacesToUpdate :: Lens' UpdateDecoderManifest (Maybe (NonEmpty NetworkInterface))
- updateDecoderManifest_signalDecodersToAdd :: Lens' UpdateDecoderManifest (Maybe (NonEmpty SignalDecoder))
- updateDecoderManifest_signalDecodersToRemove :: Lens' UpdateDecoderManifest (Maybe (NonEmpty Text))
- updateDecoderManifest_signalDecodersToUpdate :: Lens' UpdateDecoderManifest (Maybe (NonEmpty SignalDecoder))
- updateDecoderManifest_status :: Lens' UpdateDecoderManifest (Maybe ManifestStatus)
- updateDecoderManifest_name :: Lens' UpdateDecoderManifest Text
- data UpdateDecoderManifestResponse = UpdateDecoderManifestResponse' {}
- newUpdateDecoderManifestResponse :: Int -> Text -> Text -> UpdateDecoderManifestResponse
- updateDecoderManifestResponse_httpStatus :: Lens' UpdateDecoderManifestResponse Int
- updateDecoderManifestResponse_name :: Lens' UpdateDecoderManifestResponse Text
- updateDecoderManifestResponse_arn :: Lens' UpdateDecoderManifestResponse Text
Creating a Request
data UpdateDecoderManifest Source #
See: newUpdateDecoderManifest
smart constructor.
UpdateDecoderManifest' | |
|
Instances
newUpdateDecoderManifest Source #
Create a value of UpdateDecoderManifest
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:
UpdateDecoderManifest
, updateDecoderManifest_description
- A brief description of the decoder manifest to update.
$sel:networkInterfacesToAdd:UpdateDecoderManifest'
, updateDecoderManifest_networkInterfacesToAdd
- A list of information about the network interfaces to add to the decoder
manifest.
$sel:networkInterfacesToRemove:UpdateDecoderManifest'
, updateDecoderManifest_networkInterfacesToRemove
- A list of network interfaces to remove from the decoder manifest.
$sel:networkInterfacesToUpdate:UpdateDecoderManifest'
, updateDecoderManifest_networkInterfacesToUpdate
- A list of information about the network interfaces to update in the
decoder manifest.
$sel:signalDecodersToAdd:UpdateDecoderManifest'
, updateDecoderManifest_signalDecodersToAdd
- A list of information about decoding additional signals to add to the
decoder manifest.
$sel:signalDecodersToRemove:UpdateDecoderManifest'
, updateDecoderManifest_signalDecodersToRemove
- A list of signal decoders to remove from the decoder manifest.
$sel:signalDecodersToUpdate:UpdateDecoderManifest'
, updateDecoderManifest_signalDecodersToUpdate
- A list of updated information about decoding signals to update in the
decoder manifest.
UpdateDecoderManifest
, updateDecoderManifest_status
- The state of the decoder manifest. If the status is ACTIVE
, the
decoder manifest can't be edited. If the status is DRAFT
, you can
edit the decoder manifest.
UpdateDecoderManifest
, updateDecoderManifest_name
- The name of the decoder manifest to update.
Request Lenses
updateDecoderManifest_description :: Lens' UpdateDecoderManifest (Maybe Text) Source #
A brief description of the decoder manifest to update.
updateDecoderManifest_networkInterfacesToAdd :: Lens' UpdateDecoderManifest (Maybe (NonEmpty NetworkInterface)) Source #
A list of information about the network interfaces to add to the decoder manifest.
updateDecoderManifest_networkInterfacesToRemove :: Lens' UpdateDecoderManifest (Maybe (NonEmpty Text)) Source #
A list of network interfaces to remove from the decoder manifest.
updateDecoderManifest_networkInterfacesToUpdate :: Lens' UpdateDecoderManifest (Maybe (NonEmpty NetworkInterface)) Source #
A list of information about the network interfaces to update in the decoder manifest.
updateDecoderManifest_signalDecodersToAdd :: Lens' UpdateDecoderManifest (Maybe (NonEmpty SignalDecoder)) Source #
A list of information about decoding additional signals to add to the decoder manifest.
updateDecoderManifest_signalDecodersToRemove :: Lens' UpdateDecoderManifest (Maybe (NonEmpty Text)) Source #
A list of signal decoders to remove from the decoder manifest.
updateDecoderManifest_signalDecodersToUpdate :: Lens' UpdateDecoderManifest (Maybe (NonEmpty SignalDecoder)) Source #
A list of updated information about decoding signals to update in the decoder manifest.
updateDecoderManifest_status :: Lens' UpdateDecoderManifest (Maybe ManifestStatus) Source #
The state of the decoder manifest. If the status is ACTIVE
, the
decoder manifest can't be edited. If the status is DRAFT
, you can
edit the decoder manifest.
updateDecoderManifest_name :: Lens' UpdateDecoderManifest Text Source #
The name of the decoder manifest to update.
Destructuring the Response
data UpdateDecoderManifestResponse Source #
See: newUpdateDecoderManifestResponse
smart constructor.
Instances
newUpdateDecoderManifestResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> UpdateDecoderManifestResponse |
Create a value of UpdateDecoderManifestResponse
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:UpdateDecoderManifestResponse'
, updateDecoderManifestResponse_httpStatus
- The response's http status code.
UpdateDecoderManifest
, updateDecoderManifestResponse_name
- The name of the updated decoder manifest.
UpdateDecoderManifestResponse
, updateDecoderManifestResponse_arn
- The Amazon Resource Name (ARN) of the updated decoder manifest.
Response Lenses
updateDecoderManifestResponse_httpStatus :: Lens' UpdateDecoderManifestResponse Int Source #
The response's http status code.
updateDecoderManifestResponse_name :: Lens' UpdateDecoderManifestResponse Text Source #
The name of the updated decoder manifest.
updateDecoderManifestResponse_arn :: Lens' UpdateDecoderManifestResponse Text Source #
The Amazon Resource Name (ARN) of the updated decoder manifest.