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.GetCommentReactions

Description

Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.

Synopsis

Creating a Request

data GetCommentReactions Source #

See: newGetCommentReactions smart constructor.

Constructors

GetCommentReactions' 

Fields

  • nextToken :: Maybe Text

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

  • reactionUserArn :: Maybe Text

    Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.

  • maxResults :: Maybe Int

    A non-zero, non-negative integer used to limit the number of returned results. The default is the same as the allowed maximum, 1,000.

  • commentId :: Text

    The ID of the comment for which you want to get reactions information.

Instances

Instances details
Eq GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

Read GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

Show GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

Generic GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

Associated Types

type Rep GetCommentReactions :: Type -> Type #

NFData GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

Methods

rnf :: GetCommentReactions -> () #

Hashable GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

ToJSON GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

AWSRequest GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

Associated Types

type AWSResponse GetCommentReactions #

ToHeaders GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

ToPath GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

ToQuery GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

type Rep GetCommentReactions Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

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

Defined in Amazonka.CodeCommit.GetCommentReactions

newGetCommentReactions Source #

Create a value of GetCommentReactions 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:GetCommentReactions', getCommentReactions_nextToken - An enumeration token that, when provided in a request, returns the next batch of the results.

$sel:reactionUserArn:GetCommentReactions', getCommentReactions_reactionUserArn - Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.

$sel:maxResults:GetCommentReactions', getCommentReactions_maxResults - A non-zero, non-negative integer used to limit the number of returned results. The default is the same as the allowed maximum, 1,000.

$sel:commentId:GetCommentReactions', getCommentReactions_commentId - The ID of the comment for which you want to get reactions information.

Request Lenses

getCommentReactions_nextToken :: Lens' GetCommentReactions (Maybe Text) Source #

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

getCommentReactions_reactionUserArn :: Lens' GetCommentReactions (Maybe Text) Source #

Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.

getCommentReactions_maxResults :: Lens' GetCommentReactions (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results. The default is the same as the allowed maximum, 1,000.

getCommentReactions_commentId :: Lens' GetCommentReactions Text Source #

The ID of the comment for which you want to get reactions information.

Destructuring the Response

data GetCommentReactionsResponse Source #

See: newGetCommentReactionsResponse smart constructor.

Constructors

GetCommentReactionsResponse' 

Fields

Instances

Instances details
Eq GetCommentReactionsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

Read GetCommentReactionsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

Show GetCommentReactionsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

Generic GetCommentReactionsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

Associated Types

type Rep GetCommentReactionsResponse :: Type -> Type #

NFData GetCommentReactionsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

type Rep GetCommentReactionsResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetCommentReactions

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

newGetCommentReactionsResponse Source #

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

$sel:httpStatus:GetCommentReactionsResponse', getCommentReactionsResponse_httpStatus - The response's http status code.

$sel:reactionsForComment:GetCommentReactionsResponse', getCommentReactionsResponse_reactionsForComment - An array of reactions to the specified comment.

Response Lenses

getCommentReactionsResponse_nextToken :: Lens' GetCommentReactionsResponse (Maybe Text) Source #

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