amazonka-robomaker-2.0: Amazon RoboMaker 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.RobOMaker.ListWorldTemplates

Description

Lists world templates.

This operation returns paginated results.

Synopsis

Creating a Request

data ListWorldTemplates Source #

See: newListWorldTemplates smart constructor.

Constructors

ListWorldTemplates' 

Fields

  • maxResults :: Maybe Int

    When this parameter is used, ListWorldTemplates only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListWorldTemplates request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListWorldTemplates returns up to 100 results and a nextToken value if applicable.

  • nextToken :: Maybe Text

    If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldTemplates again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

Instances

Instances details
ToJSON ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

ToHeaders ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

ToPath ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

ToQuery ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

AWSPager ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

AWSRequest ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

Associated Types

type AWSResponse ListWorldTemplates #

Generic ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

Associated Types

type Rep ListWorldTemplates :: Type -> Type #

Read ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

Show ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

NFData ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

Methods

rnf :: ListWorldTemplates -> () #

Eq ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

Hashable ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

type AWSResponse ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

type Rep ListWorldTemplates Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

type Rep ListWorldTemplates = D1 ('MetaData "ListWorldTemplates" "Amazonka.RobOMaker.ListWorldTemplates" "amazonka-robomaker-2.0-7StvfiX8F7FIYnuj4Jp3Jq" 'False) (C1 ('MetaCons "ListWorldTemplates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListWorldTemplates :: ListWorldTemplates Source #

Create a value of ListWorldTemplates 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:ListWorldTemplates', listWorldTemplates_maxResults - When this parameter is used, ListWorldTemplates only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListWorldTemplates request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListWorldTemplates returns up to 100 results and a nextToken value if applicable.

ListWorldTemplates, listWorldTemplates_nextToken - If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldTemplates again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

Request Lenses

listWorldTemplates_maxResults :: Lens' ListWorldTemplates (Maybe Int) Source #

When this parameter is used, ListWorldTemplates only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListWorldTemplates request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListWorldTemplates returns up to 100 results and a nextToken value if applicable.

listWorldTemplates_nextToken :: Lens' ListWorldTemplates (Maybe Text) Source #

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldTemplates again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

Destructuring the Response

data ListWorldTemplatesResponse Source #

See: newListWorldTemplatesResponse smart constructor.

Constructors

ListWorldTemplatesResponse' 

Fields

  • nextToken :: Maybe Text

    If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldTemplates again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

  • templateSummaries :: Maybe [TemplateSummary]

    Summary information for templates.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListWorldTemplatesResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

Associated Types

type Rep ListWorldTemplatesResponse :: Type -> Type #

Read ListWorldTemplatesResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

Show ListWorldTemplatesResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

NFData ListWorldTemplatesResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

Eq ListWorldTemplatesResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

type Rep ListWorldTemplatesResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListWorldTemplates

type Rep ListWorldTemplatesResponse = D1 ('MetaData "ListWorldTemplatesResponse" "Amazonka.RobOMaker.ListWorldTemplates" "amazonka-robomaker-2.0-7StvfiX8F7FIYnuj4Jp3Jq" 'False) (C1 ('MetaCons "ListWorldTemplatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "templateSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TemplateSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListWorldTemplatesResponse Source #

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

ListWorldTemplates, listWorldTemplatesResponse_nextToken - If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldTemplates again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

$sel:templateSummaries:ListWorldTemplatesResponse', listWorldTemplatesResponse_templateSummaries - Summary information for templates.

$sel:httpStatus:ListWorldTemplatesResponse', listWorldTemplatesResponse_httpStatus - The response's http status code.

Response Lenses

listWorldTemplatesResponse_nextToken :: Lens' ListWorldTemplatesResponse (Maybe Text) Source #

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldTemplates again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.