ecs

package
Version: v1.44.14 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 10 Imported by: 751

Documentation

Overview

Package ecs provides the client and types for making API requests to Amazon EC2 Container Service.

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes it easy to run, stop, and manage Docker containers on a cluster. You can host your cluster on a serverless infrastructure that's managed by Amazon ECS by launching your services or tasks on Fargate. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage.

Amazon ECS makes it easy to launch and stop container-based applications with simple API calls. This makes it easy to get the state of your cluster from a centralized service, and gives you access to many familiar Amazon EC2 features.

You can use Amazon ECS to schedule the placement of containers across your cluster based on your resource needs, isolation policies, and availability requirements. With Amazon ECS, you don't need to operate your own cluster management and configuration management systems. You also don't need to worry about scaling your management infrastructure.

See https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13 for more information on this service.

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

Using the Client

To contact Amazon EC2 Container Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

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

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

See the Amazon EC2 Container Service client ECS for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/ecs/#New

Index

Examples

Constants

View Source
const (
	// AgentUpdateStatusPending is a AgentUpdateStatus enum value
	AgentUpdateStatusPending = "PENDING"

	// AgentUpdateStatusStaging is a AgentUpdateStatus enum value
	AgentUpdateStatusStaging = "STAGING"

	// AgentUpdateStatusStaged is a AgentUpdateStatus enum value
	AgentUpdateStatusStaged = "STAGED"

	// AgentUpdateStatusUpdating is a AgentUpdateStatus enum value
	AgentUpdateStatusUpdating = "UPDATING"

	// AgentUpdateStatusUpdated is a AgentUpdateStatus enum value
	AgentUpdateStatusUpdated = "UPDATED"

	// AgentUpdateStatusFailed is a AgentUpdateStatus enum value
	AgentUpdateStatusFailed = "FAILED"
)
View Source
const (
	// AssignPublicIpEnabled is a AssignPublicIp enum value
	AssignPublicIpEnabled = "ENABLED"

	// AssignPublicIpDisabled is a AssignPublicIp enum value
	AssignPublicIpDisabled = "DISABLED"
)
View Source
const (
	// CPUArchitectureX8664 is a CPUArchitecture enum value
	CPUArchitectureX8664 = "X86_64"

	// CPUArchitectureArm64 is a CPUArchitecture enum value
	CPUArchitectureArm64 = "ARM64"
)
View Source
const (
	// CapacityProviderStatusActive is a CapacityProviderStatus enum value
	CapacityProviderStatusActive = "ACTIVE"

	// CapacityProviderStatusInactive is a CapacityProviderStatus enum value
	CapacityProviderStatusInactive = "INACTIVE"
)
View Source
const (
	// CapacityProviderUpdateStatusDeleteInProgress is a CapacityProviderUpdateStatus enum value
	CapacityProviderUpdateStatusDeleteInProgress = "DELETE_IN_PROGRESS"

	// CapacityProviderUpdateStatusDeleteComplete is a CapacityProviderUpdateStatus enum value
	CapacityProviderUpdateStatusDeleteComplete = "DELETE_COMPLETE"

	// CapacityProviderUpdateStatusDeleteFailed is a CapacityProviderUpdateStatus enum value
	CapacityProviderUpdateStatusDeleteFailed = "DELETE_FAILED"

	// CapacityProviderUpdateStatusUpdateInProgress is a CapacityProviderUpdateStatus enum value
	CapacityProviderUpdateStatusUpdateInProgress = "UPDATE_IN_PROGRESS"

	// CapacityProviderUpdateStatusUpdateComplete is a CapacityProviderUpdateStatus enum value
	CapacityProviderUpdateStatusUpdateComplete = "UPDATE_COMPLETE"

	// CapacityProviderUpdateStatusUpdateFailed is a CapacityProviderUpdateStatus enum value
	CapacityProviderUpdateStatusUpdateFailed = "UPDATE_FAILED"
)
View Source
const (
	// ClusterFieldAttachments is a ClusterField enum value
	ClusterFieldAttachments = "ATTACHMENTS"

	// ClusterFieldConfigurations is a ClusterField enum value
	ClusterFieldConfigurations = "CONFIGURATIONS"

	// ClusterFieldSettings is a ClusterField enum value
	ClusterFieldSettings = "SETTINGS"

	// ClusterFieldStatistics is a ClusterField enum value
	ClusterFieldStatistics = "STATISTICS"

	// ClusterFieldTags is a ClusterField enum value
	ClusterFieldTags = "TAGS"
)
View Source
const (
	// CompatibilityEc2 is a Compatibility enum value
	CompatibilityEc2 = "EC2"

	// CompatibilityFargate is a Compatibility enum value
	CompatibilityFargate = "FARGATE"

	// CompatibilityExternal is a Compatibility enum value
	CompatibilityExternal = "EXTERNAL"
)
View Source
const (
	// ConnectivityConnected is a Connectivity enum value
	ConnectivityConnected = "CONNECTED"

	// ConnectivityDisconnected is a Connectivity enum value
	ConnectivityDisconnected = "DISCONNECTED"
)
View Source
const (
	// ContainerConditionStart is a ContainerCondition enum value
	ContainerConditionStart = "START"

	// ContainerConditionComplete is a ContainerCondition enum value
	ContainerConditionComplete = "COMPLETE"

	// ContainerConditionSuccess is a ContainerCondition enum value
	ContainerConditionSuccess = "SUCCESS"

	// ContainerConditionHealthy is a ContainerCondition enum value
	ContainerConditionHealthy = "HEALTHY"
)
View Source
const (
	// ContainerInstanceFieldTags is a ContainerInstanceField enum value
	ContainerInstanceFieldTags = "TAGS"

	// ContainerInstanceFieldContainerInstanceHealth is a ContainerInstanceField enum value
	ContainerInstanceFieldContainerInstanceHealth = "CONTAINER_INSTANCE_HEALTH"
)
View Source
const (
	// ContainerInstanceStatusActive is a ContainerInstanceStatus enum value
	ContainerInstanceStatusActive = "ACTIVE"

	// ContainerInstanceStatusDraining is a ContainerInstanceStatus enum value
	ContainerInstanceStatusDraining = "DRAINING"

	// ContainerInstanceStatusRegistering is a ContainerInstanceStatus enum value
	ContainerInstanceStatusRegistering = "REGISTERING"

	// ContainerInstanceStatusDeregistering is a ContainerInstanceStatus enum value
	ContainerInstanceStatusDeregistering = "DEREGISTERING"

	// ContainerInstanceStatusRegistrationFailed is a ContainerInstanceStatus enum value
	ContainerInstanceStatusRegistrationFailed = "REGISTRATION_FAILED"
)
View Source
const (
	// DeploymentControllerTypeEcs is a DeploymentControllerType enum value
	DeploymentControllerTypeEcs = "ECS"

	// DeploymentControllerTypeCodeDeploy is a DeploymentControllerType enum value
	DeploymentControllerTypeCodeDeploy = "CODE_DEPLOY"

	// DeploymentControllerTypeExternal is a DeploymentControllerType enum value
	DeploymentControllerTypeExternal = "EXTERNAL"
)
View Source
const (
	// DeploymentRolloutStateCompleted is a DeploymentRolloutState enum value
	DeploymentRolloutStateCompleted = "COMPLETED"

	// DeploymentRolloutStateFailed is a DeploymentRolloutState enum value
	DeploymentRolloutStateFailed = "FAILED"

	// DeploymentRolloutStateInProgress is a DeploymentRolloutState enum value
	DeploymentRolloutStateInProgress = "IN_PROGRESS"
)
View Source
const (
	// DesiredStatusRunning is a DesiredStatus enum value
	DesiredStatusRunning = "RUNNING"

	// DesiredStatusPending is a DesiredStatus enum value
	DesiredStatusPending = "PENDING"

	// DesiredStatusStopped is a DesiredStatus enum value
	DesiredStatusStopped = "STOPPED"
)
View Source
const (
	// DeviceCgroupPermissionRead is a DeviceCgroupPermission enum value
	DeviceCgroupPermissionRead = "read"

	// DeviceCgroupPermissionWrite is a DeviceCgroupPermission enum value
	DeviceCgroupPermissionWrite = "write"

	// DeviceCgroupPermissionMknod is a DeviceCgroupPermission enum value
	DeviceCgroupPermissionMknod = "mknod"
)
View Source
const (
	// EFSAuthorizationConfigIAMEnabled is a EFSAuthorizationConfigIAM enum value
	EFSAuthorizationConfigIAMEnabled = "ENABLED"

	// EFSAuthorizationConfigIAMDisabled is a EFSAuthorizationConfigIAM enum value
	EFSAuthorizationConfigIAMDisabled = "DISABLED"
)
View Source
const (
	// EFSTransitEncryptionEnabled is a EFSTransitEncryption enum value
	EFSTransitEncryptionEnabled = "ENABLED"

	// EFSTransitEncryptionDisabled is a EFSTransitEncryption enum value
	EFSTransitEncryptionDisabled = "DISABLED"
)
View Source
const (
	// ExecuteCommandLoggingNone is a ExecuteCommandLogging enum value
	ExecuteCommandLoggingNone = "NONE"

	// ExecuteCommandLoggingDefault is a ExecuteCommandLogging enum value
	ExecuteCommandLoggingDefault = "DEFAULT"

	// ExecuteCommandLoggingOverride is a ExecuteCommandLogging enum value
	ExecuteCommandLoggingOverride = "OVERRIDE"
)
View Source
const (
	// FirelensConfigurationTypeFluentd is a FirelensConfigurationType enum value
	FirelensConfigurationTypeFluentd = "fluentd"

	// FirelensConfigurationTypeFluentbit is a FirelensConfigurationType enum value
	FirelensConfigurationTypeFluentbit = "fluentbit"
)
View Source
const (
	// HealthStatusHealthy is a HealthStatus enum value
	HealthStatusHealthy = "HEALTHY"

	// HealthStatusUnhealthy is a HealthStatus enum value
	HealthStatusUnhealthy = "UNHEALTHY"

	// HealthStatusUnknown is a HealthStatus enum value
	HealthStatusUnknown = "UNKNOWN"
)
View Source
const (
	// InstanceHealthCheckStateOk is a InstanceHealthCheckState enum value
	InstanceHealthCheckStateOk = "OK"

	// InstanceHealthCheckStateImpaired is a InstanceHealthCheckState enum value
	InstanceHealthCheckStateImpaired = "IMPAIRED"

	// InstanceHealthCheckStateInsufficientData is a InstanceHealthCheckState enum value
	InstanceHealthCheckStateInsufficientData = "INSUFFICIENT_DATA"

	// InstanceHealthCheckStateInitializing is a InstanceHealthCheckState enum value
	InstanceHealthCheckStateInitializing = "INITIALIZING"
)
View Source
const (
	// IpcModeHost is a IpcMode enum value
	IpcModeHost = "host"

	// IpcModeTask is a IpcMode enum value
	IpcModeTask = "task"

	// IpcModeNone is a IpcMode enum value
	IpcModeNone = "none"
)
View Source
const (
	// LaunchTypeEc2 is a LaunchType enum value
	LaunchTypeEc2 = "EC2"

	// LaunchTypeFargate is a LaunchType enum value
	LaunchTypeFargate = "FARGATE"

	// LaunchTypeExternal is a LaunchType enum value
	LaunchTypeExternal = "EXTERNAL"
)
View Source
const (
	// LogDriverJsonFile is a LogDriver enum value
	LogDriverJsonFile = "json-file"

	// LogDriverSyslog is a LogDriver enum value
	LogDriverSyslog = "syslog"

	// LogDriverJournald is a LogDriver enum value
	LogDriverJournald = "journald"

	// LogDriverGelf is a LogDriver enum value
	LogDriverGelf = "gelf"

	// LogDriverFluentd is a LogDriver enum value
	LogDriverFluentd = "fluentd"

	// LogDriverAwslogs is a LogDriver enum value
	LogDriverAwslogs = "awslogs"

	// LogDriverSplunk is a LogDriver enum value
	LogDriverSplunk = "splunk"

	// LogDriverAwsfirelens is a LogDriver enum value
	LogDriverAwsfirelens = "awsfirelens"
)
View Source
const (
	// ManagedScalingStatusEnabled is a ManagedScalingStatus enum value
	ManagedScalingStatusEnabled = "ENABLED"

	// ManagedScalingStatusDisabled is a ManagedScalingStatus enum value
	ManagedScalingStatusDisabled = "DISABLED"
)
View Source
const (
	// ManagedTerminationProtectionEnabled is a ManagedTerminationProtection enum value
	ManagedTerminationProtectionEnabled = "ENABLED"

	// ManagedTerminationProtectionDisabled is a ManagedTerminationProtection enum value
	ManagedTerminationProtectionDisabled = "DISABLED"
)
View Source
const (
	// NetworkModeBridge is a NetworkMode enum value
	NetworkModeBridge = "bridge"

	// NetworkModeHost is a NetworkMode enum value
	NetworkModeHost = "host"

	// NetworkModeAwsvpc is a NetworkMode enum value
	NetworkModeAwsvpc = "awsvpc"

	// NetworkModeNone is a NetworkMode enum value
	NetworkModeNone = "none"
)
View Source
const (
	// OSFamilyWindowsServer2019Full is a OSFamily enum value
	OSFamilyWindowsServer2019Full = "WINDOWS_SERVER_2019_FULL"

	// OSFamilyWindowsServer2019Core is a OSFamily enum value
	OSFamilyWindowsServer2019Core = "WINDOWS_SERVER_2019_CORE"

	// OSFamilyWindowsServer2016Full is a OSFamily enum value
	OSFamilyWindowsServer2016Full = "WINDOWS_SERVER_2016_FULL"

	// OSFamilyWindowsServer2004Core is a OSFamily enum value
	OSFamilyWindowsServer2004Core = "WINDOWS_SERVER_2004_CORE"

	// OSFamilyWindowsServer2022Core is a OSFamily enum value
	OSFamilyWindowsServer2022Core = "WINDOWS_SERVER_2022_CORE"

	// OSFamilyWindowsServer2022Full is a OSFamily enum value
	OSFamilyWindowsServer2022Full = "WINDOWS_SERVER_2022_FULL"

	// OSFamilyWindowsServer20h2Core is a OSFamily enum value
	OSFamilyWindowsServer20h2Core = "WINDOWS_SERVER_20H2_CORE"

	// OSFamilyLinux is a OSFamily enum value
	OSFamilyLinux = "LINUX"
)
View Source
const (
	// PidModeHost is a PidMode enum value
	PidModeHost = "host"

	// PidModeTask is a PidMode enum value
	PidModeTask = "task"
)
View Source
const (
	// PlacementConstraintTypeDistinctInstance is a PlacementConstraintType enum value
	PlacementConstraintTypeDistinctInstance = "distinctInstance"

	// PlacementConstraintTypeMemberOf is a PlacementConstraintType enum value
	PlacementConstraintTypeMemberOf = "memberOf"
)
View Source
const (
	// PlacementStrategyTypeRandom is a PlacementStrategyType enum value
	PlacementStrategyTypeRandom = "random"

	// PlacementStrategyTypeSpread is a PlacementStrategyType enum value
	PlacementStrategyTypeSpread = "spread"

	// PlacementStrategyTypeBinpack is a PlacementStrategyType enum value
	PlacementStrategyTypeBinpack = "binpack"
)
View Source
const (
	// PropagateTagsTaskDefinition is a PropagateTags enum value
	PropagateTagsTaskDefinition = "TASK_DEFINITION"

	// PropagateTagsService is a PropagateTags enum value
	PropagateTagsService = "SERVICE"

	// PropagateTagsNone is a PropagateTags enum value
	PropagateTagsNone = "NONE"
)
View Source
const (
	// ResourceTypeGpu is a ResourceType enum value
	ResourceTypeGpu = "GPU"

	// ResourceTypeInferenceAccelerator is a ResourceType enum value
	ResourceTypeInferenceAccelerator = "InferenceAccelerator"
)
View Source
const (
	// SchedulingStrategyReplica is a SchedulingStrategy enum value
	SchedulingStrategyReplica = "REPLICA"

	// SchedulingStrategyDaemon is a SchedulingStrategy enum value
	SchedulingStrategyDaemon = "DAEMON"
)
View Source
const (
	// ScopeTask is a Scope enum value
	ScopeTask = "task"

	// ScopeShared is a Scope enum value
	ScopeShared = "shared"
)
View Source
const (
	// SettingNameServiceLongArnFormat is a SettingName enum value
	SettingNameServiceLongArnFormat = "serviceLongArnFormat"

	// SettingNameTaskLongArnFormat is a SettingName enum value
	SettingNameTaskLongArnFormat = "taskLongArnFormat"

	// SettingNameContainerInstanceLongArnFormat is a SettingName enum value
	SettingNameContainerInstanceLongArnFormat = "containerInstanceLongArnFormat"

	// SettingNameAwsvpcTrunking is a SettingName enum value
	SettingNameAwsvpcTrunking = "awsvpcTrunking"

	// SettingNameContainerInsights is a SettingName enum value
	SettingNameContainerInsights = "containerInsights"
)
View Source
const (
	// SortOrderAsc is a SortOrder enum value
	SortOrderAsc = "ASC"

	// SortOrderDesc is a SortOrder enum value
	SortOrderDesc = "DESC"
)
View Source
const (
	// StabilityStatusSteadyState is a StabilityStatus enum value
	StabilityStatusSteadyState = "STEADY_STATE"

	// StabilityStatusStabilizing is a StabilityStatus enum value
	StabilityStatusStabilizing = "STABILIZING"
)
View Source
const (
	// TaskDefinitionFamilyStatusActive is a TaskDefinitionFamilyStatus enum value
	TaskDefinitionFamilyStatusActive = "ACTIVE"

	// TaskDefinitionFamilyStatusInactive is a TaskDefinitionFamilyStatus enum value
	TaskDefinitionFamilyStatusInactive = "INACTIVE"

	// TaskDefinitionFamilyStatusAll is a TaskDefinitionFamilyStatus enum value
	TaskDefinitionFamilyStatusAll = "ALL"
)
View Source
const (
	// TaskDefinitionStatusActive is a TaskDefinitionStatus enum value
	TaskDefinitionStatusActive = "ACTIVE"

	// TaskDefinitionStatusInactive is a TaskDefinitionStatus enum value
	TaskDefinitionStatusInactive = "INACTIVE"
)
View Source
const (
	// TaskStopCodeTaskFailedToStart is a TaskStopCode enum value
	TaskStopCodeTaskFailedToStart = "TaskFailedToStart"

	// TaskStopCodeEssentialContainerExited is a TaskStopCode enum value
	TaskStopCodeEssentialContainerExited = "EssentialContainerExited"

	// TaskStopCodeUserInitiated is a TaskStopCode enum value
	TaskStopCodeUserInitiated = "UserInitiated"
)
View Source
const (
	// TransportProtocolTcp is a TransportProtocol enum value
	TransportProtocolTcp = "tcp"

	// TransportProtocolUdp is a TransportProtocol enum value
	TransportProtocolUdp = "udp"
)
View Source
const (
	// UlimitNameCore is a UlimitName enum value
	UlimitNameCore = "core"

	// UlimitNameCpu is a UlimitName enum value
	UlimitNameCpu = "cpu"

	// UlimitNameData is a UlimitName enum value
	UlimitNameData = "data"

	// UlimitNameFsize is a UlimitName enum value
	UlimitNameFsize = "fsize"

	// UlimitNameLocks is a UlimitName enum value
	UlimitNameLocks = "locks"

	// UlimitNameMemlock is a UlimitName enum value
	UlimitNameMemlock = "memlock"

	// UlimitNameMsgqueue is a UlimitName enum value
	UlimitNameMsgqueue = "msgqueue"

	// UlimitNameNice is a UlimitName enum value
	UlimitNameNice = "nice"

	// UlimitNameNofile is a UlimitName enum value
	UlimitNameNofile = "nofile"

	// UlimitNameNproc is a UlimitName enum value
	UlimitNameNproc = "nproc"

	// UlimitNameRss is a UlimitName enum value
	UlimitNameRss = "rss"

	// UlimitNameRtprio is a UlimitName enum value
	UlimitNameRtprio = "rtprio"

	// UlimitNameRttime is a UlimitName enum value
	UlimitNameRttime = "rttime"

	// UlimitNameSigpending is a UlimitName enum value
	UlimitNameSigpending = "sigpending"

	// UlimitNameStack is a UlimitName enum value
	UlimitNameStack = "stack"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You don't have authorization to perform the requested action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeAttributeLimitExceededException for service response error code
	// "AttributeLimitExceededException".
	//
	// You can apply up to 10 custom attributes for each resource. You can view
	// the attributes of a resource with ListAttributes. You can remove existing
	// attributes on a resource with DeleteAttributes.
	ErrCodeAttributeLimitExceededException = "AttributeLimitExceededException"

	// ErrCodeBlockedException for service response error code
	// "BlockedException".
	//
	// Your Amazon Web Services account was blocked. For more information, contact
	// Amazon Web Services Support (http://aws.amazon.com/contact-us/).
	ErrCodeBlockedException = "BlockedException"

	// ErrCodeClientException for service response error code
	// "ClientException".
	//
	// These errors are usually caused by a client action. This client action might
	// be using an action or resource on behalf of a user that doesn't have permissions
	// to use the action or resource,. Or, it might be specifying an identifier
	// that isn't valid.
	ErrCodeClientException = "ClientException"

	// ErrCodeClusterContainsContainerInstancesException for service response error code
	// "ClusterContainsContainerInstancesException".
	//
	// You can't delete a cluster that has registered container instances. First,
	// deregister the container instances before you can delete the cluster. For
	// more information, see DeregisterContainerInstance.
	ErrCodeClusterContainsContainerInstancesException = "ClusterContainsContainerInstancesException"

	// ErrCodeClusterContainsServicesException for service response error code
	// "ClusterContainsServicesException".
	//
	// You can't delete a cluster that contains services. First, update the service
	// to reduce its desired task count to 0, and then delete the service. For more
	// information, see UpdateService and DeleteService.
	ErrCodeClusterContainsServicesException = "ClusterContainsServicesException"

	// ErrCodeClusterContainsTasksException for service response error code
	// "ClusterContainsTasksException".
	//
	// You can't delete a cluster that has active tasks.
	ErrCodeClusterContainsTasksException = "ClusterContainsTasksException"

	// ErrCodeClusterNotFoundException for service response error code
	// "ClusterNotFoundException".
	//
	// The specified cluster wasn't found. You can view your available clusters
	// with ListClusters. Amazon ECS clusters are Region specific.
	ErrCodeClusterNotFoundException = "ClusterNotFoundException"

	// ErrCodeInvalidParameterException for service response error code
	// "InvalidParameterException".
	//
	// The specified parameter isn't valid. Review the available parameters for
	// the API request.
	ErrCodeInvalidParameterException = "InvalidParameterException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// The limit for the resource was exceeded.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeMissingVersionException for service response error code
	// "MissingVersionException".
	//
	// Amazon ECS can't determine the current version of the Amazon ECS container
	// agent on the container instance and doesn't have enough information to proceed
	// with an update. This could be because the agent running on the container
	// instance is a previous or custom version that doesn't use our version information.
	ErrCodeMissingVersionException = "MissingVersionException"

	// ErrCodeNoUpdateAvailableException for service response error code
	// "NoUpdateAvailableException".
	//
	// There's no update available for this Amazon ECS container agent. This might
	// be because the agent is already running the latest version or because it's
	// so old that there's no update path to the current version.
	ErrCodeNoUpdateAvailableException = "NoUpdateAvailableException"

	// ErrCodePlatformTaskDefinitionIncompatibilityException for service response error code
	// "PlatformTaskDefinitionIncompatibilityException".
	//
	// The specified platform version doesn't satisfy the required capabilities
	// of the task definition.
	ErrCodePlatformTaskDefinitionIncompatibilityException = "PlatformTaskDefinitionIncompatibilityException"

	// ErrCodePlatformUnknownException for service response error code
	// "PlatformUnknownException".
	//
	// The specified platform version doesn't exist.
	ErrCodePlatformUnknownException = "PlatformUnknownException"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUseException".
	//
	// The specified resource is in-use and can't be removed.
	ErrCodeResourceInUseException = "ResourceInUseException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified resource wasn't found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServerException for service response error code
	// "ServerException".
	//
	// These errors are usually caused by a server issue.
	ErrCodeServerException = "ServerException"

	// ErrCodeServiceNotActiveException for service response error code
	// "ServiceNotActiveException".
	//
	// The specified service isn't active. You can't update a service that's inactive.
	// If you have previously deleted a service, you can re-create it with CreateService.
	ErrCodeServiceNotActiveException = "ServiceNotActiveException"

	// ErrCodeServiceNotFoundException for service response error code
	// "ServiceNotFoundException".
	//
	// The specified service wasn't found. You can view your available services
	// with ListServices. Amazon ECS services are cluster specific and Region specific.
	ErrCodeServiceNotFoundException = "ServiceNotFoundException"

	// ErrCodeTargetNotConnectedException for service response error code
	// "TargetNotConnectedException".
	//
	// The execute command cannot run. This error can be caused by any of the following
	// configuration issues:
	//
	//    * Incorrect IAM permissions
	//
	//    * The SSM agent is not installed or is not running
	//
	//    * There is an interface Amazon VPC endpoint for Amazon ECS, but there
	//    is not one for for Systems Manager Session Manager
	//
	// For information about how to troubleshoot the issues, see Troubleshooting
	// issues with ECS Exec (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html)
	// in the Amazon Elastic Container Service Developer Guide.
	ErrCodeTargetNotConnectedException = "TargetNotConnectedException"

	// ErrCodeTargetNotFoundException for service response error code
	// "TargetNotFoundException".
	//
	// The specified target wasn't found. You can view your available container
	// instances with ListContainerInstances. Amazon ECS container instances are
	// cluster-specific and Region-specific.
	ErrCodeTargetNotFoundException = "TargetNotFoundException"

	// ErrCodeTaskSetNotFoundException for service response error code
	// "TaskSetNotFoundException".
	//
	// The specified task set wasn't found. You can view your available task sets
	// with DescribeTaskSets. Task sets are specific to each cluster, service and
	// Region.
	ErrCodeTaskSetNotFoundException = "TaskSetNotFoundException"

	// ErrCodeUnsupportedFeatureException for service response error code
	// "UnsupportedFeatureException".
	//
	// The specified task isn't supported in this Region.
	ErrCodeUnsupportedFeatureException = "UnsupportedFeatureException"

	// ErrCodeUpdateInProgressException for service response error code
	// "UpdateInProgressException".
	//
	// There's already a current Amazon ECS container agent update in progress on
	// the container instance that's specified. If the container agent becomes disconnected
	// while it's in a transitional stage, such as PENDING or STAGING, the update
	// process can get stuck in that state. However, when the agent reconnects,
	// it resumes where it stopped previously.
	ErrCodeUpdateInProgressException = "UpdateInProgressException"
)
View Source
const (
	ServiceName = "ecs"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "ECS"       // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// CapacityProviderFieldTags is a CapacityProviderField enum value
	CapacityProviderFieldTags = "TAGS"
)
View Source
const (
	// ClusterSettingNameContainerInsights is a ClusterSettingName enum value
	ClusterSettingNameContainerInsights = "containerInsights"
)
View Source
const (
	// EnvironmentFileTypeS3 is a EnvironmentFileType enum value
	EnvironmentFileTypeS3 = "s3"
)
View Source
const (
	// InstanceHealthCheckTypeContainerRuntime is a InstanceHealthCheckType enum value
	InstanceHealthCheckTypeContainerRuntime = "CONTAINER_RUNTIME"
)
View Source
const (
	// ManagedAgentNameExecuteCommandAgent is a ManagedAgentName enum value
	ManagedAgentNameExecuteCommandAgent = "ExecuteCommandAgent"
)
View Source
const (
	// PlatformDeviceTypeGpu is a PlatformDeviceType enum value
	PlatformDeviceTypeGpu = "GPU"
)
View Source
const (
	// ProxyConfigurationTypeAppmesh is a ProxyConfigurationType enum value
	ProxyConfigurationTypeAppmesh = "APPMESH"
)
View Source
const (
	// ScaleUnitPercent is a ScaleUnit enum value
	ScaleUnitPercent = "PERCENT"
)
View Source
const (
	// ServiceFieldTags is a ServiceField enum value
	ServiceFieldTags = "TAGS"
)
View Source
const (
	// TargetTypeContainerInstance is a TargetType enum value
	TargetTypeContainerInstance = "container-instance"
)
View Source
const (
	// TaskDefinitionFieldTags is a TaskDefinitionField enum value
	TaskDefinitionFieldTags = "TAGS"
)
View Source
const (
	// TaskDefinitionPlacementConstraintTypeMemberOf is a TaskDefinitionPlacementConstraintType enum value
	TaskDefinitionPlacementConstraintTypeMemberOf = "memberOf"
)
View Source
const (
	// TaskFieldTags is a TaskField enum value
	TaskFieldTags = "TAGS"
)
View Source
const (
	// TaskSetFieldTags is a TaskSetField enum value
	TaskSetFieldTags = "TAGS"
)

Variables

This section is empty.

Functions

func AgentUpdateStatus_Values added in v1.34.3

func AgentUpdateStatus_Values() []string

AgentUpdateStatus_Values returns all elements of the AgentUpdateStatus enum

func AssignPublicIp_Values added in v1.34.3

func AssignPublicIp_Values() []string

AssignPublicIp_Values returns all elements of the AssignPublicIp enum

func CPUArchitecture_Values added in v1.41.13

func CPUArchitecture_Values() []string

CPUArchitecture_Values returns all elements of the CPUArchitecture enum

func CapacityProviderField_Values added in v1.34.3

func CapacityProviderField_Values() []string

CapacityProviderField_Values returns all elements of the CapacityProviderField enum

func CapacityProviderStatus_Values added in v1.34.3

func CapacityProviderStatus_Values() []string

CapacityProviderStatus_Values returns all elements of the CapacityProviderStatus enum

func CapacityProviderUpdateStatus_Values added in v1.34.3

func CapacityProviderUpdateStatus_Values() []string

CapacityProviderUpdateStatus_Values returns all elements of the CapacityProviderUpdateStatus enum

func ClusterField_Values added in v1.34.3

func ClusterField_Values() []string

ClusterField_Values returns all elements of the ClusterField enum

func ClusterSettingName_Values added in v1.34.3

func ClusterSettingName_Values() []string

ClusterSettingName_Values returns all elements of the ClusterSettingName enum

func Compatibility_Values added in v1.34.3

func Compatibility_Values() []string

Compatibility_Values returns all elements of the Compatibility enum

func Connectivity_Values added in v1.34.3

func Connectivity_Values() []string

Connectivity_Values returns all elements of the Connectivity enum

func ContainerCondition_Values added in v1.34.3

func ContainerCondition_Values() []string

ContainerCondition_Values returns all elements of the ContainerCondition enum

func ContainerInstanceField_Values added in v1.34.3

func ContainerInstanceField_Values() []string

ContainerInstanceField_Values returns all elements of the ContainerInstanceField enum

func ContainerInstanceStatus_Values added in v1.34.3

func ContainerInstanceStatus_Values() []string

ContainerInstanceStatus_Values returns all elements of the ContainerInstanceStatus enum

func DeploymentControllerType_Values added in v1.34.3

func DeploymentControllerType_Values() []string

DeploymentControllerType_Values returns all elements of the DeploymentControllerType enum

func DeploymentRolloutState_Values added in v1.35.34

func DeploymentRolloutState_Values() []string

DeploymentRolloutState_Values returns all elements of the DeploymentRolloutState enum

func DesiredStatus_Values added in v1.34.3

func DesiredStatus_Values() []string

DesiredStatus_Values returns all elements of the DesiredStatus enum

func DeviceCgroupPermission_Values added in v1.34.3

func DeviceCgroupPermission_Values() []string

DeviceCgroupPermission_Values returns all elements of the DeviceCgroupPermission enum

func EFSAuthorizationConfigIAM_Values added in v1.34.3

func EFSAuthorizationConfigIAM_Values() []string

EFSAuthorizationConfigIAM_Values returns all elements of the EFSAuthorizationConfigIAM enum

func EFSTransitEncryption_Values added in v1.34.3

func EFSTransitEncryption_Values() []string

EFSTransitEncryption_Values returns all elements of the EFSTransitEncryption enum

func EnvironmentFileType_Values added in v1.34.3

func EnvironmentFileType_Values() []string

EnvironmentFileType_Values returns all elements of the EnvironmentFileType enum

func ExecuteCommandLogging_Values added in v1.37.31

func ExecuteCommandLogging_Values() []string

ExecuteCommandLogging_Values returns all elements of the ExecuteCommandLogging enum

func FirelensConfigurationType_Values added in v1.34.3

func FirelensConfigurationType_Values() []string

FirelensConfigurationType_Values returns all elements of the FirelensConfigurationType enum

func HealthStatus_Values added in v1.34.3

func HealthStatus_Values() []string

HealthStatus_Values returns all elements of the HealthStatus enum

func InstanceHealthCheckState_Values added in v1.42.2

func InstanceHealthCheckState_Values() []string

InstanceHealthCheckState_Values returns all elements of the InstanceHealthCheckState enum

func InstanceHealthCheckType_Values added in v1.42.2

func InstanceHealthCheckType_Values() []string

InstanceHealthCheckType_Values returns all elements of the InstanceHealthCheckType enum

func IpcMode_Values added in v1.34.3

func IpcMode_Values() []string

IpcMode_Values returns all elements of the IpcMode enum

func LaunchType_Values added in v1.34.3

func LaunchType_Values() []string

LaunchType_Values returns all elements of the LaunchType enum

func LogDriver_Values added in v1.34.3

func LogDriver_Values() []string

LogDriver_Values returns all elements of the LogDriver enum

func ManagedAgentName_Values added in v1.37.31

func ManagedAgentName_Values() []string

ManagedAgentName_Values returns all elements of the ManagedAgentName enum

func ManagedScalingStatus_Values added in v1.34.3

func ManagedScalingStatus_Values() []string

ManagedScalingStatus_Values returns all elements of the ManagedScalingStatus enum

func ManagedTerminationProtection_Values added in v1.34.3

func ManagedTerminationProtection_Values() []string

ManagedTerminationProtection_Values returns all elements of the ManagedTerminationProtection enum

func NetworkMode_Values added in v1.34.3

func NetworkMode_Values() []string

NetworkMode_Values returns all elements of the NetworkMode enum

func OSFamily_Values added in v1.41.13

func OSFamily_Values() []string

OSFamily_Values returns all elements of the OSFamily enum

func PidMode_Values added in v1.34.3

func PidMode_Values() []string

PidMode_Values returns all elements of the PidMode enum

func PlacementConstraintType_Values added in v1.34.3

func PlacementConstraintType_Values() []string

PlacementConstraintType_Values returns all elements of the PlacementConstraintType enum

func PlacementStrategyType_Values added in v1.34.3

func PlacementStrategyType_Values() []string

PlacementStrategyType_Values returns all elements of the PlacementStrategyType enum

func PlatformDeviceType_Values added in v1.34.3

func PlatformDeviceType_Values() []string

PlatformDeviceType_Values returns all elements of the PlatformDeviceType enum

func PropagateTags_Values added in v1.34.3

func PropagateTags_Values() []string

PropagateTags_Values returns all elements of the PropagateTags enum

func ProxyConfigurationType_Values added in v1.34.3

func ProxyConfigurationType_Values() []string

ProxyConfigurationType_Values returns all elements of the ProxyConfigurationType enum

func ResourceType_Values added in v1.34.3

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func ScaleUnit_Values added in v1.34.3

func ScaleUnit_Values() []string

ScaleUnit_Values returns all elements of the ScaleUnit enum

func SchedulingStrategy_Values added in v1.34.3

func SchedulingStrategy_Values() []string

SchedulingStrategy_Values returns all elements of the SchedulingStrategy enum

func Scope_Values added in v1.34.3

func Scope_Values() []string

Scope_Values returns all elements of the Scope enum

func ServiceField_Values added in v1.34.3

func ServiceField_Values() []string

ServiceField_Values returns all elements of the ServiceField enum

func SettingName_Values added in v1.34.3

func SettingName_Values() []string

SettingName_Values returns all elements of the SettingName enum

func SortOrder_Values added in v1.34.3

func SortOrder_Values() []string

SortOrder_Values returns all elements of the SortOrder enum

func StabilityStatus_Values added in v1.34.3

func StabilityStatus_Values() []string

StabilityStatus_Values returns all elements of the StabilityStatus enum

func TargetType_Values added in v1.34.3

func TargetType_Values() []string

TargetType_Values returns all elements of the TargetType enum

func TaskDefinitionFamilyStatus_Values added in v1.34.3

func TaskDefinitionFamilyStatus_Values() []string

TaskDefinitionFamilyStatus_Values returns all elements of the TaskDefinitionFamilyStatus enum

func TaskDefinitionField_Values added in v1.34.3

func TaskDefinitionField_Values() []string

TaskDefinitionField_Values returns all elements of the TaskDefinitionField enum

func TaskDefinitionPlacementConstraintType_Values added in v1.34.3

func TaskDefinitionPlacementConstraintType_Values() []string

TaskDefinitionPlacementConstraintType_Values returns all elements of the TaskDefinitionPlacementConstraintType enum

func TaskDefinitionStatus_Values added in v1.34.3

func TaskDefinitionStatus_Values() []string

TaskDefinitionStatus_Values returns all elements of the TaskDefinitionStatus enum

func TaskField_Values added in v1.34.3

func TaskField_Values() []string

TaskField_Values returns all elements of the TaskField enum

func TaskSetField_Values added in v1.34.3

func TaskSetField_Values() []string

TaskSetField_Values returns all elements of the TaskSetField enum

func TaskStopCode_Values added in v1.34.3

func TaskStopCode_Values() []string

TaskStopCode_Values returns all elements of the TaskStopCode enum

func TransportProtocol_Values added in v1.34.3

func TransportProtocol_Values() []string

TransportProtocol_Values returns all elements of the TransportProtocol enum

func UlimitName_Values added in v1.34.3

func UlimitName_Values() []string

UlimitName_Values returns all elements of the UlimitName enum

Types

type AccessDeniedException added in v1.28.0

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You don't have authorization to perform the requested action.

func (*AccessDeniedException) Code added in v1.28.0

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error added in v1.28.0

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString added in v1.28.0

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message added in v1.28.0

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr added in v1.28.0

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID added in v1.28.0

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode added in v1.28.0

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String added in v1.28.0

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Attachment added in v1.12.27

type Attachment struct {

	// Details of the attachment. For elastic network interfaces, this includes
	// the network interface ID, the MAC address, the subnet ID, and the private
	// IPv4 address.
	Details []*KeyValuePair `locationName:"details" type:"list"`

	// The unique identifier for the attachment.
	Id *string `locationName:"id" type:"string"`

	// The status of the attachment. Valid values are PRECREATED, CREATED, ATTACHING,
	// ATTACHED, DETACHING, DETACHED, DELETED, and FAILED.
	Status *string `locationName:"status" type:"string"`

	// The type of the attachment, such as ElasticNetworkInterface.
	Type *string `locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

An object representing a container instance or task attachment.

func (Attachment) GoString added in v1.12.27

func (s Attachment) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Attachment) SetDetails added in v1.12.27

func (s *Attachment) SetDetails(v []*KeyValuePair) *Attachment

SetDetails sets the Details field's value.

func (*Attachment) SetId added in v1.12.27

func (s *Attachment) SetId(v string) *Attachment

SetId sets the Id field's value.

func (*Attachment) SetStatus added in v1.12.27

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

SetStatus sets the Status field's value.

func (*Attachment) SetType added in v1.12.27

func (s *Attachment) SetType(v string) *Attachment

SetType sets the Type field's value.

func (Attachment) String added in v1.12.27

func (s Attachment) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AttachmentStateChange added in v1.12.27

type AttachmentStateChange struct {

	// The Amazon Resource Name (ARN) of the attachment.
	//
	// AttachmentArn is a required field
	AttachmentArn *string `locationName:"attachmentArn" type:"string" required:"true"`

	// The status of the attachment.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object representing a change in state for a task attachment.

func (AttachmentStateChange) GoString added in v1.12.27

func (s AttachmentStateChange) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AttachmentStateChange) SetAttachmentArn added in v1.12.27

func (s *AttachmentStateChange) SetAttachmentArn(v string) *AttachmentStateChange

SetAttachmentArn sets the AttachmentArn field's value.

func (*AttachmentStateChange) SetStatus added in v1.12.27

SetStatus sets the Status field's value.

func (AttachmentStateChange) String added in v1.12.27

func (s AttachmentStateChange) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AttachmentStateChange) Validate added in v1.12.27

func (s *AttachmentStateChange) Validate() error

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

type Attribute added in v0.9.14

type Attribute struct {

	// The name of the attribute. The name must contain between 1 and 128 characters.
	// The name may contain letters (uppercase and lowercase), numbers, hyphens
	// (-), underscores (_), forward slashes (/), back slashes (\), or periods (.).
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The ID of the target. You can specify the short form ID for a resource or
	// the full Amazon Resource Name (ARN).
	TargetId *string `locationName:"targetId" type:"string"`

	// The type of the target to attach the attribute with. This parameter is required
	// if you use the short form ID for a resource instead of the full ARN.
	TargetType *string `locationName:"targetType" type:"string" enum:"TargetType"`

	// The value of the attribute. The value must contain between 1 and 128 characters.
	// It can contain letters (uppercase and lowercase), numbers, hyphens (-), underscores
	// (_), periods (.), at signs (@), forward slashes (/), back slashes (\), colons
	// (:), or spaces. The value can't can't start or end with a space.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

An attribute is a name-value pair that's associated with an Amazon ECS object. Use attributes to extend the Amazon ECS data model by adding custom metadata to your resources. For more information, see Attributes (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes) in the Amazon Elastic Container Service Developer Guide.

func (Attribute) GoString added in v0.9.14

func (s Attribute) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Attribute) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (*Attribute) SetTargetId added in v1.6.9

func (s *Attribute) SetTargetId(v string) *Attribute

SetTargetId sets the TargetId field's value.

func (*Attribute) SetTargetType added in v1.6.9

func (s *Attribute) SetTargetType(v string) *Attribute

SetTargetType sets the TargetType field's value.

func (*Attribute) SetValue added in v1.5.0

func (s *Attribute) SetValue(v string) *Attribute

SetValue sets the Value field's value.

func (Attribute) String added in v0.9.14

func (s Attribute) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Attribute) Validate added in v1.1.21

func (s *Attribute) Validate() error

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

type AttributeLimitExceededException added in v1.28.0

type AttributeLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You can apply up to 10 custom attributes for each resource. You can view the attributes of a resource with ListAttributes. You can remove existing attributes on a resource with DeleteAttributes.

func (*AttributeLimitExceededException) Code added in v1.28.0

Code returns the exception type name.

func (*AttributeLimitExceededException) Error added in v1.28.0

func (AttributeLimitExceededException) GoString added in v1.28.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AttributeLimitExceededException) Message added in v1.28.0

Message returns the exception's message.

func (*AttributeLimitExceededException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AttributeLimitExceededException) RequestID added in v1.28.0

func (s *AttributeLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AttributeLimitExceededException) StatusCode added in v1.28.0

func (s *AttributeLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AttributeLimitExceededException) String added in v1.28.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AutoScalingGroupProvider added in v1.25.46

type AutoScalingGroupProvider struct {

	// The Amazon Resource Name (ARN) that identifies the Auto Scaling group.
	//
	// AutoScalingGroupArn is a required field
	AutoScalingGroupArn *string `locationName:"autoScalingGroupArn" type:"string" required:"true"`

	// The managed scaling settings for the Auto Scaling group capacity provider.
	ManagedScaling *ManagedScaling `locationName:"managedScaling" type:"structure"`

	// The managed termination protection setting to use for the Auto Scaling group
	// capacity provider. This determines whether the Auto Scaling group has managed
	// termination protection. The default is disabled.
	//
	// When using managed termination protection, managed scaling must also be used
	// otherwise managed termination protection doesn't work.
	//
	// When managed termination protection is enabled, Amazon ECS prevents the Amazon
	// EC2 instances in an Auto Scaling group that contain tasks from being terminated
	// during a scale-in action. The Auto Scaling group and each instance in the
	// Auto Scaling group must have instance protection from scale-in actions enabled
	// as well. For more information, see Instance Protection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection)
	// in the Auto Scaling User Guide.
	//
	// When managed termination protection is disabled, your Amazon EC2 instances
	// aren't protected from termination when the Auto Scaling group scales in.
	ManagedTerminationProtection *string `locationName:"managedTerminationProtection" type:"string" enum:"ManagedTerminationProtection"`
	// contains filtered or unexported fields
}

The details of the Auto Scaling group for the capacity provider.

func (AutoScalingGroupProvider) GoString added in v1.25.46

func (s AutoScalingGroupProvider) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoScalingGroupProvider) SetAutoScalingGroupArn added in v1.25.46

func (s *AutoScalingGroupProvider) SetAutoScalingGroupArn(v string) *AutoScalingGroupProvider

SetAutoScalingGroupArn sets the AutoScalingGroupArn field's value.

func (*AutoScalingGroupProvider) SetManagedScaling added in v1.25.46

SetManagedScaling sets the ManagedScaling field's value.

func (*AutoScalingGroupProvider) SetManagedTerminationProtection added in v1.25.46

func (s *AutoScalingGroupProvider) SetManagedTerminationProtection(v string) *AutoScalingGroupProvider

SetManagedTerminationProtection sets the ManagedTerminationProtection field's value.

func (AutoScalingGroupProvider) String added in v1.25.46

func (s AutoScalingGroupProvider) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoScalingGroupProvider) Validate added in v1.25.46

func (s *AutoScalingGroupProvider) Validate() error

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

type AutoScalingGroupProviderUpdate added in v1.35.34

type AutoScalingGroupProviderUpdate struct {

	// The managed scaling settings for the Auto Scaling group capacity provider.
	ManagedScaling *ManagedScaling `locationName:"managedScaling" type:"structure"`

	// The managed termination protection setting to use for the Auto Scaling group
	// capacity provider. This determines whether the Auto Scaling group has managed
	// termination protection.
	//
	// When using managed termination protection, managed scaling must also be used
	// otherwise managed termination protection doesn't work.
	//
	// When managed termination protection is enabled, Amazon ECS prevents the Amazon
	// EC2 instances in an Auto Scaling group that contain tasks from being terminated
	// during a scale-in action. The Auto Scaling group and each instance in the
	// Auto Scaling group must have instance protection from scale-in actions enabled.
	// For more information, see Instance Protection (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection)
	// in the Auto Scaling User Guide.
	//
	// When managed termination protection is disabled, your Amazon EC2 instances
	// aren't protected from termination when the Auto Scaling group scales in.
	ManagedTerminationProtection *string `locationName:"managedTerminationProtection" type:"string" enum:"ManagedTerminationProtection"`
	// contains filtered or unexported fields
}

The details of the Auto Scaling group capacity provider to update.

func (AutoScalingGroupProviderUpdate) GoString added in v1.35.34

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoScalingGroupProviderUpdate) SetManagedScaling added in v1.35.34

SetManagedScaling sets the ManagedScaling field's value.

func (*AutoScalingGroupProviderUpdate) SetManagedTerminationProtection added in v1.35.34

func (s *AutoScalingGroupProviderUpdate) SetManagedTerminationProtection(v string) *AutoScalingGroupProviderUpdate

SetManagedTerminationProtection sets the ManagedTerminationProtection field's value.

func (AutoScalingGroupProviderUpdate) String added in v1.35.34

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoScalingGroupProviderUpdate) Validate added in v1.35.34

func (s *AutoScalingGroupProviderUpdate) Validate() error

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

type AwsVpcConfiguration added in v1.12.27

type AwsVpcConfiguration struct {

	// Whether the task's elastic network interface receives a public IP address.
	// The default value is DISABLED.
	AssignPublicIp *string `locationName:"assignPublicIp" type:"string" enum:"AssignPublicIp"`

	// The IDs of the security groups associated with the task or service. If you
	// don't specify a security group, the default security group for the VPC is
	// used. There's a limit of 5 security groups that can be specified per AwsVpcConfiguration.
	//
	// All specified security groups must be from the same VPC.
	SecurityGroups []*string `locationName:"securityGroups" type:"list"`

	// The IDs of the subnets associated with the task or service. There's a limit
	// of 16 subnets that can be specified per AwsVpcConfiguration.
	//
	// All specified subnets must be from the same VPC.
	//
	// Subnets is a required field
	Subnets []*string `locationName:"subnets" type:"list" required:"true"`
	// contains filtered or unexported fields
}

An object representing the networking details for a task or service.

func (AwsVpcConfiguration) GoString added in v1.12.27

func (s AwsVpcConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AwsVpcConfiguration) SetAssignPublicIp added in v1.12.36

func (s *AwsVpcConfiguration) SetAssignPublicIp(v string) *AwsVpcConfiguration

SetAssignPublicIp sets the AssignPublicIp field's value.

func (*AwsVpcConfiguration) SetSecurityGroups added in v1.12.27

func (s *AwsVpcConfiguration) SetSecurityGroups(v []*string) *AwsVpcConfiguration

SetSecurityGroups sets the SecurityGroups field's value.

func (*AwsVpcConfiguration) SetSubnets added in v1.12.27

func (s *AwsVpcConfiguration) SetSubnets(v []*string) *AwsVpcConfiguration

SetSubnets sets the Subnets field's value.

func (AwsVpcConfiguration) String added in v1.12.27

func (s AwsVpcConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AwsVpcConfiguration) Validate added in v1.12.27

func (s *AwsVpcConfiguration) Validate() error

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

type BlockedException added in v1.28.0

type BlockedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Your Amazon Web Services account was blocked. For more information, contact Amazon Web Services Support (http://aws.amazon.com/contact-us/).

func (*BlockedException) Code added in v1.28.0

func (s *BlockedException) Code() string

Code returns the exception type name.

func (*BlockedException) Error added in v1.28.0

func (s *BlockedException) Error() string

func (BlockedException) GoString added in v1.28.0

func (s BlockedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BlockedException) Message added in v1.28.0

func (s *BlockedException) Message() string

Message returns the exception's message.

func (*BlockedException) OrigErr added in v1.28.0

func (s *BlockedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BlockedException) RequestID added in v1.28.0

func (s *BlockedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BlockedException) StatusCode added in v1.28.0

func (s *BlockedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BlockedException) String added in v1.28.0

func (s BlockedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CapacityProvider added in v1.25.46

type CapacityProvider struct {

	// The Auto Scaling group settings for the capacity provider.
	AutoScalingGroupProvider *AutoScalingGroupProvider `locationName:"autoScalingGroupProvider" type:"structure"`

	// The Amazon Resource Name (ARN) that identifies the capacity provider.
	CapacityProviderArn *string `locationName:"capacityProviderArn" type:"string"`

	// The name of the capacity provider.
	Name *string `locationName:"name" type:"string"`

	// The current status of the capacity provider. Only capacity providers in an
	// ACTIVE state can be used in a cluster. When a capacity provider is successfully
	// deleted, it has an INACTIVE status.
	Status *string `locationName:"status" type:"string" enum:"CapacityProviderStatus"`

	// The metadata that you apply to the capacity provider to help you categorize
	// and organize it. Each tag consists of a key and an optional value. You define
	// both.
	//
	// The following basic restrictions apply to tags:
	//
	//    * Maximum number of tags per resource - 50
	//
	//    * For each resource, each tag key must be unique, and each tag key can
	//    have only one value.
	//
	//    * Maximum key length - 128 Unicode characters in UTF-8
	//
	//    * Maximum value length - 256 Unicode characters in UTF-8
	//
	//    * If your tagging schema is used across multiple services and resources,
	//    remember that other services may have restrictions on allowed characters.
	//    Generally allowed characters are: letters, numbers, and spaces representable
	//    in UTF-8, and the following characters: + - = . _ : / @.
	//
	//    * Tag keys and values are case-sensitive.
	//
	//    * Do not use aws:, AWS:, or any upper or lowercase combination of such
	//    as a prefix for either keys or values as it is reserved for Amazon Web
	//    Services use. You cannot edit or delete tag keys or values with this prefix.
	//    Tags with this prefix do not count against your tags per resource limit.
	Tags []*Tag `locationName:"tags" type:"list"`

	// The update status of the capacity provider. The following are the possible
	// states that is returned.
	//
	// DELETE_IN_PROGRESS
	//
	// The capacity provider is in the process of being deleted.
	//
	// DELETE_COMPLETE
	//
	// The capacity provider was successfully deleted and has an INACTIVE status.
	//
	// DELETE_FAILED
	//
	// The capacity provider can't be deleted. The update status reason provides
	// further details about why the delete failed.
	UpdateStatus *string `locationName:"updateStatus" type:"string" enum:"CapacityProviderUpdateStatus"`

	// The update status reason. This provides further details about the update
	// status for the capacity provider.
	UpdateStatusReason *string `locationName:"updateStatusReason" type:"string"`
	// contains filtered or unexported fields
}

The details for a capacity provider.

func (CapacityProvider) GoString added in v1.25.46

func (s CapacityProvider) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CapacityProvider) SetAutoScalingGroupProvider added in v1.25.46

func (s *CapacityProvider) SetAutoScalingGroupProvider(v *AutoScalingGroupProvider) *CapacityProvider

SetAutoScalingGroupProvider sets the AutoScalingGroupProvider field's value.

func (*CapacityProvider) SetCapacityProviderArn added in v1.25.46

func (s *CapacityProvider) SetCapacityProviderArn(v string) *CapacityProvider

SetCapacityProviderArn sets the CapacityProviderArn field's value.

func (*CapacityProvider) SetName added in v1.25.46

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

SetName sets the Name field's value.

func (*CapacityProvider) SetStatus added in v1.25.46

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

SetStatus sets the Status field's value.

func (*CapacityProvider) SetTags added in v1.25.46

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

SetTags sets the Tags field's value.

func (*CapacityProvider) SetUpdateStatus added in v1.32.0

func (s *CapacityProvider) SetUpdateStatus(v string) *CapacityProvider

SetUpdateStatus sets the UpdateStatus field's value.

func (*CapacityProvider) SetUpdateStatusReason added in v1.32.0

func (s *CapacityProvider) SetUpdateStatusReason(v string) *CapacityProvider

SetUpdateStatusReason sets the UpdateStatusReason field's value.

func (CapacityProvider) String added in v1.25.46

func (s CapacityProvider) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CapacityProviderStrategyItem added in v1.25.46

type CapacityProviderStrategyItem struct {

	// The base value designates how many tasks, at a minimum, to run on the specified
	// capacity provider. Only one capacity provider in a capacity provider strategy
	// can have a base defined. If no value is specified, the default value of 0
	// is used.
	Base *int64 `locationName:"base" type:"integer"`

	// The short name of the capacity provider.
	//
	// CapacityProvider is a required field
	CapacityProvider *string `locationName:"capacityProvider" type:"string" required:"true"`

	// The weight value designates the relative percentage of the total number of
	// tasks launched that should use the specified capacity provider. The weight
	// value is taken into consideration after the base value, if defined, is satisfied.
	//
	// If no weight value is specified, the default value of 0 is used. When multiple
	// capacity providers are specified within a capacity provider strategy, at
	// least one of the capacity providers must have a weight value greater than
	// zero and any capacity providers with a weight of 0 can't be used to place
	// tasks. If you specify multiple capacity providers in a strategy that all
	// have a weight of 0, any RunTask or CreateService actions using the capacity
	// provider strategy will fail.
	//
	// An example scenario for using weights is defining a strategy that contains
	// two capacity providers and both have a weight of 1, then when the base is
	// satisfied, the tasks will be split evenly across the two capacity providers.
	// Using that same logic, if you specify a weight of 1 for capacityProviderA
	// and a weight of 4 for capacityProviderB, then for every one task that's run
	// using capacityProviderA, four tasks would use capacityProviderB.
	Weight *int64 `locationName:"weight" type:"integer"`
	// contains filtered or unexported fields
}

The details of a capacity provider strategy. A capacity provider strategy can be set when using the RunTask or CreateCluster APIs or as the default capacity provider strategy for a cluster with the CreateCluster API.

Only capacity providers that are already associated with a cluster and have an ACTIVE or UPDATING status can be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.

To use a Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used in a capacity provider strategy.

A capacity provider strategy may contain a maximum of 6 capacity providers.

func (CapacityProviderStrategyItem) GoString added in v1.25.46

func (s CapacityProviderStrategyItem) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CapacityProviderStrategyItem) SetBase added in v1.25.46

SetBase sets the Base field's value.

func (*CapacityProviderStrategyItem) SetCapacityProvider added in v1.25.46

SetCapacityProvider sets the CapacityProvider field's value.

func (*CapacityProviderStrategyItem) SetWeight added in v1.25.46

SetWeight sets the Weight field's value.

func (CapacityProviderStrategyItem) String added in v1.25.46

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CapacityProviderStrategyItem) Validate added in v1.25.46

func (s *CapacityProviderStrategyItem) Validate() error

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

type ClientException added in v1.28.0

type ClientException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

These errors are usually caused by a client action. This client action might be using an action or resource on behalf of a user that doesn't have permissions to use the action or resource,. Or, it might be specifying an identifier that isn't valid.

func (*ClientException) Code added in v1.28.0

func (s *ClientException) Code() string

Code returns the exception type name.

func (*ClientException) Error added in v1.28.0

func (s *ClientException) Error() string

func (ClientException) GoString added in v1.28.0

func (s ClientException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ClientException) Message added in v1.28.0

func (s *ClientException) Message() string

Message returns the exception's message.

func (*ClientException) OrigErr added in v1.28.0

func (s *ClientException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ClientException) RequestID added in v1.28.0

func (s *ClientException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ClientException) StatusCode added in v1.28.0

func (s *ClientException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ClientException) String added in v1.28.0

func (s ClientException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Cluster

type Cluster struct {

	// The number of services that are running on the cluster in an ACTIVE state.
	// You can view these services with ListServices.
	ActiveServicesCount *int64 `locationName:"activeServicesCount" type:"integer"`

	// The resources attached to a cluster. When using a capacity provider with
	// a cluster, the Auto Scaling plan that's created is returned as a cluster
	// attachment.
	Attachments []*Attachment `locationName:"attachments" type:"list"`

	// The status of the capacity providers associated with the cluster. The following
	// are the states that are returned.
	//
	// UPDATE_IN_PROGRESS
	//
	// The available capacity providers for the cluster are updating. This occurs
	// when the Auto Scaling plan is provisioning or deprovisioning.
	//
	// UPDATE_COMPLETE
	//
	// The capacity providers have successfully updated.
	//
	// UPDATE_FAILED
	//
	// The capacity provider updates failed.
	AttachmentsStatus *string `locationName:"attachmentsStatus" type:"string"`

	// The capacity providers associated with the cluster.
	CapacityProviders []*string `locationName:"capacityProviders" type:"list"`

	// The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains
	// the arn:aws:ecs namespace, followed by the Region of the cluster, the Amazon
	// Web Services account ID of the cluster owner, the cluster namespace, and
	// then the cluster name. For example, arn:aws:ecs:region:012345678910:cluster/test.
	ClusterArn *string `locationName:"clusterArn" type:"string"`

	// A user-generated string that you use to identify your cluster.
	ClusterName *string `locationName:"clusterName" type:"string"`

	// The execute command configuration for the cluster.
	Configuration *ClusterConfiguration `locationName:"configuration" type:"structure"`

	// The default capacity provider strategy for the cluster. When services or
	// tasks are run in the cluster with no launch type or capacity provider strategy
	// specified, the default capacity provider strategy is used.
	DefaultCapacityProviderStrategy []*CapacityProviderStrategyItem `locationName:"defaultCapacityProviderStrategy" type:"list"`

	// The number of tasks in the cluster that are in the PENDING state.
	PendingTasksCount *int64 `locationName:"pendingTasksCount" type:"integer"`

	// The number of container instances registered into the cluster. This includes
	// container instances in both ACTIVE and DRAINING status.
	RegisteredContainerInstancesCount *int64 `locationName:"registeredContainerInstancesCount" type:"integer"`

	// The number of tasks in the cluster that are in the RUNNING state.
	RunningTasksCount *int64 `locationName:"runningTasksCount" type:"integer"`

	// The settings for the cluster. This parameter indicates whether CloudWatch
	// Container Insights is enabled or disabled for a cluster.
	Settings []*ClusterSetting `locationName:"settings" type:"list"`

	// Additional information about your clusters that are separated by launch type.
	// They include the following:
	//
	//    * runningEC2TasksCount
	//
	//    * RunningFargateTasksCount
	//
	//    * pendingEC2TasksCount
	//
	//    * pendingFargateTasksCount
	//
	//    * activeEC2ServiceCount
	//
	//    * activeFargateServiceCount
	//
	//    * drainingEC2ServiceCount
	//
	//    * drainingFargateServiceCount
	Statistics []*KeyValuePair `locationName:"statistics" type:"list"`

	// The status of the cluster. The following are the possible states that are
	// returned.
	//
	// ACTIVE
	//
	// The cluster is ready to accept tasks and if applicable you can register container
	// instances with the cluster.
	//
	// PROVISIONING
	//
	// The cluster has capacity providers that are associated with it and the resources
	// needed for the capacity provider are being created.
	//
	// DEPROVISIONING
	//
	// The cluster has capacity providers that are associated with it and the resources
	// needed for the capacity provider are being deleted.
	//
	// FAILED
	//