aws-sdk-go: github.com/aws/aws-sdk-go/service/codedeploy Index | Files | Directories

package codedeploy

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

Package codedeploy provides the client and types for making API requests to AWS CodeDeploy.

AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances running in your own facility, 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 contact AWS CodeDeploy with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS CodeDeploy client CodeDeploy for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/codedeploy/#New

Index

Package Files

api.go doc.go errors.go service.go waiters.go

Constants

const (
    // ApplicationRevisionSortByRegisterTime is a ApplicationRevisionSortBy enum value
    ApplicationRevisionSortByRegisterTime = "registerTime"

    // ApplicationRevisionSortByFirstUsedTime is a ApplicationRevisionSortBy enum value
    ApplicationRevisionSortByFirstUsedTime = "firstUsedTime"

    // ApplicationRevisionSortByLastUsedTime is a ApplicationRevisionSortBy enum value
    ApplicationRevisionSortByLastUsedTime = "lastUsedTime"
)
const (
    // AutoRollbackEventDeploymentFailure is a AutoRollbackEvent enum value
    AutoRollbackEventDeploymentFailure = "DEPLOYMENT_FAILURE"

    // AutoRollbackEventDeploymentStopOnAlarm is a AutoRollbackEvent enum value
    AutoRollbackEventDeploymentStopOnAlarm = "DEPLOYMENT_STOP_ON_ALARM"

    // AutoRollbackEventDeploymentStopOnRequest is a AutoRollbackEvent enum value
    AutoRollbackEventDeploymentStopOnRequest = "DEPLOYMENT_STOP_ON_REQUEST"
)
const (
    // BundleTypeTar is a BundleType enum value
    BundleTypeTar = "tar"

    // BundleTypeTgz is a BundleType enum value
    BundleTypeTgz = "tgz"

    // BundleTypeZip is a BundleType enum value
    BundleTypeZip = "zip"

    // BundleTypeYaml is a BundleType enum value
    BundleTypeYaml = "YAML"

    // BundleTypeJson is a BundleType enum value
    BundleTypeJson = "JSON"
)
const (
    // ComputePlatformServer is a ComputePlatform enum value
    ComputePlatformServer = "Server"

    // ComputePlatformLambda is a ComputePlatform enum value
    ComputePlatformLambda = "Lambda"

    // ComputePlatformEcs is a ComputePlatform enum value
    ComputePlatformEcs = "ECS"
)
const (
    // DeploymentCreatorUser is a DeploymentCreator enum value
    DeploymentCreatorUser = "user"

    // DeploymentCreatorAutoscaling is a DeploymentCreator enum value
    DeploymentCreatorAutoscaling = "autoscaling"

    // DeploymentCreatorCodeDeployRollback is a DeploymentCreator enum value
    DeploymentCreatorCodeDeployRollback = "codeDeployRollback"
)
const (
    // DeploymentOptionWithTrafficControl is a DeploymentOption enum value
    DeploymentOptionWithTrafficControl = "WITH_TRAFFIC_CONTROL"

    // DeploymentOptionWithoutTrafficControl is a DeploymentOption enum value
    DeploymentOptionWithoutTrafficControl = "WITHOUT_TRAFFIC_CONTROL"
)
const (
    // DeploymentReadyActionContinueDeployment is a DeploymentReadyAction enum value
    DeploymentReadyActionContinueDeployment = "CONTINUE_DEPLOYMENT"

    // DeploymentReadyActionStopDeployment is a DeploymentReadyAction enum value
    DeploymentReadyActionStopDeployment = "STOP_DEPLOYMENT"
)
const (
    // DeploymentStatusCreated is a DeploymentStatus enum value
    DeploymentStatusCreated = "Created"

    // DeploymentStatusQueued is a DeploymentStatus enum value
    DeploymentStatusQueued = "Queued"

    // DeploymentStatusInProgress is a DeploymentStatus enum value
    DeploymentStatusInProgress = "InProgress"

    // DeploymentStatusSucceeded is a DeploymentStatus enum value
    DeploymentStatusSucceeded = "Succeeded"

    // DeploymentStatusFailed is a DeploymentStatus enum value
    DeploymentStatusFailed = "Failed"

    // DeploymentStatusStopped is a DeploymentStatus enum value
    DeploymentStatusStopped = "Stopped"

    // DeploymentStatusReady is a DeploymentStatus enum value
    DeploymentStatusReady = "Ready"
)
const (
    // DeploymentTargetTypeInstanceTarget is a DeploymentTargetType enum value
    DeploymentTargetTypeInstanceTarget = "InstanceTarget"

    // DeploymentTargetTypeLambdaTarget is a DeploymentTargetType enum value
    DeploymentTargetTypeLambdaTarget = "LambdaTarget"

    // DeploymentTargetTypeEcstarget is a DeploymentTargetType enum value
    DeploymentTargetTypeEcstarget = "ECSTarget"
)
const (
    // DeploymentTypeInPlace is a DeploymentType enum value
    DeploymentTypeInPlace = "IN_PLACE"

    // DeploymentTypeBlueGreen is a DeploymentType enum value
    DeploymentTypeBlueGreen = "BLUE_GREEN"
)
const (
    // DeploymentWaitTypeReadyWait is a DeploymentWaitType enum value
    DeploymentWaitTypeReadyWait = "READY_WAIT"

    // DeploymentWaitTypeTerminationWait is a DeploymentWaitType enum value
    DeploymentWaitTypeTerminationWait = "TERMINATION_WAIT"
)
const (
    // EC2TagFilterTypeKeyOnly is a EC2TagFilterType enum value
    EC2TagFilterTypeKeyOnly = "KEY_ONLY"

    // EC2TagFilterTypeValueOnly is a EC2TagFilterType enum value
    EC2TagFilterTypeValueOnly = "VALUE_ONLY"

    // EC2TagFilterTypeKeyAndValue is a EC2TagFilterType enum value
    EC2TagFilterTypeKeyAndValue = "KEY_AND_VALUE"
)
const (
    // ErrorCodeAgentIssue is a ErrorCode enum value
    ErrorCodeAgentIssue = "AGENT_ISSUE"

    // ErrorCodeAlarmActive is a ErrorCode enum value
    ErrorCodeAlarmActive = "ALARM_ACTIVE"

    // ErrorCodeApplicationMissing is a ErrorCode enum value
    ErrorCodeApplicationMissing = "APPLICATION_MISSING"

    // ErrorCodeAutoscalingValidationError is a ErrorCode enum value
    ErrorCodeAutoscalingValidationError = "AUTOSCALING_VALIDATION_ERROR"

    // ErrorCodeAutoScalingConfiguration is a ErrorCode enum value
    ErrorCodeAutoScalingConfiguration = "AUTO_SCALING_CONFIGURATION"

    // ErrorCodeAutoScalingIamRolePermissions is a ErrorCode enum value
    ErrorCodeAutoScalingIamRolePermissions = "AUTO_SCALING_IAM_ROLE_PERMISSIONS"

    // ErrorCodeCodedeployResourceCannotBeFound is a ErrorCode enum value
    ErrorCodeCodedeployResourceCannotBeFound = "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND"

    // ErrorCodeCustomerApplicationUnhealthy is a ErrorCode enum value
    ErrorCodeCustomerApplicationUnhealthy = "CUSTOMER_APPLICATION_UNHEALTHY"

    // ErrorCodeDeploymentGroupMissing is a ErrorCode enum value
    ErrorCodeDeploymentGroupMissing = "DEPLOYMENT_GROUP_MISSING"

    // ErrorCodeEcsUpdateError is a ErrorCode enum value
    ErrorCodeEcsUpdateError = "ECS_UPDATE_ERROR"

    // ErrorCodeElasticLoadBalancingInvalid is a ErrorCode enum value
    ErrorCodeElasticLoadBalancingInvalid = "ELASTIC_LOAD_BALANCING_INVALID"

    // ErrorCodeElbInvalidInstance is a ErrorCode enum value
    ErrorCodeElbInvalidInstance = "ELB_INVALID_INSTANCE"

    // ErrorCodeHealthConstraints is a ErrorCode enum value
    ErrorCodeHealthConstraints = "HEALTH_CONSTRAINTS"

    // ErrorCodeHealthConstraintsInvalid is a ErrorCode enum value
    ErrorCodeHealthConstraintsInvalid = "HEALTH_CONSTRAINTS_INVALID"

    // ErrorCodeHookExecutionFailure is a ErrorCode enum value
    ErrorCodeHookExecutionFailure = "HOOK_EXECUTION_FAILURE"

    // ErrorCodeIamRoleMissing is a ErrorCode enum value
    ErrorCodeIamRoleMissing = "IAM_ROLE_MISSING"

    // ErrorCodeIamRolePermissions is a ErrorCode enum value
    ErrorCodeIamRolePermissions = "IAM_ROLE_PERMISSIONS"

    // ErrorCodeInternalError is a ErrorCode enum value
    ErrorCodeInternalError = "INTERNAL_ERROR"

    // ErrorCodeInvalidEcsService is a ErrorCode enum value
    ErrorCodeInvalidEcsService = "INVALID_ECS_SERVICE"

    // ErrorCodeInvalidLambdaConfiguration is a ErrorCode enum value
    ErrorCodeInvalidLambdaConfiguration = "INVALID_LAMBDA_CONFIGURATION"

    // ErrorCodeInvalidLambdaFunction is a ErrorCode enum value
    ErrorCodeInvalidLambdaFunction = "INVALID_LAMBDA_FUNCTION"

    // ErrorCodeInvalidRevision is a ErrorCode enum value
    ErrorCodeInvalidRevision = "INVALID_REVISION"

    // ErrorCodeManualStop is a ErrorCode enum value
    ErrorCodeManualStop = "MANUAL_STOP"

    // ErrorCodeMissingBlueGreenDeploymentConfiguration is a ErrorCode enum value
    ErrorCodeMissingBlueGreenDeploymentConfiguration = "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION"

    // ErrorCodeMissingElbInformation is a ErrorCode enum value
    ErrorCodeMissingElbInformation = "MISSING_ELB_INFORMATION"

    // ErrorCodeMissingGithubToken is a ErrorCode enum value
    ErrorCodeMissingGithubToken = "MISSING_GITHUB_TOKEN"

    // ErrorCodeNoEc2Subscription is a ErrorCode enum value
    ErrorCodeNoEc2Subscription = "NO_EC2_SUBSCRIPTION"

    // ErrorCodeNoInstances is a ErrorCode enum value
    ErrorCodeNoInstances = "NO_INSTANCES"

    // ErrorCodeOverMaxInstances is a ErrorCode enum value
    ErrorCodeOverMaxInstances = "OVER_MAX_INSTANCES"

    // ErrorCodeResourceLimitExceeded is a ErrorCode enum value
    ErrorCodeResourceLimitExceeded = "RESOURCE_LIMIT_EXCEEDED"

    // ErrorCodeRevisionMissing is a ErrorCode enum value
    ErrorCodeRevisionMissing = "REVISION_MISSING"

    // ErrorCodeThrottled is a ErrorCode enum value
    ErrorCodeThrottled = "THROTTLED"

    // ErrorCodeTimeout is a ErrorCode enum value
    ErrorCodeTimeout = "TIMEOUT"
)
const (
    // FileExistsBehaviorDisallow is a FileExistsBehavior enum value
    FileExistsBehaviorDisallow = "DISALLOW"

    // FileExistsBehaviorOverwrite is a FileExistsBehavior enum value
    FileExistsBehaviorOverwrite = "OVERWRITE"

    // FileExistsBehaviorRetain is a FileExistsBehavior enum value
    FileExistsBehaviorRetain = "RETAIN"
)
const (
    // GreenFleetProvisioningActionDiscoverExisting is a GreenFleetProvisioningAction enum value
    GreenFleetProvisioningActionDiscoverExisting = "DISCOVER_EXISTING"

    // GreenFleetProvisioningActionCopyAutoScalingGroup is a GreenFleetProvisioningAction enum value
    GreenFleetProvisioningActionCopyAutoScalingGroup = "COPY_AUTO_SCALING_GROUP"
)
const (
    // InstanceActionTerminate is a InstanceAction enum value
    InstanceActionTerminate = "TERMINATE"

    // InstanceActionKeepAlive is a InstanceAction enum value
    InstanceActionKeepAlive = "KEEP_ALIVE"
)
const (
    // InstanceStatusPending is a InstanceStatus enum value
    InstanceStatusPending = "Pending"

    // InstanceStatusInProgress is a InstanceStatus enum value
    InstanceStatusInProgress = "InProgress"

    // InstanceStatusSucceeded is a InstanceStatus enum value
    InstanceStatusSucceeded = "Succeeded"

    // InstanceStatusFailed is a InstanceStatus enum value
    InstanceStatusFailed = "Failed"

    // InstanceStatusSkipped is a InstanceStatus enum value
    InstanceStatusSkipped = "Skipped"

    // InstanceStatusUnknown is a InstanceStatus enum value
    InstanceStatusUnknown = "Unknown"

    // InstanceStatusReady is a InstanceStatus enum value
    InstanceStatusReady = "Ready"
)
const (
    // InstanceTypeBlue is a InstanceType enum value
    InstanceTypeBlue = "Blue"

    // InstanceTypeGreen is a InstanceType enum value
    InstanceTypeGreen = "Green"
)
const (
    // LifecycleErrorCodeSuccess is a LifecycleErrorCode enum value
    LifecycleErrorCodeSuccess = "Success"

    // LifecycleErrorCodeScriptMissing is a LifecycleErrorCode enum value
    LifecycleErrorCodeScriptMissing = "ScriptMissing"

    // LifecycleErrorCodeScriptNotExecutable is a LifecycleErrorCode enum value
    LifecycleErrorCodeScriptNotExecutable = "ScriptNotExecutable"

    // LifecycleErrorCodeScriptTimedOut is a LifecycleErrorCode enum value
    LifecycleErrorCodeScriptTimedOut = "ScriptTimedOut"

    // LifecycleErrorCodeScriptFailed is a LifecycleErrorCode enum value
    LifecycleErrorCodeScriptFailed = "ScriptFailed"

    // LifecycleErrorCodeUnknownError is a LifecycleErrorCode enum value
    LifecycleErrorCodeUnknownError = "UnknownError"
)
const (
    // LifecycleEventStatusPending is a LifecycleEventStatus enum value
    LifecycleEventStatusPending = "Pending"

    // LifecycleEventStatusInProgress is a LifecycleEventStatus enum value
    LifecycleEventStatusInProgress = "InProgress"

    // LifecycleEventStatusSucceeded is a LifecycleEventStatus enum value
    LifecycleEventStatusSucceeded = "Succeeded"

    // LifecycleEventStatusFailed is a LifecycleEventStatus enum value
    LifecycleEventStatusFailed = "Failed"

    // LifecycleEventStatusSkipped is a LifecycleEventStatus enum value
    LifecycleEventStatusSkipped = "Skipped"

    // LifecycleEventStatusUnknown is a LifecycleEventStatus enum value
    LifecycleEventStatusUnknown = "Unknown"
)
const (
    // ListStateFilterActionInclude is a ListStateFilterAction enum value
    ListStateFilterActionInclude = "include"

    // ListStateFilterActionExclude is a ListStateFilterAction enum value
    ListStateFilterActionExclude = "exclude"

    // ListStateFilterActionIgnore is a ListStateFilterAction enum value
    ListStateFilterActionIgnore = "ignore"
)
const (
    // MinimumHealthyHostsTypeHostCount is a MinimumHealthyHostsType enum value
    MinimumHealthyHostsTypeHostCount = "HOST_COUNT"

    // MinimumHealthyHostsTypeFleetPercent is a MinimumHealthyHostsType enum value
    MinimumHealthyHostsTypeFleetPercent = "FLEET_PERCENT"
)
const (
    // RegistrationStatusRegistered is a RegistrationStatus enum value
    RegistrationStatusRegistered = "Registered"

    // RegistrationStatusDeregistered is a RegistrationStatus enum value
    RegistrationStatusDeregistered = "Deregistered"
)
const (
    // RevisionLocationTypeS3 is a RevisionLocationType enum value
    RevisionLocationTypeS3 = "S3"

    // RevisionLocationTypeGitHub is a RevisionLocationType enum value
    RevisionLocationTypeGitHub = "GitHub"

    // RevisionLocationTypeString is a RevisionLocationType enum value
    RevisionLocationTypeString = "String"

    // RevisionLocationTypeAppSpecContent is a RevisionLocationType enum value
    RevisionLocationTypeAppSpecContent = "AppSpecContent"
)
const (
    // SortOrderAscending is a SortOrder enum value
    SortOrderAscending = "ascending"

    // SortOrderDescending is a SortOrder enum value
    SortOrderDescending = "descending"
)
const (
    // StopStatusPending is a StopStatus enum value
    StopStatusPending = "Pending"

    // StopStatusSucceeded is a StopStatus enum value
    StopStatusSucceeded = "Succeeded"
)
const (
    // TagFilterTypeKeyOnly is a TagFilterType enum value
    TagFilterTypeKeyOnly = "KEY_ONLY"

    // TagFilterTypeValueOnly is a TagFilterType enum value
    TagFilterTypeValueOnly = "VALUE_ONLY"

    // TagFilterTypeKeyAndValue is a TagFilterType enum value
    TagFilterTypeKeyAndValue = "KEY_AND_VALUE"
)
const (
    // TargetFilterNameTargetStatus is a TargetFilterName enum value
    TargetFilterNameTargetStatus = "TargetStatus"

    // TargetFilterNameServerInstanceLabel is a TargetFilterName enum value
    TargetFilterNameServerInstanceLabel = "ServerInstanceLabel"
)
const (
    // TargetLabelBlue is a TargetLabel enum value
    TargetLabelBlue = "Blue"

    // TargetLabelGreen is a TargetLabel enum value
    TargetLabelGreen = "Green"
)
const (
    // TargetStatusPending is a TargetStatus enum value
    TargetStatusPending = "Pending"

    // TargetStatusInProgress is a TargetStatus enum value
    TargetStatusInProgress = "InProgress"

    // TargetStatusSucceeded is a TargetStatus enum value
    TargetStatusSucceeded = "Succeeded"

    // TargetStatusFailed is a TargetStatus enum value
    TargetStatusFailed = "Failed"

    // TargetStatusSkipped is a TargetStatus enum value
    TargetStatusSkipped = "Skipped"

    // TargetStatusUnknown is a TargetStatus enum value
    TargetStatusUnknown = "Unknown"

    // TargetStatusReady is a TargetStatus enum value
    TargetStatusReady = "Ready"
)
const (
    // TrafficRoutingTypeTimeBasedCanary is a TrafficRoutingType enum value
    TrafficRoutingTypeTimeBasedCanary = "TimeBasedCanary"

    // TrafficRoutingTypeTimeBasedLinear is a TrafficRoutingType enum value
    TrafficRoutingTypeTimeBasedLinear = "TimeBasedLinear"

    // TrafficRoutingTypeAllAtOnce is a TrafficRoutingType enum value
    TrafficRoutingTypeAllAtOnce = "AllAtOnce"
)
const (
    // TriggerEventTypeDeploymentStart is a TriggerEventType enum value
    TriggerEventTypeDeploymentStart = "DeploymentStart"

    // TriggerEventTypeDeploymentSuccess is a TriggerEventType enum value
    TriggerEventTypeDeploymentSuccess = "DeploymentSuccess"

    // TriggerEventTypeDeploymentFailure is a TriggerEventType enum value
    TriggerEventTypeDeploymentFailure = "DeploymentFailure"

    // TriggerEventTypeDeploymentStop is a TriggerEventType enum value
    TriggerEventTypeDeploymentStop = "DeploymentStop"

    // TriggerEventTypeDeploymentRollback is a TriggerEventType enum value
    TriggerEventTypeDeploymentRollback = "DeploymentRollback"

    // TriggerEventTypeDeploymentReady is a TriggerEventType enum value
    TriggerEventTypeDeploymentReady = "DeploymentReady"

    // TriggerEventTypeInstanceStart is a TriggerEventType enum value
    TriggerEventTypeInstanceStart = "InstanceStart"

    // TriggerEventTypeInstanceSuccess is a TriggerEventType enum value
    TriggerEventTypeInstanceSuccess = "InstanceSuccess"

    // TriggerEventTypeInstanceFailure is a TriggerEventType enum value
    TriggerEventTypeInstanceFailure = "InstanceFailure"

    // TriggerEventTypeInstanceReady is a TriggerEventType enum value
    TriggerEventTypeInstanceReady = "InstanceReady"
)
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"
)
const (
    ServiceName = "codedeploy" // Name of service.
    EndpointsID = ServiceName  // ID to lookup a service endpoint with.
    ServiceID   = "CodeDeploy" // ServiceID is a unique identifer of a specific service.
)

Service information constants

type AddTagsToOnPremisesInstancesInput Uses

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) GoString Uses

func (s AddTagsToOnPremisesInstancesInput) GoString() string

GoString returns the string representation

func (*AddTagsToOnPremisesInstancesInput) SetInstanceNames Uses

func (s *AddTagsToOnPremisesInstancesInput) SetInstanceNames(v []*string) *AddTagsToOnPremisesInstancesInput

SetInstanceNames sets the InstanceNames field's value.

func (*AddTagsToOnPremisesInstancesInput) SetTags Uses

func (s *AddTagsToOnPremisesInstancesInput) SetTags(v []*Tag) *AddTagsToOnPremisesInstancesInput

SetTags sets the Tags field's value.

func (AddTagsToOnPremisesInstancesInput) String Uses

func (s AddTagsToOnPremisesInstancesInput) String() string

String returns the string representation

func (*AddTagsToOnPremisesInstancesInput) Validate Uses

func (s *AddTagsToOnPremisesInstancesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddTagsToOnPremisesInstancesOutput Uses

type AddTagsToOnPremisesInstancesOutput struct {
    // contains filtered or unexported fields
}

func (AddTagsToOnPremisesInstancesOutput) GoString Uses

func (s AddTagsToOnPremisesInstancesOutput) GoString() string

GoString returns the string representation

func (AddTagsToOnPremisesInstancesOutput) String Uses

func (s AddTagsToOnPremisesInstancesOutput) String() string

String returns the string representation

type Alarm Uses

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.

func (Alarm) GoString Uses

func (s Alarm) GoString() string

GoString returns the string representation

func (*Alarm) SetName Uses

func (s *Alarm) SetName(v string) *Alarm

SetName sets the Name field's value.

func (Alarm) String Uses

func (s Alarm) String() string

String returns the string representation

type AlarmConfiguration Uses

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) GoString Uses

func (s AlarmConfiguration) GoString() string

GoString returns the string representation

func (*AlarmConfiguration) SetAlarms Uses

func (s *AlarmConfiguration) SetAlarms(v []*Alarm) *AlarmConfiguration

SetAlarms sets the Alarms field's value.

func (*AlarmConfiguration) SetEnabled Uses

func (s *AlarmConfiguration) SetEnabled(v bool) *AlarmConfiguration

SetEnabled sets the Enabled field's value.

func (*AlarmConfiguration) SetIgnorePollAlarmFailure Uses

func (s *AlarmConfiguration) SetIgnorePollAlarmFailure(v bool) *AlarmConfiguration

SetIgnorePollAlarmFailure sets the IgnorePollAlarmFailure field's value.

func (AlarmConfiguration) String Uses

func (s AlarmConfiguration) String() string

String returns the string representation

type AppSpecContent Uses

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) GoString Uses

func (s AppSpecContent) GoString() string

GoString returns the string representation

func (*AppSpecContent) SetContent Uses

func (s *AppSpecContent) SetContent(v string) *AppSpecContent

SetContent sets the Content field's value.

func (*AppSpecContent) SetSha256 Uses

func (s *AppSpecContent) SetSha256(v string) *AppSpecContent

SetSha256 sets the Sha256 field's value.

func (AppSpecContent) String Uses

func (s AppSpecContent) String() string

String returns the string representation

type ApplicationInfo Uses

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 *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`

    // 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) GoString Uses

func (s ApplicationInfo) GoString() string

GoString returns the string representation

func (*ApplicationInfo) SetApplicationId Uses

func (s *ApplicationInfo) SetApplicationId(v string) *ApplicationInfo

SetApplicationId sets the ApplicationId field's value.

func (*ApplicationInfo) SetApplicationName Uses

func (s *ApplicationInfo) SetApplicationName(v string) *ApplicationInfo

SetApplicationName sets the ApplicationName field's value.

func (*ApplicationInfo) SetComputePlatform Uses

func (s *ApplicationInfo) SetComputePlatform(v string) *ApplicationInfo

SetComputePlatform sets the ComputePlatform field's value.

func (*ApplicationInfo) SetCreateTime Uses

func (s *ApplicationInfo) SetCreateTime(v time.Time) *ApplicationInfo

SetCreateTime sets the CreateTime field's value.

func (*ApplicationInfo) SetGitHubAccountName Uses

func (s *ApplicationInfo) SetGitHubAccountName(v string) *ApplicationInfo

SetGitHubAccountName sets the GitHubAccountName field's value.

func (*ApplicationInfo) SetLinkedToGitHub Uses

func (s *ApplicationInfo) SetLinkedToGitHub(v bool) *ApplicationInfo

SetLinkedToGitHub sets the LinkedToGitHub field's value.

func (ApplicationInfo) String Uses

func (s ApplicationInfo) String() string

String returns the string representation

type AutoRollbackConfiguration Uses

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 []*string `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) GoString Uses

func (s AutoRollbackConfiguration) GoString() string

GoString returns the string representation

func (*AutoRollbackConfiguration) SetEnabled Uses

func (s *AutoRollbackConfiguration) SetEnabled(v bool) *AutoRollbackConfiguration

SetEnabled sets the Enabled field's value.

func (*AutoRollbackConfiguration) SetEvents Uses

func (s *AutoRollbackConfiguration) SetEvents(v []*string) *AutoRollbackConfiguration

SetEvents sets the Events field's value.

func (AutoRollbackConfiguration) String Uses

func (s AutoRollbackConfiguration) String() string

String returns the string representation

type AutoScalingGroup Uses

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) GoString Uses

func (s AutoScalingGroup) GoString() string

GoString returns the string representation

func (*AutoScalingGroup) SetHook Uses

func (s *AutoScalingGroup) SetHook(v string) *AutoScalingGroup

SetHook sets the Hook field's value.

func (*AutoScalingGroup) SetName Uses

func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup

SetName sets the Name field's value.

func (AutoScalingGroup) String Uses

func (s AutoScalingGroup) String() string

String returns the string representation

type BatchGetApplicationRevisionsInput Uses

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) GoString Uses

func (s BatchGetApplicationRevisionsInput) GoString() string

GoString returns the string representation

func (*BatchGetApplicationRevisionsInput) SetApplicationName Uses

func (s *BatchGetApplicationRevisionsInput) SetApplicationName(v string) *BatchGetApplicationRevisionsInput

SetApplicationName sets the ApplicationName field's value.

func (*BatchGetApplicationRevisionsInput) SetRevisions Uses

func (s *BatchGetApplicationRevisionsInput) SetRevisions(v []*RevisionLocation) *BatchGetApplicationRevisionsInput

SetRevisions sets the Revisions field's value.

func (BatchGetApplicationRevisionsInput) String Uses

func (s BatchGetApplicationRevisionsInput) String() string

String returns the string representation

func (*BatchGetApplicationRevisionsInput) Validate Uses

func (s *BatchGetApplicationRevisionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetApplicationRevisionsOutput Uses

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) GoString Uses

func (s BatchGetApplicationRevisionsOutput) GoString() string

GoString returns the string representation

func (*BatchGetApplicationRevisionsOutput) SetApplicationName Uses

func (s *BatchGetApplicationRevisionsOutput) SetApplicationName(v string) *BatchGetApplicationRevisionsOutput

SetApplicationName sets the ApplicationName field's value.

func (*BatchGetApplicationRevisionsOutput) SetErrorMessage Uses

func (s *BatchGetApplicationRevisionsOutput) SetErrorMessage(v string) *BatchGetApplicationRevisionsOutput

SetErrorMessage sets the ErrorMessage field's value.

func (*BatchGetApplicationRevisionsOutput) SetRevisions Uses

func (s *BatchGetApplicationRevisionsOutput) SetRevisions(v []*RevisionInfo) *BatchGetApplicationRevisionsOutput

SetRevisions sets the Revisions field's value.

func (BatchGetApplicationRevisionsOutput) String Uses

func (s BatchGetApplicationRevisionsOutput) String() string

String returns the string representation

type BatchGetApplicationsInput Uses

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) GoString Uses

func (s BatchGetApplicationsInput) GoString() string

GoString returns the string representation

func (*BatchGetApplicationsInput) SetApplicationNames Uses

func (s *BatchGetApplicationsInput) SetApplicationNames(v []*string) *BatchGetApplicationsInput

SetApplicationNames sets the ApplicationNames field's value.

func (BatchGetApplicationsInput) String Uses

func (s BatchGetApplicationsInput) String() string

String returns the string representation

func (*BatchGetApplicationsInput) Validate Uses

func (s *BatchGetApplicationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetApplicationsOutput Uses

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) GoString Uses

func (s BatchGetApplicationsOutput) GoString() string

GoString returns the string representation

func (*BatchGetApplicationsOutput) SetApplicationsInfo Uses

func (s *BatchGetApplicationsOutput) SetApplicationsInfo(v []*ApplicationInfo) *BatchGetApplicationsOutput

SetApplicationsInfo sets the ApplicationsInfo field's value.

func (BatchGetApplicationsOutput) String Uses

func (s BatchGetApplicationsOutput) String() string

String returns the string representation

type BatchGetDeploymentGroupsInput Uses

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) GoString Uses

func (s BatchGetDeploymentGroupsInput) GoString() string

GoString returns the string representation

func (*BatchGetDeploymentGroupsInput) SetApplicationName Uses

func (s *BatchGetDeploymentGroupsInput) SetApplicationName(v string) *BatchGetDeploymentGroupsInput

SetApplicationName sets the ApplicationName field's value.

func (*BatchGetDeploymentGroupsInput) SetDeploymentGroupNames Uses

func (s *BatchGetDeploymentGroupsInput) SetDeploymentGroupNames(v []*string) *BatchGetDeploymentGroupsInput

SetDeploymentGroupNames sets the DeploymentGroupNames field's value.

func (BatchGetDeploymentGroupsInput) String Uses

func (s BatchGetDeploymentGroupsInput) String() string

String returns the string representation

func (*BatchGetDeploymentGroupsInput) Validate Uses

func (s *BatchGetDeploymentGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetDeploymentGroupsOutput Uses

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) GoString Uses

func (s BatchGetDeploymentGroupsOutput) GoString() string

GoString returns the string representation

func (*BatchGetDeploymentGroupsOutput) SetDeploymentGroupsInfo Uses

func (s *BatchGetDeploymentGroupsOutput) SetDeploymentGroupsInfo(v []*DeploymentGroupInfo) *BatchGetDeploymentGroupsOutput

SetDeploymentGroupsInfo sets the DeploymentGroupsInfo field's value.

func (*BatchGetDeploymentGroupsOutput) SetErrorMessage Uses

func (s *BatchGetDeploymentGroupsOutput) SetErrorMessage(v string) *BatchGetDeploymentGroupsOutput

SetErrorMessage sets the ErrorMessage field's value.

func (BatchGetDeploymentGroupsOutput) String Uses

func (s BatchGetDeploymentGroupsOutput) String() string

String returns the string representation

type BatchGetDeploymentInstancesInput Uses

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) GoString Uses

func (s BatchGetDeploymentInstancesInput) GoString() string

GoString returns the string representation

func (*BatchGetDeploymentInstancesInput) SetDeploymentId Uses

func (s *BatchGetDeploymentInstancesInput) SetDeploymentId(v string) *BatchGetDeploymentInstancesInput

SetDeploymentId sets the DeploymentId field's value.

func (*BatchGetDeploymentInstancesInput) SetInstanceIds Uses

func (s *BatchGetDeploymentInstancesInput) SetInstanceIds(v []*string) *BatchGetDeploymentInstancesInput

SetInstanceIds sets the InstanceIds field's value.

func (BatchGetDeploymentInstancesInput) String Uses

func (s BatchGetDeploymentInstancesInput) String() string

String returns the string representation

func (*BatchGetDeploymentInstancesInput) Validate Uses

func (s *BatchGetDeploymentInstancesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetDeploymentInstancesOutput Uses

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) GoString Uses

func (s BatchGetDeploymentInstancesOutput) GoString() string

GoString returns the string representation

func (*BatchGetDeploymentInstancesOutput) SetErrorMessage Uses

func (s *BatchGetDeploymentInstancesOutput) SetErrorMessage(v string) *BatchGetDeploymentInstancesOutput

SetErrorMessage sets the ErrorMessage field's value.

func (*BatchGetDeploymentInstancesOutput) SetInstancesSummary Uses

func (s *BatchGetDeploymentInstancesOutput) SetInstancesSummary(v []*InstanceSummary) *BatchGetDeploymentInstancesOutput

SetInstancesSummary sets the InstancesSummary field's value.

func (BatchGetDeploymentInstancesOutput) String Uses

func (s BatchGetDeploymentInstancesOutput) String() string

String returns the string representation

type BatchGetDeploymentTargetsInput Uses

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) GoString Uses

func (s BatchGetDeploymentTargetsInput) GoString() string

GoString returns the string representation

func (*BatchGetDeploymentTargetsInput) SetDeploymentId Uses

func (s *BatchGetDeploymentTargetsInput) SetDeploymentId(v string) *BatchGetDeploymentTargetsInput

SetDeploymentId sets the DeploymentId field's value.

func (*BatchGetDeploymentTargetsInput) SetTargetIds Uses

func (s *BatchGetDeploymentTargetsInput) SetTargetIds(v []*string) *BatchGetDeploymentTargetsInput

SetTargetIds sets the TargetIds field's value.

func (BatchGetDeploymentTargetsInput) String Uses

func (s BatchGetDeploymentTargetsInput) String() string

String returns the string representation

type BatchGetDeploymentTargetsOutput Uses

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) GoString Uses

func (s BatchGetDeploymentTargetsOutput) GoString() string

GoString returns the string representation

func (*BatchGetDeploymentTargetsOutput) SetDeploymentTargets Uses

func (s *BatchGetDeploymentTargetsOutput) SetDeploymentTargets(v []*DeploymentTarget) *BatchGetDeploymentTargetsOutput

SetDeploymentTargets sets the DeploymentTargets field's value.

func (BatchGetDeploymentTargetsOutput) String Uses

func (s BatchGetDeploymentTargetsOutput) String() string

String returns the string representation

type BatchGetDeploymentsInput Uses

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) GoString Uses

func (s BatchGetDeploymentsInput) GoString() string

GoString returns the string representation

func (*BatchGetDeploymentsInput) SetDeploymentIds Uses

func (s *BatchGetDeploymentsInput) SetDeploymentIds(v []*string) *BatchGetDeploymentsInput

SetDeploymentIds sets the DeploymentIds field's value.

func (BatchGetDeploymentsInput) String Uses

func (s BatchGetDeploymentsInput) String() string

String returns the string representation

func (*BatchGetDeploymentsInput) Validate Uses

func (s *BatchGetDeploymentsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetDeploymentsOutput Uses

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) GoString Uses

func (s BatchGetDeploymentsOutput) GoString() string

GoString returns the string representation

func (*BatchGetDeploymentsOutput) SetDeploymentsInfo Uses

func (s *BatchGetDeploymentsOutput) SetDeploymentsInfo(v []*DeploymentInfo) *BatchGetDeploymentsOutput

SetDeploymentsInfo sets the DeploymentsInfo field's value.

func (BatchGetDeploymentsOutput) String Uses

func (s BatchGetDeploymentsOutput) String() string

String returns the string representation

type BatchGetOnPremisesInstancesInput Uses

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) GoString Uses

func (s BatchGetOnPremisesInstancesInput) GoString() string

GoString returns the string representation

func (*BatchGetOnPremisesInstancesInput) SetInstanceNames Uses

func (s *BatchGetOnPremisesInstancesInput) SetInstanceNames(v []*string) *BatchGetOnPremisesInstancesInput

SetInstanceNames sets the InstanceNames field's value.

func (BatchGetOnPremisesInstancesInput) String Uses

func (s BatchGetOnPremisesInstancesInput) String() string

String returns the string representation

func (*BatchGetOnPremisesInstancesInput) Validate Uses

func (s *BatchGetOnPremisesInstancesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetOnPremisesInstancesOutput Uses

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) GoString Uses

func (s BatchGetOnPremisesInstancesOutput) GoString() string

GoString returns the string representation

func (*BatchGetOnPremisesInstancesOutput) SetInstanceInfos Uses

func (s *BatchGetOnPremisesInstancesOutput) SetInstanceInfos(v []*InstanceInfo) *BatchGetOnPremisesInstancesOutput

SetInstanceInfos sets the InstanceInfos field's value.

func (BatchGetOnPremisesInstancesOutput) String Uses

func (s BatchGetOnPremisesInstancesOutput) String() string

String returns the string representation

type BlueGreenDeploymentConfiguration Uses

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) GoString Uses

func (s BlueGreenDeploymentConfiguration) GoString() string

GoString returns the string representation

func (*BlueGreenDeploymentConfiguration) SetDeploymentReadyOption Uses

func (s *BlueGreenDeploymentConfiguration) SetDeploymentReadyOption(v *DeploymentReadyOption) *BlueGreenDeploymentConfiguration

SetDeploymentReadyOption sets the DeploymentReadyOption field's value.

func (*BlueGreenDeploymentConfiguration) SetGreenFleetProvisioningOption Uses

func (s *BlueGreenDeploymentConfiguration) SetGreenFleetProvisioningOption(v *GreenFleetProvisioningOption) *BlueGreenDeploymentConfiguration

SetGreenFleetProvisioningOption sets the GreenFleetProvisioningOption field's value.

func (*BlueGreenDeploymentConfiguration) SetTerminateBlueInstancesOnDeploymentSuccess Uses

func (s *BlueGreenDeploymentConfiguration) SetTerminateBlueInstancesOnDeploymentSuccess(v *BlueInstanceTerminationOption) *BlueGreenDeploymentConfiguration

SetTerminateBlueInstancesOnDeploymentSuccess sets the TerminateBlueInstancesOnDeploymentSuccess field's value.

func (BlueGreenDeploymentConfiguration) String Uses

func (s BlueGreenDeploymentConfiguration) String() string

String returns the string representation

type BlueInstanceTerminationOption Uses

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 *string `locationName:"action" type:"string" enum:"InstanceAction"`

    // 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) GoString Uses

func (s BlueInstanceTerminationOption) GoString() string

GoString returns the string representation

func (*BlueInstanceTerminationOption) SetAction Uses

func (s *BlueInstanceTerminationOption) SetAction(v string) *BlueInstanceTerminationOption

SetAction sets the Action field's value.

func (*BlueInstanceTerminationOption) SetTerminationWaitTimeInMinutes Uses

func (s *BlueInstanceTerminationOption) SetTerminationWaitTimeInMinutes(v int64) *BlueInstanceTerminationOption

SetTerminationWaitTimeInMinutes sets the TerminationWaitTimeInMinutes field's value.

func (BlueInstanceTerminationOption) String Uses

func (s BlueInstanceTerminationOption) String() string

String returns the string representation

type CodeDeploy Uses

type CodeDeploy struct {
    *client.Client
}

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

CodeDeploy methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeDeploy

New creates a new instance of the CodeDeploy client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a CodeDeploy client from just a session.
svc := codedeploy.New(mySession)

// Create a CodeDeploy client with additional configuration
svc := codedeploy.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*CodeDeploy) AddTagsToOnPremisesInstances Uses

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

AddTagsToOnPremisesInstances API operation for AWS CodeDeploy.

Adds tags to on-premises instances.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation AddTagsToOnPremisesInstances for usage and error information.

Returned Error Codes:

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

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

* ErrCodeTagRequiredException "TagRequiredException"
A tag was not specified.

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

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

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

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

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

func (*CodeDeploy) AddTagsToOnPremisesInstancesRequest Uses

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

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

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

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

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

// Example sending a request using the AddTagsToOnPremisesInstancesRequest method.
req, resp := client.AddTagsToOnPremisesInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) AddTagsToOnPremisesInstancesWithContext Uses

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

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

See AddTagsToOnPremisesInstances for details on how to use this API operation.

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

func (*CodeDeploy) BatchGetApplicationRevisions Uses

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation BatchGetApplicationRevisions for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

func (*CodeDeploy) BatchGetApplicationRevisionsRequest Uses

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

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

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

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

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

// Example sending a request using the BatchGetApplicationRevisionsRequest method.
req, resp := client.BatchGetApplicationRevisionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) BatchGetApplicationRevisionsWithContext Uses

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

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

See BatchGetApplicationRevisions for details on how to use this API operation.

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

func (*CodeDeploy) BatchGetApplications Uses

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

BatchGetApplications API operation for AWS CodeDeploy.

Gets information about one or more applications. The maximum number of applications that can be returned is 25.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation BatchGetApplications for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*CodeDeploy) BatchGetApplicationsRequest Uses

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

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

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

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

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

// Example sending a request using the BatchGetApplicationsRequest method.
req, resp := client.BatchGetApplicationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) BatchGetApplicationsWithContext Uses

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

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

See BatchGetApplications for details on how to use this API operation.

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

func (*CodeDeploy) BatchGetDeploymentGroups Uses

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

BatchGetDeploymentGroups API operation for AWS CodeDeploy.

Gets information about one or more deployment groups.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation BatchGetDeploymentGroups for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

func (*CodeDeploy) BatchGetDeploymentGroupsRequest Uses

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

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

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

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

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

// Example sending a request using the BatchGetDeploymentGroupsRequest method.
req, resp := client.BatchGetDeploymentGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) BatchGetDeploymentGroupsWithContext Uses

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

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

See BatchGetDeploymentGroups for details on how to use this API operation.

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

func (*CodeDeploy) BatchGetDeploymentInstances Uses

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

BatchGetDeploymentInstances API operation for AWS CodeDeploy.

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

Returns an array of 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation BatchGetDeploymentInstances for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

Deprecated: This operation is deprecated, use BatchGetDeploymentTargets instead.

func (*CodeDeploy) BatchGetDeploymentInstancesRequest Uses

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

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

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

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

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

// Example sending a request using the BatchGetDeploymentInstancesRequest method.
req, resp := client.BatchGetDeploymentInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

Deprecated: This operation is deprecated, use BatchGetDeploymentTargets instead.

func (*CodeDeploy) BatchGetDeploymentInstancesWithContext Uses

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

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

See BatchGetDeploymentInstances for details on how to use this API operation.

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

Deprecated: This operation is deprecated, use BatchGetDeploymentTargets instead.

func (*CodeDeploy) BatchGetDeploymentTargets Uses

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation BatchGetDeploymentTargets for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

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

func (*CodeDeploy) BatchGetDeploymentTargetsRequest Uses

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

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

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

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

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

// Example sending a request using the BatchGetDeploymentTargetsRequest method.
req, resp := client.BatchGetDeploymentTargetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) BatchGetDeploymentTargetsWithContext Uses

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

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

See BatchGetDeploymentTargets for details on how to use this API operation.

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

func (*CodeDeploy) BatchGetDeployments Uses

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

BatchGetDeployments API operation for AWS CodeDeploy.

Gets information about one or more deployments. The maximum number of deployments that can be returned is 25.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation BatchGetDeployments for usage and error information.

Returned Error Codes:

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

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

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

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

func (*CodeDeploy) BatchGetDeploymentsRequest Uses

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

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

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

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

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

// Example sending a request using the BatchGetDeploymentsRequest method.
req, resp := client.BatchGetDeploymentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) BatchGetDeploymentsWithContext Uses

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

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

See BatchGetDeployments for details on how to use this API operation.

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

func (*CodeDeploy) BatchGetOnPremisesInstances Uses

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation BatchGetOnPremisesInstances for usage and error information.

Returned Error Codes:

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

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

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

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

func (*CodeDeploy) BatchGetOnPremisesInstancesRequest Uses

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

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

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

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

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

// Example sending a request using the BatchGetOnPremisesInstancesRequest method.
req, resp := client.BatchGetOnPremisesInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) BatchGetOnPremisesInstancesWithContext Uses

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

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

See BatchGetOnPremisesInstances for details on how to use this API operation.

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

func (*CodeDeploy) ContinueDeployment Uses

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

ContinueDeployment API operation for AWS CodeDeploy.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation ContinueDeployment for usage and error information.

Returned Error Codes:

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

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

* ErrCodeDeploymentAlreadyCompletedException "DeploymentAlreadyCompletedException"
The deployment is already complete.

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

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

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

* ErrCodeInvalidDeploymentWaitTypeException "InvalidDeploymentWaitTypeException"
The wait type is invalid.

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

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

func (*CodeDeploy) ContinueDeploymentRequest Uses

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

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

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

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

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

// Example sending a request using the ContinueDeploymentRequest method.
req, resp := client.ContinueDeploymentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) ContinueDeploymentWithContext Uses

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

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

See ContinueDeployment for details on how to use this API operation.

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

func (*CodeDeploy) CreateApplication Uses

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

CreateApplication API operation for AWS CodeDeploy.

Creates an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation CreateApplication for usage and error information.

Returned Error Codes:

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

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

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

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

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

* ErrCodeInvalidTagsToAddException "InvalidTagsToAddException"
The specified tags are not valid.

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

func (*CodeDeploy) CreateApplicationRequest Uses

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

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

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

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

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

// Example sending a request using the CreateApplicationRequest method.
req, resp := client.CreateApplicationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) CreateApplicationWithContext Uses

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

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

See CreateApplication for details on how to use this API operation.

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

func (*CodeDeploy) CreateDeployment Uses

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

CreateDeployment API operation for AWS CodeDeploy.

Deploys an application revision through the specified deployment group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation CreateDeployment for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

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

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

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

* ErrCodeDescriptionTooLongException "DescriptionTooLongException"
The description is too long.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (*CodeDeploy) CreateDeploymentConfig Uses

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

CreateDeploymentConfig API operation for AWS CodeDeploy.

Creates a deployment configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation CreateDeploymentConfig for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

func (*CodeDeploy) CreateDeploymentConfigRequest Uses

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

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

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

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

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

// Example sending a request using the CreateDeploymentConfigRequest method.
req, resp := client.CreateDeploymentConfigRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) CreateDeploymentConfigWithContext Uses

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

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

See CreateDeploymentConfig for details on how to use this API operation.

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

func (*CodeDeploy) CreateDeploymentGroup Uses

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

CreateDeploymentGroup API operation for AWS CodeDeploy.

Creates a deployment group to which application revisions are deployed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation CreateDeploymentGroup for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

   * The alarm list is null.

   * The alarm object is null.

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

   * Two alarms with the same name have been specified.

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

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

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

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

* ErrCodeInvalidDeploymentStyleException "InvalidDeploymentStyleException"
An invalid deployment style was specified. Valid deployment types include
"IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL"
and "WITHOUT_TRAFFIC_CONTROL."

* ErrCodeInvalidBlueGreenDeploymentConfigurationException "InvalidBlueGreenDeploymentConfigurationException"
The configuration for the blue/green deployment group was provided in an
invalid format. For information about deployment configuration format, see
CreateDeploymentConfig.

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

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

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

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

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

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

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

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

* ErrCodeInvalidTagsToAddException "InvalidTagsToAddException"
The specified tags are not valid.

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

func (*CodeDeploy) CreateDeploymentGroupRequest Uses

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

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

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

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

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

// Example sending a request using the CreateDeploymentGroupRequest method.
req, resp := client.CreateDeploymentGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) CreateDeploymentGroupWithContext Uses

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

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

See CreateDeploymentGroup for details on how to use this API operation.

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

func (*CodeDeploy) CreateDeploymentRequest Uses

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

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

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

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

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

// Example sending a request using the CreateDeploymentRequest method.
req, resp := client.CreateDeploymentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) CreateDeploymentWithContext Uses

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

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

See CreateDeployment for details on how to use this API operation.

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

func (*CodeDeploy) DeleteApplication Uses

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

DeleteApplication API operation for AWS CodeDeploy.

Deletes an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation DeleteApplication for usage and error information.

Returned Error Codes:

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

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

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

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

func (*CodeDeploy) DeleteApplicationRequest Uses

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

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

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

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

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

// Example sending a request using the DeleteApplicationRequest method.
req, resp := client.DeleteApplicationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) DeleteApplicationWithContext Uses

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

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

See DeleteApplication for details on how to use this API operation.

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

func (*CodeDeploy) DeleteDeploymentConfig Uses

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

DeleteDeploymentConfig API operation for AWS CodeDeploy.

Deletes a deployment configuration.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation DeleteDeploymentConfig for usage and error information.

Returned Error Codes:

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

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

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

* ErrCodeInvalidOperationException "InvalidOperationException"
An invalid operation was detected.

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

func (*CodeDeploy) DeleteDeploymentConfigRequest Uses

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

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

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

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

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

// Example sending a request using the DeleteDeploymentConfigRequest method.
req, resp := client.DeleteDeploymentConfigRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) DeleteDeploymentConfigWithContext Uses

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

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

See DeleteDeploymentConfig for details on how to use this API operation.

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

func (*CodeDeploy) DeleteDeploymentGroup Uses

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

DeleteDeploymentGroup API operation for AWS CodeDeploy.

Deletes a deployment group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation DeleteDeploymentGroup for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*CodeDeploy) DeleteDeploymentGroupRequest Uses

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

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

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

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

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

// Example sending a request using the DeleteDeploymentGroupRequest method.
req, resp := client.DeleteDeploymentGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) DeleteDeploymentGroupWithContext Uses

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

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

See DeleteDeploymentGroup for details on how to use this API operation.

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

func (*CodeDeploy) DeleteGitHubAccountToken Uses

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

DeleteGitHubAccountToken API operation for AWS CodeDeploy.

Deletes a GitHub account connection.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation DeleteGitHubAccountToken for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*CodeDeploy) DeleteGitHubAccountTokenRequest Uses

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

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

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

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

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

// Example sending a request using the DeleteGitHubAccountTokenRequest method.
req, resp := client.DeleteGitHubAccountTokenRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) DeleteGitHubAccountTokenWithContext Uses

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

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

See DeleteGitHubAccountToken for details on how to use this API operation.

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

func (*CodeDeploy) DeregisterOnPremisesInstance Uses

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

DeregisterOnPremisesInstance API operation for AWS CodeDeploy.

Deregisters an on-premises instance.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation DeregisterOnPremisesInstance for usage and error information.

Returned Error Codes:

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

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

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

func (*CodeDeploy) DeregisterOnPremisesInstanceRequest Uses

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

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

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

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

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

// Example sending a request using the DeregisterOnPremisesInstanceRequest method.
req, resp := client.DeregisterOnPremisesInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) DeregisterOnPremisesInstanceWithContext Uses

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

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

See DeregisterOnPremisesInstance for details on how to use this API operation.

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

func (*CodeDeploy) GetApplication Uses

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

GetApplication API operation for AWS CodeDeploy.

Gets information about an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation GetApplication for usage and error information.

Returned Error Codes:

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

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

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

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

func (*CodeDeploy) GetApplicationRequest Uses

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

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

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

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

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

// Example sending a request using the GetApplicationRequest method.
req, resp := client.GetApplicationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) GetApplicationRevision Uses

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

GetApplicationRevision API operation for AWS CodeDeploy.

Gets information about an application revision.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation GetApplicationRevision for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

func (*CodeDeploy) GetApplicationRevisionRequest Uses

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

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

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

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

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

// Example sending a request using the GetApplicationRevisionRequest method.
req, resp := client.GetApplicationRevisionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) GetApplicationRevisionWithContext Uses

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

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

See GetApplicationRevision for details on how to use this API operation.

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

func (*CodeDeploy) GetApplicationWithContext Uses

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

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

See GetApplication for details on how to use this API operation.

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

func (*CodeDeploy) GetDeployment Uses

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation GetDeployment for usage and error information.

Returned Error Codes:

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

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

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

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

func (*CodeDeploy) GetDeploymentConfig Uses

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

GetDeploymentConfig API operation for AWS CodeDeploy.

Gets information about a deployment configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation GetDeploymentConfig for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*CodeDeploy) GetDeploymentConfigRequest Uses

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

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

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

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

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

// Example sending a request using the GetDeploymentConfigRequest method.
req, resp := client.GetDeploymentConfigRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) GetDeploymentConfigWithContext Uses

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

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

See GetDeploymentConfig for details on how to use this API operation.

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

func (*CodeDeploy) GetDeploymentGroup Uses

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

GetDeploymentGroup API operation for AWS CodeDeploy.

Gets information about a deployment group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation GetDeploymentGroup for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

func (*CodeDeploy) GetDeploymentGroupRequest Uses

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

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

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

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

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

// Example sending a request using the GetDeploymentGroupRequest method.
req, resp := client.GetDeploymentGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) GetDeploymentGroupWithContext Uses

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

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

See GetDeploymentGroup for details on how to use this API operation.

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

func (*CodeDeploy) GetDeploymentInstance Uses

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

GetDeploymentInstance API operation for AWS CodeDeploy.

Gets information about an instance as part of a deployment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation GetDeploymentInstance for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

Deprecated: This operation is deprecated, use GetDeploymentTarget instead.

func (*CodeDeploy) GetDeploymentInstanceRequest Uses

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

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

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

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

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

// Example sending a request using the GetDeploymentInstanceRequest method.
req, resp := client.GetDeploymentInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

Deprecated: This operation is deprecated, use GetDeploymentTarget instead.

func (*CodeDeploy) GetDeploymentInstanceWithContext Uses

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

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

See GetDeploymentInstance for details on how to use this API operation.

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

Deprecated: This operation is deprecated, use GetDeploymentTarget instead.

func (*CodeDeploy) GetDeploymentRequest Uses

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

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

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

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

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

// Example sending a request using the GetDeploymentRequest method.
req, resp := client.GetDeploymentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) GetDeploymentTarget Uses

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

GetDeploymentTarget API operation for AWS CodeDeploy.

Returns information about a deployment target.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation GetDeploymentTarget for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

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

func (*CodeDeploy) GetDeploymentTargetRequest Uses

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

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

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

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

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

// Example sending a request using the GetDeploymentTargetRequest method.
req, resp := client.GetDeploymentTargetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) GetDeploymentTargetWithContext Uses

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

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

See GetDeploymentTarget for details on how to use this API operation.

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

func (*CodeDeploy) GetDeploymentWithContext Uses

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

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

See GetDeployment for details on how to use this API operation.

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

func (*CodeDeploy) GetOnPremisesInstance Uses

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

GetOnPremisesInstance API operation for AWS CodeDeploy.

Gets information about an on-premises instance.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation GetOnPremisesInstance for usage and error information.

Returned Error Codes:

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

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

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

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

func (*CodeDeploy) GetOnPremisesInstanceRequest Uses

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

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

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

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

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

// Example sending a request using the GetOnPremisesInstanceRequest method.
req, resp := client.GetOnPremisesInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) GetOnPremisesInstanceWithContext Uses

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

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

See GetOnPremisesInstance for details on how to use this API operation.

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

func (*CodeDeploy) ListApplicationRevisions Uses

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

ListApplicationRevisions API operation for AWS CodeDeploy.

Lists information about revisions for an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation ListApplicationRevisions for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

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

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

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

func (*CodeDeploy) ListApplicationRevisionsPages Uses

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

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

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

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

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

func (*CodeDeploy) ListApplicationRevisionsPagesWithContext Uses

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

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

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

func (*CodeDeploy) ListApplicationRevisionsRequest Uses

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

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

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

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

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

// Example sending a request using the ListApplicationRevisionsRequest method.
req, resp := client.ListApplicationRevisionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) ListApplicationRevisionsWithContext Uses

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

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

See ListApplicationRevisions for details on how to use this API operation.

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

func (*CodeDeploy) ListApplications Uses

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

ListApplications API operation for AWS CodeDeploy.

Lists the applications registered with the IAM user or AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation ListApplications for usage and error information.

Returned Error Codes:

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

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

func (*CodeDeploy) ListApplicationsPages Uses

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

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

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

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

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

func (*CodeDeploy) ListApplicationsPagesWithContext Uses

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

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

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

func (*CodeDeploy) ListApplicationsRequest Uses

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

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

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

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

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

// Example sending a request using the ListApplicationsRequest method.
req, resp := client.ListApplicationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) ListApplicationsWithContext Uses

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

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

See ListApplications for details on how to use this API operation.

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

func (*CodeDeploy) ListDeploymentConfigs Uses

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

ListDeploymentConfigs API operation for AWS CodeDeploy.

Lists the deployment configurations with the IAM user or AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation ListDeploymentConfigs for usage and error information.

Returned Error Codes:

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

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

func (*CodeDeploy) ListDeploymentConfigsPages Uses

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

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

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

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

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

func (*CodeDeploy) ListDeploymentConfigsPagesWithContext Uses

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

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

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

func (*CodeDeploy) ListDeploymentConfigsRequest Uses

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

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

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

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

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

// Example sending a request using the ListDeploymentConfigsRequest method.
req, resp := client.ListDeploymentConfigsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) ListDeploymentConfigsWithContext Uses

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

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

See ListDeploymentConfigs for details on how to use this API operation.

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

func (*CodeDeploy) ListDeploymentGroups Uses

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

ListDeploymentGroups API operation for AWS CodeDeploy.

Lists the deployment groups for an application registered with the IAM user or AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation ListDeploymentGroups for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*CodeDeploy) ListDeploymentGroupsPages Uses

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

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

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

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

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

func (*CodeDeploy) ListDeploymentGroupsPagesWithContext Uses

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

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

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

func (*CodeDeploy) ListDeploymentGroupsRequest Uses

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

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

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

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

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

// Example sending a request using the ListDeploymentGroupsRequest method.
req, resp := client.ListDeploymentGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) ListDeploymentGroupsWithContext Uses

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

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

See ListDeploymentGroups for details on how to use this API operation.

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

func (*CodeDeploy) ListDeploymentInstances Uses

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

ListDeploymentInstances API operation for AWS CodeDeploy.

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

Lists the instance for a deployment associated with the IAM user or AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation ListDeploymentInstances for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

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

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

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

Deprecated: This operation is deprecated, use ListDeploymentTargets instead.

func (*CodeDeploy) ListDeploymentInstancesPages Uses

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

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

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

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

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

Deprecated: This operation is deprecated, use ListDeploymentTargets instead.

func (*CodeDeploy) ListDeploymentInstancesPagesWithContext Uses

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

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

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

Deprecated: This operation is deprecated, use ListDeploymentTargets instead.

func (*CodeDeploy) ListDeploymentInstancesRequest Uses

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

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

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

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

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

// Example sending a request using the ListDeploymentInstancesRequest method.
req, resp := client.ListDeploymentInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

Deprecated: This operation is deprecated, use ListDeploymentTargets instead.

func (*CodeDeploy) ListDeploymentInstancesWithContext Uses

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

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

See ListDeploymentInstances for details on how to use this API operation.

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

Deprecated: This operation is deprecated, use ListDeploymentTargets instead.

func (*CodeDeploy) ListDeploymentTargets Uses

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

ListDeploymentTargets API operation for AWS CodeDeploy.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation ListDeploymentTargets for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

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

func (*CodeDeploy) ListDeploymentTargetsRequest Uses

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

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

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

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

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

// Example sending a request using the ListDeploymentTargetsRequest method.
req, resp := client.ListDeploymentTargetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) ListDeploymentTargetsWithContext Uses

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

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

See ListDeploymentTargets for details on how to use this API operation.

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

func (*CodeDeploy) ListDeployments Uses

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

ListDeployments API operation for AWS CodeDeploy.

Lists the deployments in a deployment group for an application registered with the IAM user or AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation ListDeployments for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

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

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

func (*CodeDeploy) ListDeploymentsPages Uses

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

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

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

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

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

func (*CodeDeploy) ListDeploymentsPagesWithContext Uses

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

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

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

func (*CodeDeploy) ListDeploymentsRequest Uses

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

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

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

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

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

// Example sending a request using the ListDeploymentsRequest method.
req, resp := client.ListDeploymentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) ListDeploymentsWithContext Uses

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

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

See ListDeployments for details on how to use this API operation.

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

func (*CodeDeploy) ListGitHubAccountTokenNames Uses

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

ListGitHubAccountTokenNames API operation for AWS CodeDeploy.

Lists the names of stored connections to GitHub accounts.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation ListGitHubAccountTokenNames for usage and error information.

Returned Error Codes:

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

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

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

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

func (*CodeDeploy) ListGitHubAccountTokenNamesRequest Uses

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

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

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

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

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

// Example sending a request using the ListGitHubAccountTokenNamesRequest method.
req, resp := client.ListGitHubAccountTokenNamesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) ListGitHubAccountTokenNamesWithContext Uses

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

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

See ListGitHubAccountTokenNames for details on how to use this API operation.

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

func (*CodeDeploy) ListOnPremisesInstances Uses

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

ListOnPremisesInstances API operation for AWS CodeDeploy.

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

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation ListOnPremisesInstances for usage and error information.

Returned Error Codes:

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

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

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

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

func (*CodeDeploy) ListOnPremisesInstancesRequest Uses

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

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

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

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

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

// Example sending a request using the ListOnPremisesInstancesRequest method.
req, resp := client.ListOnPremisesInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) ListOnPremisesInstancesWithContext Uses

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

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

See ListOnPremisesInstances for details on how to use this API operation.

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

func (*CodeDeploy) ListTagsForResource Uses

func (c *CodeDeploy) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation ListTagsForResource for usage and error information.

Returned Error Codes:

* ErrCodeArnNotSupportedException "ArnNotSupportedException"
The specified ARN is not supported. For example, it might be an ARN for a
resource that is not expected.

* ErrCodeInvalidArnException "InvalidArnException"
The specified ARN is not in a valid format.

* ErrCodeResourceArnRequiredException "ResourceArnRequiredException"
The ARN of a resource is required, but was not found.

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

func (*CodeDeploy) ListTagsForResourceRequest Uses

func (c *CodeDeploy) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

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

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

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

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

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) ListTagsForResourceWithContext Uses

func (c *CodeDeploy) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

See ListTagsForResource for details on how to use this API operation.

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

func (*CodeDeploy) PutLifecycleEventHookExecutionStatus Uses

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

PutLifecycleEventHookExecutionStatus API operation for AWS CodeDeploy.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation PutLifecycleEventHookExecutionStatus for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

func (*CodeDeploy) PutLifecycleEventHookExecutionStatusRequest Uses

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

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

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

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

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

// Example sending a request using the PutLifecycleEventHookExecutionStatusRequest method.
req, resp := client.PutLifecycleEventHookExecutionStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) PutLifecycleEventHookExecutionStatusWithContext Uses

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

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

See PutLifecycleEventHookExecutionStatus for details on how to use this API operation.

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

func (*CodeDeploy) RegisterApplicationRevision Uses

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

RegisterApplicationRevision API operation for AWS CodeDeploy.

Registers with AWS CodeDeploy a revision for the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation RegisterApplicationRevision for usage and error information.

Returned Error Codes:

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

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

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

* ErrCodeDescriptionTooLongException "DescriptionTooLongException"
The description is too long.

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

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

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

func (*CodeDeploy) RegisterApplicationRevisionRequest Uses

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

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

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

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

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

// Example sending a request using the RegisterApplicationRevisionRequest method.
req, resp := client.RegisterApplicationRevisionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) RegisterApplicationRevisionWithContext Uses

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

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

See RegisterApplicationRevision for details on how to use this API operation.

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

func (*CodeDeploy) RegisterOnPremisesInstance Uses

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

RegisterOnPremisesInstance API operation for AWS CodeDeploy.

Registers an on-premises instance.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation RegisterOnPremisesInstance for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

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

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

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

func (*CodeDeploy) RegisterOnPremisesInstanceRequest Uses

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

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

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

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

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

// Example sending a request using the RegisterOnPremisesInstanceRequest method.
req, resp := client.RegisterOnPremisesInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) RegisterOnPremisesInstanceWithContext Uses

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

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

See RegisterOnPremisesInstance for details on how to use this API operation.

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

func (*CodeDeploy) RemoveTagsFromOnPremisesInstances Uses

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

RemoveTagsFromOnPremisesInstances API operation for AWS CodeDeploy.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation RemoveTagsFromOnPremisesInstances for usage and error information.

Returned Error Codes:

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

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

* ErrCodeTagRequiredException "TagRequiredException"
A tag was not specified.

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

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

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

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

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

func (*CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest Uses

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

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

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

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

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

// Example sending a request using the RemoveTagsFromOnPremisesInstancesRequest method.
req, resp := client.RemoveTagsFromOnPremisesInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) RemoveTagsFromOnPremisesInstancesWithContext Uses

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

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

See RemoveTagsFromOnPremisesInstances for details on how to use this API operation.

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

func (*CodeDeploy) SkipWaitTimeForInstanceTermination Uses

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

SkipWaitTimeForInstanceTermination API operation for AWS CodeDeploy.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation SkipWaitTimeForInstanceTermination for usage and error information.

Returned Error Codes:

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

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

* ErrCodeDeploymentAlreadyCompletedException "DeploymentAlreadyCompletedException"
The deployment is already complete.

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

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

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

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

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

func (*CodeDeploy) SkipWaitTimeForInstanceTerminationRequest Uses

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

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

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

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

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

// Example sending a request using the SkipWaitTimeForInstanceTerminationRequest method.
req, resp := client.SkipWaitTimeForInstanceTerminationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

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

func (*CodeDeploy) SkipWaitTimeForInstanceTerminationWithContext Uses

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

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

See SkipWaitTimeForInstanceTermination for details on how to use this API operation.

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

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

func (*CodeDeploy) StopDeployment Uses

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

StopDeployment API operation for AWS CodeDeploy.

Attempts to stop an ongoing deployment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation StopDeployment for usage and error information.

Returned Error Codes:

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

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

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

* ErrCodeDeploymentAlreadyCompletedException "DeploymentAlreadyCompletedException"
The deployment is already complete.

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

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

func (*CodeDeploy) StopDeploymentRequest Uses

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

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

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

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

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

// Example sending a request using the StopDeploymentRequest method.
req, resp := client.StopDeploymentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeDeploy) StopDeploymentWithContext Uses

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

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

See StopDeployment for details on how to use this API operation.

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

func (*CodeDeploy) TagResource Uses

func (c *CodeDeploy) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS CodeDeploy.

Associates the list of tags in the input Tags parameter with the resource identified by the ResourceArn input parameter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation TagResource for usage and error information.

Returned Error Codes:

* ErrCodeResourceArnRequiredException "ResourceArnRequiredException"
The ARN of a resource is required, but was not found.

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

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

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

* ErrCodeTagRequiredException "TagRequiredException"
A tag was not specified.

* ErrCodeInvalidTagsToAddException "InvalidTagsToAddException"
The specified tags are not valid.

* ErrCodeArnNotSupportedException "ArnNotSupportedException"
The specified ARN is not supported. For example, it might be an ARN for a
resource that is not expected.

* ErrCodeInvalidArnException "InvalidArnException"
The specified ARN is not in a valid format.

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

func (*CodeDeploy) TagResourceRequest Uses

func (c *CodeDeploy) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

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

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

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

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

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagResource

func (*CodeDeploy) TagResourceWithContext Uses

func (c *CodeDeploy) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeDeploy) UntagResource Uses

func (c *CodeDeploy) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation UntagResource for usage and error information.

Returned Error Codes:

* ErrCodeResourceArnRequiredException "ResourceArnRequiredException"
The ARN of a resource is required, but was not found.

* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the IAM user or AWS account.

* ErrCodeDeploymentGroupDoesNotExistException "DeploymentGroupDoesNotExistException"
The named deployment group with the IAM user or AWS account does not exist.

* ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException"
The deployment configuration does not exist with the IAM user or AWS account.

* ErrCodeTagRequiredException "TagRequiredException"
A tag was not specified.

* ErrCodeInvalidTagsToAddException "InvalidTagsToAddException"
The specified tags are not valid.

* ErrCodeArnNotSupportedException "ArnNotSupportedException"
The specified ARN is not supported. For example, it might be an ARN for a
resource that is not expected.

* ErrCodeInvalidArnException "InvalidArnException"
The specified ARN is not in a valid format.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UntagResource

func (*CodeDeploy) UntagResourceRequest Uses

func (c *CodeDeploy) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UntagResource

func (*CodeDeploy) UntagResourceWithContext Uses

func (c *CodeDeploy) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeDeploy) UpdateApplication Uses

func (c *CodeDeploy) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error)

UpdateApplication API operation for AWS CodeDeploy.

Changes the name of an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation UpdateApplication for usage and error information.

Returned Error Codes:

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.

* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.

* ErrCodeApplicationAlreadyExistsException "ApplicationAlreadyExistsException"
An application with the specified name with the IAM user or AWS account already
exists.

* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the IAM user or AWS account.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication

func (*CodeDeploy) UpdateApplicationRequest Uses

func (c *CodeDeploy) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput)

UpdateApplicationRequest generates a "aws/request.Request" representing the client's request for the UpdateApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApplication for more information on using the UpdateApplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApplicationRequest method.
req, resp := client.UpdateApplicationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication

func (*CodeDeploy) UpdateApplicationWithContext Uses

func (c *CodeDeploy) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error)

UpdateApplicationWithContext is the same as UpdateApplication with the addition of the ability to pass a context and additional request options.

See UpdateApplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeDeploy) UpdateDeploymentGroup Uses

func (c *CodeDeploy) UpdateDeploymentGroup(input *UpdateDeploymentGroupInput) (*UpdateDeploymentGroupOutput, error)

UpdateDeploymentGroup API operation for AWS CodeDeploy.

Changes information about a deployment group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeDeploy's API operation UpdateDeploymentGroup for usage and error information.

Returned Error Codes:

* ErrCodeApplicationNameRequiredException "ApplicationNameRequiredException"
The minimum number of required application names was not specified.

* ErrCodeInvalidApplicationNameException "InvalidApplicationNameException"
The application name was specified in an invalid format.

* ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException"
The application does not exist with the IAM user or AWS account.

* ErrCodeInvalidDeploymentGroupNameException "InvalidDeploymentGroupNameException"
The deployment group name was specified in an invalid format.

* ErrCodeDeploymentGroupAlreadyExistsException "DeploymentGroupAlreadyExistsException"
A deployment group with the specified name with the IAM user or AWS account
already exists.

* ErrCodeDeploymentGroupNameRequiredException "DeploymentGroupNameRequiredException"
The deployment group name was not specified.

* ErrCodeDeploymentGroupDoesNotExistException "DeploymentGroupDoesNotExistException"
The named deployment group with the IAM user or AWS account does not exist.

* ErrCodeInvalidEC2TagException "InvalidEC2TagException"
The tag was specified in an invalid format.

* ErrCodeInvalidTagException "InvalidTagException"
The tag was specified in an invalid format.

* ErrCodeInvalidAutoScalingGroupException "InvalidAutoScalingGroupException"
The Auto Scaling group was specified in an invalid format or does not exist.

* ErrCodeInvalidDeploymentConfigNameException "InvalidDeploymentConfigNameException"
The deployment configuration name was specified in an invalid format.

* ErrCodeDeploymentConfigDoesNotExistException "DeploymentConfigDoesNotExistException"
The deployment configuration does not exist with the IAM user or AWS account.

* ErrCodeInvalidRoleException "InvalidRoleException"
The service role ARN was specified in an invalid format. Or, if an Auto Scaling
group was specified, the specified service role does not grant the appropriate
permissions to Amazon EC2 Auto Scaling.

* ErrCodeLifecycleHookLimitExceededException "LifecycleHookLimitExceededException"
The limit for lifecycle hooks was exceeded.

* ErrCodeInvalidTriggerConfigException "InvalidTriggerConfigException"
The trigger was specified in an invalid format.

* ErrCodeTriggerTargetsLimitExceededException "TriggerTargetsLimitExceededException"
The maximum allowed number of triggers was exceeded.

* ErrCodeInvalidAlarmConfigException "InvalidAlarmConfigException"
The format of the alarm configuration is invalid. Possible causes include:

   * The alarm list is null.

   * The alarm object is null.

   * The alarm name is empty or null or exceeds the limit of 255 characters.

   * Two alarms with the same name have been specified.

   * The alarm configuration is enabled, but the alarm list is empty.

* ErrCodeAlarmsLimitExceededException "AlarmsLimitExceededException"
The maximum number of alarms for a deployment group (10) was exceeded.

* ErrCodeInvalidAutoRollbackConfigException "InvalidAutoRollbackConfigException"
The automatic rollback configuration was specified in an invalid format.
For example, automatic rollback is enabled, but an invalid triggering event
type or no event types were listed.

* ErrCodeInvalidLoadBalancerInfoException "InvalidLoadBalancerInfoException"
An invalid load balancer name, or no load balancer name, was specified.

* ErrCodeInvalidDeploymentStyleException "InvalidDeploymentStyleException"
An invalid deployment style was specified. Valid deployment types include
"IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL"
and "WITHOUT_TRAFFIC_CONTROL."

* ErrCodeInvalidBlueGreenDeploymentConfigurationException "InvalidBlueGreenDeploymentConfigurationException"
The configuration for the blue/green deployment group was provided in an
invalid format. For information about deployment configuration format, see
CreateDeploymentConfig.

* ErrCodeInvalidEC2TagCombinationException "InvalidEC2TagCombinationException"
A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but
only one of these data types can be used in a single call.

* ErrCodeInvalidOnPremisesTagCombinationException "InvalidOnPremisesTagCombinationException"
A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet,
but only one of these data types can be used in a single call.

* ErrCodeTagSetListLimitExceededException "TagSetListLimitExceededException"
The number of tag groups included in the tag set list exceeded the maximum
allowed limit of 3.

* ErrCodeInvalidInputException "InvalidInputException"
The input was specified in an invalid format.

* ErrCodeThrottlingException "ThrottlingException"
An API function was called too frequently.

* ErrCodeInvalidECSServiceException "InvalidECSServiceException"
The Amazon ECS service identifier is not valid.

* ErrCodeInvalidTargetGroupPairException "InvalidTargetGroupPairException"
A target group pair associated with this deployment is not valid.

* ErrCodeECSServiceMappingLimitExceededException "ECSServiceMappingLimitExceededException"
The Amazon ECS service is associated with more than one deployment groups.
An Amazon ECS service can be associated with only one deployment group.

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup

func (*CodeDeploy) UpdateDeploymentGroupRequest Uses

func (c *CodeDeploy) UpdateDeploymentGroupRequest(input *UpdateDeploymentGroupInput) (req *request.Request, output *UpdateDeploymentGroupOutput)

UpdateDeploymentGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateDeploymentGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDeploymentGroup for more information on using the UpdateDeploymentGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDeploymentGroupRequest method.
req, resp := client.UpdateDeploymentGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup

func (*CodeDeploy) UpdateDeploymentGroupWithContext Uses

func (c *CodeDeploy) UpdateDeploymentGroupWithContext(ctx aws.Context, input *UpdateDeploymentGroupInput, opts ...request.Option) (*UpdateDeploymentGroupOutput, error)

UpdateDeploymentGroupWithContext is the same as UpdateDeploymentGroup with the addition of the ability to pass a context and additional request options.

See UpdateDeploymentGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeDeploy) WaitUntilDeploymentSuccessful Uses

func (c *CodeDeploy) WaitUntilDeploymentSuccessful(input *GetDeploymentInput) error

WaitUntilDeploymentSuccessful uses the CodeDeploy API operation GetDeployment to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*CodeDeploy) WaitUntilDeploymentSuccessfulWithContext Uses

func (c *CodeDeploy) WaitUntilDeploymentSuccessfulWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...request.WaiterOption) error

WaitUntilDeploymentSuccessfulWithContext is an extended version of WaitUntilDeploymentSuccessful. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ContinueDeploymentInput Uses

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 *string `locationName:"deploymentWaitType" type:"string" enum:"DeploymentWaitType"`
    // contains filtered or unexported fields
}

func (ContinueDeploymentInput) GoString Uses

func (s ContinueDeploymentInput) GoString() string

GoString returns the string representation

func (*ContinueDeploymentInput) SetDeploymentId Uses

func (s *ContinueDeploymentInput) SetDeploymentId(v string) *ContinueDeploymentInput

SetDeploymentId sets the DeploymentId field's value.

func (*ContinueDeploymentInput) SetDeploymentWaitType Uses

func (s *ContinueDeploymentInput) SetDeploymentWaitType(v string) *ContinueDeploymentInput

SetDeploymentWaitType sets the DeploymentWaitType field's value.

func (ContinueDeploymentInput) String Uses

func (s ContinueDeploymentInput) String() string

String returns the string representation

type ContinueDeploymentOutput Uses

type ContinueDeploymentOutput struct {
    // contains filtered or unexported fields
}

func (ContinueDeploymentOutput) GoString Uses

func (s ContinueDeploymentOutput) GoString() string

GoString returns the string representation

func (ContinueDeploymentOutput) String Uses

func (s ContinueDeploymentOutput) String() string

String returns the string representation

type CreateApplicationInput Uses

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 *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`

    // 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) GoString Uses

func (s CreateApplicationInput) GoString() string

GoString returns the string representation

func (*CreateApplicationInput) SetApplicationName Uses

func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplicationInput

SetApplicationName sets the ApplicationName field's value.

func (*CreateApplicationInput) SetComputePlatform Uses

func (s *CreateApplicationInput) SetComputePlatform(v string) *CreateApplicationInput

SetComputePlatform sets the ComputePlatform field's value.

func (*CreateApplicationInput) SetTags Uses

func (s *CreateApplicationInput) SetTags(v []*Tag) *CreateApplicationInput

SetTags sets the Tags field's value.

func (CreateApplicationInput) String Uses

func (s CreateApplicationInput) String() string

String returns the string representation

func (*CreateApplicationInput) Validate Uses

func (s *CreateApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateApplicationOutput Uses

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) GoString Uses

func (s CreateApplicationOutput) GoString() string

GoString returns the string representation

func (*CreateApplicationOutput) SetApplicationId Uses

func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationOutput

SetApplicationId sets the ApplicationId field's value.

func (CreateApplicationOutput) String Uses

func (s CreateApplicationOutput) String() string

String returns the string representation

type CreateDeploymentConfigInput Uses

type CreateDeploymentConfigInput struct {

    // The destination platform type for the deployment (Lambda, Server, or ECS).
    ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`

    // 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) GoString Uses

func (s CreateDeploymentConfigInput) GoString() string

GoString returns the string representation

func (*CreateDeploymentConfigInput) SetComputePlatform Uses

func (s *CreateDeploymentConfigInput) SetComputePlatform(v string) *CreateDeploymentConfigInput

SetComputePlatform sets the ComputePlatform field's value.

func (*CreateDeploymentConfigInput) SetDeploymentConfigName Uses

func (s *CreateDeploymentConfigInput) SetDeploymentConfigName(v string) *CreateDeploymentConfigInput

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*CreateDeploymentConfigInput) SetMinimumHealthyHosts Uses

func (s *CreateDeploymentConfigInput) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *CreateDeploymentConfigInput

SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value.

func (*CreateDeploymentConfigInput) SetTrafficRoutingConfig Uses

func (s *CreateDeploymentConfigInput) SetTrafficRoutingConfig(v *TrafficRoutingConfig) *CreateDeploymentConfigInput

SetTrafficRoutingConfig sets the TrafficRoutingConfig field's value.

func (CreateDeploymentConfigInput) String Uses

func (s CreateDeploymentConfigInput) String() string

String returns the string representation

func (*CreateDeploymentConfigInput) Validate Uses

func (s *CreateDeploymentConfigInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDeploymentConfigOutput Uses

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) GoString Uses

func (s CreateDeploymentConfigOutput) GoString() string

GoString returns the string representation

func (*CreateDeploymentConfigOutput) SetDeploymentConfigId Uses

func (s *CreateDeploymentConfigOutput) SetDeploymentConfigId(v string) *CreateDeploymentConfigOutput

SetDeploymentConfigId sets the DeploymentConfigId field's value.

func (CreateDeploymentConfigOutput) String Uses

func (s CreateDeploymentConfigOutput) String() string

String returns the string representation

type CreateDeploymentGroupInput Uses

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) GoString Uses

func (s CreateDeploymentGroupInput) GoString() string

GoString returns the string representation

func (*CreateDeploymentGroupInput) SetAlarmConfiguration Uses

func (s *CreateDeploymentGroupInput) SetAlarmConfiguration(v *AlarmConfiguration) *CreateDeploymentGroupInput

SetAlarmConfiguration sets the AlarmConfiguration field's value.

func (*CreateDeploymentGroupInput) SetApplicationName Uses

func (s *CreateDeploymentGroupInput) SetApplicationName(v string) *CreateDeploymentGroupInput

SetApplicationName sets the ApplicationName field's value.

func (*CreateDeploymentGroupInput) SetAutoRollbackConfiguration Uses

func (s *CreateDeploymentGroupInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentGroupInput

SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.

func (*CreateDeploymentGroupInput) SetAutoScalingGroups Uses

func (s *CreateDeploymentGroupInput) SetAutoScalingGroups(v []*string) *CreateDeploymentGroupInput

SetAutoScalingGroups sets the AutoScalingGroups field's value.

func (*CreateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration Uses

func (s *CreateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *CreateDeploymentGroupInput

SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.

func (*CreateDeploymentGroupInput) SetDeploymentConfigName Uses

func (s *CreateDeploymentGroupInput) SetDeploymentConfigName(v string) *CreateDeploymentGroupInput

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*CreateDeploymentGroupInput) SetDeploymentGroupName Uses

func (s *CreateDeploymentGroupInput) SetDeploymentGroupName(v string) *CreateDeploymentGroupInput

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (*CreateDeploymentGroupInput) SetDeploymentStyle Uses

func (s *CreateDeploymentGroupInput) SetDeploymentStyle(v *DeploymentStyle) *CreateDeploymentGroupInput

SetDeploymentStyle sets the DeploymentStyle field's value.

func (*CreateDeploymentGroupInput) SetEc2TagFilters Uses

func (s *CreateDeploymentGroupInput) SetEc2TagFilters(v []*EC2TagFilter) *CreateDeploymentGroupInput

SetEc2TagFilters sets the Ec2TagFilters field's value.

func (*CreateDeploymentGroupInput) SetEc2TagSet Uses

func (s *CreateDeploymentGroupInput) SetEc2TagSet(v *EC2TagSet) *CreateDeploymentGroupInput

SetEc2TagSet sets the Ec2TagSet field's value.

func (*CreateDeploymentGroupInput) SetEcsServices Uses

func (s *CreateDeploymentGroupInput) SetEcsServices(v []*ECSService) *CreateDeploymentGroupInput

SetEcsServices sets the EcsServices field's value.

func (*CreateDeploymentGroupInput) SetLoadBalancerInfo Uses

func (s *CreateDeploymentGroupInput) SetLoadBalancerInfo(v *LoadBalancerInfo) *CreateDeploymentGroupInput

SetLoadBalancerInfo sets the LoadBalancerInfo field's value.

func (*CreateDeploymentGroupInput) SetOnPremisesInstanceTagFilters Uses

func (s *CreateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []*TagFilter) *CreateDeploymentGroupInput

SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.

func (*CreateDeploymentGroupInput) SetOnPremisesTagSet Uses

func (s *CreateDeploymentGroupInput) SetOnPremisesTagSet(v *OnPremisesTagSet) *CreateDeploymentGroupInput

SetOnPremisesTagSet sets the OnPremisesTagSet field's value.

func (*CreateDeploymentGroupInput) SetServiceRoleArn Uses

func (s *CreateDeploymentGroupInput) SetServiceRoleArn(v string) *CreateDeploymentGroupInput

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*CreateDeploymentGroupInput) SetTags Uses

func (s *CreateDeploymentGroupInput) SetTags(v []*Tag) *CreateDeploymentGroupInput

SetTags sets the Tags field's value.

func (*CreateDeploymentGroupInput) SetTriggerConfigurations Uses

func (s *CreateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig) *CreateDeploymentGroupInput

SetTriggerConfigurations sets the TriggerConfigurations field's value.

func (CreateDeploymentGroupInput) String Uses

func (s CreateDeploymentGroupInput) String() string

String returns the string representation

func (*CreateDeploymentGroupInput) Validate Uses

func (s *CreateDeploymentGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDeploymentGroupOutput Uses

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) GoString Uses

func (s CreateDeploymentGroupOutput) GoString() string

GoString returns the string representation

func (*CreateDeploymentGroupOutput) SetDeploymentGroupId Uses

func (s *CreateDeploymentGroupOutput) SetDeploymentGroupId(v string) *CreateDeploymentGroupOutput

SetDeploymentGroupId sets the DeploymentGroupId field's value.

func (CreateDeploymentGroupOutput) String Uses

func (s CreateDeploymentGroupOutput) String() string

String returns the string representation

type CreateDeploymentInput Uses

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 *string `locationName:"fileExistsBehavior" type:"string" enum:"FileExistsBehavior"`

    // 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) GoString Uses

func (s CreateDeploymentInput) GoString() string

GoString returns the string representation

func (*CreateDeploymentInput) SetApplicationName Uses

func (s *CreateDeploymentInput) SetApplicationName(v string) *CreateDeploymentInput

SetApplicationName sets the ApplicationName field's value.

func (*CreateDeploymentInput) SetAutoRollbackConfiguration Uses

func (s *CreateDeploymentInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentInput

SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.

func (*CreateDeploymentInput) SetDeploymentConfigName Uses

func (s *CreateDeploymentInput) SetDeploymentConfigName(v string) *CreateDeploymentInput

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*CreateDeploymentInput) SetDeploymentGroupName Uses

func (s *CreateDeploymentInput) SetDeploymentGroupName(v string) *CreateDeploymentInput

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (*CreateDeploymentInput) SetDescription Uses

func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput

SetDescription sets the Description field's value.

func (*CreateDeploymentInput) SetFileExistsBehavior Uses

func (s *CreateDeploymentInput) SetFileExistsBehavior(v string) *CreateDeploymentInput

SetFileExistsBehavior sets the FileExistsBehavior field's value.

func (*CreateDeploymentInput) SetIgnoreApplicationStopFailures Uses

func (s *CreateDeploymentInput) SetIgnoreApplicationStopFailures(v bool) *CreateDeploymentInput

SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value.

func (*CreateDeploymentInput) SetRevision Uses

func (s *CreateDeploymentInput) SetRevision(v *RevisionLocation) *CreateDeploymentInput

SetRevision sets the Revision field's value.

func (*CreateDeploymentInput) SetTargetInstances Uses

func (s *CreateDeploymentInput) SetTargetInstances(v *TargetInstances) *CreateDeploymentInput

SetTargetInstances sets the TargetInstances field's value.

func (*CreateDeploymentInput) SetUpdateOutdatedInstancesOnly Uses

func (s *CreateDeploymentInput) SetUpdateOutdatedInstancesOnly(v bool) *CreateDeploymentInput

SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value.

func (CreateDeploymentInput) String Uses

func (s CreateDeploymentInput) String() string

String returns the string representation

func (*CreateDeploymentInput) Validate Uses

func (s *CreateDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDeploymentOutput Uses

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) GoString Uses

func (s CreateDeploymentOutput) GoString() string

GoString returns the string representation

func (*CreateDeploymentOutput) SetDeploymentId Uses

func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutput

SetDeploymentId sets the DeploymentId field's value.

func (CreateDeploymentOutput) String Uses

func (s CreateDeploymentOutput) String() string

String returns the string representation

type DeleteApplicationInput Uses

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) GoString Uses

func (s DeleteApplicationInput) GoString() string

GoString returns the string representation

func (*DeleteApplicationInput) SetApplicationName Uses

func (s *DeleteApplicationInput) SetApplicationName(v string) *DeleteApplicationInput

SetApplicationName sets the ApplicationName field's value.

func (DeleteApplicationInput) String Uses

func (s DeleteApplicationInput) String() string

String returns the string representation

func (*DeleteApplicationInput) Validate Uses

func (s *DeleteApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteApplicationOutput Uses

type DeleteApplicationOutput struct {
    // contains filtered or unexported fields
}

func (DeleteApplicationOutput) GoString Uses

func (s DeleteApplicationOutput) GoString() string

GoString returns the string representation

func (DeleteApplicationOutput) String Uses

func (s DeleteApplicationOutput) String() string

String returns the string representation

type DeleteDeploymentConfigInput Uses

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) GoString Uses

func (s DeleteDeploymentConfigInput) GoString() string

GoString returns the string representation

func (*DeleteDeploymentConfigInput) SetDeploymentConfigName Uses

func (s *DeleteDeploymentConfigInput) SetDeploymentConfigName(v string) *DeleteDeploymentConfigInput

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (DeleteDeploymentConfigInput) String Uses

func (s DeleteDeploymentConfigInput) String() string

String returns the string representation

func (*DeleteDeploymentConfigInput) Validate Uses

func (s *DeleteDeploymentConfigInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDeploymentConfigOutput Uses

type DeleteDeploymentConfigOutput struct {
    // contains filtered or unexported fields
}

func (DeleteDeploymentConfigOutput) GoString Uses

func (s DeleteDeploymentConfigOutput) GoString() string

GoString returns the string representation

func (DeleteDeploymentConfigOutput) String Uses

func (s DeleteDeploymentConfigOutput) String() string

String returns the string representation

type DeleteDeploymentGroupInput Uses

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) GoString Uses

func (s DeleteDeploymentGroupInput) GoString() string

GoString returns the string representation

func (*DeleteDeploymentGroupInput) SetApplicationName Uses

func (s *DeleteDeploymentGroupInput) SetApplicationName(v string) *DeleteDeploymentGroupInput

SetApplicationName sets the ApplicationName field's value.

func (*DeleteDeploymentGroupInput) SetDeploymentGroupName Uses

func (s *DeleteDeploymentGroupInput) SetDeploymentGroupName(v string) *DeleteDeploymentGroupInput

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (DeleteDeploymentGroupInput) String Uses

func (s DeleteDeploymentGroupInput) String() string

String returns the string representation

func (*DeleteDeploymentGroupInput) Validate Uses

func (s *DeleteDeploymentGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDeploymentGroupOutput Uses

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) GoString Uses

func (s DeleteDeploymentGroupOutput) GoString() string

GoString returns the string representation

func (*DeleteDeploymentGroupOutput) SetHooksNotCleanedUp Uses

func (s *DeleteDeploymentGroupOutput) SetHooksNotCleanedUp(v []*AutoScalingGroup) *DeleteDeploymentGroupOutput

SetHooksNotCleanedUp sets the HooksNotCleanedUp field's value.

func (DeleteDeploymentGroupOutput) String Uses

func (s DeleteDeploymentGroupOutput) String() string

String returns the string representation

type DeleteGitHubAccountTokenInput Uses

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) GoString Uses

func (s DeleteGitHubAccountTokenInput) GoString() string

GoString returns the string representation

func (*DeleteGitHubAccountTokenInput) SetTokenName Uses

func (s *DeleteGitHubAccountTokenInput) SetTokenName(v string) *DeleteGitHubAccountTokenInput

SetTokenName sets the TokenName field's value.

func (DeleteGitHubAccountTokenInput) String Uses

func (s DeleteGitHubAccountTokenInput) String() string

String returns the string representation

type DeleteGitHubAccountTokenOutput Uses

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) GoString Uses

func (s DeleteGitHubAccountTokenOutput) GoString() string

GoString returns the string representation

func (*DeleteGitHubAccountTokenOutput) SetTokenName Uses

func (s *DeleteGitHubAccountTokenOutput) SetTokenName(v string) *DeleteGitHubAccountTokenOutput

SetTokenName sets the TokenName field's value.

func (DeleteGitHubAccountTokenOutput) String Uses

func (s DeleteGitHubAccountTokenOutput) String() string

String returns the string representation

type DeploymentConfigInfo Uses

type DeploymentConfigInfo struct {

    // The destination platform type for the deployment (Lambda, Server, or ECS).
    ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`

    // 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) GoString Uses

func (s DeploymentConfigInfo) GoString() string

GoString returns the string representation

func (*DeploymentConfigInfo) SetComputePlatform Uses

func (s *DeploymentConfigInfo) SetComputePlatform(v string) *DeploymentConfigInfo

SetComputePlatform sets the ComputePlatform field's value.

func (*DeploymentConfigInfo) SetCreateTime Uses

func (s *DeploymentConfigInfo) SetCreateTime(v time.Time) *DeploymentConfigInfo

SetCreateTime sets the CreateTime field's value.

func (*DeploymentConfigInfo) SetDeploymentConfigId Uses

func (s *DeploymentConfigInfo) SetDeploymentConfigId(v string) *DeploymentConfigInfo

SetDeploymentConfigId sets the DeploymentConfigId field's value.

func (*DeploymentConfigInfo) SetDeploymentConfigName Uses

func (s *DeploymentConfigInfo) SetDeploymentConfigName(v string) *DeploymentConfigInfo

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*DeploymentConfigInfo) SetMinimumHealthyHosts Uses

func (s *DeploymentConfigInfo) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *DeploymentConfigInfo

SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value.

func (*DeploymentConfigInfo) SetTrafficRoutingConfig Uses

func (s *DeploymentConfigInfo) SetTrafficRoutingConfig(v *TrafficRoutingConfig) *DeploymentConfigInfo

SetTrafficRoutingConfig sets the TrafficRoutingConfig field's value.

func (DeploymentConfigInfo) String Uses

func (s DeploymentConfigInfo) String() string

String returns the string representation

type DeploymentGroupInfo Uses

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 *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`

    // 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) GoString Uses

func (s DeploymentGroupInfo) GoString() string

GoString returns the string representation

func (*DeploymentGroupInfo) SetAlarmConfiguration Uses

func (s *DeploymentGroupInfo) SetAlarmConfiguration(v *AlarmConfiguration) *DeploymentGroupInfo

SetAlarmConfiguration sets the AlarmConfiguration field's value.

func (*DeploymentGroupInfo) SetApplicationName Uses

func (s *DeploymentGroupInfo) SetApplicationName(v string) *DeploymentGroupInfo

SetApplicationName sets the ApplicationName field's value.

func (*DeploymentGroupInfo) SetAutoRollbackConfiguration Uses

func (s *DeploymentGroupInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentGroupInfo

SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.

func (*DeploymentGroupInfo) SetAutoScalingGroups Uses

func (s *DeploymentGroupInfo) SetAutoScalingGroups(v []*AutoScalingGroup) *DeploymentGroupInfo

SetAutoScalingGroups sets the AutoScalingGroups field's value.

func (*DeploymentGroupInfo) SetBlueGreenDeploymentConfiguration Uses

func (s *DeploymentGroupInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentGroupInfo

SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.

func (*DeploymentGroupInfo) SetComputePlatform Uses

func (s *DeploymentGroupInfo) SetComputePlatform(v string) *DeploymentGroupInfo

SetComputePlatform sets the ComputePlatform field's value.

func (*DeploymentGroupInfo) SetDeploymentConfigName Uses

func (s *DeploymentGroupInfo) SetDeploymentConfigName(v string) *DeploymentGroupInfo

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*DeploymentGroupInfo) SetDeploymentGroupId Uses

func (s *DeploymentGroupInfo) SetDeploymentGroupId(v string) *DeploymentGroupInfo

SetDeploymentGroupId sets the DeploymentGroupId field's value.

func (*DeploymentGroupInfo) SetDeploymentGroupName Uses

func (s *DeploymentGroupInfo) SetDeploymentGroupName(v string) *DeploymentGroupInfo

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (*DeploymentGroupInfo) SetDeploymentStyle Uses

func (s *DeploymentGroupInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentGroupInfo

SetDeploymentStyle sets the DeploymentStyle field's value.

func (*DeploymentGroupInfo) SetEc2TagFilters Uses

func (s *DeploymentGroupInfo) SetEc2TagFilters(v []*EC2TagFilter) *DeploymentGroupInfo

SetEc2TagFilters sets the Ec2TagFilters field's value.

func (*DeploymentGroupInfo) SetEc2TagSet Uses

func (s *DeploymentGroupInfo) SetEc2TagSet(v *EC2TagSet) *DeploymentGroupInfo

SetEc2TagSet sets the Ec2TagSet field's value.

func (*DeploymentGroupInfo) SetEcsServices Uses

func (s *DeploymentGroupInfo) SetEcsServices(v []*ECSService) *DeploymentGroupInfo

SetEcsServices sets the EcsServices field's value.

func (*DeploymentGroupInfo) SetLastAttemptedDeployment Uses

func (s *DeploymentGroupInfo) SetLastAttemptedDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo

SetLastAttemptedDeployment sets the LastAttemptedDeployment field's value.

func (*DeploymentGroupInfo) SetLastSuccessfulDeployment Uses

func (s *DeploymentGroupInfo) SetLastSuccessfulDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo

SetLastSuccessfulDeployment sets the LastSuccessfulDeployment field's value.

func (*DeploymentGroupInfo) SetLoadBalancerInfo Uses

func (s *DeploymentGroupInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentGroupInfo

SetLoadBalancerInfo sets the LoadBalancerInfo field's value.

func (*DeploymentGroupInfo) SetOnPremisesInstanceTagFilters Uses

func (s *DeploymentGroupInfo) SetOnPremisesInstanceTagFilters(v []*TagFilter) *DeploymentGroupInfo

SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.

func (*DeploymentGroupInfo) SetOnPremisesTagSet Uses

func (s *DeploymentGroupInfo) SetOnPremisesTagSet(v *OnPremisesTagSet) *DeploymentGroupInfo

SetOnPremisesTagSet sets the OnPremisesTagSet field's value.

func (*DeploymentGroupInfo) SetServiceRoleArn Uses

func (s *DeploymentGroupInfo) SetServiceRoleArn(v string) *DeploymentGroupInfo

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*DeploymentGroupInfo) SetTargetRevision Uses

func (s *DeploymentGroupInfo) SetTargetRevision(v *RevisionLocation) *DeploymentGroupInfo

SetTargetRevision sets the TargetRevision field's value.

func (*DeploymentGroupInfo) SetTriggerConfigurations Uses

func (s *DeploymentGroupInfo) SetTriggerConfigurations(v []*TriggerConfig) *DeploymentGroupInfo

SetTriggerConfigurations sets the TriggerConfigurations field's value.

func (DeploymentGroupInfo) String Uses

func (s DeploymentGroupInfo) String() string

String returns the string representation

type DeploymentInfo Uses

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 *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`

    // 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 *string `locationName:"creator" type:"string" enum:"DeploymentCreator"`

    // 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 *string `locationName:"fileExistsBehavior" type:"string" enum:"FileExistsBehavior"`

    // 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 *string `locationName:"status" type:"string" enum:"DeploymentStatus"`

    // 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) GoString Uses

func (s DeploymentInfo) GoString() string

GoString returns the string representation

func (*DeploymentInfo) SetAdditionalDeploymentStatusInfo Uses

func (s *DeploymentInfo) SetAdditionalDeploymentStatusInfo(v string) *DeploymentInfo

SetAdditionalDeploymentStatusInfo sets the AdditionalDeploymentStatusInfo field's value.

func (*DeploymentInfo) SetApplicationName Uses

func (s *DeploymentInfo) SetApplicationName(v string) *DeploymentInfo

SetApplicationName sets the ApplicationName field's value.

func (*DeploymentInfo) SetAutoRollbackConfiguration Uses

func (s *DeploymentInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentInfo

SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.

func (*DeploymentInfo) SetBlueGreenDeploymentConfiguration Uses

func (s *DeploymentInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentInfo

SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.

func (*DeploymentInfo) SetCompleteTime Uses

func (s *DeploymentInfo) SetCompleteTime(v time.Time) *DeploymentInfo

SetCompleteTime sets the CompleteTime field's value.

func (*DeploymentInfo) SetComputePlatform Uses

func (s *DeploymentInfo) SetComputePlatform(v string) *DeploymentInfo

SetComputePlatform sets the ComputePlatform field's value.

func (*DeploymentInfo) SetCreateTime Uses

func (s *DeploymentInfo) SetCreateTime(v time.Time) *DeploymentInfo

SetCreateTime sets the CreateTime field's value.

func (*DeploymentInfo) SetCreator Uses

func (s *DeploymentInfo) SetCreator(v string) *DeploymentInfo

SetCreator sets the Creator field's value.

func (*DeploymentInfo) SetDeploymentConfigName Uses

func (s *DeploymentInfo) SetDeploymentConfigName(v string) *DeploymentInfo

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*DeploymentInfo) SetDeploymentGroupName Uses

func (s *DeploymentInfo) SetDeploymentGroupName(v string) *DeploymentInfo

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (*DeploymentInfo) SetDeploymentId Uses

func (s *DeploymentInfo) SetDeploymentId(v string) *DeploymentInfo

SetDeploymentId sets the DeploymentId field's value.

func (*DeploymentInfo) SetDeploymentOverview Uses

func (s *DeploymentInfo) SetDeploymentOverview(v *DeploymentOverview) *DeploymentInfo

SetDeploymentOverview sets the DeploymentOverview field's value.

func (*DeploymentInfo) SetDeploymentStatusMessages Uses

func (s *DeploymentInfo) SetDeploymentStatusMessages(v []*string) *DeploymentInfo

SetDeploymentStatusMessages sets the DeploymentStatusMessages field's value.

func (*DeploymentInfo) SetDeploymentStyle Uses

func (s *DeploymentInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentInfo

SetDeploymentStyle sets the DeploymentStyle field's value.

func (*DeploymentInfo) SetDescription Uses

func (s *DeploymentInfo) SetDescription(v string) *DeploymentInfo

SetDescription sets the Description field's value.

func (*DeploymentInfo) SetErrorInformation Uses

func (s *DeploymentInfo) SetErrorInformation(v *ErrorInformation) *DeploymentInfo

SetErrorInformation sets the ErrorInformation field's value.

func (*DeploymentInfo) SetFileExistsBehavior Uses

func (s *DeploymentInfo) SetFileExistsBehavior(v string) *DeploymentInfo

SetFileExistsBehavior sets the FileExistsBehavior field's value.

func (*DeploymentInfo) SetIgnoreApplicationStopFailures Uses

func (s *DeploymentInfo) SetIgnoreApplicationStopFailures(v bool) *DeploymentInfo

SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value.

func (*DeploymentInfo) SetInstanceTerminationWaitTimeStarted Uses

func (s *DeploymentInfo) SetInstanceTerminationWaitTimeStarted(v bool) *DeploymentInfo

SetInstanceTerminationWaitTimeStarted sets the InstanceTerminationWaitTimeStarted field's value.

func (*DeploymentInfo) SetLoadBalancerInfo Uses

func (s *DeploymentInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentInfo

SetLoadBalancerInfo sets the LoadBalancerInfo field's value.

func (*DeploymentInfo) SetPreviousRevision Uses

func (s *DeploymentInfo) SetPreviousRevision(v *RevisionLocation) *DeploymentInfo

SetPreviousRevision sets the PreviousRevision field's value.

func (*DeploymentInfo) SetRevision Uses

func (s *DeploymentInfo) SetRevision(v *RevisionLocation) *DeploymentInfo

SetRevision sets the Revision field's value.

func (*DeploymentInfo) SetRollbackInfo Uses

func (s *DeploymentInfo) SetRollbackInfo(v *RollbackInfo) *DeploymentInfo

SetRollbackInfo sets the RollbackInfo field's value.

func (*DeploymentInfo) SetStartTime Uses

func (s *DeploymentInfo) SetStartTime(v time.Time) *DeploymentInfo

SetStartTime sets the StartTime field's value.

func (*DeploymentInfo) SetStatus Uses

func (s *DeploymentInfo) SetStatus(v string) *DeploymentInfo

SetStatus sets the Status field's value.

func (*DeploymentInfo) SetTargetInstances Uses

func (s *DeploymentInfo) SetTargetInstances(v *TargetInstances) *DeploymentInfo

SetTargetInstances sets the TargetInstances field's value.

func (*DeploymentInfo) SetUpdateOutdatedInstancesOnly Uses

func (s *DeploymentInfo) SetUpdateOutdatedInstancesOnly(v bool) *DeploymentInfo

SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value.

func (DeploymentInfo) String Uses

func (s DeploymentInfo) String() string

String returns the string representation

type DeploymentOverview Uses

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) GoString Uses

func (s DeploymentOverview) GoString() string

GoString returns the string representation

func (*DeploymentOverview) SetFailed Uses

func (s *DeploymentOverview) SetFailed(v int64) *DeploymentOverview

SetFailed sets the Failed field's value.

func (*DeploymentOverview) SetInProgress Uses

func (s *DeploymentOverview) SetInProgress(v int64) *DeploymentOverview

SetInProgress sets the InProgress field's value.

func (*DeploymentOverview) SetPending Uses

func (s *DeploymentOverview) SetPending(v int64) *DeploymentOverview

SetPending sets the Pending field's value.

func (*DeploymentOverview) SetReady Uses

func (s *DeploymentOverview) SetReady(v int64) *DeploymentOverview

SetReady sets the Ready field's value.

func (*DeploymentOverview) SetSkipped Uses

func (s *DeploymentOverview) SetSkipped(v int64) *DeploymentOverview

SetSkipped sets the Skipped field's value.

func (*DeploymentOverview) SetSucceeded Uses

func (s *DeploymentOverview) SetSucceeded(v int64) *DeploymentOverview

SetSucceeded sets the Succeeded field's value.

func (DeploymentOverview) String Uses

func (s DeploymentOverview) String() string

String returns the string representation

type DeploymentReadyOption Uses

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 *string `locationName:"actionOnTimeout" type:"string" enum:"DeploymentReadyAction"`

    // 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) GoString Uses

func (s DeploymentReadyOption) GoString() string

GoString returns the string representation

func (*DeploymentReadyOption) SetActionOnTimeout Uses

func (s *DeploymentReadyOption) SetActionOnTimeout(v string) *DeploymentReadyOption

SetActionOnTimeout sets the ActionOnTimeout field's value.

func (*DeploymentReadyOption) SetWaitTimeInMinutes Uses

func (s *DeploymentReadyOption) SetWaitTimeInMinutes(v int64) *DeploymentReadyOption

SetWaitTimeInMinutes sets the WaitTimeInMinutes field's value.

func (DeploymentReadyOption) String Uses

func (s DeploymentReadyOption) String() string

String returns the string representation

type DeploymentStyle Uses

type DeploymentStyle struct {

    // Indicates whether to route deployment traffic behind a load balancer.
    DeploymentOption *string `locationName:"deploymentOption" type:"string" enum:"DeploymentOption"`

    // Indicates whether to run an in-place deployment or a blue/green deployment.
    DeploymentType *string `locationName:"deploymentType" type:"string" enum:"DeploymentType"`
    // 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) GoString Uses

func (s DeploymentStyle) GoString() string

GoString returns the string representation

func (*DeploymentStyle) SetDeploymentOption Uses

func (s *DeploymentStyle) SetDeploymentOption(v string) *DeploymentStyle

SetDeploymentOption sets the DeploymentOption field's value.

func (*DeploymentStyle) SetDeploymentType Uses

func (s *DeploymentStyle) SetDeploymentType(v string) *DeploymentStyle

SetDeploymentType sets the DeploymentType field's value.

func (DeploymentStyle) String Uses

func (s DeploymentStyle) String() string

String returns the string representation

type DeploymentTarget Uses

type DeploymentTarget struct {

    // The deployment type that is specific to the deployment's compute platform.
    DeploymentTargetType *string `locationName:"deploymentTargetType" type:"string" enum:"DeploymentTargetType"`

    // 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) GoString Uses

func (s DeploymentTarget) GoString() string

GoString returns the string representation

func (*DeploymentTarget) SetDeploymentTargetType Uses

func (s *DeploymentTarget) SetDeploymentTargetType(v string) *DeploymentTarget

SetDeploymentTargetType sets the DeploymentTargetType field's value.

func (*DeploymentTarget) SetEcsTarget Uses

func (s *DeploymentTarget) SetEcsTarget(v *ECSTarget) *DeploymentTarget

SetEcsTarget sets the EcsTarget field's value.

func (*DeploymentTarget) SetInstanceTarget Uses

func (s *DeploymentTarget) SetInstanceTarget(v *InstanceTarget) *DeploymentTarget

SetInstanceTarget sets the InstanceTarget field's value.

func (*DeploymentTarget) SetLambdaTarget Uses

func (s *DeploymentTarget) SetLambdaTarget(v *LambdaTarget) *DeploymentTarget

SetLambdaTarget sets the LambdaTarget field's value.

func (DeploymentTarget) String Uses

func (s DeploymentTarget) String() string

String returns the string representation

type DeregisterOnPremisesInstanceInput Uses

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) GoString Uses

func (s DeregisterOnPremisesInstanceInput) GoString() string

GoString returns the string representation

func (*DeregisterOnPremisesInstanceInput) SetInstanceName Uses

func (s *DeregisterOnPremisesInstanceInput) SetInstanceName(v string) *DeregisterOnPremisesInstanceInput

SetInstanceName sets the InstanceName field's value.

func (DeregisterOnPremisesInstanceInput) String Uses

func (s DeregisterOnPremisesInstanceInput) String() string

String returns the string representation

func (*DeregisterOnPremisesInstanceInput) Validate Uses

func (s *DeregisterOnPremisesInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterOnPremisesInstanceOutput Uses

type DeregisterOnPremisesInstanceOutput struct {
    // contains filtered or unexported fields
}

func (DeregisterOnPremisesInstanceOutput) GoString Uses

func (s DeregisterOnPremisesInstanceOutput) GoString() string

GoString returns the string representation

func (DeregisterOnPremisesInstanceOutput) String Uses

func (s DeregisterOnPremisesInstanceOutput) String() string

String returns the string representation

type Diagnostics Uses

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 *string `locationName:"errorCode" type:"string" enum:"LifecycleErrorCode"`

    // 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) GoString Uses

func (s Diagnostics) GoString() string

GoString returns the string representation

func (*Diagnostics) SetErrorCode Uses

func (s *Diagnostics) SetErrorCode(v string) *Diagnostics

SetErrorCode sets the ErrorCode field's value.

func (*Diagnostics) SetLogTail Uses

func (s *Diagnostics) SetLogTail(v string) *Diagnostics

SetLogTail sets the LogTail field's value.

func (*Diagnostics) SetMessage Uses

func (s *Diagnostics) SetMessage(v string) *Diagnostics

SetMessage sets the Message field's value.

func (*Diagnostics) SetScriptName Uses

func (s *Diagnostics) SetScriptName(v string) *Diagnostics

SetScriptName sets the ScriptName field's value.

func (Diagnostics) String Uses

func (s Diagnostics) String() string

String returns the string representation

type EC2TagFilter Uses

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 *string `type:"string" enum:"EC2TagFilterType"`

    // The tag filter value.
    Value *string `type:"string"`
    // contains filtered or unexported fields
}

Information about an EC2 tag filter.

func (EC2TagFilter) GoString Uses

func (s EC2TagFilter) GoString() string

GoString returns the string representation

func (*EC2TagFilter) SetKey Uses

func (s *EC2TagFilter) SetKey(v string) *EC2TagFilter

SetKey sets the Key field's value.

func (*EC2TagFilter) SetType Uses

func (s *EC2TagFilter) SetType(v string) *EC2TagFilter

SetType sets the Type field's value.

func (*EC2TagFilter) SetValue Uses

func (s *EC2TagFilter) SetValue(v string) *EC2TagFilter

SetValue sets the Value field's value.

func (EC2TagFilter) String Uses

func (s EC2TagFilter) String() string

String returns the string representation

type EC2TagSet Uses

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.

func (EC2TagSet) GoString Uses

func (s EC2TagSet) GoString() string

GoString returns the string representation

func (*EC2TagSet) SetEc2TagSetList Uses

func (s *EC2TagSet) SetEc2TagSetList(v [][]*EC2TagFilter) *EC2TagSet

SetEc2TagSetList sets the Ec2TagSetList field's value.

func (EC2TagSet) String Uses

func (s EC2TagSet) String() string

String returns the string representation

type ECSService Uses

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) GoString Uses

func (s ECSService) GoString() string

GoString returns the string representation

func (*ECSService) SetClusterName Uses

func (s *ECSService) SetClusterName(v string) *ECSService

SetClusterName sets the ClusterName field's value.

func (*ECSService) SetServiceName Uses

func (s *ECSService) SetServiceName(v string) *ECSService

SetServiceName sets the ServiceName field's value.

func (ECSService) String Uses

func (s ECSService) String() string

String returns the string representation

type ECSTarget Uses

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 *string `locationName:"status" type:"string" enum:"TargetStatus"`

    // 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.

func (ECSTarget) GoString Uses

func (s ECSTarget) GoString() string

GoString returns the string representation

func (*ECSTarget) SetDeploymentId Uses

func (s *ECSTarget) SetDeploymentId(v string) *ECSTarget

SetDeploymentId sets the DeploymentId field's value.

func (*ECSTarget) SetLastUpdatedAt Uses

func (s *ECSTarget) SetLastUpdatedAt(v time.Time) *ECSTarget

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*ECSTarget) SetLifecycleEvents Uses

func (s *ECSTarget) SetLifecycleEvents(v []*LifecycleEvent) *ECSTarget

SetLifecycleEvents sets the LifecycleEvents field's value.

func (*ECSTarget) SetStatus Uses

func (s *ECSTarget) SetStatus(v string) *ECSTarget

SetStatus sets the Status field's value.

func (*ECSTarget) SetTargetArn Uses

func (s *ECSTarget) SetTargetArn(v string) *ECSTarget

SetTargetArn sets the TargetArn field's value.

func (*ECSTarget) SetTargetId Uses

func (s *ECSTarget) SetTargetId(v string) *ECSTarget

SetTargetId sets the TargetId field's value.

func (*ECSTarget) SetTaskSetsInfo Uses

func (s *ECSTarget) SetTaskSetsInfo(v []*ECSTaskSet) *ECSTarget

SetTaskSetsInfo sets the TaskSetsInfo field's value.

func (ECSTarget) String Uses

func (s ECSTarget) String() string

String returns the string representation

type ECSTaskSet Uses

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 *string `locationName:"taskSetLabel" type:"string" enum:"TargetLabel"`

    // 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) GoString Uses

func (s ECSTaskSet) GoString() string

GoString returns the string representation

func (*ECSTaskSet) SetDesiredCount Uses

func (s *ECSTaskSet) SetDesiredCount(v int64) *ECSTaskSet

SetDesiredCount sets the DesiredCount field's value.

func (*ECSTaskSet) SetIdentifer Uses

func (s *ECSTaskSet) SetIdentifer(v string) *ECSTaskSet

SetIdentifer sets the Identifer field's value.

func (*ECSTaskSet) SetPendingCount Uses

func (s *ECSTaskSet) SetPendingCount(v int64) *ECSTaskSet

SetPendingCount sets the PendingCount field's value.

func (*ECSTaskSet) SetRunningCount Uses

func (s *ECSTaskSet) SetRunningCount(v int64) *ECSTaskSet

SetRunningCount sets the RunningCount field's value.

func (*ECSTaskSet) SetStatus Uses

func (s *ECSTaskSet) SetStatus(v string) *ECSTaskSet

SetStatus sets the Status field's value.

func (*ECSTaskSet) SetTargetGroup Uses

func (s *ECSTaskSet) SetTargetGroup(v *TargetGroupInfo) *ECSTaskSet

SetTargetGroup sets the TargetGroup field's value.

func (*ECSTaskSet) SetTaskSetLabel Uses

func (s *ECSTaskSet) SetTaskSetLabel(v string) *ECSTaskSet

SetTaskSetLabel sets the TaskSetLabel field's value.

func (*ECSTaskSet) SetTrafficWeight Uses

func (s *ECSTaskSet) SetTrafficWeight(v float64) *ECSTaskSet

SetTrafficWeight sets the TrafficWeight field's value.

func (ECSTaskSet) String Uses

func (s ECSTaskSet) String() string

String returns the string representation

type ELBInfo Uses

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.

func (ELBInfo) GoString Uses

func (s ELBInfo) GoString() string

GoString returns the string representation

func (*ELBInfo) SetName Uses

func (s *ELBInfo) SetName(v string) *ELBInfo

SetName sets the Name field's value.

func (ELBInfo) String Uses

func (s ELBInfo) String() string

String returns the string representation

type ErrorInformation Uses

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 *string `locationName:"code" type:"string" enum:"ErrorCode"`

    // An accompanying error message.
    Message *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

Information about a deployment error.

func (ErrorInformation) GoString Uses

func (s ErrorInformation) GoString() string

GoString returns the string representation

func (*ErrorInformation) SetCode Uses

func (s *ErrorInformation) SetCode(v string) *ErrorInformation

SetCode sets the Code field's value.

func (*ErrorInformation) SetMessage Uses

func (s *ErrorInformation) SetMessage(v string) *ErrorInformation

SetMessage sets the Message field's value.

func (ErrorInformation) String Uses

func (s ErrorInformation) String() string

String returns the string representation

type GenericRevisionInfo Uses

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) GoString Uses

func (s GenericRevisionInfo) GoString() string

GoString returns the string representation

func (*GenericRevisionInfo) SetDeploymentGroups Uses

func (s *GenericRevisionInfo) SetDeploymentGroups(v []*string) *GenericRevisionInfo

SetDeploymentGroups sets the DeploymentGroups field's value.

func (*GenericRevisionInfo) SetDescription Uses

func (s *GenericRevisionInfo) SetDescription(v string) *GenericRevisionInfo

SetDescription sets the Description field's value.

func (*GenericRevisionInfo) SetFirstUsedTime Uses

func (s *GenericRevisionInfo) SetFirstUsedTime(v time.Time) *GenericRevisionInfo

SetFirstUsedTime sets the FirstUsedTime field's value.

func (*GenericRevisionInfo) SetLastUsedTime Uses

func (s *GenericRevisionInfo) SetLastUsedTime(v time.Time) *GenericRevisionInfo

SetLastUsedTime sets the LastUsedTime field's value.

func (*GenericRevisionInfo) SetRegisterTime Uses

func (s *GenericRevisionInfo) SetRegisterTime(v time.Time) *GenericRevisionInfo

SetRegisterTime sets the RegisterTime field's value.

func (GenericRevisionInfo) String Uses

func (s GenericRevisionInfo) String() string

String returns the string representation

type GetApplicationInput Uses

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) GoString Uses

func (s GetApplicationInput) GoString() string

GoString returns the string representation

func (*GetApplicationInput) SetApplicationName Uses

func (s *GetApplicationInput) SetApplicationName(v string) *GetApplicationInput

SetApplicationName sets the ApplicationName field's value.

func (GetApplicationInput) String Uses

func (s GetApplicationInput) String() string

String returns the string representation

func (*GetApplicationInput) Validate Uses

func (s *GetApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApplicationOutput Uses

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) GoString Uses

func (s GetApplicationOutput) GoString() string

GoString returns the string representation

func (*GetApplicationOutput) SetApplication Uses

func (s *GetApplicationOutput) SetApplication(v *ApplicationInfo) *GetApplicationOutput

SetApplication sets the Application field's value.

func (GetApplicationOutput) String Uses

func (s GetApplicationOutput) String() string

String returns the string representation

type GetApplicationRevisionInput Uses

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) GoString Uses

func (s GetApplicationRevisionInput) GoString() string

GoString returns the string representation

func (*GetApplicationRevisionInput) SetApplicationName Uses