| 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.IoT.UpdateAuditSuppression
Description
Updates a Device Defender audit suppression.
Synopsis
- data UpdateAuditSuppression = UpdateAuditSuppression' {}
- newUpdateAuditSuppression :: Text -> ResourceIdentifier -> UpdateAuditSuppression
- updateAuditSuppression_description :: Lens' UpdateAuditSuppression (Maybe Text)
- updateAuditSuppression_expirationDate :: Lens' UpdateAuditSuppression (Maybe UTCTime)
- updateAuditSuppression_suppressIndefinitely :: Lens' UpdateAuditSuppression (Maybe Bool)
- updateAuditSuppression_checkName :: Lens' UpdateAuditSuppression Text
- updateAuditSuppression_resourceIdentifier :: Lens' UpdateAuditSuppression ResourceIdentifier
- data UpdateAuditSuppressionResponse = UpdateAuditSuppressionResponse' {
- httpStatus :: Int
- newUpdateAuditSuppressionResponse :: Int -> UpdateAuditSuppressionResponse
- updateAuditSuppressionResponse_httpStatus :: Lens' UpdateAuditSuppressionResponse Int
Creating a Request
data UpdateAuditSuppression Source #
See: newUpdateAuditSuppression smart constructor.
Constructors
| UpdateAuditSuppression' | |
Fields
| |
Instances
newUpdateAuditSuppression Source #
Arguments
| :: Text | |
| -> ResourceIdentifier | |
| -> UpdateAuditSuppression |
Create a value of UpdateAuditSuppression 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:
UpdateAuditSuppression, updateAuditSuppression_description - The description of the audit suppression.
UpdateAuditSuppression, updateAuditSuppression_expirationDate - The expiration date (epoch timestamp in seconds) that you want the
suppression to adhere to.
UpdateAuditSuppression, updateAuditSuppression_suppressIndefinitely - Indicates whether a suppression should exist indefinitely or not.
UpdateAuditSuppression, updateAuditSuppression_checkName - Undocumented member.
UpdateAuditSuppression, updateAuditSuppression_resourceIdentifier - Undocumented member.
Request Lenses
updateAuditSuppression_description :: Lens' UpdateAuditSuppression (Maybe Text) Source #
The description of the audit suppression.
updateAuditSuppression_expirationDate :: Lens' UpdateAuditSuppression (Maybe UTCTime) Source #
The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
updateAuditSuppression_suppressIndefinitely :: Lens' UpdateAuditSuppression (Maybe Bool) Source #
Indicates whether a suppression should exist indefinitely or not.
updateAuditSuppression_checkName :: Lens' UpdateAuditSuppression Text Source #
Undocumented member.
updateAuditSuppression_resourceIdentifier :: Lens' UpdateAuditSuppression ResourceIdentifier Source #
Undocumented member.
Destructuring the Response
data UpdateAuditSuppressionResponse Source #
See: newUpdateAuditSuppressionResponse smart constructor.
Constructors
| UpdateAuditSuppressionResponse' | |
Fields
| |
Instances
newUpdateAuditSuppressionResponse Source #
Create a value of UpdateAuditSuppressionResponse 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:UpdateAuditSuppressionResponse', updateAuditSuppressionResponse_httpStatus - The response's http status code.
Response Lenses
updateAuditSuppressionResponse_httpStatus :: Lens' UpdateAuditSuppressionResponse Int Source #
The response's http status code.