RequestMetadata - Amazon CodeGuru Reviewer

RequestMetadata

Metadata that is associated with a code review. This applies to both pull request and repository analysis code reviews.

Contents

EventInfo

Information about the event associated with a code review.

Type: EventInfo object

Required: No

Requester

An identifier, such as a name or account ID, that is associated with the requester. The Requester is used to capture the author/actor name of the event request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: ^\S(.*\S)?$

Required: No

RequestId

The ID of the request. This is required for a pull request code review.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Required: No

VendorName

The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.

Type: String

Valid Values: GitHub | GitLab | NativeS3

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: