Class: Aws::CodeGuruReviewer::Types::RequestMetadata

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codegurureviewer/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_infoTypes::EventInfo

Information about the event associated with a code review.

Returns:



1762
1763
1764
1765
1766
1767
1768
1769
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1762

class RequestMetadata < Struct.new(
  :request_id,
  :requester,
  :event_info,
  :vendor_name)
  SENSITIVE = []
  include Aws::Structure
end

#request_idString

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

Returns:

  • (String)


1762
1763
1764
1765
1766
1767
1768
1769
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1762

class RequestMetadata < Struct.new(
  :request_id,
  :requester,
  :event_info,
  :vendor_name)
  SENSITIVE = []
  include Aws::Structure
end

#requesterString

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.

Returns:

  • (String)


1762
1763
1764
1765
1766
1767
1768
1769
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1762

class RequestMetadata < Struct.new(
  :request_id,
  :requester,
  :event_info,
  :vendor_name)
  SENSITIVE = []
  include Aws::Structure
end

#vendor_nameString

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

[1]: docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html

Returns:

  • (String)


1762
1763
1764
1765
1766
1767
1768
1769
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1762

class RequestMetadata < Struct.new(
  :request_id,
  :requester,
  :event_info,
  :vendor_name)
  SENSITIVE = []
  include Aws::Structure
end