Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC).
- createCacheSubnetGroup :: Text -> Text -> CreateCacheSubnetGroup
- data CreateCacheSubnetGroup
- ccsgCacheSubnetGroupName :: Lens' CreateCacheSubnetGroup Text
- ccsgCacheSubnetGroupDescription :: Lens' CreateCacheSubnetGroup Text
- ccsgSubnetIds :: Lens' CreateCacheSubnetGroup [Text]
- createCacheSubnetGroupResponse :: Int -> CreateCacheSubnetGroupResponse
- data CreateCacheSubnetGroupResponse
- crsCacheSubnetGroup :: Lens' CreateCacheSubnetGroupResponse (Maybe CacheSubnetGroup)
- crsResponseStatus :: Lens' CreateCacheSubnetGroupResponse Int
Creating a Request
createCacheSubnetGroup Source #
Creates a value of CreateCacheSubnetGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccsgCacheSubnetGroupName
- A 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
ccsgCacheSubnetGroupDescription
- A description for the cache subnet group.ccsgSubnetIds
- A list of VPC subnet IDs for the cache subnet group.
data CreateCacheSubnetGroup Source #
Represents the input of a CreateCacheSubnetGroup
operation.
See: createCacheSubnetGroup
smart constructor.
Request Lenses
ccsgCacheSubnetGroupName :: Lens' CreateCacheSubnetGroup Text Source #
A 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
ccsgCacheSubnetGroupDescription :: Lens' CreateCacheSubnetGroup Text Source #
A description for the cache subnet group.
ccsgSubnetIds :: Lens' CreateCacheSubnetGroup [Text] Source #
A list of VPC subnet IDs for the cache subnet group.
Destructuring the Response
createCacheSubnetGroupResponse Source #
Creates a value of CreateCacheSubnetGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crsCacheSubnetGroup
- Undocumented member.crsResponseStatus
- -- | The response status code.
data CreateCacheSubnetGroupResponse Source #
See: createCacheSubnetGroupResponse
smart constructor.
Response Lenses
crsCacheSubnetGroup :: Lens' CreateCacheSubnetGroupResponse (Maybe CacheSubnetGroup) Source #
Undocumented member.
crsResponseStatus :: Lens' CreateCacheSubnetGroupResponse Int Source #
- - | The response status code.