libZSservicesZSamazonka-codecommitZSamazonka-codecommit
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.CodeCommit.DescribePullRequestEvents

Description

Returns information about one or more pull request events.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribePullRequestEvents Source #

See: newDescribePullRequestEvents smart constructor.

Constructors

DescribePullRequestEvents' 

Fields

  • pullRequestEventType :: Maybe PullRequestEventType

    Optional. The pull request event type about which you want to return information.

  • actorArn :: Maybe Text

    The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.

  • nextToken :: Maybe Text

    An enumeration token that, when provided in a request, returns the next batch of the results.

  • maxResults :: Maybe Int

    A non-zero, non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result.

  • pullRequestId :: Text

    The system-generated ID of the pull request. To get this ID, use ListPullRequests.

Instances

Instances details
Eq DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

Read DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

Show DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

Generic DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

Associated Types

type Rep DescribePullRequestEvents :: Type -> Type #

NFData DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

Hashable DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

ToJSON DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

AWSPager DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

AWSRequest DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

ToHeaders DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

ToPath DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

ToQuery DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

type Rep DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

type Rep DescribePullRequestEvents = D1 ('MetaData "DescribePullRequestEvents" "Amazonka.CodeCommit.DescribePullRequestEvents" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "DescribePullRequestEvents'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pullRequestEventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PullRequestEventType)) :*: S1 ('MetaSel ('Just "actorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "pullRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse DescribePullRequestEvents Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

newDescribePullRequestEvents Source #

Create a value of DescribePullRequestEvents 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:pullRequestEventType:DescribePullRequestEvents', describePullRequestEvents_pullRequestEventType - Optional. The pull request event type about which you want to return information.

$sel:actorArn:DescribePullRequestEvents', describePullRequestEvents_actorArn - The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.

$sel:nextToken:DescribePullRequestEvents', describePullRequestEvents_nextToken - An enumeration token that, when provided in a request, returns the next batch of the results.

$sel:maxResults:DescribePullRequestEvents', describePullRequestEvents_maxResults - A non-zero, non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result.

$sel:pullRequestId:DescribePullRequestEvents', describePullRequestEvents_pullRequestId - The system-generated ID of the pull request. To get this ID, use ListPullRequests.

Request Lenses

describePullRequestEvents_pullRequestEventType :: Lens' DescribePullRequestEvents (Maybe PullRequestEventType) Source #

Optional. The pull request event type about which you want to return information.

describePullRequestEvents_actorArn :: Lens' DescribePullRequestEvents (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.

describePullRequestEvents_nextToken :: Lens' DescribePullRequestEvents (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

describePullRequestEvents_maxResults :: Lens' DescribePullRequestEvents (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result.

describePullRequestEvents_pullRequestId :: Lens' DescribePullRequestEvents Text Source #

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

Destructuring the Response

data DescribePullRequestEventsResponse Source #

See: newDescribePullRequestEventsResponse smart constructor.

Constructors

DescribePullRequestEventsResponse' 

Fields

Instances

Instances details
Eq DescribePullRequestEventsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

Read DescribePullRequestEventsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

Show DescribePullRequestEventsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

Generic DescribePullRequestEventsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

Associated Types

type Rep DescribePullRequestEventsResponse :: Type -> Type #

NFData DescribePullRequestEventsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

type Rep DescribePullRequestEventsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DescribePullRequestEvents

type Rep DescribePullRequestEventsResponse = D1 ('MetaData "DescribePullRequestEventsResponse" "Amazonka.CodeCommit.DescribePullRequestEvents" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "DescribePullRequestEventsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "pullRequestEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PullRequestEvent]))))

newDescribePullRequestEventsResponse Source #

Create a value of DescribePullRequestEventsResponse 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:DescribePullRequestEvents', describePullRequestEventsResponse_nextToken - An enumeration token that can be used in a request to return the next batch of the results.

$sel:httpStatus:DescribePullRequestEventsResponse', describePullRequestEventsResponse_httpStatus - The response's http status code.

$sel:pullRequestEvents:DescribePullRequestEventsResponse', describePullRequestEventsResponse_pullRequestEvents - Information about the pull request events.

Response Lenses

describePullRequestEventsResponse_nextToken :: Lens' DescribePullRequestEventsResponse (Maybe Text) Source #

An enumeration token that can be used in a request to return the next batch of the results.