Documentation
¶
Overview ¶
Package codedeploy provides a client for AWS CodeDeploy.
Index ¶
- Constants
- type ApplicationInfo
- type AutoScalingGroup
- type BatchGetApplicationsInput
- type BatchGetApplicationsOutput
- type BatchGetDeploymentsInput
- type BatchGetDeploymentsOutput
- type CodeDeploy
- func (c *CodeDeploy) BatchGetApplications(req *BatchGetApplicationsInput) (resp *BatchGetApplicationsOutput, err error)
- func (c *CodeDeploy) BatchGetDeployments(req *BatchGetDeploymentsInput) (resp *BatchGetDeploymentsOutput, err error)
- func (c *CodeDeploy) CreateApplication(req *CreateApplicationInput) (resp *CreateApplicationOutput, err error)
- func (c *CodeDeploy) CreateDeployment(req *CreateDeploymentInput) (resp *CreateDeploymentOutput, err error)
- func (c *CodeDeploy) CreateDeploymentConfig(req *CreateDeploymentConfigInput) (resp *CreateDeploymentConfigOutput, err error)
- func (c *CodeDeploy) CreateDeploymentGroup(req *CreateDeploymentGroupInput) (resp *CreateDeploymentGroupOutput, err error)
- func (c *CodeDeploy) DeleteApplication(req *DeleteApplicationInput) (err error)
- func (c *CodeDeploy) DeleteDeploymentConfig(req *DeleteDeploymentConfigInput) (err error)
- func (c *CodeDeploy) DeleteDeploymentGroup(req *DeleteDeploymentGroupInput) (resp *DeleteDeploymentGroupOutput, err error)
- func (c *CodeDeploy) GetApplication(req *GetApplicationInput) (resp *GetApplicationOutput, err error)
- func (c *CodeDeploy) GetApplicationRevision(req *GetApplicationRevisionInput) (resp *GetApplicationRevisionOutput, err error)
- func (c *CodeDeploy) GetDeployment(req *GetDeploymentInput) (resp *GetDeploymentOutput, err error)
- func (c *CodeDeploy) GetDeploymentConfig(req *GetDeploymentConfigInput) (resp *GetDeploymentConfigOutput, err error)
- func (c *CodeDeploy) GetDeploymentGroup(req *GetDeploymentGroupInput) (resp *GetDeploymentGroupOutput, err error)
- func (c *CodeDeploy) GetDeploymentInstance(req *GetDeploymentInstanceInput) (resp *GetDeploymentInstanceOutput, err error)
- func (c *CodeDeploy) ListApplicationRevisions(req *ListApplicationRevisionsInput) (resp *ListApplicationRevisionsOutput, err error)
- func (c *CodeDeploy) ListApplications(req *ListApplicationsInput) (resp *ListApplicationsOutput, err error)
- func (c *CodeDeploy) ListDeploymentConfigs(req *ListDeploymentConfigsInput) (resp *ListDeploymentConfigsOutput, err error)
- func (c *CodeDeploy) ListDeploymentGroups(req *ListDeploymentGroupsInput) (resp *ListDeploymentGroupsOutput, err error)
- func (c *CodeDeploy) ListDeploymentInstances(req *ListDeploymentInstancesInput) (resp *ListDeploymentInstancesOutput, err error)
- func (c *CodeDeploy) ListDeployments(req *ListDeploymentsInput) (resp *ListDeploymentsOutput, err error)
- func (c *CodeDeploy) RegisterApplicationRevision(req *RegisterApplicationRevisionInput) (err error)
- func (c *CodeDeploy) StopDeployment(req *StopDeploymentInput) (resp *StopDeploymentOutput, err error)
- func (c *CodeDeploy) UpdateApplication(req *UpdateApplicationInput) (err error)
- func (c *CodeDeploy) UpdateDeploymentGroup(req *UpdateDeploymentGroupInput) (resp *UpdateDeploymentGroupOutput, err error)
- type CreateApplicationInput
- type CreateApplicationOutput
- type CreateDeploymentConfigInput
- type CreateDeploymentConfigOutput
- type CreateDeploymentGroupInput
- type CreateDeploymentGroupOutput
- type CreateDeploymentInput
- type CreateDeploymentOutput
- type DeleteApplicationInput
- type DeleteDeploymentConfigInput
- type DeleteDeploymentGroupInput
- type DeleteDeploymentGroupOutput
- type DeploymentConfigInfo
- type DeploymentGroupInfo
- type DeploymentInfo
- type DeploymentOverview
- type Diagnostics
- type EC2TagFilter
- type ErrorInformation
- type GenericRevisionInfo
- type GetApplicationInput
- type GetApplicationOutput
- type GetApplicationRevisionInput
- type GetApplicationRevisionOutput
- type GetDeploymentConfigInput
- type GetDeploymentConfigOutput
- type GetDeploymentGroupInput
- type GetDeploymentGroupOutput
- type GetDeploymentInput
- type GetDeploymentInstanceInput
- type GetDeploymentInstanceOutput
- type GetDeploymentOutput
- type GitHubLocation
- type InstanceSummary
- type LifecycleEvent
- type ListApplicationRevisionsInput
- type ListApplicationRevisionsOutput
- type ListApplicationsInput
- type ListApplicationsOutput
- type ListDeploymentConfigsInput
- type ListDeploymentConfigsOutput
- type ListDeploymentGroupsInput
- type ListDeploymentGroupsOutput
- type ListDeploymentInstancesInput
- type ListDeploymentInstancesOutput
- type ListDeploymentsInput
- type ListDeploymentsOutput
- type MinimumHealthyHosts
- type RegisterApplicationRevisionInput
- type RevisionLocation
- type S3Location
- type StopDeploymentInput
- type StopDeploymentOutput
- type TimeRange
- type UpdateApplicationInput
- type UpdateDeploymentGroupInput
- type UpdateDeploymentGroupOutput
Constants ¶
const ( ApplicationRevisionSortByFirstUsedTime = "firstUsedTime" ApplicationRevisionSortByLastUsedTime = "lastUsedTime" ApplicationRevisionSortByRegisterTime = "registerTime" )
Possible values for CodeDeploy.
const ( BundleTypeTAR = "tar" BundleTypeTGZ = "tgz" BundleTypeZip = "zip" )
Possible values for CodeDeploy.
const ( DeploymentCreatorAutoscaling = "autoscaling" DeploymentCreatorUser = "user" )
Possible values for CodeDeploy.
const ( DeploymentStatusCreated = "Created" DeploymentStatusFailed = "Failed" DeploymentStatusInProgress = "InProgress" DeploymentStatusQueued = "Queued" DeploymentStatusStopped = "Stopped" DeploymentStatusSucceeded = "Succeeded" )
Possible values for CodeDeploy.
const ( EC2TagFilterTypeKeyAndValue = "KEY_AND_VALUE" EC2TagFilterTypeKeyOnly = "KEY_ONLY" EC2TagFilterTypeValueOnly = "VALUE_ONLY" )
Possible values for CodeDeploy.
const ( ErrorCodeApplicationMissing = "APPLICATION_MISSING" ErrorCodeDeploymentGroupMissing = "DEPLOYMENT_GROUP_MISSING" ErrorCodeHealthConstraints = "HEALTH_CONSTRAINTS" ErrorCodeHealthConstraintsInvalid = "HEALTH_CONSTRAINTS_INVALID" ErrorCodeIAMRoleMissing = "IAM_ROLE_MISSING" ErrorCodeIAMRolePermissions = "IAM_ROLE_PERMISSIONS" ErrorCodeInternalError = "INTERNAL_ERROR" ErrorCodeNoInstances = "NO_INSTANCES" ErrorCodeOverMaxInstances = "OVER_MAX_INSTANCES" ErrorCodeRevisionMissing = "REVISION_MISSING" ErrorCodeTimeout = "TIMEOUT" )
Possible values for CodeDeploy.
const ( InstanceStatusFailed = "Failed" InstanceStatusInProgress = "InProgress" InstanceStatusPending = "Pending" InstanceStatusSkipped = "Skipped" InstanceStatusSucceeded = "Succeeded" InstanceStatusUnknown = "Unknown" )
Possible values for CodeDeploy.
const ( LifecycleErrorCodeScriptFailed = "ScriptFailed" LifecycleErrorCodeScriptMissing = "ScriptMissing" LifecycleErrorCodeScriptNotExecutable = "ScriptNotExecutable" LifecycleErrorCodeScriptTimedOut = "ScriptTimedOut" LifecycleErrorCodeSuccess = "Success" LifecycleErrorCodeUnknownError = "UnknownError" )
Possible values for CodeDeploy.
const ( LifecycleEventStatusFailed = "Failed" LifecycleEventStatusInProgress = "InProgress" LifecycleEventStatusPending = "Pending" LifecycleEventStatusSkipped = "Skipped" LifecycleEventStatusSucceeded = "Succeeded" LifecycleEventStatusUnknown = "Unknown" )
Possible values for CodeDeploy.
const ( ListStateFilterActionExclude = "exclude" ListStateFilterActionIgnore = "ignore" ListStateFilterActionInclude = "include" )
Possible values for CodeDeploy.
const ( MinimumHealthyHostsTypeFleetPercent = "FLEET_PERCENT" MinimumHealthyHostsTypeHostCount = "HOST_COUNT" )
Possible values for CodeDeploy.
const ( RevisionLocationTypeGitHub = "GitHub" RevisionLocationTypeS3 = "S3" )
Possible values for CodeDeploy.
const ( SortOrderAscending = "ascending" SortOrderDescending = "descending" )
Possible values for CodeDeploy.
const ( StopStatusPending = "Pending" StopStatusSucceeded = "Succeeded" )
Possible values for CodeDeploy.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationInfo ¶
type ApplicationInfo struct {
ApplicationID aws.StringValue `json:"applicationId,omitempty"`
ApplicationName aws.StringValue `json:"applicationName,omitempty"`
CreateTime *aws.UnixTimestamp `json:"createTime,omitempty"`
LinkedToGitHub aws.BooleanValue `json:"linkedToGitHub,omitempty"`
}
ApplicationInfo is undocumented.
type AutoScalingGroup ¶
type AutoScalingGroup struct {
Hook aws.StringValue `json:"hook,omitempty"`
Name aws.StringValue `json:"name,omitempty"`
}
AutoScalingGroup is undocumented.
type BatchGetApplicationsInput ¶
type BatchGetApplicationsInput struct {
ApplicationNames []string `json:"applicationNames,omitempty"`
}
BatchGetApplicationsInput is undocumented.
type BatchGetApplicationsOutput ¶
type BatchGetApplicationsOutput struct {
ApplicationsInfo []ApplicationInfo `json:"applicationsInfo,omitempty"`
}
BatchGetApplicationsOutput is undocumented.
type BatchGetDeploymentsInput ¶
type BatchGetDeploymentsInput struct {
DeploymentIDs []string `json:"deploymentIds,omitempty"`
}
BatchGetDeploymentsInput is undocumented.
type BatchGetDeploymentsOutput ¶
type BatchGetDeploymentsOutput struct {
DeploymentsInfo []DeploymentInfo `json:"deploymentsInfo,omitempty"`
}
BatchGetDeploymentsOutput is undocumented.
type CodeDeploy ¶
type CodeDeploy struct {
// contains filtered or unexported fields
}
CodeDeploy is a client for AWS CodeDeploy.
func New ¶
func New(creds aws.CredentialsProvider, region string, client *http.Client) *CodeDeploy
New returns a new CodeDeploy client.
func (*CodeDeploy) BatchGetApplications ¶
func (c *CodeDeploy) BatchGetApplications(req *BatchGetApplicationsInput) (resp *BatchGetApplicationsOutput, err error)
BatchGetApplications is undocumented.
func (*CodeDeploy) BatchGetDeployments ¶
func (c *CodeDeploy) BatchGetDeployments(req *BatchGetDeploymentsInput) (resp *BatchGetDeploymentsOutput, err error)
BatchGetDeployments is undocumented.
func (*CodeDeploy) CreateApplication ¶
func (c *CodeDeploy) CreateApplication(req *CreateApplicationInput) (resp *CreateApplicationOutput, err error)
CreateApplication is undocumented.
func (*CodeDeploy) CreateDeployment ¶
func (c *CodeDeploy) CreateDeployment(req *CreateDeploymentInput) (resp *CreateDeploymentOutput, err error)
CreateDeployment deploys an application revision to the specified deployment group.
func (*CodeDeploy) CreateDeploymentConfig ¶
func (c *CodeDeploy) CreateDeploymentConfig(req *CreateDeploymentConfigInput) (resp *CreateDeploymentConfigOutput, err error)
CreateDeploymentConfig is undocumented.
func (*CodeDeploy) CreateDeploymentGroup ¶
func (c *CodeDeploy) CreateDeploymentGroup(req *CreateDeploymentGroupInput) (resp *CreateDeploymentGroupOutput, err error)
CreateDeploymentGroup creates a new deployment group for application revisions to be deployed to.
func (*CodeDeploy) DeleteApplication ¶
func (c *CodeDeploy) DeleteApplication(req *DeleteApplicationInput) (err error)
DeleteApplication is undocumented.
func (*CodeDeploy) DeleteDeploymentConfig ¶
func (c *CodeDeploy) DeleteDeploymentConfig(req *DeleteDeploymentConfigInput) (err error)
DeleteDeploymentConfig deletes a deployment configuration. A deployment configuration cannot be deleted if it is currently in use. Also, predefined configurations cannot be deleted.
func (*CodeDeploy) DeleteDeploymentGroup ¶
func (c *CodeDeploy) DeleteDeploymentGroup(req *DeleteDeploymentGroupInput) (resp *DeleteDeploymentGroupOutput, err error)
DeleteDeploymentGroup is undocumented.
func (*CodeDeploy) GetApplication ¶
func (c *CodeDeploy) GetApplication(req *GetApplicationInput) (resp *GetApplicationOutput, err error)
GetApplication is undocumented.
func (*CodeDeploy) GetApplicationRevision ¶
func (c *CodeDeploy) GetApplicationRevision(req *GetApplicationRevisionInput) (resp *GetApplicationRevisionOutput, err error)
GetApplicationRevision is undocumented.
func (*CodeDeploy) GetDeployment ¶
func (c *CodeDeploy) GetDeployment(req *GetDeploymentInput) (resp *GetDeploymentOutput, err error)
GetDeployment is undocumented.
func (*CodeDeploy) GetDeploymentConfig ¶
func (c *CodeDeploy) GetDeploymentConfig(req *GetDeploymentConfigInput) (resp *GetDeploymentConfigOutput, err error)
GetDeploymentConfig is undocumented.
func (*CodeDeploy) GetDeploymentGroup ¶
func (c *CodeDeploy) GetDeploymentGroup(req *GetDeploymentGroupInput) (resp *GetDeploymentGroupOutput, err error)
GetDeploymentGroup is undocumented.
func (*CodeDeploy) GetDeploymentInstance ¶
func (c *CodeDeploy) GetDeploymentInstance(req *GetDeploymentInstanceInput) (resp *GetDeploymentInstanceOutput, err error)
GetDeploymentInstance gets information about an Amazon EC2 instance as part of a deployment.
func (*CodeDeploy) ListApplicationRevisions ¶
func (c *CodeDeploy) ListApplicationRevisions(req *ListApplicationRevisionsInput) (resp *ListApplicationRevisionsOutput, err error)
ListApplicationRevisions lists information about revisions for an application.
func (*CodeDeploy) ListApplications ¶
func (c *CodeDeploy) ListApplications(req *ListApplicationsInput) (resp *ListApplicationsOutput, err error)
ListApplications lists the applications registered within the AWS user account.
func (*CodeDeploy) ListDeploymentConfigs ¶
func (c *CodeDeploy) ListDeploymentConfigs(req *ListDeploymentConfigsInput) (resp *ListDeploymentConfigsOutput, err error)
ListDeploymentConfigs lists the deployment configurations within the AWS user account.
func (*CodeDeploy) ListDeploymentGroups ¶
func (c *CodeDeploy) ListDeploymentGroups(req *ListDeploymentGroupsInput) (resp *ListDeploymentGroupsOutput, err error)
ListDeploymentGroups lists the deployment groups for an application registered within the AWS user account.
func (*CodeDeploy) ListDeploymentInstances ¶
func (c *CodeDeploy) ListDeploymentInstances(req *ListDeploymentInstancesInput) (resp *ListDeploymentInstancesOutput, err error)
ListDeploymentInstances lists the Amazon EC2 instances for a deployment within the AWS user account.
func (*CodeDeploy) ListDeployments ¶
func (c *CodeDeploy) ListDeployments(req *ListDeploymentsInput) (resp *ListDeploymentsOutput, err error)
ListDeployments lists the deployments under a deployment group for an application registered within the AWS user account.
func (*CodeDeploy) RegisterApplicationRevision ¶
func (c *CodeDeploy) RegisterApplicationRevision(req *RegisterApplicationRevisionInput) (err error)
RegisterApplicationRevision registers with AWS CodeDeploy a revision for the specified application.
func (*CodeDeploy) StopDeployment ¶
func (c *CodeDeploy) StopDeployment(req *StopDeploymentInput) (resp *StopDeploymentOutput, err error)
StopDeployment is undocumented.
func (*CodeDeploy) UpdateApplication ¶
func (c *CodeDeploy) UpdateApplication(req *UpdateApplicationInput) (err error)
UpdateApplication is undocumented.
func (*CodeDeploy) UpdateDeploymentGroup ¶
func (c *CodeDeploy) UpdateDeploymentGroup(req *UpdateDeploymentGroupInput) (resp *UpdateDeploymentGroupOutput, err error)
UpdateDeploymentGroup changes information about an existing deployment group.
type CreateApplicationInput ¶
type CreateApplicationInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
}
CreateApplicationInput is undocumented.
type CreateApplicationOutput ¶
type CreateApplicationOutput struct {
ApplicationID aws.StringValue `json:"applicationId,omitempty"`
}
CreateApplicationOutput is undocumented.
type CreateDeploymentConfigInput ¶
type CreateDeploymentConfigInput struct {
DeploymentConfigName aws.StringValue `json:"deploymentConfigName"`
MinimumHealthyHosts *MinimumHealthyHosts `json:"minimumHealthyHosts,omitempty"`
}
CreateDeploymentConfigInput is undocumented.
type CreateDeploymentConfigOutput ¶
type CreateDeploymentConfigOutput struct {
DeploymentConfigID aws.StringValue `json:"deploymentConfigId,omitempty"`
}
CreateDeploymentConfigOutput is undocumented.
type CreateDeploymentGroupInput ¶
type CreateDeploymentGroupInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
AutoScalingGroups []string `json:"autoScalingGroups,omitempty"`
DeploymentConfigName aws.StringValue `json:"deploymentConfigName,omitempty"`
DeploymentGroupName aws.StringValue `json:"deploymentGroupName"`
EC2TagFilters []EC2TagFilter `json:"ec2TagFilters,omitempty"`
ServiceRoleARN aws.StringValue `json:"serviceRoleArn,omitempty"`
}
CreateDeploymentGroupInput is undocumented.
type CreateDeploymentGroupOutput ¶
type CreateDeploymentGroupOutput struct {
DeploymentGroupID aws.StringValue `json:"deploymentGroupId,omitempty"`
}
CreateDeploymentGroupOutput is undocumented.
type CreateDeploymentInput ¶
type CreateDeploymentInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
DeploymentConfigName aws.StringValue `json:"deploymentConfigName,omitempty"`
DeploymentGroupName aws.StringValue `json:"deploymentGroupName,omitempty"`
Description aws.StringValue `json:"description,omitempty"`
IgnoreApplicationStopFailures aws.BooleanValue `json:"ignoreApplicationStopFailures,omitempty"`
Revision *RevisionLocation `json:"revision,omitempty"`
}
CreateDeploymentInput is undocumented.
type CreateDeploymentOutput ¶
type CreateDeploymentOutput struct {
DeploymentID aws.StringValue `json:"deploymentId,omitempty"`
}
CreateDeploymentOutput is undocumented.
type DeleteApplicationInput ¶
type DeleteApplicationInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
}
DeleteApplicationInput is undocumented.
type DeleteDeploymentConfigInput ¶
type DeleteDeploymentConfigInput struct {
DeploymentConfigName aws.StringValue `json:"deploymentConfigName"`
}
DeleteDeploymentConfigInput is undocumented.
type DeleteDeploymentGroupInput ¶
type DeleteDeploymentGroupInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
DeploymentGroupName aws.StringValue `json:"deploymentGroupName"`
}
DeleteDeploymentGroupInput is undocumented.
type DeleteDeploymentGroupOutput ¶
type DeleteDeploymentGroupOutput struct {
HooksNotCleanedUp []AutoScalingGroup `json:"hooksNotCleanedUp,omitempty"`
}
DeleteDeploymentGroupOutput is undocumented.
type DeploymentConfigInfo ¶
type DeploymentConfigInfo struct {
CreateTime *aws.UnixTimestamp `json:"createTime,omitempty"`
DeploymentConfigID aws.StringValue `json:"deploymentConfigId,omitempty"`
DeploymentConfigName aws.StringValue `json:"deploymentConfigName,omitempty"`
MinimumHealthyHosts *MinimumHealthyHosts `json:"minimumHealthyHosts,omitempty"`
}
DeploymentConfigInfo is undocumented.
type DeploymentGroupInfo ¶
type DeploymentGroupInfo struct {
ApplicationName aws.StringValue `json:"applicationName,omitempty"`
AutoScalingGroups []AutoScalingGroup `json:"autoScalingGroups,omitempty"`
DeploymentConfigName aws.StringValue `json:"deploymentConfigName,omitempty"`
DeploymentGroupID aws.StringValue `json:"deploymentGroupId,omitempty"`
DeploymentGroupName aws.StringValue `json:"deploymentGroupName,omitempty"`
EC2TagFilters []EC2TagFilter `json:"ec2TagFilters,omitempty"`
ServiceRoleARN aws.StringValue `json:"serviceRoleArn,omitempty"`
TargetRevision *RevisionLocation `json:"targetRevision,omitempty"`
}
DeploymentGroupInfo is undocumented.
type DeploymentInfo ¶
type DeploymentInfo struct {
ApplicationName aws.StringValue `json:"applicationName,omitempty"`
CompleteTime *aws.UnixTimestamp `json:"completeTime,omitempty"`
CreateTime *aws.UnixTimestamp `json:"createTime,omitempty"`
Creator aws.StringValue `json:"creator,omitempty"`
DeploymentConfigName aws.StringValue `json:"deploymentConfigName,omitempty"`
DeploymentGroupName aws.StringValue `json:"deploymentGroupName,omitempty"`
DeploymentID aws.StringValue `json:"deploymentId,omitempty"`
DeploymentOverview *DeploymentOverview `json:"deploymentOverview,omitempty"`
Description aws.StringValue `json:"description,omitempty"`
ErrorInformation *ErrorInformation `json:"errorInformation,omitempty"`
IgnoreApplicationStopFailures aws.BooleanValue `json:"ignoreApplicationStopFailures,omitempty"`
Revision *RevisionLocation `json:"revision,omitempty"`
StartTime *aws.UnixTimestamp `json:"startTime,omitempty"`
Status aws.StringValue `json:"status,omitempty"`
}
DeploymentInfo is undocumented.
type DeploymentOverview ¶
type DeploymentOverview struct {
Failed aws.LongValue `json:"Failed,omitempty"`
InProgress aws.LongValue `json:"InProgress,omitempty"`
Pending aws.LongValue `json:"Pending,omitempty"`
Skipped aws.LongValue `json:"Skipped,omitempty"`
Succeeded aws.LongValue `json:"Succeeded,omitempty"`
}
DeploymentOverview is undocumented.
type Diagnostics ¶
type Diagnostics struct {
ErrorCode aws.StringValue `json:"errorCode,omitempty"`
LogTail aws.StringValue `json:"logTail,omitempty"`
Message aws.StringValue `json:"message,omitempty"`
ScriptName aws.StringValue `json:"scriptName,omitempty"`
}
Diagnostics is undocumented.
type EC2TagFilter ¶
type EC2TagFilter struct {
Key aws.StringValue `json:"Key,omitempty"`
Type aws.StringValue `json:"Type,omitempty"`
Value aws.StringValue `json:"Value,omitempty"`
}
EC2TagFilter is undocumented.
type ErrorInformation ¶
type ErrorInformation struct {
Code aws.StringValue `json:"code,omitempty"`
Message aws.StringValue `json:"message,omitempty"`
}
ErrorInformation is undocumented.
type GenericRevisionInfo ¶
type GenericRevisionInfo struct {
DeploymentGroups []string `json:"deploymentGroups,omitempty"`
Description aws.StringValue `json:"description,omitempty"`
FirstUsedTime *aws.UnixTimestamp `json:"firstUsedTime,omitempty"`
LastUsedTime *aws.UnixTimestamp `json:"lastUsedTime,omitempty"`
RegisterTime *aws.UnixTimestamp `json:"registerTime,omitempty"`
}
GenericRevisionInfo is undocumented.
type GetApplicationInput ¶
type GetApplicationInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
}
GetApplicationInput is undocumented.
type GetApplicationOutput ¶
type GetApplicationOutput struct {
Application *ApplicationInfo `json:"application,omitempty"`
}
GetApplicationOutput is undocumented.
type GetApplicationRevisionInput ¶
type GetApplicationRevisionInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
Revision *RevisionLocation `json:"revision"`
}
GetApplicationRevisionInput is undocumented.
type GetApplicationRevisionOutput ¶
type GetApplicationRevisionOutput struct {
ApplicationName aws.StringValue `json:"applicationName,omitempty"`
Revision *RevisionLocation `json:"revision,omitempty"`
RevisionInfo *GenericRevisionInfo `json:"revisionInfo,omitempty"`
}
GetApplicationRevisionOutput is undocumented.
type GetDeploymentConfigInput ¶
type GetDeploymentConfigInput struct {
DeploymentConfigName aws.StringValue `json:"deploymentConfigName"`
}
GetDeploymentConfigInput is undocumented.
type GetDeploymentConfigOutput ¶
type GetDeploymentConfigOutput struct {
DeploymentConfigInfo *DeploymentConfigInfo `json:"deploymentConfigInfo,omitempty"`
}
GetDeploymentConfigOutput is undocumented.
type GetDeploymentGroupInput ¶
type GetDeploymentGroupInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
DeploymentGroupName aws.StringValue `json:"deploymentGroupName"`
}
GetDeploymentGroupInput is undocumented.
type GetDeploymentGroupOutput ¶
type GetDeploymentGroupOutput struct {
DeploymentGroupInfo *DeploymentGroupInfo `json:"deploymentGroupInfo,omitempty"`
}
GetDeploymentGroupOutput is undocumented.
type GetDeploymentInput ¶
type GetDeploymentInput struct {
DeploymentID aws.StringValue `json:"deploymentId"`
}
GetDeploymentInput is undocumented.
type GetDeploymentInstanceInput ¶
type GetDeploymentInstanceInput struct {
DeploymentID aws.StringValue `json:"deploymentId"`
InstanceID aws.StringValue `json:"instanceId"`
}
GetDeploymentInstanceInput is undocumented.
type GetDeploymentInstanceOutput ¶
type GetDeploymentInstanceOutput struct {
InstanceSummary *InstanceSummary `json:"instanceSummary,omitempty"`
}
GetDeploymentInstanceOutput is undocumented.
type GetDeploymentOutput ¶
type GetDeploymentOutput struct {
DeploymentInfo *DeploymentInfo `json:"deploymentInfo,omitempty"`
}
GetDeploymentOutput is undocumented.
type GitHubLocation ¶
type GitHubLocation struct {
CommitID aws.StringValue `json:"commitId,omitempty"`
Repository aws.StringValue `json:"repository,omitempty"`
}
GitHubLocation is undocumented.
type InstanceSummary ¶
type InstanceSummary struct {
DeploymentID aws.StringValue `json:"deploymentId,omitempty"`
InstanceID aws.StringValue `json:"instanceId,omitempty"`
LastUpdatedAt *aws.UnixTimestamp `json:"lastUpdatedAt,omitempty"`
LifecycleEvents []LifecycleEvent `json:"lifecycleEvents,omitempty"`
Status aws.StringValue `json:"status,omitempty"`
}
InstanceSummary is undocumented.
type LifecycleEvent ¶
type LifecycleEvent struct {
Diagnostics *Diagnostics `json:"diagnostics,omitempty"`
EndTime *aws.UnixTimestamp `json:"endTime,omitempty"`
LifecycleEventName aws.StringValue `json:"lifecycleEventName,omitempty"`
StartTime *aws.UnixTimestamp `json:"startTime,omitempty"`
Status aws.StringValue `json:"status,omitempty"`
}
LifecycleEvent is undocumented.
type ListApplicationRevisionsInput ¶
type ListApplicationRevisionsInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
Deployed aws.StringValue `json:"deployed,omitempty"`
NextToken aws.StringValue `json:"nextToken,omitempty"`
S3Bucket aws.StringValue `json:"s3Bucket,omitempty"`
S3KeyPrefix aws.StringValue `json:"s3KeyPrefix,omitempty"`
SortBy aws.StringValue `json:"sortBy,omitempty"`
SortOrder aws.StringValue `json:"sortOrder,omitempty"`
}
ListApplicationRevisionsInput is undocumented.
type ListApplicationRevisionsOutput ¶
type ListApplicationRevisionsOutput struct {
NextToken aws.StringValue `json:"nextToken,omitempty"`
Revisions []RevisionLocation `json:"revisions,omitempty"`
}
ListApplicationRevisionsOutput is undocumented.
type ListApplicationsInput ¶
type ListApplicationsInput struct {
NextToken aws.StringValue `json:"nextToken,omitempty"`
}
ListApplicationsInput is undocumented.
type ListApplicationsOutput ¶
type ListApplicationsOutput struct {
Applications []string `json:"applications,omitempty"`
NextToken aws.StringValue `json:"nextToken,omitempty"`
}
ListApplicationsOutput is undocumented.
type ListDeploymentConfigsInput ¶
type ListDeploymentConfigsInput struct {
NextToken aws.StringValue `json:"nextToken,omitempty"`
}
ListDeploymentConfigsInput is undocumented.
type ListDeploymentConfigsOutput ¶
type ListDeploymentConfigsOutput struct {
DeploymentConfigsList []string `json:"deploymentConfigsList,omitempty"`
NextToken aws.StringValue `json:"nextToken,omitempty"`
}
ListDeploymentConfigsOutput is undocumented.
type ListDeploymentGroupsInput ¶
type ListDeploymentGroupsInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
NextToken aws.StringValue `json:"nextToken,omitempty"`
}
ListDeploymentGroupsInput is undocumented.
type ListDeploymentGroupsOutput ¶
type ListDeploymentGroupsOutput struct {
ApplicationName aws.StringValue `json:"applicationName,omitempty"`
DeploymentGroups []string `json:"deploymentGroups,omitempty"`
NextToken aws.StringValue `json:"nextToken,omitempty"`
}
ListDeploymentGroupsOutput is undocumented.
type ListDeploymentInstancesInput ¶
type ListDeploymentInstancesInput struct {
DeploymentID aws.StringValue `json:"deploymentId"`
InstanceStatusFilter []string `json:"instanceStatusFilter,omitempty"`
NextToken aws.StringValue `json:"nextToken,omitempty"`
}
ListDeploymentInstancesInput is undocumented.
type ListDeploymentInstancesOutput ¶
type ListDeploymentInstancesOutput struct {
InstancesList []string `json:"instancesList,omitempty"`
NextToken aws.StringValue `json:"nextToken,omitempty"`
}
ListDeploymentInstancesOutput is undocumented.
type ListDeploymentsInput ¶
type ListDeploymentsInput struct {
ApplicationName aws.StringValue `json:"applicationName,omitempty"`
CreateTimeRange *TimeRange `json:"createTimeRange,omitempty"`
DeploymentGroupName aws.StringValue `json:"deploymentGroupName,omitempty"`
IncludeOnlyStatuses []string `json:"includeOnlyStatuses,omitempty"`
NextToken aws.StringValue `json:"nextToken,omitempty"`
}
ListDeploymentsInput is undocumented.
type ListDeploymentsOutput ¶
type ListDeploymentsOutput struct {
Deployments []string `json:"deployments,omitempty"`
NextToken aws.StringValue `json:"nextToken,omitempty"`
}
ListDeploymentsOutput is undocumented.
type MinimumHealthyHosts ¶
type MinimumHealthyHosts struct {
Type aws.StringValue `json:"type,omitempty"`
Value aws.IntegerValue `json:"value,omitempty"`
}
MinimumHealthyHosts is undocumented.
type RegisterApplicationRevisionInput ¶
type RegisterApplicationRevisionInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
Description aws.StringValue `json:"description,omitempty"`
Revision *RevisionLocation `json:"revision"`
}
RegisterApplicationRevisionInput is undocumented.
type RevisionLocation ¶
type RevisionLocation struct {
GitHubLocation *GitHubLocation `json:"gitHubLocation,omitempty"`
RevisionType aws.StringValue `json:"revisionType,omitempty"`
S3Location *S3Location `json:"s3Location,omitempty"`
}
RevisionLocation is undocumented.
type S3Location ¶
type S3Location struct {
Bucket aws.StringValue `json:"bucket,omitempty"`
BundleType aws.StringValue `json:"bundleType,omitempty"`
ETag aws.StringValue `json:"eTag,omitempty"`
Key aws.StringValue `json:"key,omitempty"`
Version aws.StringValue `json:"version,omitempty"`
}
S3Location is undocumented.
type StopDeploymentInput ¶
type StopDeploymentInput struct {
DeploymentID aws.StringValue `json:"deploymentId"`
}
StopDeploymentInput is undocumented.
type StopDeploymentOutput ¶
type StopDeploymentOutput struct {
Status aws.StringValue `json:"status,omitempty"`
StatusMessage aws.StringValue `json:"statusMessage,omitempty"`
}
StopDeploymentOutput is undocumented.
type TimeRange ¶
type TimeRange struct {
End *aws.UnixTimestamp `json:"end,omitempty"`
Start *aws.UnixTimestamp `json:"start,omitempty"`
}
TimeRange is undocumented.
type UpdateApplicationInput ¶
type UpdateApplicationInput struct {
ApplicationName aws.StringValue `json:"applicationName,omitempty"`
NewApplicationName aws.StringValue `json:"newApplicationName,omitempty"`
}
UpdateApplicationInput is undocumented.
type UpdateDeploymentGroupInput ¶
type UpdateDeploymentGroupInput struct {
ApplicationName aws.StringValue `json:"applicationName"`
AutoScalingGroups []string `json:"autoScalingGroups,omitempty"`
CurrentDeploymentGroupName aws.StringValue `json:"currentDeploymentGroupName"`
DeploymentConfigName aws.StringValue `json:"deploymentConfigName,omitempty"`
EC2TagFilters []EC2TagFilter `json:"ec2TagFilters,omitempty"`
NewDeploymentGroupName aws.StringValue `json:"newDeploymentGroupName,omitempty"`
ServiceRoleARN aws.StringValue `json:"serviceRoleArn,omitempty"`
}
UpdateDeploymentGroupInput is undocumented.
type UpdateDeploymentGroupOutput ¶
type UpdateDeploymentGroupOutput struct {
HooksNotCleanedUp []AutoScalingGroup `json:"hooksNotCleanedUp,omitempty"`
}
UpdateDeploymentGroupOutput is undocumented.