Documentation
¶
Index ¶
- Constants
- func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
- type AddTagsToOnPremisesInstancesInput
- type AddTagsToOnPremisesInstancesOutput
- type BatchGetApplicationRevisionsInput
- type BatchGetApplicationRevisionsOutput
- type BatchGetApplicationsInput
- type BatchGetApplicationsOutput
- type BatchGetDeploymentGroupsInput
- type BatchGetDeploymentGroupsOutput
- type BatchGetDeploymentInstancesInput
- type BatchGetDeploymentInstancesOutput
- type BatchGetDeploymentTargetsInput
- type BatchGetDeploymentTargetsOutput
- type BatchGetDeploymentsInput
- type BatchGetDeploymentsOutput
- type BatchGetOnPremisesInstancesInput
- type BatchGetOnPremisesInstancesOutput
- type Client
- func (c *Client) AddTagsToOnPremisesInstances(ctx context.Context, params *AddTagsToOnPremisesInstancesInput, ...) (*AddTagsToOnPremisesInstancesOutput, error)
- func (c *Client) BatchGetApplicationRevisions(ctx context.Context, params *BatchGetApplicationRevisionsInput, ...) (*BatchGetApplicationRevisionsOutput, error)
- func (c *Client) BatchGetApplications(ctx context.Context, params *BatchGetApplicationsInput, ...) (*BatchGetApplicationsOutput, error)
- func (c *Client) BatchGetDeploymentGroups(ctx context.Context, params *BatchGetDeploymentGroupsInput, ...) (*BatchGetDeploymentGroupsOutput, error)
- func (c *Client) BatchGetDeploymentInstances(ctx context.Context, params *BatchGetDeploymentInstancesInput, ...) (*BatchGetDeploymentInstancesOutput, error)
- func (c *Client) BatchGetDeploymentTargets(ctx context.Context, params *BatchGetDeploymentTargetsInput, ...) (*BatchGetDeploymentTargetsOutput, error)
- func (c *Client) BatchGetDeployments(ctx context.Context, params *BatchGetDeploymentsInput, ...) (*BatchGetDeploymentsOutput, error)
- func (c *Client) BatchGetOnPremisesInstances(ctx context.Context, params *BatchGetOnPremisesInstancesInput, ...) (*BatchGetOnPremisesInstancesOutput, error)
- func (c *Client) ContinueDeployment(ctx context.Context, params *ContinueDeploymentInput, optFns ...func(*Options)) (*ContinueDeploymentOutput, error)
- func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicationInput, optFns ...func(*Options)) (*CreateApplicationOutput, error)
- func (c *Client) CreateDeployment(ctx context.Context, params *CreateDeploymentInput, optFns ...func(*Options)) (*CreateDeploymentOutput, error)
- func (c *Client) CreateDeploymentConfig(ctx context.Context, params *CreateDeploymentConfigInput, ...) (*CreateDeploymentConfigOutput, error)
- func (c *Client) CreateDeploymentGroup(ctx context.Context, params *CreateDeploymentGroupInput, ...) (*CreateDeploymentGroupOutput, error)
- func (c *Client) DeleteApplication(ctx context.Context, params *DeleteApplicationInput, optFns ...func(*Options)) (*DeleteApplicationOutput, error)
- func (c *Client) DeleteDeploymentConfig(ctx context.Context, params *DeleteDeploymentConfigInput, ...) (*DeleteDeploymentConfigOutput, error)
- func (c *Client) DeleteDeploymentGroup(ctx context.Context, params *DeleteDeploymentGroupInput, ...) (*DeleteDeploymentGroupOutput, error)
- func (c *Client) DeleteGitHubAccountToken(ctx context.Context, params *DeleteGitHubAccountTokenInput, ...) (*DeleteGitHubAccountTokenOutput, error)
- func (c *Client) DeleteResourcesByExternalId(ctx context.Context, params *DeleteResourcesByExternalIdInput, ...) (*DeleteResourcesByExternalIdOutput, error)
- func (c *Client) DeregisterOnPremisesInstance(ctx context.Context, params *DeregisterOnPremisesInstanceInput, ...) (*DeregisterOnPremisesInstanceOutput, error)
- func (c *Client) GetApplication(ctx context.Context, params *GetApplicationInput, optFns ...func(*Options)) (*GetApplicationOutput, error)
- func (c *Client) GetApplicationRevision(ctx context.Context, params *GetApplicationRevisionInput, ...) (*GetApplicationRevisionOutput, error)
- func (c *Client) GetDeployment(ctx context.Context, params *GetDeploymentInput, optFns ...func(*Options)) (*GetDeploymentOutput, error)
- func (c *Client) GetDeploymentConfig(ctx context.Context, params *GetDeploymentConfigInput, ...) (*GetDeploymentConfigOutput, error)
- func (c *Client) GetDeploymentGroup(ctx context.Context, params *GetDeploymentGroupInput, optFns ...func(*Options)) (*GetDeploymentGroupOutput, error)
- func (c *Client) GetDeploymentInstance(ctx context.Context, params *GetDeploymentInstanceInput, ...) (*GetDeploymentInstanceOutput, error)
- func (c *Client) GetDeploymentTarget(ctx context.Context, params *GetDeploymentTargetInput, ...) (*GetDeploymentTargetOutput, error)
- func (c *Client) GetOnPremisesInstance(ctx context.Context, params *GetOnPremisesInstanceInput, ...) (*GetOnPremisesInstanceOutput, error)
- func (c *Client) ListApplicationRevisions(ctx context.Context, params *ListApplicationRevisionsInput, ...) (*ListApplicationRevisionsOutput, error)
- func (c *Client) ListApplications(ctx context.Context, params *ListApplicationsInput, optFns ...func(*Options)) (*ListApplicationsOutput, error)
- func (c *Client) ListDeploymentConfigs(ctx context.Context, params *ListDeploymentConfigsInput, ...) (*ListDeploymentConfigsOutput, error)
- func (c *Client) ListDeploymentGroups(ctx context.Context, params *ListDeploymentGroupsInput, ...) (*ListDeploymentGroupsOutput, error)
- func (c *Client) ListDeploymentInstances(ctx context.Context, params *ListDeploymentInstancesInput, ...) (*ListDeploymentInstancesOutput, error)
- func (c *Client) ListDeploymentTargets(ctx context.Context, params *ListDeploymentTargetsInput, ...) (*ListDeploymentTargetsOutput, error)
- func (c *Client) ListDeployments(ctx context.Context, params *ListDeploymentsInput, optFns ...func(*Options)) (*ListDeploymentsOutput, error)
- func (c *Client) ListGitHubAccountTokenNames(ctx context.Context, params *ListGitHubAccountTokenNamesInput, ...) (*ListGitHubAccountTokenNamesOutput, error)
- func (c *Client) ListOnPremisesInstances(ctx context.Context, params *ListOnPremisesInstancesInput, ...) (*ListOnPremisesInstancesOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) PutLifecycleEventHookExecutionStatus(ctx context.Context, params *PutLifecycleEventHookExecutionStatusInput, ...) (*PutLifecycleEventHookExecutionStatusOutput, error)
- func (c *Client) RegisterApplicationRevision(ctx context.Context, params *RegisterApplicationRevisionInput, ...) (*RegisterApplicationRevisionOutput, error)
- func (c *Client) RegisterOnPremisesInstance(ctx context.Context, params *RegisterOnPremisesInstanceInput, ...) (*RegisterOnPremisesInstanceOutput, error)
- func (c *Client) RemoveTagsFromOnPremisesInstances(ctx context.Context, params *RemoveTagsFromOnPremisesInstancesInput, ...) (*RemoveTagsFromOnPremisesInstancesOutput, error)
- func (c *Client) SkipWaitTimeForInstanceTermination(ctx context.Context, params *SkipWaitTimeForInstanceTerminationInput, ...) (*SkipWaitTimeForInstanceTerminationOutput, error)
- func (c *Client) StopDeployment(ctx context.Context, params *StopDeploymentInput, optFns ...func(*Options)) (*StopDeploymentOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateApplication(ctx context.Context, params *UpdateApplicationInput, optFns ...func(*Options)) (*UpdateApplicationOutput, error)
- func (c *Client) UpdateDeploymentGroup(ctx context.Context, params *UpdateDeploymentGroupInput, ...) (*UpdateDeploymentGroupOutput, error)
- type ContinueDeploymentInput
- type ContinueDeploymentOutput
- type CreateApplicationInput
- type CreateApplicationOutput
- type CreateDeploymentConfigInput
- type CreateDeploymentConfigOutput
- type CreateDeploymentGroupInput
- type CreateDeploymentGroupOutput
- type CreateDeploymentInput
- type CreateDeploymentOutput
- type DeleteApplicationInput
- type DeleteApplicationOutput
- type DeleteDeploymentConfigInput
- type DeleteDeploymentConfigOutput
- type DeleteDeploymentGroupInput
- type DeleteDeploymentGroupOutput
- type DeleteGitHubAccountTokenInput
- type DeleteGitHubAccountTokenOutput
- type DeleteResourcesByExternalIdInput
- type DeleteResourcesByExternalIdOutput
- type DeregisterOnPremisesInstanceInput
- type DeregisterOnPremisesInstanceOutput
- type EndpointResolver
- type EndpointResolverFunc
- type GetApplicationInput
- type GetApplicationOutput
- type GetApplicationRevisionInput
- type GetApplicationRevisionOutput
- type GetDeploymentConfigInput
- type GetDeploymentConfigOutput
- type GetDeploymentGroupInput
- type GetDeploymentGroupOutput
- type GetDeploymentInput
- type GetDeploymentInstanceInput
- type GetDeploymentInstanceOutput
- type GetDeploymentOutput
- type GetDeploymentTargetInput
- type GetDeploymentTargetOutput
- type GetOnPremisesInstanceInput
- type GetOnPremisesInstanceOutput
- type HTTPClient
- type HTTPSignerV4
- type ListApplicationRevisionsInput
- type ListApplicationRevisionsOutput
- type ListApplicationsInput
- type ListApplicationsOutput
- type ListDeploymentConfigsInput
- type ListDeploymentConfigsOutput
- type ListDeploymentGroupsInput
- type ListDeploymentGroupsOutput
- type ListDeploymentInstancesInput
- type ListDeploymentInstancesOutput
- type ListDeploymentTargetsInput
- type ListDeploymentTargetsOutput
- type ListDeploymentsInput
- type ListDeploymentsOutput
- type ListGitHubAccountTokenNamesInput
- type ListGitHubAccountTokenNamesOutput
- type ListOnPremisesInstancesInput
- type ListOnPremisesInstancesOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- func (o Options) Copy() Options
- func (o Options) GetCredentials() aws.CredentialsProvider
- func (o Options) GetEndpointOptions() ResolverOptions
- func (o Options) GetEndpointResolver() EndpointResolver
- func (o Options) GetHTTPSignerV4() HTTPSignerV4
- func (o Options) GetRegion() string
- func (o Options) GetRetryer() retry.Retryer
- type PutLifecycleEventHookExecutionStatusInput
- type PutLifecycleEventHookExecutionStatusOutput
- type RegisterApplicationRevisionInput
- type RegisterApplicationRevisionOutput
- type RegisterOnPremisesInstanceInput
- type RegisterOnPremisesInstanceOutput
- type RemoveTagsFromOnPremisesInstancesInput
- type RemoveTagsFromOnPremisesInstancesOutput
- type ResolveEndpoint
- type ResolveEndpointMiddlewareOptions
- type ResolverOptions
- type SkipWaitTimeForInstanceTerminationInput
- type SkipWaitTimeForInstanceTerminationOutput
- type StopDeploymentInput
- type StopDeploymentOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateApplicationInput
- type UpdateApplicationOutput
- type UpdateDeploymentGroupInput
- type UpdateDeploymentGroupOutput
Constants ¶
const ServiceAPIVersion = "2014-10-06"
const ServiceID = "CodeDeploy"
Variables ¶
This section is empty.
Functions ¶
func AddResolveEndpointMiddleware ¶
func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func RemoveResolveEndpointMiddleware ¶
func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
Types ¶
type AddTagsToOnPremisesInstancesInput ¶
type AddTagsToOnPremisesInstancesInput struct { // The names of the on-premises instances to which to add tags. InstanceNames []*string // The tag key-value pairs to add to the on-premises instances. Keys and values are // both required. Keys cannot be null or empty strings. Value-only tags are not // allowed. Tags []*types.Tag }
Represents the input of, and adds tags to, an on-premises instance operation.
type AddTagsToOnPremisesInstancesOutput ¶
type AddTagsToOnPremisesInstancesOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type BatchGetApplicationRevisionsInput ¶
type BatchGetApplicationRevisionsInput struct { // An array of RevisionLocation objects that specify information to get about the // application revisions, including type and location. The maximum number of // RevisionLocation objects you can specify is 25. Revisions []*types.RevisionLocation // The name of an AWS CodeDeploy application about which to get revision // information. ApplicationName *string }
Represents the input of a BatchGetApplicationRevisions operation.
type BatchGetApplicationRevisionsOutput ¶
type BatchGetApplicationRevisionsOutput struct { // Information about errors that might have occurred during the API call. ErrorMessage *string // Additional information about the revisions, including the type and location. Revisions []*types.RevisionInfo // The name of the application that corresponds to the revisions. ApplicationName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a BatchGetApplicationRevisions operation.
type BatchGetApplicationsInput ¶
type BatchGetApplicationsInput struct { // A list of application names separated by spaces. The maximum number of // application names you can specify is 100. ApplicationNames []*string }
Represents the input of a BatchGetApplications operation.
type BatchGetApplicationsOutput ¶
type BatchGetApplicationsOutput struct { // Information about the applications. ApplicationsInfo []*types.ApplicationInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a BatchGetApplications operation.
type BatchGetDeploymentGroupsInput ¶
type BatchGetDeploymentGroupsInput struct { // The names of the deployment groups. DeploymentGroupNames []*string // The name of an AWS CodeDeploy application associated with the applicable IAM // user or AWS account. ApplicationName *string }
Represents the input of a BatchGetDeploymentGroups operation.
type BatchGetDeploymentGroupsOutput ¶
type BatchGetDeploymentGroupsOutput struct { // Information about errors that might have occurred during the API call. ErrorMessage *string // Information about the deployment groups. DeploymentGroupsInfo []*types.DeploymentGroupInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a BatchGetDeploymentGroups operation.
type BatchGetDeploymentInstancesInput ¶
type BatchGetDeploymentInstancesInput struct { // The unique IDs of instances used in the deployment. The maximum number of // instance IDs you can specify is 25. InstanceIds []*string // The unique ID of a deployment. DeploymentId *string }
Represents the input of a BatchGetDeploymentInstances operation.
type BatchGetDeploymentInstancesOutput ¶
type BatchGetDeploymentInstancesOutput struct { // Information about the instance. InstancesSummary []*types.InstanceSummary // Information about errors that might have occurred during the API call. ErrorMessage *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a BatchGetDeploymentInstances operation.
type BatchGetDeploymentTargetsInput ¶
type BatchGetDeploymentTargetsInput struct { // The unique IDs of the deployment targets. The compute platform of the deployment // determines the type of the targets and their formats. The maximum number of // deployment target IDs you can specify is 25. // // * For deployments that use the // EC2/On-premises compute platform, the target IDs are EC2 or on-premises // instances IDs, and their target type is instanceTarget. // // * For deployments // that use the AWS Lambda compute platform, the target IDs are the names of Lambda // functions, and their target type is instanceTarget. // // * For deployments that // use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS // clusters and services specified using the format :. Their target type is // ecsTarget. // // * For deployments that are deployed with AWS CloudFormation, the // target IDs are CloudFormation stack IDs. Their target type is // cloudFormationTarget. TargetIds []*string // The unique ID of a deployment. DeploymentId *string }
type BatchGetDeploymentTargetsOutput ¶
type BatchGetDeploymentTargetsOutput struct { // A list of target objects for a deployment. Each target object contains details // about the target, such as its status and lifecycle events. The type of the // target objects depends on the deployment' compute platform. // // * // EC2/On-premises: Each target object is an EC2 or on-premises instance. // // * // AWS Lambda: The target object is a specific version of an AWS Lambda function. // // // * Amazon ECS: The target object is an Amazon ECS service. // // * CloudFormation: // The target object is an AWS CloudFormation blue/green deployment. DeploymentTargets []*types.DeploymentTarget // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type BatchGetDeploymentsInput ¶
type BatchGetDeploymentsInput struct { // A list of deployment IDs, separated by spaces. The maximum number of deployment // IDs you can specify is 25. DeploymentIds []*string }
Represents the input of a BatchGetDeployments operation.
type BatchGetDeploymentsOutput ¶
type BatchGetDeploymentsOutput struct { // Information about the deployments. DeploymentsInfo []*types.DeploymentInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a BatchGetDeployments operation.
type BatchGetOnPremisesInstancesInput ¶
type BatchGetOnPremisesInstancesInput struct { // The names of the on-premises instances about which to get information. The // maximum number of instance names you can specify is 25. InstanceNames []*string }
Represents the input of a BatchGetOnPremisesInstances operation.
type BatchGetOnPremisesInstancesOutput ¶
type BatchGetOnPremisesInstancesOutput struct { // Information about the on-premises instances. InstanceInfos []*types.InstanceInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a BatchGetOnPremisesInstances operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
AWS CodeDeploy AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances running in your own facility, serverless AWS Lambda functions, or applications in an Amazon ECS service. You can deploy a nearly unlimited variety of application content, such as an updated Lambda function, updated applications in an Amazon ECS service, code, web and configuration files, executables, packages, scripts, multimedia files, and so on. AWS CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes to your existing code before you can use AWS CodeDeploy. AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications, without many of the risks associated with error-prone manual deployments. AWS CodeDeploy Components Use the information in this guide to help you work with the following AWS CodeDeploy components:
*
Application: A name that uniquely identifies the application you want to deploy. AWS CodeDeploy uses this name, which functions as a container, to ensure the correct combination of revision, deployment configuration, and deployment group are referenced during a deployment.
- Deployment group: A set of individual
instances, CodeDeploy Lambda deployment configuration settings, or an Amazon ECS service and network details. A Lambda deployment group specifies how to route traffic to a new version of a Lambda function. An Amazon ECS deployment group specifies the service created in Amazon ECS to deploy, a load balancer, and a listener to reroute production traffic to an updated containerized application. An EC2/On-premises deployment group contains individually tagged instances, Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All deployment groups can specify optional trigger, alarm, and rollback settings.
*
Deployment configuration: A set of deployment rules and deployment success and failure conditions used by AWS CodeDeploy during a deployment.
*
Deployment: The process and the components used when updating a Lambda function, a containerized application in an Amazon ECS service, or of installing content on one or more instances.
- Application revisions: For an AWS Lambda
deployment, this is an AppSpec file that specifies the Lambda function to be updated and one or more functions to validate deployment lifecycle events. For an Amazon ECS deployment, this is an AppSpec file that specifies the Amazon ECS task definition, container, and port where production traffic is rerouted. For an EC2/On-premises deployment, this is an archive file that contains source content—source code, webpages, executable files, and deployment scripts—along with an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For GitHub, a revision is uniquely identified by its commit ID.
This guide also contains information to help you get details about the instances in your deployments, to make on-premises instances available for AWS CodeDeploy deployments, to get details about a Lambda function deployment, and to get details about Amazon ECS service deployments. AWS CodeDeploy Information Resources
- AWS CodeDeploy User
Guide (https://docs.aws.amazon.com/codedeploy/latest/userguide)
- AWS
CodeDeploy API Reference Guide (https://docs.aws.amazon.com/codedeploy/latest/APIReference/)
- AWS CLI
Reference for AWS CodeDeploy (https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html)
- AWS
CodeDeploy Developer Forum (https://forums.aws.amazon.com/forum.jspa?forumID=179)
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AddTagsToOnPremisesInstances ¶
func (c *Client) AddTagsToOnPremisesInstances(ctx context.Context, params *AddTagsToOnPremisesInstancesInput, optFns ...func(*Options)) (*AddTagsToOnPremisesInstancesOutput, error)
Adds tags to on-premises instances.
func (*Client) BatchGetApplicationRevisions ¶
func (c *Client) BatchGetApplicationRevisions(ctx context.Context, params *BatchGetApplicationRevisionsInput, optFns ...func(*Options)) (*BatchGetApplicationRevisionsOutput, error)
Gets information about one or more application revisions. The maximum number of application revisions that can be returned is 25.
func (*Client) BatchGetApplications ¶
func (c *Client) BatchGetApplications(ctx context.Context, params *BatchGetApplicationsInput, optFns ...func(*Options)) (*BatchGetApplicationsOutput, error)
Gets information about one or more applications. The maximum number of applications that can be returned is 100.
func (*Client) BatchGetDeploymentGroups ¶
func (c *Client) BatchGetDeploymentGroups(ctx context.Context, params *BatchGetDeploymentGroupsInput, optFns ...func(*Options)) (*BatchGetDeploymentGroupsOutput, error)
Gets information about one or more deployment groups.
func (*Client) BatchGetDeploymentInstances ¶
func (c *Client) BatchGetDeploymentInstances(ctx context.Context, params *BatchGetDeploymentInstancesInput, optFns ...func(*Options)) (*BatchGetDeploymentInstancesOutput, error)
This method works, but is deprecated. Use BatchGetDeploymentTargets instead. Returns an array of one or more 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. The maximum number of instances that can be returned is 25.
func (*Client) BatchGetDeploymentTargets ¶
func (c *Client) BatchGetDeploymentTargets(ctx context.Context, params *BatchGetDeploymentTargetsInput, optFns ...func(*Options)) (*BatchGetDeploymentTargetsOutput, error)
Returns an array of one or more targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances. The maximum number of targets that can be returned is 25. The type of targets returned depends on the deployment's compute platform or deployment method:
- EC2/On-premises: Information about EC2 instance
targets.
AWS Lambda: Information about Lambda functions targets.
*
Amazon ECS: Information about Amazon ECS service targets.
- CloudFormation:
Information about targets of blue/green deployments initiated by a CloudFormation stack update.
func (*Client) BatchGetDeployments ¶
func (c *Client) BatchGetDeployments(ctx context.Context, params *BatchGetDeploymentsInput, optFns ...func(*Options)) (*BatchGetDeploymentsOutput, error)
Gets information about one or more deployments. The maximum number of deployments that can be returned is 25.
func (*Client) BatchGetOnPremisesInstances ¶
func (c *Client) BatchGetOnPremisesInstances(ctx context.Context, params *BatchGetOnPremisesInstancesInput, optFns ...func(*Options)) (*BatchGetOnPremisesInstancesOutput, error)
Gets information about one or more on-premises instances. The maximum number of on-premises instances that can be returned is 25.
func (*Client) ContinueDeployment ¶
func (c *Client) ContinueDeployment(ctx context.Context, params *ContinueDeploymentInput, optFns ...func(*Options)) (*ContinueDeploymentOutput, error)
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.)
func (*Client) CreateApplication ¶
func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicationInput, optFns ...func(*Options)) (*CreateApplicationOutput, error)
Creates an application.
func (*Client) CreateDeployment ¶
func (c *Client) CreateDeployment(ctx context.Context, params *CreateDeploymentInput, optFns ...func(*Options)) (*CreateDeploymentOutput, error)
Deploys an application revision through the specified deployment group.
func (*Client) CreateDeploymentConfig ¶
func (c *Client) CreateDeploymentConfig(ctx context.Context, params *CreateDeploymentConfigInput, optFns ...func(*Options)) (*CreateDeploymentConfigOutput, error)
Creates a deployment configuration.
func (*Client) CreateDeploymentGroup ¶
func (c *Client) CreateDeploymentGroup(ctx context.Context, params *CreateDeploymentGroupInput, optFns ...func(*Options)) (*CreateDeploymentGroupOutput, error)
Creates a deployment group to which application revisions are deployed.
func (*Client) DeleteApplication ¶
func (c *Client) DeleteApplication(ctx context.Context, params *DeleteApplicationInput, optFns ...func(*Options)) (*DeleteApplicationOutput, error)
Deletes an application.
func (*Client) DeleteDeploymentConfig ¶
func (c *Client) DeleteDeploymentConfig(ctx context.Context, params *DeleteDeploymentConfigInput, optFns ...func(*Options)) (*DeleteDeploymentConfigOutput, error)
Deletes a deployment configuration. A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.
func (*Client) DeleteDeploymentGroup ¶
func (c *Client) DeleteDeploymentGroup(ctx context.Context, params *DeleteDeploymentGroupInput, optFns ...func(*Options)) (*DeleteDeploymentGroupOutput, error)
Deletes a deployment group.
func (*Client) DeleteGitHubAccountToken ¶
func (c *Client) DeleteGitHubAccountToken(ctx context.Context, params *DeleteGitHubAccountTokenInput, optFns ...func(*Options)) (*DeleteGitHubAccountTokenOutput, error)
Deletes a GitHub account connection.
func (*Client) DeleteResourcesByExternalId ¶
func (c *Client) DeleteResourcesByExternalId(ctx context.Context, params *DeleteResourcesByExternalIdInput, optFns ...func(*Options)) (*DeleteResourcesByExternalIdOutput, error)
Deletes resources linked to an external ID.
func (*Client) DeregisterOnPremisesInstance ¶
func (c *Client) DeregisterOnPremisesInstance(ctx context.Context, params *DeregisterOnPremisesInstanceInput, optFns ...func(*Options)) (*DeregisterOnPremisesInstanceOutput, error)
Deregisters an on-premises instance.
func (*Client) GetApplication ¶
func (c *Client) GetApplication(ctx context.Context, params *GetApplicationInput, optFns ...func(*Options)) (*GetApplicationOutput, error)
Gets information about an application.
func (*Client) GetApplicationRevision ¶
func (c *Client) GetApplicationRevision(ctx context.Context, params *GetApplicationRevisionInput, optFns ...func(*Options)) (*GetApplicationRevisionOutput, error)
Gets information about an application revision.
func (*Client) GetDeployment ¶
func (c *Client) GetDeployment(ctx context.Context, params *GetDeploymentInput, optFns ...func(*Options)) (*GetDeploymentOutput, error)
Gets information about a deployment. The content property of the appSpecContent object in the returned revision is always null. Use GetApplicationRevision and the sha256 property of the returned appSpecContent object to get the content of the deployment’s AppSpec file.
func (*Client) GetDeploymentConfig ¶
func (c *Client) GetDeploymentConfig(ctx context.Context, params *GetDeploymentConfigInput, optFns ...func(*Options)) (*GetDeploymentConfigOutput, error)
Gets information about a deployment configuration.
func (*Client) GetDeploymentGroup ¶
func (c *Client) GetDeploymentGroup(ctx context.Context, params *GetDeploymentGroupInput, optFns ...func(*Options)) (*GetDeploymentGroupOutput, error)
Gets information about a deployment group.
func (*Client) GetDeploymentInstance ¶
func (c *Client) GetDeploymentInstance(ctx context.Context, params *GetDeploymentInstanceInput, optFns ...func(*Options)) (*GetDeploymentInstanceOutput, error)
Gets information about an instance as part of a deployment.
func (*Client) GetDeploymentTarget ¶
func (c *Client) GetDeploymentTarget(ctx context.Context, params *GetDeploymentTargetInput, optFns ...func(*Options)) (*GetDeploymentTargetOutput, error)
Returns information about a deployment target.
func (*Client) GetOnPremisesInstance ¶
func (c *Client) GetOnPremisesInstance(ctx context.Context, params *GetOnPremisesInstanceInput, optFns ...func(*Options)) (*GetOnPremisesInstanceOutput, error)
Gets information about an on-premises instance.
func (*Client) ListApplicationRevisions ¶
func (c *Client) ListApplicationRevisions(ctx context.Context, params *ListApplicationRevisionsInput, optFns ...func(*Options)) (*ListApplicationRevisionsOutput, error)
Lists information about revisions for an application.
func (*Client) ListApplications ¶
func (c *Client) ListApplications(ctx context.Context, params *ListApplicationsInput, optFns ...func(*Options)) (*ListApplicationsOutput, error)
Lists the applications registered with the IAM user or AWS account.
func (*Client) ListDeploymentConfigs ¶
func (c *Client) ListDeploymentConfigs(ctx context.Context, params *ListDeploymentConfigsInput, optFns ...func(*Options)) (*ListDeploymentConfigsOutput, error)
Lists the deployment configurations with the IAM user or AWS account.
func (*Client) ListDeploymentGroups ¶
func (c *Client) ListDeploymentGroups(ctx context.Context, params *ListDeploymentGroupsInput, optFns ...func(*Options)) (*ListDeploymentGroupsOutput, error)
Lists the deployment groups for an application registered with the IAM user or AWS account.
func (*Client) ListDeploymentInstances ¶
func (c *Client) ListDeploymentInstances(ctx context.Context, params *ListDeploymentInstancesInput, optFns ...func(*Options)) (*ListDeploymentInstancesOutput, error)
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.
func (*Client) ListDeploymentTargets ¶
func (c *Client) ListDeploymentTargets(ctx context.Context, params *ListDeploymentTargetsInput, optFns ...func(*Options)) (*ListDeploymentTargetsOutput, error)
Returns an array of target IDs that are associated a deployment.
func (*Client) ListDeployments ¶
func (c *Client) ListDeployments(ctx context.Context, params *ListDeploymentsInput, optFns ...func(*Options)) (*ListDeploymentsOutput, error)
Lists the deployments in a deployment group for an application registered with the IAM user or AWS account.
func (*Client) ListGitHubAccountTokenNames ¶
func (c *Client) ListGitHubAccountTokenNames(ctx context.Context, params *ListGitHubAccountTokenNamesInput, optFns ...func(*Options)) (*ListGitHubAccountTokenNamesOutput, error)
Lists the names of stored connections to GitHub accounts.
func (*Client) ListOnPremisesInstances ¶
func (c *Client) ListOnPremisesInstances(ctx context.Context, params *ListOnPremisesInstancesInput, optFns ...func(*Options)) (*ListOnPremisesInstancesOutput, error)
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.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Returns a list of tags for the resource identified by a specified Amazon Resource Name (ARN). Tags are used to organize and categorize your CodeDeploy resources.
func (*Client) PutLifecycleEventHookExecutionStatus ¶
func (c *Client) PutLifecycleEventHookExecutionStatus(ctx context.Context, params *PutLifecycleEventHookExecutionStatusInput, optFns ...func(*Options)) (*PutLifecycleEventHookExecutionStatusOutput, error)
Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that uses the AWS Lambda or Amazon ECS compute platform. For AWS Lambda deployments, the available lifecycle hooks are BeforeAllowTraffic and AfterAllowTraffic. For Amazon ECS deployments, the available lifecycle hooks are BeforeInstall, AfterInstall, AfterAllowTestTraffic, BeforeAllowTraffic, and AfterAllowTraffic. Lambda validation functions return Succeeded or Failed. For more information, see AppSpec 'hooks' Section for an AWS Lambda Deployment (https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-lambda) and AppSpec 'hooks' Section for an Amazon ECS Deployment (https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-ecs).
func (*Client) RegisterApplicationRevision ¶
func (c *Client) RegisterApplicationRevision(ctx context.Context, params *RegisterApplicationRevisionInput, optFns ...func(*Options)) (*RegisterApplicationRevisionOutput, error)
Registers with AWS CodeDeploy a revision for the specified application.
func (*Client) RegisterOnPremisesInstance ¶
func (c *Client) RegisterOnPremisesInstance(ctx context.Context, params *RegisterOnPremisesInstanceInput, optFns ...func(*Options)) (*RegisterOnPremisesInstanceOutput, error)
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.
func (*Client) RemoveTagsFromOnPremisesInstances ¶
func (c *Client) RemoveTagsFromOnPremisesInstances(ctx context.Context, params *RemoveTagsFromOnPremisesInstancesInput, optFns ...func(*Options)) (*RemoveTagsFromOnPremisesInstancesOutput, error)
Removes one or more tags from one or more on-premises instances.
func (*Client) SkipWaitTimeForInstanceTermination ¶
func (c *Client) SkipWaitTimeForInstanceTermination(ctx context.Context, params *SkipWaitTimeForInstanceTerminationInput, optFns ...func(*Options)) (*SkipWaitTimeForInstanceTerminationOutput, error)
In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is complete.
func (*Client) StopDeployment ¶
func (c *Client) StopDeployment(ctx context.Context, params *StopDeploymentInput, optFns ...func(*Options)) (*StopDeploymentOutput, error)
Attempts to stop an ongoing deployment.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Associates the list of tags in the input Tags parameter with the resource identified by the ResourceArn input parameter.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Disassociates a resource from a list of tags. The resource is identified by the ResourceArn input parameter. The tags are identified by the list of keys in the TagKeys input parameter.
func (*Client) UpdateApplication ¶
func (c *Client) UpdateApplication(ctx context.Context, params *UpdateApplicationInput, optFns ...func(*Options)) (*UpdateApplicationOutput, error)
Changes the name of an application.
func (*Client) UpdateDeploymentGroup ¶
func (c *Client) UpdateDeploymentGroup(ctx context.Context, params *UpdateDeploymentGroupInput, optFns ...func(*Options)) (*UpdateDeploymentGroupOutput, error)
Changes information about a deployment group.
type ContinueDeploymentInput ¶
type ContinueDeploymentInput struct { // The unique ID of a blue/green deployment for which you want to start rerouting // traffic to the replacement environment. DeploymentId *string // The status of the deployment's waiting period. READY_WAIT indicates that the // deployment is ready to start shifting traffic. TERMINATION_WAIT indicates that // the traffic is shifted, but the original target is not terminated. DeploymentWaitType types.DeploymentWaitType }
type ContinueDeploymentOutput ¶
type ContinueDeploymentOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateApplicationInput ¶
type CreateApplicationInput struct { // The name of the application. This name must be unique with the applicable IAM // user or AWS account. ApplicationName *string // The metadata that you apply to CodeDeploy applications to help you organize and // categorize them. Each tag consists of a key and an optional value, both of which // you define. Tags []*types.Tag // The destination platform type for the deployment (Lambda, Server, or ECS). ComputePlatform types.ComputePlatform }
Represents the input of a CreateApplication operation.
type CreateApplicationOutput ¶
type CreateApplicationOutput struct { // A unique application ID. ApplicationId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a CreateApplication operation.
type CreateDeploymentConfigInput ¶
type CreateDeploymentConfigInput struct { // The name of the deployment configuration to create. DeploymentConfigName *string // The minimum number of healthy instances that should be available at any time // during the deployment. There are two parameters expected in the input: type and // value. The type parameter takes either of the following values: // // * // HOST_COUNT: The value parameter represents the minimum number of healthy // instances as an absolute value. // // * FLEET_PERCENT: The value parameter // represents the minimum number of healthy instances as a percentage of the total // number of instances in the deployment. If you specify FLEET_PERCENT, at the // start of the deployment, AWS CodeDeploy converts the percentage to the // equivalent number of instances and rounds up fractional instances. // // The value // parameter takes an integer. For example, to set a minimum of 95% healthy // instance, specify a type of FLEET_PERCENT and a value of 95. MinimumHealthyHosts *types.MinimumHealthyHosts // The configuration that specifies how the deployment traffic is routed. TrafficRoutingConfig *types.TrafficRoutingConfig // The destination platform type for the deployment (Lambda, Server, or ECS). ComputePlatform types.ComputePlatform }
Represents the input of a CreateDeploymentConfig operation.
type CreateDeploymentConfigOutput ¶
type CreateDeploymentConfigOutput struct { // A unique deployment configuration ID. DeploymentConfigId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a CreateDeploymentConfig operation.
type CreateDeploymentGroupInput ¶
type CreateDeploymentGroupInput struct { // The on-premises instance tags on which to filter. The deployment group includes // on-premises instances with any of the specified tags. Cannot be used in the same // call as OnPremisesTagSet. OnPremisesInstanceTagFilters []*types.TagFilter // Information about the type of deployment, in-place or blue/green, that you want // to run and whether to route deployment traffic behind a load balancer. DeploymentStyle *types.DeploymentStyle // Information about blue/green deployment options for a deployment group. BlueGreenDeploymentConfiguration *types.BlueGreenDeploymentConfiguration // Information about groups of tags applied to on-premises instances. The // deployment group includes only on-premises instances identified by all of the // tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters. OnPremisesTagSet *types.OnPremisesTagSet // A list of associated Amazon EC2 Auto Scaling groups. AutoScalingGroups []*string // The metadata that you apply to CodeDeploy deployment groups to help you organize // and categorize them. Each tag consists of a key and an optional value, both of // which you define. Tags []*types.Tag // Information to add about Amazon CloudWatch alarms when the deployment group is // created. AlarmConfiguration *types.AlarmConfiguration // The Amazon EC2 tags on which to filter. The deployment group includes EC2 // instances with any of the specified tags. Cannot be used in the same call as // ec2TagSet. Ec2TagFilters []*types.EC2TagFilter // Information about the load balancer used in a deployment. LoadBalancerInfo *types.LoadBalancerInfo // If specified, the deployment configuration name can be either one of the // predefined configurations provided with AWS CodeDeploy or a custom deployment // configuration that you create by calling the create deployment configuration // operation. CodeDeployDefault.OneAtATime is the default deployment configuration. // It is used if a configuration isn't specified for the deployment or deployment // group. For more information about the predefined deployment configurations in // AWS CodeDeploy, see Working with Deployment Configurations in CodeDeploy // (https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html) // in the AWS CodeDeploy User Guide. DeploymentConfigName *string // The name of a new deployment group for the specified application. DeploymentGroupName *string // Information about triggers to create when the deployment group is created. For // examples, see Create a Trigger for an AWS CodeDeploy Event // (https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-sns.html) // in the AWS CodeDeploy User Guide. TriggerConfigurations []*types.TriggerConfig // The target Amazon ECS services in the deployment group. This applies only to // deployment groups that use the Amazon ECS compute platform. A target Amazon ECS // service is specified as an Amazon ECS cluster and service name pair using the // format :. EcsServices []*types.ECSService // Configuration information for an automatic rollback that is added when a // deployment group is created. AutoRollbackConfiguration *types.AutoRollbackConfiguration // A service role Amazon Resource Name (ARN) that allows AWS CodeDeploy to act on // the user's behalf when interacting with AWS services. ServiceRoleArn *string // The name of an AWS CodeDeploy application associated with the IAM user or AWS // account. ApplicationName *string // Information about groups of tags applied to EC2 instances. The deployment group // includes only EC2 instances identified by all the tag groups. Cannot be used in // the same call as ec2TagFilters. Ec2TagSet *types.EC2TagSet }
Represents the input of a CreateDeploymentGroup operation.
type CreateDeploymentGroupOutput ¶
type CreateDeploymentGroupOutput struct { // A unique deployment group ID. DeploymentGroupId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a CreateDeploymentGroup operation.
type CreateDeploymentInput ¶
type CreateDeploymentInput struct { // The name of a deployment configuration associated with the IAM user or AWS // account. If not specified, the value configured in the deployment group is used // as the default. If the deployment group does not have a deployment configuration // associated with it, CodeDeployDefault.OneAtATime is used by default. DeploymentConfigName *string // A comment about the deployment. Description *string // Information about how AWS CodeDeploy handles files that already exist in a // deployment target location but weren't part of the previous successful // deployment. The fileExistsBehavior parameter takes any of the following // values: // // * DISALLOW: The deployment fails. This is also the default behavior // if no option is specified. // // * OVERWRITE: The version of the file from the // application revision currently being deployed replaces the version already on // the instance. // // * RETAIN: The version of the file already on the instance is // kept and used as part of the new deployment. FileExistsBehavior types.FileExistsBehavior // Information about the instances that belong to the replacement environment in a // blue/green deployment. TargetInstances *types.TargetInstances // If true, then if an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic // deployment lifecycle event to an instance fails, then the deployment continues // to the next deployment lifecycle event. For example, if ApplicationStop fails, // the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, the // deployment continues with BlockTraffic. If AfterBlockTraffic fails, the // deployment continues with ApplicationStop. <p> If false or not specified, then // if a lifecycle event fails during a deployment to an instance, that deployment // fails. If deployment to that instance is part of an overall deployment and the // number of healthy hosts is not less than the minimum number of healthy hosts, // then a deployment to the next instance is attempted. </p> <p> During a // deployment, the AWS CodeDeploy agent runs the scripts specified for // <code>ApplicationStop</code>, <code>BeforeBlockTraffic</code>, and // <code>AfterBlockTraffic</code> in the AppSpec file from the previous successful // deployment. (All other scripts are run from the AppSpec file in the current // deployment.) If one of these scripts contains an error and does not run // successfully, the deployment can fail. </p> <p> If the cause of the failure is a // script from the last successful deployment that will never run successfully, // create a new deployment and use <code>ignoreApplicationStopFailures</code> to // specify that the <code>ApplicationStop</code>, <code>BeforeBlockTraffic</code>, // and <code>AfterBlockTraffic</code> failures should be ignored. </p> IgnoreApplicationStopFailures *bool // Indicates whether to deploy to all instances or only to instances that are not // running the latest application revision. UpdateOutdatedInstancesOnly *bool // The name of the deployment group. DeploymentGroupName *string // The name of an AWS CodeDeploy application associated with the IAM user or AWS // account. ApplicationName *string // The type and location of the revision to deploy. Revision *types.RevisionLocation // Configuration information for an automatic rollback that is added when a // deployment is created. AutoRollbackConfiguration *types.AutoRollbackConfiguration }
Represents the input of a CreateDeployment operation.
type CreateDeploymentOutput ¶
type CreateDeploymentOutput struct { // The unique ID of a deployment. DeploymentId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a CreateDeployment operation.
type DeleteApplicationInput ¶
type DeleteApplicationInput struct { // The name of an AWS CodeDeploy application associated with the IAM user or AWS // account. ApplicationName *string }
Represents the input of a DeleteApplication operation.
type DeleteApplicationOutput ¶
type DeleteApplicationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDeploymentConfigInput ¶
type DeleteDeploymentConfigInput struct { // The name of a deployment configuration associated with the IAM user or AWS // account. DeploymentConfigName *string }
Represents the input of a DeleteDeploymentConfig operation.
type DeleteDeploymentConfigOutput ¶
type DeleteDeploymentConfigOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDeploymentGroupInput ¶
type DeleteDeploymentGroupInput struct { // The name of a deployment group for the specified application. DeploymentGroupName *string // The name of an AWS CodeDeploy application associated with the IAM user or AWS // account. ApplicationName *string }
Represents the input of a DeleteDeploymentGroup operation.
type DeleteDeploymentGroupOutput ¶
type DeleteDeploymentGroupOutput struct { // If the output contains no data, and the corresponding deployment group contained // at least one Auto Scaling group, AWS CodeDeploy successfully removed all // corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances // in the Auto Scaling group. If the output contains data, AWS CodeDeploy could not // remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in // the Auto Scaling group. HooksNotCleanedUp []*types.AutoScalingGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a DeleteDeploymentGroup operation.
type DeleteGitHubAccountTokenInput ¶
type DeleteGitHubAccountTokenInput struct { // The name of the GitHub account connection to delete. TokenName *string }
Represents the input of a DeleteGitHubAccount operation.
type DeleteGitHubAccountTokenOutput ¶
type DeleteGitHubAccountTokenOutput struct { // The name of the GitHub account connection that was deleted. TokenName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a DeleteGitHubAccountToken operation.
type DeleteResourcesByExternalIdInput ¶
type DeleteResourcesByExternalIdInput struct { // The unique ID of an external resource (for example, a CloudFormation stack ID) // that is linked to one or more CodeDeploy resources. ExternalId *string }
type DeleteResourcesByExternalIdOutput ¶
type DeleteResourcesByExternalIdOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeregisterOnPremisesInstanceInput ¶
type DeregisterOnPremisesInstanceInput struct { // The name of the on-premises instance to deregister. InstanceName *string }
Represents the input of a DeregisterOnPremisesInstance operation.
type DeregisterOnPremisesInstanceOutput ¶
type DeregisterOnPremisesInstanceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func WithEndpointResolver ¶
func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver
WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)
type GetApplicationInput ¶
type GetApplicationInput struct { // The name of an AWS CodeDeploy application associated with the IAM user or AWS // account. ApplicationName *string }
Represents the input of a GetApplication operation.
type GetApplicationOutput ¶
type GetApplicationOutput struct { // Information about the application. Application *types.ApplicationInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a GetApplication operation.
type GetApplicationRevisionInput ¶
type GetApplicationRevisionInput struct { // The name of the application that corresponds to the revision. ApplicationName *string // Information about the application revision to get, including type and location. Revision *types.RevisionLocation }
Represents the input of a GetApplicationRevision operation.
type GetApplicationRevisionOutput ¶
type GetApplicationRevisionOutput struct { // General information about the revision. RevisionInfo *types.GenericRevisionInfo // Additional information about the revision, including type and location. Revision *types.RevisionLocation // The name of the application that corresponds to the revision. ApplicationName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a GetApplicationRevision operation.
type GetDeploymentConfigInput ¶
type GetDeploymentConfigInput struct { // The name of a deployment configuration associated with the IAM user or AWS // account. DeploymentConfigName *string }
Represents the input of a GetDeploymentConfig operation.
type GetDeploymentConfigOutput ¶
type GetDeploymentConfigOutput struct { // Information about the deployment configuration. DeploymentConfigInfo *types.DeploymentConfigInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a GetDeploymentConfig operation.
type GetDeploymentGroupInput ¶
type GetDeploymentGroupInput struct { // The name of a deployment group for the specified application. DeploymentGroupName *string // The name of an AWS CodeDeploy application associated with the IAM user or AWS // account. ApplicationName *string }
Represents the input of a GetDeploymentGroup operation.
type GetDeploymentGroupOutput ¶
type GetDeploymentGroupOutput struct { // Information about the deployment group. DeploymentGroupInfo *types.DeploymentGroupInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a GetDeploymentGroup operation.
type GetDeploymentInput ¶
type GetDeploymentInput struct { // The unique ID of a deployment associated with the IAM user or AWS account. DeploymentId *string }
Represents the input of a GetDeployment operation.
type GetDeploymentInstanceInput ¶
type GetDeploymentInstanceInput struct { // The unique ID of an instance in the deployment group. InstanceId *string // The unique ID of a deployment. DeploymentId *string }
Represents the input of a GetDeploymentInstance operation.
type GetDeploymentInstanceOutput ¶
type GetDeploymentInstanceOutput struct { // Information about the instance. InstanceSummary *types.InstanceSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a GetDeploymentInstance operation.
type GetDeploymentOutput ¶
type GetDeploymentOutput struct { // Information about the deployment. DeploymentInfo *types.DeploymentInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a GetDeployment operation.
type GetDeploymentTargetOutput ¶
type GetDeploymentTargetOutput struct { // A deployment target that contains information about a deployment such as its // status, lifecycle events, and when it was last updated. It also contains // metadata about the deployment target. The deployment target metadata depends on // the deployment target's type (instanceTarget, lambdaTarget, or ecsTarget). DeploymentTarget *types.DeploymentTarget // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetOnPremisesInstanceInput ¶
type GetOnPremisesInstanceInput struct { // The name of the on-premises instance about which to get information. InstanceName *string }
Represents the input of a GetOnPremisesInstance operation.
type GetOnPremisesInstanceOutput ¶
type GetOnPremisesInstanceOutput struct { // Information about the on-premises instance. InstanceInfo *types.InstanceInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a GetOnPremisesInstance operation.
type HTTPSignerV4 ¶
type ListApplicationRevisionsInput ¶
type ListApplicationRevisionsInput struct { // An Amazon S3 bucket name to limit the search for revisions. If set to null, all // of the user's buckets are searched. S3Bucket *string // The name of an AWS CodeDeploy application associated with the IAM user or AWS // account. ApplicationName *string // A key prefix for the set of Amazon S3 objects to limit the search for revisions. S3KeyPrefix *string // The column name to use to sort the list results: // // * registerTime: Sort by // the time the revisions were registered with AWS CodeDeploy. // // * // firstUsedTime: Sort by the time the revisions were first used in a deployment. // // // * lastUsedTime: Sort by the time the revisions were last used in a // deployment. // // If not specified or set to null, the results are returned in an // arbitrary order. SortBy types.ApplicationRevisionSortBy // Whether to list revisions based on whether the revision is the target revision // of a deployment group: // // * include: List revisions that are target revisions // of a deployment group. // // * exclude: Do not list revisions that are target // revisions of a deployment group. // // * ignore: List all revisions. Deployed types.ListStateFilterAction // An identifier returned from the previous ListApplicationRevisions call. It can // be used to return the next set of applications in the list. NextToken *string // The order in which to sort the list results: // // * ascending: ascending // order. // // * descending: descending order. // // If not specified, the results are // sorted in ascending order. If set to null, the results are sorted in an // arbitrary order. SortOrder types.SortOrder }
Represents the input of a ListApplicationRevisions operation.
type ListApplicationRevisionsOutput ¶
type ListApplicationRevisionsOutput struct { // If a large amount of information is returned, an identifier is also returned. It // can be used in a subsequent list application revisions call to return the next // set of application revisions in the list. NextToken *string // A list of locations that contain the matching revisions. Revisions []*types.RevisionLocation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a ListApplicationRevisions operation.
type ListApplicationsInput ¶
type ListApplicationsInput struct { // An identifier returned from the previous list applications call. It can be used // to return the next set of applications in the list. NextToken *string }
Represents the input of a ListApplications operation.
type ListApplicationsOutput ¶
type ListApplicationsOutput struct { // A list of application names. Applications []*string // If a large amount of information is returned, an identifier is also returned. It // can be used in a subsequent list applications call to return the next set of // applications in the list. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a ListApplications operation.
type ListDeploymentConfigsInput ¶
type ListDeploymentConfigsInput struct { // An identifier returned from the previous ListDeploymentConfigs call. It can be // used to return the next set of deployment configurations in the list. NextToken *string }
Represents the input of a ListDeploymentConfigs operation.
type ListDeploymentConfigsOutput ¶
type ListDeploymentConfigsOutput struct { // A list of deployment configurations, including built-in configurations such as // CodeDeployDefault.OneAtATime. DeploymentConfigsList []*string // If a large amount of information is returned, an identifier is also returned. It // can be used in a subsequent list deployment configurations call to return the // next set of deployment configurations in the list. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a ListDeploymentConfigs operation.
type ListDeploymentGroupsInput ¶
type ListDeploymentGroupsInput struct { // The name of an AWS CodeDeploy application associated with the IAM user or AWS // account. ApplicationName *string // An identifier returned from the previous list deployment groups call. It can be // used to return the next set of deployment groups in the list. NextToken *string }
Represents the input of a ListDeploymentGroups operation.
type ListDeploymentGroupsOutput ¶
type ListDeploymentGroupsOutput struct { // The application name. ApplicationName *string // If a large amount of information is returned, an identifier is also returned. It // can be used in a subsequent list deployment groups call to return the next set // of deployment groups in the list. NextToken *string // A list of deployment group names. DeploymentGroups []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a ListDeploymentGroups operation.
type ListDeploymentInstancesInput ¶
type ListDeploymentInstancesInput struct { // The unique ID of a deployment. DeploymentId *string // An identifier returned from the previous list deployment instances call. It can // be used to return the next set of deployment instances in the list. NextToken *string // The set of instances in a blue/green deployment, either those in the original // environment ("BLUE") or those in the replacement environment ("GREEN"), for // which you want to view instance information. InstanceTypeFilter []types.InstanceType // A subset of instances to list by status: // // * Pending: Include those instances // with pending deployments. // // * InProgress: Include those instances where // deployments are still in progress. // // * Succeeded: Include those instances // with successful deployments. // // * Failed: Include those instances with failed // deployments. // // * Skipped: Include those instances with skipped deployments. // // // * Unknown: Include those instances with deployments in an unknown state. InstanceStatusFilter []types.InstanceStatus }
Represents the input of a ListDeploymentInstances operation.
type ListDeploymentInstancesOutput ¶
type ListDeploymentInstancesOutput struct { // If a large amount of information is returned, an identifier is also returned. It // can be used in a subsequent list deployment instances call to return the next // set of deployment instances in the list. NextToken *string // A list of instance IDs. InstancesList []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a ListDeploymentInstances operation.
type ListDeploymentTargetsInput ¶
type ListDeploymentTargetsInput struct { // A key used to filter the returned targets. The two valid values are: // // * // TargetStatus - A TargetStatus filter string can be Failed, InProgress, Pending, // Ready, Skipped, Succeeded, or Unknown. // // * ServerInstanceLabel - A // ServerInstanceLabel filter string can be Blue or Green. TargetFilters map[string][]*string // A token identifier returned from the previous ListDeploymentTargets call. It can // be used to return the next set of deployment targets in the list. NextToken *string // The unique ID of a deployment. DeploymentId *string }
type ListDeploymentTargetsOutput ¶
type ListDeploymentTargetsOutput struct { // If a large amount of information is returned, a token identifier is also // returned. It can be used in a subsequent ListDeploymentTargets call to return // the next set of deployment targets in the list. NextToken *string // The unique IDs of deployment targets. TargetIds []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListDeploymentsInput ¶
type ListDeploymentsInput struct { // A time range (start and end) for returning a subset of the list of deployments. CreateTimeRange *types.TimeRange // The unique ID of an external resource for returning deployments linked to the // external resource. ExternalId *string // The name of an AWS CodeDeploy application associated with the IAM user or AWS // account. If applicationName is specified, then deploymentGroupName must be // specified. If it is not specified, then deploymentGroupName must not be // specified. ApplicationName *string // An identifier returned from the previous list deployments call. It can be used // to return the next set of deployments in the list. NextToken *string // The name of a deployment group for the specified application. If // deploymentGroupName is specified, then applicationName must be specified. If it // is not specified, then applicationName must not be specified. DeploymentGroupName *string // A subset of deployments to list by status: // // * Created: Include created // deployments in the resulting list. // // * Queued: Include queued deployments in // the resulting list. // // * In Progress: Include in-progress deployments in the // resulting list. // // * Succeeded: Include successful deployments in the // resulting list. // // * Failed: Include failed deployments in the resulting // list. // // * Stopped: Include stopped deployments in the resulting list. IncludeOnlyStatuses []types.DeploymentStatus }
Represents the input of a ListDeployments operation.
type ListDeploymentsOutput ¶
type ListDeploymentsOutput struct { // A list of deployment IDs. Deployments []*string // If a large amount of information is returned, an identifier is also returned. It // can be used in a subsequent list deployments call to return the next set of // deployments in the list. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a ListDeployments operation.
type ListGitHubAccountTokenNamesInput ¶
type ListGitHubAccountTokenNamesInput struct { // An identifier returned from the previous ListGitHubAccountTokenNames call. It // can be used to return the next set of names in the list. NextToken *string }
Represents the input of a ListGitHubAccountTokenNames operation.
type ListGitHubAccountTokenNamesOutput ¶
type ListGitHubAccountTokenNamesOutput struct { // If a large amount of information is returned, an identifier is also returned. It // can be used in a subsequent ListGitHubAccountTokenNames call to return the next // set of names in the list. NextToken *string // A list of names of connections to GitHub accounts. TokenNameList []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a ListGitHubAccountTokenNames operation.
type ListOnPremisesInstancesInput ¶
type ListOnPremisesInstancesInput struct { // The on-premises instance tags that are used to restrict the on-premises instance // names returned. TagFilters []*types.TagFilter // An identifier returned from the previous list on-premises instances call. It can // be used to return the next set of on-premises instances in the list. NextToken *string // The registration status of the on-premises instances: // // * Deregistered: // Include deregistered on-premises instances in the resulting list. // // * // Registered: Include registered on-premises instances in the resulting list. RegistrationStatus types.RegistrationStatus }
Represents the input of a ListOnPremisesInstances operation.
type ListOnPremisesInstancesOutput ¶
type ListOnPremisesInstancesOutput struct { // If a large amount of information is returned, an identifier is also returned. It // can be used in a subsequent list on-premises instances call to return the next // set of on-premises instances in the list. NextToken *string // The list of matching on-premises instance names. InstanceNames []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of the list on-premises instances operation.
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // An identifier returned from the previous ListTagsForResource call. It can be // used to return the next set of applications in the list. NextToken *string // The ARN of a CodeDeploy resource. ListTagsForResource returns all the tags // associated with the resource that is identified by the ResourceArn. ResourceArn *string }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A list of tags returned by ListTagsForResource. The tags are associated with the // resource identified by the input ResourceArn parameter. Tags []*types.Tag // If a large amount of information is returned, an identifier is also returned. It // can be used in a subsequent list application revisions call to return the next // set of application revisions in the list. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions ResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer retry.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) GetCredentials ¶
func (o Options) GetCredentials() aws.CredentialsProvider
func (Options) GetEndpointOptions ¶
func (o Options) GetEndpointOptions() ResolverOptions
func (Options) GetEndpointResolver ¶
func (o Options) GetEndpointResolver() EndpointResolver
func (Options) GetHTTPSignerV4 ¶
func (o Options) GetHTTPSignerV4() HTTPSignerV4
func (Options) GetRetryer ¶
type PutLifecycleEventHookExecutionStatusInput ¶
type PutLifecycleEventHookExecutionStatusInput struct { // The unique ID of a deployment. Pass this ID to a Lambda function that validates // a deployment lifecycle event. DeploymentId *string // The result of a Lambda function that validates a deployment lifecycle event // (Succeeded or Failed). Status types.LifecycleEventStatus // The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook // is specified in the hooks section of the AppSpec file. LifecycleEventHookExecutionId *string }
type PutLifecycleEventHookExecutionStatusOutput ¶
type PutLifecycleEventHookExecutionStatusOutput struct { // The execution ID of the lifecycle event hook. A hook is specified in the hooks // section of the deployment's AppSpec file. LifecycleEventHookExecutionId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RegisterApplicationRevisionInput ¶
type RegisterApplicationRevisionInput struct { // Information about the application revision to register, including type and // location. Revision *types.RevisionLocation // The name of an AWS CodeDeploy application associated with the IAM user or AWS // account. ApplicationName *string // A comment about the revision. Description *string }
Represents the input of a RegisterApplicationRevision operation.
type RegisterApplicationRevisionOutput ¶
type RegisterApplicationRevisionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RegisterOnPremisesInstanceInput ¶
type RegisterOnPremisesInstanceInput struct { // The ARN of the IAM session to associate with the on-premises instance. IamSessionArn *string // The ARN of the IAM user to associate with the on-premises instance. IamUserArn *string // The name of the on-premises instance to register. InstanceName *string }
Represents the input of the register on-premises instance operation.
type RegisterOnPremisesInstanceOutput ¶
type RegisterOnPremisesInstanceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RemoveTagsFromOnPremisesInstancesInput ¶
type RemoveTagsFromOnPremisesInstancesInput struct { // The tag key-value pairs to remove from the on-premises instances. Tags []*types.Tag // The names of the on-premises instances from which to remove tags. InstanceNames []*string }
Represents the input of a RemoveTagsFromOnPremisesInstances operation.
type RemoveTagsFromOnPremisesInstancesOutput ¶
type RemoveTagsFromOnPremisesInstancesOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options ResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type ResolveEndpointMiddlewareOptions ¶
type ResolveEndpointMiddlewareOptions interface { GetEndpointResolver() EndpointResolver GetEndpointOptions() ResolverOptions }
type ResolverOptions ¶
type ResolverOptions = internalendpoints.Options
ResolverOptions is the service endpoint resolver options
type SkipWaitTimeForInstanceTerminationInput ¶
type SkipWaitTimeForInstanceTerminationInput struct { // The unique ID of a blue/green deployment for which you want to skip the instance // termination wait time. DeploymentId *string }
type SkipWaitTimeForInstanceTerminationOutput ¶
type SkipWaitTimeForInstanceTerminationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type StopDeploymentInput ¶
type StopDeploymentInput struct { // The unique ID of a deployment. DeploymentId *string // Indicates, when a deployment is stopped, whether instances that have been // updated should be rolled back to the previous version of the application // revision. AutoRollbackEnabled *bool }
Represents the input of a StopDeployment operation.
type StopDeploymentOutput ¶
type StopDeploymentOutput struct { // The status of the stop deployment operation: // // * Pending: The stop operation // is pending. // // * Succeeded: The stop operation was successful. Status types.StopStatus // An accompanying status message. StatusMessage *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of a StopDeployment operation.
type TagResourceInput ¶
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) that specifies from which resource to // disassociate the tags with the keys in the TagKeys input parameter. ResourceArn *string // A list of keys of Tag objects. The Tag objects identified by the keys are // disassociated from the resource specified by the ResourceArn input parameter. TagKeys []*string }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateApplicationInput ¶
type UpdateApplicationInput struct { // The current name of the application you want to change. ApplicationName *string // The new name to give the application. NewApplicationName *string }
Represents the input of an UpdateApplication operation.
type UpdateApplicationOutput ¶
type UpdateApplicationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateDeploymentGroupInput ¶
type UpdateDeploymentGroupInput struct { // Information about the type of deployment, either in-place or blue/green, you // want to run and whether to route deployment traffic behind a load balancer. DeploymentStyle *types.DeploymentStyle // The application name that corresponds to the deployment group to update. ApplicationName *string // Information about blue/green deployment options for a deployment group. BlueGreenDeploymentConfiguration *types.BlueGreenDeploymentConfiguration // The replacement set of on-premises instance tags on which to filter, if you want // to change them. To keep the existing tags, enter their names. To remove tags, do // not enter any tag names. OnPremisesInstanceTagFilters []*types.TagFilter // Information to add or change about Amazon CloudWatch alarms when the deployment // group is updated. AlarmConfiguration *types.AlarmConfiguration // Information about the load balancer used in a deployment. LoadBalancerInfo *types.LoadBalancerInfo // The replacement list of Auto Scaling groups to be included in the deployment // group, if you want to change them. To keep the Auto Scaling groups, enter their // names. To remove Auto Scaling groups, do not enter any Auto Scaling group names. AutoScalingGroups []*string // A replacement ARN for the service role, if you want to change it. ServiceRoleArn *string // The replacement set of Amazon EC2 tags on which to filter, if you want to change // them. To keep the existing tags, enter their names. To remove tags, do not enter // any tag names. Ec2TagFilters []*types.EC2TagFilter // The target Amazon ECS services in the deployment group. This applies only to // deployment groups that use the Amazon ECS compute platform. A target Amazon ECS // service is specified as an Amazon ECS cluster and service name pair using the // format :. EcsServices []*types.ECSService // Information about an on-premises instance tag set. The deployment group includes // only on-premises instances identified by all the tag groups. OnPremisesTagSet *types.OnPremisesTagSet // The current name of the deployment group. CurrentDeploymentGroupName *string // Information for an automatic rollback configuration that is added or changed // when a deployment group is updated. AutoRollbackConfiguration *types.AutoRollbackConfiguration // Information about triggers to change when the deployment group is updated. For // examples, see Edit a Trigger in a CodeDeploy Deployment Group // (https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html) // in the AWS CodeDeploy User Guide. TriggerConfigurations []*types.TriggerConfig // The replacement deployment configuration name to use, if you want to change it. DeploymentConfigName *string // The new name of the deployment group, if you want to change it. NewDeploymentGroupName *string // Information about groups of tags applied to on-premises instances. The // deployment group includes only EC2 instances identified by all the tag groups. Ec2TagSet *types.EC2TagSet }
Represents the input of an UpdateDeploymentGroup operation.
type UpdateDeploymentGroupOutput ¶
type UpdateDeploymentGroupOutput struct { // If the output contains no data, and the corresponding deployment group contained // at least one Auto Scaling group, AWS CodeDeploy successfully removed all // corresponding Auto Scaling lifecycle event hooks from the AWS account. If the // output contains data, AWS CodeDeploy could not remove some Auto Scaling // lifecycle event hooks from the AWS account. HooksNotCleanedUp []*types.AutoScalingGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of an UpdateDeploymentGroup operation.
Source Files
¶
- api_client.go
- api_op_AddTagsToOnPremisesInstances.go
- api_op_BatchGetApplicationRevisions.go
- api_op_BatchGetApplications.go
- api_op_BatchGetDeploymentGroups.go
- api_op_BatchGetDeploymentInstances.go
- api_op_BatchGetDeploymentTargets.go
- api_op_BatchGetDeployments.go
- api_op_BatchGetOnPremisesInstances.go
- api_op_ContinueDeployment.go
- api_op_CreateApplication.go
- api_op_CreateDeployment.go
- api_op_CreateDeploymentConfig.go
- api_op_CreateDeploymentGroup.go
- api_op_DeleteApplication.go
- api_op_DeleteDeploymentConfig.go
- api_op_DeleteDeploymentGroup.go
- api_op_DeleteGitHubAccountToken.go
- api_op_DeleteResourcesByExternalId.go
- api_op_DeregisterOnPremisesInstance.go
- api_op_GetApplication.go
- api_op_GetApplicationRevision.go
- api_op_GetDeployment.go
- api_op_GetDeploymentConfig.go
- api_op_GetDeploymentGroup.go
- api_op_GetDeploymentInstance.go
- api_op_GetDeploymentTarget.go
- api_op_GetOnPremisesInstance.go
- api_op_ListApplicationRevisions.go
- api_op_ListApplications.go
- api_op_ListDeploymentConfigs.go
- api_op_ListDeploymentGroups.go
- api_op_ListDeploymentInstances.go
- api_op_ListDeploymentTargets.go
- api_op_ListDeployments.go
- api_op_ListGitHubAccountTokenNames.go
- api_op_ListOnPremisesInstances.go
- api_op_ListTagsForResource.go
- api_op_PutLifecycleEventHookExecutionStatus.go
- api_op_RegisterApplicationRevision.go
- api_op_RegisterOnPremisesInstance.go
- api_op_RemoveTagsFromOnPremisesInstances.go
- api_op_SkipWaitTimeForInstanceTermination.go
- api_op_StopDeployment.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateApplication.go
- api_op_UpdateDeploymentGroup.go
- deserializers.go
- endpoints.go
- serializers.go
- validators.go