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.ModifyCacheSubnetGroup
Description
Modifies an existing cache subnet group.
Synopsis
- data ModifyCacheSubnetGroup = ModifyCacheSubnetGroup' {}
- newModifyCacheSubnetGroup :: Text -> ModifyCacheSubnetGroup
- modifyCacheSubnetGroup_subnetIds :: Lens' ModifyCacheSubnetGroup (Maybe [Text])
- modifyCacheSubnetGroup_cacheSubnetGroupDescription :: Lens' ModifyCacheSubnetGroup (Maybe Text)
- modifyCacheSubnetGroup_cacheSubnetGroupName :: Lens' ModifyCacheSubnetGroup Text
- data ModifyCacheSubnetGroupResponse = ModifyCacheSubnetGroupResponse' {}
- newModifyCacheSubnetGroupResponse :: Int -> ModifyCacheSubnetGroupResponse
- modifyCacheSubnetGroupResponse_cacheSubnetGroup :: Lens' ModifyCacheSubnetGroupResponse (Maybe CacheSubnetGroup)
- modifyCacheSubnetGroupResponse_httpStatus :: Lens' ModifyCacheSubnetGroupResponse Int
Creating a Request
data ModifyCacheSubnetGroup Source #
Represents the input of a ModifyCacheSubnetGroup
operation.
See: newModifyCacheSubnetGroup
smart constructor.
Constructors
ModifyCacheSubnetGroup' | |
Fields
|
Instances
newModifyCacheSubnetGroup Source #
Create a value of ModifyCacheSubnetGroup
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:subnetIds:ModifyCacheSubnetGroup'
, modifyCacheSubnetGroup_subnetIds
- The EC2 subnet IDs for the cache subnet group.
$sel:cacheSubnetGroupDescription:ModifyCacheSubnetGroup'
, modifyCacheSubnetGroup_cacheSubnetGroupDescription
- A description of the cache subnet group.
$sel:cacheSubnetGroupName:ModifyCacheSubnetGroup'
, modifyCacheSubnetGroup_cacheSubnetGroupName
- The name for the cache subnet group. This value is stored as a lowercase
string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
Request Lenses
modifyCacheSubnetGroup_subnetIds :: Lens' ModifyCacheSubnetGroup (Maybe [Text]) Source #
The EC2 subnet IDs for the cache subnet group.
modifyCacheSubnetGroup_cacheSubnetGroupDescription :: Lens' ModifyCacheSubnetGroup (Maybe Text) Source #
A description of the cache subnet group.
modifyCacheSubnetGroup_cacheSubnetGroupName :: Lens' ModifyCacheSubnetGroup Text Source #
The name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
Destructuring the Response
data ModifyCacheSubnetGroupResponse Source #
See: newModifyCacheSubnetGroupResponse
smart constructor.
Constructors
ModifyCacheSubnetGroupResponse' | |
Fields
|
Instances
newModifyCacheSubnetGroupResponse Source #
Create a value of ModifyCacheSubnetGroupResponse
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:cacheSubnetGroup:ModifyCacheSubnetGroupResponse'
, modifyCacheSubnetGroupResponse_cacheSubnetGroup
- Undocumented member.
$sel:httpStatus:ModifyCacheSubnetGroupResponse'
, modifyCacheSubnetGroupResponse_httpStatus
- The response's http status code.
Response Lenses
modifyCacheSubnetGroupResponse_cacheSubnetGroup :: Lens' ModifyCacheSubnetGroupResponse (Maybe CacheSubnetGroup) Source #
Undocumented member.
modifyCacheSubnetGroupResponse_httpStatus :: Lens' ModifyCacheSubnetGroupResponse Int Source #
The response's http status code.