You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeCommit::Types::TestRepositoryTriggersInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Note:

When making an API call, you may pass TestRepositoryTriggersInput data as a hash:

{
  repository_name: "RepositoryName", # required
  triggers: [ # required
    {
      name: "RepositoryTriggerName", # required
      destination_arn: "Arn", # required
      custom_data: "RepositoryTriggerCustomData",
      branches: ["BranchName"],
      events: ["all"], # required, accepts all, updateReference, createReference, deleteReference
    },
  ],
}

Represents the input of a test repository triggers operation.

Instance Attribute Summary collapse

Instance Attribute Details

#repository_nameString

The name of the repository in which to test the triggers.

Returns:

  • (String)


958
959
960
961
962
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 958

class TestRepositoryTriggersInput < Struct.new(
  :repository_name,
  :triggers)
  include Aws::Structure
end

#triggersArray<Types::RepositoryTrigger>

The list of triggers to test.

Returns:



958
959
960
961
962
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 958

class TestRepositoryTriggersInput < Struct.new(
  :repository_name,
  :triggers)
  include Aws::Structure
end