AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

PutRepositoryTriggersInput

import "github.com/aws/aws-sdk-go/service/codecommit"

type PutRepositoryTriggersInput struct { RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` Triggers []*RepositoryTrigger `locationName:"triggers" type:"list" required:"true"` }

Represents the input ofa put repository triggers operation.

RepositoryName

Type: *string

The name of the repository where you want to create or update the trigger.

RepositoryName is a required field

Triggers

Information about a trigger for a repository.

Method

GoString

func (s PutRepositoryTriggersInput) GoString() string

GoString returns the string representation

SetRepositoryName

func (s *PutRepositoryTriggersInput) SetRepositoryName(v string) *PutRepositoryTriggersInput

SetRepositoryName sets the RepositoryName field's value.

SetTriggers

func (s *PutRepositoryTriggersInput) SetTriggers(v []*RepositoryTrigger) *PutRepositoryTriggersInput

SetTriggers sets the Triggers field's value.

String

func (s PutRepositoryTriggersInput) String() string

String returns the string representation

Validate

func (s *PutRepositoryTriggersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: