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 |
Provides a detailed view of a Remediation Execution for a set of resources including state, timestamps for when steps for the remediation execution occur, and any error messages for steps that have failed. When you specify the limit and the next token, you receive a paginated response.
This operation returns paginated results.
Synopsis
- data DescribeRemediationExecutionStatus = DescribeRemediationExecutionStatus' {}
- newDescribeRemediationExecutionStatus :: Text -> DescribeRemediationExecutionStatus
- describeRemediationExecutionStatus_nextToken :: Lens' DescribeRemediationExecutionStatus (Maybe Text)
- describeRemediationExecutionStatus_limit :: Lens' DescribeRemediationExecutionStatus (Maybe Natural)
- describeRemediationExecutionStatus_resourceKeys :: Lens' DescribeRemediationExecutionStatus (Maybe (NonEmpty ResourceKey))
- describeRemediationExecutionStatus_configRuleName :: Lens' DescribeRemediationExecutionStatus Text
- data DescribeRemediationExecutionStatusResponse = DescribeRemediationExecutionStatusResponse' {}
- newDescribeRemediationExecutionStatusResponse :: Int -> DescribeRemediationExecutionStatusResponse
- describeRemediationExecutionStatusResponse_remediationExecutionStatuses :: Lens' DescribeRemediationExecutionStatusResponse (Maybe [RemediationExecutionStatus])
- describeRemediationExecutionStatusResponse_nextToken :: Lens' DescribeRemediationExecutionStatusResponse (Maybe Text)
- describeRemediationExecutionStatusResponse_httpStatus :: Lens' DescribeRemediationExecutionStatusResponse Int
Creating a Request
data DescribeRemediationExecutionStatus Source #
See: newDescribeRemediationExecutionStatus
smart constructor.
DescribeRemediationExecutionStatus' | |
|
Instances
newDescribeRemediationExecutionStatus Source #
Create a value of DescribeRemediationExecutionStatus
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:DescribeRemediationExecutionStatus'
, describeRemediationExecutionStatus_nextToken
- The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
$sel:limit:DescribeRemediationExecutionStatus'
, describeRemediationExecutionStatus_limit
- The maximum number of RemediationExecutionStatuses returned on each
page. The default is maximum. If you specify 0, Config uses the default.
$sel:resourceKeys:DescribeRemediationExecutionStatus'
, describeRemediationExecutionStatus_resourceKeys
- A list of resource keys to be processed with the current request. Each
element in the list consists of the resource type and resource ID.
$sel:configRuleName:DescribeRemediationExecutionStatus'
, describeRemediationExecutionStatus_configRuleName
- A list of Config rule names.
Request Lenses
describeRemediationExecutionStatus_nextToken :: Lens' DescribeRemediationExecutionStatus (Maybe Text) Source #
The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
describeRemediationExecutionStatus_limit :: Lens' DescribeRemediationExecutionStatus (Maybe Natural) Source #
The maximum number of RemediationExecutionStatuses returned on each page. The default is maximum. If you specify 0, Config uses the default.
describeRemediationExecutionStatus_resourceKeys :: Lens' DescribeRemediationExecutionStatus (Maybe (NonEmpty ResourceKey)) Source #
A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
describeRemediationExecutionStatus_configRuleName :: Lens' DescribeRemediationExecutionStatus Text Source #
A list of Config rule names.
Destructuring the Response
data DescribeRemediationExecutionStatusResponse Source #
See: newDescribeRemediationExecutionStatusResponse
smart constructor.
DescribeRemediationExecutionStatusResponse' | |
|
Instances
newDescribeRemediationExecutionStatusResponse Source #
Create a value of DescribeRemediationExecutionStatusResponse
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:remediationExecutionStatuses:DescribeRemediationExecutionStatusResponse'
, describeRemediationExecutionStatusResponse_remediationExecutionStatuses
- Returns a list of remediation execution statuses objects.
$sel:nextToken:DescribeRemediationExecutionStatus'
, describeRemediationExecutionStatusResponse_nextToken
- The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
$sel:httpStatus:DescribeRemediationExecutionStatusResponse'
, describeRemediationExecutionStatusResponse_httpStatus
- The response's http status code.
Response Lenses
describeRemediationExecutionStatusResponse_remediationExecutionStatuses :: Lens' DescribeRemediationExecutionStatusResponse (Maybe [RemediationExecutionStatus]) Source #
Returns a list of remediation execution statuses objects.
describeRemediationExecutionStatusResponse_nextToken :: Lens' DescribeRemediationExecutionStatusResponse (Maybe Text) Source #
The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
describeRemediationExecutionStatusResponse_httpStatus :: Lens' DescribeRemediationExecutionStatusResponse Int Source #
The response's http status code.