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 |
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.
ModifyCacheSubnetGroup' | |
|
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.
ModifyCacheSubnetGroupResponse' | |
|
Instances
Eq ModifyCacheSubnetGroupResponse Source # | |
Read ModifyCacheSubnetGroupResponse Source # | |
Show ModifyCacheSubnetGroupResponse Source # | |
Defined in Amazonka.ElastiCache.ModifyCacheSubnetGroup | |
Generic ModifyCacheSubnetGroupResponse Source # | |
NFData ModifyCacheSubnetGroupResponse Source # | |
Defined in Amazonka.ElastiCache.ModifyCacheSubnetGroup rnf :: ModifyCacheSubnetGroupResponse -> () # | |
type Rep ModifyCacheSubnetGroupResponse Source # | |
Defined in Amazonka.ElastiCache.ModifyCacheSubnetGroup type Rep ModifyCacheSubnetGroupResponse = D1 ('MetaData "ModifyCacheSubnetGroupResponse" "Amazonka.ElastiCache.ModifyCacheSubnetGroup" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "ModifyCacheSubnetGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheSubnetGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheSubnetGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.