PostCommentForPullRequestInput

public struct PostCommentForPullRequestInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment.

    Declaration

    Swift

    public let afterCommitId: String
  • The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.

    Declaration

    Swift

    public let beforeCommitId: String
  • A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

    Declaration

    Swift

    public let clientRequestToken: String?
  • The content of your comment on the change.

    Declaration

    Swift

    public let content: String
  • The location of the change where you want to post your comment. If no location is provided, the comment is posted as a general comment on the pull request difference between the before commit ID and the after commit ID.

    Declaration

    Swift

    public let location: Location?
  • The system-generated ID of the pull request. To get this ID, use ListPullRequests.

    Declaration

    Swift

    public let pullRequestId: String
  • The name of the repository where you want to post a comment on a pull request.

    Declaration

    Swift

    public let repositoryName: String
  • Undocumented

    Declaration

    Swift

    public init(afterCommitId: String, beforeCommitId: String, clientRequestToken: String? = PostCommentForPullRequestInput.idempotencyToken(), content: String, location: Location? = nil, pullRequestId: String, repositoryName: String)
  • Declaration

    Swift

    public func validate(name: String) throws