codecommit

package
v0.0.0-...-2d2b785 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2017 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package codecommit provides the client and types for making API requests to AWS CodeCommit.

This is the AWS CodeCommit API Reference. This reference provides descriptions of the operations and data types for AWS CodeCommit API along with usage examples.

You can use the AWS CodeCommit API to work with the following objects:

Repositories, by calling the following:

  • BatchGetRepositories, which returns information about one or more repositories associated with your AWS account

  • CreateRepository, which creates an AWS CodeCommit repository

  • DeleteRepository, which deletes an AWS CodeCommit repository

  • GetRepository, which returns information about a specified repository

  • ListRepositories, which lists all AWS CodeCommit repositories associated with your AWS account

  • UpdateRepositoryDescription, which sets or updates the description of the repository

  • UpdateRepositoryName, which changes the name of the repository. If you change the name of a repository, no other users of that repository will be able to access it until you send them the new HTTPS or SSH URL to use.

Branches, by calling the following:

  • CreateBranch, which creates a new branch in a specified repository

  • GetBranch, which returns information about a specified branch

  • ListBranches, which lists all branches for a specified repository

  • UpdateDefaultBranch, which changes the default branch for a repository

Information about committed code in a repository, by calling the following:

  • GetBlob, which returns the base-64 encoded content of an individual Git blob object within a repository

  • GetCommit, which returns information about a commit, including commit messages and author and committer information

  • GetDifferences, which returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID or other fully qualified reference)

Triggers, by calling the following:

  • GetRepositoryTriggers, which returns information about triggers configured for a repository

  • PutRepositoryTriggers, which replaces all triggers for a repository and can be used to create or delete triggers

  • TestRepositoryTriggers, which tests the functionality of a repository trigger by sending data to the trigger target

For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html).

See https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13 for more information on this service.

See codecommit package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codecommit/

Using the Client

To use the client for AWS CodeCommit you will first need to create a new instance of it.

When creating a client for an AWS service you'll first need to have a Session already created. The Session provides configuration that can be shared between multiple service clients. Additional configuration can be applied to the Session and service's client when they are constructed. The aws package's Config type contains several fields such as Region for the AWS Region the client should make API requests too. The optional Config value can be provided as the variadic argument for Sessions and client creation.

Once the service's client is created you can use it to make API requests the AWS service. These clients are safe to use concurrently.

// Create a session to share configuration, and load external configuration.
sess := session.Must(session.NewSession())

// Create the service's client with the session.
svc := codecommit.New(sess)

See the SDK's documentation for more information on how to use service clients. https://docs.aws.amazon.com/sdk-for-go/api/

See aws package's Config type for more information on configuration options. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS CodeCommit client CodeCommit for more information on creating the service's client. https://docs.aws.amazon.com/sdk-for-go/api/service/codecommit/#New

Once the client is created you can make an API request to the service. Each API method takes a input parameter, and returns the service response and an error.

The API method will document which error codes the service can be returned by the operation if the service models the API operation's errors. These errors will also be available as const strings prefixed with "ErrCode".

result, err := svc.BatchGetRepositories(params)
if err != nil {
    // Cast err to awserr.Error to handle specific error codes.
    aerr, ok := err.(awserr.Error)
    if ok && aerr.Code() == <error code to check for> {
        // Specific error code handling
    }
    return err
}

fmt.Println("BatchGetRepositories result:")
fmt.Println(result)

Using the Client with Context

The service's client also provides methods to make API requests with a Context value. This allows you to control the timeout, and cancellation of pending requests. These methods also take request Option as variadic parameter to apply additional configuration to the API request.

ctx := context.Background()

result, err := svc.BatchGetRepositoriesWithContext(ctx, params)

See the request package documentation for more information on using Context pattern with the SDK. https://docs.aws.amazon.com/sdk-for-go/api/aws/request/

Index

Constants

View Source
const (
	// ChangeTypeEnumA is a ChangeTypeEnum enum value
	ChangeTypeEnumA = "A"

	// ChangeTypeEnumM is a ChangeTypeEnum enum value
	ChangeTypeEnumM = "M"

	// ChangeTypeEnumD is a ChangeTypeEnum enum value
	ChangeTypeEnumD = "D"
)
View Source
const (
	// OrderEnumAscending is a OrderEnum enum value
	OrderEnumAscending = "ascending"

	// OrderEnumDescending is a OrderEnum enum value
	OrderEnumDescending = "descending"
)
View Source
const (
	// RepositoryTriggerEventEnumAll is a RepositoryTriggerEventEnum enum value
	RepositoryTriggerEventEnumAll = "all"

	// RepositoryTriggerEventEnumUpdateReference is a RepositoryTriggerEventEnum enum value
	RepositoryTriggerEventEnumUpdateReference = "updateReference"

	// RepositoryTriggerEventEnumCreateReference is a RepositoryTriggerEventEnum enum value
	RepositoryTriggerEventEnumCreateReference = "createReference"

	// RepositoryTriggerEventEnumDeleteReference is a RepositoryTriggerEventEnum enum value
	RepositoryTriggerEventEnumDeleteReference = "deleteReference"
)
View Source
const (
	// SortByEnumRepositoryName is a SortByEnum enum value
	SortByEnumRepositoryName = "repositoryName"

	// SortByEnumLastModifiedDate is a SortByEnum enum value
	SortByEnumLastModifiedDate = "lastModifiedDate"
)
View Source
const (

	// ErrCodeBlobIdDoesNotExistException for service response error code
	// "BlobIdDoesNotExistException".
	//
	// The specified blob does not exist.
	ErrCodeBlobIdDoesNotExistException = "BlobIdDoesNotExistException"

	// ErrCodeBlobIdRequiredException for service response error code
	// "BlobIdRequiredException".
	//
	// A blob ID is required but was not specified.
	ErrCodeBlobIdRequiredException = "BlobIdRequiredException"

	// ErrCodeBranchDoesNotExistException for service response error code
	// "BranchDoesNotExistException".
	//
	// The specified branch does not exist.
	ErrCodeBranchDoesNotExistException = "BranchDoesNotExistException"

	// ErrCodeBranchNameExistsException for service response error code
	// "BranchNameExistsException".
	//
	// The specified branch name already exists.
	ErrCodeBranchNameExistsException = "BranchNameExistsException"

	// ErrCodeBranchNameRequiredException for service response error code
	// "BranchNameRequiredException".
	//
	// A branch name is required but was not specified.
	ErrCodeBranchNameRequiredException = "BranchNameRequiredException"

	// ErrCodeCommitDoesNotExistException for service response error code
	// "CommitDoesNotExistException".
	//
	// The specified commit does not exist or no commit was specified, and the specified
	// repository has no default branch.
	ErrCodeCommitDoesNotExistException = "CommitDoesNotExistException"

	// ErrCodeCommitIdDoesNotExistException for service response error code
	// "CommitIdDoesNotExistException".
	//
	// The specified commit ID does not exist.
	ErrCodeCommitIdDoesNotExistException = "CommitIdDoesNotExistException"

	// ErrCodeCommitIdRequiredException for service response error code
	// "CommitIdRequiredException".
	//
	// A commit ID was not specified.
	ErrCodeCommitIdRequiredException = "CommitIdRequiredException"

	// ErrCodeCommitRequiredException for service response error code
	// "CommitRequiredException".
	//
	// A commit was not specified.
	ErrCodeCommitRequiredException = "CommitRequiredException"

	// ErrCodeEncryptionIntegrityChecksFailedException for service response error code
	// "EncryptionIntegrityChecksFailedException".
	//
	// An encryption integrity check failed.
	ErrCodeEncryptionIntegrityChecksFailedException = "EncryptionIntegrityChecksFailedException"

	// ErrCodeEncryptionKeyAccessDeniedException for service response error code
	// "EncryptionKeyAccessDeniedException".
	//
	// An encryption key could not be accessed.
	ErrCodeEncryptionKeyAccessDeniedException = "EncryptionKeyAccessDeniedException"

	// ErrCodeEncryptionKeyDisabledException for service response error code
	// "EncryptionKeyDisabledException".
	//
	// The encryption key is disabled.
	ErrCodeEncryptionKeyDisabledException = "EncryptionKeyDisabledException"

	// ErrCodeEncryptionKeyNotFoundException for service response error code
	// "EncryptionKeyNotFoundException".
	//
	// No encryption key was found.
	ErrCodeEncryptionKeyNotFoundException = "EncryptionKeyNotFoundException"

	// ErrCodeEncryptionKeyUnavailableException for service response error code
	// "EncryptionKeyUnavailableException".
	//
	// The encryption key is not available.
	ErrCodeEncryptionKeyUnavailableException = "EncryptionKeyUnavailableException"

	// ErrCodeFileTooLargeException for service response error code
	// "FileTooLargeException".
	//
	// The specified file exceeds the file size limit for AWS CodeCommit. For more
	// information about limits in AWS CodeCommit, see AWS CodeCommit User Guide
	// (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).
	ErrCodeFileTooLargeException = "FileTooLargeException"

	// ErrCodeInvalidBlobIdException for service response error code
	// "InvalidBlobIdException".
	//
	// The specified blob is not valid.
	ErrCodeInvalidBlobIdException = "InvalidBlobIdException"

	// ErrCodeInvalidBranchNameException for service response error code
	// "InvalidBranchNameException".
	//
	// The specified branch name is not valid.
	ErrCodeInvalidBranchNameException = "InvalidBranchNameException"

	// ErrCodeInvalidCommitException for service response error code
	// "InvalidCommitException".
	//
	// The specified commit is not valid.
	ErrCodeInvalidCommitException = "InvalidCommitException"

	// ErrCodeInvalidCommitIdException for service response error code
	// "InvalidCommitIdException".
	//
	// The specified commit ID is not valid.
	ErrCodeInvalidCommitIdException = "InvalidCommitIdException"

	// ErrCodeInvalidContinuationTokenException for service response error code
	// "InvalidContinuationTokenException".
	//
	// The specified continuation token is not valid.
	ErrCodeInvalidContinuationTokenException = "InvalidContinuationTokenException"

	// ErrCodeInvalidMaxResultsException for service response error code
	// "InvalidMaxResultsException".
	//
	// The specified number of maximum results is not valid.
	ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException"

	// ErrCodeInvalidOrderException for service response error code
	// "InvalidOrderException".
	//
	// The specified sort order is not valid.
	ErrCodeInvalidOrderException = "InvalidOrderException"

	// ErrCodeInvalidPathException for service response error code
	// "InvalidPathException".
	//
	// The specified path is not valid.
	ErrCodeInvalidPathException = "InvalidPathException"

	// ErrCodeInvalidRepositoryDescriptionException for service response error code
	// "InvalidRepositoryDescriptionException".
	//
	// The specified repository description is not valid.
	ErrCodeInvalidRepositoryDescriptionException = "InvalidRepositoryDescriptionException"

	// ErrCodeInvalidRepositoryNameException for service response error code
	// "InvalidRepositoryNameException".
	//
	// At least one specified repository name is not valid.
	//
	// This exception only occurs when a specified repository name is not valid.
	// Other exceptions occur when a required repository parameter is missing, or
	// when a specified repository does not exist.
	ErrCodeInvalidRepositoryNameException = "InvalidRepositoryNameException"

	// ErrCodeInvalidRepositoryTriggerBranchNameException for service response error code
	// "InvalidRepositoryTriggerBranchNameException".
	//
	// One or more branch names specified for the trigger is not valid.
	ErrCodeInvalidRepositoryTriggerBranchNameException = "InvalidRepositoryTriggerBranchNameException"

	// ErrCodeInvalidRepositoryTriggerCustomDataException for service response error code
	// "InvalidRepositoryTriggerCustomDataException".
	//
	// The custom data provided for the trigger is not valid.
	ErrCodeInvalidRepositoryTriggerCustomDataException = "InvalidRepositoryTriggerCustomDataException"

	// ErrCodeInvalidRepositoryTriggerDestinationArnException for service response error code
	// "InvalidRepositoryTriggerDestinationArnException".
	//
	// The Amazon Resource Name (ARN) for the trigger is not valid for the specified
	// destination. The most common reason for this error is that the ARN does not
	// meet the requirements for the service type.
	ErrCodeInvalidRepositoryTriggerDestinationArnException = "InvalidRepositoryTriggerDestinationArnException"

	// ErrCodeInvalidRepositoryTriggerEventsException for service response error code
	// "InvalidRepositoryTriggerEventsException".
	//
	// One or more events specified for the trigger is not valid. Check to make
	// sure that all events specified match the requirements for allowed events.
	ErrCodeInvalidRepositoryTriggerEventsException = "InvalidRepositoryTriggerEventsException"

	// ErrCodeInvalidRepositoryTriggerNameException for service response error code
	// "InvalidRepositoryTriggerNameException".
	//
	// The name of the trigger is not valid.
	ErrCodeInvalidRepositoryTriggerNameException = "InvalidRepositoryTriggerNameException"

	// ErrCodeInvalidRepositoryTriggerRegionException for service response error code
	// "InvalidRepositoryTriggerRegionException".
	//
	// The region for the trigger target does not match the region for the repository.
	// Triggers must be created in the same region as the target for the trigger.
	ErrCodeInvalidRepositoryTriggerRegionException = "InvalidRepositoryTriggerRegionException"

	// ErrCodeInvalidSortByException for service response error code
	// "InvalidSortByException".
	//
	// The specified sort by value is not valid.
	ErrCodeInvalidSortByException = "InvalidSortByException"

	// ErrCodeMaximumBranchesExceededException for service response error code
	// "MaximumBranchesExceededException".
	//
	// The number of branches for the trigger was exceeded.
	ErrCodeMaximumBranchesExceededException = "MaximumBranchesExceededException"

	// ErrCodeMaximumRepositoryNamesExceededException for service response error code
	// "MaximumRepositoryNamesExceededException".
	//
	// The maximum number of allowed repository names was exceeded. Currently, this
	// number is 25.
	ErrCodeMaximumRepositoryNamesExceededException = "MaximumRepositoryNamesExceededException"

	// ErrCodeMaximumRepositoryTriggersExceededException for service response error code
	// "MaximumRepositoryTriggersExceededException".
	//
	// The number of triggers allowed for the repository was exceeded.
	ErrCodeMaximumRepositoryTriggersExceededException = "MaximumRepositoryTriggersExceededException"

	// ErrCodePathDoesNotExistException for service response error code
	// "PathDoesNotExistException".
	//
	// The specified path does not exist.
	ErrCodePathDoesNotExistException = "PathDoesNotExistException"

	// ErrCodeRepositoryDoesNotExistException for service response error code
	// "RepositoryDoesNotExistException".
	//
	// The specified repository does not exist.
	ErrCodeRepositoryDoesNotExistException = "RepositoryDoesNotExistException"

	// ErrCodeRepositoryLimitExceededException for service response error code
	// "RepositoryLimitExceededException".
	//
	// A repository resource limit was exceeded.
	ErrCodeRepositoryLimitExceededException = "RepositoryLimitExceededException"

	// ErrCodeRepositoryNameExistsException for service response error code
	// "RepositoryNameExistsException".
	//
	// The specified repository name already exists.
	ErrCodeRepositoryNameExistsException = "RepositoryNameExistsException"

	// ErrCodeRepositoryNameRequiredException for service response error code
	// "RepositoryNameRequiredException".
	//
	// A repository name is required but was not specified.
	ErrCodeRepositoryNameRequiredException = "RepositoryNameRequiredException"

	// ErrCodeRepositoryNamesRequiredException for service response error code
	// "RepositoryNamesRequiredException".
	//
	// A repository names object is required but was not specified.
	ErrCodeRepositoryNamesRequiredException = "RepositoryNamesRequiredException"

	// ErrCodeRepositoryTriggerBranchNameListRequiredException for service response error code
	// "RepositoryTriggerBranchNameListRequiredException".
	//
	// At least one branch name is required but was not specified in the trigger
	// configuration.
	ErrCodeRepositoryTriggerBranchNameListRequiredException = "RepositoryTriggerBranchNameListRequiredException"

	// ErrCodeRepositoryTriggerDestinationArnRequiredException for service response error code
	// "RepositoryTriggerDestinationArnRequiredException".
	//
	// A destination ARN for the target service for the trigger is required but
	// was not specified.
	ErrCodeRepositoryTriggerDestinationArnRequiredException = "RepositoryTriggerDestinationArnRequiredException"

	// ErrCodeRepositoryTriggerEventsListRequiredException for service response error code
	// "RepositoryTriggerEventsListRequiredException".
	//
	// At least one event for the trigger is required but was not specified.
	ErrCodeRepositoryTriggerEventsListRequiredException = "RepositoryTriggerEventsListRequiredException"

	// ErrCodeRepositoryTriggerNameRequiredException for service response error code
	// "RepositoryTriggerNameRequiredException".
	//
	// A name for the trigger is required but was not specified.
	ErrCodeRepositoryTriggerNameRequiredException = "RepositoryTriggerNameRequiredException"

	// ErrCodeRepositoryTriggersListRequiredException for service response error code
	// "RepositoryTriggersListRequiredException".
	//
	// The list of triggers for the repository is required but was not specified.
	ErrCodeRepositoryTriggersListRequiredException = "RepositoryTriggersListRequiredException"
)
View Source
const (
	ServiceName = "codecommit" // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName  // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetRepositoriesInput

type BatchGetRepositoriesInput struct {

	// The names of the repositories to get information about.
	//
	// RepositoryNames is a required field
	RepositoryNames []*string `locationName:"repositoryNames" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a batch get repositories operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesInput

func (BatchGetRepositoriesInput) GoString

func (s BatchGetRepositoriesInput) GoString() string

GoString returns the string representation

func (*BatchGetRepositoriesInput) SetRepositoryNames

func (s *BatchGetRepositoriesInput) SetRepositoryNames(v []*string) *BatchGetRepositoriesInput

SetRepositoryNames sets the RepositoryNames field's value.

func (BatchGetRepositoriesInput) String

func (s BatchGetRepositoriesInput) String() string

String returns the string representation

func (*BatchGetRepositoriesInput) Validate

func (s *BatchGetRepositoriesInput) Validate() error

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

type BatchGetRepositoriesOutput

type BatchGetRepositoriesOutput struct {

	// A list of repositories returned by the batch get repositories operation.
	Repositories []*RepositoryMetadata `locationName:"repositories" type:"list"`

	// Returns a list of repository names for which information could not be found.
	RepositoriesNotFound []*string `locationName:"repositoriesNotFound" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a batch get repositories operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesOutput

func (BatchGetRepositoriesOutput) GoString

func (s BatchGetRepositoriesOutput) GoString() string

GoString returns the string representation

func (*BatchGetRepositoriesOutput) SetRepositories

SetRepositories sets the Repositories field's value.

func (*BatchGetRepositoriesOutput) SetRepositoriesNotFound

func (s *BatchGetRepositoriesOutput) SetRepositoriesNotFound(v []*string) *BatchGetRepositoriesOutput

SetRepositoriesNotFound sets the RepositoriesNotFound field's value.

func (BatchGetRepositoriesOutput) String

String returns the string representation

type BlobMetadata

type BlobMetadata struct {

	// The full ID of the blob.
	BlobId *string `locationName:"blobId" type:"string"`

	// The file mode permissions of the blob. File mode permission codes include:
	//
	//    * 100644 indicates read/write
	//
	//    * 100755 indicates read/write/execute
	//
	//    * 160000 indicates a submodule
	//
	//    * 120000 indicates a symlink
	Mode *string `locationName:"mode" type:"string"`

	// The path to the blob and any associated file name, if any.
	Path *string `locationName:"path" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a specific Git blob object. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BlobMetadata

func (BlobMetadata) GoString

func (s BlobMetadata) GoString() string

GoString returns the string representation

func (*BlobMetadata) SetBlobId

func (s *BlobMetadata) SetBlobId(v string) *BlobMetadata

SetBlobId sets the BlobId field's value.

func (*BlobMetadata) SetMode

func (s *BlobMetadata) SetMode(v string) *BlobMetadata

SetMode sets the Mode field's value.

func (*BlobMetadata) SetPath

func (s *BlobMetadata) SetPath(v string) *BlobMetadata

SetPath sets the Path field's value.

func (BlobMetadata) String

func (s BlobMetadata) String() string

String returns the string representation

type BranchInfo

type BranchInfo struct {

	// The name of the branch.
	BranchName *string `locationName:"branchName" min:"1" type:"string"`

	// The ID of the last commit made to the branch.
	CommitId *string `locationName:"commitId" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a branch. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchInfo

func (BranchInfo) GoString

func (s BranchInfo) GoString() string

GoString returns the string representation

func (*BranchInfo) SetBranchName

func (s *BranchInfo) SetBranchName(v string) *BranchInfo

SetBranchName sets the BranchName field's value.

func (*BranchInfo) SetCommitId

func (s *BranchInfo) SetCommitId(v string) *BranchInfo

SetCommitId sets the CommitId field's value.

func (BranchInfo) String

func (s BranchInfo) String() string

String returns the string representation

type CodeCommit

type CodeCommit struct {
	*client.Client
}

CodeCommit provides the API operation methods for making requests to AWS CodeCommit. See this package's package overview docs for details on the service.

CodeCommit methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeCommit

New creates a new instance of the CodeCommit client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a CodeCommit client from just a session.
svc := codecommit.New(mySession)

// Create a CodeCommit client with additional configuration
svc := codecommit.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*CodeCommit) BatchGetRepositories

func (c *CodeCommit) BatchGetRepositories(input *BatchGetRepositoriesInput) (*BatchGetRepositoriesOutput, error)

BatchGetRepositories API operation for AWS CodeCommit.

Returns information about one or more repositories.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation BatchGetRepositories for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNamesRequiredException "RepositoryNamesRequiredException" A repository names object is required but was not specified.

  • ErrCodeMaximumRepositoryNamesExceededException "MaximumRepositoryNamesExceededException" The maximum number of allowed repository names was exceeded. Currently, this number is 25.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories

func (*CodeCommit) BatchGetRepositoriesRequest

func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInput) (req *request.Request, output *BatchGetRepositoriesOutput)

BatchGetRepositoriesRequest generates a "aws/request.Request" representing the client's request for the BatchGetRepositories operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See BatchGetRepositories for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the BatchGetRepositories method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the BatchGetRepositoriesRequest method.
req, resp := client.BatchGetRepositoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories

func (*CodeCommit) BatchGetRepositoriesWithContext

func (c *CodeCommit) BatchGetRepositoriesWithContext(ctx aws.Context, input *BatchGetRepositoriesInput, opts ...request.Option) (*BatchGetRepositoriesOutput, error)

BatchGetRepositoriesWithContext is the same as BatchGetRepositories with the addition of the ability to pass a context and additional request options.

See BatchGetRepositories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreateBranch

func (c *CodeCommit) CreateBranch(input *CreateBranchInput) (*CreateBranchOutput, error)

CreateBranch API operation for AWS CodeCommit.

Creates a new branch in a repository and points the branch to a commit.

Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreateBranch for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeBranchNameRequiredException "BranchNameRequiredException" A branch name is required but was not specified.

  • ErrCodeBranchNameExistsException "BranchNameExistsException" The specified branch name already exists.

  • ErrCodeInvalidBranchNameException "InvalidBranchNameException" The specified branch name is not valid.

  • ErrCodeCommitIdRequiredException "CommitIdRequiredException" A commit ID was not specified.

  • ErrCodeCommitDoesNotExistException "CommitDoesNotExistException" The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

  • ErrCodeInvalidCommitIdException "InvalidCommitIdException" The specified commit ID is not valid.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch

func (*CodeCommit) CreateBranchRequest

func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request.Request, output *CreateBranchOutput)

CreateBranchRequest generates a "aws/request.Request" representing the client's request for the CreateBranch operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateBranch for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateBranch method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateBranchRequest method.
req, resp := client.CreateBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch

func (*CodeCommit) CreateBranchWithContext

func (c *CodeCommit) CreateBranchWithContext(ctx aws.Context, input *CreateBranchInput, opts ...request.Option) (*CreateBranchOutput, error)

CreateBranchWithContext is the same as CreateBranch with the addition of the ability to pass a context and additional request options.

See CreateBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreateRepository

func (c *CodeCommit) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error)

CreateRepository API operation for AWS CodeCommit.

Creates a new, empty repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreateRepository for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameExistsException "RepositoryNameExistsException" The specified repository name already exists.

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeInvalidRepositoryDescriptionException "InvalidRepositoryDescriptionException" The specified repository description is not valid.

  • ErrCodeRepositoryLimitExceededException "RepositoryLimitExceededException" A repository resource limit was exceeded.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository

func (*CodeCommit) CreateRepositoryRequest

func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput)

CreateRepositoryRequest generates a "aws/request.Request" representing the client's request for the CreateRepository operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateRepository for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateRepository method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateRepositoryRequest method.
req, resp := client.CreateRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository

func (*CodeCommit) CreateRepositoryWithContext

func (c *CodeCommit) CreateRepositoryWithContext(ctx aws.Context, input *CreateRepositoryInput, opts ...request.Option) (*CreateRepositoryOutput, error)

CreateRepositoryWithContext is the same as CreateRepository with the addition of the ability to pass a context and additional request options.

See CreateRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeleteRepository

func (c *CodeCommit) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error)

DeleteRepository API operation for AWS CodeCommit.

Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.

Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeleteRepository for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository

func (*CodeCommit) DeleteRepositoryRequest

func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput)

DeleteRepositoryRequest generates a "aws/request.Request" representing the client's request for the DeleteRepository operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteRepository for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteRepository method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteRepositoryRequest method.
req, resp := client.DeleteRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository

func (*CodeCommit) DeleteRepositoryWithContext

func (c *CodeCommit) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteRepositoryInput, opts ...request.Option) (*DeleteRepositoryOutput, error)

DeleteRepositoryWithContext is the same as DeleteRepository with the addition of the ability to pass a context and additional request options.

See DeleteRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetBlob

func (c *CodeCommit) GetBlob(input *GetBlobInput) (*GetBlobOutput, error)

GetBlob API operation for AWS CodeCommit.

Returns the base-64 encoded content of an individual blob within a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetBlob for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeBlobIdRequiredException "BlobIdRequiredException" A blob ID is required but was not specified.

  • ErrCodeInvalidBlobIdException "InvalidBlobIdException" The specified blob is not valid.

  • ErrCodeBlobIdDoesNotExistException "BlobIdDoesNotExistException" The specified blob does not exist.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

  • ErrCodeFileTooLargeException "FileTooLargeException" The specified file exceeds the file size limit for AWS CodeCommit. For more information about limits in AWS CodeCommit, see AWS CodeCommit User Guide (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob

func (*CodeCommit) GetBlobRequest

func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) (req *request.Request, output *GetBlobOutput)

GetBlobRequest generates a "aws/request.Request" representing the client's request for the GetBlob operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetBlob for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetBlob method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetBlobRequest method.
req, resp := client.GetBlobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob

func (*CodeCommit) GetBlobWithContext

func (c *CodeCommit) GetBlobWithContext(ctx aws.Context, input *GetBlobInput, opts ...request.Option) (*GetBlobOutput, error)

GetBlobWithContext is the same as GetBlob with the addition of the ability to pass a context and additional request options.

See GetBlob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetBranch

func (c *CodeCommit) GetBranch(input *GetBranchInput) (*GetBranchOutput, error)

GetBranch API operation for AWS CodeCommit.

Returns information about a repository branch, including its name and the last commit ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetBranch for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeBranchNameRequiredException "BranchNameRequiredException" A branch name is required but was not specified.

  • ErrCodeInvalidBranchNameException "InvalidBranchNameException" The specified branch name is not valid.

  • ErrCodeBranchDoesNotExistException "BranchDoesNotExistException" The specified branch does not exist.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch

func (*CodeCommit) GetBranchRequest

func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput)

GetBranchRequest generates a "aws/request.Request" representing the client's request for the GetBranch operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetBranch for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetBranch method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetBranchRequest method.
req, resp := client.GetBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch

func (*CodeCommit) GetBranchWithContext

func (c *CodeCommit) GetBranchWithContext(ctx aws.Context, input *GetBranchInput, opts ...request.Option) (*GetBranchOutput, error)

GetBranchWithContext is the same as GetBranch with the addition of the ability to pass a context and additional request options.

See GetBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommit

func (c *CodeCommit) GetCommit(input *GetCommitInput) (*GetCommitOutput, error)

GetCommit API operation for AWS CodeCommit.

Returns information about a commit, including commit message and committer information.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetCommit for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeCommitIdRequiredException "CommitIdRequiredException" A commit ID was not specified.

  • ErrCodeInvalidCommitIdException "InvalidCommitIdException" The specified commit ID is not valid.

  • ErrCodeCommitIdDoesNotExistException "CommitIdDoesNotExistException" The specified commit ID does not exist.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit

func (*CodeCommit) GetCommitRequest

func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Request, output *GetCommitOutput)

GetCommitRequest generates a "aws/request.Request" representing the client's request for the GetCommit operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetCommit for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetCommit method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetCommitRequest method.
req, resp := client.GetCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit

func (*CodeCommit) GetCommitWithContext

func (c *CodeCommit) GetCommitWithContext(ctx aws.Context, input *GetCommitInput, opts ...request.Option) (*GetCommitOutput, error)

GetCommitWithContext is the same as GetCommit with the addition of the ability to pass a context and additional request options.

See GetCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetDifferences

func (c *CodeCommit) GetDifferences(input *GetDifferencesInput) (*GetDifferencesOutput, error)

GetDifferences API operation for AWS CodeCommit.

Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID or other fully qualified reference). Results can be limited to a specified path.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetDifferences for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" The specified continuation token is not valid.

  • ErrCodeInvalidMaxResultsException "InvalidMaxResultsException" The specified number of maximum results is not valid.

  • ErrCodeInvalidCommitIdException "InvalidCommitIdException" The specified commit ID is not valid.

  • ErrCodeCommitRequiredException "CommitRequiredException" A commit was not specified.

  • ErrCodeInvalidCommitException "InvalidCommitException" The specified commit is not valid.

  • ErrCodeCommitDoesNotExistException "CommitDoesNotExistException" The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

  • ErrCodeInvalidPathException "InvalidPathException" The specified path is not valid.

  • ErrCodePathDoesNotExistException "PathDoesNotExistException" The specified path does not exist.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences

func (*CodeCommit) GetDifferencesPages

func (c *CodeCommit) GetDifferencesPages(input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool) error

GetDifferencesPages iterates over the pages of a GetDifferences operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetDifferences method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetDifferences operation.
pageNum := 0
err := client.GetDifferencesPages(params,
    func(page *GetDifferencesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetDifferencesPagesWithContext

func (c *CodeCommit) GetDifferencesPagesWithContext(ctx aws.Context, input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool, opts ...request.Option) error

GetDifferencesPagesWithContext same as GetDifferencesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetDifferencesRequest

func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *request.Request, output *GetDifferencesOutput)

GetDifferencesRequest generates a "aws/request.Request" representing the client's request for the GetDifferences operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetDifferences for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetDifferences method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetDifferencesRequest method.
req, resp := client.GetDifferencesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences

func (*CodeCommit) GetDifferencesWithContext

func (c *CodeCommit) GetDifferencesWithContext(ctx aws.Context, input *GetDifferencesInput, opts ...request.Option) (*GetDifferencesOutput, error)

GetDifferencesWithContext is the same as GetDifferences with the addition of the ability to pass a context and additional request options.

See GetDifferences for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetRepository

func (c *CodeCommit) GetRepository(input *GetRepositoryInput) (*GetRepositoryOutput, error)

GetRepository API operation for AWS CodeCommit.

Returns information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetRepository for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository

func (*CodeCommit) GetRepositoryRequest

func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *request.Request, output *GetRepositoryOutput)

GetRepositoryRequest generates a "aws/request.Request" representing the client's request for the GetRepository operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetRepository for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetRepository method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetRepositoryRequest method.
req, resp := client.GetRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository

func (*CodeCommit) GetRepositoryTriggers

func (c *CodeCommit) GetRepositoryTriggers(input *GetRepositoryTriggersInput) (*GetRepositoryTriggersOutput, error)

GetRepositoryTriggers API operation for AWS CodeCommit.

Gets information about triggers configured for a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetRepositoryTriggers for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers

func (*CodeCommit) GetRepositoryTriggersRequest

func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersInput) (req *request.Request, output *GetRepositoryTriggersOutput)

GetRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the GetRepositoryTriggers operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetRepositoryTriggers for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetRepositoryTriggers method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetRepositoryTriggersRequest method.
req, resp := client.GetRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers

func (*CodeCommit) GetRepositoryTriggersWithContext

func (c *CodeCommit) GetRepositoryTriggersWithContext(ctx aws.Context, input *GetRepositoryTriggersInput, opts ...request.Option) (*GetRepositoryTriggersOutput, error)

GetRepositoryTriggersWithContext is the same as GetRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See GetRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetRepositoryWithContext

func (c *CodeCommit) GetRepositoryWithContext(ctx aws.Context, input *GetRepositoryInput, opts ...request.Option) (*GetRepositoryOutput, error)

GetRepositoryWithContext is the same as GetRepository with the addition of the ability to pass a context and additional request options.

See GetRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListBranches

func (c *CodeCommit) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error)

ListBranches API operation for AWS CodeCommit.

Gets information about one or more branches in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListBranches for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

  • ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" The specified continuation token is not valid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches

func (*CodeCommit) ListBranchesPages

func (c *CodeCommit) ListBranchesPages(input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool) error

ListBranchesPages iterates over the pages of a ListBranches operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBranches method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListBranches operation.
pageNum := 0
err := client.ListBranchesPages(params,
    func(page *ListBranchesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListBranchesPagesWithContext

func (c *CodeCommit) ListBranchesPagesWithContext(ctx aws.Context, input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool, opts ...request.Option) error

ListBranchesPagesWithContext same as ListBranchesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListBranchesRequest

func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput)

ListBranchesRequest generates a "aws/request.Request" representing the client's request for the ListBranches operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListBranches for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListBranches method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListBranchesRequest method.
req, resp := client.ListBranchesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches

func (*CodeCommit) ListBranchesWithContext

func (c *CodeCommit) ListBranchesWithContext(ctx aws.Context, input *ListBranchesInput, opts ...request.Option) (*ListBranchesOutput, error)

ListBranchesWithContext is the same as ListBranches with the addition of the ability to pass a context and additional request options.

See ListBranches for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositories

func (c *CodeCommit) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error)

ListRepositories API operation for AWS CodeCommit.

Gets information about one or more repositories.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListRepositories for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidSortByException "InvalidSortByException" The specified sort by value is not valid.

  • ErrCodeInvalidOrderException "InvalidOrderException" The specified sort order is not valid.

  • ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" The specified continuation token is not valid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories

func (*CodeCommit) ListRepositoriesPages

func (c *CodeCommit) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error

ListRepositoriesPages iterates over the pages of a ListRepositories operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRepositories method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRepositories operation.
pageNum := 0
err := client.ListRepositoriesPages(params,
    func(page *ListRepositoriesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListRepositoriesPagesWithContext

func (c *CodeCommit) ListRepositoriesPagesWithContext(ctx aws.Context, input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool, opts ...request.Option) error

ListRepositoriesPagesWithContext same as ListRepositoriesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositoriesRequest

func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput)

ListRepositoriesRequest generates a "aws/request.Request" representing the client's request for the ListRepositories operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListRepositories for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListRepositories method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListRepositoriesRequest method.
req, resp := client.ListRepositoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories

func (*CodeCommit) ListRepositoriesWithContext

func (c *CodeCommit) ListRepositoriesWithContext(ctx aws.Context, input *ListRepositoriesInput, opts ...request.Option) (*ListRepositoriesOutput, error)

ListRepositoriesWithContext is the same as ListRepositories with the addition of the ability to pass a context and additional request options.

See ListRepositories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PutRepositoryTriggers

func (c *CodeCommit) PutRepositoryTriggers(input *PutRepositoryTriggersInput) (*PutRepositoryTriggersOutput, error)

PutRepositoryTriggers API operation for AWS CodeCommit.

Replaces all triggers for a repository. This can be used to create or delete triggers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PutRepositoryTriggers for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeRepositoryTriggersListRequiredException "RepositoryTriggersListRequiredException" The list of triggers for the repository is required but was not specified.

  • ErrCodeMaximumRepositoryTriggersExceededException "MaximumRepositoryTriggersExceededException" The number of triggers allowed for the repository was exceeded.

  • ErrCodeInvalidRepositoryTriggerNameException "InvalidRepositoryTriggerNameException" The name of the trigger is not valid.

  • ErrCodeInvalidRepositoryTriggerDestinationArnException "InvalidRepositoryTriggerDestinationArnException" The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.

  • ErrCodeInvalidRepositoryTriggerRegionException "InvalidRepositoryTriggerRegionException" The region for the trigger target does not match the region for the repository. Triggers must be created in the same region as the target for the trigger.

  • ErrCodeInvalidRepositoryTriggerCustomDataException "InvalidRepositoryTriggerCustomDataException" The custom data provided for the trigger is not valid.

  • ErrCodeMaximumBranchesExceededException "MaximumBranchesExceededException" The number of branches for the trigger was exceeded.

  • ErrCodeInvalidRepositoryTriggerBranchNameException "InvalidRepositoryTriggerBranchNameException" One or more branch names specified for the trigger is not valid.

  • ErrCodeInvalidRepositoryTriggerEventsException "InvalidRepositoryTriggerEventsException" One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events.

  • ErrCodeRepositoryTriggerNameRequiredException "RepositoryTriggerNameRequiredException" A name for the trigger is required but was not specified.

  • ErrCodeRepositoryTriggerDestinationArnRequiredException "RepositoryTriggerDestinationArnRequiredException" A destination ARN for the target service for the trigger is required but was not specified.

  • ErrCodeRepositoryTriggerBranchNameListRequiredException "RepositoryTriggerBranchNameListRequiredException" At least one branch name is required but was not specified in the trigger configuration.

  • ErrCodeRepositoryTriggerEventsListRequiredException "RepositoryTriggerEventsListRequiredException" At least one event for the trigger is required but was not specified.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers

func (*CodeCommit) PutRepositoryTriggersRequest

func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersInput) (req *request.Request, output *PutRepositoryTriggersOutput)

PutRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the PutRepositoryTriggers operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See PutRepositoryTriggers for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the PutRepositoryTriggers method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the PutRepositoryTriggersRequest method.
req, resp := client.PutRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers

func (*CodeCommit) PutRepositoryTriggersWithContext

func (c *CodeCommit) PutRepositoryTriggersWithContext(ctx aws.Context, input *PutRepositoryTriggersInput, opts ...request.Option) (*PutRepositoryTriggersOutput, error)

PutRepositoryTriggersWithContext is the same as PutRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See PutRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) TestRepositoryTriggers

func (c *CodeCommit) TestRepositoryTriggers(input *TestRepositoryTriggersInput) (*TestRepositoryTriggersOutput, error)

TestRepositoryTriggers API operation for AWS CodeCommit.

Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation TestRepositoryTriggers for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeRepositoryTriggersListRequiredException "RepositoryTriggersListRequiredException" The list of triggers for the repository is required but was not specified.

  • ErrCodeMaximumRepositoryTriggersExceededException "MaximumRepositoryTriggersExceededException" The number of triggers allowed for the repository was exceeded.

  • ErrCodeInvalidRepositoryTriggerNameException "InvalidRepositoryTriggerNameException" The name of the trigger is not valid.

  • ErrCodeInvalidRepositoryTriggerDestinationArnException "InvalidRepositoryTriggerDestinationArnException" The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.

  • ErrCodeInvalidRepositoryTriggerRegionException "InvalidRepositoryTriggerRegionException" The region for the trigger target does not match the region for the repository. Triggers must be created in the same region as the target for the trigger.

  • ErrCodeInvalidRepositoryTriggerCustomDataException "InvalidRepositoryTriggerCustomDataException" The custom data provided for the trigger is not valid.

  • ErrCodeMaximumBranchesExceededException "MaximumBranchesExceededException" The number of branches for the trigger was exceeded.

  • ErrCodeInvalidRepositoryTriggerBranchNameException "InvalidRepositoryTriggerBranchNameException" One or more branch names specified for the trigger is not valid.

  • ErrCodeInvalidRepositoryTriggerEventsException "InvalidRepositoryTriggerEventsException" One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events.

  • ErrCodeRepositoryTriggerNameRequiredException "RepositoryTriggerNameRequiredException" A name for the trigger is required but was not specified.

  • ErrCodeRepositoryTriggerDestinationArnRequiredException "RepositoryTriggerDestinationArnRequiredException" A destination ARN for the target service for the trigger is required but was not specified.

  • ErrCodeRepositoryTriggerBranchNameListRequiredException "RepositoryTriggerBranchNameListRequiredException" At least one branch name is required but was not specified in the trigger configuration.

  • ErrCodeRepositoryTriggerEventsListRequiredException "RepositoryTriggerEventsListRequiredException" At least one event for the trigger is required but was not specified.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers

func (*CodeCommit) TestRepositoryTriggersRequest

func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggersInput) (req *request.Request, output *TestRepositoryTriggersOutput)

TestRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the TestRepositoryTriggers operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See TestRepositoryTriggers for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the TestRepositoryTriggers method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the TestRepositoryTriggersRequest method.
req, resp := client.TestRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers

func (*CodeCommit) TestRepositoryTriggersWithContext

func (c *CodeCommit) TestRepositoryTriggersWithContext(ctx aws.Context, input *TestRepositoryTriggersInput, opts ...request.Option) (*TestRepositoryTriggersOutput, error)

TestRepositoryTriggersWithContext is the same as TestRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See TestRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateDefaultBranch

func (c *CodeCommit) UpdateDefaultBranch(input *UpdateDefaultBranchInput) (*UpdateDefaultBranchOutput, error)

UpdateDefaultBranch API operation for AWS CodeCommit.

Sets or changes the default branch name for the specified repository.

If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateDefaultBranch for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeBranchNameRequiredException "BranchNameRequiredException" A branch name is required but was not specified.

  • ErrCodeInvalidBranchNameException "InvalidBranchNameException" The specified branch name is not valid.

  • ErrCodeBranchDoesNotExistException "BranchDoesNotExistException" The specified branch does not exist.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch

func (*CodeCommit) UpdateDefaultBranchRequest

func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) (req *request.Request, output *UpdateDefaultBranchOutput)

UpdateDefaultBranchRequest generates a "aws/request.Request" representing the client's request for the UpdateDefaultBranch operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateDefaultBranch for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateDefaultBranch method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateDefaultBranchRequest method.
req, resp := client.UpdateDefaultBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch

func (*CodeCommit) UpdateDefaultBranchWithContext

func (c *CodeCommit) UpdateDefaultBranchWithContext(ctx aws.Context, input *UpdateDefaultBranchInput, opts ...request.Option) (*UpdateDefaultBranchOutput, error)

UpdateDefaultBranchWithContext is the same as UpdateDefaultBranch with the addition of the ability to pass a context and additional request options.

See UpdateDefaultBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateRepositoryDescription

func (c *CodeCommit) UpdateRepositoryDescription(input *UpdateRepositoryDescriptionInput) (*UpdateRepositoryDescriptionOutput, error)

UpdateRepositoryDescription API operation for AWS CodeCommit.

Sets or changes the comment or description for a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateRepositoryDescription for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

  • ErrCodeInvalidRepositoryDescriptionException "InvalidRepositoryDescriptionException" The specified repository description is not valid.

  • ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" An encryption integrity check failed.

  • ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" An encryption key could not be accessed.

  • ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" The encryption key is disabled.

  • ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" No encryption key was found.

  • ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" The encryption key is not available.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription

func (*CodeCommit) UpdateRepositoryDescriptionRequest

func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryDescriptionInput) (req *request.Request, output *UpdateRepositoryDescriptionOutput)

UpdateRepositoryDescriptionRequest generates a "aws/request.Request" representing the client's request for the UpdateRepositoryDescription operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateRepositoryDescription for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateRepositoryDescription method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateRepositoryDescriptionRequest method.
req, resp := client.UpdateRepositoryDescriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription

func (*CodeCommit) UpdateRepositoryDescriptionWithContext

func (c *CodeCommit) UpdateRepositoryDescriptionWithContext(ctx aws.Context, input *UpdateRepositoryDescriptionInput, opts ...request.Option) (*UpdateRepositoryDescriptionOutput, error)

UpdateRepositoryDescriptionWithContext is the same as UpdateRepositoryDescription with the addition of the ability to pass a context and additional request options.

See UpdateRepositoryDescription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateRepositoryName

func (c *CodeCommit) UpdateRepositoryName(input *UpdateRepositoryNameInput) (*UpdateRepositoryNameOutput, error)

UpdateRepositoryName API operation for AWS CodeCommit.

Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the AWS CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateRepositoryName for usage and error information.

Returned Error Codes:

  • ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" The specified repository does not exist.

  • ErrCodeRepositoryNameExistsException "RepositoryNameExistsException" The specified repository name already exists.

  • ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" A repository name is required but was not specified.

  • ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" At least one specified repository name is not valid.

    This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName

func (*CodeCommit) UpdateRepositoryNameRequest

func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInput) (req *request.Request, output *UpdateRepositoryNameOutput)

UpdateRepositoryNameRequest generates a "aws/request.Request" representing the client's request for the UpdateRepositoryName operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateRepositoryName for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateRepositoryName method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateRepositoryNameRequest method.
req, resp := client.UpdateRepositoryNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName

func (*CodeCommit) UpdateRepositoryNameWithContext

func (c *CodeCommit) UpdateRepositoryNameWithContext(ctx aws.Context, input *UpdateRepositoryNameInput, opts ...request.Option) (*UpdateRepositoryNameOutput, error)

UpdateRepositoryNameWithContext is the same as UpdateRepositoryName with the addition of the ability to pass a context and additional request options.

See UpdateRepositoryName for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type Commit

type Commit struct {

	// Any additional data associated with the specified commit.
	AdditionalData *string `locationName:"additionalData" type:"string"`

	// Information about the author of the specified commit. Information includes
	// the date in timestamp format with GMT offset, the name of the author, and
	// the email address for the author, as configured in Git.
	Author *UserInfo `locationName:"author" type:"structure"`

	// Information about the person who committed the specified commit, also known
	// as the committer. Information includes the date in timestamp format with
	// GMT offset, the name of the committer, and the email address for the committer,
	// as configured in Git.
	//
	// For more information about the difference between an author and a committer
	// in Git, see Viewing the Commit History (http://git-scm.com/book/ch2-3.html)
	// in Pro Git by Scott Chacon and Ben Straub.
	Committer *UserInfo `locationName:"committer" type:"structure"`

	// The commit message associated with the specified commit.
	Message *string `locationName:"message" type:"string"`

	// The parent list for the specified commit.
	Parents []*string `locationName:"parents" type:"list"`

	// Tree information for the specified commit.
	TreeId *string `locationName:"treeId" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a specific commit. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Commit

func (Commit) GoString

func (s Commit) GoString() string

GoString returns the string representation

func (*Commit) SetAdditionalData

func (s *Commit) SetAdditionalData(v string) *Commit

SetAdditionalData sets the AdditionalData field's value.

func (*Commit) SetAuthor

func (s *Commit) SetAuthor(v *UserInfo) *Commit

SetAuthor sets the Author field's value.

func (*Commit) SetCommitter

func (s *Commit) SetCommitter(v *UserInfo) *Commit

SetCommitter sets the Committer field's value.

func (*Commit) SetMessage

func (s *Commit) SetMessage(v string) *Commit

SetMessage sets the Message field's value.

func (*Commit) SetParents

func (s *Commit) SetParents(v []*string) *Commit

SetParents sets the Parents field's value.

func (*Commit) SetTreeId

func (s *Commit) SetTreeId(v string) *Commit

SetTreeId sets the TreeId field's value.

func (Commit) String

func (s Commit) String() string

String returns the string representation

type CreateBranchInput

type CreateBranchInput struct {

	// The name of the new branch to create.
	//
	// BranchName is a required field
	BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

	// The ID of the commit to point the new branch to.
	//
	// CommitId is a required field
	CommitId *string `locationName:"commitId" type:"string" required:"true"`

	// The name of the repository in which you want to create the new branch.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a create branch operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchInput

func (CreateBranchInput) GoString

func (s CreateBranchInput) GoString() string

GoString returns the string representation

func (*CreateBranchInput) SetBranchName

func (s *CreateBranchInput) SetBranchName(v string) *CreateBranchInput

SetBranchName sets the BranchName field's value.

func (*CreateBranchInput) SetCommitId

func (s *CreateBranchInput) SetCommitId(v string) *CreateBranchInput

SetCommitId sets the CommitId field's value.

func (*CreateBranchInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (CreateBranchInput) String

func (s CreateBranchInput) String() string

String returns the string representation

func (*CreateBranchInput) Validate

func (s *CreateBranchInput) Validate() error

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

type CreateBranchOutput

type CreateBranchOutput struct {
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchOutput

func (CreateBranchOutput) GoString

func (s CreateBranchOutput) GoString() string

GoString returns the string representation

func (CreateBranchOutput) String

func (s CreateBranchOutput) String() string

String returns the string representation

type CreateRepositoryInput

type CreateRepositoryInput struct {

	// A comment or description about the new repository.
	//
	// The description field for a repository accepts all HTML characters and all
	// valid Unicode characters. Applications that do not HTML-encode the description
	// and display it in a web page could expose users to potentially malicious
	// code. Make sure that you HTML-encode the description field in any application
	// that uses this API to display the repository description on a web page.
	RepositoryDescription *string `locationName:"repositoryDescription" type:"string"`

	// The name of the new repository to be created.
	//
	// The repository name must be unique across the calling AWS account. In addition,
	// repository names are limited to 100 alphanumeric, dash, and underscore characters,
	// and cannot include certain characters. For a full description of the limits
	// on repository names, see Limits (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html)
	// in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a create repository operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryInput

func (CreateRepositoryInput) GoString

func (s CreateRepositoryInput) GoString() string

GoString returns the string representation

func (*CreateRepositoryInput) SetRepositoryDescription

func (s *CreateRepositoryInput) SetRepositoryDescription(v string) *CreateRepositoryInput

SetRepositoryDescription sets the RepositoryDescription field's value.

func (*CreateRepositoryInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (CreateRepositoryInput) String

func (s CreateRepositoryInput) String() string

String returns the string representation

func (*CreateRepositoryInput) Validate

func (s *CreateRepositoryInput) Validate() error

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

type CreateRepositoryOutput

type CreateRepositoryOutput struct {

	// Information about the newly created repository.
	RepositoryMetadata *RepositoryMetadata `locationName:"repositoryMetadata" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a create repository operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryOutput

func (CreateRepositoryOutput) GoString

func (s CreateRepositoryOutput) GoString() string

GoString returns the string representation

func (*CreateRepositoryOutput) SetRepositoryMetadata

SetRepositoryMetadata sets the RepositoryMetadata field's value.

func (CreateRepositoryOutput) String

func (s CreateRepositoryOutput) String() string

String returns the string representation

type DeleteRepositoryInput

type DeleteRepositoryInput struct {

	// The name of the repository to delete.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a delete repository operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryInput

func (DeleteRepositoryInput) GoString

func (s DeleteRepositoryInput) GoString() string

GoString returns the string representation

func (*DeleteRepositoryInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (DeleteRepositoryInput) String

func (s DeleteRepositoryInput) String() string

String returns the string representation

func (*DeleteRepositoryInput) Validate

func (s *DeleteRepositoryInput) Validate() error

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

type DeleteRepositoryOutput

type DeleteRepositoryOutput struct {

	// The ID of the repository that was deleted.
	RepositoryId *string `locationName:"repositoryId" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a delete repository operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryOutput

func (DeleteRepositoryOutput) GoString

func (s DeleteRepositoryOutput) GoString() string

GoString returns the string representation

func (*DeleteRepositoryOutput) SetRepositoryId

func (s *DeleteRepositoryOutput) SetRepositoryId(v string) *DeleteRepositoryOutput

SetRepositoryId sets the RepositoryId field's value.

func (DeleteRepositoryOutput) String

func (s DeleteRepositoryOutput) String() string

String returns the string representation

type Difference

type Difference struct {

	// Information about an afterBlob data type object, including the ID, the file
	// mode permission code, and the path.
	AfterBlob *BlobMetadata `locationName:"afterBlob" type:"structure"`

	// Information about a beforeBlob data type object, including the ID, the file
	// mode permission code, and the path.
	BeforeBlob *BlobMetadata `locationName:"beforeBlob" type:"structure"`

	// Whether the change type of the difference is an addition (A), deletion (D),
	// or modification (M).
	ChangeType *string `locationName:"changeType" type:"string" enum:"ChangeTypeEnum"`
	// contains filtered or unexported fields
}

Returns information about a set of differences for a commit specifier. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Difference

func (Difference) GoString

func (s Difference) GoString() string

GoString returns the string representation

func (*Difference) SetAfterBlob

func (s *Difference) SetAfterBlob(v *BlobMetadata) *Difference

SetAfterBlob sets the AfterBlob field's value.

func (*Difference) SetBeforeBlob

func (s *Difference) SetBeforeBlob(v *BlobMetadata) *Difference

SetBeforeBlob sets the BeforeBlob field's value.

func (*Difference) SetChangeType

func (s *Difference) SetChangeType(v string) *Difference

SetChangeType sets the ChangeType field's value.

func (Difference) String

func (s Difference) String() string

String returns the string representation

type GetBlobInput

type GetBlobInput struct {

	// The ID of the blob, which is its SHA-1 pointer.
	//
	// BlobId is a required field
	BlobId *string `locationName:"blobId" type:"string" required:"true"`

	// The name of the repository that contains the blob.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a get blob operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlobInput

func (GetBlobInput) GoString

func (s GetBlobInput) GoString() string

GoString returns the string representation

func (*GetBlobInput) SetBlobId

func (s *GetBlobInput) SetBlobId(v string) *GetBlobInput

SetBlobId sets the BlobId field's value.

func (*GetBlobInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetBlobInput) String

func (s GetBlobInput) String() string

String returns the string representation

func (*GetBlobInput) Validate

func (s *GetBlobInput) Validate() error

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

type GetBlobOutput

type GetBlobOutput struct {

	// The content of the blob, usually a file.
	//
	// Content is automatically base64 encoded/decoded by the SDK.
	//
	// Content is a required field
	Content []byte `locationName:"content" type:"blob" required:"true"`
	// contains filtered or unexported fields
}

Represents the output of a get blob operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlobOutput

func (GetBlobOutput) GoString

func (s GetBlobOutput) GoString() string

GoString returns the string representation

func (*GetBlobOutput) SetContent

func (s *GetBlobOutput) SetContent(v []byte) *GetBlobOutput

SetContent sets the Content field's value.

func (GetBlobOutput) String

func (s GetBlobOutput) String() string

String returns the string representation

type GetBranchInput

type GetBranchInput struct {

	// The name of the branch for which you want to retrieve information.
	BranchName *string `locationName:"branchName" min:"1" type:"string"`

	// The name of the repository that contains the branch for which you want to
	// retrieve information.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the input of a get branch operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchInput

func (GetBranchInput) GoString

func (s GetBranchInput) GoString() string

GoString returns the string representation

func (*GetBranchInput) SetBranchName

func (s *GetBranchInput) SetBranchName(v string) *GetBranchInput

SetBranchName sets the BranchName field's value.

func (*GetBranchInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetBranchInput) String

func (s GetBranchInput) String() string

String returns the string representation

func (*GetBranchInput) Validate

func (s *GetBranchInput) Validate() error

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

type GetBranchOutput

type GetBranchOutput struct {

	// The name of the branch.
	Branch *BranchInfo `locationName:"branch" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a get branch operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchOutput

func (GetBranchOutput) GoString

func (s GetBranchOutput) GoString() string

GoString returns the string representation

func (*GetBranchOutput) SetBranch

func (s *GetBranchOutput) SetBranch(v *BranchInfo) *GetBranchOutput

SetBranch sets the Branch field's value.

func (GetBranchOutput) String

func (s GetBranchOutput) String() string

String returns the string representation

type GetCommitInput

type GetCommitInput struct {

	// The commit ID.
	//
	// CommitId is a required field
	CommitId *string `locationName:"commitId" type:"string" required:"true"`

	// The name of the repository to which the commit was made.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a get commit operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitInput

func (GetCommitInput) GoString

func (s GetCommitInput) GoString() string

GoString returns the string representation

func (*GetCommitInput) SetCommitId

func (s *GetCommitInput) SetCommitId(v string) *GetCommitInput

SetCommitId sets the CommitId field's value.

func (*GetCommitInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetCommitInput) String

func (s GetCommitInput) String() string

String returns the string representation

func (*GetCommitInput) Validate

func (s *GetCommitInput) Validate() error

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

type GetCommitOutput

type GetCommitOutput struct {

	// A commit data type object that contains information about the specified commit.
	//
	// Commit is a required field
	Commit *Commit `locationName:"commit" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Represents the output of a get commit operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitOutput

func (GetCommitOutput) GoString

func (s GetCommitOutput) GoString() string

GoString returns the string representation

func (*GetCommitOutput) SetCommit

func (s *GetCommitOutput) SetCommit(v *Commit) *GetCommitOutput

SetCommit sets the Commit field's value.

func (GetCommitOutput) String

func (s GetCommitOutput) String() string

String returns the string representation

type GetDifferencesInput

type GetDifferencesInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit.
	//
	// AfterCommitSpecifier is a required field
	AfterCommitSpecifier *string `locationName:"afterCommitSpecifier" type:"string" required:"true"`

	// The file path in which to check differences. Limits the results to this path.
	// Can also be used to specify the changed name of a directory or folder, if
	// it has changed. If not specified, differences will be shown for all paths.
	AfterPath *string `locationName:"afterPath" type:"string"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit. For example, the full commit ID. Optional. If not specified, all
	// changes prior to the afterCommitSpecifier value will be shown. If you do
	// not use beforeCommitSpecifier in your request, consider limiting the results
	// with maxResults.
	BeforeCommitSpecifier *string `locationName:"beforeCommitSpecifier" type:"string"`

	// The file path in which to check for differences. Limits the results to this
	// path. Can also be used to specify the previous name of a directory or folder.
	// If beforePath and afterPath are not specified, differences will be shown
	// for all paths.
	BeforePath *string `locationName:"beforePath" type:"string"`

	// A non-negative integer used to limit the number of returned results.
	MaxResults *int64 `type:"integer"`

	// An enumeration token that when provided in a request, returns the next batch
	// of the results.
	NextToken *string `type:"string"`

	// The name of the repository where you want to get differences.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferencesInput

func (GetDifferencesInput) GoString

func (s GetDifferencesInput) GoString() string

GoString returns the string representation

func (*GetDifferencesInput) SetAfterCommitSpecifier

func (s *GetDifferencesInput) SetAfterCommitSpecifier(v string) *GetDifferencesInput

SetAfterCommitSpecifier sets the AfterCommitSpecifier field's value.

func (*GetDifferencesInput) SetAfterPath

func (s *GetDifferencesInput) SetAfterPath(v string) *GetDifferencesInput

SetAfterPath sets the AfterPath field's value.

func (*GetDifferencesInput) SetBeforeCommitSpecifier

func (s *GetDifferencesInput) SetBeforeCommitSpecifier(v string) *GetDifferencesInput

SetBeforeCommitSpecifier sets the BeforeCommitSpecifier field's value.

func (*GetDifferencesInput) SetBeforePath

func (s *GetDifferencesInput) SetBeforePath(v string) *GetDifferencesInput

SetBeforePath sets the BeforePath field's value.

func (*GetDifferencesInput) SetMaxResults

func (s *GetDifferencesInput) SetMaxResults(v int64) *GetDifferencesInput

SetMaxResults sets the MaxResults field's value.

func (*GetDifferencesInput) SetNextToken

func (s *GetDifferencesInput) SetNextToken(v string) *GetDifferencesInput

SetNextToken sets the NextToken field's value.

func (*GetDifferencesInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetDifferencesInput) String

func (s GetDifferencesInput) String() string

String returns the string representation

func (*GetDifferencesInput) Validate

func (s *GetDifferencesInput) Validate() error

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

type GetDifferencesOutput

type GetDifferencesOutput struct {

	// A differences data type object that contains information about the differences,
	// including whether the difference is added, modified, or deleted (A, D, M).
	Differences []*Difference `locationName:"differences" type:"list"`

	// An enumeration token that can be used in a request to return the next batch
	// of the results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferencesOutput

func (GetDifferencesOutput) GoString

func (s GetDifferencesOutput) GoString() string

GoString returns the string representation

func (*GetDifferencesOutput) SetDifferences

func (s *GetDifferencesOutput) SetDifferences(v []*Difference) *GetDifferencesOutput

SetDifferences sets the Differences field's value.

func (*GetDifferencesOutput) SetNextToken

func (s *GetDifferencesOutput) SetNextToken(v string) *GetDifferencesOutput

SetNextToken sets the NextToken field's value.

func (GetDifferencesOutput) String

func (s GetDifferencesOutput) String() string

String returns the string representation

type GetRepositoryInput

type GetRepositoryInput struct {

	// The name of the repository to get information about.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a get repository operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryInput

func (GetRepositoryInput) GoString

func (s GetRepositoryInput) GoString() string

GoString returns the string representation

func (*GetRepositoryInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryInput) String

func (s GetRepositoryInput) String() string

String returns the string representation

func (*GetRepositoryInput) Validate

func (s *GetRepositoryInput) Validate() error

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

type GetRepositoryOutput

type GetRepositoryOutput struct {

	// Information about the repository.
	RepositoryMetadata *RepositoryMetadata `locationName:"repositoryMetadata" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a get repository operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryOutput

func (GetRepositoryOutput) GoString

func (s GetRepositoryOutput) GoString() string

GoString returns the string representation

func (*GetRepositoryOutput) SetRepositoryMetadata

func (s *GetRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *GetRepositoryOutput

SetRepositoryMetadata sets the RepositoryMetadata field's value.

func (GetRepositoryOutput) String

func (s GetRepositoryOutput) String() string

String returns the string representation

type GetRepositoryTriggersInput

type GetRepositoryTriggersInput struct {

	// The name of the repository for which the trigger is configured.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a get repository triggers operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersInput

func (GetRepositoryTriggersInput) GoString

func (s GetRepositoryTriggersInput) GoString() string

GoString returns the string representation

func (*GetRepositoryTriggersInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryTriggersInput) String

String returns the string representation

func (*GetRepositoryTriggersInput) Validate

func (s *GetRepositoryTriggersInput) Validate() error

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

type GetRepositoryTriggersOutput

type GetRepositoryTriggersOutput struct {

	// The system-generated unique ID for the trigger.
	ConfigurationId *string `locationName:"configurationId" type:"string"`

	// The JSON block of configuration information for each trigger.
	Triggers []*RepositoryTrigger `locationName:"triggers" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a get repository triggers operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersOutput

func (GetRepositoryTriggersOutput) GoString

func (s GetRepositoryTriggersOutput) GoString() string

GoString returns the string representation

func (*GetRepositoryTriggersOutput) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (*GetRepositoryTriggersOutput) SetTriggers

SetTriggers sets the Triggers field's value.

func (GetRepositoryTriggersOutput) String

String returns the string representation

type ListBranchesInput

type ListBranchesInput struct {

	// An enumeration token that allows the operation to batch the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The name of the repository that contains the branches.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a list branches operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesInput

func (ListBranchesInput) GoString

func (s ListBranchesInput) GoString() string

GoString returns the string representation

func (*ListBranchesInput) SetNextToken

func (s *ListBranchesInput) SetNextToken(v string) *ListBranchesInput

SetNextToken sets the NextToken field's value.

func (*ListBranchesInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (ListBranchesInput) String

func (s ListBranchesInput) String() string

String returns the string representation

func (*ListBranchesInput) Validate

func (s *ListBranchesInput) Validate() error

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

type ListBranchesOutput

type ListBranchesOutput struct {

	// The list of branch names.
	Branches []*string `locationName:"branches" type:"list"`

	// An enumeration token that returns the batch of the results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a list branches operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesOutput

func (ListBranchesOutput) GoString

func (s ListBranchesOutput) GoString() string

GoString returns the string representation

func (*ListBranchesOutput) SetBranches

func (s *ListBranchesOutput) SetBranches(v []*string) *ListBranchesOutput

SetBranches sets the Branches field's value.

func (*ListBranchesOutput) SetNextToken

func (s *ListBranchesOutput) SetNextToken(v string) *ListBranchesOutput

SetNextToken sets the NextToken field's value.

func (ListBranchesOutput) String

func (s ListBranchesOutput) String() string

String returns the string representation

type ListRepositoriesInput

type ListRepositoriesInput struct {

	// An enumeration token that allows the operation to batch the results of the
	// operation. Batch sizes are 1,000 for list repository operations. When the
	// client sends the token back to AWS CodeCommit, another page of 1,000 records
	// is retrieved.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The order in which to sort the results of a list repositories operation.
	Order *string `locationName:"order" type:"string" enum:"OrderEnum"`

	// The criteria used to sort the results of a list repositories operation.
	SortBy *string `locationName:"sortBy" type:"string" enum:"SortByEnum"`
	// contains filtered or unexported fields
}

Represents the input of a list repositories operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesInput

func (ListRepositoriesInput) GoString

func (s ListRepositoriesInput) GoString() string

GoString returns the string representation

func (*ListRepositoriesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesInput) SetOrder

SetOrder sets the Order field's value.

func (*ListRepositoriesInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (ListRepositoriesInput) String

func (s ListRepositoriesInput) String() string

String returns the string representation

type ListRepositoriesOutput

type ListRepositoriesOutput struct {

	// An enumeration token that allows the operation to batch the results of the
	// operation. Batch sizes are 1,000 for list repository operations. When the
	// client sends the token back to AWS CodeCommit, another page of 1,000 records
	// is retrieved.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Lists the repositories called by the list repositories operation.
	Repositories []*RepositoryNameIdPair `locationName:"repositories" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a list repositories operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesOutput

func (ListRepositoriesOutput) GoString

func (s ListRepositoriesOutput) GoString() string

GoString returns the string representation

func (*ListRepositoriesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesOutput) SetRepositories

SetRepositories sets the Repositories field's value.

func (ListRepositoriesOutput) String

func (s ListRepositoriesOutput) String() string

String returns the string representation

type PutRepositoryTriggersInput

type PutRepositoryTriggersInput struct {

	// The name of the repository where you want to create or update the trigger.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The JSON block of configuration information for each trigger.
	//
	// Triggers is a required field
	Triggers []*RepositoryTrigger `locationName:"triggers" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input ofa put repository triggers operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersInput

func (PutRepositoryTriggersInput) GoString

func (s PutRepositoryTriggersInput) GoString() string

GoString returns the string representation

func (*PutRepositoryTriggersInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*PutRepositoryTriggersInput) SetTriggers

SetTriggers sets the Triggers field's value.

func (PutRepositoryTriggersInput) String

String returns the string representation

func (*PutRepositoryTriggersInput) Validate

func (s *PutRepositoryTriggersInput) Validate() error

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

type PutRepositoryTriggersOutput

type PutRepositoryTriggersOutput struct {

	// The system-generated unique ID for the create or update operation.
	ConfigurationId *string `locationName:"configurationId" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a put repository triggers operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersOutput

func (PutRepositoryTriggersOutput) GoString

func (s PutRepositoryTriggersOutput) GoString() string

GoString returns the string representation

func (*PutRepositoryTriggersOutput) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (PutRepositoryTriggersOutput) String

String returns the string representation

type RepositoryMetadata

type RepositoryMetadata struct {

	// The ID of the AWS account associated with the repository.
	AccountId *string `locationName:"accountId" type:"string"`

	// The Amazon Resource Name (ARN) of the repository.
	Arn *string `type:"string"`

	// The URL to use for cloning the repository over HTTPS.
	CloneUrlHttp *string `locationName:"cloneUrlHttp" type:"string"`

	// The URL to use for cloning the repository over SSH.
	CloneUrlSsh *string `locationName:"cloneUrlSsh" type:"string"`

	// The date and time the repository was created, in timestamp format.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"`

	// The repository's default branch name.
	DefaultBranch *string `locationName:"defaultBranch" min:"1" type:"string"`

	// The date and time the repository was last modified, in timestamp format.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"`

	// A comment or description about the repository.
	RepositoryDescription *string `locationName:"repositoryDescription" type:"string"`

	// The ID of the repository.
	RepositoryId *string `locationName:"repositoryId" type:"string"`

	// The repository's name.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about a repository. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryMetadata

func (RepositoryMetadata) GoString

func (s RepositoryMetadata) GoString() string

GoString returns the string representation

func (*RepositoryMetadata) SetAccountId

func (s *RepositoryMetadata) SetAccountId(v string) *RepositoryMetadata

SetAccountId sets the AccountId field's value.

func (*RepositoryMetadata) SetArn

SetArn sets the Arn field's value.

func (*RepositoryMetadata) SetCloneUrlHttp

func (s *RepositoryMetadata) SetCloneUrlHttp(v string) *RepositoryMetadata

SetCloneUrlHttp sets the CloneUrlHttp field's value.

func (*RepositoryMetadata) SetCloneUrlSsh

func (s *RepositoryMetadata) SetCloneUrlSsh(v string) *RepositoryMetadata

SetCloneUrlSsh sets the CloneUrlSsh field's value.

func (*RepositoryMetadata) SetCreationDate

func (s *RepositoryMetadata) SetCreationDate(v time.Time) *RepositoryMetadata

SetCreationDate sets the CreationDate field's value.

func (*RepositoryMetadata) SetDefaultBranch

func (s *RepositoryMetadata) SetDefaultBranch(v string) *RepositoryMetadata

SetDefaultBranch sets the DefaultBranch field's value.

func (*RepositoryMetadata) SetLastModifiedDate

func (s *RepositoryMetadata) SetLastModifiedDate(v time.Time) *RepositoryMetadata

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*RepositoryMetadata) SetRepositoryDescription

func (s *RepositoryMetadata) SetRepositoryDescription(v string) *RepositoryMetadata

SetRepositoryDescription sets the RepositoryDescription field's value.

func (*RepositoryMetadata) SetRepositoryId

func (s *RepositoryMetadata) SetRepositoryId(v string) *RepositoryMetadata

SetRepositoryId sets the RepositoryId field's value.

func (*RepositoryMetadata) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (RepositoryMetadata) String

func (s RepositoryMetadata) String() string

String returns the string representation

type RepositoryNameIdPair

type RepositoryNameIdPair struct {

	// The ID associated with the repository.
	RepositoryId *string `locationName:"repositoryId" type:"string"`

	// The name associated with the repository.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about a repository name and ID. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameIdPair

func (RepositoryNameIdPair) GoString

func (s RepositoryNameIdPair) GoString() string

GoString returns the string representation

func (*RepositoryNameIdPair) SetRepositoryId

func (s *RepositoryNameIdPair) SetRepositoryId(v string) *RepositoryNameIdPair

SetRepositoryId sets the RepositoryId field's value.

func (*RepositoryNameIdPair) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (RepositoryNameIdPair) String

func (s RepositoryNameIdPair) String() string

String returns the string representation

type RepositoryTrigger

type RepositoryTrigger struct {

	// The branches that will be included in the trigger configuration. If no branches
	// are specified, the trigger will apply to all branches.
	Branches []*string `locationName:"branches" type:"list"`

	// Any custom data associated with the trigger that will be included in the
	// information sent to the target of the trigger.
	CustomData *string `locationName:"customData" type:"string"`

	// The ARN of the resource that is the target for a trigger. For example, the
	// ARN of a topic in Amazon Simple Notification Service (SNS).
	//
	// DestinationArn is a required field
	DestinationArn *string `locationName:"destinationArn" type:"string" required:"true"`

	// The repository events that will cause the trigger to run actions in another
	// service, such as sending a notification through Amazon Simple Notification
	// Service (SNS).
	//
	// The valid value "all" cannot be used with any other values.
	//
	// Events is a required field
	Events []*string `locationName:"events" type:"list" required:"true"`

	// The name of the trigger.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about a trigger for a repository. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTrigger

func (RepositoryTrigger) GoString

func (s RepositoryTrigger) GoString() string

GoString returns the string representation

func (*RepositoryTrigger) SetBranches

func (s *RepositoryTrigger) SetBranches(v []*string) *RepositoryTrigger

SetBranches sets the Branches field's value.

func (*RepositoryTrigger) SetCustomData

func (s *RepositoryTrigger) SetCustomData(v string) *RepositoryTrigger

SetCustomData sets the CustomData field's value.

func (*RepositoryTrigger) SetDestinationArn

func (s *RepositoryTrigger) SetDestinationArn(v string) *RepositoryTrigger

SetDestinationArn sets the DestinationArn field's value.

func (*RepositoryTrigger) SetEvents

func (s *RepositoryTrigger) SetEvents(v []*string) *RepositoryTrigger

SetEvents sets the Events field's value.

func (*RepositoryTrigger) SetName

SetName sets the Name field's value.

func (RepositoryTrigger) String

func (s RepositoryTrigger) String() string

String returns the string representation

func (*RepositoryTrigger) Validate

func (s *RepositoryTrigger) Validate() error

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

type RepositoryTriggerExecutionFailure

type RepositoryTriggerExecutionFailure struct {

	// Additional message information about the trigger that did not run.
	FailureMessage *string `locationName:"failureMessage" type:"string"`

	// The name of the trigger that did not run.
	Trigger *string `locationName:"trigger" type:"string"`
	// contains filtered or unexported fields
}

A trigger failed to run. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerExecutionFailure

func (RepositoryTriggerExecutionFailure) GoString

GoString returns the string representation

func (*RepositoryTriggerExecutionFailure) SetFailureMessage

SetFailureMessage sets the FailureMessage field's value.

func (*RepositoryTriggerExecutionFailure) SetTrigger

SetTrigger sets the Trigger field's value.

func (RepositoryTriggerExecutionFailure) String

String returns the string representation

type TestRepositoryTriggersInput

type TestRepositoryTriggersInput struct {

	// The name of the repository in which to test the triggers.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The list of triggers to test.
	//
	// Triggers is a required field
	Triggers []*RepositoryTrigger `locationName:"triggers" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a test repository triggers operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersInput

func (TestRepositoryTriggersInput) GoString

func (s TestRepositoryTriggersInput) GoString() string

GoString returns the string representation

func (*TestRepositoryTriggersInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*TestRepositoryTriggersInput) SetTriggers

SetTriggers sets the Triggers field's value.

func (TestRepositoryTriggersInput) String

String returns the string representation

func (*TestRepositoryTriggersInput) Validate

func (s *TestRepositoryTriggersInput) Validate() error

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

type TestRepositoryTriggersOutput

type TestRepositoryTriggersOutput struct {

	// The list of triggers that were not able to be tested. This list provides
	// the names of the triggers that could not be tested, separated by commas.
	FailedExecutions []*RepositoryTriggerExecutionFailure `locationName:"failedExecutions" type:"list"`

	// The list of triggers that were successfully tested. This list provides the
	// names of the triggers that were successfully tested, separated by commas.
	SuccessfulExecutions []*string `locationName:"successfulExecutions" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a test repository triggers operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersOutput

func (TestRepositoryTriggersOutput) GoString

func (s TestRepositoryTriggersOutput) GoString() string

GoString returns the string representation

func (*TestRepositoryTriggersOutput) SetFailedExecutions

SetFailedExecutions sets the FailedExecutions field's value.

func (*TestRepositoryTriggersOutput) SetSuccessfulExecutions

func (s *TestRepositoryTriggersOutput) SetSuccessfulExecutions(v []*string) *TestRepositoryTriggersOutput

SetSuccessfulExecutions sets the SuccessfulExecutions field's value.

func (TestRepositoryTriggersOutput) String

String returns the string representation

type UpdateDefaultBranchInput

type UpdateDefaultBranchInput struct {

	// The name of the branch to set as the default.
	//
	// DefaultBranchName is a required field
	DefaultBranchName *string `locationName:"defaultBranchName" min:"1" type:"string" required:"true"`

	// The name of the repository to set or change the default branch for.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of an update default branch operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchInput

func (UpdateDefaultBranchInput) GoString

func (s UpdateDefaultBranchInput) GoString() string

GoString returns the string representation

func (*UpdateDefaultBranchInput) SetDefaultBranchName

func (s *UpdateDefaultBranchInput) SetDefaultBranchName(v string) *UpdateDefaultBranchInput

SetDefaultBranchName sets the DefaultBranchName field's value.

func (*UpdateDefaultBranchInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (UpdateDefaultBranchInput) String

func (s UpdateDefaultBranchInput) String() string

String returns the string representation

func (*UpdateDefaultBranchInput) Validate

func (s *UpdateDefaultBranchInput) Validate() error

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

type UpdateDefaultBranchOutput

type UpdateDefaultBranchOutput struct {
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchOutput

func (UpdateDefaultBranchOutput) GoString

func (s UpdateDefaultBranchOutput) GoString() string

GoString returns the string representation

func (UpdateDefaultBranchOutput) String

func (s UpdateDefaultBranchOutput) String() string

String returns the string representation

type UpdateRepositoryDescriptionInput

type UpdateRepositoryDescriptionInput struct {

	// The new comment or description for the specified repository. Repository descriptions
	// are limited to 1,000 characters.
	RepositoryDescription *string `locationName:"repositoryDescription" type:"string"`

	// The name of the repository to set or change the comment or description for.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of an update repository description operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionInput

func (UpdateRepositoryDescriptionInput) GoString

GoString returns the string representation

func (*UpdateRepositoryDescriptionInput) SetRepositoryDescription

SetRepositoryDescription sets the RepositoryDescription field's value.

func (*UpdateRepositoryDescriptionInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (UpdateRepositoryDescriptionInput) String

String returns the string representation

func (*UpdateRepositoryDescriptionInput) Validate

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

type UpdateRepositoryDescriptionOutput

type UpdateRepositoryDescriptionOutput struct {
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionOutput

func (UpdateRepositoryDescriptionOutput) GoString

GoString returns the string representation

func (UpdateRepositoryDescriptionOutput) String

String returns the string representation

type UpdateRepositoryNameInput

type UpdateRepositoryNameInput struct {

	// The new name for the repository.
	//
	// NewName is a required field
	NewName *string `locationName:"newName" min:"1" type:"string" required:"true"`

	// The existing name of the repository.
	//
	// OldName is a required field
	OldName *string `locationName:"oldName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of an update repository description operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryNameInput

func (UpdateRepositoryNameInput) GoString

func (s UpdateRepositoryNameInput) GoString() string

GoString returns the string representation

func (*UpdateRepositoryNameInput) SetNewName

SetNewName sets the NewName field's value.

func (*UpdateRepositoryNameInput) SetOldName

SetOldName sets the OldName field's value.

func (UpdateRepositoryNameInput) String

func (s UpdateRepositoryNameInput) String() string

String returns the string representation

func (*UpdateRepositoryNameInput) Validate

func (s *UpdateRepositoryNameInput) Validate() error

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

type UpdateRepositoryNameOutput

type UpdateRepositoryNameOutput struct {
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryNameOutput

func (UpdateRepositoryNameOutput) GoString

func (s UpdateRepositoryNameOutput) GoString() string

GoString returns the string representation

func (UpdateRepositoryNameOutput) String

String returns the string representation

type UserInfo

type UserInfo struct {

	// The date when the specified commit was pushed to the repository.
	Date *string `locationName:"date" type:"string"`

	// The email address associated with the user who made the commit, if any.
	Email *string `locationName:"email" type:"string"`

	// The name of the user who made the specified commit.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Information about the user who made a specified commit. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UserInfo

func (UserInfo) GoString

func (s UserInfo) GoString() string

GoString returns the string representation

func (*UserInfo) SetDate

func (s *UserInfo) SetDate(v string) *UserInfo

SetDate sets the Date field's value.

func (*UserInfo) SetEmail

func (s *UserInfo) SetEmail(v string) *UserInfo

SetEmail sets the Email field's value.

func (*UserInfo) SetName

func (s *UserInfo) SetName(v string) *UserInfo

SetName sets the Name field's value.

func (UserInfo) String

func (s UserInfo) String() string

String returns the string representation

Directories

Path Synopsis
Package codecommitiface provides an interface to enable mocking the AWS CodeCommit service client for testing your code.
Package codecommitiface provides an interface to enable mocking the AWS CodeCommit service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL