libZSservicesZSamazonka-ramZSamazonka-ram
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.RAM.ListResourceTypes

Description

Lists the shareable resource types supported by RAM.

Synopsis

Creating a Request

data ListResourceTypes Source #

See: newListResourceTypes smart constructor.

Constructors

ListResourceTypes' 

Fields

  • nextToken :: Maybe Text

    The token for the next page of results.

  • maxResults :: Maybe Natural

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Instances

Instances details
Eq ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

Read ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

Show ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

Generic ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

Associated Types

type Rep ListResourceTypes :: Type -> Type #

NFData ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

Methods

rnf :: ListResourceTypes -> () #

Hashable ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

ToJSON ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

AWSRequest ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

Associated Types

type AWSResponse ListResourceTypes #

ToHeaders ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

ToPath ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

ToQuery ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

type Rep ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

type Rep ListResourceTypes = D1 ('MetaData "ListResourceTypes" "Amazonka.RAM.ListResourceTypes" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "ListResourceTypes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListResourceTypes Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

newListResourceTypes :: ListResourceTypes Source #

Create a value of ListResourceTypes 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:ListResourceTypes', listResourceTypes_nextToken - The token for the next page of results.

$sel:maxResults:ListResourceTypes', listResourceTypes_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Request Lenses

listResourceTypes_nextToken :: Lens' ListResourceTypes (Maybe Text) Source #

The token for the next page of results.

listResourceTypes_maxResults :: Lens' ListResourceTypes (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Destructuring the Response

data ListResourceTypesResponse Source #

See: newListResourceTypesResponse smart constructor.

Constructors

ListResourceTypesResponse' 

Fields

Instances

Instances details
Eq ListResourceTypesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

Read ListResourceTypesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

Show ListResourceTypesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

Generic ListResourceTypesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

Associated Types

type Rep ListResourceTypesResponse :: Type -> Type #

NFData ListResourceTypesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

type Rep ListResourceTypesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListResourceTypes

type Rep ListResourceTypesResponse = D1 ('MetaData "ListResourceTypesResponse" "Amazonka.RAM.ListResourceTypes" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "ListResourceTypesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ServiceNameAndResourceType])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListResourceTypesResponse Source #

Create a value of ListResourceTypesResponse 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:ListResourceTypes', listResourceTypesResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:resourceTypes:ListResourceTypesResponse', listResourceTypesResponse_resourceTypes - The shareable resource types supported by RAM.

$sel:httpStatus:ListResourceTypesResponse', listResourceTypesResponse_httpStatus - The response's http status code.

Response Lenses

listResourceTypesResponse_nextToken :: Lens' ListResourceTypesResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.