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 |
Updates a Device Defender audit suppression.
Synopsis
- data UpdateAuditSuppression = UpdateAuditSuppression' {}
- newUpdateAuditSuppression :: Text -> ResourceIdentifier -> UpdateAuditSuppression
- updateAuditSuppression_expirationDate :: Lens' UpdateAuditSuppression (Maybe UTCTime)
- updateAuditSuppression_suppressIndefinitely :: Lens' UpdateAuditSuppression (Maybe Bool)
- updateAuditSuppression_description :: Lens' UpdateAuditSuppression (Maybe Text)
- 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.
UpdateAuditSuppression' | |
|
Instances
newUpdateAuditSuppression Source #
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:
$sel:expirationDate:UpdateAuditSuppression'
, updateAuditSuppression_expirationDate
- The expiration date (epoch timestamp in seconds) that you want the
suppression to adhere to.
$sel:suppressIndefinitely:UpdateAuditSuppression'
, updateAuditSuppression_suppressIndefinitely
- Indicates whether a suppression should exist indefinitely or not.
$sel:description:UpdateAuditSuppression'
, updateAuditSuppression_description
- The description of the audit suppression.
$sel:checkName:UpdateAuditSuppression'
, updateAuditSuppression_checkName
- Undocumented member.
$sel:resourceIdentifier:UpdateAuditSuppression'
, updateAuditSuppression_resourceIdentifier
- Undocumented member.
Request Lenses
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_description :: Lens' UpdateAuditSuppression (Maybe Text) Source #
The description of the audit suppression.
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.
UpdateAuditSuppressionResponse' | |
|
Instances
Eq UpdateAuditSuppressionResponse Source # | |
Read UpdateAuditSuppressionResponse Source # | |
Show UpdateAuditSuppressionResponse Source # | |
Defined in Amazonka.IoT.UpdateAuditSuppression | |
Generic UpdateAuditSuppressionResponse Source # | |
NFData UpdateAuditSuppressionResponse Source # | |
Defined in Amazonka.IoT.UpdateAuditSuppression rnf :: UpdateAuditSuppressionResponse -> () # | |
type Rep UpdateAuditSuppressionResponse Source # | |
Defined in Amazonka.IoT.UpdateAuditSuppression type Rep UpdateAuditSuppressionResponse = D1 ('MetaData "UpdateAuditSuppressionResponse" "Amazonka.IoT.UpdateAuditSuppression" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateAuditSuppressionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.