Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Copies the specified option group.
See: AWS API Reference for CopyOptionGroup.
- 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:
data CopyOptionGroup Source
See: copyOptionGroup
smart constructor.
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:
data CopyOptionGroupResponse Source
See: copyOptionGroupResponse
smart constructor.
Response Lenses
cogrsOptionGroup :: Lens' CopyOptionGroupResponse (Maybe OptionGroup) Source
Undocumented member.
cogrsResponseStatus :: Lens' CopyOptionGroupResponse Int Source
The response status code.