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.CopyOptionGroup

Description

Copies the specified option group.

Synopsis

Creating a Request

data CopyOptionGroup Source #

See: newCopyOptionGroup smart constructor.

Constructors

CopyOptionGroup' 

Fields

Instances

Instances details
Eq CopyOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

Read CopyOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

Show CopyOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

Generic CopyOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

Associated Types

type Rep CopyOptionGroup :: Type -> Type #

NFData CopyOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

Methods

rnf :: CopyOptionGroup -> () #

Hashable CopyOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

AWSRequest CopyOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

Associated Types

type AWSResponse CopyOptionGroup #

ToHeaders CopyOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

ToPath CopyOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

ToQuery CopyOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

type Rep CopyOptionGroup Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

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

Defined in Amazonka.RDS.CopyOptionGroup

newCopyOptionGroup Source #

Create a value of CopyOptionGroup 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:CopyOptionGroup', copyOptionGroup_tags - Undocumented member.

$sel:sourceOptionGroupIdentifier:CopyOptionGroup', copyOptionGroup_sourceOptionGroupIdentifier - The identifier for the source option group.

Constraints:

  • Must specify a valid option group.

$sel:targetOptionGroupIdentifier:CopyOptionGroup', copyOptionGroup_targetOptionGroupIdentifier - The identifier for the copied option group.

Constraints:

  • Can't be null, empty, or blank
  • Must contain from 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: my-option-group

$sel:targetOptionGroupDescription:CopyOptionGroup', copyOptionGroup_targetOptionGroupDescription - The description for the copied option group.

Request Lenses

copyOptionGroup_sourceOptionGroupIdentifier :: Lens' CopyOptionGroup Text Source #

The identifier for the source option group.

Constraints:

  • Must specify a valid option group.

copyOptionGroup_targetOptionGroupIdentifier :: Lens' CopyOptionGroup Text Source #

The identifier for the copied option group.

Constraints:

  • Can't be null, empty, or blank
  • Must contain from 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: my-option-group

copyOptionGroup_targetOptionGroupDescription :: Lens' CopyOptionGroup Text Source #

The description for the copied option group.

Destructuring the Response

data CopyOptionGroupResponse Source #

See: newCopyOptionGroupResponse smart constructor.

Constructors

CopyOptionGroupResponse' 

Fields

Instances

Instances details
Eq CopyOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

Read CopyOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

Show CopyOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

Generic CopyOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

Associated Types

type Rep CopyOptionGroupResponse :: Type -> Type #

NFData CopyOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

Methods

rnf :: CopyOptionGroupResponse -> () #

type Rep CopyOptionGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.CopyOptionGroup

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

newCopyOptionGroupResponse Source #

Create a value of CopyOptionGroupResponse 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:CopyOptionGroupResponse', copyOptionGroupResponse_optionGroup - Undocumented member.

$sel:httpStatus:CopyOptionGroupResponse', copyOptionGroupResponse_httpStatus - The response's http status code.

Response Lenses