Documentation ¶
Overview ¶
Package codedeploy provides the client and types for making API requests to AWS CodeDeploy.
AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances running in your own facility, or serverless AWS Lambda functions.
You can deploy a nearly unlimited variety of application content, such as an updated Lambda function, 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 or CodeDeploy Lambda applications. A Lambda deployment group contains a group of applications. An EC2/On-premises deployment group contains individually tagged instances, Amazon EC2 instances in Auto Scaling groups, or both.
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 in the process of updating a Lambda function 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 update and one or more functions to validate deployment lifecycle events. For an EC2/On-premises deployment, this is an archive file containing source content—source code, web pages, 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, and to get details about a Lambda function deployment.
AWS CodeDeploy Information Resources
AWS CodeDeploy User Guide (http://docs.aws.amazon.com/codedeploy/latest/userguide)
AWS CodeDeploy API Reference Guide (http://docs.aws.amazon.com/codedeploy/latest/APIReference/)
AWS CLI Reference for AWS CodeDeploy (http://docs.aws.amazon.com/cli/latest/reference/deploy/index.html)
AWS CodeDeploy Developer Forum (https://forums.aws.amazon.com/forum.jspa?forumID=179)
See https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06 for more information on this service.
See codedeploy package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codedeploy/
Using the Client ¶
To AWS CodeDeploy with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS CodeDeploy client CodeDeploy for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/codedeploy/#New
Index ¶
- Constants
- type AddTagsToOnPremisesInstancesInput
- func (s AddTagsToOnPremisesInstancesInput) GoString() string
- func (s *AddTagsToOnPremisesInstancesInput) SetInstanceNames(v []string) *AddTagsToOnPremisesInstancesInput
- func (s *AddTagsToOnPremisesInstancesInput) SetTags(v []Tag) *AddTagsToOnPremisesInstancesInput
- func (s AddTagsToOnPremisesInstancesInput) String() string
- func (s *AddTagsToOnPremisesInstancesInput) Validate() error
- type AddTagsToOnPremisesInstancesOutput
- type AddTagsToOnPremisesInstancesRequest
- type Alarm
- type AlarmConfiguration
- func (s AlarmConfiguration) GoString() string
- func (s *AlarmConfiguration) SetAlarms(v []Alarm) *AlarmConfiguration
- func (s *AlarmConfiguration) SetEnabled(v bool) *AlarmConfiguration
- func (s *AlarmConfiguration) SetIgnorePollAlarmFailure(v bool) *AlarmConfiguration
- func (s AlarmConfiguration) String() string
- type ApplicationInfo
- func (s ApplicationInfo) GoString() string
- func (s *ApplicationInfo) SetApplicationId(v string) *ApplicationInfo
- func (s *ApplicationInfo) SetApplicationName(v string) *ApplicationInfo
- func (s *ApplicationInfo) SetComputePlatform(v ComputePlatform) *ApplicationInfo
- func (s *ApplicationInfo) SetCreateTime(v time.Time) *ApplicationInfo
- func (s *ApplicationInfo) SetGitHubAccountName(v string) *ApplicationInfo
- func (s *ApplicationInfo) SetLinkedToGitHub(v bool) *ApplicationInfo
- func (s ApplicationInfo) String() string
- type ApplicationRevisionSortBy
- type AutoRollbackConfiguration
- type AutoRollbackEvent
- type AutoScalingGroup
- type BatchGetApplicationRevisionsInput
- func (s BatchGetApplicationRevisionsInput) GoString() string
- func (s *BatchGetApplicationRevisionsInput) SetApplicationName(v string) *BatchGetApplicationRevisionsInput
- func (s *BatchGetApplicationRevisionsInput) SetRevisions(v []RevisionLocation) *BatchGetApplicationRevisionsInput
- func (s BatchGetApplicationRevisionsInput) String() string
- func (s *BatchGetApplicationRevisionsInput) Validate() error
- type BatchGetApplicationRevisionsOutput
- func (s BatchGetApplicationRevisionsOutput) GoString() string
- func (s BatchGetApplicationRevisionsOutput) SDKResponseMetadata() aws.Response
- func (s *BatchGetApplicationRevisionsOutput) SetApplicationName(v string) *BatchGetApplicationRevisionsOutput
- func (s *BatchGetApplicationRevisionsOutput) SetErrorMessage(v string) *BatchGetApplicationRevisionsOutput
- func (s *BatchGetApplicationRevisionsOutput) SetRevisions(v []RevisionInfo) *BatchGetApplicationRevisionsOutput
- func (s BatchGetApplicationRevisionsOutput) String() string
- type BatchGetApplicationRevisionsRequest
- type BatchGetApplicationsInput
- type BatchGetApplicationsOutput
- type BatchGetApplicationsRequest
- type BatchGetDeploymentGroupsInput
- func (s BatchGetDeploymentGroupsInput) GoString() string
- func (s *BatchGetDeploymentGroupsInput) SetApplicationName(v string) *BatchGetDeploymentGroupsInput
- func (s *BatchGetDeploymentGroupsInput) SetDeploymentGroupNames(v []string) *BatchGetDeploymentGroupsInput
- func (s BatchGetDeploymentGroupsInput) String() string
- func (s *BatchGetDeploymentGroupsInput) Validate() error
- type BatchGetDeploymentGroupsOutput
- func (s BatchGetDeploymentGroupsOutput) GoString() string
- func (s BatchGetDeploymentGroupsOutput) SDKResponseMetadata() aws.Response
- func (s *BatchGetDeploymentGroupsOutput) SetDeploymentGroupsInfo(v []DeploymentGroupInfo) *BatchGetDeploymentGroupsOutput
- func (s *BatchGetDeploymentGroupsOutput) SetErrorMessage(v string) *BatchGetDeploymentGroupsOutput
- func (s BatchGetDeploymentGroupsOutput) String() string
- type BatchGetDeploymentGroupsRequest
- type BatchGetDeploymentInstancesInput
- func (s BatchGetDeploymentInstancesInput) GoString() string
- func (s *BatchGetDeploymentInstancesInput) SetDeploymentId(v string) *BatchGetDeploymentInstancesInput
- func (s *BatchGetDeploymentInstancesInput) SetInstanceIds(v []string) *BatchGetDeploymentInstancesInput
- func (s BatchGetDeploymentInstancesInput) String() string
- func (s *BatchGetDeploymentInstancesInput) Validate() error
- type BatchGetDeploymentInstancesOutput
- func (s BatchGetDeploymentInstancesOutput) GoString() string
- func (s BatchGetDeploymentInstancesOutput) SDKResponseMetadata() aws.Response
- func (s *BatchGetDeploymentInstancesOutput) SetErrorMessage(v string) *BatchGetDeploymentInstancesOutput
- func (s *BatchGetDeploymentInstancesOutput) SetInstancesSummary(v []InstanceSummary) *BatchGetDeploymentInstancesOutput
- func (s BatchGetDeploymentInstancesOutput) String() string
- type BatchGetDeploymentInstancesRequest
- type BatchGetDeploymentsInput
- type BatchGetDeploymentsOutput
- type BatchGetDeploymentsRequest
- type BatchGetOnPremisesInstancesInput
- type BatchGetOnPremisesInstancesOutput
- func (s BatchGetOnPremisesInstancesOutput) GoString() string
- func (s BatchGetOnPremisesInstancesOutput) SDKResponseMetadata() aws.Response
- func (s *BatchGetOnPremisesInstancesOutput) SetInstanceInfos(v []InstanceInfo) *BatchGetOnPremisesInstancesOutput
- func (s BatchGetOnPremisesInstancesOutput) String() string
- type BatchGetOnPremisesInstancesRequest
- type BlueGreenDeploymentConfiguration
- func (s BlueGreenDeploymentConfiguration) GoString() string
- func (s *BlueGreenDeploymentConfiguration) SetDeploymentReadyOption(v *DeploymentReadyOption) *BlueGreenDeploymentConfiguration
- func (s *BlueGreenDeploymentConfiguration) SetGreenFleetProvisioningOption(v *GreenFleetProvisioningOption) *BlueGreenDeploymentConfiguration
- func (s *BlueGreenDeploymentConfiguration) SetTerminateBlueInstancesOnDeploymentSuccess(v *BlueInstanceTerminationOption) *BlueGreenDeploymentConfiguration
- func (s BlueGreenDeploymentConfiguration) String() string
- type BlueInstanceTerminationOption
- func (s BlueInstanceTerminationOption) GoString() string
- func (s *BlueInstanceTerminationOption) SetAction(v InstanceAction) *BlueInstanceTerminationOption
- func (s *BlueInstanceTerminationOption) SetTerminationWaitTimeInMinutes(v int64) *BlueInstanceTerminationOption
- func (s BlueInstanceTerminationOption) String() string
- type BundleType
- type CodeDeploy
- func (c *CodeDeploy) AddTagsToOnPremisesInstancesRequest(input *AddTagsToOnPremisesInstancesInput) AddTagsToOnPremisesInstancesRequest
- func (c *CodeDeploy) BatchGetApplicationRevisionsRequest(input *BatchGetApplicationRevisionsInput) BatchGetApplicationRevisionsRequest
- func (c *CodeDeploy) BatchGetApplicationsRequest(input *BatchGetApplicationsInput) BatchGetApplicationsRequest
- func (c *CodeDeploy) BatchGetDeploymentGroupsRequest(input *BatchGetDeploymentGroupsInput) BatchGetDeploymentGroupsRequest
- func (c *CodeDeploy) BatchGetDeploymentInstancesRequest(input *BatchGetDeploymentInstancesInput) BatchGetDeploymentInstancesRequest
- func (c *CodeDeploy) BatchGetDeploymentsRequest(input *BatchGetDeploymentsInput) BatchGetDeploymentsRequest
- func (c *CodeDeploy) BatchGetOnPremisesInstancesRequest(input *BatchGetOnPremisesInstancesInput) BatchGetOnPremisesInstancesRequest
- func (c *CodeDeploy) ContinueDeploymentRequest(input *ContinueDeploymentInput) ContinueDeploymentRequest
- func (c *CodeDeploy) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest
- func (c *CodeDeploy) CreateDeploymentConfigRequest(input *CreateDeploymentConfigInput) CreateDeploymentConfigRequest
- func (c *CodeDeploy) CreateDeploymentGroupRequest(input *CreateDeploymentGroupInput) CreateDeploymentGroupRequest
- func (c *CodeDeploy) CreateDeploymentRequest(input *CreateDeploymentInput) CreateDeploymentRequest
- func (c *CodeDeploy) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest
- func (c *CodeDeploy) DeleteDeploymentConfigRequest(input *DeleteDeploymentConfigInput) DeleteDeploymentConfigRequest
- func (c *CodeDeploy) DeleteDeploymentGroupRequest(input *DeleteDeploymentGroupInput) DeleteDeploymentGroupRequest
- func (c *CodeDeploy) DeleteGitHubAccountTokenRequest(input *DeleteGitHubAccountTokenInput) DeleteGitHubAccountTokenRequest
- func (c *CodeDeploy) DeregisterOnPremisesInstanceRequest(input *DeregisterOnPremisesInstanceInput) DeregisterOnPremisesInstanceRequest
- func (c *CodeDeploy) GetApplicationRequest(input *GetApplicationInput) GetApplicationRequest
- func (c *CodeDeploy) GetApplicationRevisionRequest(input *GetApplicationRevisionInput) GetApplicationRevisionRequest
- func (c *CodeDeploy) GetDeploymentConfigRequest(input *GetDeploymentConfigInput) GetDeploymentConfigRequest
- func (c *CodeDeploy) GetDeploymentGroupRequest(input *GetDeploymentGroupInput) GetDeploymentGroupRequest
- func (c *CodeDeploy) GetDeploymentInstanceRequest(input *GetDeploymentInstanceInput) GetDeploymentInstanceRequest
- func (c *CodeDeploy) GetDeploymentRequest(input *GetDeploymentInput) GetDeploymentRequest
- func (c *CodeDeploy) GetOnPremisesInstanceRequest(input *GetOnPremisesInstanceInput) GetOnPremisesInstanceRequest
- func (c *CodeDeploy) ListApplicationRevisionsPages(input *ListApplicationRevisionsInput, ...) error
- func (c *CodeDeploy) ListApplicationRevisionsPagesWithContext(ctx aws.Context, input *ListApplicationRevisionsInput, ...) error
- func (c *CodeDeploy) ListApplicationRevisionsRequest(input *ListApplicationRevisionsInput) ListApplicationRevisionsRequest
- func (c *CodeDeploy) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error
- func (c *CodeDeploy) ListApplicationsPagesWithContext(ctx aws.Context, input *ListApplicationsInput, ...) error
- func (c *CodeDeploy) ListApplicationsRequest(input *ListApplicationsInput) ListApplicationsRequest
- func (c *CodeDeploy) ListDeploymentConfigsPages(input *ListDeploymentConfigsInput, ...) error
- func (c *CodeDeploy) ListDeploymentConfigsPagesWithContext(ctx aws.Context, input *ListDeploymentConfigsInput, ...) error
- func (c *CodeDeploy) ListDeploymentConfigsRequest(input *ListDeploymentConfigsInput) ListDeploymentConfigsRequest
- func (c *CodeDeploy) ListDeploymentGroupsPages(input *ListDeploymentGroupsInput, ...) error
- func (c *CodeDeploy) ListDeploymentGroupsPagesWithContext(ctx aws.Context, input *ListDeploymentGroupsInput, ...) error
- func (c *CodeDeploy) ListDeploymentGroupsRequest(input *ListDeploymentGroupsInput) ListDeploymentGroupsRequest
- func (c *CodeDeploy) ListDeploymentInstancesPages(input *ListDeploymentInstancesInput, ...) error
- func (c *CodeDeploy) ListDeploymentInstancesPagesWithContext(ctx aws.Context, input *ListDeploymentInstancesInput, ...) error
- func (c *CodeDeploy) ListDeploymentInstancesRequest(input *ListDeploymentInstancesInput) ListDeploymentInstancesRequest
- func (c *CodeDeploy) ListDeploymentsPages(input *ListDeploymentsInput, fn func(*ListDeploymentsOutput, bool) bool) error
- func (c *CodeDeploy) ListDeploymentsPagesWithContext(ctx aws.Context, input *ListDeploymentsInput, ...) error
- func (c *CodeDeploy) ListDeploymentsRequest(input *ListDeploymentsInput) ListDeploymentsRequest
- func (c *CodeDeploy) ListGitHubAccountTokenNamesRequest(input *ListGitHubAccountTokenNamesInput) ListGitHubAccountTokenNamesRequest
- func (c *CodeDeploy) ListOnPremisesInstancesRequest(input *ListOnPremisesInstancesInput) ListOnPremisesInstancesRequest
- func (c *CodeDeploy) PutLifecycleEventHookExecutionStatusRequest(input *PutLifecycleEventHookExecutionStatusInput) PutLifecycleEventHookExecutionStatusRequest
- func (c *CodeDeploy) RegisterApplicationRevisionRequest(input *RegisterApplicationRevisionInput) RegisterApplicationRevisionRequest
- func (c *CodeDeploy) RegisterOnPremisesInstanceRequest(input *RegisterOnPremisesInstanceInput) RegisterOnPremisesInstanceRequest
- func (c *CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest(input *RemoveTagsFromOnPremisesInstancesInput) RemoveTagsFromOnPremisesInstancesRequest
- func (c *CodeDeploy) SkipWaitTimeForInstanceTerminationRequest(input *SkipWaitTimeForInstanceTerminationInput) SkipWaitTimeForInstanceTerminationRequest
- func (c *CodeDeploy) StopDeploymentRequest(input *StopDeploymentInput) StopDeploymentRequest
- func (c *CodeDeploy) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest
- func (c *CodeDeploy) UpdateDeploymentGroupRequest(input *UpdateDeploymentGroupInput) UpdateDeploymentGroupRequest
- func (c *CodeDeploy) WaitUntilDeploymentSuccessful(input *GetDeploymentInput) error
- func (c *CodeDeploy) WaitUntilDeploymentSuccessfulWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...aws.WaiterOption) error
- type ComputePlatform
- type ContinueDeploymentInput
- type ContinueDeploymentOutput
- type ContinueDeploymentRequest
- type CreateApplicationInput
- func (s CreateApplicationInput) GoString() string
- func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplicationInput
- func (s *CreateApplicationInput) SetComputePlatform(v ComputePlatform) *CreateApplicationInput
- func (s CreateApplicationInput) String() string
- func (s *CreateApplicationInput) Validate() error
- type CreateApplicationOutput
- type CreateApplicationRequest
- type CreateDeploymentConfigInput
- func (s CreateDeploymentConfigInput) GoString() string
- func (s *CreateDeploymentConfigInput) SetComputePlatform(v ComputePlatform) *CreateDeploymentConfigInput
- func (s *CreateDeploymentConfigInput) SetDeploymentConfigName(v string) *CreateDeploymentConfigInput
- func (s *CreateDeploymentConfigInput) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *CreateDeploymentConfigInput
- func (s *CreateDeploymentConfigInput) SetTrafficRoutingConfig(v *TrafficRoutingConfig) *CreateDeploymentConfigInput
- func (s CreateDeploymentConfigInput) String() string
- func (s *CreateDeploymentConfigInput) Validate() error
- type CreateDeploymentConfigOutput
- type CreateDeploymentConfigRequest
- type CreateDeploymentGroupInput
- func (s CreateDeploymentGroupInput) GoString() string
- func (s *CreateDeploymentGroupInput) SetAlarmConfiguration(v *AlarmConfiguration) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetApplicationName(v string) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetAutoScalingGroups(v []string) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetDeploymentConfigName(v string) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetDeploymentGroupName(v string) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetDeploymentStyle(v *DeploymentStyle) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetEc2TagFilters(v []EC2TagFilter) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetEc2TagSet(v *EC2TagSet) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetLoadBalancerInfo(v *LoadBalancerInfo) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []TagFilter) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetOnPremisesTagSet(v *OnPremisesTagSet) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetServiceRoleArn(v string) *CreateDeploymentGroupInput
- func (s *CreateDeploymentGroupInput) SetTriggerConfigurations(v []TriggerConfig) *CreateDeploymentGroupInput
- func (s CreateDeploymentGroupInput) String() string
- func (s *CreateDeploymentGroupInput) Validate() error
- type CreateDeploymentGroupOutput
- type CreateDeploymentGroupRequest
- type CreateDeploymentInput
- func (s CreateDeploymentInput) GoString() string
- func (s *CreateDeploymentInput) SetApplicationName(v string) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetDeploymentConfigName(v string) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetDeploymentGroupName(v string) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetFileExistsBehavior(v FileExistsBehavior) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetIgnoreApplicationStopFailures(v bool) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetRevision(v *RevisionLocation) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetTargetInstances(v *TargetInstances) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetUpdateOutdatedInstancesOnly(v bool) *CreateDeploymentInput
- func (s CreateDeploymentInput) String() string
- func (s *CreateDeploymentInput) Validate() error
- type CreateDeploymentOutput
- type CreateDeploymentRequest
- type DeleteApplicationInput
- type DeleteApplicationOutput
- type DeleteApplicationRequest
- type DeleteDeploymentConfigInput
- type DeleteDeploymentConfigOutput
- type DeleteDeploymentConfigRequest
- type DeleteDeploymentGroupInput
- func (s DeleteDeploymentGroupInput) GoString() string
- func (s *DeleteDeploymentGroupInput) SetApplicationName(v string) *DeleteDeploymentGroupInput
- func (s *DeleteDeploymentGroupInput) SetDeploymentGroupName(v string) *DeleteDeploymentGroupInput
- func (s DeleteDeploymentGroupInput) String() string
- func (s *DeleteDeploymentGroupInput) Validate() error
- type DeleteDeploymentGroupOutput
- type DeleteDeploymentGroupRequest
- type DeleteGitHubAccountTokenInput
- type DeleteGitHubAccountTokenOutput
- type DeleteGitHubAccountTokenRequest
- type DeploymentConfigInfo
- func (s DeploymentConfigInfo) GoString() string
- func (s *DeploymentConfigInfo) SetComputePlatform(v ComputePlatform) *DeploymentConfigInfo
- func (s *DeploymentConfigInfo) SetCreateTime(v time.Time) *DeploymentConfigInfo
- func (s *DeploymentConfigInfo) SetDeploymentConfigId(v string) *DeploymentConfigInfo
- func (s *DeploymentConfigInfo) SetDeploymentConfigName(v string) *DeploymentConfigInfo
- func (s *DeploymentConfigInfo) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *DeploymentConfigInfo
- func (s *DeploymentConfigInfo) SetTrafficRoutingConfig(v *TrafficRoutingConfig) *DeploymentConfigInfo
- func (s DeploymentConfigInfo) String() string
- type DeploymentCreator
- type DeploymentGroupInfo
- func (s DeploymentGroupInfo) GoString() string
- func (s *DeploymentGroupInfo) SetAlarmConfiguration(v *AlarmConfiguration) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetApplicationName(v string) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetAutoScalingGroups(v []AutoScalingGroup) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetComputePlatform(v ComputePlatform) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetDeploymentConfigName(v string) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetDeploymentGroupId(v string) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetDeploymentGroupName(v string) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetEc2TagFilters(v []EC2TagFilter) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetEc2TagSet(v *EC2TagSet) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetLastAttemptedDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetLastSuccessfulDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetOnPremisesInstanceTagFilters(v []TagFilter) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetOnPremisesTagSet(v *OnPremisesTagSet) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetServiceRoleArn(v string) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetTargetRevision(v *RevisionLocation) *DeploymentGroupInfo
- func (s *DeploymentGroupInfo) SetTriggerConfigurations(v []TriggerConfig) *DeploymentGroupInfo
- func (s DeploymentGroupInfo) String() string
- type DeploymentInfo
- func (s DeploymentInfo) GoString() string
- func (s *DeploymentInfo) SetAdditionalDeploymentStatusInfo(v string) *DeploymentInfo
- func (s *DeploymentInfo) SetApplicationName(v string) *DeploymentInfo
- func (s *DeploymentInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentInfo
- func (s *DeploymentInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentInfo
- func (s *DeploymentInfo) SetCompleteTime(v time.Time) *DeploymentInfo
- func (s *DeploymentInfo) SetComputePlatform(v ComputePlatform) *DeploymentInfo
- func (s *DeploymentInfo) SetCreateTime(v time.Time) *DeploymentInfo
- func (s *DeploymentInfo) SetCreator(v DeploymentCreator) *DeploymentInfo
- func (s *DeploymentInfo) SetDeploymentConfigName(v string) *DeploymentInfo
- func (s *DeploymentInfo) SetDeploymentGroupName(v string) *DeploymentInfo
- func (s *DeploymentInfo) SetDeploymentId(v string) *DeploymentInfo
- func (s *DeploymentInfo) SetDeploymentOverview(v *DeploymentOverview) *DeploymentInfo
- func (s *DeploymentInfo) SetDeploymentStatusMessages(v []string) *DeploymentInfo
- func (s *DeploymentInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentInfo
- func (s *DeploymentInfo) SetDescription(v string) *DeploymentInfo
- func (s *DeploymentInfo) SetErrorInformation(v *ErrorInformation) *DeploymentInfo
- func (s *DeploymentInfo) SetFileExistsBehavior(v FileExistsBehavior) *DeploymentInfo
- func (s *DeploymentInfo) SetIgnoreApplicationStopFailures(v bool) *DeploymentInfo
- func (s *DeploymentInfo) SetInstanceTerminationWaitTimeStarted(v bool) *DeploymentInfo
- func (s *DeploymentInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentInfo
- func (s *DeploymentInfo) SetPreviousRevision(v *RevisionLocation) *DeploymentInfo
- func (s *DeploymentInfo) SetRevision(v *RevisionLocation) *DeploymentInfo
- func (s *DeploymentInfo) SetRollbackInfo(v *RollbackInfo) *DeploymentInfo
- func (s *DeploymentInfo) SetStartTime(v time.Time) *DeploymentInfo
- func (s *DeploymentInfo) SetStatus(v DeploymentStatus) *DeploymentInfo
- func (s *DeploymentInfo) SetTargetInstances(v *TargetInstances) *DeploymentInfo
- func (s *DeploymentInfo) SetUpdateOutdatedInstancesOnly(v bool) *DeploymentInfo
- func (s DeploymentInfo) String() string
- type DeploymentOption
- type DeploymentOverview
- func (s DeploymentOverview) GoString() string
- func (s *DeploymentOverview) SetFailed(v int64) *DeploymentOverview
- func (s *DeploymentOverview) SetInProgress(v int64) *DeploymentOverview
- func (s *DeploymentOverview) SetPending(v int64) *DeploymentOverview
- func (s *DeploymentOverview) SetReady(v int64) *DeploymentOverview
- func (s *DeploymentOverview) SetSkipped(v int64) *DeploymentOverview
- func (s *DeploymentOverview) SetSucceeded(v int64) *DeploymentOverview
- func (s DeploymentOverview) String() string
- type DeploymentReadyAction
- type DeploymentReadyOption
- type DeploymentStatus
- type DeploymentStyle
- type DeploymentType
- type DeregisterOnPremisesInstanceInput
- type DeregisterOnPremisesInstanceOutput
- type DeregisterOnPremisesInstanceRequest
- type Diagnostics
- func (s Diagnostics) GoString() string
- func (s *Diagnostics) SetErrorCode(v LifecycleErrorCode) *Diagnostics
- func (s *Diagnostics) SetLogTail(v string) *Diagnostics
- func (s *Diagnostics) SetMessage(v string) *Diagnostics
- func (s *Diagnostics) SetScriptName(v string) *Diagnostics
- func (s Diagnostics) String() string
- type EC2TagFilter
- type EC2TagFilterType
- type EC2TagSet
- type ELBInfo
- type ErrorCode
- type ErrorInformation
- type FileExistsBehavior
- type GenericRevisionInfo
- func (s GenericRevisionInfo) GoString() string
- func (s *GenericRevisionInfo) SetDeploymentGroups(v []string) *GenericRevisionInfo
- func (s *GenericRevisionInfo) SetDescription(v string) *GenericRevisionInfo
- func (s *GenericRevisionInfo) SetFirstUsedTime(v time.Time) *GenericRevisionInfo
- func (s *GenericRevisionInfo) SetLastUsedTime(v time.Time) *GenericRevisionInfo
- func (s *GenericRevisionInfo) SetRegisterTime(v time.Time) *GenericRevisionInfo
- func (s GenericRevisionInfo) String() string
- type GetApplicationInput
- type GetApplicationOutput
- type GetApplicationRequest
- type GetApplicationRevisionInput
- func (s GetApplicationRevisionInput) GoString() string
- func (s *GetApplicationRevisionInput) SetApplicationName(v string) *GetApplicationRevisionInput
- func (s *GetApplicationRevisionInput) SetRevision(v *RevisionLocation) *GetApplicationRevisionInput
- func (s GetApplicationRevisionInput) String() string
- func (s *GetApplicationRevisionInput) Validate() error
- type GetApplicationRevisionOutput
- func (s GetApplicationRevisionOutput) GoString() string
- func (s GetApplicationRevisionOutput) SDKResponseMetadata() aws.Response
- func (s *GetApplicationRevisionOutput) SetApplicationName(v string) *GetApplicationRevisionOutput
- func (s *GetApplicationRevisionOutput) SetRevision(v *RevisionLocation) *GetApplicationRevisionOutput
- func (s *GetApplicationRevisionOutput) SetRevisionInfo(v *GenericRevisionInfo) *GetApplicationRevisionOutput
- func (s GetApplicationRevisionOutput) String() string
- type GetApplicationRevisionRequest
- type GetDeploymentConfigInput
- type GetDeploymentConfigOutput
- type GetDeploymentConfigRequest
- type GetDeploymentGroupInput
- func (s GetDeploymentGroupInput) GoString() string
- func (s *GetDeploymentGroupInput) SetApplicationName(v string) *GetDeploymentGroupInput
- func (s *GetDeploymentGroupInput) SetDeploymentGroupName(v string) *GetDeploymentGroupInput
- func (s GetDeploymentGroupInput) String() string
- func (s *GetDeploymentGroupInput) Validate() error
- type GetDeploymentGroupOutput
- type GetDeploymentGroupRequest
- type GetDeploymentInput
- type GetDeploymentInstanceInput
- func (s GetDeploymentInstanceInput) GoString() string
- func (s *GetDeploymentInstanceInput) SetDeploymentId(v string) *GetDeploymentInstanceInput
- func (s *GetDeploymentInstanceInput) SetInstanceId(v string) *GetDeploymentInstanceInput
- func (s GetDeploymentInstanceInput) String() string
- func (s *GetDeploymentInstanceInput) Validate() error
- type GetDeploymentInstanceOutput
- type GetDeploymentInstanceRequest
- type GetDeploymentOutput
- type GetDeploymentRequest
- type GetOnPremisesInstanceInput
- type GetOnPremisesInstanceOutput
- type GetOnPremisesInstanceRequest
- type GitHubLocation
- type GreenFleetProvisioningAction
- type GreenFleetProvisioningOption
- type InstanceAction
- type InstanceInfo
- func (s InstanceInfo) GoString() string
- func (s *InstanceInfo) SetDeregisterTime(v time.Time) *InstanceInfo
- func (s *InstanceInfo) SetIamSessionArn(v string) *InstanceInfo
- func (s *InstanceInfo) SetIamUserArn(v string) *InstanceInfo
- func (s *InstanceInfo) SetInstanceArn(v string) *InstanceInfo
- func (s *InstanceInfo) SetInstanceName(v string) *InstanceInfo
- func (s *InstanceInfo) SetRegisterTime(v time.Time) *InstanceInfo
- func (s *InstanceInfo) SetTags(v []Tag) *InstanceInfo
- func (s InstanceInfo) String() string
- type InstanceStatus
- type InstanceSummary
- func (s InstanceSummary) GoString() string
- func (s *InstanceSummary) SetDeploymentId(v string) *InstanceSummary
- func (s *InstanceSummary) SetInstanceId(v string) *InstanceSummary
- func (s *InstanceSummary) SetInstanceType(v InstanceType) *InstanceSummary
- func (s *InstanceSummary) SetLastUpdatedAt(v time.Time) *InstanceSummary
- func (s *InstanceSummary) SetLifecycleEvents(v []LifecycleEvent) *InstanceSummary
- func (s *InstanceSummary) SetStatus(v InstanceStatus) *InstanceSummary
- func (s InstanceSummary) String() string
- type InstanceType
- type LastDeploymentInfo
- func (s LastDeploymentInfo) GoString() string
- func (s *LastDeploymentInfo) SetCreateTime(v time.Time) *LastDeploymentInfo
- func (s *LastDeploymentInfo) SetDeploymentId(v string) *LastDeploymentInfo
- func (s *LastDeploymentInfo) SetEndTime(v time.Time) *LastDeploymentInfo
- func (s *LastDeploymentInfo) SetStatus(v DeploymentStatus) *LastDeploymentInfo
- func (s LastDeploymentInfo) String() string
- type LifecycleErrorCode
- type LifecycleEvent
- func (s LifecycleEvent) GoString() string
- func (s *LifecycleEvent) SetDiagnostics(v *Diagnostics) *LifecycleEvent
- func (s *LifecycleEvent) SetEndTime(v time.Time) *LifecycleEvent
- func (s *LifecycleEvent) SetLifecycleEventName(v string) *LifecycleEvent
- func (s *LifecycleEvent) SetStartTime(v time.Time) *LifecycleEvent
- func (s *LifecycleEvent) SetStatus(v LifecycleEventStatus) *LifecycleEvent
- func (s LifecycleEvent) String() string
- type LifecycleEventStatus
- type ListApplicationRevisionsInput
- func (s ListApplicationRevisionsInput) GoString() string
- func (s *ListApplicationRevisionsInput) SetApplicationName(v string) *ListApplicationRevisionsInput
- func (s *ListApplicationRevisionsInput) SetDeployed(v ListStateFilterAction) *ListApplicationRevisionsInput
- func (s *ListApplicationRevisionsInput) SetNextToken(v string) *ListApplicationRevisionsInput
- func (s *ListApplicationRevisionsInput) SetS3Bucket(v string) *ListApplicationRevisionsInput
- func (s *ListApplicationRevisionsInput) SetS3KeyPrefix(v string) *ListApplicationRevisionsInput
- func (s *ListApplicationRevisionsInput) SetSortBy(v ApplicationRevisionSortBy) *ListApplicationRevisionsInput
- func (s *ListApplicationRevisionsInput) SetSortOrder(v SortOrder) *ListApplicationRevisionsInput
- func (s ListApplicationRevisionsInput) String() string
- func (s *ListApplicationRevisionsInput) Validate() error
- type ListApplicationRevisionsOutput
- func (s ListApplicationRevisionsOutput) GoString() string
- func (s ListApplicationRevisionsOutput) SDKResponseMetadata() aws.Response
- func (s *ListApplicationRevisionsOutput) SetNextToken(v string) *ListApplicationRevisionsOutput
- func (s *ListApplicationRevisionsOutput) SetRevisions(v []RevisionLocation) *ListApplicationRevisionsOutput
- func (s ListApplicationRevisionsOutput) String() string
- type ListApplicationRevisionsRequest
- type ListApplicationsInput
- type ListApplicationsOutput
- func (s ListApplicationsOutput) GoString() string
- func (s ListApplicationsOutput) SDKResponseMetadata() aws.Response
- func (s *ListApplicationsOutput) SetApplications(v []string) *ListApplicationsOutput
- func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput
- func (s ListApplicationsOutput) String() string
- type ListApplicationsRequest
- type ListDeploymentConfigsInput
- type ListDeploymentConfigsOutput
- func (s ListDeploymentConfigsOutput) GoString() string
- func (s ListDeploymentConfigsOutput) SDKResponseMetadata() aws.Response
- func (s *ListDeploymentConfigsOutput) SetDeploymentConfigsList(v []string) *ListDeploymentConfigsOutput
- func (s *ListDeploymentConfigsOutput) SetNextToken(v string) *ListDeploymentConfigsOutput
- func (s ListDeploymentConfigsOutput) String() string
- type ListDeploymentConfigsRequest
- type ListDeploymentGroupsInput
- func (s ListDeploymentGroupsInput) GoString() string
- func (s *ListDeploymentGroupsInput) SetApplicationName(v string) *ListDeploymentGroupsInput
- func (s *ListDeploymentGroupsInput) SetNextToken(v string) *ListDeploymentGroupsInput
- func (s ListDeploymentGroupsInput) String() string
- func (s *ListDeploymentGroupsInput) Validate() error
- type ListDeploymentGroupsOutput
- func (s ListDeploymentGroupsOutput) GoString() string
- func (s ListDeploymentGroupsOutput) SDKResponseMetadata() aws.Response
- func (s *ListDeploymentGroupsOutput) SetApplicationName(v string) *ListDeploymentGroupsOutput
- func (s *ListDeploymentGroupsOutput) SetDeploymentGroups(v []string) *ListDeploymentGroupsOutput
- func (s *ListDeploymentGroupsOutput) SetNextToken(v string) *ListDeploymentGroupsOutput
- func (s ListDeploymentGroupsOutput) String() string
- type ListDeploymentGroupsRequest
- type ListDeploymentInstancesInput
- func (s ListDeploymentInstancesInput) GoString() string
- func (s *ListDeploymentInstancesInput) SetDeploymentId(v string) *ListDeploymentInstancesInput
- func (s *ListDeploymentInstancesInput) SetInstanceStatusFilter(v []InstanceStatus) *ListDeploymentInstancesInput
- func (s *ListDeploymentInstancesInput) SetInstanceTypeFilter(v []InstanceType) *ListDeploymentInstancesInput
- func (s *ListDeploymentInstancesInput) SetNextToken(v string) *ListDeploymentInstancesInput
- func (s ListDeploymentInstancesInput) String() string
- func (s *ListDeploymentInstancesInput) Validate() error
- type ListDeploymentInstancesOutput
- func (s ListDeploymentInstancesOutput) GoString() string
- func (s ListDeploymentInstancesOutput) SDKResponseMetadata() aws.Response
- func (s *ListDeploymentInstancesOutput) SetInstancesList(v []string) *ListDeploymentInstancesOutput
- func (s *ListDeploymentInstancesOutput) SetNextToken(v string) *ListDeploymentInstancesOutput
- func (s ListDeploymentInstancesOutput) String() string
- type ListDeploymentInstancesRequest
- type ListDeploymentsInput
- func (s ListDeploymentsInput) GoString() string
- func (s *ListDeploymentsInput) SetApplicationName(v string) *ListDeploymentsInput
- func (s *ListDeploymentsInput) SetCreateTimeRange(v *TimeRange) *ListDeploymentsInput
- func (s *ListDeploymentsInput) SetDeploymentGroupName(v string) *ListDeploymentsInput
- func (s *ListDeploymentsInput) SetIncludeOnlyStatuses(v []DeploymentStatus) *ListDeploymentsInput
- func (s *ListDeploymentsInput) SetNextToken(v string) *ListDeploymentsInput
- func (s ListDeploymentsInput) String() string
- func (s *ListDeploymentsInput) Validate() error
- type ListDeploymentsOutput
- func (s ListDeploymentsOutput) GoString() string
- func (s ListDeploymentsOutput) SDKResponseMetadata() aws.Response
- func (s *ListDeploymentsOutput) SetDeployments(v []string) *ListDeploymentsOutput
- func (s *ListDeploymentsOutput) SetNextToken(v string) *ListDeploymentsOutput
- func (s ListDeploymentsOutput) String() string
- type ListDeploymentsRequest
- type ListGitHubAccountTokenNamesInput
- type ListGitHubAccountTokenNamesOutput
- func (s ListGitHubAccountTokenNamesOutput) GoString() string
- func (s ListGitHubAccountTokenNamesOutput) SDKResponseMetadata() aws.Response
- func (s *ListGitHubAccountTokenNamesOutput) SetNextToken(v string) *ListGitHubAccountTokenNamesOutput
- func (s *ListGitHubAccountTokenNamesOutput) SetTokenNameList(v []string) *ListGitHubAccountTokenNamesOutput
- func (s ListGitHubAccountTokenNamesOutput) String() string
- type ListGitHubAccountTokenNamesRequest
- type ListOnPremisesInstancesInput
- func (s ListOnPremisesInstancesInput) GoString() string
- func (s *ListOnPremisesInstancesInput) SetNextToken(v string) *ListOnPremisesInstancesInput
- func (s *ListOnPremisesInstancesInput) SetRegistrationStatus(v RegistrationStatus) *ListOnPremisesInstancesInput
- func (s *ListOnPremisesInstancesInput) SetTagFilters(v []TagFilter) *ListOnPremisesInstancesInput
- func (s ListOnPremisesInstancesInput) String() string
- type ListOnPremisesInstancesOutput
- func (s ListOnPremisesInstancesOutput) GoString() string
- func (s ListOnPremisesInstancesOutput) SDKResponseMetadata() aws.Response
- func (s *ListOnPremisesInstancesOutput) SetInstanceNames(v []string) *ListOnPremisesInstancesOutput
- func (s *ListOnPremisesInstancesOutput) SetNextToken(v string) *ListOnPremisesInstancesOutput
- func (s ListOnPremisesInstancesOutput) String() string
- type ListOnPremisesInstancesRequest
- type ListStateFilterAction
- type LoadBalancerInfo
- type MinimumHealthyHosts
- type MinimumHealthyHostsType
- type OnPremisesTagSet
- type PutLifecycleEventHookExecutionStatusInput
- func (s PutLifecycleEventHookExecutionStatusInput) GoString() string
- func (s *PutLifecycleEventHookExecutionStatusInput) SetDeploymentId(v string) *PutLifecycleEventHookExecutionStatusInput
- func (s *PutLifecycleEventHookExecutionStatusInput) SetLifecycleEventHookExecutionId(v string) *PutLifecycleEventHookExecutionStatusInput
- func (s *PutLifecycleEventHookExecutionStatusInput) SetStatus(v LifecycleEventStatus) *PutLifecycleEventHookExecutionStatusInput
- func (s PutLifecycleEventHookExecutionStatusInput) String() string
- type PutLifecycleEventHookExecutionStatusOutput
- func (s PutLifecycleEventHookExecutionStatusOutput) GoString() string
- func (s PutLifecycleEventHookExecutionStatusOutput) SDKResponseMetadata() aws.Response
- func (s *PutLifecycleEventHookExecutionStatusOutput) SetLifecycleEventHookExecutionId(v string) *PutLifecycleEventHookExecutionStatusOutput
- func (s PutLifecycleEventHookExecutionStatusOutput) String() string
- type PutLifecycleEventHookExecutionStatusRequest
- type RawString
- type RegisterApplicationRevisionInput
- func (s RegisterApplicationRevisionInput) GoString() string
- func (s *RegisterApplicationRevisionInput) SetApplicationName(v string) *RegisterApplicationRevisionInput
- func (s *RegisterApplicationRevisionInput) SetDescription(v string) *RegisterApplicationRevisionInput
- func (s *RegisterApplicationRevisionInput) SetRevision(v *RevisionLocation) *RegisterApplicationRevisionInput
- func (s RegisterApplicationRevisionInput) String() string
- func (s *RegisterApplicationRevisionInput) Validate() error
- type RegisterApplicationRevisionOutput
- type RegisterApplicationRevisionRequest
- type RegisterOnPremisesInstanceInput
- func (s RegisterOnPremisesInstanceInput) GoString() string
- func (s *RegisterOnPremisesInstanceInput) SetIamSessionArn(v string) *RegisterOnPremisesInstanceInput
- func (s *RegisterOnPremisesInstanceInput) SetIamUserArn(v string) *RegisterOnPremisesInstanceInput
- func (s *RegisterOnPremisesInstanceInput) SetInstanceName(v string) *RegisterOnPremisesInstanceInput
- func (s RegisterOnPremisesInstanceInput) String() string
- func (s *RegisterOnPremisesInstanceInput) Validate() error
- type RegisterOnPremisesInstanceOutput
- type RegisterOnPremisesInstanceRequest
- type RegistrationStatus
- type RemoveTagsFromOnPremisesInstancesInput
- func (s RemoveTagsFromOnPremisesInstancesInput) GoString() string
- func (s *RemoveTagsFromOnPremisesInstancesInput) SetInstanceNames(v []string) *RemoveTagsFromOnPremisesInstancesInput
- func (s *RemoveTagsFromOnPremisesInstancesInput) SetTags(v []Tag) *RemoveTagsFromOnPremisesInstancesInput
- func (s RemoveTagsFromOnPremisesInstancesInput) String() string
- func (s *RemoveTagsFromOnPremisesInstancesInput) Validate() error
- type RemoveTagsFromOnPremisesInstancesOutput
- type RemoveTagsFromOnPremisesInstancesRequest
- type RevisionInfo
- type RevisionLocation
- func (s RevisionLocation) GoString() string
- func (s *RevisionLocation) SetGitHubLocation(v *GitHubLocation) *RevisionLocation
- func (s *RevisionLocation) SetRevisionType(v RevisionLocationType) *RevisionLocation
- func (s *RevisionLocation) SetS3Location(v *S3Location) *RevisionLocation
- func (s *RevisionLocation) SetString_(v *RawString) *RevisionLocation
- func (s RevisionLocation) String() string
- type RevisionLocationType
- type RollbackInfo
- type S3Location
- func (s S3Location) GoString() string
- func (s *S3Location) SetBucket(v string) *S3Location
- func (s *S3Location) SetBundleType(v BundleType) *S3Location
- func (s *S3Location) SetETag(v string) *S3Location
- func (s *S3Location) SetKey(v string) *S3Location
- func (s *S3Location) SetVersion(v string) *S3Location
- func (s S3Location) String() string
- type SkipWaitTimeForInstanceTerminationInput
- type SkipWaitTimeForInstanceTerminationOutput
- type SkipWaitTimeForInstanceTerminationRequest
- type SortOrder
- type StopDeploymentInput
- type StopDeploymentOutput
- func (s StopDeploymentOutput) GoString() string
- func (s StopDeploymentOutput) SDKResponseMetadata() aws.Response
- func (s *StopDeploymentOutput) SetStatus(v StopStatus) *StopDeploymentOutput
- func (s *StopDeploymentOutput) SetStatusMessage(v string) *StopDeploymentOutput
- func (s StopDeploymentOutput) String() string
- type StopDeploymentRequest
- type StopStatus
- type Tag
- type TagFilter
- type TagFilterType
- type TargetGroupInfo
- type TargetInstances
- func (s TargetInstances) GoString() string
- func (s *TargetInstances) SetAutoScalingGroups(v []string) *TargetInstances
- func (s *TargetInstances) SetEc2TagSet(v *EC2TagSet) *TargetInstances
- func (s *TargetInstances) SetTagFilters(v []EC2TagFilter) *TargetInstances
- func (s TargetInstances) String() string
- type TimeBasedCanary
- type TimeBasedLinear
- type TimeRange
- type TrafficRoutingConfig
- func (s TrafficRoutingConfig) GoString() string
- func (s *TrafficRoutingConfig) SetTimeBasedCanary(v *TimeBasedCanary) *TrafficRoutingConfig
- func (s *TrafficRoutingConfig) SetTimeBasedLinear(v *TimeBasedLinear) *TrafficRoutingConfig
- func (s *TrafficRoutingConfig) SetType(v TrafficRoutingType) *TrafficRoutingConfig
- func (s TrafficRoutingConfig) String() string
- type TrafficRoutingType
- type TriggerConfig
- type TriggerEventType
- type UpdateApplicationInput
- func (s UpdateApplicationInput) GoString() string
- func (s *UpdateApplicationInput) SetApplicationName(v string) *UpdateApplicationInput
- func (s *UpdateApplicationInput) SetNewApplicationName(v string) *UpdateApplicationInput
- func (s UpdateApplicationInput) String() string
- func (s *UpdateApplicationInput) Validate() error
- type UpdateApplicationOutput
- type UpdateApplicationRequest
- type UpdateDeploymentGroupInput
- func (s UpdateDeploymentGroupInput) GoString() string
- func (s *UpdateDeploymentGroupInput) SetAlarmConfiguration(v *AlarmConfiguration) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetApplicationName(v string) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetAutoScalingGroups(v []string) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetCurrentDeploymentGroupName(v string) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetDeploymentConfigName(v string) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetDeploymentStyle(v *DeploymentStyle) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetEc2TagFilters(v []EC2TagFilter) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetEc2TagSet(v *EC2TagSet) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetLoadBalancerInfo(v *LoadBalancerInfo) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetNewDeploymentGroupName(v string) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []TagFilter) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetOnPremisesTagSet(v *OnPremisesTagSet) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetServiceRoleArn(v string) *UpdateDeploymentGroupInput
- func (s *UpdateDeploymentGroupInput) SetTriggerConfigurations(v []TriggerConfig) *UpdateDeploymentGroupInput
- func (s UpdateDeploymentGroupInput) String() string
- func (s *UpdateDeploymentGroupInput) Validate() error
- type UpdateDeploymentGroupOutput
- type UpdateDeploymentGroupRequest
Constants ¶
const ( // ErrCodeAlarmsLimitExceededException for service response error code // "AlarmsLimitExceededException". // // The maximum number of alarms for a deployment group (10) was exceeded. ErrCodeAlarmsLimitExceededException = "AlarmsLimitExceededException" // ErrCodeApplicationAlreadyExistsException for service response error code // "ApplicationAlreadyExistsException". // // An application with the specified name already exists with the applicable // IAM user or AWS account. ErrCodeApplicationAlreadyExistsException = "ApplicationAlreadyExistsException" // ErrCodeApplicationDoesNotExistException for service response error code // "ApplicationDoesNotExistException". // // The application does not exist with the applicable IAM user or AWS account. ErrCodeApplicationDoesNotExistException = "ApplicationDoesNotExistException" // ErrCodeApplicationLimitExceededException for service response error code // "ApplicationLimitExceededException". // // More applications were attempted to be created than are allowed. ErrCodeApplicationLimitExceededException = "ApplicationLimitExceededException" // ErrCodeApplicationNameRequiredException for service response error code // "ApplicationNameRequiredException". // // The minimum number of required application names was not specified. ErrCodeApplicationNameRequiredException = "ApplicationNameRequiredException" // ErrCodeBatchLimitExceededException for service response error code // "BatchLimitExceededException". // // The maximum number of names or IDs allowed for this request (100) was exceeded. ErrCodeBatchLimitExceededException = "BatchLimitExceededException" // ErrCodeBucketNameFilterRequiredException for service response error code // "BucketNameFilterRequiredException". // // A bucket name is required, but was not provided. ErrCodeBucketNameFilterRequiredException = "BucketNameFilterRequiredException" // ErrCodeDeploymentAlreadyCompletedException for service response error code // "DeploymentAlreadyCompletedException". // // The deployment is already complete. ErrCodeDeploymentAlreadyCompletedException = "DeploymentAlreadyCompletedException" // ErrCodeDeploymentConfigAlreadyExistsException for service response error code // "DeploymentConfigAlreadyExistsException". // // A deployment configuration with the specified name already exists with the // applicable IAM user or AWS account. ErrCodeDeploymentConfigAlreadyExistsException = "DeploymentConfigAlreadyExistsException" // ErrCodeDeploymentConfigDoesNotExistException for service response error code // "DeploymentConfigDoesNotExistException". // // The deployment configuration does not exist with the applicable IAM user // or AWS account. ErrCodeDeploymentConfigDoesNotExistException = "DeploymentConfigDoesNotExistException" // ErrCodeDeploymentConfigInUseException for service response error code // "DeploymentConfigInUseException". // // The deployment configuration is still in use. ErrCodeDeploymentConfigInUseException = "DeploymentConfigInUseException" // ErrCodeDeploymentConfigLimitExceededException for service response error code // "DeploymentConfigLimitExceededException". // // The deployment configurations limit was exceeded. ErrCodeDeploymentConfigLimitExceededException = "DeploymentConfigLimitExceededException" // ErrCodeDeploymentConfigNameRequiredException for service response error code // "DeploymentConfigNameRequiredException". // // The deployment configuration name was not specified. ErrCodeDeploymentConfigNameRequiredException = "DeploymentConfigNameRequiredException" // ErrCodeDeploymentDoesNotExistException for service response error code // "DeploymentDoesNotExistException". // // The deployment does not exist with the applicable IAM user or AWS account. ErrCodeDeploymentDoesNotExistException = "DeploymentDoesNotExistException" // ErrCodeDeploymentGroupAlreadyExistsException for service response error code // "DeploymentGroupAlreadyExistsException". // // A deployment group with the specified name already exists with the applicable // IAM user or AWS account. ErrCodeDeploymentGroupAlreadyExistsException = "DeploymentGroupAlreadyExistsException" // ErrCodeDeploymentGroupDoesNotExistException for service response error code // "DeploymentGroupDoesNotExistException". // // The named deployment group does not exist with the applicable IAM user or // AWS account. ErrCodeDeploymentGroupDoesNotExistException = "DeploymentGroupDoesNotExistException" // ErrCodeDeploymentGroupLimitExceededException for service response error code // "DeploymentGroupLimitExceededException". // // The deployment groups limit was exceeded. ErrCodeDeploymentGroupLimitExceededException = "DeploymentGroupLimitExceededException" // ErrCodeDeploymentGroupNameRequiredException for service response error code // "DeploymentGroupNameRequiredException". // // The deployment group name was not specified. ErrCodeDeploymentGroupNameRequiredException = "DeploymentGroupNameRequiredException" // ErrCodeDeploymentIdRequiredException for service response error code // "DeploymentIdRequiredException". // // At least one deployment ID must be specified. ErrCodeDeploymentIdRequiredException = "DeploymentIdRequiredException" // ErrCodeDeploymentIsNotInReadyStateException for service response error code // "DeploymentIsNotInReadyStateException". // // The deployment does not have a status of Ready and can't continue yet. ErrCodeDeploymentIsNotInReadyStateException = "DeploymentIsNotInReadyStateException" // ErrCodeDeploymentLimitExceededException for service response error code // "DeploymentLimitExceededException". // // The number of allowed deployments was exceeded. ErrCodeDeploymentLimitExceededException = "DeploymentLimitExceededException" // ErrCodeDeploymentNotStartedException for service response error code // "DeploymentNotStartedException". // // The specified deployment has not started. ErrCodeDeploymentNotStartedException = "DeploymentNotStartedException" // ErrCodeDescriptionTooLongException for service response error code // "DescriptionTooLongException". // // The description is too long. ErrCodeDescriptionTooLongException = "DescriptionTooLongException" // ErrCodeGitHubAccountTokenDoesNotExistException for service response error code // "GitHubAccountTokenDoesNotExistException". // // No GitHub account connection exists with the named specified in the call. ErrCodeGitHubAccountTokenDoesNotExistException = "GitHubAccountTokenDoesNotExistException" // ErrCodeGitHubAccountTokenNameRequiredException for service response error code // "GitHubAccountTokenNameRequiredException". // // The call is missing a required GitHub account connection name. ErrCodeGitHubAccountTokenNameRequiredException = "GitHubAccountTokenNameRequiredException" // ErrCodeIamArnRequiredException for service response error code // "IamArnRequiredException". // // No IAM ARN was included in the request. You must use an IAM session ARN or // IAM user ARN in the request. ErrCodeIamArnRequiredException = "IamArnRequiredException" // ErrCodeIamSessionArnAlreadyRegisteredException for service response error code // "IamSessionArnAlreadyRegisteredException". // // The request included an IAM session ARN that has already been used to register // a different instance. ErrCodeIamSessionArnAlreadyRegisteredException = "IamSessionArnAlreadyRegisteredException" // ErrCodeIamUserArnAlreadyRegisteredException for service response error code // "IamUserArnAlreadyRegisteredException". // // The specified IAM user ARN is already registered with an on-premises instance. ErrCodeIamUserArnAlreadyRegisteredException = "IamUserArnAlreadyRegisteredException" // ErrCodeIamUserArnRequiredException for service response error code // "IamUserArnRequiredException". // // An IAM user ARN was not specified. ErrCodeIamUserArnRequiredException = "IamUserArnRequiredException" // ErrCodeInstanceDoesNotExistException for service response error code // "InstanceDoesNotExistException". // // The specified instance does not exist in the deployment group. ErrCodeInstanceDoesNotExistException = "InstanceDoesNotExistException" // ErrCodeInstanceIdRequiredException for service response error code // "InstanceIdRequiredException". // // The instance ID was not specified. ErrCodeInstanceIdRequiredException = "InstanceIdRequiredException" // ErrCodeInstanceLimitExceededException for service response error code // "InstanceLimitExceededException". // // The maximum number of allowed on-premises instances in a single call was // exceeded. ErrCodeInstanceLimitExceededException = "InstanceLimitExceededException" // ErrCodeInstanceNameAlreadyRegisteredException for service response error code // "InstanceNameAlreadyRegisteredException". // // The specified on-premises instance name is already registered. ErrCodeInstanceNameAlreadyRegisteredException = "InstanceNameAlreadyRegisteredException" // ErrCodeInstanceNameRequiredException for service response error code // "InstanceNameRequiredException". // // An on-premises instance name was not specified. ErrCodeInstanceNameRequiredException = "InstanceNameRequiredException" // ErrCodeInstanceNotRegisteredException for service response error code // "InstanceNotRegisteredException". // // The specified on-premises instance is not registered. ErrCodeInstanceNotRegisteredException = "InstanceNotRegisteredException" // ErrCodeInvalidAlarmConfigException for service response error code // "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 255 character limit. // // * Two alarms with the same name have been specified. // // * The alarm configuration is enabled but the alarm list is empty. ErrCodeInvalidAlarmConfigException = "InvalidAlarmConfigException" // ErrCodeInvalidApplicationNameException for service response error code // "InvalidApplicationNameException". // // The application name was specified in an invalid format. ErrCodeInvalidApplicationNameException = "InvalidApplicationNameException" // ErrCodeInvalidAutoRollbackConfigException for service response error code // "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. ErrCodeInvalidAutoRollbackConfigException = "InvalidAutoRollbackConfigException" // ErrCodeInvalidAutoScalingGroupException for service response error code // "InvalidAutoScalingGroupException". // // The Auto Scaling group was specified in an invalid format or does not exist. ErrCodeInvalidAutoScalingGroupException = "InvalidAutoScalingGroupException" // ErrCodeInvalidBlueGreenDeploymentConfigurationException for service response error code // "InvalidBlueGreenDeploymentConfigurationException". // // The configuration for the blue/green deployment group was provided in an // invalid format. For information about deployment configuration format, see // CreateDeploymentConfig. ErrCodeInvalidBlueGreenDeploymentConfigurationException = "InvalidBlueGreenDeploymentConfigurationException" // ErrCodeInvalidBucketNameFilterException for service response error code // "InvalidBucketNameFilterException". // // The bucket name either doesn't exist or was specified in an invalid format. ErrCodeInvalidBucketNameFilterException = "InvalidBucketNameFilterException" // ErrCodeInvalidComputePlatformException for service response error code // "InvalidComputePlatformException". // // The computePlatform is invalid. The computePlatform should be Lambda or Server. ErrCodeInvalidComputePlatformException = "InvalidComputePlatformException" // ErrCodeInvalidDeployedStateFilterException for service response error code // "InvalidDeployedStateFilterException". // // The deployed state filter was specified in an invalid format. ErrCodeInvalidDeployedStateFilterException = "InvalidDeployedStateFilterException" // ErrCodeInvalidDeploymentConfigNameException for service response error code // "InvalidDeploymentConfigNameException". // // The deployment configuration name was specified in an invalid format. ErrCodeInvalidDeploymentConfigNameException = "InvalidDeploymentConfigNameException" // ErrCodeInvalidDeploymentGroupNameException for service response error code // "InvalidDeploymentGroupNameException". // // The deployment group name was specified in an invalid format. ErrCodeInvalidDeploymentGroupNameException = "InvalidDeploymentGroupNameException" // ErrCodeInvalidDeploymentIdException for service response error code // "InvalidDeploymentIdException". // // At least one of the deployment IDs was specified in an invalid format. ErrCodeInvalidDeploymentIdException = "InvalidDeploymentIdException" // ErrCodeInvalidDeploymentInstanceTypeException for service response error code // "InvalidDeploymentInstanceTypeException". // // An instance type was specified for an in-place deployment. Instance types // are supported for blue/green deployments only. ErrCodeInvalidDeploymentInstanceTypeException = "InvalidDeploymentInstanceTypeException" // ErrCodeInvalidDeploymentStatusException for service response error code // "InvalidDeploymentStatusException". // // The specified deployment status doesn't exist or cannot be determined. ErrCodeInvalidDeploymentStatusException = "InvalidDeploymentStatusException" // ErrCodeInvalidDeploymentStyleException for service response error code // "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". ErrCodeInvalidDeploymentStyleException = "InvalidDeploymentStyleException" // ErrCodeInvalidEC2TagCombinationException for service response error code // "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. ErrCodeInvalidEC2TagCombinationException = "InvalidEC2TagCombinationException" // ErrCodeInvalidEC2TagException for service response error code // "InvalidEC2TagException". // // The tag was specified in an invalid format. ErrCodeInvalidEC2TagException = "InvalidEC2TagException" // ErrCodeInvalidFileExistsBehaviorException for service response error code // "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". ErrCodeInvalidFileExistsBehaviorException = "InvalidFileExistsBehaviorException" // ErrCodeInvalidGitHubAccountTokenNameException for service response error code // "InvalidGitHubAccountTokenNameException". // // The format of the specified GitHub account connection name is invalid. ErrCodeInvalidGitHubAccountTokenNameException = "InvalidGitHubAccountTokenNameException" // ErrCodeInvalidIamSessionArnException for service response error code // "InvalidIamSessionArnException". // // The IAM session ARN was specified in an invalid format. ErrCodeInvalidIamSessionArnException = "InvalidIamSessionArnException" // ErrCodeInvalidIamUserArnException for service response error code // "InvalidIamUserArnException". // // The IAM user ARN was specified in an invalid format. ErrCodeInvalidIamUserArnException = "InvalidIamUserArnException" // ErrCodeInvalidIgnoreApplicationStopFailuresValueException for service response error code // "InvalidIgnoreApplicationStopFailuresValueException". // // The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments, // false is expected. For EC2/On-premises deployments, true or false is expected. ErrCodeInvalidIgnoreApplicationStopFailuresValueException = "InvalidIgnoreApplicationStopFailuresValueException" // ErrCodeInvalidInputException for service response error code // "InvalidInputException". // // The specified input was specified in an invalid format. ErrCodeInvalidInputException = "InvalidInputException" // ErrCodeInvalidInstanceNameException for service response error code // "InvalidInstanceNameException". // // The specified on-premises instance name was specified in an invalid format. ErrCodeInvalidInstanceNameException = "InvalidInstanceNameException" // ErrCodeInvalidInstanceStatusException for service response error code // "InvalidInstanceStatusException". // // The specified instance status does not exist. ErrCodeInvalidInstanceStatusException = "InvalidInstanceStatusException" // ErrCodeInvalidInstanceTypeException for service response error code // "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. ErrCodeInvalidInstanceTypeException = "InvalidInstanceTypeException" // ErrCodeInvalidKeyPrefixFilterException for service response error code // "InvalidKeyPrefixFilterException". // // The specified key prefix filter was specified in an invalid format. ErrCodeInvalidKeyPrefixFilterException = "InvalidKeyPrefixFilterException" // ErrCodeInvalidLifecycleEventHookExecutionIdException for service response error code // "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. ErrCodeInvalidLifecycleEventHookExecutionIdException = "InvalidLifecycleEventHookExecutionIdException" // ErrCodeInvalidLifecycleEventHookExecutionStatusException for service response error code // "InvalidLifecycleEventHookExecutionStatusException". // // The result of a Lambda validation function that verifies a lifecycle event // is invalid. It should return Succeeded or Failed. ErrCodeInvalidLifecycleEventHookExecutionStatusException = "InvalidLifecycleEventHookExecutionStatusException" // ErrCodeInvalidLoadBalancerInfoException for service response error code // "InvalidLoadBalancerInfoException". // // An invalid load balancer name, or no load balancer name, was specified. ErrCodeInvalidLoadBalancerInfoException = "InvalidLoadBalancerInfoException" // ErrCodeInvalidMinimumHealthyHostValueException for service response error code // "InvalidMinimumHealthyHostValueException". // // The minimum healthy instance value was specified in an invalid format. ErrCodeInvalidMinimumHealthyHostValueException = "InvalidMinimumHealthyHostValueException" // ErrCodeInvalidNextTokenException for service response error code // "InvalidNextTokenException". // // The next token was specified in an invalid format. ErrCodeInvalidNextTokenException = "InvalidNextTokenException" // ErrCodeInvalidOnPremisesTagCombinationException for service response error code // "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. ErrCodeInvalidOnPremisesTagCombinationException = "InvalidOnPremisesTagCombinationException" // ErrCodeInvalidOperationException for service response error code // "InvalidOperationException". // // An invalid operation was detected. ErrCodeInvalidOperationException = "InvalidOperationException" // ErrCodeInvalidRegistrationStatusException for service response error code // "InvalidRegistrationStatusException". // // The registration status was specified in an invalid format. ErrCodeInvalidRegistrationStatusException = "InvalidRegistrationStatusException" // ErrCodeInvalidRevisionException for service response error code // "InvalidRevisionException". // // The revision was specified in an invalid format. ErrCodeInvalidRevisionException = "InvalidRevisionException" // ErrCodeInvalidRoleException for service response error code // "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 Auto Scaling. ErrCodeInvalidRoleException = "InvalidRoleException" // ErrCodeInvalidSortByException for service response error code // "InvalidSortByException". // // The column name to sort by is either not present or was specified in an invalid // format. ErrCodeInvalidSortByException = "InvalidSortByException" // ErrCodeInvalidSortOrderException for service response error code // "InvalidSortOrderException". // // The sort order was specified in an invalid format. ErrCodeInvalidSortOrderException = "InvalidSortOrderException" // ErrCodeInvalidTagException for service response error code // "InvalidTagException". // // The specified tag was specified in an invalid format. ErrCodeInvalidTagException = "InvalidTagException" // ErrCodeInvalidTagFilterException for service response error code // "InvalidTagFilterException". // // The specified tag filter was specified in an invalid format. ErrCodeInvalidTagFilterException = "InvalidTagFilterException" // ErrCodeInvalidTargetInstancesException for service response error code // "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. ErrCodeInvalidTargetInstancesException = "InvalidTargetInstancesException" // ErrCodeInvalidTimeRangeException for service response error code // "InvalidTimeRangeException". // // The specified time range was specified in an invalid format. ErrCodeInvalidTimeRangeException = "InvalidTimeRangeException" // ErrCodeInvalidTrafficRoutingConfigurationException for service response error code // "InvalidTrafficRoutingConfigurationException". // // The configuration that specifies how traffic is routed during a deployment // is invalid. ErrCodeInvalidTrafficRoutingConfigurationException = "InvalidTrafficRoutingConfigurationException" // ErrCodeInvalidTriggerConfigException for service response error code // "InvalidTriggerConfigException". // // The trigger was specified in an invalid format. ErrCodeInvalidTriggerConfigException = "InvalidTriggerConfigException" // ErrCodeInvalidUpdateOutdatedInstancesOnlyValueException for service response error code // "InvalidUpdateOutdatedInstancesOnlyValueException". // // The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments, // false is expected. For EC2/On-premises deployments, true or false is expected. ErrCodeInvalidUpdateOutdatedInstancesOnlyValueException = "InvalidUpdateOutdatedInstancesOnlyValueException" // ErrCodeLifecycleEventAlreadyCompletedException for service response error code // "LifecycleEventAlreadyCompletedException". // // An attempt to return the status of an already completed lifecycle event occurred. ErrCodeLifecycleEventAlreadyCompletedException = "LifecycleEventAlreadyCompletedException" // ErrCodeLifecycleHookLimitExceededException for service response error code // "LifecycleHookLimitExceededException". // // The limit for lifecycle hooks was exceeded. ErrCodeLifecycleHookLimitExceededException = "LifecycleHookLimitExceededException" // ErrCodeMultipleIamArnsProvidedException for service response error code // "MultipleIamArnsProvidedException". // // Both an IAM user ARN and an IAM session ARN were included in the request. // Use only one ARN type. ErrCodeMultipleIamArnsProvidedException = "MultipleIamArnsProvidedException" // ErrCodeOperationNotSupportedException for service response error code // "OperationNotSupportedException". // // The API used does not support the deployment. ErrCodeOperationNotSupportedException = "OperationNotSupportedException" // ErrCodeResourceValidationException for service response error code // "ResourceValidationException". // // The specified resource could not be validated. ErrCodeResourceValidationException = "ResourceValidationException" // ErrCodeRevisionDoesNotExistException for service response error code // "RevisionDoesNotExistException". // // The named revision does not exist with the applicable IAM user or AWS account. ErrCodeRevisionDoesNotExistException = "RevisionDoesNotExistException" // ErrCodeRevisionRequiredException for service response error code // "RevisionRequiredException". // // The revision ID was not specified. ErrCodeRevisionRequiredException = "RevisionRequiredException" // ErrCodeRoleRequiredException for service response error code // "RoleRequiredException". // // The role ID was not specified. ErrCodeRoleRequiredException = "RoleRequiredException" // ErrCodeTagLimitExceededException for service response error code // "TagLimitExceededException". // // The maximum allowed number of tags was exceeded. ErrCodeTagLimitExceededException = "TagLimitExceededException" // ErrCodeTagRequiredException for service response error code // "TagRequiredException". // // A tag was not specified. ErrCodeTagRequiredException = "TagRequiredException" // ErrCodeTagSetListLimitExceededException for service response error code // "TagSetListLimitExceededException". // // The number of tag groups included in the tag set list exceeded the maximum // allowed limit of 3. ErrCodeTagSetListLimitExceededException = "TagSetListLimitExceededException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // An API function was called too frequently. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeTriggerTargetsLimitExceededException for service response error code // "TriggerTargetsLimitExceededException". // // The maximum allowed number of triggers was exceeded. ErrCodeTriggerTargetsLimitExceededException = "TriggerTargetsLimitExceededException" // ErrCodeUnsupportedActionForDeploymentTypeException for service response error code // "UnsupportedActionForDeploymentTypeException". // // A call was submitted that is not supported for the specified deployment type. ErrCodeUnsupportedActionForDeploymentTypeException = "UnsupportedActionForDeploymentTypeException" )
const ( ServiceName = "codedeploy" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTagsToOnPremisesInstancesInput ¶
type AddTagsToOnPremisesInstancesInput struct { // The names of the on-premises instances to which to add tags. // // InstanceNames is a required field InstanceNames []string `locationName:"instanceNames" type:"list" required:"true"` // 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 is a required field Tags []Tag `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the input of, and adds tags to, an on-premises instance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstancesInput
func (AddTagsToOnPremisesInstancesInput) GoString ¶
func (s AddTagsToOnPremisesInstancesInput) GoString() string
GoString returns the string representation
func (*AddTagsToOnPremisesInstancesInput) SetInstanceNames ¶
func (s *AddTagsToOnPremisesInstancesInput) SetInstanceNames(v []string) *AddTagsToOnPremisesInstancesInput
SetInstanceNames sets the InstanceNames field's value.
func (*AddTagsToOnPremisesInstancesInput) SetTags ¶
func (s *AddTagsToOnPremisesInstancesInput) SetTags(v []Tag) *AddTagsToOnPremisesInstancesInput
SetTags sets the Tags field's value.
func (AddTagsToOnPremisesInstancesInput) String ¶
func (s AddTagsToOnPremisesInstancesInput) String() string
String returns the string representation
func (*AddTagsToOnPremisesInstancesInput) Validate ¶
func (s *AddTagsToOnPremisesInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddTagsToOnPremisesInstancesOutput ¶
type AddTagsToOnPremisesInstancesOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstancesOutput
func (AddTagsToOnPremisesInstancesOutput) GoString ¶
func (s AddTagsToOnPremisesInstancesOutput) GoString() string
GoString returns the string representation
func (AddTagsToOnPremisesInstancesOutput) SDKResponseMetadata ¶
func (s AddTagsToOnPremisesInstancesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AddTagsToOnPremisesInstancesOutput) String ¶
func (s AddTagsToOnPremisesInstancesOutput) String() string
String returns the string representation
type AddTagsToOnPremisesInstancesRequest ¶
type AddTagsToOnPremisesInstancesRequest struct { *aws.Request Input *AddTagsToOnPremisesInstancesInput }
AddTagsToOnPremisesInstancesRequest is a API request type for the AddTagsToOnPremisesInstances API operation.
func (AddTagsToOnPremisesInstancesRequest) Send ¶
func (r AddTagsToOnPremisesInstancesRequest) Send() (*AddTagsToOnPremisesInstancesOutput, error)
Send marshals and sends the AddTagsToOnPremisesInstances API request.
type Alarm ¶
type Alarm struct { // The name of the alarm. Maximum length is 255 characters. Each alarm name // can be used only once in a list of alarms. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Information about an alarm. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Alarm
type AlarmConfiguration ¶
type AlarmConfiguration struct { // A list of alarms configured for the deployment group. A maximum of 10 alarms // can be added to a deployment group. Alarms []Alarm `locationName:"alarms" type:"list"` // Indicates whether the alarm configuration is enabled. Enabled *bool `locationName:"enabled" type:"boolean"` // Indicates whether a deployment should continue if information about the current // state of alarms cannot be retrieved from Amazon CloudWatch. The default value // is false. // // * true: The deployment will proceed even if alarm status information can't // be retrieved from Amazon CloudWatch. // // * false: The deployment will stop if alarm status information can't be // retrieved from Amazon CloudWatch. IgnorePollAlarmFailure *bool `locationName:"ignorePollAlarmFailure" type:"boolean"` // contains filtered or unexported fields }
Information about alarms associated with the deployment group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AlarmConfiguration
func (AlarmConfiguration) GoString ¶
func (s AlarmConfiguration) GoString() string
GoString returns the string representation
func (*AlarmConfiguration) SetAlarms ¶
func (s *AlarmConfiguration) SetAlarms(v []Alarm) *AlarmConfiguration
SetAlarms sets the Alarms field's value.
func (*AlarmConfiguration) SetEnabled ¶
func (s *AlarmConfiguration) SetEnabled(v bool) *AlarmConfiguration
SetEnabled sets the Enabled field's value.
func (*AlarmConfiguration) SetIgnorePollAlarmFailure ¶
func (s *AlarmConfiguration) SetIgnorePollAlarmFailure(v bool) *AlarmConfiguration
SetIgnorePollAlarmFailure sets the IgnorePollAlarmFailure field's value.
func (AlarmConfiguration) String ¶
func (s AlarmConfiguration) String() string
String returns the string representation
type ApplicationInfo ¶
type ApplicationInfo struct { // The application ID. ApplicationId *string `locationName:"applicationId" type:"string"` // The application name. ApplicationName *string `locationName:"applicationName" min:"1" type:"string"` // The destination platform type for deployment of the application (Lambda or // Server). ComputePlatform ComputePlatform `locationName:"computePlatform" type:"string" enum:"true"` // The time at which the application was created. CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"` // The name for a connection to a GitHub account. GitHubAccountName *string `locationName:"gitHubAccountName" type:"string"` // True if the user has authenticated with GitHub for the specified application; // otherwise, false. LinkedToGitHub *bool `locationName:"linkedToGitHub" type:"boolean"` // contains filtered or unexported fields }
Information about an application. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationInfo
func (ApplicationInfo) GoString ¶
func (s ApplicationInfo) GoString() string
GoString returns the string representation
func (*ApplicationInfo) SetApplicationId ¶
func (s *ApplicationInfo) SetApplicationId(v string) *ApplicationInfo
SetApplicationId sets the ApplicationId field's value.
func (*ApplicationInfo) SetApplicationName ¶
func (s *ApplicationInfo) SetApplicationName(v string) *ApplicationInfo
SetApplicationName sets the ApplicationName field's value.
func (*ApplicationInfo) SetComputePlatform ¶ added in v0.2.0
func (s *ApplicationInfo) SetComputePlatform(v ComputePlatform) *ApplicationInfo
SetComputePlatform sets the ComputePlatform field's value.
func (*ApplicationInfo) SetCreateTime ¶
func (s *ApplicationInfo) SetCreateTime(v time.Time) *ApplicationInfo
SetCreateTime sets the CreateTime field's value.
func (*ApplicationInfo) SetGitHubAccountName ¶
func (s *ApplicationInfo) SetGitHubAccountName(v string) *ApplicationInfo
SetGitHubAccountName sets the GitHubAccountName field's value.
func (*ApplicationInfo) SetLinkedToGitHub ¶
func (s *ApplicationInfo) SetLinkedToGitHub(v bool) *ApplicationInfo
SetLinkedToGitHub sets the LinkedToGitHub field's value.
func (ApplicationInfo) String ¶
func (s ApplicationInfo) String() string
String returns the string representation
type ApplicationRevisionSortBy ¶
type ApplicationRevisionSortBy string
const ( ApplicationRevisionSortByRegisterTime ApplicationRevisionSortBy = "registerTime" ApplicationRevisionSortByFirstUsedTime ApplicationRevisionSortBy = "firstUsedTime" ApplicationRevisionSortByLastUsedTime ApplicationRevisionSortBy = "lastUsedTime" )
Enum values for ApplicationRevisionSortBy
type AutoRollbackConfiguration ¶
type AutoRollbackConfiguration struct { // Indicates whether a defined automatic rollback configuration is currently // enabled. Enabled *bool `locationName:"enabled" type:"boolean"` // The event type or types that trigger a rollback. Events []AutoRollbackEvent `locationName:"events" type:"list"` // contains filtered or unexported fields }
Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment doesn't complete successfully. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoRollbackConfiguration
func (AutoRollbackConfiguration) GoString ¶
func (s AutoRollbackConfiguration) GoString() string
GoString returns the string representation
func (*AutoRollbackConfiguration) SetEnabled ¶
func (s *AutoRollbackConfiguration) SetEnabled(v bool) *AutoRollbackConfiguration
SetEnabled sets the Enabled field's value.
func (*AutoRollbackConfiguration) SetEvents ¶
func (s *AutoRollbackConfiguration) SetEvents(v []AutoRollbackEvent) *AutoRollbackConfiguration
SetEvents sets the Events field's value.
func (AutoRollbackConfiguration) String ¶
func (s AutoRollbackConfiguration) String() string
String returns the string representation
type AutoRollbackEvent ¶
type AutoRollbackEvent string
const ( AutoRollbackEventDeploymentFailure AutoRollbackEvent = "DEPLOYMENT_FAILURE" AutoRollbackEventDeploymentStopOnAlarm AutoRollbackEvent = "DEPLOYMENT_STOP_ON_ALARM" AutoRollbackEventDeploymentStopOnRequest AutoRollbackEvent = "DEPLOYMENT_STOP_ON_REQUEST" )
Enum values for AutoRollbackEvent
type AutoScalingGroup ¶
type AutoScalingGroup struct { // An Auto Scaling lifecycle event hook name. Hook *string `locationName:"hook" type:"string"` // The Auto Scaling group name. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Information about an Auto Scaling group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoScalingGroup
func (AutoScalingGroup) GoString ¶
func (s AutoScalingGroup) GoString() string
GoString returns the string representation
func (*AutoScalingGroup) SetHook ¶
func (s *AutoScalingGroup) SetHook(v string) *AutoScalingGroup
SetHook sets the Hook field's value.
func (*AutoScalingGroup) SetName ¶
func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup
SetName sets the Name field's value.
func (AutoScalingGroup) String ¶
func (s AutoScalingGroup) String() string
String returns the string representation
type BatchGetApplicationRevisionsInput ¶
type BatchGetApplicationRevisionsInput struct { // The name of an AWS CodeDeploy application about which to get revision information. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Information to get about the application revisions, including type and location. // // Revisions is a required field Revisions []RevisionLocation `locationName:"revisions" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the input of a BatchGetApplicationRevisions operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsInput
func (BatchGetApplicationRevisionsInput) GoString ¶
func (s BatchGetApplicationRevisionsInput) GoString() string
GoString returns the string representation
func (*BatchGetApplicationRevisionsInput) SetApplicationName ¶
func (s *BatchGetApplicationRevisionsInput) SetApplicationName(v string) *BatchGetApplicationRevisionsInput
SetApplicationName sets the ApplicationName field's value.
func (*BatchGetApplicationRevisionsInput) SetRevisions ¶
func (s *BatchGetApplicationRevisionsInput) SetRevisions(v []RevisionLocation) *BatchGetApplicationRevisionsInput
SetRevisions sets the Revisions field's value.
func (BatchGetApplicationRevisionsInput) String ¶
func (s BatchGetApplicationRevisionsInput) String() string
String returns the string representation
func (*BatchGetApplicationRevisionsInput) Validate ¶
func (s *BatchGetApplicationRevisionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetApplicationRevisionsOutput ¶
type BatchGetApplicationRevisionsOutput struct { // The name of the application that corresponds to the revisions. ApplicationName *string `locationName:"applicationName" min:"1" type:"string"` // Information about errors that may have occurred during the API call. ErrorMessage *string `locationName:"errorMessage" type:"string"` // Additional information about the revisions, including the type and location. Revisions []RevisionInfo `locationName:"revisions" type:"list"` // contains filtered or unexported fields }
Represents the output of a BatchGetApplicationRevisions operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsOutput
func (BatchGetApplicationRevisionsOutput) GoString ¶
func (s BatchGetApplicationRevisionsOutput) GoString() string
GoString returns the string representation
func (BatchGetApplicationRevisionsOutput) SDKResponseMetadata ¶
func (s BatchGetApplicationRevisionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*BatchGetApplicationRevisionsOutput) SetApplicationName ¶
func (s *BatchGetApplicationRevisionsOutput) SetApplicationName(v string) *BatchGetApplicationRevisionsOutput
SetApplicationName sets the ApplicationName field's value.
func (*BatchGetApplicationRevisionsOutput) SetErrorMessage ¶
func (s *BatchGetApplicationRevisionsOutput) SetErrorMessage(v string) *BatchGetApplicationRevisionsOutput
SetErrorMessage sets the ErrorMessage field's value.
func (*BatchGetApplicationRevisionsOutput) SetRevisions ¶
func (s *BatchGetApplicationRevisionsOutput) SetRevisions(v []RevisionInfo) *BatchGetApplicationRevisionsOutput
SetRevisions sets the Revisions field's value.
func (BatchGetApplicationRevisionsOutput) String ¶
func (s BatchGetApplicationRevisionsOutput) String() string
String returns the string representation
type BatchGetApplicationRevisionsRequest ¶
type BatchGetApplicationRevisionsRequest struct { *aws.Request Input *BatchGetApplicationRevisionsInput }
BatchGetApplicationRevisionsRequest is a API request type for the BatchGetApplicationRevisions API operation.
func (BatchGetApplicationRevisionsRequest) Send ¶
func (r BatchGetApplicationRevisionsRequest) Send() (*BatchGetApplicationRevisionsOutput, error)
Send marshals and sends the BatchGetApplicationRevisions API request.
type BatchGetApplicationsInput ¶
type BatchGetApplicationsInput struct { // A list of application names separated by spaces. // // ApplicationNames is a required field ApplicationNames []string `locationName:"applicationNames" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the input of a BatchGetApplications operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsInput
func (BatchGetApplicationsInput) GoString ¶
func (s BatchGetApplicationsInput) GoString() string
GoString returns the string representation
func (*BatchGetApplicationsInput) SetApplicationNames ¶
func (s *BatchGetApplicationsInput) SetApplicationNames(v []string) *BatchGetApplicationsInput
SetApplicationNames sets the ApplicationNames field's value.
func (BatchGetApplicationsInput) String ¶
func (s BatchGetApplicationsInput) String() string
String returns the string representation
func (*BatchGetApplicationsInput) Validate ¶ added in v0.2.0
func (s *BatchGetApplicationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetApplicationsOutput ¶
type BatchGetApplicationsOutput struct { // Information about the applications. ApplicationsInfo []ApplicationInfo `locationName:"applicationsInfo" type:"list"` // contains filtered or unexported fields }
Represents the output of a BatchGetApplications operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsOutput
func (BatchGetApplicationsOutput) GoString ¶
func (s BatchGetApplicationsOutput) GoString() string
GoString returns the string representation
func (BatchGetApplicationsOutput) SDKResponseMetadata ¶
func (s BatchGetApplicationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*BatchGetApplicationsOutput) SetApplicationsInfo ¶
func (s *BatchGetApplicationsOutput) SetApplicationsInfo(v []ApplicationInfo) *BatchGetApplicationsOutput
SetApplicationsInfo sets the ApplicationsInfo field's value.
func (BatchGetApplicationsOutput) String ¶
func (s BatchGetApplicationsOutput) String() string
String returns the string representation
type BatchGetApplicationsRequest ¶
type BatchGetApplicationsRequest struct { *aws.Request Input *BatchGetApplicationsInput }
BatchGetApplicationsRequest is a API request type for the BatchGetApplications API operation.
func (BatchGetApplicationsRequest) Send ¶
func (r BatchGetApplicationsRequest) Send() (*BatchGetApplicationsOutput, error)
Send marshals and sends the BatchGetApplications API request.
type BatchGetDeploymentGroupsInput ¶
type BatchGetDeploymentGroupsInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // The deployment groups' names. // // DeploymentGroupNames is a required field DeploymentGroupNames []string `locationName:"deploymentGroupNames" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the input of a BatchGetDeploymentGroups operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsInput
func (BatchGetDeploymentGroupsInput) GoString ¶
func (s BatchGetDeploymentGroupsInput) GoString() string
GoString returns the string representation
func (*BatchGetDeploymentGroupsInput) SetApplicationName ¶
func (s *BatchGetDeploymentGroupsInput) SetApplicationName(v string) *BatchGetDeploymentGroupsInput
SetApplicationName sets the ApplicationName field's value.
func (*BatchGetDeploymentGroupsInput) SetDeploymentGroupNames ¶
func (s *BatchGetDeploymentGroupsInput) SetDeploymentGroupNames(v []string) *BatchGetDeploymentGroupsInput
SetDeploymentGroupNames sets the DeploymentGroupNames field's value.
func (BatchGetDeploymentGroupsInput) String ¶
func (s BatchGetDeploymentGroupsInput) String() string
String returns the string representation
func (*BatchGetDeploymentGroupsInput) Validate ¶
func (s *BatchGetDeploymentGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetDeploymentGroupsOutput ¶
type BatchGetDeploymentGroupsOutput struct { // Information about the deployment groups. DeploymentGroupsInfo []DeploymentGroupInfo `locationName:"deploymentGroupsInfo" type:"list"` // Information about errors that may have occurred during the API call. ErrorMessage *string `locationName:"errorMessage" type:"string"` // contains filtered or unexported fields }
Represents the output of a BatchGetDeploymentGroups operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsOutput
func (BatchGetDeploymentGroupsOutput) GoString ¶
func (s BatchGetDeploymentGroupsOutput) GoString() string
GoString returns the string representation
func (BatchGetDeploymentGroupsOutput) SDKResponseMetadata ¶
func (s BatchGetDeploymentGroupsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*BatchGetDeploymentGroupsOutput) SetDeploymentGroupsInfo ¶
func (s *BatchGetDeploymentGroupsOutput) SetDeploymentGroupsInfo(v []DeploymentGroupInfo) *BatchGetDeploymentGroupsOutput
SetDeploymentGroupsInfo sets the DeploymentGroupsInfo field's value.
func (*BatchGetDeploymentGroupsOutput) SetErrorMessage ¶
func (s *BatchGetDeploymentGroupsOutput) SetErrorMessage(v string) *BatchGetDeploymentGroupsOutput
SetErrorMessage sets the ErrorMessage field's value.
func (BatchGetDeploymentGroupsOutput) String ¶
func (s BatchGetDeploymentGroupsOutput) String() string
String returns the string representation
type BatchGetDeploymentGroupsRequest ¶
type BatchGetDeploymentGroupsRequest struct { *aws.Request Input *BatchGetDeploymentGroupsInput }
BatchGetDeploymentGroupsRequest is a API request type for the BatchGetDeploymentGroups API operation.
func (BatchGetDeploymentGroupsRequest) Send ¶
func (r BatchGetDeploymentGroupsRequest) Send() (*BatchGetDeploymentGroupsOutput, error)
Send marshals and sends the BatchGetDeploymentGroups API request.
type BatchGetDeploymentInstancesInput ¶
type BatchGetDeploymentInstancesInput struct { // The unique ID of a deployment. // // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // The unique IDs of instances in the deployment group. // // InstanceIds is a required field InstanceIds []string `locationName:"instanceIds" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the input of a BatchGetDeploymentInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesInput
func (BatchGetDeploymentInstancesInput) GoString ¶
func (s BatchGetDeploymentInstancesInput) GoString() string
GoString returns the string representation
func (*BatchGetDeploymentInstancesInput) SetDeploymentId ¶
func (s *BatchGetDeploymentInstancesInput) SetDeploymentId(v string) *BatchGetDeploymentInstancesInput
SetDeploymentId sets the DeploymentId field's value.
func (*BatchGetDeploymentInstancesInput) SetInstanceIds ¶
func (s *BatchGetDeploymentInstancesInput) SetInstanceIds(v []string) *BatchGetDeploymentInstancesInput
SetInstanceIds sets the InstanceIds field's value.
func (BatchGetDeploymentInstancesInput) String ¶
func (s BatchGetDeploymentInstancesInput) String() string
String returns the string representation
func (*BatchGetDeploymentInstancesInput) Validate ¶
func (s *BatchGetDeploymentInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetDeploymentInstancesOutput ¶
type BatchGetDeploymentInstancesOutput struct { // Information about errors that may have occurred during the API call. ErrorMessage *string `locationName:"errorMessage" type:"string"` // Information about the instance. InstancesSummary []InstanceSummary `locationName:"instancesSummary" type:"list"` // contains filtered or unexported fields }
Represents the output of a BatchGetDeploymentInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesOutput
func (BatchGetDeploymentInstancesOutput) GoString ¶
func (s BatchGetDeploymentInstancesOutput) GoString() string
GoString returns the string representation
func (BatchGetDeploymentInstancesOutput) SDKResponseMetadata ¶
func (s BatchGetDeploymentInstancesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*BatchGetDeploymentInstancesOutput) SetErrorMessage ¶
func (s *BatchGetDeploymentInstancesOutput) SetErrorMessage(v string) *BatchGetDeploymentInstancesOutput
SetErrorMessage sets the ErrorMessage field's value.
func (*BatchGetDeploymentInstancesOutput) SetInstancesSummary ¶
func (s *BatchGetDeploymentInstancesOutput) SetInstancesSummary(v []InstanceSummary) *BatchGetDeploymentInstancesOutput
SetInstancesSummary sets the InstancesSummary field's value.
func (BatchGetDeploymentInstancesOutput) String ¶
func (s BatchGetDeploymentInstancesOutput) String() string
String returns the string representation
type BatchGetDeploymentInstancesRequest ¶
type BatchGetDeploymentInstancesRequest struct { *aws.Request Input *BatchGetDeploymentInstancesInput }
BatchGetDeploymentInstancesRequest is a API request type for the BatchGetDeploymentInstances API operation.
func (BatchGetDeploymentInstancesRequest) Send ¶
func (r BatchGetDeploymentInstancesRequest) Send() (*BatchGetDeploymentInstancesOutput, error)
Send marshals and sends the BatchGetDeploymentInstances API request.
type BatchGetDeploymentsInput ¶
type BatchGetDeploymentsInput struct { // A list of deployment IDs, separated by spaces. // // DeploymentIds is a required field DeploymentIds []string `locationName:"deploymentIds" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the input of a BatchGetDeployments operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsInput
func (BatchGetDeploymentsInput) GoString ¶
func (s BatchGetDeploymentsInput) GoString() string
GoString returns the string representation
func (*BatchGetDeploymentsInput) SetDeploymentIds ¶
func (s *BatchGetDeploymentsInput) SetDeploymentIds(v []string) *BatchGetDeploymentsInput
SetDeploymentIds sets the DeploymentIds field's value.
func (BatchGetDeploymentsInput) String ¶
func (s BatchGetDeploymentsInput) String() string
String returns the string representation
func (*BatchGetDeploymentsInput) Validate ¶ added in v0.2.0
func (s *BatchGetDeploymentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetDeploymentsOutput ¶
type BatchGetDeploymentsOutput struct { // Information about the deployments. DeploymentsInfo []DeploymentInfo `locationName:"deploymentsInfo" type:"list"` // contains filtered or unexported fields }
Represents the output of a BatchGetDeployments operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsOutput
func (BatchGetDeploymentsOutput) GoString ¶
func (s BatchGetDeploymentsOutput) GoString() string
GoString returns the string representation
func (BatchGetDeploymentsOutput) SDKResponseMetadata ¶
func (s BatchGetDeploymentsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*BatchGetDeploymentsOutput) SetDeploymentsInfo ¶
func (s *BatchGetDeploymentsOutput) SetDeploymentsInfo(v []DeploymentInfo) *BatchGetDeploymentsOutput
SetDeploymentsInfo sets the DeploymentsInfo field's value.
func (BatchGetDeploymentsOutput) String ¶
func (s BatchGetDeploymentsOutput) String() string
String returns the string representation
type BatchGetDeploymentsRequest ¶
type BatchGetDeploymentsRequest struct { *aws.Request Input *BatchGetDeploymentsInput }
BatchGetDeploymentsRequest is a API request type for the BatchGetDeployments API operation.
func (BatchGetDeploymentsRequest) Send ¶
func (r BatchGetDeploymentsRequest) Send() (*BatchGetDeploymentsOutput, error)
Send marshals and sends the BatchGetDeployments API request.
type BatchGetOnPremisesInstancesInput ¶
type BatchGetOnPremisesInstancesInput struct { // The names of the on-premises instances about which to get information. // // InstanceNames is a required field InstanceNames []string `locationName:"instanceNames" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the input of a BatchGetOnPremisesInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesInput
func (BatchGetOnPremisesInstancesInput) GoString ¶
func (s BatchGetOnPremisesInstancesInput) GoString() string
GoString returns the string representation
func (*BatchGetOnPremisesInstancesInput) SetInstanceNames ¶
func (s *BatchGetOnPremisesInstancesInput) SetInstanceNames(v []string) *BatchGetOnPremisesInstancesInput
SetInstanceNames sets the InstanceNames field's value.
func (BatchGetOnPremisesInstancesInput) String ¶
func (s BatchGetOnPremisesInstancesInput) String() string
String returns the string representation
func (*BatchGetOnPremisesInstancesInput) Validate ¶ added in v0.2.0
func (s *BatchGetOnPremisesInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetOnPremisesInstancesOutput ¶
type BatchGetOnPremisesInstancesOutput struct { // Information about the on-premises instances. InstanceInfos []InstanceInfo `locationName:"instanceInfos" type:"list"` // contains filtered or unexported fields }
Represents the output of a BatchGetOnPremisesInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesOutput
func (BatchGetOnPremisesInstancesOutput) GoString ¶
func (s BatchGetOnPremisesInstancesOutput) GoString() string
GoString returns the string representation
func (BatchGetOnPremisesInstancesOutput) SDKResponseMetadata ¶
func (s BatchGetOnPremisesInstancesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*BatchGetOnPremisesInstancesOutput) SetInstanceInfos ¶
func (s *BatchGetOnPremisesInstancesOutput) SetInstanceInfos(v []InstanceInfo) *BatchGetOnPremisesInstancesOutput
SetInstanceInfos sets the InstanceInfos field's value.
func (BatchGetOnPremisesInstancesOutput) String ¶
func (s BatchGetOnPremisesInstancesOutput) String() string
String returns the string representation
type BatchGetOnPremisesInstancesRequest ¶
type BatchGetOnPremisesInstancesRequest struct { *aws.Request Input *BatchGetOnPremisesInstancesInput }
BatchGetOnPremisesInstancesRequest is a API request type for the BatchGetOnPremisesInstances API operation.
func (BatchGetOnPremisesInstancesRequest) Send ¶
func (r BatchGetOnPremisesInstancesRequest) Send() (*BatchGetOnPremisesInstancesOutput, error)
Send marshals and sends the BatchGetOnPremisesInstances API request.
type BlueGreenDeploymentConfiguration ¶
type BlueGreenDeploymentConfiguration struct { // Information about the action to take when newly provisioned instances are // ready to receive traffic in a blue/green deployment. DeploymentReadyOption *DeploymentReadyOption `locationName:"deploymentReadyOption" type:"structure"` // Information about how instances are provisioned for a replacement environment // in a blue/green deployment. GreenFleetProvisioningOption *GreenFleetProvisioningOption `locationName:"greenFleetProvisioningOption" type:"structure"` // Information about whether to terminate instances in the original fleet during // a blue/green deployment. TerminateBlueInstancesOnDeploymentSuccess *BlueInstanceTerminationOption `locationName:"terminateBlueInstancesOnDeploymentSuccess" type:"structure"` // contains filtered or unexported fields }
Information about blue/green deployment options for a deployment group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueGreenDeploymentConfiguration
func (BlueGreenDeploymentConfiguration) GoString ¶
func (s BlueGreenDeploymentConfiguration) GoString() string
GoString returns the string representation
func (*BlueGreenDeploymentConfiguration) SetDeploymentReadyOption ¶
func (s *BlueGreenDeploymentConfiguration) SetDeploymentReadyOption(v *DeploymentReadyOption) *BlueGreenDeploymentConfiguration
SetDeploymentReadyOption sets the DeploymentReadyOption field's value.
func (*BlueGreenDeploymentConfiguration) SetGreenFleetProvisioningOption ¶
func (s *BlueGreenDeploymentConfiguration) SetGreenFleetProvisioningOption(v *GreenFleetProvisioningOption) *BlueGreenDeploymentConfiguration
SetGreenFleetProvisioningOption sets the GreenFleetProvisioningOption field's value.
func (*BlueGreenDeploymentConfiguration) SetTerminateBlueInstancesOnDeploymentSuccess ¶
func (s *BlueGreenDeploymentConfiguration) SetTerminateBlueInstancesOnDeploymentSuccess(v *BlueInstanceTerminationOption) *BlueGreenDeploymentConfiguration
SetTerminateBlueInstancesOnDeploymentSuccess sets the TerminateBlueInstancesOnDeploymentSuccess field's value.
func (BlueGreenDeploymentConfiguration) String ¶
func (s BlueGreenDeploymentConfiguration) String() string
String returns the string representation
type BlueInstanceTerminationOption ¶
type BlueInstanceTerminationOption struct { // The action to take on instances in the original environment after a successful // blue/green deployment. // // * TERMINATE: Instances are terminated after a specified wait time. // // * KEEP_ALIVE: Instances are left running after they are deregistered from // the load balancer and removed from the deployment group. Action InstanceAction `locationName:"action" type:"string" enum:"true"` // The number of minutes to wait after a successful blue/green deployment before // terminating instances from the original environment. TerminationWaitTimeInMinutes *int64 `locationName:"terminationWaitTimeInMinutes" type:"integer"` // contains filtered or unexported fields }
Information about whether instances in the original environment are terminated when a blue/green deployment is successful. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueInstanceTerminationOption
func (BlueInstanceTerminationOption) GoString ¶
func (s BlueInstanceTerminationOption) GoString() string
GoString returns the string representation
func (*BlueInstanceTerminationOption) SetAction ¶
func (s *BlueInstanceTerminationOption) SetAction(v InstanceAction) *BlueInstanceTerminationOption
SetAction sets the Action field's value.
func (*BlueInstanceTerminationOption) SetTerminationWaitTimeInMinutes ¶
func (s *BlueInstanceTerminationOption) SetTerminationWaitTimeInMinutes(v int64) *BlueInstanceTerminationOption
SetTerminationWaitTimeInMinutes sets the TerminationWaitTimeInMinutes field's value.
func (BlueInstanceTerminationOption) String ¶
func (s BlueInstanceTerminationOption) String() string
String returns the string representation
type BundleType ¶
type BundleType string
const ( BundleTypeTar BundleType = "tar" BundleTypeTgz BundleType = "tgz" BundleTypeZip BundleType = "zip" BundleTypeYaml BundleType = "YAML" BundleTypeJson BundleType = "JSON" )
Enum values for BundleType
type CodeDeploy ¶
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.
func New ¶
func New(config aws.Config) *CodeDeploy
New creates a new instance of the CodeDeploy client with a config. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a CodeDeploy client from just a config. svc := codedeploy.New(myConfig) // Create a CodeDeploy client with additional configuration svc := codedeploy.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func (*CodeDeploy) AddTagsToOnPremisesInstancesRequest ¶
func (c *CodeDeploy) AddTagsToOnPremisesInstancesRequest(input *AddTagsToOnPremisesInstancesInput) AddTagsToOnPremisesInstancesRequest
AddTagsToOnPremisesInstancesRequest returns a request value for making API operation for AWS CodeDeploy.
Adds tags to on-premises instances.
// Example sending a request using the AddTagsToOnPremisesInstancesRequest method. req := client.AddTagsToOnPremisesInstancesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances
func (*CodeDeploy) BatchGetApplicationRevisionsRequest ¶
func (c *CodeDeploy) BatchGetApplicationRevisionsRequest(input *BatchGetApplicationRevisionsInput) BatchGetApplicationRevisionsRequest
BatchGetApplicationRevisionsRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about one or more application revisions.
// Example sending a request using the BatchGetApplicationRevisionsRequest method. req := client.BatchGetApplicationRevisionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions
func (*CodeDeploy) BatchGetApplicationsRequest ¶
func (c *CodeDeploy) BatchGetApplicationsRequest(input *BatchGetApplicationsInput) BatchGetApplicationsRequest
BatchGetApplicationsRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about one or more applications.
// Example sending a request using the BatchGetApplicationsRequest method. req := client.BatchGetApplicationsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications
func (*CodeDeploy) BatchGetDeploymentGroupsRequest ¶
func (c *CodeDeploy) BatchGetDeploymentGroupsRequest(input *BatchGetDeploymentGroupsInput) BatchGetDeploymentGroupsRequest
BatchGetDeploymentGroupsRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about one or more deployment groups.
// Example sending a request using the BatchGetDeploymentGroupsRequest method. req := client.BatchGetDeploymentGroupsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups
func (*CodeDeploy) BatchGetDeploymentInstancesRequest ¶
func (c *CodeDeploy) BatchGetDeploymentInstancesRequest(input *BatchGetDeploymentInstancesInput) BatchGetDeploymentInstancesRequest
BatchGetDeploymentInstancesRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about one or more instance that are part of a deployment group.
// Example sending a request using the BatchGetDeploymentInstancesRequest method. req := client.BatchGetDeploymentInstancesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances
func (*CodeDeploy) BatchGetDeploymentsRequest ¶
func (c *CodeDeploy) BatchGetDeploymentsRequest(input *BatchGetDeploymentsInput) BatchGetDeploymentsRequest
BatchGetDeploymentsRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about one or more deployments.
// Example sending a request using the BatchGetDeploymentsRequest method. req := client.BatchGetDeploymentsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments
func (*CodeDeploy) BatchGetOnPremisesInstancesRequest ¶
func (c *CodeDeploy) BatchGetOnPremisesInstancesRequest(input *BatchGetOnPremisesInstancesInput) BatchGetOnPremisesInstancesRequest
BatchGetOnPremisesInstancesRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about one or more on-premises instances.
// Example sending a request using the BatchGetOnPremisesInstancesRequest method. req := client.BatchGetOnPremisesInstancesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances
func (*CodeDeploy) ContinueDeploymentRequest ¶
func (c *CodeDeploy) ContinueDeploymentRequest(input *ContinueDeploymentInput) ContinueDeploymentRequest
ContinueDeploymentRequest returns a request value for making 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.)
// Example sending a request using the ContinueDeploymentRequest method. req := client.ContinueDeploymentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment
func (*CodeDeploy) CreateApplicationRequest ¶
func (c *CodeDeploy) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest
CreateApplicationRequest returns a request value for making API operation for AWS CodeDeploy.
Creates an application.
// Example sending a request using the CreateApplicationRequest method. req := client.CreateApplicationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication
func (*CodeDeploy) CreateDeploymentConfigRequest ¶
func (c *CodeDeploy) CreateDeploymentConfigRequest(input *CreateDeploymentConfigInput) CreateDeploymentConfigRequest
CreateDeploymentConfigRequest returns a request value for making API operation for AWS CodeDeploy.
Creates a deployment configuration.
// Example sending a request using the CreateDeploymentConfigRequest method. req := client.CreateDeploymentConfigRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig
func (*CodeDeploy) CreateDeploymentGroupRequest ¶
func (c *CodeDeploy) CreateDeploymentGroupRequest(input *CreateDeploymentGroupInput) CreateDeploymentGroupRequest
CreateDeploymentGroupRequest returns a request value for making API operation for AWS CodeDeploy.
Creates a deployment group to which application revisions will be deployed.
// Example sending a request using the CreateDeploymentGroupRequest method. req := client.CreateDeploymentGroupRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup
func (*CodeDeploy) CreateDeploymentRequest ¶
func (c *CodeDeploy) CreateDeploymentRequest(input *CreateDeploymentInput) CreateDeploymentRequest
CreateDeploymentRequest returns a request value for making API operation for AWS CodeDeploy.
Deploys an application revision through the specified deployment group.
// Example sending a request using the CreateDeploymentRequest method. req := client.CreateDeploymentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment
func (*CodeDeploy) DeleteApplicationRequest ¶
func (c *CodeDeploy) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest
DeleteApplicationRequest returns a request value for making API operation for AWS CodeDeploy.
Deletes an application.
// Example sending a request using the DeleteApplicationRequest method. req := client.DeleteApplicationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication
func (*CodeDeploy) DeleteDeploymentConfigRequest ¶
func (c *CodeDeploy) DeleteDeploymentConfigRequest(input *DeleteDeploymentConfigInput) DeleteDeploymentConfigRequest
DeleteDeploymentConfigRequest returns a request value for making 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.
// Example sending a request using the DeleteDeploymentConfigRequest method. req := client.DeleteDeploymentConfigRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig
func (*CodeDeploy) DeleteDeploymentGroupRequest ¶
func (c *CodeDeploy) DeleteDeploymentGroupRequest(input *DeleteDeploymentGroupInput) DeleteDeploymentGroupRequest
DeleteDeploymentGroupRequest returns a request value for making API operation for AWS CodeDeploy.
Deletes a deployment group.
// Example sending a request using the DeleteDeploymentGroupRequest method. req := client.DeleteDeploymentGroupRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup
func (*CodeDeploy) DeleteGitHubAccountTokenRequest ¶ added in v0.2.0
func (c *CodeDeploy) DeleteGitHubAccountTokenRequest(input *DeleteGitHubAccountTokenInput) DeleteGitHubAccountTokenRequest
DeleteGitHubAccountTokenRequest returns a request value for making API operation for AWS CodeDeploy.
Deletes a GitHub account connection.
// Example sending a request using the DeleteGitHubAccountTokenRequest method. req := client.DeleteGitHubAccountTokenRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountToken
func (*CodeDeploy) DeregisterOnPremisesInstanceRequest ¶
func (c *CodeDeploy) DeregisterOnPremisesInstanceRequest(input *DeregisterOnPremisesInstanceInput) DeregisterOnPremisesInstanceRequest
DeregisterOnPremisesInstanceRequest returns a request value for making API operation for AWS CodeDeploy.
Deregisters an on-premises instance.
// Example sending a request using the DeregisterOnPremisesInstanceRequest method. req := client.DeregisterOnPremisesInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance
func (*CodeDeploy) GetApplicationRequest ¶
func (c *CodeDeploy) GetApplicationRequest(input *GetApplicationInput) GetApplicationRequest
GetApplicationRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about an application.
// Example sending a request using the GetApplicationRequest method. req := client.GetApplicationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication
func (*CodeDeploy) GetApplicationRevisionRequest ¶
func (c *CodeDeploy) GetApplicationRevisionRequest(input *GetApplicationRevisionInput) GetApplicationRevisionRequest
GetApplicationRevisionRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about an application revision.
// Example sending a request using the GetApplicationRevisionRequest method. req := client.GetApplicationRevisionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision
func (*CodeDeploy) GetDeploymentConfigRequest ¶
func (c *CodeDeploy) GetDeploymentConfigRequest(input *GetDeploymentConfigInput) GetDeploymentConfigRequest
GetDeploymentConfigRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about a deployment configuration.
// Example sending a request using the GetDeploymentConfigRequest method. req := client.GetDeploymentConfigRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig
func (*CodeDeploy) GetDeploymentGroupRequest ¶
func (c *CodeDeploy) GetDeploymentGroupRequest(input *GetDeploymentGroupInput) GetDeploymentGroupRequest
GetDeploymentGroupRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about a deployment group.
// Example sending a request using the GetDeploymentGroupRequest method. req := client.GetDeploymentGroupRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup
func (*CodeDeploy) GetDeploymentInstanceRequest ¶
func (c *CodeDeploy) GetDeploymentInstanceRequest(input *GetDeploymentInstanceInput) GetDeploymentInstanceRequest
GetDeploymentInstanceRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about an instance as part of a deployment.
// Example sending a request using the GetDeploymentInstanceRequest method. req := client.GetDeploymentInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance
func (*CodeDeploy) GetDeploymentRequest ¶
func (c *CodeDeploy) GetDeploymentRequest(input *GetDeploymentInput) GetDeploymentRequest
GetDeploymentRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about a deployment.
// Example sending a request using the GetDeploymentRequest method. req := client.GetDeploymentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment
func (*CodeDeploy) GetOnPremisesInstanceRequest ¶
func (c *CodeDeploy) GetOnPremisesInstanceRequest(input *GetOnPremisesInstanceInput) GetOnPremisesInstanceRequest
GetOnPremisesInstanceRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about an on-premises instance.
// Example sending a request using the GetOnPremisesInstanceRequest method. req := client.GetOnPremisesInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance
func (*CodeDeploy) 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 })
func (*CodeDeploy) ListApplicationRevisionsPagesWithContext ¶
func (c *CodeDeploy) ListApplicationRevisionsPagesWithContext(ctx aws.Context, input *ListApplicationRevisionsInput, fn func(*ListApplicationRevisionsOutput, bool) bool, opts ...aws.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.
func (*CodeDeploy) ListApplicationRevisionsRequest ¶
func (c *CodeDeploy) ListApplicationRevisionsRequest(input *ListApplicationRevisionsInput) ListApplicationRevisionsRequest
ListApplicationRevisionsRequest returns a request value for making API operation for AWS CodeDeploy.
Lists information about revisions for an application.
// Example sending a request using the ListApplicationRevisionsRequest method. req := client.ListApplicationRevisionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions
func (*CodeDeploy) 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 })
func (*CodeDeploy) ListApplicationsPagesWithContext ¶
func (c *CodeDeploy) ListApplicationsPagesWithContext(ctx aws.Context, input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool, opts ...aws.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.
func (*CodeDeploy) ListApplicationsRequest ¶
func (c *CodeDeploy) ListApplicationsRequest(input *ListApplicationsInput) ListApplicationsRequest
ListApplicationsRequest returns a request value for making API operation for AWS CodeDeploy.
Lists the applications registered with the applicable IAM user or AWS account.
// Example sending a request using the ListApplicationsRequest method. req := client.ListApplicationsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications
func (*CodeDeploy) 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 })
func (*CodeDeploy) ListDeploymentConfigsPagesWithContext ¶
func (c *CodeDeploy) ListDeploymentConfigsPagesWithContext(ctx aws.Context, input *ListDeploymentConfigsInput, fn func(*ListDeploymentConfigsOutput, bool) bool, opts ...aws.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.
func (*CodeDeploy) ListDeploymentConfigsRequest ¶
func (c *CodeDeploy) ListDeploymentConfigsRequest(input *ListDeploymentConfigsInput) ListDeploymentConfigsRequest
ListDeploymentConfigsRequest returns a request value for making API operation for AWS CodeDeploy.
Lists the deployment configurations with the applicable IAM user or AWS account.
// Example sending a request using the ListDeploymentConfigsRequest method. req := client.ListDeploymentConfigsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs
func (*CodeDeploy) 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 })
func (*CodeDeploy) ListDeploymentGroupsPagesWithContext ¶
func (c *CodeDeploy) ListDeploymentGroupsPagesWithContext(ctx aws.Context, input *ListDeploymentGroupsInput, fn func(*ListDeploymentGroupsOutput, bool) bool, opts ...aws.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.
func (*CodeDeploy) ListDeploymentGroupsRequest ¶
func (c *CodeDeploy) ListDeploymentGroupsRequest(input *ListDeploymentGroupsInput) ListDeploymentGroupsRequest
ListDeploymentGroupsRequest returns a request value for making API operation for AWS CodeDeploy.
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
// Example sending a request using the ListDeploymentGroupsRequest method. req := client.ListDeploymentGroupsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups
func (*CodeDeploy) 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 })
func (*CodeDeploy) ListDeploymentInstancesPagesWithContext ¶
func (c *CodeDeploy) ListDeploymentInstancesPagesWithContext(ctx aws.Context, input *ListDeploymentInstancesInput, fn func(*ListDeploymentInstancesOutput, bool) bool, opts ...aws.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.
func (*CodeDeploy) ListDeploymentInstancesRequest ¶
func (c *CodeDeploy) ListDeploymentInstancesRequest(input *ListDeploymentInstancesInput) ListDeploymentInstancesRequest
ListDeploymentInstancesRequest returns a request value for making API operation for AWS CodeDeploy.
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
// Example sending a request using the ListDeploymentInstancesRequest method. req := client.ListDeploymentInstancesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances
func (*CodeDeploy) 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 })
func (*CodeDeploy) ListDeploymentsPagesWithContext ¶
func (c *CodeDeploy) ListDeploymentsPagesWithContext(ctx aws.Context, input *ListDeploymentsInput, fn func(*ListDeploymentsOutput, bool) bool, opts ...aws.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.
func (*CodeDeploy) ListDeploymentsRequest ¶
func (c *CodeDeploy) ListDeploymentsRequest(input *ListDeploymentsInput) ListDeploymentsRequest
ListDeploymentsRequest returns a request value for making API operation for AWS CodeDeploy.
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
// Example sending a request using the ListDeploymentsRequest method. req := client.ListDeploymentsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments
func (*CodeDeploy) ListGitHubAccountTokenNamesRequest ¶
func (c *CodeDeploy) ListGitHubAccountTokenNamesRequest(input *ListGitHubAccountTokenNamesInput) ListGitHubAccountTokenNamesRequest
ListGitHubAccountTokenNamesRequest returns a request value for making API operation for AWS CodeDeploy.
Lists the names of stored connections to GitHub accounts.
// Example sending a request using the ListGitHubAccountTokenNamesRequest method. req := client.ListGitHubAccountTokenNamesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames
func (*CodeDeploy) ListOnPremisesInstancesRequest ¶
func (c *CodeDeploy) ListOnPremisesInstancesRequest(input *ListOnPremisesInstancesInput) ListOnPremisesInstancesRequest
ListOnPremisesInstancesRequest returns a request value for making 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 will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
// Example sending a request using the ListOnPremisesInstancesRequest method. req := client.ListOnPremisesInstancesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances
func (*CodeDeploy) PutLifecycleEventHookExecutionStatusRequest ¶ added in v0.2.0
func (c *CodeDeploy) PutLifecycleEventHookExecutionStatusRequest(input *PutLifecycleEventHookExecutionStatusInput) PutLifecycleEventHookExecutionStatusRequest
PutLifecycleEventHookExecutionStatusRequest returns a request value for making 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.
// Example sending a request using the PutLifecycleEventHookExecutionStatusRequest method. req := client.PutLifecycleEventHookExecutionStatusRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatus
func (*CodeDeploy) RegisterApplicationRevisionRequest ¶
func (c *CodeDeploy) RegisterApplicationRevisionRequest(input *RegisterApplicationRevisionInput) RegisterApplicationRevisionRequest
RegisterApplicationRevisionRequest returns a request value for making API operation for AWS CodeDeploy.
Registers with AWS CodeDeploy a revision for the specified application.
// Example sending a request using the RegisterApplicationRevisionRequest method. req := client.RegisterApplicationRevisionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision
func (*CodeDeploy) RegisterOnPremisesInstanceRequest ¶
func (c *CodeDeploy) RegisterOnPremisesInstanceRequest(input *RegisterOnPremisesInstanceInput) RegisterOnPremisesInstanceRequest
RegisterOnPremisesInstanceRequest returns a request value for making 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.
// Example sending a request using the RegisterOnPremisesInstanceRequest method. req := client.RegisterOnPremisesInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance
func (*CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest ¶
func (c *CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest(input *RemoveTagsFromOnPremisesInstancesInput) RemoveTagsFromOnPremisesInstancesRequest
RemoveTagsFromOnPremisesInstancesRequest returns a request value for making API operation for AWS CodeDeploy.
Removes one or more tags from one or more on-premises instances.
// Example sending a request using the RemoveTagsFromOnPremisesInstancesRequest method. req := client.RemoveTagsFromOnPremisesInstancesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances
func (*CodeDeploy) SkipWaitTimeForInstanceTerminationRequest ¶
func (c *CodeDeploy) SkipWaitTimeForInstanceTerminationRequest(input *SkipWaitTimeForInstanceTerminationInput) SkipWaitTimeForInstanceTerminationRequest
SkipWaitTimeForInstanceTerminationRequest returns a request value for making 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 completed.
// Example sending a request using the SkipWaitTimeForInstanceTerminationRequest method. req := client.SkipWaitTimeForInstanceTerminationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination
func (*CodeDeploy) StopDeploymentRequest ¶
func (c *CodeDeploy) StopDeploymentRequest(input *StopDeploymentInput) StopDeploymentRequest
StopDeploymentRequest returns a request value for making API operation for AWS CodeDeploy.
Attempts to stop an ongoing deployment.
// Example sending a request using the StopDeploymentRequest method. req := client.StopDeploymentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment
func (*CodeDeploy) UpdateApplicationRequest ¶
func (c *CodeDeploy) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest
UpdateApplicationRequest returns a request value for making API operation for AWS CodeDeploy.
Changes the name of an application.
// Example sending a request using the UpdateApplicationRequest method. req := client.UpdateApplicationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication
func (*CodeDeploy) UpdateDeploymentGroupRequest ¶
func (c *CodeDeploy) UpdateDeploymentGroupRequest(input *UpdateDeploymentGroupInput) UpdateDeploymentGroupRequest
UpdateDeploymentGroupRequest returns a request value for making API operation for AWS CodeDeploy.
Changes information about a deployment group.
// Example sending a request using the UpdateDeploymentGroupRequest method. req := client.UpdateDeploymentGroupRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup
func (*CodeDeploy) 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.
func (*CodeDeploy) WaitUntilDeploymentSuccessfulWithContext ¶
func (c *CodeDeploy) WaitUntilDeploymentSuccessfulWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...aws.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.
type ComputePlatform ¶ added in v0.2.0
type ComputePlatform string
const ( ComputePlatformServer ComputePlatform = "Server" ComputePlatformLambda ComputePlatform = "Lambda" )
Enum values for ComputePlatform
type ContinueDeploymentInput ¶
type ContinueDeploymentInput struct { // The deployment ID of the blue/green deployment for which you want to start // rerouting traffic to the replacement environment. DeploymentId *string `locationName:"deploymentId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentInput
func (ContinueDeploymentInput) GoString ¶
func (s ContinueDeploymentInput) GoString() string
GoString returns the string representation
func (*ContinueDeploymentInput) SetDeploymentId ¶
func (s *ContinueDeploymentInput) SetDeploymentId(v string) *ContinueDeploymentInput
SetDeploymentId sets the DeploymentId field's value.
func (ContinueDeploymentInput) String ¶
func (s ContinueDeploymentInput) String() string
String returns the string representation
type ContinueDeploymentOutput ¶
type ContinueDeploymentOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentOutput
func (ContinueDeploymentOutput) GoString ¶
func (s ContinueDeploymentOutput) GoString() string
GoString returns the string representation
func (ContinueDeploymentOutput) SDKResponseMetadata ¶
func (s ContinueDeploymentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ContinueDeploymentOutput) String ¶
func (s ContinueDeploymentOutput) String() string
String returns the string representation
type ContinueDeploymentRequest ¶
type ContinueDeploymentRequest struct { *aws.Request Input *ContinueDeploymentInput }
ContinueDeploymentRequest is a API request type for the ContinueDeployment API operation.
func (ContinueDeploymentRequest) Send ¶
func (r ContinueDeploymentRequest) Send() (*ContinueDeploymentOutput, error)
Send marshals and sends the ContinueDeployment API request.
type CreateApplicationInput ¶
type CreateApplicationInput struct { // The name of the application. This name must be unique with the applicable // IAM user or AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // The destination platform type for the deployment (Lambda or Server). ComputePlatform ComputePlatform `locationName:"computePlatform" type:"string" enum:"true"` // contains filtered or unexported fields }
Represents the input of a CreateApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationInput
func (CreateApplicationInput) GoString ¶
func (s CreateApplicationInput) GoString() string
GoString returns the string representation
func (*CreateApplicationInput) SetApplicationName ¶
func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplicationInput
SetApplicationName sets the ApplicationName field's value.
func (*CreateApplicationInput) SetComputePlatform ¶ added in v0.2.0
func (s *CreateApplicationInput) SetComputePlatform(v ComputePlatform) *CreateApplicationInput
SetComputePlatform sets the ComputePlatform field's value.
func (CreateApplicationInput) String ¶
func (s CreateApplicationInput) String() string
String returns the string representation
func (*CreateApplicationInput) Validate ¶
func (s *CreateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApplicationOutput ¶
type CreateApplicationOutput struct { // A unique application ID. ApplicationId *string `locationName:"applicationId" type:"string"` // contains filtered or unexported fields }
Represents the output of a CreateApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationOutput
func (CreateApplicationOutput) GoString ¶
func (s CreateApplicationOutput) GoString() string
GoString returns the string representation
func (CreateApplicationOutput) SDKResponseMetadata ¶
func (s CreateApplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateApplicationOutput) SetApplicationId ¶
func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationOutput
SetApplicationId sets the ApplicationId field's value.
func (CreateApplicationOutput) String ¶
func (s CreateApplicationOutput) String() string
String returns the string representation
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { *aws.Request Input *CreateApplicationInput }
CreateApplicationRequest is a API request type for the CreateApplication API operation.
func (CreateApplicationRequest) Send ¶
func (r CreateApplicationRequest) Send() (*CreateApplicationOutput, error)
Send marshals and sends the CreateApplication API request.
type CreateDeploymentConfigInput ¶
type CreateDeploymentConfigInput struct { // The destination platform type for the deployment (Lambda or Server>). ComputePlatform ComputePlatform `locationName:"computePlatform" type:"string" enum:"true"` // The name of the deployment configuration to create. // // DeploymentConfigName is a required field DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"` // 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 instance // 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 *MinimumHealthyHosts `locationName:"minimumHealthyHosts" type:"structure"` // The configuration that specifies how the deployment traffic will be routed. TrafficRoutingConfig *TrafficRoutingConfig `locationName:"trafficRoutingConfig" type:"structure"` // contains filtered or unexported fields }
Represents the input of a CreateDeploymentConfig operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigInput
func (CreateDeploymentConfigInput) GoString ¶
func (s CreateDeploymentConfigInput) GoString() string
GoString returns the string representation
func (*CreateDeploymentConfigInput) SetComputePlatform ¶ added in v0.2.0
func (s *CreateDeploymentConfigInput) SetComputePlatform(v ComputePlatform) *CreateDeploymentConfigInput
SetComputePlatform sets the ComputePlatform field's value.
func (*CreateDeploymentConfigInput) SetDeploymentConfigName ¶
func (s *CreateDeploymentConfigInput) SetDeploymentConfigName(v string) *CreateDeploymentConfigInput
SetDeploymentConfigName sets the DeploymentConfigName field's value.
func (*CreateDeploymentConfigInput) SetMinimumHealthyHosts ¶
func (s *CreateDeploymentConfigInput) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *CreateDeploymentConfigInput
SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value.
func (*CreateDeploymentConfigInput) SetTrafficRoutingConfig ¶ added in v0.2.0
func (s *CreateDeploymentConfigInput) SetTrafficRoutingConfig(v *TrafficRoutingConfig) *CreateDeploymentConfigInput
SetTrafficRoutingConfig sets the TrafficRoutingConfig field's value.
func (CreateDeploymentConfigInput) String ¶
func (s CreateDeploymentConfigInput) String() string
String returns the string representation
func (*CreateDeploymentConfigInput) Validate ¶
func (s *CreateDeploymentConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDeploymentConfigOutput ¶
type CreateDeploymentConfigOutput struct { // A unique deployment configuration ID. DeploymentConfigId *string `locationName:"deploymentConfigId" type:"string"` // contains filtered or unexported fields }
Represents the output of a CreateDeploymentConfig operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigOutput
func (CreateDeploymentConfigOutput) GoString ¶
func (s CreateDeploymentConfigOutput) GoString() string
GoString returns the string representation
func (CreateDeploymentConfigOutput) SDKResponseMetadata ¶
func (s CreateDeploymentConfigOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateDeploymentConfigOutput) SetDeploymentConfigId ¶
func (s *CreateDeploymentConfigOutput) SetDeploymentConfigId(v string) *CreateDeploymentConfigOutput
SetDeploymentConfigId sets the DeploymentConfigId field's value.
func (CreateDeploymentConfigOutput) String ¶
func (s CreateDeploymentConfigOutput) String() string
String returns the string representation
type CreateDeploymentConfigRequest ¶
type CreateDeploymentConfigRequest struct { *aws.Request Input *CreateDeploymentConfigInput }
CreateDeploymentConfigRequest is a API request type for the CreateDeploymentConfig API operation.
func (CreateDeploymentConfigRequest) Send ¶
func (r CreateDeploymentConfigRequest) Send() (*CreateDeploymentConfigOutput, error)
Send marshals and sends the CreateDeploymentConfig API request.
type CreateDeploymentGroupInput ¶
type CreateDeploymentGroupInput struct { // Information to add about Amazon CloudWatch alarms when the deployment group // is created. AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"` // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Configuration information for an automatic rollback that is added when a // deployment group is created. AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"` // A list of associated Auto Scaling groups. AutoScalingGroups []string `locationName:"autoScalingGroups" type:"list"` // Information about blue/green deployment options for a deployment group. BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"` // 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 the deployment // group. // // For more information about the predefined deployment configurations in AWS // CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy (http://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html) // in the AWS CodeDeploy User Guide. DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"` // The name of a new deployment group for the specified application. // // DeploymentGroupName is a required field DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"` // 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 *DeploymentStyle `locationName:"deploymentStyle" type:"structure"` // The Amazon EC2 tags on which to filter. The deployment group will include // EC2 instances with any of the specified tags. Cannot be used in the same // call as ec2TagSet. Ec2TagFilters []EC2TagFilter `locationName:"ec2TagFilters" type:"list"` // Information about groups of tags applied to EC2 instances. The deployment // group will include only EC2 instances identified by all the tag groups. Cannot // be used in the same call as ec2TagFilters. Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"` // Information about the load balancer used in a deployment. LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"` // The on-premises instance tags on which to filter. The deployment group will // include on-premises instances with any of the specified tags. Cannot be used // in the same call as OnPremisesTagSet. OnPremisesInstanceTagFilters []TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"` // Information about groups of tags applied to on-premises instances. The deployment // group will include only on-premises instances identified by all the tag groups. // Cannot be used in the same call as onPremisesInstanceTagFilters. OnPremisesTagSet *OnPremisesTagSet `locationName:"onPremisesTagSet" type:"structure"` // A service role ARN that allows AWS CodeDeploy to act on the user's behalf // when interacting with AWS services. // // ServiceRoleArn is a required field ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string" required:"true"` // Information about triggers to create when the deployment group is created. // For examples, see Create a Trigger for an AWS CodeDeploy Event (http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-sns.html) // in the AWS CodeDeploy User Guide. TriggerConfigurations []TriggerConfig `locationName:"triggerConfigurations" type:"list"` // contains filtered or unexported fields }
Represents the input of a CreateDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupInput
func (CreateDeploymentGroupInput) GoString ¶
func (s CreateDeploymentGroupInput) GoString() string
GoString returns the string representation
func (*CreateDeploymentGroupInput) SetAlarmConfiguration ¶
func (s *CreateDeploymentGroupInput) SetAlarmConfiguration(v *AlarmConfiguration) *CreateDeploymentGroupInput
SetAlarmConfiguration sets the AlarmConfiguration field's value.
func (*CreateDeploymentGroupInput) SetApplicationName ¶
func (s *CreateDeploymentGroupInput) SetApplicationName(v string) *CreateDeploymentGroupInput
SetApplicationName sets the ApplicationName field's value.
func (*CreateDeploymentGroupInput) SetAutoRollbackConfiguration ¶
func (s *CreateDeploymentGroupInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentGroupInput
SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
func (*CreateDeploymentGroupInput) SetAutoScalingGroups ¶
func (s *CreateDeploymentGroupInput) SetAutoScalingGroups(v []string) *CreateDeploymentGroupInput
SetAutoScalingGroups sets the AutoScalingGroups field's value.
func (*CreateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration ¶
func (s *CreateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *CreateDeploymentGroupInput
SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.
func (*CreateDeploymentGroupInput) SetDeploymentConfigName ¶
func (s *CreateDeploymentGroupInput) SetDeploymentConfigName(v string) *CreateDeploymentGroupInput
SetDeploymentConfigName sets the DeploymentConfigName field's value.
func (*CreateDeploymentGroupInput) SetDeploymentGroupName ¶
func (s *CreateDeploymentGroupInput) SetDeploymentGroupName(v string) *CreateDeploymentGroupInput
SetDeploymentGroupName sets the DeploymentGroupName field's value.
func (*CreateDeploymentGroupInput) SetDeploymentStyle ¶
func (s *CreateDeploymentGroupInput) SetDeploymentStyle(v *DeploymentStyle) *CreateDeploymentGroupInput
SetDeploymentStyle sets the DeploymentStyle field's value.
func (*CreateDeploymentGroupInput) SetEc2TagFilters ¶
func (s *CreateDeploymentGroupInput) SetEc2TagFilters(v []EC2TagFilter) *CreateDeploymentGroupInput
SetEc2TagFilters sets the Ec2TagFilters field's value.
func (*CreateDeploymentGroupInput) SetEc2TagSet ¶
func (s *CreateDeploymentGroupInput) SetEc2TagSet(v *EC2TagSet) *CreateDeploymentGroupInput
SetEc2TagSet sets the Ec2TagSet field's value.
func (*CreateDeploymentGroupInput) SetLoadBalancerInfo ¶
func (s *CreateDeploymentGroupInput) SetLoadBalancerInfo(v *LoadBalancerInfo) *CreateDeploymentGroupInput
SetLoadBalancerInfo sets the LoadBalancerInfo field's value.
func (*CreateDeploymentGroupInput) SetOnPremisesInstanceTagFilters ¶
func (s *CreateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []TagFilter) *CreateDeploymentGroupInput
SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.
func (*CreateDeploymentGroupInput) SetOnPremisesTagSet ¶
func (s *CreateDeploymentGroupInput) SetOnPremisesTagSet(v *OnPremisesTagSet) *CreateDeploymentGroupInput
SetOnPremisesTagSet sets the OnPremisesTagSet field's value.
func (*CreateDeploymentGroupInput) SetServiceRoleArn ¶
func (s *CreateDeploymentGroupInput) SetServiceRoleArn(v string) *CreateDeploymentGroupInput
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (*CreateDeploymentGroupInput) SetTriggerConfigurations ¶
func (s *CreateDeploymentGroupInput) SetTriggerConfigurations(v []TriggerConfig) *CreateDeploymentGroupInput
SetTriggerConfigurations sets the TriggerConfigurations field's value.
func (CreateDeploymentGroupInput) String ¶
func (s CreateDeploymentGroupInput) String() string
String returns the string representation
func (*CreateDeploymentGroupInput) Validate ¶
func (s *CreateDeploymentGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDeploymentGroupOutput ¶
type CreateDeploymentGroupOutput struct { // A unique deployment group ID. DeploymentGroupId *string `locationName:"deploymentGroupId" type:"string"` // contains filtered or unexported fields }
Represents the output of a CreateDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupOutput
func (CreateDeploymentGroupOutput) GoString ¶
func (s CreateDeploymentGroupOutput) GoString() string
GoString returns the string representation
func (CreateDeploymentGroupOutput) SDKResponseMetadata ¶
func (s CreateDeploymentGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateDeploymentGroupOutput) SetDeploymentGroupId ¶
func (s *CreateDeploymentGroupOutput) SetDeploymentGroupId(v string) *CreateDeploymentGroupOutput
SetDeploymentGroupId sets the DeploymentGroupId field's value.
func (CreateDeploymentGroupOutput) String ¶
func (s CreateDeploymentGroupOutput) String() string
String returns the string representation
type CreateDeploymentGroupRequest ¶
type CreateDeploymentGroupRequest struct { *aws.Request Input *CreateDeploymentGroupInput }
CreateDeploymentGroupRequest is a API request type for the CreateDeploymentGroup API operation.
func (CreateDeploymentGroupRequest) Send ¶
func (r CreateDeploymentGroupRequest) Send() (*CreateDeploymentGroupOutput, error)
Send marshals and sends the CreateDeploymentGroup API request.
type CreateDeploymentInput ¶
type CreateDeploymentInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Configuration information for an automatic rollback that is added when a // deployment is created. AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"` // The name of a deployment configuration associated with the applicable IAM // user or AWS account. // // If not specified, the value configured in the deployment group will be used // as the default. If the deployment group does not have a deployment configuration // associated with it, then CodeDeployDefault.OneAtATime will be used by default. DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"` // The name of the deployment group. DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"` // A comment about the deployment. Description *string `locationName:"description" type:"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 FileExistsBehavior `locationName:"fileExistsBehavior" type:"string" enum:"true"` // If set to true, then if the deployment causes the ApplicationStop deployment // lifecycle event to an instance to fail, the deployment to that instance will // not be considered to have failed at that point and will continue on to the // BeforeInstall deployment lifecycle event. // // If set to false or not specified, then if the deployment causes the ApplicationStop // deployment lifecycle event to fail to an instance, the deployment to that // instance will stop, and the deployment to that instance will be considered // to have failed. IgnoreApplicationStopFailures *bool `locationName:"ignoreApplicationStopFailures" type:"boolean"` // The type and location of the revision to deploy. Revision *RevisionLocation `locationName:"revision" type:"structure"` // Information about the instances that will belong to the replacement environment // in a blue/green deployment. TargetInstances *TargetInstances `locationName:"targetInstances" type:"structure"` // Indicates whether to deploy to all instances or only to instances that are // not running the latest application revision. UpdateOutdatedInstancesOnly *bool `locationName:"updateOutdatedInstancesOnly" type:"boolean"` // contains filtered or unexported fields }
Represents the input of a CreateDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentInput
func (CreateDeploymentInput) GoString ¶
func (s CreateDeploymentInput) GoString() string
GoString returns the string representation
func (*CreateDeploymentInput) SetApplicationName ¶
func (s *CreateDeploymentInput) SetApplicationName(v string) *CreateDeploymentInput
SetApplicationName sets the ApplicationName field's value.
func (*CreateDeploymentInput) SetAutoRollbackConfiguration ¶
func (s *CreateDeploymentInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentInput
SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
func (*CreateDeploymentInput) SetDeploymentConfigName ¶
func (s *CreateDeploymentInput) SetDeploymentConfigName(v string) *CreateDeploymentInput
SetDeploymentConfigName sets the DeploymentConfigName field's value.
func (*CreateDeploymentInput) SetDeploymentGroupName ¶
func (s *CreateDeploymentInput) SetDeploymentGroupName(v string) *CreateDeploymentInput
SetDeploymentGroupName sets the DeploymentGroupName field's value.
func (*CreateDeploymentInput) SetDescription ¶
func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput
SetDescription sets the Description field's value.
func (*CreateDeploymentInput) SetFileExistsBehavior ¶
func (s *CreateDeploymentInput) SetFileExistsBehavior(v FileExistsBehavior) *CreateDeploymentInput
SetFileExistsBehavior sets the FileExistsBehavior field's value.
func (*CreateDeploymentInput) SetIgnoreApplicationStopFailures ¶
func (s *CreateDeploymentInput) SetIgnoreApplicationStopFailures(v bool) *CreateDeploymentInput
SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value.
func (*CreateDeploymentInput) SetRevision ¶
func (s *CreateDeploymentInput) SetRevision(v *RevisionLocation) *CreateDeploymentInput
SetRevision sets the Revision field's value.
func (*CreateDeploymentInput) SetTargetInstances ¶
func (s *CreateDeploymentInput) SetTargetInstances(v *TargetInstances) *CreateDeploymentInput
SetTargetInstances sets the TargetInstances field's value.
func (*CreateDeploymentInput) SetUpdateOutdatedInstancesOnly ¶
func (s *CreateDeploymentInput) SetUpdateOutdatedInstancesOnly(v bool) *CreateDeploymentInput
SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value.
func (CreateDeploymentInput) String ¶
func (s CreateDeploymentInput) String() string
String returns the string representation
func (*CreateDeploymentInput) Validate ¶
func (s *CreateDeploymentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDeploymentOutput ¶
type CreateDeploymentOutput struct { // A unique deployment ID. DeploymentId *string `locationName:"deploymentId" type:"string"` // contains filtered or unexported fields }
Represents the output of a CreateDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentOutput
func (CreateDeploymentOutput) GoString ¶
func (s CreateDeploymentOutput) GoString() string
GoString returns the string representation
func (CreateDeploymentOutput) SDKResponseMetadata ¶
func (s CreateDeploymentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateDeploymentOutput) SetDeploymentId ¶
func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutput
SetDeploymentId sets the DeploymentId field's value.
func (CreateDeploymentOutput) String ¶
func (s CreateDeploymentOutput) String() string
String returns the string representation
type CreateDeploymentRequest ¶
type CreateDeploymentRequest struct { *aws.Request Input *CreateDeploymentInput }
CreateDeploymentRequest is a API request type for the CreateDeployment API operation.
func (CreateDeploymentRequest) Send ¶
func (r CreateDeploymentRequest) Send() (*CreateDeploymentOutput, error)
Send marshals and sends the CreateDeployment API request.
type DeleteApplicationInput ¶
type DeleteApplicationInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DeleteApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationInput
func (DeleteApplicationInput) GoString ¶
func (s DeleteApplicationInput) GoString() string
GoString returns the string representation
func (*DeleteApplicationInput) SetApplicationName ¶
func (s *DeleteApplicationInput) SetApplicationName(v string) *DeleteApplicationInput
SetApplicationName sets the ApplicationName field's value.
func (DeleteApplicationInput) String ¶
func (s DeleteApplicationInput) String() string
String returns the string representation
func (*DeleteApplicationInput) Validate ¶
func (s *DeleteApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApplicationOutput ¶
type DeleteApplicationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationOutput
func (DeleteApplicationOutput) GoString ¶
func (s DeleteApplicationOutput) GoString() string
GoString returns the string representation
func (DeleteApplicationOutput) SDKResponseMetadata ¶
func (s DeleteApplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteApplicationOutput) String ¶
func (s DeleteApplicationOutput) String() string
String returns the string representation
type DeleteApplicationRequest ¶
type DeleteApplicationRequest struct { *aws.Request Input *DeleteApplicationInput }
DeleteApplicationRequest is a API request type for the DeleteApplication API operation.
func (DeleteApplicationRequest) Send ¶
func (r DeleteApplicationRequest) Send() (*DeleteApplicationOutput, error)
Send marshals and sends the DeleteApplication API request.
type DeleteDeploymentConfigInput ¶
type DeleteDeploymentConfigInput struct { // The name of a deployment configuration associated with the applicable IAM // user or AWS account. // // DeploymentConfigName is a required field DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DeleteDeploymentConfig operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigInput
func (DeleteDeploymentConfigInput) GoString ¶
func (s DeleteDeploymentConfigInput) GoString() string
GoString returns the string representation
func (*DeleteDeploymentConfigInput) SetDeploymentConfigName ¶
func (s *DeleteDeploymentConfigInput) SetDeploymentConfigName(v string) *DeleteDeploymentConfigInput
SetDeploymentConfigName sets the DeploymentConfigName field's value.
func (DeleteDeploymentConfigInput) String ¶
func (s DeleteDeploymentConfigInput) String() string
String returns the string representation
func (*DeleteDeploymentConfigInput) Validate ¶
func (s *DeleteDeploymentConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDeploymentConfigOutput ¶
type DeleteDeploymentConfigOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigOutput
func (DeleteDeploymentConfigOutput) GoString ¶
func (s DeleteDeploymentConfigOutput) GoString() string
GoString returns the string representation
func (DeleteDeploymentConfigOutput) SDKResponseMetadata ¶
func (s DeleteDeploymentConfigOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteDeploymentConfigOutput) String ¶
func (s DeleteDeploymentConfigOutput) String() string
String returns the string representation
type DeleteDeploymentConfigRequest ¶
type DeleteDeploymentConfigRequest struct { *aws.Request Input *DeleteDeploymentConfigInput }
DeleteDeploymentConfigRequest is a API request type for the DeleteDeploymentConfig API operation.
func (DeleteDeploymentConfigRequest) Send ¶
func (r DeleteDeploymentConfigRequest) Send() (*DeleteDeploymentConfigOutput, error)
Send marshals and sends the DeleteDeploymentConfig API request.
type DeleteDeploymentGroupInput ¶
type DeleteDeploymentGroupInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // The name of an existing deployment group for the specified application. // // DeploymentGroupName is a required field DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DeleteDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupInput
func (DeleteDeploymentGroupInput) GoString ¶
func (s DeleteDeploymentGroupInput) GoString() string
GoString returns the string representation
func (*DeleteDeploymentGroupInput) SetApplicationName ¶
func (s *DeleteDeploymentGroupInput) SetApplicationName(v string) *DeleteDeploymentGroupInput
SetApplicationName sets the ApplicationName field's value.
func (*DeleteDeploymentGroupInput) SetDeploymentGroupName ¶
func (s *DeleteDeploymentGroupInput) SetDeploymentGroupName(v string) *DeleteDeploymentGroupInput
SetDeploymentGroupName sets the DeploymentGroupName field's value.
func (DeleteDeploymentGroupInput) String ¶
func (s DeleteDeploymentGroupInput) String() string
String returns the string representation
func (*DeleteDeploymentGroupInput) Validate ¶
func (s *DeleteDeploymentGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 []AutoScalingGroup `locationName:"hooksNotCleanedUp" type:"list"` // contains filtered or unexported fields }
Represents the output of a DeleteDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupOutput
func (DeleteDeploymentGroupOutput) GoString ¶
func (s DeleteDeploymentGroupOutput) GoString() string
GoString returns the string representation
func (DeleteDeploymentGroupOutput) SDKResponseMetadata ¶
func (s DeleteDeploymentGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteDeploymentGroupOutput) SetHooksNotCleanedUp ¶
func (s *DeleteDeploymentGroupOutput) SetHooksNotCleanedUp(v []AutoScalingGroup) *DeleteDeploymentGroupOutput
SetHooksNotCleanedUp sets the HooksNotCleanedUp field's value.
func (DeleteDeploymentGroupOutput) String ¶
func (s DeleteDeploymentGroupOutput) String() string
String returns the string representation
type DeleteDeploymentGroupRequest ¶
type DeleteDeploymentGroupRequest struct { *aws.Request Input *DeleteDeploymentGroupInput }
DeleteDeploymentGroupRequest is a API request type for the DeleteDeploymentGroup API operation.
func (DeleteDeploymentGroupRequest) Send ¶
func (r DeleteDeploymentGroupRequest) Send() (*DeleteDeploymentGroupOutput, error)
Send marshals and sends the DeleteDeploymentGroup API request.
type DeleteGitHubAccountTokenInput ¶ added in v0.2.0
type DeleteGitHubAccountTokenInput struct { // The name of the GitHub account connection to delete. TokenName *string `locationName:"tokenName" type:"string"` // contains filtered or unexported fields }
Represents the input of a DeleteGitHubAccount operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountTokenInput
func (DeleteGitHubAccountTokenInput) GoString ¶ added in v0.2.0
func (s DeleteGitHubAccountTokenInput) GoString() string
GoString returns the string representation
func (*DeleteGitHubAccountTokenInput) SetTokenName ¶ added in v0.2.0
func (s *DeleteGitHubAccountTokenInput) SetTokenName(v string) *DeleteGitHubAccountTokenInput
SetTokenName sets the TokenName field's value.
func (DeleteGitHubAccountTokenInput) String ¶ added in v0.2.0
func (s DeleteGitHubAccountTokenInput) String() string
String returns the string representation
type DeleteGitHubAccountTokenOutput ¶ added in v0.2.0
type DeleteGitHubAccountTokenOutput struct { // The name of the GitHub account connection that was deleted. TokenName *string `locationName:"tokenName" type:"string"` // contains filtered or unexported fields }
Represents the output of a DeleteGitHubAccountToken operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountTokenOutput
func (DeleteGitHubAccountTokenOutput) GoString ¶ added in v0.2.0
func (s DeleteGitHubAccountTokenOutput) GoString() string
GoString returns the string representation
func (DeleteGitHubAccountTokenOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DeleteGitHubAccountTokenOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteGitHubAccountTokenOutput) SetTokenName ¶ added in v0.2.0
func (s *DeleteGitHubAccountTokenOutput) SetTokenName(v string) *DeleteGitHubAccountTokenOutput
SetTokenName sets the TokenName field's value.
func (DeleteGitHubAccountTokenOutput) String ¶ added in v0.2.0
func (s DeleteGitHubAccountTokenOutput) String() string
String returns the string representation
type DeleteGitHubAccountTokenRequest ¶ added in v0.2.0
type DeleteGitHubAccountTokenRequest struct { *aws.Request Input *DeleteGitHubAccountTokenInput }
DeleteGitHubAccountTokenRequest is a API request type for the DeleteGitHubAccountToken API operation.
func (DeleteGitHubAccountTokenRequest) Send ¶ added in v0.2.0
func (r DeleteGitHubAccountTokenRequest) Send() (*DeleteGitHubAccountTokenOutput, error)
Send marshals and sends the DeleteGitHubAccountToken API request.
type DeploymentConfigInfo ¶
type DeploymentConfigInfo struct { // The destination platform type for the deployment (Lambda or Server). ComputePlatform ComputePlatform `locationName:"computePlatform" type:"string" enum:"true"` // The time at which the deployment configuration was created. CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"` // The deployment configuration ID. DeploymentConfigId *string `locationName:"deploymentConfigId" type:"string"` // The deployment configuration name. DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"` // Information about the number or percentage of minimum healthy instance. MinimumHealthyHosts *MinimumHealthyHosts `locationName:"minimumHealthyHosts" type:"structure"` // The configuration specifying how the deployment traffic will be routed. Only // deployments with a Lambda compute platform can specify this. TrafficRoutingConfig *TrafficRoutingConfig `locationName:"trafficRoutingConfig" type:"structure"` // contains filtered or unexported fields }
Information about a deployment configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigInfo
func (DeploymentConfigInfo) GoString ¶
func (s DeploymentConfigInfo) GoString() string
GoString returns the string representation
func (*DeploymentConfigInfo) SetComputePlatform ¶ added in v0.2.0
func (s *DeploymentConfigInfo) SetComputePlatform(v ComputePlatform) *DeploymentConfigInfo
SetComputePlatform sets the ComputePlatform field's value.
func (*DeploymentConfigInfo) SetCreateTime ¶
func (s *DeploymentConfigInfo) SetCreateTime(v time.Time) *DeploymentConfigInfo
SetCreateTime sets the CreateTime field's value.
func (*DeploymentConfigInfo) SetDeploymentConfigId ¶
func (s *DeploymentConfigInfo) SetDeploymentConfigId(v string) *DeploymentConfigInfo
SetDeploymentConfigId sets the DeploymentConfigId field's value.
func (*DeploymentConfigInfo) SetDeploymentConfigName ¶
func (s *DeploymentConfigInfo) SetDeploymentConfigName(v string) *DeploymentConfigInfo
SetDeploymentConfigName sets the DeploymentConfigName field's value.
func (*DeploymentConfigInfo) SetMinimumHealthyHosts ¶
func (s *DeploymentConfigInfo) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *DeploymentConfigInfo
SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value.
func (*DeploymentConfigInfo) SetTrafficRoutingConfig ¶ added in v0.2.0
func (s *DeploymentConfigInfo) SetTrafficRoutingConfig(v *TrafficRoutingConfig) *DeploymentConfigInfo
SetTrafficRoutingConfig sets the TrafficRoutingConfig field's value.
func (DeploymentConfigInfo) String ¶
func (s DeploymentConfigInfo) String() string
String returns the string representation
type DeploymentCreator ¶
type DeploymentCreator string
const ( DeploymentCreatorUser DeploymentCreator = "user" DeploymentCreatorAutoscaling DeploymentCreator = "autoscaling" DeploymentCreatorCodeDeployRollback DeploymentCreator = "codeDeployRollback" )
Enum values for DeploymentCreator
type DeploymentGroupInfo ¶
type DeploymentGroupInfo struct { // A list of alarms associated with the deployment group. AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"` // The application name. ApplicationName *string `locationName:"applicationName" min:"1" type:"string"` // Information about the automatic rollback configuration associated with the // deployment group. AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"` // A list of associated Auto Scaling groups. AutoScalingGroups []AutoScalingGroup `locationName:"autoScalingGroups" type:"list"` // Information about blue/green deployment options for a deployment group. BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"` // The destination platform type for the deployment group (Lambda or Server). ComputePlatform ComputePlatform `locationName:"computePlatform" type:"string" enum:"true"` // The deployment configuration name. DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"` // The deployment group ID. DeploymentGroupId *string `locationName:"deploymentGroupId" type:"string"` // The deployment group name. DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"` // 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 *DeploymentStyle `locationName:"deploymentStyle" type:"structure"` // The Amazon EC2 tags on which to filter. The deployment group includes EC2 // instances with any of the specified tags. Ec2TagFilters []EC2TagFilter `locationName:"ec2TagFilters" type:"list"` // Information about groups of tags applied to an EC2 instance. The deployment // group includes only EC2 instances identified by all the tag groups. Cannot // be used in the same call as ec2TagFilters. Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"` // Information about the most recent attempted deployment to the deployment // group. LastAttemptedDeployment *LastDeploymentInfo `locationName:"lastAttemptedDeployment" type:"structure"` // Information about the most recent successful deployment to the deployment // group. LastSuccessfulDeployment *LastDeploymentInfo `locationName:"lastSuccessfulDeployment" type:"structure"` // Information about the load balancer to use in a deployment. LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"` // The on-premises instance tags on which to filter. The deployment group includes // on-premises instances with any of the specified tags. OnPremisesInstanceTagFilters []TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"` // Information about groups of tags applied to an on-premises instance. The // deployment group includes only on-premises instances identified by all the // tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters. OnPremisesTagSet *OnPremisesTagSet `locationName:"onPremisesTagSet" type:"structure"` // A service role ARN. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // Information about the deployment group's target revision, including type // and location. TargetRevision *RevisionLocation `locationName:"targetRevision" type:"structure"` // Information about triggers associated with the deployment group. TriggerConfigurations []TriggerConfig `locationName:"triggerConfigurations" type:"list"` // contains filtered or unexported fields }
Information about a deployment group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupInfo
func (DeploymentGroupInfo) GoString ¶
func (s DeploymentGroupInfo) GoString() string
GoString returns the string representation
func (*DeploymentGroupInfo) SetAlarmConfiguration ¶
func (s *DeploymentGroupInfo) SetAlarmConfiguration(v *AlarmConfiguration) *DeploymentGroupInfo
SetAlarmConfiguration sets the AlarmConfiguration field's value.
func (*DeploymentGroupInfo) SetApplicationName ¶
func (s *DeploymentGroupInfo) SetApplicationName(v string) *DeploymentGroupInfo
SetApplicationName sets the ApplicationName field's value.
func (*DeploymentGroupInfo) SetAutoRollbackConfiguration ¶
func (s *DeploymentGroupInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentGroupInfo
SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
func (*DeploymentGroupInfo) SetAutoScalingGroups ¶
func (s *DeploymentGroupInfo) SetAutoScalingGroups(v []AutoScalingGroup) *DeploymentGroupInfo
SetAutoScalingGroups sets the AutoScalingGroups field's value.
func (*DeploymentGroupInfo) SetBlueGreenDeploymentConfiguration ¶
func (s *DeploymentGroupInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentGroupInfo
SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.
func (*DeploymentGroupInfo) SetComputePlatform ¶ added in v0.2.0
func (s *DeploymentGroupInfo) SetComputePlatform(v ComputePlatform) *DeploymentGroupInfo
SetComputePlatform sets the ComputePlatform field's value.
func (*DeploymentGroupInfo) SetDeploymentConfigName ¶
func (s *DeploymentGroupInfo) SetDeploymentConfigName(v string) *DeploymentGroupInfo
SetDeploymentConfigName sets the DeploymentConfigName field's value.
func (*DeploymentGroupInfo) SetDeploymentGroupId ¶
func (s *DeploymentGroupInfo) SetDeploymentGroupId(v string) *DeploymentGroupInfo
SetDeploymentGroupId sets the DeploymentGroupId field's value.
func (*DeploymentGroupInfo) SetDeploymentGroupName ¶
func (s *DeploymentGroupInfo) SetDeploymentGroupName(v string) *DeploymentGroupInfo
SetDeploymentGroupName sets the DeploymentGroupName field's value.
func (*DeploymentGroupInfo) SetDeploymentStyle ¶
func (s *DeploymentGroupInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentGroupInfo
SetDeploymentStyle sets the DeploymentStyle field's value.
func (*DeploymentGroupInfo) SetEc2TagFilters ¶
func (s *DeploymentGroupInfo) SetEc2TagFilters(v []EC2TagFilter) *DeploymentGroupInfo
SetEc2TagFilters sets the Ec2TagFilters field's value.
func (*DeploymentGroupInfo) SetEc2TagSet ¶
func (s *DeploymentGroupInfo) SetEc2TagSet(v *EC2TagSet) *DeploymentGroupInfo
SetEc2TagSet sets the Ec2TagSet field's value.
func (*DeploymentGroupInfo) SetLastAttemptedDeployment ¶
func (s *DeploymentGroupInfo) SetLastAttemptedDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo
SetLastAttemptedDeployment sets the LastAttemptedDeployment field's value.
func (*DeploymentGroupInfo) SetLastSuccessfulDeployment ¶
func (s *DeploymentGroupInfo) SetLastSuccessfulDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo
SetLastSuccessfulDeployment sets the LastSuccessfulDeployment field's value.
func (*DeploymentGroupInfo) SetLoadBalancerInfo ¶
func (s *DeploymentGroupInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentGroupInfo
SetLoadBalancerInfo sets the LoadBalancerInfo field's value.
func (*DeploymentGroupInfo) SetOnPremisesInstanceTagFilters ¶
func (s *DeploymentGroupInfo) SetOnPremisesInstanceTagFilters(v []TagFilter) *DeploymentGroupInfo
SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.
func (*DeploymentGroupInfo) SetOnPremisesTagSet ¶
func (s *DeploymentGroupInfo) SetOnPremisesTagSet(v *OnPremisesTagSet) *DeploymentGroupInfo
SetOnPremisesTagSet sets the OnPremisesTagSet field's value.
func (*DeploymentGroupInfo) SetServiceRoleArn ¶
func (s *DeploymentGroupInfo) SetServiceRoleArn(v string) *DeploymentGroupInfo
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (*DeploymentGroupInfo) SetTargetRevision ¶
func (s *DeploymentGroupInfo) SetTargetRevision(v *RevisionLocation) *DeploymentGroupInfo
SetTargetRevision sets the TargetRevision field's value.
func (*DeploymentGroupInfo) SetTriggerConfigurations ¶
func (s *DeploymentGroupInfo) SetTriggerConfigurations(v []TriggerConfig) *DeploymentGroupInfo
SetTriggerConfigurations sets the TriggerConfigurations field's value.
func (DeploymentGroupInfo) String ¶
func (s DeploymentGroupInfo) String() string
String returns the string representation
type DeploymentInfo ¶
type DeploymentInfo struct { // Provides information about the results of a deployment, such as whether instances // in the original environment in a blue/green deployment were not terminated. AdditionalDeploymentStatusInfo *string `locationName:"additionalDeploymentStatusInfo" deprecated:"true" type:"string"` // The application name. ApplicationName *string `locationName:"applicationName" min:"1" type:"string"` // Information about the automatic rollback configuration associated with the // deployment. AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"` // Information about blue/green deployment options for this deployment. BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"` // A timestamp indicating when the deployment was complete. CompleteTime *time.Time `locationName:"completeTime" type:"timestamp" timestampFormat:"unix"` // The destination platform type for the deployment (Lambda or Server). ComputePlatform ComputePlatform `locationName:"computePlatform" type:"string" enum:"true"` // A timestamp indicating when the deployment was created. CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"` // The means by which the deployment was created: // // * user: A user created the deployment. // // * autoscaling: Auto Scaling created the deployment. // // * codeDeployRollback: A rollback process created the deployment. Creator DeploymentCreator `locationName:"creator" type:"string" enum:"true"` // The deployment configuration name. DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"` // The deployment group name. DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"` // The deployment ID. DeploymentId *string `locationName:"deploymentId" type:"string"` // A summary of the deployment status of the instances in the deployment. DeploymentOverview *DeploymentOverview `locationName:"deploymentOverview" type:"structure"` // Messages that contain information about the status of a deployment. DeploymentStatusMessages []string `locationName:"deploymentStatusMessages" type:"list"` // 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 *DeploymentStyle `locationName:"deploymentStyle" type:"structure"` // A comment about the deployment. Description *string `locationName:"description" type:"string"` // Information about any error associated with this deployment. ErrorInformation *ErrorInformation `locationName:"errorInformation" type:"structure"` // Information about how AWS CodeDeploy handles files that already exist in // a deployment target location but weren't part of the previous successful // deployment. // // * 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 FileExistsBehavior `locationName:"fileExistsBehavior" type:"string" enum:"true"` // If true, then if the deployment causes the ApplicationStop deployment lifecycle // event to an instance to fail, the deployment to that instance will not be // considered to have failed at that point and will continue on to the BeforeInstall // deployment lifecycle event. // // If false or not specified, then if the deployment causes the ApplicationStop // deployment lifecycle event to an instance to fail, the deployment to that // instance will stop, and the deployment to that instance will be considered // to have failed. IgnoreApplicationStopFailures *bool `locationName:"ignoreApplicationStopFailures" type:"boolean"` // Indicates whether the wait period set for the termination of instances in // the original environment has started. Status is 'false' if the KEEP_ALIVE // option is specified; otherwise, 'true' as soon as the termination wait period // starts. InstanceTerminationWaitTimeStarted *bool `locationName:"instanceTerminationWaitTimeStarted" type:"boolean"` // Information about the load balancer used in the deployment. LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"` // Information about the application revision that was deployed to the deployment // group before the most recent successful deployment. PreviousRevision *RevisionLocation `locationName:"previousRevision" type:"structure"` // Information about the location of stored application artifacts and the service // from which to retrieve them. Revision *RevisionLocation `locationName:"revision" type:"structure"` // Information about a deployment rollback. RollbackInfo *RollbackInfo `locationName:"rollbackInfo" type:"structure"` // A timestamp indicating when the deployment was deployed to the deployment // group. // // In some cases, the reported value of the start time may be later than the // complete time. This is due to differences in the clock settings of back-end // servers that participate in the deployment process. StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"` // The current state of the deployment as a whole. Status DeploymentStatus `locationName:"status" type:"string" enum:"true"` // Information about the instances that belong to the replacement environment // in a blue/green deployment. TargetInstances *TargetInstances `locationName:"targetInstances" type:"structure"` // Indicates whether only instances that are not running the latest application // revision are to be deployed to. UpdateOutdatedInstancesOnly *bool `locationName:"updateOutdatedInstancesOnly" type:"boolean"` // contains filtered or unexported fields }
Information about a deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo
func (DeploymentInfo) GoString ¶
func (s DeploymentInfo) GoString() string
GoString returns the string representation
func (*DeploymentInfo) SetAdditionalDeploymentStatusInfo ¶
func (s *DeploymentInfo) SetAdditionalDeploymentStatusInfo(v string) *DeploymentInfo
SetAdditionalDeploymentStatusInfo sets the AdditionalDeploymentStatusInfo field's value.
func (*DeploymentInfo) SetApplicationName ¶
func (s *DeploymentInfo) SetApplicationName(v string) *DeploymentInfo
SetApplicationName sets the ApplicationName field's value.
func (*DeploymentInfo) SetAutoRollbackConfiguration ¶
func (s *DeploymentInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentInfo
SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
func (*DeploymentInfo) SetBlueGreenDeploymentConfiguration ¶
func (s *DeploymentInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentInfo
SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.
func (*DeploymentInfo) SetCompleteTime ¶
func (s *DeploymentInfo) SetCompleteTime(v time.Time) *DeploymentInfo
SetCompleteTime sets the CompleteTime field's value.
func (*DeploymentInfo) SetComputePlatform ¶ added in v0.2.0
func (s *DeploymentInfo) SetComputePlatform(v ComputePlatform) *DeploymentInfo
SetComputePlatform sets the ComputePlatform field's value.
func (*DeploymentInfo) SetCreateTime ¶
func (s *DeploymentInfo) SetCreateTime(v time.Time) *DeploymentInfo
SetCreateTime sets the CreateTime field's value.
func (*DeploymentInfo) SetCreator ¶
func (s *DeploymentInfo) SetCreator(v DeploymentCreator) *DeploymentInfo
SetCreator sets the Creator field's value.
func (*DeploymentInfo) SetDeploymentConfigName ¶
func (s *DeploymentInfo) SetDeploymentConfigName(v string) *DeploymentInfo
SetDeploymentConfigName sets the DeploymentConfigName field's value.
func (*DeploymentInfo) SetDeploymentGroupName ¶
func (s *DeploymentInfo) SetDeploymentGroupName(v string) *DeploymentInfo
SetDeploymentGroupName sets the DeploymentGroupName field's value.
func (*DeploymentInfo) SetDeploymentId ¶
func (s *DeploymentInfo) SetDeploymentId(v string) *DeploymentInfo
SetDeploymentId sets the DeploymentId field's value.
func (*DeploymentInfo) SetDeploymentOverview ¶
func (s *DeploymentInfo) SetDeploymentOverview(v *DeploymentOverview) *DeploymentInfo
SetDeploymentOverview sets the DeploymentOverview field's value.
func (*DeploymentInfo) SetDeploymentStatusMessages ¶ added in v0.2.0
func (s *DeploymentInfo) SetDeploymentStatusMessages(v []string) *DeploymentInfo
SetDeploymentStatusMessages sets the DeploymentStatusMessages field's value.
func (*DeploymentInfo) SetDeploymentStyle ¶
func (s *DeploymentInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentInfo
SetDeploymentStyle sets the DeploymentStyle field's value.
func (*DeploymentInfo) SetDescription ¶
func (s *DeploymentInfo) SetDescription(v string) *DeploymentInfo
SetDescription sets the Description field's value.
func (*DeploymentInfo) SetErrorInformation ¶
func (s *DeploymentInfo) SetErrorInformation(v *ErrorInformation) *DeploymentInfo
SetErrorInformation sets the ErrorInformation field's value.
func (*DeploymentInfo) SetFileExistsBehavior ¶
func (s *DeploymentInfo) SetFileExistsBehavior(v FileExistsBehavior) *DeploymentInfo
SetFileExistsBehavior sets the FileExistsBehavior field's value.
func (*DeploymentInfo) SetIgnoreApplicationStopFailures ¶
func (s *DeploymentInfo) SetIgnoreApplicationStopFailures(v bool) *DeploymentInfo
SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value.
func (*DeploymentInfo) SetInstanceTerminationWaitTimeStarted ¶
func (s *DeploymentInfo) SetInstanceTerminationWaitTimeStarted(v bool) *DeploymentInfo
SetInstanceTerminationWaitTimeStarted sets the InstanceTerminationWaitTimeStarted field's value.
func (*DeploymentInfo) SetLoadBalancerInfo ¶
func (s *DeploymentInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentInfo
SetLoadBalancerInfo sets the LoadBalancerInfo field's value.
func (*DeploymentInfo) SetPreviousRevision ¶
func (s *DeploymentInfo) SetPreviousRevision(v *RevisionLocation) *DeploymentInfo
SetPreviousRevision sets the PreviousRevision field's value.
func (*DeploymentInfo) SetRevision ¶
func (s *DeploymentInfo) SetRevision(v *RevisionLocation) *DeploymentInfo
SetRevision sets the Revision field's value.
func (*DeploymentInfo) SetRollbackInfo ¶
func (s *DeploymentInfo) SetRollbackInfo(v *RollbackInfo) *DeploymentInfo
SetRollbackInfo sets the RollbackInfo field's value.
func (*DeploymentInfo) SetStartTime ¶
func (s *DeploymentInfo) SetStartTime(v time.Time) *DeploymentInfo
SetStartTime sets the StartTime field's value.
func (*DeploymentInfo) SetStatus ¶
func (s *DeploymentInfo) SetStatus(v DeploymentStatus) *DeploymentInfo
SetStatus sets the Status field's value.
func (*DeploymentInfo) SetTargetInstances ¶
func (s *DeploymentInfo) SetTargetInstances(v *TargetInstances) *DeploymentInfo
SetTargetInstances sets the TargetInstances field's value.
func (*DeploymentInfo) SetUpdateOutdatedInstancesOnly ¶
func (s *DeploymentInfo) SetUpdateOutdatedInstancesOnly(v bool) *DeploymentInfo
SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value.
func (DeploymentInfo) String ¶
func (s DeploymentInfo) String() string
String returns the string representation
type DeploymentOption ¶
type DeploymentOption string
const ( DeploymentOptionWithTrafficControl DeploymentOption = "WITH_TRAFFIC_CONTROL" DeploymentOptionWithoutTrafficControl DeploymentOption = "WITHOUT_TRAFFIC_CONTROL" )
Enum values for DeploymentOption
type DeploymentOverview ¶
type DeploymentOverview struct { // The number of instances in the deployment in a failed state. Failed *int64 `type:"long"` // The number of instances in which the deployment is in progress. InProgress *int64 `type:"long"` // The number of instances in the deployment in a pending state. Pending *int64 `type:"long"` // The number of instances in a replacement environment ready to receive traffic // in a blue/green deployment. Ready *int64 `type:"long"` // The number of instances in the deployment in a skipped state. Skipped *int64 `type:"long"` // The number of instances in the deployment to which revisions have been successfully // deployed. Succeeded *int64 `type:"long"` // contains filtered or unexported fields }
Information about the deployment status of the instances in the deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentOverview
func (DeploymentOverview) GoString ¶
func (s DeploymentOverview) GoString() string
GoString returns the string representation
func (*DeploymentOverview) SetFailed ¶
func (s *DeploymentOverview) SetFailed(v int64) *DeploymentOverview
SetFailed sets the Failed field's value.
func (*DeploymentOverview) SetInProgress ¶
func (s *DeploymentOverview) SetInProgress(v int64) *DeploymentOverview
SetInProgress sets the InProgress field's value.
func (*DeploymentOverview) SetPending ¶
func (s *DeploymentOverview) SetPending(v int64) *DeploymentOverview
SetPending sets the Pending field's value.
func (*DeploymentOverview) SetReady ¶
func (s *DeploymentOverview) SetReady(v int64) *DeploymentOverview
SetReady sets the Ready field's value.
func (*DeploymentOverview) SetSkipped ¶
func (s *DeploymentOverview) SetSkipped(v int64) *DeploymentOverview
SetSkipped sets the Skipped field's value.
func (*DeploymentOverview) SetSucceeded ¶
func (s *DeploymentOverview) SetSucceeded(v int64) *DeploymentOverview
SetSucceeded sets the Succeeded field's value.
func (DeploymentOverview) String ¶
func (s DeploymentOverview) String() string
String returns the string representation
type DeploymentReadyAction ¶
type DeploymentReadyAction string
const ( DeploymentReadyActionContinueDeployment DeploymentReadyAction = "CONTINUE_DEPLOYMENT" DeploymentReadyActionStopDeployment DeploymentReadyAction = "STOP_DEPLOYMENT" )
Enum values for DeploymentReadyAction
type DeploymentReadyOption ¶
type DeploymentReadyOption struct { // Information about when to reroute traffic from an original environment to // a replacement environment in a blue/green deployment. // // * CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately // after the new application revision is installed on the instances in the // replacement environment. // // * STOP_DEPLOYMENT: Do not register new instances with load balancer unless // traffic is rerouted manually. If traffic is not rerouted manually before // the end of the specified wait period, the deployment status is changed // to Stopped. ActionOnTimeout DeploymentReadyAction `locationName:"actionOnTimeout" type:"string" enum:"true"` // The number of minutes to wait before the status of a blue/green deployment // changed to Stopped if rerouting is not started manually. Applies only to // the STOP_DEPLOYMENT option for actionOnTimeout WaitTimeInMinutes *int64 `locationName:"waitTimeInMinutes" type:"integer"` // contains filtered or unexported fields }
Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentReadyOption
func (DeploymentReadyOption) GoString ¶
func (s DeploymentReadyOption) GoString() string
GoString returns the string representation
func (*DeploymentReadyOption) SetActionOnTimeout ¶
func (s *DeploymentReadyOption) SetActionOnTimeout(v DeploymentReadyAction) *DeploymentReadyOption
SetActionOnTimeout sets the ActionOnTimeout field's value.
func (*DeploymentReadyOption) SetWaitTimeInMinutes ¶
func (s *DeploymentReadyOption) SetWaitTimeInMinutes(v int64) *DeploymentReadyOption
SetWaitTimeInMinutes sets the WaitTimeInMinutes field's value.
func (DeploymentReadyOption) String ¶
func (s DeploymentReadyOption) String() string
String returns the string representation
type DeploymentStatus ¶
type DeploymentStatus string
const ( DeploymentStatusCreated DeploymentStatus = "Created" DeploymentStatusQueued DeploymentStatus = "Queued" DeploymentStatusInProgress DeploymentStatus = "InProgress" DeploymentStatusSucceeded DeploymentStatus = "Succeeded" DeploymentStatusFailed DeploymentStatus = "Failed" DeploymentStatusStopped DeploymentStatus = "Stopped" DeploymentStatusReady DeploymentStatus = "Ready" )
Enum values for DeploymentStatus
type DeploymentStyle ¶
type DeploymentStyle struct { // Indicates whether to route deployment traffic behind a load balancer. DeploymentOption DeploymentOption `locationName:"deploymentOption" type:"string" enum:"true"` // Indicates whether to run an in-place deployment or a blue/green deployment. DeploymentType DeploymentType `locationName:"deploymentType" type:"string" enum:"true"` // contains filtered or unexported fields }
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentStyle
func (DeploymentStyle) GoString ¶
func (s DeploymentStyle) GoString() string
GoString returns the string representation
func (*DeploymentStyle) SetDeploymentOption ¶
func (s *DeploymentStyle) SetDeploymentOption(v DeploymentOption) *DeploymentStyle
SetDeploymentOption sets the DeploymentOption field's value.
func (*DeploymentStyle) SetDeploymentType ¶
func (s *DeploymentStyle) SetDeploymentType(v DeploymentType) *DeploymentStyle
SetDeploymentType sets the DeploymentType field's value.
func (DeploymentStyle) String ¶
func (s DeploymentStyle) String() string
String returns the string representation
type DeploymentType ¶
type DeploymentType string
const ( DeploymentTypeInPlace DeploymentType = "IN_PLACE" DeploymentTypeBlueGreen DeploymentType = "BLUE_GREEN" )
Enum values for DeploymentType
type DeregisterOnPremisesInstanceInput ¶
type DeregisterOnPremisesInstanceInput struct { // The name of the on-premises instance to deregister. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DeregisterOnPremisesInstance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceInput
func (DeregisterOnPremisesInstanceInput) GoString ¶
func (s DeregisterOnPremisesInstanceInput) GoString() string
GoString returns the string representation
func (*DeregisterOnPremisesInstanceInput) SetInstanceName ¶
func (s *DeregisterOnPremisesInstanceInput) SetInstanceName(v string) *DeregisterOnPremisesInstanceInput
SetInstanceName sets the InstanceName field's value.
func (DeregisterOnPremisesInstanceInput) String ¶
func (s DeregisterOnPremisesInstanceInput) String() string
String returns the string representation
func (*DeregisterOnPremisesInstanceInput) Validate ¶
func (s *DeregisterOnPremisesInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeregisterOnPremisesInstanceOutput ¶
type DeregisterOnPremisesInstanceOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceOutput
func (DeregisterOnPremisesInstanceOutput) GoString ¶
func (s DeregisterOnPremisesInstanceOutput) GoString() string
GoString returns the string representation
func (DeregisterOnPremisesInstanceOutput) SDKResponseMetadata ¶
func (s DeregisterOnPremisesInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeregisterOnPremisesInstanceOutput) String ¶
func (s DeregisterOnPremisesInstanceOutput) String() string
String returns the string representation
type DeregisterOnPremisesInstanceRequest ¶
type DeregisterOnPremisesInstanceRequest struct { *aws.Request Input *DeregisterOnPremisesInstanceInput }
DeregisterOnPremisesInstanceRequest is a API request type for the DeregisterOnPremisesInstance API operation.
func (DeregisterOnPremisesInstanceRequest) Send ¶
func (r DeregisterOnPremisesInstanceRequest) Send() (*DeregisterOnPremisesInstanceOutput, error)
Send marshals and sends the DeregisterOnPremisesInstance API request.
type Diagnostics ¶
type Diagnostics struct { // The associated error code: // // * Success: The specified script ran. // // * ScriptMissing: The specified script was not found in the specified location. // // * ScriptNotExecutable: The specified script is not a recognized executable // file type. // // * ScriptTimedOut: The specified script did not finish running in the specified // time period. // // * ScriptFailed: The specified script failed to run as expected. // // * UnknownError: The specified script did not run for an unknown reason. ErrorCode LifecycleErrorCode `locationName:"errorCode" type:"string" enum:"true"` // The last portion of the diagnostic log. // // If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic // log. LogTail *string `locationName:"logTail" type:"string"` // The message associated with the error. Message *string `locationName:"message" type:"string"` // The name of the script. ScriptName *string `locationName:"scriptName" type:"string"` // contains filtered or unexported fields }
Diagnostic information about executable scripts that are part of a deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Diagnostics
func (Diagnostics) GoString ¶
func (s Diagnostics) GoString() string
GoString returns the string representation
func (*Diagnostics) SetErrorCode ¶
func (s *Diagnostics) SetErrorCode(v LifecycleErrorCode) *Diagnostics
SetErrorCode sets the ErrorCode field's value.
func (*Diagnostics) SetLogTail ¶
func (s *Diagnostics) SetLogTail(v string) *Diagnostics
SetLogTail sets the LogTail field's value.
func (*Diagnostics) SetMessage ¶
func (s *Diagnostics) SetMessage(v string) *Diagnostics
SetMessage sets the Message field's value.
func (*Diagnostics) SetScriptName ¶
func (s *Diagnostics) SetScriptName(v string) *Diagnostics
SetScriptName sets the ScriptName field's value.
func (Diagnostics) String ¶
func (s Diagnostics) String() string
String returns the string representation
type EC2TagFilter ¶
type EC2TagFilter struct { // The tag filter key. Key *string `type:"string"` // The tag filter type: // // * KEY_ONLY: Key only. // // * VALUE_ONLY: Value only. // // * KEY_AND_VALUE: Key and value. Type EC2TagFilterType `type:"string" enum:"true"` // The tag filter value. Value *string `type:"string"` // contains filtered or unexported fields }
Information about an EC2 tag filter. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2TagFilter
func (EC2TagFilter) GoString ¶
func (s EC2TagFilter) GoString() string
GoString returns the string representation
func (*EC2TagFilter) SetKey ¶
func (s *EC2TagFilter) SetKey(v string) *EC2TagFilter
SetKey sets the Key field's value.
func (*EC2TagFilter) SetType ¶
func (s *EC2TagFilter) SetType(v EC2TagFilterType) *EC2TagFilter
SetType sets the Type field's value.
func (*EC2TagFilter) SetValue ¶
func (s *EC2TagFilter) SetValue(v string) *EC2TagFilter
SetValue sets the Value field's value.
func (EC2TagFilter) String ¶
func (s EC2TagFilter) String() string
String returns the string representation
type EC2TagFilterType ¶
type EC2TagFilterType string
const ( EC2TagFilterTypeKeyOnly EC2TagFilterType = "KEY_ONLY" EC2TagFilterTypeValueOnly EC2TagFilterType = "VALUE_ONLY" EC2TagFilterTypeKeyAndValue EC2TagFilterType = "KEY_AND_VALUE" )
Enum values for EC2TagFilterType
type EC2TagSet ¶
type EC2TagSet struct { // A list containing other lists of EC2 instance tag groups. In order for an // instance to be included in the deployment group, it must be identified by // all the tag groups in the list. Ec2TagSetList [][]EC2TagFilter `locationName:"ec2TagSetList" type:"list"` // contains filtered or unexported fields }
Information about groups of EC2 instance tags. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2TagSet
func (*EC2TagSet) SetEc2TagSetList ¶
func (s *EC2TagSet) SetEc2TagSetList(v [][]EC2TagFilter) *EC2TagSet
SetEc2TagSetList sets the Ec2TagSetList field's value.
type ELBInfo ¶
type ELBInfo struct { // For blue/green deployments, the name of the load balancer that will be used // to route traffic from original instances to replacement instances in a blue/green // deployment. For in-place deployments, the name of the load balancer that // instances are deregistered from so they are not serving traffic during a // deployment, and then re-registered with after the deployment completes. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Information about a load balancer in Elastic Load Balancing to use in a deployment. Instances are registered directly with a load balancer, and traffic is routed to the load balancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ELBInfo
type ErrorCode ¶
type ErrorCode string
const ( ErrorCodeDeploymentGroupMissing ErrorCode = "DEPLOYMENT_GROUP_MISSING" ErrorCodeApplicationMissing ErrorCode = "APPLICATION_MISSING" ErrorCodeRevisionMissing ErrorCode = "REVISION_MISSING" ErrorCodeIamRoleMissing ErrorCode = "IAM_ROLE_MISSING" ErrorCodeIamRolePermissions ErrorCode = "IAM_ROLE_PERMISSIONS" ErrorCodeNoEc2Subscription ErrorCode = "NO_EC2_SUBSCRIPTION" ErrorCodeOverMaxInstances ErrorCode = "OVER_MAX_INSTANCES" ErrorCodeNoInstances ErrorCode = "NO_INSTANCES" ErrorCodeTimeout ErrorCode = "TIMEOUT" ErrorCodeHealthConstraintsInvalid ErrorCode = "HEALTH_CONSTRAINTS_INVALID" ErrorCodeHealthConstraints ErrorCode = "HEALTH_CONSTRAINTS" ErrorCodeInternalError ErrorCode = "INTERNAL_ERROR" ErrorCodeThrottled ErrorCode = "THROTTLED" ErrorCodeAlarmActive ErrorCode = "ALARM_ACTIVE" ErrorCodeAgentIssue ErrorCode = "AGENT_ISSUE" ErrorCodeAutoScalingIamRolePermissions ErrorCode = "AUTO_SCALING_IAM_ROLE_PERMISSIONS" ErrorCodeAutoScalingConfiguration ErrorCode = "AUTO_SCALING_CONFIGURATION" ErrorCodeManualStop ErrorCode = "MANUAL_STOP" ErrorCodeMissingBlueGreenDeploymentConfiguration ErrorCode = "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION" ErrorCodeMissingElbInformation ErrorCode = "MISSING_ELB_INFORMATION" ErrorCodeMissingGithubToken ErrorCode = "MISSING_GITHUB_TOKEN" ErrorCodeElasticLoadBalancingInvalid ErrorCode = "ELASTIC_LOAD_BALANCING_INVALID" ErrorCodeElbInvalidInstance ErrorCode = "ELB_INVALID_INSTANCE" ErrorCodeInvalidLambdaConfiguration ErrorCode = "INVALID_LAMBDA_CONFIGURATION" ErrorCodeInvalidLambdaFunction ErrorCode = "INVALID_LAMBDA_FUNCTION" ErrorCodeHookExecutionFailure ErrorCode = "HOOK_EXECUTION_FAILURE" )
Enum values for ErrorCode
type ErrorInformation ¶
type ErrorInformation struct { // For information about additional error codes, see Error Codes for AWS CodeDeploy // (http://docs.aws.amazon.com/codedeploy/latest/userguide/error-codes.html) // in the AWS CodeDeploy User Guide (http://docs.aws.amazon.com/codedeploy/latest/userguide). // // The error code: // // * APPLICATION_MISSING: The application was missing. This error code will // most likely be raised if the application is deleted after the deployment // is created but before it is started. // // * DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error // code will most likely be raised if the deployment group is deleted after // the deployment is created but before it is started. // // * HEALTH_CONSTRAINTS: The deployment failed on too many instances to be // successfully deployed within the instance health constraints specified. // // * HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed // within the instance health constraints specified. // // * IAM_ROLE_MISSING: The service role cannot be accessed. // // * IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions. // // * INTERNAL_ERROR: There was an internal error. // // * NO_EC2_SUBSCRIPTION: The calling account is not subscribed to the Amazon // EC2 service. // // * NO_INSTANCES: No instance were specified, or no instance can be found. // // * OVER_MAX_INSTANCES: The maximum number of instance was exceeded. // // * THROTTLED: The operation was throttled because the calling account exceeded // the throttling limits of one or more AWS services. // // * TIMEOUT: The deployment has timed out. // // * REVISION_MISSING: The revision ID was missing. This error code will // most likely be raised if the revision is deleted after the deployment // is created but before it is started. Code ErrorCode `locationName:"code" type:"string" enum:"true"` // An accompanying error message. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Information about a deployment error. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ErrorInformation
func (ErrorInformation) GoString ¶
func (s ErrorInformation) GoString() string
GoString returns the string representation
func (*ErrorInformation) SetCode ¶
func (s *ErrorInformation) SetCode(v ErrorCode) *ErrorInformation
SetCode sets the Code field's value.
func (*ErrorInformation) SetMessage ¶
func (s *ErrorInformation) SetMessage(v string) *ErrorInformation
SetMessage sets the Message field's value.
func (ErrorInformation) String ¶
func (s ErrorInformation) String() string
String returns the string representation
type FileExistsBehavior ¶
type FileExistsBehavior string
const ( FileExistsBehaviorDisallow FileExistsBehavior = "DISALLOW" FileExistsBehaviorOverwrite FileExistsBehavior = "OVERWRITE" FileExistsBehaviorRetain FileExistsBehavior = "RETAIN" )
Enum values for FileExistsBehavior
type GenericRevisionInfo ¶
type GenericRevisionInfo struct { // The deployment groups for which this is the current target revision. DeploymentGroups []string `locationName:"deploymentGroups" type:"list"` // A comment about the revision. Description *string `locationName:"description" type:"string"` // When the revision was first used by AWS CodeDeploy. FirstUsedTime *time.Time `locationName:"firstUsedTime" type:"timestamp" timestampFormat:"unix"` // When the revision was last used by AWS CodeDeploy. LastUsedTime *time.Time `locationName:"lastUsedTime" type:"timestamp" timestampFormat:"unix"` // When the revision was registered with AWS CodeDeploy. RegisterTime *time.Time `locationName:"registerTime" type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Information about an application revision. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GenericRevisionInfo
func (GenericRevisionInfo) GoString ¶
func (s GenericRevisionInfo) GoString() string
GoString returns the string representation
func (*GenericRevisionInfo) SetDeploymentGroups ¶
func (s *GenericRevisionInfo) SetDeploymentGroups(v []string) *GenericRevisionInfo
SetDeploymentGroups sets the DeploymentGroups field's value.
func (*GenericRevisionInfo) SetDescription ¶
func (s *GenericRevisionInfo) SetDescription(v string) *GenericRevisionInfo
SetDescription sets the Description field's value.
func (*GenericRevisionInfo) SetFirstUsedTime ¶
func (s *GenericRevisionInfo) SetFirstUsedTime(v time.Time) *GenericRevisionInfo
SetFirstUsedTime sets the FirstUsedTime field's value.
func (*GenericRevisionInfo) SetLastUsedTime ¶
func (s *GenericRevisionInfo) SetLastUsedTime(v time.Time) *GenericRevisionInfo
SetLastUsedTime sets the LastUsedTime field's value.
func (*GenericRevisionInfo) SetRegisterTime ¶
func (s *GenericRevisionInfo) SetRegisterTime(v time.Time) *GenericRevisionInfo
SetRegisterTime sets the RegisterTime field's value.
func (GenericRevisionInfo) String ¶
func (s GenericRevisionInfo) String() string
String returns the string representation
type GetApplicationInput ¶
type GetApplicationInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a GetApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationInput
func (GetApplicationInput) GoString ¶
func (s GetApplicationInput) GoString() string
GoString returns the string representation
func (*GetApplicationInput) SetApplicationName ¶
func (s *GetApplicationInput) SetApplicationName(v string) *GetApplicationInput
SetApplicationName sets the ApplicationName field's value.
func (GetApplicationInput) String ¶
func (s GetApplicationInput) String() string
String returns the string representation
func (*GetApplicationInput) Validate ¶
func (s *GetApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetApplicationOutput ¶
type GetApplicationOutput struct { // Information about the application. Application *ApplicationInfo `locationName:"application" type:"structure"` // contains filtered or unexported fields }
Represents the output of a GetApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationOutput
func (GetApplicationOutput) GoString ¶
func (s GetApplicationOutput) GoString() string
GoString returns the string representation
func (GetApplicationOutput) SDKResponseMetadata ¶
func (s GetApplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetApplicationOutput) SetApplication ¶
func (s *GetApplicationOutput) SetApplication(v *ApplicationInfo) *GetApplicationOutput
SetApplication sets the Application field's value.
func (GetApplicationOutput) String ¶
func (s GetApplicationOutput) String() string
String returns the string representation
type GetApplicationRequest ¶
type GetApplicationRequest struct { *aws.Request Input *GetApplicationInput }
GetApplicationRequest is a API request type for the GetApplication API operation.
func (GetApplicationRequest) Send ¶
func (r GetApplicationRequest) Send() (*GetApplicationOutput, error)
Send marshals and sends the GetApplication API request.
type GetApplicationRevisionInput ¶
type GetApplicationRevisionInput struct { // The name of the application that corresponds to the revision. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Information about the application revision to get, including type and location. // // Revision is a required field Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the input of a GetApplicationRevision operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionInput
func (GetApplicationRevisionInput) GoString ¶
func (s GetApplicationRevisionInput) GoString() string
GoString returns the string representation
func (*GetApplicationRevisionInput) SetApplicationName ¶
func (s *GetApplicationRevisionInput) SetApplicationName(v string) *GetApplicationRevisionInput
SetApplicationName sets the ApplicationName field's value.
func (*GetApplicationRevisionInput) SetRevision ¶
func (s *GetApplicationRevisionInput) SetRevision(v *RevisionLocation) *GetApplicationRevisionInput
SetRevision sets the Revision field's value.
func (GetApplicationRevisionInput) String ¶
func (s GetApplicationRevisionInput) String() string
String returns the string representation
func (*GetApplicationRevisionInput) Validate ¶
func (s *GetApplicationRevisionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetApplicationRevisionOutput ¶
type GetApplicationRevisionOutput struct { // The name of the application that corresponds to the revision. ApplicationName *string `locationName:"applicationName" min:"1" type:"string"` // Additional information about the revision, including type and location. Revision *RevisionLocation `locationName:"revision" type:"structure"` // General information about the revision. RevisionInfo *GenericRevisionInfo `locationName:"revisionInfo" type:"structure"` // contains filtered or unexported fields }
Represents the output of a GetApplicationRevision operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionOutput
func (GetApplicationRevisionOutput) GoString ¶
func (s GetApplicationRevisionOutput) GoString() string
GoString returns the string representation
func (GetApplicationRevisionOutput) SDKResponseMetadata ¶
func (s GetApplicationRevisionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetApplicationRevisionOutput) SetApplicationName ¶
func (s *GetApplicationRevisionOutput) SetApplicationName(v string) *GetApplicationRevisionOutput
SetApplicationName sets the ApplicationName field's value.
func (*GetApplicationRevisionOutput) SetRevision ¶
func (s *GetApplicationRevisionOutput) SetRevision(v *RevisionLocation) *GetApplicationRevisionOutput
SetRevision sets the Revision field's value.
func (*GetApplicationRevisionOutput) SetRevisionInfo ¶
func (s *GetApplicationRevisionOutput) SetRevisionInfo(v *GenericRevisionInfo) *GetApplicationRevisionOutput
SetRevisionInfo sets the RevisionInfo field's value.
func (GetApplicationRevisionOutput) String ¶
func (s GetApplicationRevisionOutput) String() string
String returns the string representation
type GetApplicationRevisionRequest ¶
type GetApplicationRevisionRequest struct { *aws.Request Input *GetApplicationRevisionInput }
GetApplicationRevisionRequest is a API request type for the GetApplicationRevision API operation.
func (GetApplicationRevisionRequest) Send ¶
func (r GetApplicationRevisionRequest) Send() (*GetApplicationRevisionOutput, error)
Send marshals and sends the GetApplicationRevision API request.
type GetDeploymentConfigInput ¶
type GetDeploymentConfigInput struct { // The name of a deployment configuration associated with the applicable IAM // user or AWS account. // // DeploymentConfigName is a required field DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a GetDeploymentConfig operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigInput
func (GetDeploymentConfigInput) GoString ¶
func (s GetDeploymentConfigInput) GoString() string
GoString returns the string representation
func (*GetDeploymentConfigInput) SetDeploymentConfigName ¶
func (s *GetDeploymentConfigInput) SetDeploymentConfigName(v string) *GetDeploymentConfigInput
SetDeploymentConfigName sets the DeploymentConfigName field's value.
func (GetDeploymentConfigInput) String ¶
func (s GetDeploymentConfigInput) String() string
String returns the string representation
func (*GetDeploymentConfigInput) Validate ¶
func (s *GetDeploymentConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDeploymentConfigOutput ¶
type GetDeploymentConfigOutput struct { // Information about the deployment configuration. DeploymentConfigInfo *DeploymentConfigInfo `locationName:"deploymentConfigInfo" type:"structure"` // contains filtered or unexported fields }
Represents the output of a GetDeploymentConfig operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigOutput
func (GetDeploymentConfigOutput) GoString ¶
func (s GetDeploymentConfigOutput) GoString() string
GoString returns the string representation
func (GetDeploymentConfigOutput) SDKResponseMetadata ¶
func (s GetDeploymentConfigOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDeploymentConfigOutput) SetDeploymentConfigInfo ¶
func (s *GetDeploymentConfigOutput) SetDeploymentConfigInfo(v *DeploymentConfigInfo) *GetDeploymentConfigOutput
SetDeploymentConfigInfo sets the DeploymentConfigInfo field's value.
func (GetDeploymentConfigOutput) String ¶
func (s GetDeploymentConfigOutput) String() string
String returns the string representation
type GetDeploymentConfigRequest ¶
type GetDeploymentConfigRequest struct { *aws.Request Input *GetDeploymentConfigInput }
GetDeploymentConfigRequest is a API request type for the GetDeploymentConfig API operation.
func (GetDeploymentConfigRequest) Send ¶
func (r GetDeploymentConfigRequest) Send() (*GetDeploymentConfigOutput, error)
Send marshals and sends the GetDeploymentConfig API request.
type GetDeploymentGroupInput ¶
type GetDeploymentGroupInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // The name of an existing deployment group for the specified application. // // DeploymentGroupName is a required field DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a GetDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupInput
func (GetDeploymentGroupInput) GoString ¶
func (s GetDeploymentGroupInput) GoString() string
GoString returns the string representation
func (*GetDeploymentGroupInput) SetApplicationName ¶
func (s *GetDeploymentGroupInput) SetApplicationName(v string) *GetDeploymentGroupInput
SetApplicationName sets the ApplicationName field's value.
func (*GetDeploymentGroupInput) SetDeploymentGroupName ¶
func (s *GetDeploymentGroupInput) SetDeploymentGroupName(v string) *GetDeploymentGroupInput
SetDeploymentGroupName sets the DeploymentGroupName field's value.
func (GetDeploymentGroupInput) String ¶
func (s GetDeploymentGroupInput) String() string
String returns the string representation
func (*GetDeploymentGroupInput) Validate ¶
func (s *GetDeploymentGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDeploymentGroupOutput ¶
type GetDeploymentGroupOutput struct { // Information about the deployment group. DeploymentGroupInfo *DeploymentGroupInfo `locationName:"deploymentGroupInfo" type:"structure"` // contains filtered or unexported fields }
Represents the output of a GetDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupOutput
func (GetDeploymentGroupOutput) GoString ¶
func (s GetDeploymentGroupOutput) GoString() string
GoString returns the string representation
func (GetDeploymentGroupOutput) SDKResponseMetadata ¶
func (s GetDeploymentGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDeploymentGroupOutput) SetDeploymentGroupInfo ¶
func (s *GetDeploymentGroupOutput) SetDeploymentGroupInfo(v *DeploymentGroupInfo) *GetDeploymentGroupOutput
SetDeploymentGroupInfo sets the DeploymentGroupInfo field's value.
func (GetDeploymentGroupOutput) String ¶
func (s GetDeploymentGroupOutput) String() string
String returns the string representation
type GetDeploymentGroupRequest ¶
type GetDeploymentGroupRequest struct { *aws.Request Input *GetDeploymentGroupInput }
GetDeploymentGroupRequest is a API request type for the GetDeploymentGroup API operation.
func (GetDeploymentGroupRequest) Send ¶
func (r GetDeploymentGroupRequest) Send() (*GetDeploymentGroupOutput, error)
Send marshals and sends the GetDeploymentGroup API request.
type GetDeploymentInput ¶
type GetDeploymentInput struct { // A deployment ID associated with the applicable IAM user or AWS account. // // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a GetDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInput
func (GetDeploymentInput) GoString ¶
func (s GetDeploymentInput) GoString() string
GoString returns the string representation
func (*GetDeploymentInput) SetDeploymentId ¶
func (s *GetDeploymentInput) SetDeploymentId(v string) *GetDeploymentInput
SetDeploymentId sets the DeploymentId field's value.
func (GetDeploymentInput) String ¶
func (s GetDeploymentInput) String() string
String returns the string representation
func (*GetDeploymentInput) Validate ¶
func (s *GetDeploymentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDeploymentInstanceInput ¶
type GetDeploymentInstanceInput struct { // The unique ID of a deployment. // // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // The unique ID of an instance in the deployment group. // // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a GetDeploymentInstance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceInput
func (GetDeploymentInstanceInput) GoString ¶
func (s GetDeploymentInstanceInput) GoString() string
GoString returns the string representation
func (*GetDeploymentInstanceInput) SetDeploymentId ¶
func (s *GetDeploymentInstanceInput) SetDeploymentId(v string) *GetDeploymentInstanceInput
SetDeploymentId sets the DeploymentId field's value.
func (*GetDeploymentInstanceInput) SetInstanceId ¶
func (s *GetDeploymentInstanceInput) SetInstanceId(v string) *GetDeploymentInstanceInput
SetInstanceId sets the InstanceId field's value.
func (GetDeploymentInstanceInput) String ¶
func (s GetDeploymentInstanceInput) String() string
String returns the string representation
func (*GetDeploymentInstanceInput) Validate ¶
func (s *GetDeploymentInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDeploymentInstanceOutput ¶
type GetDeploymentInstanceOutput struct { // Information about the instance. InstanceSummary *InstanceSummary `locationName:"instanceSummary" type:"structure"` // contains filtered or unexported fields }
Represents the output of a GetDeploymentInstance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceOutput
func (GetDeploymentInstanceOutput) GoString ¶
func (s GetDeploymentInstanceOutput) GoString() string
GoString returns the string representation
func (GetDeploymentInstanceOutput) SDKResponseMetadata ¶
func (s GetDeploymentInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDeploymentInstanceOutput) SetInstanceSummary ¶
func (s *GetDeploymentInstanceOutput) SetInstanceSummary(v *InstanceSummary) *GetDeploymentInstanceOutput
SetInstanceSummary sets the InstanceSummary field's value.
func (GetDeploymentInstanceOutput) String ¶
func (s GetDeploymentInstanceOutput) String() string
String returns the string representation
type GetDeploymentInstanceRequest ¶
type GetDeploymentInstanceRequest struct { *aws.Request Input *GetDeploymentInstanceInput }
GetDeploymentInstanceRequest is a API request type for the GetDeploymentInstance API operation.
func (GetDeploymentInstanceRequest) Send ¶
func (r GetDeploymentInstanceRequest) Send() (*GetDeploymentInstanceOutput, error)
Send marshals and sends the GetDeploymentInstance API request.
type GetDeploymentOutput ¶
type GetDeploymentOutput struct { // Information about the deployment. DeploymentInfo *DeploymentInfo `locationName:"deploymentInfo" type:"structure"` // contains filtered or unexported fields }
Represents the output of a GetDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentOutput
func (GetDeploymentOutput) GoString ¶
func (s GetDeploymentOutput) GoString() string
GoString returns the string representation
func (GetDeploymentOutput) SDKResponseMetadata ¶
func (s GetDeploymentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDeploymentOutput) SetDeploymentInfo ¶
func (s *GetDeploymentOutput) SetDeploymentInfo(v *DeploymentInfo) *GetDeploymentOutput
SetDeploymentInfo sets the DeploymentInfo field's value.
func (GetDeploymentOutput) String ¶
func (s GetDeploymentOutput) String() string
String returns the string representation
type GetDeploymentRequest ¶
type GetDeploymentRequest struct { *aws.Request Input *GetDeploymentInput }
GetDeploymentRequest is a API request type for the GetDeployment API operation.
func (GetDeploymentRequest) Send ¶
func (r GetDeploymentRequest) Send() (*GetDeploymentOutput, error)
Send marshals and sends the GetDeployment API request.
type GetOnPremisesInstanceInput ¶
type GetOnPremisesInstanceInput struct { // The name of the on-premises instance about which to get information. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a GetOnPremisesInstance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceInput
func (GetOnPremisesInstanceInput) GoString ¶
func (s GetOnPremisesInstanceInput) GoString() string
GoString returns the string representation
func (*GetOnPremisesInstanceInput) SetInstanceName ¶
func (s *GetOnPremisesInstanceInput) SetInstanceName(v string) *GetOnPremisesInstanceInput
SetInstanceName sets the InstanceName field's value.
func (GetOnPremisesInstanceInput) String ¶
func (s GetOnPremisesInstanceInput) String() string
String returns the string representation
func (*GetOnPremisesInstanceInput) Validate ¶
func (s *GetOnPremisesInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetOnPremisesInstanceOutput ¶
type GetOnPremisesInstanceOutput struct { // Information about the on-premises instance. InstanceInfo *InstanceInfo `locationName:"instanceInfo" type:"structure"` // contains filtered or unexported fields }
Represents the output of a GetOnPremisesInstance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceOutput
func (GetOnPremisesInstanceOutput) GoString ¶
func (s GetOnPremisesInstanceOutput) GoString() string
GoString returns the string representation
func (GetOnPremisesInstanceOutput) SDKResponseMetadata ¶
func (s GetOnPremisesInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetOnPremisesInstanceOutput) SetInstanceInfo ¶
func (s *GetOnPremisesInstanceOutput) SetInstanceInfo(v *InstanceInfo) *GetOnPremisesInstanceOutput
SetInstanceInfo sets the InstanceInfo field's value.
func (GetOnPremisesInstanceOutput) String ¶
func (s GetOnPremisesInstanceOutput) String() string
String returns the string representation
type GetOnPremisesInstanceRequest ¶
type GetOnPremisesInstanceRequest struct { *aws.Request Input *GetOnPremisesInstanceInput }
GetOnPremisesInstanceRequest is a API request type for the GetOnPremisesInstance API operation.
func (GetOnPremisesInstanceRequest) Send ¶
func (r GetOnPremisesInstanceRequest) Send() (*GetOnPremisesInstanceOutput, error)
Send marshals and sends the GetOnPremisesInstance API request.
type GitHubLocation ¶
type GitHubLocation struct { // The SHA1 commit ID of the GitHub commit that represents the bundled artifacts // for the application revision. CommitId *string `locationName:"commitId" type:"string"` // The GitHub account and repository pair that stores a reference to the commit // that represents the bundled artifacts for the application revision. // // Specified as account/repository. Repository *string `locationName:"repository" type:"string"` // contains filtered or unexported fields }
Information about the location of application artifacts stored in GitHub. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GitHubLocation
func (GitHubLocation) GoString ¶
func (s GitHubLocation) GoString() string
GoString returns the string representation
func (*GitHubLocation) SetCommitId ¶
func (s *GitHubLocation) SetCommitId(v string) *GitHubLocation
SetCommitId sets the CommitId field's value.
func (*GitHubLocation) SetRepository ¶
func (s *GitHubLocation) SetRepository(v string) *GitHubLocation
SetRepository sets the Repository field's value.
func (GitHubLocation) String ¶
func (s GitHubLocation) String() string
String returns the string representation
type GreenFleetProvisioningAction ¶
type GreenFleetProvisioningAction string
const ( GreenFleetProvisioningActionDiscoverExisting GreenFleetProvisioningAction = "DISCOVER_EXISTING" GreenFleetProvisioningActionCopyAutoScalingGroup GreenFleetProvisioningAction = "COPY_AUTO_SCALING_GROUP" )
Enum values for GreenFleetProvisioningAction
type GreenFleetProvisioningOption ¶
type GreenFleetProvisioningOption struct { // The method used to add instances to a replacement environment. // // * DISCOVER_EXISTING: Use instances that already exist or will be created // manually. // // * COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling // group to define and create instances in a new Auto Scaling group. Action GreenFleetProvisioningAction `locationName:"action" type:"string" enum:"true"` // contains filtered or unexported fields }
Information about the instances that belong to the replacement environment in a blue/green deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GreenFleetProvisioningOption
func (GreenFleetProvisioningOption) GoString ¶
func (s GreenFleetProvisioningOption) GoString() string
GoString returns the string representation
func (*GreenFleetProvisioningOption) SetAction ¶
func (s *GreenFleetProvisioningOption) SetAction(v GreenFleetProvisioningAction) *GreenFleetProvisioningOption
SetAction sets the Action field's value.
func (GreenFleetProvisioningOption) String ¶
func (s GreenFleetProvisioningOption) String() string
String returns the string representation
type InstanceAction ¶
type InstanceAction string
const ( InstanceActionTerminate InstanceAction = "TERMINATE" InstanceActionKeepAlive InstanceAction = "KEEP_ALIVE" )
Enum values for InstanceAction
type InstanceInfo ¶
type InstanceInfo struct { // If the on-premises instance was deregistered, the time at which the on-premises // instance was deregistered. DeregisterTime *time.Time `locationName:"deregisterTime" type:"timestamp" timestampFormat:"unix"` // The ARN of the IAM session associated with the on-premises instance. IamSessionArn *string `locationName:"iamSessionArn" type:"string"` // The IAM user ARN associated with the on-premises instance. IamUserArn *string `locationName:"iamUserArn" type:"string"` // The ARN of the on-premises instance. InstanceArn *string `locationName:"instanceArn" type:"string"` // The name of the on-premises instance. InstanceName *string `locationName:"instanceName" type:"string"` // The time at which the on-premises instance was registered. RegisterTime *time.Time `locationName:"registerTime" type:"timestamp" timestampFormat:"unix"` // The tags currently associated with the on-premises instance. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
Information about an on-premises instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceInfo
func (InstanceInfo) GoString ¶
func (s InstanceInfo) GoString() string
GoString returns the string representation
func (*InstanceInfo) SetDeregisterTime ¶
func (s *InstanceInfo) SetDeregisterTime(v time.Time) *InstanceInfo
SetDeregisterTime sets the DeregisterTime field's value.
func (*InstanceInfo) SetIamSessionArn ¶
func (s *InstanceInfo) SetIamSessionArn(v string) *InstanceInfo
SetIamSessionArn sets the IamSessionArn field's value.
func (*InstanceInfo) SetIamUserArn ¶
func (s *InstanceInfo) SetIamUserArn(v string) *InstanceInfo
SetIamUserArn sets the IamUserArn field's value.
func (*InstanceInfo) SetInstanceArn ¶
func (s *InstanceInfo) SetInstanceArn(v string) *InstanceInfo
SetInstanceArn sets the InstanceArn field's value.
func (*InstanceInfo) SetInstanceName ¶
func (s *InstanceInfo) SetInstanceName(v string) *InstanceInfo
SetInstanceName sets the InstanceName field's value.
func (*InstanceInfo) SetRegisterTime ¶
func (s *InstanceInfo) SetRegisterTime(v time.Time) *InstanceInfo
SetRegisterTime sets the RegisterTime field's value.
func (*InstanceInfo) SetTags ¶
func (s *InstanceInfo) SetTags(v []Tag) *InstanceInfo
SetTags sets the Tags field's value.
func (InstanceInfo) String ¶
func (s InstanceInfo) String() string
String returns the string representation
type InstanceStatus ¶
type InstanceStatus string
const ( InstanceStatusPending InstanceStatus = "Pending" InstanceStatusInProgress InstanceStatus = "InProgress" InstanceStatusSucceeded InstanceStatus = "Succeeded" InstanceStatusFailed InstanceStatus = "Failed" InstanceStatusSkipped InstanceStatus = "Skipped" InstanceStatusUnknown InstanceStatus = "Unknown" InstanceStatusReady InstanceStatus = "Ready" )
Enum values for InstanceStatus
type InstanceSummary ¶
type InstanceSummary struct { // The deployment ID. DeploymentId *string `locationName:"deploymentId" type:"string"` // The instance ID. InstanceId *string `locationName:"instanceId" type:"string"` // Information about which environment an instance belongs to in a blue/green // deployment. // // * BLUE: The instance is part of the original environment. // // * GREEN: The instance is part of the replacement environment. InstanceType InstanceType `locationName:"instanceType" type:"string" enum:"true"` // A timestamp indicating when the instance information was last updated. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"` // A list of lifecycle events for this instance. LifecycleEvents []LifecycleEvent `locationName:"lifecycleEvents" type:"list"` // The deployment status for this instance: // // * Pending: The deployment is pending for this instance. // // * In Progress: The deployment is in progress for this instance. // // * Succeeded: The deployment has succeeded for this instance. // // * Failed: The deployment has failed for this instance. // // * Skipped: The deployment has been skipped for this instance. // // * Unknown: The deployment status is unknown for this instance. Status InstanceStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Information about an instance in a deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceSummary
func (InstanceSummary) GoString ¶
func (s InstanceSummary) GoString() string
GoString returns the string representation
func (*InstanceSummary) SetDeploymentId ¶
func (s *InstanceSummary) SetDeploymentId(v string) *InstanceSummary
SetDeploymentId sets the DeploymentId field's value.
func (*InstanceSummary) SetInstanceId ¶
func (s *InstanceSummary) SetInstanceId(v string) *InstanceSummary
SetInstanceId sets the InstanceId field's value.
func (*InstanceSummary) SetInstanceType ¶
func (s *InstanceSummary) SetInstanceType(v InstanceType) *InstanceSummary
SetInstanceType sets the InstanceType field's value.
func (*InstanceSummary) SetLastUpdatedAt ¶
func (s *InstanceSummary) SetLastUpdatedAt(v time.Time) *InstanceSummary
SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (*InstanceSummary) SetLifecycleEvents ¶
func (s *InstanceSummary) SetLifecycleEvents(v []LifecycleEvent) *InstanceSummary
SetLifecycleEvents sets the LifecycleEvents field's value.
func (*InstanceSummary) SetStatus ¶
func (s *InstanceSummary) SetStatus(v InstanceStatus) *InstanceSummary
SetStatus sets the Status field's value.
func (InstanceSummary) String ¶
func (s InstanceSummary) String() string
String returns the string representation
type InstanceType ¶
type InstanceType string
const ( InstanceTypeBlue InstanceType = "Blue" InstanceTypeGreen InstanceType = "Green" )
Enum values for InstanceType
type LastDeploymentInfo ¶
type LastDeploymentInfo struct { // A timestamp indicating when the most recent deployment to the deployment // group started. CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"` // The deployment ID. DeploymentId *string `locationName:"deploymentId" type:"string"` // A timestamp indicating when the most recent deployment to the deployment // group completed. EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix"` // The status of the most recent deployment. Status DeploymentStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Information about the most recent attempted or successful deployment to a deployment group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LastDeploymentInfo
func (LastDeploymentInfo) GoString ¶
func (s LastDeploymentInfo) GoString() string
GoString returns the string representation
func (*LastDeploymentInfo) SetCreateTime ¶
func (s *LastDeploymentInfo) SetCreateTime(v time.Time) *LastDeploymentInfo
SetCreateTime sets the CreateTime field's value.
func (*LastDeploymentInfo) SetDeploymentId ¶
func (s *LastDeploymentInfo) SetDeploymentId(v string) *LastDeploymentInfo
SetDeploymentId sets the DeploymentId field's value.
func (*LastDeploymentInfo) SetEndTime ¶
func (s *LastDeploymentInfo) SetEndTime(v time.Time) *LastDeploymentInfo
SetEndTime sets the EndTime field's value.
func (*LastDeploymentInfo) SetStatus ¶
func (s *LastDeploymentInfo) SetStatus(v DeploymentStatus) *LastDeploymentInfo
SetStatus sets the Status field's value.
func (LastDeploymentInfo) String ¶
func (s LastDeploymentInfo) String() string
String returns the string representation
type LifecycleErrorCode ¶
type LifecycleErrorCode string
const ( LifecycleErrorCodeSuccess LifecycleErrorCode = "Success" LifecycleErrorCodeScriptMissing LifecycleErrorCode = "ScriptMissing" LifecycleErrorCodeScriptNotExecutable LifecycleErrorCode = "ScriptNotExecutable" LifecycleErrorCodeScriptTimedOut LifecycleErrorCode = "ScriptTimedOut" LifecycleErrorCodeScriptFailed LifecycleErrorCode = "ScriptFailed" LifecycleErrorCodeUnknownError LifecycleErrorCode = "UnknownError" )
Enum values for LifecycleErrorCode
type LifecycleEvent ¶
type LifecycleEvent struct { // Diagnostic information about the deployment lifecycle event. Diagnostics *Diagnostics `locationName:"diagnostics" type:"structure"` // A timestamp indicating when the deployment lifecycle event ended. EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix"` // The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, // AfterInstall, ApplicationStart, or ValidateService. LifecycleEventName *string `locationName:"lifecycleEventName" type:"string"` // A timestamp indicating when the deployment lifecycle event started. StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"` // The deployment lifecycle event status: // // * Pending: The deployment lifecycle event is pending. // // * InProgress: The deployment lifecycle event is in progress. // // * Succeeded: The deployment lifecycle event ran successfully. // // * Failed: The deployment lifecycle event has failed. // // * Skipped: The deployment lifecycle event has been skipped. // // * Unknown: The deployment lifecycle event is unknown. Status LifecycleEventStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Information about a deployment lifecycle event. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LifecycleEvent
func (LifecycleEvent) GoString ¶
func (s LifecycleEvent) GoString() string
GoString returns the string representation
func (*LifecycleEvent) SetDiagnostics ¶
func (s *LifecycleEvent) SetDiagnostics(v *Diagnostics) *LifecycleEvent
SetDiagnostics sets the Diagnostics field's value.
func (*LifecycleEvent) SetEndTime ¶
func (s *LifecycleEvent) SetEndTime(v time.Time) *LifecycleEvent
SetEndTime sets the EndTime field's value.
func (*LifecycleEvent) SetLifecycleEventName ¶
func (s *LifecycleEvent) SetLifecycleEventName(v string) *LifecycleEvent
SetLifecycleEventName sets the LifecycleEventName field's value.
func (*LifecycleEvent) SetStartTime ¶
func (s *LifecycleEvent) SetStartTime(v time.Time) *LifecycleEvent
SetStartTime sets the StartTime field's value.
func (*LifecycleEvent) SetStatus ¶
func (s *LifecycleEvent) SetStatus(v LifecycleEventStatus) *LifecycleEvent
SetStatus sets the Status field's value.
func (LifecycleEvent) String ¶
func (s LifecycleEvent) String() string
String returns the string representation
type LifecycleEventStatus ¶
type LifecycleEventStatus string
const ( LifecycleEventStatusPending LifecycleEventStatus = "Pending" LifecycleEventStatusInProgress LifecycleEventStatus = "InProgress" LifecycleEventStatusSucceeded LifecycleEventStatus = "Succeeded" LifecycleEventStatusFailed LifecycleEventStatus = "Failed" LifecycleEventStatusSkipped LifecycleEventStatus = "Skipped" LifecycleEventStatusUnknown LifecycleEventStatus = "Unknown" )
Enum values for LifecycleEventStatus
type ListApplicationRevisionsInput ¶
type ListApplicationRevisionsInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Whether to list revisions based on whether the revision is the target revision // of an 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 ListStateFilterAction `locationName:"deployed" type:"string" enum:"true"` // An identifier returned from the previous list application revisions call. // It can be used to return the next set of applications in the list. NextToken *string `locationName:"nextToken" type:"string"` // An Amazon S3 bucket name to limit the search for revisions. // // If set to null, all of the user's buckets will be searched. S3Bucket *string `locationName:"s3Bucket" type:"string"` // A key prefix for the set of Amazon S3 objects to limit the search for revisions. S3KeyPrefix *string `locationName:"s3KeyPrefix" type:"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 will be returned in an arbitrary // order. SortBy ApplicationRevisionSortBy `locationName:"sortBy" type:"string" enum:"true"` // The order in which to sort the list results: // // * ascending: ascending order. // // * descending: descending order. // // If not specified, the results will be sorted in ascending order. // // If set to null, the results will be sorted in an arbitrary order. SortOrder SortOrder `locationName:"sortOrder" type:"string" enum:"true"` // contains filtered or unexported fields }
Represents the input of a ListApplicationRevisions operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsInput
func (ListApplicationRevisionsInput) GoString ¶
func (s ListApplicationRevisionsInput) GoString() string
GoString returns the string representation
func (*ListApplicationRevisionsInput) SetApplicationName ¶
func (s *ListApplicationRevisionsInput) SetApplicationName(v string) *ListApplicationRevisionsInput
SetApplicationName sets the ApplicationName field's value.
func (*ListApplicationRevisionsInput) SetDeployed ¶
func (s *ListApplicationRevisionsInput) SetDeployed(v ListStateFilterAction) *ListApplicationRevisionsInput
SetDeployed sets the Deployed field's value.
func (*ListApplicationRevisionsInput) SetNextToken ¶
func (s *ListApplicationRevisionsInput) SetNextToken(v string) *ListApplicationRevisionsInput
SetNextToken sets the NextToken field's value.
func (*ListApplicationRevisionsInput) SetS3Bucket ¶
func (s *ListApplicationRevisionsInput) SetS3Bucket(v string) *ListApplicationRevisionsInput
SetS3Bucket sets the S3Bucket field's value.
func (*ListApplicationRevisionsInput) SetS3KeyPrefix ¶
func (s *ListApplicationRevisionsInput) SetS3KeyPrefix(v string) *ListApplicationRevisionsInput
SetS3KeyPrefix sets the S3KeyPrefix field's value.
func (*ListApplicationRevisionsInput) SetSortBy ¶
func (s *ListApplicationRevisionsInput) SetSortBy(v ApplicationRevisionSortBy) *ListApplicationRevisionsInput
SetSortBy sets the SortBy field's value.
func (*ListApplicationRevisionsInput) SetSortOrder ¶
func (s *ListApplicationRevisionsInput) SetSortOrder(v SortOrder) *ListApplicationRevisionsInput
SetSortOrder sets the SortOrder field's value.
func (ListApplicationRevisionsInput) String ¶
func (s ListApplicationRevisionsInput) String() string
String returns the string representation
func (*ListApplicationRevisionsInput) Validate ¶
func (s *ListApplicationRevisionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApplicationRevisionsOutput ¶
type ListApplicationRevisionsOutput struct { // If a large amount of information is returned, an identifier will also be // 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 `locationName:"nextToken" type:"string"` // A list of locations that contain the matching revisions. Revisions []RevisionLocation `locationName:"revisions" type:"list"` // contains filtered or unexported fields }
Represents the output of a ListApplicationRevisions operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsOutput
func (ListApplicationRevisionsOutput) GoString ¶
func (s ListApplicationRevisionsOutput) GoString() string
GoString returns the string representation
func (ListApplicationRevisionsOutput) SDKResponseMetadata ¶
func (s ListApplicationRevisionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListApplicationRevisionsOutput) SetNextToken ¶
func (s *ListApplicationRevisionsOutput) SetNextToken(v string) *ListApplicationRevisionsOutput
SetNextToken sets the NextToken field's value.
func (*ListApplicationRevisionsOutput) SetRevisions ¶
func (s *ListApplicationRevisionsOutput) SetRevisions(v []RevisionLocation) *ListApplicationRevisionsOutput
SetRevisions sets the Revisions field's value.
func (ListApplicationRevisionsOutput) String ¶
func (s ListApplicationRevisionsOutput) String() string
String returns the string representation
type ListApplicationRevisionsRequest ¶
type ListApplicationRevisionsRequest struct { *aws.Request Input *ListApplicationRevisionsInput }
ListApplicationRevisionsRequest is a API request type for the ListApplicationRevisions API operation.
func (ListApplicationRevisionsRequest) Send ¶
func (r ListApplicationRevisionsRequest) Send() (*ListApplicationRevisionsOutput, error)
Send marshals and sends the ListApplicationRevisions API request.
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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the input of a ListApplications operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsInput
func (ListApplicationsInput) GoString ¶
func (s ListApplicationsInput) GoString() string
GoString returns the string representation
func (*ListApplicationsInput) SetNextToken ¶
func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput
SetNextToken sets the NextToken field's value.
func (ListApplicationsInput) String ¶
func (s ListApplicationsInput) String() string
String returns the string representation
type ListApplicationsOutput ¶
type ListApplicationsOutput struct { // A list of application names. Applications []string `locationName:"applications" type:"list"` // 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, will also be returned. in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the output of a ListApplications operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsOutput
func (ListApplicationsOutput) GoString ¶
func (s ListApplicationsOutput) GoString() string
GoString returns the string representation
func (ListApplicationsOutput) SDKResponseMetadata ¶
func (s ListApplicationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListApplicationsOutput) SetApplications ¶
func (s *ListApplicationsOutput) SetApplications(v []string) *ListApplicationsOutput
SetApplications sets the Applications field's value.
func (*ListApplicationsOutput) SetNextToken ¶
func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput
SetNextToken sets the NextToken field's value.
func (ListApplicationsOutput) String ¶
func (s ListApplicationsOutput) String() string
String returns the string representation
type ListApplicationsRequest ¶
type ListApplicationsRequest struct { *aws.Request Input *ListApplicationsInput }
ListApplicationsRequest is a API request type for the ListApplications API operation.
func (ListApplicationsRequest) Send ¶
func (r ListApplicationsRequest) Send() (*ListApplicationsOutput, error)
Send marshals and sends the ListApplications API request.
type ListDeploymentConfigsInput ¶
type ListDeploymentConfigsInput struct { // An identifier returned from the previous list deployment configurations call. // It can be used to return the next set of deployment configurations in the // list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the input of a ListDeploymentConfigs operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsInput
func (ListDeploymentConfigsInput) GoString ¶
func (s ListDeploymentConfigsInput) GoString() string
GoString returns the string representation
func (*ListDeploymentConfigsInput) SetNextToken ¶
func (s *ListDeploymentConfigsInput) SetNextToken(v string) *ListDeploymentConfigsInput
SetNextToken sets the NextToken field's value.
func (ListDeploymentConfigsInput) String ¶
func (s ListDeploymentConfigsInput) String() string
String returns the string representation
type ListDeploymentConfigsOutput ¶
type ListDeploymentConfigsOutput struct { // A list of deployment configurations, including built-in configurations such // as CodeDeployDefault.OneAtATime. DeploymentConfigsList []string `locationName:"deploymentConfigsList" type:"list"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the output of a ListDeploymentConfigs operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsOutput
func (ListDeploymentConfigsOutput) GoString ¶
func (s ListDeploymentConfigsOutput) GoString() string
GoString returns the string representation
func (ListDeploymentConfigsOutput) SDKResponseMetadata ¶
func (s ListDeploymentConfigsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListDeploymentConfigsOutput) SetDeploymentConfigsList ¶
func (s *ListDeploymentConfigsOutput) SetDeploymentConfigsList(v []string) *ListDeploymentConfigsOutput
SetDeploymentConfigsList sets the DeploymentConfigsList field's value.
func (*ListDeploymentConfigsOutput) SetNextToken ¶
func (s *ListDeploymentConfigsOutput) SetNextToken(v string) *ListDeploymentConfigsOutput
SetNextToken sets the NextToken field's value.
func (ListDeploymentConfigsOutput) String ¶
func (s ListDeploymentConfigsOutput) String() string
String returns the string representation
type ListDeploymentConfigsRequest ¶
type ListDeploymentConfigsRequest struct { *aws.Request Input *ListDeploymentConfigsInput }
ListDeploymentConfigsRequest is a API request type for the ListDeploymentConfigs API operation.
func (ListDeploymentConfigsRequest) Send ¶
func (r ListDeploymentConfigsRequest) Send() (*ListDeploymentConfigsOutput, error)
Send marshals and sends the ListDeploymentConfigs API request.
type ListDeploymentGroupsInput ¶
type ListDeploymentGroupsInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the input of a ListDeploymentGroups operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsInput
func (ListDeploymentGroupsInput) GoString ¶
func (s ListDeploymentGroupsInput) GoString() string
GoString returns the string representation
func (*ListDeploymentGroupsInput) SetApplicationName ¶
func (s *ListDeploymentGroupsInput) SetApplicationName(v string) *ListDeploymentGroupsInput
SetApplicationName sets the ApplicationName field's value.
func (*ListDeploymentGroupsInput) SetNextToken ¶
func (s *ListDeploymentGroupsInput) SetNextToken(v string) *ListDeploymentGroupsInput
SetNextToken sets the NextToken field's value.
func (ListDeploymentGroupsInput) String ¶
func (s ListDeploymentGroupsInput) String() string
String returns the string representation
func (*ListDeploymentGroupsInput) Validate ¶
func (s *ListDeploymentGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDeploymentGroupsOutput ¶
type ListDeploymentGroupsOutput struct { // The application name. ApplicationName *string `locationName:"applicationName" min:"1" type:"string"` // A list of corresponding deployment group names. DeploymentGroups []string `locationName:"deploymentGroups" type:"list"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the output of a ListDeploymentGroups operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsOutput
func (ListDeploymentGroupsOutput) GoString ¶
func (s ListDeploymentGroupsOutput) GoString() string
GoString returns the string representation
func (ListDeploymentGroupsOutput) SDKResponseMetadata ¶
func (s ListDeploymentGroupsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListDeploymentGroupsOutput) SetApplicationName ¶
func (s *ListDeploymentGroupsOutput) SetApplicationName(v string) *ListDeploymentGroupsOutput
SetApplicationName sets the ApplicationName field's value.
func (*ListDeploymentGroupsOutput) SetDeploymentGroups ¶
func (s *ListDeploymentGroupsOutput) SetDeploymentGroups(v []string) *ListDeploymentGroupsOutput
SetDeploymentGroups sets the DeploymentGroups field's value.
func (*ListDeploymentGroupsOutput) SetNextToken ¶
func (s *ListDeploymentGroupsOutput) SetNextToken(v string) *ListDeploymentGroupsOutput
SetNextToken sets the NextToken field's value.
func (ListDeploymentGroupsOutput) String ¶
func (s ListDeploymentGroupsOutput) String() string
String returns the string representation
type ListDeploymentGroupsRequest ¶
type ListDeploymentGroupsRequest struct { *aws.Request Input *ListDeploymentGroupsInput }
ListDeploymentGroupsRequest is a API request type for the ListDeploymentGroups API operation.
func (ListDeploymentGroupsRequest) Send ¶
func (r ListDeploymentGroupsRequest) Send() (*ListDeploymentGroupsOutput, error)
Send marshals and sends the ListDeploymentGroups API request.
type ListDeploymentInstancesInput ¶
type ListDeploymentInstancesInput struct { // The unique ID of a deployment. // // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // A subset of instances to list by status: // // * Pending: Include those instance with pending deployments. // // * InProgress: Include those instance where deployments are still in progress. // // * Succeeded: Include those instances with successful deployments. // // * Failed: Include those instance with failed deployments. // // * Skipped: Include those instance with skipped deployments. // // * Unknown: Include those instance with deployments in an unknown state. InstanceStatusFilter []InstanceStatus `locationName:"instanceStatusFilter" type:"list"` // 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 []InstanceType `locationName:"instanceTypeFilter" type:"list"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the input of a ListDeploymentInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesInput
func (ListDeploymentInstancesInput) GoString ¶
func (s ListDeploymentInstancesInput) GoString() string
GoString returns the string representation
func (*ListDeploymentInstancesInput) SetDeploymentId ¶
func (s *ListDeploymentInstancesInput) SetDeploymentId(v string) *ListDeploymentInstancesInput
SetDeploymentId sets the DeploymentId field's value.
func (*ListDeploymentInstancesInput) SetInstanceStatusFilter ¶
func (s *ListDeploymentInstancesInput) SetInstanceStatusFilter(v []InstanceStatus) *ListDeploymentInstancesInput
SetInstanceStatusFilter sets the InstanceStatusFilter field's value.
func (*ListDeploymentInstancesInput) SetInstanceTypeFilter ¶
func (s *ListDeploymentInstancesInput) SetInstanceTypeFilter(v []InstanceType) *ListDeploymentInstancesInput
SetInstanceTypeFilter sets the InstanceTypeFilter field's value.
func (*ListDeploymentInstancesInput) SetNextToken ¶
func (s *ListDeploymentInstancesInput) SetNextToken(v string) *ListDeploymentInstancesInput
SetNextToken sets the NextToken field's value.
func (ListDeploymentInstancesInput) String ¶
func (s ListDeploymentInstancesInput) String() string
String returns the string representation
func (*ListDeploymentInstancesInput) Validate ¶
func (s *ListDeploymentInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDeploymentInstancesOutput ¶
type ListDeploymentInstancesOutput struct { // A list of instance IDs. InstancesList []string `locationName:"instancesList" type:"list"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the output of a ListDeploymentInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesOutput
func (ListDeploymentInstancesOutput) GoString ¶
func (s ListDeploymentInstancesOutput) GoString() string
GoString returns the string representation
func (ListDeploymentInstancesOutput) SDKResponseMetadata ¶
func (s ListDeploymentInstancesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListDeploymentInstancesOutput) SetInstancesList ¶
func (s *ListDeploymentInstancesOutput) SetInstancesList(v []string) *ListDeploymentInstancesOutput
SetInstancesList sets the InstancesList field's value.
func (*ListDeploymentInstancesOutput) SetNextToken ¶
func (s *ListDeploymentInstancesOutput) SetNextToken(v string) *ListDeploymentInstancesOutput
SetNextToken sets the NextToken field's value.
func (ListDeploymentInstancesOutput) String ¶
func (s ListDeploymentInstancesOutput) String() string
String returns the string representation
type ListDeploymentInstancesRequest ¶
type ListDeploymentInstancesRequest struct { *aws.Request Input *ListDeploymentInstancesInput }
ListDeploymentInstancesRequest is a API request type for the ListDeploymentInstances API operation.
func (ListDeploymentInstancesRequest) Send ¶
func (r ListDeploymentInstancesRequest) Send() (*ListDeploymentInstancesOutput, error)
Send marshals and sends the ListDeploymentInstances API request.
type ListDeploymentsInput ¶
type ListDeploymentsInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. ApplicationName *string `locationName:"applicationName" min:"1" type:"string"` // A time range (start and end) for returning a subset of the list of deployments. CreateTimeRange *TimeRange `locationName:"createTimeRange" type:"structure"` // The name of an existing deployment group for the specified application. DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"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 []DeploymentStatus `locationName:"includeOnlyStatuses" type:"list"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the input of a ListDeployments operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsInput
func (ListDeploymentsInput) GoString ¶
func (s ListDeploymentsInput) GoString() string
GoString returns the string representation
func (*ListDeploymentsInput) SetApplicationName ¶
func (s *ListDeploymentsInput) SetApplicationName(v string) *ListDeploymentsInput
SetApplicationName sets the ApplicationName field's value.
func (*ListDeploymentsInput) SetCreateTimeRange ¶
func (s *ListDeploymentsInput) SetCreateTimeRange(v *TimeRange) *ListDeploymentsInput
SetCreateTimeRange sets the CreateTimeRange field's value.
func (*ListDeploymentsInput) SetDeploymentGroupName ¶
func (s *ListDeploymentsInput) SetDeploymentGroupName(v string) *ListDeploymentsInput
SetDeploymentGroupName sets the DeploymentGroupName field's value.
func (*ListDeploymentsInput) SetIncludeOnlyStatuses ¶
func (s *ListDeploymentsInput) SetIncludeOnlyStatuses(v []DeploymentStatus) *ListDeploymentsInput
SetIncludeOnlyStatuses sets the IncludeOnlyStatuses field's value.
func (*ListDeploymentsInput) SetNextToken ¶
func (s *ListDeploymentsInput) SetNextToken(v string) *ListDeploymentsInput
SetNextToken sets the NextToken field's value.
func (ListDeploymentsInput) String ¶
func (s ListDeploymentsInput) String() string
String returns the string representation
func (*ListDeploymentsInput) Validate ¶
func (s *ListDeploymentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDeploymentsOutput ¶
type ListDeploymentsOutput struct { // A list of deployment IDs. Deployments []string `locationName:"deployments" type:"list"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the output of a ListDeployments operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsOutput
func (ListDeploymentsOutput) GoString ¶
func (s ListDeploymentsOutput) GoString() string
GoString returns the string representation
func (ListDeploymentsOutput) SDKResponseMetadata ¶
func (s ListDeploymentsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListDeploymentsOutput) SetDeployments ¶
func (s *ListDeploymentsOutput) SetDeployments(v []string) *ListDeploymentsOutput
SetDeployments sets the Deployments field's value.
func (*ListDeploymentsOutput) SetNextToken ¶
func (s *ListDeploymentsOutput) SetNextToken(v string) *ListDeploymentsOutput
SetNextToken sets the NextToken field's value.
func (ListDeploymentsOutput) String ¶
func (s ListDeploymentsOutput) String() string
String returns the string representation
type ListDeploymentsRequest ¶
type ListDeploymentsRequest struct { *aws.Request Input *ListDeploymentsInput }
ListDeploymentsRequest is a API request type for the ListDeployments API operation.
func (ListDeploymentsRequest) Send ¶
func (r ListDeploymentsRequest) Send() (*ListDeploymentsOutput, error)
Send marshals and sends the ListDeployments API request.
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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the input of a ListGitHubAccountTokenNames operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesInput
func (ListGitHubAccountTokenNamesInput) GoString ¶
func (s ListGitHubAccountTokenNamesInput) GoString() string
GoString returns the string representation
func (*ListGitHubAccountTokenNamesInput) SetNextToken ¶
func (s *ListGitHubAccountTokenNamesInput) SetNextToken(v string) *ListGitHubAccountTokenNamesInput
SetNextToken sets the NextToken field's value.
func (ListGitHubAccountTokenNamesInput) String ¶
func (s ListGitHubAccountTokenNamesInput) String() string
String returns the string representation
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 `locationName:"nextToken" type:"string"` // A list of names of connections to GitHub accounts. TokenNameList []string `locationName:"tokenNameList" type:"list"` // contains filtered or unexported fields }
Represents the output of a ListGitHubAccountTokenNames operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesOutput
func (ListGitHubAccountTokenNamesOutput) GoString ¶
func (s ListGitHubAccountTokenNamesOutput) GoString() string
GoString returns the string representation
func (ListGitHubAccountTokenNamesOutput) SDKResponseMetadata ¶
func (s ListGitHubAccountTokenNamesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListGitHubAccountTokenNamesOutput) SetNextToken ¶
func (s *ListGitHubAccountTokenNamesOutput) SetNextToken(v string) *ListGitHubAccountTokenNamesOutput
SetNextToken sets the NextToken field's value.
func (*ListGitHubAccountTokenNamesOutput) SetTokenNameList ¶
func (s *ListGitHubAccountTokenNamesOutput) SetTokenNameList(v []string) *ListGitHubAccountTokenNamesOutput
SetTokenNameList sets the TokenNameList field's value.
func (ListGitHubAccountTokenNamesOutput) String ¶
func (s ListGitHubAccountTokenNamesOutput) String() string
String returns the string representation
type ListGitHubAccountTokenNamesRequest ¶
type ListGitHubAccountTokenNamesRequest struct { *aws.Request Input *ListGitHubAccountTokenNamesInput }
ListGitHubAccountTokenNamesRequest is a API request type for the ListGitHubAccountTokenNames API operation.
func (ListGitHubAccountTokenNamesRequest) Send ¶
func (r ListGitHubAccountTokenNamesRequest) Send() (*ListGitHubAccountTokenNamesOutput, error)
Send marshals and sends the ListGitHubAccountTokenNames API request.
type ListOnPremisesInstancesInput ¶
type ListOnPremisesInstancesInput struct { // 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 `locationName:"nextToken" type:"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 RegistrationStatus `locationName:"registrationStatus" type:"string" enum:"true"` // The on-premises instance tags that will be used to restrict the corresponding // on-premises instance names returned. TagFilters []TagFilter `locationName:"tagFilters" type:"list"` // contains filtered or unexported fields }
Represents the input of a ListOnPremisesInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesInput
func (ListOnPremisesInstancesInput) GoString ¶
func (s ListOnPremisesInstancesInput) GoString() string
GoString returns the string representation
func (*ListOnPremisesInstancesInput) SetNextToken ¶
func (s *ListOnPremisesInstancesInput) SetNextToken(v string) *ListOnPremisesInstancesInput
SetNextToken sets the NextToken field's value.
func (*ListOnPremisesInstancesInput) SetRegistrationStatus ¶
func (s *ListOnPremisesInstancesInput) SetRegistrationStatus(v RegistrationStatus) *ListOnPremisesInstancesInput
SetRegistrationStatus sets the RegistrationStatus field's value.
func (*ListOnPremisesInstancesInput) SetTagFilters ¶
func (s *ListOnPremisesInstancesInput) SetTagFilters(v []TagFilter) *ListOnPremisesInstancesInput
SetTagFilters sets the TagFilters field's value.
func (ListOnPremisesInstancesInput) String ¶
func (s ListOnPremisesInstancesInput) String() string
String returns the string representation
type ListOnPremisesInstancesOutput ¶
type ListOnPremisesInstancesOutput struct { // The list of matching on-premises instance names. InstanceNames []string `locationName:"instanceNames" type:"list"` // 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 `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the output of list on-premises instances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesOutput
func (ListOnPremisesInstancesOutput) GoString ¶
func (s ListOnPremisesInstancesOutput) GoString() string
GoString returns the string representation
func (ListOnPremisesInstancesOutput) SDKResponseMetadata ¶
func (s ListOnPremisesInstancesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListOnPremisesInstancesOutput) SetInstanceNames ¶
func (s *ListOnPremisesInstancesOutput) SetInstanceNames(v []string) *ListOnPremisesInstancesOutput
SetInstanceNames sets the InstanceNames field's value.
func (*ListOnPremisesInstancesOutput) SetNextToken ¶
func (s *ListOnPremisesInstancesOutput) SetNextToken(v string) *ListOnPremisesInstancesOutput
SetNextToken sets the NextToken field's value.
func (ListOnPremisesInstancesOutput) String ¶
func (s ListOnPremisesInstancesOutput) String() string
String returns the string representation
type ListOnPremisesInstancesRequest ¶
type ListOnPremisesInstancesRequest struct { *aws.Request Input *ListOnPremisesInstancesInput }
ListOnPremisesInstancesRequest is a API request type for the ListOnPremisesInstances API operation.
func (ListOnPremisesInstancesRequest) Send ¶
func (r ListOnPremisesInstancesRequest) Send() (*ListOnPremisesInstancesOutput, error)
Send marshals and sends the ListOnPremisesInstances API request.
type ListStateFilterAction ¶
type ListStateFilterAction string
const ( ListStateFilterActionInclude ListStateFilterAction = "include" ListStateFilterActionExclude ListStateFilterAction = "exclude" ListStateFilterActionIgnore ListStateFilterAction = "ignore" )
Enum values for ListStateFilterAction
type LoadBalancerInfo ¶
type LoadBalancerInfo struct { // An array containing information about the load balancer to use for load balancing // in a deployment. In Elastic Load Balancing, load balancers are used with // Classic Load Balancers. ElbInfoList []ELBInfo `locationName:"elbInfoList" type:"list"` // An array containing information about the target group to use for load balancing // in a deployment. In Elastic Load Balancing, target groups are used with Application // Load Balancers. TargetGroupInfoList []TargetGroupInfo `locationName:"targetGroupInfoList" type:"list"` // contains filtered or unexported fields }
Information about the Elastic Load Balancing load balancer or target group used in a deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LoadBalancerInfo
func (LoadBalancerInfo) GoString ¶
func (s LoadBalancerInfo) GoString() string
GoString returns the string representation
func (*LoadBalancerInfo) SetElbInfoList ¶
func (s *LoadBalancerInfo) SetElbInfoList(v []ELBInfo) *LoadBalancerInfo
SetElbInfoList sets the ElbInfoList field's value.
func (*LoadBalancerInfo) SetTargetGroupInfoList ¶
func (s *LoadBalancerInfo) SetTargetGroupInfoList(v []TargetGroupInfo) *LoadBalancerInfo
SetTargetGroupInfoList sets the TargetGroupInfoList field's value.
func (LoadBalancerInfo) String ¶
func (s LoadBalancerInfo) String() string
String returns the string representation
type MinimumHealthyHosts ¶
type MinimumHealthyHosts struct { // The minimum healthy instance type: // // * HOST_COUNT: The minimum number of healthy instance as an absolute value. // // * FLEET_PERCENT: The minimum number of healthy instance as a percentage // of the total number of instance in the deployment. // // In an example of nine instance, if a HOST_COUNT of six is specified, deploy // to up to three instances at a time. The deployment will be successful if // six or more instances are deployed to successfully; otherwise, the deployment // fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance // at a time. The deployment will be successful if four or more instance are // deployed to successfully; otherwise, the deployment fails. // // In a call to the get deployment configuration operation, CodeDeployDefault.OneAtATime // will return a minimum healthy instance type of MOST_CONCURRENCY and a value // of 1. This means a deployment to only one instance at a time. (You cannot // set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In // addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy will try to ensure // that all instances but one are kept in a healthy state during the deployment. // Although this allows one instance at a time to be taken offline for a new // deployment, it also means that if the deployment to the last instance fails, // the overall deployment still succeeds. // // For more information, see AWS CodeDeploy Instance Health (http://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html) // in the AWS CodeDeploy User Guide. Type MinimumHealthyHostsType `locationName:"type" type:"string" enum:"true"` // The minimum healthy instance value. Value *int64 `locationName:"value" type:"integer"` // contains filtered or unexported fields }
Information about minimum healthy instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/MinimumHealthyHosts
func (MinimumHealthyHosts) GoString ¶
func (s MinimumHealthyHosts) GoString() string
GoString returns the string representation
func (*MinimumHealthyHosts) SetType ¶
func (s *MinimumHealthyHosts) SetType(v MinimumHealthyHostsType) *MinimumHealthyHosts
SetType sets the Type field's value.
func (*MinimumHealthyHosts) SetValue ¶
func (s *MinimumHealthyHosts) SetValue(v int64) *MinimumHealthyHosts
SetValue sets the Value field's value.
func (MinimumHealthyHosts) String ¶
func (s MinimumHealthyHosts) String() string
String returns the string representation
type MinimumHealthyHostsType ¶
type MinimumHealthyHostsType string
const ( MinimumHealthyHostsTypeHostCount MinimumHealthyHostsType = "HOST_COUNT" MinimumHealthyHostsTypeFleetPercent MinimumHealthyHostsType = "FLEET_PERCENT" )
Enum values for MinimumHealthyHostsType
type OnPremisesTagSet ¶
type OnPremisesTagSet struct { // A list containing other lists of on-premises instance tag groups. In order // for an instance to be included in the deployment group, it must be identified // by all the tag groups in the list. OnPremisesTagSetList [][]TagFilter `locationName:"onPremisesTagSetList" type:"list"` // contains filtered or unexported fields }
Information about groups of on-premises instance tags. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/OnPremisesTagSet
func (OnPremisesTagSet) GoString ¶
func (s OnPremisesTagSet) GoString() string
GoString returns the string representation
func (*OnPremisesTagSet) SetOnPremisesTagSetList ¶
func (s *OnPremisesTagSet) SetOnPremisesTagSetList(v [][]TagFilter) *OnPremisesTagSet
SetOnPremisesTagSetList sets the OnPremisesTagSetList field's value.
func (OnPremisesTagSet) String ¶
func (s OnPremisesTagSet) String() string
String returns the string representation
type PutLifecycleEventHookExecutionStatusInput ¶ added in v0.2.0
type PutLifecycleEventHookExecutionStatusInput struct { // The ID of the deployment. Pass this ID to a Lambda function that validates // a deployment lifecycle event. DeploymentId *string `locationName:"deploymentId" type:"string"` // 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 `locationName:"lifecycleEventHookExecutionId" type:"string"` // The result of a Lambda function that validates a deployment lifecycle event // (Succeeded or Failed). Status LifecycleEventStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatusInput
func (PutLifecycleEventHookExecutionStatusInput) GoString ¶ added in v0.2.0
func (s PutLifecycleEventHookExecutionStatusInput) GoString() string
GoString returns the string representation
func (*PutLifecycleEventHookExecutionStatusInput) SetDeploymentId ¶ added in v0.2.0
func (s *PutLifecycleEventHookExecutionStatusInput) SetDeploymentId(v string) *PutLifecycleEventHookExecutionStatusInput
SetDeploymentId sets the DeploymentId field's value.
func (*PutLifecycleEventHookExecutionStatusInput) SetLifecycleEventHookExecutionId ¶ added in v0.2.0
func (s *PutLifecycleEventHookExecutionStatusInput) SetLifecycleEventHookExecutionId(v string) *PutLifecycleEventHookExecutionStatusInput
SetLifecycleEventHookExecutionId sets the LifecycleEventHookExecutionId field's value.
func (*PutLifecycleEventHookExecutionStatusInput) SetStatus ¶ added in v0.2.0
func (s *PutLifecycleEventHookExecutionStatusInput) SetStatus(v LifecycleEventStatus) *PutLifecycleEventHookExecutionStatusInput
SetStatus sets the Status field's value.
func (PutLifecycleEventHookExecutionStatusInput) String ¶ added in v0.2.0
func (s PutLifecycleEventHookExecutionStatusInput) String() string
String returns the string representation
type PutLifecycleEventHookExecutionStatusOutput ¶ added in v0.2.0
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 `locationName:"lifecycleEventHookExecutionId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatusOutput
func (PutLifecycleEventHookExecutionStatusOutput) GoString ¶ added in v0.2.0
func (s PutLifecycleEventHookExecutionStatusOutput) GoString() string
GoString returns the string representation
func (PutLifecycleEventHookExecutionStatusOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s PutLifecycleEventHookExecutionStatusOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*PutLifecycleEventHookExecutionStatusOutput) SetLifecycleEventHookExecutionId ¶ added in v0.2.0
func (s *PutLifecycleEventHookExecutionStatusOutput) SetLifecycleEventHookExecutionId(v string) *PutLifecycleEventHookExecutionStatusOutput
SetLifecycleEventHookExecutionId sets the LifecycleEventHookExecutionId field's value.
func (PutLifecycleEventHookExecutionStatusOutput) String ¶ added in v0.2.0
func (s PutLifecycleEventHookExecutionStatusOutput) String() string
String returns the string representation
type PutLifecycleEventHookExecutionStatusRequest ¶ added in v0.2.0
type PutLifecycleEventHookExecutionStatusRequest struct { *aws.Request Input *PutLifecycleEventHookExecutionStatusInput }
PutLifecycleEventHookExecutionStatusRequest is a API request type for the PutLifecycleEventHookExecutionStatus API operation.
func (PutLifecycleEventHookExecutionStatusRequest) Send ¶ added in v0.2.0
func (r PutLifecycleEventHookExecutionStatusRequest) Send() (*PutLifecycleEventHookExecutionStatusOutput, error)
Send marshals and sends the PutLifecycleEventHookExecutionStatus API request.
type RawString ¶ added in v0.2.0
type RawString struct { // The YAML-formatted or JSON-formatted revision string. It includes information // about which Lambda function to update and optional Lambda functions that // validate deployment lifecycle events. Content *string `locationName:"content" type:"string"` // The SHA256 hash value of the revision that is specified as a RawString. Sha256 *string `locationName:"sha256" type:"string"` // contains filtered or unexported fields }
A revision for an AWS Lambda deployment that is a YAML-formatted or JSON-formatted string. For AWS Lambda deployments, the revision is the same as the AppSpec file. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RawString
func (*RawString) SetContent ¶ added in v0.2.0
SetContent sets the Content field's value.
type RegisterApplicationRevisionInput ¶
type RegisterApplicationRevisionInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // A comment about the revision. Description *string `locationName:"description" type:"string"` // Information about the application revision to register, including type and // location. // // Revision is a required field Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the input of a RegisterApplicationRevision operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionInput
func (RegisterApplicationRevisionInput) GoString ¶
func (s RegisterApplicationRevisionInput) GoString() string
GoString returns the string representation
func (*RegisterApplicationRevisionInput) SetApplicationName ¶
func (s *RegisterApplicationRevisionInput) SetApplicationName(v string) *RegisterApplicationRevisionInput
SetApplicationName sets the ApplicationName field's value.
func (*RegisterApplicationRevisionInput) SetDescription ¶
func (s *RegisterApplicationRevisionInput) SetDescription(v string) *RegisterApplicationRevisionInput
SetDescription sets the Description field's value.
func (*RegisterApplicationRevisionInput) SetRevision ¶
func (s *RegisterApplicationRevisionInput) SetRevision(v *RevisionLocation) *RegisterApplicationRevisionInput
SetRevision sets the Revision field's value.
func (RegisterApplicationRevisionInput) String ¶
func (s RegisterApplicationRevisionInput) String() string
String returns the string representation
func (*RegisterApplicationRevisionInput) Validate ¶
func (s *RegisterApplicationRevisionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterApplicationRevisionOutput ¶
type RegisterApplicationRevisionOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionOutput
func (RegisterApplicationRevisionOutput) GoString ¶
func (s RegisterApplicationRevisionOutput) GoString() string
GoString returns the string representation
func (RegisterApplicationRevisionOutput) SDKResponseMetadata ¶
func (s RegisterApplicationRevisionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RegisterApplicationRevisionOutput) String ¶
func (s RegisterApplicationRevisionOutput) String() string
String returns the string representation
type RegisterApplicationRevisionRequest ¶
type RegisterApplicationRevisionRequest struct { *aws.Request Input *RegisterApplicationRevisionInput }
RegisterApplicationRevisionRequest is a API request type for the RegisterApplicationRevision API operation.
func (RegisterApplicationRevisionRequest) Send ¶
func (r RegisterApplicationRevisionRequest) Send() (*RegisterApplicationRevisionOutput, error)
Send marshals and sends the RegisterApplicationRevision API request.
type RegisterOnPremisesInstanceInput ¶
type RegisterOnPremisesInstanceInput struct { // The ARN of the IAM session to associate with the on-premises instance. IamSessionArn *string `locationName:"iamSessionArn" type:"string"` // The ARN of the IAM user to associate with the on-premises instance. IamUserArn *string `locationName:"iamUserArn" type:"string"` // The name of the on-premises instance to register. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of the register on-premises instance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstanceInput
func (RegisterOnPremisesInstanceInput) GoString ¶
func (s RegisterOnPremisesInstanceInput) GoString() string
GoString returns the string representation
func (*RegisterOnPremisesInstanceInput) SetIamSessionArn ¶
func (s *RegisterOnPremisesInstanceInput) SetIamSessionArn(v string) *RegisterOnPremisesInstanceInput
SetIamSessionArn sets the IamSessionArn field's value.
func (*RegisterOnPremisesInstanceInput) SetIamUserArn ¶
func (s *RegisterOnPremisesInstanceInput) SetIamUserArn(v string) *RegisterOnPremisesInstanceInput
SetIamUserArn sets the IamUserArn field's value.
func (*RegisterOnPremisesInstanceInput) SetInstanceName ¶
func (s *RegisterOnPremisesInstanceInput) SetInstanceName(v string) *RegisterOnPremisesInstanceInput
SetInstanceName sets the InstanceName field's value.
func (RegisterOnPremisesInstanceInput) String ¶
func (s RegisterOnPremisesInstanceInput) String() string
String returns the string representation
func (*RegisterOnPremisesInstanceInput) Validate ¶
func (s *RegisterOnPremisesInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterOnPremisesInstanceOutput ¶
type RegisterOnPremisesInstanceOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstanceOutput
func (RegisterOnPremisesInstanceOutput) GoString ¶
func (s RegisterOnPremisesInstanceOutput) GoString() string
GoString returns the string representation
func (RegisterOnPremisesInstanceOutput) SDKResponseMetadata ¶
func (s RegisterOnPremisesInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RegisterOnPremisesInstanceOutput) String ¶
func (s RegisterOnPremisesInstanceOutput) String() string
String returns the string representation
type RegisterOnPremisesInstanceRequest ¶
type RegisterOnPremisesInstanceRequest struct { *aws.Request Input *RegisterOnPremisesInstanceInput }
RegisterOnPremisesInstanceRequest is a API request type for the RegisterOnPremisesInstance API operation.
func (RegisterOnPremisesInstanceRequest) Send ¶
func (r RegisterOnPremisesInstanceRequest) Send() (*RegisterOnPremisesInstanceOutput, error)
Send marshals and sends the RegisterOnPremisesInstance API request.
type RegistrationStatus ¶
type RegistrationStatus string
const ( RegistrationStatusRegistered RegistrationStatus = "Registered" RegistrationStatusDeregistered RegistrationStatus = "Deregistered" )
Enum values for RegistrationStatus
type RemoveTagsFromOnPremisesInstancesInput ¶
type RemoveTagsFromOnPremisesInstancesInput struct { // The names of the on-premises instances from which to remove tags. // // InstanceNames is a required field InstanceNames []string `locationName:"instanceNames" type:"list" required:"true"` // The tag key-value pairs to remove from the on-premises instances. // // Tags is a required field Tags []Tag `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the input of a RemoveTagsFromOnPremisesInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstancesInput
func (RemoveTagsFromOnPremisesInstancesInput) GoString ¶
func (s RemoveTagsFromOnPremisesInstancesInput) GoString() string
GoString returns the string representation
func (*RemoveTagsFromOnPremisesInstancesInput) SetInstanceNames ¶
func (s *RemoveTagsFromOnPremisesInstancesInput) SetInstanceNames(v []string) *RemoveTagsFromOnPremisesInstancesInput
SetInstanceNames sets the InstanceNames field's value.
func (*RemoveTagsFromOnPremisesInstancesInput) SetTags ¶
func (s *RemoveTagsFromOnPremisesInstancesInput) SetTags(v []Tag) *RemoveTagsFromOnPremisesInstancesInput
SetTags sets the Tags field's value.
func (RemoveTagsFromOnPremisesInstancesInput) String ¶
func (s RemoveTagsFromOnPremisesInstancesInput) String() string
String returns the string representation
func (*RemoveTagsFromOnPremisesInstancesInput) Validate ¶
func (s *RemoveTagsFromOnPremisesInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveTagsFromOnPremisesInstancesOutput ¶
type RemoveTagsFromOnPremisesInstancesOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstancesOutput
func (RemoveTagsFromOnPremisesInstancesOutput) GoString ¶
func (s RemoveTagsFromOnPremisesInstancesOutput) GoString() string
GoString returns the string representation
func (RemoveTagsFromOnPremisesInstancesOutput) SDKResponseMetadata ¶
func (s RemoveTagsFromOnPremisesInstancesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RemoveTagsFromOnPremisesInstancesOutput) String ¶
func (s RemoveTagsFromOnPremisesInstancesOutput) String() string
String returns the string representation
type RemoveTagsFromOnPremisesInstancesRequest ¶
type RemoveTagsFromOnPremisesInstancesRequest struct { *aws.Request Input *RemoveTagsFromOnPremisesInstancesInput }
RemoveTagsFromOnPremisesInstancesRequest is a API request type for the RemoveTagsFromOnPremisesInstances API operation.
func (RemoveTagsFromOnPremisesInstancesRequest) Send ¶
func (r RemoveTagsFromOnPremisesInstancesRequest) Send() (*RemoveTagsFromOnPremisesInstancesOutput, error)
Send marshals and sends the RemoveTagsFromOnPremisesInstances API request.
type RevisionInfo ¶
type RevisionInfo struct { // Information about an application revision, including usage details and associated // deployment groups. GenericRevisionInfo *GenericRevisionInfo `locationName:"genericRevisionInfo" type:"structure"` // Information about the location and type of an application revision. RevisionLocation *RevisionLocation `locationName:"revisionLocation" type:"structure"` // contains filtered or unexported fields }
Information about an application revision. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionInfo
func (RevisionInfo) GoString ¶
func (s RevisionInfo) GoString() string
GoString returns the string representation
func (*RevisionInfo) SetGenericRevisionInfo ¶
func (s *RevisionInfo) SetGenericRevisionInfo(v *GenericRevisionInfo) *RevisionInfo
SetGenericRevisionInfo sets the GenericRevisionInfo field's value.
func (*RevisionInfo) SetRevisionLocation ¶
func (s *RevisionInfo) SetRevisionLocation(v *RevisionLocation) *RevisionInfo
SetRevisionLocation sets the RevisionLocation field's value.
func (RevisionInfo) String ¶
func (s RevisionInfo) String() string
String returns the string representation
type RevisionLocation ¶
type RevisionLocation struct { // Information about the location of application artifacts stored in GitHub. GitHubLocation *GitHubLocation `locationName:"gitHubLocation" type:"structure"` // The type of application revision: // // * S3: An application revision stored in Amazon S3. // // * GitHub: An application revision stored in GitHub (EC2/On-premises deployments // only) // // * String: A YAML-formatted or JSON-formatted string (AWS Lambda deployments // only) RevisionType RevisionLocationType `locationName:"revisionType" type:"string" enum:"true"` // Information about the location of a revision stored in Amazon S3. S3Location *S3Location `locationName:"s3Location" type:"structure"` // Information about the location of an AWS Lambda deployment revision stored // as a RawString. String_ *RawString `locationName:"string" type:"structure"` // contains filtered or unexported fields }
Information about the location of an application revision. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionLocation
func (RevisionLocation) GoString ¶
func (s RevisionLocation) GoString() string
GoString returns the string representation
func (*RevisionLocation) SetGitHubLocation ¶
func (s *RevisionLocation) SetGitHubLocation(v *GitHubLocation) *RevisionLocation
SetGitHubLocation sets the GitHubLocation field's value.
func (*RevisionLocation) SetRevisionType ¶
func (s *RevisionLocation) SetRevisionType(v RevisionLocationType) *RevisionLocation
SetRevisionType sets the RevisionType field's value.
func (*RevisionLocation) SetS3Location ¶
func (s *RevisionLocation) SetS3Location(v *S3Location) *RevisionLocation
SetS3Location sets the S3Location field's value.
func (*RevisionLocation) SetString_ ¶ added in v0.2.0
func (s *RevisionLocation) SetString_(v *RawString) *RevisionLocation
SetString_ sets the String_ field's value.
func (RevisionLocation) String ¶
func (s RevisionLocation) String() string
String returns the string representation
type RevisionLocationType ¶
type RevisionLocationType string
const ( RevisionLocationTypeS3 RevisionLocationType = "S3" RevisionLocationTypeGitHub RevisionLocationType = "GitHub" RevisionLocationTypeString RevisionLocationType = "String" )
Enum values for RevisionLocationType
type RollbackInfo ¶
type RollbackInfo struct { // The ID of the deployment rollback. RollbackDeploymentId *string `locationName:"rollbackDeploymentId" type:"string"` // Information describing the status of a deployment rollback; for example, // whether the deployment can't be rolled back, is in progress, failed, or succeeded. RollbackMessage *string `locationName:"rollbackMessage" type:"string"` // The deployment ID of the deployment that was underway and triggered a rollback // deployment because it failed or was stopped. RollbackTriggeringDeploymentId *string `locationName:"rollbackTriggeringDeploymentId" type:"string"` // contains filtered or unexported fields }
Information about a deployment rollback. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RollbackInfo
func (RollbackInfo) GoString ¶
func (s RollbackInfo) GoString() string
GoString returns the string representation
func (*RollbackInfo) SetRollbackDeploymentId ¶
func (s *RollbackInfo) SetRollbackDeploymentId(v string) *RollbackInfo
SetRollbackDeploymentId sets the RollbackDeploymentId field's value.
func (*RollbackInfo) SetRollbackMessage ¶
func (s *RollbackInfo) SetRollbackMessage(v string) *RollbackInfo
SetRollbackMessage sets the RollbackMessage field's value.
func (*RollbackInfo) SetRollbackTriggeringDeploymentId ¶
func (s *RollbackInfo) SetRollbackTriggeringDeploymentId(v string) *RollbackInfo
SetRollbackTriggeringDeploymentId sets the RollbackTriggeringDeploymentId field's value.
func (RollbackInfo) String ¶
func (s RollbackInfo) String() string
String returns the string representation
type S3Location ¶
type S3Location struct { // The name of the Amazon S3 bucket where the application revision is stored. Bucket *string `locationName:"bucket" type:"string"` // The file type of the application revision. Must be one of the following: // // * tar: A tar archive file. // // * tgz: A compressed tar archive file. // // * zip: A zip archive file. BundleType BundleType `locationName:"bundleType" type:"string" enum:"true"` // The ETag of the Amazon S3 object that represents the bundled artifacts for // the application revision. // // If the ETag is not specified as an input parameter, ETag validation of the // object will be skipped. ETag *string `locationName:"eTag" type:"string"` // The name of the Amazon S3 object that represents the bundled artifacts for // the application revision. Key *string `locationName:"key" type:"string"` // A specific version of the Amazon S3 object that represents the bundled artifacts // for the application revision. // // If the version is not specified, the system will use the most recent version // by default. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
Information about the location of application artifacts stored in Amazon S3. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/S3Location
func (S3Location) GoString ¶
func (s S3Location) GoString() string
GoString returns the string representation
func (*S3Location) SetBucket ¶
func (s *S3Location) SetBucket(v string) *S3Location
SetBucket sets the Bucket field's value.
func (*S3Location) SetBundleType ¶
func (s *S3Location) SetBundleType(v BundleType) *S3Location
SetBundleType sets the BundleType field's value.
func (*S3Location) SetETag ¶
func (s *S3Location) SetETag(v string) *S3Location
SetETag sets the ETag field's value.
func (*S3Location) SetKey ¶
func (s *S3Location) SetKey(v string) *S3Location
SetKey sets the Key field's value.
func (*S3Location) SetVersion ¶
func (s *S3Location) SetVersion(v string) *S3Location
SetVersion sets the Version field's value.
func (S3Location) String ¶
func (s S3Location) String() string
String returns the string representation
type SkipWaitTimeForInstanceTerminationInput ¶
type SkipWaitTimeForInstanceTerminationInput struct { // The ID of the blue/green deployment for which you want to skip the instance // termination wait time. DeploymentId *string `locationName:"deploymentId" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTerminationInput
func (SkipWaitTimeForInstanceTerminationInput) GoString ¶
func (s SkipWaitTimeForInstanceTerminationInput) GoString() string
GoString returns the string representation
func (*SkipWaitTimeForInstanceTerminationInput) SetDeploymentId ¶
func (s *SkipWaitTimeForInstanceTerminationInput) SetDeploymentId(v string) *SkipWaitTimeForInstanceTerminationInput
SetDeploymentId sets the DeploymentId field's value.
func (SkipWaitTimeForInstanceTerminationInput) String ¶
func (s SkipWaitTimeForInstanceTerminationInput) String() string
String returns the string representation
type SkipWaitTimeForInstanceTerminationOutput ¶
type SkipWaitTimeForInstanceTerminationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTerminationOutput
func (SkipWaitTimeForInstanceTerminationOutput) GoString ¶
func (s SkipWaitTimeForInstanceTerminationOutput) GoString() string
GoString returns the string representation
func (SkipWaitTimeForInstanceTerminationOutput) SDKResponseMetadata ¶
func (s SkipWaitTimeForInstanceTerminationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (SkipWaitTimeForInstanceTerminationOutput) String ¶
func (s SkipWaitTimeForInstanceTerminationOutput) String() string
String returns the string representation
type SkipWaitTimeForInstanceTerminationRequest ¶
type SkipWaitTimeForInstanceTerminationRequest struct { *aws.Request Input *SkipWaitTimeForInstanceTerminationInput }
SkipWaitTimeForInstanceTerminationRequest is a API request type for the SkipWaitTimeForInstanceTermination API operation.
func (SkipWaitTimeForInstanceTerminationRequest) Send ¶
func (r SkipWaitTimeForInstanceTerminationRequest) Send() (*SkipWaitTimeForInstanceTerminationOutput, error)
Send marshals and sends the SkipWaitTimeForInstanceTermination API request.
type StopDeploymentInput ¶
type StopDeploymentInput struct { // 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 `locationName:"autoRollbackEnabled" type:"boolean"` // The unique ID of a deployment. // // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a StopDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentInput
func (StopDeploymentInput) GoString ¶
func (s StopDeploymentInput) GoString() string
GoString returns the string representation
func (*StopDeploymentInput) SetAutoRollbackEnabled ¶
func (s *StopDeploymentInput) SetAutoRollbackEnabled(v bool) *StopDeploymentInput
SetAutoRollbackEnabled sets the AutoRollbackEnabled field's value.
func (*StopDeploymentInput) SetDeploymentId ¶
func (s *StopDeploymentInput) SetDeploymentId(v string) *StopDeploymentInput
SetDeploymentId sets the DeploymentId field's value.
func (StopDeploymentInput) String ¶
func (s StopDeploymentInput) String() string
String returns the string representation
func (*StopDeploymentInput) Validate ¶
func (s *StopDeploymentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 StopStatus `locationName:"status" type:"string" enum:"true"` // An accompanying status message. StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
Represents the output of a StopDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentOutput
func (StopDeploymentOutput) GoString ¶
func (s StopDeploymentOutput) GoString() string
GoString returns the string representation
func (StopDeploymentOutput) SDKResponseMetadata ¶
func (s StopDeploymentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*StopDeploymentOutput) SetStatus ¶
func (s *StopDeploymentOutput) SetStatus(v StopStatus) *StopDeploymentOutput
SetStatus sets the Status field's value.
func (*StopDeploymentOutput) SetStatusMessage ¶
func (s *StopDeploymentOutput) SetStatusMessage(v string) *StopDeploymentOutput
SetStatusMessage sets the StatusMessage field's value.
func (StopDeploymentOutput) String ¶
func (s StopDeploymentOutput) String() string
String returns the string representation
type StopDeploymentRequest ¶
type StopDeploymentRequest struct { *aws.Request Input *StopDeploymentInput }
StopDeploymentRequest is a API request type for the StopDeployment API operation.
func (StopDeploymentRequest) Send ¶
func (r StopDeploymentRequest) Send() (*StopDeploymentOutput, error)
Send marshals and sends the StopDeployment API request.
type StopStatus ¶
type StopStatus string
const ( StopStatusPending StopStatus = "Pending" StopStatusSucceeded StopStatus = "Succeeded" )
Enum values for StopStatus
type Tag ¶
type Tag struct { // The tag's key. Key *string `type:"string"` // The tag's value. Value *string `type:"string"` // contains filtered or unexported fields }
Information about a tag. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Tag
type TagFilter ¶
type TagFilter struct { // The on-premises instance tag filter key. Key *string `type:"string"` // The on-premises instance tag filter type: // // * KEY_ONLY: Key only. // // * VALUE_ONLY: Value only. // // * KEY_AND_VALUE: Key and value. Type TagFilterType `type:"string" enum:"true"` // The on-premises instance tag filter value. Value *string `type:"string"` // contains filtered or unexported fields }
Information about an on-premises instance tag filter. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagFilter
func (*TagFilter) SetType ¶
func (s *TagFilter) SetType(v TagFilterType) *TagFilter
SetType sets the Type field's value.
type TagFilterType ¶
type TagFilterType string
const ( TagFilterTypeKeyOnly TagFilterType = "KEY_ONLY" TagFilterTypeValueOnly TagFilterType = "VALUE_ONLY" TagFilterTypeKeyAndValue TagFilterType = "KEY_AND_VALUE" )
Enum values for TagFilterType
type TargetGroupInfo ¶
type TargetGroupInfo struct { // For blue/green deployments, the name of the target group that instances in // the original environment are deregistered from, and instances in the replacement // environment registered with. For in-place deployments, the name of the target // group that instances are deregistered from, so they are not serving traffic // during a deployment, and then re-registered with after the deployment completes. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Information about a target group in Elastic Load Balancing to use in a deployment. Instances are registered as targets in a target group, and traffic is routed to the target group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetGroupInfo
func (TargetGroupInfo) GoString ¶
func (s TargetGroupInfo) GoString() string
GoString returns the string representation
func (*TargetGroupInfo) SetName ¶
func (s *TargetGroupInfo) SetName(v string) *TargetGroupInfo
SetName sets the Name field's value.
func (TargetGroupInfo) String ¶
func (s TargetGroupInfo) String() string
String returns the string representation
type TargetInstances ¶
type TargetInstances struct { // The names of one or more Auto Scaling groups to identify a replacement environment // for a blue/green deployment. AutoScalingGroups []string `locationName:"autoScalingGroups" type:"list"` // Information about the groups of EC2 instance tags that an instance must be // identified by in order for it to be included in the replacement environment // for a blue/green deployment. Cannot be used in the same call as tagFilters. Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"` // The tag filter key, type, and value used to identify Amazon EC2 instances // in a replacement environment for a blue/green deployment. Cannot be used // in the same call as ec2TagSet. TagFilters []EC2TagFilter `locationName:"tagFilters" type:"list"` // contains filtered or unexported fields }
Information about the instances to be used in the replacement environment in a blue/green deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetInstances
func (TargetInstances) GoString ¶
func (s TargetInstances) GoString() string
GoString returns the string representation
func (*TargetInstances) SetAutoScalingGroups ¶
func (s *TargetInstances) SetAutoScalingGroups(v []string) *TargetInstances
SetAutoScalingGroups sets the AutoScalingGroups field's value.
func (*TargetInstances) SetEc2TagSet ¶
func (s *TargetInstances) SetEc2TagSet(v *EC2TagSet) *TargetInstances
SetEc2TagSet sets the Ec2TagSet field's value.
func (*TargetInstances) SetTagFilters ¶
func (s *TargetInstances) SetTagFilters(v []EC2TagFilter) *TargetInstances
SetTagFilters sets the TagFilters field's value.
func (TargetInstances) String ¶
func (s TargetInstances) String() string
String returns the string representation
type TimeBasedCanary ¶ added in v0.2.0
type TimeBasedCanary struct { // The number of minutes between the first and second traffic shifts of a TimeBasedCanary // deployment. CanaryInterval *int64 `locationName:"canaryInterval" type:"integer"` // The percentage of traffic to shift in the first increment of a TimeBasedCanary // deployment. CanaryPercentage *int64 `locationName:"canaryPercentage" type:"integer"` // contains filtered or unexported fields }
A configuration that shifts traffic from one version of a Lambda function to another in two increments. The original and target Lambda function versions are specified in the deployment's AppSpec file. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TimeBasedCanary
func (TimeBasedCanary) GoString ¶ added in v0.2.0
func (s TimeBasedCanary) GoString() string
GoString returns the string representation
func (*TimeBasedCanary) SetCanaryInterval ¶ added in v0.2.0
func (s *TimeBasedCanary) SetCanaryInterval(v int64) *TimeBasedCanary
SetCanaryInterval sets the CanaryInterval field's value.
func (*TimeBasedCanary) SetCanaryPercentage ¶ added in v0.2.0
func (s *TimeBasedCanary) SetCanaryPercentage(v int64) *TimeBasedCanary
SetCanaryPercentage sets the CanaryPercentage field's value.
func (TimeBasedCanary) String ¶ added in v0.2.0
func (s TimeBasedCanary) String() string
String returns the string representation
type TimeBasedLinear ¶ added in v0.2.0
type TimeBasedLinear struct { // The number of minutes between each incremental traffic shift of a TimeBasedLinear // deployment. LinearInterval *int64 `locationName:"linearInterval" type:"integer"` // The percentage of traffic that is shifted at the start of each increment // of a TimeBasedLinear deployment. LinearPercentage *int64 `locationName:"linearPercentage" type:"integer"` // contains filtered or unexported fields }
A configuration that shifts traffic from one version of a Lambda function to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions are specified in the deployment's AppSpec file. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TimeBasedLinear
func (TimeBasedLinear) GoString ¶ added in v0.2.0
func (s TimeBasedLinear) GoString() string
GoString returns the string representation
func (*TimeBasedLinear) SetLinearInterval ¶ added in v0.2.0
func (s *TimeBasedLinear) SetLinearInterval(v int64) *TimeBasedLinear
SetLinearInterval sets the LinearInterval field's value.
func (*TimeBasedLinear) SetLinearPercentage ¶ added in v0.2.0
func (s *TimeBasedLinear) SetLinearPercentage(v int64) *TimeBasedLinear
SetLinearPercentage sets the LinearPercentage field's value.
func (TimeBasedLinear) String ¶ added in v0.2.0
func (s TimeBasedLinear) String() string
String returns the string representation
type TimeRange ¶
type TimeRange struct { // The end time of the time range. // // Specify null to leave the end time open-ended. End *time.Time `locationName:"end" type:"timestamp" timestampFormat:"unix"` // The start time of the time range. // // Specify null to leave the start time open-ended. Start *time.Time `locationName:"start" type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Information about a time range. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TimeRange
type TrafficRoutingConfig ¶ added in v0.2.0
type TrafficRoutingConfig struct { // A configuration that shifts traffic from one version of a Lambda function // to another in two increments. The original and target Lambda function versions // are specified in the deployment's AppSpec file. TimeBasedCanary *TimeBasedCanary `locationName:"timeBasedCanary" type:"structure"` // A configuration that shifts traffic from one version of a Lambda function // to another in equal increments, with an equal number of minutes between each // increment. The original and target Lambda function versions are specified // in the deployment's AppSpec file. TimeBasedLinear *TimeBasedLinear `locationName:"timeBasedLinear" type:"structure"` // The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by // a deployment configuration . Type TrafficRoutingType `locationName:"type" type:"string" enum:"true"` // contains filtered or unexported fields }
The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an AWS Lambda deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TrafficRoutingConfig
func (TrafficRoutingConfig) GoString ¶ added in v0.2.0
func (s TrafficRoutingConfig) GoString() string
GoString returns the string representation
func (*TrafficRoutingConfig) SetTimeBasedCanary ¶ added in v0.2.0
func (s *TrafficRoutingConfig) SetTimeBasedCanary(v *TimeBasedCanary) *TrafficRoutingConfig
SetTimeBasedCanary sets the TimeBasedCanary field's value.
func (*TrafficRoutingConfig) SetTimeBasedLinear ¶ added in v0.2.0
func (s *TrafficRoutingConfig) SetTimeBasedLinear(v *TimeBasedLinear) *TrafficRoutingConfig
SetTimeBasedLinear sets the TimeBasedLinear field's value.
func (*TrafficRoutingConfig) SetType ¶ added in v0.2.0
func (s *TrafficRoutingConfig) SetType(v TrafficRoutingType) *TrafficRoutingConfig
SetType sets the Type field's value.
func (TrafficRoutingConfig) String ¶ added in v0.2.0
func (s TrafficRoutingConfig) String() string
String returns the string representation
type TrafficRoutingType ¶ added in v0.2.0
type TrafficRoutingType string
const ( TrafficRoutingTypeTimeBasedCanary TrafficRoutingType = "TimeBasedCanary" TrafficRoutingTypeTimeBasedLinear TrafficRoutingType = "TimeBasedLinear" TrafficRoutingTypeAllAtOnce TrafficRoutingType = "AllAtOnce" )
Enum values for TrafficRoutingType
type TriggerConfig ¶
type TriggerConfig struct { // The event type or types for which notifications are triggered. TriggerEvents []TriggerEventType `locationName:"triggerEvents" type:"list"` // The name of the notification trigger. TriggerName *string `locationName:"triggerName" type:"string"` // The ARN of the Amazon Simple Notification Service topic through which notifications // about deployment or instance events are sent. TriggerTargetArn *string `locationName:"triggerTargetArn" type:"string"` // contains filtered or unexported fields }
Information about notification triggers for the deployment group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TriggerConfig
func (TriggerConfig) GoString ¶
func (s TriggerConfig) GoString() string
GoString returns the string representation
func (*TriggerConfig) SetTriggerEvents ¶
func (s *TriggerConfig) SetTriggerEvents(v []TriggerEventType) *TriggerConfig
SetTriggerEvents sets the TriggerEvents field's value.
func (*TriggerConfig) SetTriggerName ¶
func (s *TriggerConfig) SetTriggerName(v string) *TriggerConfig
SetTriggerName sets the TriggerName field's value.
func (*TriggerConfig) SetTriggerTargetArn ¶
func (s *TriggerConfig) SetTriggerTargetArn(v string) *TriggerConfig
SetTriggerTargetArn sets the TriggerTargetArn field's value.
func (TriggerConfig) String ¶
func (s TriggerConfig) String() string
String returns the string representation
type TriggerEventType ¶
type TriggerEventType string
const ( TriggerEventTypeDeploymentStart TriggerEventType = "DeploymentStart" TriggerEventTypeDeploymentSuccess TriggerEventType = "DeploymentSuccess" TriggerEventTypeDeploymentFailure TriggerEventType = "DeploymentFailure" TriggerEventTypeDeploymentStop TriggerEventType = "DeploymentStop" TriggerEventTypeDeploymentRollback TriggerEventType = "DeploymentRollback" TriggerEventTypeDeploymentReady TriggerEventType = "DeploymentReady" TriggerEventTypeInstanceStart TriggerEventType = "InstanceStart" TriggerEventTypeInstanceSuccess TriggerEventType = "InstanceSuccess" TriggerEventTypeInstanceFailure TriggerEventType = "InstanceFailure" TriggerEventTypeInstanceReady TriggerEventType = "InstanceReady" )
Enum values for TriggerEventType
type UpdateApplicationInput ¶
type UpdateApplicationInput struct { // The current name of the application you want to change. ApplicationName *string `locationName:"applicationName" min:"1" type:"string"` // The new name to give the application. NewApplicationName *string `locationName:"newApplicationName" min:"1" type:"string"` // contains filtered or unexported fields }
Represents the input of an UpdateApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationInput
func (UpdateApplicationInput) GoString ¶
func (s UpdateApplicationInput) GoString() string
GoString returns the string representation
func (*UpdateApplicationInput) SetApplicationName ¶
func (s *UpdateApplicationInput) SetApplicationName(v string) *UpdateApplicationInput
SetApplicationName sets the ApplicationName field's value.
func (*UpdateApplicationInput) SetNewApplicationName ¶
func (s *UpdateApplicationInput) SetNewApplicationName(v string) *UpdateApplicationInput
SetNewApplicationName sets the NewApplicationName field's value.
func (UpdateApplicationInput) String ¶
func (s UpdateApplicationInput) String() string
String returns the string representation
func (*UpdateApplicationInput) Validate ¶
func (s *UpdateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApplicationOutput ¶
type UpdateApplicationOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationOutput
func (UpdateApplicationOutput) GoString ¶
func (s UpdateApplicationOutput) GoString() string
GoString returns the string representation
func (UpdateApplicationOutput) SDKResponseMetadata ¶
func (s UpdateApplicationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateApplicationOutput) String ¶
func (s UpdateApplicationOutput) String() string
String returns the string representation
type UpdateApplicationRequest ¶
type UpdateApplicationRequest struct { *aws.Request Input *UpdateApplicationInput }
UpdateApplicationRequest is a API request type for the UpdateApplication API operation.
func (UpdateApplicationRequest) Send ¶
func (r UpdateApplicationRequest) Send() (*UpdateApplicationOutput, error)
Send marshals and sends the UpdateApplication API request.
type UpdateDeploymentGroupInput ¶
type UpdateDeploymentGroupInput struct { // Information to add or change about Amazon CloudWatch alarms when the deployment // group is updated. AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"` // The application name corresponding to the deployment group to update. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Information for an automatic rollback configuration that is added or changed // when a deployment group is updated. AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"` // 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 `locationName:"autoScalingGroups" type:"list"` // Information about blue/green deployment options for a deployment group. BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"` // The current name of the deployment group. // // CurrentDeploymentGroupName is a required field CurrentDeploymentGroupName *string `locationName:"currentDeploymentGroupName" min:"1" type:"string" required:"true"` // The replacement deployment configuration name to use, if you want to change // it. DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"` // 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 *DeploymentStyle `locationName:"deploymentStyle" type:"structure"` // 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 []EC2TagFilter `locationName:"ec2TagFilters" type:"list"` // Information about groups of tags applied to on-premises instances. The deployment // group will include only EC2 instances identified by all the tag groups. Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"` // Information about the load balancer used in a deployment. LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"` // The new name of the deployment group, if you want to change it. NewDeploymentGroupName *string `locationName:"newDeploymentGroupName" min:"1" type:"string"` // 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 []TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"` // Information about an on-premises instance tag set. The deployment group will // include only on-premises instances identified by all the tag groups. OnPremisesTagSet *OnPremisesTagSet `locationName:"onPremisesTagSet" type:"structure"` // A replacement ARN for the service role, if you want to change it. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // Information about triggers to change when the deployment group is updated. // For examples, see Modify Triggers in an AWS CodeDeploy Deployment Group (http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html) // in the AWS CodeDeploy User Guide. TriggerConfigurations []TriggerConfig `locationName:"triggerConfigurations" type:"list"` // contains filtered or unexported fields }
Represents the input of an UpdateDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupInput
func (UpdateDeploymentGroupInput) GoString ¶
func (s UpdateDeploymentGroupInput) GoString() string
GoString returns the string representation
func (*UpdateDeploymentGroupInput) SetAlarmConfiguration ¶
func (s *UpdateDeploymentGroupInput) SetAlarmConfiguration(v *AlarmConfiguration) *UpdateDeploymentGroupInput
SetAlarmConfiguration sets the AlarmConfiguration field's value.
func (*UpdateDeploymentGroupInput) SetApplicationName ¶
func (s *UpdateDeploymentGroupInput) SetApplicationName(v string) *UpdateDeploymentGroupInput
SetApplicationName sets the ApplicationName field's value.
func (*UpdateDeploymentGroupInput) SetAutoRollbackConfiguration ¶
func (s *UpdateDeploymentGroupInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *UpdateDeploymentGroupInput
SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
func (*UpdateDeploymentGroupInput) SetAutoScalingGroups ¶
func (s *UpdateDeploymentGroupInput) SetAutoScalingGroups(v []string) *UpdateDeploymentGroupInput
SetAutoScalingGroups sets the AutoScalingGroups field's value.
func (*UpdateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration ¶
func (s *UpdateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *UpdateDeploymentGroupInput
SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.
func (*UpdateDeploymentGroupInput) SetCurrentDeploymentGroupName ¶
func (s *UpdateDeploymentGroupInput) SetCurrentDeploymentGroupName(v string) *UpdateDeploymentGroupInput
SetCurrentDeploymentGroupName sets the CurrentDeploymentGroupName field's value.
func (*UpdateDeploymentGroupInput) SetDeploymentConfigName ¶
func (s *UpdateDeploymentGroupInput) SetDeploymentConfigName(v string) *UpdateDeploymentGroupInput
SetDeploymentConfigName sets the DeploymentConfigName field's value.
func (*UpdateDeploymentGroupInput) SetDeploymentStyle ¶
func (s *UpdateDeploymentGroupInput) SetDeploymentStyle(v *DeploymentStyle) *UpdateDeploymentGroupInput
SetDeploymentStyle sets the DeploymentStyle field's value.
func (*UpdateDeploymentGroupInput) SetEc2TagFilters ¶
func (s *UpdateDeploymentGroupInput) SetEc2TagFilters(v []EC2TagFilter) *UpdateDeploymentGroupInput
SetEc2TagFilters sets the Ec2TagFilters field's value.
func (*UpdateDeploymentGroupInput) SetEc2TagSet ¶
func (s *UpdateDeploymentGroupInput) SetEc2TagSet(v *EC2TagSet) *UpdateDeploymentGroupInput
SetEc2TagSet sets the Ec2TagSet field's value.
func (*UpdateDeploymentGroupInput) SetLoadBalancerInfo ¶
func (s *UpdateDeploymentGroupInput) SetLoadBalancerInfo(v *LoadBalancerInfo) *UpdateDeploymentGroupInput
SetLoadBalancerInfo sets the LoadBalancerInfo field's value.
func (*UpdateDeploymentGroupInput) SetNewDeploymentGroupName ¶
func (s *UpdateDeploymentGroupInput) SetNewDeploymentGroupName(v string) *UpdateDeploymentGroupInput
SetNewDeploymentGroupName sets the NewDeploymentGroupName field's value.
func (*UpdateDeploymentGroupInput) SetOnPremisesInstanceTagFilters ¶
func (s *UpdateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []TagFilter) *UpdateDeploymentGroupInput
SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.
func (*UpdateDeploymentGroupInput) SetOnPremisesTagSet ¶
func (s *UpdateDeploymentGroupInput) SetOnPremisesTagSet(v *OnPremisesTagSet) *UpdateDeploymentGroupInput
SetOnPremisesTagSet sets the OnPremisesTagSet field's value.
func (*UpdateDeploymentGroupInput) SetServiceRoleArn ¶
func (s *UpdateDeploymentGroupInput) SetServiceRoleArn(v string) *UpdateDeploymentGroupInput
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (*UpdateDeploymentGroupInput) SetTriggerConfigurations ¶
func (s *UpdateDeploymentGroupInput) SetTriggerConfigurations(v []TriggerConfig) *UpdateDeploymentGroupInput
SetTriggerConfigurations sets the TriggerConfigurations field's value.
func (UpdateDeploymentGroupInput) String ¶
func (s UpdateDeploymentGroupInput) String() string
String returns the string representation
func (*UpdateDeploymentGroupInput) Validate ¶
func (s *UpdateDeploymentGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 []AutoScalingGroup `locationName:"hooksNotCleanedUp" type:"list"` // contains filtered or unexported fields }
Represents the output of an UpdateDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupOutput
func (UpdateDeploymentGroupOutput) GoString ¶
func (s UpdateDeploymentGroupOutput) GoString() string
GoString returns the string representation
func (UpdateDeploymentGroupOutput) SDKResponseMetadata ¶
func (s UpdateDeploymentGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateDeploymentGroupOutput) SetHooksNotCleanedUp ¶
func (s *UpdateDeploymentGroupOutput) SetHooksNotCleanedUp(v []AutoScalingGroup) *UpdateDeploymentGroupOutput
SetHooksNotCleanedUp sets the HooksNotCleanedUp field's value.
func (UpdateDeploymentGroupOutput) String ¶
func (s UpdateDeploymentGroupOutput) String() string
String returns the string representation
type UpdateDeploymentGroupRequest ¶
type UpdateDeploymentGroupRequest struct { *aws.Request Input *UpdateDeploymentGroupInput }
UpdateDeploymentGroupRequest is a API request type for the UpdateDeploymentGroup API operation.
func (UpdateDeploymentGroupRequest) Send ¶
func (r UpdateDeploymentGroupRequest) Send() (*UpdateDeploymentGroupOutput, error)
Send marshals and sends the UpdateDeploymentGroup API request.
Directories ¶
Path | Synopsis |
---|---|
Package codedeployiface provides an interface to enable mocking the AWS CodeDeploy service client for testing your code.
|
Package codedeployiface provides an interface to enable mocking the AWS CodeDeploy service client for testing your code. |