amazonka-eks-2.0: Amazon Elastic Kubernetes Service 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.EKS.DescribeAddonVersions

Description

Describes the versions for an add-on. Information such as the Kubernetes versions that you can use the add-on with, the owner, publisher, and the type of the add-on are returned.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeAddonVersions Source #

See: newDescribeAddonVersions smart constructor.

Constructors

DescribeAddonVersions' 

Fields

  • addonName :: Maybe Text

    The name of the add-on. The name must match one of the names returned by ListAddons .

  • kubernetesVersion :: Maybe Text

    The Kubernetes versions that you can use the add-on with.

  • maxResults :: Maybe Natural

    The maximum number of results to return.

  • nextToken :: Maybe Text

    The nextToken value returned from a previous paginated DescribeAddonVersionsRequest where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

    This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

  • owners :: Maybe [Text]

    The owner of the add-on. For valid owners, don't specify a value for this property.

  • publishers :: Maybe [Text]

    The publisher of the add-on. For valid publishers, don't specify a value for this property.

  • types :: Maybe [Text]

    The type of the add-on. For valid types, don't specify a value for this property.

Instances

Instances details
ToHeaders DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

ToPath DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

ToQuery DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

AWSPager DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

AWSRequest DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

Associated Types

type AWSResponse DescribeAddonVersions #

Generic DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

Associated Types

type Rep DescribeAddonVersions :: Type -> Type #

Read DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

Show DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

NFData DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

Methods

rnf :: DescribeAddonVersions -> () #

Eq DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

Hashable DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

type AWSResponse DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

type Rep DescribeAddonVersions Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

type Rep DescribeAddonVersions = D1 ('MetaData "DescribeAddonVersions" "Amazonka.EKS.DescribeAddonVersions" "amazonka-eks-2.0-7cAibD4zEbE2zPO6gnUh5m" 'False) (C1 ('MetaCons "DescribeAddonVersions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "addonName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "kubernetesVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "owners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "publishers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "types") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))

newDescribeAddonVersions :: DescribeAddonVersions Source #

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

DescribeAddonVersions, describeAddonVersions_addonName - The name of the add-on. The name must match one of the names returned by ListAddons .

$sel:kubernetesVersion:DescribeAddonVersions', describeAddonVersions_kubernetesVersion - The Kubernetes versions that you can use the add-on with.

$sel:maxResults:DescribeAddonVersions', describeAddonVersions_maxResults - The maximum number of results to return.

DescribeAddonVersions, describeAddonVersions_nextToken - The nextToken value returned from a previous paginated DescribeAddonVersionsRequest where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

$sel:owners:DescribeAddonVersions', describeAddonVersions_owners - The owner of the add-on. For valid owners, don't specify a value for this property.

$sel:publishers:DescribeAddonVersions', describeAddonVersions_publishers - The publisher of the add-on. For valid publishers, don't specify a value for this property.

DescribeAddonVersions, describeAddonVersions_types - The type of the add-on. For valid types, don't specify a value for this property.

Request Lenses

describeAddonVersions_addonName :: Lens' DescribeAddonVersions (Maybe Text) Source #

The name of the add-on. The name must match one of the names returned by ListAddons .

describeAddonVersions_kubernetesVersion :: Lens' DescribeAddonVersions (Maybe Text) Source #

The Kubernetes versions that you can use the add-on with.

describeAddonVersions_nextToken :: Lens' DescribeAddonVersions (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribeAddonVersionsRequest where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

describeAddonVersions_owners :: Lens' DescribeAddonVersions (Maybe [Text]) Source #

The owner of the add-on. For valid owners, don't specify a value for this property.

describeAddonVersions_publishers :: Lens' DescribeAddonVersions (Maybe [Text]) Source #

The publisher of the add-on. For valid publishers, don't specify a value for this property.

describeAddonVersions_types :: Lens' DescribeAddonVersions (Maybe [Text]) Source #

The type of the add-on. For valid types, don't specify a value for this property.

Destructuring the Response

data DescribeAddonVersionsResponse Source #

See: newDescribeAddonVersionsResponse smart constructor.

Constructors

DescribeAddonVersionsResponse' 

Fields

  • addons :: Maybe [AddonInfo]

    The list of available versions with Kubernetes version compatibility and other properties.

  • nextToken :: Maybe Text

    The nextToken value returned from a previous paginated DescribeAddonVersionsResponse where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

    This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeAddonVersionsResponse Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

Associated Types

type Rep DescribeAddonVersionsResponse :: Type -> Type #

Read DescribeAddonVersionsResponse Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

Show DescribeAddonVersionsResponse Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

NFData DescribeAddonVersionsResponse Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

Eq DescribeAddonVersionsResponse Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

type Rep DescribeAddonVersionsResponse Source # 
Instance details

Defined in Amazonka.EKS.DescribeAddonVersions

type Rep DescribeAddonVersionsResponse = D1 ('MetaData "DescribeAddonVersionsResponse" "Amazonka.EKS.DescribeAddonVersions" "amazonka-eks-2.0-7cAibD4zEbE2zPO6gnUh5m" 'False) (C1 ('MetaCons "DescribeAddonVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "addons") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AddonInfo])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeAddonVersionsResponse Source #

Create a value of DescribeAddonVersionsResponse 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:addons:DescribeAddonVersionsResponse', describeAddonVersionsResponse_addons - The list of available versions with Kubernetes version compatibility and other properties.

DescribeAddonVersions, describeAddonVersionsResponse_nextToken - The nextToken value returned from a previous paginated DescribeAddonVersionsResponse where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

$sel:httpStatus:DescribeAddonVersionsResponse', describeAddonVersionsResponse_httpStatus - The response's http status code.

Response Lenses

describeAddonVersionsResponse_addons :: Lens' DescribeAddonVersionsResponse (Maybe [AddonInfo]) Source #

The list of available versions with Kubernetes version compatibility and other properties.

describeAddonVersionsResponse_nextToken :: Lens' DescribeAddonVersionsResponse (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribeAddonVersionsResponse where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.