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 |
Deletes the specified managed prefix list. You must first remove all references to the prefix list in your resources.
Synopsis
- data DeleteManagedPrefixList = DeleteManagedPrefixList' {
- dryRun :: Maybe Bool
- prefixListId :: Text
- newDeleteManagedPrefixList :: Text -> DeleteManagedPrefixList
- deleteManagedPrefixList_dryRun :: Lens' DeleteManagedPrefixList (Maybe Bool)
- deleteManagedPrefixList_prefixListId :: Lens' DeleteManagedPrefixList Text
- data DeleteManagedPrefixListResponse = DeleteManagedPrefixListResponse' {}
- newDeleteManagedPrefixListResponse :: Int -> DeleteManagedPrefixListResponse
- deleteManagedPrefixListResponse_prefixList :: Lens' DeleteManagedPrefixListResponse (Maybe ManagedPrefixList)
- deleteManagedPrefixListResponse_httpStatus :: Lens' DeleteManagedPrefixListResponse Int
Creating a Request
data DeleteManagedPrefixList Source #
See: newDeleteManagedPrefixList
smart constructor.
DeleteManagedPrefixList' | |
|
Instances
newDeleteManagedPrefixList Source #
Create a value of DeleteManagedPrefixList
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:dryRun:DeleteManagedPrefixList'
, deleteManagedPrefixList_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
DeleteManagedPrefixList
, deleteManagedPrefixList_prefixListId
- The ID of the prefix list.
Request Lenses
deleteManagedPrefixList_dryRun :: Lens' DeleteManagedPrefixList (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
deleteManagedPrefixList_prefixListId :: Lens' DeleteManagedPrefixList Text Source #
The ID of the prefix list.
Destructuring the Response
data DeleteManagedPrefixListResponse Source #
See: newDeleteManagedPrefixListResponse
smart constructor.
DeleteManagedPrefixListResponse' | |
|
Instances
Generic DeleteManagedPrefixListResponse Source # | |
Read DeleteManagedPrefixListResponse Source # | |
Show DeleteManagedPrefixListResponse Source # | |
Defined in Amazonka.EC2.DeleteManagedPrefixList | |
NFData DeleteManagedPrefixListResponse Source # | |
Defined in Amazonka.EC2.DeleteManagedPrefixList rnf :: DeleteManagedPrefixListResponse -> () # | |
Eq DeleteManagedPrefixListResponse Source # | |
type Rep DeleteManagedPrefixListResponse Source # | |
Defined in Amazonka.EC2.DeleteManagedPrefixList type Rep DeleteManagedPrefixListResponse = D1 ('MetaData "DeleteManagedPrefixListResponse" "Amazonka.EC2.DeleteManagedPrefixList" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteManagedPrefixListResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "prefixList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ManagedPrefixList)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteManagedPrefixListResponse Source #
Create a value of DeleteManagedPrefixListResponse
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:
DeleteManagedPrefixListResponse
, deleteManagedPrefixListResponse_prefixList
- Information about the prefix list.
$sel:httpStatus:DeleteManagedPrefixListResponse'
, deleteManagedPrefixListResponse_httpStatus
- The response's http status code.
Response Lenses
deleteManagedPrefixListResponse_prefixList :: Lens' DeleteManagedPrefixListResponse (Maybe ManagedPrefixList) Source #
Information about the prefix list.
deleteManagedPrefixListResponse_httpStatus :: Lens' DeleteManagedPrefixListResponse Int Source #
The response's http status code.