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 whether a cluster can use AQUA (Advanced Query Accelerator).
Synopsis
- data ModifyAquaConfiguration = ModifyAquaConfiguration' {}
- newModifyAquaConfiguration :: Text -> ModifyAquaConfiguration
- modifyAquaConfiguration_aquaConfigurationStatus :: Lens' ModifyAquaConfiguration (Maybe AquaConfigurationStatus)
- modifyAquaConfiguration_clusterIdentifier :: Lens' ModifyAquaConfiguration Text
- data ModifyAquaConfigurationResponse = ModifyAquaConfigurationResponse' {}
- newModifyAquaConfigurationResponse :: Int -> ModifyAquaConfigurationResponse
- modifyAquaConfigurationResponse_aquaConfiguration :: Lens' ModifyAquaConfigurationResponse (Maybe AquaConfiguration)
- modifyAquaConfigurationResponse_httpStatus :: Lens' ModifyAquaConfigurationResponse Int
Creating a Request
data ModifyAquaConfiguration Source #
See: newModifyAquaConfiguration
smart constructor.
ModifyAquaConfiguration' | |
|
Instances
newModifyAquaConfiguration Source #
Create a value of ModifyAquaConfiguration
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:aquaConfigurationStatus:ModifyAquaConfiguration'
, modifyAquaConfiguration_aquaConfigurationStatus
- The new value of AQUA configuration status. Possible values include the
following.
- enabled - Use AQUA if it is available for the current Amazon Web Services Region and Amazon Redshift node type.
- disabled - Don't use AQUA.
- auto - Amazon Redshift determines whether to use AQUA.
$sel:clusterIdentifier:ModifyAquaConfiguration'
, modifyAquaConfiguration_clusterIdentifier
- The identifier of the cluster to be modified.
Request Lenses
modifyAquaConfiguration_aquaConfigurationStatus :: Lens' ModifyAquaConfiguration (Maybe AquaConfigurationStatus) Source #
The new value of AQUA configuration status. Possible values include the following.
- enabled - Use AQUA if it is available for the current Amazon Web Services Region and Amazon Redshift node type.
- disabled - Don't use AQUA.
- auto - Amazon Redshift determines whether to use AQUA.
modifyAquaConfiguration_clusterIdentifier :: Lens' ModifyAquaConfiguration Text Source #
The identifier of the cluster to be modified.
Destructuring the Response
data ModifyAquaConfigurationResponse Source #
See: newModifyAquaConfigurationResponse
smart constructor.
ModifyAquaConfigurationResponse' | |
|
Instances
Eq ModifyAquaConfigurationResponse Source # | |
Read ModifyAquaConfigurationResponse Source # | |
Show ModifyAquaConfigurationResponse Source # | |
Defined in Amazonka.Redshift.ModifyAquaConfiguration | |
Generic ModifyAquaConfigurationResponse Source # | |
NFData ModifyAquaConfigurationResponse Source # | |
Defined in Amazonka.Redshift.ModifyAquaConfiguration rnf :: ModifyAquaConfigurationResponse -> () # | |
type Rep ModifyAquaConfigurationResponse Source # | |
Defined in Amazonka.Redshift.ModifyAquaConfiguration type Rep ModifyAquaConfigurationResponse = D1 ('MetaData "ModifyAquaConfigurationResponse" "Amazonka.Redshift.ModifyAquaConfiguration" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "ModifyAquaConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "aquaConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AquaConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newModifyAquaConfigurationResponse Source #
Create a value of ModifyAquaConfigurationResponse
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:aquaConfiguration:ModifyAquaConfigurationResponse'
, modifyAquaConfigurationResponse_aquaConfiguration
- The updated AQUA configuration of the cluster.
$sel:httpStatus:ModifyAquaConfigurationResponse'
, modifyAquaConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
modifyAquaConfigurationResponse_aquaConfiguration :: Lens' ModifyAquaConfigurationResponse (Maybe AquaConfiguration) Source #
The updated AQUA configuration of the cluster.
modifyAquaConfigurationResponse_httpStatus :: Lens' ModifyAquaConfigurationResponse Int Source #
The response's http status code.