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 details of one or more remediation exceptions. A detailed view of a remediation exception for a set of resources that includes an explanation of an exception and the time when the exception will be deleted. When you specify the limit and the next token, you receive a paginated response.
Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource. Remediation exceptions blocks auto-remediation until the exception is cleared.
When you specify the limit and the next token, you receive a paginated response.
Limit and next token are not applicable if you request resources in batch. It is only applicable, when you request all resources.
Synopsis
- data DescribeRemediationExceptions = DescribeRemediationExceptions' {}
- newDescribeRemediationExceptions :: Text -> DescribeRemediationExceptions
- describeRemediationExceptions_nextToken :: Lens' DescribeRemediationExceptions (Maybe Text)
- describeRemediationExceptions_limit :: Lens' DescribeRemediationExceptions (Maybe Natural)
- describeRemediationExceptions_resourceKeys :: Lens' DescribeRemediationExceptions (Maybe (NonEmpty RemediationExceptionResourceKey))
- describeRemediationExceptions_configRuleName :: Lens' DescribeRemediationExceptions Text
- data DescribeRemediationExceptionsResponse = DescribeRemediationExceptionsResponse' {}
- newDescribeRemediationExceptionsResponse :: Int -> DescribeRemediationExceptionsResponse
- describeRemediationExceptionsResponse_nextToken :: Lens' DescribeRemediationExceptionsResponse (Maybe Text)
- describeRemediationExceptionsResponse_remediationExceptions :: Lens' DescribeRemediationExceptionsResponse (Maybe [RemediationException])
- describeRemediationExceptionsResponse_httpStatus :: Lens' DescribeRemediationExceptionsResponse Int
Creating a Request
data DescribeRemediationExceptions Source #
See: newDescribeRemediationExceptions
smart constructor.
DescribeRemediationExceptions' | |
|
Instances
newDescribeRemediationExceptions Source #
Create a value of DescribeRemediationExceptions
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:nextToken:DescribeRemediationExceptions'
, describeRemediationExceptions_nextToken
- The nextToken
string returned in a previous request that you use to
request the next page of results in a paginated response.
$sel:limit:DescribeRemediationExceptions'
, describeRemediationExceptions_limit
- The maximum number of RemediationExceptionResourceKey returned on each
page. The default is 25. If you specify 0, Config uses the default.
$sel:resourceKeys:DescribeRemediationExceptions'
, describeRemediationExceptions_resourceKeys
- An exception list of resource exception keys to be processed with the
current request. Config adds exception for each resource key. For
example, Config adds 3 exceptions for 3 resource keys.
$sel:configRuleName:DescribeRemediationExceptions'
, describeRemediationExceptions_configRuleName
- The name of the Config rule.
Request Lenses
describeRemediationExceptions_nextToken :: Lens' DescribeRemediationExceptions (Maybe Text) Source #
The nextToken
string returned in a previous request that you use to
request the next page of results in a paginated response.
describeRemediationExceptions_limit :: Lens' DescribeRemediationExceptions (Maybe Natural) Source #
The maximum number of RemediationExceptionResourceKey returned on each page. The default is 25. If you specify 0, Config uses the default.
describeRemediationExceptions_resourceKeys :: Lens' DescribeRemediationExceptions (Maybe (NonEmpty RemediationExceptionResourceKey)) Source #
An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
describeRemediationExceptions_configRuleName :: Lens' DescribeRemediationExceptions Text Source #
The name of the Config rule.
Destructuring the Response
data DescribeRemediationExceptionsResponse Source #
See: newDescribeRemediationExceptionsResponse
smart constructor.
DescribeRemediationExceptionsResponse' | |
|
Instances
newDescribeRemediationExceptionsResponse Source #
Create a value of DescribeRemediationExceptionsResponse
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:nextToken:DescribeRemediationExceptions'
, describeRemediationExceptionsResponse_nextToken
- The nextToken
string returned in a previous request that you use to
request the next page of results in a paginated response.
$sel:remediationExceptions:DescribeRemediationExceptionsResponse'
, describeRemediationExceptionsResponse_remediationExceptions
- Returns a list of remediation exception objects.
$sel:httpStatus:DescribeRemediationExceptionsResponse'
, describeRemediationExceptionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeRemediationExceptionsResponse_nextToken :: Lens' DescribeRemediationExceptionsResponse (Maybe Text) Source #
The nextToken
string returned in a previous request that you use to
request the next page of results in a paginated response.
describeRemediationExceptionsResponse_remediationExceptions :: Lens' DescribeRemediationExceptionsResponse (Maybe [RemediationException]) Source #
Returns a list of remediation exception objects.
describeRemediationExceptionsResponse_httpStatus :: Lens' DescribeRemediationExceptionsResponse Int Source #
The response's http status code.