import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient"; import type { GetCommentReactionsInput, GetCommentReactionsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetCommentReactionsCommand}. */ export interface GetCommentReactionsCommandInput extends GetCommentReactionsInput { } /** * @public * * The output of {@link GetCommentReactionsCommand}. */ export interface GetCommentReactionsCommandOutput extends GetCommentReactionsOutput, __MetadataBearer { } declare const GetCommentReactionsCommand_base: { new (input: GetCommentReactionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetCommentReactionsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

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

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeCommitClient, GetCommentReactionsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import * // const { CodeCommitClient, GetCommentReactionsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import * // import type { CodeCommitClientConfig } from "@aws-sdk/client-codecommit"; * const config = {}; // type is CodeCommitClientConfig * const client = new CodeCommitClient(config); * const input = { // GetCommentReactionsInput * commentId: "STRING_VALUE", // required * reactionUserArn: "STRING_VALUE", * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new GetCommentReactionsCommand(input); * const response = await client.send(command); * // { // GetCommentReactionsOutput * // reactionsForComment: [ // ReactionsForCommentList // required * // { // ReactionForComment * // reaction: { // ReactionValueFormats * // emoji: "STRING_VALUE", * // shortCode: "STRING_VALUE", * // unicode: "STRING_VALUE", * // }, * // reactionUsers: [ // ReactionUsersList * // "STRING_VALUE", * // ], * // reactionsFromDeletedUsersCount: Number("int"), * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param GetCommentReactionsCommandInput - {@link GetCommentReactionsCommandInput} * @returns {@link GetCommentReactionsCommandOutput} * @see {@link GetCommentReactionsCommandInput} for command's `input` shape. * @see {@link GetCommentReactionsCommandOutput} for command's `response` shape. * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape. * * @throws {@link CommentDeletedException} (client fault) *

This comment has already been deleted. You cannot edit or delete a deleted comment.

* * @throws {@link CommentDoesNotExistException} (client fault) *

No comment exists with the provided ID. Verify that you have used the correct ID, and * then try again.

* * @throws {@link CommentIdRequiredException} (client fault) *

The comment ID is missing or null. A comment ID is required.

* * @throws {@link InvalidCommentIdException} (client fault) *

The comment ID is not in a valid format. Make sure that you have provided the full comment ID.

* * @throws {@link InvalidContinuationTokenException} (client fault) *

The specified continuation token is not valid.

* * @throws {@link InvalidMaxResultsException} (client fault) *

The specified number of maximum results is not valid.

* * @throws {@link InvalidReactionUserArnException} (client fault) *

The Amazon Resource Name (ARN) of the user or identity is not valid.

* * @throws {@link CodeCommitServiceException} *

Base exception class for all service exceptions from CodeCommit service.

* * * @public */ export declare class GetCommentReactionsCommand extends GetCommentReactionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetCommentReactionsInput; output: GetCommentReactionsOutput; }; sdk: { input: GetCommentReactionsCommandInput; output: GetCommentReactionsCommandOutput; }; }; }