amazonka-rds-1.2.0.1: Amazon Relational Database Service SDK.

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

Network.AWS.RDS.CopyOptionGroup

Contents

Description

Copies the specified option group.

See: AWS API Reference for CopyOptionGroup.

Synopsis

Creating a Request

copyOptionGroup Source

Creates a value of CopyOptionGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

cTags :: Lens' CopyOptionGroup [Tag] Source

Undocumented member.

cSourceOptionGroupIdentifier :: Lens' CopyOptionGroup Text Source

The identifier or ARN for the source option group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

Constraints:

  • Must specify a valid option group.
  • If the source option group is in the same region as the copy, specify a valid option group identifier, for example 'my-option-group', or a valid ARN.
  • If the source option group is in a different region than the copy, specify a valid option group ARN, for example 'arn:aws:rds:us-west-2:123456789012:og:special-options'.

cTargetOptionGroupIdentifier :: Lens' CopyOptionGroup Text Source

The identifier for the copied option group.

Constraints:

  • Cannot be null, empty, or blank
  • Must contain from 1 to 255 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

Example: 'my-option-group'

cTargetOptionGroupDescription :: Lens' CopyOptionGroup Text Source

The description for the copied option group.

Destructuring the Response

copyOptionGroupResponse Source

Creates a value of CopyOptionGroupResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

cogrsStatus :: Lens' CopyOptionGroupResponse Int Source

The response status code.