amazonka-resource-explorer-v2-2.0: Amazon Resource Explorer 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.ResourceExplorer2.ListSupportedResourceTypes

Description

Retrieves a list of all resource types currently supported by Amazon Web Services Resource Explorer.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSupportedResourceTypes Source #

See: newListSupportedResourceTypes smart constructor.

Constructors

ListSupportedResourceTypes' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results.

    An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

  • nextToken :: Maybe Text

    The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

Instances

Instances details
ToJSON ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

ToHeaders ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

ToPath ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

ToQuery ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

AWSPager ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

AWSRequest ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

Generic ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

Associated Types

type Rep ListSupportedResourceTypes :: Type -> Type #

Read ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

Show ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

NFData ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

Eq ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

Hashable ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

type AWSResponse ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

type Rep ListSupportedResourceTypes Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

type Rep ListSupportedResourceTypes = D1 ('MetaData "ListSupportedResourceTypes" "Amazonka.ResourceExplorer2.ListSupportedResourceTypes" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "ListSupportedResourceTypes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListSupportedResourceTypes :: ListSupportedResourceTypes Source #

Create a value of ListSupportedResourceTypes 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:maxResults:ListSupportedResourceTypes', listSupportedResourceTypes_maxResults - The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

ListSupportedResourceTypes, listSupportedResourceTypes_nextToken - The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

Request Lenses

listSupportedResourceTypes_maxResults :: Lens' ListSupportedResourceTypes (Maybe Natural) Source #

The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

listSupportedResourceTypes_nextToken :: Lens' ListSupportedResourceTypes (Maybe Text) Source #

The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

Destructuring the Response

data ListSupportedResourceTypesResponse Source #

Constructors

ListSupportedResourceTypesResponse' 

Fields

  • nextToken :: Maybe Text

    If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

  • resourceTypes :: Maybe [SupportedResourceType]

    The list of resource types supported by Resource Explorer.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListSupportedResourceTypesResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

Associated Types

type Rep ListSupportedResourceTypesResponse :: Type -> Type #

Read ListSupportedResourceTypesResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

Show ListSupportedResourceTypesResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

NFData ListSupportedResourceTypesResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

Eq ListSupportedResourceTypesResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

type Rep ListSupportedResourceTypesResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.ListSupportedResourceTypes

type Rep ListSupportedResourceTypesResponse = D1 ('MetaData "ListSupportedResourceTypesResponse" "Amazonka.ResourceExplorer2.ListSupportedResourceTypes" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "ListSupportedResourceTypesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SupportedResourceType])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSupportedResourceTypesResponse Source #

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

ListSupportedResourceTypes, listSupportedResourceTypesResponse_nextToken - If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

$sel:resourceTypes:ListSupportedResourceTypesResponse', listSupportedResourceTypesResponse_resourceTypes - The list of resource types supported by Resource Explorer.

$sel:httpStatus:ListSupportedResourceTypesResponse', listSupportedResourceTypesResponse_httpStatus - The response's http status code.

Response Lenses

listSupportedResourceTypesResponse_nextToken :: Lens' ListSupportedResourceTypesResponse (Maybe Text) Source #

If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.