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 |
Retrieves information about an archive rule.
To learn about filter keys that you can use to create an archive rule, see IAM Access Analyzer filter keys in the IAM User Guide.
Synopsis
- data GetArchiveRule = GetArchiveRule' {
- analyzerName :: Text
- ruleName :: Text
- newGetArchiveRule :: Text -> Text -> GetArchiveRule
- getArchiveRule_analyzerName :: Lens' GetArchiveRule Text
- getArchiveRule_ruleName :: Lens' GetArchiveRule Text
- data GetArchiveRuleResponse = GetArchiveRuleResponse' {}
- newGetArchiveRuleResponse :: Int -> ArchiveRuleSummary -> GetArchiveRuleResponse
- getArchiveRuleResponse_httpStatus :: Lens' GetArchiveRuleResponse Int
- getArchiveRuleResponse_archiveRule :: Lens' GetArchiveRuleResponse ArchiveRuleSummary
Creating a Request
data GetArchiveRule Source #
Retrieves an archive rule.
See: newGetArchiveRule
smart constructor.
GetArchiveRule' | |
|
Instances
Create a value of GetArchiveRule
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:analyzerName:GetArchiveRule'
, getArchiveRule_analyzerName
- The name of the analyzer to retrieve rules from.
$sel:ruleName:GetArchiveRule'
, getArchiveRule_ruleName
- The name of the rule to retrieve.
Request Lenses
getArchiveRule_analyzerName :: Lens' GetArchiveRule Text Source #
The name of the analyzer to retrieve rules from.
getArchiveRule_ruleName :: Lens' GetArchiveRule Text Source #
The name of the rule to retrieve.
Destructuring the Response
data GetArchiveRuleResponse Source #
The response to the request.
See: newGetArchiveRuleResponse
smart constructor.
GetArchiveRuleResponse' | |
|
Instances
newGetArchiveRuleResponse Source #
Create a value of GetArchiveRuleResponse
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:GetArchiveRuleResponse'
, getArchiveRuleResponse_httpStatus
- The response's http status code.
$sel:archiveRule:GetArchiveRuleResponse'
, getArchiveRuleResponse_archiveRule
- Undocumented member.
Response Lenses
getArchiveRuleResponse_httpStatus :: Lens' GetArchiveRuleResponse Int Source #
The response's http status code.
getArchiveRuleResponse_archiveRule :: Lens' GetArchiveRuleResponse ArchiveRuleSummary Source #
Undocumented member.