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 |
Gets information about a scheduled audit.
Requires permission to access the DescribeScheduledAudit action.
Synopsis
- data DescribeScheduledAudit = DescribeScheduledAudit' {}
- newDescribeScheduledAudit :: Text -> DescribeScheduledAudit
- describeScheduledAudit_scheduledAuditName :: Lens' DescribeScheduledAudit Text
- data DescribeScheduledAuditResponse = DescribeScheduledAuditResponse' {}
- newDescribeScheduledAuditResponse :: Int -> DescribeScheduledAuditResponse
- describeScheduledAuditResponse_frequency :: Lens' DescribeScheduledAuditResponse (Maybe AuditFrequency)
- describeScheduledAuditResponse_scheduledAuditName :: Lens' DescribeScheduledAuditResponse (Maybe Text)
- describeScheduledAuditResponse_dayOfMonth :: Lens' DescribeScheduledAuditResponse (Maybe Text)
- describeScheduledAuditResponse_targetCheckNames :: Lens' DescribeScheduledAuditResponse (Maybe [Text])
- describeScheduledAuditResponse_dayOfWeek :: Lens' DescribeScheduledAuditResponse (Maybe DayOfWeek)
- describeScheduledAuditResponse_scheduledAuditArn :: Lens' DescribeScheduledAuditResponse (Maybe Text)
- describeScheduledAuditResponse_httpStatus :: Lens' DescribeScheduledAuditResponse Int
Creating a Request
data DescribeScheduledAudit Source #
See: newDescribeScheduledAudit
smart constructor.
DescribeScheduledAudit' | |
|
Instances
newDescribeScheduledAudit Source #
Create a value of DescribeScheduledAudit
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:scheduledAuditName:DescribeScheduledAudit'
, describeScheduledAudit_scheduledAuditName
- The name of the scheduled audit whose information you want to get.
Request Lenses
describeScheduledAudit_scheduledAuditName :: Lens' DescribeScheduledAudit Text Source #
The name of the scheduled audit whose information you want to get.
Destructuring the Response
data DescribeScheduledAuditResponse Source #
See: newDescribeScheduledAuditResponse
smart constructor.
DescribeScheduledAuditResponse' | |
|
Instances
newDescribeScheduledAuditResponse Source #
Create a value of DescribeScheduledAuditResponse
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:frequency:DescribeScheduledAuditResponse'
, describeScheduledAuditResponse_frequency
- How often the scheduled audit takes place, either one of DAILY
,
WEEKLY
, BIWEEKLY
, or MONTHLY
. The start time of each audit is
determined by the system.
$sel:scheduledAuditName:DescribeScheduledAudit'
, describeScheduledAuditResponse_scheduledAuditName
- The name of the scheduled audit.
$sel:dayOfMonth:DescribeScheduledAuditResponse'
, describeScheduledAuditResponse_dayOfMonth
- The day of the month on which the scheduled audit takes place. This is
will be 1
through 31
or LAST
. If days 29
-31
are specified, and
the month does not have that many days, the audit takes place on the
LAST
day of the month.
$sel:targetCheckNames:DescribeScheduledAuditResponse'
, describeScheduledAuditResponse_targetCheckNames
- Which checks are performed during the scheduled audit. Checks must be
enabled for your account. (Use DescribeAccountAuditConfiguration
to
see the list of all checks, including those that are enabled or use
UpdateAccountAuditConfiguration
to select which checks are enabled.)
$sel:dayOfWeek:DescribeScheduledAuditResponse'
, describeScheduledAuditResponse_dayOfWeek
- The day of the week on which the scheduled audit takes place, either one
of SUN
, MON
, TUE
, WED
, THU
, FRI
, or SAT
.
$sel:scheduledAuditArn:DescribeScheduledAuditResponse'
, describeScheduledAuditResponse_scheduledAuditArn
- The ARN of the scheduled audit.
$sel:httpStatus:DescribeScheduledAuditResponse'
, describeScheduledAuditResponse_httpStatus
- The response's http status code.
Response Lenses
describeScheduledAuditResponse_frequency :: Lens' DescribeScheduledAuditResponse (Maybe AuditFrequency) Source #
How often the scheduled audit takes place, either one of DAILY
,
WEEKLY
, BIWEEKLY
, or MONTHLY
. The start time of each audit is
determined by the system.
describeScheduledAuditResponse_scheduledAuditName :: Lens' DescribeScheduledAuditResponse (Maybe Text) Source #
The name of the scheduled audit.
describeScheduledAuditResponse_dayOfMonth :: Lens' DescribeScheduledAuditResponse (Maybe Text) Source #
The day of the month on which the scheduled audit takes place. This is
will be 1
through 31
or LAST
. If days 29
-31
are specified, and
the month does not have that many days, the audit takes place on the
LAST
day of the month.
describeScheduledAuditResponse_targetCheckNames :: Lens' DescribeScheduledAuditResponse (Maybe [Text]) Source #
Which checks are performed during the scheduled audit. Checks must be
enabled for your account. (Use DescribeAccountAuditConfiguration
to
see the list of all checks, including those that are enabled or use
UpdateAccountAuditConfiguration
to select which checks are enabled.)
describeScheduledAuditResponse_dayOfWeek :: Lens' DescribeScheduledAuditResponse (Maybe DayOfWeek) Source #
The day of the week on which the scheduled audit takes place, either one
of SUN
, MON
, TUE
, WED
, THU
, FRI
, or SAT
.
describeScheduledAuditResponse_scheduledAuditArn :: Lens' DescribeScheduledAuditResponse (Maybe Text) Source #
The ARN of the scheduled audit.
describeScheduledAuditResponse_httpStatus :: Lens' DescribeScheduledAuditResponse Int Source #
The response's http status code.