amazonka-ecs-1.5.0: Amazon EC2 Container Service SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ECS

Contents

Description

Amazon EC2 Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster of EC2 instances. Amazon ECS lets you launch and stop container-enabled applications with simple API calls, allows you to get the state of your cluster from a centralized service, and gives you access to many familiar Amazon EC2 features like security groups, Amazon EBS volumes, and IAM roles.

You can use Amazon ECS to schedule the placement of containers across your cluster based on your resource needs, isolation policies, and availability requirements. Amazon EC2 Container Service eliminates the need for you to operate your own cluster management and configuration management systems or worry about scaling your management infrastructure.

Synopsis

Service Configuration

ecs :: Service Source #

API version 2014-11-13 of the Amazon EC2 Container Service SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by ECS.

InvalidParameterException

_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified parameter is invalid. Review the available parameters for the API request.

ServerException

_ServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #

These errors are usually caused by a server issue.

ClusterContainsServicesException

_ClusterContainsServicesException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You cannot delete a cluster that contains services. You must first update the service to reduce its desired task count to 0 and then delete the service. For more information, see UpdateService and DeleteService .

ClusterContainsContainerInstancesException

_ClusterContainsContainerInstancesException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You cannot delete a cluster that has registered container instances. You must first deregister the container instances before you can delete the cluster. For more information, see DeregisterContainerInstance .

ServiceNotActiveException

_ServiceNotActiveException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified service is not active. You cannot update a service that is not active. If you have previously deleted a service, you can re-create it with CreateService .

ClusterNotFoundException

_ClusterNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified cluster could not be found. You can view your available clusters with ListClusters . Amazon ECS clusters are region-specific.

NoUpdateAvailableException

_NoUpdateAvailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

There is no update available for this Amazon ECS container agent. This could be because the agent is already running the latest version, or it is so old that there is no update path to the current version.

ServiceNotFoundException

_ServiceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified service could not be found. You can view your available services with ListServices . Amazon ECS services are cluster-specific and region-specific.

MissingVersionException

_MissingVersionException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Amazon ECS is unable to determine the current version of the Amazon ECS container agent on the container instance and does not have enough information to proceed with an update. This could be because the agent running on the container instance is an older or custom version that does not use our version information.

UpdateInProgressException

_UpdateInProgressException :: AsError a => Getting (First ServiceError) a ServiceError Source #

There is already a current Amazon ECS container agent update in progress on the specified container instance. If the container agent becomes disconnected while it is 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.

TargetNotFoundException

_TargetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified target could not be found. You can view your available container instances with ListContainerInstances . Amazon ECS container instances are cluster-specific and region-specific.

AttributeLimitExceededException

_AttributeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

ClientException

_ClientException :: AsError a => Getting (First ServiceError) a ServiceError Source #

These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specifying an identifier that is not valid.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

ServicesInactive

servicesInactive :: Wait DescribeServices Source #

Polls DescribeServices every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.

TasksRunning

tasksRunning :: Wait DescribeTasks Source #

Polls DescribeTasks every 6 seconds until a successful state is reached. An error is returned after 100 failed checks.

TasksStopped

tasksStopped :: Wait DescribeTasks Source #

Polls DescribeTasks every 6 seconds until a successful state is reached. An error is returned after 100 failed checks.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

ListServices (Paginated)

DescribeClusters

DeleteService

UpdateService

DiscoverPollEndpoint

SubmitContainerStateChange

StopTask

DescribeTaskDefinition

SubmitTaskStateChange

DescribeContainerInstances

UpdateContainerInstancesState

DeleteCluster

CreateCluster

ListTaskDefinitions (Paginated)

RunTask

ListTasks (Paginated)

RegisterContainerInstance

UpdateContainerAgent

ListContainerInstances (Paginated)

ListTaskDefinitionFamilies (Paginated)

StartTask

ListAttributes

DeregisterTaskDefinition

DescribeTasks

ListClusters (Paginated)

DescribeServices

DeregisterContainerInstance

DeleteAttributes

PutAttributes

RegisterTaskDefinition

CreateService

Types

AgentUpdateStatus

data AgentUpdateStatus Source #

Instances

Bounded AgentUpdateStatus Source # 
Enum AgentUpdateStatus Source # 
Eq AgentUpdateStatus Source # 
Data AgentUpdateStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AgentUpdateStatus -> c AgentUpdateStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AgentUpdateStatus #

toConstr :: AgentUpdateStatus -> Constr #

dataTypeOf :: AgentUpdateStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AgentUpdateStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AgentUpdateStatus) #

gmapT :: (forall b. Data b => b -> b) -> AgentUpdateStatus -> AgentUpdateStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AgentUpdateStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AgentUpdateStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> AgentUpdateStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AgentUpdateStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AgentUpdateStatus -> m AgentUpdateStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AgentUpdateStatus -> m AgentUpdateStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AgentUpdateStatus -> m AgentUpdateStatus #

Ord AgentUpdateStatus Source # 
Read AgentUpdateStatus Source # 
Show AgentUpdateStatus Source # 
Generic AgentUpdateStatus Source # 
Hashable AgentUpdateStatus Source # 
FromJSON AgentUpdateStatus Source # 
NFData AgentUpdateStatus Source # 

Methods

rnf :: AgentUpdateStatus -> () #

ToQuery AgentUpdateStatus Source # 
ToHeader AgentUpdateStatus Source # 
ToByteString AgentUpdateStatus Source # 
FromText AgentUpdateStatus Source # 
ToText AgentUpdateStatus Source # 
type Rep AgentUpdateStatus Source # 
type Rep AgentUpdateStatus = D1 (MetaData "AgentUpdateStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) ((:+:) (C1 (MetaCons "AUSFailed" PrefixI False) U1) ((:+:) (C1 (MetaCons "AUSPending" PrefixI False) U1) (C1 (MetaCons "AUSStaged" PrefixI False) U1))) ((:+:) (C1 (MetaCons "AUSStaging" PrefixI False) U1) ((:+:) (C1 (MetaCons "AUSUpdated" PrefixI False) U1) (C1 (MetaCons "AUSUpdating" PrefixI False) U1))))

ContainerInstanceStatus

data ContainerInstanceStatus Source #

Constructors

Active 
Draining 

Instances

Bounded ContainerInstanceStatus Source # 
Enum ContainerInstanceStatus Source # 
Eq ContainerInstanceStatus Source # 
Data ContainerInstanceStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContainerInstanceStatus -> c ContainerInstanceStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContainerInstanceStatus #

toConstr :: ContainerInstanceStatus -> Constr #

dataTypeOf :: ContainerInstanceStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ContainerInstanceStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContainerInstanceStatus) #

gmapT :: (forall b. Data b => b -> b) -> ContainerInstanceStatus -> ContainerInstanceStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContainerInstanceStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContainerInstanceStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContainerInstanceStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerInstanceStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContainerInstanceStatus -> m ContainerInstanceStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerInstanceStatus -> m ContainerInstanceStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerInstanceStatus -> m ContainerInstanceStatus #

Ord ContainerInstanceStatus Source # 
Read ContainerInstanceStatus Source # 
Show ContainerInstanceStatus Source # 
Generic ContainerInstanceStatus Source # 
Hashable ContainerInstanceStatus Source # 
ToJSON ContainerInstanceStatus Source # 
NFData ContainerInstanceStatus Source # 

Methods

rnf :: ContainerInstanceStatus -> () #

ToQuery ContainerInstanceStatus Source # 
ToHeader ContainerInstanceStatus Source # 
ToByteString ContainerInstanceStatus Source # 
FromText ContainerInstanceStatus Source # 
ToText ContainerInstanceStatus Source # 
type Rep ContainerInstanceStatus Source # 
type Rep ContainerInstanceStatus = D1 (MetaData "ContainerInstanceStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) (C1 (MetaCons "Active" PrefixI False) U1) (C1 (MetaCons "Draining" PrefixI False) U1))

DesiredStatus

data DesiredStatus Source #

Constructors

Pending 
Running 
Stopped 

Instances

Bounded DesiredStatus Source # 
Enum DesiredStatus Source # 
Eq DesiredStatus Source # 
Data DesiredStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DesiredStatus -> c DesiredStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DesiredStatus #

toConstr :: DesiredStatus -> Constr #

dataTypeOf :: DesiredStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DesiredStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DesiredStatus) #

gmapT :: (forall b. Data b => b -> b) -> DesiredStatus -> DesiredStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DesiredStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DesiredStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> DesiredStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DesiredStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DesiredStatus -> m DesiredStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DesiredStatus -> m DesiredStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DesiredStatus -> m DesiredStatus #

Ord DesiredStatus Source # 
Read DesiredStatus Source # 
Show DesiredStatus Source # 
Generic DesiredStatus Source # 

Associated Types

type Rep DesiredStatus :: * -> * #

Hashable DesiredStatus Source # 
ToJSON DesiredStatus Source # 
NFData DesiredStatus Source # 

Methods

rnf :: DesiredStatus -> () #

ToQuery DesiredStatus Source # 
ToHeader DesiredStatus Source # 
ToByteString DesiredStatus Source # 
FromText DesiredStatus Source # 
ToText DesiredStatus Source # 

Methods

toText :: DesiredStatus -> Text #

type Rep DesiredStatus Source # 
type Rep DesiredStatus = D1 (MetaData "DesiredStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) (C1 (MetaCons "Pending" PrefixI False) U1) ((:+:) (C1 (MetaCons "Running" PrefixI False) U1) (C1 (MetaCons "Stopped" PrefixI False) U1)))

DeviceCgroupPermission

data DeviceCgroupPermission Source #

Constructors

Mknod 
Read 
Write 

Instances

Bounded DeviceCgroupPermission Source # 
Enum DeviceCgroupPermission Source # 
Eq DeviceCgroupPermission Source # 
Data DeviceCgroupPermission Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeviceCgroupPermission -> c DeviceCgroupPermission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeviceCgroupPermission #

toConstr :: DeviceCgroupPermission -> Constr #

dataTypeOf :: DeviceCgroupPermission -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeviceCgroupPermission) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeviceCgroupPermission) #

gmapT :: (forall b. Data b => b -> b) -> DeviceCgroupPermission -> DeviceCgroupPermission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeviceCgroupPermission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeviceCgroupPermission -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeviceCgroupPermission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeviceCgroupPermission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeviceCgroupPermission -> m DeviceCgroupPermission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceCgroupPermission -> m DeviceCgroupPermission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceCgroupPermission -> m DeviceCgroupPermission #

Ord DeviceCgroupPermission Source # 
Read DeviceCgroupPermission Source # 
Show DeviceCgroupPermission Source # 
Generic DeviceCgroupPermission Source # 
Hashable DeviceCgroupPermission Source # 
FromJSON DeviceCgroupPermission Source # 
ToJSON DeviceCgroupPermission Source # 
NFData DeviceCgroupPermission Source # 

Methods

rnf :: DeviceCgroupPermission -> () #

ToQuery DeviceCgroupPermission Source # 
ToHeader DeviceCgroupPermission Source # 
ToByteString DeviceCgroupPermission Source # 
FromText DeviceCgroupPermission Source # 
ToText DeviceCgroupPermission Source # 
type Rep DeviceCgroupPermission Source # 
type Rep DeviceCgroupPermission = D1 (MetaData "DeviceCgroupPermission" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) (C1 (MetaCons "Mknod" PrefixI False) U1) ((:+:) (C1 (MetaCons "Read" PrefixI False) U1) (C1 (MetaCons "Write" PrefixI False) U1)))

LogDriver

data LogDriver Source #

Instances

Bounded LogDriver Source # 
Enum LogDriver Source # 
Eq LogDriver Source # 
Data LogDriver Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LogDriver -> c LogDriver #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LogDriver #

toConstr :: LogDriver -> Constr #

dataTypeOf :: LogDriver -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LogDriver) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LogDriver) #

gmapT :: (forall b. Data b => b -> b) -> LogDriver -> LogDriver #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LogDriver -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LogDriver -> r #

gmapQ :: (forall d. Data d => d -> u) -> LogDriver -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LogDriver -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LogDriver -> m LogDriver #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LogDriver -> m LogDriver #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LogDriver -> m LogDriver #

Ord LogDriver Source # 
Read LogDriver Source # 
Show LogDriver Source # 
Generic LogDriver Source # 

Associated Types

type Rep LogDriver :: * -> * #

Hashable LogDriver Source # 
FromJSON LogDriver Source # 
ToJSON LogDriver Source # 
NFData LogDriver Source # 

Methods

rnf :: LogDriver -> () #

ToQuery LogDriver Source # 
ToHeader LogDriver Source # 
ToByteString LogDriver Source # 

Methods

toBS :: LogDriver -> ByteString #

FromText LogDriver Source # 
ToText LogDriver Source # 

Methods

toText :: LogDriver -> Text #

type Rep LogDriver Source # 
type Rep LogDriver = D1 (MetaData "LogDriver" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) ((:+:) (C1 (MetaCons "AWSlogs" PrefixI False) U1) ((:+:) (C1 (MetaCons "Fluentd" PrefixI False) U1) (C1 (MetaCons "Gelf" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "JSONFile" PrefixI False) U1) (C1 (MetaCons "Journald" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Splunk" PrefixI False) U1) (C1 (MetaCons "Syslog" PrefixI False) U1))))

NetworkMode

data NetworkMode Source #

Constructors

Bridge 
Host 
None 

Instances

Bounded NetworkMode Source # 
Enum NetworkMode Source # 
Eq NetworkMode Source # 
Data NetworkMode Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NetworkMode -> c NetworkMode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NetworkMode #

toConstr :: NetworkMode -> Constr #

dataTypeOf :: NetworkMode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c NetworkMode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NetworkMode) #

gmapT :: (forall b. Data b => b -> b) -> NetworkMode -> NetworkMode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NetworkMode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NetworkMode -> r #

gmapQ :: (forall d. Data d => d -> u) -> NetworkMode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NetworkMode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NetworkMode -> m NetworkMode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkMode -> m NetworkMode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkMode -> m NetworkMode #

Ord NetworkMode Source # 
Read NetworkMode Source # 
Show NetworkMode Source # 
Generic NetworkMode Source # 

Associated Types

type Rep NetworkMode :: * -> * #

Hashable NetworkMode Source # 
FromJSON NetworkMode Source # 
ToJSON NetworkMode Source # 
NFData NetworkMode Source # 

Methods

rnf :: NetworkMode -> () #

ToQuery NetworkMode Source # 
ToHeader NetworkMode Source # 
ToByteString NetworkMode Source # 
FromText NetworkMode Source # 
ToText NetworkMode Source # 

Methods

toText :: NetworkMode -> Text #

type Rep NetworkMode Source # 
type Rep NetworkMode = D1 (MetaData "NetworkMode" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) (C1 (MetaCons "Bridge" PrefixI False) U1) ((:+:) (C1 (MetaCons "Host" PrefixI False) U1) (C1 (MetaCons "None" PrefixI False) U1)))

PlacementConstraintType

data PlacementConstraintType Source #

Instances

Bounded PlacementConstraintType Source # 
Enum PlacementConstraintType Source # 
Eq PlacementConstraintType Source # 
Data PlacementConstraintType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PlacementConstraintType -> c PlacementConstraintType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PlacementConstraintType #

toConstr :: PlacementConstraintType -> Constr #

dataTypeOf :: PlacementConstraintType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PlacementConstraintType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PlacementConstraintType) #

gmapT :: (forall b. Data b => b -> b) -> PlacementConstraintType -> PlacementConstraintType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PlacementConstraintType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PlacementConstraintType -> r #

gmapQ :: (forall d. Data d => d -> u) -> PlacementConstraintType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PlacementConstraintType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PlacementConstraintType -> m PlacementConstraintType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PlacementConstraintType -> m PlacementConstraintType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PlacementConstraintType -> m PlacementConstraintType #

Ord PlacementConstraintType Source # 
Read PlacementConstraintType Source # 
Show PlacementConstraintType Source # 
Generic PlacementConstraintType Source # 
Hashable PlacementConstraintType Source # 
FromJSON PlacementConstraintType Source # 
ToJSON PlacementConstraintType Source # 
NFData PlacementConstraintType Source # 

Methods

rnf :: PlacementConstraintType -> () #

ToQuery PlacementConstraintType Source # 
ToHeader PlacementConstraintType Source # 
ToByteString PlacementConstraintType Source # 
FromText PlacementConstraintType Source # 
ToText PlacementConstraintType Source # 
type Rep PlacementConstraintType Source # 
type Rep PlacementConstraintType = D1 (MetaData "PlacementConstraintType" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) (C1 (MetaCons "PCTDistinctInstance" PrefixI False) U1) (C1 (MetaCons "PCTMemberOf" PrefixI False) U1))

PlacementStrategyType

data PlacementStrategyType Source #

Constructors

Binpack 
Random 
Spread 

Instances

Bounded PlacementStrategyType Source # 
Enum PlacementStrategyType Source # 
Eq PlacementStrategyType Source # 
Data PlacementStrategyType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PlacementStrategyType -> c PlacementStrategyType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PlacementStrategyType #

toConstr :: PlacementStrategyType -> Constr #

dataTypeOf :: PlacementStrategyType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PlacementStrategyType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PlacementStrategyType) #

gmapT :: (forall b. Data b => b -> b) -> PlacementStrategyType -> PlacementStrategyType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PlacementStrategyType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PlacementStrategyType -> r #

gmapQ :: (forall d. Data d => d -> u) -> PlacementStrategyType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PlacementStrategyType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PlacementStrategyType -> m PlacementStrategyType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PlacementStrategyType -> m PlacementStrategyType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PlacementStrategyType -> m PlacementStrategyType #

Ord PlacementStrategyType Source # 
Read PlacementStrategyType Source # 
Show PlacementStrategyType Source # 
Generic PlacementStrategyType Source # 
Hashable PlacementStrategyType Source # 
FromJSON PlacementStrategyType Source # 
ToJSON PlacementStrategyType Source # 
NFData PlacementStrategyType Source # 

Methods

rnf :: PlacementStrategyType -> () #

ToQuery PlacementStrategyType Source # 
ToHeader PlacementStrategyType Source # 
ToByteString PlacementStrategyType Source # 
FromText PlacementStrategyType Source # 
ToText PlacementStrategyType Source # 
type Rep PlacementStrategyType Source # 
type Rep PlacementStrategyType = D1 (MetaData "PlacementStrategyType" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) (C1 (MetaCons "Binpack" PrefixI False) U1) ((:+:) (C1 (MetaCons "Random" PrefixI False) U1) (C1 (MetaCons "Spread" PrefixI False) U1)))

SortOrder

data SortOrder Source #

Constructors

Asc 
Desc 

Instances

Bounded SortOrder Source # 
Enum SortOrder Source # 
Eq SortOrder Source # 
Data SortOrder Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SortOrder -> c SortOrder #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SortOrder #

toConstr :: SortOrder -> Constr #

dataTypeOf :: SortOrder -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SortOrder) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SortOrder) #

gmapT :: (forall b. Data b => b -> b) -> SortOrder -> SortOrder #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SortOrder -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SortOrder -> r #

gmapQ :: (forall d. Data d => d -> u) -> SortOrder -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SortOrder -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SortOrder -> m SortOrder #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SortOrder -> m SortOrder #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SortOrder -> m SortOrder #

Ord SortOrder Source # 
Read SortOrder Source # 
Show SortOrder Source # 
Generic SortOrder Source # 

Associated Types

type Rep SortOrder :: * -> * #

Hashable SortOrder Source # 
ToJSON SortOrder Source # 
NFData SortOrder Source # 

Methods

rnf :: SortOrder -> () #

ToQuery SortOrder Source # 
ToHeader SortOrder Source # 
ToByteString SortOrder Source # 

Methods

toBS :: SortOrder -> ByteString #

FromText SortOrder Source # 
ToText SortOrder Source # 

Methods

toText :: SortOrder -> Text #

type Rep SortOrder Source # 
type Rep SortOrder = D1 (MetaData "SortOrder" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) (C1 (MetaCons "Asc" PrefixI False) U1) (C1 (MetaCons "Desc" PrefixI False) U1))

TargetType

data TargetType Source #

Constructors

ContainerInstance 

Instances

Bounded TargetType Source # 
Enum TargetType Source # 
Eq TargetType Source # 
Data TargetType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TargetType -> c TargetType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TargetType #

toConstr :: TargetType -> Constr #

dataTypeOf :: TargetType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TargetType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TargetType) #

gmapT :: (forall b. Data b => b -> b) -> TargetType -> TargetType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TargetType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TargetType -> r #

gmapQ :: (forall d. Data d => d -> u) -> TargetType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TargetType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TargetType -> m TargetType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TargetType -> m TargetType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TargetType -> m TargetType #

Ord TargetType Source # 
Read TargetType Source # 
Show TargetType Source # 
Generic TargetType Source # 

Associated Types

type Rep TargetType :: * -> * #

Hashable TargetType Source # 
FromJSON TargetType Source # 
ToJSON TargetType Source # 
NFData TargetType Source # 

Methods

rnf :: TargetType -> () #

ToQuery TargetType Source # 
ToHeader TargetType Source # 
ToByteString TargetType Source # 
FromText TargetType Source # 
ToText TargetType Source # 

Methods

toText :: TargetType -> Text #

type Rep TargetType Source # 
type Rep TargetType = D1 (MetaData "TargetType" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) (C1 (MetaCons "ContainerInstance" PrefixI False) U1)

TaskDefinitionFamilyStatus

data TaskDefinitionFamilyStatus Source #

Instances

Bounded TaskDefinitionFamilyStatus Source # 
Enum TaskDefinitionFamilyStatus Source # 
Eq TaskDefinitionFamilyStatus Source # 
Data TaskDefinitionFamilyStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TaskDefinitionFamilyStatus -> c TaskDefinitionFamilyStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TaskDefinitionFamilyStatus #

toConstr :: TaskDefinitionFamilyStatus -> Constr #

dataTypeOf :: TaskDefinitionFamilyStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TaskDefinitionFamilyStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TaskDefinitionFamilyStatus) #

gmapT :: (forall b. Data b => b -> b) -> TaskDefinitionFamilyStatus -> TaskDefinitionFamilyStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinitionFamilyStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinitionFamilyStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> TaskDefinitionFamilyStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TaskDefinitionFamilyStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TaskDefinitionFamilyStatus -> m TaskDefinitionFamilyStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinitionFamilyStatus -> m TaskDefinitionFamilyStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinitionFamilyStatus -> m TaskDefinitionFamilyStatus #

Ord TaskDefinitionFamilyStatus Source # 
Read TaskDefinitionFamilyStatus Source # 
Show TaskDefinitionFamilyStatus Source # 
Generic TaskDefinitionFamilyStatus Source # 
Hashable TaskDefinitionFamilyStatus Source # 
ToJSON TaskDefinitionFamilyStatus Source # 
NFData TaskDefinitionFamilyStatus Source # 
ToQuery TaskDefinitionFamilyStatus Source # 
ToHeader TaskDefinitionFamilyStatus Source # 
ToByteString TaskDefinitionFamilyStatus Source # 
FromText TaskDefinitionFamilyStatus Source # 
ToText TaskDefinitionFamilyStatus Source # 
type Rep TaskDefinitionFamilyStatus Source # 
type Rep TaskDefinitionFamilyStatus = D1 (MetaData "TaskDefinitionFamilyStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) (C1 (MetaCons "TDFSActive" PrefixI False) U1) ((:+:) (C1 (MetaCons "TDFSAll" PrefixI False) U1) (C1 (MetaCons "TDFSInactive" PrefixI False) U1)))

TaskDefinitionPlacementConstraintType

data TaskDefinitionPlacementConstraintType Source #

Constructors

MemberOf 

Instances

Bounded TaskDefinitionPlacementConstraintType Source # 
Enum TaskDefinitionPlacementConstraintType Source # 
Eq TaskDefinitionPlacementConstraintType Source # 
Data TaskDefinitionPlacementConstraintType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TaskDefinitionPlacementConstraintType -> c TaskDefinitionPlacementConstraintType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TaskDefinitionPlacementConstraintType #

toConstr :: TaskDefinitionPlacementConstraintType -> Constr #

dataTypeOf :: TaskDefinitionPlacementConstraintType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TaskDefinitionPlacementConstraintType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TaskDefinitionPlacementConstraintType) #

gmapT :: (forall b. Data b => b -> b) -> TaskDefinitionPlacementConstraintType -> TaskDefinitionPlacementConstraintType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinitionPlacementConstraintType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinitionPlacementConstraintType -> r #

gmapQ :: (forall d. Data d => d -> u) -> TaskDefinitionPlacementConstraintType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TaskDefinitionPlacementConstraintType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TaskDefinitionPlacementConstraintType -> m TaskDefinitionPlacementConstraintType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinitionPlacementConstraintType -> m TaskDefinitionPlacementConstraintType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinitionPlacementConstraintType -> m TaskDefinitionPlacementConstraintType #

Ord TaskDefinitionPlacementConstraintType Source # 
Read TaskDefinitionPlacementConstraintType Source # 
Show TaskDefinitionPlacementConstraintType Source # 
Generic TaskDefinitionPlacementConstraintType Source # 
Hashable TaskDefinitionPlacementConstraintType Source # 
FromJSON TaskDefinitionPlacementConstraintType Source # 
ToJSON TaskDefinitionPlacementConstraintType Source # 
NFData TaskDefinitionPlacementConstraintType Source # 
ToQuery TaskDefinitionPlacementConstraintType Source # 
ToHeader TaskDefinitionPlacementConstraintType Source # 
ToByteString TaskDefinitionPlacementConstraintType Source # 
FromText TaskDefinitionPlacementConstraintType Source # 
ToText TaskDefinitionPlacementConstraintType Source # 
type Rep TaskDefinitionPlacementConstraintType Source # 
type Rep TaskDefinitionPlacementConstraintType = D1 (MetaData "TaskDefinitionPlacementConstraintType" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) (C1 (MetaCons "MemberOf" PrefixI False) U1)

TaskDefinitionStatus

data TaskDefinitionStatus Source #

Constructors

TDSActive 
TDSInactive 

Instances

Bounded TaskDefinitionStatus Source # 
Enum TaskDefinitionStatus Source # 
Eq TaskDefinitionStatus Source # 
Data TaskDefinitionStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TaskDefinitionStatus -> c TaskDefinitionStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TaskDefinitionStatus #

toConstr :: TaskDefinitionStatus -> Constr #

dataTypeOf :: TaskDefinitionStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TaskDefinitionStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TaskDefinitionStatus) #

gmapT :: (forall b. Data b => b -> b) -> TaskDefinitionStatus -> TaskDefinitionStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinitionStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinitionStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> TaskDefinitionStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TaskDefinitionStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TaskDefinitionStatus -> m TaskDefinitionStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinitionStatus -> m TaskDefinitionStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinitionStatus -> m TaskDefinitionStatus #

Ord TaskDefinitionStatus Source # 
Read TaskDefinitionStatus Source # 
Show TaskDefinitionStatus Source # 
Generic TaskDefinitionStatus Source # 
Hashable TaskDefinitionStatus Source # 
FromJSON TaskDefinitionStatus Source # 
ToJSON TaskDefinitionStatus Source # 
NFData TaskDefinitionStatus Source # 

Methods

rnf :: TaskDefinitionStatus -> () #

ToQuery TaskDefinitionStatus Source # 
ToHeader TaskDefinitionStatus Source # 
ToByteString TaskDefinitionStatus Source # 
FromText TaskDefinitionStatus Source # 
ToText TaskDefinitionStatus Source # 
type Rep TaskDefinitionStatus Source # 
type Rep TaskDefinitionStatus = D1 (MetaData "TaskDefinitionStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) (C1 (MetaCons "TDSActive" PrefixI False) U1) (C1 (MetaCons "TDSInactive" PrefixI False) U1))

TransportProtocol

data TransportProtocol Source #

Constructors

TCP 
Udp 

Instances

Bounded TransportProtocol Source # 
Enum TransportProtocol Source # 
Eq TransportProtocol Source # 
Data TransportProtocol Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TransportProtocol -> c TransportProtocol #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TransportProtocol #

toConstr :: TransportProtocol -> Constr #

dataTypeOf :: TransportProtocol -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TransportProtocol) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TransportProtocol) #

gmapT :: (forall b. Data b => b -> b) -> TransportProtocol -> TransportProtocol #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TransportProtocol -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TransportProtocol -> r #

gmapQ :: (forall d. Data d => d -> u) -> TransportProtocol -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TransportProtocol -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TransportProtocol -> m TransportProtocol #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TransportProtocol -> m TransportProtocol #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TransportProtocol -> m TransportProtocol #

Ord TransportProtocol Source # 
Read TransportProtocol Source # 
Show TransportProtocol Source # 
Generic TransportProtocol Source # 
Hashable TransportProtocol Source # 
FromJSON TransportProtocol Source # 
ToJSON TransportProtocol Source # 
NFData TransportProtocol Source # 

Methods

rnf :: TransportProtocol -> () #

ToQuery TransportProtocol Source # 
ToHeader TransportProtocol Source # 
ToByteString TransportProtocol Source # 
FromText TransportProtocol Source # 
ToText TransportProtocol Source # 
type Rep TransportProtocol Source # 
type Rep TransportProtocol = D1 (MetaData "TransportProtocol" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) (C1 (MetaCons "TCP" PrefixI False) U1) (C1 (MetaCons "Udp" PrefixI False) U1))

UlimitName

data UlimitName Source #

Instances

Bounded UlimitName Source # 
Enum UlimitName Source # 
Eq UlimitName Source # 
Data UlimitName Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UlimitName -> c UlimitName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UlimitName #

toConstr :: UlimitName -> Constr #

dataTypeOf :: UlimitName -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UlimitName) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UlimitName) #

gmapT :: (forall b. Data b => b -> b) -> UlimitName -> UlimitName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UlimitName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UlimitName -> r #

gmapQ :: (forall d. Data d => d -> u) -> UlimitName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UlimitName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UlimitName -> m UlimitName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UlimitName -> m UlimitName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UlimitName -> m UlimitName #

Ord UlimitName Source # 
Read UlimitName Source # 
Show UlimitName Source # 
Generic UlimitName Source # 

Associated Types

type Rep UlimitName :: * -> * #

Hashable UlimitName Source # 
FromJSON UlimitName Source # 
ToJSON UlimitName Source # 
NFData UlimitName Source # 

Methods

rnf :: UlimitName -> () #

ToQuery UlimitName Source # 
ToHeader UlimitName Source # 
ToByteString UlimitName Source # 
FromText UlimitName Source # 
ToText UlimitName Source # 

Methods

toText :: UlimitName -> Text #

type Rep UlimitName Source # 
type Rep UlimitName = D1 (MetaData "UlimitName" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "CPU" PrefixI False) U1) ((:+:) (C1 (MetaCons "Core" PrefixI False) U1) (C1 (MetaCons "Data" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Fsize" PrefixI False) U1) (C1 (MetaCons "Locks" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Memlock" PrefixI False) U1) (C1 (MetaCons "Msgqueue" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Nice" PrefixI False) U1) (C1 (MetaCons "Nofile" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Nproc" PrefixI False) U1) (C1 (MetaCons "Rss" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Rtprio" PrefixI False) U1) (C1 (MetaCons "Rttime" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Sigpending" PrefixI False) U1) (C1 (MetaCons "Stack" PrefixI False) U1)))))

Attribute

data Attribute Source #

An attribute is a name-value pair associated with an Amazon ECS object. Attributes enable you to extend the Amazon ECS data model by adding custom metadata to your resources. For more information, see Attributes in the Amazon EC2 Container Service Developer Guide .

See: attribute smart constructor.

Instances

Eq Attribute Source # 
Data Attribute Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Attribute -> c Attribute #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Attribute #

toConstr :: Attribute -> Constr #

dataTypeOf :: Attribute -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Attribute) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Attribute) #

gmapT :: (forall b. Data b => b -> b) -> Attribute -> Attribute #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Attribute -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Attribute -> r #

gmapQ :: (forall d. Data d => d -> u) -> Attribute -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Attribute -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Attribute -> m Attribute #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Attribute -> m Attribute #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Attribute -> m Attribute #

Read Attribute Source # 
Show Attribute Source # 
Generic Attribute Source # 

Associated Types

type Rep Attribute :: * -> * #

Hashable Attribute Source # 
FromJSON Attribute Source # 
ToJSON Attribute Source # 
NFData Attribute Source # 

Methods

rnf :: Attribute -> () #

type Rep Attribute Source # 
type Rep Attribute = D1 (MetaData "Attribute" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) (C1 (MetaCons "Attribute'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aTargetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_aTargetType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TargetType))) (S1 (MetaSel (Just Symbol "_aName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

attribute Source #

Arguments

:: Text

aName

-> Attribute 

Creates a value of Attribute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • aTargetId - The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).
  • aValue - The value of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, colons, and spaces are allowed.
  • aTargetType - The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full Amazon Resource Name (ARN).
  • aName - The name of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, and periods are allowed.

aTargetId :: Lens' Attribute (Maybe Text) Source #

The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

aValue :: Lens' Attribute (Maybe Text) Source #

The value of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, colons, and spaces are allowed.

aTargetType :: Lens' Attribute (Maybe TargetType) Source #

The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full Amazon Resource Name (ARN).

aName :: Lens' Attribute Text Source #

The name of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, and periods are allowed.

Cluster

data Cluster Source #

A regional grouping of one or more container instances on which you can run task requests. Each account receives a default cluster the first time you use the Amazon ECS service, but you may also create other clusters. Clusters may contain more than one instance type simultaneously.

See: cluster smart constructor.

Instances

Eq Cluster Source # 

Methods

(==) :: Cluster -> Cluster -> Bool #

(/=) :: Cluster -> Cluster -> Bool #

Data Cluster Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cluster -> c Cluster #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cluster #

toConstr :: Cluster -> Constr #

dataTypeOf :: Cluster -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Cluster) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cluster) #

gmapT :: (forall b. Data b => b -> b) -> Cluster -> Cluster #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cluster -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cluster -> r #

gmapQ :: (forall d. Data d => d -> u) -> Cluster -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Cluster -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cluster -> m Cluster #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cluster -> m Cluster #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cluster -> m Cluster #

Read Cluster Source # 
Show Cluster Source # 
Generic Cluster Source # 

Associated Types

type Rep Cluster :: * -> * #

Methods

from :: Cluster -> Rep Cluster x #

to :: Rep Cluster x -> Cluster #

Hashable Cluster Source # 

Methods

hashWithSalt :: Int -> Cluster -> Int #

hash :: Cluster -> Int #

FromJSON Cluster Source # 
NFData Cluster Source # 

Methods

rnf :: Cluster -> () #

type Rep Cluster Source # 
type Rep Cluster = D1 (MetaData "Cluster" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) (C1 (MetaCons "Cluster'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cClusterARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cRunningTasksCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cRegisteredContainerInstancesCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_cPendingTasksCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_cClusterName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cActiveServicesCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))))

cluster :: Cluster Source #

Creates a value of Cluster with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cStatus - The status of the cluster. The valid values are ACTIVE or INACTIVE . ACTIVE indicates that you can register container instances with the cluster and the associated instances can accept tasks.
  • cClusterARN - 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 AWS account ID of the cluster owner, the cluster namespace, and then the cluster name. For example, arn:aws:ecs:region :012345678910 :cluster/test ..
  • cRunningTasksCount - The number of tasks in the cluster that are in the RUNNING state.
  • cRegisteredContainerInstancesCount - The number of container instances registered into the cluster.
  • cPendingTasksCount - The number of tasks in the cluster that are in the PENDING state.
  • cClusterName - A user-generated string that you use to identify your cluster.
  • cActiveServicesCount - The number of services that are running on the cluster in an ACTIVE state. You can view these services with ListServices .

cStatus :: Lens' Cluster (Maybe Text) Source #

The status of the cluster. The valid values are ACTIVE or INACTIVE . ACTIVE indicates that you can register container instances with the cluster and the associated instances can accept tasks.

cClusterARN :: Lens' Cluster (Maybe Text) Source #

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 AWS account ID of the cluster owner, the cluster namespace, and then the cluster name. For example, arn:aws:ecs:region :012345678910 :cluster/test ..

cRunningTasksCount :: Lens' Cluster (Maybe Int) Source #

The number of tasks in the cluster that are in the RUNNING state.

cRegisteredContainerInstancesCount :: Lens' Cluster (Maybe Int) Source #

The number of container instances registered into the cluster.

cPendingTasksCount :: Lens' Cluster (Maybe Int) Source #

The number of tasks in the cluster that are in the PENDING state.

cClusterName :: Lens' Cluster (Maybe Text) Source #

A user-generated string that you use to identify your cluster.

cActiveServicesCount :: Lens' Cluster (Maybe Int) Source #

The number of services that are running on the cluster in an ACTIVE state. You can view these services with ListServices .

Container

data Container Source #

A Docker container that is part of a task.

See: container smart constructor.

Instances

Eq Container Source # 
Data Container Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Container -> c Container #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Container #

toConstr :: Container -> Constr #

dataTypeOf :: Container -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Container) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Container) #

gmapT :: (forall b. Data b => b -> b) -> Container -> Container #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Container -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Container -> r #

gmapQ :: (forall d. Data d => d -> u) -> Container -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Container -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Container -> m Container #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Container -> m Container #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Container -> m Container #

Read Container Source # 
Show Container Source # 
Generic Container Source # 

Associated Types

type Rep Container :: * -> * #

Hashable Container Source # 
FromJSON Container Source # 
NFData Container Source # 

Methods

rnf :: Container -> () #

type Rep Container Source # 

container :: Container Source #

Creates a value of Container with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cNetworkBindings - The network bindings associated with the container.
  • cContainerARN - The Amazon Resource Name (ARN) of the container.
  • cTaskARN - The Amazon Resource Name (ARN) of the task.
  • cLastStatus - The last known status of the container.
  • cReason - A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
  • cName - The name of the container.
  • cExitCode - The exit code returned from the container.

cNetworkBindings :: Lens' Container [NetworkBinding] Source #

The network bindings associated with the container.

cContainerARN :: Lens' Container (Maybe Text) Source #

The Amazon Resource Name (ARN) of the container.

cTaskARN :: Lens' Container (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task.

cLastStatus :: Lens' Container (Maybe Text) Source #

The last known status of the container.

cReason :: Lens' Container (Maybe Text) Source #

A short (255 max characters) human-readable string to provide additional details about a running or stopped container.

cName :: Lens' Container (Maybe Text) Source #

The name of the container.

cExitCode :: Lens' Container (Maybe Int) Source #

The exit code returned from the container.

ContainerDefinition

data ContainerDefinition Source #

Container definitions are used in task definitions to describe the different containers that are launched as part of a task.

See: containerDefinition smart constructor.

Instances

Eq ContainerDefinition Source # 
Data ContainerDefinition Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContainerDefinition -> c ContainerDefinition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContainerDefinition #

toConstr :: ContainerDefinition -> Constr #

dataTypeOf :: ContainerDefinition -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ContainerDefinition) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContainerDefinition) #

gmapT :: (forall b. Data b => b -> b) -> ContainerDefinition -> ContainerDefinition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContainerDefinition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContainerDefinition -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContainerDefinition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerDefinition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContainerDefinition -> m ContainerDefinition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerDefinition -> m ContainerDefinition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerDefinition -> m ContainerDefinition #

Read ContainerDefinition Source # 
Show ContainerDefinition Source # 
Generic ContainerDefinition Source # 
Hashable ContainerDefinition Source # 
FromJSON ContainerDefinition Source # 
ToJSON ContainerDefinition Source # 
NFData ContainerDefinition Source # 

Methods

rnf :: ContainerDefinition -> () #

type Rep ContainerDefinition Source # 
type Rep ContainerDefinition = D1 (MetaData "ContainerDefinition" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) (C1 (MetaCons "ContainerDefinition'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdImage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cdCommand") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_cdHostname") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_cdDockerSecurityOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_cdDisableNetworking") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_cdVolumesFrom") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [VolumeFrom])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdEnvironment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [KeyValuePair]))) ((:*:) (S1 (MetaSel (Just Symbol "_cdEntryPoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_cdWorkingDirectory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdUlimits") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Ulimit]))) (S1 (MetaSel (Just Symbol "_cdPrivileged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_cdPortMappings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PortMapping]))) (S1 (MetaSel (Just Symbol "_cdDockerLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdExtraHosts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [HostEntry]))) ((:*:) (S1 (MetaSel (Just Symbol "_cdMemory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_cdUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdDnsSearchDomains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_cdLogConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LogConfiguration)))) ((:*:) (S1 (MetaSel (Just Symbol "_cdLinuxParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LinuxParameters))) (S1 (MetaSel (Just Symbol "_cdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdDnsServers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_cdMountPoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MountPoint]))) (S1 (MetaSel (Just Symbol "_cdLinks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdReadonlyRootFilesystem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_cdEssential") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_cdCpu") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_cdMemoryReservation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))))))

containerDefinition :: ContainerDefinition Source #

Creates a value of ContainerDefinition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cdImage - The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url /image :tag or repository-url /image digest . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run . * Images in Amazon ECR repositories can be specified by either using the full registryrepository:tag or registryrepositorydigest . For example, 012345678910.dkr.ecr.region-name.amazonaws.com/repository-name:latest or 012345678910.dkr.ecr.region-name.amazonaws.com/repository-namesha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE . * Images in official repositories on Docker Hub use a single name (for example, ubuntu or mongo ). * Images in other repositories on Docker Hub are qualified with an organization name (for example, amazonamazon-ecs-agent ). * Images in other online repositories are qualified further by a domain name (for example, quay.ioassemblyline/ubuntu@ ).
  • cdCommand - The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#cmd .
  • cdHostname - The hostname to use for your container. This parameter maps to Hostname in the Create a container section of the Docker Remote API and the --hostname option to docker run .
  • cdDockerSecurityOptions - A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This parameter maps to SecurityOpt in the Create a container section of the Docker Remote API and the --security-opt option to docker run .
  • cdDisableNetworking - When this parameter is true, networking is disabled within the container. This parameter maps to NetworkDisabled in the Create a container section of the Docker Remote API .
  • cdVolumesFrom - Data volumes to mount from another container. This parameter maps to VolumesFrom in the Create a container section of the Docker Remote API and the --volumes-from option to docker run .
  • cdEnvironment - The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run . Important: We do not recommend using plain text environment variables for sensitive information, such as credential data.
  • cdEntryPoint - Important: Early versions of the Amazon ECS container agent do not properly handle entryPoint parameters. If you have problems using entryPoint , update your container agent or enter your commands and arguments as command array items instead. The entry point that is passed to the container. This parameter maps to Entrypoint in the Create a container section of the Docker Remote API and the --entrypoint option to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint .
  • cdWorkingDirectory - The working directory in which to run commands inside the container. This parameter maps to WorkingDir in the Create a container section of the Docker Remote API and the --workdir option to docker run .
  • cdUlimits - A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run . Valid naming values are displayed in the Ulimit data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"
  • cdPrivileged - When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run .
  • cdPortMappings - The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic. This parameter maps to PortBindings in the Create a container section of the Docker Remote API and the --publish option to docker run . If the network mode of a task definition is set to none , then you cannot specify port mappings. If the network mode of a task definition is set to host , then host ports must either be undefined or they must match the container port in the port mapping.
  • cdDockerLabels - A keyvalue map of labels to add to the container. This parameter maps to Labels in the <https:docs.docker.comenginereferenceapidocker_remote_api_v1.27#create-a-container Create a container> section of the Docker Remote API and the --label option to docker run . This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"
  • cdExtraHosts - A list of hostnames and IP address mappings to append to the etchosts file on the container. This parameter maps to ExtraHosts in the Create a container section of the Docker Remote API and the --add-host option to docker run .
  • cdMemory - The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run . You must specify a non-zero integer for one or both of memory or memoryReservation in container definitions. If you specify both, memory must be greater than memoryReservation . If you specify memoryReservation , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of memory is used. The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers.
  • cdUser - The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run .
  • cdDnsSearchDomains - A list of DNS search domains that are presented to the container. This parameter maps to DnsSearch in the Create a container section of the Docker Remote API and the --dns-search option to docker run .
  • cdLogConfiguration - The log configuration specification for the container. This parameter maps to LogConfig in the Create a container section of the Docker Remote API and the --log-driver option to docker run . By default, containers use the same logging driver that the Docker daemon uses; however the container may use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see Configure logging drivers in the Docker documentation. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"
  • cdLinuxParameters - Linux-specific modifications that are applied to the container, such as Linux KernelCapabilities .
  • cdName - The name of a container. If you are linking multiple containers together in a task definition, the name of one container can be entered in the links of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This parameter maps to name in the Create a container section of the Docker Remote API and the --name option to docker run .
  • cdDnsServers - A list of DNS servers that are presented to the container. This parameter maps to Dns in the Create a container section of the Docker Remote API and the --dns option to docker run .
  • cdMountPoints - The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run .
  • cdLinks - The link parameter allows containers to communicate with each other without the need for port mappings, using the name parameter and optionally, an alias for the link. This construct is analogous to name:alias in Docker links. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed for each name and alias . For more information on linking Docker containers, see https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/ . This parameter maps to Links in the Create a container section of the Docker Remote API and the --link option to docker run . Important: Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.
  • cdReadonlyRootFilesystem - When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run .
  • cdEssential - If the essential parameter of a container is marked as true , and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false , then its failure does not affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that is composed of multiple containers, you should group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon EC2 Container Service Developer Guide .
  • cdCpu - The number of cpu units reserved for the container. A container instance has 1,024 cpu units for every CPU core. This parameter specifies the minimum amount of CPU to reserve for a container, and containers share unallocated CPU units with other containers on the instance with the same ratio as their allocated amount. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run . For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units. The Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. For more information, see CPU share constraint in the Docker documentation. The minimum valid CPU share value that the Linux kernel allows is 2; however, the CPU parameter is not required, and you can use CPU values below 2 in your container definitions. For CPU values below 2 (including null), the behavior varies based on your Amazon ECS container agent version: * Agent versions less than or equal to 1.1.0: Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to 2 CPU shares. * Agent versions greater than or equal to 1.2.0: Null, zero, and CPU values of 1 are passed to Docker as 2.
  • cdMemoryReservation - The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit; however, your container can consume more memory when it needs to, up to either the hard limit specified with the memory parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to MemoryReservation in the Create a container section of the Docker Remote API and the --memory-reservation option to docker run . You must specify a non-zero integer for one or both of memory or memoryReservation in container definitions. If you specify both, memory must be greater than memoryReservation . If you specify memoryReservation , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of memory is used. For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a memoryReservation of 128 MiB, and a memory hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed.

cdImage :: Lens' ContainerDefinition (Maybe Text) Source #

The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url /image :tag or repository-url /image digest . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run . * Images in Amazon ECR repositories can be specified by either using the full registryrepository:tag or registryrepositorydigest . For example, 012345678910.dkr.ecr.region-name.amazonaws.com/repository-name:latest or 012345678910.dkr.ecr.region-name.amazonaws.com/repository-namesha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE . * Images in official repositories on Docker Hub use a single name (for example, ubuntu or mongo ). * Images in other repositories on Docker Hub are qualified with an organization name (for example, amazonamazon-ecs-agent ). * Images in other online repositories are qualified further by a domain name (for example, quay.ioassemblyline/ubuntu@ ).

cdCommand :: Lens' ContainerDefinition [Text] Source #

The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#cmd .

cdHostname :: Lens' ContainerDefinition (Maybe Text) Source #

The hostname to use for your container. This parameter maps to Hostname in the Create a container section of the Docker Remote API and the --hostname option to docker run .

cdDockerSecurityOptions :: Lens' ContainerDefinition [Text] Source #

A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This parameter maps to SecurityOpt in the Create a container section of the Docker Remote API and the --security-opt option to docker run .

cdDisableNetworking :: Lens' ContainerDefinition (Maybe Bool) Source #

When this parameter is true, networking is disabled within the container. This parameter maps to NetworkDisabled in the Create a container section of the Docker Remote API .

cdVolumesFrom :: Lens' ContainerDefinition [VolumeFrom] Source #

Data volumes to mount from another container. This parameter maps to VolumesFrom in the Create a container section of the Docker Remote API and the --volumes-from option to docker run .

cdEnvironment :: Lens' ContainerDefinition [KeyValuePair] Source #

The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run . Important: We do not recommend using plain text environment variables for sensitive information, such as credential data.

cdEntryPoint :: Lens' ContainerDefinition [Text] Source #

Important: Early versions of the Amazon ECS container agent do not properly handle entryPoint parameters. If you have problems using entryPoint , update your container agent or enter your commands and arguments as command array items instead. The entry point that is passed to the container. This parameter maps to Entrypoint in the Create a container section of the Docker Remote API and the --entrypoint option to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint .

cdWorkingDirectory :: Lens' ContainerDefinition (Maybe Text) Source #

The working directory in which to run commands inside the container. This parameter maps to WorkingDir in the Create a container section of the Docker Remote API and the --workdir option to docker run .

cdUlimits :: Lens' ContainerDefinition [Ulimit] Source #

A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run . Valid naming values are displayed in the Ulimit data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"

cdPrivileged :: Lens' ContainerDefinition (Maybe Bool) Source #

When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run .

cdPortMappings :: Lens' ContainerDefinition [PortMapping] Source #

The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic. This parameter maps to PortBindings in the Create a container section of the Docker Remote API and the --publish option to docker run . If the network mode of a task definition is set to none , then you cannot specify port mappings. If the network mode of a task definition is set to host , then host ports must either be undefined or they must match the container port in the port mapping.

cdDockerLabels :: Lens' ContainerDefinition (HashMap Text Text) Source #

A keyvalue map of labels to add to the container. This parameter maps to Labels in the <https:docs.docker.comenginereferenceapidocker_remote_api_v1.27#create-a-container Create a container> section of the Docker Remote API and the --label option to docker run . This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"

cdExtraHosts :: Lens' ContainerDefinition [HostEntry] Source #

A list of hostnames and IP address mappings to append to the etchosts file on the container. This parameter maps to ExtraHosts in the Create a container section of the Docker Remote API and the --add-host option to docker run .

cdMemory :: Lens' ContainerDefinition (Maybe Int) Source #

The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run . You must specify a non-zero integer for one or both of memory or memoryReservation in container definitions. If you specify both, memory must be greater than memoryReservation . If you specify memoryReservation , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of memory is used. The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers.

cdUser :: Lens' ContainerDefinition (Maybe Text) Source #

The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run .

cdDnsSearchDomains :: Lens' ContainerDefinition [Text] Source #

A list of DNS search domains that are presented to the container. This parameter maps to DnsSearch in the Create a container section of the Docker Remote API and the --dns-search option to docker run .

cdLogConfiguration :: Lens' ContainerDefinition (Maybe LogConfiguration) Source #

The log configuration specification for the container. This parameter maps to LogConfig in the Create a container section of the Docker Remote API and the --log-driver option to docker run . By default, containers use the same logging driver that the Docker daemon uses; however the container may use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see Configure logging drivers in the Docker documentation. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"

cdLinuxParameters :: Lens' ContainerDefinition (Maybe LinuxParameters) Source #

Linux-specific modifications that are applied to the container, such as Linux KernelCapabilities .

cdName :: Lens' ContainerDefinition (Maybe Text) Source #

The name of a container. If you are linking multiple containers together in a task definition, the name of one container can be entered in the links of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This parameter maps to name in the Create a container section of the Docker Remote API and the --name option to docker run .

cdDnsServers :: Lens' ContainerDefinition [Text] Source #

A list of DNS servers that are presented to the container. This parameter maps to Dns in the Create a container section of the Docker Remote API and the --dns option to docker run .

cdMountPoints :: Lens' ContainerDefinition [MountPoint] Source #

The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run .

cdLinks :: Lens' ContainerDefinition [Text] Source #

The link parameter allows containers to communicate with each other without the need for port mappings, using the name parameter and optionally, an alias for the link. This construct is analogous to name:alias in Docker links. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed for each name and alias . For more information on linking Docker containers, see https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/ . This parameter maps to Links in the Create a container section of the Docker Remote API and the --link option to docker run . Important: Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.

cdReadonlyRootFilesystem :: Lens' ContainerDefinition (Maybe Bool) Source #

When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run .

cdEssential :: Lens' ContainerDefinition (Maybe Bool) Source #

If the essential parameter of a container is marked as true , and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false , then its failure does not affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that is composed of multiple containers, you should group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon EC2 Container Service Developer Guide .

cdCpu :: Lens' ContainerDefinition (Maybe Int) Source #

The number of cpu units reserved for the container. A container instance has 1,024 cpu units for every CPU core. This parameter specifies the minimum amount of CPU to reserve for a container, and containers share unallocated CPU units with other containers on the instance with the same ratio as their allocated amount. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run . For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units. The Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. For more information, see CPU share constraint in the Docker documentation. The minimum valid CPU share value that the Linux kernel allows is 2; however, the CPU parameter is not required, and you can use CPU values below 2 in your container definitions. For CPU values below 2 (including null), the behavior varies based on your Amazon ECS container agent version: * Agent versions less than or equal to 1.1.0: Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to 2 CPU shares. * Agent versions greater than or equal to 1.2.0: Null, zero, and CPU values of 1 are passed to Docker as 2.

cdMemoryReservation :: Lens' ContainerDefinition (Maybe Int) Source #

The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit; however, your container can consume more memory when it needs to, up to either the hard limit specified with the memory parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to MemoryReservation in the Create a container section of the Docker Remote API and the --memory-reservation option to docker run . You must specify a non-zero integer for one or both of memory or memoryReservation in container definitions. If you specify both, memory must be greater than memoryReservation . If you specify memoryReservation , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of memory is used. For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a memoryReservation of 128 MiB, and a memory hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed.

ContainerInstance

data ContainerInstance Source #

An EC2 instance that is running the Amazon ECS agent and has been registered with a cluster.

See: containerInstance smart constructor.

Instances

Eq ContainerInstance Source # 
Data ContainerInstance Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContainerInstance -> c ContainerInstance #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContainerInstance #

toConstr :: ContainerInstance -> Constr #

dataTypeOf :: ContainerInstance -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ContainerInstance) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContainerInstance) #

gmapT :: (forall b. Data b => b -> b) -> ContainerInstance -> ContainerInstance #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContainerInstance -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContainerInstance -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContainerInstance -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerInstance -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContainerInstance -> m ContainerInstance #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerInstance -> m ContainerInstance #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerInstance -> m ContainerInstance #

Read ContainerInstance Source # 
Show ContainerInstance Source # 
Generic ContainerInstance Source # 
Hashable ContainerInstance Source # 
FromJSON ContainerInstance Source # 
NFData ContainerInstance Source # 

Methods

rnf :: ContainerInstance -> () #

type Rep ContainerInstance Source # 
type Rep ContainerInstance = D1 (MetaData "ContainerInstance" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) (C1 (MetaCons "ContainerInstance'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ciStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ciRunningTasksCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_ciRemainingResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Resource]))))) ((:*:) (S1 (MetaSel (Just Symbol "_ciEc2InstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ciContainerInstanceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ciAgentConnected") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ciVersionInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VersionInfo))) ((:*:) (S1 (MetaSel (Just Symbol "_ciAgentUpdateStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AgentUpdateStatus))) (S1 (MetaSel (Just Symbol "_ciAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Attribute]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ciVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_ciPendingTasksCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_ciRegisteredAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_ciRegisteredResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Resource]))))))))

containerInstance :: ContainerInstance Source #

Creates a value of ContainerInstance with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ciStatus - The status of the container instance. The valid values are ACTIVE , INACTIVE , or DRAINING . ACTIVE indicates that the container instance can accept tasks. DRAINING indicates that new tasks are not placed on the container instance and any service tasks running on the container instance are removed if possible. For more information, see Container Instance Draining in the Amazon EC2 Container Service Developer Guide .
  • ciRunningTasksCount - The number of tasks on the container instance that are in the RUNNING status.
  • ciRemainingResources - For most resource types, this parameter describes the remaining resources of the container instance that are available for new tasks. For port resource types, this parameter describes the ports that are reserved by the Amazon ECS container agent and any containers that have reserved port mappings; any port that is not specified here is available for new tasks.
  • ciEc2InstanceId - The EC2 instance ID of the container instance.
  • ciContainerInstanceARN - The Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region :aws_account_id :container-instance/container_instance_ID .
  • ciAgentConnected - This parameter returns true if the agent is actually connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped return false , and instances without a connected agent cannot accept placement requests.
  • ciVersionInfo - The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
  • ciAgentUpdateStatus - The status of the most recent agent update. If an update has never been requested, this value is NULL .
  • ciAttributes - The attributes set for the container instance, either by the Amazon ECS container agent at instance registration or manually with the PutAttributes operation.
  • ciVersion - The version counter for the container instance. Every time a container instance experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS container instance state with CloudWatch events, you can compare the version of a container instance reported by the Amazon ECS APIs with the version reported in CloudWatch events for the container instance (inside the detail object) to verify that the version in your event stream is current.
  • ciPendingTasksCount - The number of tasks on the container instance that are in the PENDING status.
  • ciRegisteredAt - The Unix timestamp for when the container instance was registered.
  • ciRegisteredResources - For most resource types, this parameter describes the registered resources on the container instance that are in use by current tasks. For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent when it registered the container instance with Amazon ECS.

ciStatus :: Lens' ContainerInstance (Maybe Text) Source #

The status of the container instance. The valid values are ACTIVE , INACTIVE , or DRAINING . ACTIVE indicates that the container instance can accept tasks. DRAINING indicates that new tasks are not placed on the container instance and any service tasks running on the container instance are removed if possible. For more information, see Container Instance Draining in the Amazon EC2 Container Service Developer Guide .

ciRunningTasksCount :: Lens' ContainerInstance (Maybe Int) Source #

The number of tasks on the container instance that are in the RUNNING status.

ciRemainingResources :: Lens' ContainerInstance [Resource] Source #

For most resource types, this parameter describes the remaining resources of the container instance that are available for new tasks. For port resource types, this parameter describes the ports that are reserved by the Amazon ECS container agent and any containers that have reserved port mappings; any port that is not specified here is available for new tasks.

ciEc2InstanceId :: Lens' ContainerInstance (Maybe Text) Source #

The EC2 instance ID of the container instance.

ciContainerInstanceARN :: Lens' ContainerInstance (Maybe Text) Source #

The Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region :aws_account_id :container-instance/container_instance_ID .

ciAgentConnected :: Lens' ContainerInstance (Maybe Bool) Source #

This parameter returns true if the agent is actually connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped return false , and instances without a connected agent cannot accept placement requests.

ciVersionInfo :: Lens' ContainerInstance (Maybe VersionInfo) Source #

The version information for the Amazon ECS container agent and Docker daemon running on the container instance.

ciAgentUpdateStatus :: Lens' ContainerInstance (Maybe AgentUpdateStatus) Source #

The status of the most recent agent update. If an update has never been requested, this value is NULL .

ciAttributes :: Lens' ContainerInstance [Attribute] Source #

The attributes set for the container instance, either by the Amazon ECS container agent at instance registration or manually with the PutAttributes operation.

ciVersion :: Lens' ContainerInstance (Maybe Integer) Source #

The version counter for the container instance. Every time a container instance experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS container instance state with CloudWatch events, you can compare the version of a container instance reported by the Amazon ECS APIs with the version reported in CloudWatch events for the container instance (inside the detail object) to verify that the version in your event stream is current.

ciPendingTasksCount :: Lens' ContainerInstance (Maybe Int) Source #

The number of tasks on the container instance that are in the PENDING status.

ciRegisteredAt :: Lens' ContainerInstance (Maybe UTCTime) Source #

The Unix timestamp for when the container instance was registered.

ciRegisteredResources :: Lens' ContainerInstance [Resource] Source #

For most resource types, this parameter describes the registered resources on the container instance that are in use by current tasks. For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent when it registered the container instance with Amazon ECS.

ContainerOverride

data ContainerOverride Source #

The overrides that should be sent to a container.

See: containerOverride smart constructor.

Instances

Eq ContainerOverride Source # 
Data ContainerOverride Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContainerOverride -> c ContainerOverride #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContainerOverride #

toConstr :: ContainerOverride -> Constr #

dataTypeOf :: ContainerOverride -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ContainerOverride) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContainerOverride) #

gmapT :: (forall b. Data b => b -> b) -> ContainerOverride -> ContainerOverride #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContainerOverride -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContainerOverride -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContainerOverride -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerOverride -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContainerOverride -> m ContainerOverride #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerOverride -> m ContainerOverride #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerOverride -> m ContainerOverride #

Read ContainerOverride Source # 
Show ContainerOverride Source # 
Generic ContainerOverride Source # 
Hashable ContainerOverride Source # 
FromJSON ContainerOverride Source # 
ToJSON ContainerOverride Source # 
NFData ContainerOverride Source # 

Methods

rnf :: ContainerOverride -> () #

type Rep ContainerOverride Source # 

containerOverride :: ContainerOverride Source #

Creates a value of ContainerOverride with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • coCommand - The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.
  • coEnvironment - The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.
  • coMemory - The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.
  • coName - The name of the container that receives the override. This parameter is required if any override is specified.
  • coCpu - The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.
  • coMemoryReservation - The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

coCommand :: Lens' ContainerOverride [Text] Source #

The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

coEnvironment :: Lens' ContainerOverride [KeyValuePair] Source #

The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.

coMemory :: Lens' ContainerOverride (Maybe Int) Source #

The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.

coName :: Lens' ContainerOverride (Maybe Text) Source #

The name of the container that receives the override. This parameter is required if any override is specified.

coCpu :: Lens' ContainerOverride (Maybe Int) Source #

The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

coMemoryReservation :: Lens' ContainerOverride (Maybe Int) Source #

The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

ContainerService

data ContainerService Source #

Details on a service within a cluster

See: containerService smart constructor.

Instances

Eq ContainerService Source # 
Data ContainerService Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContainerService -> c ContainerService #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContainerService #

toConstr :: ContainerService -> Constr #

dataTypeOf :: ContainerService -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ContainerService) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContainerService) #

gmapT :: (forall b. Data b => b -> b) -> ContainerService -> ContainerService #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContainerService -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContainerService -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContainerService -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerService -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContainerService -> m ContainerService #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerService -> m ContainerService #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerService -> m ContainerService #

Read ContainerService Source # 
Show ContainerService Source # 
Generic ContainerService Source # 
Hashable ContainerService Source # 
FromJSON ContainerService Source # 
NFData ContainerService Source # 

Methods

rnf :: ContainerService -> () #

type Rep ContainerService Source # 
type Rep ContainerService = D1 (MetaData "ContainerService" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) (C1 (MetaCons "ContainerService'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_csRunningCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_csStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_csClusterARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_csDesiredCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_csLoadBalancers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LoadBalancer])))) ((:*:) (S1 (MetaSel (Just Symbol "_csPendingCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_csPlacementConstraints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PlacementConstraint])))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_csEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ServiceEvent]))) (S1 (MetaSel (Just Symbol "_csPlacementStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PlacementStrategy])))) ((:*:) (S1 (MetaSel (Just Symbol "_csDeployments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Deployment]))) (S1 (MetaSel (Just Symbol "_csServiceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_csServiceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csTaskDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_csRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csDeploymentConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeploymentConfiguration))))))))

containerService :: ContainerService Source #

Creates a value of ContainerService with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • csRunningCount - The number of tasks in the cluster that are in the RUNNING state.
  • csStatus - The status of the service. The valid values are ACTIVE , DRAINING , or INACTIVE .
  • csClusterARN - The Amazon Resource Name (ARN) of the cluster that hosts the service.
  • csCreatedAt - The Unix timestamp for when the service was created.
  • csDesiredCount - The desired number of instantiations of the task definition to keep running on the service. This value is specified when the service is created with CreateService , and it can be modified with UpdateService .
  • csLoadBalancers - A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancer.
  • csPendingCount - The number of tasks in the cluster that are in the PENDING state.
  • csPlacementConstraints - The placement constraints for the tasks in the service.
  • csEvents - The event stream for your service. A maximum of 100 of the latest events are displayed.
  • csPlacementStrategy - The placement strategy that determines how tasks for the service are placed.
  • csDeployments - The current state of deployments for the service.
  • csServiceName - The name of your service. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. Service names must be unique within a cluster, but you can have similarly named services in multiple clusters within a region or across multiple regions.
  • csServiceARN - The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region :012345678910 :service/my-service .
  • csTaskDefinition - The task definition to use for tasks in the service. This value is specified when the service is created with CreateService , and it can be modified with UpdateService .
  • csRoleARN - The Amazon Resource Name (ARN) of the IAM role associated with the service that allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.
  • csDeploymentConfiguration - Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

csRunningCount :: Lens' ContainerService (Maybe Int) Source #

The number of tasks in the cluster that are in the RUNNING state.

csStatus :: Lens' ContainerService (Maybe Text) Source #

The status of the service. The valid values are ACTIVE , DRAINING , or INACTIVE .

csClusterARN :: Lens' ContainerService (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster that hosts the service.

csCreatedAt :: Lens' ContainerService (Maybe UTCTime) Source #

The Unix timestamp for when the service was created.

csDesiredCount :: Lens' ContainerService (Maybe Int) Source #

The desired number of instantiations of the task definition to keep running on the service. This value is specified when the service is created with CreateService , and it can be modified with UpdateService .

csLoadBalancers :: Lens' ContainerService [LoadBalancer] Source #

A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancer.

csPendingCount :: Lens' ContainerService (Maybe Int) Source #

The number of tasks in the cluster that are in the PENDING state.

csPlacementConstraints :: Lens' ContainerService [PlacementConstraint] Source #

The placement constraints for the tasks in the service.

csEvents :: Lens' ContainerService [ServiceEvent] Source #

The event stream for your service. A maximum of 100 of the latest events are displayed.

csPlacementStrategy :: Lens' ContainerService [PlacementStrategy] Source #

The placement strategy that determines how tasks for the service are placed.

csDeployments :: Lens' ContainerService [Deployment] Source #

The current state of deployments for the service.

csServiceName :: Lens' ContainerService (Maybe Text) Source #

The name of your service. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. Service names must be unique within a cluster, but you can have similarly named services in multiple clusters within a region or across multiple regions.

csServiceARN :: Lens' ContainerService (Maybe Text) Source #

The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region :012345678910 :service/my-service .

csTaskDefinition :: Lens' ContainerService (Maybe Text) Source #

The task definition to use for tasks in the service. This value is specified when the service is created with CreateService , and it can be modified with UpdateService .

csRoleARN :: Lens' ContainerService (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role associated with the service that allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.

csDeploymentConfiguration :: Lens' ContainerService (Maybe DeploymentConfiguration) Source #

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

Deployment

data Deployment Source #

The details of an Amazon ECS service deployment.

See: deployment smart constructor.

Instances

Eq Deployment Source # 
Data Deployment Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Deployment -> c Deployment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Deployment #

toConstr :: Deployment -> Constr #

dataTypeOf :: Deployment -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Deployment) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Deployment) #

gmapT :: (forall b. Data b => b -> b) -> Deployment -> Deployment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Deployment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Deployment -> r #

gmapQ :: (forall d. Data d => d -> u) -> Deployment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Deployment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

Read Deployment Source # 
Show Deployment Source # 
Generic Deployment Source # 

Associated Types

type Rep Deployment :: * -> * #

Hashable Deployment Source # 
FromJSON Deployment Source # 
NFData Deployment Source # 

Methods

rnf :: Deployment -> () #

type Rep Deployment Source # 

deployment :: Deployment Source #

Creates a value of Deployment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dRunningCount - The number of tasks in the deployment that are in the RUNNING status.
  • dStatus - The status of the deployment. Valid values are PRIMARY (for the most recent deployment), ACTIVE (for previous deployments that still have tasks running, but are being replaced with the PRIMARY deployment), and INACTIVE (for deployments that have been completely replaced).
  • dCreatedAt - The Unix timestamp for when the service was created.
  • dDesiredCount - The most recent desired count of tasks that was specified for the service to deploy or maintain.
  • dPendingCount - The number of tasks in the deployment that are in the PENDING status.
  • dId - The ID of the deployment.
  • dUpdatedAt - The Unix timestamp for when the service was last updated.
  • dTaskDefinition - The most recent task definition that was specified for the service to use.

dRunningCount :: Lens' Deployment (Maybe Int) Source #

The number of tasks in the deployment that are in the RUNNING status.

dStatus :: Lens' Deployment (Maybe Text) Source #

The status of the deployment. Valid values are PRIMARY (for the most recent deployment), ACTIVE (for previous deployments that still have tasks running, but are being replaced with the PRIMARY deployment), and INACTIVE (for deployments that have been completely replaced).

dCreatedAt :: Lens' Deployment (Maybe UTCTime) Source #

The Unix timestamp for when the service was created.

dDesiredCount :: Lens' Deployment (Maybe Int) Source #

The most recent desired count of tasks that was specified for the service to deploy or maintain.

dPendingCount :: Lens' Deployment (Maybe Int) Source #

The number of tasks in the deployment that are in the PENDING status.

dId :: Lens' Deployment (Maybe Text) Source #

The ID of the deployment.

dUpdatedAt :: Lens' Deployment (Maybe UTCTime) Source #

The Unix timestamp for when the service was last updated.

dTaskDefinition :: Lens' Deployment (Maybe Text) Source #

The most recent task definition that was specified for the service to use.

DeploymentConfiguration

data DeploymentConfiguration Source #

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

See: deploymentConfiguration smart constructor.

Instances

Eq DeploymentConfiguration Source # 
Data DeploymentConfiguration Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeploymentConfiguration -> c DeploymentConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeploymentConfiguration #

toConstr :: DeploymentConfiguration -> Constr #

dataTypeOf :: DeploymentConfiguration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeploymentConfiguration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeploymentConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> DeploymentConfiguration -> DeploymentConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeploymentConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeploymentConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeploymentConfiguration -> m DeploymentConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentConfiguration -> m DeploymentConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentConfiguration -> m DeploymentConfiguration #

Read DeploymentConfiguration Source # 
Show DeploymentConfiguration Source # 
Generic DeploymentConfiguration Source # 
Hashable DeploymentConfiguration Source # 
FromJSON DeploymentConfiguration Source # 
ToJSON DeploymentConfiguration Source # 
NFData DeploymentConfiguration Source # 

Methods

rnf :: DeploymentConfiguration -> () #

type Rep DeploymentConfiguration Source # 
type Rep DeploymentConfiguration = D1 (MetaData "DeploymentConfiguration" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) (C1 (MetaCons "DeploymentConfiguration'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcMinimumHealthyPercent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_dcMaximumPercent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))

deploymentConfiguration :: DeploymentConfiguration Source #

Creates a value of DeploymentConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dcMinimumHealthyPercent - The lower limit (as a percentage of the service's desiredCount ) of the number of running tasks that must remain in the RUNNING state in a service during a deployment. The minimum healthy tasks during a deployment is the desiredCount multiplied by minimumHealthyPercent /100, rounded up to the nearest integer value.
  • dcMaximumPercent - The upper limit (as a percentage of the service's desiredCount ) of the number of tasks that are allowed in the RUNNING or PENDING state in a service during a deployment. The maximum number of tasks during a deployment is the desiredCount multiplied by maximumPercent /100, rounded down to the nearest integer value.

dcMinimumHealthyPercent :: Lens' DeploymentConfiguration (Maybe Int) Source #

The lower limit (as a percentage of the service's desiredCount ) of the number of running tasks that must remain in the RUNNING state in a service during a deployment. The minimum healthy tasks during a deployment is the desiredCount multiplied by minimumHealthyPercent /100, rounded up to the nearest integer value.

dcMaximumPercent :: Lens' DeploymentConfiguration (Maybe Int) Source #

The upper limit (as a percentage of the service's desiredCount ) of the number of tasks that are allowed in the RUNNING or PENDING state in a service during a deployment. The maximum number of tasks during a deployment is the desiredCount multiplied by maximumPercent /100, rounded down to the nearest integer value.

Device

data Device Source #

An object representing a container instance host device.

See: device smart constructor.

Instances

Eq Device Source # 

Methods

(==) :: Device -> Device -> Bool #

(/=) :: Device -> Device -> Bool #

Data Device Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Device -> c Device #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Device #

toConstr :: Device -> Constr #

dataTypeOf :: Device -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Device) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Device) #

gmapT :: (forall b. Data b => b -> b) -> Device -> Device #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Device -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Device -> r #

gmapQ :: (forall d. Data d => d -> u) -> Device -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Device -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Device -> m Device #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Device -> m Device #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Device -> m Device #

Read Device Source # 
Show Device Source # 
Generic Device Source # 

Associated Types

type Rep Device :: * -> * #

Methods

from :: Device -> Rep Device x #

to :: Rep Device x -> Device #

Hashable Device Source # 

Methods

hashWithSalt :: Int -> Device -> Int #

hash :: Device -> Int #

FromJSON Device Source # 
ToJSON Device Source # 
NFData Device Source # 

Methods

rnf :: Device -> () #

type Rep Device Source # 
type Rep Device = D1 (MetaData "Device" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.5.0-EwatFke974vDkurbaNzIje" False) (C1 (MetaCons "Device'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dContainerPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DeviceCgroupPermission]))) (S1 (MetaSel (Just Symbol "_dHostPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

device Source #

Arguments

:: Text

dHostPath

-> Device 

Creates a value of Device with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dContainerPath - The path inside the container at which to expose the host device.
  • dPermissions - The explicit permissions to provide to the container for the device. By default, the container will be able to read , write , and mknod the device.
  • dHostPath - The path for the device on the host container instance.

dContainerPath :: Lens' Device (Maybe Text) Source #

The path inside the container at which to expose the host device.

dPermissions :: Lens' Device [DeviceCgroupPermission] Source #

The explicit permissions to provide to the container for the device. By default, the container will be able to read , write , and mknod the device.

dHostPath :: Lens' Device Text Source #

The path for the device on the host container instance.

Failure

data Failure Source #

A failed resource.

See: failure smart constructor.

Instances

Eq Failure Source # 

Methods

(==) :: Failure -> Failure -> Bool #

(/=) :: Failure -> Failure -> Bool #

Data Failure Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Failure -> c Failure #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Failure #

toConstr :: Failure -> Constr #

dataTypeOf :: Failure -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Failure) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Failure) #

gmapT :: (forall b. Data b => b -> b) -> Failure -> Failure #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Failure -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Failure -> r #

gmapQ :: (forall d. Data d => d -> u) -> Failure -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Failure -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Failure -> m Failure #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Failure -> m Failure #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Failure -> m Failure #

Read Failure Source # 

Methods

r