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 |
Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorders associated with the account.
Currently, you can specify only one configuration recorder per region in your account.
Synopsis
- data DescribeConfigurationRecorderStatus = DescribeConfigurationRecorderStatus' {}
- newDescribeConfigurationRecorderStatus :: DescribeConfigurationRecorderStatus
- describeConfigurationRecorderStatus_configurationRecorderNames :: Lens' DescribeConfigurationRecorderStatus (Maybe [Text])
- data DescribeConfigurationRecorderStatusResponse = DescribeConfigurationRecorderStatusResponse' {}
- newDescribeConfigurationRecorderStatusResponse :: Int -> DescribeConfigurationRecorderStatusResponse
- describeConfigurationRecorderStatusResponse_configurationRecordersStatus :: Lens' DescribeConfigurationRecorderStatusResponse (Maybe [ConfigurationRecorderStatus])
- describeConfigurationRecorderStatusResponse_httpStatus :: Lens' DescribeConfigurationRecorderStatusResponse Int
Creating a Request
data DescribeConfigurationRecorderStatus Source #
The input for the DescribeConfigurationRecorderStatus action.
See: newDescribeConfigurationRecorderStatus
smart constructor.
DescribeConfigurationRecorderStatus' | |
|
Instances
newDescribeConfigurationRecorderStatus :: DescribeConfigurationRecorderStatus Source #
Create a value of DescribeConfigurationRecorderStatus
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:configurationRecorderNames:DescribeConfigurationRecorderStatus'
, describeConfigurationRecorderStatus_configurationRecorderNames
- The name(s) of the configuration recorder. If the name is not specified,
the action returns the current status of all the configuration recorders
associated with the account.
Request Lenses
describeConfigurationRecorderStatus_configurationRecorderNames :: Lens' DescribeConfigurationRecorderStatus (Maybe [Text]) Source #
The name(s) of the configuration recorder. If the name is not specified, the action returns the current status of all the configuration recorders associated with the account.
Destructuring the Response
data DescribeConfigurationRecorderStatusResponse Source #
The output for the DescribeConfigurationRecorderStatus action, in JSON format.
See: newDescribeConfigurationRecorderStatusResponse
smart constructor.
DescribeConfigurationRecorderStatusResponse' | |
|
Instances
newDescribeConfigurationRecorderStatusResponse Source #
:: Int |
|
-> DescribeConfigurationRecorderStatusResponse |
Create a value of DescribeConfigurationRecorderStatusResponse
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:configurationRecordersStatus:DescribeConfigurationRecorderStatusResponse'
, describeConfigurationRecorderStatusResponse_configurationRecordersStatus
- A list that contains status of the specified recorders.
$sel:httpStatus:DescribeConfigurationRecorderStatusResponse'
, describeConfigurationRecorderStatusResponse_httpStatus
- The response's http status code.
Response Lenses
describeConfigurationRecorderStatusResponse_configurationRecordersStatus :: Lens' DescribeConfigurationRecorderStatusResponse (Maybe [ConfigurationRecorderStatus]) Source #
A list that contains status of the specified recorders.
describeConfigurationRecorderStatusResponse_httpStatus :: Lens' DescribeConfigurationRecorderStatusResponse Int Source #
The response's http status code.