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 |
Copies the specified option group.
Synopsis
- copyOptionGroup :: Text -> Text -> Text -> CopyOptionGroup
- data CopyOptionGroup
- cTags :: Lens' CopyOptionGroup [Tag]
- cSourceOptionGroupIdentifier :: Lens' CopyOptionGroup Text
- cTargetOptionGroupIdentifier :: Lens' CopyOptionGroup Text
- cTargetOptionGroupDescription :: Lens' CopyOptionGroup Text
- copyOptionGroupResponse :: Int -> CopyOptionGroupResponse
- data CopyOptionGroupResponse
- cogrsOptionGroup :: Lens' CopyOptionGroupResponse (Maybe OptionGroup)
- cogrsResponseStatus :: Lens' CopyOptionGroupResponse Int
Creating a Request
:: Text | |
-> Text | |
-> Text | |
-> CopyOptionGroup |
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:
cTags
- Undocumented member.cSourceOptionGroupIdentifier
- 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 AWS Region as the copy, specify a valid option group identifier, for examplemy-option-group
, or a valid ARN. * If the source option group is in a different AWS Region than the copy, specify a valid option group ARN, for examplearn:aws:rds:us-west-2:123456789012:og:special-options
.cTargetOptionGroupIdentifier
- The identifier for the copied option group. Constraints: * Cannot be null, empty, or blank * Must contain from 1 to 255 letters, numbers, or hyphens * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens Example:my-option-group
cTargetOptionGroupDescription
- The description for the copied option group.
data CopyOptionGroup Source #
See: copyOptionGroup
smart constructor.
Instances
Request Lenses
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 AWS 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 AWS 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 letters, numbers, 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:
cogrsOptionGroup
- Undocumented member.cogrsResponseStatus
- -- | The response status code.
data CopyOptionGroupResponse Source #
See: copyOptionGroupResponse
smart constructor.
Instances
Response Lenses
cogrsOptionGroup :: Lens' CopyOptionGroupResponse (Maybe OptionGroup) Source #
Undocumented member.
cogrsResponseStatus :: Lens' CopyOptionGroupResponse Int Source #
- - | The response status code.