| 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.DeleteCacheSubnetGroup
Description
Deletes a cache subnet group.
You cannot delete a default cache subnet group or one that is associated with any clusters.
Synopsis
- data DeleteCacheSubnetGroup = DeleteCacheSubnetGroup' {}
- newDeleteCacheSubnetGroup :: Text -> DeleteCacheSubnetGroup
- deleteCacheSubnetGroup_cacheSubnetGroupName :: Lens' DeleteCacheSubnetGroup Text
- data DeleteCacheSubnetGroupResponse = DeleteCacheSubnetGroupResponse' {
- newDeleteCacheSubnetGroupResponse :: DeleteCacheSubnetGroupResponse
Creating a Request
data DeleteCacheSubnetGroup Source #
Represents the input of a DeleteCacheSubnetGroup operation.
See: newDeleteCacheSubnetGroup smart constructor.
Constructors
| DeleteCacheSubnetGroup' | |
Fields
| |
Instances
newDeleteCacheSubnetGroup Source #
Arguments
| :: Text | |
| -> DeleteCacheSubnetGroup |
Create a value of DeleteCacheSubnetGroup 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:
DeleteCacheSubnetGroup, deleteCacheSubnetGroup_cacheSubnetGroupName - The name of the cache subnet group to delete.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Request Lenses
deleteCacheSubnetGroup_cacheSubnetGroupName :: Lens' DeleteCacheSubnetGroup Text Source #
The name of the cache subnet group to delete.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Destructuring the Response
data DeleteCacheSubnetGroupResponse Source #
See: newDeleteCacheSubnetGroupResponse smart constructor.
Constructors
| DeleteCacheSubnetGroupResponse' | |
Instances
| Generic DeleteCacheSubnetGroupResponse Source # | |
Defined in Amazonka.ElastiCache.DeleteCacheSubnetGroup Associated Types type Rep DeleteCacheSubnetGroupResponse :: Type -> Type # | |
| Read DeleteCacheSubnetGroupResponse Source # | |
| Show DeleteCacheSubnetGroupResponse Source # | |
Defined in Amazonka.ElastiCache.DeleteCacheSubnetGroup Methods showsPrec :: Int -> DeleteCacheSubnetGroupResponse -> ShowS # show :: DeleteCacheSubnetGroupResponse -> String # showList :: [DeleteCacheSubnetGroupResponse] -> ShowS # | |
| NFData DeleteCacheSubnetGroupResponse Source # | |
Defined in Amazonka.ElastiCache.DeleteCacheSubnetGroup Methods rnf :: DeleteCacheSubnetGroupResponse -> () # | |
| Eq DeleteCacheSubnetGroupResponse Source # | |
| type Rep DeleteCacheSubnetGroupResponse Source # | |
Defined in Amazonka.ElastiCache.DeleteCacheSubnetGroup | |
newDeleteCacheSubnetGroupResponse :: DeleteCacheSubnetGroupResponse Source #
Create a value of DeleteCacheSubnetGroupResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.