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 |
Creates a new option group. You can create up to 20 option groups.
Synopsis
- data CreateOptionGroup = CreateOptionGroup' {}
- newCreateOptionGroup :: Text -> Text -> Text -> Text -> CreateOptionGroup
- createOptionGroup_tags :: Lens' CreateOptionGroup (Maybe [Tag])
- createOptionGroup_optionGroupName :: Lens' CreateOptionGroup Text
- createOptionGroup_engineName :: Lens' CreateOptionGroup Text
- createOptionGroup_majorEngineVersion :: Lens' CreateOptionGroup Text
- createOptionGroup_optionGroupDescription :: Lens' CreateOptionGroup Text
- data CreateOptionGroupResponse = CreateOptionGroupResponse' {}
- newCreateOptionGroupResponse :: Int -> CreateOptionGroupResponse
- createOptionGroupResponse_optionGroup :: Lens' CreateOptionGroupResponse (Maybe OptionGroup)
- createOptionGroupResponse_httpStatus :: Lens' CreateOptionGroupResponse Int
Creating a Request
data CreateOptionGroup Source #
See: newCreateOptionGroup
smart constructor.
CreateOptionGroup' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> CreateOptionGroup |
Create a value of CreateOptionGroup
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:tags:CreateOptionGroup'
, createOptionGroup_tags
- Tags to assign to the option group.
$sel:optionGroupName:CreateOptionGroup'
, createOptionGroup_optionGroupName
- 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
- Can't end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
$sel:engineName:CreateOptionGroup'
, createOptionGroup_engineName
- Specifies the name of the engine that this option group should be
associated with.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
$sel:majorEngineVersion:CreateOptionGroup'
, createOptionGroup_majorEngineVersion
- Specifies the major version of the engine that this option group should
be associated with.
$sel:optionGroupDescription:CreateOptionGroup'
, createOptionGroup_optionGroupDescription
- The description of the option group.
Request Lenses
createOptionGroup_tags :: Lens' CreateOptionGroup (Maybe [Tag]) Source #
Tags to assign to the option group.
createOptionGroup_optionGroupName :: 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
- Can't end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
createOptionGroup_engineName :: Lens' CreateOptionGroup Text Source #
Specifies the name of the engine that this option group should be associated with.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
createOptionGroup_majorEngineVersion :: Lens' CreateOptionGroup Text Source #
Specifies the major version of the engine that this option group should be associated with.
createOptionGroup_optionGroupDescription :: Lens' CreateOptionGroup Text Source #
The description of the option group.
Destructuring the Response
data CreateOptionGroupResponse Source #
See: newCreateOptionGroupResponse
smart constructor.
CreateOptionGroupResponse' | |
|
Instances
newCreateOptionGroupResponse Source #
Create a value of CreateOptionGroupResponse
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:optionGroup:CreateOptionGroupResponse'
, createOptionGroupResponse_optionGroup
- Undocumented member.
$sel:httpStatus:CreateOptionGroupResponse'
, createOptionGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createOptionGroupResponse_optionGroup :: Lens' CreateOptionGroupResponse (Maybe OptionGroup) Source #
Undocumented member.
createOptionGroupResponse_httpStatus :: Lens' CreateOptionGroupResponse Int Source #
The response's http status code.