AWS SDK for Go (PILOT)
API Reference

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

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

CodePipeline

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

type CodePipeline struct { *client.Client }

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.

Client

Type: *client.Client

Method

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJob

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AcknowledgeJob for more information on using the AcknowledgeJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJob

AcknowledgeJobWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJob

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AcknowledgeThirdPartyJob for more information on using the AcknowledgeThirdPartyJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJob

AcknowledgeThirdPartyJobWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionType

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateCustomActionType for more information on using the CreateCustomActionType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionType

CreateCustomActionTypeWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipeline

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePipeline for more information on using the CreatePipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipeline

CreatePipelineWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

To re-create a custom action after it has been deleted you must use a string in the version field that has never been used before. This string can be an incremented version number, for example. To restore a deleted custom action, use a JSON file that is identical to the deleted action, including the original string in the version field.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionType

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteCustomActionType for more information on using the DeleteCustomActionType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionType

DeleteCustomActionTypeWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipeline

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePipeline for more information on using the DeletePipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipeline

DeletePipelineWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

DeleteWebhook

func (c *CodePipeline) DeleteWebhook(input *DeleteWebhookInput) (*DeleteWebhookOutput, error)

DeleteWebhook API operation for AWS CodePipeline.

Deletes a previously created webhook by name. Deleting the webhook stops AWS CodePipeline from starting a pipeline every time an external event occurs. The API will return successfully when trying to delete a webhook that is already deleted. If a deleted webhook is re-created by calling PutWebhook with the same name, it will have a different URL.

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 DeleteWebhook for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteWebhook

DeleteWebhookRequest

func (c *CodePipeline) DeleteWebhookRequest(input *DeleteWebhookInput) (req *request.Request, output *DeleteWebhookOutput)

DeleteWebhookRequest generates a "aws/request.Request" representing the client's request for the DeleteWebhook operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteWebhook for more information on using the DeleteWebhook API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteWebhookRequest method. req, resp := client.DeleteWebhookRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteWebhook

DeleteWebhookWithContext

func (c *CodePipeline) DeleteWebhookWithContext(ctx aws.Context, input *DeleteWebhookInput, opts ...request.Option) (*DeleteWebhookOutput, error)

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

See DeleteWebhook 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.

See Also

For more information about using this API, see AWS API Documentation.

DeregisterWebhookWithThirdParty

func (c *CodePipeline) DeregisterWebhookWithThirdParty(input *DeregisterWebhookWithThirdPartyInput) (*DeregisterWebhookWithThirdPartyOutput, error)

DeregisterWebhookWithThirdParty API operation for AWS CodePipeline.

Removes the connection between the webhook that was created by CodePipeline and the external tool with events to be detected. Currently only supported for webhooks that target an action type of GitHub.

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 DeregisterWebhookWithThirdParty for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.

  • ErrCodeWebhookNotFoundException "WebhookNotFoundException" The specified webhook was entered in an invalid format or cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeregisterWebhookWithThirdParty

DeregisterWebhookWithThirdPartyRequest

func (c *CodePipeline) DeregisterWebhookWithThirdPartyRequest(input *DeregisterWebhookWithThirdPartyInput) (req *request.Request, output *DeregisterWebhookWithThirdPartyOutput)

DeregisterWebhookWithThirdPartyRequest generates a "aws/request.Request" representing the client's request for the DeregisterWebhookWithThirdParty operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeregisterWebhookWithThirdParty for more information on using the DeregisterWebhookWithThirdParty API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeregisterWebhookWithThirdPartyRequest method. req, resp := client.DeregisterWebhookWithThirdPartyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeregisterWebhookWithThirdParty

DeregisterWebhookWithThirdPartyWithContext

func (c *CodePipeline) DeregisterWebhookWithThirdPartyWithContext(ctx aws.Context, input *DeregisterWebhookWithThirdPartyInput, opts ...request.Option) (*DeregisterWebhookWithThirdPartyOutput, error)

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

See DeregisterWebhookWithThirdParty 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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransition

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisableStageTransition for more information on using the DisableStageTransition API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransition

DisableStageTransitionWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransition

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableStageTransition for more information on using the EnableStageTransition API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransition

EnableStageTransitionWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetails

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetJobDetails for more information on using the GetJobDetails API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetails

GetJobDetailsWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipeline

GetPipelineExecution

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecution

GetPipelineExecutionRequest

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPipelineExecution for more information on using the GetPipelineExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecution

GetPipelineExecutionWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPipeline for more information on using the GetPipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipeline

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineState

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPipelineState for more information on using the GetPipelineState API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineState

GetPipelineStateWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

GetPipelineWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetails

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetThirdPartyJobDetails for more information on using the GetThirdPartyJobDetails API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetails

GetThirdPartyJobDetailsWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypes

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListActionTypes for more information on using the ListActionTypes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypes

ListActionTypesWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

ListPipelineExecutions

func (c *CodePipeline) ListPipelineExecutions(input *ListPipelineExecutionsInput) (*ListPipelineExecutionsOutput, error)

ListPipelineExecutions API operation for AWS CodePipeline.

Gets a summary of the most recent executions for 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 ListPipelineExecutions 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.

  • 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions

ListPipelineExecutionsRequest

func (c *CodePipeline) ListPipelineExecutionsRequest(input *ListPipelineExecutionsInput) (req *request.Request, output *ListPipelineExecutionsOutput)

ListPipelineExecutionsRequest generates a "aws/request.Request" representing the client's request for the ListPipelineExecutions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPipelineExecutions for more information on using the ListPipelineExecutions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPipelineExecutionsRequest method. req, resp := client.ListPipelineExecutionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions

ListPipelineExecutionsWithContext

func (c *CodePipeline) ListPipelineExecutionsWithContext(ctx aws.Context, input *ListPipelineExecutionsInput, opts ...request.Option) (*ListPipelineExecutionsOutput, error)

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

See ListPipelineExecutions 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.

See Also

For more information about using this API, see AWS API Documentation.

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:

  • 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelines

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPipelines for more information on using the ListPipelines API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelines

ListPipelinesWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

ListWebhooks

func (c *CodePipeline) ListWebhooks(input *ListWebhooksInput) (*ListWebhooksOutput, error)

ListWebhooks API operation for AWS CodePipeline.

Gets a listing of all the webhooks in this region for this account. The output lists all webhooks and includes the webhook URL and ARN, as well the configuration for each webhook.

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 ListWebhooks 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListWebhooks

ListWebhooksRequest

func (c *CodePipeline) ListWebhooksRequest(input *ListWebhooksInput) (req *request.Request, output *ListWebhooksOutput)

ListWebhooksRequest generates a "aws/request.Request" representing the client's request for the ListWebhooks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListWebhooks for more information on using the ListWebhooks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListWebhooksRequest method. req, resp := client.ListWebhooksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListWebhooks

ListWebhooksWithContext

func (c *CodePipeline) ListWebhooksWithContext(ctx aws.Context, input *ListWebhooksInput, opts ...request.Option) (*ListWebhooksOutput, error)

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

See ListWebhooks 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.

See Also

For more information about using this API, see AWS API Documentation.

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. PollForJobs is only valid for action types with "Custom" in the owner field. If the action type contains "AWS" or "ThirdParty" in the owner field, the PollForJobs action returns an error.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobs

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PollForJobs for more information on using the PollForJobs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobs

PollForJobsWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobs

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PollForThirdPartyJobs for more information on using the PollForThirdPartyJobs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobs

PollForThirdPartyJobsWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutActionRevision for more information on using the PutActionRevision API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision

PutActionRevisionWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

PutApprovalResult

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResult

PutApprovalResultRequest

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutApprovalResult for more information on using the PutApprovalResult API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResult

PutApprovalResultWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResult

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutJobFailureResult for more information on using the PutJobFailureResult API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResult

PutJobFailureResultWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResult

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutJobSuccessResult for more information on using the PutJobSuccessResult API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResult

PutJobSuccessResultWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResult

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutThirdPartyJobFailureResult for more information on using the PutThirdPartyJobFailureResult API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResult

PutThirdPartyJobFailureResultWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutThirdPartyJobSuccessResult for more information on using the PutThirdPartyJobSuccessResult API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult

PutThirdPartyJobSuccessResultWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

PutWebhook

func (c *CodePipeline) PutWebhook(input *PutWebhookInput) (*PutWebhookOutput, error)

PutWebhook API operation for AWS CodePipeline.

Defines a webhook and returns a unique webhook URL generated by CodePipeline. This URL can be supplied to third party source hosting providers to call every time there's a code change. When CodePipeline receives a POST request on this URL, the pipeline defined in the webhook is started as long as the POST request satisfied the authentication and filtering requirements supplied when defining the webhook. RegisterWebhookWithThirdParty and DeregisterWebhookWithThirdParty APIs can be used to automatically configure supported third parties to call the generated webhook URL.

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 PutWebhook 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.

  • ErrCodeInvalidWebhookFilterPatternException "InvalidWebhookFilterPatternException" The specified event filter rule is in an invalid format.

  • ErrCodeInvalidWebhookAuthenticationParametersException "InvalidWebhookAuthenticationParametersException" The specified authentication type is in an invalid format.

  • ErrCodePipelineNotFoundException "PipelineNotFoundException" The specified pipeline was specified in an invalid format or cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutWebhook

PutWebhookRequest

func (c *CodePipeline) PutWebhookRequest(input *PutWebhookInput) (req *request.Request, output *PutWebhookOutput)

PutWebhookRequest generates a "aws/request.Request" representing the client's request for the PutWebhook operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutWebhook for more information on using the PutWebhook API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutWebhookRequest method. req, resp := client.PutWebhookRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutWebhook

PutWebhookWithContext

func (c *CodePipeline) PutWebhookWithContext(ctx aws.Context, input *PutWebhookInput, opts ...request.Option) (*PutWebhookOutput, error)

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

See PutWebhook 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.

See Also

For more information about using this API, see AWS API Documentation.

RegisterWebhookWithThirdParty

func (c *CodePipeline) RegisterWebhookWithThirdParty(input *RegisterWebhookWithThirdPartyInput) (*RegisterWebhookWithThirdPartyOutput, error)

RegisterWebhookWithThirdParty API operation for AWS CodePipeline.

Configures a connection between the webhook that was created and the external tool with events to be detected.

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 RegisterWebhookWithThirdParty for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" The validation was specified in an invalid format.

  • ErrCodeWebhookNotFoundException "WebhookNotFoundException" The specified webhook was entered in an invalid format or cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RegisterWebhookWithThirdParty

RegisterWebhookWithThirdPartyRequest

func (c *CodePipeline) RegisterWebhookWithThirdPartyRequest(input *RegisterWebhookWithThirdPartyInput) (req *request.Request, output *RegisterWebhookWithThirdPartyOutput)

RegisterWebhookWithThirdPartyRequest generates a "aws/request.Request" representing the client's request for the RegisterWebhookWithThirdParty operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RegisterWebhookWithThirdParty for more information on using the RegisterWebhookWithThirdParty API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RegisterWebhookWithThirdPartyRequest method. req, resp := client.RegisterWebhookWithThirdPartyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RegisterWebhookWithThirdParty

RegisterWebhookWithThirdPartyWithContext

func (c *CodePipeline) RegisterWebhookWithThirdPartyWithContext(ctx aws.Context, input *RegisterWebhookWithThirdPartyInput, opts ...request.Option) (*RegisterWebhookWithThirdPartyOutput, error)

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

See RegisterWebhookWithThirdParty 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.

See Also

For more information about using this API, see AWS API Documentation.

RetryStageExecution

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecution

RetryStageExecutionRequest

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RetryStageExecution for more information on using the RetryStageExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecution

RetryStageExecutionWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecution

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartPipelineExecution for more information on using the StartPipelineExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecution

StartPipelineExecutionWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

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.

  • ErrCodeLimitExceededException "LimitExceededException" The number of pipelines associated with the AWS account has exceeded the limit allowed for the account.

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline

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 will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePipeline for more information on using the UpdatePipeline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// 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) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline

UpdatePipelineWithContext

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.

See Also

For more information about using this API, see AWS API Documentation.

On this page: