libZSservicesZSamazonka-redshiftZSamazonka-redshift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • snapshotIdentifier :: Maybe Text

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

  • filters :: Maybe [NodeConfigurationOptionsFilter]

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

  • clusterIdentifier :: Maybe Text

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

  • 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.

  • 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
Eq DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

Read DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

Show 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 #

NFData DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

Hashable 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

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

type Rep DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

type Rep DescribeNodeConfigurationOptions = D1 ('MetaData "DescribeNodeConfigurationOptions" "Amazonka.Redshift.DescribeNodeConfigurationOptions" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeNodeConfigurationOptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "snapshotIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NodeConfigurationOptionsFilter])) :*: S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((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 "actionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionType)))))
type AWSResponse DescribeNodeConfigurationOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

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:

$sel:snapshotIdentifier:DescribeNodeConfigurationOptions', describeNodeConfigurationOptions_snapshotIdentifier - The identifier of the snapshot to evaluate for possible node configurations.

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

$sel:clusterIdentifier:DescribeNodeConfigurationOptions', describeNodeConfigurationOptions_clusterIdentifier - The identifier of the cluster to evaluate for possible node configurations.

$sel:marker: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.

$sel:ownerAccount: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: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_snapshotIdentifier :: Lens' DescribeNodeConfigurationOptions (Maybe Text) Source #

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

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_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

  • nodeConfigurationOptionList :: Maybe [NodeConfigurationOption]

    A list of valid node configurations.

  • 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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq 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

Generic DescribeNodeConfigurationOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeNodeConfigurationOptions

NFData 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" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeNodeConfigurationOptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nodeConfigurationOptionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NodeConfigurationOption])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

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

$sel:marker: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: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.