libZSservicesZSamazonka-codestarZSamazonka-codestar
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.CodeStar.ListResources

Description

Lists resources associated with a project in AWS CodeStar.

This operation returns paginated results.

Synopsis

Creating a Request

data ListResources Source #

See: newListResources smart constructor.

Constructors

ListResources' 

Fields

  • nextToken :: Maybe Text

    The continuation token for the next set of results, if the results cannot be returned in one response.

  • maxResults :: Maybe Natural

    The maximum amount of data that can be contained in a single set of results.

  • projectId :: Text

    The ID of the project.

Instances

Instances details
Eq ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

Read ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

Show ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

Generic ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

Associated Types

type Rep ListResources :: Type -> Type #

NFData ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

Methods

rnf :: ListResources -> () #

Hashable ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

ToJSON ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

AWSPager ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

AWSRequest ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

Associated Types

type AWSResponse ListResources #

ToHeaders ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

ToPath ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

ToQuery ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

type Rep ListResources Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

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

Defined in Amazonka.CodeStar.ListResources

newListResources Source #

Create a value of ListResources 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:ListResources', listResources_nextToken - The continuation token for the next set of results, if the results cannot be returned in one response.

$sel:maxResults:ListResources', listResources_maxResults - The maximum amount of data that can be contained in a single set of results.

$sel:projectId:ListResources', listResources_projectId - The ID of the project.

Request Lenses

listResources_nextToken :: Lens' ListResources (Maybe Text) Source #

The continuation token for the next set of results, if the results cannot be returned in one response.

listResources_maxResults :: Lens' ListResources (Maybe Natural) Source #

The maximum amount of data that can be contained in a single set of results.

Destructuring the Response

data ListResourcesResponse Source #

See: newListResourcesResponse smart constructor.

Constructors

ListResourcesResponse' 

Fields

Instances

Instances details
Eq ListResourcesResponse Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

Read ListResourcesResponse Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

Show ListResourcesResponse Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

Generic ListResourcesResponse Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

Associated Types

type Rep ListResourcesResponse :: Type -> Type #

NFData ListResourcesResponse Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

Methods

rnf :: ListResourcesResponse -> () #

type Rep ListResourcesResponse Source # 
Instance details

Defined in Amazonka.CodeStar.ListResources

type Rep ListResourcesResponse = D1 ('MetaData "ListResourcesResponse" "Amazonka.CodeStar.ListResources" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "ListResourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Resource])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListResourcesResponse Source #

Create a value of ListResourcesResponse 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:resources:ListResourcesResponse', listResourcesResponse_resources - An array of resources associated with the project.

$sel:nextToken:ListResources', listResourcesResponse_nextToken - The continuation token to use when requesting the next set of results, if there are more results to be returned.

$sel:httpStatus:ListResourcesResponse', listResourcesResponse_httpStatus - The response's http status code.

Response Lenses

listResourcesResponse_resources :: Lens' ListResourcesResponse (Maybe [Resource]) Source #

An array of resources associated with the project.

listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text) Source #

The continuation token to use when requesting the next set of results, if there are more results to be returned.