libZSservicesZSamazonka-memorydbZSamazonka-memorydb
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.MemoryDb.DescribeEngineVersions

Description

Returns a list of the available Redis engine versions.

Synopsis

Creating a Request

data DescribeEngineVersions Source #

See: newDescribeEngineVersions smart constructor.

Constructors

DescribeEngineVersions' 

Fields

  • engineVersion :: Maybe Text

    The Redis engine version

  • defaultOnly :: Maybe Bool

    If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.

  • nextToken :: Maybe Text

    An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • parameterGroupFamily :: Maybe Text

    The name of a specific parameter group family to return details for.

  • maxResults :: Maybe Int

    The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Instances

Instances details
Eq DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

Read DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

Show DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

Generic DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

Associated Types

type Rep DescribeEngineVersions :: Type -> Type #

NFData DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

Methods

rnf :: DescribeEngineVersions -> () #

Hashable DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

ToJSON DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

AWSRequest DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

Associated Types

type AWSResponse DescribeEngineVersions #

ToHeaders DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

ToPath DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

ToQuery DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

type Rep DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

type Rep DescribeEngineVersions = D1 ('MetaData "DescribeEngineVersions" "Amazonka.MemoryDb.DescribeEngineVersions" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "DescribeEngineVersions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "parameterGroupFamily") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))
type AWSResponse DescribeEngineVersions Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

newDescribeEngineVersions :: DescribeEngineVersions Source #

Create a value of DescribeEngineVersions 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:engineVersion:DescribeEngineVersions', describeEngineVersions_engineVersion - The Redis engine version

$sel:defaultOnly:DescribeEngineVersions', describeEngineVersions_defaultOnly - If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.

$sel:nextToken:DescribeEngineVersions', describeEngineVersions_nextToken - An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

$sel:parameterGroupFamily:DescribeEngineVersions', describeEngineVersions_parameterGroupFamily - The name of a specific parameter group family to return details for.

$sel:maxResults:DescribeEngineVersions', describeEngineVersions_maxResults - The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Request Lenses

describeEngineVersions_defaultOnly :: Lens' DescribeEngineVersions (Maybe Bool) Source #

If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.

describeEngineVersions_nextToken :: Lens' DescribeEngineVersions (Maybe Text) Source #

An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

describeEngineVersions_parameterGroupFamily :: Lens' DescribeEngineVersions (Maybe Text) Source #

The name of a specific parameter group family to return details for.

describeEngineVersions_maxResults :: Lens' DescribeEngineVersions (Maybe Int) Source #

The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Destructuring the Response

data DescribeEngineVersionsResponse Source #

See: newDescribeEngineVersionsResponse smart constructor.

Constructors

DescribeEngineVersionsResponse' 

Fields

  • nextToken :: Maybe Text

    An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • engineVersions :: Maybe [EngineVersionInfo]

    A list of engine version details. Each element in the list contains detailed information about one engine version.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

Read DescribeEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

Show DescribeEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

Generic DescribeEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

Associated Types

type Rep DescribeEngineVersionsResponse :: Type -> Type #

NFData DescribeEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

type Rep DescribeEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeEngineVersions

type Rep DescribeEngineVersionsResponse = D1 ('MetaData "DescribeEngineVersionsResponse" "Amazonka.MemoryDb.DescribeEngineVersions" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "DescribeEngineVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "engineVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EngineVersionInfo])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeEngineVersionsResponse Source #

Create a value of DescribeEngineVersionsResponse 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:nextToken:DescribeEngineVersions', describeEngineVersionsResponse_nextToken - An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

$sel:engineVersions:DescribeEngineVersionsResponse', describeEngineVersionsResponse_engineVersions - A list of engine version details. Each element in the list contains detailed information about one engine version.

$sel:httpStatus:DescribeEngineVersionsResponse', describeEngineVersionsResponse_httpStatus - The response's http status code.

Response Lenses

describeEngineVersionsResponse_nextToken :: Lens' DescribeEngineVersionsResponse (Maybe Text) Source #

An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

describeEngineVersionsResponse_engineVersions :: Lens' DescribeEngineVersionsResponse (Maybe [EngineVersionInfo]) Source #

A list of engine version details. Each element in the list contains detailed information about one engine version.