| 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.Panorama.UpdateDeviceMetadata
Description
Updates a device's metadata.
Synopsis
- data UpdateDeviceMetadata = UpdateDeviceMetadata' {
- description :: Maybe Text
- deviceId :: Text
- newUpdateDeviceMetadata :: Text -> UpdateDeviceMetadata
- updateDeviceMetadata_description :: Lens' UpdateDeviceMetadata (Maybe Text)
- updateDeviceMetadata_deviceId :: Lens' UpdateDeviceMetadata Text
- data UpdateDeviceMetadataResponse = UpdateDeviceMetadataResponse' {
- deviceId :: Maybe Text
- httpStatus :: Int
- newUpdateDeviceMetadataResponse :: Int -> UpdateDeviceMetadataResponse
- updateDeviceMetadataResponse_deviceId :: Lens' UpdateDeviceMetadataResponse (Maybe Text)
- updateDeviceMetadataResponse_httpStatus :: Lens' UpdateDeviceMetadataResponse Int
Creating a Request
data UpdateDeviceMetadata Source #
See: newUpdateDeviceMetadata smart constructor.
Constructors
| UpdateDeviceMetadata' | |
Fields
| |
Instances
newUpdateDeviceMetadata Source #
Arguments
| :: Text | |
| -> UpdateDeviceMetadata |
Create a value of UpdateDeviceMetadata 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:
UpdateDeviceMetadata, updateDeviceMetadata_description - A description for the device.
UpdateDeviceMetadata, updateDeviceMetadata_deviceId - The device's ID.
Request Lenses
updateDeviceMetadata_description :: Lens' UpdateDeviceMetadata (Maybe Text) Source #
A description for the device.
updateDeviceMetadata_deviceId :: Lens' UpdateDeviceMetadata Text Source #
The device's ID.
Destructuring the Response
data UpdateDeviceMetadataResponse Source #
See: newUpdateDeviceMetadataResponse smart constructor.
Constructors
| UpdateDeviceMetadataResponse' | |
Fields
| |
Instances
newUpdateDeviceMetadataResponse Source #
Create a value of UpdateDeviceMetadataResponse 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:
UpdateDeviceMetadata, updateDeviceMetadataResponse_deviceId - The device's ID.
$sel:httpStatus:UpdateDeviceMetadataResponse', updateDeviceMetadataResponse_httpStatus - The response's http status code.
Response Lenses
updateDeviceMetadataResponse_deviceId :: Lens' UpdateDeviceMetadataResponse (Maybe Text) Source #
The device's ID.
updateDeviceMetadataResponse_httpStatus :: Lens' UpdateDeviceMetadataResponse Int Source #
The response's http status code.