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.

CodeDeploy

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

type CodeDeploy struct { *client.Client }

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

CodeDeploy 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

AddTagsToOnPremisesInstances

func (c *CodeDeploy) AddTagsToOnPremisesInstances(input *AddTagsToOnPremisesInstancesInput) (*AddTagsToOnPremisesInstancesOutput, error)

AddTagsToOnPremisesInstances API operation for AWS CodeDeploy.

Adds tags to on-premises instances.

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 CodeDeploy's API operation AddTagsToOnPremisesInstances for usage and error information.

Returned Error Codes:

  • ErrCodeInstanceNameRequiredException "InstanceNameRequiredException" An on-premises instance name was not specified.

  • ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" The on-premises instance name was specified in an invalid format.

  • ErrCodeTagRequiredException "TagRequiredException" A tag was not specified.

  • ErrCodeInvalidTagException "InvalidTagException" The tag was specified in an invalid format.

  • ErrCodeTagLimitExceededException "TagLimitExceededException" The maximum allowed number of tags was exceeded.

  • ErrCodeInstanceLimitExceededException "InstanceLimitExceededException" The maximum number of allowed on-premises instances in a single call was exceeded.

  • ErrCodeInstanceNotRegisteredException "InstanceNotRegisteredException" The specified on-premises instance is not registered.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances

AddTagsToOnPremisesInstancesRequest

func (c *CodeDeploy) AddTagsToOnPremisesInstancesRequest(input *AddTagsToOnPremisesInstancesInput) (req *request.Request, output *AddTagsToOnPremisesInstancesOutput)

AddTagsToOnPremisesInstancesRequest generates a "aws/request.Request" representing the client's request for the AddTagsToOnPremisesInstances 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 AddTagsToOnPremisesInstances for more information on using the AddTagsToOnPremisesInstances 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 AddTagsToOnPremisesInstancesRequest method. req, resp := client.AddTagsToOnPremisesInstancesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances

AddTagsToOnPremisesInstancesWithContext

func (c *CodeDeploy) AddTagsToOnPremisesInstancesWithContext(ctx aws.Context, input *AddTagsToOnPremisesInstancesInput, opts ...request.Option) (*AddTagsToOnPremisesInstancesOutput, error)

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

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

BatchGetApplicationRevisions

func (c *CodeDeploy) BatchGetApplicationRevisions(input *BatchGetApplicationRevisionsInput) (*BatchGetApplicationRevisionsOutput, error)

BatchGetApplicationRevisions API operation for AWS CodeDeploy.

Gets information about one or more application revisions.

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 CodeDeploy's API operation BatchGetApplicationRevisions for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeRevisionRequiredException "RevisionRequiredException" The revision ID was not specified.

  • ErrCodeInvalidRevisionException "InvalidRevisionException" The revision was specified in an invalid format.

  • ErrCodeBatchLimitExceededException "BatchLimitExceededException" The maximum number of names or IDs allowed for this request (100) was exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions

BatchGetApplicationRevisionsRequest

func (c *CodeDeploy) BatchGetApplicationRevisionsRequest(input *BatchGetApplicationRevisionsInput) (req *request.Request, output *BatchGetApplicationRevisionsOutput)

BatchGetApplicationRevisionsRequest generates a "aws/request.Request" representing the client's request for the BatchGetApplicationRevisions 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 BatchGetApplicationRevisions for more information on using the BatchGetApplicationRevisions 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 BatchGetApplicationRevisionsRequest method. req, resp := client.BatchGetApplicationRevisionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions

BatchGetApplicationRevisionsWithContext

func (c *CodeDeploy) BatchGetApplicationRevisionsWithContext(ctx aws.Context, input *BatchGetApplicationRevisionsInput, opts ...request.Option) (*BatchGetApplicationRevisionsOutput, error)

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

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

BatchGetApplications

func (c *CodeDeploy) BatchGetApplications(input *BatchGetApplicationsInput) (*BatchGetApplicationsOutput, error)

BatchGetApplications API operation for AWS CodeDeploy.

Gets information about one or more applications.

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 CodeDeploy's API operation BatchGetApplications for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeBatchLimitExceededException "BatchLimitExceededException" The maximum number of names or IDs allowed for this request (100) was exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications

BatchGetApplicationsRequest

func (c *CodeDeploy) BatchGetApplicationsRequest(input *BatchGetApplicationsInput) (req *request.Request, output *BatchGetApplicationsOutput)

BatchGetApplicationsRequest generates a "aws/request.Request" representing the client's request for the BatchGetApplications 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 BatchGetApplications for more information on using the BatchGetApplications 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 BatchGetApplicationsRequest method. req, resp := client.BatchGetApplicationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications

BatchGetApplicationsWithContext

func (c *CodeDeploy) BatchGetApplicationsWithContext(ctx aws.Context, input *BatchGetApplicationsInput, opts ...request.Option) (*BatchGetApplicationsOutput, error)

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

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

BatchGetDeploymentGroups

func (c *CodeDeploy) BatchGetDeploymentGroups(input *BatchGetDeploymentGroupsInput) (*BatchGetDeploymentGroupsOutput, error)

BatchGetDeploymentGroups API operation for AWS CodeDeploy.

Gets information about one or more deployment groups.

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 CodeDeploy's API operation BatchGetDeploymentGroups for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException" The deployment group name was not specified.

  • ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException" The deployment group name was specified in an invalid format.

  • ErrCodeBatchLimitExceededException "BatchLimitExceededException" The maximum number of names or IDs allowed for this request (100) was exceeded.

  • ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException" The deployment configuration does not exist with the IAM user or AWS account.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups

BatchGetDeploymentGroupsRequest

func (c *CodeDeploy) BatchGetDeploymentGroupsRequest(input *BatchGetDeploymentGroupsInput) (req *request.Request, output *BatchGetDeploymentGroupsOutput)

BatchGetDeploymentGroupsRequest generates a "aws/request.Request" representing the client's request for the BatchGetDeploymentGroups 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 BatchGetDeploymentGroups for more information on using the BatchGetDeploymentGroups 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 BatchGetDeploymentGroupsRequest method. req, resp := client.BatchGetDeploymentGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups

BatchGetDeploymentGroupsWithContext

func (c *CodeDeploy) BatchGetDeploymentGroupsWithContext(ctx aws.Context, input *BatchGetDeploymentGroupsInput, opts ...request.Option) (*BatchGetDeploymentGroupsOutput, error)

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

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

BatchGetDeploymentInstances

func (c *CodeDeploy) BatchGetDeploymentInstances(input *BatchGetDeploymentInstancesInput) (*BatchGetDeploymentInstancesOutput, error)

BatchGetDeploymentInstances API operation for AWS CodeDeploy.

This method works, but is deprecated. Use BatchGetDeploymentTargets instead.

Returns an array of instances associated with a deployment. This method works with EC2/On-premises and AWS Lambda compute platforms. The newer BatchGetDeploymentTargets works with all compute platforms.

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 CodeDeploy's API operation BatchGetDeploymentInstances for usage and error information.

Returned Error Codes:

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" The deployment with the IAM user or AWS account does not exist.

  • ErrCodeInstanceIdRequiredException "InstanceIdRequiredException" The instance ID was not specified.

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

  • ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" The on-premises instance name was specified in an invalid format.

  • ErrCodeBatchLimitExceededException "BatchLimitExceededException" The maximum number of names or IDs allowed for this request (100) was exceeded.

  • ErrCodeInvalidComputePlatformException "InvalidComputePlatformException" The computePlatform is invalid. The computePlatform should be Lambda or Server.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances

Deprecated: This operation is deprecated, use BatchGetDeploymentTargets instead.

BatchGetDeploymentInstancesRequest

func (c *CodeDeploy) BatchGetDeploymentInstancesRequest(input *BatchGetDeploymentInstancesInput) (req *request.Request, output *BatchGetDeploymentInstancesOutput)

BatchGetDeploymentInstancesRequest generates a "aws/request.Request" representing the client's request for the BatchGetDeploymentInstances 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 BatchGetDeploymentInstances for more information on using the BatchGetDeploymentInstances 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 BatchGetDeploymentInstancesRequest method. req, resp := client.BatchGetDeploymentInstancesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances

Deprecated: This operation is deprecated, use BatchGetDeploymentTargets instead.

BatchGetDeploymentInstancesWithContext

func (c *CodeDeploy) BatchGetDeploymentInstancesWithContext(ctx aws.Context, input *BatchGetDeploymentInstancesInput, opts ...request.Option) (*BatchGetDeploymentInstancesOutput, error)

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

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

Deprecated: This operation is deprecated, use BatchGetDeploymentTargets instead.

See Also

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

BatchGetDeploymentTargets

func (c *CodeDeploy) BatchGetDeploymentTargets(input *BatchGetDeploymentTargetsInput) (*BatchGetDeploymentTargetsOutput, error)

BatchGetDeploymentTargets API operation for AWS CodeDeploy.

Returns an array of targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances.

The type of targets returned depends on the deployment's compute platform:

  • EC2/On-premises: Information about EC2 instance targets.

  • AWS Lambda: Information about Lambda functions targets.

  • Amazon ECS: Information about Amazon ECS service targets.

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 CodeDeploy's API operation BatchGetDeploymentTargets for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" The deployment with the IAM user or AWS account does not exist.

  • ErrCodeDeploymentTargetIdRequiredException "DeploymentTargetIdRequiredException" A deployment target ID was not provided.

  • ErrCodeInvalidDeploymentTargetIdException "InvalidDeploymentTargetIdException" The target ID provided was not valid.

  • ErrCodeDeploymentTargetDoesNotExistException "DeploymentTargetDoesNotExistException" The provided target ID does not belong to the attempted deployment.

  • ErrCodeDeploymentTargetListSizeExceededException "DeploymentTargetListSizeExceededException" The maximum number of targets that can be associated with an Amazon ECS or AWS Lambda deployment was exceeded. The target list of both types of deployments must have exactly one item. This exception does not apply to EC2/On-premises deployments.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargets

BatchGetDeploymentTargetsRequest

func (c *CodeDeploy) BatchGetDeploymentTargetsRequest(input *BatchGetDeploymentTargetsInput) (req *request.Request, output *BatchGetDeploymentTargetsOutput)

BatchGetDeploymentTargetsRequest generates a "aws/request.Request" representing the client's request for the BatchGetDeploymentTargets 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 BatchGetDeploymentTargets for more information on using the BatchGetDeploymentTargets 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 BatchGetDeploymentTargetsRequest method. req, resp := client.BatchGetDeploymentTargetsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargets

BatchGetDeploymentTargetsWithContext

func (c *CodeDeploy) BatchGetDeploymentTargetsWithContext(ctx aws.Context, input *BatchGetDeploymentTargetsInput, opts ...request.Option) (*BatchGetDeploymentTargetsOutput, error)

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

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

BatchGetDeployments

func (c *CodeDeploy) BatchGetDeployments(input *BatchGetDeploymentsInput) (*BatchGetDeploymentsOutput, error)

BatchGetDeployments API operation for AWS CodeDeploy.

Gets information about one or more deployments.

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 CodeDeploy's API operation BatchGetDeployments for usage and error information.

Returned Error Codes:

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

  • ErrCodeBatchLimitExceededException "BatchLimitExceededException" The maximum number of names or IDs allowed for this request (100) was exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments

BatchGetDeploymentsRequest

func (c *CodeDeploy) BatchGetDeploymentsRequest(input *BatchGetDeploymentsInput) (req *request.Request, output *BatchGetDeploymentsOutput)

BatchGetDeploymentsRequest generates a "aws/request.Request" representing the client's request for the BatchGetDeployments 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 BatchGetDeployments for more information on using the BatchGetDeployments 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 BatchGetDeploymentsRequest method. req, resp := client.BatchGetDeploymentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments

BatchGetDeploymentsWithContext

func (c *CodeDeploy) BatchGetDeploymentsWithContext(ctx aws.Context, input *BatchGetDeploymentsInput, opts ...request.Option) (*BatchGetDeploymentsOutput, error)

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

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

BatchGetOnPremisesInstances

func (c *CodeDeploy) BatchGetOnPremisesInstances(input *BatchGetOnPremisesInstancesInput) (*BatchGetOnPremisesInstancesOutput, error)

BatchGetOnPremisesInstances API operation for AWS CodeDeploy.

Gets information about one or more on-premises instances.

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 CodeDeploy's API operation BatchGetOnPremisesInstances for usage and error information.

Returned Error Codes:

  • ErrCodeInstanceNameRequiredException "InstanceNameRequiredException" An on-premises instance name was not specified.

  • ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" The on-premises instance name was specified in an invalid format.

  • ErrCodeBatchLimitExceededException "BatchLimitExceededException" The maximum number of names or IDs allowed for this request (100) was exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances

BatchGetOnPremisesInstancesRequest

func (c *CodeDeploy) BatchGetOnPremisesInstancesRequest(input *BatchGetOnPremisesInstancesInput) (req *request.Request, output *BatchGetOnPremisesInstancesOutput)

BatchGetOnPremisesInstancesRequest generates a "aws/request.Request" representing the client's request for the BatchGetOnPremisesInstances 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 BatchGetOnPremisesInstances for more information on using the BatchGetOnPremisesInstances 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 BatchGetOnPremisesInstancesRequest method. req, resp := client.BatchGetOnPremisesInstancesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances

BatchGetOnPremisesInstancesWithContext

func (c *CodeDeploy) BatchGetOnPremisesInstancesWithContext(ctx aws.Context, input *BatchGetOnPremisesInstancesInput, opts ...request.Option) (*BatchGetOnPremisesInstancesOutput, error)

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

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

ContinueDeployment

func (c *CodeDeploy) ContinueDeployment(input *ContinueDeploymentInput) (*ContinueDeploymentOutput, error)

ContinueDeployment API operation for AWS CodeDeploy.

For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.)

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 CodeDeploy's API operation ContinueDeployment for usage and error information.

Returned Error Codes:

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" The deployment with the IAM user or AWS account does not exist.

  • ErrCodeDeploymentAlreadyCompletedException "DeploymentAlreadyCompletedException" The deployment is already complete.

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

  • ErrCodeDeploymentIsNotInReadyStateException "DeploymentIsNotInReadyStateException" The deployment does not have a status of Ready and can't continue yet.

  • ErrCodeUnsupportedActionForDeploymentTypeException "UnsupportedActionForDeploymentTypeException" A call was submitted that is not supported for the specified deployment type.

  • ErrCodeInvalidDeploymentWaitTypeException "InvalidDeploymentWaitTypeException" The wait type is invalid.

  • ErrCodeInvalidDeploymentStatusException "InvalidDeploymentStatusException" The specified deployment status doesn't exist or cannot be determined.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment

ContinueDeploymentRequest

func (c *CodeDeploy) ContinueDeploymentRequest(input *ContinueDeploymentInput) (req *request.Request, output *ContinueDeploymentOutput)

ContinueDeploymentRequest generates a "aws/request.Request" representing the client's request for the ContinueDeployment 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 ContinueDeployment for more information on using the ContinueDeployment 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 ContinueDeploymentRequest method. req, resp := client.ContinueDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment

ContinueDeploymentWithContext

func (c *CodeDeploy) ContinueDeploymentWithContext(ctx aws.Context, input *ContinueDeploymentInput, opts ...request.Option) (*ContinueDeploymentOutput, error)

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

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

CreateApplication

func (c *CodeDeploy) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error)

CreateApplication API operation for AWS CodeDeploy.

Creates an application.

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 CodeDeploy's API operation CreateApplication for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeApplicationAlreadyExistsException "ApplicationAlreadyExistsException" An application with the specified name with the IAM user or AWS account already exists.

  • ErrCodeApplicationLimitExceededException "ApplicationLimitExceededException" More applications were attempted to be created than are allowed.

  • ErrCodeInvalidComputePlatformException "InvalidComputePlatformException" The computePlatform is invalid. The computePlatform should be Lambda or Server.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication

CreateApplicationRequest

func (c *CodeDeploy) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput)

CreateApplicationRequest generates a "aws/request.Request" representing the client's request for the CreateApplication 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 CreateApplication for more information on using the CreateApplication 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 CreateApplicationRequest method. req, resp := client.CreateApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication

CreateApplicationWithContext

func (c *CodeDeploy) CreateApplicationWithContext(ctx aws.Context, input *CreateApplicationInput, opts ...request.Option) (*CreateApplicationOutput, error)

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

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

CreateDeployment

func (c *CodeDeploy) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error)

CreateDeployment API operation for AWS CodeDeploy.

Deploys an application revision through the specified deployment group.

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 CodeDeploy's API operation CreateDeployment for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException" The deployment group name was not specified.

  • ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException" The deployment group name was specified in an invalid format.

  • ErrCodeDeploymentGroupDoesNotExistException "DeploymentGroupDoesNotExistException" The named deployment group with the IAM user or AWS account does not exist.

  • ErrCodeRevisionRequiredException "RevisionRequiredException" The revision ID was not specified.

  • ErrCodeRevisionDoesNotExistException "RevisionDoesNotExistException" The named revision does not exist with the IAM user or AWS account.

  • ErrCodeInvalidRevisionException "InvalidRevisionException" The revision was specified in an invalid format.

  • ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException" The deployment configuration name was specified in an invalid format.

  • ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException" The deployment configuration does not exist with the IAM user or AWS account.

  • ErrCodeDescriptionTooLongException "DescriptionTooLongException" The description is too long.

  • ErrCodeDeploymentLimitExceededException "DeploymentLimitExceededException" The number of allowed deployments was exceeded.

  • ErrCodeInvalidTargetInstancesException "InvalidTargetInstancesException" The target instance configuration is invalid. Possible causes include:

  • Configuration data for target instances was entered for an in-place deployment.

  • The limit of 10 tags for a tag type was exceeded.

  • The combined length of the tag names exceeded the limit.

  • A specified tag is not currently applied to any instances.

  • ErrCodeInvalidAutoRollbackConfigException "InvalidAutoRollbackConfigException" The automatic rollback configuration was specified in an invalid format. For example, automatic rollback is enabled, but an invalid triggering event type or no event types were listed.

  • ErrCodeInvalidLoadBalancerInfoException "InvalidLoadBalancerInfoException" An invalid load balancer name, or no load balancer name, was specified.

  • ErrCodeInvalidFileExistsBehaviorException "InvalidFileExistsBehaviorException" An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy handles files or directories that already exist in a deployment target location, but weren't part of the previous successful deployment. Valid values include

"DISALLOW," "OVERWRITE," and "RETAIN."
  • ErrCodeInvalidRoleException "InvalidRoleException" The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Amazon EC2 Auto Scaling.

  • ErrCodeInvalidAutoScalingGroupException "InvalidAutoScalingGroupException" The Auto Scaling group was specified in an invalid format or does not exist.

  • ErrCodeThrottlingException "ThrottlingException" An API function was called too frequently.

  • ErrCodeInvalidUpdateOutdatedInstancesOnlyValueException "InvalidUpdateOutdatedInstancesOnlyValueException" The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments, false is expected. For EC2/On-premises deployments, true or false is expected.

  • ErrCodeInvalidIgnoreApplicationStopFailuresValueException "InvalidIgnoreApplicationStopFailuresValueException" The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments, false is expected. For EC2/On-premises deployments, true or false is expected.

  • ErrCodeInvalidGitHubAccountTokenException "InvalidGitHubAccountTokenException" The GitHub token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment

CreateDeploymentConfig

func (c *CodeDeploy) CreateDeploymentConfig(input *CreateDeploymentConfigInput) (*CreateDeploymentConfigOutput, error)

CreateDeploymentConfig API operation for AWS CodeDeploy.

Creates a deployment configuration.

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 CodeDeploy's API operation CreateDeploymentConfig for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException" The deployment configuration name was specified in an invalid format.

  • ErrCodeDeploymentConfigNameRequiredException "DeploymentConfigNameRequiredException" The deployment configuration name was not specified.

  • ErrCodeDeploymentConfigAlreadyExistsException "DeploymentConfigAlreadyExistsException" A deployment configuration with the specified name with the IAM user or AWS account already exists .

  • ErrCodeInvalidMinimumHealthyHostValueException "InvalidMinimumHealthyHostValueException" The minimum healthy instance value was specified in an invalid format.

  • ErrCodeDeploymentConfigLimitExceededException "DeploymentConfigLimitExceededException" The deployment configurations limit was exceeded.

  • ErrCodeInvalidComputePlatformException "InvalidComputePlatformException" The computePlatform is invalid. The computePlatform should be Lambda or Server.

  • ErrCodeInvalidTrafficRoutingConfigurationException "InvalidTrafficRoutingConfigurationException" The configuration that specifies how traffic is routed during a deployment is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig

CreateDeploymentConfigRequest

func (c *CodeDeploy) CreateDeploymentConfigRequest(input *CreateDeploymentConfigInput) (req *request.Request, output *CreateDeploymentConfigOutput)

CreateDeploymentConfigRequest generates a "aws/request.Request" representing the client's request for the CreateDeploymentConfig 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 CreateDeploymentConfig for more information on using the CreateDeploymentConfig 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 CreateDeploymentConfigRequest method. req, resp := client.CreateDeploymentConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig

CreateDeploymentConfigWithContext

func (c *CodeDeploy) CreateDeploymentConfigWithContext(ctx aws.Context, input *CreateDeploymentConfigInput, opts ...request.Option) (*CreateDeploymentConfigOutput, error)

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

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

CreateDeploymentGroup

func (c *CodeDeploy) CreateDeploymentGroup(input *CreateDeploymentGroupInput) (*CreateDeploymentGroupOutput, error)

CreateDeploymentGroup API operation for AWS CodeDeploy.

Creates a deployment group to which application revisions are deployed.

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 CodeDeploy's API operation CreateDeploymentGroup for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException" The deployment group name was not specified.

  • ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException" The deployment group name was specified in an invalid format.

  • ErrCodeDeploymentGroupAlreadyExistsException "DeploymentGroupAlreadyExistsException" A deployment group with the specified name with the IAM user or AWS account already exists.

  • ErrCodeInvalidEC2TagException "InvalidEC2TagException" The tag was specified in an invalid format.

  • ErrCodeInvalidTagException "InvalidTagException" The tag was specified in an invalid format.

  • ErrCodeInvalidAutoScalingGroupException "InvalidAutoScalingGroupException" The Auto Scaling group was specified in an invalid format or does not exist.

  • ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException" The deployment configuration name was specified in an invalid format.

  • ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException" The deployment configuration does not exist with the IAM user or AWS account.

  • ErrCodeRoleRequiredException "RoleRequiredException" The role ID was not specified.

  • ErrCodeInvalidRoleException "InvalidRoleException" The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Amazon EC2 Auto Scaling.

  • ErrCodeDeploymentGroupLimitExceededException "DeploymentGroupLimitExceededException" The deployment groups limit was exceeded.

  • ErrCodeLifecycleHookLimitExceededException "LifecycleHookLimitExceededException" The limit for lifecycle hooks was exceeded.

  • ErrCodeInvalidTriggerConfigException "InvalidTriggerConfigException" The trigger was specified in an invalid format.

  • ErrCodeTriggerTargetsLimitExceededException "TriggerTargetsLimitExceededException" The maximum allowed number of triggers was exceeded.

  • ErrCodeInvalidAlarmConfigException "InvalidAlarmConfigException" The format of the alarm configuration is invalid. Possible causes include:

  • The alarm list is null.

  • The alarm object is null.

  • The alarm name is empty or null or exceeds the limit of 255 characters.

  • Two alarms with the same name have been specified.

  • The alarm configuration is enabled, but the alarm list is empty.

  • ErrCodeAlarmsLimitExceededException "AlarmsLimitExceededException" The maximum number of alarms for a deployment group (10) was exceeded.

  • ErrCodeInvalidAutoRollbackConfigException "InvalidAutoRollbackConfigException" The automatic rollback configuration was specified in an invalid format. For example, automatic rollback is enabled, but an invalid triggering event type or no event types were listed.

  • ErrCodeInvalidLoadBalancerInfoException "InvalidLoadBalancerInfoException" An invalid load balancer name, or no load balancer name, was specified.

  • ErrCodeInvalidDeploymentStyleException "InvalidDeploymentStyleException" An invalid deployment style was specified. Valid deployment types include

"IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL."
  • ErrCodeInvalidBlueGreenDeploymentConfigurationException "InvalidBlueGreenDeploymentConfigurationException" The configuration for the blue/green deployment group was provided in an invalid format. For information about deployment configuration format, see CreateDeploymentConfig.

  • ErrCodeInvalidEC2TagCombinationException "InvalidEC2TagCombinationException" A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one of these data types can be used in a single call.

  • ErrCodeInvalidOnPremisesTagCombinationException "InvalidOnPremisesTagCombinationException" A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, but only one of these data types can be used in a single call.

  • ErrCodeTagSetListLimitExceededException "TagSetListLimitExceededException" The number of tag groups included in the tag set list exceeded the maximum allowed limit of 3.

  • ErrCodeInvalidInputException "InvalidInputException" The input was specified in an invalid format.

  • ErrCodeThrottlingException "ThrottlingException" An API function was called too frequently.

  • ErrCodeInvalidECSServiceException "InvalidECSServiceException" The Amazon ECS service identifier is not valid.

  • ErrCodeInvalidTargetGroupPairException "InvalidTargetGroupPairException" A target group pair associated with this deployment is not valid.

  • ErrCodeECSServiceMappingLimitExceededException "ECSServiceMappingLimitExceededException" The Amazon ECS service is associated with more than one deployment groups. An Amazon ECS service can be associated with only one deployment group.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup

CreateDeploymentGroupRequest

func (c *CodeDeploy) CreateDeploymentGroupRequest(input *CreateDeploymentGroupInput) (req *request.Request, output *CreateDeploymentGroupOutput)

CreateDeploymentGroupRequest generates a "aws/request.Request" representing the client's request for the CreateDeploymentGroup 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 CreateDeploymentGroup for more information on using the CreateDeploymentGroup 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 CreateDeploymentGroupRequest method. req, resp := client.CreateDeploymentGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup

CreateDeploymentGroupWithContext

func (c *CodeDeploy) CreateDeploymentGroupWithContext(ctx aws.Context, input *CreateDeploymentGroupInput, opts ...request.Option) (*CreateDeploymentGroupOutput, error)

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

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

CreateDeploymentRequest

func (c *CodeDeploy) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput)

CreateDeploymentRequest generates a "aws/request.Request" representing the client's request for the CreateDeployment 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 CreateDeployment for more information on using the CreateDeployment 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 CreateDeploymentRequest method. req, resp := client.CreateDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment

CreateDeploymentWithContext

func (c *CodeDeploy) CreateDeploymentWithContext(ctx aws.Context, input *CreateDeploymentInput, opts ...request.Option) (*CreateDeploymentOutput, error)

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

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

DeleteApplication

func (c *CodeDeploy) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error)

DeleteApplication API operation for AWS CodeDeploy.

Deletes an application.

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 CodeDeploy's API operation DeleteApplication for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication

DeleteApplicationRequest

func (c *CodeDeploy) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput)

DeleteApplicationRequest generates a "aws/request.Request" representing the client's request for the DeleteApplication 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 DeleteApplication for more information on using the DeleteApplication 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 DeleteApplicationRequest method. req, resp := client.DeleteApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication

DeleteApplicationWithContext

func (c *CodeDeploy) DeleteApplicationWithContext(ctx aws.Context, input *DeleteApplicationInput, opts ...request.Option) (*DeleteApplicationOutput, error)

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

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

DeleteDeploymentConfig

func (c *CodeDeploy) DeleteDeploymentConfig(input *DeleteDeploymentConfigInput) (*DeleteDeploymentConfigOutput, error)

DeleteDeploymentConfig API operation for AWS CodeDeploy.

Deletes a deployment configuration.

A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.

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 CodeDeploy's API operation DeleteDeploymentConfig for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException" The deployment configuration name was specified in an invalid format.

  • ErrCodeDeploymentConfigNameRequiredException "DeploymentConfigNameRequiredException" The deployment configuration name was not specified.

  • ErrCodeDeploymentConfigInUseException "DeploymentConfigInUseException" The deployment configuration is still in use.

  • ErrCodeInvalidOperationException "InvalidOperationException" An invalid operation was detected.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig

DeleteDeploymentConfigRequest

func (c *CodeDeploy) DeleteDeploymentConfigRequest(input *DeleteDeploymentConfigInput) (req *request.Request, output *DeleteDeploymentConfigOutput)

DeleteDeploymentConfigRequest generates a "aws/request.Request" representing the client's request for the DeleteDeploymentConfig 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 DeleteDeploymentConfig for more information on using the DeleteDeploymentConfig 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 DeleteDeploymentConfigRequest method. req, resp := client.DeleteDeploymentConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig

DeleteDeploymentConfigWithContext

func (c *CodeDeploy) DeleteDeploymentConfigWithContext(ctx aws.Context, input *DeleteDeploymentConfigInput, opts ...request.Option) (*DeleteDeploymentConfigOutput, error)

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

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

DeleteDeploymentGroup

func (c *CodeDeploy) DeleteDeploymentGroup(input *DeleteDeploymentGroupInput) (*DeleteDeploymentGroupOutput, error)

DeleteDeploymentGroup API operation for AWS CodeDeploy.

Deletes a deployment group.

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 CodeDeploy's API operation DeleteDeploymentGroup for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException" The deployment group name was not specified.

  • ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException" The deployment group name was specified in an invalid format.

  • ErrCodeInvalidRoleException "InvalidRoleException" The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Amazon EC2 Auto Scaling.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup

DeleteDeploymentGroupRequest

func (c *CodeDeploy) DeleteDeploymentGroupRequest(input *DeleteDeploymentGroupInput) (req *request.Request, output *DeleteDeploymentGroupOutput)

DeleteDeploymentGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteDeploymentGroup 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 DeleteDeploymentGroup for more information on using the DeleteDeploymentGroup 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 DeleteDeploymentGroupRequest method. req, resp := client.DeleteDeploymentGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup

DeleteDeploymentGroupWithContext

func (c *CodeDeploy) DeleteDeploymentGroupWithContext(ctx aws.Context, input *DeleteDeploymentGroupInput, opts ...request.Option) (*DeleteDeploymentGroupOutput, error)

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

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

DeleteGitHubAccountToken

func (c *CodeDeploy) DeleteGitHubAccountToken(input *DeleteGitHubAccountTokenInput) (*DeleteGitHubAccountTokenOutput, error)

DeleteGitHubAccountToken API operation for AWS CodeDeploy.

Deletes a GitHub account connection.

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 CodeDeploy's API operation DeleteGitHubAccountToken for usage and error information.

Returned Error Codes:

  • ErrCodeGitHubAccountTokenNameRequiredException "GitHubAccountTokenNameRequiredException" The call is missing a required GitHub account connection name.

  • ErrCodeGitHubAccountTokenDoesNotExistException "GitHubAccountTokenDoesNotExistException" No GitHub account connection exists with the named specified in the call.

  • ErrCodeInvalidGitHubAccountTokenNameException "InvalidGitHubAccountTokenNameException" The format of the specified GitHub account connection name is invalid.

  • ErrCodeResourceValidationException "ResourceValidationException" The specified resource could not be validated.

  • ErrCodeOperationNotSupportedException "OperationNotSupportedException" The API used does not support the deployment.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountToken

DeleteGitHubAccountTokenRequest

func (c *CodeDeploy) DeleteGitHubAccountTokenRequest(input *DeleteGitHubAccountTokenInput) (req *request.Request, output *DeleteGitHubAccountTokenOutput)

DeleteGitHubAccountTokenRequest generates a "aws/request.Request" representing the client's request for the DeleteGitHubAccountToken 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 DeleteGitHubAccountToken for more information on using the DeleteGitHubAccountToken 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 DeleteGitHubAccountTokenRequest method. req, resp := client.DeleteGitHubAccountTokenRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountToken

DeleteGitHubAccountTokenWithContext

func (c *CodeDeploy) DeleteGitHubAccountTokenWithContext(ctx aws.Context, input *DeleteGitHubAccountTokenInput, opts ...request.Option) (*DeleteGitHubAccountTokenOutput, error)

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

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

DeregisterOnPremisesInstance

func (c *CodeDeploy) DeregisterOnPremisesInstance(input *DeregisterOnPremisesInstanceInput) (*DeregisterOnPremisesInstanceOutput, error)

DeregisterOnPremisesInstance API operation for AWS CodeDeploy.

Deregisters an on-premises instance.

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 CodeDeploy's API operation DeregisterOnPremisesInstance for usage and error information.

Returned Error Codes:

  • ErrCodeInstanceNameRequiredException "InstanceNameRequiredException" An on-premises instance name was not specified.

  • ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" The on-premises instance name was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance

DeregisterOnPremisesInstanceRequest

func (c *CodeDeploy) DeregisterOnPremisesInstanceRequest(input *DeregisterOnPremisesInstanceInput) (req *request.Request, output *DeregisterOnPremisesInstanceOutput)

DeregisterOnPremisesInstanceRequest generates a "aws/request.Request" representing the client's request for the DeregisterOnPremisesInstance 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 DeregisterOnPremisesInstance for more information on using the DeregisterOnPremisesInstance 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 DeregisterOnPremisesInstanceRequest method. req, resp := client.DeregisterOnPremisesInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance

DeregisterOnPremisesInstanceWithContext

func (c *CodeDeploy) DeregisterOnPremisesInstanceWithContext(ctx aws.Context, input *DeregisterOnPremisesInstanceInput, opts ...request.Option) (*DeregisterOnPremisesInstanceOutput, error)

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

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

GetApplication

func (c *CodeDeploy) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error)

GetApplication API operation for AWS CodeDeploy.

Gets information about an application.

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 CodeDeploy's API operation GetApplication for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication

GetApplicationRequest

func (c *CodeDeploy) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput)

GetApplicationRequest generates a "aws/request.Request" representing the client's request for the GetApplication 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 GetApplication for more information on using the GetApplication 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 GetApplicationRequest method. req, resp := client.GetApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication

GetApplicationRevision

func (c *CodeDeploy) GetApplicationRevision(input *GetApplicationRevisionInput) (*GetApplicationRevisionOutput, error)

GetApplicationRevision API operation for AWS CodeDeploy.

Gets information about an application revision.

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 CodeDeploy's API operation GetApplicationRevision for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeRevisionDoesNotExistException "RevisionDoesNotExistException" The named revision does not exist with the IAM user or AWS account.

  • ErrCodeRevisionRequiredException "RevisionRequiredException" The revision ID was not specified.

  • ErrCodeInvalidRevisionException "InvalidRevisionException" The revision was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision

GetApplicationRevisionRequest

func (c *CodeDeploy) GetApplicationRevisionRequest(input *GetApplicationRevisionInput) (req *request.Request, output *GetApplicationRevisionOutput)

GetApplicationRevisionRequest generates a "aws/request.Request" representing the client's request for the GetApplicationRevision 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 GetApplicationRevision for more information on using the GetApplicationRevision 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 GetApplicationRevisionRequest method. req, resp := client.GetApplicationRevisionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision

GetApplicationRevisionWithContext

func (c *CodeDeploy) GetApplicationRevisionWithContext(ctx aws.Context, input *GetApplicationRevisionInput, opts ...request.Option) (*GetApplicationRevisionOutput, error)

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

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

GetApplicationWithContext

func (c *CodeDeploy) GetApplicationWithContext(ctx aws.Context, input *GetApplicationInput, opts ...request.Option) (*GetApplicationOutput, error)

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

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

GetDeployment

func (c *CodeDeploy) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error)

GetDeployment API operation for AWS CodeDeploy.

Gets information about a deployment.

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 CodeDeploy's API operation GetDeployment for usage and error information.

Returned Error Codes:

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

  • ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" The deployment with the IAM user or AWS account does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment

GetDeploymentConfig

func (c *CodeDeploy) GetDeploymentConfig(input *GetDeploymentConfigInput) (*GetDeploymentConfigOutput, error)

GetDeploymentConfig API operation for AWS CodeDeploy.

Gets information about a deployment configuration.

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 CodeDeploy's API operation GetDeploymentConfig for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException" The deployment configuration name was specified in an invalid format.

  • ErrCodeDeploymentConfigNameRequiredException "DeploymentConfigNameRequiredException" The deployment configuration name was not specified.

  • ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException" The deployment configuration does not exist with the IAM user or AWS account.

  • ErrCodeInvalidComputePlatformException "InvalidComputePlatformException" The computePlatform is invalid. The computePlatform should be Lambda or Server.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig

GetDeploymentConfigRequest

func (c *CodeDeploy) GetDeploymentConfigRequest(input *GetDeploymentConfigInput) (req *request.Request, output *GetDeploymentConfigOutput)

GetDeploymentConfigRequest generates a "aws/request.Request" representing the client's request for the GetDeploymentConfig 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 GetDeploymentConfig for more information on using the GetDeploymentConfig 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 GetDeploymentConfigRequest method. req, resp := client.GetDeploymentConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig

GetDeploymentConfigWithContext

func (c *CodeDeploy) GetDeploymentConfigWithContext(ctx aws.Context, input *GetDeploymentConfigInput, opts ...request.Option) (*GetDeploymentConfigOutput, error)

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

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

GetDeploymentGroup

func (c *CodeDeploy) GetDeploymentGroup(input *GetDeploymentGroupInput) (*GetDeploymentGroupOutput, error)

GetDeploymentGroup API operation for AWS CodeDeploy.

Gets information about a deployment group.

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 CodeDeploy's API operation GetDeploymentGroup for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException" The deployment group name was not specified.

  • ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException" The deployment group name was specified in an invalid format.

  • ErrCodeDeploymentGroupDoesNotExistException "DeploymentGroupDoesNotExistException" The named deployment group with the IAM user or AWS account does not exist.

  • ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException" The deployment configuration does not exist with the IAM user or AWS account.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup

GetDeploymentGroupRequest

func (c *CodeDeploy) GetDeploymentGroupRequest(input *GetDeploymentGroupInput) (req *request.Request, output *GetDeploymentGroupOutput)

GetDeploymentGroupRequest generates a "aws/request.Request" representing the client's request for the GetDeploymentGroup 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 GetDeploymentGroup for more information on using the GetDeploymentGroup 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 GetDeploymentGroupRequest method. req, resp := client.GetDeploymentGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup

GetDeploymentGroupWithContext

func (c *CodeDeploy) GetDeploymentGroupWithContext(ctx aws.Context, input *GetDeploymentGroupInput, opts ...request.Option) (*GetDeploymentGroupOutput, error)

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

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

GetDeploymentInstance

func (c *CodeDeploy) GetDeploymentInstance(input *GetDeploymentInstanceInput) (*GetDeploymentInstanceOutput, error)

GetDeploymentInstance API operation for AWS CodeDeploy.

Gets information about an instance as part of a deployment.

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 CodeDeploy's API operation GetDeploymentInstance for usage and error information.

Returned Error Codes:

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" The deployment with the IAM user or AWS account does not exist.

  • ErrCodeInstanceIdRequiredException "InstanceIdRequiredException" The instance ID was not specified.

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

  • ErrCodeInstanceDoesNotExistException "InstanceDoesNotExistException" The specified instance does not exist in the deployment group.

  • ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" The on-premises instance name was specified in an invalid format.

  • ErrCodeInvalidComputePlatformException "InvalidComputePlatformException" The computePlatform is invalid. The computePlatform should be Lambda or Server.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance

Deprecated: This operation is deprecated, use GetDeploymentTarget instead.

GetDeploymentInstanceRequest

func (c *CodeDeploy) GetDeploymentInstanceRequest(input *GetDeploymentInstanceInput) (req *request.Request, output *GetDeploymentInstanceOutput)

GetDeploymentInstanceRequest generates a "aws/request.Request" representing the client's request for the GetDeploymentInstance 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 GetDeploymentInstance for more information on using the GetDeploymentInstance 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 GetDeploymentInstanceRequest method. req, resp := client.GetDeploymentInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance

Deprecated: This operation is deprecated, use GetDeploymentTarget instead.

GetDeploymentInstanceWithContext

func (c *CodeDeploy) GetDeploymentInstanceWithContext(ctx aws.Context, input *GetDeploymentInstanceInput, opts ...request.Option) (*GetDeploymentInstanceOutput, error)

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

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

Deprecated: This operation is deprecated, use GetDeploymentTarget instead.

See Also

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

GetDeploymentRequest

func (c *CodeDeploy) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput)

GetDeploymentRequest generates a "aws/request.Request" representing the client's request for the GetDeployment 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 GetDeployment for more information on using the GetDeployment 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 GetDeploymentRequest method. req, resp := client.GetDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment

GetDeploymentTarget

func (c *CodeDeploy) GetDeploymentTarget(input *GetDeploymentTargetInput) (*GetDeploymentTargetOutput, error)

GetDeploymentTarget API operation for AWS CodeDeploy.

Returns information about a deployment target.

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 CodeDeploy's API operation GetDeploymentTarget for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" The deployment with the IAM user or AWS account does not exist.

  • ErrCodeDeploymentTargetIdRequiredException "DeploymentTargetIdRequiredException" A deployment target ID was not provided.

  • ErrCodeInvalidDeploymentTargetIdException "InvalidDeploymentTargetIdException" The target ID provided was not valid.

  • ErrCodeDeploymentTargetDoesNotExistException "DeploymentTargetDoesNotExistException" The provided target ID does not belong to the attempted deployment.

  • ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" The on-premises instance name was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentTarget

GetDeploymentTargetRequest

func (c *CodeDeploy) GetDeploymentTargetRequest(input *GetDeploymentTargetInput) (req *request.Request, output *GetDeploymentTargetOutput)

GetDeploymentTargetRequest generates a "aws/request.Request" representing the client's request for the GetDeploymentTarget 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 GetDeploymentTarget for more information on using the GetDeploymentTarget 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 GetDeploymentTargetRequest method. req, resp := client.GetDeploymentTargetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentTarget

GetDeploymentTargetWithContext

func (c *CodeDeploy) GetDeploymentTargetWithContext(ctx aws.Context, input *GetDeploymentTargetInput, opts ...request.Option) (*GetDeploymentTargetOutput, error)

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

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

GetDeploymentWithContext

func (c *CodeDeploy) GetDeploymentWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...request.Option) (*GetDeploymentOutput, error)

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

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

GetOnPremisesInstance

func (c *CodeDeploy) GetOnPremisesInstance(input *GetOnPremisesInstanceInput) (*GetOnPremisesInstanceOutput, error)

GetOnPremisesInstance API operation for AWS CodeDeploy.

Gets information about an on-premises instance.

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 CodeDeploy's API operation GetOnPremisesInstance for usage and error information.

Returned Error Codes:

  • ErrCodeInstanceNameRequiredException "InstanceNameRequiredException" An on-premises instance name was not specified.

  • ErrCodeInstanceNotRegisteredException "InstanceNotRegisteredException" The specified on-premises instance is not registered.

  • ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" The on-premises instance name was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance

GetOnPremisesInstanceRequest

func (c *CodeDeploy) GetOnPremisesInstanceRequest(input *GetOnPremisesInstanceInput) (req *request.Request, output *GetOnPremisesInstanceOutput)

GetOnPremisesInstanceRequest generates a "aws/request.Request" representing the client's request for the GetOnPremisesInstance 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 GetOnPremisesInstance for more information on using the GetOnPremisesInstance 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 GetOnPremisesInstanceRequest method. req, resp := client.GetOnPremisesInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance

GetOnPremisesInstanceWithContext

func (c *CodeDeploy) GetOnPremisesInstanceWithContext(ctx aws.Context, input *GetOnPremisesInstanceInput, opts ...request.Option) (*GetOnPremisesInstanceOutput, error)

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

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

ListApplicationRevisions

func (c *CodeDeploy) ListApplicationRevisions(input *ListApplicationRevisionsInput) (*ListApplicationRevisionsOutput, error)

ListApplicationRevisions API operation for AWS CodeDeploy.

Lists information about revisions for an application.

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 CodeDeploy's API operation ListApplicationRevisions for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeInvalidSortByException "InvalidSortByException" The column name to sort by is either not present or was specified in an invalid format.

  • ErrCodeInvalidSortOrderException "InvalidSortOrderException" The sort order was specified in an invalid format.

  • ErrCodeInvalidBucketNameFilterException "InvalidBucketNameFilterException" The bucket name either doesn't exist or was specified in an invalid format.

  • ErrCodeInvalidKeyPrefixFilterException "InvalidKeyPrefixFilterException" The specified key prefix filter was specified in an invalid format.

  • ErrCodeBucketNameFilterRequiredException "BucketNameFilterRequiredException" A bucket name is required, but was not provided.

  • ErrCodeInvalidDeployedStateFilterException "InvalidDeployedStateFilterException" The deployed state filter was specified in an invalid format.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions

ListApplicationRevisionsPages

func (c *CodeDeploy) ListApplicationRevisionsPages(input *ListApplicationRevisionsInput, fn func(*ListApplicationRevisionsOutput, bool) bool) error

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

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

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

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

See Also

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

ListApplicationRevisionsPagesWithContext

func (c *CodeDeploy) ListApplicationRevisionsPagesWithContext(ctx aws.Context, input *ListApplicationRevisionsInput, fn func(*ListApplicationRevisionsOutput, bool) bool, opts ...request.Option) error

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

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

See Also

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

ListApplicationRevisionsRequest

func (c *CodeDeploy) ListApplicationRevisionsRequest(input *ListApplicationRevisionsInput) (req *request.Request, output *ListApplicationRevisionsOutput)

ListApplicationRevisionsRequest generates a "aws/request.Request" representing the client's request for the ListApplicationRevisions 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 ListApplicationRevisions for more information on using the ListApplicationRevisions 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 ListApplicationRevisionsRequest method. req, resp := client.ListApplicationRevisionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions

ListApplicationRevisionsWithContext

func (c *CodeDeploy) ListApplicationRevisionsWithContext(ctx aws.Context, input *ListApplicationRevisionsInput, opts ...request.Option) (*ListApplicationRevisionsOutput, error)

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

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

ListApplications

func (c *CodeDeploy) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error)

ListApplications API operation for AWS CodeDeploy.

Lists the applications registered with the IAM user or AWS 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 CodeDeploy's API operation ListApplications for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications

ListApplicationsPages

func (c *CodeDeploy) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error

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

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

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

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

See Also

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

ListApplicationsPagesWithContext

func (c *CodeDeploy) ListApplicationsPagesWithContext(ctx aws.Context, input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool, opts ...request.Option) error

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

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

See Also

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

ListApplicationsRequest

func (c *CodeDeploy) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput)

ListApplicationsRequest generates a "aws/request.Request" representing the client's request for the ListApplications 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 ListApplications for more information on using the ListApplications 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 ListApplicationsRequest method. req, resp := client.ListApplicationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications

ListApplicationsWithContext

func (c *CodeDeploy) ListApplicationsWithContext(ctx aws.Context, input *ListApplicationsInput, opts ...request.Option) (*ListApplicationsOutput, error)

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

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

ListDeploymentConfigs

func (c *CodeDeploy) ListDeploymentConfigs(input *ListDeploymentConfigsInput) (*ListDeploymentConfigsOutput, error)

ListDeploymentConfigs API operation for AWS CodeDeploy.

Lists the deployment configurations with the IAM user or AWS 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 CodeDeploy's API operation ListDeploymentConfigs for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs

ListDeploymentConfigsPages

func (c *CodeDeploy) ListDeploymentConfigsPages(input *ListDeploymentConfigsInput, fn func(*ListDeploymentConfigsOutput, bool) bool) error

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

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

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

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

See Also

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

ListDeploymentConfigsPagesWithContext

func (c *CodeDeploy) ListDeploymentConfigsPagesWithContext(ctx aws.Context, input *ListDeploymentConfigsInput, fn func(*ListDeploymentConfigsOutput, bool) bool, opts ...request.Option) error

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

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

See Also

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

ListDeploymentConfigsRequest

func (c *CodeDeploy) ListDeploymentConfigsRequest(input *ListDeploymentConfigsInput) (req *request.Request, output *ListDeploymentConfigsOutput)

ListDeploymentConfigsRequest generates a "aws/request.Request" representing the client's request for the ListDeploymentConfigs 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 ListDeploymentConfigs for more information on using the ListDeploymentConfigs 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 ListDeploymentConfigsRequest method. req, resp := client.ListDeploymentConfigsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs

ListDeploymentConfigsWithContext

func (c *CodeDeploy) ListDeploymentConfigsWithContext(ctx aws.Context, input *ListDeploymentConfigsInput, opts ...request.Option) (*ListDeploymentConfigsOutput, error)

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

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

ListDeploymentGroups

func (c *CodeDeploy) ListDeploymentGroups(input *ListDeploymentGroupsInput) (*ListDeploymentGroupsOutput, error)

ListDeploymentGroups API operation for AWS CodeDeploy.

Lists the deployment groups for an application registered with the IAM user or AWS 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 CodeDeploy's API operation ListDeploymentGroups for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups

ListDeploymentGroupsPages

func (c *CodeDeploy) ListDeploymentGroupsPages(input *ListDeploymentGroupsInput, fn func(*ListDeploymentGroupsOutput, bool) bool) error

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

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

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

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

See Also

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

ListDeploymentGroupsPagesWithContext

func (c *CodeDeploy) ListDeploymentGroupsPagesWithContext(ctx aws.Context, input *ListDeploymentGroupsInput, fn func(*ListDeploymentGroupsOutput, bool) bool, opts ...request.Option) error

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

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

See Also

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

ListDeploymentGroupsRequest

func (c *CodeDeploy) ListDeploymentGroupsRequest(input *ListDeploymentGroupsInput) (req *request.Request, output *ListDeploymentGroupsOutput)

ListDeploymentGroupsRequest generates a "aws/request.Request" representing the client's request for the ListDeploymentGroups 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 ListDeploymentGroups for more information on using the ListDeploymentGroups 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 ListDeploymentGroupsRequest method. req, resp := client.ListDeploymentGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups

ListDeploymentGroupsWithContext

func (c *CodeDeploy) ListDeploymentGroupsWithContext(ctx aws.Context, input *ListDeploymentGroupsInput, opts ...request.Option) (*ListDeploymentGroupsOutput, error)

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

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

ListDeploymentInstances

func (c *CodeDeploy) ListDeploymentInstances(input *ListDeploymentInstancesInput) (*ListDeploymentInstancesOutput, error)

ListDeploymentInstances API operation for AWS CodeDeploy.

The newer BatchGetDeploymentTargets should be used instead because it works with all compute types. ListDeploymentInstances throws an exception if it is used with a compute platform other than EC2/On-premises or AWS Lambda.

Lists the instance for a deployment associated with the IAM user or AWS 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 CodeDeploy's API operation ListDeploymentInstances for usage and error information.

Returned Error Codes:

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" The deployment with the IAM user or AWS account does not exist.

  • ErrCodeDeploymentNotStartedException "DeploymentNotStartedException" The specified deployment has not started.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token was specified in an invalid format.

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

  • ErrCodeInvalidInstanceStatusException "InvalidInstanceStatusException" The specified instance status does not exist.

  • ErrCodeInvalidInstanceTypeException "InvalidInstanceTypeException" An invalid instance type was specified for instances in a blue/green deployment. Valid values include "Blue" for an original environment and "Green" for a replacement environment.

  • ErrCodeInvalidDeploymentInstanceTypeException "InvalidDeploymentInstanceTypeException" An instance type was specified for an in-place deployment. Instance types are supported for blue/green deployments only.

  • ErrCodeInvalidTargetFilterNameException "InvalidTargetFilterNameException" The target filter name is invalid.

  • ErrCodeInvalidComputePlatformException "InvalidComputePlatformException" The computePlatform is invalid. The computePlatform should be Lambda or Server.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances

Deprecated: This operation is deprecated, use ListDeploymentTargets instead.

ListDeploymentInstancesPages

func (c *CodeDeploy) ListDeploymentInstancesPages(input *ListDeploymentInstancesInput, fn func(*ListDeploymentInstancesOutput, bool) bool) error

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

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

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

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

Deprecated: This operation is deprecated, use ListDeploymentTargets instead.

See Also

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

ListDeploymentInstancesPagesWithContext

func (c *CodeDeploy) ListDeploymentInstancesPagesWithContext(ctx aws.Context, input *ListDeploymentInstancesInput, fn func(*ListDeploymentInstancesOutput, bool) bool, opts ...request.Option) error

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

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

Deprecated: This operation is deprecated, use ListDeploymentTargets instead.

See Also

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

ListDeploymentInstancesRequest

func (c *CodeDeploy) ListDeploymentInstancesRequest(input *ListDeploymentInstancesInput) (req *request.Request, output *ListDeploymentInstancesOutput)

ListDeploymentInstancesRequest generates a "aws/request.Request" representing the client's request for the ListDeploymentInstances 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 ListDeploymentInstances for more information on using the ListDeploymentInstances 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 ListDeploymentInstancesRequest method. req, resp := client.ListDeploymentInstancesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances

Deprecated: This operation is deprecated, use ListDeploymentTargets instead.

ListDeploymentInstancesWithContext

func (c *CodeDeploy) ListDeploymentInstancesWithContext(ctx aws.Context, input *ListDeploymentInstancesInput, opts ...request.Option) (*ListDeploymentInstancesOutput, error)

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

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

Deprecated: This operation is deprecated, use ListDeploymentTargets instead.

See Also

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

ListDeploymentTargets

func (c *CodeDeploy) ListDeploymentTargets(input *ListDeploymentTargetsInput) (*ListDeploymentTargetsOutput, error)

ListDeploymentTargets API operation for AWS CodeDeploy.

Returns an array of target IDs that are associated a deployment.

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 CodeDeploy's API operation ListDeploymentTargets for usage and error information.

Returned Error Codes:

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" The deployment with the IAM user or AWS account does not exist.

  • ErrCodeDeploymentNotStartedException "DeploymentNotStartedException" The specified deployment has not started.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token was specified in an invalid format.

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

  • ErrCodeInvalidInstanceStatusException "InvalidInstanceStatusException" The specified instance status does not exist.

  • ErrCodeInvalidInstanceTypeException "InvalidInstanceTypeException" An invalid instance type was specified for instances in a blue/green deployment. Valid values include "Blue" for an original environment and "Green" for a replacement environment.

  • ErrCodeInvalidDeploymentInstanceTypeException "InvalidDeploymentInstanceTypeException" An instance type was specified for an in-place deployment. Instance types are supported for blue/green deployments only.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentTargets

ListDeploymentTargetsRequest

func (c *CodeDeploy) ListDeploymentTargetsRequest(input *ListDeploymentTargetsInput) (req *request.Request, output *ListDeploymentTargetsOutput)

ListDeploymentTargetsRequest generates a "aws/request.Request" representing the client's request for the ListDeploymentTargets 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 ListDeploymentTargets for more information on using the ListDeploymentTargets 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 ListDeploymentTargetsRequest method. req, resp := client.ListDeploymentTargetsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentTargets

ListDeploymentTargetsWithContext

func (c *CodeDeploy) ListDeploymentTargetsWithContext(ctx aws.Context, input *ListDeploymentTargetsInput, opts ...request.Option) (*ListDeploymentTargetsOutput, error)

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

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

ListDeployments

func (c *CodeDeploy) ListDeployments(input *ListDeploymentsInput) (*ListDeploymentsOutput, error)

ListDeployments API operation for AWS CodeDeploy.

Lists the deployments in a deployment group for an application registered with the IAM user or AWS 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 CodeDeploy's API operation ListDeployments for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException" The deployment group name was specified in an invalid format.

  • ErrCodeDeploymentGroupDoesNotExistException "DeploymentGroupDoesNotExistException" The named deployment group with the IAM user or AWS account does not exist.

  • ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException" The deployment group name was not specified.

  • ErrCodeInvalidTimeRangeException "InvalidTimeRangeException" The specified time range was specified in an invalid format.

  • ErrCodeInvalidDeploymentStatusException "InvalidDeploymentStatusException" The specified deployment status doesn't exist or cannot be determined.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments

ListDeploymentsPages

func (c *CodeDeploy) ListDeploymentsPages(input *ListDeploymentsInput, fn func(*ListDeploymentsOutput, bool) bool) error

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

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

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

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

See Also

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

ListDeploymentsPagesWithContext

func (c *CodeDeploy) ListDeploymentsPagesWithContext(ctx aws.Context, input *ListDeploymentsInput, fn func(*ListDeploymentsOutput, bool) bool, opts ...request.Option) error

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

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

See Also

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

ListDeploymentsRequest

func (c *CodeDeploy) ListDeploymentsRequest(input *ListDeploymentsInput) (req *request.Request, output *ListDeploymentsOutput)

ListDeploymentsRequest generates a "aws/request.Request" representing the client's request for the ListDeployments 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 ListDeployments for more information on using the ListDeployments 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 ListDeploymentsRequest method. req, resp := client.ListDeploymentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments

ListDeploymentsWithContext

func (c *CodeDeploy) ListDeploymentsWithContext(ctx aws.Context, input *ListDeploymentsInput, opts ...request.Option) (*ListDeploymentsOutput, error)

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

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

ListGitHubAccountTokenNames

func (c *CodeDeploy) ListGitHubAccountTokenNames(input *ListGitHubAccountTokenNamesInput) (*ListGitHubAccountTokenNamesOutput, error)

ListGitHubAccountTokenNames API operation for AWS CodeDeploy.

Lists the names of stored connections to GitHub accounts.

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 CodeDeploy's API operation ListGitHubAccountTokenNames for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token was specified in an invalid format.

  • ErrCodeResourceValidationException "ResourceValidationException" The specified resource could not be validated.

  • ErrCodeOperationNotSupportedException "OperationNotSupportedException" The API used does not support the deployment.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames

ListGitHubAccountTokenNamesRequest

func (c *CodeDeploy) ListGitHubAccountTokenNamesRequest(input *ListGitHubAccountTokenNamesInput) (req *request.Request, output *ListGitHubAccountTokenNamesOutput)

ListGitHubAccountTokenNamesRequest generates a "aws/request.Request" representing the client's request for the ListGitHubAccountTokenNames 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 ListGitHubAccountTokenNames for more information on using the ListGitHubAccountTokenNames 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 ListGitHubAccountTokenNamesRequest method. req, resp := client.ListGitHubAccountTokenNamesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames

ListGitHubAccountTokenNamesWithContext

func (c *CodeDeploy) ListGitHubAccountTokenNamesWithContext(ctx aws.Context, input *ListGitHubAccountTokenNamesInput, opts ...request.Option) (*ListGitHubAccountTokenNamesOutput, error)

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

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

ListOnPremisesInstances

func (c *CodeDeploy) ListOnPremisesInstances(input *ListOnPremisesInstancesInput) (*ListOnPremisesInstancesOutput, error)

ListOnPremisesInstances API operation for AWS CodeDeploy.

Gets a list of names for one or more on-premises instances.

Unless otherwise specified, both registered and deregistered on-premises instance names are listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.

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 CodeDeploy's API operation ListOnPremisesInstances for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRegistrationStatusException "InvalidRegistrationStatusException" The registration status was specified in an invalid format.

  • ErrCodeInvalidTagFilterException "InvalidTagFilterException" The tag filter was specified in an invalid format.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" The next token was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances

ListOnPremisesInstancesRequest

func (c *CodeDeploy) ListOnPremisesInstancesRequest(input *ListOnPremisesInstancesInput) (req *request.Request, output *ListOnPremisesInstancesOutput)

ListOnPremisesInstancesRequest generates a "aws/request.Request" representing the client's request for the ListOnPremisesInstances 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 ListOnPremisesInstances for more information on using the ListOnPremisesInstances 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 ListOnPremisesInstancesRequest method. req, resp := client.ListOnPremisesInstancesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances

ListOnPremisesInstancesWithContext

func (c *CodeDeploy) ListOnPremisesInstancesWithContext(ctx aws.Context, input *ListOnPremisesInstancesInput, opts ...request.Option) (*ListOnPremisesInstancesOutput, error)

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

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

PutLifecycleEventHookExecutionStatus

func (c *CodeDeploy) PutLifecycleEventHookExecutionStatus(input *PutLifecycleEventHookExecutionStatusInput) (*PutLifecycleEventHookExecutionStatusOutput, error)

PutLifecycleEventHookExecutionStatus API operation for AWS CodeDeploy.

Sets the result of a Lambda validation function. The function validates one or both lifecycle events (BeforeAllowTraffic and AfterAllowTraffic) and returns Succeeded or Failed.

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 CodeDeploy's API operation PutLifecycleEventHookExecutionStatus for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidLifecycleEventHookExecutionStatusException "InvalidLifecycleEventHookExecutionStatusException" The result of a Lambda validation function that verifies a lifecycle event is invalid. It should return Succeeded or Failed.

  • ErrCodeInvalidLifecycleEventHookExecutionIdException "InvalidLifecycleEventHookExecutionIdException" A lifecycle event hook is invalid. Review the hooks section in your AppSpec file to ensure the lifecycle events and hooks functions are valid.

  • ErrCodeLifecycleEventAlreadyCompletedException "LifecycleEventAlreadyCompletedException" An attempt to return the status of an already completed lifecycle event occurred.

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" The deployment with the IAM user or AWS account does not exist.

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

  • ErrCodeUnsupportedActionForDeploymentTypeException "UnsupportedActionForDeploymentTypeException" A call was submitted that is not supported for the specified deployment type.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatus

PutLifecycleEventHookExecutionStatusRequest

func (c *CodeDeploy) PutLifecycleEventHookExecutionStatusRequest(input *PutLifecycleEventHookExecutionStatusInput) (req *request.Request, output *PutLifecycleEventHookExecutionStatusOutput)

PutLifecycleEventHookExecutionStatusRequest generates a "aws/request.Request" representing the client's request for the PutLifecycleEventHookExecutionStatus 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 PutLifecycleEventHookExecutionStatus for more information on using the PutLifecycleEventHookExecutionStatus 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 PutLifecycleEventHookExecutionStatusRequest method. req, resp := client.PutLifecycleEventHookExecutionStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatus

PutLifecycleEventHookExecutionStatusWithContext

func (c *CodeDeploy) PutLifecycleEventHookExecutionStatusWithContext(ctx aws.Context, input *PutLifecycleEventHookExecutionStatusInput, opts ...request.Option) (*PutLifecycleEventHookExecutionStatusOutput, error)

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

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

RegisterApplicationRevision

func (c *CodeDeploy) RegisterApplicationRevision(input *RegisterApplicationRevisionInput) (*RegisterApplicationRevisionOutput, error)

RegisterApplicationRevision API operation for AWS CodeDeploy.

Registers with AWS CodeDeploy a revision for the specified application.

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 CodeDeploy's API operation RegisterApplicationRevision for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeDescriptionTooLongException "DescriptionTooLongException" The description is too long.

  • ErrCodeRevisionRequiredException "RevisionRequiredException" The revision ID was not specified.

  • ErrCodeInvalidRevisionException "InvalidRevisionException" The revision was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision

RegisterApplicationRevisionRequest

func (c *CodeDeploy) RegisterApplicationRevisionRequest(input *RegisterApplicationRevisionInput) (req *request.Request, output *RegisterApplicationRevisionOutput)

RegisterApplicationRevisionRequest generates a "aws/request.Request" representing the client's request for the RegisterApplicationRevision 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 RegisterApplicationRevision for more information on using the RegisterApplicationRevision 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 RegisterApplicationRevisionRequest method. req, resp := client.RegisterApplicationRevisionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision

RegisterApplicationRevisionWithContext

func (c *CodeDeploy) RegisterApplicationRevisionWithContext(ctx aws.Context, input *RegisterApplicationRevisionInput, opts ...request.Option) (*RegisterApplicationRevisionOutput, error)

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

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

RegisterOnPremisesInstance

func (c *CodeDeploy) RegisterOnPremisesInstance(input *RegisterOnPremisesInstanceInput) (*RegisterOnPremisesInstanceOutput, error)

RegisterOnPremisesInstance API operation for AWS CodeDeploy.

Registers an on-premises instance.

Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.

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 CodeDeploy's API operation RegisterOnPremisesInstance for usage and error information.

Returned Error Codes:

  • ErrCodeInstanceNameAlreadyRegisteredException "InstanceNameAlreadyRegisteredException" The specified on-premises instance name is already registered.

  • ErrCodeIamArnRequiredException "IamArnRequiredException" No IAM ARN was included in the request. You must use an IAM session ARN or IAM user ARN in the request.

  • ErrCodeIamSessionArnAlreadyRegisteredException "IamSessionArnAlreadyRegisteredException" The request included an IAM session ARN that has already been used to register a different instance.

  • ErrCodeIamUserArnAlreadyRegisteredException "IamUserArnAlreadyRegisteredException" The specified IAM user ARN is already registered with an on-premises instance.

  • ErrCodeInstanceNameRequiredException "InstanceNameRequiredException" An on-premises instance name was not specified.

  • ErrCodeIamUserArnRequiredException "IamUserArnRequiredException" An IAM user ARN was not specified.

  • ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" The on-premises instance name was specified in an invalid format.

  • ErrCodeInvalidIamSessionArnException "InvalidIamSessionArnException" The IAM session ARN was specified in an invalid format.

  • ErrCodeInvalidIamUserArnException "InvalidIamUserArnException" The IAM user ARN was specified in an invalid format.

  • ErrCodeMultipleIamArnsProvidedException "MultipleIamArnsProvidedException" Both an IAM user ARN and an IAM session ARN were included in the request. Use only one ARN type.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance

RegisterOnPremisesInstanceRequest

func (c *CodeDeploy) RegisterOnPremisesInstanceRequest(input *RegisterOnPremisesInstanceInput) (req *request.Request, output *RegisterOnPremisesInstanceOutput)

RegisterOnPremisesInstanceRequest generates a "aws/request.Request" representing the client's request for the RegisterOnPremisesInstance 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 RegisterOnPremisesInstance for more information on using the RegisterOnPremisesInstance 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 RegisterOnPremisesInstanceRequest method. req, resp := client.RegisterOnPremisesInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance

RegisterOnPremisesInstanceWithContext

func (c *CodeDeploy) RegisterOnPremisesInstanceWithContext(ctx aws.Context, input *RegisterOnPremisesInstanceInput, opts ...request.Option) (*RegisterOnPremisesInstanceOutput, error)

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

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

RemoveTagsFromOnPremisesInstances

func (c *CodeDeploy) RemoveTagsFromOnPremisesInstances(input *RemoveTagsFromOnPremisesInstancesInput) (*RemoveTagsFromOnPremisesInstancesOutput, error)

RemoveTagsFromOnPremisesInstances API operation for AWS CodeDeploy.

Removes one or more tags from one or more on-premises instances.

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 CodeDeploy's API operation RemoveTagsFromOnPremisesInstances for usage and error information.

Returned Error Codes:

  • ErrCodeInstanceNameRequiredException "InstanceNameRequiredException" An on-premises instance name was not specified.

  • ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" The on-premises instance name was specified in an invalid format.

  • ErrCodeTagRequiredException "TagRequiredException" A tag was not specified.

  • ErrCodeInvalidTagException "InvalidTagException" The tag was specified in an invalid format.

  • ErrCodeTagLimitExceededException "TagLimitExceededException" The maximum allowed number of tags was exceeded.

  • ErrCodeInstanceLimitExceededException "InstanceLimitExceededException" The maximum number of allowed on-premises instances in a single call was exceeded.

  • ErrCodeInstanceNotRegisteredException "InstanceNotRegisteredException" The specified on-premises instance is not registered.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances

RemoveTagsFromOnPremisesInstancesRequest

func (c *CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest(input *RemoveTagsFromOnPremisesInstancesInput) (req *request.Request, output *RemoveTagsFromOnPremisesInstancesOutput)

RemoveTagsFromOnPremisesInstancesRequest generates a "aws/request.Request" representing the client's request for the RemoveTagsFromOnPremisesInstances 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 RemoveTagsFromOnPremisesInstances for more information on using the RemoveTagsFromOnPremisesInstances 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 RemoveTagsFromOnPremisesInstancesRequest method. req, resp := client.RemoveTagsFromOnPremisesInstancesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances

RemoveTagsFromOnPremisesInstancesWithContext

func (c *CodeDeploy) RemoveTagsFromOnPremisesInstancesWithContext(ctx aws.Context, input *RemoveTagsFromOnPremisesInstancesInput, opts ...request.Option) (*RemoveTagsFromOnPremisesInstancesOutput, error)

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

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

SkipWaitTimeForInstanceTermination

func (c *CodeDeploy) SkipWaitTimeForInstanceTermination(input *SkipWaitTimeForInstanceTerminationInput) (*SkipWaitTimeForInstanceTerminationOutput, error)

SkipWaitTimeForInstanceTermination API operation for AWS CodeDeploy.

In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is complete.

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 CodeDeploy's API operation SkipWaitTimeForInstanceTermination for usage and error information.

Returned Error Codes:

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" The deployment with the IAM user or AWS account does not exist.

  • ErrCodeDeploymentAlreadyCompletedException "DeploymentAlreadyCompletedException" The deployment is already complete.

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

  • ErrCodeDeploymentNotStartedException "DeploymentNotStartedException" The specified deployment has not started.

  • ErrCodeUnsupportedActionForDeploymentTypeException "UnsupportedActionForDeploymentTypeException" A call was submitted that is not supported for the specified deployment type.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination

Deprecated: This operation is deprecated, use ContinueDeployment with DeploymentWaitType instead.

SkipWaitTimeForInstanceTerminationRequest

func (c *CodeDeploy) SkipWaitTimeForInstanceTerminationRequest(input *SkipWaitTimeForInstanceTerminationInput) (req *request.Request, output *SkipWaitTimeForInstanceTerminationOutput)

SkipWaitTimeForInstanceTerminationRequest generates a "aws/request.Request" representing the client's request for the SkipWaitTimeForInstanceTermination 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 SkipWaitTimeForInstanceTermination for more information on using the SkipWaitTimeForInstanceTermination 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 SkipWaitTimeForInstanceTerminationRequest method. req, resp := client.SkipWaitTimeForInstanceTerminationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination

Deprecated: This operation is deprecated, use ContinueDeployment with DeploymentWaitType instead.

SkipWaitTimeForInstanceTerminationWithContext

func (c *CodeDeploy) SkipWaitTimeForInstanceTerminationWithContext(ctx aws.Context, input *SkipWaitTimeForInstanceTerminationInput, opts ...request.Option) (*SkipWaitTimeForInstanceTerminationOutput, error)

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

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

Deprecated: This operation is deprecated, use ContinueDeployment with DeploymentWaitType instead.

See Also

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

StopDeployment

func (c *CodeDeploy) StopDeployment(input *StopDeploymentInput) (*StopDeploymentOutput, error)

StopDeployment API operation for AWS CodeDeploy.

Attempts to stop an ongoing deployment.

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 CodeDeploy's API operation StopDeployment for usage and error information.

Returned Error Codes:

  • ErrCodeDeploymentIdRequiredException "DeploymentIdRequiredException" At least one deployment ID must be specified.

  • ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" The deployment with the IAM user or AWS account does not exist.

  • ErrCodeDeploymentGroupDoesNotExistException "DeploymentGroupDoesNotExistException" The named deployment group with the IAM user or AWS account does not exist.

  • ErrCodeDeploymentAlreadyCompletedException "DeploymentAlreadyCompletedException" The deployment is already complete.

  • ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" At least one of the deployment IDs was specified in an invalid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment

StopDeploymentRequest

func (c *CodeDeploy) StopDeploymentRequest(input *StopDeploymentInput) (req *request.Request, output *StopDeploymentOutput)

StopDeploymentRequest generates a "aws/request.Request" representing the client's request for the StopDeployment 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 StopDeployment for more information on using the StopDeployment 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 StopDeploymentRequest method. req, resp := client.StopDeploymentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment

StopDeploymentWithContext

func (c *CodeDeploy) StopDeploymentWithContext(ctx aws.Context, input *StopDeploymentInput, opts ...request.Option) (*StopDeploymentOutput, error)

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

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

UpdateApplication

func (c *CodeDeploy) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error)

UpdateApplication API operation for AWS CodeDeploy.

Changes the name of an application.

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 CodeDeploy's API operation UpdateApplication for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeApplicationAlreadyExistsException "ApplicationAlreadyExistsException" An application with the specified name with the IAM user or AWS account already exists.

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication

UpdateApplicationRequest

func (c *CodeDeploy) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput)

UpdateApplicationRequest generates a "aws/request.Request" representing the client's request for the UpdateApplication 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 UpdateApplication for more information on using the UpdateApplication 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 UpdateApplicationRequest method. req, resp := client.UpdateApplicationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication

UpdateApplicationWithContext

func (c *CodeDeploy) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error)

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

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

UpdateDeploymentGroup

func (c *CodeDeploy) UpdateDeploymentGroup(input *UpdateDeploymentGroupInput) (*UpdateDeploymentGroupOutput, error)

UpdateDeploymentGroup API operation for AWS CodeDeploy.

Changes information about a deployment group.

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 CodeDeploy's API operation UpdateDeploymentGroup for usage and error information.

Returned Error Codes:

  • ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException" The minimum number of required application names was not specified.

  • ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" The application name was specified in an invalid format.

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the IAM user or AWS account.

  • ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException" The deployment group name was specified in an invalid format.

  • ErrCodeDeploymentGroupAlreadyExistsException "DeploymentGroupAlreadyExistsException" A deployment group with the specified name with the IAM user or AWS account already exists.

  • ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException" The deployment group name was not specified.

  • ErrCodeDeploymentGroupDoesNotExistException "DeploymentGroupDoesNotExistException" The named deployment group with the IAM user or AWS account does not exist.

  • ErrCodeInvalidEC2TagException "InvalidEC2TagException" The tag was specified in an invalid format.

  • ErrCodeInvalidTagException "InvalidTagException" The tag was specified in an invalid format.

  • ErrCodeInvalidAutoScalingGroupException "InvalidAutoScalingGroupException" The Auto Scaling group was specified in an invalid format or does not exist.

  • ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException" The deployment configuration name was specified in an invalid format.

  • ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException" The deployment configuration does not exist with the IAM user or AWS account.

  • ErrCodeInvalidRoleException "InvalidRoleException" The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Amazon EC2 Auto Scaling.

  • ErrCodeLifecycleHookLimitExceededException "LifecycleHookLimitExceededException" The limit for lifecycle hooks was exceeded.

  • ErrCodeInvalidTriggerConfigException "InvalidTriggerConfigException" The trigger was specified in an invalid format.

  • ErrCodeTriggerTargetsLimitExceededException "TriggerTargetsLimitExceededException" The maximum allowed number of triggers was exceeded.

  • ErrCodeInvalidAlarmConfigException "InvalidAlarmConfigException" The format of the alarm configuration is invalid. Possible causes include:

  • The alarm list is null.

  • The alarm object is null.

  • The alarm name is empty or null or exceeds the limit of 255 characters.

  • Two alarms with the same name have been specified.

  • The alarm configuration is enabled, but the alarm list is empty.

  • ErrCodeAlarmsLimitExceededException "AlarmsLimitExceededException" The maximum number of alarms for a deployment group (10) was exceeded.

  • ErrCodeInvalidAutoRollbackConfigException "InvalidAutoRollbackConfigException" The automatic rollback configuration was specified in an invalid format. For example, automatic rollback is enabled, but an invalid triggering event type or no event types were listed.

  • ErrCodeInvalidLoadBalancerInfoException "InvalidLoadBalancerInfoException" An invalid load balancer name, or no load balancer name, was specified.

  • ErrCodeInvalidDeploymentStyleException "InvalidDeploymentStyleException" An invalid deployment style was specified. Valid deployment types include

"IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL."
  • ErrCodeInvalidBlueGreenDeploymentConfigurationException "InvalidBlueGreenDeploymentConfigurationException" The configuration for the blue/green deployment group was provided in an invalid format. For information about deployment configuration format, see CreateDeploymentConfig.

  • ErrCodeInvalidEC2TagCombinationException "InvalidEC2TagCombinationException" A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one of these data types can be used in a single call.

  • ErrCodeInvalidOnPremisesTagCombinationException "InvalidOnPremisesTagCombinationException" A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, but only one of these data types can be used in a single call.

  • ErrCodeTagSetListLimitExceededException "TagSetListLimitExceededException" The number of tag groups included in the tag set list exceeded the maximum allowed limit of 3.

  • ErrCodeInvalidInputException "InvalidInputException" The input was specified in an invalid format.

  • ErrCodeThrottlingException "ThrottlingException" An API function was called too frequently.

  • ErrCodeInvalidECSServiceException "InvalidECSServiceException" The Amazon ECS service identifier is not valid.

  • ErrCodeInvalidTargetGroupPairException "InvalidTargetGroupPairException" A target group pair associated with this deployment is not valid.

  • ErrCodeECSServiceMappingLimitExceededException "ECSServiceMappingLimitExceededException" The Amazon ECS service is associated with more than one deployment groups. An Amazon ECS service can be associated with only one deployment group.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup

UpdateDeploymentGroupRequest

func (c *CodeDeploy) UpdateDeploymentGroupRequest(input *UpdateDeploymentGroupInput) (req *request.Request, output *UpdateDeploymentGroupOutput)

UpdateDeploymentGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateDeploymentGroup 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 UpdateDeploymentGroup for more information on using the UpdateDeploymentGroup 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 UpdateDeploymentGroupRequest method. req, resp := client.UpdateDeploymentGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup

UpdateDeploymentGroupWithContext

func (c *CodeDeploy) UpdateDeploymentGroupWithContext(ctx aws.Context, input *UpdateDeploymentGroupInput, opts ...request.Option) (*UpdateDeploymentGroupOutput, error)

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

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

WaitUntilDeploymentSuccessful

func (c *CodeDeploy) WaitUntilDeploymentSuccessful(input *GetDeploymentInput) error

WaitUntilDeploymentSuccessful uses the CodeDeploy API operation GetDeployment to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

WaitUntilDeploymentSuccessfulWithContext

func (c *CodeDeploy) WaitUntilDeploymentSuccessfulWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...request.WaiterOption) error

WaitUntilDeploymentSuccessfulWithContext is an extended version of WaitUntilDeploymentSuccessful. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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.

On this page: