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 |
Amazonka.ElastiCache.DeleteCacheSecurityGroup
Description
Deletes a cache security group.
You cannot delete a cache security group if it is associated with any clusters.
Synopsis
- data DeleteCacheSecurityGroup = DeleteCacheSecurityGroup' {}
- newDeleteCacheSecurityGroup :: Text -> DeleteCacheSecurityGroup
- deleteCacheSecurityGroup_cacheSecurityGroupName :: Lens' DeleteCacheSecurityGroup Text
- data DeleteCacheSecurityGroupResponse = DeleteCacheSecurityGroupResponse' {
- newDeleteCacheSecurityGroupResponse :: DeleteCacheSecurityGroupResponse
Creating a Request
data DeleteCacheSecurityGroup Source #
Represents the input of a DeleteCacheSecurityGroup
operation.
See: newDeleteCacheSecurityGroup
smart constructor.
Constructors
DeleteCacheSecurityGroup' | |
Fields
|
Instances
newDeleteCacheSecurityGroup Source #
Create a value of DeleteCacheSecurityGroup
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:cacheSecurityGroupName:DeleteCacheSecurityGroup'
, deleteCacheSecurityGroup_cacheSecurityGroupName
- The name of the cache security group to delete.
You cannot delete the default security group.
Request Lenses
deleteCacheSecurityGroup_cacheSecurityGroupName :: Lens' DeleteCacheSecurityGroup Text Source #
The name of the cache security group to delete.
You cannot delete the default security group.
Destructuring the Response
data DeleteCacheSecurityGroupResponse Source #
See: newDeleteCacheSecurityGroupResponse
smart constructor.
Constructors
DeleteCacheSecurityGroupResponse' | |
Instances
Eq DeleteCacheSecurityGroupResponse Source # | |
Read DeleteCacheSecurityGroupResponse Source # | |
Show DeleteCacheSecurityGroupResponse Source # | |
Defined in Amazonka.ElastiCache.DeleteCacheSecurityGroup Methods showsPrec :: Int -> DeleteCacheSecurityGroupResponse -> ShowS # | |
Generic DeleteCacheSecurityGroupResponse Source # | |
Defined in Amazonka.ElastiCache.DeleteCacheSecurityGroup Associated Types type Rep DeleteCacheSecurityGroupResponse :: Type -> Type # | |
NFData DeleteCacheSecurityGroupResponse Source # | |
Defined in Amazonka.ElastiCache.DeleteCacheSecurityGroup Methods rnf :: DeleteCacheSecurityGroupResponse -> () # | |
type Rep DeleteCacheSecurityGroupResponse Source # | |
newDeleteCacheSecurityGroupResponse :: DeleteCacheSecurityGroupResponse Source #
Create a value of DeleteCacheSecurityGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.