types

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSSessionCredentials

type AWSSessionCredentials struct {
	// The token for the session.
	SessionToken *string
	// The access key for the session.
	AccessKeyId *string
	// The secret access key for the session.
	SecretAccessKey *string
}

Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifact for the pipeline in AWS CodePipeline.

type ActionCategory

type ActionCategory string
const (
	ActionCategorySource   ActionCategory = "Source"
	ActionCategoryBuild    ActionCategory = "Build"
	ActionCategoryDeploy   ActionCategory = "Deploy"
	ActionCategoryTest     ActionCategory = "Test"
	ActionCategoryInvoke   ActionCategory = "Invoke"
	ActionCategoryApproval ActionCategory = "Approval"
)

Enum values for ActionCategory

type ActionConfiguration

type ActionConfiguration struct {
	// The configuration data for the action.
	Configuration map[string]*string
}

Represents information about an action configuration.

type ActionConfigurationProperty

type ActionConfigurationProperty struct {
	// Indicates that the property is used with PollForJobs. When creating a custom
	// action, an action can have up to one queryable property. If it has one, that
	// property must be both required and not secret. If you create a pipeline with a
	// custom action type, and that custom action contains a queryable property, the
	// value for that configuration property is subject to other restrictions. The
	// value must be less than or equal to twenty (20) characters. The value can
	// contain only alphanumeric characters, underscores, and hyphens.
	Queryable *bool
	// The description of the action configuration property that is displayed to users.
	Description *string
	// Whether the configuration property is a required value.
	Required *bool
	// The type of the configuration property.
	Type ActionConfigurationPropertyType
	// Whether the configuration property is a key.
	Key *bool
	// The name of the action configuration property.
	Name *string
	// Whether the configuration property is secret. Secrets are hidden from all calls
	// except for GetJobDetails, GetThirdPartyJobDetails, PollForJobs, and
	// PollForThirdPartyJobs. When updating a pipeline, passing * * * * * without
	// changing any other values of the action preserves the previous value of the
	// secret.
	Secret *bool
}

Represents information about an action configuration property.

type ActionConfigurationPropertyType

type ActionConfigurationPropertyType string
const (
	ActionConfigurationPropertyTypeString  ActionConfigurationPropertyType = "String"
	ActionConfigurationPropertyTypeNumber  ActionConfigurationPropertyType = "Number"
	ActionConfigurationPropertyTypeBoolean ActionConfigurationPropertyType = "Boolean"
)

Enum values for ActionConfigurationPropertyType

type ActionContext

type ActionContext struct {
	// The system-generated unique ID that corresponds to an action's execution.
	ActionExecutionId *string
	// The name of the action in the context of a job.
	Name *string
}

Represents the context of an action in the stage of a pipeline to a job worker.

type ActionDeclaration

type ActionDeclaration struct {
	// The ARN of the IAM service role that performs the declared action. This is
	// assumed through the roleArn for the pipeline.
	RoleArn *string
	// The action declaration's name.
	Name *string
	// The variable namespace associated with the action. All variables produced as
	// output by this action fall under this namespace.
	Namespace *string
	// The action declaration's AWS Region, such as us-east-1.
	Region *string
	// Specifies the action type and the provider of the action.
	ActionTypeId *ActionTypeId
	// The action's configuration. These are key-value pairs that specify input values
	// for an action. For more information, see Action Structure Requirements in
	// CodePipeline
	// (https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements).
	// For the list of configuration properties for the AWS CloudFormation action type
	// in CodePipeline, see Configuration Properties Reference
	// (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-action-reference.html)
	// in the AWS CloudFormation User Guide. For template snippets with examples, see
	// Using Parameter Override Functions with CodePipeline Pipelines
	// (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-parameter-override-functions.html)
	// in the AWS CloudFormation User Guide. The values can be represented in either
	// JSON or YAML format. For example, the JSON configuration item format is as
	// follows: JSON: "Configuration" : { Key : Value },
	Configuration map[string]*string
	// The order in which actions are run.
	RunOrder *int32
	// The name or ID of the artifact consumed by the action, such as a test or build
	// artifact.
	InputArtifacts []*InputArtifact
	// The name or ID of the result of the action declaration, such as a test or build
	// artifact.
	OutputArtifacts []*OutputArtifact
}

Represents information about an action declaration.

type ActionExecution

type ActionExecution struct {
	// The URL of a resource external to AWS that is used when running the action (for
	// example, an external repository URL).
	ExternalExecutionUrl *string
	// A summary of the run of the action.
	Summary *string
	// The ARN of the user who last changed the pipeline.
	LastUpdatedBy *string
	// The last status change of the action.
	LastStatusChange *time.Time
	// A percentage of completeness of the action as it runs.
	PercentComplete *int32
	// The details of an error returned by a URL external to AWS.
	ErrorDetails *ErrorDetails
	// The status of the action, or for a completed action, the last status of the
	// action.
	Status ActionExecutionStatus
	// The external ID of the run of the action.
	ExternalExecutionId *string
	// The system-generated token used to identify a unique approval request. The token
	// for each open approval request can be obtained using the GetPipelineState
	// command. It is used to validate that the approval request corresponding to this
	// token is still valid.
	Token *string
}

Represents information about the run of an action.

type ActionExecutionDetail

type ActionExecutionDetail struct {
	// The pipeline execution ID for the action execution.
	PipelineExecutionId *string
	// The start time of the action execution.
	StartTime *time.Time
	// The last update time of the action execution.
	LastUpdateTime *time.Time
	// Input details for the action execution, such as role ARN, Region, and input
	// artifacts.
	Input *ActionExecutionInput
	// The version of the pipeline where the action was run.
	PipelineVersion *int32
	// The status of the action execution. Status categories are InProgress, Succeeded,
	// and Failed.
	Status ActionExecutionStatus
	// The name of the action.
	ActionName *string
	// The action execution ID.
	ActionExecutionId *string
	// The name of the stage that contains the action.
	StageName *string
	// Output details for the action execution, such as the action execution result.
	Output *ActionExecutionOutput
}

Returns information about an execution of an action, including the action execution ID, and the name, version, and timing of the action.

type ActionExecutionFilter

type ActionExecutionFilter struct {
	// The pipeline execution ID used to filter action execution history.
	PipelineExecutionId *string
}

Filter values for the action execution.

type ActionExecutionInput

type ActionExecutionInput struct {
	// Configuration data for an action execution with all variable references replaced
	// with their real values for the execution.
	ResolvedConfiguration map[string]*string
	// Represents information about an action type.
	ActionTypeId *ActionTypeId
	// The ARN of the IAM service role that performs the declared action. This is
	// assumed through the roleArn for the pipeline.
	RoleArn *string
	// The AWS Region for the action, such as us-east-1.
	Region *string
	// Configuration data for an action execution.
	Configuration map[string]*string
	// The variable namespace associated with the action. All variables produced as
	// output by this action fall under this namespace.
	Namespace *string
	// Details of input artifacts of the action that correspond to the action
	// execution.
	InputArtifacts []*ArtifactDetail
}

Input information used for an action execution.

type ActionExecutionOutput

type ActionExecutionOutput struct {
	// Execution result information listed in the output details for an action
	// execution.
	ExecutionResult *ActionExecutionResult
	// The outputVariables field shows the key-value pairs that were output as part of
	// that execution.
	OutputVariables map[string]*string
	// Details of output artifacts of the action that correspond to the action
	// execution.
	OutputArtifacts []*ArtifactDetail
}

Output details listed for an action execution, such as the action execution result.

type ActionExecutionResult

type ActionExecutionResult struct {
	// The action provider's summary for the action execution.
	ExternalExecutionSummary *string
	// The deepest external link to the external resource (for example, a repository
	// URL or deployment endpoint) that is used when running the action.
	ExternalExecutionUrl *string
	// The action provider's external ID for the action execution.
	ExternalExecutionId *string
}

Execution result information, such as the external execution ID.

type ActionExecutionStatus

type ActionExecutionStatus string
const (
	ActionExecutionStatusInprogress ActionExecutionStatus = "InProgress"
	ActionExecutionStatusAbandoned  ActionExecutionStatus = "Abandoned"
	ActionExecutionStatusSucceeded  ActionExecutionStatus = "Succeeded"
	ActionExecutionStatusFailed     ActionExecutionStatus = "Failed"
)

Enum values for ActionExecutionStatus

type ActionNotFoundException

type ActionNotFoundException struct {
	Message *string
}

The specified action cannot be found.

func (*ActionNotFoundException) Error

func (e *ActionNotFoundException) Error() string

func (*ActionNotFoundException) ErrorCode

func (e *ActionNotFoundException) ErrorCode() string

func (*ActionNotFoundException) ErrorFault

func (e *ActionNotFoundException) ErrorFault() smithy.ErrorFault

func (*ActionNotFoundException) ErrorMessage

func (e *ActionNotFoundException) ErrorMessage() string

func (*ActionNotFoundException) GetMessage

func (e *ActionNotFoundException) GetMessage() string

func (*ActionNotFoundException) HasMessage

func (e *ActionNotFoundException) HasMessage() bool

type ActionOwner

type ActionOwner string
const (
	ActionOwnerAws        ActionOwner = "AWS"
	ActionOwnerThirdparty ActionOwner = "ThirdParty"
	ActionOwnerCustom     ActionOwner = "Custom"
)

Enum values for ActionOwner

type ActionRevision

type ActionRevision struct {
	// The system-generated unique ID that identifies the revision number of the
	// action.
	RevisionId *string
	// The unique identifier of the change that set the state to this revision (for
	// example, a deployment ID or timestamp).
	RevisionChangeId *string
	// The date and time when the most recent version of the action was created, in
	// timestamp format.
	Created *time.Time
}

Represents information about the version (or revision) of an action.

type ActionState

type ActionState struct {
	// Represents information about the version (or revision) of an action.
	CurrentRevision *ActionRevision
	// The name of the action.
	ActionName *string
	// Represents information about the run of an action.
	LatestExecution *ActionExecution
	// A URL link for more information about the revision, such as a commit details
	// page.
	RevisionUrl *string
	// A URL link for more information about the state of the action, such as a
	// deployment group details page.
	EntityUrl *string
}

Represents information about the state of an action.

type ActionType

type ActionType struct {
	// The settings for the action type.
	Settings *ActionTypeSettings
	// Represents information about an action type.
	Id *ActionTypeId
	// The details of the output artifact of the action, such as its commit ID.
	OutputArtifactDetails *ArtifactDetails
	// The details of the input artifact for the action, such as its commit ID.
	InputArtifactDetails *ArtifactDetails
	// The configuration properties for the action type.
	ActionConfigurationProperties []*ActionConfigurationProperty
}

Returns information about the details of an action type.

type ActionTypeId

type ActionTypeId struct {
	// A category defines what kind of action can be taken in the stage, and constrains
	// the provider type for the action. Valid categories are limited to one of the
	// following values.
	Category ActionCategory
	// A string that describes the action version.
	Version *string
	// The creator of the action being called.
	Owner ActionOwner
	// The provider of the service being called by the action. Valid providers are
	// determined by the action category. For example, an action in the Deploy category
	// type might have a provider of AWS CodeDeploy, which would be specified as
	// CodeDeploy. For more information, see Valid Action Types and Providers in
	// CodePipeline
	// (https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#actions-valid-providers).
	Provider *string
}

Represents information about an action type.

type ActionTypeNotFoundException

type ActionTypeNotFoundException struct {
	Message *string
}

The specified action type cannot be found.

func (*ActionTypeNotFoundException) Error

func (*ActionTypeNotFoundException) ErrorCode

func (e *ActionTypeNotFoundException) ErrorCode() string

func (*ActionTypeNotFoundException) ErrorFault

func (*ActionTypeNotFoundException) ErrorMessage

func (e *ActionTypeNotFoundException) ErrorMessage() string

func (*ActionTypeNotFoundException) GetMessage

func (e *ActionTypeNotFoundException) GetMessage() string

func (*ActionTypeNotFoundException) HasMessage

func (e *ActionTypeNotFoundException) HasMessage() bool

type ActionTypeSettings

type ActionTypeSettings struct {
	// The URL of a sign-up page where users can sign up for an external service and
	// perform initial configuration of the action provided by that service.
	ThirdPartyConfigurationUrl *string
	// The URL returned to the AWS CodePipeline console that provides a deep link to
	// the resources of the external system, such as the configuration page for an AWS
	// CodeDeploy deployment group. This link is provided as part of the action display
	// in the pipeline.
	EntityUrlTemplate *string
	// The URL returned to the AWS CodePipeline console that contains a link to the
	// top-level landing page for the external system, such as the console page for AWS
	// CodeDeploy. This link is shown on the pipeline view page in the AWS CodePipeline
	// console and provides a link to the execution entity of the external action.
	ExecutionUrlTemplate *string
	// The URL returned to the AWS CodePipeline console that contains a link to the
	// page where customers can update or change the configuration of the external
	// action.
	RevisionUrlTemplate *string
}

Returns information about the settings for an action type.

type ApprovalAlreadyCompletedException

type ApprovalAlreadyCompletedException struct {
	Message *string
}

The approval action has already been approved or rejected.

func (*ApprovalAlreadyCompletedException) Error

func (*ApprovalAlreadyCompletedException) ErrorCode

func (*ApprovalAlreadyCompletedException) ErrorFault

func (*ApprovalAlreadyCompletedException) ErrorMessage

func (e *ApprovalAlreadyCompletedException) ErrorMessage() string

func (*ApprovalAlreadyCompletedException) GetMessage

func (e *ApprovalAlreadyCompletedException) GetMessage() string

func (*ApprovalAlreadyCompletedException) HasMessage

func (e *ApprovalAlreadyCompletedException) HasMessage() bool

type ApprovalResult

type ApprovalResult struct {
	// The summary of the current status of the approval request.
	Summary *string
	// The response submitted by a reviewer assigned to an approval action request.
	Status ApprovalStatus
}

Represents information about the result of an approval request.

type ApprovalStatus

type ApprovalStatus string
const (
	ApprovalStatusApproved ApprovalStatus = "Approved"
	ApprovalStatusRejected ApprovalStatus = "Rejected"
)

Enum values for ApprovalStatus

type Artifact

type Artifact struct {
	// The artifact's revision ID. Depending on the type of object, this could be a
	// commit ID (GitHub) or a revision ID (Amazon S3).
	Revision *string
	// The artifact's name.
	Name *string
	// The location of an artifact.
	Location *ArtifactLocation
}

Represents information about an artifact that is worked on by actions in the pipeline.

type ArtifactDetail

type ArtifactDetail struct {
	// The Amazon S3 artifact location for the action execution.
	S3location *S3Location
	// The artifact object name for the action execution.
	Name *string
}

Artifact details for the action execution, such as the artifact location.

type ArtifactDetails

type ArtifactDetails struct {
	// The maximum number of artifacts allowed for the action type.
	MaximumCount *int32
	// The minimum number of artifacts allowed for the action type.
	MinimumCount *int32
}

Returns information about the details of an artifact.

type ArtifactLocation

type ArtifactLocation struct {
	// The type of artifact in the location.
	Type ArtifactLocationType
	// The S3 bucket that contains the artifact.
	S3Location *S3ArtifactLocation
}

Represents information about the location of an artifact.

type ArtifactLocationType

type ArtifactLocationType string
const (
	ArtifactLocationTypeS3 ArtifactLocationType = "S3"
)

Enum values for ArtifactLocationType

type ArtifactRevision

type ArtifactRevision struct {
	// An additional identifier for a revision, such as a commit date or, for artifacts
	// stored in Amazon S3 buckets, the ETag value.
	RevisionChangeIdentifier *string
	// The name of an artifact. This name might be system-generated, such as "MyApp",
	// or defined by the user when an action is created.
	Name *string
	// The revision ID of the artifact.
	RevisionId *string
	// Summary information about the most recent revision of the artifact. For GitHub
	// and AWS CodeCommit repositories, the commit message. For Amazon S3 buckets or
	// actions, the user-provided content of a codepipeline-artifact-revision-summary
	// key specified in the object metadata.
	RevisionSummary *string
	// The date and time when the most recent revision of the artifact was created, in
	// timestamp format.
	Created *time.Time
	// The commit ID for the artifact revision. For artifacts stored in GitHub or AWS
	// CodeCommit repositories, the commit ID is linked to a commit details page.
	RevisionUrl *string
}

Represents revision details of an artifact.

type ArtifactStore

type ArtifactStore struct {
	// The type of the artifact store, such as S3.
	Type ArtifactStoreType
	// The encryption key used to encrypt the data in the artifact store, such as an
	// AWS Key Management Service (AWS KMS) key. If this is undefined, the default key
	// for Amazon S3 is used.
	EncryptionKey *EncryptionKey
	// The S3 bucket used for storing the artifacts for a pipeline. You can specify the
	// name of an S3 bucket but not a folder in the bucket. A folder to contain the
	// pipeline artifacts is created for you based on the name of the pipeline. You can
	// use any S3 bucket in the same AWS Region as the pipeline to store your pipeline
	// artifacts.
	Location *string
}

The S3 bucket where artifacts for the pipeline are stored. You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores.

type ArtifactStoreType

type ArtifactStoreType string
const (
	ArtifactStoreTypeS3 ArtifactStoreType = "S3"
)

Enum values for ArtifactStoreType

type BlockerDeclaration

type BlockerDeclaration struct {
	// Reserved for future use.
	Name *string
	// Reserved for future use.
	Type BlockerType
}

Reserved for future use.

type BlockerType

type BlockerType string
const (
	BlockerTypeSchedule BlockerType = "Schedule"
)

Enum values for BlockerType

type ConcurrentModificationException

type ConcurrentModificationException struct {
	Message *string
}

Unable to modify the tag due to a simultaneous update request.

func (*ConcurrentModificationException) Error

func (*ConcurrentModificationException) ErrorCode

func (e *ConcurrentModificationException) ErrorCode() string

func (*ConcurrentModificationException) ErrorFault

func (*ConcurrentModificationException) ErrorMessage

func (e *ConcurrentModificationException) ErrorMessage() string

func (*ConcurrentModificationException) GetMessage

func (e *ConcurrentModificationException) GetMessage() string

func (*ConcurrentModificationException) HasMessage

func (e *ConcurrentModificationException) HasMessage() bool

type CurrentRevision

type CurrentRevision struct {
	// The summary of the most recent revision of the artifact.
	RevisionSummary *string
	// The date and time when the most recent revision of the artifact was created, in
	// timestamp format.
	Created *time.Time
	// The change identifier for the current revision.
	ChangeIdentifier *string
	// The revision ID of the current version of an artifact.
	Revision *string
}

Represents information about a current revision.

type DuplicatedStopRequestException

type DuplicatedStopRequestException struct {
	Message *string
}

The pipeline execution is already in a Stopping state. If you already chose to stop and wait, you cannot make that request again. You can choose to stop and abandon now, but be aware that this option can lead to failed tasks or out of sequence tasks. If you already chose to stop and abandon, you cannot make that request again.

func (*DuplicatedStopRequestException) Error

func (*DuplicatedStopRequestException) ErrorCode

func (e *DuplicatedStopRequestException) ErrorCode() string

func (*DuplicatedStopRequestException) ErrorFault

func (*DuplicatedStopRequestException) ErrorMessage

func (e *DuplicatedStopRequestException) ErrorMessage() string

func (*DuplicatedStopRequestException) GetMessage

func (e *DuplicatedStopRequestException) GetMessage() string

func (*DuplicatedStopRequestException) HasMessage

func (e *DuplicatedStopRequestException) HasMessage() bool

type EncryptionKey

type EncryptionKey struct {
	// The type of encryption key, such as an AWS Key Management Service (AWS KMS) key.
	// When creating or updating a pipeline, the value must be set to 'KMS'.
	Type EncryptionKeyType
	// The ID used to identify the key. For an AWS KMS key, you can use the key ID, the
	// key ARN, or the alias ARN. Aliases are recognized only in the account that
	// created the customer master key (CMK). For cross-account actions, you can only
	// use the key ID or key ARN to identify the key.
	Id *string
}

Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.

type EncryptionKeyType

type EncryptionKeyType string
const (
	EncryptionKeyTypeKms EncryptionKeyType = "KMS"
)

Enum values for EncryptionKeyType

type ErrorDetails

type ErrorDetails struct {
	// The text of the error message.
	Message *string
	// The system ID or number code of the error.
	Code *string
}

Represents information about an error in AWS CodePipeline.

type ExecutionDetails

type ExecutionDetails struct {
	// The summary of the current status of the actions.
	Summary *string
	// The system-generated unique ID of this action used to identify this job worker
	// in any external systems, such as AWS CodeDeploy.
	ExternalExecutionId *string
	// The percentage of work completed on the action, represented on a scale of 0 to
	// 100 percent.
	PercentComplete *int32
}

The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.

type ExecutionTrigger

type ExecutionTrigger struct {
	// The type of change-detection method, command, or user interaction that started a
	// pipeline execution.
	TriggerType TriggerType
	// Detail related to the event that started a pipeline execution, such as the
	// webhook ARN of the webhook that triggered the pipeline execution or the user ARN
	// for a user-initiated start-pipeline-execution CLI command.
	TriggerDetail *string
}

The interaction or event that started a pipeline execution.

type FailureDetails

type FailureDetails struct {
	// The external ID of the run of the action that failed.
	ExternalExecutionId *string
	// The message about the failure.
	Message *string
	// The type of the failure.
	Type FailureType
}

Represents information about failure details.

type FailureType

type FailureType string
const (
	FailureTypeJobfailed           FailureType = "JobFailed"
	FailureTypeConfigurationerror  FailureType = "ConfigurationError"
	FailureTypePermissionerror     FailureType = "PermissionError"
	FailureTypeRevisionoutofsync   FailureType = "RevisionOutOfSync"
	FailureTypeRevisionunavailable FailureType = "RevisionUnavailable"
	FailureTypeSystemunavailable   FailureType = "SystemUnavailable"
)

Enum values for FailureType

type InputArtifact

type InputArtifact struct {
	// The name of the artifact to be worked on (for example, "My App"). The input
	// artifact of an action must exactly match the output artifact declared in a
	// preceding action, but the input artifact does not have to be the next action in
	// strict sequence from the action that provided the output artifact. Actions in
	// parallel can declare different output artifacts, which are in turn consumed by
	// different following actions.
	Name *string
}

Represents information about an artifact to be worked on, such as a test or build artifact.

type InvalidActionDeclarationException

type InvalidActionDeclarationException struct {
	Message *string
}

The action declaration was specified in an invalid format.

func (*InvalidActionDeclarationException) Error

func (*InvalidActionDeclarationException) ErrorCode

func (*InvalidActionDeclarationException) ErrorFault

func (*InvalidActionDeclarationException) ErrorMessage

func (e *InvalidActionDeclarationException) ErrorMessage() string

func (*InvalidActionDeclarationException) GetMessage

func (e *InvalidActionDeclarationException) GetMessage() string

func (*InvalidActionDeclarationException) HasMessage

func (e *InvalidActionDeclarationException) HasMessage() bool

type InvalidApprovalTokenException

type InvalidApprovalTokenException struct {
	Message *string
}

The approval request already received a response or has expired.

func (*InvalidApprovalTokenException) Error

func (*InvalidApprovalTokenException) ErrorCode

func (e *InvalidApprovalTokenException) ErrorCode() string

func (*InvalidApprovalTokenException) ErrorFault

func (*InvalidApprovalTokenException) ErrorMessage

func (e *InvalidApprovalTokenException) ErrorMessage() string

func (*InvalidApprovalTokenException) GetMessage

func (e *InvalidApprovalTokenException) GetMessage() string

func (*InvalidApprovalTokenException) HasMessage

func (e *InvalidApprovalTokenException) HasMessage() bool

type InvalidArnException

type InvalidArnException struct {
	Message *string
}

The specified resource ARN is invalid.

func (*InvalidArnException) Error

func (e *InvalidArnException) Error() string

func (*InvalidArnException) ErrorCode

func (e *InvalidArnException) ErrorCode() string

func (*InvalidArnException) ErrorFault

func (e *InvalidArnException) ErrorFault() smithy.ErrorFault

func (*InvalidArnException) ErrorMessage

func (e *InvalidArnException) ErrorMessage() string

func (*InvalidArnException) GetMessage

func (e *InvalidArnException) GetMessage() string

func (*InvalidArnException) HasMessage

func (e *InvalidArnException) HasMessage() bool

type InvalidBlockerDeclarationException

type InvalidBlockerDeclarationException struct {
	Message *string
}

Reserved for future use.

func (*InvalidBlockerDeclarationException) Error

func (*InvalidBlockerDeclarationException) ErrorCode

func (*InvalidBlockerDeclarationException) ErrorFault

func (*InvalidBlockerDeclarationException) ErrorMessage

func (e *InvalidBlockerDeclarationException) ErrorMessage() string

func (*InvalidBlockerDeclarationException) GetMessage

func (*InvalidBlockerDeclarationException) HasMessage

func (e *InvalidBlockerDeclarationException) HasMessage() bool

type InvalidClientTokenException

type InvalidClientTokenException struct {
	Message *string
}

The client token was specified in an invalid format

func (*InvalidClientTokenException) Error

func (*InvalidClientTokenException) ErrorCode

func (e *InvalidClientTokenException) ErrorCode() string

func (*InvalidClientTokenException) ErrorFault

func (*InvalidClientTokenException) ErrorMessage

func (e *InvalidClientTokenException) ErrorMessage() string

func (*InvalidClientTokenException) GetMessage

func (e *InvalidClientTokenException) GetMessage() string

func (*InvalidClientTokenException) HasMessage

func (e *InvalidClientTokenException) HasMessage() bool

type InvalidJobException

type InvalidJobException struct {
	Message *string
}

The job was specified in an invalid format or cannot be found.

func (*InvalidJobException) Error

func (e *InvalidJobException) Error() string

func (*InvalidJobException) ErrorCode

func (e *InvalidJobException) ErrorCode() string

func (*InvalidJobException) ErrorFault

func (e *InvalidJobException) ErrorFault() smithy.ErrorFault

func (*InvalidJobException) ErrorMessage

func (e *InvalidJobException) ErrorMessage() string

func (*InvalidJobException) GetMessage

func (e *InvalidJobException) GetMessage() string

func (*InvalidJobException) HasMessage

func (e *InvalidJobException) HasMessage() bool

type InvalidJobStateException

type InvalidJobStateException struct {
	Message *string
}

The job state was specified in an invalid format.

func (*InvalidJobStateException) Error

func (e *InvalidJobStateException) Error() string

func (*InvalidJobStateException) ErrorCode

func (e *InvalidJobStateException) ErrorCode() string

func (*InvalidJobStateException) ErrorFault

func (e *InvalidJobStateException) ErrorFault() smithy.ErrorFault

func (*InvalidJobStateException) ErrorMessage

func (e *InvalidJobStateException) ErrorMessage() string

func (*InvalidJobStateException) GetMessage

func (e *InvalidJobStateException) GetMessage() string

func (*InvalidJobStateException) HasMessage

func (e *InvalidJobStateException) HasMessage() bool

type InvalidNextTokenException

type InvalidNextTokenException struct {
	Message *string
}

The next token was specified in an invalid format. Make sure that the next token you provide is the token returned by a previous call.

func (*InvalidNextTokenException) Error

func (e *InvalidNextTokenException) Error() string

func (*InvalidNextTokenException) ErrorCode

func (e *InvalidNextTokenException) ErrorCode() string

func (*InvalidNextTokenException) ErrorFault

func (*InvalidNextTokenException) ErrorMessage

func (e *InvalidNextTokenException) ErrorMessage() string

func (*InvalidNextTokenException) GetMessage

func (e *InvalidNextTokenException) GetMessage() string

func (*InvalidNextTokenException) HasMessage

func (e *InvalidNextTokenException) HasMessage() bool

type InvalidNonceException

type InvalidNonceException struct {
	Message *string
}

The nonce was specified in an invalid format.

func (*InvalidNonceException) Error

func (e *InvalidNonceException) Error() string

func (*InvalidNonceException) ErrorCode

func (e *InvalidNonceException) ErrorCode() string

func (*InvalidNonceException) ErrorFault

func (e *InvalidNonceException) ErrorFault() smithy.ErrorFault

func (*InvalidNonceException) ErrorMessage

func (e *InvalidNonceException) ErrorMessage() string

func (*InvalidNonceException) GetMessage

func (e *InvalidNonceException) GetMessage() string

func (*InvalidNonceException) HasMessage

func (e *InvalidNonceException) HasMessage() bool

type InvalidStageDeclarationException

type InvalidStageDeclarationException struct {
	Message *string
}

The stage declaration was specified in an invalid format.

func (*InvalidStageDeclarationException) Error

func (*InvalidStageDeclarationException) ErrorCode

func (*InvalidStageDeclarationException) ErrorFault

func (*InvalidStageDeclarationException) ErrorMessage

func (e *InvalidStageDeclarationException) ErrorMessage() string

func (*InvalidStageDeclarationException) GetMessage

func (e *InvalidStageDeclarationException) GetMessage() string

func (*InvalidStageDeclarationException) HasMessage

func (e *InvalidStageDeclarationException) HasMessage() bool

type InvalidStructureException

type InvalidStructureException struct {
	Message *string
}

The structure was specified in an invalid format.

func (*InvalidStructureException) Error

func (e *InvalidStructureException) Error() string

func (*InvalidStructureException) ErrorCode

func (e *InvalidStructureException) ErrorCode() string

func (*InvalidStructureException) ErrorFault

func (*InvalidStructureException) ErrorMessage

func (e *InvalidStructureException) ErrorMessage() string

func (*InvalidStructureException) GetMessage

func (e *InvalidStructureException) GetMessage() string

func (*InvalidStructureException) HasMessage

func (e *InvalidStructureException) HasMessage() bool

type InvalidTagsException

type InvalidTagsException struct {
	Message *string
}

The specified resource tags are invalid.

func (*InvalidTagsException) Error

func (e *InvalidTagsException) Error() string

func (*InvalidTagsException) ErrorCode

func (e *InvalidTagsException) ErrorCode() string

func (*InvalidTagsException) ErrorFault

func (e *InvalidTagsException) ErrorFault() smithy.ErrorFault

func (*InvalidTagsException) ErrorMessage

func (e *InvalidTagsException) ErrorMessage() string

func (*InvalidTagsException) GetMessage

func (e *InvalidTagsException) GetMessage() string

func (*InvalidTagsException) HasMessage

func (e *InvalidTagsException) HasMessage() bool

type InvalidWebhookAuthenticationParametersException

type InvalidWebhookAuthenticationParametersException struct {
	Message *string
}

The specified authentication type is in an invalid format.

func (*InvalidWebhookAuthenticationParametersException) Error

func (*InvalidWebhookAuthenticationParametersException) ErrorCode

func (*InvalidWebhookAuthenticationParametersException) ErrorFault

func (*InvalidWebhookAuthenticationParametersException) ErrorMessage

func (*InvalidWebhookAuthenticationParametersException) GetMessage

func (*InvalidWebhookAuthenticationParametersException) HasMessage

type InvalidWebhookFilterPatternException

type InvalidWebhookFilterPatternException struct {
	Message *string
}

The specified event filter rule is in an invalid format.

func (*InvalidWebhookFilterPatternException) Error

func (*InvalidWebhookFilterPatternException) ErrorCode

func (*InvalidWebhookFilterPatternException) ErrorFault

func (*InvalidWebhookFilterPatternException) ErrorMessage

func (e *InvalidWebhookFilterPatternException) ErrorMessage() string

func (*InvalidWebhookFilterPatternException) GetMessage

func (*InvalidWebhookFilterPatternException) HasMessage

type Job

type Job struct {
	// The ID of the AWS account to use when performing the job.
	AccountId *string
	// A system-generated random number that AWS CodePipeline uses to ensure that the
	// job is being worked on by only one job worker. Use this number in an
	// AcknowledgeJob () request.
	Nonce *string
	// The unique system-generated ID of the job.
	Id *string
	// Other data about a job.
	Data *JobData
}

Represents information about a job.

type JobData

type JobData struct {
	// Represents information about a pipeline to a job worker. Includes pipelineArn
	// and pipelineExecutionId for custom jobs.
	PipelineContext *PipelineContext
	// Represents an AWS session credentials object. These credentials are temporary
	// credentials that are issued by AWS Secure Token Service (STS). They can be used
	// to access input and output artifacts in the S3 bucket used to store artifacts
	// for the pipeline in AWS CodePipeline.
	ArtifactCredentials *AWSSessionCredentials
	// A system-generated token, such as a AWS CodeDeploy deployment ID, required by a
	// job to continue the job asynchronously.
	ContinuationToken *string
	// Represents information about the key used to encrypt data in the artifact store,
	// such as an AWS Key Management Service (AWS KMS) key.
	EncryptionKey *EncryptionKey
	// Represents information about an action configuration.
	ActionConfiguration *ActionConfiguration
	// Represents information about an action type.
	ActionTypeId *ActionTypeId
	// The artifact supplied to the job.
	InputArtifacts []*Artifact
	// The output of the job.
	OutputArtifacts []*Artifact
}

Represents other information about a job required for a job worker to complete the job.

type JobDetails

type JobDetails struct {
	// Represents other information about a job required for a job worker to complete
	// the job.
	Data *JobData
	// The unique system-generated ID of the job.
	Id *string
	// The AWS account ID associated with the job.
	AccountId *string
}

Represents information about the details of a job.

type JobNotFoundException

type JobNotFoundException struct {
	Message *string
}

The job was specified in an invalid format or cannot be found.

func (*JobNotFoundException) Error

func (e *JobNotFoundException) Error() string

func (*JobNotFoundException) ErrorCode

func (e *JobNotFoundException) ErrorCode() string

func (*JobNotFoundException) ErrorFault

func (e *JobNotFoundException) ErrorFault() smithy.ErrorFault

func (*JobNotFoundException) ErrorMessage

func (e *JobNotFoundException) ErrorMessage() string

func (*JobNotFoundException) GetMessage

func (e *JobNotFoundException) GetMessage() string

func (*JobNotFoundException) HasMessage

func (e *JobNotFoundException) HasMessage() bool

type JobStatus

type JobStatus string
const (
	JobStatusCreated    JobStatus = "Created"
	JobStatusQueued     JobStatus = "Queued"
	JobStatusDispatched JobStatus = "Dispatched"
	JobStatusInprogress JobStatus = "InProgress"
	JobStatusTimedout   JobStatus = "TimedOut"
	JobStatusSucceeded  JobStatus = "Succeeded"
	JobStatusFailed     JobStatus = "Failed"
)

Enum values for JobStatus

type LimitExceededException

type LimitExceededException struct {
	Message *string
}

The number of pipelines associated with the AWS account has exceeded the limit allowed for the account.

func (*LimitExceededException) Error

func (e *LimitExceededException) Error() string

func (*LimitExceededException) ErrorCode

func (e *LimitExceededException) ErrorCode() string

func (*LimitExceededException) ErrorFault

func (e *LimitExceededException) ErrorFault() smithy.ErrorFault

func (*LimitExceededException) ErrorMessage

func (e *LimitExceededException) ErrorMessage() string

func (*LimitExceededException) GetMessage

func (e *LimitExceededException) GetMessage() string

func (*LimitExceededException) HasMessage

func (e *LimitExceededException) HasMessage() bool

type ListWebhookItem

type ListWebhookItem struct {
	// The date and time a webhook was last successfully triggered, in timestamp
	// format.
	LastTriggered *time.Time
	// A unique URL generated by CodePipeline. When a POST request is made to this URL,
	// the defined pipeline is started as long as the body of the post request
	// satisfies the defined authentication and filtering conditions. Deleting and
	// re-creating a webhook makes the old URL invalid and generates a new one.
	Url *string
	// The text of the error message about the webhook.
	ErrorMessage *string
	// The number code of the error.
	ErrorCode *string
	// Specifies the tags applied to the webhook.
	Tags []*Tag
	// The Amazon Resource Name (ARN) of the webhook.
	Arn *string
	// The detail returned for each webhook, such as the webhook authentication type
	// and filter rules.
	Definition *WebhookDefinition
}

The detail returned for each webhook after listing webhooks, such as the webhook URL, the webhook name, and the webhook ARN.

type NotLatestPipelineExecutionException

type NotLatestPipelineExecutionException struct {
	Message *string
}

The stage has failed in a later run of the pipeline and the pipelineExecutionId associated with the request is out of date.

func (*NotLatestPipelineExecutionException) Error

func (*NotLatestPipelineExecutionException) ErrorCode

func (*NotLatestPipelineExecutionException) ErrorFault

func (*NotLatestPipelineExecutionException) ErrorMessage

func (e *NotLatestPipelineExecutionException) ErrorMessage() string

func (*NotLatestPipelineExecutionException) GetMessage

func (*NotLatestPipelineExecutionException) HasMessage

func (e *NotLatestPipelineExecutionException) HasMessage() bool

type OutputArtifact

type OutputArtifact struct {
	// The name of the output of an artifact, such as "My App". The input artifact of
	// an action must exactly match the output artifact declared in a preceding action,
	// but the input artifact does not have to be the next action in strict sequence
	// from the action that provided the output artifact. Actions in parallel can
	// declare different output artifacts, which are in turn consumed by different
	// following actions. Output artifact names must be unique within a pipeline.
	Name *string
}

Represents information about the output of an action.

type OutputVariablesSizeExceededException

type OutputVariablesSizeExceededException struct {
	Message *string
}

Exceeded the total size limit for all variables in the pipeline.

func (*OutputVariablesSizeExceededException) Error

func (*OutputVariablesSizeExceededException) ErrorCode

func (*OutputVariablesSizeExceededException) ErrorFault

func (*OutputVariablesSizeExceededException) ErrorMessage

func (e *OutputVariablesSizeExceededException) ErrorMessage() string

func (*OutputVariablesSizeExceededException) GetMessage

func (*OutputVariablesSizeExceededException) HasMessage

type PipelineContext

type PipelineContext struct {
	// The context of an action to a job worker in the stage of a pipeline.
	Action *ActionContext
	// The Amazon Resource Name (ARN) of the pipeline.
	PipelineArn *string
	// The execution ID of the pipeline.
	PipelineExecutionId *string
	// The name of the pipeline. This is a user-specified value. Pipeline names must be
	// unique across all pipeline names under an Amazon Web Services account.
	PipelineName *string
	// The stage of the pipeline.
	Stage *StageContext
}

Represents information about a pipeline to a job worker. PipelineContext contains pipelineArn and pipelineExecutionId for custom action jobs. The pipelineArn and pipelineExecutionId fields are not populated for ThirdParty action jobs.

type PipelineDeclaration

type PipelineDeclaration struct {
	// The name of the action to be performed.
	Name *string
	// A mapping of artifactStore objects and their corresponding AWS Regions. There
	// must be an artifact store for the pipeline Region and for each cross-region
	// action in the pipeline. You must include either artifactStore or artifactStores
	// in your pipeline, but you cannot use both. If you create a cross-region action
	// in your pipeline, you must use artifactStores.
	ArtifactStores map[string]*ArtifactStore
	// The stage in which to perform the action.
	Stages []*StageDeclaration
	// The version number of the pipeline. A new pipeline always has a version number
	// of 1. This number is incremented when a pipeline is updated.
	Version *int32
	// The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform
	// actions with no actionRoleArn, or to use to assume roles for actions with an
	// actionRoleArn.
	RoleArn *string
	// Represents information about the S3 bucket where artifacts are stored for the
	// pipeline. You must include either artifactStore or artifactStores in your
	// pipeline, but you cannot use both. If you create a cross-region action in your
	// pipeline, you must use artifactStores.
	ArtifactStore *ArtifactStore
}

Represents the structure of actions and stages to be performed in the pipeline.

type PipelineExecution

type PipelineExecution struct {
	// The version number of the pipeline with the specified pipeline execution.
	PipelineVersion *int32
	// The name of the pipeline with the specified pipeline execution.
	PipelineName *string
	// The status of the pipeline execution.
	//
	//     * InProgress: The pipeline execution
	// is currently running.
	//
	//     * Stopped: The pipeline execution was manually
	// stopped. For more information, see Stopped Executions
	// (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped).
	//
	//
	// * Stopping: The pipeline execution received a request to be manually stopped.
	// Depending on the selected stop mode, the execution is either completing or
	// abandoning in-progress actions. For more information, see Stopped Executions
	// (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped).
	//
	//
	// * Succeeded: The pipeline execution was completed successfully.
	//
	//     *
	// Superseded: While this pipeline execution was waiting for the next stage to be
	// completed, a newer pipeline execution advanced and continued through the
	// pipeline instead. For more information, see Superseded Executions
	// (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded).
	//
	//
	// * Failed: The pipeline execution was not completed successfully.
	Status PipelineExecutionStatus
	// A list of ArtifactRevision objects included in a pipeline execution.
	ArtifactRevisions []*ArtifactRevision
	// The ID of the pipeline execution.
	PipelineExecutionId *string
}

Represents information about an execution of a pipeline.

type PipelineExecutionNotFoundException

type PipelineExecutionNotFoundException struct {
	Message *string
}

The pipeline execution was specified in an invalid format or cannot be found, or an execution ID does not belong to the specified pipeline.

func (*PipelineExecutionNotFoundException) Error

func (*PipelineExecutionNotFoundException) ErrorCode

func (*PipelineExecutionNotFoundException) ErrorFault

func (*PipelineExecutionNotFoundException) ErrorMessage

func (e *PipelineExecutionNotFoundException) ErrorMessage() string

func (*PipelineExecutionNotFoundException) GetMessage

func (*PipelineExecutionNotFoundException) HasMessage

func (e *PipelineExecutionNotFoundException) HasMessage() bool

type PipelineExecutionNotStoppableException

type PipelineExecutionNotStoppableException struct {
	Message *string
}

Unable to stop the pipeline execution. The execution might already be in a Stopped state, or it might no longer be in progress.

func (*PipelineExecutionNotStoppableException) Error

func (*PipelineExecutionNotStoppableException) ErrorCode

func (*PipelineExecutionNotStoppableException) ErrorFault

func (*PipelineExecutionNotStoppableException) ErrorMessage

func (*PipelineExecutionNotStoppableException) GetMessage

func (*PipelineExecutionNotStoppableException) HasMessage

type PipelineExecutionStatus

type PipelineExecutionStatus string
const (
	PipelineExecutionStatusInprogress PipelineExecutionStatus = "InProgress"
	PipelineExecutionStatusStopped    PipelineExecutionStatus = "Stopped"
	PipelineExecutionStatusStopping   PipelineExecutionStatus = "Stopping"
	PipelineExecutionStatusSucceeded  PipelineExecutionStatus = "Succeeded"
	PipelineExecutionStatusSuperseded PipelineExecutionStatus = "Superseded"
	PipelineExecutionStatusFailed     PipelineExecutionStatus = "Failed"
)

Enum values for PipelineExecutionStatus

type PipelineExecutionSummary

type PipelineExecutionSummary struct {
	// The interaction or event that started a pipeline execution, such as automated
	// change detection or a StartPipelineExecution API call.
	Trigger *ExecutionTrigger
	// The date and time when the pipeline execution began, in timestamp format.
	StartTime *time.Time
	// The date and time of the last change to the pipeline execution, in timestamp
	// format.
	LastUpdateTime *time.Time
	// The ID of the pipeline execution.
	PipelineExecutionId *string
	// The interaction that stopped a pipeline execution.
	StopTrigger *StopExecutionTrigger
	// A list of the source artifact revisions that initiated a pipeline execution.
	SourceRevisions []*SourceRevision
	// The status of the pipeline execution.
	//
	//     * InProgress: The pipeline execution
	// is currently running.
	//
	//     * Stopped: The pipeline execution was manually
	// stopped. For more information, see Stopped Executions
	// (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped).
	//
	//
	// * Stopping: The pipeline execution received a request to be manually stopped.
	// Depending on the selected stop mode, the execution is either completing or
	// abandoning in-progress actions. For more information, see Stopped Executions
	// (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped).
	//
	//
	// * Succeeded: The pipeline execution was completed successfully.
	//
	//     *
	// Superseded: While this pipeline execution was waiting for the next stage to be
	// completed, a newer pipeline execution advanced and continued through the
	// pipeline instead. For more information, see Superseded Executions
	// (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded).
	//
	//
	// * Failed: The pipeline execution was not completed successfully.
	Status PipelineExecutionStatus
}

Summary information about a pipeline execution.

type PipelineMetadata

type PipelineMetadata struct {
	// The Amazon Resource Name (ARN) of the pipeline.
	PipelineArn *string
	// The date and time the pipeline was last updated, in timestamp format.
	Updated *time.Time
	// The date and time the pipeline was created, in timestamp format.
	Created *time.Time
}

Information about a pipeline.

type PipelineNameInUseException

type PipelineNameInUseException struct {
	Message *string
}

The specified pipeline name is already in use.

func (*PipelineNameInUseException) Error

func (*PipelineNameInUseException) ErrorCode

func (e *PipelineNameInUseException) ErrorCode() string

func (*PipelineNameInUseException) ErrorFault

func (*PipelineNameInUseException) ErrorMessage

func (e *PipelineNameInUseException) ErrorMessage() string

func (*PipelineNameInUseException) GetMessage

func (e *PipelineNameInUseException) GetMessage() string

func (*PipelineNameInUseException) HasMessage

func (e *PipelineNameInUseException) HasMessage() bool

type PipelineNotFoundException

type PipelineNotFoundException struct {
	Message *string
}

The pipeline was specified in an invalid format or cannot be found.

func (*PipelineNotFoundException) Error

func (e *PipelineNotFoundException) Error() string

func (*PipelineNotFoundException) ErrorCode

func (e *PipelineNotFoundException) ErrorCode() string

func (*PipelineNotFoundException) ErrorFault

func (*PipelineNotFoundException) ErrorMessage

func (e *PipelineNotFoundException) ErrorMessage() string

func (*PipelineNotFoundException) GetMessage

func (e *PipelineNotFoundException) GetMessage() string

func (*PipelineNotFoundException) HasMessage

func (e *PipelineNotFoundException) HasMessage() bool

type PipelineSummary

type PipelineSummary struct {
	// The date and time of the last update to the pipeline, in timestamp format.
	Updated *time.Time
	// The name of the pipeline.
	Name *string
	// The version number of the pipeline.
	Version *int32
	// The date and time the pipeline was created, in timestamp format.
	Created *time.Time
}

Returns a summary of a pipeline.

type PipelineVersionNotFoundException

type PipelineVersionNotFoundException struct {
	Message *string
}

The pipeline version was specified in an invalid format or cannot be found.

func (*PipelineVersionNotFoundException) Error

func (*PipelineVersionNotFoundException) ErrorCode

func (*PipelineVersionNotFoundException) ErrorFault

func (*PipelineVersionNotFoundException) ErrorMessage

func (e *PipelineVersionNotFoundException) ErrorMessage() string

func (*PipelineVersionNotFoundException) GetMessage

func (e *PipelineVersionNotFoundException) GetMessage() string

func (*PipelineVersionNotFoundException) HasMessage

func (e *PipelineVersionNotFoundException) HasMessage() bool

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string
}

The resource was specified in an invalid format.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

func (*ResourceNotFoundException) GetMessage

func (e *ResourceNotFoundException) GetMessage() string

func (*ResourceNotFoundException) HasMessage

func (e *ResourceNotFoundException) HasMessage() bool

type S3ArtifactLocation

type S3ArtifactLocation struct {
	// The key of the object in the S3 bucket, which uniquely identifies the object in
	// the bucket.
	ObjectKey *string
	// The name of the S3 bucket.
	BucketName *string
}

The location of the S3 bucket that contains a revision.

type S3Location

type S3Location struct {
	// The artifact name.
	Key *string
	// The Amazon S3 artifact bucket for an action's artifacts.
	Bucket *string
}

The Amazon S3 artifact location for an action's artifacts.

type SourceRevision

type SourceRevision struct {
	// Summary information about the most recent revision of the artifact. For GitHub
	// and AWS CodeCommit repositories, the commit message. For Amazon S3 buckets or
	// actions, the user-provided content of a codepipeline-artifact-revision-summary
	// key specified in the object metadata.
	RevisionSummary *string
	// The commit ID for the artifact revision. For artifacts stored in GitHub or AWS
	// CodeCommit repositories, the commit ID is linked to a commit details page.
	RevisionUrl *string
	// The system-generated unique ID that identifies the revision number of the
	// artifact.
	RevisionId *string
	// The name of the action that processed the revision to the source artifact.
	ActionName *string
}

Information about the version (or revision) of a source artifact that initiated a pipeline execution.

type StageContext

type StageContext struct {
	// The name of the stage.
	Name *string
}

Represents information about a stage to a job worker.

type StageDeclaration

type StageDeclaration struct {
	// Reserved for future use.
	Blockers []*BlockerDeclaration
	// The name of the stage.
	Name *string
	// The actions included in a stage.
	Actions []*ActionDeclaration
}

Represents information about a stage and its definition.

type StageExecution

type StageExecution struct {
	// The status of the stage, or for a completed stage, the last status of the stage.
	Status StageExecutionStatus
	// The ID of the pipeline execution associated with the stage.
	PipelineExecutionId *string
}

Represents information about the run of a stage.

type StageExecutionStatus

type StageExecutionStatus string
const (
	StageExecutionStatusInprogress StageExecutionStatus = "InProgress"
	StageExecutionStatusFailed     StageExecutionStatus = "Failed"
	StageExecutionStatusStopped    StageExecutionStatus = "Stopped"
	StageExecutionStatusStopping   StageExecutionStatus = "Stopping"
	StageExecutionStatusSucceeded  StageExecutionStatus = "Succeeded"
)

Enum values for StageExecutionStatus

type StageNotFoundException

type StageNotFoundException struct {
	Message *string
}

The stage was specified in an invalid format or cannot be found.

func (*StageNotFoundException) Error

func (e *StageNotFoundException) Error() string

func (*StageNotFoundException) ErrorCode

func (e *StageNotFoundException) ErrorCode() string

func (*StageNotFoundException) ErrorFault

func (e *StageNotFoundException) ErrorFault() smithy.ErrorFault

func (*StageNotFoundException) ErrorMessage

func (e *StageNotFoundException) ErrorMessage() string

func (*StageNotFoundException) GetMessage

func (e *StageNotFoundException) GetMessage() string

func (*StageNotFoundException) HasMessage

func (e *StageNotFoundException) HasMessage() bool

type StageNotRetryableException

type StageNotRetryableException struct {
	Message *string
}

Unable to retry. The pipeline structure or stage state might have changed while actions awaited retry, or the stage contains no failed actions.

func (*StageNotRetryableException) Error

func (*StageNotRetryableException) ErrorCode

func (e *StageNotRetryableException) ErrorCode() string

func (*StageNotRetryableException) ErrorFault

func (*StageNotRetryableException) ErrorMessage

func (e *StageNotRetryableException) ErrorMessage() string

func (*StageNotRetryableException) GetMessage

func (e *StageNotRetryableException) GetMessage() string

func (*StageNotRetryableException) HasMessage

func (e *StageNotRetryableException) HasMessage() bool

type StageRetryMode

type StageRetryMode string
const (
	StageRetryModeFailed_actions StageRetryMode = "FAILED_ACTIONS"
)

Enum values for StageRetryMode

type StageState

type StageState struct {
	// The state of the stage.
	ActionStates []*ActionState
	// The name of the stage.
	StageName *string
	// The state of the inbound transition, which is either enabled or disabled.
	InboundTransitionState *TransitionState
	// Information about the latest execution in the stage, including its ID and
	// status.
	LatestExecution *StageExecution
}

Represents information about the state of the stage.

type StageTransitionType

type StageTransitionType string
const (
	StageTransitionTypeInbound  StageTransitionType = "Inbound"
	StageTransitionTypeOutbound StageTransitionType = "Outbound"
)

Enum values for StageTransitionType

type StopExecutionTrigger

type StopExecutionTrigger struct {
	// The user-specified reason the pipeline was stopped.
	Reason *string
}

The interaction that stopped a pipeline execution.

type Tag

type Tag struct {
	// The tag's value.
	Value *string
	// The tag's key.
	Key *string
}

A tag is a key-value pair that is used to manage the resource.

type ThirdPartyJob

type ThirdPartyJob struct {
	// The identifier used to identify the job in AWS CodePipeline.
	JobId *string
	// The clientToken portion of the clientId and clientToken pair used to verify that
	// the calling entity is allowed access to the job and its details.
	ClientId *string
}

A response to a PollForThirdPartyJobs request returned by AWS CodePipeline when there is a job to be worked on by a partner action.

type ThirdPartyJobData

type ThirdPartyJobData struct {
	// A system-generated token, such as a AWS CodeDeploy deployment ID, that a job
	// requires to continue the job asynchronously.
	ContinuationToken *string
	// Represents an AWS session credentials object. These credentials are temporary
	// credentials that are issued by AWS Secure Token Service (STS). They can be used
	// to access input and output artifacts in the S3 bucket used to store artifact for
	// the pipeline in AWS CodePipeline.
	ArtifactCredentials *AWSSessionCredentials
	// Represents information about an action configuration.
	ActionConfiguration *ActionConfiguration
	// The name of the artifact that is the result of the action, if any. This name
	// might be system-generated, such as "MyBuiltApp", or it might be defined by the
	// user when the action is created.
	OutputArtifacts []*Artifact
	// The encryption key used to encrypt and decrypt data in the artifact store for
	// the pipeline, such as an AWS Key Management Service (AWS KMS) key. This is
	// optional and might not be present.
	EncryptionKey *EncryptionKey
	// Represents information about a pipeline to a job worker. Does not include
	// pipelineArn and pipelineExecutionId for ThirdParty jobs.
	PipelineContext *PipelineContext
	// Represents information about an action type.
	ActionTypeId *ActionTypeId
	// The name of the artifact that is worked on by the action, if any. This name
	// might be system-generated, such as "MyApp", or it might be defined by the user
	// when the action is created. The input artifact name must match the name of an
	// output artifact generated by an action in an earlier action or stage of the
	// pipeline.
	InputArtifacts []*Artifact
}

Represents information about the job data for a partner action.

type ThirdPartyJobDetails

type ThirdPartyJobDetails struct {
	// A system-generated random number that AWS CodePipeline uses to ensure that the
	// job is being worked on by only one job worker. Use this number in an
	// AcknowledgeThirdPartyJob () request.
	Nonce *string
	// The identifier used to identify the job details in AWS CodePipeline.
	Id *string
	// The data to be returned by the third party job worker.
	Data *ThirdPartyJobData
}

The details of a job sent in response to a GetThirdPartyJobDetails request.

type TooManyTagsException

type TooManyTagsException struct {
	Message *string
}

The tags limit for a resource has been exceeded.

func (*TooManyTagsException) Error

func (e *TooManyTagsException) Error() string

func (*TooManyTagsException) ErrorCode

func (e *TooManyTagsException) ErrorCode() string

func (*TooManyTagsException) ErrorFault

func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault

func (*TooManyTagsException) ErrorMessage

func (e *TooManyTagsException) ErrorMessage() string

func (*TooManyTagsException) GetMessage

func (e *TooManyTagsException) GetMessage() string

func (*TooManyTagsException) HasMessage

func (e *TooManyTagsException) HasMessage() bool

type TransitionState

type TransitionState struct {
	// The timestamp when the transition state was last changed.
	LastChangedAt *time.Time
	// The ID of the user who last changed the transition state.
	LastChangedBy *string
	// The user-specified reason why the transition between two stages of a pipeline
	// was disabled.
	DisabledReason *string
	// Whether the transition between stages is enabled (true) or disabled (false).
	Enabled *bool
}

Represents information about the state of transitions between one stage and another stage.

type TriggerType

type TriggerType string
const (
	TriggerTypeCreatepipeline         TriggerType = "CreatePipeline"
	TriggerTypeStartpipelineexecution TriggerType = "StartPipelineExecution"
	TriggerTypePollforsourcechanges   TriggerType = "PollForSourceChanges"
	TriggerTypeWebhook                TriggerType = "Webhook"
	TriggerTypeCloudwatchevent        TriggerType = "CloudWatchEvent"
	TriggerTypePutactionrevision      TriggerType = "PutActionRevision"
)

Enum values for TriggerType

type ValidationException

type ValidationException struct {
	Message *string
}

The validation was specified in an invalid format.

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

func (e *ValidationException) ErrorFault() smithy.ErrorFault

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

func (*ValidationException) GetMessage

func (e *ValidationException) GetMessage() string

func (*ValidationException) HasMessage

func (e *ValidationException) HasMessage() bool

type WebhookAuthConfiguration

type WebhookAuthConfiguration struct {
	// The property used to configure GitHub authentication. For GITHUB_HMAC, only the
	// SecretToken property must be set.
	SecretToken *string
	// The property used to configure acceptance of webhooks in an IP address range.
	// For IP, only the AllowedIPRange property must be set. This property must be set
	// to a valid CIDR range.
	AllowedIPRange *string
}

The authentication applied to incoming webhook trigger requests.

type WebhookAuthenticationType

type WebhookAuthenticationType string
const (
	WebhookAuthenticationTypeGithub_hmac     WebhookAuthenticationType = "GITHUB_HMAC"
	WebhookAuthenticationTypeIp              WebhookAuthenticationType = "IP"
	WebhookAuthenticationTypeUnauthenticated WebhookAuthenticationType = "UNAUTHENTICATED"
)

Enum values for WebhookAuthenticationType

type WebhookDefinition

type WebhookDefinition struct {
	// The name of the action in a pipeline you want to connect to the webhook. The
	// action must be from the source (first) stage of the pipeline.
	TargetAction *string
	// The name of the pipeline you want to connect to the webhook.
	TargetPipeline *string
	// Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.
	//
	//     * For
	// information about the authentication scheme implemented by GITHUB_HMAC, see
	// Securing your webhooks (https://developer.github.com/webhooks/securing/) on the
	// GitHub Developer website.
	//
	//     * IP rejects webhooks trigger requests unless
	// they originate from an IP address in the IP range whitelisted in the
	// authentication configuration.
	//
	//     * UNAUTHENTICATED accepts all webhook trigger
	// requests regardless of origin.
	Authentication WebhookAuthenticationType
	// Properties that configure the authentication applied to incoming webhook trigger
	// requests. The required properties depend on the authentication type. For
	// GITHUB_HMAC, only the SecretToken property must be set. For IP, only the
	// AllowedIPRange property must be set to a valid CIDR range. For UNAUTHENTICATED,
	// no properties can be set.
	AuthenticationConfiguration *WebhookAuthConfiguration
	// The name of the webhook.
	Name *string
	// A list of rules applied to the body/payload sent in the POST request to a
	// webhook URL. All defined rules must pass for the request to be accepted and the
	// pipeline started.
	Filters []*WebhookFilterRule
}

Represents information about a webhook and its definition.

type WebhookFilterRule

type WebhookFilterRule struct {
	// The value selected by the JsonPath expression must match what is supplied in the
	// MatchEquals field. Otherwise, the request is ignored. Properties from the target
	// action configuration can be included as placeholders in this value by
	// surrounding the action configuration key with curly brackets. For example, if
	// the value supplied here is "refs/heads/{Branch}" and the target action has an
	// action configuration property called "Branch" with a value of "master", the
	// MatchEquals value is evaluated as "refs/heads/master". For a list of action
	// configuration properties for built-in action types, see Pipeline Structure
	// Reference Action Requirements
	// (https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements).
	MatchEquals *string
	// A JsonPath expression that is applied to the body/payload of the webhook. The
	// value selected by the JsonPath expression must match the value specified in the
	// MatchEquals field. Otherwise, the request is ignored. For more information, see
	// Java JsonPath implementation (https://github.com/json-path/JsonPath) in GitHub.
	JsonPath *string
}

The event criteria that specify when a webhook notification is sent to your URL.

type WebhookNotFoundException

type WebhookNotFoundException struct {
	Message *string
}

The specified webhook was entered in an invalid format or cannot be found.

func (*WebhookNotFoundException) Error

func (e *WebhookNotFoundException) Error() string

func (*WebhookNotFoundException) ErrorCode

func (e *WebhookNotFoundException) ErrorCode() string

func (*WebhookNotFoundException) ErrorFault

func (e *WebhookNotFoundException) ErrorFault() smithy.ErrorFault

func (*WebhookNotFoundException) ErrorMessage

func (e *WebhookNotFoundException) ErrorMessage() string

Jump to

Keyboard shortcuts

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