Documentation ¶
Overview ¶
Package codedeploy provides the client and types for making API requests to CodeDeploy.
AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances running in your own facility, serverless AWS Lambda functions, or applications in an Amazon ECS service.
You can deploy a nearly unlimited variety of application content, such as an updated Lambda function, updated applications in an Amazon ECS service, code, web and configuration files, executables, packages, scripts, multimedia files, and so on. AWS CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes to your existing code before you can use AWS CodeDeploy.
AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications, without many of the risks associated with error-prone manual deployments.
AWS CodeDeploy Components ¶
Use the information in this guide to help you work with the following AWS CodeDeploy components:
Application: A name that uniquely identifies the application you want to deploy. AWS CodeDeploy uses this name, which functions as a container, to ensure the correct combination of revision, deployment configuration, and deployment group are referenced during a deployment.
Deployment group: A set of individual instances, CodeDeploy Lambda deployment configuration settings, or an Amazon ECS service and network details. A Lambda deployment group specifies how to route traffic to a new version of a Lambda function. An Amazon ECS deployment group specifies the service created in Amazon ECS to deploy, a load balancer, and a listener to reroute production traffic to an updated containerized application. An EC2/On-premises deployment group contains individually tagged instances, Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All deployment groups can specify optional trigger, alarm, and rollback settings.
Deployment configuration: A set of deployment rules and deployment success and failure conditions used by AWS CodeDeploy during a deployment.
Deployment: The process and the components used when updating a Lambda function, a containerized application in an Amazon ECS service, or of installing content on one or more instances.
Application revisions: For an AWS Lambda deployment, this is an AppSpec file that specifies the Lambda function to be updated and one or more functions to validate deployment lifecycle events. For an Amazon ECS deployment, this is an AppSpec file that specifies the Amazon ECS task definition, container, and port where production traffic is rerouted. For an EC2/On-premises deployment, this is an archive file that contains source content—source code, webpages, executable files, and deployment scripts—along with an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For GitHub, a revision is uniquely identified by its commit ID.
This guide also contains information to help you get details about the instances in your deployments, to make on-premises instances available for AWS CodeDeploy deployments, to get details about a Lambda function deployment, and to get details about Amazon ECS service deployments.
AWS CodeDeploy Information Resources
AWS CodeDeploy User Guide (https://docs.aws.amazon.com/codedeploy/latest/userguide)
AWS CodeDeploy API Reference Guide (https://docs.aws.amazon.com/codedeploy/latest/APIReference/)
AWS CLI Reference for AWS CodeDeploy (https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html)
AWS CodeDeploy Developer Forum (https://forums.aws.amazon.com/forum.jspa?forumID=179)
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 use 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 CodeDeploy client 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
- type AddTagsToOnPremisesInstancesOutput
- type AddTagsToOnPremisesInstancesRequest
- type AddTagsToOnPremisesInstancesResponse
- type Alarm
- type AlarmConfiguration
- type AppSpecContent
- type ApplicationInfo
- type ApplicationRevisionSortBy
- type AutoRollbackConfiguration
- type AutoRollbackEvent
- type AutoScalingGroup
- type BatchGetApplicationRevisionsInput
- type BatchGetApplicationRevisionsOutput
- type BatchGetApplicationRevisionsRequest
- type BatchGetApplicationRevisionsResponse
- type BatchGetApplicationsInput
- type BatchGetApplicationsOutput
- type BatchGetApplicationsRequest
- type BatchGetApplicationsResponse
- type BatchGetDeploymentGroupsInput
- type BatchGetDeploymentGroupsOutput
- type BatchGetDeploymentGroupsRequest
- type BatchGetDeploymentGroupsResponse
- type BatchGetDeploymentInstancesInput
- type BatchGetDeploymentInstancesOutput
- type BatchGetDeploymentInstancesRequest
- type BatchGetDeploymentInstancesResponse
- type BatchGetDeploymentTargetsInput
- type BatchGetDeploymentTargetsOutput
- type BatchGetDeploymentTargetsRequest
- type BatchGetDeploymentTargetsResponse
- type BatchGetDeploymentsInput
- type BatchGetDeploymentsOutput
- type BatchGetDeploymentsRequest
- type BatchGetDeploymentsResponse
- type BatchGetOnPremisesInstancesInput
- type BatchGetOnPremisesInstancesOutput
- type BatchGetOnPremisesInstancesRequest
- type BatchGetOnPremisesInstancesResponse
- type BlueGreenDeploymentConfiguration
- type BlueInstanceTerminationOption
- type BundleType
- type Client
- func (c *Client) AddTagsToOnPremisesInstancesRequest(input *AddTagsToOnPremisesInstancesInput) AddTagsToOnPremisesInstancesRequest
- func (c *Client) BatchGetApplicationRevisionsRequest(input *BatchGetApplicationRevisionsInput) BatchGetApplicationRevisionsRequest
- func (c *Client) BatchGetApplicationsRequest(input *BatchGetApplicationsInput) BatchGetApplicationsRequest
- func (c *Client) BatchGetDeploymentGroupsRequest(input *BatchGetDeploymentGroupsInput) BatchGetDeploymentGroupsRequest
- func (c *Client) BatchGetDeploymentInstancesRequest(input *BatchGetDeploymentInstancesInput) BatchGetDeploymentInstancesRequest
- func (c *Client) BatchGetDeploymentTargetsRequest(input *BatchGetDeploymentTargetsInput) BatchGetDeploymentTargetsRequest
- func (c *Client) BatchGetDeploymentsRequest(input *BatchGetDeploymentsInput) BatchGetDeploymentsRequest
- func (c *Client) BatchGetOnPremisesInstancesRequest(input *BatchGetOnPremisesInstancesInput) BatchGetOnPremisesInstancesRequest
- func (c *Client) ContinueDeploymentRequest(input *ContinueDeploymentInput) ContinueDeploymentRequest
- func (c *Client) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest
- func (c *Client) CreateDeploymentConfigRequest(input *CreateDeploymentConfigInput) CreateDeploymentConfigRequest
- func (c *Client) CreateDeploymentGroupRequest(input *CreateDeploymentGroupInput) CreateDeploymentGroupRequest
- func (c *Client) CreateDeploymentRequest(input *CreateDeploymentInput) CreateDeploymentRequest
- func (c *Client) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest
- func (c *Client) DeleteDeploymentConfigRequest(input *DeleteDeploymentConfigInput) DeleteDeploymentConfigRequest
- func (c *Client) DeleteDeploymentGroupRequest(input *DeleteDeploymentGroupInput) DeleteDeploymentGroupRequest
- func (c *Client) DeleteGitHubAccountTokenRequest(input *DeleteGitHubAccountTokenInput) DeleteGitHubAccountTokenRequest
- func (c *Client) DeregisterOnPremisesInstanceRequest(input *DeregisterOnPremisesInstanceInput) DeregisterOnPremisesInstanceRequest
- func (c *Client) GetApplicationRequest(input *GetApplicationInput) GetApplicationRequest
- func (c *Client) GetApplicationRevisionRequest(input *GetApplicationRevisionInput) GetApplicationRevisionRequest
- func (c *Client) GetDeploymentConfigRequest(input *GetDeploymentConfigInput) GetDeploymentConfigRequest
- func (c *Client) GetDeploymentGroupRequest(input *GetDeploymentGroupInput) GetDeploymentGroupRequest
- func (c *Client) GetDeploymentInstanceRequest(input *GetDeploymentInstanceInput) GetDeploymentInstanceRequest
- func (c *Client) GetDeploymentRequest(input *GetDeploymentInput) GetDeploymentRequest
- func (c *Client) GetDeploymentTargetRequest(input *GetDeploymentTargetInput) GetDeploymentTargetRequest
- func (c *Client) GetOnPremisesInstanceRequest(input *GetOnPremisesInstanceInput) GetOnPremisesInstanceRequest
- func (c *Client) ListApplicationRevisionsRequest(input *ListApplicationRevisionsInput) ListApplicationRevisionsRequest
- func (c *Client) ListApplicationsRequest(input *ListApplicationsInput) ListApplicationsRequest
- func (c *Client) ListDeploymentConfigsRequest(input *ListDeploymentConfigsInput) ListDeploymentConfigsRequest
- func (c *Client) ListDeploymentGroupsRequest(input *ListDeploymentGroupsInput) ListDeploymentGroupsRequest
- func (c *Client) ListDeploymentInstancesRequest(input *ListDeploymentInstancesInput) ListDeploymentInstancesRequest
- func (c *Client) ListDeploymentTargetsRequest(input *ListDeploymentTargetsInput) ListDeploymentTargetsRequest
- func (c *Client) ListDeploymentsRequest(input *ListDeploymentsInput) ListDeploymentsRequest
- func (c *Client) ListGitHubAccountTokenNamesRequest(input *ListGitHubAccountTokenNamesInput) ListGitHubAccountTokenNamesRequest
- func (c *Client) ListOnPremisesInstancesRequest(input *ListOnPremisesInstancesInput) ListOnPremisesInstancesRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) PutLifecycleEventHookExecutionStatusRequest(input *PutLifecycleEventHookExecutionStatusInput) PutLifecycleEventHookExecutionStatusRequest
- func (c *Client) RegisterApplicationRevisionRequest(input *RegisterApplicationRevisionInput) RegisterApplicationRevisionRequest
- func (c *Client) RegisterOnPremisesInstanceRequest(input *RegisterOnPremisesInstanceInput) RegisterOnPremisesInstanceRequest
- func (c *Client) RemoveTagsFromOnPremisesInstancesRequest(input *RemoveTagsFromOnPremisesInstancesInput) RemoveTagsFromOnPremisesInstancesRequest
- func (c *Client) SkipWaitTimeForInstanceTerminationRequest(input *SkipWaitTimeForInstanceTerminationInput) SkipWaitTimeForInstanceTerminationRequest
- func (c *Client) StopDeploymentRequest(input *StopDeploymentInput) StopDeploymentRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest
- func (c *Client) UpdateDeploymentGroupRequest(input *UpdateDeploymentGroupInput) UpdateDeploymentGroupRequest
- func (c *Client) WaitUntilDeploymentSuccessful(ctx context.Context, input *GetDeploymentInput, opts ...aws.WaiterOption) error
- type ComputePlatform
- type ContinueDeploymentInput
- type ContinueDeploymentOutput
- type ContinueDeploymentRequest
- type ContinueDeploymentResponse
- type CreateApplicationInput
- type CreateApplicationOutput
- type CreateApplicationRequest
- type CreateApplicationResponse
- type CreateDeploymentConfigInput
- type CreateDeploymentConfigOutput
- type CreateDeploymentConfigRequest
- type CreateDeploymentConfigResponse
- type CreateDeploymentGroupInput
- type CreateDeploymentGroupOutput
- type CreateDeploymentGroupRequest
- type CreateDeploymentGroupResponse
- type CreateDeploymentInput
- type CreateDeploymentOutput
- type CreateDeploymentRequest
- type CreateDeploymentResponse
- type DeleteApplicationInput
- type DeleteApplicationOutput
- type DeleteApplicationRequest
- type DeleteApplicationResponse
- type DeleteDeploymentConfigInput
- type DeleteDeploymentConfigOutput
- type DeleteDeploymentConfigRequest
- type DeleteDeploymentConfigResponse
- type DeleteDeploymentGroupInput
- type DeleteDeploymentGroupOutput
- type DeleteDeploymentGroupRequest
- type DeleteDeploymentGroupResponse
- type DeleteGitHubAccountTokenInput
- type DeleteGitHubAccountTokenOutput
- type DeleteGitHubAccountTokenRequest
- type DeleteGitHubAccountTokenResponse
- type DeploymentConfigInfo
- type DeploymentCreator
- type DeploymentGroupInfo
- type DeploymentInfo
- type DeploymentOption
- type DeploymentOverview
- type DeploymentReadyAction
- type DeploymentReadyOption
- type DeploymentStatus
- type DeploymentStyle
- type DeploymentTarget
- type DeploymentTargetType
- type DeploymentType
- type DeploymentWaitType
- type DeregisterOnPremisesInstanceInput
- type DeregisterOnPremisesInstanceOutput
- type DeregisterOnPremisesInstanceRequest
- type DeregisterOnPremisesInstanceResponse
- type Diagnostics
- type EC2TagFilter
- type EC2TagFilterType
- type EC2TagSet
- type ECSService
- type ECSTarget
- type ECSTaskSet
- type ELBInfo
- type ErrorCode
- type ErrorInformation
- type FileExistsBehavior
- type GenericRevisionInfo
- type GetApplicationInput
- type GetApplicationOutput
- type GetApplicationRequest
- type GetApplicationResponse
- type GetApplicationRevisionInput
- type GetApplicationRevisionOutput
- type GetApplicationRevisionRequest
- type GetApplicationRevisionResponse
- type GetDeploymentConfigInput
- type GetDeploymentConfigOutput
- type GetDeploymentConfigRequest
- type GetDeploymentConfigResponse
- type GetDeploymentGroupInput
- type GetDeploymentGroupOutput
- type GetDeploymentGroupRequest
- type GetDeploymentGroupResponse
- type GetDeploymentInput
- type GetDeploymentInstanceInput
- type GetDeploymentInstanceOutput
- type GetDeploymentInstanceRequest
- type GetDeploymentInstanceResponse
- type GetDeploymentOutput
- type GetDeploymentRequest
- type GetDeploymentResponse
- type GetDeploymentTargetInput
- type GetDeploymentTargetOutput
- type GetDeploymentTargetRequest
- type GetDeploymentTargetResponse
- type GetOnPremisesInstanceInput
- type GetOnPremisesInstanceOutput
- type GetOnPremisesInstanceRequest
- type GetOnPremisesInstanceResponse
- type GitHubLocation
- type GreenFleetProvisioningAction
- type GreenFleetProvisioningOption
- type InstanceAction
- type InstanceInfo
- type InstanceStatus
- type InstanceSummary
- type InstanceTarget
- type InstanceType
- type LambdaFunctionInfo
- type LambdaTarget
- type LastDeploymentInfo
- type LifecycleErrorCode
- type LifecycleEvent
- type LifecycleEventStatus
- type ListApplicationRevisionsInput
- type ListApplicationRevisionsOutput
- type ListApplicationRevisionsPaginator
- type ListApplicationRevisionsRequest
- type ListApplicationRevisionsResponse
- type ListApplicationsInput
- type ListApplicationsOutput
- type ListApplicationsPaginator
- type ListApplicationsRequest
- type ListApplicationsResponse
- type ListDeploymentConfigsInput
- type ListDeploymentConfigsOutput
- type ListDeploymentConfigsPaginator
- type ListDeploymentConfigsRequest
- type ListDeploymentConfigsResponse
- type ListDeploymentGroupsInput
- type ListDeploymentGroupsOutput
- type ListDeploymentGroupsPaginator
- type ListDeploymentGroupsRequest
- type ListDeploymentGroupsResponse
- type ListDeploymentInstancesInput
- type ListDeploymentInstancesOutput
- type ListDeploymentInstancesPaginator
- type ListDeploymentInstancesRequest
- type ListDeploymentInstancesResponse
- type ListDeploymentTargetsInput
- type ListDeploymentTargetsOutput
- type ListDeploymentTargetsRequest
- type ListDeploymentTargetsResponse
- type ListDeploymentsInput
- type ListDeploymentsOutput
- type ListDeploymentsPaginator
- type ListDeploymentsRequest
- type ListDeploymentsResponse
- type ListGitHubAccountTokenNamesInput
- type ListGitHubAccountTokenNamesOutput
- type ListGitHubAccountTokenNamesRequest
- type ListGitHubAccountTokenNamesResponse
- type ListOnPremisesInstancesInput
- type ListOnPremisesInstancesOutput
- type ListOnPremisesInstancesRequest
- type ListOnPremisesInstancesResponse
- type ListStateFilterAction
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type LoadBalancerInfo
- type MinimumHealthyHosts
- type MinimumHealthyHostsType
- type OnPremisesTagSet
- type PutLifecycleEventHookExecutionStatusInput
- type PutLifecycleEventHookExecutionStatusOutput
- type PutLifecycleEventHookExecutionStatusRequest
- type PutLifecycleEventHookExecutionStatusResponse
- type RawString
- type RegisterApplicationRevisionInput
- type RegisterApplicationRevisionOutput
- type RegisterApplicationRevisionRequest
- type RegisterApplicationRevisionResponse
- type RegisterOnPremisesInstanceInput
- type RegisterOnPremisesInstanceOutput
- type RegisterOnPremisesInstanceRequest
- type RegisterOnPremisesInstanceResponse
- type RegistrationStatus
- type RemoveTagsFromOnPremisesInstancesInput
- type RemoveTagsFromOnPremisesInstancesOutput
- type RemoveTagsFromOnPremisesInstancesRequest
- type RemoveTagsFromOnPremisesInstancesResponse
- type RevisionInfo
- type RevisionLocation
- type RevisionLocationType
- type RollbackInfo
- type S3Location
- type SkipWaitTimeForInstanceTerminationInput
- type SkipWaitTimeForInstanceTerminationOutput
- type SkipWaitTimeForInstanceTerminationRequest
- type SkipWaitTimeForInstanceTerminationResponse
- type SortOrder
- type StopDeploymentInput
- type StopDeploymentOutput
- type StopDeploymentRequest
- type StopDeploymentResponse
- type StopStatus
- type Tag
- type TagFilter
- type TagFilterType
- type TagResourceInput
- type TagResourceOutput
- type TagResourceRequest
- type TagResourceResponse
- type TargetFilterName
- type TargetGroupInfo
- type TargetGroupPairInfo
- type TargetInstances
- type TargetLabel
- type TargetStatus
- type TimeBasedCanary
- type TimeBasedLinear
- type TimeRange
- type TrafficRoute
- type TrafficRoutingConfig
- type TrafficRoutingType
- type TriggerConfig
- type TriggerEventType
- type UntagResourceInput
- type UntagResourceOutput
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateApplicationInput
- type UpdateApplicationOutput
- type UpdateApplicationRequest
- type UpdateApplicationResponse
- type UpdateDeploymentGroupInput
- type UpdateDeploymentGroupOutput
- type UpdateDeploymentGroupRequest
- type UpdateDeploymentGroupResponse
Constants ¶
const ( ServiceName = "CodeDeploy" // Service's name ServiceID = "CodeDeploy" // Service's identifier EndpointsID = "codedeploy" // Service's Endpoint identifier )
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 with the IAM user or AWS account already // exists. ErrCodeApplicationAlreadyExistsException = "ApplicationAlreadyExistsException" // ErrCodeApplicationDoesNotExistException for service response error code // "ApplicationDoesNotExistException". // // The application does not exist with the 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" // ErrCodeArnNotSupportedException for service response error code // "ArnNotSupportedException". // // The specified ARN is not supported. For example, it might be an ARN for a // resource that is not expected. ErrCodeArnNotSupportedException = "ArnNotSupportedException" // 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 with the IAM user or AWS // account already exists . ErrCodeDeploymentConfigAlreadyExistsException = "DeploymentConfigAlreadyExistsException" // ErrCodeDeploymentConfigDoesNotExistException for service response error code // "DeploymentConfigDoesNotExistException". // // The deployment configuration does not exist with the 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 with the IAM user or AWS account does not exist. ErrCodeDeploymentDoesNotExistException = "DeploymentDoesNotExistException" // ErrCodeDeploymentGroupAlreadyExistsException for service response error code // "DeploymentGroupAlreadyExistsException". // // A deployment group with the specified name with the IAM user or AWS account // already exists. ErrCodeDeploymentGroupAlreadyExistsException = "DeploymentGroupAlreadyExistsException" // ErrCodeDeploymentGroupDoesNotExistException for service response error code // "DeploymentGroupDoesNotExistException". // // The named deployment group with the IAM user or AWS account does not exist. 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" // ErrCodeDeploymentTargetDoesNotExistException for service response error code // "DeploymentTargetDoesNotExistException". // // The provided target ID does not belong to the attempted deployment. ErrCodeDeploymentTargetDoesNotExistException = "DeploymentTargetDoesNotExistException" // ErrCodeDeploymentTargetIdRequiredException for service response error code // "DeploymentTargetIdRequiredException". // // A deployment target ID was not provided. ErrCodeDeploymentTargetIdRequiredException = "DeploymentTargetIdRequiredException" // ErrCodeDeploymentTargetListSizeExceededException for service response error code // "DeploymentTargetListSizeExceededException". // // The maximum number of targets that can be associated with an Amazon ECS or // AWS Lambda deployment was exceeded. The target list of both types of deployments // must have exactly one item. This exception does not apply to EC2/On-premises // deployments. ErrCodeDeploymentTargetListSizeExceededException = "DeploymentTargetListSizeExceededException" // ErrCodeDescriptionTooLongException for service response error code // "DescriptionTooLongException". // // The description is too long. ErrCodeDescriptionTooLongException = "DescriptionTooLongException" // ErrCodeECSServiceMappingLimitExceededException for service response error code // "ECSServiceMappingLimitExceededException". // // The Amazon ECS service is associated with more than one deployment groups. // An Amazon ECS service can be associated with only one deployment group. ErrCodeECSServiceMappingLimitExceededException = "ECSServiceMappingLimitExceededException" // 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 limit of 255 characters. // // * 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" // ErrCodeInvalidArnException for service response error code // "InvalidArnException". // // The specified ARN is not in a valid format. ErrCodeInvalidArnException = "InvalidArnException" // 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" // ErrCodeInvalidDeploymentTargetIdException for service response error code // "InvalidDeploymentTargetIdException". // // The target ID provided was not valid. ErrCodeInvalidDeploymentTargetIdException = "InvalidDeploymentTargetIdException" // ErrCodeInvalidDeploymentWaitTypeException for service response error code // "InvalidDeploymentWaitTypeException". // // The wait type is invalid. ErrCodeInvalidDeploymentWaitTypeException = "InvalidDeploymentWaitTypeException" // 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" // ErrCodeInvalidECSServiceException for service response error code // "InvalidECSServiceException". // // The Amazon ECS service identifier is not valid. ErrCodeInvalidECSServiceException = "InvalidECSServiceException" // 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" // ErrCodeInvalidGitHubAccountTokenException for service response error code // "InvalidGitHubAccountTokenException". // // The GitHub token is not valid. ErrCodeInvalidGitHubAccountTokenException = "InvalidGitHubAccountTokenException" // 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 input was specified in an invalid format. ErrCodeInvalidInputException = "InvalidInputException" // ErrCodeInvalidInstanceNameException for service response error code // "InvalidInstanceNameException". // // The 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 Amazon EC2 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 tag was specified in an invalid format. ErrCodeInvalidTagException = "InvalidTagException" // ErrCodeInvalidTagFilterException for service response error code // "InvalidTagFilterException". // // The tag filter was specified in an invalid format. ErrCodeInvalidTagFilterException = "InvalidTagFilterException" // ErrCodeInvalidTagsToAddException for service response error code // "InvalidTagsToAddException". // // The specified tags are not valid. ErrCodeInvalidTagsToAddException = "InvalidTagsToAddException" // ErrCodeInvalidTargetFilterNameException for service response error code // "InvalidTargetFilterNameException". // // The target filter name is invalid. ErrCodeInvalidTargetFilterNameException = "InvalidTargetFilterNameException" // ErrCodeInvalidTargetGroupPairException for service response error code // "InvalidTargetGroupPairException". // // A target group pair associated with this deployment is not valid. ErrCodeInvalidTargetGroupPairException = "InvalidTargetGroupPairException" // 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" // ErrCodeResourceArnRequiredException for service response error code // "ResourceArnRequiredException". // // The ARN of a resource is required, but was not found. ErrCodeResourceArnRequiredException = "ResourceArnRequiredException" // 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 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" )
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.
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
}
func (AddTagsToOnPremisesInstancesOutput) String ¶
func (s AddTagsToOnPremisesInstancesOutput) String() string
String returns the string representation
type AddTagsToOnPremisesInstancesRequest ¶
type AddTagsToOnPremisesInstancesRequest struct { *aws.Request Input *AddTagsToOnPremisesInstancesInput Copy func(*AddTagsToOnPremisesInstancesInput) AddTagsToOnPremisesInstancesRequest }
AddTagsToOnPremisesInstancesRequest is the request type for the AddTagsToOnPremisesInstances API operation.
func (AddTagsToOnPremisesInstancesRequest) Send ¶
func (r AddTagsToOnPremisesInstancesRequest) Send(ctx context.Context) (*AddTagsToOnPremisesInstancesResponse, error)
Send marshals and sends the AddTagsToOnPremisesInstances API request.
type AddTagsToOnPremisesInstancesResponse ¶ added in v0.9.0
type AddTagsToOnPremisesInstancesResponse struct { *AddTagsToOnPremisesInstancesOutput // contains filtered or unexported fields }
AddTagsToOnPremisesInstancesResponse is the response type for the AddTagsToOnPremisesInstances API operation.
func (*AddTagsToOnPremisesInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AddTagsToOnPremisesInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AddTagsToOnPremisesInstances 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.
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 proceeds even if alarm status information can't // be retrieved from Amazon CloudWatch. // // * false: The deployment stops 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.
func (AlarmConfiguration) String ¶
func (s AlarmConfiguration) String() string
String returns the string representation
type AppSpecContent ¶ added in v0.6.0
type AppSpecContent struct { // The YAML-formatted or JSON-formatted revision string. // // For an AWS Lambda deployment, the content includes a Lambda function name, // the alias for its original version, and the alias for its replacement version. // The deployment shifts traffic from the original version of the Lambda function // to the replacement version. // // For an Amazon ECS deployment, the content includes the task name, information // about the load balancer that serves traffic to the container, and more. // // For both types of deployments, the content can specify Lambda functions that // run at specified hooks, such as BeforeInstall, during a deployment. Content *string `locationName:"content" type:"string"` // The SHA256 hash value of the revision content. Sha256 *string `locationName:"sha256" type:"string"` // contains filtered or unexported fields }
A revision for an AWS Lambda or Amazon ECS deployment that is a YAML-formatted or JSON-formatted string. For AWS Lambda and Amazon ECS deployments, the revision is the same as the AppSpec file. This method replaces the deprecated RawString data type.
func (AppSpecContent) String ¶ added in v0.6.0
func (s AppSpecContent) 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"` // 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.
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
func (ApplicationRevisionSortBy) MarshalValue ¶ added in v0.3.0
func (enum ApplicationRevisionSortBy) MarshalValue() (string, error)
func (ApplicationRevisionSortBy) MarshalValueBuf ¶ added in v0.3.0
func (enum ApplicationRevisionSortBy) MarshalValueBuf(b []byte) ([]byte, error)
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 is not completed successfully.
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
func (AutoRollbackEvent) MarshalValue ¶ added in v0.3.0
func (enum AutoRollbackEvent) MarshalValue() (string, error)
func (AutoRollbackEvent) MarshalValueBuf ¶ added in v0.3.0
func (enum AutoRollbackEvent) MarshalValueBuf(b []byte) ([]byte, error)
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.
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"` // An array of RevisionLocation objects that specify information to get about // the application revisions, including type and location. The maximum number // of RevisionLocation objects you can specify is 25. // // Revisions is a required field Revisions []RevisionLocation `locationName:"revisions" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the input of a BatchGetApplicationRevisions operation.
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 might 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.
func (BatchGetApplicationRevisionsOutput) String ¶
func (s BatchGetApplicationRevisionsOutput) String() string
String returns the string representation
type BatchGetApplicationRevisionsRequest ¶
type BatchGetApplicationRevisionsRequest struct { *aws.Request Input *BatchGetApplicationRevisionsInput Copy func(*BatchGetApplicationRevisionsInput) BatchGetApplicationRevisionsRequest }
BatchGetApplicationRevisionsRequest is the request type for the BatchGetApplicationRevisions API operation.
func (BatchGetApplicationRevisionsRequest) Send ¶
func (r BatchGetApplicationRevisionsRequest) Send(ctx context.Context) (*BatchGetApplicationRevisionsResponse, error)
Send marshals and sends the BatchGetApplicationRevisions API request.
type BatchGetApplicationRevisionsResponse ¶ added in v0.9.0
type BatchGetApplicationRevisionsResponse struct { *BatchGetApplicationRevisionsOutput // contains filtered or unexported fields }
BatchGetApplicationRevisionsResponse is the response type for the BatchGetApplicationRevisions API operation.
func (*BatchGetApplicationRevisionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *BatchGetApplicationRevisionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the BatchGetApplicationRevisions request.
type BatchGetApplicationsInput ¶
type BatchGetApplicationsInput struct { // A list of application names separated by spaces. The maximum number of application // names you can specify is 25. // // 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.
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.
func (BatchGetApplicationsOutput) String ¶
func (s BatchGetApplicationsOutput) String() string
String returns the string representation
type BatchGetApplicationsRequest ¶
type BatchGetApplicationsRequest struct { *aws.Request Input *BatchGetApplicationsInput Copy func(*BatchGetApplicationsInput) BatchGetApplicationsRequest }
BatchGetApplicationsRequest is the request type for the BatchGetApplications API operation.
func (BatchGetApplicationsRequest) Send ¶
func (r BatchGetApplicationsRequest) Send(ctx context.Context) (*BatchGetApplicationsResponse, error)
Send marshals and sends the BatchGetApplications API request.
type BatchGetApplicationsResponse ¶ added in v0.9.0
type BatchGetApplicationsResponse struct { *BatchGetApplicationsOutput // contains filtered or unexported fields }
BatchGetApplicationsResponse is the response type for the BatchGetApplications API operation.
func (*BatchGetApplicationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *BatchGetApplicationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the BatchGetApplications 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 names of the deployment groups. // // 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.
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 might have occurred during the API call. ErrorMessage *string `locationName:"errorMessage" type:"string"` // contains filtered or unexported fields }
Represents the output of a BatchGetDeploymentGroups operation.
func (BatchGetDeploymentGroupsOutput) String ¶
func (s BatchGetDeploymentGroupsOutput) String() string
String returns the string representation
type BatchGetDeploymentGroupsRequest ¶
type BatchGetDeploymentGroupsRequest struct { *aws.Request Input *BatchGetDeploymentGroupsInput Copy func(*BatchGetDeploymentGroupsInput) BatchGetDeploymentGroupsRequest }
BatchGetDeploymentGroupsRequest is the request type for the BatchGetDeploymentGroups API operation.
func (BatchGetDeploymentGroupsRequest) Send ¶
func (r BatchGetDeploymentGroupsRequest) Send(ctx context.Context) (*BatchGetDeploymentGroupsResponse, error)
Send marshals and sends the BatchGetDeploymentGroups API request.
type BatchGetDeploymentGroupsResponse ¶ added in v0.9.0
type BatchGetDeploymentGroupsResponse struct { *BatchGetDeploymentGroupsOutput // contains filtered or unexported fields }
BatchGetDeploymentGroupsResponse is the response type for the BatchGetDeploymentGroups API operation.
func (*BatchGetDeploymentGroupsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *BatchGetDeploymentGroupsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the BatchGetDeploymentGroups 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 used in the deployment. The maximum number of // instance IDs you can specify is 25. // // 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.
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 might 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.
func (BatchGetDeploymentInstancesOutput) String ¶
func (s BatchGetDeploymentInstancesOutput) String() string
String returns the string representation
type BatchGetDeploymentInstancesRequest ¶
type BatchGetDeploymentInstancesRequest struct { *aws.Request Input *BatchGetDeploymentInstancesInput Copy func(*BatchGetDeploymentInstancesInput) BatchGetDeploymentInstancesRequest }
BatchGetDeploymentInstancesRequest is the request type for the BatchGetDeploymentInstances API operation.
func (BatchGetDeploymentInstancesRequest) Send ¶
func (r BatchGetDeploymentInstancesRequest) Send(ctx context.Context) (*BatchGetDeploymentInstancesResponse, error)
Send marshals and sends the BatchGetDeploymentInstances API request.
type BatchGetDeploymentInstancesResponse ¶ added in v0.9.0
type BatchGetDeploymentInstancesResponse struct { *BatchGetDeploymentInstancesOutput // contains filtered or unexported fields }
BatchGetDeploymentInstancesResponse is the response type for the BatchGetDeploymentInstances API operation.
func (*BatchGetDeploymentInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *BatchGetDeploymentInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the BatchGetDeploymentInstances request.
type BatchGetDeploymentTargetsInput ¶ added in v0.6.0
type BatchGetDeploymentTargetsInput struct { // The unique ID of a deployment. DeploymentId *string `locationName:"deploymentId" type:"string"` // The unique IDs of the deployment targets. The compute platform of the deployment // determines the type of the targets and their formats. The maximum number // of deployment target IDs you can specify is 25. // // * For deployments that use the EC2/On-premises compute platform, the target // IDs are EC2 or on-premises instances IDs, and their target type is instanceTarget. // // * For deployments that use the AWS Lambda compute platform, the target // IDs are the names of Lambda functions, and their target type is instanceTarget. // // * For deployments that use the Amazon ECS compute platform, the target // IDs are pairs of Amazon ECS clusters and services specified using the // format <clustername>:<servicename>. Their target type is ecsTarget. TargetIds []string `locationName:"targetIds" type:"list"` // contains filtered or unexported fields }
func (BatchGetDeploymentTargetsInput) String ¶ added in v0.6.0
func (s BatchGetDeploymentTargetsInput) String() string
String returns the string representation
type BatchGetDeploymentTargetsOutput ¶ added in v0.6.0
type BatchGetDeploymentTargetsOutput struct { // A list of target objects for a deployment. Each target object contains details // about the target, such as its status and lifecycle events. The type of the // target objects depends on the deployment' compute platform. // // * EC2/On-premises: Each target object is an EC2 or on-premises instance. // // * AWS Lambda: The target object is a specific version of an AWS Lambda // function. // // * Amazon ECS: The target object is an Amazon ECS service. DeploymentTargets []DeploymentTarget `locationName:"deploymentTargets" type:"list"` // contains filtered or unexported fields }
func (BatchGetDeploymentTargetsOutput) String ¶ added in v0.6.0
func (s BatchGetDeploymentTargetsOutput) String() string
String returns the string representation
type BatchGetDeploymentTargetsRequest ¶ added in v0.6.0
type BatchGetDeploymentTargetsRequest struct { *aws.Request Input *BatchGetDeploymentTargetsInput Copy func(*BatchGetDeploymentTargetsInput) BatchGetDeploymentTargetsRequest }
BatchGetDeploymentTargetsRequest is the request type for the BatchGetDeploymentTargets API operation.
func (BatchGetDeploymentTargetsRequest) Send ¶ added in v0.6.0
func (r BatchGetDeploymentTargetsRequest) Send(ctx context.Context) (*BatchGetDeploymentTargetsResponse, error)
Send marshals and sends the BatchGetDeploymentTargets API request.
type BatchGetDeploymentTargetsResponse ¶ added in v0.9.0
type BatchGetDeploymentTargetsResponse struct { *BatchGetDeploymentTargetsOutput // contains filtered or unexported fields }
BatchGetDeploymentTargetsResponse is the response type for the BatchGetDeploymentTargets API operation.
func (*BatchGetDeploymentTargetsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *BatchGetDeploymentTargetsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the BatchGetDeploymentTargets request.
type BatchGetDeploymentsInput ¶
type BatchGetDeploymentsInput struct { // A list of deployment IDs, separated by spaces. The maximum number of deployment // IDs you can specify is 25. // // DeploymentIds is a required field DeploymentIds []string `locationName:"deploymentIds" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the input of a BatchGetDeployments operation.
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.
func (BatchGetDeploymentsOutput) String ¶
func (s BatchGetDeploymentsOutput) String() string
String returns the string representation
type BatchGetDeploymentsRequest ¶
type BatchGetDeploymentsRequest struct { *aws.Request Input *BatchGetDeploymentsInput Copy func(*BatchGetDeploymentsInput) BatchGetDeploymentsRequest }
BatchGetDeploymentsRequest is the request type for the BatchGetDeployments API operation.
func (BatchGetDeploymentsRequest) Send ¶
func (r BatchGetDeploymentsRequest) Send(ctx context.Context) (*BatchGetDeploymentsResponse, error)
Send marshals and sends the BatchGetDeployments API request.
type BatchGetDeploymentsResponse ¶ added in v0.9.0
type BatchGetDeploymentsResponse struct { *BatchGetDeploymentsOutput // contains filtered or unexported fields }
BatchGetDeploymentsResponse is the response type for the BatchGetDeployments API operation.
func (*BatchGetDeploymentsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *BatchGetDeploymentsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the BatchGetDeployments request.
type BatchGetOnPremisesInstancesInput ¶
type BatchGetOnPremisesInstancesInput struct { // The names of the on-premises instances about which to get information. The // maximum number of instance names you can specify is 25. // // InstanceNames is a required field InstanceNames []string `locationName:"instanceNames" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the input of a BatchGetOnPremisesInstances operation.
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.
func (BatchGetOnPremisesInstancesOutput) String ¶
func (s BatchGetOnPremisesInstancesOutput) String() string
String returns the string representation
type BatchGetOnPremisesInstancesRequest ¶
type BatchGetOnPremisesInstancesRequest struct { *aws.Request Input *BatchGetOnPremisesInstancesInput Copy func(*BatchGetOnPremisesInstancesInput) BatchGetOnPremisesInstancesRequest }
BatchGetOnPremisesInstancesRequest is the request type for the BatchGetOnPremisesInstances API operation.
func (BatchGetOnPremisesInstancesRequest) Send ¶
func (r BatchGetOnPremisesInstancesRequest) Send(ctx context.Context) (*BatchGetOnPremisesInstancesResponse, error)
Send marshals and sends the BatchGetOnPremisesInstances API request.
type BatchGetOnPremisesInstancesResponse ¶ added in v0.9.0
type BatchGetOnPremisesInstancesResponse struct { *BatchGetOnPremisesInstancesOutput // contains filtered or unexported fields }
BatchGetOnPremisesInstancesResponse is the response type for the BatchGetOnPremisesInstances API operation.
func (*BatchGetOnPremisesInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *BatchGetOnPremisesInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the BatchGetOnPremisesInstances 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.
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"` // For an Amazon EC2 deployment, the number of minutes to wait after a successful // blue/green deployment before terminating instances from the original environment. // // For an Amazon ECS deployment, the number of minutes before deleting the original // (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic // from the original (blue) task set to a replacement (green) task set. // // The maximum setting is 2880 minutes (2 days). 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. BlueInstanceTerminationOption does not apply to Lambda deployments.
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
func (BundleType) MarshalValue ¶ added in v0.3.0
func (enum BundleType) MarshalValue() (string, error)
func (BundleType) MarshalValueBuf ¶ added in v0.3.0
func (enum BundleType) MarshalValueBuf(b []byte) ([]byte, error)
type Client ¶ added in v0.9.0
Client provides the API operation methods for making requests to CodeDeploy. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := codedeploy.New(myConfig)
func (*Client) AddTagsToOnPremisesInstancesRequest ¶ added in v0.9.0
func (c *Client) 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 AddTagsToOnPremisesInstancesRequest. req := client.AddTagsToOnPremisesInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances
func (*Client) BatchGetApplicationRevisionsRequest ¶ added in v0.9.0
func (c *Client) BatchGetApplicationRevisionsRequest(input *BatchGetApplicationRevisionsInput) BatchGetApplicationRevisionsRequest
BatchGetApplicationRevisionsRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about one or more application revisions. The maximum number of application revisions that can be returned is 25.
// Example sending a request using BatchGetApplicationRevisionsRequest. req := client.BatchGetApplicationRevisionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions
func (*Client) BatchGetApplicationsRequest ¶ added in v0.9.0
func (c *Client) BatchGetApplicationsRequest(input *BatchGetApplicationsInput) BatchGetApplicationsRequest
BatchGetApplicationsRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about one or more applications. The maximum number of applications that can be returned is 25.
// Example sending a request using BatchGetApplicationsRequest. req := client.BatchGetApplicationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications
func (*Client) BatchGetDeploymentGroupsRequest ¶ added in v0.9.0
func (c *Client) 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 BatchGetDeploymentGroupsRequest. req := client.BatchGetDeploymentGroupsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups
func (*Client) BatchGetDeploymentInstancesRequest ¶ added in v0.9.0
func (c *Client) BatchGetDeploymentInstancesRequest(input *BatchGetDeploymentInstancesInput) BatchGetDeploymentInstancesRequest
BatchGetDeploymentInstancesRequest returns a request value for making API operation for AWS CodeDeploy.
This method works, but is deprecated. Use BatchGetDeploymentTargets instead.
Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises and AWS Lambda compute platforms. The newer BatchGetDeploymentTargets works with all compute platforms. The maximum number of instances that can be returned is 25.
// Example sending a request using BatchGetDeploymentInstancesRequest. req := client.BatchGetDeploymentInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances
func (*Client) BatchGetDeploymentTargetsRequest ¶ added in v0.9.0
func (c *Client) BatchGetDeploymentTargetsRequest(input *BatchGetDeploymentTargetsInput) BatchGetDeploymentTargetsRequest
BatchGetDeploymentTargetsRequest returns a request value for making API operation for AWS CodeDeploy.
Returns an array of one or more targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances. The maximum number of targets that can be returned is 25.
The type of targets returned depends on the deployment's compute platform:
EC2/On-premises: Information about EC2 instance targets.
AWS Lambda: Information about Lambda functions targets.
Amazon ECS: Information about Amazon ECS service targets.
// Example sending a request using BatchGetDeploymentTargetsRequest. req := client.BatchGetDeploymentTargetsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargets
func (*Client) BatchGetDeploymentsRequest ¶ added in v0.9.0
func (c *Client) BatchGetDeploymentsRequest(input *BatchGetDeploymentsInput) BatchGetDeploymentsRequest
BatchGetDeploymentsRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about one or more deployments. The maximum number of deployments that can be returned is 25.
// Example sending a request using BatchGetDeploymentsRequest. req := client.BatchGetDeploymentsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments
func (*Client) BatchGetOnPremisesInstancesRequest ¶ added in v0.9.0
func (c *Client) 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. The maximum number of on-premises instances that can be returned is 25.
// Example sending a request using BatchGetOnPremisesInstancesRequest. req := client.BatchGetOnPremisesInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances
func (*Client) ContinueDeploymentRequest ¶ added in v0.9.0
func (c *Client) 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 ContinueDeploymentRequest. req := client.ContinueDeploymentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment
func (*Client) CreateApplicationRequest ¶ added in v0.9.0
func (c *Client) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest
CreateApplicationRequest returns a request value for making API operation for AWS CodeDeploy.
Creates an application.
// Example sending a request using CreateApplicationRequest. req := client.CreateApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication
func (*Client) CreateDeploymentConfigRequest ¶ added in v0.9.0
func (c *Client) 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 CreateDeploymentConfigRequest. req := client.CreateDeploymentConfigRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig
func (*Client) CreateDeploymentGroupRequest ¶ added in v0.9.0
func (c *Client) CreateDeploymentGroupRequest(input *CreateDeploymentGroupInput) CreateDeploymentGroupRequest
CreateDeploymentGroupRequest returns a request value for making API operation for AWS CodeDeploy.
Creates a deployment group to which application revisions are deployed.
// Example sending a request using CreateDeploymentGroupRequest. req := client.CreateDeploymentGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup
func (*Client) CreateDeploymentRequest ¶ added in v0.9.0
func (c *Client) 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 CreateDeploymentRequest. req := client.CreateDeploymentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment
func (*Client) DeleteApplicationRequest ¶ added in v0.9.0
func (c *Client) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest
DeleteApplicationRequest returns a request value for making API operation for AWS CodeDeploy.
Deletes an application.
// Example sending a request using DeleteApplicationRequest. req := client.DeleteApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication
func (*Client) DeleteDeploymentConfigRequest ¶ added in v0.9.0
func (c *Client) 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 DeleteDeploymentConfigRequest. req := client.DeleteDeploymentConfigRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig
func (*Client) DeleteDeploymentGroupRequest ¶ added in v0.9.0
func (c *Client) 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 DeleteDeploymentGroupRequest. req := client.DeleteDeploymentGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup
func (*Client) DeleteGitHubAccountTokenRequest ¶ added in v0.9.0
func (c *Client) 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 DeleteGitHubAccountTokenRequest. req := client.DeleteGitHubAccountTokenRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountToken
func (*Client) DeregisterOnPremisesInstanceRequest ¶ added in v0.9.0
func (c *Client) 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 DeregisterOnPremisesInstanceRequest. req := client.DeregisterOnPremisesInstanceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance
func (*Client) GetApplicationRequest ¶ added in v0.9.0
func (c *Client) 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 GetApplicationRequest. req := client.GetApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication
func (*Client) GetApplicationRevisionRequest ¶ added in v0.9.0
func (c *Client) 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 GetApplicationRevisionRequest. req := client.GetApplicationRevisionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision
func (*Client) GetDeploymentConfigRequest ¶ added in v0.9.0
func (c *Client) 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 GetDeploymentConfigRequest. req := client.GetDeploymentConfigRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig
func (*Client) GetDeploymentGroupRequest ¶ added in v0.9.0
func (c *Client) 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 GetDeploymentGroupRequest. req := client.GetDeploymentGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup
func (*Client) GetDeploymentInstanceRequest ¶ added in v0.9.0
func (c *Client) 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 GetDeploymentInstanceRequest. req := client.GetDeploymentInstanceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance
func (*Client) GetDeploymentRequest ¶ added in v0.9.0
func (c *Client) GetDeploymentRequest(input *GetDeploymentInput) GetDeploymentRequest
GetDeploymentRequest returns a request value for making API operation for AWS CodeDeploy.
Gets information about a deployment.
The content property of the appSpecContent object in the returned revision is always null. Use GetApplicationRevision and the sha256 property of the returned appSpecContent object to get the content of the deployment’s AppSpec file.
// Example sending a request using GetDeploymentRequest. req := client.GetDeploymentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment
func (*Client) GetDeploymentTargetRequest ¶ added in v0.9.0
func (c *Client) GetDeploymentTargetRequest(input *GetDeploymentTargetInput) GetDeploymentTargetRequest
GetDeploymentTargetRequest returns a request value for making API operation for AWS CodeDeploy.
Returns information about a deployment target.
// Example sending a request using GetDeploymentTargetRequest. req := client.GetDeploymentTargetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentTarget
func (*Client) GetOnPremisesInstanceRequest ¶ added in v0.9.0
func (c *Client) 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 GetOnPremisesInstanceRequest. req := client.GetOnPremisesInstanceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance
func (*Client) ListApplicationRevisionsRequest ¶ added in v0.9.0
func (c *Client) 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 ListApplicationRevisionsRequest. req := client.ListApplicationRevisionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions
func (*Client) ListApplicationsRequest ¶ added in v0.9.0
func (c *Client) ListApplicationsRequest(input *ListApplicationsInput) ListApplicationsRequest
ListApplicationsRequest returns a request value for making API operation for AWS CodeDeploy.
Lists the applications registered with the IAM user or AWS account.
// Example sending a request using ListApplicationsRequest. req := client.ListApplicationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications
func (*Client) ListDeploymentConfigsRequest ¶ added in v0.9.0
func (c *Client) ListDeploymentConfigsRequest(input *ListDeploymentConfigsInput) ListDeploymentConfigsRequest
ListDeploymentConfigsRequest returns a request value for making API operation for AWS CodeDeploy.
Lists the deployment configurations with the IAM user or AWS account.
// Example sending a request using ListDeploymentConfigsRequest. req := client.ListDeploymentConfigsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs
func (*Client) ListDeploymentGroupsRequest ¶ added in v0.9.0
func (c *Client) 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 IAM user or AWS account.
// Example sending a request using ListDeploymentGroupsRequest. req := client.ListDeploymentGroupsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups
func (*Client) ListDeploymentInstancesRequest ¶ added in v0.9.0
func (c *Client) ListDeploymentInstancesRequest(input *ListDeploymentInstancesInput) ListDeploymentInstancesRequest
ListDeploymentInstancesRequest returns a request value for making API operation for AWS CodeDeploy.
The newer BatchGetDeploymentTargets should be used instead because it works with all compute types. ListDeploymentInstances throws an exception if it is used with a compute platform other than EC2/On-premises or AWS Lambda.
Lists the instance for a deployment associated with the IAM user or AWS account.
// Example sending a request using ListDeploymentInstancesRequest. req := client.ListDeploymentInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances
func (*Client) ListDeploymentTargetsRequest ¶ added in v0.9.0
func (c *Client) ListDeploymentTargetsRequest(input *ListDeploymentTargetsInput) ListDeploymentTargetsRequest
ListDeploymentTargetsRequest returns a request value for making API operation for AWS CodeDeploy.
Returns an array of target IDs that are associated a deployment.
// Example sending a request using ListDeploymentTargetsRequest. req := client.ListDeploymentTargetsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentTargets
func (*Client) ListDeploymentsRequest ¶ added in v0.9.0
func (c *Client) 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 IAM user or AWS account.
// Example sending a request using ListDeploymentsRequest. req := client.ListDeploymentsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments
func (*Client) ListGitHubAccountTokenNamesRequest ¶ added in v0.9.0
func (c *Client) 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 ListGitHubAccountTokenNamesRequest. req := client.ListGitHubAccountTokenNamesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames
func (*Client) ListOnPremisesInstancesRequest ¶ added in v0.9.0
func (c *Client) 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 are listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
// Example sending a request using ListOnPremisesInstancesRequest. req := client.ListOnPremisesInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances
func (*Client) ListTagsForResourceRequest ¶ added in v0.9.0
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for AWS CodeDeploy.
Returns a list of tags for the resource identified by a specified ARN. Tags are used to organize and categorize your CodeDeploy resources.
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListTagsForResource
func (*Client) PutLifecycleEventHookExecutionStatusRequest ¶ added in v0.9.0
func (c *Client) 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 PutLifecycleEventHookExecutionStatusRequest. req := client.PutLifecycleEventHookExecutionStatusRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatus
func (*Client) RegisterApplicationRevisionRequest ¶ added in v0.9.0
func (c *Client) 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 RegisterApplicationRevisionRequest. req := client.RegisterApplicationRevisionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision
func (*Client) RegisterOnPremisesInstanceRequest ¶ added in v0.9.0
func (c *Client) 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 RegisterOnPremisesInstanceRequest. req := client.RegisterOnPremisesInstanceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance
func (*Client) RemoveTagsFromOnPremisesInstancesRequest ¶ added in v0.9.0
func (c *Client) 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 RemoveTagsFromOnPremisesInstancesRequest. req := client.RemoveTagsFromOnPremisesInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances
func (*Client) SkipWaitTimeForInstanceTerminationRequest ¶ added in v0.9.0
func (c *Client) 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 complete.
// Example sending a request using SkipWaitTimeForInstanceTerminationRequest. req := client.SkipWaitTimeForInstanceTerminationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination
func (*Client) StopDeploymentRequest ¶ added in v0.9.0
func (c *Client) 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 StopDeploymentRequest. req := client.StopDeploymentRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment
func (*Client) TagResourceRequest ¶ added in v0.9.0
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for AWS CodeDeploy.
Associates the list of tags in the input Tags parameter with the resource identified by the ResourceArn input parameter.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagResource
func (*Client) UntagResourceRequest ¶ added in v0.9.0
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for AWS CodeDeploy.
Disassociates a resource from a list of tags. The resource is identified by the ResourceArn input parameter. The tags are identfied by the list of keys in the TagKeys input parameter.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UntagResource
func (*Client) UpdateApplicationRequest ¶ added in v0.9.0
func (c *Client) 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 UpdateApplicationRequest. req := client.UpdateApplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication
func (*Client) UpdateDeploymentGroupRequest ¶ added in v0.9.0
func (c *Client) 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 UpdateDeploymentGroupRequest. req := client.UpdateDeploymentGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup
func (*Client) WaitUntilDeploymentSuccessful ¶ added in v0.9.0
func (c *Client) WaitUntilDeploymentSuccessful(ctx context.Context, input *GetDeploymentInput, opts ...aws.WaiterOption) 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.
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" ComputePlatformEcs ComputePlatform = "ECS" )
Enum values for ComputePlatform
func (ComputePlatform) MarshalValue ¶ added in v0.3.0
func (enum ComputePlatform) MarshalValue() (string, error)
func (ComputePlatform) MarshalValueBuf ¶ added in v0.3.0
func (enum ComputePlatform) MarshalValueBuf(b []byte) ([]byte, error)
type ContinueDeploymentInput ¶
type ContinueDeploymentInput struct { // The unique ID of a blue/green deployment for which you want to start rerouting // traffic to the replacement environment. DeploymentId *string `locationName:"deploymentId" type:"string"` // The status of the deployment's waiting period. READY_WAIT indicates the deployment // is ready to start shifting traffic. TERMINATION_WAIT indicates the traffic // is shifted, but the original target is not terminated. DeploymentWaitType DeploymentWaitType `locationName:"deploymentWaitType" type:"string" enum:"true"` // contains filtered or unexported fields }
func (ContinueDeploymentInput) String ¶
func (s ContinueDeploymentInput) String() string
String returns the string representation
type ContinueDeploymentOutput ¶
type ContinueDeploymentOutput struct {
// contains filtered or unexported fields
}
func (ContinueDeploymentOutput) String ¶
func (s ContinueDeploymentOutput) String() string
String returns the string representation
type ContinueDeploymentRequest ¶
type ContinueDeploymentRequest struct { *aws.Request Input *ContinueDeploymentInput Copy func(*ContinueDeploymentInput) ContinueDeploymentRequest }
ContinueDeploymentRequest is the request type for the ContinueDeployment API operation.
func (ContinueDeploymentRequest) Send ¶
func (r ContinueDeploymentRequest) Send(ctx context.Context) (*ContinueDeploymentResponse, error)
Send marshals and sends the ContinueDeployment API request.
type ContinueDeploymentResponse ¶ added in v0.9.0
type ContinueDeploymentResponse struct { *ContinueDeploymentOutput // contains filtered or unexported fields }
ContinueDeploymentResponse is the response type for the ContinueDeployment API operation.
func (*ContinueDeploymentResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ContinueDeploymentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ContinueDeployment 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, Server, or ECS). ComputePlatform ComputePlatform `locationName:"computePlatform" type:"string" enum:"true"` // The metadata that you apply to CodeDeploy applications to help you organize // and categorize them. Each tag consists of a key and an optional value, both // of which you define. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
Represents the input of a CreateApplication operation.
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.
func (CreateApplicationOutput) String ¶
func (s CreateApplicationOutput) String() string
String returns the string representation
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { *aws.Request Input *CreateApplicationInput Copy func(*CreateApplicationInput) CreateApplicationRequest }
CreateApplicationRequest is the request type for the CreateApplication API operation.
func (CreateApplicationRequest) Send ¶
func (r CreateApplicationRequest) Send(ctx context.Context) (*CreateApplicationResponse, error)
Send marshals and sends the CreateApplication API request.
type CreateApplicationResponse ¶ added in v0.9.0
type CreateApplicationResponse struct { *CreateApplicationOutput // contains filtered or unexported fields }
CreateApplicationResponse is the response type for the CreateApplication API operation.
func (*CreateApplicationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateApplication request.
type CreateDeploymentConfigInput ¶
type CreateDeploymentConfigInput struct { // The destination platform type for the deployment (Lambda, Server, or ECS). 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 is routed. TrafficRoutingConfig *TrafficRoutingConfig `locationName:"trafficRoutingConfig" type:"structure"` // contains filtered or unexported fields }
Represents the input of a CreateDeploymentConfig operation.
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.
func (CreateDeploymentConfigOutput) String ¶
func (s CreateDeploymentConfigOutput) String() string
String returns the string representation
type CreateDeploymentConfigRequest ¶
type CreateDeploymentConfigRequest struct { *aws.Request Input *CreateDeploymentConfigInput Copy func(*CreateDeploymentConfigInput) CreateDeploymentConfigRequest }
CreateDeploymentConfigRequest is the request type for the CreateDeploymentConfig API operation.
func (CreateDeploymentConfigRequest) Send ¶
func (r CreateDeploymentConfigRequest) Send(ctx context.Context) (*CreateDeploymentConfigResponse, error)
Send marshals and sends the CreateDeploymentConfig API request.
type CreateDeploymentConfigResponse ¶ added in v0.9.0
type CreateDeploymentConfigResponse struct { *CreateDeploymentConfigOutput // contains filtered or unexported fields }
CreateDeploymentConfigResponse is the response type for the CreateDeploymentConfig API operation.
func (*CreateDeploymentConfigResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateDeploymentConfigResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDeploymentConfig 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 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 Amazon EC2 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 deployment // group. // // For more information about the predefined deployment configurations in AWS // CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy (https://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 includes 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 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"` // The target Amazon ECS services in the deployment group. This applies only // to deployment groups that use the Amazon ECS compute platform. A target Amazon // ECS service is specified as an Amazon ECS cluster and service name pair using // the format <clustername>:<servicename>. EcsServices []ECSService `locationName:"ecsServices" type:"list"` // 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 includes // 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 includes only on-premises instances identified by all of 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"` // The metadata that you apply to CodeDeploy deployment groups to help you organize // and categorize them. Each tag consists of a key and an optional value, both // of which you define. Tags []Tag `locationName:"tags" type:"list"` // Information about triggers to create when the deployment group is created. // For examples, see Create a Trigger for an AWS CodeDeploy Event (https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-sns.html) // in the AWS CodeDeploy User Guide. TriggerConfigurations []TriggerConfig `locationName:"triggerConfigurations" type:"list"` // contains filtered or unexported fields }
Represents the input of a CreateDeploymentGroup operation.
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.
func (CreateDeploymentGroupOutput) String ¶
func (s CreateDeploymentGroupOutput) String() string
String returns the string representation
type CreateDeploymentGroupRequest ¶
type CreateDeploymentGroupRequest struct { *aws.Request Input *CreateDeploymentGroupInput Copy func(*CreateDeploymentGroupInput) CreateDeploymentGroupRequest }
CreateDeploymentGroupRequest is the request type for the CreateDeploymentGroup API operation.
func (CreateDeploymentGroupRequest) Send ¶
func (r CreateDeploymentGroupRequest) Send(ctx context.Context) (*CreateDeploymentGroupResponse, error)
Send marshals and sends the CreateDeploymentGroup API request.
type CreateDeploymentGroupResponse ¶ added in v0.9.0
type CreateDeploymentGroupResponse struct { *CreateDeploymentGroupOutput // contains filtered or unexported fields }
CreateDeploymentGroupResponse is the response type for the CreateDeploymentGroup API operation.
func (*CreateDeploymentGroupResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateDeploymentGroupResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDeploymentGroup request.
type CreateDeploymentInput ¶
type CreateDeploymentInput struct { // The name of an AWS CodeDeploy application associated with the 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 IAM user or AWS // account. // // If not specified, the value configured in the deployment group is used as // the default. If the deployment group does not have a deployment configuration // associated with it, CodeDeployDefault.OneAtATime is used by default. DeploymentConfigName *string `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 true, then if an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic // deployment lifecycle event to an instance fails, then the deployment continues // to the next deployment lifecycle event. For example, if ApplicationStop fails, // the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, // the deployment continues with BlockTraffic. If AfterBlockTraffic fails, the // deployment continues with ApplicationStop. // // If false or not specified, then if a lifecycle event fails during a deployment // to an instance, that deployment fails. If deployment to that instance is // part of an overall deployment and the number of healthy hosts is not less // than the minimum number of healthy hosts, then a deployment to the next instance // is attempted. // // During a deployment, the AWS CodeDeploy agent runs the scripts specified // for ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic in the AppSpec // file from the previous successful deployment. (All other scripts are run // from the AppSpec file in the current deployment.) If one of these scripts // contains an error and does not run successfully, the deployment can fail. // // If the cause of the failure is a script from the last successful deployment // that will never run successfully, create a new deployment and use ignoreApplicationStopFailures // to specify that the ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic // failures should be ignored. 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 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.
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 { // The unique ID of a deployment. DeploymentId *string `locationName:"deploymentId" type:"string"` // contains filtered or unexported fields }
Represents the output of a CreateDeployment operation.
func (CreateDeploymentOutput) String ¶
func (s CreateDeploymentOutput) String() string
String returns the string representation
type CreateDeploymentRequest ¶
type CreateDeploymentRequest struct { *aws.Request Input *CreateDeploymentInput Copy func(*CreateDeploymentInput) CreateDeploymentRequest }
CreateDeploymentRequest is the request type for the CreateDeployment API operation.
func (CreateDeploymentRequest) Send ¶
func (r CreateDeploymentRequest) Send(ctx context.Context) (*CreateDeploymentResponse, error)
Send marshals and sends the CreateDeployment API request.
type CreateDeploymentResponse ¶ added in v0.9.0
type CreateDeploymentResponse struct { *CreateDeploymentOutput // contains filtered or unexported fields }
CreateDeploymentResponse is the response type for the CreateDeployment API operation.
func (*CreateDeploymentResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateDeploymentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDeployment request.
type DeleteApplicationInput ¶
type DeleteApplicationInput struct { // The name of an AWS CodeDeploy application associated with the 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.
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
}
func (DeleteApplicationOutput) String ¶
func (s DeleteApplicationOutput) String() string
String returns the string representation
type DeleteApplicationRequest ¶
type DeleteApplicationRequest struct { *aws.Request Input *DeleteApplicationInput Copy func(*DeleteApplicationInput) DeleteApplicationRequest }
DeleteApplicationRequest is the request type for the DeleteApplication API operation.
func (DeleteApplicationRequest) Send ¶
func (r DeleteApplicationRequest) Send(ctx context.Context) (*DeleteApplicationResponse, error)
Send marshals and sends the DeleteApplication API request.
type DeleteApplicationResponse ¶ added in v0.9.0
type DeleteApplicationResponse struct { *DeleteApplicationOutput // contains filtered or unexported fields }
DeleteApplicationResponse is the response type for the DeleteApplication API operation.
func (*DeleteApplicationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteApplication request.
type DeleteDeploymentConfigInput ¶
type DeleteDeploymentConfigInput struct { // The name of a deployment configuration associated with the 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.
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
}
func (DeleteDeploymentConfigOutput) String ¶
func (s DeleteDeploymentConfigOutput) String() string
String returns the string representation
type DeleteDeploymentConfigRequest ¶
type DeleteDeploymentConfigRequest struct { *aws.Request Input *DeleteDeploymentConfigInput Copy func(*DeleteDeploymentConfigInput) DeleteDeploymentConfigRequest }
DeleteDeploymentConfigRequest is the request type for the DeleteDeploymentConfig API operation.
func (DeleteDeploymentConfigRequest) Send ¶
func (r DeleteDeploymentConfigRequest) Send(ctx context.Context) (*DeleteDeploymentConfigResponse, error)
Send marshals and sends the DeleteDeploymentConfig API request.
type DeleteDeploymentConfigResponse ¶ added in v0.9.0
type DeleteDeploymentConfigResponse struct { *DeleteDeploymentConfigOutput // contains filtered or unexported fields }
DeleteDeploymentConfigResponse is the response type for the DeleteDeploymentConfig API operation.
func (*DeleteDeploymentConfigResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteDeploymentConfigResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteDeploymentConfig request.
type DeleteDeploymentGroupInput ¶
type DeleteDeploymentGroupInput struct { // The name of an AWS CodeDeploy application associated with the IAM user or // AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // The name of a 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.
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.
func (DeleteDeploymentGroupOutput) String ¶
func (s DeleteDeploymentGroupOutput) String() string
String returns the string representation
type DeleteDeploymentGroupRequest ¶
type DeleteDeploymentGroupRequest struct { *aws.Request Input *DeleteDeploymentGroupInput Copy func(*DeleteDeploymentGroupInput) DeleteDeploymentGroupRequest }
DeleteDeploymentGroupRequest is the request type for the DeleteDeploymentGroup API operation.
func (DeleteDeploymentGroupRequest) Send ¶
func (r DeleteDeploymentGroupRequest) Send(ctx context.Context) (*DeleteDeploymentGroupResponse, error)
Send marshals and sends the DeleteDeploymentGroup API request.
type DeleteDeploymentGroupResponse ¶ added in v0.9.0
type DeleteDeploymentGroupResponse struct { *DeleteDeploymentGroupOutput // contains filtered or unexported fields }
DeleteDeploymentGroupResponse is the response type for the DeleteDeploymentGroup API operation.
func (*DeleteDeploymentGroupResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteDeploymentGroupResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteDeploymentGroup 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.
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.
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 Copy func(*DeleteGitHubAccountTokenInput) DeleteGitHubAccountTokenRequest }
DeleteGitHubAccountTokenRequest is the request type for the DeleteGitHubAccountToken API operation.
func (DeleteGitHubAccountTokenRequest) Send ¶ added in v0.2.0
func (r DeleteGitHubAccountTokenRequest) Send(ctx context.Context) (*DeleteGitHubAccountTokenResponse, error)
Send marshals and sends the DeleteGitHubAccountToken API request.
type DeleteGitHubAccountTokenResponse ¶ added in v0.9.0
type DeleteGitHubAccountTokenResponse struct { *DeleteGitHubAccountTokenOutput // contains filtered or unexported fields }
DeleteGitHubAccountTokenResponse is the response type for the DeleteGitHubAccountToken API operation.
func (*DeleteGitHubAccountTokenResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteGitHubAccountTokenResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteGitHubAccountToken request.
type DeploymentConfigInfo ¶
type DeploymentConfigInfo struct { // The destination platform type for the deployment (Lambda, Server, or ECS). ComputePlatform ComputePlatform `locationName:"computePlatform" type:"string" enum:"true"` // The time at which the deployment configuration was created. CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // 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 that specifies how the deployment traffic is 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.
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
func (DeploymentCreator) MarshalValue ¶ added in v0.3.0
func (enum DeploymentCreator) MarshalValue() (string, error)
func (DeploymentCreator) MarshalValueBuf ¶ added in v0.3.0
func (enum DeploymentCreator) MarshalValueBuf(b []byte) ([]byte, error)
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 (Lambda, Server, or ECS). 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 of the tag groups. Cannot // be used in the same call as ec2TagFilters. Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"` // The target Amazon ECS services in the deployment group. This applies only // to deployment groups that use the Amazon ECS compute platform. A target Amazon // ECS service is specified as an Amazon ECS cluster and service name pair using // the format <clustername>:<servicename>. EcsServices []ECSService `locationName:"ecsServices" type:"list"` // 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 Amazon Resource Name (ARN) that grants CodeDeploy permission // to make calls to AWS services on your behalf. For more information, see Create // a Service Role for AWS CodeDeploy (https://docs.aws.amazon.com/codedeploy/latest/userguide/getting-started-create-service-role.html) // in the AWS CodeDeploy User Guide. 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.
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 that indicates when the deployment was complete. CompleteTime *time.Time `locationName:"completeTime" type:"timestamp"` // The destination platform type for the deployment (Lambda, Server, or ECS). ComputePlatform ComputePlatform `locationName:"computePlatform" type:"string" enum:"true"` // A timestamp that indicates when the deployment was created. CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // The means by which the deployment was created: // // * user: A user created the deployment. // // * autoscaling: Amazon EC2 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 unique ID of a deployment. 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 an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic // deployment lifecycle event to an instance fails, then the deployment continues // to the next deployment lifecycle event. For example, if ApplicationStop fails, // the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, // the deployment continues with BlockTraffic. If AfterBlockTraffic fails, the // deployment continues with ApplicationStop. // // If false or not specified, then if a lifecycle event fails during a deployment // to an instance, that deployment fails. If deployment to that instance is // part of an overall deployment and the number of healthy hosts is not less // than the minimum number of healthy hosts, then a deployment to the next instance // is attempted. // // During a deployment, the AWS CodeDeploy agent runs the scripts specified // for ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic in the AppSpec // file from the previous successful deployment. (All other scripts are run // from the AppSpec file in the current deployment.) If one of these scripts // contains an error and does not run successfully, the deployment can fail. // // If the cause of the failure is a script from the last successful deployment // that will never run successfully, create a new deployment and use ignoreApplicationStopFailures // to specify that the ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic // failures should be ignored. 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 that indicates when the deployment was deployed to the deployment // group. // // In some cases, the reported value of the start time might be later than the // complete time. This is due to differences in the clock settings of backend // servers that participate in the deployment process. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // 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.
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
func (DeploymentOption) MarshalValue ¶ added in v0.3.0
func (enum DeploymentOption) MarshalValue() (string, error)
func (DeploymentOption) MarshalValueBuf ¶ added in v0.3.0
func (enum DeploymentOption) MarshalValueBuf(b []byte) ([]byte, error)
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.
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
func (DeploymentReadyAction) MarshalValue ¶ added in v0.3.0
func (enum DeploymentReadyAction) MarshalValue() (string, error)
func (DeploymentReadyAction) MarshalValueBuf ¶ added in v0.3.0
func (enum DeploymentReadyAction) MarshalValueBuf(b []byte) ([]byte, error)
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 a load balancer // unless traffic rerouting is started using ContinueDeployment. If traffic // rerouting is not started 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 // is 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.
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
func (DeploymentStatus) MarshalValue ¶ added in v0.3.0
func (enum DeploymentStatus) MarshalValue() (string, error)
func (DeploymentStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum DeploymentStatus) MarshalValueBuf(b []byte) ([]byte, error)
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.
func (DeploymentStyle) String ¶
func (s DeploymentStyle) String() string
String returns the string representation
type DeploymentTarget ¶ added in v0.6.0
type DeploymentTarget struct { // The deployment type that is specific to the deployment's compute platform. DeploymentTargetType DeploymentTargetType `locationName:"deploymentTargetType" type:"string" enum:"true"` // Information about the target for a deployment that uses the Amazon ECS compute // platform. EcsTarget *ECSTarget `locationName:"ecsTarget" type:"structure"` // Information about the target for a deployment that uses the EC2/On-premises // compute platform. InstanceTarget *InstanceTarget `locationName:"instanceTarget" type:"structure"` // Information about the target for a deployment that uses the AWS Lambda compute // platform. LambdaTarget *LambdaTarget `locationName:"lambdaTarget" type:"structure"` // contains filtered or unexported fields }
Information about the deployment target.
func (DeploymentTarget) String ¶ added in v0.6.0
func (s DeploymentTarget) String() string
String returns the string representation
type DeploymentTargetType ¶ added in v0.6.0
type DeploymentTargetType string
const ( DeploymentTargetTypeInstanceTarget DeploymentTargetType = "InstanceTarget" DeploymentTargetTypeLambdaTarget DeploymentTargetType = "LambdaTarget" DeploymentTargetTypeEcstarget DeploymentTargetType = "ECSTarget" )
Enum values for DeploymentTargetType
func (DeploymentTargetType) MarshalValue ¶ added in v0.6.0
func (enum DeploymentTargetType) MarshalValue() (string, error)
func (DeploymentTargetType) MarshalValueBuf ¶ added in v0.6.0
func (enum DeploymentTargetType) MarshalValueBuf(b []byte) ([]byte, error)
type DeploymentType ¶
type DeploymentType string
const ( DeploymentTypeInPlace DeploymentType = "IN_PLACE" DeploymentTypeBlueGreen DeploymentType = "BLUE_GREEN" )
Enum values for DeploymentType
func (DeploymentType) MarshalValue ¶ added in v0.3.0
func (enum DeploymentType) MarshalValue() (string, error)
func (DeploymentType) MarshalValueBuf ¶ added in v0.3.0
func (enum DeploymentType) MarshalValueBuf(b []byte) ([]byte, error)
type DeploymentWaitType ¶ added in v0.6.0
type DeploymentWaitType string
const ( DeploymentWaitTypeReadyWait DeploymentWaitType = "READY_WAIT" DeploymentWaitTypeTerminationWait DeploymentWaitType = "TERMINATION_WAIT" )
Enum values for DeploymentWaitType
func (DeploymentWaitType) MarshalValue ¶ added in v0.6.0
func (enum DeploymentWaitType) MarshalValue() (string, error)
func (DeploymentWaitType) MarshalValueBuf ¶ added in v0.6.0
func (enum DeploymentWaitType) MarshalValueBuf(b []byte) ([]byte, error)
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.
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
}
func (DeregisterOnPremisesInstanceOutput) String ¶
func (s DeregisterOnPremisesInstanceOutput) String() string
String returns the string representation
type DeregisterOnPremisesInstanceRequest ¶
type DeregisterOnPremisesInstanceRequest struct { *aws.Request Input *DeregisterOnPremisesInstanceInput Copy func(*DeregisterOnPremisesInstanceInput) DeregisterOnPremisesInstanceRequest }
DeregisterOnPremisesInstanceRequest is the request type for the DeregisterOnPremisesInstance API operation.
func (DeregisterOnPremisesInstanceRequest) Send ¶
func (r DeregisterOnPremisesInstanceRequest) Send(ctx context.Context) (*DeregisterOnPremisesInstanceResponse, error)
Send marshals and sends the DeregisterOnPremisesInstance API request.
type DeregisterOnPremisesInstanceResponse ¶ added in v0.9.0
type DeregisterOnPremisesInstanceResponse struct { *DeregisterOnPremisesInstanceOutput // contains filtered or unexported fields }
DeregisterOnPremisesInstanceResponse is the response type for the DeregisterOnPremisesInstance API operation.
func (*DeregisterOnPremisesInstanceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeregisterOnPremisesInstanceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeregisterOnPremisesInstance 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.
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.
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
func (EC2TagFilterType) MarshalValue ¶ added in v0.3.0
func (enum EC2TagFilterType) MarshalValue() (string, error)
func (EC2TagFilterType) MarshalValueBuf ¶ added in v0.3.0
func (enum EC2TagFilterType) MarshalValueBuf(b []byte) ([]byte, error)
type EC2TagSet ¶
type EC2TagSet struct { // A list that contains other lists of EC2 instance tag groups. For an instance // to be included in the deployment group, it must be identified by all of the // tag groups in the list. Ec2TagSetList [][]EC2TagFilter `locationName:"ec2TagSetList" type:"list"` // contains filtered or unexported fields }
Information about groups of EC2 instance tags.
type ECSService ¶ added in v0.6.0
type ECSService struct { // The name of the cluster that the Amazon ECS service is associated with. ClusterName *string `locationName:"clusterName" type:"string"` // The name of the target Amazon ECS service. ServiceName *string `locationName:"serviceName" type:"string"` // contains filtered or unexported fields }
Contains the service and cluster names used to identify an Amazon ECS deployment's target.
func (ECSService) String ¶ added in v0.6.0
func (s ECSService) String() string
String returns the string representation
type ECSTarget ¶ added in v0.6.0
type ECSTarget struct { // The unique ID of a deployment. DeploymentId *string `locationName:"deploymentId" type:"string"` // The date and time when the target Amazon ECS application was updated by a // deployment. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` // The lifecycle events of the deployment to this target Amazon ECS application. LifecycleEvents []LifecycleEvent `locationName:"lifecycleEvents" type:"list"` // The status an Amazon ECS deployment's target ECS application. Status TargetStatus `locationName:"status" type:"string" enum:"true"` // The ARN of the target. TargetArn *string `locationName:"targetArn" type:"string"` // The unique ID of a deployment target that has a type of ecsTarget. TargetId *string `locationName:"targetId" type:"string"` // The ECSTaskSet objects associated with the ECS target. TaskSetsInfo []ECSTaskSet `locationName:"taskSetsInfo" type:"list"` // contains filtered or unexported fields }
Information about the target of an Amazon ECS deployment.
type ECSTaskSet ¶ added in v0.6.0
type ECSTaskSet struct { // The number of tasks in a task set. During a deployment that uses the Amazon // ECS compute type, CodeDeploy instructs Amazon ECS to create a new task set // and uses this value to determine how many tasks to create. After the updated // task set is created, CodeDeploy shifts traffic to the new task set. DesiredCount *int64 `locationName:"desiredCount" type:"long"` // A unique ID of an ECSTaskSet. Identifer *string `locationName:"identifer" type:"string"` // The number of tasks in the task set that are in the PENDING status during // an Amazon ECS deployment. A task in the PENDING state is preparing to enter // the RUNNING state. A task set enters the PENDING status when it launches // for the first time, or when it is restarted after being in the STOPPED state. PendingCount *int64 `locationName:"pendingCount" type:"long"` // The number of tasks in the task set that are in the RUNNING status during // an Amazon ECS deployment. A task in the RUNNING state is running and ready // for use. RunningCount *int64 `locationName:"runningCount" type:"long"` // The status of the task set. There are three valid task set statuses: // // * PRIMARY: Indicates the task set is serving production traffic. // // * ACTIVE: Indicates the task set is not serving production traffic. // // * DRAINING: Indicates the tasks in the task set are being stopped and // their corresponding targets are being deregistered from their target group. Status *string `locationName:"status" type:"string"` // The target group associated with the task set. The target group is used by // AWS CodeDeploy to manage traffic to a task set. TargetGroup *TargetGroupInfo `locationName:"targetGroup" type:"structure"` // A label that identifies whether the ECS task set is an original target (BLUE) // or a replacement target (GREEN). TaskSetLabel TargetLabel `locationName:"taskSetLabel" type:"string" enum:"true"` // The percentage of traffic served by this task set. TrafficWeight *float64 `locationName:"trafficWeight" type:"double"` // contains filtered or unexported fields }
Information about a set of Amazon ECS tasks in an AWS CodeDeploy deployment. An Amazon ECS task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic. An AWS CodeDeploy application that uses the Amazon ECS compute platform deploys a containerized application in an Amazon ECS service as a task set.
func (ECSTaskSet) String ¶ added in v0.6.0
func (s ECSTaskSet) String() string
String returns the string representation
type ELBInfo ¶
type ELBInfo struct { // For blue/green deployments, the name of the load balancer that is 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 is complete. 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.
type ErrorCode ¶
type ErrorCode string
const ( ErrorCodeAgentIssue ErrorCode = "AGENT_ISSUE" ErrorCodeAlarmActive ErrorCode = "ALARM_ACTIVE" ErrorCodeApplicationMissing ErrorCode = "APPLICATION_MISSING" ErrorCodeAutoscalingValidationError ErrorCode = "AUTOSCALING_VALIDATION_ERROR" ErrorCodeAutoScalingConfiguration ErrorCode = "AUTO_SCALING_CONFIGURATION" ErrorCodeAutoScalingIamRolePermissions ErrorCode = "AUTO_SCALING_IAM_ROLE_PERMISSIONS" ErrorCodeCodedeployResourceCannotBeFound ErrorCode = "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND" ErrorCodeCustomerApplicationUnhealthy ErrorCode = "CUSTOMER_APPLICATION_UNHEALTHY" ErrorCodeDeploymentGroupMissing ErrorCode = "DEPLOYMENT_GROUP_MISSING" ErrorCodeEcsUpdateError ErrorCode = "ECS_UPDATE_ERROR" ErrorCodeElasticLoadBalancingInvalid ErrorCode = "ELASTIC_LOAD_BALANCING_INVALID" ErrorCodeElbInvalidInstance ErrorCode = "ELB_INVALID_INSTANCE" ErrorCodeHealthConstraints ErrorCode = "HEALTH_CONSTRAINTS" ErrorCodeHealthConstraintsInvalid ErrorCode = "HEALTH_CONSTRAINTS_INVALID" ErrorCodeHookExecutionFailure ErrorCode = "HOOK_EXECUTION_FAILURE" ErrorCodeIamRoleMissing ErrorCode = "IAM_ROLE_MISSING" ErrorCodeIamRolePermissions ErrorCode = "IAM_ROLE_PERMISSIONS" ErrorCodeInternalError ErrorCode = "INTERNAL_ERROR" ErrorCodeInvalidEcsService ErrorCode = "INVALID_ECS_SERVICE" ErrorCodeInvalidLambdaConfiguration ErrorCode = "INVALID_LAMBDA_CONFIGURATION" ErrorCodeInvalidLambdaFunction ErrorCode = "INVALID_LAMBDA_FUNCTION" ErrorCodeInvalidRevision ErrorCode = "INVALID_REVISION" ErrorCodeManualStop ErrorCode = "MANUAL_STOP" ErrorCodeMissingBlueGreenDeploymentConfiguration ErrorCode = "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION" ErrorCodeMissingElbInformation ErrorCode = "MISSING_ELB_INFORMATION" ErrorCodeMissingGithubToken ErrorCode = "MISSING_GITHUB_TOKEN" ErrorCodeNoEc2Subscription ErrorCode = "NO_EC2_SUBSCRIPTION" ErrorCodeNoInstances ErrorCode = "NO_INSTANCES" ErrorCodeOverMaxInstances ErrorCode = "OVER_MAX_INSTANCES" ErrorCodeResourceLimitExceeded ErrorCode = "RESOURCE_LIMIT_EXCEEDED" ErrorCodeRevisionMissing ErrorCode = "REVISION_MISSING" ErrorCodeThrottled ErrorCode = "THROTTLED" ErrorCodeTimeout ErrorCode = "TIMEOUT" )
Enum values for ErrorCode
func (ErrorCode) MarshalValue ¶ added in v0.3.0
type ErrorInformation ¶
type ErrorInformation struct { // For more information, see Error Codes for AWS CodeDeploy (https://docs.aws.amazon.com/codedeploy/latest/userguide/error-codes.html) // in the AWS CodeDeploy User Guide (https://docs.aws.amazon.com/codedeploy/latest/userguide). // // The error code: // // * APPLICATION_MISSING: The application was missing. This error code is // most likely 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 is most likely 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 Amazon // EC2. // // * NO_INSTANCES: No instances were specified, or no instances can be found. // // * OVER_MAX_INSTANCES: The maximum number of instances 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 is most // likely 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.
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
func (FileExistsBehavior) MarshalValue ¶ added in v0.3.0
func (enum FileExistsBehavior) MarshalValue() (string, error)
func (FileExistsBehavior) MarshalValueBuf ¶ added in v0.3.0
func (enum FileExistsBehavior) MarshalValueBuf(b []byte) ([]byte, error)
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"` // When the revision was last used by AWS CodeDeploy. LastUsedTime *time.Time `locationName:"lastUsedTime" type:"timestamp"` // When the revision was registered with AWS CodeDeploy. RegisterTime *time.Time `locationName:"registerTime" type:"timestamp"` // contains filtered or unexported fields }
Information about an application revision.
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 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.
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.
func (GetApplicationOutput) String ¶
func (s GetApplicationOutput) String() string
String returns the string representation
type GetApplicationRequest ¶
type GetApplicationRequest struct { *aws.Request Input *GetApplicationInput Copy func(*GetApplicationInput) GetApplicationRequest }
GetApplicationRequest is the request type for the GetApplication API operation.
func (GetApplicationRequest) Send ¶
func (r GetApplicationRequest) Send(ctx context.Context) (*GetApplicationResponse, error)
Send marshals and sends the GetApplication API request.
type GetApplicationResponse ¶ added in v0.9.0
type GetApplicationResponse struct { *GetApplicationOutput // contains filtered or unexported fields }
GetApplicationResponse is the response type for the GetApplication API operation.
func (*GetApplicationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetApplication 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.
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.
func (GetApplicationRevisionOutput) String ¶
func (s GetApplicationRevisionOutput) String() string
String returns the string representation
type GetApplicationRevisionRequest ¶
type GetApplicationRevisionRequest struct { *aws.Request Input *GetApplicationRevisionInput Copy func(*GetApplicationRevisionInput) GetApplicationRevisionRequest }
GetApplicationRevisionRequest is the request type for the GetApplicationRevision API operation.
func (GetApplicationRevisionRequest) Send ¶
func (r GetApplicationRevisionRequest) Send(ctx context.Context) (*GetApplicationRevisionResponse, error)
Send marshals and sends the GetApplicationRevision API request.
type GetApplicationRevisionResponse ¶ added in v0.9.0
type GetApplicationRevisionResponse struct { *GetApplicationRevisionOutput // contains filtered or unexported fields }
GetApplicationRevisionResponse is the response type for the GetApplicationRevision API operation.
func (*GetApplicationRevisionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetApplicationRevisionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetApplicationRevision request.
type GetDeploymentConfigInput ¶
type GetDeploymentConfigInput struct { // The name of a deployment configuration associated with the 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.
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.
func (GetDeploymentConfigOutput) String ¶
func (s GetDeploymentConfigOutput) String() string
String returns the string representation
type GetDeploymentConfigRequest ¶
type GetDeploymentConfigRequest struct { *aws.Request Input *GetDeploymentConfigInput Copy func(*GetDeploymentConfigInput) GetDeploymentConfigRequest }
GetDeploymentConfigRequest is the request type for the GetDeploymentConfig API operation.
func (GetDeploymentConfigRequest) Send ¶
func (r GetDeploymentConfigRequest) Send(ctx context.Context) (*GetDeploymentConfigResponse, error)
Send marshals and sends the GetDeploymentConfig API request.
type GetDeploymentConfigResponse ¶ added in v0.9.0
type GetDeploymentConfigResponse struct { *GetDeploymentConfigOutput // contains filtered or unexported fields }
GetDeploymentConfigResponse is the response type for the GetDeploymentConfig API operation.
func (*GetDeploymentConfigResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetDeploymentConfigResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDeploymentConfig request.
type GetDeploymentGroupInput ¶
type GetDeploymentGroupInput struct { // The name of an AWS CodeDeploy application associated with the IAM user or // AWS account. // // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // The name of a 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.
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.
func (GetDeploymentGroupOutput) String ¶
func (s GetDeploymentGroupOutput) String() string
String returns the string representation
type GetDeploymentGroupRequest ¶
type GetDeploymentGroupRequest struct { *aws.Request Input *GetDeploymentGroupInput Copy func(*GetDeploymentGroupInput) GetDeploymentGroupRequest }
GetDeploymentGroupRequest is the request type for the GetDeploymentGroup API operation.
func (GetDeploymentGroupRequest) Send ¶
func (r GetDeploymentGroupRequest) Send(ctx context.Context) (*GetDeploymentGroupResponse, error)
Send marshals and sends the GetDeploymentGroup API request.
type GetDeploymentGroupResponse ¶ added in v0.9.0
type GetDeploymentGroupResponse struct { *GetDeploymentGroupOutput // contains filtered or unexported fields }
GetDeploymentGroupResponse is the response type for the GetDeploymentGroup API operation.
func (*GetDeploymentGroupResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetDeploymentGroupResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDeploymentGroup request.
type GetDeploymentInput ¶
type GetDeploymentInput struct { // The unique ID of a deployment associated with the 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.
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.
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" deprecated:"true" type:"structure"` // contains filtered or unexported fields }
Represents the output of a GetDeploymentInstance operation.
func (GetDeploymentInstanceOutput) String ¶
func (s GetDeploymentInstanceOutput) String() string
String returns the string representation
type GetDeploymentInstanceRequest ¶
type GetDeploymentInstanceRequest struct { *aws.Request Input *GetDeploymentInstanceInput Copy func(*GetDeploymentInstanceInput) GetDeploymentInstanceRequest }
GetDeploymentInstanceRequest is the request type for the GetDeploymentInstance API operation.
func (GetDeploymentInstanceRequest) Send ¶
func (r GetDeploymentInstanceRequest) Send(ctx context.Context) (*GetDeploymentInstanceResponse, error)
Send marshals and sends the GetDeploymentInstance API request.
type GetDeploymentInstanceResponse ¶ added in v0.9.0
type GetDeploymentInstanceResponse struct { *GetDeploymentInstanceOutput // contains filtered or unexported fields }
GetDeploymentInstanceResponse is the response type for the GetDeploymentInstance API operation.
func (*GetDeploymentInstanceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetDeploymentInstanceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDeploymentInstance 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.
func (GetDeploymentOutput) String ¶
func (s GetDeploymentOutput) String() string
String returns the string representation
type GetDeploymentRequest ¶
type GetDeploymentRequest struct { *aws.Request Input *GetDeploymentInput Copy func(*GetDeploymentInput) GetDeploymentRequest }
GetDeploymentRequest is the request type for the GetDeployment API operation.
func (GetDeploymentRequest) Send ¶
func (r GetDeploymentRequest) Send(ctx context.Context) (*GetDeploymentResponse, error)
Send marshals and sends the GetDeployment API request.
type GetDeploymentResponse ¶ added in v0.9.0
type GetDeploymentResponse struct { *GetDeploymentOutput // contains filtered or unexported fields }
GetDeploymentResponse is the response type for the GetDeployment API operation.
func (*GetDeploymentResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetDeploymentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDeployment request.
type GetDeploymentTargetInput ¶ added in v0.6.0
type GetDeploymentTargetInput struct { // The unique ID of a deployment. DeploymentId *string `locationName:"deploymentId" type:"string"` // The unique ID of a deployment target. TargetId *string `locationName:"targetId" type:"string"` // contains filtered or unexported fields }
func (GetDeploymentTargetInput) String ¶ added in v0.6.0
func (s GetDeploymentTargetInput) String() string
String returns the string representation
type GetDeploymentTargetOutput ¶ added in v0.6.0
type GetDeploymentTargetOutput struct { // A deployment target that contains information about a deployment such as // its status, lifecyle events, and when it was last updated. It also contains // metadata about the deployment target. The deployment target metadata depends // on the deployment target's type (instanceTarget, lambdaTarget, or ecsTarget). DeploymentTarget *DeploymentTarget `locationName:"deploymentTarget" type:"structure"` // contains filtered or unexported fields }
func (GetDeploymentTargetOutput) String ¶ added in v0.6.0
func (s GetDeploymentTargetOutput) String() string
String returns the string representation
type GetDeploymentTargetRequest ¶ added in v0.6.0
type GetDeploymentTargetRequest struct { *aws.Request Input *GetDeploymentTargetInput Copy func(*GetDeploymentTargetInput) GetDeploymentTargetRequest }
GetDeploymentTargetRequest is the request type for the GetDeploymentTarget API operation.
func (GetDeploymentTargetRequest) Send ¶ added in v0.6.0
func (r GetDeploymentTargetRequest) Send(ctx context.Context) (*GetDeploymentTargetResponse, error)
Send marshals and sends the GetDeploymentTarget API request.
type GetDeploymentTargetResponse ¶ added in v0.9.0
type GetDeploymentTargetResponse struct { *GetDeploymentTargetOutput // contains filtered or unexported fields }
GetDeploymentTargetResponse is the response type for the GetDeploymentTarget API operation.
func (*GetDeploymentTargetResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetDeploymentTargetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDeploymentTarget 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.
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.
func (GetOnPremisesInstanceOutput) String ¶
func (s GetOnPremisesInstanceOutput) String() string
String returns the string representation
type GetOnPremisesInstanceRequest ¶
type GetOnPremisesInstanceRequest struct { *aws.Request Input *GetOnPremisesInstanceInput Copy func(*GetOnPremisesInstanceInput) GetOnPremisesInstanceRequest }
GetOnPremisesInstanceRequest is the request type for the GetOnPremisesInstance API operation.
func (GetOnPremisesInstanceRequest) Send ¶
func (r GetOnPremisesInstanceRequest) Send(ctx context.Context) (*GetOnPremisesInstanceResponse, error)
Send marshals and sends the GetOnPremisesInstance API request.
type GetOnPremisesInstanceResponse ¶ added in v0.9.0
type GetOnPremisesInstanceResponse struct { *GetOnPremisesInstanceOutput // contains filtered or unexported fields }
GetOnPremisesInstanceResponse is the response type for the GetOnPremisesInstance API operation.
func (*GetOnPremisesInstanceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetOnPremisesInstanceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetOnPremisesInstance 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.
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
func (GreenFleetProvisioningAction) MarshalValue ¶ added in v0.3.0
func (enum GreenFleetProvisioningAction) MarshalValue() (string, error)
func (GreenFleetProvisioningAction) MarshalValueBuf ¶ added in v0.3.0
func (enum GreenFleetProvisioningAction) MarshalValueBuf(b []byte) ([]byte, error)
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.
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
func (InstanceAction) MarshalValue ¶ added in v0.3.0
func (enum InstanceAction) MarshalValue() (string, error)
func (InstanceAction) MarshalValueBuf ¶ added in v0.3.0
func (enum InstanceAction) MarshalValueBuf(b []byte) ([]byte, error)
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"` // 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"` // 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.
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
func (InstanceStatus) MarshalValue ¶ added in v0.3.0
func (enum InstanceStatus) MarshalValue() (string, error)
func (InstanceStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum InstanceStatus) MarshalValueBuf(b []byte) ([]byte, error)
type InstanceSummary ¶
type InstanceSummary struct { // The unique ID of a deployment. 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 that indicaties when the instance information was last updated. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` // 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" deprecated:"true" type:"string" enum:"true"` // contains filtered or unexported fields }
Information about an instance in a deployment.
func (InstanceSummary) String ¶
func (s InstanceSummary) String() string
String returns the string representation
type InstanceTarget ¶ added in v0.6.0
type InstanceTarget struct { // The unique ID of a deployment. DeploymentId *string `locationName:"deploymentId" type:"string"` // A label that identifies whether the instance is an original target (BLUE) // or a replacement target (GREEN). InstanceLabel TargetLabel `locationName:"instanceLabel" type:"string" enum:"true"` // The date and time when the target instance was updated by a deployment. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` // The lifecycle events of the deployment to this target instance. LifecycleEvents []LifecycleEvent `locationName:"lifecycleEvents" type:"list"` // The status an EC2/On-premises deployment's target instance. Status TargetStatus `locationName:"status" type:"string" enum:"true"` // The ARN of the target. TargetArn *string `locationName:"targetArn" type:"string"` // The unique ID of a deployment target that has a type of instanceTarget. TargetId *string `locationName:"targetId" type:"string"` // contains filtered or unexported fields }
A target Amazon EC2 or on-premises instance during a deployment that uses the EC2/On-premises compute platform.
func (InstanceTarget) String ¶ added in v0.6.0
func (s InstanceTarget) String() string
String returns the string representation
type InstanceType ¶
type InstanceType string
const ( InstanceTypeBlue InstanceType = "Blue" InstanceTypeGreen InstanceType = "Green" )
Enum values for InstanceType
func (InstanceType) MarshalValue ¶ added in v0.3.0
func (enum InstanceType) MarshalValue() (string, error)
func (InstanceType) MarshalValueBuf ¶ added in v0.3.0
func (enum InstanceType) MarshalValueBuf(b []byte) ([]byte, error)
type LambdaFunctionInfo ¶ added in v0.9.0
type LambdaFunctionInfo struct { // The version of a Lambda function that production traffic points to. CurrentVersion *string `locationName:"currentVersion" type:"string"` // The alias of a Lambda function. For more information, see Introduction to // AWS Lambda Aliases (https://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html). FunctionAlias *string `locationName:"functionAlias" type:"string"` // The name of a Lambda function. FunctionName *string `locationName:"functionName" type:"string"` // The version of a Lambda function that production traffic points to after // the Lambda function is deployed. TargetVersion *string `locationName:"targetVersion" type:"string"` // The percentage of production traffic that the target version of a Lambda // function receives. TargetVersionWeight *float64 `locationName:"targetVersionWeight" type:"double"` // contains filtered or unexported fields }
Information about a Lambda function specified in a deployment.
func (LambdaFunctionInfo) String ¶ added in v0.9.0
func (s LambdaFunctionInfo) String() string
String returns the string representation
type LambdaTarget ¶ added in v0.6.0
type LambdaTarget struct { // The unique ID of a deployment. DeploymentId *string `locationName:"deploymentId" type:"string"` // A LambdaFunctionInfo object that describes a target Lambda function. LambdaFunctionInfo *LambdaFunctionInfo `locationName:"lambdaFunctionInfo" type:"structure"` // The date and time when the target Lambda function was updated by a deployment. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` // The lifecycle events of the deployment to this target Lambda function. LifecycleEvents []LifecycleEvent `locationName:"lifecycleEvents" type:"list"` // The status an AWS Lambda deployment's target Lambda function. Status TargetStatus `locationName:"status" type:"string" enum:"true"` // The ARN of the target. TargetArn *string `locationName:"targetArn" type:"string"` // The unique ID of a deployment target that has a type of lambdaTarget. TargetId *string `locationName:"targetId" type:"string"` // contains filtered or unexported fields }
Information about the target AWS Lambda function during an AWS Lambda deployment.
func (LambdaTarget) String ¶ added in v0.6.0
func (s LambdaTarget) String() string
String returns the string representation
type LastDeploymentInfo ¶
type LastDeploymentInfo struct { // A timestamp that indicates when the most recent deployment to the deployment // group started. CreateTime *time.Time `locationName:"createTime" type:"timestamp"` // The unique ID of a deployment. DeploymentId *string `locationName:"deploymentId" type:"string"` // A timestamp that indicates when the most recent deployment to the deployment // group was complete. EndTime *time.Time `locationName:"endTime" type:"timestamp"` // 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.
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
func (LifecycleErrorCode) MarshalValue ¶ added in v0.3.0
func (enum LifecycleErrorCode) MarshalValue() (string, error)
func (LifecycleErrorCode) MarshalValueBuf ¶ added in v0.3.0
func (enum LifecycleErrorCode) MarshalValueBuf(b []byte) ([]byte, error)
type LifecycleEvent ¶
type LifecycleEvent struct { // Diagnostic information about the deployment lifecycle event. Diagnostics *Diagnostics `locationName:"diagnostics" type:"structure"` // A timestamp that indicates when the deployment lifecycle event ended. EndTime *time.Time `locationName:"endTime" type:"timestamp"` // The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, // AfterInstall, ApplicationStart, or ValidateService. LifecycleEventName *string `locationName:"lifecycleEventName" type:"string"` // A timestamp that indicates when the deployment lifecycle event started. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // 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.
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
func (LifecycleEventStatus) MarshalValue ¶ added in v0.3.0
func (enum LifecycleEventStatus) MarshalValue() (string, error)
func (LifecycleEventStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum LifecycleEventStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ListApplicationRevisionsInput ¶
type ListApplicationRevisionsInput struct { // The name of an AWS CodeDeploy application associated with the 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 ListApplicationRevisions 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 are 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 are 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 are sorted in ascending order. // // If set to null, the results are 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.
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 is also returned. // It can be used in a subsequent list application revisions call to return // the next set of application revisions in the list. NextToken *string `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.
func (ListApplicationRevisionsOutput) String ¶
func (s ListApplicationRevisionsOutput) String() string
String returns the string representation
type ListApplicationRevisionsPaginator ¶ added in v0.9.0
ListApplicationRevisionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListApplicationRevisionsPaginator ¶ added in v0.9.0
func NewListApplicationRevisionsPaginator(req ListApplicationRevisionsRequest) ListApplicationRevisionsPaginator
NewListApplicationRevisionsRequestPaginator returns a paginator for ListApplicationRevisions. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListApplicationRevisionsRequest(input) p := codedeploy.NewListApplicationRevisionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListApplicationRevisionsPaginator) CurrentPage ¶ added in v0.9.0
func (p *ListApplicationRevisionsPaginator) CurrentPage() *ListApplicationRevisionsOutput
type ListApplicationRevisionsRequest ¶
type ListApplicationRevisionsRequest struct { *aws.Request Input *ListApplicationRevisionsInput Copy func(*ListApplicationRevisionsInput) ListApplicationRevisionsRequest }
ListApplicationRevisionsRequest is the request type for the ListApplicationRevisions API operation.
func (ListApplicationRevisionsRequest) Send ¶
func (r ListApplicationRevisionsRequest) Send(ctx context.Context) (*ListApplicationRevisionsResponse, error)
Send marshals and sends the ListApplicationRevisions API request.
type ListApplicationRevisionsResponse ¶ added in v0.9.0
type ListApplicationRevisionsResponse struct { *ListApplicationRevisionsOutput // contains filtered or unexported fields }
ListApplicationRevisionsResponse is the response type for the ListApplicationRevisions API operation.
func (*ListApplicationRevisionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListApplicationRevisionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListApplicationRevisions 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.
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 in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the output of a ListApplications operation.
func (ListApplicationsOutput) String ¶
func (s ListApplicationsOutput) String() string
String returns the string representation
type ListApplicationsPaginator ¶ added in v0.9.0
ListApplicationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListApplicationsPaginator ¶ added in v0.9.0
func NewListApplicationsPaginator(req ListApplicationsRequest) ListApplicationsPaginator
NewListApplicationsRequestPaginator returns a paginator for ListApplications. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListApplicationsRequest(input) p := codedeploy.NewListApplicationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListApplicationsPaginator) CurrentPage ¶ added in v0.9.0
func (p *ListApplicationsPaginator) CurrentPage() *ListApplicationsOutput
type ListApplicationsRequest ¶
type ListApplicationsRequest struct { *aws.Request Input *ListApplicationsInput Copy func(*ListApplicationsInput) ListApplicationsRequest }
ListApplicationsRequest is the request type for the ListApplications API operation.
func (ListApplicationsRequest) Send ¶
func (r ListApplicationsRequest) Send(ctx context.Context) (*ListApplicationsResponse, error)
Send marshals and sends the ListApplications API request.
type ListApplicationsResponse ¶ added in v0.9.0
type ListApplicationsResponse struct { *ListApplicationsOutput // contains filtered or unexported fields }
ListApplicationsResponse is the response type for the ListApplications API operation.
func (*ListApplicationsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListApplicationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListApplications request.
type ListDeploymentConfigsInput ¶
type ListDeploymentConfigsInput struct { // An identifier returned from the previous ListDeploymentConfigs call. It can // be used to return the next set of deployment configurations in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the input of a ListDeploymentConfigs operation.
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.
func (ListDeploymentConfigsOutput) String ¶
func (s ListDeploymentConfigsOutput) String() string
String returns the string representation
type ListDeploymentConfigsPaginator ¶ added in v0.9.0
ListDeploymentConfigsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListDeploymentConfigsPaginator ¶ added in v0.9.0
func NewListDeploymentConfigsPaginator(req ListDeploymentConfigsRequest) ListDeploymentConfigsPaginator
NewListDeploymentConfigsRequestPaginator returns a paginator for ListDeploymentConfigs. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListDeploymentConfigsRequest(input) p := codedeploy.NewListDeploymentConfigsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListDeploymentConfigsPaginator) CurrentPage ¶ added in v0.9.0
func (p *ListDeploymentConfigsPaginator) CurrentPage() *ListDeploymentConfigsOutput
type ListDeploymentConfigsRequest ¶
type ListDeploymentConfigsRequest struct { *aws.Request Input *ListDeploymentConfigsInput Copy func(*ListDeploymentConfigsInput) ListDeploymentConfigsRequest }
ListDeploymentConfigsRequest is the request type for the ListDeploymentConfigs API operation.
func (ListDeploymentConfigsRequest) Send ¶
func (r ListDeploymentConfigsRequest) Send(ctx context.Context) (*ListDeploymentConfigsResponse, error)
Send marshals and sends the ListDeploymentConfigs API request.
type ListDeploymentConfigsResponse ¶ added in v0.9.0
type ListDeploymentConfigsResponse struct { *ListDeploymentConfigsOutput // contains filtered or unexported fields }
ListDeploymentConfigsResponse is the response type for the ListDeploymentConfigs API operation.
func (*ListDeploymentConfigsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListDeploymentConfigsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDeploymentConfigs request.
type ListDeploymentGroupsInput ¶
type ListDeploymentGroupsInput struct { // The name of an AWS CodeDeploy application associated with the 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.
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 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.
func (ListDeploymentGroupsOutput) String ¶
func (s ListDeploymentGroupsOutput) String() string
String returns the string representation
type ListDeploymentGroupsPaginator ¶ added in v0.9.0
ListDeploymentGroupsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListDeploymentGroupsPaginator ¶ added in v0.9.0
func NewListDeploymentGroupsPaginator(req ListDeploymentGroupsRequest) ListDeploymentGroupsPaginator
NewListDeploymentGroupsRequestPaginator returns a paginator for ListDeploymentGroups. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListDeploymentGroupsRequest(input) p := codedeploy.NewListDeploymentGroupsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListDeploymentGroupsPaginator) CurrentPage ¶ added in v0.9.0
func (p *ListDeploymentGroupsPaginator) CurrentPage() *ListDeploymentGroupsOutput
type ListDeploymentGroupsRequest ¶
type ListDeploymentGroupsRequest struct { *aws.Request Input *ListDeploymentGroupsInput Copy func(*ListDeploymentGroupsInput) ListDeploymentGroupsRequest }
ListDeploymentGroupsRequest is the request type for the ListDeploymentGroups API operation.
func (ListDeploymentGroupsRequest) Send ¶
func (r ListDeploymentGroupsRequest) Send(ctx context.Context) (*ListDeploymentGroupsResponse, error)
Send marshals and sends the ListDeploymentGroups API request.
type ListDeploymentGroupsResponse ¶ added in v0.9.0
type ListDeploymentGroupsResponse struct { *ListDeploymentGroupsOutput // contains filtered or unexported fields }
ListDeploymentGroupsResponse is the response type for the ListDeploymentGroups API operation.
func (*ListDeploymentGroupsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListDeploymentGroupsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDeploymentGroups 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 instances with pending deployments. // // * InProgress: Include those instances where deployments are still in progress. // // * Succeeded: Include those instances with successful deployments. // // * Failed: Include those instances with failed deployments. // // * Skipped: Include those instances with skipped deployments. // // * Unknown: Include those instances with deployments in an unknown state. InstanceStatusFilter []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.
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.
func (ListDeploymentInstancesOutput) String ¶
func (s ListDeploymentInstancesOutput) String() string
String returns the string representation
type ListDeploymentInstancesPaginator ¶ added in v0.9.0
ListDeploymentInstancesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListDeploymentInstancesPaginator ¶ added in v0.9.0
func NewListDeploymentInstancesPaginator(req ListDeploymentInstancesRequest) ListDeploymentInstancesPaginator
NewListDeploymentInstancesRequestPaginator returns a paginator for ListDeploymentInstances. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListDeploymentInstancesRequest(input) p := codedeploy.NewListDeploymentInstancesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListDeploymentInstancesPaginator) CurrentPage ¶ added in v0.9.0
func (p *ListDeploymentInstancesPaginator) CurrentPage() *ListDeploymentInstancesOutput
type ListDeploymentInstancesRequest ¶
type ListDeploymentInstancesRequest struct { *aws.Request Input *ListDeploymentInstancesInput Copy func(*ListDeploymentInstancesInput) ListDeploymentInstancesRequest }
ListDeploymentInstancesRequest is the request type for the ListDeploymentInstances API operation.
func (ListDeploymentInstancesRequest) Send ¶
func (r ListDeploymentInstancesRequest) Send(ctx context.Context) (*ListDeploymentInstancesResponse, error)
Send marshals and sends the ListDeploymentInstances API request.
type ListDeploymentInstancesResponse ¶ added in v0.9.0
type ListDeploymentInstancesResponse struct { *ListDeploymentInstancesOutput // contains filtered or unexported fields }
ListDeploymentInstancesResponse is the response type for the ListDeploymentInstances API operation.
func (*ListDeploymentInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListDeploymentInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDeploymentInstances request.
type ListDeploymentTargetsInput ¶ added in v0.6.0
type ListDeploymentTargetsInput struct { // The unique ID of a deployment. DeploymentId *string `locationName:"deploymentId" type:"string"` // A token identifier returned from the previous ListDeploymentTargets call. // It can be used to return the next set of deployment targets in the list. NextToken *string `locationName:"nextToken" type:"string"` // A key used to filter the returned targets. The two valid values are: // // * TargetStatus - A TargetStatus filter string can be Failed, InProgress, // Pending, Ready, Skipped, Succeeded, or Unknown. // // * ServerInstanceLabel - A ServerInstanceLabel filter string can be Blue // or Green. TargetFilters map[string][]string `locationName:"targetFilters" type:"map"` // contains filtered or unexported fields }
func (ListDeploymentTargetsInput) String ¶ added in v0.6.0
func (s ListDeploymentTargetsInput) String() string
String returns the string representation
type ListDeploymentTargetsOutput ¶ added in v0.6.0
type ListDeploymentTargetsOutput struct { // If a large amount of information is returned, a token identifier is also // returned. It can be used in a subsequent ListDeploymentTargets call to return // the next set of deployment targets in the list. NextToken *string `locationName:"nextToken" type:"string"` // The unique IDs of deployment targets. TargetIds []string `locationName:"targetIds" type:"list"` // contains filtered or unexported fields }
func (ListDeploymentTargetsOutput) String ¶ added in v0.6.0
func (s ListDeploymentTargetsOutput) String() string
String returns the string representation
type ListDeploymentTargetsRequest ¶ added in v0.6.0
type ListDeploymentTargetsRequest struct { *aws.Request Input *ListDeploymentTargetsInput Copy func(*ListDeploymentTargetsInput) ListDeploymentTargetsRequest }
ListDeploymentTargetsRequest is the request type for the ListDeploymentTargets API operation.
func (ListDeploymentTargetsRequest) Send ¶ added in v0.6.0
func (r ListDeploymentTargetsRequest) Send(ctx context.Context) (*ListDeploymentTargetsResponse, error)
Send marshals and sends the ListDeploymentTargets API request.
type ListDeploymentTargetsResponse ¶ added in v0.9.0
type ListDeploymentTargetsResponse struct { *ListDeploymentTargetsOutput // contains filtered or unexported fields }
ListDeploymentTargetsResponse is the response type for the ListDeploymentTargets API operation.
func (*ListDeploymentTargetsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListDeploymentTargetsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDeploymentTargets request.
type ListDeploymentsInput ¶
type ListDeploymentsInput struct { // The name of an AWS CodeDeploy application associated with the IAM user or // AWS account. // // If applicationName is specified, then deploymentGroupName must be specified. // If it is not specified, then deploymentGroupName must not be specified. ApplicationName *string `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 a deployment group for the specified application. // // If deploymentGroupName is specified, then applicationName must be specified. // If it is not specified, then applicationName must not be specified. DeploymentGroupName *string `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.
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.
func (ListDeploymentsOutput) String ¶
func (s ListDeploymentsOutput) String() string
String returns the string representation
type ListDeploymentsPaginator ¶ added in v0.9.0
ListDeploymentsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListDeploymentsPaginator ¶ added in v0.9.0
func NewListDeploymentsPaginator(req ListDeploymentsRequest) ListDeploymentsPaginator
NewListDeploymentsRequestPaginator returns a paginator for ListDeployments. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListDeploymentsRequest(input) p := codedeploy.NewListDeploymentsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListDeploymentsPaginator) CurrentPage ¶ added in v0.9.0
func (p *ListDeploymentsPaginator) CurrentPage() *ListDeploymentsOutput
type ListDeploymentsRequest ¶
type ListDeploymentsRequest struct { *aws.Request Input *ListDeploymentsInput Copy func(*ListDeploymentsInput) ListDeploymentsRequest }
ListDeploymentsRequest is the request type for the ListDeployments API operation.
func (ListDeploymentsRequest) Send ¶
func (r ListDeploymentsRequest) Send(ctx context.Context) (*ListDeploymentsResponse, error)
Send marshals and sends the ListDeployments API request.
type ListDeploymentsResponse ¶ added in v0.9.0
type ListDeploymentsResponse struct { *ListDeploymentsOutput // contains filtered or unexported fields }
ListDeploymentsResponse is the response type for the ListDeployments API operation.
func (*ListDeploymentsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListDeploymentsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDeployments 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.
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.
func (ListGitHubAccountTokenNamesOutput) String ¶
func (s ListGitHubAccountTokenNamesOutput) String() string
String returns the string representation
type ListGitHubAccountTokenNamesRequest ¶
type ListGitHubAccountTokenNamesRequest struct { *aws.Request Input *ListGitHubAccountTokenNamesInput Copy func(*ListGitHubAccountTokenNamesInput) ListGitHubAccountTokenNamesRequest }
ListGitHubAccountTokenNamesRequest is the request type for the ListGitHubAccountTokenNames API operation.
func (ListGitHubAccountTokenNamesRequest) Send ¶
func (r ListGitHubAccountTokenNamesRequest) Send(ctx context.Context) (*ListGitHubAccountTokenNamesResponse, error)
Send marshals and sends the ListGitHubAccountTokenNames API request.
type ListGitHubAccountTokenNamesResponse ¶ added in v0.9.0
type ListGitHubAccountTokenNamesResponse struct { *ListGitHubAccountTokenNamesOutput // contains filtered or unexported fields }
ListGitHubAccountTokenNamesResponse is the response type for the ListGitHubAccountTokenNames API operation.
func (*ListGitHubAccountTokenNamesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListGitHubAccountTokenNamesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListGitHubAccountTokenNames 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 are used to restrict the on-premises instance // names returned. TagFilters []TagFilter `locationName:"tagFilters" type:"list"` // contains filtered or unexported fields }
Represents the input of a ListOnPremisesInstances operation.
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 the list on-premises instances operation.
func (ListOnPremisesInstancesOutput) String ¶
func (s ListOnPremisesInstancesOutput) String() string
String returns the string representation
type ListOnPremisesInstancesRequest ¶
type ListOnPremisesInstancesRequest struct { *aws.Request Input *ListOnPremisesInstancesInput Copy func(*ListOnPremisesInstancesInput) ListOnPremisesInstancesRequest }
ListOnPremisesInstancesRequest is the request type for the ListOnPremisesInstances API operation.
func (ListOnPremisesInstancesRequest) Send ¶
func (r ListOnPremisesInstancesRequest) Send(ctx context.Context) (*ListOnPremisesInstancesResponse, error)
Send marshals and sends the ListOnPremisesInstances API request.
type ListOnPremisesInstancesResponse ¶ added in v0.9.0
type ListOnPremisesInstancesResponse struct { *ListOnPremisesInstancesOutput // contains filtered or unexported fields }
ListOnPremisesInstancesResponse is the response type for the ListOnPremisesInstances API operation.
func (*ListOnPremisesInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListOnPremisesInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListOnPremisesInstances request.
type ListStateFilterAction ¶
type ListStateFilterAction string
const ( ListStateFilterActionInclude ListStateFilterAction = "include" ListStateFilterActionExclude ListStateFilterAction = "exclude" ListStateFilterActionIgnore ListStateFilterAction = "ignore" )
Enum values for ListStateFilterAction
func (ListStateFilterAction) MarshalValue ¶ added in v0.3.0
func (enum ListStateFilterAction) MarshalValue() (string, error)
func (ListStateFilterAction) MarshalValueBuf ¶ added in v0.3.0
func (enum ListStateFilterAction) MarshalValueBuf(b []byte) ([]byte, error)
type ListTagsForResourceInput ¶ added in v0.9.0
type ListTagsForResourceInput struct { // An identifier returned from the previous ListTagsForResource call. It can // be used to return the next set of applications in the list. NextToken *string `type:"string"` // The ARN of a CodeDeploy resource. ListTagsForResource returns all the tags // associated with the resource that is identified by the ResourceArn. // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) String ¶ added in v0.9.0
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶ added in v0.9.0
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶ added in v0.9.0
type ListTagsForResourceOutput struct { // If a large amount of information is returned, an identifier is also returned. // It can be used in a subsequent list application revisions call to return // the next set of application revisions in the list. NextToken *string `type:"string"` // A list of tags returned by ListTagsForResource. The tags are associated with // the resource identified by the input ResourceArn parameter. Tags []Tag `type:"list"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) String ¶ added in v0.9.0
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶ added in v0.9.0
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶ added in v0.9.0
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ¶ added in v0.9.0
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
type LoadBalancerInfo ¶
type LoadBalancerInfo struct { // An array that contains 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. // // Adding more than one load balancer to the array is not supported. ElbInfoList []ELBInfo `locationName:"elbInfoList" type:"list"` // An array that contains 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. // // Adding more than one target group to the array is not supported. TargetGroupInfoList []TargetGroupInfo `locationName:"targetGroupInfoList" type:"list"` // The target group pair information. This is an array of TargeGroupPairInfo // objects with a maximum size of one. TargetGroupPairInfoList []TargetGroupPairInfo `locationName:"targetGroupPairInfoList" type:"list"` // contains filtered or unexported fields }
Information about the Elastic Load Balancing load balancer or target group used in a deployment.
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 is 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 is successful if four or more instance are deployed // to successfully. Otherwise, the deployment fails. // // In a call to the GetDeploymentConfig, CodeDeployDefault.OneAtATime returns // 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 attempts 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 is still successful. // // For more information, see AWS CodeDeploy Instance Health (https://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.
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
func (MinimumHealthyHostsType) MarshalValue ¶ added in v0.3.0
func (enum MinimumHealthyHostsType) MarshalValue() (string, error)
func (MinimumHealthyHostsType) MarshalValueBuf ¶ added in v0.3.0
func (enum MinimumHealthyHostsType) MarshalValueBuf(b []byte) ([]byte, error)
type OnPremisesTagSet ¶
type OnPremisesTagSet struct { // A list that contains other lists of on-premises instance tag groups. For // an instance to be included in the deployment group, it must be identified // by all of 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.
func (OnPremisesTagSet) String ¶
func (s OnPremisesTagSet) String() string
String returns the string representation
type PutLifecycleEventHookExecutionStatusInput ¶ added in v0.2.0
type PutLifecycleEventHookExecutionStatusInput struct { // The unique ID of a 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 }
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 }
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 Copy func(*PutLifecycleEventHookExecutionStatusInput) PutLifecycleEventHookExecutionStatusRequest }
PutLifecycleEventHookExecutionStatusRequest is the request type for the PutLifecycleEventHookExecutionStatus API operation.
func (PutLifecycleEventHookExecutionStatusRequest) Send ¶ added in v0.2.0
func (r PutLifecycleEventHookExecutionStatusRequest) Send(ctx context.Context) (*PutLifecycleEventHookExecutionStatusResponse, error)
Send marshals and sends the PutLifecycleEventHookExecutionStatus API request.
type PutLifecycleEventHookExecutionStatusResponse ¶ added in v0.9.0
type PutLifecycleEventHookExecutionStatusResponse struct { *PutLifecycleEventHookExecutionStatusOutput // contains filtered or unexported fields }
PutLifecycleEventHookExecutionStatusResponse is the response type for the PutLifecycleEventHookExecutionStatus API operation.
func (*PutLifecycleEventHookExecutionStatusResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *PutLifecycleEventHookExecutionStatusResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PutLifecycleEventHookExecutionStatus 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 content. 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.
type RegisterApplicationRevisionInput ¶
type RegisterApplicationRevisionInput struct { // The name of an AWS CodeDeploy application associated with the 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.
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
}
func (RegisterApplicationRevisionOutput) String ¶
func (s RegisterApplicationRevisionOutput) String() string
String returns the string representation
type RegisterApplicationRevisionRequest ¶
type RegisterApplicationRevisionRequest struct { *aws.Request Input *RegisterApplicationRevisionInput Copy func(*RegisterApplicationRevisionInput) RegisterApplicationRevisionRequest }
RegisterApplicationRevisionRequest is the request type for the RegisterApplicationRevision API operation.
func (RegisterApplicationRevisionRequest) Send ¶
func (r RegisterApplicationRevisionRequest) Send(ctx context.Context) (*RegisterApplicationRevisionResponse, error)
Send marshals and sends the RegisterApplicationRevision API request.
type RegisterApplicationRevisionResponse ¶ added in v0.9.0
type RegisterApplicationRevisionResponse struct { *RegisterApplicationRevisionOutput // contains filtered or unexported fields }
RegisterApplicationRevisionResponse is the response type for the RegisterApplicationRevision API operation.
func (*RegisterApplicationRevisionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RegisterApplicationRevisionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RegisterApplicationRevision 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.
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
}
func (RegisterOnPremisesInstanceOutput) String ¶
func (s RegisterOnPremisesInstanceOutput) String() string
String returns the string representation
type RegisterOnPremisesInstanceRequest ¶
type RegisterOnPremisesInstanceRequest struct { *aws.Request Input *RegisterOnPremisesInstanceInput Copy func(*RegisterOnPremisesInstanceInput) RegisterOnPremisesInstanceRequest }
RegisterOnPremisesInstanceRequest is the request type for the RegisterOnPremisesInstance API operation.
func (RegisterOnPremisesInstanceRequest) Send ¶
func (r RegisterOnPremisesInstanceRequest) Send(ctx context.Context) (*RegisterOnPremisesInstanceResponse, error)
Send marshals and sends the RegisterOnPremisesInstance API request.
type RegisterOnPremisesInstanceResponse ¶ added in v0.9.0
type RegisterOnPremisesInstanceResponse struct { *RegisterOnPremisesInstanceOutput // contains filtered or unexported fields }
RegisterOnPremisesInstanceResponse is the response type for the RegisterOnPremisesInstance API operation.
func (*RegisterOnPremisesInstanceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RegisterOnPremisesInstanceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RegisterOnPremisesInstance request.
type RegistrationStatus ¶
type RegistrationStatus string
const ( RegistrationStatusRegistered RegistrationStatus = "Registered" RegistrationStatusDeregistered RegistrationStatus = "Deregistered" )
Enum values for RegistrationStatus
func (RegistrationStatus) MarshalValue ¶ added in v0.3.0
func (enum RegistrationStatus) MarshalValue() (string, error)
func (RegistrationStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum RegistrationStatus) MarshalValueBuf(b []byte) ([]byte, error)
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.
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
}
func (RemoveTagsFromOnPremisesInstancesOutput) String ¶
func (s RemoveTagsFromOnPremisesInstancesOutput) String() string
String returns the string representation
type RemoveTagsFromOnPremisesInstancesRequest ¶
type RemoveTagsFromOnPremisesInstancesRequest struct { *aws.Request Input *RemoveTagsFromOnPremisesInstancesInput Copy func(*RemoveTagsFromOnPremisesInstancesInput) RemoveTagsFromOnPremisesInstancesRequest }
RemoveTagsFromOnPremisesInstancesRequest is the request type for the RemoveTagsFromOnPremisesInstances API operation.
func (RemoveTagsFromOnPremisesInstancesRequest) Send ¶
func (r RemoveTagsFromOnPremisesInstancesRequest) Send(ctx context.Context) (*RemoveTagsFromOnPremisesInstancesResponse, error)
Send marshals and sends the RemoveTagsFromOnPremisesInstances API request.
type RemoveTagsFromOnPremisesInstancesResponse ¶ added in v0.9.0
type RemoveTagsFromOnPremisesInstancesResponse struct { *RemoveTagsFromOnPremisesInstancesOutput // contains filtered or unexported fields }
RemoveTagsFromOnPremisesInstancesResponse is the response type for the RemoveTagsFromOnPremisesInstances API operation.
func (*RemoveTagsFromOnPremisesInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RemoveTagsFromOnPremisesInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RemoveTagsFromOnPremisesInstances 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.
func (RevisionInfo) String ¶
func (s RevisionInfo) String() string
String returns the string representation
type RevisionLocation ¶
type RevisionLocation struct { // The content of an AppSpec file for an AWS Lambda or Amazon ECS deployment. // The content is formatted as JSON or YAML and stored as a RawString. AppSpecContent *AppSpecContent `locationName:"appSpecContent" type:"structure"` // 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" deprecated:"true" type:"structure"` // contains filtered or unexported fields }
Information about the location of an application revision.
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" RevisionLocationTypeAppSpecContent RevisionLocationType = "AppSpecContent" )
Enum values for RevisionLocationType
func (RevisionLocationType) MarshalValue ¶ added in v0.3.0
func (enum RevisionLocationType) MarshalValue() (string, error)
func (RevisionLocationType) MarshalValueBuf ¶ added in v0.3.0
func (enum RevisionLocationType) MarshalValueBuf(b []byte) ([]byte, error)
type RollbackInfo ¶
type RollbackInfo struct { // The ID of the deployment rollback. RollbackDeploymentId *string `locationName:"rollbackDeploymentId" type:"string"` // Information that describes 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.
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 is 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 uses 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.
func (S3Location) String ¶
func (s S3Location) String() string
String returns the string representation
type SkipWaitTimeForInstanceTerminationInput ¶
type SkipWaitTimeForInstanceTerminationInput struct { // The unique ID of a blue/green deployment for which you want to skip the instance // termination wait time. DeploymentId *string `locationName:"deploymentId" type:"string"` // contains filtered or unexported fields }
func (SkipWaitTimeForInstanceTerminationInput) String ¶
func (s SkipWaitTimeForInstanceTerminationInput) String() string
String returns the string representation
type SkipWaitTimeForInstanceTerminationOutput ¶
type SkipWaitTimeForInstanceTerminationOutput struct {
// contains filtered or unexported fields
}
func (SkipWaitTimeForInstanceTerminationOutput) String ¶
func (s SkipWaitTimeForInstanceTerminationOutput) String() string
String returns the string representation
type SkipWaitTimeForInstanceTerminationRequest ¶
type SkipWaitTimeForInstanceTerminationRequest struct { *aws.Request Input *SkipWaitTimeForInstanceTerminationInput Copy func(*SkipWaitTimeForInstanceTerminationInput) SkipWaitTimeForInstanceTerminationRequest }
SkipWaitTimeForInstanceTerminationRequest is the request type for the SkipWaitTimeForInstanceTermination API operation.
func (SkipWaitTimeForInstanceTerminationRequest) Send ¶
func (r SkipWaitTimeForInstanceTerminationRequest) Send(ctx context.Context) (*SkipWaitTimeForInstanceTerminationResponse, error)
Send marshals and sends the SkipWaitTimeForInstanceTermination API request.
type SkipWaitTimeForInstanceTerminationResponse ¶ added in v0.9.0
type SkipWaitTimeForInstanceTerminationResponse struct { *SkipWaitTimeForInstanceTerminationOutput // contains filtered or unexported fields }
SkipWaitTimeForInstanceTerminationResponse is the response type for the SkipWaitTimeForInstanceTermination API operation.
func (*SkipWaitTimeForInstanceTerminationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *SkipWaitTimeForInstanceTerminationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the SkipWaitTimeForInstanceTermination request.
type SortOrder ¶
type SortOrder string
Enum values for SortOrder
func (SortOrder) MarshalValue ¶ added in v0.3.0
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.
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.
func (StopDeploymentOutput) String ¶
func (s StopDeploymentOutput) String() string
String returns the string representation
type StopDeploymentRequest ¶
type StopDeploymentRequest struct { *aws.Request Input *StopDeploymentInput Copy func(*StopDeploymentInput) StopDeploymentRequest }
StopDeploymentRequest is the request type for the StopDeployment API operation.
func (StopDeploymentRequest) Send ¶
func (r StopDeploymentRequest) Send(ctx context.Context) (*StopDeploymentResponse, error)
Send marshals and sends the StopDeployment API request.
type StopDeploymentResponse ¶ added in v0.9.0
type StopDeploymentResponse struct { *StopDeploymentOutput // contains filtered or unexported fields }
StopDeploymentResponse is the response type for the StopDeployment API operation.
func (*StopDeploymentResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StopDeploymentResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StopDeployment request.
type StopStatus ¶
type StopStatus string
const ( StopStatusPending StopStatus = "Pending" StopStatusSucceeded StopStatus = "Succeeded" )
Enum values for StopStatus
func (StopStatus) MarshalValue ¶ added in v0.3.0
func (enum StopStatus) MarshalValue() (string, error)
func (StopStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum StopStatus) MarshalValueBuf(b []byte) ([]byte, error)
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.
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.
type TagFilterType ¶
type TagFilterType string
const ( TagFilterTypeKeyOnly TagFilterType = "KEY_ONLY" TagFilterTypeValueOnly TagFilterType = "VALUE_ONLY" TagFilterTypeKeyAndValue TagFilterType = "KEY_AND_VALUE" )
Enum values for TagFilterType
func (TagFilterType) MarshalValue ¶ added in v0.3.0
func (enum TagFilterType) MarshalValue() (string, error)
func (TagFilterType) MarshalValueBuf ¶ added in v0.3.0
func (enum TagFilterType) MarshalValueBuf(b []byte) ([]byte, error)
type TagResourceInput ¶ added in v0.9.0
type TagResourceInput struct { // The ARN of a resource, such as a CodeDeploy application or deployment group. // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // A list of tags that TagResource associates with a resource. The resource // is identified by the ResourceArn input parameter. // // Tags is a required field Tags []Tag `type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) String ¶ added in v0.9.0
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶ added in v0.9.0
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶ added in v0.9.0
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) String ¶ added in v0.9.0
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶ added in v0.9.0
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶ added in v0.9.0
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶ added in v0.9.0
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type TargetFilterName ¶ added in v0.6.0
type TargetFilterName string
const ( TargetFilterNameTargetStatus TargetFilterName = "TargetStatus" TargetFilterNameServerInstanceLabel TargetFilterName = "ServerInstanceLabel" )
Enum values for TargetFilterName
func (TargetFilterName) MarshalValue ¶ added in v0.6.0
func (enum TargetFilterName) MarshalValue() (string, error)
func (TargetFilterName) MarshalValueBuf ¶ added in v0.6.0
func (enum TargetFilterName) MarshalValueBuf(b []byte) ([]byte, error)
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 are 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 // is complete. 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.
func (TargetGroupInfo) String ¶
func (s TargetGroupInfo) String() string
String returns the string representation
type TargetGroupPairInfo ¶ added in v0.6.0
type TargetGroupPairInfo struct { // The path used by a load balancer to route production traffic when an Amazon // ECS deployment is complete. ProdTrafficRoute *TrafficRoute `locationName:"prodTrafficRoute" type:"structure"` // One pair of target groups. One is associated with the original task set. // The second is associated with the task set that serves traffic after the // deployment is complete. TargetGroups []TargetGroupInfo `locationName:"targetGroups" type:"list"` // An optional path used by a load balancer to route test traffic after an Amazon // ECS deployment. Validation can occur while test traffic is served during // a deployment. TestTrafficRoute *TrafficRoute `locationName:"testTrafficRoute" type:"structure"` // contains filtered or unexported fields }
Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified.
func (TargetGroupPairInfo) String ¶ added in v0.6.0
func (s TargetGroupPairInfo) 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.
func (TargetInstances) String ¶
func (s TargetInstances) String() string
String returns the string representation
type TargetLabel ¶ added in v0.6.0
type TargetLabel string
const ( TargetLabelBlue TargetLabel = "Blue" TargetLabelGreen TargetLabel = "Green" )
Enum values for TargetLabel
func (TargetLabel) MarshalValue ¶ added in v0.6.0
func (enum TargetLabel) MarshalValue() (string, error)
func (TargetLabel) MarshalValueBuf ¶ added in v0.6.0
func (enum TargetLabel) MarshalValueBuf(b []byte) ([]byte, error)
type TargetStatus ¶ added in v0.6.0
type TargetStatus string
const ( TargetStatusPending TargetStatus = "Pending" TargetStatusInProgress TargetStatus = "InProgress" TargetStatusSucceeded TargetStatus = "Succeeded" TargetStatusFailed TargetStatus = "Failed" TargetStatusSkipped TargetStatus = "Skipped" TargetStatusUnknown TargetStatus = "Unknown" TargetStatusReady TargetStatus = "Ready" )
Enum values for TargetStatus
func (TargetStatus) MarshalValue ¶ added in v0.6.0
func (enum TargetStatus) MarshalValue() (string, error)
func (TargetStatus) MarshalValueBuf ¶ added in v0.6.0
func (enum TargetStatus) MarshalValueBuf(b []byte) ([]byte, error)
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.
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.
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"` // The start time of the time range. // // Specify null to leave the start time open-ended. Start *time.Time `locationName:"start" type:"timestamp"` // contains filtered or unexported fields }
Information about a time range.
type TrafficRoute ¶ added in v0.6.0
type TrafficRoute struct { // The ARN of one listener. The listener identifies the route between a target // group and a load balancer. This is an array of strings with a maximum size // of one. ListenerArns []string `locationName:"listenerArns" type:"list"` // contains filtered or unexported fields }
Information about a listener. The listener contains the path used to route traffic that is received from the load balancer to a target group.
func (TrafficRoute) String ¶ added in v0.6.0
func (s TrafficRoute) String() string
String returns the string representation
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.
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
func (TrafficRoutingType) MarshalValue ¶ added in v0.3.0
func (enum TrafficRoutingType) MarshalValue() (string, error)
func (TrafficRoutingType) MarshalValueBuf ¶ added in v0.3.0
func (enum TrafficRoutingType) MarshalValueBuf(b []byte) ([]byte, error)
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.
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
func (TriggerEventType) MarshalValue ¶ added in v0.3.0
func (enum TriggerEventType) MarshalValue() (string, error)
func (TriggerEventType) MarshalValueBuf ¶ added in v0.3.0
func (enum TriggerEventType) MarshalValueBuf(b []byte) ([]byte, error)
type UntagResourceInput ¶ added in v0.9.0
type UntagResourceInput struct { // The ARN that specifies from which resource to disassociate the tags with // the keys in the TagKeys input paramter. // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // A list of keys of Tag objects. The Tag objects identified by the keys are // disassociated from the resource specified by the ResourceArn input parameter. // // TagKeys is a required field TagKeys []string `type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) String ¶ added in v0.9.0
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶ added in v0.9.0
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶ added in v0.9.0
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) String ¶ added in v0.9.0
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶ added in v0.9.0
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶ added in v0.9.0
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶ added in v0.9.0
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
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.
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
}
func (UpdateApplicationOutput) String ¶
func (s UpdateApplicationOutput) String() string
String returns the string representation
type UpdateApplicationRequest ¶
type UpdateApplicationRequest struct { *aws.Request Input *UpdateApplicationInput Copy func(*UpdateApplicationInput) UpdateApplicationRequest }
UpdateApplicationRequest is the request type for the UpdateApplication API operation.
func (UpdateApplicationRequest) Send ¶
func (r UpdateApplicationRequest) Send(ctx context.Context) (*UpdateApplicationResponse, error)
Send marshals and sends the UpdateApplication API request.
type UpdateApplicationResponse ¶ added in v0.9.0
type UpdateApplicationResponse struct { *UpdateApplicationOutput // contains filtered or unexported fields }
UpdateApplicationResponse is the response type for the UpdateApplication API operation.
func (*UpdateApplicationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateApplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateApplication 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 that corresponds 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 includes only EC2 instances identified by all the tag groups. Ec2TagSet *EC2TagSet `locationName:"ec2TagSet" type:"structure"` // The target Amazon ECS services in the deployment group. This applies only // to deployment groups that use the Amazon ECS compute platform. A target Amazon // ECS service is specified as an Amazon ECS cluster and service name pair using // the format <clustername>:<servicename>. EcsServices []ECSService `locationName:"ecsServices" type:"list"` // 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 includes // 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 (https://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.
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.
func (UpdateDeploymentGroupOutput) String ¶
func (s UpdateDeploymentGroupOutput) String() string
String returns the string representation
type UpdateDeploymentGroupRequest ¶
type UpdateDeploymentGroupRequest struct { *aws.Request Input *UpdateDeploymentGroupInput Copy func(*UpdateDeploymentGroupInput) UpdateDeploymentGroupRequest }
UpdateDeploymentGroupRequest is the request type for the UpdateDeploymentGroup API operation.
func (UpdateDeploymentGroupRequest) Send ¶
func (r UpdateDeploymentGroupRequest) Send(ctx context.Context) (*UpdateDeploymentGroupResponse, error)
Send marshals and sends the UpdateDeploymentGroup API request.
type UpdateDeploymentGroupResponse ¶ added in v0.9.0
type UpdateDeploymentGroupResponse struct { *UpdateDeploymentGroupOutput // contains filtered or unexported fields }
UpdateDeploymentGroupResponse is the response type for the UpdateDeploymentGroup API operation.
func (*UpdateDeploymentGroupResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateDeploymentGroupResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDeploymentGroup request.
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_AddTagsToOnPremisesInstances.go
- api_op_BatchGetApplicationRevisions.go
- api_op_BatchGetApplications.go
- api_op_BatchGetDeploymentGroups.go
- api_op_BatchGetDeploymentInstances.go
- api_op_BatchGetDeploymentTargets.go
- api_op_BatchGetDeployments.go
- api_op_BatchGetOnPremisesInstances.go
- api_op_ContinueDeployment.go
- api_op_CreateApplication.go
- api_op_CreateDeployment.go
- api_op_CreateDeploymentConfig.go
- api_op_CreateDeploymentGroup.go
- api_op_DeleteApplication.go
- api_op_DeleteDeploymentConfig.go
- api_op_DeleteDeploymentGroup.go
- api_op_DeleteGitHubAccountToken.go
- api_op_DeregisterOnPremisesInstance.go
- api_op_GetApplication.go
- api_op_GetApplicationRevision.go
- api_op_GetDeployment.go
- api_op_GetDeploymentConfig.go
- api_op_GetDeploymentGroup.go
- api_op_GetDeploymentInstance.go
- api_op_GetDeploymentTarget.go
- api_op_GetOnPremisesInstance.go
- api_op_ListApplicationRevisions.go
- api_op_ListApplications.go
- api_op_ListDeploymentConfigs.go
- api_op_ListDeploymentGroups.go
- api_op_ListDeploymentInstances.go
- api_op_ListDeploymentTargets.go
- api_op_ListDeployments.go
- api_op_ListGitHubAccountTokenNames.go
- api_op_ListOnPremisesInstances.go
- api_op_ListTagsForResource.go
- api_op_PutLifecycleEventHookExecutionStatus.go
- api_op_RegisterApplicationRevision.go
- api_op_RegisterOnPremisesInstance.go
- api_op_RemoveTagsFromOnPremisesInstances.go
- api_op_SkipWaitTimeForInstanceTermination.go
- api_op_StopDeployment.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateApplication.go
- api_op_UpdateDeploymentGroup.go
- api_types.go
- api_waiters.go
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. |