| 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.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 #
Arguments
| :: Text | |
| -> DeleteCacheSecurityGroup |
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:
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
| Generic DeleteCacheSecurityGroupResponse Source # | |
Defined in Amazonka.ElastiCache.DeleteCacheSecurityGroup Associated Types type Rep DeleteCacheSecurityGroupResponse :: Type -> Type # | |
| Read DeleteCacheSecurityGroupResponse Source # | |
| Show DeleteCacheSecurityGroupResponse Source # | |
Defined in Amazonka.ElastiCache.DeleteCacheSecurityGroup Methods showsPrec :: Int -> DeleteCacheSecurityGroupResponse -> ShowS # | |
| NFData DeleteCacheSecurityGroupResponse Source # | |
Defined in Amazonka.ElastiCache.DeleteCacheSecurityGroup Methods rnf :: DeleteCacheSecurityGroupResponse -> () # | |
| Eq DeleteCacheSecurityGroupResponse Source # | |
| 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.