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 |
Modifies the database revision of a cluster. The database revision is a unique revision of the database running in a cluster.
Synopsis
- data ModifyClusterDbRevision = ModifyClusterDbRevision' {}
- newModifyClusterDbRevision :: Text -> Text -> ModifyClusterDbRevision
- modifyClusterDbRevision_clusterIdentifier :: Lens' ModifyClusterDbRevision Text
- modifyClusterDbRevision_revisionTarget :: Lens' ModifyClusterDbRevision Text
- data ModifyClusterDbRevisionResponse = ModifyClusterDbRevisionResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newModifyClusterDbRevisionResponse :: Int -> ModifyClusterDbRevisionResponse
- modifyClusterDbRevisionResponse_cluster :: Lens' ModifyClusterDbRevisionResponse (Maybe Cluster)
- modifyClusterDbRevisionResponse_httpStatus :: Lens' ModifyClusterDbRevisionResponse Int
Creating a Request
data ModifyClusterDbRevision Source #
See: newModifyClusterDbRevision
smart constructor.
ModifyClusterDbRevision' | |
|
Instances
newModifyClusterDbRevision Source #
:: Text | |
-> Text | |
-> ModifyClusterDbRevision |
Create a value of ModifyClusterDbRevision
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:clusterIdentifier:ModifyClusterDbRevision'
, modifyClusterDbRevision_clusterIdentifier
- The unique identifier of a cluster whose database revision you want to
modify.
Example: examplecluster
$sel:revisionTarget:ModifyClusterDbRevision'
, modifyClusterDbRevision_revisionTarget
- The identifier of the database revision. You can retrieve this value
from the response to the DescribeClusterDbRevisions request.
Request Lenses
modifyClusterDbRevision_clusterIdentifier :: Lens' ModifyClusterDbRevision Text Source #
The unique identifier of a cluster whose database revision you want to modify.
Example: examplecluster
modifyClusterDbRevision_revisionTarget :: Lens' ModifyClusterDbRevision Text Source #
The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
Destructuring the Response
data ModifyClusterDbRevisionResponse Source #
See: newModifyClusterDbRevisionResponse
smart constructor.
ModifyClusterDbRevisionResponse' | |
|
Instances
Eq ModifyClusterDbRevisionResponse Source # | |
Read ModifyClusterDbRevisionResponse Source # | |
Show ModifyClusterDbRevisionResponse Source # | |
Defined in Amazonka.Redshift.ModifyClusterDbRevision | |
Generic ModifyClusterDbRevisionResponse Source # | |
NFData ModifyClusterDbRevisionResponse Source # | |
Defined in Amazonka.Redshift.ModifyClusterDbRevision rnf :: ModifyClusterDbRevisionResponse -> () # | |
type Rep ModifyClusterDbRevisionResponse Source # | |
Defined in Amazonka.Redshift.ModifyClusterDbRevision type Rep ModifyClusterDbRevisionResponse = D1 ('MetaData "ModifyClusterDbRevisionResponse" "Amazonka.Redshift.ModifyClusterDbRevision" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "ModifyClusterDbRevisionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newModifyClusterDbRevisionResponse Source #
Create a value of ModifyClusterDbRevisionResponse
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:cluster:ModifyClusterDbRevisionResponse'
, modifyClusterDbRevisionResponse_cluster
- Undocumented member.
$sel:httpStatus:ModifyClusterDbRevisionResponse'
, modifyClusterDbRevisionResponse_httpStatus
- The response's http status code.
Response Lenses
modifyClusterDbRevisionResponse_cluster :: Lens' ModifyClusterDbRevisionResponse (Maybe Cluster) Source #
Undocumented member.
modifyClusterDbRevisionResponse_httpStatus :: Lens' ModifyClusterDbRevisionResponse Int Source #
The response's http status code.