Copyright | (c) 2013-2021 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 |
Copies the specified DB parameter group.
Synopsis
- data CopyDBParameterGroup = CopyDBParameterGroup' {}
- newCopyDBParameterGroup :: Text -> Text -> Text -> CopyDBParameterGroup
- copyDBParameterGroup_tags :: Lens' CopyDBParameterGroup (Maybe [Tag])
- copyDBParameterGroup_sourceDBParameterGroupIdentifier :: Lens' CopyDBParameterGroup Text
- copyDBParameterGroup_targetDBParameterGroupIdentifier :: Lens' CopyDBParameterGroup Text
- copyDBParameterGroup_targetDBParameterGroupDescription :: Lens' CopyDBParameterGroup Text
- data CopyDBParameterGroupResponse = CopyDBParameterGroupResponse' {}
- newCopyDBParameterGroupResponse :: Int -> CopyDBParameterGroupResponse
- copyDBParameterGroupResponse_dbParameterGroup :: Lens' CopyDBParameterGroupResponse (Maybe DBParameterGroup)
- copyDBParameterGroupResponse_httpStatus :: Lens' CopyDBParameterGroupResponse Int
Creating a Request
data CopyDBParameterGroup Source #
See: newCopyDBParameterGroup
smart constructor.
CopyDBParameterGroup' | |
|
Instances
newCopyDBParameterGroup Source #
:: Text | |
-> Text | |
-> Text |
|
-> CopyDBParameterGroup |
Create a value of CopyDBParameterGroup
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:CopyDBParameterGroup'
, copyDBParameterGroup_tags
- The tags to be assigned to the copied DB parameter group.
$sel:sourceDBParameterGroupIdentifier:CopyDBParameterGroup'
, copyDBParameterGroup_sourceDBParameterGroupIdentifier
- The identifier or ARN for the source DB parameter group. For information
about creating an ARN, see
Constructing an 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.
$sel:targetDBParameterGroupIdentifier:CopyDBParameterGroup'
, copyDBParameterGroup_targetDBParameterGroupIdentifier
- 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
$sel:targetDBParameterGroupDescription:CopyDBParameterGroup'
, copyDBParameterGroup_targetDBParameterGroupDescription
- A description for the copied DB parameter group.
Request Lenses
copyDBParameterGroup_tags :: Lens' CopyDBParameterGroup (Maybe [Tag]) Source #
The tags to be assigned to the copied DB parameter group.
copyDBParameterGroup_sourceDBParameterGroupIdentifier :: Lens' CopyDBParameterGroup Text Source #
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an 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.
copyDBParameterGroup_targetDBParameterGroupIdentifier :: 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
copyDBParameterGroup_targetDBParameterGroupDescription :: Lens' CopyDBParameterGroup Text Source #
A description for the copied DB parameter group.
Destructuring the Response
data CopyDBParameterGroupResponse Source #
See: newCopyDBParameterGroupResponse
smart constructor.
CopyDBParameterGroupResponse' | |
|
Instances
newCopyDBParameterGroupResponse Source #
Create a value of CopyDBParameterGroupResponse
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:dbParameterGroup:CopyDBParameterGroupResponse'
, copyDBParameterGroupResponse_dbParameterGroup
- Undocumented member.
$sel:httpStatus:CopyDBParameterGroupResponse'
, copyDBParameterGroupResponse_httpStatus
- The response's http status code.
Response Lenses
copyDBParameterGroupResponse_dbParameterGroup :: Lens' CopyDBParameterGroupResponse (Maybe DBParameterGroup) Source #
Undocumented member.
copyDBParameterGroupResponse_httpStatus :: Lens' CopyDBParameterGroupResponse Int Source #
The response's http status code.