amazonka-redshift-2.0: Amazon Redshift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Redshift.DescribeNodeConfigurationOptions

Description

Returns properties of possible node configurations such as node type, number of nodes, and disk usage for the specified action type.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeNodeConfigurationOptions Source #

See: newDescribeNodeConfigurationOptions smart constructor.

Constructors

DescribeNodeConfigurationOptions' 

Fields

  • clusterIdentifier :: Maybe Text

    The identifier of the cluster to evaluate for possible node configurations.

  • filters :: Maybe [NodeConfigurationOptionsFilter]

    A set of name, operator, and value items to filter the results.

  • marker :: Maybe Text

    An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeNodeConfigurationOptions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

  • maxRecords :: Maybe Int

    The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

    Default: 500

    Constraints: minimum 100, maximum 500.

  • ownerAccount :: Maybe Text

    The Amazon Web Services account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.

  • snapshotArn :: Maybe Text

    The Amazon Resource Name (ARN) of the snapshot associated with the message to describe node configuration.

  • snapshotIdentifier :: Maybe Text

    The identifier of the snapshot to evaluate for possible node configurations.

  • actionType :: ActionType

    The action type to evaluate for possible node configurations. Specify "restore-cluster" to get configuration combinations based on an existing snapshot. Specify "recommend-node-config" to get configuration recommendations based on an existing cluster or snapshot. Specify "resize-cluster" to get configuration combinations for elastic resize based on an existing cluster.

Instances

Instances details
ToHeaders DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

ToPath DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

ToQuery DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

AWSPager DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

AWSRequest DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

Generic DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

Associated Types

type Rep DescribeNodeConfigurationOptions :: Type -> Type #

Read DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

Show DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

NFData DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

Eq DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

Hashable DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

type AWSResponse DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

type Rep DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

type Rep DescribeNodeConfigurationOptions = D1 ('MetaData "DescribeNodeConfigurationOptions" "Amazonka.Redshift.DescribeNodeConfigurationOptions" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "DescribeNodeConfigurationOptions'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NodeConfigurationOptionsFilter]))) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "ownerAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snapshotArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "snapshotIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "actionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionType)))))

newDescribeNodeConfigurationOptions Source #

Create a value of DescribeNodeConfigurationOptions 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:

DescribeNodeConfigurationOptions, describeNodeConfigurationOptions_clusterIdentifier - The identifier of the cluster to evaluate for possible node configurations.

$sel:filters:DescribeNodeConfigurationOptions', describeNodeConfigurationOptions_filters - A set of name, operator, and value items to filter the results.

DescribeNodeConfigurationOptions, describeNodeConfigurationOptions_marker - An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeNodeConfigurationOptions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

$sel:maxRecords:DescribeNodeConfigurationOptions', describeNodeConfigurationOptions_maxRecords - The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 500

Constraints: minimum 100, maximum 500.

DescribeNodeConfigurationOptions, describeNodeConfigurationOptions_ownerAccount - The Amazon Web Services account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.

$sel:snapshotArn:DescribeNodeConfigurationOptions', describeNodeConfigurationOptions_snapshotArn - The Amazon Resource Name (ARN) of the snapshot associated with the message to describe node configuration.

DescribeNodeConfigurationOptions, describeNodeConfigurationOptions_snapshotIdentifier - The identifier of the snapshot to evaluate for possible node configurations.

$sel:actionType:DescribeNodeConfigurationOptions', describeNodeConfigurationOptions_actionType - The action type to evaluate for possible node configurations. Specify "restore-cluster" to get configuration combinations based on an existing snapshot. Specify "recommend-node-config" to get configuration recommendations based on an existing cluster or snapshot. Specify "resize-cluster" to get configuration combinations for elastic resize based on an existing cluster.

Request Lenses

describeNodeConfigurationOptions_clusterIdentifier :: Lens' DescribeNodeConfigurationOptions (Maybe Text) Source #

The identifier of the cluster to evaluate for possible node configurations.

describeNodeConfigurationOptions_marker :: Lens' DescribeNodeConfigurationOptions (Maybe Text) Source #

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeNodeConfigurationOptions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

describeNodeConfigurationOptions_maxRecords :: Lens' DescribeNodeConfigurationOptions (Maybe Int) Source #

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 500

Constraints: minimum 100, maximum 500.

describeNodeConfigurationOptions_ownerAccount :: Lens' DescribeNodeConfigurationOptions (Maybe Text) Source #

The Amazon Web Services account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.

describeNodeConfigurationOptions_snapshotArn :: Lens' DescribeNodeConfigurationOptions (Maybe Text) Source #

The Amazon Resource Name (ARN) of the snapshot associated with the message to describe node configuration.

describeNodeConfigurationOptions_snapshotIdentifier :: Lens' DescribeNodeConfigurationOptions (Maybe Text) Source #

The identifier of the snapshot to evaluate for possible node configurations.

describeNodeConfigurationOptions_actionType :: Lens' DescribeNodeConfigurationOptions ActionType Source #

The action type to evaluate for possible node configurations. Specify "restore-cluster" to get configuration combinations based on an existing snapshot. Specify "recommend-node-config" to get configuration recommendations based on an existing cluster or snapshot. Specify "resize-cluster" to get configuration combinations for elastic resize based on an existing cluster.

Destructuring the Response

data DescribeNodeConfigurationOptionsResponse Source #

Constructors

DescribeNodeConfigurationOptionsResponse' 

Fields

  • marker :: Maybe Text

    A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

  • nodeConfigurationOptionList :: Maybe [NodeConfigurationOption]

    A list of valid node configurations.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeNodeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

Read DescribeNodeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

Show DescribeNodeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

NFData DescribeNodeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

Eq DescribeNodeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

type Rep DescribeNodeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

type Rep DescribeNodeConfigurationOptionsResponse = D1 ('MetaData "DescribeNodeConfigurationOptionsResponse" "Amazonka.Redshift.DescribeNodeConfigurationOptions" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "DescribeNodeConfigurationOptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nodeConfigurationOptionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NodeConfigurationOption])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeNodeConfigurationOptionsResponse Source #

Create a value of DescribeNodeConfigurationOptionsResponse 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:

DescribeNodeConfigurationOptions, describeNodeConfigurationOptionsResponse_marker - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

$sel:nodeConfigurationOptionList:DescribeNodeConfigurationOptionsResponse', describeNodeConfigurationOptionsResponse_nodeConfigurationOptionList - A list of valid node configurations.

$sel:httpStatus:DescribeNodeConfigurationOptionsResponse', describeNodeConfigurationOptionsResponse_httpStatus - The response's http status code.

Response Lenses

describeNodeConfigurationOptionsResponse_marker :: Lens' DescribeNodeConfigurationOptionsResponse (Maybe Text) Source #

A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.