| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.RDS.CopyOptionGroup
Description
Copies the specified option group.
Synopsis
- data CopyOptionGroup = CopyOptionGroup' {}
- newCopyOptionGroup :: Text -> Text -> Text -> CopyOptionGroup
- copyOptionGroup_tags :: Lens' CopyOptionGroup (Maybe [Tag])
- copyOptionGroup_sourceOptionGroupIdentifier :: Lens' CopyOptionGroup Text
- copyOptionGroup_targetOptionGroupIdentifier :: Lens' CopyOptionGroup Text
- copyOptionGroup_targetOptionGroupDescription :: Lens' CopyOptionGroup Text
- data CopyOptionGroupResponse = CopyOptionGroupResponse' {}
- newCopyOptionGroupResponse :: Int -> CopyOptionGroupResponse
- copyOptionGroupResponse_optionGroup :: Lens' CopyOptionGroupResponse (Maybe OptionGroup)
- copyOptionGroupResponse_httpStatus :: Lens' CopyOptionGroupResponse Int
Creating a Request
data CopyOptionGroup Source #
See: newCopyOptionGroup smart constructor.
Constructors
| CopyOptionGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> CopyOptionGroup |
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_tags :: Lens' CopyOptionGroup (Maybe [Tag]) Source #
Undocumented member.
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
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
copyOptionGroupResponse_optionGroup :: Lens' CopyOptionGroupResponse (Maybe OptionGroup) Source #
Undocumented member.
copyOptionGroupResponse_httpStatus :: Lens' CopyOptionGroupResponse Int Source #
The response's http status code.