Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a new option group. You can create up to 20 option groups.
See: AWS API Reference for CreateOptionGroup.
- createOptionGroup :: Text -> Text -> Text -> Text -> CreateOptionGroup
- data CreateOptionGroup
- cogTags :: Lens' CreateOptionGroup [Tag]
- cogOptionGroupName :: Lens' CreateOptionGroup Text
- cogEngineName :: Lens' CreateOptionGroup Text
- cogMajorEngineVersion :: Lens' CreateOptionGroup Text
- cogOptionGroupDescription :: Lens' CreateOptionGroup Text
- createOptionGroupResponse :: Int -> CreateOptionGroupResponse
- data CreateOptionGroupResponse
- crsOptionGroup :: Lens' CreateOptionGroupResponse (Maybe OptionGroup)
- crsStatus :: Lens' CreateOptionGroupResponse Int
Creating a Request
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> CreateOptionGroup |
Creates a value of CreateOptionGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateOptionGroup Source
See: createOptionGroup
smart constructor.
Request Lenses
cogTags :: Lens' CreateOptionGroup [Tag] Source
Undocumented member.
cogOptionGroupName :: Lens' CreateOptionGroup Text Source
Specifies the name of the option group to be created.
Constraints:
- Must be 1 to 255 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
cogEngineName :: Lens' CreateOptionGroup Text Source
Specifies the name of the engine that this option group should be associated with.
cogMajorEngineVersion :: Lens' CreateOptionGroup Text Source
Specifies the major version of the engine that this option group should be associated with.
cogOptionGroupDescription :: Lens' CreateOptionGroup Text Source
The description of the option group.
Destructuring the Response
createOptionGroupResponse Source
Creates a value of CreateOptionGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateOptionGroupResponse Source
See: createOptionGroupResponse
smart constructor.
Response Lenses
crsOptionGroup :: Lens' CreateOptionGroupResponse (Maybe OptionGroup) Source
Undocumented member.
crsStatus :: Lens' CreateOptionGroupResponse Int Source
The response status code.