CreateCodeReviewRequest

public struct CreateCodeReviewRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.

    Declaration

    Swift

    public let clientRequestToken: String?
  • The name of the code review. Each code review of the same code review type must have a unique name in your AWS account.

    Declaration

    Swift

    public let name: String
  • The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositories. A code review can only be created on an associated repository. This is the ARN of the associated repository.

    Declaration

    Swift

    public let repositoryAssociationArn: String
  • The type of code review to create. This is specified using a CodeReviewType object.

    Declaration

    Swift

    public let type: CodeReviewType
  • Undocumented

    Declaration

    Swift

    public init(clientRequestToken: String? = CreateCodeReviewRequest.idempotencyToken(), name: String, repositoryAssociationArn: String, type: CodeReviewType)
  • Declaration

    Swift

    public func validate(name: String) throws