| 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.Neptune.CopyDBClusterParameterGroup
Description
Copies the specified DB cluster parameter group.
Synopsis
- data CopyDBClusterParameterGroup = CopyDBClusterParameterGroup' {}
- newCopyDBClusterParameterGroup :: Text -> Text -> Text -> CopyDBClusterParameterGroup
- copyDBClusterParameterGroup_tags :: Lens' CopyDBClusterParameterGroup (Maybe [Tag])
- copyDBClusterParameterGroup_sourceDBClusterParameterGroupIdentifier :: Lens' CopyDBClusterParameterGroup Text
- copyDBClusterParameterGroup_targetDBClusterParameterGroupIdentifier :: Lens' CopyDBClusterParameterGroup Text
- copyDBClusterParameterGroup_targetDBClusterParameterGroupDescription :: Lens' CopyDBClusterParameterGroup Text
- data CopyDBClusterParameterGroupResponse = CopyDBClusterParameterGroupResponse' {}
- newCopyDBClusterParameterGroupResponse :: Int -> CopyDBClusterParameterGroupResponse
- copyDBClusterParameterGroupResponse_dbClusterParameterGroup :: Lens' CopyDBClusterParameterGroupResponse (Maybe DBClusterParameterGroup)
- copyDBClusterParameterGroupResponse_httpStatus :: Lens' CopyDBClusterParameterGroupResponse Int
Creating a Request
data CopyDBClusterParameterGroup Source #
See: newCopyDBClusterParameterGroup smart constructor.
Constructors
| CopyDBClusterParameterGroup' | |
Fields
| |
Instances
newCopyDBClusterParameterGroup Source #
Arguments
Create a value of CopyDBClusterParameterGroup 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:CopyDBClusterParameterGroup', copyDBClusterParameterGroup_tags - The tags to be assigned to the copied DB cluster parameter group.
$sel:sourceDBClusterParameterGroupIdentifier:CopyDBClusterParameterGroup', copyDBClusterParameterGroup_sourceDBClusterParameterGroupIdentifier - The identifier or Amazon Resource Name (ARN) for the source DB cluster
parameter group. For information about creating an ARN, see
Constructing an Amazon Resource Name (ARN).
Constraints:
- Must specify a valid DB cluster parameter group.
- If the source DB cluster parameter group is in the same Amazon
Region as the copy, specify a valid DB parameter group identifier,
for example
my-db-cluster-param-group, or a valid ARN. - If the source DB parameter group is in a different Amazon Region
than the copy, specify a valid DB cluster parameter group ARN, for
example
arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1.
$sel:targetDBClusterParameterGroupIdentifier:CopyDBClusterParameterGroup', copyDBClusterParameterGroup_targetDBClusterParameterGroupIdentifier - The identifier for the copied DB cluster 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-cluster-param-group1
$sel:targetDBClusterParameterGroupDescription:CopyDBClusterParameterGroup', copyDBClusterParameterGroup_targetDBClusterParameterGroupDescription - A description for the copied DB cluster parameter group.
Request Lenses
copyDBClusterParameterGroup_tags :: Lens' CopyDBClusterParameterGroup (Maybe [Tag]) Source #
The tags to be assigned to the copied DB cluster parameter group.
copyDBClusterParameterGroup_sourceDBClusterParameterGroupIdentifier :: Lens' CopyDBClusterParameterGroup Text Source #
The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).
Constraints:
- Must specify a valid DB cluster parameter group.
- If the source DB cluster parameter group is in the same Amazon
Region as the copy, specify a valid DB parameter group identifier,
for example
my-db-cluster-param-group, or a valid ARN. - If the source DB parameter group is in a different Amazon Region
than the copy, specify a valid DB cluster parameter group ARN, for
example
arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1.
copyDBClusterParameterGroup_targetDBClusterParameterGroupIdentifier :: Lens' CopyDBClusterParameterGroup Text Source #
The identifier for the copied DB cluster 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-cluster-param-group1
copyDBClusterParameterGroup_targetDBClusterParameterGroupDescription :: Lens' CopyDBClusterParameterGroup Text Source #
A description for the copied DB cluster parameter group.
Destructuring the Response
data CopyDBClusterParameterGroupResponse Source #
See: newCopyDBClusterParameterGroupResponse smart constructor.
Constructors
| CopyDBClusterParameterGroupResponse' | |
Fields
| |
Instances
newCopyDBClusterParameterGroupResponse Source #
Arguments
| :: Int | |
| -> CopyDBClusterParameterGroupResponse |
Create a value of CopyDBClusterParameterGroupResponse 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:
CopyDBClusterParameterGroupResponse, copyDBClusterParameterGroupResponse_dbClusterParameterGroup - Undocumented member.
$sel:httpStatus:CopyDBClusterParameterGroupResponse', copyDBClusterParameterGroupResponse_httpStatus - The response's http status code.
Response Lenses
copyDBClusterParameterGroupResponse_dbClusterParameterGroup :: Lens' CopyDBClusterParameterGroupResponse (Maybe DBClusterParameterGroup) Source #
Undocumented member.
copyDBClusterParameterGroupResponse_httpStatus :: Lens' CopyDBClusterParameterGroupResponse Int Source #
The response's http status code.