libZSservicesZSamazonka-codebuildZSamazonka-codebuild
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.CodeBuild.ListSharedProjects

Description

Gets a list of projects that are shared with other Amazon Web Services accounts or users.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSharedProjects Source #

See: newListSharedProjects smart constructor.

Constructors

ListSharedProjects' 

Fields

  • sortOrder :: Maybe SortOrderType

    The order in which to list shared build projects. Valid values include:

    • ASCENDING: List in ascending order.
    • DESCENDING: List in descending order.
  • nextToken :: Maybe Text

    During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

  • maxResults :: Maybe Natural

    The maximum number of paginated shared build projects returned per response. Use nextToken to iterate pages in the list of returned Project objects. The default value is 100.

  • sortBy :: Maybe SharedResourceSortByType

    The criterion to be used to list build projects shared with the current Amazon Web Services account or user. Valid values include:

    • ARN: List based on the ARN.
    • MODIFIED_TIME: List based on when information about the shared project was last changed.

Instances

Instances details
Eq ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

Read ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

Show ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

Generic ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

Associated Types

type Rep ListSharedProjects :: Type -> Type #

NFData ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

Methods

rnf :: ListSharedProjects -> () #

Hashable ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

ToJSON ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

AWSPager ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

AWSRequest ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

Associated Types

type AWSResponse ListSharedProjects #

ToHeaders ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

ToPath ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

ToQuery ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

type Rep ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

type Rep ListSharedProjects = D1 ('MetaData "ListSharedProjects" "Amazonka.CodeBuild.ListSharedProjects" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "ListSharedProjects'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortOrderType)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "sortBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SharedResourceSortByType)))))
type AWSResponse ListSharedProjects Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

newListSharedProjects :: ListSharedProjects Source #

Create a value of ListSharedProjects 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:sortOrder:ListSharedProjects', listSharedProjects_sortOrder - The order in which to list shared build projects. Valid values include:

  • ASCENDING: List in ascending order.
  • DESCENDING: List in descending order.

$sel:nextToken:ListSharedProjects', listSharedProjects_nextToken - During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

$sel:maxResults:ListSharedProjects', listSharedProjects_maxResults - The maximum number of paginated shared build projects returned per response. Use nextToken to iterate pages in the list of returned Project objects. The default value is 100.

$sel:sortBy:ListSharedProjects', listSharedProjects_sortBy - The criterion to be used to list build projects shared with the current Amazon Web Services account or user. Valid values include:

  • ARN: List based on the ARN.
  • MODIFIED_TIME: List based on when information about the shared project was last changed.

Request Lenses

listSharedProjects_sortOrder :: Lens' ListSharedProjects (Maybe SortOrderType) Source #

The order in which to list shared build projects. Valid values include:

  • ASCENDING: List in ascending order.
  • DESCENDING: List in descending order.

listSharedProjects_nextToken :: Lens' ListSharedProjects (Maybe Text) Source #

During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

listSharedProjects_maxResults :: Lens' ListSharedProjects (Maybe Natural) Source #

The maximum number of paginated shared build projects returned per response. Use nextToken to iterate pages in the list of returned Project objects. The default value is 100.

listSharedProjects_sortBy :: Lens' ListSharedProjects (Maybe SharedResourceSortByType) Source #

The criterion to be used to list build projects shared with the current Amazon Web Services account or user. Valid values include:

  • ARN: List based on the ARN.
  • MODIFIED_TIME: List based on when information about the shared project was last changed.

Destructuring the Response

data ListSharedProjectsResponse Source #

See: newListSharedProjectsResponse smart constructor.

Constructors

ListSharedProjectsResponse' 

Fields

  • nextToken :: Maybe Text

    During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

  • projects :: Maybe (NonEmpty Text)

    The list of ARNs for the build projects shared with the current Amazon Web Services account or user.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListSharedProjectsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

Read ListSharedProjectsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

Show ListSharedProjectsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

Generic ListSharedProjectsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

Associated Types

type Rep ListSharedProjectsResponse :: Type -> Type #

NFData ListSharedProjectsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

type Rep ListSharedProjectsResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.ListSharedProjects

type Rep ListSharedProjectsResponse = D1 ('MetaData "ListSharedProjectsResponse" "Amazonka.CodeBuild.ListSharedProjects" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "ListSharedProjectsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "projects") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSharedProjectsResponse Source #

Create a value of ListSharedProjectsResponse 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:ListSharedProjects', listSharedProjectsResponse_nextToken - During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

$sel:projects:ListSharedProjectsResponse', listSharedProjectsResponse_projects - The list of ARNs for the build projects shared with the current Amazon Web Services account or user.

$sel:httpStatus:ListSharedProjectsResponse', listSharedProjectsResponse_httpStatus - The response's http status code.

Response Lenses

listSharedProjectsResponse_nextToken :: Lens' ListSharedProjectsResponse (Maybe Text) Source #

During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

listSharedProjectsResponse_projects :: Lens' ListSharedProjectsResponse (Maybe (NonEmpty Text)) Source #

The list of ARNs for the build projects shared with the current Amazon Web Services account or user.