codedeploy

package
v1.10.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances or on-premises instances running in your own facility.

You can deploy a nearly unlimited variety of application content, such as 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. A deployment group contains individually tagged instances, Amazon EC2 instances in Auto Scaling groups, or both.

  • Deployment configuration: A set of deployment rules and deployment success and failure conditions used by AWS CodeDeploy during a deployment.

  • Deployment: The process, and the components involved in the process, of installing content on one or more instances.

  • Application revisions: An archive file containing source content—source code, web pages, executable files, and deployment scripts—along with an application specification file (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 and to make on-premises instances available for AWS CodeDeploy deployments.

AWS CodeDeploy Information Resources

See https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06 for more information on this service.

See codedeploy package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codedeploy/

Using the Client

To use the client for AWS CodeDeploy you will first need to create a new instance of it.

When creating a client for an AWS service you'll first need to have a Session already created. The Session provides configuration that can be shared between multiple service clients. Additional configuration can be applied to the Session and service's client when they are constructed. The aws package's Config type contains several fields such as Region for the AWS Region the client should make API requests too. The optional Config value can be provided as the variadic argument for Sessions and client creation.

Once the service's client is created you can use it to make API requests the AWS service. These clients are safe to use concurrently.

// Create a session to share configuration, and load external configuration.
sess := session.Must(session.NewSession())

// Create the service's client with the session.
svc := codedeploy.New(sess)

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

See aws package's Config type for more information on configuration options. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

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

Once the client is created you can make an API request to the service. Each API method takes a input parameter, and returns the service response and an error.

The API method will document which error codes the service can be returned by the operation if the service models the API operation's errors. These errors will also be available as const strings prefixed with "ErrCode".

result, err := svc.AddTagsToOnPremisesInstances(params)
if err != nil {
    // Cast err to awserr.Error to handle specific error codes.
    aerr, ok := err.(awserr.Error)
    if ok && aerr.Code() == <error code to check for> {
        // Specific error code handling
    }
    return err
}

fmt.Println("AddTagsToOnPremisesInstances result:")
fmt.Println(result)

Using the Client with Context

The service's client also provides methods to make API requests with a Context value. This allows you to control the timeout, and cancellation of pending requests. These methods also take request Option as variadic parameter to apply additional configuration to the API request.

ctx := context.Background()

result, err := svc.AddTagsToOnPremisesInstancesWithContext(ctx, params)

See the request package documentation for more information on using Context pattern with the SDK. https://docs.aws.amazon.com/sdk-for-go/api/aws/request/

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	// DeploymentOptionWithTrafficControl is a DeploymentOption enum value
	DeploymentOptionWithTrafficControl = "WITH_TRAFFIC_CONTROL"

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

	// DeploymentReadyActionStopDeployment is a DeploymentReadyAction enum value
	DeploymentReadyActionStopDeployment = "STOP_DEPLOYMENT"
)
View Source
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"
)
View Source
const (
	// DeploymentTypeInPlace is a DeploymentType enum value
	DeploymentTypeInPlace = "IN_PLACE"

	// DeploymentTypeBlueGreen is a DeploymentType enum value
	DeploymentTypeBlueGreen = "BLUE_GREEN"
)
View Source
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"
)
View Source
const (
	// ErrorCodeDeploymentGroupMissing is a ErrorCode enum value
	ErrorCodeDeploymentGroupMissing = "DEPLOYMENT_GROUP_MISSING"

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

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

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

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

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

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

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

	// ErrorCodeTimeout is a ErrorCode enum value
	ErrorCodeTimeout = "TIMEOUT"

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

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

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

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

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

	// ErrorCodeAgentIssue is a ErrorCode enum value
	ErrorCodeAgentIssue = "AGENT_ISSUE"

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

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

	// ErrorCodeManualStop is a ErrorCode enum value
	ErrorCodeManualStop = "MANUAL_STOP"
)
View Source
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"
)
View Source
const (
	// GreenFleetProvisioningActionDiscoverExisting is a GreenFleetProvisioningAction enum value
	GreenFleetProvisioningActionDiscoverExisting = "DISCOVER_EXISTING"

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

	// InstanceActionKeepAlive is a InstanceAction enum value
	InstanceActionKeepAlive = "KEEP_ALIVE"
)
View Source
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"
)
View Source
const (
	// InstanceTypeBlue is a InstanceType enum value
	InstanceTypeBlue = "Blue"

	// InstanceTypeGreen is a InstanceType enum value
	InstanceTypeGreen = "Green"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	// MinimumHealthyHostsTypeHostCount is a MinimumHealthyHostsType enum value
	MinimumHealthyHostsTypeHostCount = "HOST_COUNT"

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

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

	// RevisionLocationTypeGitHub is a RevisionLocationType enum value
	RevisionLocationTypeGitHub = "GitHub"
)
View Source
const (
	// SortOrderAscending is a SortOrder enum value
	SortOrderAscending = "ascending"

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

	// StopStatusSucceeded is a StopStatus enum value
	StopStatusSucceeded = "Succeeded"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// ErrCodeAlarmsLimitExceededException for service response error code
	// "AlarmsLimitExceededException".
	//
	// The maximum number of alarms for a deployment group (10) was exceeded.
	ErrCodeAlarmsLimitExceededException = "AlarmsLimitExceededException"

	// ErrCodeApplicationAlreadyExistsException for service response error code
	// "ApplicationAlreadyExistsException".
	//
	// An application with the specified name already exists with the applicable
	// IAM user or AWS account.
	ErrCodeApplicationAlreadyExistsException = "ApplicationAlreadyExistsException"

	// ErrCodeApplicationDoesNotExistException for service response error code
	// "ApplicationDoesNotExistException".
	//
	// The application does not exist with the applicable IAM user or AWS account.
	ErrCodeApplicationDoesNotExistException = "ApplicationDoesNotExistException"

	// ErrCodeApplicationLimitExceededException for service response error code
	// "ApplicationLimitExceededException".
	//
	// More applications were attempted to be created than are allowed.
	ErrCodeApplicationLimitExceededException = "ApplicationLimitExceededException"

	// ErrCodeApplicationNameRequiredException for service response error code
	// "ApplicationNameRequiredException".
	//
	// The minimum number of required application names was not specified.
	ErrCodeApplicationNameRequiredException = "ApplicationNameRequiredException"

	// ErrCodeBatchLimitExceededException for service response error code
	// "BatchLimitExceededException".
	//
	// The maximum number of names or IDs allowed for this request (100) was exceeded.
	ErrCodeBatchLimitExceededException = "BatchLimitExceededException"

	// ErrCodeBucketNameFilterRequiredException for service response error code
	// "BucketNameFilterRequiredException".
	//
	// A bucket name is required, but was not provided.
	ErrCodeBucketNameFilterRequiredException = "BucketNameFilterRequiredException"

	// ErrCodeDeploymentAlreadyCompletedException for service response error code
	// "DeploymentAlreadyCompletedException".
	//
	// The deployment is already complete.
	ErrCodeDeploymentAlreadyCompletedException = "DeploymentAlreadyCompletedException"

	// ErrCodeDeploymentConfigAlreadyExistsException for service response error code
	// "DeploymentConfigAlreadyExistsException".
	//
	// A deployment configuration with the specified name already exists with the
	// applicable IAM user or AWS account.
	ErrCodeDeploymentConfigAlreadyExistsException = "DeploymentConfigAlreadyExistsException"

	// ErrCodeDeploymentConfigDoesNotExistException for service response error code
	// "DeploymentConfigDoesNotExistException".
	//
	// The deployment configuration does not exist with the applicable IAM user
	// or AWS account.
	ErrCodeDeploymentConfigDoesNotExistException = "DeploymentConfigDoesNotExistException"

	// ErrCodeDeploymentConfigInUseException for service response error code
	// "DeploymentConfigInUseException".
	//
	// The deployment configuration is still in use.
	ErrCodeDeploymentConfigInUseException = "DeploymentConfigInUseException"

	// ErrCodeDeploymentConfigLimitExceededException for service response error code
	// "DeploymentConfigLimitExceededException".
	//
	// The deployment configurations limit was exceeded.
	ErrCodeDeploymentConfigLimitExceededException = "DeploymentConfigLimitExceededException"

	// ErrCodeDeploymentConfigNameRequiredException for service response error code
	// "DeploymentConfigNameRequiredException".
	//
	// The deployment configuration name was not specified.
	ErrCodeDeploymentConfigNameRequiredException = "DeploymentConfigNameRequiredException"

	// ErrCodeDeploymentDoesNotExistException for service response error code
	// "DeploymentDoesNotExistException".
	//
	// The deployment does not exist with the applicable IAM user or AWS account.
	ErrCodeDeploymentDoesNotExistException = "DeploymentDoesNotExistException"

	// ErrCodeDeploymentGroupAlreadyExistsException for service response error code
	// "DeploymentGroupAlreadyExistsException".
	//
	// A deployment group with the specified name already exists with the applicable
	// IAM user or AWS account.
	ErrCodeDeploymentGroupAlreadyExistsException = "DeploymentGroupAlreadyExistsException"

	// ErrCodeDeploymentGroupDoesNotExistException for service response error code
	// "DeploymentGroupDoesNotExistException".
	//
	// The named deployment group does not exist with the applicable IAM user or
	// AWS account.
	ErrCodeDeploymentGroupDoesNotExistException = "DeploymentGroupDoesNotExistException"

	// ErrCodeDeploymentGroupLimitExceededException for service response error code
	// "DeploymentGroupLimitExceededException".
	//
	// The deployment groups limit was exceeded.
	ErrCodeDeploymentGroupLimitExceededException = "DeploymentGroupLimitExceededException"

	// ErrCodeDeploymentGroupNameRequiredException for service response error code
	// "DeploymentGroupNameRequiredException".
	//
	// The deployment group name was not specified.
	ErrCodeDeploymentGroupNameRequiredException = "DeploymentGroupNameRequiredException"

	// ErrCodeDeploymentIdRequiredException for service response error code
	// "DeploymentIdRequiredException".
	//
	// At least one deployment ID must be specified.
	ErrCodeDeploymentIdRequiredException = "DeploymentIdRequiredException"

	// ErrCodeDeploymentIsNotInReadyStateException for service response error code
	// "DeploymentIsNotInReadyStateException".
	//
	// The deployment does not have a status of Ready and can't continue yet.
	ErrCodeDeploymentIsNotInReadyStateException = "DeploymentIsNotInReadyStateException"

	// ErrCodeDeploymentLimitExceededException for service response error code
	// "DeploymentLimitExceededException".
	//
	// The number of allowed deployments was exceeded.
	ErrCodeDeploymentLimitExceededException = "DeploymentLimitExceededException"

	// ErrCodeDeploymentNotStartedException for service response error code
	// "DeploymentNotStartedException".
	//
	// The specified deployment has not started.
	ErrCodeDeploymentNotStartedException = "DeploymentNotStartedException"

	// ErrCodeDescriptionTooLongException for service response error code
	// "DescriptionTooLongException".
	//
	// The description is too long.
	ErrCodeDescriptionTooLongException = "DescriptionTooLongException"

	// ErrCodeIamArnRequiredException for service response error code
	// "IamArnRequiredException".
	//
	// No IAM ARN was included in the request. You must use an IAM session ARN or
	// IAM user ARN in the request.
	ErrCodeIamArnRequiredException = "IamArnRequiredException"

	// ErrCodeIamSessionArnAlreadyRegisteredException for service response error code
	// "IamSessionArnAlreadyRegisteredException".
	//
	// The request included an IAM session ARN that has already been used to register
	// a different instance.
	ErrCodeIamSessionArnAlreadyRegisteredException = "IamSessionArnAlreadyRegisteredException"

	// ErrCodeIamUserArnAlreadyRegisteredException for service response error code
	// "IamUserArnAlreadyRegisteredException".
	//
	// The specified IAM user ARN is already registered with an on-premises instance.
	ErrCodeIamUserArnAlreadyRegisteredException = "IamUserArnAlreadyRegisteredException"

	// ErrCodeIamUserArnRequiredException for service response error code
	// "IamUserArnRequiredException".
	//
	// An IAM user ARN was not specified.
	ErrCodeIamUserArnRequiredException = "IamUserArnRequiredException"

	// ErrCodeInstanceDoesNotExistException for service response error code
	// "InstanceDoesNotExistException".
	//
	// The specified instance does not exist in the deployment group.
	ErrCodeInstanceDoesNotExistException = "InstanceDoesNotExistException"

	// ErrCodeInstanceIdRequiredException for service response error code
	// "InstanceIdRequiredException".
	//
	// The instance ID was not specified.
	ErrCodeInstanceIdRequiredException = "InstanceIdRequiredException"

	// ErrCodeInstanceLimitExceededException for service response error code
	// "InstanceLimitExceededException".
	//
	// The maximum number of allowed on-premises instances in a single call was
	// exceeded.
	ErrCodeInstanceLimitExceededException = "InstanceLimitExceededException"

	// ErrCodeInstanceNameAlreadyRegisteredException for service response error code
	// "InstanceNameAlreadyRegisteredException".
	//
	// The specified on-premises instance name is already registered.
	ErrCodeInstanceNameAlreadyRegisteredException = "InstanceNameAlreadyRegisteredException"

	// ErrCodeInstanceNameRequiredException for service response error code
	// "InstanceNameRequiredException".
	//
	// An on-premises instance name was not specified.
	ErrCodeInstanceNameRequiredException = "InstanceNameRequiredException"

	// ErrCodeInstanceNotRegisteredException for service response error code
	// "InstanceNotRegisteredException".
	//
	// The specified on-premises instance is not registered.
	ErrCodeInstanceNotRegisteredException = "InstanceNotRegisteredException"

	// ErrCodeInvalidAlarmConfigException for service response error code
	// "InvalidAlarmConfigException".
	//
	// The format of the alarm configuration is invalid. Possible causes include:
	//
	//    * The alarm list is null.
	//
	//    * The alarm object is null.
	//
	//    * The alarm name is empty or null or exceeds the 255 character limit.
	//
	//    * Two alarms with the same name have been specified.
	//
	//    * The alarm configuration is enabled but the alarm list is empty.
	ErrCodeInvalidAlarmConfigException = "InvalidAlarmConfigException"

	// ErrCodeInvalidApplicationNameException for service response error code
	// "InvalidApplicationNameException".
	//
	// The application name was specified in an invalid format.
	ErrCodeInvalidApplicationNameException = "InvalidApplicationNameException"

	// ErrCodeInvalidAutoRollbackConfigException for service response error code
	// "InvalidAutoRollbackConfigException".
	//
	// The automatic rollback configuration was specified in an invalid format.
	// For example, automatic rollback is enabled but an invalid triggering event
	// type or no event types were listed.
	ErrCodeInvalidAutoRollbackConfigException = "InvalidAutoRollbackConfigException"

	// ErrCodeInvalidAutoScalingGroupException for service response error code
	// "InvalidAutoScalingGroupException".
	//
	// The Auto Scaling group was specified in an invalid format or does not exist.
	ErrCodeInvalidAutoScalingGroupException = "InvalidAutoScalingGroupException"

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

	// ErrCodeInvalidBucketNameFilterException for service response error code
	// "InvalidBucketNameFilterException".
	//
	// The bucket name either doesn't exist or was specified in an invalid format.
	ErrCodeInvalidBucketNameFilterException = "InvalidBucketNameFilterException"

	// 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"

	// ErrCodeInvalidEC2TagException for service response error code
	// "InvalidEC2TagException".
	//
	// The tag was specified in an invalid format.
	ErrCodeInvalidEC2TagException = "InvalidEC2TagException"

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

	// 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"

	// ErrCodeInvalidInstanceNameException for service response error code
	// "InvalidInstanceNameException".
	//
	// The specified on-premises instance name was specified in an invalid format.
	ErrCodeInvalidInstanceNameException = "InvalidInstanceNameException"

	// ErrCodeInvalidInstanceStatusException for service response error code
	// "InvalidInstanceStatusException".
	//
	// The specified instance status does not exist.
	ErrCodeInvalidInstanceStatusException = "InvalidInstanceStatusException"

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

	// ErrCodeInvalidKeyPrefixFilterException for service response error code
	// "InvalidKeyPrefixFilterException".
	//
	// The specified key prefix filter was specified in an invalid format.
	ErrCodeInvalidKeyPrefixFilterException = "InvalidKeyPrefixFilterException"

	// 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"

	// ErrCodeInvalidOperationException for service response error code
	// "InvalidOperationException".
	//
	// An invalid operation was detected.
	ErrCodeInvalidOperationException = "InvalidOperationException"

	// ErrCodeInvalidRegistrationStatusException for service response error code
	// "InvalidRegistrationStatusException".
	//
	// The registration status was specified in an invalid format.
	ErrCodeInvalidRegistrationStatusException = "InvalidRegistrationStatusException"

	// ErrCodeInvalidRevisionException for service response error code
	// "InvalidRevisionException".
	//
	// The revision was specified in an invalid format.
	ErrCodeInvalidRevisionException = "InvalidRevisionException"

	// ErrCodeInvalidRoleException for service response error code
	// "InvalidRoleException".
	//
	// The service role ARN was specified in an invalid format. Or, if an Auto Scaling
	// group was specified, the specified service role does not grant the appropriate
	// permissions to Auto Scaling.
	ErrCodeInvalidRoleException = "InvalidRoleException"

	// ErrCodeInvalidSortByException for service response error code
	// "InvalidSortByException".
	//
	// The column name to sort by is either not present or was specified in an invalid
	// format.
	ErrCodeInvalidSortByException = "InvalidSortByException"

	// ErrCodeInvalidSortOrderException for service response error code
	// "InvalidSortOrderException".
	//
	// The sort order was specified in an invalid format.
	ErrCodeInvalidSortOrderException = "InvalidSortOrderException"

	// ErrCodeInvalidTagException for service response error code
	// "InvalidTagException".
	//
	// The specified tag was specified in an invalid format.
	ErrCodeInvalidTagException = "InvalidTagException"

	// ErrCodeInvalidTagFilterException for service response error code
	// "InvalidTagFilterException".
	//
	// The specified tag filter was specified in an invalid format.
	ErrCodeInvalidTagFilterException = "InvalidTagFilterException"

	// ErrCodeInvalidTargetInstancesException for service response error code
	// "InvalidTargetInstancesException".
	//
	// The target instance configuration is invalid. Possible causes include:
	//
	//    * Configuration data for target instances was entered for an in-place
	//    deployment.
	//
	//    * The limit of 10 tags for a tag type was exceeded.
	//
	//    * The combined length of the tag names exceeded the limit.
	//
	//    * A specified tag is not currently applied to any instances.
	ErrCodeInvalidTargetInstancesException = "InvalidTargetInstancesException"

	// ErrCodeInvalidTimeRangeException for service response error code
	// "InvalidTimeRangeException".
	//
	// The specified time range was specified in an invalid format.
	ErrCodeInvalidTimeRangeException = "InvalidTimeRangeException"

	// ErrCodeInvalidTriggerConfigException for service response error code
	// "InvalidTriggerConfigException".
	//
	// The trigger was specified in an invalid format.
	ErrCodeInvalidTriggerConfigException = "InvalidTriggerConfigException"

	// 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"

	// ErrCodeResourceValidationException for service response error code
	// "ResourceValidationException".
	//
	// The specified resource could not be validated.
	ErrCodeResourceValidationException = "ResourceValidationException"

	// ErrCodeRevisionDoesNotExistException for service response error code
	// "RevisionDoesNotExistException".
	//
	// The named revision does not exist with the applicable IAM user or AWS account.
	ErrCodeRevisionDoesNotExistException = "RevisionDoesNotExistException"

	// ErrCodeRevisionRequiredException for service response error code
	// "RevisionRequiredException".
	//
	// The revision ID was not specified.
	ErrCodeRevisionRequiredException = "RevisionRequiredException"

	// ErrCodeRoleRequiredException for service response error code
	// "RoleRequiredException".
	//
	// The role ID was not specified.
	ErrCodeRoleRequiredException = "RoleRequiredException"

	// ErrCodeTagLimitExceededException for service response error code
	// "TagLimitExceededException".
	//
	// The maximum allowed number of tags was exceeded.
	ErrCodeTagLimitExceededException = "TagLimitExceededException"

	// ErrCodeTagRequiredException for service response error code
	// "TagRequiredException".
	//
	// A tag was not specified.
	ErrCodeTagRequiredException = "TagRequiredException"

	// 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"
)
View Source
const (
	ServiceName = "codedeploy" // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName  // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTagsToOnPremisesInstancesInput

type AddTagsToOnPremisesInstancesInput struct {

	// The names of the on-premises instances to which to add tags.
	//
	// InstanceNames is a required field
	InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"`

	// The tag key-value pairs to add to the on-premises instances.
	//
	// Keys and values are both required. Keys cannot be null or empty strings.
	// Value-only tags are not allowed.
	//
	// Tags is a required field
	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of, and adds tags to, an on-premises instance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstancesInput

func (AddTagsToOnPremisesInstancesInput) GoString added in v0.6.5

GoString returns the string representation

func (*AddTagsToOnPremisesInstancesInput) SetInstanceNames added in v1.5.0

SetInstanceNames sets the InstanceNames field's value.

func (*AddTagsToOnPremisesInstancesInput) SetTags added in v1.5.0

SetTags sets the Tags field's value.

func (AddTagsToOnPremisesInstancesInput) String added in v0.6.5

String returns the string representation

func (*AddTagsToOnPremisesInstancesInput) Validate added in v1.1.21

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

type AddTagsToOnPremisesInstancesOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstancesOutput

func (AddTagsToOnPremisesInstancesOutput) GoString added in v0.6.5

GoString returns the string representation

func (AddTagsToOnPremisesInstancesOutput) String added in v0.6.5

String returns the string representation

type Alarm added in v1.4.11

type Alarm struct {

	// The name of the alarm. Maximum length is 255 characters. Each alarm name
	// can be used only once in a list of alarms.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Information about an alarm. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Alarm

func (Alarm) GoString added in v1.4.11

func (s Alarm) GoString() string

GoString returns the string representation

func (*Alarm) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (Alarm) String added in v1.4.11

func (s Alarm) String() string

String returns the string representation

type AlarmConfiguration added in v1.4.11

type AlarmConfiguration struct {

	// A list of alarms configured for the deployment group. A maximum of 10 alarms
	// can be added to a deployment group.
	Alarms []*Alarm `locationName:"alarms" type:"list"`

	// Indicates whether the alarm configuration is enabled.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// Indicates whether a deployment should continue if information about the current
	// state of alarms cannot be retrieved from Amazon CloudWatch. The default value
	// is false.
	//
	//    * true: The deployment will proceed even if alarm status information can't
	//    be retrieved from Amazon CloudWatch.
	//
	//    * false: The deployment will stop if alarm status information can't be
	//    retrieved from Amazon CloudWatch.
	IgnorePollAlarmFailure *bool `locationName:"ignorePollAlarmFailure" type:"boolean"`
	// contains filtered or unexported fields
}

Information about alarms associated with the deployment group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AlarmConfiguration

func (AlarmConfiguration) GoString added in v1.4.11

func (s AlarmConfiguration) GoString() string

GoString returns the string representation

func (*AlarmConfiguration) SetAlarms added in v1.5.0

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

SetAlarms sets the Alarms field's value.

func (*AlarmConfiguration) SetEnabled added in v1.5.0

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

SetEnabled sets the Enabled field's value.

func (*AlarmConfiguration) SetIgnorePollAlarmFailure added in v1.5.0

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

SetIgnorePollAlarmFailure sets the IgnorePollAlarmFailure field's value.

func (AlarmConfiguration) String added in v1.4.11

func (s AlarmConfiguration) String() string

String returns the string representation

type ApplicationInfo

type ApplicationInfo struct {

	// The application ID.
	ApplicationId *string `locationName:"applicationId" type:"string"`

	// The application name.
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`

	// The time at which the application was created.
	CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"`

	// The name for a connection to a GitHub account.
	GitHubAccountName *string `locationName:"gitHubAccountName" type:"string"`

	// True if the user has authenticated with GitHub for the specified application;
	// otherwise, false.
	LinkedToGitHub *bool `locationName:"linkedToGitHub" type:"boolean"`
	// contains filtered or unexported fields
}

Information about an application. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationInfo

func (ApplicationInfo) GoString added in v0.6.5

func (s ApplicationInfo) GoString() string

GoString returns the string representation

func (*ApplicationInfo) SetApplicationId added in v1.5.0

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

SetApplicationId sets the ApplicationId field's value.

func (*ApplicationInfo) SetApplicationName added in v1.5.0

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

SetApplicationName sets the ApplicationName field's value.

func (*ApplicationInfo) SetCreateTime added in v1.5.0

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

SetCreateTime sets the CreateTime field's value.

func (*ApplicationInfo) SetGitHubAccountName added in v1.8.33

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

SetGitHubAccountName sets the GitHubAccountName field's value.

func (*ApplicationInfo) SetLinkedToGitHub added in v1.5.0

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

SetLinkedToGitHub sets the LinkedToGitHub field's value.

func (ApplicationInfo) String added in v0.6.5

func (s ApplicationInfo) String() string

String returns the string representation

type AutoRollbackConfiguration added in v1.4.11

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 doesn't complete successfully. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoRollbackConfiguration

func (AutoRollbackConfiguration) GoString added in v1.4.11

func (s AutoRollbackConfiguration) GoString() string

GoString returns the string representation

func (*AutoRollbackConfiguration) SetEnabled added in v1.5.0

SetEnabled sets the Enabled field's value.

func (*AutoRollbackConfiguration) SetEvents added in v1.5.0

SetEvents sets the Events field's value.

func (AutoRollbackConfiguration) String added in v1.4.11

func (s AutoRollbackConfiguration) String() string

String returns the string representation

type AutoScalingGroup

type AutoScalingGroup struct {

	// An Auto Scaling lifecycle event hook name.
	Hook *string `locationName:"hook" type:"string"`

	// The Auto Scaling group name.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Information about an Auto Scaling group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoScalingGroup

func (AutoScalingGroup) GoString added in v0.6.5

func (s AutoScalingGroup) GoString() string

GoString returns the string representation

func (*AutoScalingGroup) SetHook added in v1.5.0

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

SetHook sets the Hook field's value.

func (*AutoScalingGroup) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (AutoScalingGroup) String added in v0.6.5

func (s AutoScalingGroup) String() string

String returns the string representation

type BatchGetApplicationRevisionsInput added in v1.1.4

type BatchGetApplicationRevisionsInput struct {

	// The name of an AWS CodeDeploy application about which to get revision information.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`

	// Information to get about the application revisions, including type and location.
	//
	// Revisions is a required field
	Revisions []*RevisionLocation `locationName:"revisions" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a BatchGetApplicationRevisions operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsInput

func (BatchGetApplicationRevisionsInput) GoString added in v1.1.4

GoString returns the string representation

func (*BatchGetApplicationRevisionsInput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*BatchGetApplicationRevisionsInput) SetRevisions added in v1.5.0

SetRevisions sets the Revisions field's value.

func (BatchGetApplicationRevisionsInput) String added in v1.1.4

String returns the string representation

func (*BatchGetApplicationRevisionsInput) Validate added in v1.1.21

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

type BatchGetApplicationRevisionsOutput added in v1.1.4

type BatchGetApplicationRevisionsOutput struct {

	// The name of the application that corresponds to the revisions.
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`

	// Information about errors that may have occurred during the API call.
	ErrorMessage *string `locationName:"errorMessage" type:"string"`

	// Additional information about the revisions, including the type and location.
	Revisions []*RevisionInfo `locationName:"revisions" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a BatchGetApplicationRevisions operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsOutput

func (BatchGetApplicationRevisionsOutput) GoString added in v1.1.4

GoString returns the string representation

func (*BatchGetApplicationRevisionsOutput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*BatchGetApplicationRevisionsOutput) SetErrorMessage added in v1.5.0

SetErrorMessage sets the ErrorMessage field's value.

func (*BatchGetApplicationRevisionsOutput) SetRevisions added in v1.5.0

SetRevisions sets the Revisions field's value.

func (BatchGetApplicationRevisionsOutput) String added in v1.1.4

String returns the string representation

type BatchGetApplicationsInput

type BatchGetApplicationsInput struct {

	// A list of application names separated by spaces.
	ApplicationNames []*string `locationName:"applicationNames" type:"list"`
	// contains filtered or unexported fields
}

Represents the input of a BatchGetApplications operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsInput

func (BatchGetApplicationsInput) GoString added in v0.6.5

func (s BatchGetApplicationsInput) GoString() string

GoString returns the string representation

func (*BatchGetApplicationsInput) SetApplicationNames added in v1.5.0

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

SetApplicationNames sets the ApplicationNames field's value.

func (BatchGetApplicationsInput) String added in v0.6.5

func (s BatchGetApplicationsInput) String() string

String returns the string representation

type BatchGetApplicationsOutput

type BatchGetApplicationsOutput struct {

	// Information about the applications.
	ApplicationsInfo []*ApplicationInfo `locationName:"applicationsInfo" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a BatchGetApplications operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsOutput

func (BatchGetApplicationsOutput) GoString added in v0.6.5

func (s BatchGetApplicationsOutput) GoString() string

GoString returns the string representation

func (*BatchGetApplicationsOutput) SetApplicationsInfo added in v1.5.0

SetApplicationsInfo sets the ApplicationsInfo field's value.

func (BatchGetApplicationsOutput) String added in v0.6.5

String returns the string representation

type BatchGetDeploymentGroupsInput added in v1.1.11

type BatchGetDeploymentGroupsInput struct {

	// The name of an AWS CodeDeploy application associated with the applicable
	// IAM user or AWS account.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`

	// The deployment groups' names.
	//
	// DeploymentGroupNames is a required field
	DeploymentGroupNames []*string `locationName:"deploymentGroupNames" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a BatchGetDeploymentGroups operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsInput

func (BatchGetDeploymentGroupsInput) GoString added in v1.1.11

GoString returns the string representation

func (*BatchGetDeploymentGroupsInput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*BatchGetDeploymentGroupsInput) SetDeploymentGroupNames added in v1.5.0

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

SetDeploymentGroupNames sets the DeploymentGroupNames field's value.

func (BatchGetDeploymentGroupsInput) String added in v1.1.11

String returns the string representation

func (*BatchGetDeploymentGroupsInput) Validate added in v1.1.21

func (s *BatchGetDeploymentGroupsInput) Validate() error

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

type BatchGetDeploymentGroupsOutput added in v1.1.11

type BatchGetDeploymentGroupsOutput struct {

	// Information about the deployment groups.
	DeploymentGroupsInfo []*DeploymentGroupInfo `locationName:"deploymentGroupsInfo" type:"list"`

	// Information about errors that may have occurred during the API call.
	ErrorMessage *string `locationName:"errorMessage" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a BatchGetDeploymentGroups operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsOutput

func (BatchGetDeploymentGroupsOutput) GoString added in v1.1.11

GoString returns the string representation

func (*BatchGetDeploymentGroupsOutput) SetDeploymentGroupsInfo added in v1.5.0

SetDeploymentGroupsInfo sets the DeploymentGroupsInfo field's value.

func (*BatchGetDeploymentGroupsOutput) SetErrorMessage added in v1.5.0

SetErrorMessage sets the ErrorMessage field's value.

func (BatchGetDeploymentGroupsOutput) String added in v1.1.11

String returns the string representation

type BatchGetDeploymentInstancesInput added in v1.1.4

type BatchGetDeploymentInstancesInput struct {

	// The unique ID of a deployment.
	//
	// DeploymentId is a required field
	DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`

	// The unique IDs of instances in the deployment group.
	//
	// InstanceIds is a required field
	InstanceIds []*string `locationName:"instanceIds" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a BatchGetDeploymentInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesInput

func (BatchGetDeploymentInstancesInput) GoString added in v1.1.4

GoString returns the string representation

func (*BatchGetDeploymentInstancesInput) SetDeploymentId added in v1.5.0

SetDeploymentId sets the DeploymentId field's value.

func (*BatchGetDeploymentInstancesInput) SetInstanceIds added in v1.5.0

SetInstanceIds sets the InstanceIds field's value.

func (BatchGetDeploymentInstancesInput) String added in v1.1.4

String returns the string representation

func (*BatchGetDeploymentInstancesInput) Validate added in v1.1.21

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

type BatchGetDeploymentInstancesOutput added in v1.1.4

type BatchGetDeploymentInstancesOutput struct {

	// Information about errors that may have occurred during the API call.
	ErrorMessage *string `locationName:"errorMessage" type:"string"`

	// Information about the instance.
	InstancesSummary []*InstanceSummary `locationName:"instancesSummary" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a BatchGetDeploymentInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesOutput

func (BatchGetDeploymentInstancesOutput) GoString added in v1.1.4

GoString returns the string representation

func (*BatchGetDeploymentInstancesOutput) SetErrorMessage added in v1.5.0

SetErrorMessage sets the ErrorMessage field's value.

func (*BatchGetDeploymentInstancesOutput) SetInstancesSummary added in v1.5.0

SetInstancesSummary sets the InstancesSummary field's value.

func (BatchGetDeploymentInstancesOutput) String added in v1.1.4

String returns the string representation

type BatchGetDeploymentsInput

type BatchGetDeploymentsInput struct {

	// A list of deployment IDs, separated by spaces.
	DeploymentIds []*string `locationName:"deploymentIds" type:"list"`
	// contains filtered or unexported fields
}

Represents the input of a BatchGetDeployments operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsInput

func (BatchGetDeploymentsInput) GoString added in v0.6.5

func (s BatchGetDeploymentsInput) GoString() string

GoString returns the string representation

func (*BatchGetDeploymentsInput) SetDeploymentIds added in v1.5.0

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

SetDeploymentIds sets the DeploymentIds field's value.

func (BatchGetDeploymentsInput) String added in v0.6.5

func (s BatchGetDeploymentsInput) String() string

String returns the string representation

type BatchGetDeploymentsOutput

type BatchGetDeploymentsOutput struct {

	// Information about the deployments.
	DeploymentsInfo []*DeploymentInfo `locationName:"deploymentsInfo" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a BatchGetDeployments operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsOutput

func (BatchGetDeploymentsOutput) GoString added in v0.6.5

func (s BatchGetDeploymentsOutput) GoString() string

GoString returns the string representation

func (*BatchGetDeploymentsOutput) SetDeploymentsInfo added in v1.5.0

SetDeploymentsInfo sets the DeploymentsInfo field's value.

func (BatchGetDeploymentsOutput) String added in v0.6.5

func (s BatchGetDeploymentsOutput) String() string

String returns the string representation

type BatchGetOnPremisesInstancesInput

type BatchGetOnPremisesInstancesInput struct {

	// The names of the on-premises instances about which to get information.
	InstanceNames []*string `locationName:"instanceNames" type:"list"`
	// contains filtered or unexported fields
}

Represents the input of a BatchGetOnPremisesInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesInput

func (BatchGetOnPremisesInstancesInput) GoString added in v0.6.5

GoString returns the string representation

func (*BatchGetOnPremisesInstancesInput) SetInstanceNames added in v1.5.0

SetInstanceNames sets the InstanceNames field's value.

func (BatchGetOnPremisesInstancesInput) String added in v0.6.5

String returns the string representation

type BatchGetOnPremisesInstancesOutput

type BatchGetOnPremisesInstancesOutput struct {

	// Information about the on-premises instances.
	InstanceInfos []*InstanceInfo `locationName:"instanceInfos" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a BatchGetOnPremisesInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesOutput

func (BatchGetOnPremisesInstancesOutput) GoString added in v0.6.5

GoString returns the string representation

func (*BatchGetOnPremisesInstancesOutput) SetInstanceInfos added in v1.5.0

SetInstanceInfos sets the InstanceInfos field's value.

func (BatchGetOnPremisesInstancesOutput) String added in v0.6.5

String returns the string representation

type BlueGreenDeploymentConfiguration added in v1.6.18

type BlueGreenDeploymentConfiguration struct {

	// Information about the action to take when newly provisioned instances are
	// ready to receive traffic in a blue/green deployment.
	DeploymentReadyOption *DeploymentReadyOption `locationName:"deploymentReadyOption" type:"structure"`

	// Information about how instances are provisioned for a replacement environment
	// in a blue/green deployment.
	GreenFleetProvisioningOption *GreenFleetProvisioningOption `locationName:"greenFleetProvisioningOption" type:"structure"`

	// Information about whether to terminate instances in the original fleet during
	// a blue/green deployment.
	TerminateBlueInstancesOnDeploymentSuccess *BlueInstanceTerminationOption `locationName:"terminateBlueInstancesOnDeploymentSuccess" type:"structure"`
	// contains filtered or unexported fields
}

Information about blue/green deployment options for a deployment group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueGreenDeploymentConfiguration

func (BlueGreenDeploymentConfiguration) GoString added in v1.6.18

GoString returns the string representation

func (*BlueGreenDeploymentConfiguration) SetDeploymentReadyOption added in v1.6.18

SetDeploymentReadyOption sets the DeploymentReadyOption field's value.

func (*BlueGreenDeploymentConfiguration) SetGreenFleetProvisioningOption added in v1.6.18

SetGreenFleetProvisioningOption sets the GreenFleetProvisioningOption field's value.

func (*BlueGreenDeploymentConfiguration) SetTerminateBlueInstancesOnDeploymentSuccess added in v1.6.18

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

SetTerminateBlueInstancesOnDeploymentSuccess sets the TerminateBlueInstancesOnDeploymentSuccess field's value.

func (BlueGreenDeploymentConfiguration) String added in v1.6.18

String returns the string representation

type BlueInstanceTerminationOption added in v1.6.18

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"`

	// The number of minutes to wait after a successful blue/green deployment before
	// terminating instances from the original environment.
	TerminationWaitTimeInMinutes *int64 `locationName:"terminationWaitTimeInMinutes" type:"integer"`
	// contains filtered or unexported fields
}

Information about whether instances in the original environment are terminated when a blue/green deployment is successful. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueInstanceTerminationOption

func (BlueInstanceTerminationOption) GoString added in v1.6.18

GoString returns the string representation

func (*BlueInstanceTerminationOption) SetAction added in v1.6.18

SetAction sets the Action field's value.

func (*BlueInstanceTerminationOption) SetTerminationWaitTimeInMinutes added in v1.6.18

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

SetTerminationWaitTimeInMinutes sets the TerminationWaitTimeInMinutes field's value.

func (BlueInstanceTerminationOption) String added in v1.6.18

String returns the string representation

type CodeDeploy

type CodeDeploy struct {
	*client.Client
}

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

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

func New

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

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.

  • ErrCodeTagRequiredException "TagRequiredException" A tag was not specified.

  • ErrCodeInvalidTagException "InvalidTagException" The specified 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.

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

func (*CodeDeploy) AddTagsToOnPremisesInstancesRequest

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

AddTagsToOnPremisesInstancesRequest generates a "aws/request.Request" representing the client's request for the AddTagsToOnPremisesInstances operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AddTagsToOnPremisesInstances for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddTagsToOnPremisesInstances method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) AddTagsToOnPremisesInstancesWithContext added in v1.8.0

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 added in v1.1.4

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

BatchGetApplicationRevisions API operation for AWS CodeDeploy.

Gets information about one or more application revisions.

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

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

Returned Error Codes:

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the applicable 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.

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

func (*CodeDeploy) BatchGetApplicationRevisionsRequest added in v1.1.4

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 can be used to capture response data after the request's "Send" method is called.

See BatchGetApplicationRevisions for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the BatchGetApplicationRevisions method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) BatchGetApplicationRevisionsWithContext added in v1.8.0

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

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

BatchGetApplications API operation for AWS CodeDeploy.

Gets information about one or more applications.

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

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

Returned Error Codes:

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

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

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

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

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

func (*CodeDeploy) BatchGetApplicationsRequest

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

BatchGetApplicationsRequest generates a "aws/request.Request" representing the client's request for the BatchGetApplications operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See BatchGetApplications for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the BatchGetApplications method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) BatchGetApplicationsWithContext added in v1.8.0

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 added in v1.1.11

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

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

func (*CodeDeploy) BatchGetDeploymentGroupsRequest added in v1.1.11

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 can be used to capture response data after the request's "Send" method is called.

See BatchGetDeploymentGroups for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the BatchGetDeploymentGroups method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) BatchGetDeploymentGroupsWithContext added in v1.8.0

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 added in v1.1.4

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

BatchGetDeploymentInstances API operation for AWS CodeDeploy.

Gets information about one or more instance that are part of 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 BatchGetDeploymentInstances for usage and error information.

Returned Error Codes:

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

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

  • 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 specified 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.

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

func (*CodeDeploy) BatchGetDeploymentInstancesRequest added in v1.1.4

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 can be used to capture response data after the request's "Send" method is called.

See BatchGetDeploymentInstances for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the BatchGetDeploymentInstances method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) BatchGetDeploymentInstancesWithContext added in v1.8.0

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.

func (*CodeDeploy) BatchGetDeployments

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

BatchGetDeployments API operation for AWS CodeDeploy.

Gets information about one or more deployments.

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

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

Returned Error Codes:

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

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

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

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

func (*CodeDeploy) BatchGetDeploymentsRequest

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

BatchGetDeploymentsRequest generates a "aws/request.Request" representing the client's request for the BatchGetDeployments operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See BatchGetDeployments for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the BatchGetDeployments method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) BatchGetDeploymentsWithContext added in v1.8.0

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

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

BatchGetOnPremisesInstances API operation for AWS CodeDeploy.

Gets information about one or more on-premises instances.

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

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

Returned Error Codes:

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

  • ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" The specified 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.

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

func (*CodeDeploy) BatchGetOnPremisesInstancesRequest

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

BatchGetOnPremisesInstancesRequest generates a "aws/request.Request" representing the client's request for the BatchGetOnPremisesInstances operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See BatchGetOnPremisesInstances for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the BatchGetOnPremisesInstances method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) BatchGetOnPremisesInstancesWithContext added in v1.8.0

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 added in v1.6.18

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 does not exist with the applicable IAM user or AWS account.

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

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

func (*CodeDeploy) ContinueDeploymentRequest added in v1.6.18

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 can be used to capture response data after the request's "Send" method is called.

See ContinueDeployment for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ContinueDeployment method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) ContinueDeploymentWithContext added in v1.8.0

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

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 already exists with the applicable IAM user or AWS account.

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

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

func (*CodeDeploy) CreateApplicationRequest

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

CreateApplicationRequest generates a "aws/request.Request" representing the client's request for the CreateApplication operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateApplication for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateApplication method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) CreateApplicationWithContext added in v1.8.0

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

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 applicable 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 does not exist with the applicable IAM user or AWS account.

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

  • ErrCodeRevisionDoesNotExistException "RevisionDoesNotExistException" The named revision does not exist with the applicable 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 applicable 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".

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

func (*CodeDeploy) CreateDeploymentConfig

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

CreateDeploymentConfig API operation for AWS CodeDeploy.

Creates a deployment configuration.

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

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

Returned Error Codes:

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

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

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

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

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

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

func (*CodeDeploy) CreateDeploymentConfigRequest

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

CreateDeploymentConfigRequest generates a "aws/request.Request" representing the client's request for the CreateDeploymentConfig operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateDeploymentConfig for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDeploymentConfig method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) CreateDeploymentConfigWithContext added in v1.8.0

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

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

CreateDeploymentGroup API operation for AWS CodeDeploy.

Creates a deployment group to which application revisions will be 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 applicable 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 already exists with the applicable IAM user or AWS account.

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

  • ErrCodeInvalidTagException "InvalidTagException" The specified 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 applicable 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 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 255 character limit.

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

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

func (*CodeDeploy) CreateDeploymentGroupRequest

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

CreateDeploymentGroupRequest generates a "aws/request.Request" representing the client's request for the CreateDeploymentGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateDeploymentGroup for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDeploymentGroup method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) CreateDeploymentGroupWithContext added in v1.8.0

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

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 can be used to capture response data after the request's "Send" method is called.

See CreateDeployment for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDeployment method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) CreateDeploymentWithContext added in v1.8.0

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

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.

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

func (*CodeDeploy) DeleteApplicationRequest

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

DeleteApplicationRequest generates a "aws/request.Request" representing the client's request for the DeleteApplication operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteApplication for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteApplication method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) DeleteApplicationWithContext added in v1.8.0

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

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.

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

func (*CodeDeploy) DeleteDeploymentConfigRequest

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

DeleteDeploymentConfigRequest generates a "aws/request.Request" representing the client's request for the DeleteDeploymentConfig operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteDeploymentConfig for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteDeploymentConfig method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) DeleteDeploymentConfigWithContext added in v1.8.0

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

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 Auto Scaling.

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

func (*CodeDeploy) DeleteDeploymentGroupRequest

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

DeleteDeploymentGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteDeploymentGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteDeploymentGroup for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteDeploymentGroup method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) DeleteDeploymentGroupWithContext added in v1.8.0

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) DeregisterOnPremisesInstance

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

DeregisterOnPremisesInstance API operation for AWS CodeDeploy.

Deregisters an on-premises instance.

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

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

Returned Error Codes:

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

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

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

func (*CodeDeploy) DeregisterOnPremisesInstanceRequest

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

DeregisterOnPremisesInstanceRequest generates a "aws/request.Request" representing the client's request for the DeregisterOnPremisesInstance operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeregisterOnPremisesInstance for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeregisterOnPremisesInstance method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) DeregisterOnPremisesInstanceWithContext added in v1.8.0

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

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 applicable IAM user or AWS account.

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

func (*CodeDeploy) GetApplicationRequest

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

GetApplicationRequest generates a "aws/request.Request" representing the client's request for the GetApplication operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetApplication for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetApplication method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) GetApplicationRevision

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

GetApplicationRevision API operation for AWS CodeDeploy.

Gets information about an application revision.

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

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

Returned Error Codes:

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the applicable 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 applicable IAM user or AWS account.

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

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

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

func (*CodeDeploy) GetApplicationRevisionRequest

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

GetApplicationRevisionRequest generates a "aws/request.Request" representing the client's request for the GetApplicationRevision operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetApplicationRevision for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetApplicationRevision method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) GetApplicationRevisionWithContext added in v1.8.0

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 added in v1.8.0

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

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

GetDeployment API operation for AWS CodeDeploy.

Gets information about a deployment.

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

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

Returned Error Codes:

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

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

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

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

func (*CodeDeploy) GetDeploymentConfig

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

GetDeploymentConfig API operation for AWS CodeDeploy.

Gets information about a deployment configuration.

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

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

Returned Error Codes:

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

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

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

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

func (*CodeDeploy) GetDeploymentConfigRequest

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

GetDeploymentConfigRequest generates a "aws/request.Request" representing the client's request for the GetDeploymentConfig operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetDeploymentConfig for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetDeploymentConfig method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) GetDeploymentConfigWithContext added in v1.8.0

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

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 applicable 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 does not exist with the applicable IAM user or AWS account.

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

func (*CodeDeploy) GetDeploymentGroupRequest

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

GetDeploymentGroupRequest generates a "aws/request.Request" representing the client's request for the GetDeploymentGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetDeploymentGroup for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetDeploymentGroup method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) GetDeploymentGroupWithContext added in v1.8.0

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

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 does not exist with the applicable IAM user or AWS account.

  • 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 specified on-premises instance name was specified in an invalid format.

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

func (*CodeDeploy) GetDeploymentInstanceRequest

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

GetDeploymentInstanceRequest generates a "aws/request.Request" representing the client's request for the GetDeploymentInstance operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetDeploymentInstance for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetDeploymentInstance method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) GetDeploymentInstanceWithContext added in v1.8.0

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.

func (*CodeDeploy) GetDeploymentRequest

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

GetDeploymentRequest generates a "aws/request.Request" representing the client's request for the GetDeployment operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetDeployment for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetDeployment method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) GetDeploymentWithContext added in v1.8.0

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

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 specified on-premises instance name was specified in an invalid format.

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

func (*CodeDeploy) GetOnPremisesInstanceRequest

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

GetOnPremisesInstanceRequest generates a "aws/request.Request" representing the client's request for the GetOnPremisesInstance operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetOnPremisesInstance for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetOnPremisesInstance method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) GetOnPremisesInstanceWithContext added in v1.8.0

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

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

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

func (*CodeDeploy) ListApplicationRevisionsPages added in v0.6.5

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

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

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

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

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

func (*CodeDeploy) ListApplicationRevisionsPagesWithContext added in v1.8.0

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

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 can be used to capture response data after the request's "Send" method is called.

See ListApplicationRevisions for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListApplicationRevisions method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) ListApplicationRevisionsWithContext added in v1.8.0

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

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

ListApplications API operation for AWS CodeDeploy.

Lists the applications registered with the applicable 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.

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

func (*CodeDeploy) ListApplicationsPages added in v0.6.5

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

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

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

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

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

func (*CodeDeploy) ListApplicationsPagesWithContext added in v1.8.0

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

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 can be used to capture response data after the request's "Send" method is called.

See ListApplications for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListApplications method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) ListApplicationsWithContext added in v1.8.0

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

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

ListDeploymentConfigs API operation for AWS CodeDeploy.

Lists the deployment configurations with the applicable 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.

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

func (*CodeDeploy) ListDeploymentConfigsPages added in v0.6.5

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

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

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

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

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

func (*CodeDeploy) ListDeploymentConfigsPagesWithContext added in v1.8.0

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

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 can be used to capture response data after the request's "Send" method is called.

See ListDeploymentConfigs for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListDeploymentConfigs method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) ListDeploymentConfigsWithContext added in v1.8.0

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

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

ListDeploymentGroups API operation for AWS CodeDeploy.

Lists the deployment groups for an application registered with the applicable 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 applicable IAM user or AWS account.

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

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

func (*CodeDeploy) ListDeploymentGroupsPages added in v0.6.5

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

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

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

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

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

func (*CodeDeploy) ListDeploymentGroupsPagesWithContext added in v1.8.0

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

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 can be used to capture response data after the request's "Send" method is called.

See ListDeploymentGroups for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListDeploymentGroups method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) ListDeploymentGroupsWithContext added in v1.8.0

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

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

ListDeploymentInstances API operation for AWS CodeDeploy.

Lists the instance for a deployment associated with the applicable 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 does not exist with the applicable IAM user or AWS account.

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

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

func (*CodeDeploy) ListDeploymentInstancesPages added in v0.6.5

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

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

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

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

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

func (*CodeDeploy) ListDeploymentInstancesPagesWithContext added in v1.8.0

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.

func (*CodeDeploy) ListDeploymentInstancesRequest

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

ListDeploymentInstancesRequest generates a "aws/request.Request" representing the client's request for the ListDeploymentInstances operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListDeploymentInstances for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListDeploymentInstances method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) ListDeploymentInstancesWithContext added in v1.8.0

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.

func (*CodeDeploy) ListDeployments

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

ListDeployments API operation for AWS CodeDeploy.

Lists the deployments in a deployment group for an application registered with the applicable 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 applicable IAM user or AWS account.

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

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

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

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

func (*CodeDeploy) ListDeploymentsPages added in v0.6.5

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

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

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

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

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

func (*CodeDeploy) ListDeploymentsPagesWithContext added in v1.8.0

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

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 can be used to capture response data after the request's "Send" method is called.

See ListDeployments for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListDeployments method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) ListDeploymentsWithContext added in v1.8.0

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 added in v1.8.33

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.

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

func (*CodeDeploy) ListGitHubAccountTokenNamesRequest added in v1.8.33

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 can be used to capture response data after the request's "Send" method is called.

See ListGitHubAccountTokenNames for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListGitHubAccountTokenNames method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) ListGitHubAccountTokenNamesWithContext added in v1.8.33

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

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 will be 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 specified tag filter was specified in an invalid format.

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

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

func (*CodeDeploy) ListOnPremisesInstancesRequest

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

ListOnPremisesInstancesRequest generates a "aws/request.Request" representing the client's request for the ListOnPremisesInstances operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListOnPremisesInstances for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListOnPremisesInstances method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) ListOnPremisesInstancesWithContext added in v1.8.0

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) RegisterApplicationRevision

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

RegisterApplicationRevision API operation for AWS CodeDeploy.

Registers with AWS CodeDeploy a revision for the specified application.

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

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

Returned Error Codes:

  • ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" The application does not exist with the applicable 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.

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

func (*CodeDeploy) RegisterApplicationRevisionRequest

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

RegisterApplicationRevisionRequest generates a "aws/request.Request" representing the client's request for the RegisterApplicationRevision operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See RegisterApplicationRevision for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RegisterApplicationRevision method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) RegisterApplicationRevisionWithContext added in v1.8.0

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

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

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

func (*CodeDeploy) RegisterOnPremisesInstanceRequest

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

RegisterOnPremisesInstanceRequest generates a "aws/request.Request" representing the client's request for the RegisterOnPremisesInstance operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See RegisterOnPremisesInstance for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RegisterOnPremisesInstance method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) RegisterOnPremisesInstanceWithContext added in v1.8.0

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

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.

  • ErrCodeTagRequiredException "TagRequiredException" A tag was not specified.

  • ErrCodeInvalidTagException "InvalidTagException" The specified 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.

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

func (*CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest

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

RemoveTagsFromOnPremisesInstancesRequest generates a "aws/request.Request" representing the client's request for the RemoveTagsFromOnPremisesInstances operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See RemoveTagsFromOnPremisesInstances for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RemoveTagsFromOnPremisesInstances method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) RemoveTagsFromOnPremisesInstancesWithContext added in v1.8.0

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 added in v1.6.18

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

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 does not exist with the applicable IAM user or AWS account.

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

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

func (*CodeDeploy) SkipWaitTimeForInstanceTerminationRequest added in v1.6.18

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 can be used to capture response data after the request's "Send" method is called.

See SkipWaitTimeForInstanceTermination for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the SkipWaitTimeForInstanceTermination method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) SkipWaitTimeForInstanceTerminationWithContext added in v1.8.0

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.

func (*CodeDeploy) StopDeployment

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

StopDeployment API operation for AWS CodeDeploy.

Attempts to stop an ongoing deployment.

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

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

Returned Error Codes:

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

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

  • ErrCodeDeploymentAlreadyCompletedException "DeploymentAlreadyCompletedException" The deployment is already complete.

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

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

func (*CodeDeploy) StopDeploymentRequest

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

StopDeploymentRequest generates a "aws/request.Request" representing the client's request for the StopDeployment operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See StopDeployment for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the StopDeployment method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) StopDeploymentWithContext added in v1.8.0

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) UpdateApplication

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

UpdateApplication API operation for AWS CodeDeploy.

Changes the name of an application.

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

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

Returned Error Codes:

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

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

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

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

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

func (*CodeDeploy) UpdateApplicationRequest

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

UpdateApplicationRequest generates a "aws/request.Request" representing the client's request for the UpdateApplication operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateApplication for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateApplication method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) UpdateApplicationWithContext added in v1.8.0

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

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 applicable 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 already exists with the applicable IAM user or AWS account.

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

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

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

  • ErrCodeInvalidTagException "InvalidTagException" The specified 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 applicable 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 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 255 character limit.

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

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

func (*CodeDeploy) UpdateDeploymentGroupRequest

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

UpdateDeploymentGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateDeploymentGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateDeploymentGroup for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateDeploymentGroup method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

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

func (*CodeDeploy) UpdateDeploymentGroupWithContext added in v1.8.0

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 added in v1.2.10

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 meet within the max attempt window an error will be returned.

func (*CodeDeploy) WaitUntilDeploymentSuccessfulWithContext added in v1.8.0

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 added in v1.6.18

type ContinueDeploymentInput struct {

	// The deployment ID of the blue/green deployment for which you want to start
	// rerouting traffic to the replacement environment.
	DeploymentId *string `locationName:"deploymentId" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentInput

func (ContinueDeploymentInput) GoString added in v1.6.18

func (s ContinueDeploymentInput) GoString() string

GoString returns the string representation

func (*ContinueDeploymentInput) SetDeploymentId added in v1.6.18

SetDeploymentId sets the DeploymentId field's value.

func (ContinueDeploymentInput) String added in v1.6.18

func (s ContinueDeploymentInput) String() string

String returns the string representation

type ContinueDeploymentOutput added in v1.6.18

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentOutput

func (ContinueDeploymentOutput) GoString added in v1.6.18

func (s ContinueDeploymentOutput) GoString() string

GoString returns the string representation

func (ContinueDeploymentOutput) String added in v1.6.18

func (s ContinueDeploymentOutput) String() string

String returns the string representation

type CreateApplicationInput

type CreateApplicationInput struct {

	// The name of the application. This name must be unique with the applicable
	// IAM user or AWS account.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a CreateApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationInput

func (CreateApplicationInput) GoString added in v0.6.5

func (s CreateApplicationInput) GoString() string

GoString returns the string representation

func (*CreateApplicationInput) SetApplicationName added in v1.5.0

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

SetApplicationName sets the ApplicationName field's value.

func (CreateApplicationInput) String added in v0.6.5

func (s CreateApplicationInput) String() string

String returns the string representation

func (*CreateApplicationInput) Validate added in v1.1.21

func (s *CreateApplicationInput) Validate() error

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

type CreateApplicationOutput

type CreateApplicationOutput struct {

	// A unique application ID.
	ApplicationId *string `locationName:"applicationId" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a CreateApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationOutput

func (CreateApplicationOutput) GoString added in v0.6.5

func (s CreateApplicationOutput) GoString() string

GoString returns the string representation

func (*CreateApplicationOutput) SetApplicationId added in v1.5.0

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

SetApplicationId sets the ApplicationId field's value.

func (CreateApplicationOutput) String added in v0.6.5

func (s CreateApplicationOutput) String() string

String returns the string representation

type CreateDeploymentConfigInput

type CreateDeploymentConfigInput struct {

	// 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"`
	// contains filtered or unexported fields
}

Represents the input of a CreateDeploymentConfig operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigInput

func (CreateDeploymentConfigInput) GoString added in v0.6.5

func (s CreateDeploymentConfigInput) GoString() string

GoString returns the string representation

func (*CreateDeploymentConfigInput) SetDeploymentConfigName added in v1.5.0

func (s *CreateDeploymentConfigInput) SetDeploymentConfigName(v string) *CreateDeploymentConfigInput

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*CreateDeploymentConfigInput) SetMinimumHealthyHosts added in v1.5.0

SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value.

func (CreateDeploymentConfigInput) String added in v0.6.5

String returns the string representation

func (*CreateDeploymentConfigInput) Validate added in v1.1.21

func (s *CreateDeploymentConfigInput) Validate() error

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

type CreateDeploymentConfigOutput

type CreateDeploymentConfigOutput struct {

	// A unique deployment configuration ID.
	DeploymentConfigId *string `locationName:"deploymentConfigId" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a CreateDeploymentConfig operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigOutput

func (CreateDeploymentConfigOutput) GoString added in v0.6.5

func (s CreateDeploymentConfigOutput) GoString() string

GoString returns the string representation

func (*CreateDeploymentConfigOutput) SetDeploymentConfigId added in v1.5.0

SetDeploymentConfigId sets the DeploymentConfigId field's value.

func (CreateDeploymentConfigOutput) String added in v0.6.5

String returns the string representation

type CreateDeploymentGroupInput

type CreateDeploymentGroupInput struct {

	// Information to add about Amazon CloudWatch alarms when the deployment group
	// is created.
	AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"`

	// The name of an AWS CodeDeploy application associated with the applicable
	// IAM user or AWS account.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`

	// Configuration information for an automatic rollback that is added when a
	// deployment group is created.
	AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`

	// A list of associated Auto Scaling groups.
	AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"`

	// Information about blue/green deployment options for a deployment group.
	BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"`

	// If specified, the deployment configuration name can be either one of the
	// predefined configurations provided with AWS CodeDeploy or a custom deployment
	// configuration that you create by calling the create deployment configuration
	// operation.
	//
	// CodeDeployDefault.OneAtATime is the default deployment configuration. It
	// is used if a configuration isn't specified for the deployment or the deployment
	// group.
	//
	// For more information about the predefined deployment configurations in AWS
	// CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy (http://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html)
	// in the AWS CodeDeploy User Guide.
	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`

	// The name of a new deployment group for the specified application.
	//
	// DeploymentGroupName is a required field
	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"`

	// Information about the type of deployment, in-place or blue/green, that you
	// want to run and whether to route deployment traffic behind a load balancer.
	DeploymentStyle *DeploymentStyle `locationName:"deploymentStyle" type:"structure"`

	// The Amazon EC2 tags on which to filter. The deployment group will include
	// EC2 instances with any of the specified tags.
	Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" 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 will
	// include on-premises instances with any of the specified tags.
	OnPremisesInstanceTagFilters []*TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"`

	// A service role ARN that allows AWS CodeDeploy to act on the user's behalf
	// when interacting with AWS services.
	//
	// ServiceRoleArn is a required field
	ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string" required:"true"`

	// Information about triggers to create when the deployment group is created.
	// For examples, see Create a Trigger for an AWS CodeDeploy Event (http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-sns.html)
	// in the AWS CodeDeploy User Guide.
	TriggerConfigurations []*TriggerConfig `locationName:"triggerConfigurations" type:"list"`
	// contains filtered or unexported fields
}

Represents the input of a CreateDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupInput

func (CreateDeploymentGroupInput) GoString added in v0.6.5

func (s CreateDeploymentGroupInput) GoString() string

GoString returns the string representation

func (*CreateDeploymentGroupInput) SetAlarmConfiguration added in v1.5.0

SetAlarmConfiguration sets the AlarmConfiguration field's value.

func (*CreateDeploymentGroupInput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*CreateDeploymentGroupInput) SetAutoRollbackConfiguration added in v1.5.0

SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.

func (*CreateDeploymentGroupInput) SetAutoScalingGroups added in v1.5.0

func (s *CreateDeploymentGroupInput) SetAutoScalingGroups(v []*string) *CreateDeploymentGroupInput

SetAutoScalingGroups sets the AutoScalingGroups field's value.

func (*CreateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration added in v1.6.18

SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.

func (*CreateDeploymentGroupInput) SetDeploymentConfigName added in v1.5.0

func (s *CreateDeploymentGroupInput) SetDeploymentConfigName(v string) *CreateDeploymentGroupInput

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*CreateDeploymentGroupInput) SetDeploymentGroupName added in v1.5.0

func (s *CreateDeploymentGroupInput) SetDeploymentGroupName(v string) *CreateDeploymentGroupInput

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (*CreateDeploymentGroupInput) SetDeploymentStyle added in v1.6.18

SetDeploymentStyle sets the DeploymentStyle field's value.

func (*CreateDeploymentGroupInput) SetEc2TagFilters added in v1.5.0

SetEc2TagFilters sets the Ec2TagFilters field's value.

func (*CreateDeploymentGroupInput) SetLoadBalancerInfo added in v1.6.18

SetLoadBalancerInfo sets the LoadBalancerInfo field's value.

func (*CreateDeploymentGroupInput) SetOnPremisesInstanceTagFilters added in v1.5.0

func (s *CreateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []*TagFilter) *CreateDeploymentGroupInput

SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.

func (*CreateDeploymentGroupInput) SetServiceRoleArn added in v1.5.0

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*CreateDeploymentGroupInput) SetTriggerConfigurations added in v1.5.0

func (s *CreateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig) *CreateDeploymentGroupInput

SetTriggerConfigurations sets the TriggerConfigurations field's value.

func (CreateDeploymentGroupInput) String added in v0.6.5

String returns the string representation

func (*CreateDeploymentGroupInput) Validate added in v1.1.21

func (s *CreateDeploymentGroupInput) Validate() error

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

type CreateDeploymentGroupOutput

type CreateDeploymentGroupOutput struct {

	// A unique deployment group ID.
	DeploymentGroupId *string `locationName:"deploymentGroupId" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a CreateDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupOutput

func (CreateDeploymentGroupOutput) GoString added in v0.6.5

func (s CreateDeploymentGroupOutput) GoString() string

GoString returns the string representation

func (*CreateDeploymentGroupOutput) SetDeploymentGroupId added in v1.5.0

SetDeploymentGroupId sets the DeploymentGroupId field's value.

func (CreateDeploymentGroupOutput) String added in v0.6.5

String returns the string representation

type CreateDeploymentInput

type CreateDeploymentInput struct {

	// The name of an AWS CodeDeploy application associated with the applicable
	// IAM user or AWS account.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`

	// Configuration information for an automatic rollback that is added when a
	// deployment is created.
	AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`

	// The name of a deployment configuration associated with the applicable IAM
	// user or AWS account.
	//
	// If not specified, the value configured in the deployment group will be used
	// as the default. If the deployment group does not have a deployment configuration
	// associated with it, then CodeDeployDefault.OneAtATime will be used by default.
	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`

	// The name of the deployment group.
	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"`

	// A comment about the deployment.
	Description *string `locationName:"description" type:"string"`

	// Information about how AWS CodeDeploy handles files that already exist in
	// a deployment target location but weren't part of the previous successful
	// deployment.
	//
	// The fileExistsBehavior parameter takes any of the following values:
	//
	//    * DISALLOW: The deployment fails. This is also the default behavior if
	//    no option is specified.
	//
	//    * OVERWRITE: The version of the file from the application revision currently
	//    being deployed replaces the version already on the instance.
	//
	//    * RETAIN: The version of the file already on the instance is kept and
	//    used as part of the new deployment.
	FileExistsBehavior *string `locationName:"fileExistsBehavior" type:"string" enum:"FileExistsBehavior"`

	// If set to true, then if the deployment causes the ApplicationStop deployment
	// lifecycle event to an instance to fail, the deployment to that instance will
	// not be considered to have failed at that point and will continue on to the
	// BeforeInstall deployment lifecycle event.
	//
	// If set to false or not specified, then if the deployment causes the ApplicationStop
	// deployment lifecycle event to fail to an instance, the deployment to that
	// instance will stop, and the deployment to that instance will be considered
	// to have failed.
	IgnoreApplicationStopFailures *bool `locationName:"ignoreApplicationStopFailures" type:"boolean"`

	// The type and location of the revision to deploy.
	Revision *RevisionLocation `locationName:"revision" type:"structure"`

	// Information about the instances that will belong to the replacement environment
	// in a blue/green deployment.
	TargetInstances *TargetInstances `locationName:"targetInstances" type:"structure"`

	// Indicates whether to deploy to all instances or only to instances that are
	// not running the latest application revision.
	UpdateOutdatedInstancesOnly *bool `locationName:"updateOutdatedInstancesOnly" type:"boolean"`
	// contains filtered or unexported fields
}

Represents the input of a CreateDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentInput

func (CreateDeploymentInput) GoString added in v0.6.5

func (s CreateDeploymentInput) GoString() string

GoString returns the string representation

func (*CreateDeploymentInput) SetApplicationName added in v1.5.0

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

SetApplicationName sets the ApplicationName field's value.

func (*CreateDeploymentInput) SetAutoRollbackConfiguration added in v1.5.0

func (s *CreateDeploymentInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentInput

SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.

func (*CreateDeploymentInput) SetDeploymentConfigName added in v1.5.0

func (s *CreateDeploymentInput) SetDeploymentConfigName(v string) *CreateDeploymentInput

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*CreateDeploymentInput) SetDeploymentGroupName added in v1.5.0

func (s *CreateDeploymentInput) SetDeploymentGroupName(v string) *CreateDeploymentInput

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (*CreateDeploymentInput) SetDescription added in v1.5.0

func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput

SetDescription sets the Description field's value.

func (*CreateDeploymentInput) SetFileExistsBehavior added in v1.8.24

func (s *CreateDeploymentInput) SetFileExistsBehavior(v string) *CreateDeploymentInput

SetFileExistsBehavior sets the FileExistsBehavior field's value.

func (*CreateDeploymentInput) SetIgnoreApplicationStopFailures added in v1.5.0

func (s *CreateDeploymentInput) SetIgnoreApplicationStopFailures(v bool) *CreateDeploymentInput

SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value.

func (*CreateDeploymentInput) SetRevision added in v1.5.0

SetRevision sets the Revision field's value.

func (*CreateDeploymentInput) SetTargetInstances added in v1.6.18

func (s *CreateDeploymentInput) SetTargetInstances(v *TargetInstances) *CreateDeploymentInput

SetTargetInstances sets the TargetInstances field's value.

func (*CreateDeploymentInput) SetUpdateOutdatedInstancesOnly added in v1.5.0

func (s *CreateDeploymentInput) SetUpdateOutdatedInstancesOnly(v bool) *CreateDeploymentInput

SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value.

func (CreateDeploymentInput) String added in v0.6.5

func (s CreateDeploymentInput) String() string

String returns the string representation

func (*CreateDeploymentInput) Validate added in v1.1.21

func (s *CreateDeploymentInput) Validate() error

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

type CreateDeploymentOutput

type CreateDeploymentOutput struct {

	// A unique deployment ID.
	DeploymentId *string `locationName:"deploymentId" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a CreateDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentOutput

func (CreateDeploymentOutput) GoString added in v0.6.5

func (s CreateDeploymentOutput) GoString() string

GoString returns the string representation

func (*CreateDeploymentOutput) SetDeploymentId added in v1.5.0

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

SetDeploymentId sets the DeploymentId field's value.

func (CreateDeploymentOutput) String added in v0.6.5

func (s CreateDeploymentOutput) String() string

String returns the string representation

type DeleteApplicationInput

type DeleteApplicationInput struct {

	// The name of an AWS CodeDeploy application associated with the applicable
	// IAM user or AWS account.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a DeleteApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationInput

func (DeleteApplicationInput) GoString added in v0.6.5

func (s DeleteApplicationInput) GoString() string

GoString returns the string representation

func (*DeleteApplicationInput) SetApplicationName added in v1.5.0

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

SetApplicationName sets the ApplicationName field's value.

func (DeleteApplicationInput) String added in v0.6.5

func (s DeleteApplicationInput) String() string

String returns the string representation

func (*DeleteApplicationInput) Validate added in v1.1.21

func (s *DeleteApplicationInput) Validate() error

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

type DeleteApplicationOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationOutput

func (DeleteApplicationOutput) GoString added in v0.6.5

func (s DeleteApplicationOutput) GoString() string

GoString returns the string representation

func (DeleteApplicationOutput) String added in v0.6.5

func (s DeleteApplicationOutput) String() string

String returns the string representation

type DeleteDeploymentConfigInput

type DeleteDeploymentConfigInput struct {

	// The name of a deployment configuration associated with the applicable IAM
	// user or AWS account.
	//
	// DeploymentConfigName is a required field
	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a DeleteDeploymentConfig operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigInput

func (DeleteDeploymentConfigInput) GoString added in v0.6.5

func (s DeleteDeploymentConfigInput) GoString() string

GoString returns the string representation

func (*DeleteDeploymentConfigInput) SetDeploymentConfigName added in v1.5.0

func (s *DeleteDeploymentConfigInput) SetDeploymentConfigName(v string) *DeleteDeploymentConfigInput

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (DeleteDeploymentConfigInput) String added in v0.6.5

String returns the string representation

func (*DeleteDeploymentConfigInput) Validate added in v1.1.21

func (s *DeleteDeploymentConfigInput) Validate() error

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

type DeleteDeploymentConfigOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigOutput

func (DeleteDeploymentConfigOutput) GoString added in v0.6.5

func (s DeleteDeploymentConfigOutput) GoString() string

GoString returns the string representation

func (DeleteDeploymentConfigOutput) String added in v0.6.5

String returns the string representation

type DeleteDeploymentGroupInput

type DeleteDeploymentGroupInput struct {

	// The name of an AWS CodeDeploy application associated with the applicable
	// IAM user or AWS account.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`

	// The name of an existing deployment group for the specified application.
	//
	// DeploymentGroupName is a required field
	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a DeleteDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupInput

func (DeleteDeploymentGroupInput) GoString added in v0.6.5

func (s DeleteDeploymentGroupInput) GoString() string

GoString returns the string representation

func (*DeleteDeploymentGroupInput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*DeleteDeploymentGroupInput) SetDeploymentGroupName added in v1.5.0

func (s *DeleteDeploymentGroupInput) SetDeploymentGroupName(v string) *DeleteDeploymentGroupInput

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (DeleteDeploymentGroupInput) String added in v0.6.5

String returns the string representation

func (*DeleteDeploymentGroupInput) Validate added in v1.1.21

func (s *DeleteDeploymentGroupInput) Validate() error

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

type DeleteDeploymentGroupOutput

type DeleteDeploymentGroupOutput struct {

	// If the output contains no data, and the corresponding deployment group contained
	// at least one Auto Scaling group, AWS CodeDeploy successfully removed all
	// corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances
	// in the Auto Scaling group. If the output contains data, AWS CodeDeploy could
	// not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances
	// in the Auto Scaling group.
	HooksNotCleanedUp []*AutoScalingGroup `locationName:"hooksNotCleanedUp" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a DeleteDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupOutput

func (DeleteDeploymentGroupOutput) GoString added in v0.6.5

func (s DeleteDeploymentGroupOutput) GoString() string

GoString returns the string representation

func (*DeleteDeploymentGroupOutput) SetHooksNotCleanedUp added in v1.5.0

SetHooksNotCleanedUp sets the HooksNotCleanedUp field's value.

func (DeleteDeploymentGroupOutput) String added in v0.6.5

String returns the string representation

type DeploymentConfigInfo

type DeploymentConfigInfo struct {

	// The time at which the deployment configuration was created.
	CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"`

	// The deployment configuration ID.
	DeploymentConfigId *string `locationName:"deploymentConfigId" type:"string"`

	// The deployment configuration name.
	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`

	// Information about the number or percentage of minimum healthy instance.
	MinimumHealthyHosts *MinimumHealthyHosts `locationName:"minimumHealthyHosts" type:"structure"`
	// contains filtered or unexported fields
}

Information about a deployment configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigInfo

func (DeploymentConfigInfo) GoString added in v0.6.5

func (s DeploymentConfigInfo) GoString() string

GoString returns the string representation

func (*DeploymentConfigInfo) SetCreateTime added in v1.5.0

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

SetCreateTime sets the CreateTime field's value.

func (*DeploymentConfigInfo) SetDeploymentConfigId added in v1.5.0

func (s *DeploymentConfigInfo) SetDeploymentConfigId(v string) *DeploymentConfigInfo

SetDeploymentConfigId sets the DeploymentConfigId field's value.

func (*DeploymentConfigInfo) SetDeploymentConfigName added in v1.5.0

func (s *DeploymentConfigInfo) SetDeploymentConfigName(v string) *DeploymentConfigInfo

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*DeploymentConfigInfo) SetMinimumHealthyHosts added in v1.5.0

func (s *DeploymentConfigInfo) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *DeploymentConfigInfo

SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value.

func (DeploymentConfigInfo) String added in v0.6.5

func (s DeploymentConfigInfo) String() string

String returns the string representation

type DeploymentGroupInfo

type DeploymentGroupInfo struct {

	// A list of alarms associated with the deployment group.
	AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"`

	// The application name.
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`

	// Information about the automatic rollback configuration associated with the
	// deployment group.
	AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`

	// A list of associated Auto Scaling groups.
	AutoScalingGroups []*AutoScalingGroup `locationName:"autoScalingGroups" type:"list"`

	// Information about blue/green deployment options for a deployment group.
	BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"`

	// The 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.
	Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" 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.
	OnPremisesInstanceTagFilters []*TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"`

	// A service role ARN.
	ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`

	// Information about the deployment group's target revision, including type
	// and location.
	TargetRevision *RevisionLocation `locationName:"targetRevision" type:"structure"`

	// Information about triggers associated with the deployment group.
	TriggerConfigurations []*TriggerConfig `locationName:"triggerConfigurations" type:"list"`
	// contains filtered or unexported fields
}

Information about a deployment group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupInfo

func (DeploymentGroupInfo) GoString added in v0.6.5

func (s DeploymentGroupInfo) GoString() string

GoString returns the string representation

func (*DeploymentGroupInfo) SetAlarmConfiguration added in v1.5.0

func (s *DeploymentGroupInfo) SetAlarmConfiguration(v *AlarmConfiguration) *DeploymentGroupInfo

SetAlarmConfiguration sets the AlarmConfiguration field's value.

func (*DeploymentGroupInfo) SetApplicationName added in v1.5.0

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

SetApplicationName sets the ApplicationName field's value.

func (*DeploymentGroupInfo) SetAutoRollbackConfiguration added in v1.5.0

func (s *DeploymentGroupInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentGroupInfo

SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.

func (*DeploymentGroupInfo) SetAutoScalingGroups added in v1.5.0

func (s *DeploymentGroupInfo) SetAutoScalingGroups(v []*AutoScalingGroup) *DeploymentGroupInfo

SetAutoScalingGroups sets the AutoScalingGroups field's value.

func (*DeploymentGroupInfo) SetBlueGreenDeploymentConfiguration added in v1.6.18

func (s *DeploymentGroupInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentGroupInfo

SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.

func (*DeploymentGroupInfo) SetDeploymentConfigName added in v1.5.0

func (s *DeploymentGroupInfo) SetDeploymentConfigName(v string) *DeploymentGroupInfo

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*DeploymentGroupInfo) SetDeploymentGroupId added in v1.5.0

func (s *DeploymentGroupInfo) SetDeploymentGroupId(v string) *DeploymentGroupInfo

SetDeploymentGroupId sets the DeploymentGroupId field's value.

func (*DeploymentGroupInfo) SetDeploymentGroupName added in v1.5.0

func (s *DeploymentGroupInfo) SetDeploymentGroupName(v string) *DeploymentGroupInfo

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (*DeploymentGroupInfo) SetDeploymentStyle added in v1.6.18

func (s *DeploymentGroupInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentGroupInfo

SetDeploymentStyle sets the DeploymentStyle field's value.

func (*DeploymentGroupInfo) SetEc2TagFilters added in v1.5.0

func (s *DeploymentGroupInfo) SetEc2TagFilters(v []*EC2TagFilter) *DeploymentGroupInfo

SetEc2TagFilters sets the Ec2TagFilters field's value.

func (*DeploymentGroupInfo) SetLastAttemptedDeployment added in v1.8.33

func (s *DeploymentGroupInfo) SetLastAttemptedDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo

SetLastAttemptedDeployment sets the LastAttemptedDeployment field's value.

func (*DeploymentGroupInfo) SetLastSuccessfulDeployment added in v1.8.33

func (s *DeploymentGroupInfo) SetLastSuccessfulDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo

SetLastSuccessfulDeployment sets the LastSuccessfulDeployment field's value.

func (*DeploymentGroupInfo) SetLoadBalancerInfo added in v1.6.18

func (s *DeploymentGroupInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentGroupInfo

SetLoadBalancerInfo sets the LoadBalancerInfo field's value.

func (*DeploymentGroupInfo) SetOnPremisesInstanceTagFilters added in v1.5.0

func (s *DeploymentGroupInfo) SetOnPremisesInstanceTagFilters(v []*TagFilter) *DeploymentGroupInfo

SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.

func (*DeploymentGroupInfo) SetServiceRoleArn added in v1.5.0

func (s *DeploymentGroupInfo) SetServiceRoleArn(v string) *DeploymentGroupInfo

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*DeploymentGroupInfo) SetTargetRevision added in v1.5.0

func (s *DeploymentGroupInfo) SetTargetRevision(v *RevisionLocation) *DeploymentGroupInfo

SetTargetRevision sets the TargetRevision field's value.

func (*DeploymentGroupInfo) SetTriggerConfigurations added in v1.5.0

func (s *DeploymentGroupInfo) SetTriggerConfigurations(v []*TriggerConfig) *DeploymentGroupInfo

SetTriggerConfigurations sets the TriggerConfigurations field's value.

func (DeploymentGroupInfo) String added in v0.6.5

func (s DeploymentGroupInfo) String() string

String returns the string representation

type DeploymentInfo

type DeploymentInfo struct {

	// Provides information about the results of a deployment, such as whether instances
	// in the original environment in a blue/green deployment were not terminated.
	AdditionalDeploymentStatusInfo *string `locationName:"additionalDeploymentStatusInfo" type:"string"`

	// The application name.
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`

	// Information about the automatic rollback configuration associated with the
	// deployment.
	AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`

	// Information about blue/green deployment options for this deployment.
	BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"`

	// A timestamp indicating when the deployment was complete.
	CompleteTime *time.Time `locationName:"completeTime" type:"timestamp" timestampFormat:"unix"`

	// A timestamp indicating when the deployment was created.
	CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"`

	// The means by which the deployment was created:
	//
	//    * user: A user created the deployment.
	//
	//    * autoscaling: Auto Scaling created the deployment.
	//
	//    * codeDeployRollback: A rollback process created the deployment.
	Creator *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 deployment ID.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// A summary of the deployment status of the instances in the deployment.
	DeploymentOverview *DeploymentOverview `locationName:"deploymentOverview" type:"structure"`

	// 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 the deployment causes the ApplicationStop deployment lifecycle
	// event to an instance to fail, the deployment to that instance will not be
	// considered to have failed at that point and will continue on to the BeforeInstall
	// deployment lifecycle event.
	//
	// If false or not specified, then if the deployment causes the ApplicationStop
	// deployment lifecycle event to an instance to fail, the deployment to that
	// instance will stop, and the deployment to that instance will be considered
	// to have failed.
	IgnoreApplicationStopFailures *bool `locationName:"ignoreApplicationStopFailures" type:"boolean"`

	// Indicates whether the wait period set for the termination of instances in
	// the original environment has started. Status is 'false' if the KEEP_ALIVE
	// option is specified; otherwise, 'true' as soon as the termination wait period
	// starts.
	InstanceTerminationWaitTimeStarted *bool `locationName:"instanceTerminationWaitTimeStarted" type:"boolean"`

	// Information about the load balancer used in the deployment.
	LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"`

	// Information about the application revision that was deployed to the deployment
	// group before the most recent successful deployment.
	PreviousRevision *RevisionLocation `locationName:"previousRevision" type:"structure"`

	// Information about the location of stored application artifacts and the service
	// from which to retrieve them.
	Revision *RevisionLocation `locationName:"revision" type:"structure"`

	// Information about a deployment rollback.
	RollbackInfo *RollbackInfo `locationName:"rollbackInfo" type:"structure"`

	// A timestamp indicating when the deployment was deployed to the deployment
	// group.
	//
	// In some cases, the reported value of the start time may be later than the
	// complete time. This is due to differences in the clock settings of back-end
	// servers that participate in the deployment process.
	StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"`

	// The current state of the deployment as a whole.
	Status *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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo

func (DeploymentInfo) GoString added in v0.6.5

func (s DeploymentInfo) GoString() string

GoString returns the string representation

func (*DeploymentInfo) SetAdditionalDeploymentStatusInfo added in v1.6.18

func (s *DeploymentInfo) SetAdditionalDeploymentStatusInfo(v string) *DeploymentInfo

SetAdditionalDeploymentStatusInfo sets the AdditionalDeploymentStatusInfo field's value.

func (*DeploymentInfo) SetApplicationName added in v1.5.0

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

SetApplicationName sets the ApplicationName field's value.

func (*DeploymentInfo) SetAutoRollbackConfiguration added in v1.5.0

func (s *DeploymentInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentInfo

SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.

func (*DeploymentInfo) SetBlueGreenDeploymentConfiguration added in v1.6.18

func (s *DeploymentInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentInfo

SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.

func (*DeploymentInfo) SetCompleteTime added in v1.5.0

func (s *DeploymentInfo) SetCompleteTime(v time.Time) *DeploymentInfo

SetCompleteTime sets the CompleteTime field's value.

func (*DeploymentInfo) SetCreateTime added in v1.5.0

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

SetCreateTime sets the CreateTime field's value.

func (*DeploymentInfo) SetCreator added in v1.5.0

func (s *DeploymentInfo) SetCreator(v string) *DeploymentInfo

SetCreator sets the Creator field's value.

func (*DeploymentInfo) SetDeploymentConfigName added in v1.5.0

func (s *DeploymentInfo) SetDeploymentConfigName(v string) *DeploymentInfo

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*DeploymentInfo) SetDeploymentGroupName added in v1.5.0

func (s *DeploymentInfo) SetDeploymentGroupName(v string) *DeploymentInfo

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (*DeploymentInfo) SetDeploymentId added in v1.5.0

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

SetDeploymentId sets the DeploymentId field's value.

func (*DeploymentInfo) SetDeploymentOverview added in v1.5.0

func (s *DeploymentInfo) SetDeploymentOverview(v *DeploymentOverview) *DeploymentInfo

SetDeploymentOverview sets the DeploymentOverview field's value.

func (*DeploymentInfo) SetDeploymentStyle added in v1.6.18

func (s *DeploymentInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentInfo

SetDeploymentStyle sets the DeploymentStyle field's value.

func (*DeploymentInfo) SetDescription added in v1.5.0

func (s *DeploymentInfo) SetDescription(v string) *DeploymentInfo

SetDescription sets the Description field's value.

func (*DeploymentInfo) SetErrorInformation added in v1.5.0

func (s *DeploymentInfo) SetErrorInformation(v *ErrorInformation) *DeploymentInfo

SetErrorInformation sets the ErrorInformation field's value.

func (*DeploymentInfo) SetFileExistsBehavior added in v1.8.24

func (s *DeploymentInfo) SetFileExistsBehavior(v string) *DeploymentInfo

SetFileExistsBehavior sets the FileExistsBehavior field's value.

func (*DeploymentInfo) SetIgnoreApplicationStopFailures added in v1.5.0

func (s *DeploymentInfo) SetIgnoreApplicationStopFailures(v bool) *DeploymentInfo

SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value.

func (*DeploymentInfo) SetInstanceTerminationWaitTimeStarted added in v1.6.18

func (s *DeploymentInfo) SetInstanceTerminationWaitTimeStarted(v bool) *DeploymentInfo

SetInstanceTerminationWaitTimeStarted sets the InstanceTerminationWaitTimeStarted field's value.

func (*DeploymentInfo) SetLoadBalancerInfo added in v1.6.18

func (s *DeploymentInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentInfo

SetLoadBalancerInfo sets the LoadBalancerInfo field's value.

func (*DeploymentInfo) SetPreviousRevision added in v1.8.24

func (s *DeploymentInfo) SetPreviousRevision(v *RevisionLocation) *DeploymentInfo

SetPreviousRevision sets the PreviousRevision field's value.

func (*DeploymentInfo) SetRevision added in v1.5.0

func (s *DeploymentInfo) SetRevision(v *RevisionLocation) *DeploymentInfo

SetRevision sets the Revision field's value.

func (*DeploymentInfo) SetRollbackInfo added in v1.5.0

func (s *DeploymentInfo) SetRollbackInfo(v *RollbackInfo) *DeploymentInfo

SetRollbackInfo sets the RollbackInfo field's value.

func (*DeploymentInfo) SetStartTime added in v1.5.0

func (s *DeploymentInfo) SetStartTime(v time.Time) *DeploymentInfo

SetStartTime sets the StartTime field's value.

func (*DeploymentInfo) SetStatus added in v1.5.0

func (s *DeploymentInfo) SetStatus(v string) *DeploymentInfo

SetStatus sets the Status field's value.

func (*DeploymentInfo) SetTargetInstances added in v1.6.18

func (s *DeploymentInfo) SetTargetInstances(v *TargetInstances) *DeploymentInfo

SetTargetInstances sets the TargetInstances field's value.

func (*DeploymentInfo) SetUpdateOutdatedInstancesOnly added in v1.5.0

func (s *DeploymentInfo) SetUpdateOutdatedInstancesOnly(v bool) *DeploymentInfo

SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value.

func (DeploymentInfo) String added in v0.6.5

func (s DeploymentInfo) String() string

String returns the string representation

type DeploymentOverview

type DeploymentOverview struct {

	// The number of instances in the deployment in a failed state.
	Failed *int64 `type:"long"`

	// The number of instances in which the deployment is in progress.
	InProgress *int64 `type:"long"`

	// The number of instances in the deployment in a pending state.
	Pending *int64 `type:"long"`

	// The number of instances in a replacement environment ready to receive traffic
	// in a blue/green deployment.
	Ready *int64 `type:"long"`

	// The number of instances in the deployment in a skipped state.
	Skipped *int64 `type:"long"`

	// The number of instances in the deployment to which revisions have been successfully
	// deployed.
	Succeeded *int64 `type:"long"`
	// contains filtered or unexported fields
}

Information about the deployment status of the instances in the deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentOverview

func (DeploymentOverview) GoString added in v0.6.5

func (s DeploymentOverview) GoString() string

GoString returns the string representation

func (*DeploymentOverview) SetFailed added in v1.5.0

func (s *DeploymentOverview) SetFailed(v int64) *DeploymentOverview

SetFailed sets the Failed field's value.

func (*DeploymentOverview) SetInProgress added in v1.5.0

func (s *DeploymentOverview) SetInProgress(v int64) *DeploymentOverview

SetInProgress sets the InProgress field's value.

func (*DeploymentOverview) SetPending added in v1.5.0

func (s *DeploymentOverview) SetPending(v int64) *DeploymentOverview

SetPending sets the Pending field's value.

func (*DeploymentOverview) SetReady added in v1.6.18

SetReady sets the Ready field's value.

func (*DeploymentOverview) SetSkipped added in v1.5.0

func (s *DeploymentOverview) SetSkipped(v int64) *DeploymentOverview

SetSkipped sets the Skipped field's value.

func (*DeploymentOverview) SetSucceeded added in v1.5.0

func (s *DeploymentOverview) SetSucceeded(v int64) *DeploymentOverview

SetSucceeded sets the Succeeded field's value.

func (DeploymentOverview) String added in v0.6.5

func (s DeploymentOverview) String() string

String returns the string representation

type DeploymentReadyOption added in v1.6.18

type DeploymentReadyOption struct {

	// Information about when to reroute traffic from an original environment to
	// a replacement environment in a blue/green deployment.
	//
	//    * CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately
	//    after the new application revision is installed on the instances in the
	//    replacement environment.
	//
	//    * STOP_DEPLOYMENT: Do not register new instances with load balancer unless
	//    traffic is rerouted manually. If traffic is not rerouted manually before
	//    the end of the specified wait period, the deployment status is changed
	//    to Stopped.
	ActionOnTimeout *string `locationName:"actionOnTimeout" type:"string" enum:"DeploymentReadyAction"`

	// The number of minutes to wait before the status of a blue/green deployment
	// changed to Stopped if rerouting is not started manually. Applies only to
	// the STOP_DEPLOYMENT option for actionOnTimeout
	WaitTimeInMinutes *int64 `locationName:"waitTimeInMinutes" type:"integer"`
	// contains filtered or unexported fields
}

Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentReadyOption

func (DeploymentReadyOption) GoString added in v1.6.18

func (s DeploymentReadyOption) GoString() string

GoString returns the string representation

func (*DeploymentReadyOption) SetActionOnTimeout added in v1.6.18

func (s *DeploymentReadyOption) SetActionOnTimeout(v string) *DeploymentReadyOption

SetActionOnTimeout sets the ActionOnTimeout field's value.

func (*DeploymentReadyOption) SetWaitTimeInMinutes added in v1.6.18

func (s *DeploymentReadyOption) SetWaitTimeInMinutes(v int64) *DeploymentReadyOption

SetWaitTimeInMinutes sets the WaitTimeInMinutes field's value.

func (DeploymentReadyOption) String added in v1.6.18

func (s DeploymentReadyOption) String() string

String returns the string representation

type DeploymentStyle added in v1.6.18

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentStyle

func (DeploymentStyle) GoString added in v1.6.18

func (s DeploymentStyle) GoString() string

GoString returns the string representation

func (*DeploymentStyle) SetDeploymentOption added in v1.6.18

func (s *DeploymentStyle) SetDeploymentOption(v string) *DeploymentStyle

SetDeploymentOption sets the DeploymentOption field's value.

func (*DeploymentStyle) SetDeploymentType added in v1.6.18

func (s *DeploymentStyle) SetDeploymentType(v string) *DeploymentStyle

SetDeploymentType sets the DeploymentType field's value.

func (DeploymentStyle) String added in v1.6.18

func (s DeploymentStyle) String() string

String returns the string representation

type DeregisterOnPremisesInstanceInput

type DeregisterOnPremisesInstanceInput struct {

	// The name of the on-premises instance to deregister.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a DeregisterOnPremisesInstance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceInput

func (DeregisterOnPremisesInstanceInput) GoString added in v0.6.5

GoString returns the string representation

func (*DeregisterOnPremisesInstanceInput) SetInstanceName added in v1.5.0

SetInstanceName sets the InstanceName field's value.

func (DeregisterOnPremisesInstanceInput) String added in v0.6.5

String returns the string representation

func (*DeregisterOnPremisesInstanceInput) Validate added in v1.1.21

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

type DeregisterOnPremisesInstanceOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceOutput

func (DeregisterOnPremisesInstanceOutput) GoString added in v0.6.5

GoString returns the string representation

func (DeregisterOnPremisesInstanceOutput) String added in v0.6.5

String returns the string representation

type Diagnostics

type Diagnostics struct {

	// The associated error code:
	//
	//    * Success: The specified script ran.
	//
	//    * ScriptMissing: The specified script was not found in the specified location.
	//
	//    * ScriptNotExecutable: The specified script is not a recognized executable
	//    file type.
	//
	//    * ScriptTimedOut: The specified script did not finish running in the specified
	//    time period.
	//
	//    * ScriptFailed: The specified script failed to run as expected.
	//
	//    * UnknownError: The specified script did not run for an unknown reason.
	ErrorCode *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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Diagnostics

func (Diagnostics) GoString added in v0.6.5

func (s Diagnostics) GoString() string

GoString returns the string representation

func (*Diagnostics) SetErrorCode added in v1.5.0

func (s *Diagnostics) SetErrorCode(v string) *Diagnostics

SetErrorCode sets the ErrorCode field's value.

func (*Diagnostics) SetLogTail added in v1.5.0

func (s *Diagnostics) SetLogTail(v string) *Diagnostics

SetLogTail sets the LogTail field's value.

func (*Diagnostics) SetMessage added in v1.5.0

func (s *Diagnostics) SetMessage(v string) *Diagnostics

SetMessage sets the Message field's value.

func (*Diagnostics) SetScriptName added in v1.5.0

func (s *Diagnostics) SetScriptName(v string) *Diagnostics

SetScriptName sets the ScriptName field's value.

func (Diagnostics) String added in v0.6.5

func (s Diagnostics) String() string

String returns the string representation

type EC2TagFilter

type EC2TagFilter struct {

	// The tag filter key.
	Key *string `type:"string"`

	// The tag filter type:
	//
	//    * KEY_ONLY: Key only.
	//
	//    * VALUE_ONLY: Value only.
	//
	//    * KEY_AND_VALUE: Key and value.
	Type *string `type:"string" enum:"EC2TagFilterType"`

	// The tag filter value.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Information about an EC2 tag filter. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2TagFilter

func (EC2TagFilter) GoString added in v0.6.5

func (s EC2TagFilter) GoString() string

GoString returns the string representation

func (*EC2TagFilter) SetKey added in v1.5.0

func (s *EC2TagFilter) SetKey(v string) *EC2TagFilter

SetKey sets the Key field's value.

func (*EC2TagFilter) SetType added in v1.5.0

func (s *EC2TagFilter) SetType(v string) *EC2TagFilter

SetType sets the Type field's value.

func (*EC2TagFilter) SetValue added in v1.5.0

func (s *EC2TagFilter) SetValue(v string) *EC2TagFilter

SetValue sets the Value field's value.

func (EC2TagFilter) String added in v0.6.5

func (s EC2TagFilter) String() string

String returns the string representation

type ELBInfo added in v1.6.18

type ELBInfo struct {

	// For blue/green deployments, the name of the load balancer that will be used
	// to route traffic from original instances to replacement instances in a blue/green
	// deployment. For in-place deployments, the name of the load balancer that
	// instances are deregistered from so they are not serving traffic during a
	// deployment, and then re-registered with after the deployment completes.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Information about a load balancer in Elastic Load Balancing to use in a deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ELBInfo

func (ELBInfo) GoString added in v1.6.18

func (s ELBInfo) GoString() string

GoString returns the string representation

func (*ELBInfo) SetName added in v1.6.18

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

SetName sets the Name field's value.

func (ELBInfo) String added in v1.6.18

func (s ELBInfo) String() string

String returns the string representation

type ErrorInformation

type ErrorInformation struct {

	// For information about additional error codes, see Error Codes for AWS CodeDeploy
	// (http://docs.aws.amazon.com/codedeploy/latest/userguide/error-codes.html)
	// in the AWS CodeDeploy User Guide (http://docs.aws.amazon.com/codedeploy/latest/userguide).
	//
	// The error code:
	//
	//    * APPLICATION_MISSING: The application was missing. This error code will
	//    most likely be raised if the application is deleted after the deployment
	//    is created but before it is started.
	//
	//    * DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error
	//    code will most likely be raised if the deployment group is deleted after
	//    the deployment is created but before it is started.
	//
	//    * HEALTH_CONSTRAINTS: The deployment failed on too many instances to be
	//    successfully deployed within the instance health constraints specified.
	//
	//    * HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed
	//    within the instance health constraints specified.
	//
	//    * IAM_ROLE_MISSING: The service role cannot be accessed.
	//
	//    * IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions.
	//
	//    * INTERNAL_ERROR: There was an internal error.
	//
	//    * NO_EC2_SUBSCRIPTION: The calling account is not subscribed to the Amazon
	//    EC2 service.
	//
	//    * NO_INSTANCES: No instance were specified, or no instance can be found.
	//
	//    * OVER_MAX_INSTANCES: The maximum number of instance was exceeded.
	//
	//    * THROTTLED: The operation was throttled because the calling account exceeded
	//    the throttling limits of one or more AWS services.
	//
	//    * TIMEOUT: The deployment has timed out.
	//
	//    * REVISION_MISSING: The revision ID was missing. This error code will
	//    most likely be raised if the revision is deleted after the deployment
	//    is created but before it is started.
	Code *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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ErrorInformation

func (ErrorInformation) GoString added in v0.6.5

func (s ErrorInformation) GoString() string

GoString returns the string representation

func (*ErrorInformation) SetCode added in v1.5.0

func (s *ErrorInformation) SetCode(v string) *ErrorInformation

SetCode sets the Code field's value.

func (*ErrorInformation) SetMessage added in v1.5.0

func (s *ErrorInformation) SetMessage(v string) *ErrorInformation

SetMessage sets the Message field's value.

func (ErrorInformation) String added in v0.6.5

func (s ErrorInformation) String() string

String returns the string representation

type GenericRevisionInfo

type GenericRevisionInfo struct {

	// The deployment groups for which this is the current target revision.
	DeploymentGroups []*string `locationName:"deploymentGroups" type:"list"`

	// A comment about the revision.
	Description *string `locationName:"description" type:"string"`

	// When the revision was first used by AWS CodeDeploy.
	FirstUsedTime *time.Time `locationName:"firstUsedTime" type:"timestamp" timestampFormat:"unix"`

	// When the revision was last used by AWS CodeDeploy.
	LastUsedTime *time.Time `locationName:"lastUsedTime" type:"timestamp" timestampFormat:"unix"`

	// When the revision was registered with AWS CodeDeploy.
	RegisterTime *time.Time `locationName:"registerTime" type:"timestamp" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

Information about an application revision. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GenericRevisionInfo

func (GenericRevisionInfo) GoString added in v0.6.5

func (s GenericRevisionInfo) GoString() string

GoString returns the string representation

func (*GenericRevisionInfo) SetDeploymentGroups added in v1.5.0

func (s *GenericRevisionInfo) SetDeploymentGroups(v []*string) *GenericRevisionInfo

SetDeploymentGroups sets the DeploymentGroups field's value.

func (*GenericRevisionInfo) SetDescription added in v1.5.0

func (s *GenericRevisionInfo) SetDescription(v string) *GenericRevisionInfo

SetDescription sets the Description field's value.

func (*GenericRevisionInfo) SetFirstUsedTime added in v1.5.0

func (s *GenericRevisionInfo) SetFirstUsedTime(v time.Time) *GenericRevisionInfo

SetFirstUsedTime sets the FirstUsedTime field's value.

func (*GenericRevisionInfo) SetLastUsedTime added in v1.5.0

func (s *GenericRevisionInfo) SetLastUsedTime(v time.Time) *GenericRevisionInfo

SetLastUsedTime sets the LastUsedTime field's value.

func (*GenericRevisionInfo) SetRegisterTime added in v1.5.0

func (s *GenericRevisionInfo) SetRegisterTime(v time.Time) *GenericRevisionInfo

SetRegisterTime sets the RegisterTime field's value.

func (GenericRevisionInfo) String added in v0.6.5

func (s GenericRevisionInfo) String() string

String returns the string representation

type GetApplicationInput

type GetApplicationInput struct {

	// The name of an AWS CodeDeploy application associated with the applicable
	// IAM user or AWS account.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a GetApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationInput

func (GetApplicationInput) GoString added in v0.6.5

func (s GetApplicationInput) GoString() string

GoString returns the string representation

func (*GetApplicationInput) SetApplicationName added in v1.5.0

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

SetApplicationName sets the ApplicationName field's value.

func (GetApplicationInput) String added in v0.6.5

func (s GetApplicationInput) String() string

String returns the string representation

func (*GetApplicationInput) Validate added in v1.1.21

func (s *GetApplicationInput) Validate() error

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

type GetApplicationOutput

type GetApplicationOutput struct {

	// Information about the application.
	Application *ApplicationInfo `locationName:"application" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a GetApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationOutput

func (GetApplicationOutput) GoString added in v0.6.5

func (s GetApplicationOutput) GoString() string

GoString returns the string representation

func (*GetApplicationOutput) SetApplication added in v1.5.0

SetApplication sets the Application field's value.

func (GetApplicationOutput) String added in v0.6.5

func (s GetApplicationOutput) String() string

String returns the string representation

type GetApplicationRevisionInput

type GetApplicationRevisionInput struct {

	// The name of the application that corresponds to the revision.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`

	// Information about the application revision to get, including type and location.
	//
	// Revision is a required field
	Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a GetApplicationRevision operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionInput

func (GetApplicationRevisionInput) GoString added in v0.6.5

func (s GetApplicationRevisionInput) GoString() string

GoString returns the string representation

func (*GetApplicationRevisionInput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*GetApplicationRevisionInput) SetRevision added in v1.5.0

SetRevision sets the Revision field's value.

func (GetApplicationRevisionInput) String added in v0.6.5

String returns the string representation

func (*GetApplicationRevisionInput) Validate added in v1.1.21

func (s *GetApplicationRevisionInput) Validate() error

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

type GetApplicationRevisionOutput

type GetApplicationRevisionOutput struct {

	// The name of the application that corresponds to the revision.
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`

	// Additional information about the revision, including type and location.
	Revision *RevisionLocation `locationName:"revision" type:"structure"`

	// General information about the revision.
	RevisionInfo *GenericRevisionInfo `locationName:"revisionInfo" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a GetApplicationRevision operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionOutput

func (GetApplicationRevisionOutput) GoString added in v0.6.5

func (s GetApplicationRevisionOutput) GoString() string

GoString returns the string representation

func (*GetApplicationRevisionOutput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*GetApplicationRevisionOutput) SetRevision added in v1.5.0

SetRevision sets the Revision field's value.

func (*GetApplicationRevisionOutput) SetRevisionInfo added in v1.5.0

SetRevisionInfo sets the RevisionInfo field's value.

func (GetApplicationRevisionOutput) String added in v0.6.5

String returns the string representation

type GetDeploymentConfigInput

type GetDeploymentConfigInput struct {

	// The name of a deployment configuration associated with the applicable IAM
	// user or AWS account.
	//
	// DeploymentConfigName is a required field
	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a GetDeploymentConfig operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigInput

func (GetDeploymentConfigInput) GoString added in v0.6.5

func (s GetDeploymentConfigInput) GoString() string

GoString returns the string representation

func (*GetDeploymentConfigInput) SetDeploymentConfigName added in v1.5.0

func (s *GetDeploymentConfigInput) SetDeploymentConfigName(v string) *GetDeploymentConfigInput

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (GetDeploymentConfigInput) String added in v0.6.5

func (s GetDeploymentConfigInput) String() string

String returns the string representation

func (*GetDeploymentConfigInput) Validate added in v1.1.21

func (s *GetDeploymentConfigInput) Validate() error

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

type GetDeploymentConfigOutput

type GetDeploymentConfigOutput struct {

	// Information about the deployment configuration.
	DeploymentConfigInfo *DeploymentConfigInfo `locationName:"deploymentConfigInfo" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a GetDeploymentConfig operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigOutput

func (GetDeploymentConfigOutput) GoString added in v0.6.5

func (s GetDeploymentConfigOutput) GoString() string

GoString returns the string representation

func (*GetDeploymentConfigOutput) SetDeploymentConfigInfo added in v1.5.0

SetDeploymentConfigInfo sets the DeploymentConfigInfo field's value.

func (GetDeploymentConfigOutput) String added in v0.6.5

func (s GetDeploymentConfigOutput) String() string

String returns the string representation

type GetDeploymentGroupInput

type GetDeploymentGroupInput struct {

	// The name of an AWS CodeDeploy application associated with the applicable
	// IAM user or AWS account.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`

	// The name of an existing deployment group for the specified application.
	//
	// DeploymentGroupName is a required field
	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a GetDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupInput

func (GetDeploymentGroupInput) GoString added in v0.6.5

func (s GetDeploymentGroupInput) GoString() string

GoString returns the string representation

func (*GetDeploymentGroupInput) SetApplicationName added in v1.5.0

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

SetApplicationName sets the ApplicationName field's value.

func (*GetDeploymentGroupInput) SetDeploymentGroupName added in v1.5.0

func (s *GetDeploymentGroupInput) SetDeploymentGroupName(v string) *GetDeploymentGroupInput

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (GetDeploymentGroupInput) String added in v0.6.5

func (s GetDeploymentGroupInput) String() string

String returns the string representation

func (*GetDeploymentGroupInput) Validate added in v1.1.21

func (s *GetDeploymentGroupInput) Validate() error

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

type GetDeploymentGroupOutput

type GetDeploymentGroupOutput struct {

	// Information about the deployment group.
	DeploymentGroupInfo *DeploymentGroupInfo `locationName:"deploymentGroupInfo" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a GetDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupOutput

func (GetDeploymentGroupOutput) GoString added in v0.6.5

func (s GetDeploymentGroupOutput) GoString() string

GoString returns the string representation

func (*GetDeploymentGroupOutput) SetDeploymentGroupInfo added in v1.5.0

SetDeploymentGroupInfo sets the DeploymentGroupInfo field's value.

func (GetDeploymentGroupOutput) String added in v0.6.5

func (s GetDeploymentGroupOutput) String() string

String returns the string representation

type GetDeploymentInput

type GetDeploymentInput struct {

	// A deployment ID associated with the applicable IAM user or AWS account.
	//
	// DeploymentId is a required field
	DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a GetDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInput

func (GetDeploymentInput) GoString added in v0.6.5

func (s GetDeploymentInput) GoString() string

GoString returns the string representation

func (*GetDeploymentInput) SetDeploymentId added in v1.5.0

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

SetDeploymentId sets the DeploymentId field's value.

func (GetDeploymentInput) String added in v0.6.5

func (s GetDeploymentInput) String() string

String returns the string representation

func (*GetDeploymentInput) Validate added in v1.1.21

func (s *GetDeploymentInput) Validate() error

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

type GetDeploymentInstanceInput

type GetDeploymentInstanceInput struct {

	// The unique ID of a deployment.
	//
	// DeploymentId is a required field
	DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`

	// The unique ID of an instance in the deployment group.
	//
	// InstanceId is a required field
	InstanceId *string `locationName:"instanceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a GetDeploymentInstance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceInput

func (GetDeploymentInstanceInput) GoString added in v0.6.5

func (s GetDeploymentInstanceInput) GoString() string

GoString returns the string representation

func (*GetDeploymentInstanceInput) SetDeploymentId added in v1.5.0

SetDeploymentId sets the DeploymentId field's value.

func (*GetDeploymentInstanceInput) SetInstanceId added in v1.5.0

SetInstanceId sets the InstanceId field's value.

func (GetDeploymentInstanceInput) String added in v0.6.5

String returns the string representation

func (*GetDeploymentInstanceInput) Validate added in v1.1.21

func (s *GetDeploymentInstanceInput) Validate() error

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

type GetDeploymentInstanceOutput

type GetDeploymentInstanceOutput struct {

	// Information about the instance.
	InstanceSummary *InstanceSummary `locationName:"instanceSummary" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a GetDeploymentInstance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceOutput

func (GetDeploymentInstanceOutput) GoString added in v0.6.5

func (s GetDeploymentInstanceOutput) GoString() string

GoString returns the string representation

func (*GetDeploymentInstanceOutput) SetInstanceSummary added in v1.5.0

SetInstanceSummary sets the InstanceSummary field's value.

func (GetDeploymentInstanceOutput) String added in v0.6.5

String returns the string representation

type GetDeploymentOutput

type GetDeploymentOutput struct {

	// Information about the deployment.
	DeploymentInfo *DeploymentInfo `locationName:"deploymentInfo" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a GetDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentOutput

func (GetDeploymentOutput) GoString added in v0.6.5

func (s GetDeploymentOutput) GoString() string

GoString returns the string representation

func (*GetDeploymentOutput) SetDeploymentInfo added in v1.5.0

func (s *GetDeploymentOutput) SetDeploymentInfo(v *DeploymentInfo) *GetDeploymentOutput

SetDeploymentInfo sets the DeploymentInfo field's value.

func (GetDeploymentOutput) String added in v0.6.5

func (s GetDeploymentOutput) String() string

String returns the string representation

type GetOnPremisesInstanceInput

type GetOnPremisesInstanceInput struct {

	// The name of the on-premises instance about which to get information.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a GetOnPremisesInstance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceInput

func (GetOnPremisesInstanceInput) GoString added in v0.6.5

func (s GetOnPremisesInstanceInput) GoString() string

GoString returns the string representation

func (*GetOnPremisesInstanceInput) SetInstanceName added in v1.5.0

SetInstanceName sets the InstanceName field's value.

func (GetOnPremisesInstanceInput) String added in v0.6.5

String returns the string representation

func (*GetOnPremisesInstanceInput) Validate added in v1.1.21

func (s *GetOnPremisesInstanceInput) Validate() error

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

type GetOnPremisesInstanceOutput

type GetOnPremisesInstanceOutput struct {

	// Information about the on-premises instance.
	InstanceInfo *InstanceInfo `locationName:"instanceInfo" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a GetOnPremisesInstance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceOutput

func (GetOnPremisesInstanceOutput) GoString added in v0.6.5

func (s GetOnPremisesInstanceOutput) GoString() string

GoString returns the string representation

func (*GetOnPremisesInstanceOutput) SetInstanceInfo added in v1.5.0

SetInstanceInfo sets the InstanceInfo field's value.

func (GetOnPremisesInstanceOutput) String added in v0.6.5

String returns the string representation

type GitHubLocation

type GitHubLocation struct {

	// The SHA1 commit ID of the GitHub commit that represents the bundled artifacts
	// for the application revision.
	CommitId *string `locationName:"commitId" type:"string"`

	// The GitHub account and repository pair that stores a reference to the commit
	// that represents the bundled artifacts for the application revision.
	//
	// Specified as account/repository.
	Repository *string `locationName:"repository" type:"string"`
	// contains filtered or unexported fields
}

Information about the location of application artifacts stored in GitHub. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GitHubLocation

func (GitHubLocation) GoString added in v0.6.5

func (s GitHubLocation) GoString() string

GoString returns the string representation

func (*GitHubLocation) SetCommitId added in v1.5.0

func (s *GitHubLocation) SetCommitId(v string) *GitHubLocation

SetCommitId sets the CommitId field's value.

func (*GitHubLocation) SetRepository added in v1.5.0

func (s *GitHubLocation) SetRepository(v string) *GitHubLocation

SetRepository sets the Repository field's value.

func (GitHubLocation) String added in v0.6.5

func (s GitHubLocation) String() string

String returns the string representation

type GreenFleetProvisioningOption added in v1.6.18

type GreenFleetProvisioningOption struct {

	// The method used to add instances to a replacement environment.
	//
	//    * DISCOVER_EXISTING: Use instances that already exist or will be created
	//    manually.
	//
	//    * COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling
	//    group to define and create instances in a new Auto Scaling group.
	Action *string `locationName:"action" type:"string" enum:"GreenFleetProvisioningAction"`
	// contains filtered or unexported fields
}

Information about the instances that belong to the replacement environment in a blue/green deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GreenFleetProvisioningOption

func (GreenFleetProvisioningOption) GoString added in v1.6.18

func (s GreenFleetProvisioningOption) GoString() string

GoString returns the string representation

func (*GreenFleetProvisioningOption) SetAction added in v1.6.18

SetAction sets the Action field's value.

func (GreenFleetProvisioningOption) String added in v1.6.18

String returns the string representation

type InstanceInfo

type InstanceInfo struct {

	// If the on-premises instance was deregistered, the time at which the on-premises
	// instance was deregistered.
	DeregisterTime *time.Time `locationName:"deregisterTime" type:"timestamp" timestampFormat:"unix"`

	// The ARN of the IAM session associated with the on-premises instance.
	IamSessionArn *string `locationName:"iamSessionArn" type:"string"`

	// The IAM user ARN associated with the on-premises instance.
	IamUserArn *string `locationName:"iamUserArn" type:"string"`

	// The ARN of the on-premises instance.
	InstanceArn *string `locationName:"instanceArn" type:"string"`

	// The name of the on-premises instance.
	InstanceName *string `locationName:"instanceName" type:"string"`

	// The time at which the on-premises instance was registered.
	RegisterTime *time.Time `locationName:"registerTime" type:"timestamp" timestampFormat:"unix"`

	// The tags currently associated with the on-premises instance.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Information about an on-premises instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceInfo

func (InstanceInfo) GoString added in v0.6.5

func (s InstanceInfo) GoString() string

GoString returns the string representation

func (*InstanceInfo) SetDeregisterTime added in v1.5.0

func (s *InstanceInfo) SetDeregisterTime(v time.Time) *InstanceInfo

SetDeregisterTime sets the DeregisterTime field's value.

func (*InstanceInfo) SetIamSessionArn added in v1.6.9

func (s *InstanceInfo) SetIamSessionArn(v string) *InstanceInfo

SetIamSessionArn sets the IamSessionArn field's value.

func (*InstanceInfo) SetIamUserArn added in v1.5.0

func (s *InstanceInfo) SetIamUserArn(v string) *InstanceInfo

SetIamUserArn sets the IamUserArn field's value.

func (*InstanceInfo) SetInstanceArn added in v1.5.0

func (s *InstanceInfo) SetInstanceArn(v string) *InstanceInfo

SetInstanceArn sets the InstanceArn field's value.

func (*InstanceInfo) SetInstanceName added in v1.5.0

func (s *InstanceInfo) SetInstanceName(v string) *InstanceInfo

SetInstanceName sets the InstanceName field's value.

func (*InstanceInfo) SetRegisterTime added in v1.5.0

func (s *InstanceInfo) SetRegisterTime(v time.Time) *InstanceInfo

SetRegisterTime sets the RegisterTime field's value.

func (*InstanceInfo) SetTags added in v1.5.0

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

SetTags sets the Tags field's value.

func (InstanceInfo) String added in v0.6.5

func (s InstanceInfo) String() string

String returns the string representation

type InstanceSummary

type InstanceSummary struct {

	// The deployment ID.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// The instance ID.
	InstanceId *string `locationName:"instanceId" type:"string"`

	// Information about which environment an instance belongs to in a blue/green
	// deployment.
	//
	//    * BLUE: The instance is part of the original environment.
	//
	//    * GREEN: The instance is part of the replacement environment.
	InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"`

	// A timestamp indicating when the instance information was last updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"`

	// A list of lifecycle events for this instance.
	LifecycleEvents []*LifecycleEvent `locationName:"lifecycleEvents" type:"list"`

	// The deployment status for this instance:
	//
	//    * Pending: The deployment is pending for this instance.
	//
	//    * In Progress: The deployment is in progress for this instance.
	//
	//    * Succeeded: The deployment has succeeded for this instance.
	//
	//    * Failed: The deployment has failed for this instance.
	//
	//    * Skipped: The deployment has been skipped for this instance.
	//
	//    * Unknown: The deployment status is unknown for this instance.
	Status *string `locationName:"status" type:"string" enum:"InstanceStatus"`
	// contains filtered or unexported fields
}

Information about an instance in a deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceSummary

func (InstanceSummary) GoString added in v0.6.5

func (s InstanceSummary) GoString() string

GoString returns the string representation

func (*InstanceSummary) SetDeploymentId added in v1.5.0

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

SetDeploymentId sets the DeploymentId field's value.

func (*InstanceSummary) SetInstanceId added in v1.5.0

func (s *InstanceSummary) SetInstanceId(v string) *InstanceSummary

SetInstanceId sets the InstanceId field's value.

func (*InstanceSummary) SetInstanceType added in v1.6.18

func (s *InstanceSummary) SetInstanceType(v string) *InstanceSummary

SetInstanceType sets the InstanceType field's value.

func (*InstanceSummary) SetLastUpdatedAt added in v1.5.0

func (s *InstanceSummary) SetLastUpdatedAt(v time.Time) *InstanceSummary

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*InstanceSummary) SetLifecycleEvents added in v1.5.0

func (s *InstanceSummary) SetLifecycleEvents(v []*LifecycleEvent) *InstanceSummary

SetLifecycleEvents sets the LifecycleEvents field's value.

func (*InstanceSummary) SetStatus added in v1.5.0

func (s *InstanceSummary) SetStatus(v string) *InstanceSummary

SetStatus sets the Status field's value.

func (InstanceSummary) String added in v0.6.5

func (s InstanceSummary) String() string

String returns the string representation

type LastDeploymentInfo added in v1.8.33

type LastDeploymentInfo struct {

	// A timestamp indicating when the most recent deployment to the deployment
	// group started.
	CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"`

	// The deployment ID.
	DeploymentId *string `locationName:"deploymentId" type:"string"`

	// A timestamp indicating when the most recent deployment to the deployment
	// group completed.
	EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix"`

	// The status of the most recent deployment.
	Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
	// contains filtered or unexported fields
}

Information about the most recent attempted or successful deployment to a deployment group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LastDeploymentInfo

func (LastDeploymentInfo) GoString added in v1.8.33

func (s LastDeploymentInfo) GoString() string

GoString returns the string representation

func (*LastDeploymentInfo) SetCreateTime added in v1.8.33

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

SetCreateTime sets the CreateTime field's value.

func (*LastDeploymentInfo) SetDeploymentId added in v1.8.33

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

SetDeploymentId sets the DeploymentId field's value.

func (*LastDeploymentInfo) SetEndTime added in v1.8.33

func (s *LastDeploymentInfo) SetEndTime(v time.Time) *LastDeploymentInfo

SetEndTime sets the EndTime field's value.

func (*LastDeploymentInfo) SetStatus added in v1.8.33

func (s *LastDeploymentInfo) SetStatus(v string) *LastDeploymentInfo

SetStatus sets the Status field's value.

func (LastDeploymentInfo) String added in v1.8.33

func (s LastDeploymentInfo) String() string

String returns the string representation

type LifecycleEvent

type LifecycleEvent struct {

	// Diagnostic information about the deployment lifecycle event.
	Diagnostics *Diagnostics `locationName:"diagnostics" type:"structure"`

	// A timestamp indicating when the deployment lifecycle event ended.
	EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix"`

	// The deployment lifecycle event name, such as ApplicationStop, BeforeInstall,
	// AfterInstall, ApplicationStart, or ValidateService.
	LifecycleEventName *string `locationName:"lifecycleEventName" type:"string"`

	// A timestamp indicating when the deployment lifecycle event started.
	StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"`

	// The deployment lifecycle event status:
	//
	//    * Pending: The deployment lifecycle event is pending.
	//
	//    * InProgress: The deployment lifecycle event is in progress.
	//
	//    * Succeeded: The deployment lifecycle event ran successfully.
	//
	//    * Failed: The deployment lifecycle event has failed.
	//
	//    * Skipped: The deployment lifecycle event has been skipped.
	//
	//    * Unknown: The deployment lifecycle event is unknown.
	Status *string `locationName:"status" type:"string" enum:"LifecycleEventStatus"`
	// contains filtered or unexported fields
}

Information about a deployment lifecycle event. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LifecycleEvent

func (LifecycleEvent) GoString added in v0.6.5

func (s LifecycleEvent) GoString() string

GoString returns the string representation

func (*LifecycleEvent) SetDiagnostics added in v1.5.0

func (s *LifecycleEvent) SetDiagnostics(v *Diagnostics) *LifecycleEvent

SetDiagnostics sets the Diagnostics field's value.

func (*LifecycleEvent) SetEndTime added in v1.5.0

func (s *LifecycleEvent) SetEndTime(v time.Time) *LifecycleEvent

SetEndTime sets the EndTime field's value.

func (*LifecycleEvent) SetLifecycleEventName added in v1.5.0

func (s *LifecycleEvent) SetLifecycleEventName(v string) *LifecycleEvent

SetLifecycleEventName sets the LifecycleEventName field's value.

func (*LifecycleEvent) SetStartTime added in v1.5.0

func (s *LifecycleEvent) SetStartTime(v time.Time) *LifecycleEvent

SetStartTime sets the StartTime field's value.

func (*LifecycleEvent) SetStatus added in v1.5.0

func (s *LifecycleEvent) SetStatus(v string) *LifecycleEvent

SetStatus sets the Status field's value.

func (LifecycleEvent) String added in v0.6.5

func (s LifecycleEvent) String() string

String returns the string representation

type ListApplicationRevisionsInput

type ListApplicationRevisionsInput struct {

	// The name of an AWS CodeDeploy application associated with the applicable
	// IAM user or AWS account.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`

	// Whether to list revisions based on whether the revision is the target revision
	// of an deployment group:
	//
	//    * include: List revisions that are target revisions of a deployment group.
	//
	//    * exclude: Do not list revisions that are target revisions of a deployment
	//    group.
	//
	//    * ignore: List all revisions.
	Deployed *string `locationName:"deployed" type:"string" enum:"ListStateFilterAction"`

	// An identifier returned from the previous list application revisions call.
	// It can be used to return the next set of applications in the list.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An Amazon S3 bucket name to limit the search for revisions.
	//
	// If set to null, all of the user's buckets will be searched.
	S3Bucket *string `locationName:"s3Bucket" type:"string"`

	// A key prefix for the set of Amazon S3 objects to limit the search for revisions.
	S3KeyPrefix *string `locationName:"s3KeyPrefix" type:"string"`

	// The column name to use to sort the list results:
	//
	//    * registerTime: Sort by the time the revisions were registered with AWS
	//    CodeDeploy.
	//
	//    * firstUsedTime: Sort by the time the revisions were first used in a deployment.
	//
	//    * lastUsedTime: Sort by the time the revisions were last used in a deployment.
	//
	// If not specified or set to null, the results will be returned in an arbitrary
	// order.
	SortBy *string `locationName:"sortBy" type:"string" enum:"ApplicationRevisionSortBy"`

	// The order in which to sort the list results:
	//
	//    * ascending: ascending order.
	//
	//    * descending: descending order.
	//
	// If not specified, the results will be sorted in ascending order.
	//
	// If set to null, the results will be sorted in an arbitrary order.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Represents the input of a ListApplicationRevisions operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsInput

func (ListApplicationRevisionsInput) GoString added in v0.6.5

GoString returns the string representation

func (*ListApplicationRevisionsInput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*ListApplicationRevisionsInput) SetDeployed added in v1.5.0

SetDeployed sets the Deployed field's value.

func (*ListApplicationRevisionsInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*ListApplicationRevisionsInput) SetS3Bucket added in v1.5.0

SetS3Bucket sets the S3Bucket field's value.

func (*ListApplicationRevisionsInput) SetS3KeyPrefix added in v1.5.0

SetS3KeyPrefix sets the S3KeyPrefix field's value.

func (*ListApplicationRevisionsInput) SetSortBy added in v1.5.0

SetSortBy sets the SortBy field's value.

func (*ListApplicationRevisionsInput) SetSortOrder added in v1.5.0

SetSortOrder sets the SortOrder field's value.

func (ListApplicationRevisionsInput) String added in v0.6.5

String returns the string representation

func (*ListApplicationRevisionsInput) Validate added in v1.1.21

func (s *ListApplicationRevisionsInput) Validate() error

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

type ListApplicationRevisionsOutput

type ListApplicationRevisionsOutput struct {

	// If a large amount of information is returned, an identifier will also be
	// returned. It can be used in a subsequent list application revisions call
	// to return the next set of application revisions in the list.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of locations that contain the matching revisions.
	Revisions []*RevisionLocation `locationName:"revisions" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a ListApplicationRevisions operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsOutput

func (ListApplicationRevisionsOutput) GoString added in v0.6.5

GoString returns the string representation

func (*ListApplicationRevisionsOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*ListApplicationRevisionsOutput) SetRevisions added in v1.5.0

SetRevisions sets the Revisions field's value.

func (ListApplicationRevisionsOutput) String added in v0.6.5

String returns the string representation

type ListApplicationsInput

type ListApplicationsInput struct {

	// An identifier returned from the previous list applications call. It can be
	// used to return the next set of applications in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the input of a ListApplications operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsInput

func (ListApplicationsInput) GoString added in v0.6.5

func (s ListApplicationsInput) GoString() string

GoString returns the string representation

func (*ListApplicationsInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (ListApplicationsInput) String added in v0.6.5

func (s ListApplicationsInput) String() string

String returns the string representation

type ListApplicationsOutput

type ListApplicationsOutput struct {

	// A list of application names.
	Applications []*string `locationName:"applications" type:"list"`

	// If a large amount of information is returned, an identifier is also returned.
	// It can be used in a subsequent list applications call to return the next
	// set of applications, will also be returned. in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a ListApplications operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsOutput

func (ListApplicationsOutput) GoString added in v0.6.5

func (s ListApplicationsOutput) GoString() string

GoString returns the string representation

func (*ListApplicationsOutput) SetApplications added in v1.5.0

func (s *ListApplicationsOutput) SetApplications(v []*string) *ListApplicationsOutput

SetApplications sets the Applications field's value.

func (*ListApplicationsOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (ListApplicationsOutput) String added in v0.6.5

func (s ListApplicationsOutput) String() string

String returns the string representation

type ListDeploymentConfigsInput

type ListDeploymentConfigsInput struct {

	// An identifier returned from the previous list deployment configurations call.
	// It can be used to return the next set of deployment configurations in the
	// list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the input of a ListDeploymentConfigs operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsInput

func (ListDeploymentConfigsInput) GoString added in v0.6.5

func (s ListDeploymentConfigsInput) GoString() string

GoString returns the string representation

func (*ListDeploymentConfigsInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (ListDeploymentConfigsInput) String added in v0.6.5

String returns the string representation

type ListDeploymentConfigsOutput

type ListDeploymentConfigsOutput struct {

	// A list of deployment configurations, including built-in configurations such
	// as CodeDeployDefault.OneAtATime.
	DeploymentConfigsList []*string `locationName:"deploymentConfigsList" type:"list"`

	// If a large amount of information is returned, an identifier is also returned.
	// It can be used in a subsequent list deployment configurations call to return
	// the next set of deployment configurations in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a ListDeploymentConfigs operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsOutput

func (ListDeploymentConfigsOutput) GoString added in v0.6.5

func (s ListDeploymentConfigsOutput) GoString() string

GoString returns the string representation

func (*ListDeploymentConfigsOutput) SetDeploymentConfigsList added in v1.5.0

func (s *ListDeploymentConfigsOutput) SetDeploymentConfigsList(v []*string) *ListDeploymentConfigsOutput

SetDeploymentConfigsList sets the DeploymentConfigsList field's value.

func (*ListDeploymentConfigsOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (ListDeploymentConfigsOutput) String added in v0.6.5

String returns the string representation

type ListDeploymentGroupsInput

type ListDeploymentGroupsInput struct {

	// The name of an AWS CodeDeploy application associated with the applicable
	// IAM user or AWS account.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`

	// An identifier returned from the previous list deployment groups call. It
	// can be used to return the next set of deployment groups in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the input of a ListDeploymentGroups operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsInput

func (ListDeploymentGroupsInput) GoString added in v0.6.5

func (s ListDeploymentGroupsInput) GoString() string

GoString returns the string representation

func (*ListDeploymentGroupsInput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*ListDeploymentGroupsInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (ListDeploymentGroupsInput) String added in v0.6.5

func (s ListDeploymentGroupsInput) String() string

String returns the string representation

func (*ListDeploymentGroupsInput) Validate added in v1.1.21

func (s *ListDeploymentGroupsInput) Validate() error

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

type ListDeploymentGroupsOutput

type ListDeploymentGroupsOutput struct {

	// The application name.
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`

	// A list of corresponding deployment group names.
	DeploymentGroups []*string `locationName:"deploymentGroups" type:"list"`

	// If a large amount of information is returned, an identifier is also returned.
	// It can be used in a subsequent list deployment groups call to return the
	// next set of deployment groups in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a ListDeploymentGroups operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsOutput

func (ListDeploymentGroupsOutput) GoString added in v0.6.5

func (s ListDeploymentGroupsOutput) GoString() string

GoString returns the string representation

func (*ListDeploymentGroupsOutput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*ListDeploymentGroupsOutput) SetDeploymentGroups added in v1.5.0

func (s *ListDeploymentGroupsOutput) SetDeploymentGroups(v []*string) *ListDeploymentGroupsOutput

SetDeploymentGroups sets the DeploymentGroups field's value.

func (*ListDeploymentGroupsOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (ListDeploymentGroupsOutput) String added in v0.6.5

String returns the string representation

type ListDeploymentInstancesInput

type ListDeploymentInstancesInput struct {

	// The unique ID of a deployment.
	//
	// DeploymentId is a required field
	DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`

	// A subset of instances to list by status:
	//
	//    * Pending: Include those instance with pending deployments.
	//
	//    * InProgress: Include those instance where deployments are still in progress.
	//
	//    * Succeeded: Include those instances with successful deployments.
	//
	//    * Failed: Include those instance with failed deployments.
	//
	//    * Skipped: Include those instance with skipped deployments.
	//
	//    * Unknown: Include those instance with deployments in an unknown state.
	InstanceStatusFilter []*string `locationName:"instanceStatusFilter" type:"list"`

	// The set of instances in a blue/green deployment, either those in the original
	// environment ("BLUE") or those in the replacement environment ("GREEN"), for
	// which you want to view instance information.
	InstanceTypeFilter []*string `locationName:"instanceTypeFilter" type:"list"`

	// An identifier returned from the previous list deployment instances call.
	// It can be used to return the next set of deployment instances in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the input of a ListDeploymentInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesInput

func (ListDeploymentInstancesInput) GoString added in v0.6.5

func (s ListDeploymentInstancesInput) GoString() string

GoString returns the string representation

func (*ListDeploymentInstancesInput) SetDeploymentId added in v1.5.0

SetDeploymentId sets the DeploymentId field's value.

func (*ListDeploymentInstancesInput) SetInstanceStatusFilter added in v1.5.0

func (s *ListDeploymentInstancesInput) SetInstanceStatusFilter(v []*string) *ListDeploymentInstancesInput

SetInstanceStatusFilter sets the InstanceStatusFilter field's value.

func (*ListDeploymentInstancesInput) SetInstanceTypeFilter added in v1.6.18

func (s *ListDeploymentInstancesInput) SetInstanceTypeFilter(v []*string) *ListDeploymentInstancesInput

SetInstanceTypeFilter sets the InstanceTypeFilter field's value.

func (*ListDeploymentInstancesInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (ListDeploymentInstancesInput) String added in v0.6.5

String returns the string representation

func (*ListDeploymentInstancesInput) Validate added in v1.1.21

func (s *ListDeploymentInstancesInput) Validate() error

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

type ListDeploymentInstancesOutput

type ListDeploymentInstancesOutput struct {

	// A list of instance IDs.
	InstancesList []*string `locationName:"instancesList" type:"list"`

	// If a large amount of information is returned, an identifier is also returned.
	// It can be used in a subsequent list deployment instances call to return the
	// next set of deployment instances in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a ListDeploymentInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesOutput

func (ListDeploymentInstancesOutput) GoString added in v0.6.5

GoString returns the string representation

func (*ListDeploymentInstancesOutput) SetInstancesList added in v1.5.0

SetInstancesList sets the InstancesList field's value.

func (*ListDeploymentInstancesOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (ListDeploymentInstancesOutput) String added in v0.6.5

String returns the string representation

type ListDeploymentsInput

type ListDeploymentsInput struct {

	// The name of an AWS CodeDeploy application associated with the applicable
	// IAM user or AWS account.
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`

	// A time range (start and end) for returning a subset of the list of deployments.
	CreateTimeRange *TimeRange `locationName:"createTimeRange" type:"structure"`

	// The name of an existing deployment group for the specified application.
	DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string"`

	// A subset of deployments to list by status:
	//
	//    * Created: Include created deployments in the resulting list.
	//
	//    * Queued: Include queued deployments in the resulting list.
	//
	//    * In Progress: Include in-progress deployments in the resulting list.
	//
	//    * Succeeded: Include successful deployments in the resulting list.
	//
	//    * Failed: Include failed deployments in the resulting list.
	//
	//    * Stopped: Include stopped deployments in the resulting list.
	IncludeOnlyStatuses []*string `locationName:"includeOnlyStatuses" type:"list"`

	// An identifier returned from the previous list deployments call. It can be
	// used to return the next set of deployments in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the input of a ListDeployments operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsInput

func (ListDeploymentsInput) GoString added in v0.6.5

func (s ListDeploymentsInput) GoString() string

GoString returns the string representation

func (*ListDeploymentsInput) SetApplicationName added in v1.5.0

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

SetApplicationName sets the ApplicationName field's value.

func (*ListDeploymentsInput) SetCreateTimeRange added in v1.5.0

func (s *ListDeploymentsInput) SetCreateTimeRange(v *TimeRange) *ListDeploymentsInput

SetCreateTimeRange sets the CreateTimeRange field's value.

func (*ListDeploymentsInput) SetDeploymentGroupName added in v1.5.0

func (s *ListDeploymentsInput) SetDeploymentGroupName(v string) *ListDeploymentsInput

SetDeploymentGroupName sets the DeploymentGroupName field's value.

func (*ListDeploymentsInput) SetIncludeOnlyStatuses added in v1.5.0

func (s *ListDeploymentsInput) SetIncludeOnlyStatuses(v []*string) *ListDeploymentsInput

SetIncludeOnlyStatuses sets the IncludeOnlyStatuses field's value.

func (*ListDeploymentsInput) SetNextToken added in v1.5.0

func (s *ListDeploymentsInput) SetNextToken(v string) *ListDeploymentsInput

SetNextToken sets the NextToken field's value.

func (ListDeploymentsInput) String added in v0.6.5

func (s ListDeploymentsInput) String() string

String returns the string representation

func (*ListDeploymentsInput) Validate added in v1.1.21

func (s *ListDeploymentsInput) Validate() error

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

type ListDeploymentsOutput

type ListDeploymentsOutput struct {

	// A list of deployment IDs.
	Deployments []*string `locationName:"deployments" type:"list"`

	// If a large amount of information is returned, an identifier is also returned.
	// It can be used in a subsequent list deployments call to return the next set
	// of deployments in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a ListDeployments operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsOutput

func (ListDeploymentsOutput) GoString added in v0.6.5

func (s ListDeploymentsOutput) GoString() string

GoString returns the string representation

func (*ListDeploymentsOutput) SetDeployments added in v1.5.0

func (s *ListDeploymentsOutput) SetDeployments(v []*string) *ListDeploymentsOutput

SetDeployments sets the Deployments field's value.

func (*ListDeploymentsOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (ListDeploymentsOutput) String added in v0.6.5

func (s ListDeploymentsOutput) String() string

String returns the string representation

type ListGitHubAccountTokenNamesInput added in v1.8.33

type ListGitHubAccountTokenNamesInput struct {

	// An identifier returned from the previous ListGitHubAccountTokenNames call.
	// It can be used to return the next set of names in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the input of a ListGitHubAccountTokenNames operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesInput

func (ListGitHubAccountTokenNamesInput) GoString added in v1.8.33

GoString returns the string representation

func (*ListGitHubAccountTokenNamesInput) SetNextToken added in v1.8.33

SetNextToken sets the NextToken field's value.

func (ListGitHubAccountTokenNamesInput) String added in v1.8.33

String returns the string representation

type ListGitHubAccountTokenNamesOutput added in v1.8.33

type ListGitHubAccountTokenNamesOutput struct {

	// If a large amount of information is returned, an identifier is also returned.
	// It can be used in a subsequent ListGitHubAccountTokenNames call to return
	// the next set of names in the list.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of names of connections to GitHub accounts.
	TokenNameList []*string `locationName:"tokenNameList" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a ListGitHubAccountTokenNames operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesOutput

func (ListGitHubAccountTokenNamesOutput) GoString added in v1.8.33

GoString returns the string representation

func (*ListGitHubAccountTokenNamesOutput) SetNextToken added in v1.8.33

SetNextToken sets the NextToken field's value.

func (*ListGitHubAccountTokenNamesOutput) SetTokenNameList added in v1.8.33

SetTokenNameList sets the TokenNameList field's value.

func (ListGitHubAccountTokenNamesOutput) String added in v1.8.33

String returns the string representation

type ListOnPremisesInstancesInput

type ListOnPremisesInstancesInput struct {

	// An identifier returned from the previous list on-premises instances call.
	// It can be used to return the next set of on-premises instances in the list.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The registration status of the on-premises instances:
	//
	//    * Deregistered: Include deregistered on-premises instances in the resulting
	//    list.
	//
	//    * Registered: Include registered on-premises instances in the resulting
	//    list.
	RegistrationStatus *string `locationName:"registrationStatus" type:"string" enum:"RegistrationStatus"`

	// The on-premises instance tags that will be used to restrict the corresponding
	// on-premises instance names returned.
	TagFilters []*TagFilter `locationName:"tagFilters" type:"list"`
	// contains filtered or unexported fields
}

Represents the input of a ListOnPremisesInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesInput

func (ListOnPremisesInstancesInput) GoString added in v0.6.5

func (s ListOnPremisesInstancesInput) GoString() string

GoString returns the string representation

func (*ListOnPremisesInstancesInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*ListOnPremisesInstancesInput) SetRegistrationStatus added in v1.5.0

SetRegistrationStatus sets the RegistrationStatus field's value.

func (*ListOnPremisesInstancesInput) SetTagFilters added in v1.5.0

SetTagFilters sets the TagFilters field's value.

func (ListOnPremisesInstancesInput) String added in v0.6.5

String returns the string representation

type ListOnPremisesInstancesOutput

type ListOnPremisesInstancesOutput struct {

	// The list of matching on-premises instance names.
	InstanceNames []*string `locationName:"instanceNames" type:"list"`

	// If a large amount of information is returned, an identifier is also returned.
	// It can be used in a subsequent list on-premises instances call to return
	// the next set of on-premises instances in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of list on-premises instances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesOutput

func (ListOnPremisesInstancesOutput) GoString added in v0.6.5

GoString returns the string representation

func (*ListOnPremisesInstancesOutput) SetInstanceNames added in v1.5.0

SetInstanceNames sets the InstanceNames field's value.

func (*ListOnPremisesInstancesOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (ListOnPremisesInstancesOutput) String added in v0.6.5

String returns the string representation

type LoadBalancerInfo added in v1.6.18

type LoadBalancerInfo struct {

	// An array containing information about the load balancer in Elastic Load Balancing
	// to use in a deployment.
	ElbInfoList []*ELBInfo `locationName:"elbInfoList" type:"list"`
	// contains filtered or unexported fields
}

Information about the load balancer used in a deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LoadBalancerInfo

func (LoadBalancerInfo) GoString added in v1.6.18

func (s LoadBalancerInfo) GoString() string

GoString returns the string representation

func (*LoadBalancerInfo) SetElbInfoList added in v1.6.18

func (s *LoadBalancerInfo) SetElbInfoList(v []*ELBInfo) *LoadBalancerInfo

SetElbInfoList sets the ElbInfoList field's value.

func (LoadBalancerInfo) String added in v1.6.18

func (s LoadBalancerInfo) String() string

String returns the string representation

type MinimumHealthyHosts

type MinimumHealthyHosts struct {

	// The minimum healthy instance type:
	//
	//    * HOST_COUNT: The minimum number of healthy instance as an absolute value.
	//
	//    * FLEET_PERCENT: The minimum number of healthy instance as a percentage
	//    of the total number of instance in the deployment.
	//
	// In an example of nine instance, if a HOST_COUNT of six is specified, deploy
	// to up to three instances at a time. The deployment will be successful if
	// six or more instances are deployed to successfully; otherwise, the deployment
	// fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance
	// at a time. The deployment will be successful if four or more instance are
	// deployed to successfully; otherwise, the deployment fails.
	//
	// In a call to the get deployment configuration operation, CodeDeployDefault.OneAtATime
	// will return a minimum healthy instance type of MOST_CONCURRENCY and a value
	// of 1. This means a deployment to only one instance at a time. (You cannot
	// set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In
	// addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy will try to ensure
	// that all instances but one are kept in a healthy state during the deployment.
	// Although this allows one instance at a time to be taken offline for a new
	// deployment, it also means that if the deployment to the last instance fails,
	// the overall deployment still succeeds.
	//
	// For more information, see AWS CodeDeploy Instance Health (http://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html)
	// in the AWS CodeDeploy User Guide.
	Type *string `locationName:"type" type:"string" enum:"MinimumHealthyHostsType"`

	// The minimum healthy instance value.
	Value *int64 `locationName:"value" type:"integer"`
	// contains filtered or unexported fields
}

Information about minimum healthy instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/MinimumHealthyHosts

func (MinimumHealthyHosts) GoString added in v0.6.5

func (s MinimumHealthyHosts) GoString() string

GoString returns the string representation

func (*MinimumHealthyHosts) SetType added in v1.5.0

SetType sets the Type field's value.

func (*MinimumHealthyHosts) SetValue added in v1.5.0

SetValue sets the Value field's value.

func (MinimumHealthyHosts) String added in v0.6.5

func (s MinimumHealthyHosts) String() string

String returns the string representation

type RegisterApplicationRevisionInput

type RegisterApplicationRevisionInput struct {

	// The name of an AWS CodeDeploy application associated with the applicable
	// IAM user or AWS account.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`

	// A comment about the revision.
	Description *string `locationName:"description" type:"string"`

	// Information about the application revision to register, including type and
	// location.
	//
	// Revision is a required field
	Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a RegisterApplicationRevision operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionInput

func (RegisterApplicationRevisionInput) GoString added in v0.6.5

GoString returns the string representation

func (*RegisterApplicationRevisionInput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*RegisterApplicationRevisionInput) SetDescription added in v1.5.0

SetDescription sets the Description field's value.

func (*RegisterApplicationRevisionInput) SetRevision added in v1.5.0

SetRevision sets the Revision field's value.

func (RegisterApplicationRevisionInput) String added in v0.6.5

String returns the string representation

func (*RegisterApplicationRevisionInput) Validate added in v1.1.21

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

type RegisterApplicationRevisionOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionOutput

func (RegisterApplicationRevisionOutput) GoString added in v0.6.5

GoString returns the string representation

func (RegisterApplicationRevisionOutput) String added in v0.6.5

String returns the string representation

type RegisterOnPremisesInstanceInput

type RegisterOnPremisesInstanceInput struct {

	// The ARN of the IAM session to associate with the on-premises instance.
	IamSessionArn *string `locationName:"iamSessionArn" type:"string"`

	// The ARN of the IAM user to associate with the on-premises instance.
	IamUserArn *string `locationName:"iamUserArn" type:"string"`

	// The name of the on-premises instance to register.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of the register on-premises instance operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstanceInput

func (RegisterOnPremisesInstanceInput) GoString added in v0.6.5

GoString returns the string representation

func (*RegisterOnPremisesInstanceInput) SetIamSessionArn added in v1.6.9

SetIamSessionArn sets the IamSessionArn field's value.

func (*RegisterOnPremisesInstanceInput) SetIamUserArn added in v1.5.0

SetIamUserArn sets the IamUserArn field's value.

func (*RegisterOnPremisesInstanceInput) SetInstanceName added in v1.5.0

SetInstanceName sets the InstanceName field's value.

func (RegisterOnPremisesInstanceInput) String added in v0.6.5

String returns the string representation

func (*RegisterOnPremisesInstanceInput) Validate added in v1.1.21

func (s *RegisterOnPremisesInstanceInput) Validate() error

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

type RegisterOnPremisesInstanceOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstanceOutput

func (RegisterOnPremisesInstanceOutput) GoString added in v0.6.5

GoString returns the string representation

func (RegisterOnPremisesInstanceOutput) String added in v0.6.5

String returns the string representation

type RemoveTagsFromOnPremisesInstancesInput

type RemoveTagsFromOnPremisesInstancesInput struct {

	// The names of the on-premises instances from which to remove tags.
	//
	// InstanceNames is a required field
	InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"`

	// The tag key-value pairs to remove from the on-premises instances.
	//
	// Tags is a required field
	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a RemoveTagsFromOnPremisesInstances operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstancesInput

func (RemoveTagsFromOnPremisesInstancesInput) GoString added in v0.6.5

GoString returns the string representation

func (*RemoveTagsFromOnPremisesInstancesInput) SetInstanceNames added in v1.5.0

SetInstanceNames sets the InstanceNames field's value.

func (*RemoveTagsFromOnPremisesInstancesInput) SetTags added in v1.5.0

SetTags sets the Tags field's value.

func (RemoveTagsFromOnPremisesInstancesInput) String added in v0.6.5

String returns the string representation

func (*RemoveTagsFromOnPremisesInstancesInput) Validate added in v1.1.21

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

type RemoveTagsFromOnPremisesInstancesOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstancesOutput

func (RemoveTagsFromOnPremisesInstancesOutput) GoString added in v0.6.5

GoString returns the string representation

func (RemoveTagsFromOnPremisesInstancesOutput) String added in v0.6.5

String returns the string representation

type RevisionInfo added in v1.1.4

type RevisionInfo struct {

	// Information about an application revision, including usage details and associated
	// deployment groups.
	GenericRevisionInfo *GenericRevisionInfo `locationName:"genericRevisionInfo" type:"structure"`

	// Information about the location and type of an application revision.
	RevisionLocation *RevisionLocation `locationName:"revisionLocation" type:"structure"`
	// contains filtered or unexported fields
}

Information about an application revision. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionInfo

func (RevisionInfo) GoString added in v1.1.4

func (s RevisionInfo) GoString() string

GoString returns the string representation

func (*RevisionInfo) SetGenericRevisionInfo added in v1.5.0

func (s *RevisionInfo) SetGenericRevisionInfo(v *GenericRevisionInfo) *RevisionInfo

SetGenericRevisionInfo sets the GenericRevisionInfo field's value.

func (*RevisionInfo) SetRevisionLocation added in v1.5.0

func (s *RevisionInfo) SetRevisionLocation(v *RevisionLocation) *RevisionInfo

SetRevisionLocation sets the RevisionLocation field's value.

func (RevisionInfo) String added in v1.1.4

func (s RevisionInfo) String() string

String returns the string representation

type RevisionLocation

type RevisionLocation struct {

	// Information about the location of application artifacts stored in GitHub.
	GitHubLocation *GitHubLocation `locationName:"gitHubLocation" type:"structure"`

	// The type of application revision:
	//
	//    * S3: An application revision stored in Amazon S3.
	//
	//    * GitHub: An application revision stored in GitHub.
	RevisionType *string `locationName:"revisionType" type:"string" enum:"RevisionLocationType"`

	// Information about the location of application artifacts stored in Amazon
	// S3.
	S3Location *S3Location `locationName:"s3Location" type:"structure"`
	// contains filtered or unexported fields
}

Information about the location of an application revision. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionLocation

func (RevisionLocation) GoString added in v0.6.5

func (s RevisionLocation) GoString() string

GoString returns the string representation

func (*RevisionLocation) SetGitHubLocation added in v1.5.0

func (s *RevisionLocation) SetGitHubLocation(v *GitHubLocation) *RevisionLocation

SetGitHubLocation sets the GitHubLocation field's value.

func (*RevisionLocation) SetRevisionType added in v1.5.0

func (s *RevisionLocation) SetRevisionType(v string) *RevisionLocation

SetRevisionType sets the RevisionType field's value.

func (*RevisionLocation) SetS3Location added in v1.5.0

func (s *RevisionLocation) SetS3Location(v *S3Location) *RevisionLocation

SetS3Location sets the S3Location field's value.

func (RevisionLocation) String added in v0.6.5

func (s RevisionLocation) String() string

String returns the string representation

type RollbackInfo added in v1.4.11

type RollbackInfo struct {

	// The ID of the deployment rollback.
	RollbackDeploymentId *string `locationName:"rollbackDeploymentId" type:"string"`

	// Information describing the status of a deployment rollback; for example,
	// whether the deployment can't be rolled back, is in progress, failed, or succeeded.
	RollbackMessage *string `locationName:"rollbackMessage" type:"string"`

	// The deployment ID of the deployment that was underway and triggered a rollback
	// deployment because it failed or was stopped.
	RollbackTriggeringDeploymentId *string `locationName:"rollbackTriggeringDeploymentId" type:"string"`
	// contains filtered or unexported fields
}

Information about a deployment rollback. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RollbackInfo

func (RollbackInfo) GoString added in v1.4.11

func (s RollbackInfo) GoString() string

GoString returns the string representation

func (*RollbackInfo) SetRollbackDeploymentId added in v1.5.0

func (s *RollbackInfo) SetRollbackDeploymentId(v string) *RollbackInfo

SetRollbackDeploymentId sets the RollbackDeploymentId field's value.

func (*RollbackInfo) SetRollbackMessage added in v1.5.0

func (s *RollbackInfo) SetRollbackMessage(v string) *RollbackInfo

SetRollbackMessage sets the RollbackMessage field's value.

func (*RollbackInfo) SetRollbackTriggeringDeploymentId added in v1.5.0

func (s *RollbackInfo) SetRollbackTriggeringDeploymentId(v string) *RollbackInfo

SetRollbackTriggeringDeploymentId sets the RollbackTriggeringDeploymentId field's value.

func (RollbackInfo) String added in v1.4.11

func (s RollbackInfo) String() string

String returns the string representation

type S3Location

type S3Location struct {

	// The name of the Amazon S3 bucket where the application revision is stored.
	Bucket *string `locationName:"bucket" type:"string"`

	// The file type of the application revision. Must be one of the following:
	//
	//    * tar: A tar archive file.
	//
	//    * tgz: A compressed tar archive file.
	//
	//    * zip: A zip archive file.
	BundleType *string `locationName:"bundleType" type:"string" enum:"BundleType"`

	// The ETag of the Amazon S3 object that represents the bundled artifacts for
	// the application revision.
	//
	// If the ETag is not specified as an input parameter, ETag validation of the
	// object will be skipped.
	ETag *string `locationName:"eTag" type:"string"`

	// The name of the Amazon S3 object that represents the bundled artifacts for
	// the application revision.
	Key *string `locationName:"key" type:"string"`

	// A specific version of the Amazon S3 object that represents the bundled artifacts
	// for the application revision.
	//
	// If the version is not specified, the system will use the most recent version
	// by default.
	Version *string `locationName:"version" type:"string"`
	// contains filtered or unexported fields
}

Information about the location of application artifacts stored in Amazon S3. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/S3Location

func (S3Location) GoString added in v0.6.5

func (s S3Location) GoString() string

GoString returns the string representation

func (*S3Location) SetBucket added in v1.5.0

func (s *S3Location) SetBucket(v string) *S3Location

SetBucket sets the Bucket field's value.

func (*S3Location) SetBundleType added in v1.5.0

func (s *S3Location) SetBundleType(v string) *S3Location

SetBundleType sets the BundleType field's value.

func (*S3Location) SetETag added in v1.5.0

func (s *S3Location) SetETag(v string) *S3Location

SetETag sets the ETag field's value.

func (*S3Location) SetKey added in v1.5.0

func (s *S3Location) SetKey(v string) *S3Location

SetKey sets the Key field's value.

func (*S3Location) SetVersion added in v1.5.0

func (s *S3Location) SetVersion(v string) *S3Location

SetVersion sets the Version field's value.

func (S3Location) String added in v0.6.5

func (s S3Location) String() string

String returns the string representation

type SkipWaitTimeForInstanceTerminationInput added in v1.6.18

type SkipWaitTimeForInstanceTerminationInput struct {

	// The ID of the blue/green deployment for which you want to skip the instance
	// termination wait time.
	DeploymentId *string `locationName:"deploymentId" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTerminationInput

func (SkipWaitTimeForInstanceTerminationInput) GoString added in v1.6.18

GoString returns the string representation

func (*SkipWaitTimeForInstanceTerminationInput) SetDeploymentId added in v1.6.18

SetDeploymentId sets the DeploymentId field's value.

func (SkipWaitTimeForInstanceTerminationInput) String added in v1.6.18

String returns the string representation

type SkipWaitTimeForInstanceTerminationOutput added in v1.6.18

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTerminationOutput

func (SkipWaitTimeForInstanceTerminationOutput) GoString added in v1.6.18

GoString returns the string representation

func (SkipWaitTimeForInstanceTerminationOutput) String added in v1.6.18

String returns the string representation

type StopDeploymentInput

type StopDeploymentInput struct {

	// Indicates, when a deployment is stopped, whether instances that have been
	// updated should be rolled back to the previous version of the application
	// revision.
	AutoRollbackEnabled *bool `locationName:"autoRollbackEnabled" type:"boolean"`

	// The unique ID of a deployment.
	//
	// DeploymentId is a required field
	DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a StopDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentInput

func (StopDeploymentInput) GoString added in v0.6.5

func (s StopDeploymentInput) GoString() string

GoString returns the string representation

func (*StopDeploymentInput) SetAutoRollbackEnabled added in v1.5.0

func (s *StopDeploymentInput) SetAutoRollbackEnabled(v bool) *StopDeploymentInput

SetAutoRollbackEnabled sets the AutoRollbackEnabled field's value.

func (*StopDeploymentInput) SetDeploymentId added in v1.5.0

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

SetDeploymentId sets the DeploymentId field's value.

func (StopDeploymentInput) String added in v0.6.5

func (s StopDeploymentInput) String() string

String returns the string representation

func (*StopDeploymentInput) Validate added in v1.1.21

func (s *StopDeploymentInput) Validate() error

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

type StopDeploymentOutput

type StopDeploymentOutput struct {

	// The status of the stop deployment operation:
	//
	//    * Pending: The stop operation is pending.
	//
	//    * Succeeded: The stop operation was successful.
	Status *string `locationName:"status" type:"string" enum:"StopStatus"`

	// An accompanying status message.
	StatusMessage *string `locationName:"statusMessage" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a StopDeployment operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentOutput

func (StopDeploymentOutput) GoString added in v0.6.5

func (s StopDeploymentOutput) GoString() string

GoString returns the string representation

func (*StopDeploymentOutput) SetStatus added in v1.5.0

SetStatus sets the Status field's value.

func (*StopDeploymentOutput) SetStatusMessage added in v1.5.0

func (s *StopDeploymentOutput) SetStatusMessage(v string) *StopDeploymentOutput

SetStatusMessage sets the StatusMessage field's value.

func (StopDeploymentOutput) String added in v0.6.5

func (s StopDeploymentOutput) String() string

String returns the string representation

type Tag

type Tag struct {

	// The tag's key.
	Key *string `type:"string"`

	// The tag's value.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Information about a tag. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Tag

func (Tag) GoString added in v0.6.5

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey added in v1.5.0

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue added in v1.5.0

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String added in v0.6.5

func (s Tag) String() string

String returns the string representation

type TagFilter

type TagFilter struct {

	// The on-premises instance tag filter key.
	Key *string `type:"string"`

	// The on-premises instance tag filter type:
	//
	//    * KEY_ONLY: Key only.
	//
	//    * VALUE_ONLY: Value only.
	//
	//    * KEY_AND_VALUE: Key and value.
	Type *string `type:"string" enum:"TagFilterType"`

	// The on-premises instance tag filter value.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Information about an on-premises instance tag filter. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagFilter

func (TagFilter) GoString added in v0.6.5

func (s TagFilter) GoString() string

GoString returns the string representation

func (*TagFilter) SetKey added in v1.5.0

func (s *TagFilter) SetKey(v string) *TagFilter

SetKey sets the Key field's value.

func (*TagFilter) SetType added in v1.5.0

func (s *TagFilter) SetType(v string) *TagFilter

SetType sets the Type field's value.

func (*TagFilter) SetValue added in v1.5.0

func (s *TagFilter) SetValue(v string) *TagFilter

SetValue sets the Value field's value.

func (TagFilter) String added in v0.6.5

func (s TagFilter) String() string

String returns the string representation

type TargetInstances added in v1.6.18

type TargetInstances struct {

	// The names of one or more Auto Scaling groups to identify a replacement environment
	// for a blue/green deployment.
	AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"`

	// The tag filter key, type, and value used to identify Amazon EC2 instances
	// in a replacement environment for a blue/green deployment.
	TagFilters []*EC2TagFilter `locationName:"tagFilters" type:"list"`
	// contains filtered or unexported fields
}

Information about the instances to be used in the replacement environment in a blue/green deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetInstances

func (TargetInstances) GoString added in v1.6.18

func (s TargetInstances) GoString() string

GoString returns the string representation

func (*TargetInstances) SetAutoScalingGroups added in v1.6.18

func (s *TargetInstances) SetAutoScalingGroups(v []*string) *TargetInstances

SetAutoScalingGroups sets the AutoScalingGroups field's value.

func (*TargetInstances) SetTagFilters added in v1.6.18

func (s *TargetInstances) SetTagFilters(v []*EC2TagFilter) *TargetInstances

SetTagFilters sets the TagFilters field's value.

func (TargetInstances) String added in v1.6.18

func (s TargetInstances) String() string

String returns the string representation

type TimeRange

type TimeRange struct {

	// The end time of the time range.
	//
	// Specify null to leave the end time open-ended.
	End *time.Time `locationName:"end" type:"timestamp" timestampFormat:"unix"`

	// The start time of the time range.
	//
	// Specify null to leave the start time open-ended.
	Start *time.Time `locationName:"start" type:"timestamp" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

Information about a time range. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TimeRange

func (TimeRange) GoString added in v0.6.5

func (s TimeRange) GoString() string

GoString returns the string representation

func (*TimeRange) SetEnd added in v1.5.0

func (s *TimeRange) SetEnd(v time.Time) *TimeRange

SetEnd sets the End field's value.

func (*TimeRange) SetStart added in v1.5.0

func (s *TimeRange) SetStart(v time.Time) *TimeRange

SetStart sets the Start field's value.

func (TimeRange) String added in v0.6.5

func (s TimeRange) String() string

String returns the string representation

type TriggerConfig added in v1.1.4

type TriggerConfig struct {

	// The event type or types for which notifications are triggered.
	TriggerEvents []*string `locationName:"triggerEvents" type:"list"`

	// The name of the notification trigger.
	TriggerName *string `locationName:"triggerName" type:"string"`

	// The ARN of the Amazon Simple Notification Service topic through which notifications
	// about deployment or instance events are sent.
	TriggerTargetArn *string `locationName:"triggerTargetArn" type:"string"`
	// contains filtered or unexported fields
}

Information about notification triggers for the deployment group. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TriggerConfig

func (TriggerConfig) GoString added in v1.1.4

func (s TriggerConfig) GoString() string

GoString returns the string representation

func (*TriggerConfig) SetTriggerEvents added in v1.5.0

func (s *TriggerConfig) SetTriggerEvents(v []*string) *TriggerConfig

SetTriggerEvents sets the TriggerEvents field's value.

func (*TriggerConfig) SetTriggerName added in v1.5.0

func (s *TriggerConfig) SetTriggerName(v string) *TriggerConfig

SetTriggerName sets the TriggerName field's value.

func (*TriggerConfig) SetTriggerTargetArn added in v1.5.0

func (s *TriggerConfig) SetTriggerTargetArn(v string) *TriggerConfig

SetTriggerTargetArn sets the TriggerTargetArn field's value.

func (TriggerConfig) String added in v1.1.4

func (s TriggerConfig) String() string

String returns the string representation

type UpdateApplicationInput

type UpdateApplicationInput struct {

	// The current name of the application you want to change.
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string"`

	// The new name to give the application.
	NewApplicationName *string `locationName:"newApplicationName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the input of an UpdateApplication operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationInput

func (UpdateApplicationInput) GoString added in v0.6.5

func (s UpdateApplicationInput) GoString() string

GoString returns the string representation

func (*UpdateApplicationInput) SetApplicationName added in v1.5.0

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

SetApplicationName sets the ApplicationName field's value.

func (*UpdateApplicationInput) SetNewApplicationName added in v1.5.0

func (s *UpdateApplicationInput) SetNewApplicationName(v string) *UpdateApplicationInput

SetNewApplicationName sets the NewApplicationName field's value.

func (UpdateApplicationInput) String added in v0.6.5

func (s UpdateApplicationInput) String() string

String returns the string representation

func (*UpdateApplicationInput) Validate added in v1.1.21

func (s *UpdateApplicationInput) Validate() error

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

type UpdateApplicationOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationOutput

func (UpdateApplicationOutput) GoString added in v0.6.5

func (s UpdateApplicationOutput) GoString() string

GoString returns the string representation

func (UpdateApplicationOutput) String added in v0.6.5

func (s UpdateApplicationOutput) String() string

String returns the string representation

type UpdateDeploymentGroupInput

type UpdateDeploymentGroupInput struct {

	// Information to add or change about Amazon CloudWatch alarms when the deployment
	// group is updated.
	AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"`

	// The application name corresponding to the deployment group to update.
	//
	// ApplicationName is a required field
	ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"`

	// Information for an automatic rollback configuration that is added or changed
	// when a deployment group is updated.
	AutoRollbackConfiguration *AutoRollbackConfiguration `locationName:"autoRollbackConfiguration" type:"structure"`

	// The replacement list of Auto Scaling groups to be included in the deployment
	// group, if you want to change them. To keep the Auto Scaling groups, enter
	// their names. To remove Auto Scaling groups, do not enter any Auto Scaling
	// group names.
	AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"`

	// Information about blue/green deployment options for a deployment group.
	BlueGreenDeploymentConfiguration *BlueGreenDeploymentConfiguration `locationName:"blueGreenDeploymentConfiguration" type:"structure"`

	// The current name of the deployment group.
	//
	// CurrentDeploymentGroupName is a required field
	CurrentDeploymentGroupName *string `locationName:"currentDeploymentGroupName" min:"1" type:"string" required:"true"`

	// The replacement deployment configuration name to use, if you want to change
	// it.
	DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"`

	// Information about the type of deployment, either in-place or blue/green,
	// you want to run and whether to route deployment traffic behind a load balancer.
	DeploymentStyle *DeploymentStyle `locationName:"deploymentStyle" type:"structure"`

	// The replacement set of Amazon EC2 tags on which to filter, if you want to
	// change them. To keep the existing tags, enter their names. To remove tags,
	// do not enter any tag names.
	Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list"`

	// Information about the load balancer used in a deployment.
	LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"`

	// The new name of the deployment group, if you want to change it.
	NewDeploymentGroupName *string `locationName:"newDeploymentGroupName" min:"1" type:"string"`

	// The replacement set of on-premises instance tags on which to filter, if you
	// want to change them. To keep the existing tags, enter their names. To remove
	// tags, do not enter any tag names.
	OnPremisesInstanceTagFilters []*TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"`

	// A replacement ARN for the service role, if you want to change it.
	ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`

	// Information about triggers to change when the deployment group is updated.
	// For examples, see Modify Triggers in an AWS CodeDeploy Deployment Group (http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html)
	// in the AWS CodeDeploy User Guide.
	TriggerConfigurations []*TriggerConfig `locationName:"triggerConfigurations" type:"list"`
	// contains filtered or unexported fields
}

Represents the input of an UpdateDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupInput

func (UpdateDeploymentGroupInput) GoString added in v0.6.5

func (s UpdateDeploymentGroupInput) GoString() string

GoString returns the string representation

func (*UpdateDeploymentGroupInput) SetAlarmConfiguration added in v1.5.0

SetAlarmConfiguration sets the AlarmConfiguration field's value.

func (*UpdateDeploymentGroupInput) SetApplicationName added in v1.5.0

SetApplicationName sets the ApplicationName field's value.

func (*UpdateDeploymentGroupInput) SetAutoRollbackConfiguration added in v1.5.0

SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.

func (*UpdateDeploymentGroupInput) SetAutoScalingGroups added in v1.5.0

func (s *UpdateDeploymentGroupInput) SetAutoScalingGroups(v []*string) *UpdateDeploymentGroupInput

SetAutoScalingGroups sets the AutoScalingGroups field's value.

func (*UpdateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration added in v1.6.18

SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value.

func (*UpdateDeploymentGroupInput) SetCurrentDeploymentGroupName added in v1.5.0

func (s *UpdateDeploymentGroupInput) SetCurrentDeploymentGroupName(v string) *UpdateDeploymentGroupInput

SetCurrentDeploymentGroupName sets the CurrentDeploymentGroupName field's value.

func (*UpdateDeploymentGroupInput) SetDeploymentConfigName added in v1.5.0

func (s *UpdateDeploymentGroupInput) SetDeploymentConfigName(v string) *UpdateDeploymentGroupInput

SetDeploymentConfigName sets the DeploymentConfigName field's value.

func (*UpdateDeploymentGroupInput) SetDeploymentStyle added in v1.6.18

SetDeploymentStyle sets the DeploymentStyle field's value.

func (*UpdateDeploymentGroupInput) SetEc2TagFilters added in v1.5.0

SetEc2TagFilters sets the Ec2TagFilters field's value.

func (*UpdateDeploymentGroupInput) SetLoadBalancerInfo added in v1.6.18

SetLoadBalancerInfo sets the LoadBalancerInfo field's value.

func (*UpdateDeploymentGroupInput) SetNewDeploymentGroupName added in v1.5.0

func (s *UpdateDeploymentGroupInput) SetNewDeploymentGroupName(v string) *UpdateDeploymentGroupInput

SetNewDeploymentGroupName sets the NewDeploymentGroupName field's value.

func (*UpdateDeploymentGroupInput) SetOnPremisesInstanceTagFilters added in v1.5.0

func (s *UpdateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []*TagFilter) *UpdateDeploymentGroupInput

SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.

func (*UpdateDeploymentGroupInput) SetServiceRoleArn added in v1.5.0

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*UpdateDeploymentGroupInput) SetTriggerConfigurations added in v1.5.0

func (s *UpdateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig) *UpdateDeploymentGroupInput

SetTriggerConfigurations sets the TriggerConfigurations field's value.

func (UpdateDeploymentGroupInput) String added in v0.6.5

String returns the string representation

func (*UpdateDeploymentGroupInput) Validate added in v1.1.21

func (s *UpdateDeploymentGroupInput) Validate() error

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

type UpdateDeploymentGroupOutput

type UpdateDeploymentGroupOutput struct {

	// If the output contains no data, and the corresponding deployment group contained
	// at least one Auto Scaling group, AWS CodeDeploy successfully removed all
	// corresponding Auto Scaling lifecycle event hooks from the AWS account. If
	// the output contains data, AWS CodeDeploy could not remove some Auto Scaling
	// lifecycle event hooks from the AWS account.
	HooksNotCleanedUp []*AutoScalingGroup `locationName:"hooksNotCleanedUp" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of an UpdateDeploymentGroup operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupOutput

func (UpdateDeploymentGroupOutput) GoString added in v0.6.5

func (s UpdateDeploymentGroupOutput) GoString() string

GoString returns the string representation

func (*UpdateDeploymentGroupOutput) SetHooksNotCleanedUp added in v1.5.0

SetHooksNotCleanedUp sets the HooksNotCleanedUp field's value.

func (UpdateDeploymentGroupOutput) String added in v0.6.5

String returns the string representation

Directories

Path Synopsis
Package codedeployiface provides an interface to enable mocking the AWS CodeDeploy service client for testing your code.
Package codedeployiface provides an interface to enable mocking the AWS CodeDeploy service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL