Class: Aws::CodeCommit::Types::PutRepositoryTriggersInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::PutRepositoryTriggersInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codecommit/types.rb
Overview
Note:
When making an API call, you may pass PutRepositoryTriggersInput 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 ofa put repository triggers operation.
Instance Attribute Summary collapse
-
#repository_name ⇒ String
The name of the repository where you want to create or update the trigger.
-
#triggers ⇒ Array<Types::RepositoryTrigger>
The JSON block of configuration information for each trigger.
Instance Attribute Details
#repository_name ⇒ String
The name of the repository where you want to create or update the trigger.
712 713 714 715 716 |
# File 'lib/aws-sdk-codecommit/types.rb', line 712 class PutRepositoryTriggersInput < Struct.new( :repository_name, :triggers) include Aws::Structure end |
#triggers ⇒ Array<Types::RepositoryTrigger>
The JSON block of configuration information for each trigger.
712 713 714 715 716 |
# File 'lib/aws-sdk-codecommit/types.rb', line 712 class PutRepositoryTriggersInput < Struct.new( :repository_name, :triggers) include Aws::Structure end |