NAME

Paws::CodeBuild::UpdateWebhook - Arguments for method UpdateWebhook on Paws::CodeBuild

DESCRIPTION

This class represents the parameters used for calling the method UpdateWebhook on the AWS CodeBuild service. Use the attributes of this class as arguments to method UpdateWebhook.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateWebhook.

SYNOPSIS

my $codebuild = Paws->service('CodeBuild');
my $UpdateWebhookOutput = $codebuild->UpdateWebhook(
  ProjectName  => 'MyProjectName',
  BranchFilter => 'MyString',        # OPTIONAL
  BuildType    => 'BUILD',           # OPTIONAL
  FilterGroups => [
    [
      {
        Pattern => 'MyString',
        Type    => 'EVENT'
        , # values: EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
        ExcludeMatchedPattern => 1,    # OPTIONAL
      },
      ...
    ],
    ...
  ],    # OPTIONAL
  RotateSecret => 1,    # OPTIONAL
);

# Results:
my $Webhook = $UpdateWebhookOutput->Webhook;

# Returns a L<Paws::CodeBuild::UpdateWebhookOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/codebuild/UpdateWebhook

ATTRIBUTES

BranchFilter => Str

A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built.

It is recommended that you use filterGroups instead of branchFilter.

BuildType => Str

Specifies the type of build this webhook will trigger.

Valid values are: "BUILD", "BUILD_BATCH"

FilterGroups => ArrayRef[ArrayRef[Paws::CodeBuild::WebhookFilter]]

An array of arrays of WebhookFilter objects used to determine if a webhook event can trigger a build. A filter group must contain at least one EVENT WebhookFilter.

REQUIRED ProjectName => Str

The name of the CodeBuild project.

RotateSecret => Bool

A boolean value that specifies whether the associated GitHub repository's secret token should be updated. If you use Bitbucket for your repository, rotateSecret is ignored.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateWebhook in Paws::CodeBuild

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues