Documentation ¶
Overview ¶
Package codepipeline provides the client and types for making API requests to AWS CodePipeline.
Overview ¶
This is the AWS CodePipeline API Reference. This guide provides descriptions of the actions and data types for AWS CodePipeline. Some functionality for your pipeline is only configurable through the API. For additional information, see the AWS CodePipeline User Guide (http://docs.aws.amazon.com/codepipeline/latest/userguide/welcome.html).
You can use the AWS CodePipeline API to work with pipelines, stages, actions, gates, and transitions, as described below.
Pipelines are models of automated release processes. Each pipeline is uniquely named, and consists of actions, gates, and stages.
You can work with pipelines by calling:
CreatePipeline, which creates a uniquely-named pipeline.
DeletePipeline, which deletes the specified pipeline.
GetPipeline, which returns information about a pipeline structure.
GetPipelineExecution, which returns information about a specific execution of a pipeline.
GetPipelineState, which returns information about the current state of the stages and actions of a pipeline.
ListPipelines, which gets a summary of all of the pipelines associated with your account.
StartPipelineExecution, which runs the the most recent revision of an artifact through the pipeline.
UpdatePipeline, which updates a pipeline with edits or changes to the structure of the pipeline.
Pipelines include stages, which are logical groupings of gates and actions. Each stage contains one or more actions that must complete before the next stage begins. A stage will result in success or failure. If a stage fails, then the pipeline stops at that stage and will remain stopped until either a new version of an artifact appears in the source location, or a user takes action to re-run the most recent artifact through the pipeline. You can call GetPipelineState, which displays the status of a pipeline, including the status of stages in the pipeline, or GetPipeline, which returns the entire structure of the pipeline, including the stages of that pipeline. For more information about the structure of stages and actions, also refer to the AWS CodePipeline Pipeline Structure Reference (http://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-structure.html).
Pipeline stages include actions, which are categorized into categories such as source or build actions performed within a stage of a pipeline. For example, you can use a source action to import artifacts into a pipeline from a source such as Amazon S3. Like stages, you do not work with actions directly in most cases, but you do define and interact with actions when working with pipeline operations such as CreatePipeline and GetPipelineState.
Pipelines also include transitions, which allow the transition of artifacts from one stage to the next in a pipeline after the actions in one stage complete.
You can work with transitions by calling:
DisableStageTransition, which prevents artifacts from transitioning to the next stage in a pipeline.
EnableStageTransition, which enables transition of artifacts between stages in a pipeline.
Using the API to integrate with AWS CodePipeline ¶
For third-party integrators or developers who want to create their own integrations with AWS CodePipeline, the expected sequence varies from the standard API user. In order to integrate with AWS CodePipeline, developers will need to work with the following items:
Jobs, which are instances of an action. For example, a job for a source action might import a revision of an artifact from a source.
You can work with jobs by calling:
AcknowledgeJob, which confirms whether a job worker has received the specified job,
GetJobDetails, which returns the details of a job,
PollForJobs, which determines whether there are any jobs to act upon,
PutJobFailureResult, which provides details of a job failure, and
PutJobSuccessResult, which provides details of a job success.
Third party jobs, which are instances of an action created by a partner action and integrated into AWS CodePipeline. Partner actions are created by members of the AWS Partner Network.
You can work with third party jobs by calling:
AcknowledgeThirdPartyJob, which confirms whether a job worker has received the specified job,
GetThirdPartyJobDetails, which requests the details of a job for a partner action,
PollForThirdPartyJobs, which determines whether there are any jobs to act upon,
PutThirdPartyJobFailureResult, which provides details of a job failure, and
PutThirdPartyJobSuccessResult, which provides details of a job success.
See https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09 for more information on this service.
See codepipeline package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codepipeline/
Using the Client ¶
To use the client for AWS CodePipeline 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 := codepipeline.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 CodePipeline client CodePipeline for more information on creating the service's client. https://docs.aws.amazon.com/sdk-for-go/api/service/codepipeline/#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.AcknowledgeJob(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("AcknowledgeJob 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.AcknowledgeJobWithContext(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
- type AWSSessionCredentials
- func (s AWSSessionCredentials) GoString() string
- func (s *AWSSessionCredentials) SetAccessKeyId(v string) *AWSSessionCredentials
- func (s *AWSSessionCredentials) SetSecretAccessKey(v string) *AWSSessionCredentials
- func (s *AWSSessionCredentials) SetSessionToken(v string) *AWSSessionCredentials
- func (s AWSSessionCredentials) String() string
- type AcknowledgeJobInput
- type AcknowledgeJobOutput
- type AcknowledgeThirdPartyJobInput
- func (s AcknowledgeThirdPartyJobInput) GoString() string
- func (s *AcknowledgeThirdPartyJobInput) SetClientToken(v string) *AcknowledgeThirdPartyJobInput
- func (s *AcknowledgeThirdPartyJobInput) SetJobId(v string) *AcknowledgeThirdPartyJobInput
- func (s *AcknowledgeThirdPartyJobInput) SetNonce(v string) *AcknowledgeThirdPartyJobInput
- func (s AcknowledgeThirdPartyJobInput) String() string
- func (s *AcknowledgeThirdPartyJobInput) Validate() error
- type AcknowledgeThirdPartyJobOutput
- type ActionConfiguration
- type ActionConfigurationProperty
- func (s ActionConfigurationProperty) GoString() string
- func (s *ActionConfigurationProperty) SetDescription(v string) *ActionConfigurationProperty
- func (s *ActionConfigurationProperty) SetKey(v bool) *ActionConfigurationProperty
- func (s *ActionConfigurationProperty) SetName(v string) *ActionConfigurationProperty
- func (s *ActionConfigurationProperty) SetQueryable(v bool) *ActionConfigurationProperty
- func (s *ActionConfigurationProperty) SetRequired(v bool) *ActionConfigurationProperty
- func (s *ActionConfigurationProperty) SetSecret(v bool) *ActionConfigurationProperty
- func (s *ActionConfigurationProperty) SetType(v string) *ActionConfigurationProperty
- func (s ActionConfigurationProperty) String() string
- func (s *ActionConfigurationProperty) Validate() error
- type ActionContext
- type ActionDeclaration
- func (s ActionDeclaration) GoString() string
- func (s *ActionDeclaration) SetActionTypeId(v *ActionTypeId) *ActionDeclaration
- func (s *ActionDeclaration) SetConfiguration(v map[string]*string) *ActionDeclaration
- func (s *ActionDeclaration) SetInputArtifacts(v []*InputArtifact) *ActionDeclaration
- func (s *ActionDeclaration) SetName(v string) *ActionDeclaration
- func (s *ActionDeclaration) SetOutputArtifacts(v []*OutputArtifact) *ActionDeclaration
- func (s *ActionDeclaration) SetRoleArn(v string) *ActionDeclaration
- func (s *ActionDeclaration) SetRunOrder(v int64) *ActionDeclaration
- func (s ActionDeclaration) String() string
- func (s *ActionDeclaration) Validate() error
- type ActionExecution
- func (s ActionExecution) GoString() string
- func (s *ActionExecution) SetErrorDetails(v *ErrorDetails) *ActionExecution
- func (s *ActionExecution) SetExternalExecutionId(v string) *ActionExecution
- func (s *ActionExecution) SetExternalExecutionUrl(v string) *ActionExecution
- func (s *ActionExecution) SetLastStatusChange(v time.Time) *ActionExecution
- func (s *ActionExecution) SetLastUpdatedBy(v string) *ActionExecution
- func (s *ActionExecution) SetPercentComplete(v int64) *ActionExecution
- func (s *ActionExecution) SetStatus(v string) *ActionExecution
- func (s *ActionExecution) SetSummary(v string) *ActionExecution
- func (s *ActionExecution) SetToken(v string) *ActionExecution
- func (s ActionExecution) String() string
- type ActionRevision
- func (s ActionRevision) GoString() string
- func (s *ActionRevision) SetCreated(v time.Time) *ActionRevision
- func (s *ActionRevision) SetRevisionChangeId(v string) *ActionRevision
- func (s *ActionRevision) SetRevisionId(v string) *ActionRevision
- func (s ActionRevision) String() string
- func (s *ActionRevision) Validate() error
- type ActionState
- func (s ActionState) GoString() string
- func (s *ActionState) SetActionName(v string) *ActionState
- func (s *ActionState) SetCurrentRevision(v *ActionRevision) *ActionState
- func (s *ActionState) SetEntityUrl(v string) *ActionState
- func (s *ActionState) SetLatestExecution(v *ActionExecution) *ActionState
- func (s *ActionState) SetRevisionUrl(v string) *ActionState
- func (s ActionState) String() string
- type ActionType
- func (s ActionType) GoString() string
- func (s *ActionType) SetActionConfigurationProperties(v []*ActionConfigurationProperty) *ActionType
- func (s *ActionType) SetId(v *ActionTypeId) *ActionType
- func (s *ActionType) SetInputArtifactDetails(v *ArtifactDetails) *ActionType
- func (s *ActionType) SetOutputArtifactDetails(v *ArtifactDetails) *ActionType
- func (s *ActionType) SetSettings(v *ActionTypeSettings) *ActionType
- func (s ActionType) String() string
- type ActionTypeId
- func (s ActionTypeId) GoString() string
- func (s *ActionTypeId) SetCategory(v string) *ActionTypeId
- func (s *ActionTypeId) SetOwner(v string) *ActionTypeId
- func (s *ActionTypeId) SetProvider(v string) *ActionTypeId
- func (s *ActionTypeId) SetVersion(v string) *ActionTypeId
- func (s ActionTypeId) String() string
- func (s *ActionTypeId) Validate() error
- type ActionTypeSettings
- func (s ActionTypeSettings) GoString() string
- func (s *ActionTypeSettings) SetEntityUrlTemplate(v string) *ActionTypeSettings
- func (s *ActionTypeSettings) SetExecutionUrlTemplate(v string) *ActionTypeSettings
- func (s *ActionTypeSettings) SetRevisionUrlTemplate(v string) *ActionTypeSettings
- func (s *ActionTypeSettings) SetThirdPartyConfigurationUrl(v string) *ActionTypeSettings
- func (s ActionTypeSettings) String() string
- func (s *ActionTypeSettings) Validate() error
- type ApprovalResult
- type Artifact
- type ArtifactDetails
- type ArtifactLocation
- type ArtifactRevision
- func (s ArtifactRevision) GoString() string
- func (s *ArtifactRevision) SetCreated(v time.Time) *ArtifactRevision
- func (s *ArtifactRevision) SetName(v string) *ArtifactRevision
- func (s *ArtifactRevision) SetRevisionChangeIdentifier(v string) *ArtifactRevision
- func (s *ArtifactRevision) SetRevisionId(v string) *ArtifactRevision
- func (s *ArtifactRevision) SetRevisionSummary(v string) *ArtifactRevision
- func (s *ArtifactRevision) SetRevisionUrl(v string) *ArtifactRevision
- func (s ArtifactRevision) String() string
- type ArtifactStore
- func (s ArtifactStore) GoString() string
- func (s *ArtifactStore) SetEncryptionKey(v *EncryptionKey) *ArtifactStore
- func (s *ArtifactStore) SetLocation(v string) *ArtifactStore
- func (s *ArtifactStore) SetType(v string) *ArtifactStore
- func (s ArtifactStore) String() string
- func (s *ArtifactStore) Validate() error
- type BlockerDeclaration
- type CodePipeline
- func (c *CodePipeline) AcknowledgeJob(input *AcknowledgeJobInput) (*AcknowledgeJobOutput, error)
- func (c *CodePipeline) AcknowledgeJobRequest(input *AcknowledgeJobInput) (req *request.Request, output *AcknowledgeJobOutput)
- func (c *CodePipeline) AcknowledgeJobWithContext(ctx aws.Context, input *AcknowledgeJobInput, opts ...request.Option) (*AcknowledgeJobOutput, error)
- func (c *CodePipeline) AcknowledgeThirdPartyJob(input *AcknowledgeThirdPartyJobInput) (*AcknowledgeThirdPartyJobOutput, error)
- func (c *CodePipeline) AcknowledgeThirdPartyJobRequest(input *AcknowledgeThirdPartyJobInput) (req *request.Request, output *AcknowledgeThirdPartyJobOutput)
- func (c *CodePipeline) AcknowledgeThirdPartyJobWithContext(ctx aws.Context, input *AcknowledgeThirdPartyJobInput, opts ...request.Option) (*AcknowledgeThirdPartyJobOutput, error)
- func (c *CodePipeline) CreateCustomActionType(input *CreateCustomActionTypeInput) (*CreateCustomActionTypeOutput, error)
- func (c *CodePipeline) CreateCustomActionTypeRequest(input *CreateCustomActionTypeInput) (req *request.Request, output *CreateCustomActionTypeOutput)
- func (c *CodePipeline) CreateCustomActionTypeWithContext(ctx aws.Context, input *CreateCustomActionTypeInput, opts ...request.Option) (*CreateCustomActionTypeOutput, error)
- func (c *CodePipeline) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error)
- func (c *CodePipeline) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput)
- func (c *CodePipeline) CreatePipelineWithContext(ctx aws.Context, input *CreatePipelineInput, opts ...request.Option) (*CreatePipelineOutput, error)
- func (c *CodePipeline) DeleteCustomActionType(input *DeleteCustomActionTypeInput) (*DeleteCustomActionTypeOutput, error)
- func (c *CodePipeline) DeleteCustomActionTypeRequest(input *DeleteCustomActionTypeInput) (req *request.Request, output *DeleteCustomActionTypeOutput)
- func (c *CodePipeline) DeleteCustomActionTypeWithContext(ctx aws.Context, input *DeleteCustomActionTypeInput, opts ...request.Option) (*DeleteCustomActionTypeOutput, error)
- func (c *CodePipeline) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error)
- func (c *CodePipeline) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput)
- func (c *CodePipeline) DeletePipelineWithContext(ctx aws.Context, input *DeletePipelineInput, opts ...request.Option) (*DeletePipelineOutput, error)
- func (c *CodePipeline) DisableStageTransition(input *DisableStageTransitionInput) (*DisableStageTransitionOutput, error)
- func (c *CodePipeline) DisableStageTransitionRequest(input *DisableStageTransitionInput) (req *request.Request, output *DisableStageTransitionOutput)
- func (c *CodePipeline) DisableStageTransitionWithContext(ctx aws.Context, input *DisableStageTransitionInput, opts ...request.Option) (*DisableStageTransitionOutput, error)
- func (c *CodePipeline) EnableStageTransition(input *EnableStageTransitionInput) (*EnableStageTransitionOutput, error)
- func (c *CodePipeline) EnableStageTransitionRequest(input *EnableStageTransitionInput) (req *request.Request, output *EnableStageTransitionOutput)
- func (c *CodePipeline) EnableStageTransitionWithContext(ctx aws.Context, input *EnableStageTransitionInput, opts ...request.Option) (*EnableStageTransitionOutput, error)
- func (c *CodePipeline) GetJobDetails(input *GetJobDetailsInput) (*GetJobDetailsOutput, error)
- func (c *CodePipeline) GetJobDetailsRequest(input *GetJobDetailsInput) (req *request.Request, output *GetJobDetailsOutput)
- func (c *CodePipeline) GetJobDetailsWithContext(ctx aws.Context, input *GetJobDetailsInput, opts ...request.Option) (*GetJobDetailsOutput, error)
- func (c *CodePipeline) GetPipeline(input *GetPipelineInput) (*GetPipelineOutput, error)
- func (c *CodePipeline) GetPipelineExecution(input *GetPipelineExecutionInput) (*GetPipelineExecutionOutput, error)
- func (c *CodePipeline) GetPipelineExecutionRequest(input *GetPipelineExecutionInput) (req *request.Request, output *GetPipelineExecutionOutput)
- func (c *CodePipeline) GetPipelineExecutionWithContext(ctx aws.Context, input *GetPipelineExecutionInput, opts ...request.Option) (*GetPipelineExecutionOutput, error)
- func (c *CodePipeline) GetPipelineRequest(input *GetPipelineInput) (req *request.Request, output *GetPipelineOutput)
- func (c *CodePipeline) GetPipelineState(input *GetPipelineStateInput) (*GetPipelineStateOutput, error)
- func (c *CodePipeline) GetPipelineStateRequest(input *GetPipelineStateInput) (req *request.Request, output *GetPipelineStateOutput)
- func (c *CodePipeline) GetPipelineStateWithContext(ctx aws.Context, input *GetPipelineStateInput, opts ...request.Option) (*GetPipelineStateOutput, error)
- func (c *CodePipeline) GetPipelineWithContext(ctx aws.Context, input *GetPipelineInput, opts ...request.Option) (*GetPipelineOutput, error)
- func (c *CodePipeline) GetThirdPartyJobDetails(input *GetThirdPartyJobDetailsInput) (*GetThirdPartyJobDetailsOutput, error)
- func (c *CodePipeline) GetThirdPartyJobDetailsRequest(input *GetThirdPartyJobDetailsInput) (req *request.Request, output *GetThirdPartyJobDetailsOutput)
- func (c *CodePipeline) GetThirdPartyJobDetailsWithContext(ctx aws.Context, input *GetThirdPartyJobDetailsInput, opts ...request.Option) (*GetThirdPartyJobDetailsOutput, error)
- func (c *CodePipeline) ListActionTypes(input *ListActionTypesInput) (*ListActionTypesOutput, error)
- func (c *CodePipeline) ListActionTypesRequest(input *ListActionTypesInput) (req *request.Request, output *ListActionTypesOutput)
- func (c *CodePipeline) ListActionTypesWithContext(ctx aws.Context, input *ListActionTypesInput, opts ...request.Option) (*ListActionTypesOutput, error)
- func (c *CodePipeline) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error)
- func (c *CodePipeline) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput)
- func (c *CodePipeline) ListPipelinesWithContext(ctx aws.Context, input *ListPipelinesInput, opts ...request.Option) (*ListPipelinesOutput, error)
- func (c *CodePipeline) PollForJobs(input *PollForJobsInput) (*PollForJobsOutput, error)
- func (c *CodePipeline) PollForJobsRequest(input *PollForJobsInput) (req *request.Request, output *PollForJobsOutput)
- func (c *CodePipeline) PollForJobsWithContext(ctx aws.Context, input *PollForJobsInput, opts ...request.Option) (*PollForJobsOutput, error)
- func (c *CodePipeline) PollForThirdPartyJobs(input *PollForThirdPartyJobsInput) (*PollForThirdPartyJobsOutput, error)
- func (c *CodePipeline) PollForThirdPartyJobsRequest(input *PollForThirdPartyJobsInput) (req *request.Request, output *PollForThirdPartyJobsOutput)
- func (c *CodePipeline) PollForThirdPartyJobsWithContext(ctx aws.Context, input *PollForThirdPartyJobsInput, opts ...request.Option) (*PollForThirdPartyJobsOutput, error)
- func (c *CodePipeline) PutActionRevision(input *PutActionRevisionInput) (*PutActionRevisionOutput, error)
- func (c *CodePipeline) PutActionRevisionRequest(input *PutActionRevisionInput) (req *request.Request, output *PutActionRevisionOutput)
- func (c *CodePipeline) PutActionRevisionWithContext(ctx aws.Context, input *PutActionRevisionInput, opts ...request.Option) (*PutActionRevisionOutput, error)
- func (c *CodePipeline) PutApprovalResult(input *PutApprovalResultInput) (*PutApprovalResultOutput, error)
- func (c *CodePipeline) PutApprovalResultRequest(input *PutApprovalResultInput) (req *request.Request, output *PutApprovalResultOutput)
- func (c *CodePipeline) PutApprovalResultWithContext(ctx aws.Context, input *PutApprovalResultInput, opts ...request.Option) (*PutApprovalResultOutput, error)
- func (c *CodePipeline) PutJobFailureResult(input *PutJobFailureResultInput) (*PutJobFailureResultOutput, error)
- func (c *CodePipeline) PutJobFailureResultRequest(input *PutJobFailureResultInput) (req *request.Request, output *PutJobFailureResultOutput)
- func (c *CodePipeline) PutJobFailureResultWithContext(ctx aws.Context, input *PutJobFailureResultInput, opts ...request.Option) (*PutJobFailureResultOutput, error)
- func (c *CodePipeline) PutJobSuccessResult(input *PutJobSuccessResultInput) (*PutJobSuccessResultOutput, error)
- func (c *CodePipeline) PutJobSuccessResultRequest(input *PutJobSuccessResultInput) (req *request.Request, output *PutJobSuccessResultOutput)
- func (c *CodePipeline) PutJobSuccessResultWithContext(ctx aws.Context, input *PutJobSuccessResultInput, opts ...request.Option) (*PutJobSuccessResultOutput, error)
- func (c *CodePipeline) PutThirdPartyJobFailureResult(input *PutThirdPartyJobFailureResultInput) (*PutThirdPartyJobFailureResultOutput, error)
- func (c *CodePipeline) PutThirdPartyJobFailureResultRequest(input *PutThirdPartyJobFailureResultInput) (req *request.Request, output *PutThirdPartyJobFailureResultOutput)
- func (c *CodePipeline) PutThirdPartyJobFailureResultWithContext(ctx aws.Context, input *PutThirdPartyJobFailureResultInput, ...) (*PutThirdPartyJobFailureResultOutput, error)
- func (c *CodePipeline) PutThirdPartyJobSuccessResult(input *PutThirdPartyJobSuccessResultInput) (*PutThirdPartyJobSuccessResultOutput, error)
- func (c *CodePipeline) PutThirdPartyJobSuccessResultRequest(input *PutThirdPartyJobSuccessResultInput) (req *request.Request, output *PutThirdPartyJobSuccessResultOutput)
- func (c *CodePipeline) PutThirdPartyJobSuccessResultWithContext(ctx aws.Context, input *PutThirdPartyJobSuccessResultInput, ...) (*PutThirdPartyJobSuccessResultOutput, error)
- func (c *CodePipeline) RetryStageExecution(input *RetryStageExecutionInput) (*RetryStageExecutionOutput, error)
- func (c *CodePipeline) RetryStageExecutionRequest(input *RetryStageExecutionInput) (req *request.Request, output *RetryStageExecutionOutput)
- func (c *CodePipeline) RetryStageExecutionWithContext(ctx aws.Context, input *RetryStageExecutionInput, opts ...request.Option) (*RetryStageExecutionOutput, error)
- func (c *CodePipeline) StartPipelineExecution(input *StartPipelineExecutionInput) (*StartPipelineExecutionOutput, error)
- func (c *CodePipeline) StartPipelineExecutionRequest(input *StartPipelineExecutionInput) (req *request.Request, output *StartPipelineExecutionOutput)
- func (c *CodePipeline) StartPipelineExecutionWithContext(ctx aws.Context, input *StartPipelineExecutionInput, opts ...request.Option) (*StartPipelineExecutionOutput, error)
- func (c *CodePipeline) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error)
- func (c *CodePipeline) UpdatePipelineRequest(input *UpdatePipelineInput) (req *request.Request, output *UpdatePipelineOutput)
- func (c *CodePipeline) UpdatePipelineWithContext(ctx aws.Context, input *UpdatePipelineInput, opts ...request.Option) (*UpdatePipelineOutput, error)
- type CreateCustomActionTypeInput
- func (s CreateCustomActionTypeInput) GoString() string
- func (s *CreateCustomActionTypeInput) SetCategory(v string) *CreateCustomActionTypeInput
- func (s *CreateCustomActionTypeInput) SetConfigurationProperties(v []*ActionConfigurationProperty) *CreateCustomActionTypeInput
- func (s *CreateCustomActionTypeInput) SetInputArtifactDetails(v *ArtifactDetails) *CreateCustomActionTypeInput
- func (s *CreateCustomActionTypeInput) SetOutputArtifactDetails(v *ArtifactDetails) *CreateCustomActionTypeInput
- func (s *CreateCustomActionTypeInput) SetProvider(v string) *CreateCustomActionTypeInput
- func (s *CreateCustomActionTypeInput) SetSettings(v *ActionTypeSettings) *CreateCustomActionTypeInput
- func (s *CreateCustomActionTypeInput) SetVersion(v string) *CreateCustomActionTypeInput
- func (s CreateCustomActionTypeInput) String() string
- func (s *CreateCustomActionTypeInput) Validate() error
- type CreateCustomActionTypeOutput
- type CreatePipelineInput
- type CreatePipelineOutput
- type CurrentRevision
- func (s CurrentRevision) GoString() string
- func (s *CurrentRevision) SetChangeIdentifier(v string) *CurrentRevision
- func (s *CurrentRevision) SetCreated(v time.Time) *CurrentRevision
- func (s *CurrentRevision) SetRevision(v string) *CurrentRevision
- func (s *CurrentRevision) SetRevisionSummary(v string) *CurrentRevision
- func (s CurrentRevision) String() string
- func (s *CurrentRevision) Validate() error
- type DeleteCustomActionTypeInput
- func (s DeleteCustomActionTypeInput) GoString() string
- func (s *DeleteCustomActionTypeInput) SetCategory(v string) *DeleteCustomActionTypeInput
- func (s *DeleteCustomActionTypeInput) SetProvider(v string) *DeleteCustomActionTypeInput
- func (s *DeleteCustomActionTypeInput) SetVersion(v string) *DeleteCustomActionTypeInput
- func (s DeleteCustomActionTypeInput) String() string
- func (s *DeleteCustomActionTypeInput) Validate() error
- type DeleteCustomActionTypeOutput
- type DeletePipelineInput
- type DeletePipelineOutput
- type DisableStageTransitionInput
- func (s DisableStageTransitionInput) GoString() string
- func (s *DisableStageTransitionInput) SetPipelineName(v string) *DisableStageTransitionInput
- func (s *DisableStageTransitionInput) SetReason(v string) *DisableStageTransitionInput
- func (s *DisableStageTransitionInput) SetStageName(v string) *DisableStageTransitionInput
- func (s *DisableStageTransitionInput) SetTransitionType(v string) *DisableStageTransitionInput
- func (s DisableStageTransitionInput) String() string
- func (s *DisableStageTransitionInput) Validate() error
- type DisableStageTransitionOutput
- type EnableStageTransitionInput
- func (s EnableStageTransitionInput) GoString() string
- func (s *EnableStageTransitionInput) SetPipelineName(v string) *EnableStageTransitionInput
- func (s *EnableStageTransitionInput) SetStageName(v string) *EnableStageTransitionInput
- func (s *EnableStageTransitionInput) SetTransitionType(v string) *EnableStageTransitionInput
- func (s EnableStageTransitionInput) String() string
- func (s *EnableStageTransitionInput) Validate() error
- type EnableStageTransitionOutput
- type EncryptionKey
- type ErrorDetails
- type ExecutionDetails
- func (s ExecutionDetails) GoString() string
- func (s *ExecutionDetails) SetExternalExecutionId(v string) *ExecutionDetails
- func (s *ExecutionDetails) SetPercentComplete(v int64) *ExecutionDetails
- func (s *ExecutionDetails) SetSummary(v string) *ExecutionDetails
- func (s ExecutionDetails) String() string
- func (s *ExecutionDetails) Validate() error
- type FailureDetails
- func (s FailureDetails) GoString() string
- func (s *FailureDetails) SetExternalExecutionId(v string) *FailureDetails
- func (s *FailureDetails) SetMessage(v string) *FailureDetails
- func (s *FailureDetails) SetType(v string) *FailureDetails
- func (s FailureDetails) String() string
- func (s *FailureDetails) Validate() error
- type GetJobDetailsInput
- type GetJobDetailsOutput
- type GetPipelineExecutionInput
- func (s GetPipelineExecutionInput) GoString() string
- func (s *GetPipelineExecutionInput) SetPipelineExecutionId(v string) *GetPipelineExecutionInput
- func (s *GetPipelineExecutionInput) SetPipelineName(v string) *GetPipelineExecutionInput
- func (s GetPipelineExecutionInput) String() string
- func (s *GetPipelineExecutionInput) Validate() error
- type GetPipelineExecutionOutput
- type GetPipelineInput
- type GetPipelineOutput
- type GetPipelineStateInput
- type GetPipelineStateOutput
- func (s GetPipelineStateOutput) GoString() string
- func (s *GetPipelineStateOutput) SetCreated(v time.Time) *GetPipelineStateOutput
- func (s *GetPipelineStateOutput) SetPipelineName(v string) *GetPipelineStateOutput
- func (s *GetPipelineStateOutput) SetPipelineVersion(v int64) *GetPipelineStateOutput
- func (s *GetPipelineStateOutput) SetStageStates(v []*StageState) *GetPipelineStateOutput
- func (s *GetPipelineStateOutput) SetUpdated(v time.Time) *GetPipelineStateOutput
- func (s GetPipelineStateOutput) String() string
- type GetThirdPartyJobDetailsInput
- func (s GetThirdPartyJobDetailsInput) GoString() string
- func (s *GetThirdPartyJobDetailsInput) SetClientToken(v string) *GetThirdPartyJobDetailsInput
- func (s *GetThirdPartyJobDetailsInput) SetJobId(v string) *GetThirdPartyJobDetailsInput
- func (s GetThirdPartyJobDetailsInput) String() string
- func (s *GetThirdPartyJobDetailsInput) Validate() error
- type GetThirdPartyJobDetailsOutput
- type InputArtifact
- type Job
- type JobData
- func (s JobData) GoString() string
- func (s *JobData) SetActionConfiguration(v *ActionConfiguration) *JobData
- func (s *JobData) SetActionTypeId(v *ActionTypeId) *JobData
- func (s *JobData) SetArtifactCredentials(v *AWSSessionCredentials) *JobData
- func (s *JobData) SetContinuationToken(v string) *JobData
- func (s *JobData) SetEncryptionKey(v *EncryptionKey) *JobData
- func (s *JobData) SetInputArtifacts(v []*Artifact) *JobData
- func (s *JobData) SetOutputArtifacts(v []*Artifact) *JobData
- func (s *JobData) SetPipelineContext(v *PipelineContext) *JobData
- func (s JobData) String() string
- type JobDetails
- type ListActionTypesInput
- type ListActionTypesOutput
- type ListPipelinesInput
- type ListPipelinesOutput
- type OutputArtifact
- type PipelineContext
- type PipelineDeclaration
- func (s PipelineDeclaration) GoString() string
- func (s *PipelineDeclaration) SetArtifactStore(v *ArtifactStore) *PipelineDeclaration
- func (s *PipelineDeclaration) SetName(v string) *PipelineDeclaration
- func (s *PipelineDeclaration) SetRoleArn(v string) *PipelineDeclaration
- func (s *PipelineDeclaration) SetStages(v []*StageDeclaration) *PipelineDeclaration
- func (s *PipelineDeclaration) SetVersion(v int64) *PipelineDeclaration
- func (s PipelineDeclaration) String() string
- func (s *PipelineDeclaration) Validate() error
- type PipelineExecution
- func (s PipelineExecution) GoString() string
- func (s *PipelineExecution) SetArtifactRevisions(v []*ArtifactRevision) *PipelineExecution
- func (s *PipelineExecution) SetPipelineExecutionId(v string) *PipelineExecution
- func (s *PipelineExecution) SetPipelineName(v string) *PipelineExecution
- func (s *PipelineExecution) SetPipelineVersion(v int64) *PipelineExecution
- func (s *PipelineExecution) SetStatus(v string) *PipelineExecution
- func (s PipelineExecution) String() string
- type PipelineSummary
- func (s PipelineSummary) GoString() string
- func (s *PipelineSummary) SetCreated(v time.Time) *PipelineSummary
- func (s *PipelineSummary) SetName(v string) *PipelineSummary
- func (s *PipelineSummary) SetUpdated(v time.Time) *PipelineSummary
- func (s *PipelineSummary) SetVersion(v int64) *PipelineSummary
- func (s PipelineSummary) String() string
- type PollForJobsInput
- func (s PollForJobsInput) GoString() string
- func (s *PollForJobsInput) SetActionTypeId(v *ActionTypeId) *PollForJobsInput
- func (s *PollForJobsInput) SetMaxBatchSize(v int64) *PollForJobsInput
- func (s *PollForJobsInput) SetQueryParam(v map[string]*string) *PollForJobsInput
- func (s PollForJobsInput) String() string
- func (s *PollForJobsInput) Validate() error
- type PollForJobsOutput
- type PollForThirdPartyJobsInput
- func (s PollForThirdPartyJobsInput) GoString() string
- func (s *PollForThirdPartyJobsInput) SetActionTypeId(v *ActionTypeId) *PollForThirdPartyJobsInput
- func (s *PollForThirdPartyJobsInput) SetMaxBatchSize(v int64) *PollForThirdPartyJobsInput
- func (s PollForThirdPartyJobsInput) String() string
- func (s *PollForThirdPartyJobsInput) Validate() error
- type PollForThirdPartyJobsOutput
- type PutActionRevisionInput
- func (s PutActionRevisionInput) GoString() string
- func (s *PutActionRevisionInput) SetActionName(v string) *PutActionRevisionInput
- func (s *PutActionRevisionInput) SetActionRevision(v *ActionRevision) *PutActionRevisionInput
- func (s *PutActionRevisionInput) SetPipelineName(v string) *PutActionRevisionInput
- func (s *PutActionRevisionInput) SetStageName(v string) *PutActionRevisionInput
- func (s PutActionRevisionInput) String() string
- func (s *PutActionRevisionInput) Validate() error
- type PutActionRevisionOutput
- type PutApprovalResultInput
- func (s PutApprovalResultInput) GoString() string
- func (s *PutApprovalResultInput) SetActionName(v string) *PutApprovalResultInput
- func (s *PutApprovalResultInput) SetPipelineName(v string) *PutApprovalResultInput
- func (s *PutApprovalResultInput) SetResult(v *ApprovalResult) *PutApprovalResultInput
- func (s *PutApprovalResultInput) SetStageName(v string) *PutApprovalResultInput
- func (s *PutApprovalResultInput) SetToken(v string) *PutApprovalResultInput
- func (s PutApprovalResultInput) String() string
- func (s *PutApprovalResultInput) Validate() error
- type PutApprovalResultOutput
- type PutJobFailureResultInput
- func (s PutJobFailureResultInput) GoString() string
- func (s *PutJobFailureResultInput) SetFailureDetails(v *FailureDetails) *PutJobFailureResultInput
- func (s *PutJobFailureResultInput) SetJobId(v string) *PutJobFailureResultInput
- func (s PutJobFailureResultInput) String() string
- func (s *PutJobFailureResultInput) Validate() error
- type PutJobFailureResultOutput
- type PutJobSuccessResultInput
- func (s PutJobSuccessResultInput) GoString() string
- func (s *PutJobSuccessResultInput) SetContinuationToken(v string) *PutJobSuccessResultInput
- func (s *PutJobSuccessResultInput) SetCurrentRevision(v *CurrentRevision) *PutJobSuccessResultInput
- func (s *PutJobSuccessResultInput) SetExecutionDetails(v *ExecutionDetails) *PutJobSuccessResultInput
- func (s *PutJobSuccessResultInput) SetJobId(v string) *PutJobSuccessResultInput
- func (s PutJobSuccessResultInput) String() string
- func (s *PutJobSuccessResultInput) Validate() error
- type PutJobSuccessResultOutput
- type PutThirdPartyJobFailureResultInput
- func (s PutThirdPartyJobFailureResultInput) GoString() string
- func (s *PutThirdPartyJobFailureResultInput) SetClientToken(v string) *PutThirdPartyJobFailureResultInput
- func (s *PutThirdPartyJobFailureResultInput) SetFailureDetails(v *FailureDetails) *PutThirdPartyJobFailureResultInput
- func (s *PutThirdPartyJobFailureResultInput) SetJobId(v string) *PutThirdPartyJobFailureResultInput
- func (s PutThirdPartyJobFailureResultInput) String() string
- func (s *PutThirdPartyJobFailureResultInput) Validate() error
- type PutThirdPartyJobFailureResultOutput
- type PutThirdPartyJobSuccessResultInput
- func (s PutThirdPartyJobSuccessResultInput) GoString() string
- func (s *PutThirdPartyJobSuccessResultInput) SetClientToken(v string) *PutThirdPartyJobSuccessResultInput
- func (s *PutThirdPartyJobSuccessResultInput) SetContinuationToken(v string) *PutThirdPartyJobSuccessResultInput
- func (s *PutThirdPartyJobSuccessResultInput) SetCurrentRevision(v *CurrentRevision) *PutThirdPartyJobSuccessResultInput
- func (s *PutThirdPartyJobSuccessResultInput) SetExecutionDetails(v *ExecutionDetails) *PutThirdPartyJobSuccessResultInput
- func (s *PutThirdPartyJobSuccessResultInput) SetJobId(v string) *PutThirdPartyJobSuccessResultInput
- func (s PutThirdPartyJobSuccessResultInput) String() string
- func (s *PutThirdPartyJobSuccessResultInput) Validate() error
- type PutThirdPartyJobSuccessResultOutput
- type RetryStageExecutionInput
- func (s RetryStageExecutionInput) GoString() string
- func (s *RetryStageExecutionInput) SetPipelineExecutionId(v string) *RetryStageExecutionInput
- func (s *RetryStageExecutionInput) SetPipelineName(v string) *RetryStageExecutionInput
- func (s *RetryStageExecutionInput) SetRetryMode(v string) *RetryStageExecutionInput
- func (s *RetryStageExecutionInput) SetStageName(v string) *RetryStageExecutionInput
- func (s RetryStageExecutionInput) String() string
- func (s *RetryStageExecutionInput) Validate() error
- type RetryStageExecutionOutput
- type S3ArtifactLocation
- type StageContext
- type StageDeclaration
- func (s StageDeclaration) GoString() string
- func (s *StageDeclaration) SetActions(v []*ActionDeclaration) *StageDeclaration
- func (s *StageDeclaration) SetBlockers(v []*BlockerDeclaration) *StageDeclaration
- func (s *StageDeclaration) SetName(v string) *StageDeclaration
- func (s StageDeclaration) String() string
- func (s *StageDeclaration) Validate() error
- type StageExecution
- type StageState
- func (s StageState) GoString() string
- func (s *StageState) SetActionStates(v []*ActionState) *StageState
- func (s *StageState) SetInboundTransitionState(v *TransitionState) *StageState
- func (s *StageState) SetLatestExecution(v *StageExecution) *StageState
- func (s *StageState) SetStageName(v string) *StageState
- func (s StageState) String() string
- type StartPipelineExecutionInput
- type StartPipelineExecutionOutput
- type ThirdPartyJob
- type ThirdPartyJobData
- func (s ThirdPartyJobData) GoString() string
- func (s *ThirdPartyJobData) SetActionConfiguration(v *ActionConfiguration) *ThirdPartyJobData
- func (s *ThirdPartyJobData) SetActionTypeId(v *ActionTypeId) *ThirdPartyJobData
- func (s *ThirdPartyJobData) SetArtifactCredentials(v *AWSSessionCredentials) *ThirdPartyJobData
- func (s *ThirdPartyJobData) SetContinuationToken(v string) *ThirdPartyJobData
- func (s *ThirdPartyJobData) SetEncryptionKey(v *EncryptionKey) *ThirdPartyJobData
- func (s *ThirdPartyJobData) SetInputArtifacts(v []*Artifact) *ThirdPartyJobData
- func (s *ThirdPartyJobData) SetOutputArtifacts(v []*Artifact) *ThirdPartyJobData
- func (s *ThirdPartyJobData) SetPipelineContext(v *PipelineContext) *ThirdPartyJobData
- func (s ThirdPartyJobData) String() string
- type ThirdPartyJobDetails
- func (s ThirdPartyJobDetails) GoString() string
- func (s *ThirdPartyJobDetails) SetData(v *ThirdPartyJobData) *ThirdPartyJobDetails
- func (s *ThirdPartyJobDetails) SetId(v string) *ThirdPartyJobDetails
- func (s *ThirdPartyJobDetails) SetNonce(v string) *ThirdPartyJobDetails
- func (s ThirdPartyJobDetails) String() string
- type TransitionState
- func (s TransitionState) GoString() string
- func (s *TransitionState) SetDisabledReason(v string) *TransitionState
- func (s *TransitionState) SetEnabled(v bool) *TransitionState
- func (s *TransitionState) SetLastChangedAt(v time.Time) *TransitionState
- func (s *TransitionState) SetLastChangedBy(v string) *TransitionState
- func (s TransitionState) String() string
- type UpdatePipelineInput
- type UpdatePipelineOutput
Examples ¶
- CodePipeline.AcknowledgeJob
- CodePipeline.AcknowledgeThirdPartyJob
- CodePipeline.CreateCustomActionType
- CodePipeline.CreatePipeline
- CodePipeline.DeleteCustomActionType
- CodePipeline.DeletePipeline
- CodePipeline.DisableStageTransition
- CodePipeline.EnableStageTransition
- CodePipeline.GetJobDetails
- CodePipeline.GetPipeline
- CodePipeline.GetPipelineExecution
- CodePipeline.GetPipelineState
- CodePipeline.GetThirdPartyJobDetails
- CodePipeline.ListActionTypes
- CodePipeline.ListPipelines
- CodePipeline.PollForJobs
- CodePipeline.PollForThirdPartyJobs
- CodePipeline.PutActionRevision
- CodePipeline.PutApprovalResult
- CodePipeline.PutJobFailureResult
- CodePipeline.PutJobSuccessResult
- CodePipeline.PutThirdPartyJobFailureResult
- CodePipeline.PutThirdPartyJobSuccessResult
- CodePipeline.RetryStageExecution
- CodePipeline.StartPipelineExecution
- CodePipeline.UpdatePipeline
Constants ¶
const ( // ActionCategorySource is a ActionCategory enum value ActionCategorySource = "Source" // ActionCategoryBuild is a ActionCategory enum value ActionCategoryBuild = "Build" // ActionCategoryDeploy is a ActionCategory enum value ActionCategoryDeploy = "Deploy" // ActionCategoryTest is a ActionCategory enum value ActionCategoryTest = "Test" // ActionCategoryInvoke is a ActionCategory enum value ActionCategoryInvoke = "Invoke" // ActionCategoryApproval is a ActionCategory enum value ActionCategoryApproval = "Approval" )
const ( // ActionConfigurationPropertyTypeString is a ActionConfigurationPropertyType enum value ActionConfigurationPropertyTypeString = "String" // ActionConfigurationPropertyTypeNumber is a ActionConfigurationPropertyType enum value ActionConfigurationPropertyTypeNumber = "Number" // ActionConfigurationPropertyTypeBoolean is a ActionConfigurationPropertyType enum value ActionConfigurationPropertyTypeBoolean = "Boolean" )
const ( // ActionExecutionStatusInProgress is a ActionExecutionStatus enum value ActionExecutionStatusInProgress = "InProgress" // ActionExecutionStatusSucceeded is a ActionExecutionStatus enum value ActionExecutionStatusSucceeded = "Succeeded" // ActionExecutionStatusFailed is a ActionExecutionStatus enum value ActionExecutionStatusFailed = "Failed" )
const ( // ActionOwnerAws is a ActionOwner enum value ActionOwnerAws = "AWS" // ActionOwnerThirdParty is a ActionOwner enum value ActionOwnerThirdParty = "ThirdParty" // ActionOwnerCustom is a ActionOwner enum value ActionOwnerCustom = "Custom" )
const ( // ApprovalStatusApproved is a ApprovalStatus enum value ApprovalStatusApproved = "Approved" // ApprovalStatusRejected is a ApprovalStatus enum value ApprovalStatusRejected = "Rejected" )
const ( // FailureTypeJobFailed is a FailureType enum value FailureTypeJobFailed = "JobFailed" // FailureTypeConfigurationError is a FailureType enum value FailureTypeConfigurationError = "ConfigurationError" // FailureTypePermissionError is a FailureType enum value FailureTypePermissionError = "PermissionError" // FailureTypeRevisionOutOfSync is a FailureType enum value FailureTypeRevisionOutOfSync = "RevisionOutOfSync" FailureTypeRevisionUnavailable = "RevisionUnavailable" FailureTypeSystemUnavailable = "SystemUnavailable" )
const ( // JobStatusCreated is a JobStatus enum value JobStatusCreated = "Created" // JobStatusQueued is a JobStatus enum value JobStatusQueued = "Queued" // JobStatusDispatched is a JobStatus enum value JobStatusDispatched = "Dispatched" // JobStatusInProgress is a JobStatus enum value JobStatusInProgress = "InProgress" // JobStatusTimedOut is a JobStatus enum value JobStatusTimedOut = "TimedOut" // JobStatusSucceeded is a JobStatus enum value JobStatusSucceeded = "Succeeded" // JobStatusFailed is a JobStatus enum value JobStatusFailed = "Failed" )
const ( // PipelineExecutionStatusInProgress is a PipelineExecutionStatus enum value PipelineExecutionStatusInProgress = "InProgress" // PipelineExecutionStatusSucceeded is a PipelineExecutionStatus enum value PipelineExecutionStatusSucceeded = "Succeeded" // PipelineExecutionStatusSuperseded is a PipelineExecutionStatus enum value PipelineExecutionStatusSuperseded = "Superseded" // PipelineExecutionStatusFailed is a PipelineExecutionStatus enum value PipelineExecutionStatusFailed = "Failed" )
const ( // StageExecutionStatusInProgress is a StageExecutionStatus enum value StageExecutionStatusInProgress = "InProgress" // StageExecutionStatusFailed is a StageExecutionStatus enum value StageExecutionStatusFailed = "Failed" // StageExecutionStatusSucceeded is a StageExecutionStatus enum value StageExecutionStatusSucceeded = "Succeeded" )
const ( // StageTransitionTypeInbound is a StageTransitionType enum value StageTransitionTypeInbound = "Inbound" // StageTransitionTypeOutbound is a StageTransitionType enum value StageTransitionTypeOutbound = "Outbound" )
const ( // ErrCodeActionNotFoundException for service response error code // "ActionNotFoundException". // // The specified action cannot be found. ErrCodeActionNotFoundException = "ActionNotFoundException" // ErrCodeActionTypeNotFoundException for service response error code // "ActionTypeNotFoundException". // // The specified action type cannot be found. ErrCodeActionTypeNotFoundException = "ActionTypeNotFoundException" // ErrCodeApprovalAlreadyCompletedException for service response error code // "ApprovalAlreadyCompletedException". // // The approval action has already been approved or rejected. ErrCodeApprovalAlreadyCompletedException = "ApprovalAlreadyCompletedException" // ErrCodeInvalidActionDeclarationException for service response error code // "InvalidActionDeclarationException". // // The specified action declaration was specified in an invalid format. ErrCodeInvalidActionDeclarationException = "InvalidActionDeclarationException" // ErrCodeInvalidApprovalTokenException for service response error code // "InvalidApprovalTokenException". // // The approval request already received a response or has expired. ErrCodeInvalidApprovalTokenException = "InvalidApprovalTokenException" // ErrCodeInvalidBlockerDeclarationException for service response error code // "InvalidBlockerDeclarationException". // // Reserved for future use. ErrCodeInvalidBlockerDeclarationException = "InvalidBlockerDeclarationException" // ErrCodeInvalidClientTokenException for service response error code // "InvalidClientTokenException". // // The client token was specified in an invalid format ErrCodeInvalidClientTokenException = "InvalidClientTokenException" // ErrCodeInvalidJobException for service response error code // "InvalidJobException". // // The specified job was specified in an invalid format or cannot be found. ErrCodeInvalidJobException = "InvalidJobException" // ErrCodeInvalidJobStateException for service response error code // "InvalidJobStateException". // // The specified job state was specified in an invalid format. ErrCodeInvalidJobStateException = "InvalidJobStateException" // ErrCodeInvalidNextTokenException for service response error code // "InvalidNextTokenException". // // The next token was specified in an invalid format. Make sure that the next // token you provided is the token returned by a previous call. ErrCodeInvalidNextTokenException = "InvalidNextTokenException" // ErrCodeInvalidNonceException for service response error code // "InvalidNonceException". // // The specified nonce was specified in an invalid format. ErrCodeInvalidNonceException = "InvalidNonceException" // ErrCodeInvalidStageDeclarationException for service response error code // "InvalidStageDeclarationException". // // The specified stage declaration was specified in an invalid format. ErrCodeInvalidStageDeclarationException = "InvalidStageDeclarationException" // ErrCodeInvalidStructureException for service response error code // "InvalidStructureException". // // The specified structure was specified in an invalid format. ErrCodeInvalidStructureException = "InvalidStructureException" // ErrCodeJobNotFoundException for service response error code // "JobNotFoundException". // // The specified job was specified in an invalid format or cannot be found. ErrCodeJobNotFoundException = "JobNotFoundException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // The number of pipelines associated with the AWS account has exceeded the // limit allowed for the account. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeNotLatestPipelineExecutionException for service response error code // "NotLatestPipelineExecutionException". // // The stage has failed in a later run of the pipeline and the pipelineExecutionId // associated with the request is out of date. ErrCodeNotLatestPipelineExecutionException = "NotLatestPipelineExecutionException" // ErrCodePipelineExecutionNotFoundException for service response error code // "PipelineExecutionNotFoundException". // // The pipeline execution was specified in an invalid format or cannot be found, // or an execution ID does not belong to the specified pipeline. ErrCodePipelineExecutionNotFoundException = "PipelineExecutionNotFoundException" // ErrCodePipelineNameInUseException for service response error code // "PipelineNameInUseException". // // The specified pipeline name is already in use. ErrCodePipelineNameInUseException = "PipelineNameInUseException" // ErrCodePipelineNotFoundException for service response error code // "PipelineNotFoundException". // // The specified pipeline was specified in an invalid format or cannot be found. ErrCodePipelineNotFoundException = "PipelineNotFoundException" // ErrCodePipelineVersionNotFoundException for service response error code // "PipelineVersionNotFoundException". // // The specified pipeline version was specified in an invalid format or cannot // be found. ErrCodePipelineVersionNotFoundException = "PipelineVersionNotFoundException" // ErrCodeStageNotFoundException for service response error code // "StageNotFoundException". // // The specified stage was specified in an invalid format or cannot be found. ErrCodeStageNotFoundException = "StageNotFoundException" // ErrCodeStageNotRetryableException for service response error code // "StageNotRetryableException". // // The specified stage can't be retried because the pipeline structure or stage // state changed after the stage was not completed; the stage contains no failed // actions; one or more actions are still in progress; or another retry attempt // is already in progress. ErrCodeStageNotRetryableException = "StageNotRetryableException" // ErrCodeValidationException for service response error code // "ValidationException". // // The validation was specified in an invalid format. ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "codepipeline" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
const (
// ArtifactLocationTypeS3 is a ArtifactLocationType enum value
ArtifactLocationTypeS3 = "S3"
)
const (
// ArtifactStoreTypeS3 is a ArtifactStoreType enum value
ArtifactStoreTypeS3 = "S3"
)
const (
// BlockerTypeSchedule is a BlockerType enum value
BlockerTypeSchedule = "Schedule"
)
const (
// EncryptionKeyTypeKms is a EncryptionKeyType enum value
EncryptionKeyTypeKms = "KMS"
)
const (
// StageRetryModeFailedActions is a StageRetryMode enum value
StageRetryModeFailedActions = "FAILED_ACTIONS"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSSessionCredentials ¶
type AWSSessionCredentials struct { // The access key for the session. // // AccessKeyId is a required field AccessKeyId *string `locationName:"accessKeyId" type:"string" required:"true"` // The secret access key for the session. // // SecretAccessKey is a required field SecretAccessKey *string `locationName:"secretAccessKey" type:"string" required:"true"` // The token for the session. // // SessionToken is a required field SessionToken *string `locationName:"sessionToken" type:"string" required:"true"` // contains filtered or unexported fields }
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 Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AWSSessionCredentials
func (AWSSessionCredentials) GoString ¶
func (s AWSSessionCredentials) GoString() string
GoString returns the string representation
func (*AWSSessionCredentials) SetAccessKeyId ¶ added in v1.5.0
func (s *AWSSessionCredentials) SetAccessKeyId(v string) *AWSSessionCredentials
SetAccessKeyId sets the AccessKeyId field's value.
func (*AWSSessionCredentials) SetSecretAccessKey ¶ added in v1.5.0
func (s *AWSSessionCredentials) SetSecretAccessKey(v string) *AWSSessionCredentials
SetSecretAccessKey sets the SecretAccessKey field's value.
func (*AWSSessionCredentials) SetSessionToken ¶ added in v1.5.0
func (s *AWSSessionCredentials) SetSessionToken(v string) *AWSSessionCredentials
SetSessionToken sets the SessionToken field's value.
func (AWSSessionCredentials) String ¶
func (s AWSSessionCredentials) String() string
String returns the string representation
type AcknowledgeJobInput ¶
type AcknowledgeJobInput struct { // The unique system-generated ID of the job for which you want to confirm receipt. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // A system-generated random number that AWS CodePipeline uses to ensure that // the job is being worked on by only one job worker. Get this number from the // response of the PollForJobs request that returned this job. // // Nonce is a required field Nonce *string `locationName:"nonce" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of an acknowledge job action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJobInput
func (AcknowledgeJobInput) GoString ¶
func (s AcknowledgeJobInput) GoString() string
GoString returns the string representation
func (*AcknowledgeJobInput) SetJobId ¶ added in v1.5.0
func (s *AcknowledgeJobInput) SetJobId(v string) *AcknowledgeJobInput
SetJobId sets the JobId field's value.
func (*AcknowledgeJobInput) SetNonce ¶ added in v1.5.0
func (s *AcknowledgeJobInput) SetNonce(v string) *AcknowledgeJobInput
SetNonce sets the Nonce field's value.
func (AcknowledgeJobInput) String ¶
func (s AcknowledgeJobInput) String() string
String returns the string representation
func (*AcknowledgeJobInput) Validate ¶ added in v1.1.21
func (s *AcknowledgeJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AcknowledgeJobOutput ¶
type AcknowledgeJobOutput struct { // Whether the job worker has received the specified job. Status *string `locationName:"status" type:"string" enum:"JobStatus"` // contains filtered or unexported fields }
Represents the output of an acknowledge job action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJobOutput
func (AcknowledgeJobOutput) GoString ¶
func (s AcknowledgeJobOutput) GoString() string
GoString returns the string representation
func (*AcknowledgeJobOutput) SetStatus ¶ added in v1.5.0
func (s *AcknowledgeJobOutput) SetStatus(v string) *AcknowledgeJobOutput
SetStatus sets the Status field's value.
func (AcknowledgeJobOutput) String ¶
func (s AcknowledgeJobOutput) String() string
String returns the string representation
type AcknowledgeThirdPartyJobInput ¶
type AcknowledgeThirdPartyJobInput struct { // 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. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" type:"string" required:"true"` // The unique system-generated ID of the job. // // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` // A system-generated random number that AWS CodePipeline uses to ensure that // the job is being worked on by only one job worker. Get this number from the // response to a GetThirdPartyJobDetails request. // // Nonce is a required field Nonce *string `locationName:"nonce" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of an acknowledge third party job action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJobInput
func (AcknowledgeThirdPartyJobInput) GoString ¶
func (s AcknowledgeThirdPartyJobInput) GoString() string
GoString returns the string representation
func (*AcknowledgeThirdPartyJobInput) SetClientToken ¶ added in v1.5.0
func (s *AcknowledgeThirdPartyJobInput) SetClientToken(v string) *AcknowledgeThirdPartyJobInput
SetClientToken sets the ClientToken field's value.
func (*AcknowledgeThirdPartyJobInput) SetJobId ¶ added in v1.5.0
func (s *AcknowledgeThirdPartyJobInput) SetJobId(v string) *AcknowledgeThirdPartyJobInput
SetJobId sets the JobId field's value.
func (*AcknowledgeThirdPartyJobInput) SetNonce ¶ added in v1.5.0
func (s *AcknowledgeThirdPartyJobInput) SetNonce(v string) *AcknowledgeThirdPartyJobInput
SetNonce sets the Nonce field's value.
func (AcknowledgeThirdPartyJobInput) String ¶
func (s AcknowledgeThirdPartyJobInput) String() string
String returns the string representation
func (*AcknowledgeThirdPartyJobInput) Validate ¶ added in v1.1.21
func (s *AcknowledgeThirdPartyJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AcknowledgeThirdPartyJobOutput ¶
type AcknowledgeThirdPartyJobOutput struct { // The status information for the third party job, if any. Status *string `locationName:"status" type:"string" enum:"JobStatus"` // contains filtered or unexported fields }
Represents the output of an acknowledge third party job action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJobOutput
func (AcknowledgeThirdPartyJobOutput) GoString ¶
func (s AcknowledgeThirdPartyJobOutput) GoString() string
GoString returns the string representation
func (*AcknowledgeThirdPartyJobOutput) SetStatus ¶ added in v1.5.0
func (s *AcknowledgeThirdPartyJobOutput) SetStatus(v string) *AcknowledgeThirdPartyJobOutput
SetStatus sets the Status field's value.
func (AcknowledgeThirdPartyJobOutput) String ¶
func (s AcknowledgeThirdPartyJobOutput) String() string
String returns the string representation
type ActionConfiguration ¶
type ActionConfiguration struct { // The configuration data for the action. Configuration map[string]*string `locationName:"configuration" type:"map"` // contains filtered or unexported fields }
Represents information about an action configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionConfiguration
func (ActionConfiguration) GoString ¶
func (s ActionConfiguration) GoString() string
GoString returns the string representation
func (*ActionConfiguration) SetConfiguration ¶ added in v1.5.0
func (s *ActionConfiguration) SetConfiguration(v map[string]*string) *ActionConfiguration
SetConfiguration sets the Configuration field's value.
func (ActionConfiguration) String ¶
func (s ActionConfiguration) String() string
String returns the string representation
type ActionConfigurationProperty ¶
type ActionConfigurationProperty struct { // The description of the action configuration property that will be displayed // to users. Description *string `locationName:"description" min:"1" type:"string"` // Whether the configuration property is a key. // // Key is a required field Key *bool `locationName:"key" type:"boolean" required:"true"` // The name of the action configuration property. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Indicates that the proprety will be used in conjunction 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 additional 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 `locationName:"queryable" type:"boolean"` // Whether the configuration property is a required value. // // Required is a required field Required *bool `locationName:"required" type:"boolean" required:"true"` // 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 will preserve the prior value of the secret. // // Secret is a required field Secret *bool `locationName:"secret" type:"boolean" required:"true"` // The type of the configuration property. Type *string `locationName:"type" type:"string" enum:"ActionConfigurationPropertyType"` // contains filtered or unexported fields }
Represents information about an action configuration property. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionConfigurationProperty
func (ActionConfigurationProperty) GoString ¶
func (s ActionConfigurationProperty) GoString() string
GoString returns the string representation
func (*ActionConfigurationProperty) SetDescription ¶ added in v1.5.0
func (s *ActionConfigurationProperty) SetDescription(v string) *ActionConfigurationProperty
SetDescription sets the Description field's value.
func (*ActionConfigurationProperty) SetKey ¶ added in v1.5.0
func (s *ActionConfigurationProperty) SetKey(v bool) *ActionConfigurationProperty
SetKey sets the Key field's value.
func (*ActionConfigurationProperty) SetName ¶ added in v1.5.0
func (s *ActionConfigurationProperty) SetName(v string) *ActionConfigurationProperty
SetName sets the Name field's value.
func (*ActionConfigurationProperty) SetQueryable ¶ added in v1.5.0
func (s *ActionConfigurationProperty) SetQueryable(v bool) *ActionConfigurationProperty
SetQueryable sets the Queryable field's value.
func (*ActionConfigurationProperty) SetRequired ¶ added in v1.5.0
func (s *ActionConfigurationProperty) SetRequired(v bool) *ActionConfigurationProperty
SetRequired sets the Required field's value.
func (*ActionConfigurationProperty) SetSecret ¶ added in v1.5.0
func (s *ActionConfigurationProperty) SetSecret(v bool) *ActionConfigurationProperty
SetSecret sets the Secret field's value.
func (*ActionConfigurationProperty) SetType ¶ added in v1.5.0
func (s *ActionConfigurationProperty) SetType(v string) *ActionConfigurationProperty
SetType sets the Type field's value.
func (ActionConfigurationProperty) String ¶
func (s ActionConfigurationProperty) String() string
String returns the string representation
func (*ActionConfigurationProperty) Validate ¶ added in v1.1.21
func (s *ActionConfigurationProperty) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ActionContext ¶
type ActionContext struct { // The name of the action within the context of a job. Name *string `locationName:"name" min:"1" type:"string"` // contains filtered or unexported fields }
Represents the context of an action within the stage of a pipeline to a job worker. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionContext
func (ActionContext) GoString ¶
func (s ActionContext) GoString() string
GoString returns the string representation
func (*ActionContext) SetName ¶ added in v1.5.0
func (s *ActionContext) SetName(v string) *ActionContext
SetName sets the Name field's value.
func (ActionContext) String ¶
func (s ActionContext) String() string
String returns the string representation
type ActionDeclaration ¶
type ActionDeclaration struct { // The configuration information for the action type. // // ActionTypeId is a required field ActionTypeId *ActionTypeId `locationName:"actionTypeId" type:"structure" required:"true"` // The action declaration's configuration. Configuration map[string]*string `locationName:"configuration" type:"map"` // The name or ID of the artifact consumed by the action, such as a test or // build artifact. InputArtifacts []*InputArtifact `locationName:"inputArtifacts" type:"list"` // The action declaration's name. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The name or ID of the result of the action declaration, such as a test or // build artifact. OutputArtifacts []*OutputArtifact `locationName:"outputArtifacts" type:"list"` // The ARN of the IAM service role that will perform the declared action. This // is assumed through the roleArn for the pipeline. RoleArn *string `locationName:"roleArn" type:"string"` // The order in which actions are run. RunOrder *int64 `locationName:"runOrder" min:"1" type:"integer"` // contains filtered or unexported fields }
Represents information about an action declaration. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionDeclaration
func (ActionDeclaration) GoString ¶
func (s ActionDeclaration) GoString() string
GoString returns the string representation
func (*ActionDeclaration) SetActionTypeId ¶ added in v1.5.0
func (s *ActionDeclaration) SetActionTypeId(v *ActionTypeId) *ActionDeclaration
SetActionTypeId sets the ActionTypeId field's value.
func (*ActionDeclaration) SetConfiguration ¶ added in v1.5.0
func (s *ActionDeclaration) SetConfiguration(v map[string]*string) *ActionDeclaration
SetConfiguration sets the Configuration field's value.
func (*ActionDeclaration) SetInputArtifacts ¶ added in v1.5.0
func (s *ActionDeclaration) SetInputArtifacts(v []*InputArtifact) *ActionDeclaration
SetInputArtifacts sets the InputArtifacts field's value.
func (*ActionDeclaration) SetName ¶ added in v1.5.0
func (s *ActionDeclaration) SetName(v string) *ActionDeclaration
SetName sets the Name field's value.
func (*ActionDeclaration) SetOutputArtifacts ¶ added in v1.5.0
func (s *ActionDeclaration) SetOutputArtifacts(v []*OutputArtifact) *ActionDeclaration
SetOutputArtifacts sets the OutputArtifacts field's value.
func (*ActionDeclaration) SetRoleArn ¶ added in v1.5.0
func (s *ActionDeclaration) SetRoleArn(v string) *ActionDeclaration
SetRoleArn sets the RoleArn field's value.
func (*ActionDeclaration) SetRunOrder ¶ added in v1.5.0
func (s *ActionDeclaration) SetRunOrder(v int64) *ActionDeclaration
SetRunOrder sets the RunOrder field's value.
func (ActionDeclaration) String ¶
func (s ActionDeclaration) String() string
String returns the string representation
func (*ActionDeclaration) Validate ¶ added in v1.1.21
func (s *ActionDeclaration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ActionExecution ¶
type ActionExecution struct { // The details of an error returned by a URL external to AWS. ErrorDetails *ErrorDetails `locationName:"errorDetails" type:"structure"` // The external ID of the run of the action. ExternalExecutionId *string `locationName:"externalExecutionId" min:"1" type:"string"` // The URL of a resource external to AWS that will be used when running the // action, for example an external repository URL. ExternalExecutionUrl *string `locationName:"externalExecutionUrl" min:"1" type:"string"` // The last status change of the action. LastStatusChange *time.Time `locationName:"lastStatusChange" type:"timestamp" timestampFormat:"unix"` // The ARN of the user who last changed the pipeline. LastUpdatedBy *string `locationName:"lastUpdatedBy" type:"string"` // A percentage of completeness of the action as it runs. PercentComplete *int64 `locationName:"percentComplete" type:"integer"` // The status of the action, or for a completed action, the last status of the // action. Status *string `locationName:"status" type:"string" enum:"ActionExecutionStatus"` // A summary of the run of the action. Summary *string `locationName:"summary" type:"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 and is used to validate that the approval request corresponding to // this token is still valid. Token *string `locationName:"token" type:"string"` // contains filtered or unexported fields }
Represents information about the run of an action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecution
func (ActionExecution) GoString ¶
func (s ActionExecution) GoString() string
GoString returns the string representation
func (*ActionExecution) SetErrorDetails ¶ added in v1.5.0
func (s *ActionExecution) SetErrorDetails(v *ErrorDetails) *ActionExecution
SetErrorDetails sets the ErrorDetails field's value.
func (*ActionExecution) SetExternalExecutionId ¶ added in v1.5.0
func (s *ActionExecution) SetExternalExecutionId(v string) *ActionExecution
SetExternalExecutionId sets the ExternalExecutionId field's value.
func (*ActionExecution) SetExternalExecutionUrl ¶ added in v1.5.0
func (s *ActionExecution) SetExternalExecutionUrl(v string) *ActionExecution
SetExternalExecutionUrl sets the ExternalExecutionUrl field's value.
func (*ActionExecution) SetLastStatusChange ¶ added in v1.5.0
func (s *ActionExecution) SetLastStatusChange(v time.Time) *ActionExecution
SetLastStatusChange sets the LastStatusChange field's value.
func (*ActionExecution) SetLastUpdatedBy ¶ added in v1.5.0
func (s *ActionExecution) SetLastUpdatedBy(v string) *ActionExecution
SetLastUpdatedBy sets the LastUpdatedBy field's value.
func (*ActionExecution) SetPercentComplete ¶ added in v1.5.0
func (s *ActionExecution) SetPercentComplete(v int64) *ActionExecution
SetPercentComplete sets the PercentComplete field's value.
func (*ActionExecution) SetStatus ¶ added in v1.5.0
func (s *ActionExecution) SetStatus(v string) *ActionExecution
SetStatus sets the Status field's value.
func (*ActionExecution) SetSummary ¶ added in v1.5.0
func (s *ActionExecution) SetSummary(v string) *ActionExecution
SetSummary sets the Summary field's value.
func (*ActionExecution) SetToken ¶ added in v1.5.0
func (s *ActionExecution) SetToken(v string) *ActionExecution
SetToken sets the Token field's value.
func (ActionExecution) String ¶
func (s ActionExecution) String() string
String returns the string representation
type ActionRevision ¶
type ActionRevision struct { // The date and time when the most recent version of the action was created, // in timestamp format. // // Created is a required field Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix" required:"true"` // The unique identifier of the change that set the state to this revision, // for example a deployment ID or timestamp. // // RevisionChangeId is a required field RevisionChangeId *string `locationName:"revisionChangeId" min:"1" type:"string" required:"true"` // The system-generated unique ID that identifies the revision number of the // action. // // RevisionId is a required field RevisionId *string `locationName:"revisionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents information about the version (or revision) of an action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionRevision
func (ActionRevision) GoString ¶
func (s ActionRevision) GoString() string
GoString returns the string representation
func (*ActionRevision) SetCreated ¶ added in v1.5.0
func (s *ActionRevision) SetCreated(v time.Time) *ActionRevision
SetCreated sets the Created field's value.
func (*ActionRevision) SetRevisionChangeId ¶ added in v1.5.0
func (s *ActionRevision) SetRevisionChangeId(v string) *ActionRevision
SetRevisionChangeId sets the RevisionChangeId field's value.
func (*ActionRevision) SetRevisionId ¶ added in v1.5.0
func (s *ActionRevision) SetRevisionId(v string) *ActionRevision
SetRevisionId sets the RevisionId field's value.
func (ActionRevision) String ¶
func (s ActionRevision) String() string
String returns the string representation
func (*ActionRevision) Validate ¶ added in v1.1.21
func (s *ActionRevision) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ActionState ¶
type ActionState struct { // The name of the action. ActionName *string `locationName:"actionName" min:"1" type:"string"` // Represents information about the version (or revision) of an action. CurrentRevision *ActionRevision `locationName:"currentRevision" type:"structure"` // A URL link for more information about the state of the action, such as a // deployment group details page. EntityUrl *string `locationName:"entityUrl" min:"1" type:"string"` // Represents information about the run of an action. LatestExecution *ActionExecution `locationName:"latestExecution" type:"structure"` // A URL link for more information about the revision, such as a commit details // page. RevisionUrl *string `locationName:"revisionUrl" min:"1" type:"string"` // contains filtered or unexported fields }
Represents information about the state of an action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionState
func (ActionState) GoString ¶
func (s ActionState) GoString() string
GoString returns the string representation
func (*ActionState) SetActionName ¶ added in v1.5.0
func (s *ActionState) SetActionName(v string) *ActionState
SetActionName sets the ActionName field's value.
func (*ActionState) SetCurrentRevision ¶ added in v1.5.0
func (s *ActionState) SetCurrentRevision(v *ActionRevision) *ActionState
SetCurrentRevision sets the CurrentRevision field's value.
func (*ActionState) SetEntityUrl ¶ added in v1.5.0
func (s *ActionState) SetEntityUrl(v string) *ActionState
SetEntityUrl sets the EntityUrl field's value.
func (*ActionState) SetLatestExecution ¶ added in v1.5.0
func (s *ActionState) SetLatestExecution(v *ActionExecution) *ActionState
SetLatestExecution sets the LatestExecution field's value.
func (*ActionState) SetRevisionUrl ¶ added in v1.5.0
func (s *ActionState) SetRevisionUrl(v string) *ActionState
SetRevisionUrl sets the RevisionUrl field's value.
func (ActionState) String ¶
func (s ActionState) String() string
String returns the string representation
type ActionType ¶
type ActionType struct { // The configuration properties for the action type. ActionConfigurationProperties []*ActionConfigurationProperty `locationName:"actionConfigurationProperties" type:"list"` // Represents information about an action type. // // Id is a required field Id *ActionTypeId `locationName:"id" type:"structure" required:"true"` // The details of the input artifact for the action, such as its commit ID. // // InputArtifactDetails is a required field InputArtifactDetails *ArtifactDetails `locationName:"inputArtifactDetails" type:"structure" required:"true"` // The details of the output artifact of the action, such as its commit ID. // // OutputArtifactDetails is a required field OutputArtifactDetails *ArtifactDetails `locationName:"outputArtifactDetails" type:"structure" required:"true"` // The settings for the action type. Settings *ActionTypeSettings `locationName:"settings" type:"structure"` // contains filtered or unexported fields }
Returns information about the details of an action type. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionType
func (ActionType) GoString ¶
func (s ActionType) GoString() string
GoString returns the string representation
func (*ActionType) SetActionConfigurationProperties ¶ added in v1.5.0
func (s *ActionType) SetActionConfigurationProperties(v []*ActionConfigurationProperty) *ActionType
SetActionConfigurationProperties sets the ActionConfigurationProperties field's value.
func (*ActionType) SetId ¶ added in v1.5.0
func (s *ActionType) SetId(v *ActionTypeId) *ActionType
SetId sets the Id field's value.
func (*ActionType) SetInputArtifactDetails ¶ added in v1.5.0
func (s *ActionType) SetInputArtifactDetails(v *ArtifactDetails) *ActionType
SetInputArtifactDetails sets the InputArtifactDetails field's value.
func (*ActionType) SetOutputArtifactDetails ¶ added in v1.5.0
func (s *ActionType) SetOutputArtifactDetails(v *ArtifactDetails) *ActionType
SetOutputArtifactDetails sets the OutputArtifactDetails field's value.
func (*ActionType) SetSettings ¶ added in v1.5.0
func (s *ActionType) SetSettings(v *ActionTypeSettings) *ActionType
SetSettings sets the Settings field's value.
func (ActionType) String ¶
func (s ActionType) String() string
String returns the string representation
type ActionTypeId ¶ added in v0.9.5
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 values below. // // Category is a required field Category *string `locationName:"category" type:"string" required:"true" enum:"ActionCategory"` // The creator of the action being called. // // Owner is a required field Owner *string `locationName:"owner" type:"string" required:"true" enum:"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. // // Provider is a required field Provider *string `locationName:"provider" min:"1" type:"string" required:"true"` // A string that identifies the action type. // // Version is a required field Version *string `locationName:"version" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents information about an action type. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeId
func (ActionTypeId) GoString ¶ added in v0.9.5
func (s ActionTypeId) GoString() string
GoString returns the string representation
func (*ActionTypeId) SetCategory ¶ added in v1.5.0
func (s *ActionTypeId) SetCategory(v string) *ActionTypeId
SetCategory sets the Category field's value.
func (*ActionTypeId) SetOwner ¶ added in v1.5.0
func (s *ActionTypeId) SetOwner(v string) *ActionTypeId
SetOwner sets the Owner field's value.
func (*ActionTypeId) SetProvider ¶ added in v1.5.0
func (s *ActionTypeId) SetProvider(v string) *ActionTypeId
SetProvider sets the Provider field's value.
func (*ActionTypeId) SetVersion ¶ added in v1.5.0
func (s *ActionTypeId) SetVersion(v string) *ActionTypeId
SetVersion sets the Version field's value.
func (ActionTypeId) String ¶ added in v0.9.5
func (s ActionTypeId) String() string
String returns the string representation
func (*ActionTypeId) Validate ¶ added in v1.1.21
func (s *ActionTypeId) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ActionTypeSettings ¶
type ActionTypeSettings struct { // 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 within the pipeline. EntityUrlTemplate *string `locationName:"entityUrlTemplate" min:"1" type:"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 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 `locationName:"executionUrlTemplate" min:"1" type:"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 `locationName:"revisionUrlTemplate" min:"1" type:"string"` // 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 `locationName:"thirdPartyConfigurationUrl" min:"1" type:"string"` // contains filtered or unexported fields }
Returns information about the settings for an action type. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeSettings
func (ActionTypeSettings) GoString ¶
func (s ActionTypeSettings) GoString() string
GoString returns the string representation
func (*ActionTypeSettings) SetEntityUrlTemplate ¶ added in v1.5.0
func (s *ActionTypeSettings) SetEntityUrlTemplate(v string) *ActionTypeSettings
SetEntityUrlTemplate sets the EntityUrlTemplate field's value.
func (*ActionTypeSettings) SetExecutionUrlTemplate ¶ added in v1.5.0
func (s *ActionTypeSettings) SetExecutionUrlTemplate(v string) *ActionTypeSettings
SetExecutionUrlTemplate sets the ExecutionUrlTemplate field's value.
func (*ActionTypeSettings) SetRevisionUrlTemplate ¶ added in v1.5.0
func (s *ActionTypeSettings) SetRevisionUrlTemplate(v string) *ActionTypeSettings
SetRevisionUrlTemplate sets the RevisionUrlTemplate field's value.
func (*ActionTypeSettings) SetThirdPartyConfigurationUrl ¶ added in v1.5.0
func (s *ActionTypeSettings) SetThirdPartyConfigurationUrl(v string) *ActionTypeSettings
SetThirdPartyConfigurationUrl sets the ThirdPartyConfigurationUrl field's value.
func (ActionTypeSettings) String ¶
func (s ActionTypeSettings) String() string
String returns the string representation
func (*ActionTypeSettings) Validate ¶ added in v1.1.21
func (s *ActionTypeSettings) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ApprovalResult ¶ added in v1.2.3
type ApprovalResult struct { // The response submitted by a reviewer assigned to an approval action request. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"ApprovalStatus"` // The summary of the current status of the approval request. // // Summary is a required field Summary *string `locationName:"summary" type:"string" required:"true"` // contains filtered or unexported fields }
Represents information about the result of an approval request. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ApprovalResult
func (ApprovalResult) GoString ¶ added in v1.2.3
func (s ApprovalResult) GoString() string
GoString returns the string representation
func (*ApprovalResult) SetStatus ¶ added in v1.5.0
func (s *ApprovalResult) SetStatus(v string) *ApprovalResult
SetStatus sets the Status field's value.
func (*ApprovalResult) SetSummary ¶ added in v1.5.0
func (s *ApprovalResult) SetSummary(v string) *ApprovalResult
SetSummary sets the Summary field's value.
func (ApprovalResult) String ¶ added in v1.2.3
func (s ApprovalResult) String() string
String returns the string representation
func (*ApprovalResult) Validate ¶ added in v1.2.3
func (s *ApprovalResult) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Artifact ¶
type Artifact struct { // The location of an artifact. Location *ArtifactLocation `locationName:"location" type:"structure"` // The artifact's name. Name *string `locationName:"name" min:"1" type:"string"` // 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 `locationName:"revision" min:"1" type:"string"` // contains filtered or unexported fields }
Represents information about an artifact that will be worked upon by actions in the pipeline. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/Artifact
func (*Artifact) SetLocation ¶ added in v1.5.0
func (s *Artifact) SetLocation(v *ArtifactLocation) *Artifact
SetLocation sets the Location field's value.
func (*Artifact) SetRevision ¶ added in v1.5.0
SetRevision sets the Revision field's value.
type ArtifactDetails ¶
type ArtifactDetails struct { // The maximum number of artifacts allowed for the action type. // // MaximumCount is a required field MaximumCount *int64 `locationName:"maximumCount" type:"integer" required:"true"` // The minimum number of artifacts allowed for the action type. // // MinimumCount is a required field MinimumCount *int64 `locationName:"minimumCount" type:"integer" required:"true"` // contains filtered or unexported fields }
Returns information about the details of an artifact. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactDetails
func (ArtifactDetails) GoString ¶
func (s ArtifactDetails) GoString() string
GoString returns the string representation
func (*ArtifactDetails) SetMaximumCount ¶ added in v1.5.0
func (s *ArtifactDetails) SetMaximumCount(v int64) *ArtifactDetails
SetMaximumCount sets the MaximumCount field's value.
func (*ArtifactDetails) SetMinimumCount ¶ added in v1.5.0
func (s *ArtifactDetails) SetMinimumCount(v int64) *ArtifactDetails
SetMinimumCount sets the MinimumCount field's value.
func (ArtifactDetails) String ¶
func (s ArtifactDetails) String() string
String returns the string representation
func (*ArtifactDetails) Validate ¶ added in v1.1.21
func (s *ArtifactDetails) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ArtifactLocation ¶
type ArtifactLocation struct { // The Amazon S3 bucket that contains the artifact. S3Location *S3ArtifactLocation `locationName:"s3Location" type:"structure"` // The type of artifact in the location. Type *string `locationName:"type" type:"string" enum:"ArtifactLocationType"` // contains filtered or unexported fields }
Represents information about the location of an artifact. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactLocation
func (ArtifactLocation) GoString ¶
func (s ArtifactLocation) GoString() string
GoString returns the string representation
func (*ArtifactLocation) SetS3Location ¶ added in v1.5.0
func (s *ArtifactLocation) SetS3Location(v *S3ArtifactLocation) *ArtifactLocation
SetS3Location sets the S3Location field's value.
func (*ArtifactLocation) SetType ¶ added in v1.5.0
func (s *ArtifactLocation) SetType(v string) *ArtifactLocation
SetType sets the Type field's value.
func (ArtifactLocation) String ¶
func (s ArtifactLocation) String() string
String returns the string representation
type ArtifactRevision ¶ added in v1.4.5
type ArtifactRevision struct { // The date and time when the most recent revision of the artifact was created, // in timestamp format. Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"` // The name of an artifact. This name might be system-generated, such as "MyApp", // or might be defined by the user when an action is created. Name *string `locationName:"name" min:"1" type:"string"` // An additional identifier for a revision, such as a commit date or, for artifacts // stored in Amazon S3 buckets, the ETag value. RevisionChangeIdentifier *string `locationName:"revisionChangeIdentifier" min:"1" type:"string"` // The revision ID of the artifact. RevisionId *string `locationName:"revisionId" min:"1" type:"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 `locationName:"revisionSummary" min:"1" type:"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 `locationName:"revisionUrl" min:"1" type:"string"` // contains filtered or unexported fields }
Represents revision details of an artifact. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactRevision
func (ArtifactRevision) GoString ¶ added in v1.4.5
func (s ArtifactRevision) GoString() string
GoString returns the string representation
func (*ArtifactRevision) SetCreated ¶ added in v1.5.0
func (s *ArtifactRevision) SetCreated(v time.Time) *ArtifactRevision
SetCreated sets the Created field's value.
func (*ArtifactRevision) SetName ¶ added in v1.5.0
func (s *ArtifactRevision) SetName(v string) *ArtifactRevision
SetName sets the Name field's value.
func (*ArtifactRevision) SetRevisionChangeIdentifier ¶ added in v1.5.0
func (s *ArtifactRevision) SetRevisionChangeIdentifier(v string) *ArtifactRevision
SetRevisionChangeIdentifier sets the RevisionChangeIdentifier field's value.
func (*ArtifactRevision) SetRevisionId ¶ added in v1.5.0
func (s *ArtifactRevision) SetRevisionId(v string) *ArtifactRevision
SetRevisionId sets the RevisionId field's value.
func (*ArtifactRevision) SetRevisionSummary ¶ added in v1.5.0
func (s *ArtifactRevision) SetRevisionSummary(v string) *ArtifactRevision
SetRevisionSummary sets the RevisionSummary field's value.
func (*ArtifactRevision) SetRevisionUrl ¶ added in v1.5.0
func (s *ArtifactRevision) SetRevisionUrl(v string) *ArtifactRevision
SetRevisionUrl sets the RevisionUrl field's value.
func (ArtifactRevision) String ¶ added in v1.4.5
func (s ArtifactRevision) String() string
String returns the string representation
type ArtifactStore ¶
type ArtifactStore struct { // 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 `locationName:"encryptionKey" type:"structure"` // The location for storing the artifacts for a pipeline, such as an S3 bucket // or folder. // // Location is a required field Location *string `locationName:"location" min:"3" type:"string" required:"true"` // The type of the artifact store, such as S3. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"ArtifactStoreType"` // contains filtered or unexported fields }
The Amazon S3 location where artifacts are stored for the pipeline. If this Amazon S3 bucket is created manually, it must meet the requirements for AWS CodePipeline. For more information, see the Concepts (http://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#CPS3Bucket). Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactStore
func (ArtifactStore) GoString ¶
func (s ArtifactStore) GoString() string
GoString returns the string representation
func (*ArtifactStore) SetEncryptionKey ¶ added in v1.5.0
func (s *ArtifactStore) SetEncryptionKey(v *EncryptionKey) *ArtifactStore
SetEncryptionKey sets the EncryptionKey field's value.
func (*ArtifactStore) SetLocation ¶ added in v1.5.0
func (s *ArtifactStore) SetLocation(v string) *ArtifactStore
SetLocation sets the Location field's value.
func (*ArtifactStore) SetType ¶ added in v1.5.0
func (s *ArtifactStore) SetType(v string) *ArtifactStore
SetType sets the Type field's value.
func (ArtifactStore) String ¶
func (s ArtifactStore) String() string
String returns the string representation
func (*ArtifactStore) Validate ¶ added in v1.1.21
func (s *ArtifactStore) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BlockerDeclaration ¶
type BlockerDeclaration struct { // Reserved for future use. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Reserved for future use. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"BlockerType"` // contains filtered or unexported fields }
Reserved for future use. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/BlockerDeclaration
func (BlockerDeclaration) GoString ¶
func (s BlockerDeclaration) GoString() string
GoString returns the string representation
func (*BlockerDeclaration) SetName ¶ added in v1.5.0
func (s *BlockerDeclaration) SetName(v string) *BlockerDeclaration
SetName sets the Name field's value.
func (*BlockerDeclaration) SetType ¶ added in v1.5.0
func (s *BlockerDeclaration) SetType(v string) *BlockerDeclaration
SetType sets the Type field's value.
func (BlockerDeclaration) String ¶
func (s BlockerDeclaration) String() string
String returns the string representation
func (*BlockerDeclaration) Validate ¶ added in v1.1.21
func (s *BlockerDeclaration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CodePipeline ¶
CodePipeline provides the API operation methods for making requests to AWS CodePipeline. See this package's package overview docs for details on the service.
CodePipeline 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) *CodePipeline
New creates a new instance of the CodePipeline 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 CodePipeline client from just a session. svc := codepipeline.New(mySession) // Create a CodePipeline client with additional configuration svc := codepipeline.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*CodePipeline) AcknowledgeJob ¶
func (c *CodePipeline) AcknowledgeJob(input *AcknowledgeJobInput) (*AcknowledgeJobOutput, error)
AcknowledgeJob API operation for AWS CodePipeline.
Returns information about a specified job and whether that job has been received by the job worker. Only used for custom actions.
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 CodePipeline's API operation AcknowledgeJob for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeInvalidNonceException "InvalidNonceException" The specified nonce was specified in an invalid format.
ErrCodeJobNotFoundException "JobNotFoundException" The specified job was specified in an invalid format or cannot be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJob
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.AcknowledgeJobInput{ JobId: aws.String("JobId"), // Required Nonce: aws.String("Nonce"), // Required } resp, err := svc.AcknowledgeJob(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) AcknowledgeJobRequest ¶
func (c *CodePipeline) AcknowledgeJobRequest(input *AcknowledgeJobInput) (req *request.Request, output *AcknowledgeJobOutput)
AcknowledgeJobRequest generates a "aws/request.Request" representing the client's request for the AcknowledgeJob operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AcknowledgeJob 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 AcknowledgeJob 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 AcknowledgeJobRequest method. req, resp := client.AcknowledgeJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJob
func (*CodePipeline) AcknowledgeJobWithContext ¶ added in v1.8.0
func (c *CodePipeline) AcknowledgeJobWithContext(ctx aws.Context, input *AcknowledgeJobInput, opts ...request.Option) (*AcknowledgeJobOutput, error)
AcknowledgeJobWithContext is the same as AcknowledgeJob with the addition of the ability to pass a context and additional request options.
See AcknowledgeJob 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 (*CodePipeline) AcknowledgeThirdPartyJob ¶
func (c *CodePipeline) AcknowledgeThirdPartyJob(input *AcknowledgeThirdPartyJobInput) (*AcknowledgeThirdPartyJobOutput, error)
AcknowledgeThirdPartyJob API operation for AWS CodePipeline.
Confirms a job worker has received the specified job. Only used for partner actions.
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 CodePipeline's API operation AcknowledgeThirdPartyJob for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeInvalidNonceException "InvalidNonceException" The specified nonce was specified in an invalid format.
ErrCodeJobNotFoundException "JobNotFoundException" The specified job was specified in an invalid format or cannot be found.
ErrCodeInvalidClientTokenException "InvalidClientTokenException" The client token was specified in an invalid format
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJob
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.AcknowledgeThirdPartyJobInput{ ClientToken: aws.String("ClientToken"), // Required JobId: aws.String("ThirdPartyJobId"), // Required Nonce: aws.String("Nonce"), // Required } resp, err := svc.AcknowledgeThirdPartyJob(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) AcknowledgeThirdPartyJobRequest ¶
func (c *CodePipeline) AcknowledgeThirdPartyJobRequest(input *AcknowledgeThirdPartyJobInput) (req *request.Request, output *AcknowledgeThirdPartyJobOutput)
AcknowledgeThirdPartyJobRequest generates a "aws/request.Request" representing the client's request for the AcknowledgeThirdPartyJob operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AcknowledgeThirdPartyJob 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 AcknowledgeThirdPartyJob 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 AcknowledgeThirdPartyJobRequest method. req, resp := client.AcknowledgeThirdPartyJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJob
func (*CodePipeline) AcknowledgeThirdPartyJobWithContext ¶ added in v1.8.0
func (c *CodePipeline) AcknowledgeThirdPartyJobWithContext(ctx aws.Context, input *AcknowledgeThirdPartyJobInput, opts ...request.Option) (*AcknowledgeThirdPartyJobOutput, error)
AcknowledgeThirdPartyJobWithContext is the same as AcknowledgeThirdPartyJob with the addition of the ability to pass a context and additional request options.
See AcknowledgeThirdPartyJob 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 (*CodePipeline) CreateCustomActionType ¶
func (c *CodePipeline) CreateCustomActionType(input *CreateCustomActionTypeInput) (*CreateCustomActionTypeOutput, error)
CreateCustomActionType API operation for AWS CodePipeline.
Creates a new custom action that can be used in all pipelines associated with the AWS account. Only used for custom actions.
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 CodePipeline's API operation CreateCustomActionType for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeLimitExceededException "LimitExceededException" The number of pipelines associated with the AWS account has exceeded the limit allowed for the account.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionType
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.CreateCustomActionTypeInput{ Category: aws.String("ActionCategory"), // Required InputArtifactDetails: &codepipeline.ArtifactDetails{ // Required MaximumCount: aws.Int64(1), // Required MinimumCount: aws.Int64(1), // Required }, OutputArtifactDetails: &codepipeline.ArtifactDetails{ // Required MaximumCount: aws.Int64(1), // Required MinimumCount: aws.Int64(1), // Required }, Provider: aws.String("ActionProvider"), // Required Version: aws.String("Version"), // Required ConfigurationProperties: []*codepipeline.ActionConfigurationProperty{ { // Required Key: aws.Bool(true), // Required Name: aws.String("ActionConfigurationKey"), // Required Required: aws.Bool(true), // Required Secret: aws.Bool(true), // Required Description: aws.String("Description"), Queryable: aws.Bool(true), Type: aws.String("ActionConfigurationPropertyType"), }, // More values... }, Settings: &codepipeline.ActionTypeSettings{ EntityUrlTemplate: aws.String("UrlTemplate"), ExecutionUrlTemplate: aws.String("UrlTemplate"), RevisionUrlTemplate: aws.String("UrlTemplate"), ThirdPartyConfigurationUrl: aws.String("Url"), }, } resp, err := svc.CreateCustomActionType(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) CreateCustomActionTypeRequest ¶
func (c *CodePipeline) CreateCustomActionTypeRequest(input *CreateCustomActionTypeInput) (req *request.Request, output *CreateCustomActionTypeOutput)
CreateCustomActionTypeRequest generates a "aws/request.Request" representing the client's request for the CreateCustomActionType operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateCustomActionType 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 CreateCustomActionType 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 CreateCustomActionTypeRequest method. req, resp := client.CreateCustomActionTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionType
func (*CodePipeline) CreateCustomActionTypeWithContext ¶ added in v1.8.0
func (c *CodePipeline) CreateCustomActionTypeWithContext(ctx aws.Context, input *CreateCustomActionTypeInput, opts ...request.Option) (*CreateCustomActionTypeOutput, error)
CreateCustomActionTypeWithContext is the same as CreateCustomActionType with the addition of the ability to pass a context and additional request options.
See CreateCustomActionType 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 (*CodePipeline) CreatePipeline ¶
func (c *CodePipeline) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error)
CreatePipeline API operation for AWS CodePipeline.
Creates a pipeline.
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 CodePipeline's API operation CreatePipeline for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodePipelineNameInUseException "PipelineNameInUseException" The specified pipeline name is already in use.
ErrCodeInvalidStageDeclarationException "InvalidStageDeclarationException" The specified stage declaration was specified in an invalid format.
ErrCodeInvalidActionDeclarationException "InvalidActionDeclarationException" The specified action declaration was specified in an invalid format.
ErrCodeInvalidBlockerDeclarationException "InvalidBlockerDeclarationException" Reserved for future use.
ErrCodeInvalidStructureException "InvalidStructureException" The specified structure was specified in an invalid format.
ErrCodeLimitExceededException "LimitExceededException" The number of pipelines associated with the AWS account has exceeded the limit allowed for the account.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipeline
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.CreatePipelineInput{ Pipeline: &codepipeline.PipelineDeclaration{ // Required ArtifactStore: &codepipeline.ArtifactStore{ // Required Location: aws.String("ArtifactStoreLocation"), // Required Type: aws.String("ArtifactStoreType"), // Required EncryptionKey: &codepipeline.EncryptionKey{ Id: aws.String("EncryptionKeyId"), // Required Type: aws.String("EncryptionKeyType"), // Required }, }, Name: aws.String("PipelineName"), // Required RoleArn: aws.String("RoleArn"), // Required Stages: []*codepipeline.StageDeclaration{ // Required { // Required Actions: []*codepipeline.ActionDeclaration{ // Required { // Required ActionTypeId: &codepipeline.ActionTypeId{ // Required Category: aws.String("ActionCategory"), // Required Owner: aws.String("ActionOwner"), // Required Provider: aws.String("ActionProvider"), // Required Version: aws.String("Version"), // Required }, Name: aws.String("ActionName"), // Required Configuration: map[string]*string{ "Key": aws.String("ActionConfigurationValue"), // Required // More values... }, InputArtifacts: []*codepipeline.InputArtifact{ { // Required Name: aws.String("ArtifactName"), // Required }, // More values... }, OutputArtifacts: []*codepipeline.OutputArtifact{ { // Required Name: aws.String("ArtifactName"), // Required }, // More values... }, RoleArn: aws.String("RoleArn"), RunOrder: aws.Int64(1), }, // More values... }, Name: aws.String("StageName"), // Required Blockers: []*codepipeline.BlockerDeclaration{ { // Required Name: aws.String("BlockerName"), // Required Type: aws.String("BlockerType"), // Required }, // More values... }, }, // More values... }, Version: aws.Int64(1), }, } resp, err := svc.CreatePipeline(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) CreatePipelineRequest ¶
func (c *CodePipeline) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput)
CreatePipelineRequest generates a "aws/request.Request" representing the client's request for the CreatePipeline operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreatePipeline 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 CreatePipeline 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 CreatePipelineRequest method. req, resp := client.CreatePipelineRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipeline
func (*CodePipeline) CreatePipelineWithContext ¶ added in v1.8.0
func (c *CodePipeline) CreatePipelineWithContext(ctx aws.Context, input *CreatePipelineInput, opts ...request.Option) (*CreatePipelineOutput, error)
CreatePipelineWithContext is the same as CreatePipeline with the addition of the ability to pass a context and additional request options.
See CreatePipeline 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 (*CodePipeline) DeleteCustomActionType ¶
func (c *CodePipeline) DeleteCustomActionType(input *DeleteCustomActionTypeInput) (*DeleteCustomActionTypeOutput, error)
DeleteCustomActionType API operation for AWS CodePipeline.
Marks a custom action as deleted. PollForJobs for the custom action will fail after the action is marked for deletion. Only used for custom actions.
You cannot recreate a custom action after it has been deleted unless you increase the version number of the action.
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 CodePipeline's API operation DeleteCustomActionType for usage and error information.
Returned Error Codes:
- ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionType
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.DeleteCustomActionTypeInput{ Category: aws.String("ActionCategory"), // Required Provider: aws.String("ActionProvider"), // Required Version: aws.String("Version"), // Required } resp, err := svc.DeleteCustomActionType(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) DeleteCustomActionTypeRequest ¶
func (c *CodePipeline) DeleteCustomActionTypeRequest(input *DeleteCustomActionTypeInput) (req *request.Request, output *DeleteCustomActionTypeOutput)
DeleteCustomActionTypeRequest generates a "aws/request.Request" representing the client's request for the DeleteCustomActionType operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteCustomActionType 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 DeleteCustomActionType 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 DeleteCustomActionTypeRequest method. req, resp := client.DeleteCustomActionTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionType
func (*CodePipeline) DeleteCustomActionTypeWithContext ¶ added in v1.8.0
func (c *CodePipeline) DeleteCustomActionTypeWithContext(ctx aws.Context, input *DeleteCustomActionTypeInput, opts ...request.Option) (*DeleteCustomActionTypeOutput, error)
DeleteCustomActionTypeWithContext is the same as DeleteCustomActionType with the addition of the ability to pass a context and additional request options.
See DeleteCustomActionType 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 (*CodePipeline) DeletePipeline ¶
func (c *CodePipeline) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error)
DeletePipeline API operation for AWS CodePipeline.
Deletes the specified pipeline.
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 CodePipeline's API operation DeletePipeline for usage and error information.
Returned Error Codes:
- ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipeline
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.DeletePipelineInput{ Name: aws.String("PipelineName"), // Required } resp, err := svc.DeletePipeline(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) DeletePipelineRequest ¶
func (c *CodePipeline) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput)
DeletePipelineRequest generates a "aws/request.Request" representing the client's request for the DeletePipeline operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeletePipeline 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 DeletePipeline 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 DeletePipelineRequest method. req, resp := client.DeletePipelineRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipeline
func (*CodePipeline) DeletePipelineWithContext ¶ added in v1.8.0
func (c *CodePipeline) DeletePipelineWithContext(ctx aws.Context, input *DeletePipelineInput, opts ...request.Option) (*DeletePipelineOutput, error)
DeletePipelineWithContext is the same as DeletePipeline with the addition of the ability to pass a context and additional request options.
See DeletePipeline 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 (*CodePipeline) DisableStageTransition ¶
func (c *CodePipeline) DisableStageTransition(input *DisableStageTransitionInput) (*DisableStageTransitionOutput, error)
DisableStageTransition API operation for AWS CodePipeline.
Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline.
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 CodePipeline's API operation DisableStageTransition for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodePipelineNotFoundException "PipelineNotFoundException" The specified pipeline was specified in an invalid format or cannot be found.
ErrCodeStageNotFoundException "StageNotFoundException" The specified stage was specified in an invalid format or cannot be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransition
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.DisableStageTransitionInput{ PipelineName: aws.String("PipelineName"), // Required Reason: aws.String("DisabledReason"), // Required StageName: aws.String("StageName"), // Required TransitionType: aws.String("StageTransitionType"), // Required } resp, err := svc.DisableStageTransition(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) DisableStageTransitionRequest ¶
func (c *CodePipeline) DisableStageTransitionRequest(input *DisableStageTransitionInput) (req *request.Request, output *DisableStageTransitionOutput)
DisableStageTransitionRequest generates a "aws/request.Request" representing the client's request for the DisableStageTransition operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DisableStageTransition 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 DisableStageTransition 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 DisableStageTransitionRequest method. req, resp := client.DisableStageTransitionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransition
func (*CodePipeline) DisableStageTransitionWithContext ¶ added in v1.8.0
func (c *CodePipeline) DisableStageTransitionWithContext(ctx aws.Context, input *DisableStageTransitionInput, opts ...request.Option) (*DisableStageTransitionOutput, error)
DisableStageTransitionWithContext is the same as DisableStageTransition with the addition of the ability to pass a context and additional request options.
See DisableStageTransition 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 (*CodePipeline) EnableStageTransition ¶
func (c *CodePipeline) EnableStageTransition(input *EnableStageTransitionInput) (*EnableStageTransitionOutput, error)
EnableStageTransition API operation for AWS CodePipeline.
Enables artifacts in a pipeline to transition to a stage in a pipeline.
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 CodePipeline's API operation EnableStageTransition for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodePipelineNotFoundException "PipelineNotFoundException" The specified pipeline was specified in an invalid format or cannot be found.
ErrCodeStageNotFoundException "StageNotFoundException" The specified stage was specified in an invalid format or cannot be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransition
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.EnableStageTransitionInput{ PipelineName: aws.String("PipelineName"), // Required StageName: aws.String("StageName"), // Required TransitionType: aws.String("StageTransitionType"), // Required } resp, err := svc.EnableStageTransition(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) EnableStageTransitionRequest ¶
func (c *CodePipeline) EnableStageTransitionRequest(input *EnableStageTransitionInput) (req *request.Request, output *EnableStageTransitionOutput)
EnableStageTransitionRequest generates a "aws/request.Request" representing the client's request for the EnableStageTransition operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See EnableStageTransition 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 EnableStageTransition 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 EnableStageTransitionRequest method. req, resp := client.EnableStageTransitionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransition
func (*CodePipeline) EnableStageTransitionWithContext ¶ added in v1.8.0
func (c *CodePipeline) EnableStageTransitionWithContext(ctx aws.Context, input *EnableStageTransitionInput, opts ...request.Option) (*EnableStageTransitionOutput, error)
EnableStageTransitionWithContext is the same as EnableStageTransition with the addition of the ability to pass a context and additional request options.
See EnableStageTransition 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 (*CodePipeline) GetJobDetails ¶
func (c *CodePipeline) GetJobDetails(input *GetJobDetailsInput) (*GetJobDetailsOutput, error)
GetJobDetails API operation for AWS CodePipeline.
Returns information about a job. Only used for custom actions.
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action.
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 CodePipeline's API operation GetJobDetails for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeJobNotFoundException "JobNotFoundException" The specified job was specified in an invalid format or cannot be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetails
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.GetJobDetailsInput{ JobId: aws.String("JobId"), // Required } resp, err := svc.GetJobDetails(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) GetJobDetailsRequest ¶
func (c *CodePipeline) GetJobDetailsRequest(input *GetJobDetailsInput) (req *request.Request, output *GetJobDetailsOutput)
GetJobDetailsRequest generates a "aws/request.Request" representing the client's request for the GetJobDetails operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See GetJobDetails 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 GetJobDetails 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 GetJobDetailsRequest method. req, resp := client.GetJobDetailsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetails
func (*CodePipeline) GetJobDetailsWithContext ¶ added in v1.8.0
func (c *CodePipeline) GetJobDetailsWithContext(ctx aws.Context, input *GetJobDetailsInput, opts ...request.Option) (*GetJobDetailsOutput, error)
GetJobDetailsWithContext is the same as GetJobDetails with the addition of the ability to pass a context and additional request options.
See GetJobDetails 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 (*CodePipeline) GetPipeline ¶
func (c *CodePipeline) GetPipeline(input *GetPipelineInput) (*GetPipelineOutput, error)
GetPipeline API operation for AWS CodePipeline.
Returns the metadata, structure, stages, and actions of a pipeline. Can be used to return the entire structure of a pipeline in JSON format, which can then be modified and used to update the pipeline structure with UpdatePipeline.
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 CodePipeline's API operation GetPipeline for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodePipelineNotFoundException "PipelineNotFoundException" The specified pipeline was specified in an invalid format or cannot be found.
ErrCodePipelineVersionNotFoundException "PipelineVersionNotFoundException" The specified pipeline version was specified in an invalid format or cannot be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipeline
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.GetPipelineInput{ Name: aws.String("PipelineName"), // Required Version: aws.Int64(1), } resp, err := svc.GetPipeline(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) GetPipelineExecution ¶ added in v1.4.5
func (c *CodePipeline) GetPipelineExecution(input *GetPipelineExecutionInput) (*GetPipelineExecutionOutput, error)
GetPipelineExecution API operation for AWS CodePipeline.
Returns information about an execution of a pipeline, including details about artifacts, the pipeline execution ID, and the name, version, and status of the pipeline.
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 CodePipeline's API operation GetPipelineExecution for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodePipelineNotFoundException "PipelineNotFoundException" The specified pipeline was specified in an invalid format or cannot be found.
ErrCodePipelineExecutionNotFoundException "PipelineExecutionNotFoundException" The pipeline execution was specified in an invalid format or cannot be found, or an execution ID does not belong to the specified pipeline.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecution
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.GetPipelineExecutionInput{ PipelineExecutionId: aws.String("PipelineExecutionId"), // Required PipelineName: aws.String("PipelineName"), // Required } resp, err := svc.GetPipelineExecution(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) GetPipelineExecutionRequest ¶ added in v1.4.5
func (c *CodePipeline) GetPipelineExecutionRequest(input *GetPipelineExecutionInput) (req *request.Request, output *GetPipelineExecutionOutput)
GetPipelineExecutionRequest generates a "aws/request.Request" representing the client's request for the GetPipelineExecution operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See GetPipelineExecution 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 GetPipelineExecution 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 GetPipelineExecutionRequest method. req, resp := client.GetPipelineExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecution
func (*CodePipeline) GetPipelineExecutionWithContext ¶ added in v1.8.0
func (c *CodePipeline) GetPipelineExecutionWithContext(ctx aws.Context, input *GetPipelineExecutionInput, opts ...request.Option) (*GetPipelineExecutionOutput, error)
GetPipelineExecutionWithContext is the same as GetPipelineExecution with the addition of the ability to pass a context and additional request options.
See GetPipelineExecution 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 (*CodePipeline) GetPipelineRequest ¶
func (c *CodePipeline) GetPipelineRequest(input *GetPipelineInput) (req *request.Request, output *GetPipelineOutput)
GetPipelineRequest generates a "aws/request.Request" representing the client's request for the GetPipeline operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See GetPipeline 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 GetPipeline 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 GetPipelineRequest method. req, resp := client.GetPipelineRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipeline
func (*CodePipeline) GetPipelineState ¶
func (c *CodePipeline) GetPipelineState(input *GetPipelineStateInput) (*GetPipelineStateOutput, error)
GetPipelineState API operation for AWS CodePipeline.
Returns information about the state of a pipeline, including the stages and actions.
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 CodePipeline's API operation GetPipelineState for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodePipelineNotFoundException "PipelineNotFoundException" The specified pipeline was specified in an invalid format or cannot be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineState
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.GetPipelineStateInput{ Name: aws.String("PipelineName"), // Required } resp, err := svc.GetPipelineState(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) GetPipelineStateRequest ¶
func (c *CodePipeline) GetPipelineStateRequest(input *GetPipelineStateInput) (req *request.Request, output *GetPipelineStateOutput)
GetPipelineStateRequest generates a "aws/request.Request" representing the client's request for the GetPipelineState operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See GetPipelineState 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 GetPipelineState 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 GetPipelineStateRequest method. req, resp := client.GetPipelineStateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineState
func (*CodePipeline) GetPipelineStateWithContext ¶ added in v1.8.0
func (c *CodePipeline) GetPipelineStateWithContext(ctx aws.Context, input *GetPipelineStateInput, opts ...request.Option) (*GetPipelineStateOutput, error)
GetPipelineStateWithContext is the same as GetPipelineState with the addition of the ability to pass a context and additional request options.
See GetPipelineState 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 (*CodePipeline) GetPipelineWithContext ¶ added in v1.8.0
func (c *CodePipeline) GetPipelineWithContext(ctx aws.Context, input *GetPipelineInput, opts ...request.Option) (*GetPipelineOutput, error)
GetPipelineWithContext is the same as GetPipeline with the addition of the ability to pass a context and additional request options.
See GetPipeline 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 (*CodePipeline) GetThirdPartyJobDetails ¶
func (c *CodePipeline) GetThirdPartyJobDetails(input *GetThirdPartyJobDetailsInput) (*GetThirdPartyJobDetailsOutput, error)
GetThirdPartyJobDetails API operation for AWS CodePipeline.
Requests the details of a job for a third party action. Only used for partner actions.
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action.
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 CodePipeline's API operation GetThirdPartyJobDetails for usage and error information.
Returned Error Codes:
ErrCodeJobNotFoundException "JobNotFoundException" The specified job was specified in an invalid format or cannot be found.
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeInvalidClientTokenException "InvalidClientTokenException" The client token was specified in an invalid format
ErrCodeInvalidJobException "InvalidJobException" The specified job was specified in an invalid format or cannot be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetails
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.GetThirdPartyJobDetailsInput{ ClientToken: aws.String("ClientToken"), // Required JobId: aws.String("ThirdPartyJobId"), // Required } resp, err := svc.GetThirdPartyJobDetails(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) GetThirdPartyJobDetailsRequest ¶
func (c *CodePipeline) GetThirdPartyJobDetailsRequest(input *GetThirdPartyJobDetailsInput) (req *request.Request, output *GetThirdPartyJobDetailsOutput)
GetThirdPartyJobDetailsRequest generates a "aws/request.Request" representing the client's request for the GetThirdPartyJobDetails operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See GetThirdPartyJobDetails 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 GetThirdPartyJobDetails 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 GetThirdPartyJobDetailsRequest method. req, resp := client.GetThirdPartyJobDetailsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetails
func (*CodePipeline) GetThirdPartyJobDetailsWithContext ¶ added in v1.8.0
func (c *CodePipeline) GetThirdPartyJobDetailsWithContext(ctx aws.Context, input *GetThirdPartyJobDetailsInput, opts ...request.Option) (*GetThirdPartyJobDetailsOutput, error)
GetThirdPartyJobDetailsWithContext is the same as GetThirdPartyJobDetails with the addition of the ability to pass a context and additional request options.
See GetThirdPartyJobDetails 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 (*CodePipeline) ListActionTypes ¶
func (c *CodePipeline) ListActionTypes(input *ListActionTypesInput) (*ListActionTypesOutput, error)
ListActionTypes API operation for AWS CodePipeline.
Gets a summary of all AWS CodePipeline action types associated with your account.
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 CodePipeline's API operation ListActionTypes for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token was specified in an invalid format. Make sure that the next token you provided is the token returned by a previous call.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypes
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.ListActionTypesInput{ ActionOwnerFilter: aws.String("ActionOwner"), NextToken: aws.String("NextToken"), } resp, err := svc.ListActionTypes(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) ListActionTypesRequest ¶
func (c *CodePipeline) ListActionTypesRequest(input *ListActionTypesInput) (req *request.Request, output *ListActionTypesOutput)
ListActionTypesRequest generates a "aws/request.Request" representing the client's request for the ListActionTypes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListActionTypes 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 ListActionTypes 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 ListActionTypesRequest method. req, resp := client.ListActionTypesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypes
func (*CodePipeline) ListActionTypesWithContext ¶ added in v1.8.0
func (c *CodePipeline) ListActionTypesWithContext(ctx aws.Context, input *ListActionTypesInput, opts ...request.Option) (*ListActionTypesOutput, error)
ListActionTypesWithContext is the same as ListActionTypes with the addition of the ability to pass a context and additional request options.
See ListActionTypes 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 (*CodePipeline) ListPipelines ¶
func (c *CodePipeline) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error)
ListPipelines API operation for AWS CodePipeline.
Gets a summary of all of the pipelines associated with your account.
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 CodePipeline's API operation ListPipelines for usage and error information.
Returned Error Codes:
- ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token was specified in an invalid format. Make sure that the next token you provided is the token returned by a previous call.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelines
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.ListPipelinesInput{ NextToken: aws.String("NextToken"), } resp, err := svc.ListPipelines(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) ListPipelinesRequest ¶
func (c *CodePipeline) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput)
ListPipelinesRequest generates a "aws/request.Request" representing the client's request for the ListPipelines operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListPipelines 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 ListPipelines 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 ListPipelinesRequest method. req, resp := client.ListPipelinesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelines
func (*CodePipeline) ListPipelinesWithContext ¶ added in v1.8.0
func (c *CodePipeline) ListPipelinesWithContext(ctx aws.Context, input *ListPipelinesInput, opts ...request.Option) (*ListPipelinesOutput, error)
ListPipelinesWithContext is the same as ListPipelines with the addition of the ability to pass a context and additional request options.
See ListPipelines 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 (*CodePipeline) PollForJobs ¶
func (c *CodePipeline) PollForJobs(input *PollForJobsInput) (*PollForJobsOutput, error)
PollForJobs API operation for AWS CodePipeline.
Returns information about any jobs for AWS CodePipeline to act upon.
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action.
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 CodePipeline's API operation PollForJobs for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeActionTypeNotFoundException "ActionTypeNotFoundException" The specified action type cannot be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobs
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.PollForJobsInput{ ActionTypeId: &codepipeline.ActionTypeId{ // Required Category: aws.String("ActionCategory"), // Required Owner: aws.String("ActionOwner"), // Required Provider: aws.String("ActionProvider"), // Required Version: aws.String("Version"), // Required }, MaxBatchSize: aws.Int64(1), QueryParam: map[string]*string{ "Key": aws.String("ActionConfigurationQueryableValue"), // Required // More values... }, } resp, err := svc.PollForJobs(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) PollForJobsRequest ¶
func (c *CodePipeline) PollForJobsRequest(input *PollForJobsInput) (req *request.Request, output *PollForJobsOutput)
PollForJobsRequest generates a "aws/request.Request" representing the client's request for the PollForJobs operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See PollForJobs 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 PollForJobs 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 PollForJobsRequest method. req, resp := client.PollForJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobs
func (*CodePipeline) PollForJobsWithContext ¶ added in v1.8.0
func (c *CodePipeline) PollForJobsWithContext(ctx aws.Context, input *PollForJobsInput, opts ...request.Option) (*PollForJobsOutput, error)
PollForJobsWithContext is the same as PollForJobs with the addition of the ability to pass a context and additional request options.
See PollForJobs 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 (*CodePipeline) PollForThirdPartyJobs ¶
func (c *CodePipeline) PollForThirdPartyJobs(input *PollForThirdPartyJobsInput) (*PollForThirdPartyJobsOutput, error)
PollForThirdPartyJobs API operation for AWS CodePipeline.
Determines whether there are any third party jobs for a job worker to act on. Only used for partner actions.
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts.
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 CodePipeline's API operation PollForThirdPartyJobs for usage and error information.
Returned Error Codes:
ErrCodeActionTypeNotFoundException "ActionTypeNotFoundException" The specified action type cannot be found.
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobs
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.PollForThirdPartyJobsInput{ ActionTypeId: &codepipeline.ActionTypeId{ // Required Category: aws.String("ActionCategory"), // Required Owner: aws.String("ActionOwner"), // Required Provider: aws.String("ActionProvider"), // Required Version: aws.String("Version"), // Required }, MaxBatchSize: aws.Int64(1), } resp, err := svc.PollForThirdPartyJobs(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) PollForThirdPartyJobsRequest ¶
func (c *CodePipeline) PollForThirdPartyJobsRequest(input *PollForThirdPartyJobsInput) (req *request.Request, output *PollForThirdPartyJobsOutput)
PollForThirdPartyJobsRequest generates a "aws/request.Request" representing the client's request for the PollForThirdPartyJobs operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See PollForThirdPartyJobs 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 PollForThirdPartyJobs 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 PollForThirdPartyJobsRequest method. req, resp := client.PollForThirdPartyJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobs
func (*CodePipeline) PollForThirdPartyJobsWithContext ¶ added in v1.8.0
func (c *CodePipeline) PollForThirdPartyJobsWithContext(ctx aws.Context, input *PollForThirdPartyJobsInput, opts ...request.Option) (*PollForThirdPartyJobsOutput, error)
PollForThirdPartyJobsWithContext is the same as PollForThirdPartyJobs with the addition of the ability to pass a context and additional request options.
See PollForThirdPartyJobs 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 (*CodePipeline) PutActionRevision ¶
func (c *CodePipeline) PutActionRevision(input *PutActionRevisionInput) (*PutActionRevisionOutput, error)
PutActionRevision API operation for AWS CodePipeline.
Provides information to AWS CodePipeline about new revisions to a source.
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 CodePipeline's API operation PutActionRevision for usage and error information.
Returned Error Codes:
ErrCodePipelineNotFoundException "PipelineNotFoundException" The specified pipeline was specified in an invalid format or cannot be found.
ErrCodeStageNotFoundException "StageNotFoundException" The specified stage was specified in an invalid format or cannot be found.
ErrCodeActionNotFoundException "ActionNotFoundException" The specified action cannot be found.
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision
Example ¶
package main import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.PutActionRevisionInput{ ActionName: aws.String("ActionName"), // Required ActionRevision: &codepipeline.ActionRevision{ // Required Created: aws.Time(time.Now()), // Required RevisionChangeId: aws.String("RevisionChangeIdentifier"), // Required RevisionId: aws.String("Revision"), // Required }, PipelineName: aws.String("PipelineName"), // Required StageName: aws.String("StageName"), // Required } resp, err := svc.PutActionRevision(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) PutActionRevisionRequest ¶
func (c *CodePipeline) PutActionRevisionRequest(input *PutActionRevisionInput) (req *request.Request, output *PutActionRevisionOutput)
PutActionRevisionRequest generates a "aws/request.Request" representing the client's request for the PutActionRevision operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See PutActionRevision 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 PutActionRevision 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 PutActionRevisionRequest method. req, resp := client.PutActionRevisionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision
func (*CodePipeline) PutActionRevisionWithContext ¶ added in v1.8.0
func (c *CodePipeline) PutActionRevisionWithContext(ctx aws.Context, input *PutActionRevisionInput, opts ...request.Option) (*PutActionRevisionOutput, error)
PutActionRevisionWithContext is the same as PutActionRevision with the addition of the ability to pass a context and additional request options.
See PutActionRevision 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 (*CodePipeline) PutApprovalResult ¶ added in v1.2.3
func (c *CodePipeline) PutApprovalResult(input *PutApprovalResultInput) (*PutApprovalResultOutput, error)
PutApprovalResult API operation for AWS CodePipeline.
Provides the response to a manual approval request to AWS CodePipeline. Valid responses include Approved and Rejected.
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 CodePipeline's API operation PutApprovalResult for usage and error information.
Returned Error Codes:
ErrCodeInvalidApprovalTokenException "InvalidApprovalTokenException" The approval request already received a response or has expired.
ErrCodeApprovalAlreadyCompletedException "ApprovalAlreadyCompletedException" The approval action has already been approved or rejected.
ErrCodePipelineNotFoundException "PipelineNotFoundException" The specified pipeline was specified in an invalid format or cannot be found.
ErrCodeStageNotFoundException "StageNotFoundException" The specified stage was specified in an invalid format or cannot be found.
ErrCodeActionNotFoundException "ActionNotFoundException" The specified action cannot be found.
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResult
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.PutApprovalResultInput{ ActionName: aws.String("ActionName"), // Required PipelineName: aws.String("PipelineName"), // Required Result: &codepipeline.ApprovalResult{ // Required Status: aws.String("ApprovalStatus"), // Required Summary: aws.String("ApprovalSummary"), // Required }, StageName: aws.String("StageName"), // Required Token: aws.String("ApprovalToken"), // Required } resp, err := svc.PutApprovalResult(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) PutApprovalResultRequest ¶ added in v1.2.3
func (c *CodePipeline) PutApprovalResultRequest(input *PutApprovalResultInput) (req *request.Request, output *PutApprovalResultOutput)
PutApprovalResultRequest generates a "aws/request.Request" representing the client's request for the PutApprovalResult operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See PutApprovalResult 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 PutApprovalResult 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 PutApprovalResultRequest method. req, resp := client.PutApprovalResultRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResult
func (*CodePipeline) PutApprovalResultWithContext ¶ added in v1.8.0
func (c *CodePipeline) PutApprovalResultWithContext(ctx aws.Context, input *PutApprovalResultInput, opts ...request.Option) (*PutApprovalResultOutput, error)
PutApprovalResultWithContext is the same as PutApprovalResult with the addition of the ability to pass a context and additional request options.
See PutApprovalResult 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 (*CodePipeline) PutJobFailureResult ¶
func (c *CodePipeline) PutJobFailureResult(input *PutJobFailureResultInput) (*PutJobFailureResultOutput, error)
PutJobFailureResult API operation for AWS CodePipeline.
Represents the failure of a job as returned to the pipeline by a job worker. Only used for custom actions.
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 CodePipeline's API operation PutJobFailureResult for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeJobNotFoundException "JobNotFoundException" The specified job was specified in an invalid format or cannot be found.
ErrCodeInvalidJobStateException "InvalidJobStateException" The specified job state was specified in an invalid format.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResult
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.PutJobFailureResultInput{ FailureDetails: &codepipeline.FailureDetails{ // Required Message: aws.String("Message"), // Required Type: aws.String("FailureType"), // Required ExternalExecutionId: aws.String("ExecutionId"), }, JobId: aws.String("JobId"), // Required } resp, err := svc.PutJobFailureResult(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) PutJobFailureResultRequest ¶
func (c *CodePipeline) PutJobFailureResultRequest(input *PutJobFailureResultInput) (req *request.Request, output *PutJobFailureResultOutput)
PutJobFailureResultRequest generates a "aws/request.Request" representing the client's request for the PutJobFailureResult operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See PutJobFailureResult 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 PutJobFailureResult 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 PutJobFailureResultRequest method. req, resp := client.PutJobFailureResultRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResult
func (*CodePipeline) PutJobFailureResultWithContext ¶ added in v1.8.0
func (c *CodePipeline) PutJobFailureResultWithContext(ctx aws.Context, input *PutJobFailureResultInput, opts ...request.Option) (*PutJobFailureResultOutput, error)
PutJobFailureResultWithContext is the same as PutJobFailureResult with the addition of the ability to pass a context and additional request options.
See PutJobFailureResult 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 (*CodePipeline) PutJobSuccessResult ¶
func (c *CodePipeline) PutJobSuccessResult(input *PutJobSuccessResultInput) (*PutJobSuccessResultOutput, error)
PutJobSuccessResult API operation for AWS CodePipeline.
Represents the success of a job as returned to the pipeline by a job worker. Only used for custom actions.
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 CodePipeline's API operation PutJobSuccessResult for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeJobNotFoundException "JobNotFoundException" The specified job was specified in an invalid format or cannot be found.
ErrCodeInvalidJobStateException "InvalidJobStateException" The specified job state was specified in an invalid format.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResult
Example ¶
package main import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.PutJobSuccessResultInput{ JobId: aws.String("JobId"), // Required ContinuationToken: aws.String("ContinuationToken"), CurrentRevision: &codepipeline.CurrentRevision{ ChangeIdentifier: aws.String("RevisionChangeIdentifier"), // Required Revision: aws.String("Revision"), // Required Created: aws.Time(time.Now()), RevisionSummary: aws.String("RevisionSummary"), }, ExecutionDetails: &codepipeline.ExecutionDetails{ ExternalExecutionId: aws.String("ExecutionId"), PercentComplete: aws.Int64(1), Summary: aws.String("ExecutionSummary"), }, } resp, err := svc.PutJobSuccessResult(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) PutJobSuccessResultRequest ¶
func (c *CodePipeline) PutJobSuccessResultRequest(input *PutJobSuccessResultInput) (req *request.Request, output *PutJobSuccessResultOutput)
PutJobSuccessResultRequest generates a "aws/request.Request" representing the client's request for the PutJobSuccessResult operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See PutJobSuccessResult 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 PutJobSuccessResult 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 PutJobSuccessResultRequest method. req, resp := client.PutJobSuccessResultRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResult
func (*CodePipeline) PutJobSuccessResultWithContext ¶ added in v1.8.0
func (c *CodePipeline) PutJobSuccessResultWithContext(ctx aws.Context, input *PutJobSuccessResultInput, opts ...request.Option) (*PutJobSuccessResultOutput, error)
PutJobSuccessResultWithContext is the same as PutJobSuccessResult with the addition of the ability to pass a context and additional request options.
See PutJobSuccessResult 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 (*CodePipeline) PutThirdPartyJobFailureResult ¶
func (c *CodePipeline) PutThirdPartyJobFailureResult(input *PutThirdPartyJobFailureResultInput) (*PutThirdPartyJobFailureResultOutput, error)
PutThirdPartyJobFailureResult API operation for AWS CodePipeline.
Represents the failure of a third party job as returned to the pipeline by a job worker. Only used for partner actions.
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 CodePipeline's API operation PutThirdPartyJobFailureResult for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeJobNotFoundException "JobNotFoundException" The specified job was specified in an invalid format or cannot be found.
ErrCodeInvalidJobStateException "InvalidJobStateException" The specified job state was specified in an invalid format.
ErrCodeInvalidClientTokenException "InvalidClientTokenException" The client token was specified in an invalid format
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResult
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.PutThirdPartyJobFailureResultInput{ ClientToken: aws.String("ClientToken"), // Required FailureDetails: &codepipeline.FailureDetails{ // Required Message: aws.String("Message"), // Required Type: aws.String("FailureType"), // Required ExternalExecutionId: aws.String("ExecutionId"), }, JobId: aws.String("ThirdPartyJobId"), // Required } resp, err := svc.PutThirdPartyJobFailureResult(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) PutThirdPartyJobFailureResultRequest ¶
func (c *CodePipeline) PutThirdPartyJobFailureResultRequest(input *PutThirdPartyJobFailureResultInput) (req *request.Request, output *PutThirdPartyJobFailureResultOutput)
PutThirdPartyJobFailureResultRequest generates a "aws/request.Request" representing the client's request for the PutThirdPartyJobFailureResult operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See PutThirdPartyJobFailureResult 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 PutThirdPartyJobFailureResult 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 PutThirdPartyJobFailureResultRequest method. req, resp := client.PutThirdPartyJobFailureResultRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResult
func (*CodePipeline) PutThirdPartyJobFailureResultWithContext ¶ added in v1.8.0
func (c *CodePipeline) PutThirdPartyJobFailureResultWithContext(ctx aws.Context, input *PutThirdPartyJobFailureResultInput, opts ...request.Option) (*PutThirdPartyJobFailureResultOutput, error)
PutThirdPartyJobFailureResultWithContext is the same as PutThirdPartyJobFailureResult with the addition of the ability to pass a context and additional request options.
See PutThirdPartyJobFailureResult 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 (*CodePipeline) PutThirdPartyJobSuccessResult ¶
func (c *CodePipeline) PutThirdPartyJobSuccessResult(input *PutThirdPartyJobSuccessResultInput) (*PutThirdPartyJobSuccessResultOutput, error)
PutThirdPartyJobSuccessResult API operation for AWS CodePipeline.
Represents the success of a third party job as returned to the pipeline by a job worker. Only used for partner actions.
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 CodePipeline's API operation PutThirdPartyJobSuccessResult for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeJobNotFoundException "JobNotFoundException" The specified job was specified in an invalid format or cannot be found.
ErrCodeInvalidJobStateException "InvalidJobStateException" The specified job state was specified in an invalid format.
ErrCodeInvalidClientTokenException "InvalidClientTokenException" The client token was specified in an invalid format
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult
Example ¶
package main import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.PutThirdPartyJobSuccessResultInput{ ClientToken: aws.String("ClientToken"), // Required JobId: aws.String("ThirdPartyJobId"), // Required ContinuationToken: aws.String("ContinuationToken"), CurrentRevision: &codepipeline.CurrentRevision{ ChangeIdentifier: aws.String("RevisionChangeIdentifier"), // Required Revision: aws.String("Revision"), // Required Created: aws.Time(time.Now()), RevisionSummary: aws.String("RevisionSummary"), }, ExecutionDetails: &codepipeline.ExecutionDetails{ ExternalExecutionId: aws.String("ExecutionId"), PercentComplete: aws.Int64(1), Summary: aws.String("ExecutionSummary"), }, } resp, err := svc.PutThirdPartyJobSuccessResult(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) PutThirdPartyJobSuccessResultRequest ¶
func (c *CodePipeline) PutThirdPartyJobSuccessResultRequest(input *PutThirdPartyJobSuccessResultInput) (req *request.Request, output *PutThirdPartyJobSuccessResultOutput)
PutThirdPartyJobSuccessResultRequest generates a "aws/request.Request" representing the client's request for the PutThirdPartyJobSuccessResult operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See PutThirdPartyJobSuccessResult 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 PutThirdPartyJobSuccessResult 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 PutThirdPartyJobSuccessResultRequest method. req, resp := client.PutThirdPartyJobSuccessResultRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult
func (*CodePipeline) PutThirdPartyJobSuccessResultWithContext ¶ added in v1.8.0
func (c *CodePipeline) PutThirdPartyJobSuccessResultWithContext(ctx aws.Context, input *PutThirdPartyJobSuccessResultInput, opts ...request.Option) (*PutThirdPartyJobSuccessResultOutput, error)
PutThirdPartyJobSuccessResultWithContext is the same as PutThirdPartyJobSuccessResult with the addition of the ability to pass a context and additional request options.
See PutThirdPartyJobSuccessResult 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 (*CodePipeline) RetryStageExecution ¶ added in v1.1.36
func (c *CodePipeline) RetryStageExecution(input *RetryStageExecutionInput) (*RetryStageExecutionOutput, error)
RetryStageExecution API operation for AWS CodePipeline.
Resumes the pipeline execution by retrying the last failed actions in a stage.
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 CodePipeline's API operation RetryStageExecution for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodePipelineNotFoundException "PipelineNotFoundException" The specified pipeline was specified in an invalid format or cannot be found.
ErrCodeStageNotFoundException "StageNotFoundException" The specified stage was specified in an invalid format or cannot be found.
ErrCodeStageNotRetryableException "StageNotRetryableException" The specified stage can't be retried because the pipeline structure or stage state changed after the stage was not completed; the stage contains no failed actions; one or more actions are still in progress; or another retry attempt is already in progress.
ErrCodeNotLatestPipelineExecutionException "NotLatestPipelineExecutionException" The stage has failed in a later run of the pipeline and the pipelineExecutionId associated with the request is out of date.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecution
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.RetryStageExecutionInput{ PipelineExecutionId: aws.String("PipelineExecutionId"), // Required PipelineName: aws.String("PipelineName"), // Required RetryMode: aws.String("StageRetryMode"), // Required StageName: aws.String("StageName"), // Required } resp, err := svc.RetryStageExecution(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) RetryStageExecutionRequest ¶ added in v1.1.36
func (c *CodePipeline) RetryStageExecutionRequest(input *RetryStageExecutionInput) (req *request.Request, output *RetryStageExecutionOutput)
RetryStageExecutionRequest generates a "aws/request.Request" representing the client's request for the RetryStageExecution operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RetryStageExecution 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 RetryStageExecution 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 RetryStageExecutionRequest method. req, resp := client.RetryStageExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecution
func (*CodePipeline) RetryStageExecutionWithContext ¶ added in v1.8.0
func (c *CodePipeline) RetryStageExecutionWithContext(ctx aws.Context, input *RetryStageExecutionInput, opts ...request.Option) (*RetryStageExecutionOutput, error)
RetryStageExecutionWithContext is the same as RetryStageExecution with the addition of the ability to pass a context and additional request options.
See RetryStageExecution 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 (*CodePipeline) StartPipelineExecution ¶
func (c *CodePipeline) StartPipelineExecution(input *StartPipelineExecutionInput) (*StartPipelineExecutionOutput, error)
StartPipelineExecution API operation for AWS CodePipeline.
Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location specified as part of the pipeline.
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 CodePipeline's API operation StartPipelineExecution for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodePipelineNotFoundException "PipelineNotFoundException" The specified pipeline was specified in an invalid format or cannot be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecution
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.StartPipelineExecutionInput{ Name: aws.String("PipelineName"), // Required } resp, err := svc.StartPipelineExecution(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) StartPipelineExecutionRequest ¶
func (c *CodePipeline) StartPipelineExecutionRequest(input *StartPipelineExecutionInput) (req *request.Request, output *StartPipelineExecutionOutput)
StartPipelineExecutionRequest generates a "aws/request.Request" representing the client's request for the StartPipelineExecution operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See StartPipelineExecution 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 StartPipelineExecution 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 StartPipelineExecutionRequest method. req, resp := client.StartPipelineExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecution
func (*CodePipeline) StartPipelineExecutionWithContext ¶ added in v1.8.0
func (c *CodePipeline) StartPipelineExecutionWithContext(ctx aws.Context, input *StartPipelineExecutionInput, opts ...request.Option) (*StartPipelineExecutionOutput, error)
StartPipelineExecutionWithContext is the same as StartPipelineExecution with the addition of the ability to pass a context and additional request options.
See StartPipelineExecution 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 (*CodePipeline) UpdatePipeline ¶
func (c *CodePipeline) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error)
UpdatePipeline API operation for AWS CodePipeline.
Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure in conjunction with UpdatePipeline to provide the full structure of the pipeline. Updating the pipeline increases the version number of the pipeline by 1.
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 CodePipeline's API operation UpdatePipeline for usage and error information.
Returned Error Codes:
ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.
ErrCodeInvalidStageDeclarationException "InvalidStageDeclarationException" The specified stage declaration was specified in an invalid format.
ErrCodeInvalidActionDeclarationException "InvalidActionDeclarationException" The specified action declaration was specified in an invalid format.
ErrCodeInvalidBlockerDeclarationException "InvalidBlockerDeclarationException" Reserved for future use.
ErrCodeInvalidStructureException "InvalidStructureException" The specified structure was specified in an invalid format.
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/codepipeline" ) func main() { sess := session.Must(session.NewSession()) svc := codepipeline.New(sess) params := &codepipeline.UpdatePipelineInput{ Pipeline: &codepipeline.PipelineDeclaration{ // Required ArtifactStore: &codepipeline.ArtifactStore{ // Required Location: aws.String("ArtifactStoreLocation"), // Required Type: aws.String("ArtifactStoreType"), // Required EncryptionKey: &codepipeline.EncryptionKey{ Id: aws.String("EncryptionKeyId"), // Required Type: aws.String("EncryptionKeyType"), // Required }, }, Name: aws.String("PipelineName"), // Required RoleArn: aws.String("RoleArn"), // Required Stages: []*codepipeline.StageDeclaration{ // Required { // Required Actions: []*codepipeline.ActionDeclaration{ // Required { // Required ActionTypeId: &codepipeline.ActionTypeId{ // Required Category: aws.String("ActionCategory"), // Required Owner: aws.String("ActionOwner"), // Required Provider: aws.String("ActionProvider"), // Required Version: aws.String("Version"), // Required }, Name: aws.String("ActionName"), // Required Configuration: map[string]*string{ "Key": aws.String("ActionConfigurationValue"), // Required // More values... }, InputArtifacts: []*codepipeline.InputArtifact{ { // Required Name: aws.String("ArtifactName"), // Required }, // More values... }, OutputArtifacts: []*codepipeline.OutputArtifact{ { // Required Name: aws.String("ArtifactName"), // Required }, // More values... }, RoleArn: aws.String("RoleArn"), RunOrder: aws.Int64(1), }, // More values... }, Name: aws.String("StageName"), // Required Blockers: []*codepipeline.BlockerDeclaration{ { // Required Name: aws.String("BlockerName"), // Required Type: aws.String("BlockerType"), // Required }, // More values... }, }, // More values... }, Version: aws.Int64(1), }, } resp, err := svc.UpdatePipeline(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*CodePipeline) UpdatePipelineRequest ¶
func (c *CodePipeline) UpdatePipelineRequest(input *UpdatePipelineInput) (req *request.Request, output *UpdatePipelineOutput)
UpdatePipelineRequest generates a "aws/request.Request" representing the client's request for the UpdatePipeline operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See UpdatePipeline 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 UpdatePipeline 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 UpdatePipelineRequest method. req, resp := client.UpdatePipelineRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline
func (*CodePipeline) UpdatePipelineWithContext ¶ added in v1.8.0
func (c *CodePipeline) UpdatePipelineWithContext(ctx aws.Context, input *UpdatePipelineInput, opts ...request.Option) (*UpdatePipelineOutput, error)
UpdatePipelineWithContext is the same as UpdatePipeline with the addition of the ability to pass a context and additional request options.
See UpdatePipeline 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 CreateCustomActionTypeInput ¶
type CreateCustomActionTypeInput struct { // The category of the custom action, such as a build action or a test action. // // Although Source and Approval are listed as valid values, they are not currently // functional. These values are reserved for future use. // // Category is a required field Category *string `locationName:"category" type:"string" required:"true" enum:"ActionCategory"` // The configuration properties for the custom action. // // You can refer to a name in the configuration properties of the custom action // within the URL templates by following the format of {Config:name}, as long // as the configuration property is both required and not secret. For more information, // see Create a Custom Action for a Pipeline (http://docs.aws.amazon.com/codepipeline/latest/userguide/how-to-create-custom-action.html). ConfigurationProperties []*ActionConfigurationProperty `locationName:"configurationProperties" type:"list"` // Returns information about the details of an artifact. // // InputArtifactDetails is a required field InputArtifactDetails *ArtifactDetails `locationName:"inputArtifactDetails" type:"structure" required:"true"` // Returns information about the details of an artifact. // // OutputArtifactDetails is a required field OutputArtifactDetails *ArtifactDetails `locationName:"outputArtifactDetails" type:"structure" required:"true"` // The provider of the service used in the custom action, such as AWS CodeDeploy. // // Provider is a required field Provider *string `locationName:"provider" min:"1" type:"string" required:"true"` // Returns information about the settings for an action type. Settings *ActionTypeSettings `locationName:"settings" type:"structure"` // The version identifier of the custom action. // // Version is a required field Version *string `locationName:"version" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a create custom action operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionTypeInput
func (CreateCustomActionTypeInput) GoString ¶
func (s CreateCustomActionTypeInput) GoString() string
GoString returns the string representation
func (*CreateCustomActionTypeInput) SetCategory ¶ added in v1.5.0
func (s *CreateCustomActionTypeInput) SetCategory(v string) *CreateCustomActionTypeInput
SetCategory sets the Category field's value.
func (*CreateCustomActionTypeInput) SetConfigurationProperties ¶ added in v1.5.0
func (s *CreateCustomActionTypeInput) SetConfigurationProperties(v []*ActionConfigurationProperty) *CreateCustomActionTypeInput
SetConfigurationProperties sets the ConfigurationProperties field's value.
func (*CreateCustomActionTypeInput) SetInputArtifactDetails ¶ added in v1.5.0
func (s *CreateCustomActionTypeInput) SetInputArtifactDetails(v *ArtifactDetails) *CreateCustomActionTypeInput
SetInputArtifactDetails sets the InputArtifactDetails field's value.
func (*CreateCustomActionTypeInput) SetOutputArtifactDetails ¶ added in v1.5.0
func (s *CreateCustomActionTypeInput) SetOutputArtifactDetails(v *ArtifactDetails) *CreateCustomActionTypeInput
SetOutputArtifactDetails sets the OutputArtifactDetails field's value.
func (*CreateCustomActionTypeInput) SetProvider ¶ added in v1.5.0
func (s *CreateCustomActionTypeInput) SetProvider(v string) *CreateCustomActionTypeInput
SetProvider sets the Provider field's value.
func (*CreateCustomActionTypeInput) SetSettings ¶ added in v1.5.0
func (s *CreateCustomActionTypeInput) SetSettings(v *ActionTypeSettings) *CreateCustomActionTypeInput
SetSettings sets the Settings field's value.
func (*CreateCustomActionTypeInput) SetVersion ¶ added in v1.5.0
func (s *CreateCustomActionTypeInput) SetVersion(v string) *CreateCustomActionTypeInput
SetVersion sets the Version field's value.
func (CreateCustomActionTypeInput) String ¶
func (s CreateCustomActionTypeInput) String() string
String returns the string representation
func (*CreateCustomActionTypeInput) Validate ¶ added in v1.1.21
func (s *CreateCustomActionTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCustomActionTypeOutput ¶
type CreateCustomActionTypeOutput struct { // Returns information about the details of an action type. // // ActionType is a required field ActionType *ActionType `locationName:"actionType" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the output of a create custom action operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionTypeOutput
func (CreateCustomActionTypeOutput) GoString ¶
func (s CreateCustomActionTypeOutput) GoString() string
GoString returns the string representation
func (*CreateCustomActionTypeOutput) SetActionType ¶ added in v1.5.0
func (s *CreateCustomActionTypeOutput) SetActionType(v *ActionType) *CreateCustomActionTypeOutput
SetActionType sets the ActionType field's value.
func (CreateCustomActionTypeOutput) String ¶
func (s CreateCustomActionTypeOutput) String() string
String returns the string representation
type CreatePipelineInput ¶
type CreatePipelineInput struct { // Represents the structure of actions and stages to be performed in the pipeline. // // Pipeline is a required field Pipeline *PipelineDeclaration `locationName:"pipeline" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the input of a create pipeline action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipelineInput
func (CreatePipelineInput) GoString ¶
func (s CreatePipelineInput) GoString() string
GoString returns the string representation
func (*CreatePipelineInput) SetPipeline ¶ added in v1.5.0
func (s *CreatePipelineInput) SetPipeline(v *PipelineDeclaration) *CreatePipelineInput
SetPipeline sets the Pipeline field's value.
func (CreatePipelineInput) String ¶
func (s CreatePipelineInput) String() string
String returns the string representation
func (*CreatePipelineInput) Validate ¶ added in v1.1.21
func (s *CreatePipelineInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreatePipelineOutput ¶
type CreatePipelineOutput struct { // Represents the structure of actions and stages to be performed in the pipeline. Pipeline *PipelineDeclaration `locationName:"pipeline" type:"structure"` // contains filtered or unexported fields }
Represents the output of a create pipeline action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipelineOutput
func (CreatePipelineOutput) GoString ¶
func (s CreatePipelineOutput) GoString() string
GoString returns the string representation
func (*CreatePipelineOutput) SetPipeline ¶ added in v1.5.0
func (s *CreatePipelineOutput) SetPipeline(v *PipelineDeclaration) *CreatePipelineOutput
SetPipeline sets the Pipeline field's value.
func (CreatePipelineOutput) String ¶
func (s CreatePipelineOutput) String() string
String returns the string representation
type CurrentRevision ¶
type CurrentRevision struct { // The change identifier for the current revision. // // ChangeIdentifier is a required field ChangeIdentifier *string `locationName:"changeIdentifier" min:"1" type:"string" required:"true"` // The date and time when the most recent revision of the artifact was created, // in timestamp format. Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"` // The revision ID of the current version of an artifact. // // Revision is a required field Revision *string `locationName:"revision" min:"1" type:"string" required:"true"` // The summary of the most recent revision of the artifact. RevisionSummary *string `locationName:"revisionSummary" min:"1" type:"string"` // contains filtered or unexported fields }
Represents information about a current revision. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CurrentRevision
func (CurrentRevision) GoString ¶
func (s CurrentRevision) GoString() string
GoString returns the string representation
func (*CurrentRevision) SetChangeIdentifier ¶ added in v1.5.0
func (s *CurrentRevision) SetChangeIdentifier(v string) *CurrentRevision
SetChangeIdentifier sets the ChangeIdentifier field's value.
func (*CurrentRevision) SetCreated ¶ added in v1.5.0
func (s *CurrentRevision) SetCreated(v time.Time) *CurrentRevision
SetCreated sets the Created field's value.
func (*CurrentRevision) SetRevision ¶ added in v1.5.0
func (s *CurrentRevision) SetRevision(v string) *CurrentRevision
SetRevision sets the Revision field's value.
func (*CurrentRevision) SetRevisionSummary ¶ added in v1.5.0
func (s *CurrentRevision) SetRevisionSummary(v string) *CurrentRevision
SetRevisionSummary sets the RevisionSummary field's value.
func (CurrentRevision) String ¶
func (s CurrentRevision) String() string
String returns the string representation
func (*CurrentRevision) Validate ¶ added in v1.1.21
func (s *CurrentRevision) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCustomActionTypeInput ¶
type DeleteCustomActionTypeInput struct { // The category of the custom action that you want to delete, such as source // or deploy. // // Category is a required field Category *string `locationName:"category" type:"string" required:"true" enum:"ActionCategory"` // The provider of the service used in the custom action, such as AWS CodeDeploy. // // Provider is a required field Provider *string `locationName:"provider" min:"1" type:"string" required:"true"` // The version of the custom action to delete. // // Version is a required field Version *string `locationName:"version" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a delete custom action operation. The custom action will be marked as deleted. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionTypeInput
func (DeleteCustomActionTypeInput) GoString ¶
func (s DeleteCustomActionTypeInput) GoString() string
GoString returns the string representation
func (*DeleteCustomActionTypeInput) SetCategory ¶ added in v1.5.0
func (s *DeleteCustomActionTypeInput) SetCategory(v string) *DeleteCustomActionTypeInput
SetCategory sets the Category field's value.
func (*DeleteCustomActionTypeInput) SetProvider ¶ added in v1.5.0
func (s *DeleteCustomActionTypeInput) SetProvider(v string) *DeleteCustomActionTypeInput
SetProvider sets the Provider field's value.
func (*DeleteCustomActionTypeInput) SetVersion ¶ added in v1.5.0
func (s *DeleteCustomActionTypeInput) SetVersion(v string) *DeleteCustomActionTypeInput
SetVersion sets the Version field's value.
func (DeleteCustomActionTypeInput) String ¶
func (s DeleteCustomActionTypeInput) String() string
String returns the string representation
func (*DeleteCustomActionTypeInput) Validate ¶ added in v1.1.21
func (s *DeleteCustomActionTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCustomActionTypeOutput ¶
type DeleteCustomActionTypeOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionTypeOutput
func (DeleteCustomActionTypeOutput) GoString ¶
func (s DeleteCustomActionTypeOutput) GoString() string
GoString returns the string representation
func (DeleteCustomActionTypeOutput) String ¶
func (s DeleteCustomActionTypeOutput) String() string
String returns the string representation
type DeletePipelineInput ¶
type DeletePipelineInput struct { // The name of the pipeline to be deleted. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a delete pipeline action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipelineInput
func (DeletePipelineInput) GoString ¶
func (s DeletePipelineInput) GoString() string
GoString returns the string representation
func (*DeletePipelineInput) SetName ¶ added in v1.5.0
func (s *DeletePipelineInput) SetName(v string) *DeletePipelineInput
SetName sets the Name field's value.
func (DeletePipelineInput) String ¶
func (s DeletePipelineInput) String() string
String returns the string representation
func (*DeletePipelineInput) Validate ¶ added in v1.1.21
func (s *DeletePipelineInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeletePipelineOutput ¶
type DeletePipelineOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipelineOutput
func (DeletePipelineOutput) GoString ¶
func (s DeletePipelineOutput) GoString() string
GoString returns the string representation
func (DeletePipelineOutput) String ¶
func (s DeletePipelineOutput) String() string
String returns the string representation
type DisableStageTransitionInput ¶
type DisableStageTransitionInput struct { // The name of the pipeline in which you want to disable the flow of artifacts // from one stage to another. // // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` // The reason given to the user why a stage is disabled, such as waiting for // manual approval or manual tests. This message is displayed in the pipeline // console UI. // // Reason is a required field Reason *string `locationName:"reason" min:"1" type:"string" required:"true"` // The name of the stage where you want to disable the inbound or outbound transition // of artifacts. // // StageName is a required field StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` // Specifies whether artifacts will be prevented from transitioning into the // stage and being processed by the actions in that stage (inbound), or prevented // from transitioning from the stage after they have been processed by the actions // in that stage (outbound). // // TransitionType is a required field TransitionType *string `locationName:"transitionType" type:"string" required:"true" enum:"StageTransitionType"` // contains filtered or unexported fields }
Represents the input of a disable stage transition input action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransitionInput
func (DisableStageTransitionInput) GoString ¶
func (s DisableStageTransitionInput) GoString() string
GoString returns the string representation
func (*DisableStageTransitionInput) SetPipelineName ¶ added in v1.5.0
func (s *DisableStageTransitionInput) SetPipelineName(v string) *DisableStageTransitionInput
SetPipelineName sets the PipelineName field's value.
func (*DisableStageTransitionInput) SetReason ¶ added in v1.5.0
func (s *DisableStageTransitionInput) SetReason(v string) *DisableStageTransitionInput
SetReason sets the Reason field's value.
func (*DisableStageTransitionInput) SetStageName ¶ added in v1.5.0
func (s *DisableStageTransitionInput) SetStageName(v string) *DisableStageTransitionInput
SetStageName sets the StageName field's value.
func (*DisableStageTransitionInput) SetTransitionType ¶ added in v1.5.0
func (s *DisableStageTransitionInput) SetTransitionType(v string) *DisableStageTransitionInput
SetTransitionType sets the TransitionType field's value.
func (DisableStageTransitionInput) String ¶
func (s DisableStageTransitionInput) String() string
String returns the string representation
func (*DisableStageTransitionInput) Validate ¶ added in v1.1.21
func (s *DisableStageTransitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableStageTransitionOutput ¶
type DisableStageTransitionOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransitionOutput
func (DisableStageTransitionOutput) GoString ¶
func (s DisableStageTransitionOutput) GoString() string
GoString returns the string representation
func (DisableStageTransitionOutput) String ¶
func (s DisableStageTransitionOutput) String() string
String returns the string representation
type EnableStageTransitionInput ¶
type EnableStageTransitionInput struct { // The name of the pipeline in which you want to enable the flow of artifacts // from one stage to another. // // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` // The name of the stage where you want to enable the transition of artifacts, // either into the stage (inbound) or from that stage to the next stage (outbound). // // StageName is a required field StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` // Specifies whether artifacts will be allowed to enter the stage and be processed // by the actions in that stage (inbound) or whether already-processed artifacts // will be allowed to transition to the next stage (outbound). // // TransitionType is a required field TransitionType *string `locationName:"transitionType" type:"string" required:"true" enum:"StageTransitionType"` // contains filtered or unexported fields }
Represents the input of an enable stage transition action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransitionInput
func (EnableStageTransitionInput) GoString ¶
func (s EnableStageTransitionInput) GoString() string
GoString returns the string representation
func (*EnableStageTransitionInput) SetPipelineName ¶ added in v1.5.0
func (s *EnableStageTransitionInput) SetPipelineName(v string) *EnableStageTransitionInput
SetPipelineName sets the PipelineName field's value.
func (*EnableStageTransitionInput) SetStageName ¶ added in v1.5.0
func (s *EnableStageTransitionInput) SetStageName(v string) *EnableStageTransitionInput
SetStageName sets the StageName field's value.
func (*EnableStageTransitionInput) SetTransitionType ¶ added in v1.5.0
func (s *EnableStageTransitionInput) SetTransitionType(v string) *EnableStageTransitionInput
SetTransitionType sets the TransitionType field's value.
func (EnableStageTransitionInput) String ¶
func (s EnableStageTransitionInput) String() string
String returns the string representation
func (*EnableStageTransitionInput) Validate ¶ added in v1.1.21
func (s *EnableStageTransitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableStageTransitionOutput ¶
type EnableStageTransitionOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransitionOutput
func (EnableStageTransitionOutput) GoString ¶
func (s EnableStageTransitionOutput) GoString() string
GoString returns the string representation
func (EnableStageTransitionOutput) String ¶
func (s EnableStageTransitionOutput) String() string
String returns the string representation
type EncryptionKey ¶ added in v0.9.5
type EncryptionKey struct { // The ID used to identify the key. For an AWS KMS key, this is the key ID or // key ARN. // // Id is a required field Id *string `locationName:"id" min:"1" type:"string" required:"true"` // 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 is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"EncryptionKeyType"` // contains filtered or unexported fields }
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EncryptionKey
func (EncryptionKey) GoString ¶ added in v0.9.5
func (s EncryptionKey) GoString() string
GoString returns the string representation
func (*EncryptionKey) SetId ¶ added in v1.5.0
func (s *EncryptionKey) SetId(v string) *EncryptionKey
SetId sets the Id field's value.
func (*EncryptionKey) SetType ¶ added in v1.5.0
func (s *EncryptionKey) SetType(v string) *EncryptionKey
SetType sets the Type field's value.
func (EncryptionKey) String ¶ added in v0.9.5
func (s EncryptionKey) String() string
String returns the string representation
func (*EncryptionKey) Validate ¶ added in v1.1.21
func (s *EncryptionKey) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ErrorDetails ¶
type ErrorDetails struct { // The system ID or error number code of the error. Code *string `locationName:"code" type:"string"` // The text of the error message. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Represents information about an error in AWS CodePipeline. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ErrorDetails
func (ErrorDetails) GoString ¶
func (s ErrorDetails) GoString() string
GoString returns the string representation
func (*ErrorDetails) SetCode ¶ added in v1.5.0
func (s *ErrorDetails) SetCode(v string) *ErrorDetails
SetCode sets the Code field's value.
func (*ErrorDetails) SetMessage ¶ added in v1.5.0
func (s *ErrorDetails) SetMessage(v string) *ErrorDetails
SetMessage sets the Message field's value.
func (ErrorDetails) String ¶
func (s ErrorDetails) String() string
String returns the string representation
type ExecutionDetails ¶
type ExecutionDetails struct { // The system-generated unique ID of this action used to identify this job worker // in any external systems, such as AWS CodeDeploy. ExternalExecutionId *string `locationName:"externalExecutionId" min:"1" type:"string"` // The percentage of work completed on the action, represented on a scale of // zero to one hundred percent. PercentComplete *int64 `locationName:"percentComplete" type:"integer"` // The summary of the current status of the actions. Summary *string `locationName:"summary" type:"string"` // contains filtered or unexported fields }
The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ExecutionDetails
func (ExecutionDetails) GoString ¶
func (s ExecutionDetails) GoString() string
GoString returns the string representation
func (*ExecutionDetails) SetExternalExecutionId ¶ added in v1.5.0
func (s *ExecutionDetails) SetExternalExecutionId(v string) *ExecutionDetails
SetExternalExecutionId sets the ExternalExecutionId field's value.
func (*ExecutionDetails) SetPercentComplete ¶ added in v1.5.0
func (s *ExecutionDetails) SetPercentComplete(v int64) *ExecutionDetails
SetPercentComplete sets the PercentComplete field's value.
func (*ExecutionDetails) SetSummary ¶ added in v1.5.0
func (s *ExecutionDetails) SetSummary(v string) *ExecutionDetails
SetSummary sets the Summary field's value.
func (ExecutionDetails) String ¶
func (s ExecutionDetails) String() string
String returns the string representation
func (*ExecutionDetails) Validate ¶ added in v1.1.23
func (s *ExecutionDetails) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FailureDetails ¶
type FailureDetails struct { // The external ID of the run of the action that failed. ExternalExecutionId *string `locationName:"externalExecutionId" min:"1" type:"string"` // The message about the failure. // // Message is a required field Message *string `locationName:"message" type:"string" required:"true"` // The type of the failure. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"FailureType"` // contains filtered or unexported fields }
Represents information about failure details. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/FailureDetails
func (FailureDetails) GoString ¶
func (s FailureDetails) GoString() string
GoString returns the string representation
func (*FailureDetails) SetExternalExecutionId ¶ added in v1.5.0
func (s *FailureDetails) SetExternalExecutionId(v string) *FailureDetails
SetExternalExecutionId sets the ExternalExecutionId field's value.
func (*FailureDetails) SetMessage ¶ added in v1.5.0
func (s *FailureDetails) SetMessage(v string) *FailureDetails
SetMessage sets the Message field's value.
func (*FailureDetails) SetType ¶ added in v1.5.0
func (s *FailureDetails) SetType(v string) *FailureDetails
SetType sets the Type field's value.
func (FailureDetails) String ¶
func (s FailureDetails) String() string
String returns the string representation
func (*FailureDetails) Validate ¶ added in v1.1.21
func (s *FailureDetails) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetJobDetailsInput ¶
type GetJobDetailsInput struct { // The unique system-generated ID for the job. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a get job details action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetailsInput
func (GetJobDetailsInput) GoString ¶
func (s GetJobDetailsInput) GoString() string
GoString returns the string representation
func (*GetJobDetailsInput) SetJobId ¶ added in v1.5.0
func (s *GetJobDetailsInput) SetJobId(v string) *GetJobDetailsInput
SetJobId sets the JobId field's value.
func (GetJobDetailsInput) String ¶
func (s GetJobDetailsInput) String() string
String returns the string representation
func (*GetJobDetailsInput) Validate ¶ added in v1.1.21
func (s *GetJobDetailsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetJobDetailsOutput ¶
type GetJobDetailsOutput struct { // The details of the job. // // If AWSSessionCredentials is used, a long-running job can call GetJobDetails // again to obtain new credentials. JobDetails *JobDetails `locationName:"jobDetails" type:"structure"` // contains filtered or unexported fields }
Represents the output of a get job details action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetailsOutput
func (GetJobDetailsOutput) GoString ¶
func (s GetJobDetailsOutput) GoString() string
GoString returns the string representation
func (*GetJobDetailsOutput) SetJobDetails ¶ added in v1.5.0
func (s *GetJobDetailsOutput) SetJobDetails(v *JobDetails) *GetJobDetailsOutput
SetJobDetails sets the JobDetails field's value.
func (GetJobDetailsOutput) String ¶
func (s GetJobDetailsOutput) String() string
String returns the string representation
type GetPipelineExecutionInput ¶ added in v1.4.5
type GetPipelineExecutionInput struct { // The ID of the pipeline execution about which you want to get execution details. // // PipelineExecutionId is a required field PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string" required:"true"` // The name of the pipeline about which you want to get execution details. // // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a get pipeline execution action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecutionInput
func (GetPipelineExecutionInput) GoString ¶ added in v1.4.5
func (s GetPipelineExecutionInput) GoString() string
GoString returns the string representation
func (*GetPipelineExecutionInput) SetPipelineExecutionId ¶ added in v1.5.0
func (s *GetPipelineExecutionInput) SetPipelineExecutionId(v string) *GetPipelineExecutionInput
SetPipelineExecutionId sets the PipelineExecutionId field's value.
func (*GetPipelineExecutionInput) SetPipelineName ¶ added in v1.5.0
func (s *GetPipelineExecutionInput) SetPipelineName(v string) *GetPipelineExecutionInput
SetPipelineName sets the PipelineName field's value.
func (GetPipelineExecutionInput) String ¶ added in v1.4.5
func (s GetPipelineExecutionInput) String() string
String returns the string representation
func (*GetPipelineExecutionInput) Validate ¶ added in v1.4.5
func (s *GetPipelineExecutionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPipelineExecutionOutput ¶ added in v1.4.5
type GetPipelineExecutionOutput struct { // Represents information about the execution of a pipeline. PipelineExecution *PipelineExecution `locationName:"pipelineExecution" type:"structure"` // contains filtered or unexported fields }
Represents the output of a get pipeline execution action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecutionOutput
func (GetPipelineExecutionOutput) GoString ¶ added in v1.4.5
func (s GetPipelineExecutionOutput) GoString() string
GoString returns the string representation
func (*GetPipelineExecutionOutput) SetPipelineExecution ¶ added in v1.5.0
func (s *GetPipelineExecutionOutput) SetPipelineExecution(v *PipelineExecution) *GetPipelineExecutionOutput
SetPipelineExecution sets the PipelineExecution field's value.
func (GetPipelineExecutionOutput) String ¶ added in v1.4.5
func (s GetPipelineExecutionOutput) String() string
String returns the string representation
type GetPipelineInput ¶
type GetPipelineInput struct { // The name of the pipeline for which you want to get information. Pipeline // names must be unique under an Amazon Web Services (AWS) user account. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The version number of the pipeline. If you do not specify a version, defaults // to the most current version. Version *int64 `locationName:"version" min:"1" type:"integer"` // contains filtered or unexported fields }
Represents the input of a get pipeline action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineInput
func (GetPipelineInput) GoString ¶
func (s GetPipelineInput) GoString() string
GoString returns the string representation
func (*GetPipelineInput) SetName ¶ added in v1.5.0
func (s *GetPipelineInput) SetName(v string) *GetPipelineInput
SetName sets the Name field's value.
func (*GetPipelineInput) SetVersion ¶ added in v1.5.0
func (s *GetPipelineInput) SetVersion(v int64) *GetPipelineInput
SetVersion sets the Version field's value.
func (GetPipelineInput) String ¶
func (s GetPipelineInput) String() string
String returns the string representation
func (*GetPipelineInput) Validate ¶ added in v1.1.21
func (s *GetPipelineInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPipelineOutput ¶
type GetPipelineOutput struct { // Represents the structure of actions and stages to be performed in the pipeline. Pipeline *PipelineDeclaration `locationName:"pipeline" type:"structure"` // contains filtered or unexported fields }
Represents the output of a get pipeline action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineOutput
func (GetPipelineOutput) GoString ¶
func (s GetPipelineOutput) GoString() string
GoString returns the string representation
func (*GetPipelineOutput) SetPipeline ¶ added in v1.5.0
func (s *GetPipelineOutput) SetPipeline(v *PipelineDeclaration) *GetPipelineOutput
SetPipeline sets the Pipeline field's value.
func (GetPipelineOutput) String ¶
func (s GetPipelineOutput) String() string
String returns the string representation
type GetPipelineStateInput ¶
type GetPipelineStateInput struct { // The name of the pipeline about which you want to get information. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a get pipeline state action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineStateInput
func (GetPipelineStateInput) GoString ¶
func (s GetPipelineStateInput) GoString() string
GoString returns the string representation
func (*GetPipelineStateInput) SetName ¶ added in v1.5.0
func (s *GetPipelineStateInput) SetName(v string) *GetPipelineStateInput
SetName sets the Name field's value.
func (GetPipelineStateInput) String ¶
func (s GetPipelineStateInput) String() string
String returns the string representation
func (*GetPipelineStateInput) Validate ¶ added in v1.1.21
func (s *GetPipelineStateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPipelineStateOutput ¶
type GetPipelineStateOutput struct { // The date and time the pipeline was created, in timestamp format. Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"` // The name of the pipeline for which you want to get the state. PipelineName *string `locationName:"pipelineName" min:"1" type:"string"` // The version number of the pipeline. // // A newly-created pipeline is always assigned a version number of 1. PipelineVersion *int64 `locationName:"pipelineVersion" min:"1" type:"integer"` // A list of the pipeline stage output information, including stage name, state, // most recent run details, whether the stage is disabled, and other data. StageStates []*StageState `locationName:"stageStates" type:"list"` // The date and time the pipeline was last updated, in timestamp format. Updated *time.Time `locationName:"updated" type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Represents the output of a get pipeline state action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineStateOutput
func (GetPipelineStateOutput) GoString ¶
func (s GetPipelineStateOutput) GoString() string
GoString returns the string representation
func (*GetPipelineStateOutput) SetCreated ¶ added in v1.5.0
func (s *GetPipelineStateOutput) SetCreated(v time.Time) *GetPipelineStateOutput
SetCreated sets the Created field's value.
func (*GetPipelineStateOutput) SetPipelineName ¶ added in v1.5.0
func (s *GetPipelineStateOutput) SetPipelineName(v string) *GetPipelineStateOutput
SetPipelineName sets the PipelineName field's value.
func (*GetPipelineStateOutput) SetPipelineVersion ¶ added in v1.5.0
func (s *GetPipelineStateOutput) SetPipelineVersion(v int64) *GetPipelineStateOutput
SetPipelineVersion sets the PipelineVersion field's value.
func (*GetPipelineStateOutput) SetStageStates ¶ added in v1.5.0
func (s *GetPipelineStateOutput) SetStageStates(v []*StageState) *GetPipelineStateOutput
SetStageStates sets the StageStates field's value.
func (*GetPipelineStateOutput) SetUpdated ¶ added in v1.5.0
func (s *GetPipelineStateOutput) SetUpdated(v time.Time) *GetPipelineStateOutput
SetUpdated sets the Updated field's value.
func (GetPipelineStateOutput) String ¶
func (s GetPipelineStateOutput) String() string
String returns the string representation
type GetThirdPartyJobDetailsInput ¶
type GetThirdPartyJobDetailsInput struct { // 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. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" type:"string" required:"true"` // The unique system-generated ID used for identifying the job. // // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a get third party job details action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetailsInput
func (GetThirdPartyJobDetailsInput) GoString ¶
func (s GetThirdPartyJobDetailsInput) GoString() string
GoString returns the string representation
func (*GetThirdPartyJobDetailsInput) SetClientToken ¶ added in v1.5.0
func (s *GetThirdPartyJobDetailsInput) SetClientToken(v string) *GetThirdPartyJobDetailsInput
SetClientToken sets the ClientToken field's value.
func (*GetThirdPartyJobDetailsInput) SetJobId ¶ added in v1.5.0
func (s *GetThirdPartyJobDetailsInput) SetJobId(v string) *GetThirdPartyJobDetailsInput
SetJobId sets the JobId field's value.
func (GetThirdPartyJobDetailsInput) String ¶
func (s GetThirdPartyJobDetailsInput) String() string
String returns the string representation
func (*GetThirdPartyJobDetailsInput) Validate ¶ added in v1.1.21
func (s *GetThirdPartyJobDetailsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetThirdPartyJobDetailsOutput ¶
type GetThirdPartyJobDetailsOutput struct { // The details of the job, including any protected values defined for the job. JobDetails *ThirdPartyJobDetails `locationName:"jobDetails" type:"structure"` // contains filtered or unexported fields }
Represents the output of a get third party job details action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetailsOutput
func (GetThirdPartyJobDetailsOutput) GoString ¶
func (s GetThirdPartyJobDetailsOutput) GoString() string
GoString returns the string representation
func (*GetThirdPartyJobDetailsOutput) SetJobDetails ¶ added in v1.5.0
func (s *GetThirdPartyJobDetailsOutput) SetJobDetails(v *ThirdPartyJobDetails) *GetThirdPartyJobDetailsOutput
SetJobDetails sets the JobDetails field's value.
func (GetThirdPartyJobDetailsOutput) String ¶
func (s GetThirdPartyJobDetailsOutput) String() string
String returns the string representation
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 is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents information about an artifact to be worked on, such as a test or build artifact. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InputArtifact
func (InputArtifact) GoString ¶
func (s InputArtifact) GoString() string
GoString returns the string representation
func (*InputArtifact) SetName ¶ added in v1.5.0
func (s *InputArtifact) SetName(v string) *InputArtifact
SetName sets the Name field's value.
func (InputArtifact) String ¶
func (s InputArtifact) String() string
String returns the string representation
func (*InputArtifact) Validate ¶ added in v1.1.21
func (s *InputArtifact) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Job ¶
type Job struct { // The ID of the AWS account to use when performing the job. AccountId *string `locationName:"accountId" type:"string"` // Additional data about a job. Data *JobData `locationName:"data" type:"structure"` // The unique system-generated ID of the job. Id *string `locationName:"id" type:"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 `locationName:"nonce" type:"string"` // contains filtered or unexported fields }
Represents information about a job. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/Job
func (*Job) SetAccountId ¶ added in v1.5.0
SetAccountId sets the AccountId field's value.
type JobData ¶
type JobData struct { // Represents information about an action configuration. ActionConfiguration *ActionConfiguration `locationName:"actionConfiguration" type:"structure"` // Represents information about an action type. ActionTypeId *ActionTypeId `locationName:"actionTypeId" type:"structure"` // 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 Amazon S3 bucket used to // store artifact for the pipeline in AWS CodePipeline. ArtifactCredentials *AWSSessionCredentials `locationName:"artifactCredentials" type:"structure"` // A system-generated token, such as a AWS CodeDeploy deployment ID, that a // job requires in order to continue the job asynchronously. ContinuationToken *string `locationName:"continuationToken" type:"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 `locationName:"encryptionKey" type:"structure"` // The artifact supplied to the job. InputArtifacts []*Artifact `locationName:"inputArtifacts" type:"list"` // The output of the job. OutputArtifacts []*Artifact `locationName:"outputArtifacts" type:"list"` // Represents information about a pipeline to a job worker. PipelineContext *PipelineContext `locationName:"pipelineContext" type:"structure"` // contains filtered or unexported fields }
Represents additional information about a job required for a job worker to complete the job. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobData
func (*JobData) SetActionConfiguration ¶ added in v1.5.0
func (s *JobData) SetActionConfiguration(v *ActionConfiguration) *JobData
SetActionConfiguration sets the ActionConfiguration field's value.
func (*JobData) SetActionTypeId ¶ added in v1.5.0
func (s *JobData) SetActionTypeId(v *ActionTypeId) *JobData
SetActionTypeId sets the ActionTypeId field's value.
func (*JobData) SetArtifactCredentials ¶ added in v1.5.0
func (s *JobData) SetArtifactCredentials(v *AWSSessionCredentials) *JobData
SetArtifactCredentials sets the ArtifactCredentials field's value.
func (*JobData) SetContinuationToken ¶ added in v1.5.0
SetContinuationToken sets the ContinuationToken field's value.
func (*JobData) SetEncryptionKey ¶ added in v1.5.0
func (s *JobData) SetEncryptionKey(v *EncryptionKey) *JobData
SetEncryptionKey sets the EncryptionKey field's value.
func (*JobData) SetInputArtifacts ¶ added in v1.5.0
SetInputArtifacts sets the InputArtifacts field's value.
func (*JobData) SetOutputArtifacts ¶ added in v1.5.0
SetOutputArtifacts sets the OutputArtifacts field's value.
func (*JobData) SetPipelineContext ¶ added in v1.5.0
func (s *JobData) SetPipelineContext(v *PipelineContext) *JobData
SetPipelineContext sets the PipelineContext field's value.
type JobDetails ¶
type JobDetails struct { // The AWS account ID associated with the job. AccountId *string `locationName:"accountId" type:"string"` // Represents additional information about a job required for a job worker to // complete the job. Data *JobData `locationName:"data" type:"structure"` // The unique system-generated ID of the job. Id *string `locationName:"id" type:"string"` // contains filtered or unexported fields }
Represents information about the details of a job. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobDetails
func (JobDetails) GoString ¶
func (s JobDetails) GoString() string
GoString returns the string representation
func (*JobDetails) SetAccountId ¶ added in v1.5.0
func (s *JobDetails) SetAccountId(v string) *JobDetails
SetAccountId sets the AccountId field's value.
func (*JobDetails) SetData ¶ added in v1.5.0
func (s *JobDetails) SetData(v *JobData) *JobDetails
SetData sets the Data field's value.
func (*JobDetails) SetId ¶ added in v1.5.0
func (s *JobDetails) SetId(v string) *JobDetails
SetId sets the Id field's value.
func (JobDetails) String ¶
func (s JobDetails) String() string
String returns the string representation
type ListActionTypesInput ¶
type ListActionTypesInput struct { // Filters the list of action types to those created by a specified entity. ActionOwnerFilter *string `locationName:"actionOwnerFilter" type:"string" enum:"ActionOwner"` // An identifier that was returned from the previous list action types call, // which can be used to return the next set of action types in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the input of a list action types action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypesInput
func (ListActionTypesInput) GoString ¶
func (s ListActionTypesInput) GoString() string
GoString returns the string representation
func (*ListActionTypesInput) SetActionOwnerFilter ¶ added in v1.5.0
func (s *ListActionTypesInput) SetActionOwnerFilter(v string) *ListActionTypesInput
SetActionOwnerFilter sets the ActionOwnerFilter field's value.
func (*ListActionTypesInput) SetNextToken ¶ added in v1.5.0
func (s *ListActionTypesInput) SetNextToken(v string) *ListActionTypesInput
SetNextToken sets the NextToken field's value.
func (ListActionTypesInput) String ¶
func (s ListActionTypesInput) String() string
String returns the string representation
type ListActionTypesOutput ¶
type ListActionTypesOutput struct { // Provides details of the action types. // // ActionTypes is a required field ActionTypes []*ActionType `locationName:"actionTypes" type:"list" required:"true"` // If the amount of returned information is significantly large, an identifier // is also returned which can be used in a subsequent list action types call // to return the next set of action types in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the output of a list action types action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypesOutput
func (ListActionTypesOutput) GoString ¶
func (s ListActionTypesOutput) GoString() string
GoString returns the string representation
func (*ListActionTypesOutput) SetActionTypes ¶ added in v1.5.0
func (s *ListActionTypesOutput) SetActionTypes(v []*ActionType) *ListActionTypesOutput
SetActionTypes sets the ActionTypes field's value.
func (*ListActionTypesOutput) SetNextToken ¶ added in v1.5.0
func (s *ListActionTypesOutput) SetNextToken(v string) *ListActionTypesOutput
SetNextToken sets the NextToken field's value.
func (ListActionTypesOutput) String ¶
func (s ListActionTypesOutput) String() string
String returns the string representation
type ListPipelinesInput ¶
type ListPipelinesInput struct { // An identifier that was returned from the previous list pipelines call, which // can be used to return the next set of pipelines in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the input of a list pipelines action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelinesInput
func (ListPipelinesInput) GoString ¶
func (s ListPipelinesInput) GoString() string
GoString returns the string representation
func (*ListPipelinesInput) SetNextToken ¶ added in v1.5.0
func (s *ListPipelinesInput) SetNextToken(v string) *ListPipelinesInput
SetNextToken sets the NextToken field's value.
func (ListPipelinesInput) String ¶
func (s ListPipelinesInput) String() string
String returns the string representation
type ListPipelinesOutput ¶
type ListPipelinesOutput struct { // If the amount of returned information is significantly large, an identifier // is also returned which can be used in a subsequent list pipelines call to // return the next set of pipelines in the list. NextToken *string `locationName:"nextToken" type:"string"` // The list of pipelines. Pipelines []*PipelineSummary `locationName:"pipelines" type:"list"` // contains filtered or unexported fields }
Represents the output of a list pipelines action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelinesOutput
func (ListPipelinesOutput) GoString ¶
func (s ListPipelinesOutput) GoString() string
GoString returns the string representation
func (*ListPipelinesOutput) SetNextToken ¶ added in v1.5.0
func (s *ListPipelinesOutput) SetNextToken(v string) *ListPipelinesOutput
SetNextToken sets the NextToken field's value.
func (*ListPipelinesOutput) SetPipelines ¶ added in v1.5.0
func (s *ListPipelinesOutput) SetPipelines(v []*PipelineSummary) *ListPipelinesOutput
SetPipelines sets the Pipelines field's value.
func (ListPipelinesOutput) String ¶
func (s ListPipelinesOutput) String() string
String returns the string representation
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 is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents information about the output of an action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OutputArtifact
func (OutputArtifact) GoString ¶
func (s OutputArtifact) GoString() string
GoString returns the string representation
func (*OutputArtifact) SetName ¶ added in v1.5.0
func (s *OutputArtifact) SetName(v string) *OutputArtifact
SetName sets the Name field's value.
func (OutputArtifact) String ¶
func (s OutputArtifact) String() string
String returns the string representation
func (*OutputArtifact) Validate ¶ added in v1.1.21
func (s *OutputArtifact) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PipelineContext ¶
type PipelineContext struct { // Represents the context of an action within the stage of a pipeline to a job // worker. Action *ActionContext `locationName:"action" type:"structure"` // 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 `locationName:"pipelineName" min:"1" type:"string"` // The stage of the pipeline. Stage *StageContext `locationName:"stage" type:"structure"` // contains filtered or unexported fields }
Represents information about a pipeline to a job worker. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineContext
func (PipelineContext) GoString ¶
func (s PipelineContext) GoString() string
GoString returns the string representation
func (*PipelineContext) SetAction ¶ added in v1.5.0
func (s *PipelineContext) SetAction(v *ActionContext) *PipelineContext
SetAction sets the Action field's value.
func (*PipelineContext) SetPipelineName ¶ added in v1.5.0
func (s *PipelineContext) SetPipelineName(v string) *PipelineContext
SetPipelineName sets the PipelineName field's value.
func (*PipelineContext) SetStage ¶ added in v1.5.0
func (s *PipelineContext) SetStage(v *StageContext) *PipelineContext
SetStage sets the Stage field's value.
func (PipelineContext) String ¶
func (s PipelineContext) String() string
String returns the string representation
type PipelineDeclaration ¶
type PipelineDeclaration struct { // The Amazon S3 location where artifacts are stored for the pipeline. If this // Amazon S3 bucket is created manually, it must meet the requirements for AWS // CodePipeline. For more information, see the Concepts (http://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#CPS3Bucket). // // ArtifactStore is a required field ArtifactStore *ArtifactStore `locationName:"artifactStore" type:"structure" required:"true"` // The name of the action to be performed. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // 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 is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The stage in which to perform the action. // // Stages is a required field Stages []*StageDeclaration `locationName:"stages" type:"list" required:"true"` // The version number of the pipeline. A new pipeline always has a version number // of 1. This number is automatically incremented when a pipeline is updated. Version *int64 `locationName:"version" min:"1" type:"integer"` // contains filtered or unexported fields }
Represents the structure of actions and stages to be performed in the pipeline. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineDeclaration
func (PipelineDeclaration) GoString ¶
func (s PipelineDeclaration) GoString() string
GoString returns the string representation
func (*PipelineDeclaration) SetArtifactStore ¶ added in v1.5.0
func (s *PipelineDeclaration) SetArtifactStore(v *ArtifactStore) *PipelineDeclaration
SetArtifactStore sets the ArtifactStore field's value.
func (*PipelineDeclaration) SetName ¶ added in v1.5.0
func (s *PipelineDeclaration) SetName(v string) *PipelineDeclaration
SetName sets the Name field's value.
func (*PipelineDeclaration) SetRoleArn ¶ added in v1.5.0
func (s *PipelineDeclaration) SetRoleArn(v string) *PipelineDeclaration
SetRoleArn sets the RoleArn field's value.
func (*PipelineDeclaration) SetStages ¶ added in v1.5.0
func (s *PipelineDeclaration) SetStages(v []*StageDeclaration) *PipelineDeclaration
SetStages sets the Stages field's value.
func (*PipelineDeclaration) SetVersion ¶ added in v1.5.0
func (s *PipelineDeclaration) SetVersion(v int64) *PipelineDeclaration
SetVersion sets the Version field's value.
func (PipelineDeclaration) String ¶
func (s PipelineDeclaration) String() string
String returns the string representation
func (*PipelineDeclaration) Validate ¶ added in v1.1.21
func (s *PipelineDeclaration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PipelineExecution ¶ added in v1.4.5
type PipelineExecution struct { // A list of ArtifactRevision objects included in a pipeline execution. ArtifactRevisions []*ArtifactRevision `locationName:"artifactRevisions" type:"list"` // The ID of the pipeline execution. PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"` // The name of the pipeline that was executed. PipelineName *string `locationName:"pipelineName" min:"1" type:"string"` // The version number of the pipeline that was executed. PipelineVersion *int64 `locationName:"pipelineVersion" min:"1" type:"integer"` // The status of the pipeline execution. // // * InProgress: The pipeline execution is currently running. // // * Succeeded: The pipeline execution completed successfully. // // * Superseded: While this pipeline execution was waiting for the next stage // to be completed, a newer pipeline execution caught up and continued through // the pipeline instead. // // * Failed: The pipeline did not complete successfully. Status *string `locationName:"status" type:"string" enum:"PipelineExecutionStatus"` // contains filtered or unexported fields }
Represents information about an execution of a pipeline. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecution
func (PipelineExecution) GoString ¶ added in v1.4.5
func (s PipelineExecution) GoString() string
GoString returns the string representation
func (*PipelineExecution) SetArtifactRevisions ¶ added in v1.5.0
func (s *PipelineExecution) SetArtifactRevisions(v []*ArtifactRevision) *PipelineExecution
SetArtifactRevisions sets the ArtifactRevisions field's value.
func (*PipelineExecution) SetPipelineExecutionId ¶ added in v1.5.0
func (s *PipelineExecution) SetPipelineExecutionId(v string) *PipelineExecution
SetPipelineExecutionId sets the PipelineExecutionId field's value.
func (*PipelineExecution) SetPipelineName ¶ added in v1.5.0
func (s *PipelineExecution) SetPipelineName(v string) *PipelineExecution
SetPipelineName sets the PipelineName field's value.
func (*PipelineExecution) SetPipelineVersion ¶ added in v1.5.0
func (s *PipelineExecution) SetPipelineVersion(v int64) *PipelineExecution
SetPipelineVersion sets the PipelineVersion field's value.
func (*PipelineExecution) SetStatus ¶ added in v1.5.0
func (s *PipelineExecution) SetStatus(v string) *PipelineExecution
SetStatus sets the Status field's value.
func (PipelineExecution) String ¶ added in v1.4.5
func (s PipelineExecution) String() string
String returns the string representation
type PipelineSummary ¶
type PipelineSummary struct { // The date and time the pipeline was created, in timestamp format. Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"` // The name of the pipeline. Name *string `locationName:"name" min:"1" type:"string"` // The date and time of the last update to the pipeline, in timestamp format. Updated *time.Time `locationName:"updated" type:"timestamp" timestampFormat:"unix"` // The version number of the pipeline. Version *int64 `locationName:"version" min:"1" type:"integer"` // contains filtered or unexported fields }
Returns a summary of a pipeline. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineSummary
func (PipelineSummary) GoString ¶
func (s PipelineSummary) GoString() string
GoString returns the string representation
func (*PipelineSummary) SetCreated ¶ added in v1.5.0
func (s *PipelineSummary) SetCreated(v time.Time) *PipelineSummary
SetCreated sets the Created field's value.
func (*PipelineSummary) SetName ¶ added in v1.5.0
func (s *PipelineSummary) SetName(v string) *PipelineSummary
SetName sets the Name field's value.
func (*PipelineSummary) SetUpdated ¶ added in v1.5.0
func (s *PipelineSummary) SetUpdated(v time.Time) *PipelineSummary
SetUpdated sets the Updated field's value.
func (*PipelineSummary) SetVersion ¶ added in v1.5.0
func (s *PipelineSummary) SetVersion(v int64) *PipelineSummary
SetVersion sets the Version field's value.
func (PipelineSummary) String ¶
func (s PipelineSummary) String() string
String returns the string representation
type PollForJobsInput ¶
type PollForJobsInput struct { // Represents information about an action type. // // ActionTypeId is a required field ActionTypeId *ActionTypeId `locationName:"actionTypeId" type:"structure" required:"true"` // The maximum number of jobs to return in a poll for jobs call. MaxBatchSize *int64 `locationName:"maxBatchSize" min:"1" type:"integer"` // A map of property names and values. For an action type with no queryable // properties, this value must be null or an empty map. For an action type with // a queryable property, you must supply that property as a key in the map. // Only jobs whose action configuration matches the mapped value will be returned. QueryParam map[string]*string `locationName:"queryParam" type:"map"` // contains filtered or unexported fields }
Represents the input of a poll for jobs action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobsInput
func (PollForJobsInput) GoString ¶
func (s PollForJobsInput) GoString() string
GoString returns the string representation
func (*PollForJobsInput) SetActionTypeId ¶ added in v1.5.0
func (s *PollForJobsInput) SetActionTypeId(v *ActionTypeId) *PollForJobsInput
SetActionTypeId sets the ActionTypeId field's value.
func (*PollForJobsInput) SetMaxBatchSize ¶ added in v1.5.0
func (s *PollForJobsInput) SetMaxBatchSize(v int64) *PollForJobsInput
SetMaxBatchSize sets the MaxBatchSize field's value.
func (*PollForJobsInput) SetQueryParam ¶ added in v1.5.0
func (s *PollForJobsInput) SetQueryParam(v map[string]*string) *PollForJobsInput
SetQueryParam sets the QueryParam field's value.
func (PollForJobsInput) String ¶
func (s PollForJobsInput) String() string
String returns the string representation
func (*PollForJobsInput) Validate ¶ added in v1.1.21
func (s *PollForJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PollForJobsOutput ¶
type PollForJobsOutput struct { // Information about the jobs to take action on. Jobs []*Job `locationName:"jobs" type:"list"` // contains filtered or unexported fields }
Represents the output of a poll for jobs action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobsOutput
func (PollForJobsOutput) GoString ¶
func (s PollForJobsOutput) GoString() string
GoString returns the string representation
func (*PollForJobsOutput) SetJobs ¶ added in v1.5.0
func (s *PollForJobsOutput) SetJobs(v []*Job) *PollForJobsOutput
SetJobs sets the Jobs field's value.
func (PollForJobsOutput) String ¶
func (s PollForJobsOutput) String() string
String returns the string representation
type PollForThirdPartyJobsInput ¶
type PollForThirdPartyJobsInput struct { // Represents information about an action type. // // ActionTypeId is a required field ActionTypeId *ActionTypeId `locationName:"actionTypeId" type:"structure" required:"true"` // The maximum number of jobs to return in a poll for jobs call. MaxBatchSize *int64 `locationName:"maxBatchSize" min:"1" type:"integer"` // contains filtered or unexported fields }
Represents the input of a poll for third party jobs action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobsInput
func (PollForThirdPartyJobsInput) GoString ¶
func (s PollForThirdPartyJobsInput) GoString() string
GoString returns the string representation
func (*PollForThirdPartyJobsInput) SetActionTypeId ¶ added in v1.5.0
func (s *PollForThirdPartyJobsInput) SetActionTypeId(v *ActionTypeId) *PollForThirdPartyJobsInput
SetActionTypeId sets the ActionTypeId field's value.
func (*PollForThirdPartyJobsInput) SetMaxBatchSize ¶ added in v1.5.0
func (s *PollForThirdPartyJobsInput) SetMaxBatchSize(v int64) *PollForThirdPartyJobsInput
SetMaxBatchSize sets the MaxBatchSize field's value.
func (PollForThirdPartyJobsInput) String ¶
func (s PollForThirdPartyJobsInput) String() string
String returns the string representation
func (*PollForThirdPartyJobsInput) Validate ¶ added in v1.1.21
func (s *PollForThirdPartyJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PollForThirdPartyJobsOutput ¶
type PollForThirdPartyJobsOutput struct { // Information about the jobs to take action on. Jobs []*ThirdPartyJob `locationName:"jobs" type:"list"` // contains filtered or unexported fields }
Represents the output of a poll for third party jobs action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobsOutput
func (PollForThirdPartyJobsOutput) GoString ¶
func (s PollForThirdPartyJobsOutput) GoString() string
GoString returns the string representation
func (*PollForThirdPartyJobsOutput) SetJobs ¶ added in v1.5.0
func (s *PollForThirdPartyJobsOutput) SetJobs(v []*ThirdPartyJob) *PollForThirdPartyJobsOutput
SetJobs sets the Jobs field's value.
func (PollForThirdPartyJobsOutput) String ¶
func (s PollForThirdPartyJobsOutput) String() string
String returns the string representation
type PutActionRevisionInput ¶
type PutActionRevisionInput struct { // The name of the action that will process the revision. // // ActionName is a required field ActionName *string `locationName:"actionName" min:"1" type:"string" required:"true"` // Represents information about the version (or revision) of an action. // // ActionRevision is a required field ActionRevision *ActionRevision `locationName:"actionRevision" type:"structure" required:"true"` // The name of the pipeline that will start processing the revision to the source. // // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` // The name of the stage that contains the action that will act upon the revision. // // StageName is a required field StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a put action revision action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevisionInput
func (PutActionRevisionInput) GoString ¶
func (s PutActionRevisionInput) GoString() string
GoString returns the string representation
func (*PutActionRevisionInput) SetActionName ¶ added in v1.5.0
func (s *PutActionRevisionInput) SetActionName(v string) *PutActionRevisionInput
SetActionName sets the ActionName field's value.
func (*PutActionRevisionInput) SetActionRevision ¶ added in v1.5.0
func (s *PutActionRevisionInput) SetActionRevision(v *ActionRevision) *PutActionRevisionInput
SetActionRevision sets the ActionRevision field's value.
func (*PutActionRevisionInput) SetPipelineName ¶ added in v1.5.0
func (s *PutActionRevisionInput) SetPipelineName(v string) *PutActionRevisionInput
SetPipelineName sets the PipelineName field's value.
func (*PutActionRevisionInput) SetStageName ¶ added in v1.5.0
func (s *PutActionRevisionInput) SetStageName(v string) *PutActionRevisionInput
SetStageName sets the StageName field's value.
func (PutActionRevisionInput) String ¶
func (s PutActionRevisionInput) String() string
String returns the string representation
func (*PutActionRevisionInput) Validate ¶ added in v1.1.21
func (s *PutActionRevisionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutActionRevisionOutput ¶
type PutActionRevisionOutput struct { // Indicates whether the artifact revision was previously used in an execution // of the specified pipeline. NewRevision *bool `locationName:"newRevision" type:"boolean"` // The ID of the current workflow state of the pipeline. PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"` // contains filtered or unexported fields }
Represents the output of a put action revision action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevisionOutput
func (PutActionRevisionOutput) GoString ¶
func (s PutActionRevisionOutput) GoString() string
GoString returns the string representation
func (*PutActionRevisionOutput) SetNewRevision ¶ added in v1.5.0
func (s *PutActionRevisionOutput) SetNewRevision(v bool) *PutActionRevisionOutput
SetNewRevision sets the NewRevision field's value.
func (*PutActionRevisionOutput) SetPipelineExecutionId ¶ added in v1.5.0
func (s *PutActionRevisionOutput) SetPipelineExecutionId(v string) *PutActionRevisionOutput
SetPipelineExecutionId sets the PipelineExecutionId field's value.
func (PutActionRevisionOutput) String ¶
func (s PutActionRevisionOutput) String() string
String returns the string representation
type PutApprovalResultInput ¶ added in v1.2.3
type PutApprovalResultInput struct { // The name of the action for which approval is requested. // // ActionName is a required field ActionName *string `locationName:"actionName" min:"1" type:"string" required:"true"` // The name of the pipeline that contains the action. // // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` // Represents information about the result of the approval request. // // Result is a required field Result *ApprovalResult `locationName:"result" type:"structure" required:"true"` // The name of the stage that contains the action. // // StageName is a required field StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` // The system-generated token used to identify a unique approval request. The // token for each open approval request can be obtained using the GetPipelineState // action and is used to validate that the approval request corresponding to // this token is still valid. // // Token is a required field Token *string `locationName:"token" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a put approval result action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResultInput
func (PutApprovalResultInput) GoString ¶ added in v1.2.3
func (s PutApprovalResultInput) GoString() string
GoString returns the string representation
func (*PutApprovalResultInput) SetActionName ¶ added in v1.5.0
func (s *PutApprovalResultInput) SetActionName(v string) *PutApprovalResultInput
SetActionName sets the ActionName field's value.
func (*PutApprovalResultInput) SetPipelineName ¶ added in v1.5.0
func (s *PutApprovalResultInput) SetPipelineName(v string) *PutApprovalResultInput
SetPipelineName sets the PipelineName field's value.
func (*PutApprovalResultInput) SetResult ¶ added in v1.5.0
func (s *PutApprovalResultInput) SetResult(v *ApprovalResult) *PutApprovalResultInput
SetResult sets the Result field's value.
func (*PutApprovalResultInput) SetStageName ¶ added in v1.5.0
func (s *PutApprovalResultInput) SetStageName(v string) *PutApprovalResultInput
SetStageName sets the StageName field's value.
func (*PutApprovalResultInput) SetToken ¶ added in v1.5.0
func (s *PutApprovalResultInput) SetToken(v string) *PutApprovalResultInput
SetToken sets the Token field's value.
func (PutApprovalResultInput) String ¶ added in v1.2.3
func (s PutApprovalResultInput) String() string
String returns the string representation
func (*PutApprovalResultInput) Validate ¶ added in v1.2.3
func (s *PutApprovalResultInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutApprovalResultOutput ¶ added in v1.2.3
type PutApprovalResultOutput struct { // The timestamp showing when the approval or rejection was submitted. ApprovedAt *time.Time `locationName:"approvedAt" type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Represents the output of a put approval result action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResultOutput
func (PutApprovalResultOutput) GoString ¶ added in v1.2.3
func (s PutApprovalResultOutput) GoString() string
GoString returns the string representation
func (*PutApprovalResultOutput) SetApprovedAt ¶ added in v1.5.0
func (s *PutApprovalResultOutput) SetApprovedAt(v time.Time) *PutApprovalResultOutput
SetApprovedAt sets the ApprovedAt field's value.
func (PutApprovalResultOutput) String ¶ added in v1.2.3
func (s PutApprovalResultOutput) String() string
String returns the string representation
type PutJobFailureResultInput ¶
type PutJobFailureResultInput struct { // The details about the failure of a job. // // FailureDetails is a required field FailureDetails *FailureDetails `locationName:"failureDetails" type:"structure" required:"true"` // The unique system-generated ID of the job that failed. This is the same ID // returned from PollForJobs. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a put job failure result action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResultInput
func (PutJobFailureResultInput) GoString ¶
func (s PutJobFailureResultInput) GoString() string
GoString returns the string representation
func (*PutJobFailureResultInput) SetFailureDetails ¶ added in v1.5.0
func (s *PutJobFailureResultInput) SetFailureDetails(v *FailureDetails) *PutJobFailureResultInput
SetFailureDetails sets the FailureDetails field's value.
func (*PutJobFailureResultInput) SetJobId ¶ added in v1.5.0
func (s *PutJobFailureResultInput) SetJobId(v string) *PutJobFailureResultInput
SetJobId sets the JobId field's value.
func (PutJobFailureResultInput) String ¶
func (s PutJobFailureResultInput) String() string
String returns the string representation
func (*PutJobFailureResultInput) Validate ¶ added in v1.1.21
func (s *PutJobFailureResultInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutJobFailureResultOutput ¶
type PutJobFailureResultOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResultOutput
func (PutJobFailureResultOutput) GoString ¶
func (s PutJobFailureResultOutput) GoString() string
GoString returns the string representation
func (PutJobFailureResultOutput) String ¶
func (s PutJobFailureResultOutput) String() string
String returns the string representation
type PutJobSuccessResultInput ¶
type PutJobSuccessResultInput struct { // A token generated by a job worker, such as an AWS CodeDeploy deployment ID, // that a successful job provides to identify a custom action in progress. Future // jobs will use this token in order to identify the running instance of the // action. It can be reused to return additional information about the progress // of the custom action. When the action is complete, no continuation token // should be supplied. ContinuationToken *string `locationName:"continuationToken" type:"string"` // The ID of the current revision of the artifact successfully worked upon by // the job. CurrentRevision *CurrentRevision `locationName:"currentRevision" type:"structure"` // The execution details of the successful job, such as the actions taken by // the job worker. ExecutionDetails *ExecutionDetails `locationName:"executionDetails" type:"structure"` // The unique system-generated ID of the job that succeeded. This is the same // ID returned from PollForJobs. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a put job success result action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResultInput
func (PutJobSuccessResultInput) GoString ¶
func (s PutJobSuccessResultInput) GoString() string
GoString returns the string representation
func (*PutJobSuccessResultInput) SetContinuationToken ¶ added in v1.5.0
func (s *PutJobSuccessResultInput) SetContinuationToken(v string) *PutJobSuccessResultInput
SetContinuationToken sets the ContinuationToken field's value.
func (*PutJobSuccessResultInput) SetCurrentRevision ¶ added in v1.5.0
func (s *PutJobSuccessResultInput) SetCurrentRevision(v *CurrentRevision) *PutJobSuccessResultInput
SetCurrentRevision sets the CurrentRevision field's value.
func (*PutJobSuccessResultInput) SetExecutionDetails ¶ added in v1.5.0
func (s *PutJobSuccessResultInput) SetExecutionDetails(v *ExecutionDetails) *PutJobSuccessResultInput
SetExecutionDetails sets the ExecutionDetails field's value.
func (*PutJobSuccessResultInput) SetJobId ¶ added in v1.5.0
func (s *PutJobSuccessResultInput) SetJobId(v string) *PutJobSuccessResultInput
SetJobId sets the JobId field's value.
func (PutJobSuccessResultInput) String ¶
func (s PutJobSuccessResultInput) String() string
String returns the string representation
func (*PutJobSuccessResultInput) Validate ¶ added in v1.1.21
func (s *PutJobSuccessResultInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutJobSuccessResultOutput ¶
type PutJobSuccessResultOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResultOutput
func (PutJobSuccessResultOutput) GoString ¶
func (s PutJobSuccessResultOutput) GoString() string
GoString returns the string representation
func (PutJobSuccessResultOutput) String ¶
func (s PutJobSuccessResultOutput) String() string
String returns the string representation
type PutThirdPartyJobFailureResultInput ¶
type PutThirdPartyJobFailureResultInput struct { // 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. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" type:"string" required:"true"` // Represents information about failure details. // // FailureDetails is a required field FailureDetails *FailureDetails `locationName:"failureDetails" type:"structure" required:"true"` // The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs. // // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a third party job failure result action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResultInput
func (PutThirdPartyJobFailureResultInput) GoString ¶
func (s PutThirdPartyJobFailureResultInput) GoString() string
GoString returns the string representation
func (*PutThirdPartyJobFailureResultInput) SetClientToken ¶ added in v1.5.0
func (s *PutThirdPartyJobFailureResultInput) SetClientToken(v string) *PutThirdPartyJobFailureResultInput
SetClientToken sets the ClientToken field's value.
func (*PutThirdPartyJobFailureResultInput) SetFailureDetails ¶ added in v1.5.0
func (s *PutThirdPartyJobFailureResultInput) SetFailureDetails(v *FailureDetails) *PutThirdPartyJobFailureResultInput
SetFailureDetails sets the FailureDetails field's value.
func (*PutThirdPartyJobFailureResultInput) SetJobId ¶ added in v1.5.0
func (s *PutThirdPartyJobFailureResultInput) SetJobId(v string) *PutThirdPartyJobFailureResultInput
SetJobId sets the JobId field's value.
func (PutThirdPartyJobFailureResultInput) String ¶
func (s PutThirdPartyJobFailureResultInput) String() string
String returns the string representation
func (*PutThirdPartyJobFailureResultInput) Validate ¶ added in v1.1.21
func (s *PutThirdPartyJobFailureResultInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutThirdPartyJobFailureResultOutput ¶
type PutThirdPartyJobFailureResultOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResultOutput
func (PutThirdPartyJobFailureResultOutput) GoString ¶
func (s PutThirdPartyJobFailureResultOutput) GoString() string
GoString returns the string representation
func (PutThirdPartyJobFailureResultOutput) String ¶
func (s PutThirdPartyJobFailureResultOutput) String() string
String returns the string representation
type PutThirdPartyJobSuccessResultInput ¶
type PutThirdPartyJobSuccessResultInput struct { // 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. // // ClientToken is a required field ClientToken *string `locationName:"clientToken" type:"string" required:"true"` // A token generated by a job worker, such as an AWS CodeDeploy deployment ID, // that a successful job provides to identify a partner action in progress. // Future jobs will use this token in order to identify the running instance // of the action. It can be reused to return additional information about the // progress of the partner action. When the action is complete, no continuation // token should be supplied. ContinuationToken *string `locationName:"continuationToken" type:"string"` // Represents information about a current revision. CurrentRevision *CurrentRevision `locationName:"currentRevision" type:"structure"` // The details of the actions taken and results produced on an artifact as it // passes through stages in the pipeline. ExecutionDetails *ExecutionDetails `locationName:"executionDetails" type:"structure"` // The ID of the job that successfully completed. This is the same ID returned // from PollForThirdPartyJobs. // // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a put third party job success result action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResultInput
func (PutThirdPartyJobSuccessResultInput) GoString ¶
func (s PutThirdPartyJobSuccessResultInput) GoString() string
GoString returns the string representation
func (*PutThirdPartyJobSuccessResultInput) SetClientToken ¶ added in v1.5.0
func (s *PutThirdPartyJobSuccessResultInput) SetClientToken(v string) *PutThirdPartyJobSuccessResultInput
SetClientToken sets the ClientToken field's value.
func (*PutThirdPartyJobSuccessResultInput) SetContinuationToken ¶ added in v1.5.0
func (s *PutThirdPartyJobSuccessResultInput) SetContinuationToken(v string) *PutThirdPartyJobSuccessResultInput
SetContinuationToken sets the ContinuationToken field's value.
func (*PutThirdPartyJobSuccessResultInput) SetCurrentRevision ¶ added in v1.5.0
func (s *PutThirdPartyJobSuccessResultInput) SetCurrentRevision(v *CurrentRevision) *PutThirdPartyJobSuccessResultInput
SetCurrentRevision sets the CurrentRevision field's value.
func (*PutThirdPartyJobSuccessResultInput) SetExecutionDetails ¶ added in v1.5.0
func (s *PutThirdPartyJobSuccessResultInput) SetExecutionDetails(v *ExecutionDetails) *PutThirdPartyJobSuccessResultInput
SetExecutionDetails sets the ExecutionDetails field's value.
func (*PutThirdPartyJobSuccessResultInput) SetJobId ¶ added in v1.5.0
func (s *PutThirdPartyJobSuccessResultInput) SetJobId(v string) *PutThirdPartyJobSuccessResultInput
SetJobId sets the JobId field's value.
func (PutThirdPartyJobSuccessResultInput) String ¶
func (s PutThirdPartyJobSuccessResultInput) String() string
String returns the string representation
func (*PutThirdPartyJobSuccessResultInput) Validate ¶ added in v1.1.21
func (s *PutThirdPartyJobSuccessResultInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutThirdPartyJobSuccessResultOutput ¶
type PutThirdPartyJobSuccessResultOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResultOutput
func (PutThirdPartyJobSuccessResultOutput) GoString ¶
func (s PutThirdPartyJobSuccessResultOutput) GoString() string
GoString returns the string representation
func (PutThirdPartyJobSuccessResultOutput) String ¶
func (s PutThirdPartyJobSuccessResultOutput) String() string
String returns the string representation
type RetryStageExecutionInput ¶ added in v1.1.36
type RetryStageExecutionInput struct { // The ID of the pipeline execution in the failed stage to be retried. Use the // GetPipelineState action to retrieve the current pipelineExecutionId of the // failed stage // // PipelineExecutionId is a required field PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string" required:"true"` // The name of the pipeline that contains the failed stage. // // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` // The scope of the retry attempt. Currently, the only supported value is FAILED_ACTIONS. // // RetryMode is a required field RetryMode *string `locationName:"retryMode" type:"string" required:"true" enum:"StageRetryMode"` // The name of the failed stage to be retried. // // StageName is a required field StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a retry stage execution action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecutionInput
func (RetryStageExecutionInput) GoString ¶ added in v1.1.36
func (s RetryStageExecutionInput) GoString() string
GoString returns the string representation
func (*RetryStageExecutionInput) SetPipelineExecutionId ¶ added in v1.5.0
func (s *RetryStageExecutionInput) SetPipelineExecutionId(v string) *RetryStageExecutionInput
SetPipelineExecutionId sets the PipelineExecutionId field's value.
func (*RetryStageExecutionInput) SetPipelineName ¶ added in v1.5.0
func (s *RetryStageExecutionInput) SetPipelineName(v string) *RetryStageExecutionInput
SetPipelineName sets the PipelineName field's value.
func (*RetryStageExecutionInput) SetRetryMode ¶ added in v1.5.0
func (s *RetryStageExecutionInput) SetRetryMode(v string) *RetryStageExecutionInput
SetRetryMode sets the RetryMode field's value.
func (*RetryStageExecutionInput) SetStageName ¶ added in v1.5.0
func (s *RetryStageExecutionInput) SetStageName(v string) *RetryStageExecutionInput
SetStageName sets the StageName field's value.
func (RetryStageExecutionInput) String ¶ added in v1.1.36
func (s RetryStageExecutionInput) String() string
String returns the string representation
func (*RetryStageExecutionInput) Validate ¶ added in v1.1.36
func (s *RetryStageExecutionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RetryStageExecutionOutput ¶ added in v1.1.36
type RetryStageExecutionOutput struct { // The ID of the current workflow execution in the failed stage. PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"` // contains filtered or unexported fields }
Represents the output of a retry stage execution action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecutionOutput
func (RetryStageExecutionOutput) GoString ¶ added in v1.1.36
func (s RetryStageExecutionOutput) GoString() string
GoString returns the string representation
func (*RetryStageExecutionOutput) SetPipelineExecutionId ¶ added in v1.5.0
func (s *RetryStageExecutionOutput) SetPipelineExecutionId(v string) *RetryStageExecutionOutput
SetPipelineExecutionId sets the PipelineExecutionId field's value.
func (RetryStageExecutionOutput) String ¶ added in v1.1.36
func (s RetryStageExecutionOutput) String() string
String returns the string representation
type S3ArtifactLocation ¶
type S3ArtifactLocation struct { // The name of the Amazon S3 bucket. // // BucketName is a required field BucketName *string `locationName:"bucketName" type:"string" required:"true"` // The key of the object in the Amazon S3 bucket, which uniquely identifies // the object in the bucket. // // ObjectKey is a required field ObjectKey *string `locationName:"objectKey" type:"string" required:"true"` // contains filtered or unexported fields }
The location of the Amazon S3 bucket that contains a revision. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/S3ArtifactLocation
func (S3ArtifactLocation) GoString ¶
func (s S3ArtifactLocation) GoString() string
GoString returns the string representation
func (*S3ArtifactLocation) SetBucketName ¶ added in v1.5.0
func (s *S3ArtifactLocation) SetBucketName(v string) *S3ArtifactLocation
SetBucketName sets the BucketName field's value.
func (*S3ArtifactLocation) SetObjectKey ¶ added in v1.5.0
func (s *S3ArtifactLocation) SetObjectKey(v string) *S3ArtifactLocation
SetObjectKey sets the ObjectKey field's value.
func (S3ArtifactLocation) String ¶
func (s S3ArtifactLocation) String() string
String returns the string representation
type StageContext ¶
type StageContext struct { // The name of the stage. Name *string `locationName:"name" min:"1" type:"string"` // contains filtered or unexported fields }
Represents information about a stage to a job worker. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageContext
func (StageContext) GoString ¶
func (s StageContext) GoString() string
GoString returns the string representation
func (*StageContext) SetName ¶ added in v1.5.0
func (s *StageContext) SetName(v string) *StageContext
SetName sets the Name field's value.
func (StageContext) String ¶
func (s StageContext) String() string
String returns the string representation
type StageDeclaration ¶
type StageDeclaration struct { // The actions included in a stage. // // Actions is a required field Actions []*ActionDeclaration `locationName:"actions" type:"list" required:"true"` // Reserved for future use. Blockers []*BlockerDeclaration `locationName:"blockers" type:"list"` // The name of the stage. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents information about a stage and its definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageDeclaration
func (StageDeclaration) GoString ¶
func (s StageDeclaration) GoString() string
GoString returns the string representation
func (*StageDeclaration) SetActions ¶ added in v1.5.0
func (s *StageDeclaration) SetActions(v []*ActionDeclaration) *StageDeclaration
SetActions sets the Actions field's value.
func (*StageDeclaration) SetBlockers ¶ added in v1.5.0
func (s *StageDeclaration) SetBlockers(v []*BlockerDeclaration) *StageDeclaration
SetBlockers sets the Blockers field's value.
func (*StageDeclaration) SetName ¶ added in v1.5.0
func (s *StageDeclaration) SetName(v string) *StageDeclaration
SetName sets the Name field's value.
func (StageDeclaration) String ¶
func (s StageDeclaration) String() string
String returns the string representation
func (*StageDeclaration) Validate ¶ added in v1.1.21
func (s *StageDeclaration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StageExecution ¶ added in v1.1.36
type StageExecution struct { // The ID of the pipeline execution associated with the stage. // // PipelineExecutionId is a required field PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string" required:"true"` // The status of the stage, or for a completed stage, the last status of the // stage. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"StageExecutionStatus"` // contains filtered or unexported fields }
Represents information about the run of a stage. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageExecution
func (StageExecution) GoString ¶ added in v1.1.36
func (s StageExecution) GoString() string
GoString returns the string representation
func (*StageExecution) SetPipelineExecutionId ¶ added in v1.5.0
func (s *StageExecution) SetPipelineExecutionId(v string) *StageExecution
SetPipelineExecutionId sets the PipelineExecutionId field's value.
func (*StageExecution) SetStatus ¶ added in v1.5.0
func (s *StageExecution) SetStatus(v string) *StageExecution
SetStatus sets the Status field's value.
func (StageExecution) String ¶ added in v1.1.36
func (s StageExecution) String() string
String returns the string representation
type StageState ¶
type StageState struct { // The state of the stage. ActionStates []*ActionState `locationName:"actionStates" type:"list"` // The state of the inbound transition, which is either enabled or disabled. InboundTransitionState *TransitionState `locationName:"inboundTransitionState" type:"structure"` // Information about the latest execution in the stage, including its ID and // status. LatestExecution *StageExecution `locationName:"latestExecution" type:"structure"` // The name of the stage. StageName *string `locationName:"stageName" min:"1" type:"string"` // contains filtered or unexported fields }
Represents information about the state of the stage. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageState
func (StageState) GoString ¶
func (s StageState) GoString() string
GoString returns the string representation
func (*StageState) SetActionStates ¶ added in v1.5.0
func (s *StageState) SetActionStates(v []*ActionState) *StageState
SetActionStates sets the ActionStates field's value.
func (*StageState) SetInboundTransitionState ¶ added in v1.5.0
func (s *StageState) SetInboundTransitionState(v *TransitionState) *StageState
SetInboundTransitionState sets the InboundTransitionState field's value.
func (*StageState) SetLatestExecution ¶ added in v1.5.0
func (s *StageState) SetLatestExecution(v *StageExecution) *StageState
SetLatestExecution sets the LatestExecution field's value.
func (*StageState) SetStageName ¶ added in v1.5.0
func (s *StageState) SetStageName(v string) *StageState
SetStageName sets the StageName field's value.
func (StageState) String ¶
func (s StageState) String() string
String returns the string representation
type StartPipelineExecutionInput ¶
type StartPipelineExecutionInput struct { // The name of the pipeline to start. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a start pipeline execution action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecutionInput
func (StartPipelineExecutionInput) GoString ¶
func (s StartPipelineExecutionInput) GoString() string
GoString returns the string representation
func (*StartPipelineExecutionInput) SetName ¶ added in v1.5.0
func (s *StartPipelineExecutionInput) SetName(v string) *StartPipelineExecutionInput
SetName sets the Name field's value.
func (StartPipelineExecutionInput) String ¶
func (s StartPipelineExecutionInput) String() string
String returns the string representation
func (*StartPipelineExecutionInput) Validate ¶ added in v1.1.21
func (s *StartPipelineExecutionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartPipelineExecutionOutput ¶
type StartPipelineExecutionOutput struct { // The unique system-generated ID of the pipeline execution that was started. PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"` // contains filtered or unexported fields }
Represents the output of a start pipeline execution action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecutionOutput
func (StartPipelineExecutionOutput) GoString ¶
func (s StartPipelineExecutionOutput) GoString() string
GoString returns the string representation
func (*StartPipelineExecutionOutput) SetPipelineExecutionId ¶ added in v1.5.0
func (s *StartPipelineExecutionOutput) SetPipelineExecutionId(v string) *StartPipelineExecutionOutput
SetPipelineExecutionId sets the PipelineExecutionId field's value.
func (StartPipelineExecutionOutput) String ¶
func (s StartPipelineExecutionOutput) String() string
String returns the string representation
type ThirdPartyJob ¶
type ThirdPartyJob struct { // 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 `locationName:"clientId" type:"string"` // The identifier used to identify the job in AWS CodePipeline. JobId *string `locationName:"jobId" type:"string"` // contains filtered or unexported fields }
A response to a PollForThirdPartyJobs request returned by AWS CodePipeline when there is a job to be worked upon by a partner action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJob
func (ThirdPartyJob) GoString ¶
func (s ThirdPartyJob) GoString() string
GoString returns the string representation
func (*ThirdPartyJob) SetClientId ¶ added in v1.5.0
func (s *ThirdPartyJob) SetClientId(v string) *ThirdPartyJob
SetClientId sets the ClientId field's value.
func (*ThirdPartyJob) SetJobId ¶ added in v1.5.0
func (s *ThirdPartyJob) SetJobId(v string) *ThirdPartyJob
SetJobId sets the JobId field's value.
func (ThirdPartyJob) String ¶
func (s ThirdPartyJob) String() string
String returns the string representation
type ThirdPartyJobData ¶
type ThirdPartyJobData struct { // Represents information about an action configuration. ActionConfiguration *ActionConfiguration `locationName:"actionConfiguration" type:"structure"` // Represents information about an action type. ActionTypeId *ActionTypeId `locationName:"actionTypeId" type:"structure"` // 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 Amazon S3 bucket used to // store artifact for the pipeline in AWS CodePipeline. ArtifactCredentials *AWSSessionCredentials `locationName:"artifactCredentials" type:"structure"` // A system-generated token, such as a AWS CodeDeploy deployment ID, that a // job requires in order to continue the job asynchronously. ContinuationToken *string `locationName:"continuationToken" type:"string"` // 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 `locationName:"encryptionKey" type:"structure"` // The name of the artifact that will be worked upon by the action, if any. // This name might be system-generated, such as "MyApp", or 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 `locationName:"inputArtifacts" type:"list"` // The name of the artifact that will be the result of the action, if any. This // name might be system-generated, such as "MyBuiltApp", or might be defined // by the user when the action is created. OutputArtifacts []*Artifact `locationName:"outputArtifacts" type:"list"` // Represents information about a pipeline to a job worker. PipelineContext *PipelineContext `locationName:"pipelineContext" type:"structure"` // contains filtered or unexported fields }
Represents information about the job data for a partner action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJobData
func (ThirdPartyJobData) GoString ¶
func (s ThirdPartyJobData) GoString() string
GoString returns the string representation
func (*ThirdPartyJobData) SetActionConfiguration ¶ added in v1.5.0
func (s *ThirdPartyJobData) SetActionConfiguration(v *ActionConfiguration) *ThirdPartyJobData
SetActionConfiguration sets the ActionConfiguration field's value.
func (*ThirdPartyJobData) SetActionTypeId ¶ added in v1.5.0
func (s *ThirdPartyJobData) SetActionTypeId(v *ActionTypeId) *ThirdPartyJobData
SetActionTypeId sets the ActionTypeId field's value.
func (*ThirdPartyJobData) SetArtifactCredentials ¶ added in v1.5.0
func (s *ThirdPartyJobData) SetArtifactCredentials(v *AWSSessionCredentials) *ThirdPartyJobData
SetArtifactCredentials sets the ArtifactCredentials field's value.
func (*ThirdPartyJobData) SetContinuationToken ¶ added in v1.5.0
func (s *ThirdPartyJobData) SetContinuationToken(v string) *ThirdPartyJobData
SetContinuationToken sets the ContinuationToken field's value.
func (*ThirdPartyJobData) SetEncryptionKey ¶ added in v1.5.0
func (s *ThirdPartyJobData) SetEncryptionKey(v *EncryptionKey) *ThirdPartyJobData
SetEncryptionKey sets the EncryptionKey field's value.
func (*ThirdPartyJobData) SetInputArtifacts ¶ added in v1.5.0
func (s *ThirdPartyJobData) SetInputArtifacts(v []*Artifact) *ThirdPartyJobData
SetInputArtifacts sets the InputArtifacts field's value.
func (*ThirdPartyJobData) SetOutputArtifacts ¶ added in v1.5.0
func (s *ThirdPartyJobData) SetOutputArtifacts(v []*Artifact) *ThirdPartyJobData
SetOutputArtifacts sets the OutputArtifacts field's value.
func (*ThirdPartyJobData) SetPipelineContext ¶ added in v1.5.0
func (s *ThirdPartyJobData) SetPipelineContext(v *PipelineContext) *ThirdPartyJobData
SetPipelineContext sets the PipelineContext field's value.
func (ThirdPartyJobData) String ¶
func (s ThirdPartyJobData) String() string
String returns the string representation
type ThirdPartyJobDetails ¶
type ThirdPartyJobDetails struct { // The data to be returned by the third party job worker. Data *ThirdPartyJobData `locationName:"data" type:"structure"` // The identifier used to identify the job details in AWS CodePipeline. Id *string `locationName:"id" min:"1" type:"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 // AcknowledgeThirdPartyJob request. Nonce *string `locationName:"nonce" type:"string"` // contains filtered or unexported fields }
The details of a job sent in response to a GetThirdPartyJobDetails request. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJobDetails
func (ThirdPartyJobDetails) GoString ¶
func (s ThirdPartyJobDetails) GoString() string
GoString returns the string representation
func (*ThirdPartyJobDetails) SetData ¶ added in v1.5.0
func (s *ThirdPartyJobDetails) SetData(v *ThirdPartyJobData) *ThirdPartyJobDetails
SetData sets the Data field's value.
func (*ThirdPartyJobDetails) SetId ¶ added in v1.5.0
func (s *ThirdPartyJobDetails) SetId(v string) *ThirdPartyJobDetails
SetId sets the Id field's value.
func (*ThirdPartyJobDetails) SetNonce ¶ added in v1.5.0
func (s *ThirdPartyJobDetails) SetNonce(v string) *ThirdPartyJobDetails
SetNonce sets the Nonce field's value.
func (ThirdPartyJobDetails) String ¶
func (s ThirdPartyJobDetails) String() string
String returns the string representation
type TransitionState ¶
type TransitionState struct { // The user-specified reason why the transition between two stages of a pipeline // was disabled. DisabledReason *string `locationName:"disabledReason" min:"1" type:"string"` // Whether the transition between stages is enabled (true) or disabled (false). Enabled *bool `locationName:"enabled" type:"boolean"` // The timestamp when the transition state was last changed. LastChangedAt *time.Time `locationName:"lastChangedAt" type:"timestamp" timestampFormat:"unix"` // The ID of the user who last changed the transition state. LastChangedBy *string `locationName:"lastChangedBy" type:"string"` // contains filtered or unexported fields }
Represents information about the state of transitions between one stage and another stage. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/TransitionState
func (TransitionState) GoString ¶
func (s TransitionState) GoString() string
GoString returns the string representation
func (*TransitionState) SetDisabledReason ¶ added in v1.5.0
func (s *TransitionState) SetDisabledReason(v string) *TransitionState
SetDisabledReason sets the DisabledReason field's value.
func (*TransitionState) SetEnabled ¶ added in v1.5.0
func (s *TransitionState) SetEnabled(v bool) *TransitionState
SetEnabled sets the Enabled field's value.
func (*TransitionState) SetLastChangedAt ¶ added in v1.5.0
func (s *TransitionState) SetLastChangedAt(v time.Time) *TransitionState
SetLastChangedAt sets the LastChangedAt field's value.
func (*TransitionState) SetLastChangedBy ¶ added in v1.5.0
func (s *TransitionState) SetLastChangedBy(v string) *TransitionState
SetLastChangedBy sets the LastChangedBy field's value.
func (TransitionState) String ¶
func (s TransitionState) String() string
String returns the string representation
type UpdatePipelineInput ¶
type UpdatePipelineInput struct { // The name of the pipeline to be updated. // // Pipeline is a required field Pipeline *PipelineDeclaration `locationName:"pipeline" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the input of an update pipeline action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipelineInput
func (UpdatePipelineInput) GoString ¶
func (s UpdatePipelineInput) GoString() string
GoString returns the string representation
func (*UpdatePipelineInput) SetPipeline ¶ added in v1.5.0
func (s *UpdatePipelineInput) SetPipeline(v *PipelineDeclaration) *UpdatePipelineInput
SetPipeline sets the Pipeline field's value.
func (UpdatePipelineInput) String ¶
func (s UpdatePipelineInput) String() string
String returns the string representation
func (*UpdatePipelineInput) Validate ¶ added in v1.1.21
func (s *UpdatePipelineInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdatePipelineOutput ¶
type UpdatePipelineOutput struct { // The structure of the updated pipeline. Pipeline *PipelineDeclaration `locationName:"pipeline" type:"structure"` // contains filtered or unexported fields }
Represents the output of an update pipeline action. Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipelineOutput
func (UpdatePipelineOutput) GoString ¶
func (s UpdatePipelineOutput) GoString() string
GoString returns the string representation
func (*UpdatePipelineOutput) SetPipeline ¶ added in v1.5.0
func (s *UpdatePipelineOutput) SetPipeline(v *PipelineDeclaration) *UpdatePipelineOutput
SetPipeline sets the Pipeline field's value.
func (UpdatePipelineOutput) String ¶
func (s UpdatePipelineOutput) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package codepipelineiface provides an interface to enable mocking the AWS CodePipeline service client for testing your code.
|
Package codepipelineiface provides an interface to enable mocking the AWS CodePipeline service client for testing your code. |