Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
When this action is called for a specified shared device, it allows authorized users to delete the device's entire previous history of voice input data and associated response data. This action can be called once every 24 hours for a specific shared device.
Synopsis
- data DeleteDeviceUsageData = DeleteDeviceUsageData' {}
- newDeleteDeviceUsageData :: Text -> DeviceUsageType -> DeleteDeviceUsageData
- deleteDeviceUsageData_deviceArn :: Lens' DeleteDeviceUsageData Text
- deleteDeviceUsageData_deviceUsageType :: Lens' DeleteDeviceUsageData DeviceUsageType
- data DeleteDeviceUsageDataResponse = DeleteDeviceUsageDataResponse' {
- httpStatus :: Int
- newDeleteDeviceUsageDataResponse :: Int -> DeleteDeviceUsageDataResponse
- deleteDeviceUsageDataResponse_httpStatus :: Lens' DeleteDeviceUsageDataResponse Int
Creating a Request
data DeleteDeviceUsageData Source #
See: newDeleteDeviceUsageData
smart constructor.
DeleteDeviceUsageData' | |
|
Instances
newDeleteDeviceUsageData Source #
Create a value of DeleteDeviceUsageData
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:deviceArn:DeleteDeviceUsageData'
, deleteDeviceUsageData_deviceArn
- The ARN of the device.
$sel:deviceUsageType:DeleteDeviceUsageData'
, deleteDeviceUsageData_deviceUsageType
- The type of usage data to delete.
Request Lenses
deleteDeviceUsageData_deviceArn :: Lens' DeleteDeviceUsageData Text Source #
The ARN of the device.
deleteDeviceUsageData_deviceUsageType :: Lens' DeleteDeviceUsageData DeviceUsageType Source #
The type of usage data to delete.
Destructuring the Response
data DeleteDeviceUsageDataResponse Source #
See: newDeleteDeviceUsageDataResponse
smart constructor.
DeleteDeviceUsageDataResponse' | |
|
Instances
newDeleteDeviceUsageDataResponse Source #
Create a value of DeleteDeviceUsageDataResponse
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:DeleteDeviceUsageDataResponse'
, deleteDeviceUsageDataResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDeviceUsageDataResponse_httpStatus :: Lens' DeleteDeviceUsageDataResponse Int Source #
The response's http status code.