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

Description

Returns a list of orderable cluster options. Before you create a new cluster you can use this operation to find what options are available, such as the EC2 Availability Zones (AZ) in the specific Amazon Web Services Region that you can specify, and the node types you can request. The node types differ by available storage, memory, CPU and price. With the cost involved you might want to obtain a list of cluster options in the specific region and specify values when creating a cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeOrderableClusterOptions Source #

See: newDescribeOrderableClusterOptions smart constructor.

Constructors

DescribeOrderableClusterOptions' 

Fields

  • marker :: Maybe Text

    An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeOrderableClusterOptions 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: 100

    Constraints: minimum 20, maximum 100.

  • clusterVersion :: Maybe Text

    The version filter value. Specify this parameter to show only the available offerings matching the specified version.

    Default: All versions.

    Constraints: Must be one of the version returned from DescribeClusterVersions.

  • nodeType :: Maybe Text

    The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.

Instances

Instances details
Eq DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

Read DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

Show DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

Generic DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

Associated Types

type Rep DescribeOrderableClusterOptions :: Type -> Type #

NFData DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

Hashable DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

AWSPager DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

AWSRequest DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

ToHeaders DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

ToPath DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

ToQuery DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

type Rep DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

type Rep DescribeOrderableClusterOptions = D1 ('MetaData "DescribeOrderableClusterOptions" "Amazonka.Redshift.DescribeOrderableClusterOptions" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeOrderableClusterOptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "clusterVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nodeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse DescribeOrderableClusterOptions Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

newDescribeOrderableClusterOptions :: DescribeOrderableClusterOptions Source #

Create a value of DescribeOrderableClusterOptions 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:marker:DescribeOrderableClusterOptions', describeOrderableClusterOptions_marker - An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeOrderableClusterOptions 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:DescribeOrderableClusterOptions', describeOrderableClusterOptions_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: 100

Constraints: minimum 20, maximum 100.

$sel:clusterVersion:DescribeOrderableClusterOptions', describeOrderableClusterOptions_clusterVersion - The version filter value. Specify this parameter to show only the available offerings matching the specified version.

Default: All versions.

Constraints: Must be one of the version returned from DescribeClusterVersions.

$sel:nodeType:DescribeOrderableClusterOptions', describeOrderableClusterOptions_nodeType - The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.

Request Lenses

describeOrderableClusterOptions_marker :: Lens' DescribeOrderableClusterOptions (Maybe Text) Source #

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeOrderableClusterOptions 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.

describeOrderableClusterOptions_maxRecords :: Lens' DescribeOrderableClusterOptions (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: 100

Constraints: minimum 20, maximum 100.

describeOrderableClusterOptions_clusterVersion :: Lens' DescribeOrderableClusterOptions (Maybe Text) Source #

The version filter value. Specify this parameter to show only the available offerings matching the specified version.

Default: All versions.

Constraints: Must be one of the version returned from DescribeClusterVersions.

describeOrderableClusterOptions_nodeType :: Lens' DescribeOrderableClusterOptions (Maybe Text) Source #

The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.

Destructuring the Response

data DescribeOrderableClusterOptionsResponse Source #

Contains the output from the DescribeOrderableClusterOptions action.

See: newDescribeOrderableClusterOptionsResponse smart constructor.

Constructors

DescribeOrderableClusterOptionsResponse' 

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.

  • orderableClusterOptions :: Maybe [OrderableClusterOption]

    An OrderableClusterOption structure containing information about orderable options for the cluster.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeOrderableClusterOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

Read DescribeOrderableClusterOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

Show DescribeOrderableClusterOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

Generic DescribeOrderableClusterOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

NFData DescribeOrderableClusterOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

type Rep DescribeOrderableClusterOptionsResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeOrderableClusterOptions

type Rep DescribeOrderableClusterOptionsResponse = D1 ('MetaData "DescribeOrderableClusterOptionsResponse" "Amazonka.Redshift.DescribeOrderableClusterOptions" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeOrderableClusterOptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "orderableClusterOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OrderableClusterOption])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeOrderableClusterOptionsResponse Source #

Create a value of DescribeOrderableClusterOptionsResponse 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:marker:DescribeOrderableClusterOptions', describeOrderableClusterOptionsResponse_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:orderableClusterOptions:DescribeOrderableClusterOptionsResponse', describeOrderableClusterOptionsResponse_orderableClusterOptions - An OrderableClusterOption structure containing information about orderable options for the cluster.

$sel:httpStatus:DescribeOrderableClusterOptionsResponse', describeOrderableClusterOptionsResponse_httpStatus - The response's http status code.

Response Lenses

describeOrderableClusterOptionsResponse_marker :: Lens' DescribeOrderableClusterOptionsResponse (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.

describeOrderableClusterOptionsResponse_orderableClusterOptions :: Lens' DescribeOrderableClusterOptionsResponse (Maybe [OrderableClusterOption]) Source #

An OrderableClusterOption structure containing information about orderable options for the cluster.