| 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 |
Network.AWS.RDS.CopyDBParameterGroup
Description
Copies the specified DB parameter group.
- copyDBParameterGroup :: Text -> Text -> Text -> CopyDBParameterGroup
- data CopyDBParameterGroup
- cdpgTags :: Lens' CopyDBParameterGroup [Tag]
- cdpgSourceDBParameterGroupIdentifier :: Lens' CopyDBParameterGroup Text
- cdpgTargetDBParameterGroupIdentifier :: Lens' CopyDBParameterGroup Text
- cdpgTargetDBParameterGroupDescription :: Lens' CopyDBParameterGroup Text
- copyDBParameterGroupResponse :: Int -> CopyDBParameterGroupResponse
- data CopyDBParameterGroupResponse
- cdbpgrsDBParameterGroup :: Lens' CopyDBParameterGroupResponse (Maybe DBParameterGroup)
- cdbpgrsResponseStatus :: Lens' CopyDBParameterGroupResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> CopyDBParameterGroup |
Creates a value of CopyDBParameterGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdpgTags- Undocumented member.cdpgSourceDBParameterGroupIdentifier- The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) . Constraints: * Must specify a valid DB parameter group. * Must specify a valid DB parameter group identifier, for examplemy-db-param-group, or a valid ARN.cdpgTargetDBParameterGroupIdentifier- The identifier for the copied DB parameter 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-db-parameter-groupcdpgTargetDBParameterGroupDescription- A description for the copied DB parameter group.
data CopyDBParameterGroup Source #
See: copyDBParameterGroup smart constructor.
Instances
Request Lenses
cdpgSourceDBParameterGroupIdentifier :: Lens' CopyDBParameterGroup Text Source #
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) . Constraints: * Must specify a valid DB parameter group. * Must specify a valid DB parameter group identifier, for example my-db-param-group , or a valid ARN.
cdpgTargetDBParameterGroupIdentifier :: Lens' CopyDBParameterGroup Text Source #
The identifier for the copied DB parameter 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-db-parameter-group
cdpgTargetDBParameterGroupDescription :: Lens' CopyDBParameterGroup Text Source #
A description for the copied DB parameter group.
Destructuring the Response
copyDBParameterGroupResponse Source #
Arguments
| :: Int | |
| -> CopyDBParameterGroupResponse |
Creates a value of CopyDBParameterGroupResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdbpgrsDBParameterGroup- Undocumented member.cdbpgrsResponseStatus- -- | The response status code.
data CopyDBParameterGroupResponse Source #
See: copyDBParameterGroupResponse smart constructor.
Instances
Response Lenses
cdbpgrsDBParameterGroup :: Lens' CopyDBParameterGroupResponse (Maybe DBParameterGroup) Source #
Undocumented member.
cdbpgrsResponseStatus :: Lens' CopyDBParameterGroupResponse Int Source #
- - | The response status code.