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 DB parameter group.
See: AWS API Reference for CopyDBParameterGroup.
- 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
:: 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:
data CopyDBParameterGroup Source
See: copyDBParameterGroup
smart constructor.
Request Lenses
cdpgTags :: Lens' CopyDBParameterGroup [Tag] Source
Undocumented member.
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.
- If the source DB parameter group is in the same region as the copy, specify a valid DB parameter group identifier, for example 'my-db-param-group', or a valid ARN.
- If the source DB parameter group is in a different region than the copy, specify a valid DB parameter group ARN, for example 'arn:aws:rds:us-west-2:123456789012:pg:special-parameters'.
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 alphanumeric characters 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
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:
data CopyDBParameterGroupResponse Source
See: copyDBParameterGroupResponse
smart constructor.
Response Lenses
cdbpgrsDBParameterGroup :: Lens' CopyDBParameterGroupResponse (Maybe DBParameterGroup) Source
Undocumented member.
cdbpgrsResponseStatus :: Lens' CopyDBParameterGroupResponse Int Source
The response status code.