| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.RBin.DeleteRule
Description
Deletes a Recycle Bin retention rule. For more information, see Delete Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.
Synopsis
- data DeleteRule = DeleteRule' {
- identifier :: Text
- newDeleteRule :: Text -> DeleteRule
- deleteRule_identifier :: Lens' DeleteRule Text
- data DeleteRuleResponse = DeleteRuleResponse' {
- httpStatus :: Int
- newDeleteRuleResponse :: Int -> DeleteRuleResponse
- deleteRuleResponse_httpStatus :: Lens' DeleteRuleResponse Int
Creating a Request
data DeleteRule Source #
See: newDeleteRule smart constructor.
Constructors
| DeleteRule' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteRule |
Create a value of DeleteRule 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:
DeleteRule, deleteRule_identifier - The unique ID of the retention rule.
Request Lenses
deleteRule_identifier :: Lens' DeleteRule Text Source #
The unique ID of the retention rule.
Destructuring the Response
data DeleteRuleResponse Source #
See: newDeleteRuleResponse smart constructor.
Constructors
| DeleteRuleResponse' | |
Fields
| |
Instances
newDeleteRuleResponse Source #
Arguments
| :: Int | |
| -> DeleteRuleResponse |
Create a value of DeleteRuleResponse 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:DeleteRuleResponse', deleteRuleResponse_httpStatus - The response's http status code.
Response Lenses
deleteRuleResponse_httpStatus :: Lens' DeleteRuleResponse Int Source #
The response's http status code.