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 |
Creates the decoder manifest associated with a model manifest. To create a decoder manifest, the following must be true:
- Every signal decoder has a unique name.
- Each signal decoder is associated with a network interface.
- Each network interface has a unique ID.
- The signal decoders are specified in the model manifest.
Synopsis
- data CreateDecoderManifest = CreateDecoderManifest' {}
- newCreateDecoderManifest :: Text -> Text -> CreateDecoderManifest
- createDecoderManifest_description :: Lens' CreateDecoderManifest (Maybe Text)
- createDecoderManifest_networkInterfaces :: Lens' CreateDecoderManifest (Maybe (NonEmpty NetworkInterface))
- createDecoderManifest_signalDecoders :: Lens' CreateDecoderManifest (Maybe (NonEmpty SignalDecoder))
- createDecoderManifest_tags :: Lens' CreateDecoderManifest (Maybe [Tag])
- createDecoderManifest_name :: Lens' CreateDecoderManifest Text
- createDecoderManifest_modelManifestArn :: Lens' CreateDecoderManifest Text
- data CreateDecoderManifestResponse = CreateDecoderManifestResponse' {}
- newCreateDecoderManifestResponse :: Int -> Text -> Text -> CreateDecoderManifestResponse
- createDecoderManifestResponse_httpStatus :: Lens' CreateDecoderManifestResponse Int
- createDecoderManifestResponse_name :: Lens' CreateDecoderManifestResponse Text
- createDecoderManifestResponse_arn :: Lens' CreateDecoderManifestResponse Text
Creating a Request
data CreateDecoderManifest Source #
See: newCreateDecoderManifest
smart constructor.
CreateDecoderManifest' | |
|
Instances
newCreateDecoderManifest Source #
Create a value of CreateDecoderManifest
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:
CreateDecoderManifest
, createDecoderManifest_description
- A brief description of the decoder manifest.
$sel:networkInterfaces:CreateDecoderManifest'
, createDecoderManifest_networkInterfaces
- A list of information about available network interfaces.
$sel:signalDecoders:CreateDecoderManifest'
, createDecoderManifest_signalDecoders
- A list of information about signal decoders.
CreateDecoderManifest
, createDecoderManifest_tags
- Metadata that can be used to manage the decoder manifest.
CreateDecoderManifest
, createDecoderManifest_name
- The unique name of the decoder manifest to create.
CreateDecoderManifest
, createDecoderManifest_modelManifestArn
- The Amazon Resource Name (ARN) of the vehicle model (model manifest).
Request Lenses
createDecoderManifest_description :: Lens' CreateDecoderManifest (Maybe Text) Source #
A brief description of the decoder manifest.
createDecoderManifest_networkInterfaces :: Lens' CreateDecoderManifest (Maybe (NonEmpty NetworkInterface)) Source #
A list of information about available network interfaces.
createDecoderManifest_signalDecoders :: Lens' CreateDecoderManifest (Maybe (NonEmpty SignalDecoder)) Source #
A list of information about signal decoders.
createDecoderManifest_tags :: Lens' CreateDecoderManifest (Maybe [Tag]) Source #
Metadata that can be used to manage the decoder manifest.
createDecoderManifest_name :: Lens' CreateDecoderManifest Text Source #
The unique name of the decoder manifest to create.
createDecoderManifest_modelManifestArn :: Lens' CreateDecoderManifest Text Source #
The Amazon Resource Name (ARN) of the vehicle model (model manifest).
Destructuring the Response
data CreateDecoderManifestResponse Source #
See: newCreateDecoderManifestResponse
smart constructor.
Instances
newCreateDecoderManifestResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> CreateDecoderManifestResponse |
Create a value of CreateDecoderManifestResponse
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:CreateDecoderManifestResponse'
, createDecoderManifestResponse_httpStatus
- The response's http status code.
CreateDecoderManifest
, createDecoderManifestResponse_name
- The name of the created decoder manifest.
CreateDecoderManifestResponse
, createDecoderManifestResponse_arn
- The ARN of the created decoder manifest.
Response Lenses
createDecoderManifestResponse_httpStatus :: Lens' CreateDecoderManifestResponse Int Source #
The response's http status code.
createDecoderManifestResponse_name :: Lens' CreateDecoderManifestResponse Text Source #
The name of the created decoder manifest.
createDecoderManifestResponse_arn :: Lens' CreateDecoderManifestResponse Text Source #
The ARN of the created decoder manifest.