RepositoryAssociation

public struct RepositoryAssociation : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The Amazon Resource Name (ARN) identifying the repository association.

    Declaration

    Swift

    public let associationArn: String?
  • The ID of the repository association.

    Declaration

    Swift

    public let associationId: String?
  • The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the AWS CodeStar Connections API Reference.

    Declaration

    Swift

    public let connectionArn: String?
  • The time, in milliseconds since the epoch, when the repository association was created.

    Declaration

    Swift

    public let createdTimeStamp: TimeStamp?
  • The time, in milliseconds since the epoch, when the repository association was last updated.

    Declaration

    Swift

    public let lastUpdatedTimeStamp: TimeStamp?
  • The name of the repository.

    Declaration

    Swift

    public let name: String?
  • The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.

    Declaration

    Swift

    public let owner: String?
  • The provider type of the repository association.

    Declaration

    Swift

    public let providerType: ProviderType?
  • The state of the repository association. The valid repository association states are: Associated: The repository association is complete. Associating: CodeGuru Reviewer is: Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review. If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered. Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository. Failed: The repository failed to associate or disassociate. Disassociating: CodeGuru Reviewer is removing the repository’s pull request notifications and source code access.

    Declaration

    Swift

    public let state: RepositoryAssociationState?
  • A description of why the repository association is in the current state.

    Declaration

    Swift

    public let stateReason: String?
  • Undocumented

    Declaration

    Swift

    public init(associationArn: String? = nil, associationId: String? = nil, connectionArn: String? = nil, createdTimeStamp: TimeStamp? = nil, lastUpdatedTimeStamp: TimeStamp? = nil, name: String? = nil, owner: String? = nil, providerType: ProviderType? = nil, state: RepositoryAssociationState? = nil, stateReason: String? = nil)