libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDS.CreateOptionGroup

Description

Creates a new option group. You can create up to 20 option groups.

Synopsis

Creating a Request

data CreateOptionGroup Source #

See: newCreateOptionGroup smart constructor.

Constructors

CreateOptionGroup' 

Fields

  • tags :: Maybe [Tag]

    Tags to assign to the option group.

  • optionGroupName :: Text

    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

  • engineName :: Text

    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
  • majorEngineVersion :: Text

    Specifies the major version of the engine that this option group should be associated with.

  • optionGroupDescription :: Text

    The description of the option group.

Instances

Instances details
Eq CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

Read CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

Show CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

Generic CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

Associated Types

type Rep CreateOptionGroup :: Type -> Type #

NFData CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

Methods

rnf :: CreateOptionGroup -> () #

Hashable CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

AWSRequest CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

Associated Types

type AWSResponse CreateOptionGroup #

ToHeaders CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

ToPath CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

ToQuery CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

type Rep CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

type Rep CreateOptionGroup = D1 ('MetaData "CreateOptionGroup" "Amazonka.RDS.CreateOptionGroup" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "CreateOptionGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "optionGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "engineName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "majorEngineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "optionGroupDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

newCreateOptionGroup Source #

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.

Destructuring the Response

data CreateOptionGroupResponse Source #

See: newCreateOptionGroupResponse smart constructor.

Constructors

CreateOptionGroupResponse' 

Fields

Instances

Instances details
Eq CreateOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

Read CreateOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

Show CreateOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

Generic CreateOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

Associated Types

type Rep CreateOptionGroupResponse :: Type -> Type #

NFData CreateOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

type Rep CreateOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateOptionGroup

type Rep CreateOptionGroupResponse = D1 ('MetaData "CreateOptionGroupResponse" "Amazonka.RDS.CreateOptionGroup" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "CreateOptionGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "optionGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OptionGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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