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 option group. You can create up to 20 option groups.
- 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)
- crsResponseStatus :: 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:
cogTags
- Undocumented member.cogOptionGroupName
- Specifies the name of the option group to be created. Constraints: * Must be 1 to 255 letters, numbers, or hyphens * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens Example:myoptiongroup
cogEngineName
- Specifies the name of the engine that this option group should be associated with.cogMajorEngineVersion
- Specifies the major version of the engine that this option group should be associated with.cogOptionGroupDescription
- The description of the option group.
data CreateOptionGroup Source #
See: createOptionGroup
smart constructor.
Request Lenses
cogOptionGroupName :: Lens' CreateOptionGroup Text Source #
Specifies the name of the option group to be created. Constraints: * Must be 1 to 255 letters, numbers, 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:
crsOptionGroup
- Undocumented member.crsResponseStatus
- -- | The response status code.
data CreateOptionGroupResponse Source #
See: createOptionGroupResponse
smart constructor.
Response Lenses
crsOptionGroup :: Lens' CreateOptionGroupResponse (Maybe OptionGroup) Source #
Undocumented member.
crsResponseStatus :: Lens' CreateOptionGroupResponse Int Source #
- - | The response status code.