amazonka-ecs 1.4.2 → 1.4.3
raw patch · 33 files changed
+442/−1306 lines, 33 filesdep ~amazonka-coredep ~amazonka-ecsdep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-ecs, amazonka-test
API changes (from Hackage documentation)
Files
- README.md +3/−14
- amazonka-ecs.cabal +7/−18
- gen/Network/AWS/ECS.hs +2/−13
- gen/Network/AWS/ECS/CreateCluster.hs +2/−7
- gen/Network/AWS/ECS/CreateService.hs +16/−66
- gen/Network/AWS/ECS/DeleteCluster.hs +2/−6
- gen/Network/AWS/ECS/DeleteService.hs +3/−16
- gen/Network/AWS/ECS/DeregisterContainerInstance.hs +7/−30
- gen/Network/AWS/ECS/DeregisterTaskDefinition.hs +3/−14
- gen/Network/AWS/ECS/DescribeClusters.hs +1/−3
- gen/Network/AWS/ECS/DescribeContainerInstances.hs +3/−8
- gen/Network/AWS/ECS/DescribeServices.hs +1/−2
- gen/Network/AWS/ECS/DescribeTaskDefinition.hs +3/−8
- gen/Network/AWS/ECS/DescribeTasks.hs +2/−5
- gen/Network/AWS/ECS/DiscoverPollEndpoint.hs +3/−10
- gen/Network/AWS/ECS/ListClusters.hs +4/−19
- gen/Network/AWS/ECS/ListContainerInstances.hs +5/−24
- gen/Network/AWS/ECS/ListServices.hs +5/−22
- gen/Network/AWS/ECS/ListTaskDefinitionFamilies.hs +6/−29
- gen/Network/AWS/ECS/ListTaskDefinitions.hs +8/−38
- gen/Network/AWS/ECS/ListTasks.hs +11/−44
- gen/Network/AWS/ECS/RegisterContainerInstance.hs +7/−19
- gen/Network/AWS/ECS/RegisterTaskDefinition.hs +4/−14
- gen/Network/AWS/ECS/RunTask.hs +9/−29
- gen/Network/AWS/ECS/StartTask.hs +9/−29
- gen/Network/AWS/ECS/StopTask.hs +4/−16
- gen/Network/AWS/ECS/SubmitContainerStateChange.hs +3/−6
- gen/Network/AWS/ECS/SubmitTaskStateChange.hs +3/−6
- gen/Network/AWS/ECS/Types.hs +10/−34
- gen/Network/AWS/ECS/Types/Product.hs +115/−517
- gen/Network/AWS/ECS/UpdateContainerAgent.hs +4/−17
- gen/Network/AWS/ECS/UpdateService.hs +15/−61
- test/Test/AWS/Gen/ECS.hs +162/−162
README.md view
@@ -8,25 +8,14 @@ ## Version -`1.4.2`+`1.4.3` ## 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.+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.+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. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-ecs) and the [AWS API Reference](https://aws.amazon.com/documentation/).
amazonka-ecs.cabal view
@@ -1,5 +1,5 @@ name: amazonka-ecs-version: 1.4.2+version: 1.4.3 synopsis: Amazon EC2 Container Service SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -13,20 +13,9 @@ cabal-version: >= 1.10 extra-source-files: README.md fixture/*.yaml fixture/*.proto 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.+ 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.+ 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. . The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>, which provides@@ -89,7 +78,7 @@ , Network.AWS.ECS.Types.Sum build-depends:- amazonka-core == 1.4.2.*+ amazonka-core == 1.4.3.* , base >= 4.7 && < 5 test-suite amazonka-ecs-test@@ -109,9 +98,9 @@ , Test.AWS.ECS.Internal build-depends:- amazonka-core == 1.4.2.*- , amazonka-test == 1.4.2.*- , amazonka-ecs == 1.4.2.*+ amazonka-core == 1.4.3.*+ , amazonka-test == 1.4.3.*+ , amazonka-ecs == 1.4.3.* , base , bytestring , tasty
gen/Network/AWS/ECS.hs view
@@ -11,20 +11,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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.+-- 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. module Network.AWS.ECS ( -- * Service Configuration
gen/Network/AWS/ECS/CreateCluster.hs view
@@ -18,10 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new Amazon ECS cluster. By default, your account receives a--- 'default' cluster when you launch your first container instance.--- However, you can create your own cluster with a unique name with the--- 'CreateCluster' action.+-- Creates a new Amazon ECS cluster. By default, your account receives a 'default' cluster when you launch your first container instance. However, you can create your own cluster with a unique name with the 'CreateCluster' action. module Network.AWS.ECS.CreateCluster ( -- * Creating a Request@@ -62,9 +59,7 @@ { _ccClusterName = Nothing } --- | The name of your cluster. If you do not specify a name for your cluster,--- you create a cluster named 'default'. Up to 255 letters (uppercase and--- lowercase), numbers, hyphens, and underscores are allowed.+-- | The name of your cluster. If you do not specify a name for your cluster, you create a cluster named 'default'. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. ccClusterName :: Lens' CreateCluster (Maybe Text) ccClusterName = lens _ccClusterName (\ s a -> s{_ccClusterName = a});
gen/Network/AWS/ECS/CreateService.hs view
@@ -18,56 +18,21 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Runs and maintains a desired number of tasks from a specified task--- definition. If the number of tasks running in a service drops below--- 'desiredCount', Amazon ECS spawns another instantiation of the task in--- the specified cluster. To update an existing service, see--- < UpdateService>.+-- Runs and maintains a desired number of tasks from a specified task definition. If the number of tasks running in a service drops below 'desiredCount', Amazon ECS spawns another instantiation of the task in the specified cluster. To update an existing service, see < UpdateService>. ----- You can optionally specify a deployment configuration for your service.--- During a deployment (which is triggered by changing the task definition--- of a service with an < UpdateService> operation), the service scheduler--- uses the 'minimumHealthyPercent' and 'maximumPercent' parameters to--- determine the deployment strategy.+-- You can optionally specify a deployment configuration for your service. During a deployment (which is triggered by changing the task definition of a service with an < UpdateService> operation), the service scheduler uses the 'minimumHealthyPercent' and 'maximumPercent' parameters to determine the deployment strategy. ----- If the 'minimumHealthyPercent' is below 100%, the scheduler can ignore--- the 'desiredCount' temporarily during a deployment. For example, if your--- service has a 'desiredCount' of four tasks, a 'minimumHealthyPercent' of--- 50% allows the scheduler to stop two existing tasks before starting two--- new tasks. Tasks for services that /do not/ use a load balancer are--- considered healthy if they are in the 'RUNNING' state; tasks for--- services that /do/ use a load balancer are considered healthy if they--- are in the 'RUNNING' state and the container instance it is hosted on is--- reported as healthy by the load balancer. The default value for--- 'minimumHealthyPercent' is 50% in the console and 100% for the AWS CLI,--- the AWS SDKs, and the APIs.+-- If the 'minimumHealthyPercent' is below 100%, the scheduler can ignore the 'desiredCount' temporarily during a deployment. For example, if your service has a 'desiredCount' of four tasks, a 'minimumHealthyPercent' of 50% allows the scheduler to stop two existing tasks before starting two new tasks. Tasks for services that /do not/ use a load balancer are considered healthy if they are in the 'RUNNING' state; tasks for services that /do/ use a load balancer are considered healthy if they are in the 'RUNNING' state and the container instance it is hosted on is reported as healthy by the load balancer. The default value for 'minimumHealthyPercent' is 50% in the console and 100% for the AWS CLI, the AWS SDKs, and the APIs. ----- The 'maximumPercent' parameter represents an upper limit on the number--- of running tasks during a deployment, which enables you to define the--- deployment batch size. For example, if your service has a 'desiredCount'--- of four tasks, a 'maximumPercent' value of 200% starts four new tasks--- before stopping the four older tasks (provided that the cluster--- resources required to do this are available). The default value for--- 'maximumPercent' is 200%.+-- The 'maximumPercent' parameter represents an upper limit on the number of running tasks during a deployment, which enables you to define the deployment batch size. For example, if your service has a 'desiredCount' of four tasks, a 'maximumPercent' value of 200% starts four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default value for 'maximumPercent' is 200%. ----- When the service scheduler launches new tasks, it attempts to balance--- them across the Availability Zones in your cluster with the following--- logic:+-- When the service scheduler launches new tasks, it attempts to balance them across the Availability Zones in your cluster with the following logic: ----- - Determine which of the container instances in your cluster can--- support your service\'s task definition (for example, they have the--- required CPU, memory, ports, and container instance attributes).+-- - Determine which of the container instances in your cluster can support your service\'s task definition (for example, they have the required CPU, memory, ports, and container instance attributes). ----- - Sort the valid container instances by the fewest number of running--- tasks for this service in the same Availability Zone as the--- instance. For example, if zone A has one running service task and--- zones B and C each have zero, valid container instances in either--- zone B or C are considered optimal for placement.+-- - Sort the valid container instances by the fewest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have zero, valid container instances in either zone B or C are considered optimal for placement. ----- - Place the new service task on a valid container instance in an--- optimal Availability Zone (based on the previous steps), favoring--- container instances with the fewest number of running tasks for this--- service.+-- - Place the new service task on a valid container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the fewest number of running tasks for this service. -- module Network.AWS.ECS.CreateService (@@ -147,50 +112,35 @@ , _cDesiredCount = pDesiredCount_ } --- | The short name or full Amazon Resource Name (ARN) of the cluster on--- which to run your service. If you do not specify a cluster, the default--- cluster is assumed.+-- | The short name or full Amazon Resource Name (ARN) of the cluster on which to run your service. If you do not specify a cluster, the default cluster is assumed. cCluster :: Lens' CreateService (Maybe Text) cCluster = lens _cCluster (\ s a -> s{_cCluster = a}); --- | Unique, case-sensitive identifier you provide to ensure the idempotency--- of the request. Up to 32 ASCII characters are allowed.+-- | Unique, case-sensitive identifier you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed. cClientToken :: Lens' CreateService (Maybe Text) cClientToken = lens _cClientToken (\ s a -> s{_cClientToken = a}); --- | A list of 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.+-- | A list of 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. cLoadBalancers :: Lens' CreateService [LoadBalancer] cLoadBalancers = lens _cLoadBalancers (\ s a -> s{_cLoadBalancers = a}) . _Default . _Coerce; --- | The name or full Amazon Resource Name (ARN) of the IAM role that allows--- your Amazon ECS container agent to make calls to your load balancer on--- your behalf. This parameter is only required if you are using a load--- balancer with your service.+-- | The name or full Amazon Resource Name (ARN) of the IAM role that allows your Amazon ECS container agent to make calls to your load balancer on your behalf. This parameter is only required if you are using a load balancer with your service. cRole :: Lens' CreateService (Maybe Text) cRole = lens _cRole (\ s a -> s{_cRole = a}); --- | Optional deployment parameters that control how many tasks run during--- the deployment and the ordering of stopping and starting tasks.+-- | Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks. cDeploymentConfiguration :: Lens' CreateService (Maybe DeploymentConfiguration) cDeploymentConfiguration = lens _cDeploymentConfiguration (\ s a -> s{_cDeploymentConfiguration = a}); --- | 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.+-- | 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. cServiceName :: Lens' CreateService Text cServiceName = lens _cServiceName (\ s a -> s{_cServiceName = a}); --- | The 'family' and 'revision' ('family:revision') or full Amazon Resource--- Name (ARN) of the task definition to run in your service. If a--- 'revision' is not specified, the latest 'ACTIVE' revision is used.+-- | The 'family' and 'revision' ('family:revision') or full Amazon Resource Name (ARN) of the task definition to run in your service. If a 'revision' is not specified, the latest 'ACTIVE' revision is used. cTaskDefinition :: Lens' CreateService Text cTaskDefinition = lens _cTaskDefinition (\ s a -> s{_cTaskDefinition = a}); --- | The number of instantiations of the specified task definition to place--- and keep running on your cluster.+-- | The number of instantiations of the specified task definition to place and keep running on your cluster. cDesiredCount :: Lens' CreateService Int cDesiredCount = lens _cDesiredCount (\ s a -> s{_cDesiredCount = a});
gen/Network/AWS/ECS/DeleteCluster.hs view
@@ -18,10 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified cluster. You must deregister all container--- instances from this cluster before you may delete it. You can list the--- container instances in a cluster with < ListContainerInstances> and--- deregister them with < DeregisterContainerInstance>.+-- Deletes the specified cluster. You must deregister all container instances from this cluster before you may delete it. You can list the container instances in a cluster with < ListContainerInstances> and deregister them with < DeregisterContainerInstance>. module Network.AWS.ECS.DeleteCluster ( -- * Creating a Request@@ -63,8 +60,7 @@ { _dcCluster = pCluster_ } --- | The short name or full Amazon Resource Name (ARN) of the cluster to--- delete.+-- | The short name or full Amazon Resource Name (ARN) of the cluster to delete. dcCluster :: Lens' DeleteCluster Text dcCluster = lens _dcCluster (\ s a -> s{_dcCluster = a});
gen/Network/AWS/ECS/DeleteService.hs view
@@ -18,21 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a specified service within a cluster. You can delete a service--- if you have no running tasks in it and the desired task count is zero.--- If the service is actively maintaining tasks, you cannot delete it, and--- you must update the service to a desired task count of zero. For more--- information, see < UpdateService>.+-- Deletes a specified service within a cluster. You can delete a service if you have no running tasks in it and the desired task count is zero. If the service is actively maintaining tasks, you cannot delete it, and you must update the service to a desired task count of zero. For more information, see < UpdateService>. ----- When you delete a service, if there are still running tasks that require--- cleanup, the service status moves from 'ACTIVE' to 'DRAINING', and the--- service is no longer visible in the console or in < ListServices> API--- operations. After the tasks have stopped, then the service status moves--- from 'DRAINING' to 'INACTIVE'. Services in the 'DRAINING' or 'INACTIVE'--- status can still be viewed with < DescribeServices> API operations;--- however, in the future, 'INACTIVE' services may be cleaned up and purged--- from Amazon ECS record keeping, and < DescribeServices> API operations--- on those services will return a 'ServiceNotFoundException' error.+-- When you delete a service, if there are still running tasks that require cleanup, the service status moves from 'ACTIVE' to 'DRAINING', and the service is no longer visible in the console or in < ListServices> API operations. After the tasks have stopped, then the service status moves from 'DRAINING' to 'INACTIVE'. Services in the 'DRAINING' or 'INACTIVE' status can still be viewed with < DescribeServices> API operations; however, in the future, 'INACTIVE' services may be cleaned up and purged from Amazon ECS record keeping, and < DescribeServices> API operations on those services will return a 'ServiceNotFoundException' error. module Network.AWS.ECS.DeleteService ( -- * Creating a Request@@ -79,8 +67,7 @@ , _dsService = pService_ } --- | The name of the cluster that hosts the service to delete. If you do not--- specify a cluster, the default cluster is assumed.+-- | The name of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed. dsCluster :: Lens' DeleteService (Maybe Text) dsCluster = lens _dsCluster (\ s a -> s{_dsCluster = a});
gen/Network/AWS/ECS/DeregisterContainerInstance.hs view
@@ -18,21 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deregisters an Amazon ECS container instance from the specified cluster.--- This instance is no longer available to run tasks.+-- Deregisters an Amazon ECS container instance from the specified cluster. This instance is no longer available to run tasks. ----- If you intend to use the container instance for some other purpose after--- deregistration, you should stop all of the tasks running on the--- container instance before deregistration to avoid any orphaned tasks--- from consuming resources.+-- If you intend to use the container instance for some other purpose after deregistration, you should stop all of the tasks running on the container instance before deregistration to avoid any orphaned tasks from consuming resources. ----- Deregistering a container instance removes the instance from a cluster,--- but it does not terminate the EC2 instance; if you are finished using--- the instance, be sure to terminate it in the Amazon EC2 console to stop--- billing.+-- Deregistering a container instance removes the instance from a cluster, but it does not terminate the EC2 instance; if you are finished using the instance, be sure to terminate it in the Amazon EC2 console to stop billing. ----- When you terminate a container instance, it is automatically--- deregistered from your cluster.+-- When you terminate a container instance, it is automatically deregistered from your cluster. module Network.AWS.ECS.DeregisterContainerInstance ( -- * Creating a Request@@ -84,30 +76,15 @@ , _derContainerInstance = pContainerInstance_ } --- | The short name or full Amazon Resource Name (ARN) of the cluster that--- hosts the container instance to deregister. If you do not specify a--- cluster, the default cluster is assumed.+-- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to deregister. If you do not specify a cluster, the default cluster is assumed. derCluster :: Lens' DeregisterContainerInstance (Maybe Text) derCluster = lens _derCluster (\ s a -> s{_derCluster = a}); --- | Forces the deregistration of the container instance. If you have tasks--- running on the container instance when you deregister it with the--- 'force' option, these tasks remain running and they continue to pass--- Elastic Load Balancing load balancer health checks until you terminate--- the instance or the tasks stop through some other means, but they are--- orphaned (no longer monitored or accounted for by Amazon ECS). If an--- orphaned task on your container instance is part of an Amazon ECS--- service, then the service scheduler starts another copy of that task, on--- a different container instance if possible.+-- | Forces the deregistration of the container instance. If you have tasks running on the container instance when you deregister it with the 'force' option, these tasks remain running and they continue to pass Elastic Load Balancing load balancer health checks until you terminate the instance or the tasks stop through some other means, but they are orphaned (no longer monitored or accounted for by Amazon ECS). If an orphaned task on your container instance is part of an Amazon ECS service, then the service scheduler starts another copy of that task, on a different container instance if possible. derForce :: Lens' DeregisterContainerInstance (Maybe Bool) derForce = lens _derForce (\ s a -> s{_derForce = a}); --- | The container instance ID or full Amazon Resource Name (ARN) of the--- container instance to deregister. 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/.+-- | The container instance ID or full Amazon Resource Name (ARN) of the container instance to deregister. 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/. derContainerInstance :: Lens' DeregisterContainerInstance Text derContainerInstance = lens _derContainerInstance (\ s a -> s{_derContainerInstance = a});
gen/Network/AWS/ECS/DeregisterTaskDefinition.hs view
@@ -18,18 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deregisters the specified task definition by family and revision. Upon--- deregistration, the task definition is marked as 'INACTIVE'. Existing--- tasks and services that reference an 'INACTIVE' task definition continue--- to run without disruption. Existing services that reference an--- 'INACTIVE' task definition can still scale up or down by modifying the--- service\'s desired count.+-- Deregisters the specified task definition by family and revision. Upon deregistration, the task definition is marked as 'INACTIVE'. Existing tasks and services that reference an 'INACTIVE' task definition continue to run without disruption. Existing services that reference an 'INACTIVE' task definition can still scale up or down by modifying the service\'s desired count. ----- You cannot use an 'INACTIVE' task definition to run new tasks or create--- new services, and you cannot update an existing service to reference an--- 'INACTIVE' task definition (although there may be up to a 10 minute--- window following deregistration where these restrictions have not yet--- taken effect).+-- You cannot use an 'INACTIVE' task definition to run new tasks or create new services, and you cannot update an existing service to reference an 'INACTIVE' task definition (although there may be up to a 10 minute window following deregistration where these restrictions have not yet taken effect). module Network.AWS.ECS.DeregisterTaskDefinition ( -- * Creating a Request@@ -71,9 +62,7 @@ { _derTaskDefinition = pTaskDefinition_ } --- | The 'family' and 'revision' ('family:revision') or full Amazon Resource--- Name (ARN) of the task definition to deregister. You must specify a--- 'revision'.+-- | The 'family' and 'revision' ('family:revision') or full Amazon Resource Name (ARN) of the task definition to deregister. You must specify a 'revision'. derTaskDefinition :: Lens' DeregisterTaskDefinition Text derTaskDefinition = lens _derTaskDefinition (\ s a -> s{_derTaskDefinition = a});
gen/Network/AWS/ECS/DescribeClusters.hs view
@@ -60,9 +60,7 @@ { _dcClusters = Nothing } --- | A space-separated list of cluster names or full cluster Amazon Resource--- Name (ARN) entries. If you do not specify a cluster, the default cluster--- is assumed.+-- | A space-separated list of cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed. dcClusters :: Lens' DescribeClusters [Text] dcClusters = lens _dcClusters (\ s a -> s{_dcClusters = a}) . _Default . _Coerce;
gen/Network/AWS/ECS/DescribeContainerInstances.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describes Amazon EC2 Container Service container instances. Returns--- metadata about registered and remaining resources on each container--- instance requested.+-- Describes Amazon EC2 Container Service container instances. Returns metadata about registered and remaining resources on each container instance requested. module Network.AWS.ECS.DescribeContainerInstances ( -- * Creating a Request@@ -67,14 +65,11 @@ , _dciContainerInstances = mempty } --- | The short name or full Amazon Resource Name (ARN) of the cluster that--- hosts the container instances to describe. If you do not specify a--- cluster, the default cluster is assumed.+-- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to describe. If you do not specify a cluster, the default cluster is assumed. dciCluster :: Lens' DescribeContainerInstances (Maybe Text) dciCluster = lens _dciCluster (\ s a -> s{_dciCluster = a}); --- | A space-separated list of container instance IDs or full Amazon Resource--- Name (ARN) entries.+-- | A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries. dciContainerInstances :: Lens' DescribeContainerInstances [Text] dciContainerInstances = lens _dciContainerInstances (\ s a -> s{_dciContainerInstances = a}) . _Coerce;
gen/Network/AWS/ECS/DescribeServices.hs view
@@ -65,8 +65,7 @@ , _dServices = mempty } --- | The name of the cluster that hosts the service to describe. If you do--- not specify a cluster, the default cluster is assumed.+-- | The name of the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed. dCluster :: Lens' DescribeServices (Maybe Text) dCluster = lens _dCluster (\ s a -> s{_dCluster = a});
gen/Network/AWS/ECS/DescribeTaskDefinition.hs view
@@ -18,12 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describes a task definition. You can specify a 'family' and 'revision'--- to find information about a specific task definition, or you can simply--- specify the family to find the latest 'ACTIVE' revision in that family.+-- Describes a task definition. You can specify a 'family' and 'revision' to find information about a specific task definition, or you can simply specify the family to find the latest 'ACTIVE' revision in that family. ----- You can only describe 'INACTIVE' task definitions while an active task--- or service references them.+-- You can only describe 'INACTIVE' task definitions while an active task or service references them. module Network.AWS.ECS.DescribeTaskDefinition ( -- * Creating a Request@@ -65,9 +62,7 @@ { _dtdTaskDefinition = pTaskDefinition_ } --- | The 'family' for the latest 'ACTIVE' revision, 'family' and 'revision'--- ('family:revision') for a specific revision in the family, or full--- Amazon Resource Name (ARN) of the task definition to describe.+-- | The 'family' for the latest 'ACTIVE' revision, 'family' and 'revision' ('family:revision') for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to describe. dtdTaskDefinition :: Lens' DescribeTaskDefinition Text dtdTaskDefinition = lens _dtdTaskDefinition (\ s a -> s{_dtdTaskDefinition = a});
gen/Network/AWS/ECS/DescribeTasks.hs view
@@ -65,14 +65,11 @@ , _dtTasks = mempty } --- | The short name or full Amazon Resource Name (ARN) of the cluster that--- hosts the task to describe. If you do not specify a cluster, the default--- cluster is assumed.+-- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed. dtCluster :: Lens' DescribeTasks (Maybe Text) dtCluster = lens _dtCluster (\ s a -> s{_dtCluster = a}); --- | A space-separated list of task IDs or full Amazon Resource Name (ARN)--- entries.+-- | A space-separated list of task IDs or full Amazon Resource Name (ARN) entries. dtTasks :: Lens' DescribeTasks [Text] dtTasks = lens _dtTasks (\ s a -> s{_dtTasks = a}) . _Coerce;
gen/Network/AWS/ECS/DiscoverPollEndpoint.hs view
@@ -18,11 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- This action is only used by the Amazon EC2 Container Service agent, and--- it is not intended for use outside of the agent.+-- This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. ----- Returns an endpoint for the Amazon EC2 Container Service agent to poll--- for updates.+-- Returns an endpoint for the Amazon EC2 Container Service agent to poll for updates. module Network.AWS.ECS.DiscoverPollEndpoint ( -- * Creating a Request@@ -73,12 +71,7 @@ dpeCluster :: Lens' DiscoverPollEndpoint (Maybe Text) dpeCluster = lens _dpeCluster (\ s a -> s{_dpeCluster = a}); --- | The container instance ID or full 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/.+-- | The container instance ID or full 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/. dpeContainerInstance :: Lens' DiscoverPollEndpoint (Maybe Text) dpeContainerInstance = lens _dpeContainerInstance (\ s a -> s{_dpeContainerInstance = a});
gen/Network/AWS/ECS/ListClusters.hs view
@@ -68,22 +68,11 @@ , _lcMaxResults = Nothing } --- | The 'nextToken' value returned from a previous paginated 'ListClusters'--- request where 'maxResults' was used and the results exceeded the value--- of that parameter. Pagination continues from the end of the previous--- results that returned the 'nextToken' value. This value is 'null' when--- there are no more results to return.+-- | The 'nextToken' value returned from a previous paginated 'ListClusters' request where 'maxResults' was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the 'nextToken' value. This value is 'null' when there are no more results to return. lcNextToken :: Lens' ListClusters (Maybe Text) lcNextToken = lens _lcNextToken (\ s a -> s{_lcNextToken = a}); --- | The maximum number of cluster results returned by 'ListClusters' in--- paginated output. When this parameter is used, 'ListClusters' only--- returns 'maxResults' results in a single page along with a 'nextToken'--- response element. The remaining results of the initial request can be--- seen by sending another 'ListClusters' request with the returned--- 'nextToken' value. This value can be between 1 and 100. If this--- parameter is not used, then 'ListClusters' returns up to 100 results and--- a 'nextToken' value if applicable.+-- | The maximum number of cluster results returned by 'ListClusters' in paginated output. When this parameter is used, 'ListClusters' only returns 'maxResults' results in a single page along with a 'nextToken' response element. The remaining results of the initial request can be seen by sending another 'ListClusters' request with the returned 'nextToken' value. This value can be between 1 and 100. If this parameter is not used, then 'ListClusters' returns up to 100 results and a 'nextToken' value if applicable. lcMaxResults :: Lens' ListClusters (Maybe Int) lcMaxResults = lens _lcMaxResults (\ s a -> s{_lcMaxResults = a}); @@ -158,15 +147,11 @@ , _lcrsResponseStatus = pResponseStatus_ } --- | The list of full Amazon Resource Name (ARN) entries for each cluster--- associated with your account.+-- | The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account. lcrsClusterARNs :: Lens' ListClustersResponse [Text] lcrsClusterARNs = lens _lcrsClusterARNs (\ s a -> s{_lcrsClusterARNs = a}) . _Default . _Coerce; --- | The 'nextToken' value to include in a future 'ListClusters' request.--- When the results of a 'ListClusters' request exceed 'maxResults', this--- value can be used to retrieve the next page of results. This value is--- 'null' when there are no more results to return.+-- | The 'nextToken' value to include in a future 'ListClusters' request. When the results of a 'ListClusters' request exceed 'maxResults', this value can be used to retrieve the next page of results. This value is 'null' when there are no more results to return. lcrsNextToken :: Lens' ListClustersResponse (Maybe Text) lcrsNextToken = lens _lcrsNextToken (\ s a -> s{_lcrsNextToken = a});
gen/Network/AWS/ECS/ListContainerInstances.hs view
@@ -73,29 +73,15 @@ , _lciMaxResults = Nothing } --- | The short name or full Amazon Resource Name (ARN) of the cluster that--- hosts the container instances to list. If you do not specify a cluster,--- the default cluster is assumed..+-- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list. If you do not specify a cluster, the default cluster is assumed.. lciCluster :: Lens' ListContainerInstances (Maybe Text) lciCluster = lens _lciCluster (\ s a -> s{_lciCluster = a}); --- | The 'nextToken' value returned from a previous paginated--- 'ListContainerInstances' request where 'maxResults' was used and the--- results exceeded the value of that parameter. Pagination continues from--- the end of the previous results that returned the 'nextToken' value.--- This value is 'null' when there are no more results to return.+-- | The 'nextToken' value returned from a previous paginated 'ListContainerInstances' request where 'maxResults' was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the 'nextToken' value. This value is 'null' when there are no more results to return. lciNextToken :: Lens' ListContainerInstances (Maybe Text) lciNextToken = lens _lciNextToken (\ s a -> s{_lciNextToken = a}); --- | The maximum number of container instance results returned by--- 'ListContainerInstances' in paginated output. When this parameter is--- used, 'ListContainerInstances' only returns 'maxResults' results in a--- single page along with a 'nextToken' response element. The remaining--- results of the initial request can be seen by sending another--- 'ListContainerInstances' request with the returned 'nextToken' value.--- This value can be between 1 and 100. If this parameter is not used, then--- 'ListContainerInstances' returns up to 100 results and a 'nextToken'--- value if applicable.+-- | The maximum number of container instance results returned by 'ListContainerInstances' in paginated output. When this parameter is used, 'ListContainerInstances' only returns 'maxResults' results in a single page along with a 'nextToken' response element. The remaining results of the initial request can be seen by sending another 'ListContainerInstances' request with the returned 'nextToken' value. This value can be between 1 and 100. If this parameter is not used, then 'ListContainerInstances' returns up to 100 results and a 'nextToken' value if applicable. lciMaxResults :: Lens' ListContainerInstances (Maybe Int) lciMaxResults = lens _lciMaxResults (\ s a -> s{_lciMaxResults = a}); @@ -172,16 +158,11 @@ , _lcirsResponseStatus = pResponseStatus_ } --- | The list of container instances with full Amazon Resource Name (ARN)--- entries for each container instance associated with the specified--- cluster.+-- | The list of container instances with full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster. lcirsContainerInstanceARNs :: Lens' ListContainerInstancesResponse [Text] lcirsContainerInstanceARNs = lens _lcirsContainerInstanceARNs (\ s a -> s{_lcirsContainerInstanceARNs = a}) . _Default . _Coerce; --- | The 'nextToken' value to include in a future 'ListContainerInstances'--- request. When the results of a 'ListContainerInstances' request exceed--- 'maxResults', this value can be used to retrieve the next page of--- results. This value is 'null' when there are no more results to return.+-- | The 'nextToken' value to include in a future 'ListContainerInstances' request. When the results of a 'ListContainerInstances' request exceed 'maxResults', this value can be used to retrieve the next page of results. This value is 'null' when there are no more results to return. lcirsNextToken :: Lens' ListContainerInstancesResponse (Maybe Text) lcirsNextToken = lens _lcirsNextToken (\ s a -> s{_lcirsNextToken = a});
gen/Network/AWS/ECS/ListServices.hs view
@@ -73,28 +73,15 @@ , _lsMaxResults = Nothing } --- | The short name or full Amazon Resource Name (ARN) of the cluster that--- hosts the services to list. If you do not specify a cluster, the default--- cluster is assumed..+-- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. If you do not specify a cluster, the default cluster is assumed.. lsCluster :: Lens' ListServices (Maybe Text) lsCluster = lens _lsCluster (\ s a -> s{_lsCluster = a}); --- | The 'nextToken' value returned from a previous paginated 'ListServices'--- request where 'maxResults' was used and the results exceeded the value--- of that parameter. Pagination continues from the end of the previous--- results that returned the 'nextToken' value. This value is 'null' when--- there are no more results to return.+-- | The 'nextToken' value returned from a previous paginated 'ListServices' request where 'maxResults' was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the 'nextToken' value. This value is 'null' when there are no more results to return. lsNextToken :: Lens' ListServices (Maybe Text) lsNextToken = lens _lsNextToken (\ s a -> s{_lsNextToken = a}); --- | The maximum number of container instance results returned by--- 'ListServices' in paginated output. When this parameter is used,--- 'ListServices' only returns 'maxResults' results in a single page along--- with a 'nextToken' response element. The remaining results of the--- initial request can be seen by sending another 'ListServices' request--- with the returned 'nextToken' value. This value can be between 1 and 10.--- If this parameter is not used, then 'ListServices' returns up to 10--- results and a 'nextToken' value if applicable.+-- | The maximum number of container instance results returned by 'ListServices' in paginated output. When this parameter is used, 'ListServices' only returns 'maxResults' results in a single page along with a 'nextToken' response element. The remaining results of the initial request can be seen by sending another 'ListServices' request with the returned 'nextToken' value. This value can be between 1 and 10. If this parameter is not used, then 'ListServices' returns up to 10 results and a 'nextToken' value if applicable. lsMaxResults :: Lens' ListServices (Maybe Int) lsMaxResults = lens _lsMaxResults (\ s a -> s{_lsMaxResults = a}); @@ -170,15 +157,11 @@ , _lsrsResponseStatus = pResponseStatus_ } --- | The list of full Amazon Resource Name (ARN) entries for each service--- associated with the specified cluster.+-- | The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster. lsrsServiceARNs :: Lens' ListServicesResponse [Text] lsrsServiceARNs = lens _lsrsServiceARNs (\ s a -> s{_lsrsServiceARNs = a}) . _Default . _Coerce; --- | The 'nextToken' value to include in a future 'ListServices' request.--- When the results of a 'ListServices' request exceed 'maxResults', this--- value can be used to retrieve the next page of results. This value is--- 'null' when there are no more results to return.+-- | The 'nextToken' value to include in a future 'ListServices' request. When the results of a 'ListServices' request exceed 'maxResults', this value can be used to retrieve the next page of results. This value is 'null' when there are no more results to return. lsrsNextToken :: Lens' ListServicesResponse (Maybe Text) lsrsNextToken = lens _lsrsNextToken (\ s a -> s{_lsrsNextToken = a});
gen/Network/AWS/ECS/ListTaskDefinitionFamilies.hs view
@@ -18,10 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns a list of task definition families that are registered to your--- account (which may include task definition families that no longer have--- any 'ACTIVE' task definitions). You can filter the results with the--- 'familyPrefix' parameter.+-- Returns a list of task definition families that are registered to your account (which may include task definition families that no longer have any 'ACTIVE' task definitions). You can filter the results with the 'familyPrefix' parameter. -- -- This operation returns paginated results. module Network.AWS.ECS.ListTaskDefinitionFamilies@@ -76,30 +73,15 @@ , _ltdfMaxResults = Nothing } --- | The 'familyPrefix' is a string that is used to filter the results of--- 'ListTaskDefinitionFamilies'. If you specify a 'familyPrefix', only task--- definition family names that begin with the 'familyPrefix' string are--- returned.+-- | The 'familyPrefix' is a string that is used to filter the results of 'ListTaskDefinitionFamilies'. If you specify a 'familyPrefix', only task definition family names that begin with the 'familyPrefix' string are returned. ltdfFamilyPrefix :: Lens' ListTaskDefinitionFamilies (Maybe Text) ltdfFamilyPrefix = lens _ltdfFamilyPrefix (\ s a -> s{_ltdfFamilyPrefix = a}); --- | The 'nextToken' value returned from a previous paginated--- 'ListTaskDefinitionFamilies' request where 'maxResults' was used and the--- results exceeded the value of that parameter. Pagination continues from--- the end of the previous results that returned the 'nextToken' value.--- This value is 'null' when there are no more results to return.+-- | The 'nextToken' value returned from a previous paginated 'ListTaskDefinitionFamilies' request where 'maxResults' was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the 'nextToken' value. This value is 'null' when there are no more results to return. ltdfNextToken :: Lens' ListTaskDefinitionFamilies (Maybe Text) ltdfNextToken = lens _ltdfNextToken (\ s a -> s{_ltdfNextToken = a}); --- | The maximum number of task definition family results returned by--- 'ListTaskDefinitionFamilies' in paginated output. When this parameter is--- used, 'ListTaskDefinitions' only returns 'maxResults' results in a--- single page along with a 'nextToken' response element. The remaining--- results of the initial request can be seen by sending another--- 'ListTaskDefinitionFamilies' request with the returned 'nextToken'--- value. This value can be between 1 and 100. If this parameter is not--- used, then 'ListTaskDefinitionFamilies' returns up to 100 results and a--- 'nextToken' value if applicable.+-- | The maximum number of task definition family results returned by 'ListTaskDefinitionFamilies' in paginated output. When this parameter is used, 'ListTaskDefinitions' only returns 'maxResults' results in a single page along with a 'nextToken' response element. The remaining results of the initial request can be seen by sending another 'ListTaskDefinitionFamilies' request with the returned 'nextToken' value. This value can be between 1 and 100. If this parameter is not used, then 'ListTaskDefinitionFamilies' returns up to 100 results and a 'nextToken' value if applicable. ltdfMaxResults :: Lens' ListTaskDefinitionFamilies (Maybe Int) ltdfMaxResults = lens _ltdfMaxResults (\ s a -> s{_ltdfMaxResults = a}); @@ -175,16 +157,11 @@ , _ltdfrsResponseStatus = pResponseStatus_ } --- | The list of task definition family names that match the--- 'ListTaskDefinitionFamilies' request.+-- | The list of task definition family names that match the 'ListTaskDefinitionFamilies' request. ltdfrsFamilies :: Lens' ListTaskDefinitionFamiliesResponse [Text] ltdfrsFamilies = lens _ltdfrsFamilies (\ s a -> s{_ltdfrsFamilies = a}) . _Default . _Coerce; --- | The 'nextToken' value to include in a future--- 'ListTaskDefinitionFamilies' request. When the results of a--- 'ListTaskDefinitionFamilies' request exceed 'maxResults', this value can--- be used to retrieve the next page of results. This value is 'null' when--- there are no more results to return.+-- | The 'nextToken' value to include in a future 'ListTaskDefinitionFamilies' request. When the results of a 'ListTaskDefinitionFamilies' request exceed 'maxResults', this value can be used to retrieve the next page of results. This value is 'null' when there are no more results to return. ltdfrsNextToken :: Lens' ListTaskDefinitionFamiliesResponse (Maybe Text) ltdfrsNextToken = lens _ltdfrsNextToken (\ s a -> s{_ltdfrsNextToken = a});
gen/Network/AWS/ECS/ListTaskDefinitions.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns a list of task definitions that are registered to your account.--- You can filter the results by family name with the 'familyPrefix'--- parameter or by status with the 'status' parameter.+-- Returns a list of task definitions that are registered to your account. You can filter the results by family name with the 'familyPrefix' parameter or by status with the 'status' parameter. -- -- This operation returns paginated results. module Network.AWS.ECS.ListTaskDefinitions@@ -85,47 +83,23 @@ , _ltdMaxResults = Nothing } --- | The task definition status with which to filter the--- 'ListTaskDefinitions' results. By default, only 'ACTIVE' task--- definitions are listed. By setting this parameter to 'INACTIVE', you can--- view task definitions that are 'INACTIVE' as long as an active task or--- service still references them. If you paginate the resulting output, be--- sure to keep the 'status' value constant in each subsequent request.+-- | The task definition status with which to filter the 'ListTaskDefinitions' results. By default, only 'ACTIVE' task definitions are listed. By setting this parameter to 'INACTIVE', you can view task definitions that are 'INACTIVE' as long as an active task or service still references them. If you paginate the resulting output, be sure to keep the 'status' value constant in each subsequent request. ltdStatus :: Lens' ListTaskDefinitions (Maybe TaskDefinitionStatus) ltdStatus = lens _ltdStatus (\ s a -> s{_ltdStatus = a}); --- | The full family name with which to filter the 'ListTaskDefinitions'--- results. Specifying a 'familyPrefix' limits the listed task definitions--- to task definition revisions that belong to that family.+-- | The full family name with which to filter the 'ListTaskDefinitions' results. Specifying a 'familyPrefix' limits the listed task definitions to task definition revisions that belong to that family. ltdFamilyPrefix :: Lens' ListTaskDefinitions (Maybe Text) ltdFamilyPrefix = lens _ltdFamilyPrefix (\ s a -> s{_ltdFamilyPrefix = a}); --- | The 'nextToken' value returned from a previous paginated--- 'ListTaskDefinitions' request where 'maxResults' was used and the--- results exceeded the value of that parameter. Pagination continues from--- the end of the previous results that returned the 'nextToken' value.--- This value is 'null' when there are no more results to return.+-- | The 'nextToken' value returned from a previous paginated 'ListTaskDefinitions' request where 'maxResults' was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the 'nextToken' value. This value is 'null' when there are no more results to return. ltdNextToken :: Lens' ListTaskDefinitions (Maybe Text) ltdNextToken = lens _ltdNextToken (\ s a -> s{_ltdNextToken = a}); --- | The order in which to sort the results. Valid values are 'ASC' and--- 'DESC'. By default ('ASC'), task definitions are listed--- lexicographically by family name and in ascending numerical order by--- revision so that the newest task definitions in a family are listed--- last. Setting this parameter to 'DESC' reverses the sort order on family--- name and revision so that the newest task definitions in a family are--- listed first.+-- | The order in which to sort the results. Valid values are 'ASC' and 'DESC'. By default ('ASC'), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter to 'DESC' reverses the sort order on family name and revision so that the newest task definitions in a family are listed first. ltdSort :: Lens' ListTaskDefinitions (Maybe SortOrder) ltdSort = lens _ltdSort (\ s a -> s{_ltdSort = a}); --- | The maximum number of task definition results returned by--- 'ListTaskDefinitions' in paginated output. When this parameter is used,--- 'ListTaskDefinitions' only returns 'maxResults' results in a single page--- along with a 'nextToken' response element. The remaining results of the--- initial request can be seen by sending another 'ListTaskDefinitions'--- request with the returned 'nextToken' value. This value can be between 1--- and 100. If this parameter is not used, then 'ListTaskDefinitions'--- returns up to 100 results and a 'nextToken' value if applicable.+-- | The maximum number of task definition results returned by 'ListTaskDefinitions' in paginated output. When this parameter is used, 'ListTaskDefinitions' only returns 'maxResults' results in a single page along with a 'nextToken' response element. The remaining results of the initial request can be seen by sending another 'ListTaskDefinitions' request with the returned 'nextToken' value. This value can be between 1 and 100. If this parameter is not used, then 'ListTaskDefinitions' returns up to 100 results and a 'nextToken' value if applicable. ltdMaxResults :: Lens' ListTaskDefinitions (Maybe Int) ltdMaxResults = lens _ltdMaxResults (\ s a -> s{_ltdMaxResults = a}); @@ -204,15 +178,11 @@ , _ltdrsResponseStatus = pResponseStatus_ } --- | The list of task definition Amazon Resource Name (ARN) entries for the--- 'ListTaskDefinitions' request.+-- | The list of task definition Amazon Resource Name (ARN) entries for the 'ListTaskDefinitions' request. ltdrsTaskDefinitionARNs :: Lens' ListTaskDefinitionsResponse [Text] ltdrsTaskDefinitionARNs = lens _ltdrsTaskDefinitionARNs (\ s a -> s{_ltdrsTaskDefinitionARNs = a}) . _Default . _Coerce; --- | The 'nextToken' value to include in a future 'ListTaskDefinitions'--- request. When the results of a 'ListTaskDefinitions' request exceed--- 'maxResults', this value can be used to retrieve the next page of--- results. This value is 'null' when there are no more results to return.+-- | The 'nextToken' value to include in a future 'ListTaskDefinitions' request. When the results of a 'ListTaskDefinitions' request exceed 'maxResults', this value can be used to retrieve the next page of results. This value is 'null' when there are no more results to return. ltdrsNextToken :: Lens' ListTaskDefinitionsResponse (Maybe Text) ltdrsNextToken = lens _ltdrsNextToken (\ s a -> s{_ltdrsNextToken = a});
gen/Network/AWS/ECS/ListTasks.hs view
@@ -18,10 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns a list of tasks for a specified cluster. You can filter the--- results by family name, by a particular container instance, or by the--- desired status of the task with the 'family', 'containerInstance', and--- 'desiredStatus' parameters.+-- Returns a list of tasks for a specified cluster. You can filter the results by family name, by a particular container instance, or by the desired status of the task with the 'family', 'containerInstance', and 'desiredStatus' parameters. -- -- This operation returns paginated results. module Network.AWS.ECS.ListTasks@@ -101,61 +98,35 @@ , _ltMaxResults = Nothing } --- | The task status with which to filter the 'ListTasks' results. Specifying--- a 'desiredStatus' of 'STOPPED' limits the results to tasks that are in--- the 'STOPPED' status, which can be useful for debugging tasks that are--- not starting properly or have died or finished. The default status--- filter is 'RUNNING'.+-- | The task status with which to filter the 'ListTasks' results. Specifying a 'desiredStatus' of 'STOPPED' limits the results to tasks that are in the 'STOPPED' status, which can be useful for debugging tasks that are not starting properly or have died or finished. The default status filter is 'RUNNING'. ltDesiredStatus :: Lens' ListTasks (Maybe DesiredStatus) ltDesiredStatus = lens _ltDesiredStatus (\ s a -> s{_ltDesiredStatus = a}); --- | The short name or full Amazon Resource Name (ARN) of the cluster that--- hosts the tasks to list. If you do not specify a cluster, the default--- cluster is assumed..+-- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the tasks to list. If you do not specify a cluster, the default cluster is assumed.. ltCluster :: Lens' ListTasks (Maybe Text) ltCluster = lens _ltCluster (\ s a -> s{_ltCluster = a}); --- | The name of the family with which to filter the 'ListTasks' results.--- Specifying a 'family' limits the results to tasks that belong to that--- family.+-- | The name of the family with which to filter the 'ListTasks' results. Specifying a 'family' limits the results to tasks that belong to that family. ltFamily :: Lens' ListTasks (Maybe Text) ltFamily = lens _ltFamily (\ s a -> s{_ltFamily = a}); --- | The 'nextToken' value returned from a previous paginated 'ListTasks'--- request where 'maxResults' was used and the results exceeded the value--- of that parameter. Pagination continues from the end of the previous--- results that returned the 'nextToken' value. This value is 'null' when--- there are no more results to return.+-- | The 'nextToken' value returned from a previous paginated 'ListTasks' request where 'maxResults' was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the 'nextToken' value. This value is 'null' when there are no more results to return. ltNextToken :: Lens' ListTasks (Maybe Text) ltNextToken = lens _ltNextToken (\ s a -> s{_ltNextToken = a}); --- | The 'startedBy' value with which to filter the task results. Specifying--- a 'startedBy' value limits the results to tasks that were started with--- that value.+-- | The 'startedBy' value with which to filter the task results. Specifying a 'startedBy' value limits the results to tasks that were started with that value. ltStartedBy :: Lens' ListTasks (Maybe Text) ltStartedBy = lens _ltStartedBy (\ s a -> s{_ltStartedBy = a}); --- | The name of the service with which to filter the 'ListTasks' results.--- Specifying a 'serviceName' limits the results to tasks that belong to--- that service.+-- | The name of the service with which to filter the 'ListTasks' results. Specifying a 'serviceName' limits the results to tasks that belong to that service. ltServiceName :: Lens' ListTasks (Maybe Text) ltServiceName = lens _ltServiceName (\ s a -> s{_ltServiceName = a}); --- | The container instance ID or full Amazon Resource Name (ARN) of the--- container instance with which to filter the 'ListTasks' results.--- Specifying a 'containerInstance' limits the results to tasks that belong--- to that container instance.+-- | The container instance ID or full Amazon Resource Name (ARN) of the container instance with which to filter the 'ListTasks' results. Specifying a 'containerInstance' limits the results to tasks that belong to that container instance. ltContainerInstance :: Lens' ListTasks (Maybe Text) ltContainerInstance = lens _ltContainerInstance (\ s a -> s{_ltContainerInstance = a}); --- | The maximum number of task results returned by 'ListTasks' in paginated--- output. When this parameter is used, 'ListTasks' only returns--- 'maxResults' results in a single page along with a 'nextToken' response--- element. The remaining results of the initial request can be seen by--- sending another 'ListTasks' request with the returned 'nextToken' value.--- This value can be between 1 and 100. If this parameter is not used, then--- 'ListTasks' returns up to 100 results and a 'nextToken' value if--- applicable.+-- | The maximum number of task results returned by 'ListTasks' in paginated output. When this parameter is used, 'ListTasks' only returns 'maxResults' results in a single page along with a 'nextToken' response element. The remaining results of the initial request can be seen by sending another 'ListTasks' request with the returned 'nextToken' value. This value can be between 1 and 100. If this parameter is not used, then 'ListTasks' returns up to 100 results and a 'nextToken' value if applicable. ltMaxResults :: Lens' ListTasks (Maybe Int) ltMaxResults = lens _ltMaxResults (\ s a -> s{_ltMaxResults = a}); @@ -235,15 +206,11 @@ , _ltrsResponseStatus = pResponseStatus_ } --- | The 'nextToken' value to include in a future 'ListTasks' request. When--- the results of a 'ListTasks' request exceed 'maxResults', this value can--- be used to retrieve the next page of results. This value is 'null' when--- there are no more results to return.+-- | The 'nextToken' value to include in a future 'ListTasks' request. When the results of a 'ListTasks' request exceed 'maxResults', this value can be used to retrieve the next page of results. This value is 'null' when there are no more results to return. ltrsNextToken :: Lens' ListTasksResponse (Maybe Text) ltrsNextToken = lens _ltrsNextToken (\ s a -> s{_ltrsNextToken = a}); --- | The list of task Amazon Resource Name (ARN) entries for the 'ListTasks'--- request.+-- | The list of task Amazon Resource Name (ARN) entries for the 'ListTasks' request. ltrsTaskARNs :: Lens' ListTasksResponse [Text] ltrsTaskARNs = lens _ltrsTaskARNs (\ s a -> s{_ltrsTaskARNs = a}) . _Default . _Coerce;
gen/Network/AWS/ECS/RegisterContainerInstance.hs view
@@ -18,11 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- This action is only used by the Amazon EC2 Container Service agent, and--- it is not intended for use outside of the agent.+-- This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. ----- Registers an EC2 instance into the specified cluster. This instance--- becomes available to place containers on.+-- Registers an EC2 instance into the specified cluster. This instance becomes available to place containers on. module Network.AWS.ECS.RegisterContainerInstance ( -- * Creating a Request@@ -93,33 +91,23 @@ , _rciTotalResources = Nothing } --- | The instance identity document signature for the EC2 instance to--- register. This signature can be found by running the following command--- from the instance:--- 'curl http:\/\/169.254.169.254\/latest\/dynamic\/instance-identity\/signature\/'+-- | The instance identity document signature for the EC2 instance to register. This signature can be found by running the following command from the instance: 'curl http:\/\/169.254.169.254\/latest\/dynamic\/instance-identity\/signature\/' rciInstanceIdentityDocumentSignature :: Lens' RegisterContainerInstance (Maybe Text) rciInstanceIdentityDocumentSignature = lens _rciInstanceIdentityDocumentSignature (\ s a -> s{_rciInstanceIdentityDocumentSignature = a}); --- | The short name or full Amazon Resource Name (ARN) of the cluster with--- which to register your container instance. If you do not specify a--- cluster, the default cluster is assumed..+-- | The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. If you do not specify a cluster, the default cluster is assumed.. rciCluster :: Lens' RegisterContainerInstance (Maybe Text) rciCluster = lens _rciCluster (\ s a -> s{_rciCluster = a}); --- | The instance identity document for the EC2 instance to register. This--- document can be found by running the following command from the--- instance:--- 'curl http:\/\/169.254.169.254\/latest\/dynamic\/instance-identity\/document\/'+-- | The instance identity document for the EC2 instance to register. This document can be found by running the following command from the instance: 'curl http:\/\/169.254.169.254\/latest\/dynamic\/instance-identity\/document\/' rciInstanceIdentityDocument :: Lens' RegisterContainerInstance (Maybe Text) rciInstanceIdentityDocument = lens _rciInstanceIdentityDocument (\ s a -> s{_rciInstanceIdentityDocument = a}); --- | The Amazon Resource Name (ARN) of the container instance (if it was--- previously registered).+-- | The Amazon Resource Name (ARN) of the container instance (if it was previously registered). rciContainerInstanceARN :: Lens' RegisterContainerInstance (Maybe Text) rciContainerInstanceARN = lens _rciContainerInstanceARN (\ s a -> s{_rciContainerInstanceARN = a}); --- | The version information for the Amazon ECS container agent and Docker--- daemon running on the container instance.+-- | The version information for the Amazon ECS container agent and Docker daemon running on the container instance. rciVersionInfo :: Lens' RegisterContainerInstance (Maybe VersionInfo) rciVersionInfo = lens _rciVersionInfo (\ s a -> s{_rciVersionInfo = a});
gen/Network/AWS/ECS/RegisterTaskDefinition.hs view
@@ -18,12 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Registers a new task definition from the supplied 'family' and--- 'containerDefinitions'. Optionally, you can add data volumes to your--- containers with the 'volumes' parameter. For more information about task--- definition parameters and defaults, see--- <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions>--- in the /Amazon EC2 Container Service Developer Guide/.+-- Registers a new task definition from the supplied 'family' and 'containerDefinitions'. Optionally, you can add data volumes to your containers with the 'volumes' parameter. For more information about task definition parameters and defaults, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions> in the /Amazon EC2 Container Service Developer Guide/. module Network.AWS.ECS.RegisterTaskDefinition ( -- * Creating a Request@@ -75,20 +70,15 @@ , _rtdContainerDefinitions = mempty } --- | A list of volume definitions in JSON format that containers in your task--- may use.+-- | A list of volume definitions in JSON format that containers in your task may use. rtdVolumes :: Lens' RegisterTaskDefinition [Volume] rtdVolumes = lens _rtdVolumes (\ s a -> s{_rtdVolumes = a}) . _Default . _Coerce; --- | You must specify a 'family' for a task definition, which allows you to--- track multiple versions of the same task definition. The 'family' is--- used as a name for your task definition. Up to 255 letters (uppercase--- and lowercase), numbers, hyphens, and underscores are allowed.+-- | You must specify a 'family' for a task definition, which allows you to track multiple versions of the same task definition. The 'family' is used as a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. rtdFamily :: Lens' RegisterTaskDefinition Text rtdFamily = lens _rtdFamily (\ s a -> s{_rtdFamily = a}); --- | A list of container definitions in JSON format that describe the--- different containers that make up your task.+-- | A list of container definitions in JSON format that describe the different containers that make up your task. rtdContainerDefinitions :: Lens' RegisterTaskDefinition [ContainerDefinition] rtdContainerDefinitions = lens _rtdContainerDefinitions (\ s a -> s{_rtdContainerDefinitions = a}) . _Coerce;
gen/Network/AWS/ECS/RunTask.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Start a task using random placement and the default Amazon ECS--- scheduler. To use your own scheduler or place a task on a specific--- container instance, use 'StartTask' instead.+-- Start a task using random placement and the default Amazon ECS scheduler. To use your own scheduler or place a task on a specific container instance, use 'StartTask' instead. -- -- The 'count' parameter is limited to 10 tasks per call. module Network.AWS.ECS.RunTask@@ -85,46 +83,29 @@ , _rtTaskDefinition = pTaskDefinition_ } --- | A list of container overrides in JSON format that specify the name of a--- container in the specified task definition and the overrides it should--- receive. You can override the default command for a container (that is--- specified in the task definition or Docker image) with a 'command'--- override. You can also override existing environment variables (that are--- specified in the task definition or Docker image) on a container or add--- new environment variables to it with an 'environment' override.+-- | A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it should receive. You can override the default command for a container (that is specified in the task definition or Docker image) with a 'command' override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an 'environment' override. ----- A total of 8192 characters are allowed for overrides. This limit--- includes the JSON formatting characters of the override structure.+-- A total of 8192 characters are allowed for overrides. This limit includes the JSON formatting characters of the override structure. rtOverrides :: Lens' RunTask (Maybe TaskOverride) rtOverrides = lens _rtOverrides (\ s a -> s{_rtOverrides = a}); --- | The short name or full Amazon Resource Name (ARN) of the cluster on--- which to run your task. If you do not specify a cluster, the default--- cluster is assumed..+-- | The short name or full Amazon Resource Name (ARN) of the cluster on which to run your task. If you do not specify a cluster, the default cluster is assumed.. rtCluster :: Lens' RunTask (Maybe Text) rtCluster = lens _rtCluster (\ s a -> s{_rtCluster = a}); --- | The number of instantiations of the specified task to place on your--- cluster.+-- | The number of instantiations of the specified task to place on your cluster. -- -- The 'count' parameter is limited to 10 tasks per call. rtCount :: Lens' RunTask (Maybe Int) rtCount = lens _rtCount (\ s a -> s{_rtCount = a}); --- | An optional tag specified when a task is started. For example if you--- automatically trigger a task to run a batch process job, you could apply--- a unique identifier for that job to your task with the 'startedBy'--- parameter. You can then identify which tasks belong to that job by--- filtering the results of a < ListTasks> call with the 'startedBy' value.+-- | An optional tag specified when a task is started. For example if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the 'startedBy' parameter. You can then identify which tasks belong to that job by filtering the results of a < ListTasks> call with the 'startedBy' value. ----- If a task is started by an Amazon ECS service, then the 'startedBy'--- parameter contains the deployment ID of the service that starts it.+-- If a task is started by an Amazon ECS service, then the 'startedBy' parameter contains the deployment ID of the service that starts it. rtStartedBy :: Lens' RunTask (Maybe Text) rtStartedBy = lens _rtStartedBy (\ s a -> s{_rtStartedBy = a}); --- | The 'family' and 'revision' ('family:revision') or full Amazon Resource--- Name (ARN) of the task definition to run. If a 'revision' is not--- specified, the latest 'ACTIVE' revision is used.+-- | The 'family' and 'revision' ('family:revision') or full Amazon Resource Name (ARN) of the task definition to run. If a 'revision' is not specified, the latest 'ACTIVE' revision is used. rtTaskDefinition :: Lens' RunTask Text rtTaskDefinition = lens _rtTaskDefinition (\ s a -> s{_rtTaskDefinition = a}); @@ -199,8 +180,7 @@ rtrsFailures :: Lens' RunTaskResponse [Failure] rtrsFailures = lens _rtrsFailures (\ s a -> s{_rtrsFailures = a}) . _Default . _Coerce; --- | A full description of the tasks that were run. Each task that was--- successfully placed on your cluster are described here.+-- | A full description of the tasks that were run. Each task that was successfully placed on your cluster are described here. rtrsTasks :: Lens' RunTaskResponse [Task] rtrsTasks = lens _rtrsTasks (\ s a -> s{_rtrsTasks = a}) . _Default . _Coerce;
gen/Network/AWS/ECS/StartTask.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Starts a new task from the specified task definition on the specified--- container instance or instances. To use the default Amazon ECS scheduler--- to place your task, use 'RunTask' instead.+-- Starts a new task from the specified task definition on the specified container instance or instances. To use the default Amazon ECS scheduler to place your task, use 'RunTask' instead. -- -- The list of container instances to start tasks on is limited to 10. module Network.AWS.ECS.StartTask@@ -85,44 +83,27 @@ , _sContainerInstances = mempty } --- | A list of container overrides in JSON format that specify the name of a--- container in the specified task definition and the overrides it should--- receive. You can override the default command for a container (that is--- specified in the task definition or Docker image) with a 'command'--- override. You can also override existing environment variables (that are--- specified in the task definition or Docker image) on a container or add--- new environment variables to it with an 'environment' override.+-- | A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it should receive. You can override the default command for a container (that is specified in the task definition or Docker image) with a 'command' override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an 'environment' override. ----- A total of 8192 characters are allowed for overrides. This limit--- includes the JSON formatting characters of the override structure.+-- A total of 8192 characters are allowed for overrides. This limit includes the JSON formatting characters of the override structure. sOverrides :: Lens' StartTask (Maybe TaskOverride) sOverrides = lens _sOverrides (\ s a -> s{_sOverrides = a}); --- | The short name or full Amazon Resource Name (ARN) of the cluster on--- which to start your task. If you do not specify a cluster, the default--- cluster is assumed..+-- | The short name or full Amazon Resource Name (ARN) of the cluster on which to start your task. If you do not specify a cluster, the default cluster is assumed.. sCluster :: Lens' StartTask (Maybe Text) sCluster = lens _sCluster (\ s a -> s{_sCluster = a}); --- | An optional tag specified when a task is started. For example if you--- automatically trigger a task to run a batch process job, you could apply--- a unique identifier for that job to your task with the 'startedBy'--- parameter. You can then identify which tasks belong to that job by--- filtering the results of a < ListTasks> call with the 'startedBy' value.+-- | An optional tag specified when a task is started. For example if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the 'startedBy' parameter. You can then identify which tasks belong to that job by filtering the results of a < ListTasks> call with the 'startedBy' value. ----- If a task is started by an Amazon ECS service, then the 'startedBy'--- parameter contains the deployment ID of the service that starts it.+-- If a task is started by an Amazon ECS service, then the 'startedBy' parameter contains the deployment ID of the service that starts it. sStartedBy :: Lens' StartTask (Maybe Text) sStartedBy = lens _sStartedBy (\ s a -> s{_sStartedBy = a}); --- | The 'family' and 'revision' ('family:revision') or full Amazon Resource--- Name (ARN) of the task definition to start. If a 'revision' is not--- specified, the latest 'ACTIVE' revision is used.+-- | The 'family' and 'revision' ('family:revision') or full Amazon Resource Name (ARN) of the task definition to start. If a 'revision' is not specified, the latest 'ACTIVE' revision is used. sTaskDefinition :: Lens' StartTask Text sTaskDefinition = lens _sTaskDefinition (\ s a -> s{_sTaskDefinition = a}); --- | The container instance IDs or full Amazon Resource Name (ARN) entries--- for the container instances on which you would like to place your task.+-- | The container instance IDs or full Amazon Resource Name (ARN) entries for the container instances on which you would like to place your task. -- -- The list of container instances to start tasks on is limited to 10. sContainerInstances :: Lens' StartTask [Text]@@ -199,8 +180,7 @@ strsFailures :: Lens' StartTaskResponse [Failure] strsFailures = lens _strsFailures (\ s a -> s{_strsFailures = a}) . _Default . _Coerce; --- | A full description of the tasks that were started. Each task that was--- successfully placed on your container instances are described here.+-- | A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here. strsTasks :: Lens' StartTaskResponse [Task] strsTasks = lens _strsTasks (\ s a -> s{_strsTasks = a}) . _Default . _Coerce;
gen/Network/AWS/ECS/StopTask.hs view
@@ -20,12 +20,7 @@ -- -- Stops a running task. ----- When < StopTask> is called on a task, the equivalent of 'docker stop' is--- issued to the containers running in the task. This results in a--- 'SIGTERM' and a 30-second timeout, after which 'SIGKILL' is sent and the--- containers are forcibly stopped. If the container handles the 'SIGTERM'--- gracefully and exits within 30 seconds from receiving it, no 'SIGKILL'--- is sent.+-- When < StopTask> is called on a task, the equivalent of 'docker stop' is issued to the containers running in the task. This results in a 'SIGTERM' and a 30-second timeout, after which 'SIGKILL' is sent and the containers are forcibly stopped. If the container handles the 'SIGTERM' gracefully and exits within 30 seconds from receiving it, no 'SIGKILL' is sent. module Network.AWS.ECS.StopTask ( -- * Creating a Request@@ -77,22 +72,15 @@ , _stTask = pTask_ } --- | The short name or full Amazon Resource Name (ARN) of the cluster that--- hosts the task to stop. If you do not specify a cluster, the default--- cluster is assumed..+-- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. If you do not specify a cluster, the default cluster is assumed.. stCluster :: Lens' StopTask (Maybe Text) stCluster = lens _stCluster (\ s a -> s{_stCluster = a}); --- | An optional message specified when a task is stopped. For example, if--- you are using a custom scheduler, you can use this parameter to specify--- the reason for stopping the task here, and the message will appear in--- subsequent < DescribeTasks> API operations on this task. Up to 255--- characters are allowed in this message.+-- | An optional message specified when a task is stopped. For example, if you are using a custom scheduler, you can use this parameter to specify the reason for stopping the task here, and the message will appear in subsequent < DescribeTasks> API operations on this task. Up to 255 characters are allowed in this message. stReason :: Lens' StopTask (Maybe Text) stReason = lens _stReason (\ s a -> s{_stReason = a}); --- | The task ID or full Amazon Resource Name (ARN) entry of the task to--- stop.+-- | The task ID or full Amazon Resource Name (ARN) entry of the task to stop. stTask :: Lens' StopTask Text stTask = lens _stTask (\ s a -> s{_stTask = a});
gen/Network/AWS/ECS/SubmitContainerStateChange.hs view
@@ -18,8 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- This action is only used by the Amazon EC2 Container Service agent, and--- it is not intended for use outside of the agent.+-- This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. -- -- Sent to acknowledge that a container changed states. module Network.AWS.ECS.SubmitContainerStateChange@@ -100,8 +99,7 @@ scscStatus :: Lens' SubmitContainerStateChange (Maybe Text) scscStatus = lens _scscStatus (\ s a -> s{_scscStatus = a}); --- | The short name or full Amazon Resource Name (ARN) of the cluster that--- hosts the container.+-- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container. scscCluster :: Lens' SubmitContainerStateChange (Maybe Text) scscCluster = lens _scscCluster (\ s a -> s{_scscCluster = a}); @@ -117,8 +115,7 @@ scscExitCode :: Lens' SubmitContainerStateChange (Maybe Int) scscExitCode = lens _scscExitCode (\ s a -> s{_scscExitCode = a}); --- | The task ID or full Amazon Resource Name (ARN) of the task that hosts--- the container.+-- | The task ID or full Amazon Resource Name (ARN) of the task that hosts the container. scscTask :: Lens' SubmitContainerStateChange (Maybe Text) scscTask = lens _scscTask (\ s a -> s{_scscTask = a});
gen/Network/AWS/ECS/SubmitTaskStateChange.hs view
@@ -18,8 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- This action is only used by the Amazon EC2 Container Service agent, and--- it is not intended for use outside of the agent.+-- This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent. -- -- Sent to acknowledge that a task changed states. module Network.AWS.ECS.SubmitTaskStateChange@@ -81,8 +80,7 @@ stscStatus :: Lens' SubmitTaskStateChange (Maybe Text) stscStatus = lens _stscStatus (\ s a -> s{_stscStatus = a}); --- | The short name or full Amazon Resource Name (ARN) of the cluster that--- hosts the task.+-- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task. stscCluster :: Lens' SubmitTaskStateChange (Maybe Text) stscCluster = lens _stscCluster (\ s a -> s{_stscCluster = a}); @@ -90,8 +88,7 @@ stscReason :: Lens' SubmitTaskStateChange (Maybe Text) stscReason = lens _stscReason (\ s a -> s{_stscReason = a}); --- | The task ID or full Amazon Resource Name (ARN) of the task in the state--- change request.+-- | The task ID or full Amazon Resource Name (ARN) of the task in the state change request. stscTask :: Lens' SubmitTaskStateChange (Maybe Text) stscTask = lens _stscTask (\ s a -> s{_stscTask = a});
gen/Network/AWS/ECS/Types.hs view
@@ -338,8 +338,7 @@ | has (hasStatus 509) e = Just "limit_exceeded" | otherwise = Nothing --- | The specified parameter is invalid. Review the available parameters for--- the API request.+-- | The specified parameter is invalid. Review the available parameters for the API request. _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidParameterException = _ServiceError . hasCode "InvalidParameterException"@@ -348,66 +347,43 @@ _ServerException :: AsError a => Getting (First ServiceError) a ServiceError _ServerException = _ServiceError . hasCode "ServerException" --- | 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>.+-- | 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>. _ClusterContainsServicesException :: AsError a => Getting (First ServiceError) a ServiceError _ClusterContainsServicesException = _ServiceError . hasCode "ClusterContainsServicesException" --- | 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>.+-- | 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>. _ClusterContainsContainerInstancesException :: AsError a => Getting (First ServiceError) a ServiceError _ClusterContainsContainerInstancesException = _ServiceError . hasCode "ClusterContainsContainerInstancesException" --- | 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>.+-- | 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>. _ServiceNotActiveException :: AsError a => Getting (First ServiceError) a ServiceError _ServiceNotActiveException = _ServiceError . hasCode "ServiceNotActiveException" --- | The specified cluster could not be found. You can view your available--- clusters with < ListClusters>. Amazon ECS clusters are region-specific.+-- | The specified cluster could not be found. You can view your available clusters with < ListClusters>. Amazon ECS clusters are region-specific. _ClusterNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _ClusterNotFoundException = _ServiceError . hasCode "ClusterNotFoundException" --- | 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.+-- | 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. _NoUpdateAvailableException :: AsError a => Getting (First ServiceError) a ServiceError _NoUpdateAvailableException = _ServiceError . hasCode "NoUpdateAvailableException" --- | The specified service could not be found. You can view your available--- services with < ListServices>. Amazon ECS services are cluster-specific--- and region-specific.+-- | The specified service could not be found. You can view your available services with < ListServices>. Amazon ECS services are cluster-specific and region-specific. _ServiceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _ServiceNotFoundException = _ServiceError . hasCode "ServiceNotFoundException" --- | 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.+-- | 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. _MissingVersionException :: AsError a => Getting (First ServiceError) a ServiceError _MissingVersionException = _ServiceError . hasCode "MissingVersionException" --- | 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.+-- | 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. _UpdateInProgressException :: AsError a => Getting (First ServiceError) a ServiceError _UpdateInProgressException = _ServiceError . hasCode "UpdateInProgressException" --- | 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.+-- | 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. _ClientException :: AsError a => Getting (First ServiceError) a ServiceError _ClientException = _ServiceError . hasCode "ClientException"
gen/Network/AWS/ECS/Types/Product.hs view
@@ -45,9 +45,7 @@ , _aName = pName_ } --- | The value of the container instance attribute (at this time, the value--- here is 'Null', but this could change in future revisions for--- expandability).+-- | The value of the container instance attribute (at this time, the value here is 'Null', but this could change in future revisions for expandability). aValue :: Lens' Attribute (Maybe Text) aValue = lens _aValue (\ s a -> s{_aValue = a}); @@ -71,11 +69,7 @@ (catMaybes [("value" .=) <$> _aValue, Just ("name" .= _aName)]) --- | 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.+-- | 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. data Cluster = Cluster'@@ -118,17 +112,11 @@ , _cActiveServicesCount = Nothing } --- | 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.+-- | 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. cStatus :: Lens' Cluster (Maybe Text) cStatus = lens _cStatus (\ s a -> s{_cStatus = a}); --- | 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/.+-- | 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/. cClusterARN :: Lens' Cluster (Maybe Text) cClusterARN = lens _cClusterARN (\ s a -> s{_cClusterARN = a}); @@ -148,8 +136,7 @@ cClusterName :: Lens' Cluster (Maybe Text) cClusterName = lens _cClusterName (\ s a -> s{_cClusterName = a}); --- | The number of services that are running on the cluster in an 'ACTIVE'--- state. You can view these services with < ListServices>.+-- | The number of services that are running on the cluster in an 'ACTIVE' state. You can view these services with < ListServices>. cActiveServicesCount :: Lens' Cluster (Maybe Int) cActiveServicesCount = lens _cActiveServicesCount (\ s a -> s{_cActiveServicesCount = a}); @@ -228,8 +215,7 @@ cLastStatus :: Lens' Container (Maybe Text) cLastStatus = lens _cLastStatus (\ s a -> s{_cLastStatus = a}); --- | A short (255 max characters) human-readable string to provide additional--- detail about a running or stopped container.+-- | A short (255 max characters) human-readable string to provide additional detail about a running or stopped container. cReason :: Lens' Container (Maybe Text) cReason = lens _cReason (\ s a -> s{_cReason = a}); @@ -258,8 +244,7 @@ instance NFData Container --- | Container definitions are used in task definitions to describe the--- different containers that are launched as part of a task.+-- | Container definitions are used in task definitions to describe the different containers that are launched as part of a task. -- -- /See:/ 'containerDefinition' smart constructor. data ContainerDefinition = ContainerDefinition'@@ -374,366 +359,130 @@ , _cdCpu = Nothing } --- | 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--- 'repository-url\/image:tag'. 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--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the 'IMAGE' parameter of--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | 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 'repository-url\/image:tag'. 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 <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the 'IMAGE' parameter of <https://docs.docker.com/reference/commandline/run/ docker run>. ----- - 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, 'amazon\/amazon-ecs-agent').--- - Images in other online repositories are qualified further by a--- domain name (for example, 'quay.io\/assemblyline\/ubuntu').+-- - 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, 'amazon\/amazon-ecs-agent').+-- - Images in other online repositories are qualified further by a domain name (for example, 'quay.io\/assemblyline\/ubuntu'). cdImage :: Lens' ContainerDefinition (Maybe Text) cdImage = lens _cdImage (\ s a -> s{_cdImage = a}); --- | The command that is passed to the container. This parameter maps to--- 'Cmd' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the 'COMMAND' parameter to--- <https://docs.docker.com/reference/commandline/run/ docker run>. For--- more information, see <https://docs.docker.com/reference/builder/#cmd>.+-- | The command that is passed to the container. This parameter maps to 'Cmd' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the 'COMMAND' parameter to <https://docs.docker.com/reference/commandline/run/ docker run>. For more information, see <https://docs.docker.com/reference/builder/#cmd>. cdCommand :: Lens' ContainerDefinition [Text] cdCommand = lens _cdCommand (\ s a -> s{_cdCommand = a}) . _Default . _Coerce; --- | The hostname to use for your container. This parameter maps to--- 'Hostname' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--hostname' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | The hostname to use for your container. This parameter maps to 'Hostname' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--hostname' option to <https://docs.docker.com/reference/commandline/run/ docker run>. cdHostname :: Lens' ContainerDefinition (Maybe Text) cdHostname = lens _cdHostname (\ s a -> s{_cdHostname = a}); --- | A list of strings to provide custom labels for SELinux and AppArmor--- multi-level security systems. This parameter maps to 'SecurityOpt' in--- the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--security-opt' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This parameter maps to 'SecurityOpt' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--security-opt' option to <https://docs.docker.com/reference/commandline/run/ docker run>. ----- The Amazon ECS container agent running on a container instance must--- register with the 'ECS_SELINUX_CAPABLE=true' or--- 'ECS_APPARMOR_CAPABLE=true' environment variables before containers--- placed on that instance can use these security options. For more--- information, see--- <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/developerguide/ecs-agent-config.html Amazon ECS Container Agent Configuration>--- in the /Amazon EC2 Container Service Developer Guide/.+-- The Amazon ECS container agent running on a container instance must register with the 'ECS_SELINUX_CAPABLE=true' or 'ECS_APPARMOR_CAPABLE=true' environment variables before containers placed on that instance can use these security options. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/developerguide/ecs-agent-config.html Amazon ECS Container Agent Configuration> in the /Amazon EC2 Container Service Developer Guide/. cdDockerSecurityOptions :: Lens' ContainerDefinition [Text] cdDockerSecurityOptions = lens _cdDockerSecurityOptions (\ s a -> s{_cdDockerSecurityOptions = a}) . _Default . _Coerce; --- | When this parameter is true, networking is disabled within the--- container. This parameter maps to 'NetworkDisabled' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>.+-- | When this parameter is true, networking is disabled within the container. This parameter maps to 'NetworkDisabled' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>. cdDisableNetworking :: Lens' ContainerDefinition (Maybe Bool) cdDisableNetworking = lens _cdDisableNetworking (\ s a -> s{_cdDisableNetworking = a}); --- | Data volumes to mount from another container. This parameter maps to--- 'VolumesFrom' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--volumes-from' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | Data volumes to mount from another container. This parameter maps to 'VolumesFrom' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--volumes-from' option to <https://docs.docker.com/reference/commandline/run/ docker run>. cdVolumesFrom :: Lens' ContainerDefinition [VolumeFrom] cdVolumesFrom = lens _cdVolumesFrom (\ s a -> s{_cdVolumesFrom = a}) . _Default . _Coerce; --- | The environment variables to pass to a container. This parameter maps to--- 'Env' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--env' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | The environment variables to pass to a container. This parameter maps to 'Env' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--env' option to <https://docs.docker.com/reference/commandline/run/ docker run>. ----- We do not recommend using plain text environment variables for sensitive--- information, such as credential data.+-- We do not recommend using plain text environment variables for sensitive information, such as credential data. cdEnvironment :: Lens' ContainerDefinition [KeyValuePair] cdEnvironment = lens _cdEnvironment (\ s a -> s{_cdEnvironment = a}) . _Default . _Coerce; --- | 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.+-- | 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--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--entrypoint' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>. For--- more information, see--- <https://docs.docker.com/reference/builder/#entrypoint>.+-- The entry point that is passed to the container. This parameter maps to 'Entrypoint' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--entrypoint' option to <https://docs.docker.com/reference/commandline/run/ docker run>. For more information, see <https://docs.docker.com/reference/builder/#entrypoint>. cdEntryPoint :: Lens' ContainerDefinition [Text] cdEntryPoint = lens _cdEntryPoint (\ s a -> s{_cdEntryPoint = a}) . _Default . _Coerce; --- | The working directory in which to run commands inside the container.--- This parameter maps to 'WorkingDir' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--workdir' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | The working directory in which to run commands inside the container. This parameter maps to 'WorkingDir' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--workdir' option to <https://docs.docker.com/reference/commandline/run/ docker run>. cdWorkingDirectory :: Lens' ContainerDefinition (Maybe Text) cdWorkingDirectory = lens _cdWorkingDirectory (\ s a -> s{_cdWorkingDirectory = a}); --- | A list of 'ulimits' to set in the container. This parameter maps to--- 'Ulimits' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--ulimit' option to--- <https://docs.docker.com/reference/commandline/run/ 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\"'+-- | A list of 'ulimits' to set in the container. This parameter maps to 'Ulimits' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--ulimit' option to <https://docs.docker.com/reference/commandline/run/ 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\"' cdUlimits :: Lens' ContainerDefinition [Ulimit] cdUlimits = lens _cdUlimits (\ s a -> s{_cdUlimits = a}) . _Default . _Coerce; --- | 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--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--privileged' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | 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 <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--privileged' option to <https://docs.docker.com/reference/commandline/run/ docker run>. cdPrivileged :: Lens' ContainerDefinition (Maybe Bool) cdPrivileged = lens _cdPrivileged (\ s a -> s{_cdPrivileged = a}); --- | 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--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--publish' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | 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 <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--publish' option to <https://docs.docker.com/reference/commandline/run/ docker run>. ----- After a task reaches the 'RUNNING' status, manual and automatic host and--- container port assignments are visible in the __Network Bindings__--- section of a container description of a selected task in the Amazon ECS--- console, or the 'networkBindings' section < DescribeTasks> responses.+-- After a task reaches the 'RUNNING' status, manual and automatic host and container port assignments are visible in the __Network Bindings__ section of a container description of a selected task in the Amazon ECS console, or the 'networkBindings' section < DescribeTasks> responses. cdPortMappings :: Lens' ContainerDefinition [PortMapping] cdPortMappings = lens _cdPortMappings (\ s a -> s{_cdPortMappings = a}) . _Default . _Coerce; --- | A key\/value map of labels to add to the container. This parameter maps--- to 'Labels' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--label' option to--- <https://docs.docker.com/reference/commandline/run/ 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\"'+-- | A key\/value map of labels to add to the container. This parameter maps to 'Labels' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--label' option to <https://docs.docker.com/reference/commandline/run/ 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\"' cdDockerLabels :: Lens' ContainerDefinition (HashMap Text Text) cdDockerLabels = lens _cdDockerLabels (\ s a -> s{_cdDockerLabels = a}) . _Default . _Map; --- | A list of hostnames and IP address mappings to append to the--- '\/etc\/hosts' file on the container. This parameter maps to--- 'ExtraHosts' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--add-host' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | A list of hostnames and IP address mappings to append to the '\/etc\/hosts' file on the container. This parameter maps to 'ExtraHosts' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--add-host' option to <https://docs.docker.com/reference/commandline/run/ docker run>. cdExtraHosts :: Lens' ContainerDefinition [HostEntry] cdExtraHosts = lens _cdExtraHosts (\ s a -> s{_cdExtraHosts = a}) . _Default . _Coerce; --- | The number of MiB of memory to reserve for the container. You must--- specify a non-zero integer for this parameter; 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. If your--- container attempts to exceed the memory allocated here, the container is--- killed. This parameter maps to 'Memory' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--memory' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | The number of MiB of memory to reserve for the container. You must specify a non-zero integer for this parameter; 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. If your container attempts to exceed the memory allocated here, the container is killed. This parameter maps to 'Memory' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--memory' option to <https://docs.docker.com/reference/commandline/run/ docker run>. cdMemory :: Lens' ContainerDefinition (Maybe Int) cdMemory = lens _cdMemory (\ s a -> s{_cdMemory = a}); --- | The user name to use inside the container. This parameter maps to 'User'--- in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--user' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | The user name to use inside the container. This parameter maps to 'User' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--user' option to <https://docs.docker.com/reference/commandline/run/ docker run>. cdUser :: Lens' ContainerDefinition (Maybe Text) cdUser = lens _cdUser (\ s a -> s{_cdUser = a}); --- | A list of DNS search domains that are presented to the container. This--- parameter maps to 'DnsSearch' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--dns-search' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | A list of DNS search domains that are presented to the container. This parameter maps to 'DnsSearch' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--dns-search' option to <https://docs.docker.com/reference/commandline/run/ docker run>. cdDnsSearchDomains :: Lens' ContainerDefinition [Text] cdDnsSearchDomains = lens _cdDnsSearchDomains (\ s a -> s{_cdDnsSearchDomains = a}) . _Default . _Coerce; --- | The log configuration specification for the container. This parameter--- maps to 'LogConfig' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--log-driver' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>. Valid--- log drivers are displayed in the < LogConfiguration> 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\"'+-- | The log configuration specification for the container. This parameter maps to 'LogConfig' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--log-driver' option to <https://docs.docker.com/reference/commandline/run/ docker run>. Valid log drivers are displayed in the < LogConfiguration> 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\"' ----- The Amazon ECS container agent running on a container instance must--- register the logging drivers available on that instance with the--- 'ECS_AVAILABLE_LOGGING_DRIVERS' environment variable before containers--- placed on that instance can use these log configuration options. For--- more information, see--- <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/developerguide/ecs-agent-config.html Amazon ECS Container Agent Configuration>--- in the /Amazon EC2 Container Service Developer Guide/.+-- The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the 'ECS_AVAILABLE_LOGGING_DRIVERS' environment variable before containers placed on that instance can use these log configuration options. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/developerguide/ecs-agent-config.html Amazon ECS Container Agent Configuration> in the /Amazon EC2 Container Service Developer Guide/. cdLogConfiguration :: Lens' ContainerDefinition (Maybe LogConfiguration) cdLogConfiguration = lens _cdLogConfiguration (\ s a -> s{_cdLogConfiguration = a}); --- | 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--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--name' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | 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 <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--name' option to <https://docs.docker.com/reference/commandline/run/ docker run>. cdName :: Lens' ContainerDefinition (Maybe Text) cdName = lens _cdName (\ s a -> s{_cdName = a}); --- | A list of DNS servers that are presented to the container. This--- parameter maps to 'Dns' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--dns' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | A list of DNS servers that are presented to the container. This parameter maps to 'Dns' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--dns' option to <https://docs.docker.com/reference/commandline/run/ docker run>. cdDnsServers :: Lens' ContainerDefinition [Text] cdDnsServers = lens _cdDnsServers (\ s a -> s{_cdDnsServers = a}) . _Default . _Coerce; --- | The mount points for data volumes in your container. This parameter maps--- to 'Volumes' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--volume' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | The mount points for data volumes in your container. This parameter maps to 'Volumes' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--volume' option to <https://docs.docker.com/reference/commandline/run/ docker run>. cdMountPoints :: Lens' ContainerDefinition [MountPoint] cdMountPoints = lens _cdMountPoints (\ s a -> s{_cdMountPoints = a}) . _Default . _Coerce; --- | 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/userguide/dockerlinks/>. This parameter--- maps to 'Links' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--link' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | 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/userguide/dockerlinks/>. This parameter maps to 'Links' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--link' option to <https://docs.docker.com/reference/commandline/run/ docker run>. ----- 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.+-- 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. cdLinks :: Lens' ContainerDefinition [Text] cdLinks = lens _cdLinks (\ s a -> s{_cdLinks = a}) . _Default . _Coerce; --- | When this parameter is true, the container is given read-only access to--- its root file system. This parameter maps to 'ReadonlyRootfs' in the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--read-only' option to 'docker run'.+-- | When this parameter is true, the container is given read-only access to its root file system. This parameter maps to 'ReadonlyRootfs' in the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--read-only' option to 'docker run'. cdReadonlyRootFilesystem :: Lens' ContainerDefinition (Maybe Bool) cdReadonlyRootFilesystem = lens _cdReadonlyRootFilesystem (\ s a -> s{_cdReadonlyRootFilesystem = a}); --- | If the 'essential' parameter of a container is marked as 'true', the--- failure of that container stops the task. 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.+-- | If the 'essential' parameter of a container is marked as 'true', the failure of that container stops the task. 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. cdEssential :: Lens' ContainerDefinition (Maybe Bool) cdEssential = lens _cdEssential (\ s a -> s{_cdEssential = a}); --- | 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--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>--- section of the--- <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API>--- and the '--cpu-shares' option to--- <https://docs.docker.com/reference/commandline/run/ docker run>.+-- | 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 <https://docs.docker.com/reference/api/docker_remote_api_v1.19/#create-a-container Create a container> section of the <https://docs.docker.com/reference/api/docker_remote_api_v1.19/ Docker Remote API> and the '--cpu-shares' option to <https://docs.docker.com/reference/commandline/run/ docker run>. ----- You can determine the number of CPU units that are available per EC2--- instance type by multiplying the vCPUs listed for that instance type on--- the <http://aws.amazon.com/ec2/instance-types/ Amazon EC2 Instances>--- detail page by 1,024.+-- You can determine the number of CPU units that are available per EC2 instance type by multiplying the vCPUs listed for that instance type on the <http://aws.amazon.com/ec2/instance-types/ Amazon EC2 Instances> detail page by 1,024. ----- 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.+-- 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--- <https://docs.docker.com/reference/run/#cpu-share-constraint 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:+-- 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 <https://docs.docker.com/reference/run/#cpu-share-constraint 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.+-- - __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. cdCpu :: Lens' ContainerDefinition (Maybe Int) cdCpu = lens _cdCpu (\ s a -> s{_cdCpu = a}); @@ -802,8 +551,7 @@ ("essential" .=) <$> _cdEssential, ("cpu" .=) <$> _cdCpu]) --- | An EC2 instance that is running the Amazon ECS agent and has been--- registered with a cluster.+-- | An EC2 instance that is running the Amazon ECS agent and has been registered with a cluster. -- -- /See:/ 'containerInstance' smart constructor. data ContainerInstance = ContainerInstance'@@ -862,19 +610,15 @@ , _ciRegisteredResources = Nothing } --- | The status of the container instance. The valid values are 'ACTIVE' or--- 'INACTIVE'. 'ACTIVE' indicates that the container instance can accept--- tasks.+-- | The status of the container instance. The valid values are 'ACTIVE' or 'INACTIVE'. 'ACTIVE' indicates that the container instance can accept tasks. ciStatus :: Lens' ContainerInstance (Maybe Text) ciStatus = lens _ciStatus (\ s a -> s{_ciStatus = a}); --- | The number of tasks on the container instance that are in the 'RUNNING'--- status.+-- | The number of tasks on the container instance that are in the 'RUNNING' status. ciRunningTasksCount :: Lens' ContainerInstance (Maybe Int) ciRunningTasksCount = lens _ciRunningTasksCount (\ s a -> s{_ciRunningTasksCount = a}); --- | The remaining resources of the container instance that are available for--- new tasks.+-- | The remaining resources of the container instance that are available for new tasks. ciRemainingResources :: Lens' ContainerInstance [Resource] ciRemainingResources = lens _ciRemainingResources (\ s a -> s{_ciRemainingResources = a}) . _Default . _Coerce; @@ -882,44 +626,31 @@ ciEc2InstanceId :: Lens' ContainerInstance (Maybe Text) ciEc2InstanceId = lens _ciEc2InstanceId (\ s a -> s{_ciEc2InstanceId = a}); --- | 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/.+-- | 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/. ciContainerInstanceARN :: Lens' ContainerInstance (Maybe Text) ciContainerInstanceARN = lens _ciContainerInstanceARN (\ s a -> s{_ciContainerInstanceARN = a}); --- | 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.+-- | 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. ciAgentConnected :: Lens' ContainerInstance (Maybe Bool) ciAgentConnected = lens _ciAgentConnected (\ s a -> s{_ciAgentConnected = a}); --- | The version information for the Amazon ECS container agent and Docker--- daemon running on the container instance.+-- | The version information for the Amazon ECS container agent and Docker daemon running on the container instance. ciVersionInfo :: Lens' ContainerInstance (Maybe VersionInfo) ciVersionInfo = lens _ciVersionInfo (\ s a -> s{_ciVersionInfo = a}); --- | The status of the most recent agent update. If an update has never been--- requested, this value is 'NULL'.+-- | The status of the most recent agent update. If an update has never been requested, this value is 'NULL'. ciAgentUpdateStatus :: Lens' ContainerInstance (Maybe AgentUpdateStatus) ciAgentUpdateStatus = lens _ciAgentUpdateStatus (\ s a -> s{_ciAgentUpdateStatus = a}); --- | The attributes set for the container instance by the Amazon ECS--- container agent at instance registration.+-- | The attributes set for the container instance by the Amazon ECS container agent at instance registration. ciAttributes :: Lens' ContainerInstance [Attribute] ciAttributes = lens _ciAttributes (\ s a -> s{_ciAttributes = a}) . _Default . _Coerce; --- | The number of tasks on the container instance that are in the 'PENDING'--- status.+-- | The number of tasks on the container instance that are in the 'PENDING' status. ciPendingTasksCount :: Lens' ContainerInstance (Maybe Int) ciPendingTasksCount = lens _ciPendingTasksCount (\ s a -> s{_ciPendingTasksCount = a}); --- | The registered resources on the container instance that are in use by--- current tasks.+-- | The registered resources on the container instance that are in use by current tasks. ciRegisteredResources :: Lens' ContainerInstance [Resource] ciRegisteredResources = lens _ciRegisteredResources (\ s a -> s{_ciRegisteredResources = a}) . _Default . _Coerce; @@ -970,15 +701,11 @@ , _coName = Nothing } --- | The command to send to the container that overrides the default command--- from the Docker image or the task definition.+-- | The command to send to the container that overrides the default command from the Docker image or the task definition. coCommand :: Lens' ContainerOverride [Text] coCommand = lens _coCommand (\ s a -> s{_coCommand = a}) . _Default . _Coerce; --- | 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.+-- | 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. coEnvironment :: Lens' ContainerOverride [KeyValuePair] coEnvironment = lens _coEnvironment (\ s a -> s{_coEnvironment = a}) . _Default . _Coerce; @@ -1078,26 +805,19 @@ csRunningCount :: Lens' ContainerService (Maybe Int) csRunningCount = lens _csRunningCount (\ s a -> s{_csRunningCount = a}); --- | The status of the service. The valid values are 'ACTIVE', 'DRAINING', or--- 'INACTIVE'.+-- | The status of the service. The valid values are 'ACTIVE', 'DRAINING', or 'INACTIVE'. csStatus :: Lens' ContainerService (Maybe Text) csStatus = lens _csStatus (\ s a -> s{_csStatus = a}); --- | The Amazon Resource Name (ARN) of the of the cluster that hosts the--- service.+-- | The Amazon Resource Name (ARN) of the of the cluster that hosts the service. csClusterARN :: Lens' ContainerService (Maybe Text) csClusterARN = lens _csClusterARN (\ s a -> s{_csClusterARN = a}); --- | 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>.+-- | 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>. csDesiredCount :: Lens' ContainerService (Maybe Int) csDesiredCount = lens _csDesiredCount (\ s a -> s{_csDesiredCount = a}); --- | A list of 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.+-- | A list of 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. csLoadBalancers :: Lens' ContainerService [LoadBalancer] csLoadBalancers = lens _csLoadBalancers (\ s a -> s{_csLoadBalancers = a}) . _Default . _Coerce; @@ -1105,8 +825,7 @@ csPendingCount :: Lens' ContainerService (Maybe Int) csPendingCount = lens _csPendingCount (\ s a -> s{_csPendingCount = a}); --- | The event stream for your service. A maximum of 100 of the latest events--- are displayed.+-- | The event stream for your service. A maximum of 100 of the latest events are displayed. csEvents :: Lens' ContainerService [ServiceEvent] csEvents = lens _csEvents (\ s a -> s{_csEvents = a}) . _Default . _Coerce; @@ -1114,35 +833,23 @@ csDeployments :: Lens' ContainerService [Deployment] csDeployments = lens _csDeployments (\ s a -> s{_csDeployments = a}) . _Default . _Coerce; --- | 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.+-- | 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. csServiceName :: Lens' ContainerService (Maybe Text) csServiceName = lens _csServiceName (\ s a -> s{_csServiceName = a}); --- | 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/.+-- | 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/. csServiceARN :: Lens' ContainerService (Maybe Text) csServiceARN = lens _csServiceARN (\ s a -> s{_csServiceARN = a}); --- | 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>.+-- | 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>. csTaskDefinition :: Lens' ContainerService (Maybe Text) csTaskDefinition = lens _csTaskDefinition (\ s a -> s{_csTaskDefinition = a}); --- | 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 a load balancer.+-- | 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 a load balancer. csRoleARN :: Lens' ContainerService (Maybe Text) csRoleARN = lens _csRoleARN (\ s a -> s{_csRoleARN = a}); --- | Optional deployment parameters that control how many tasks run during--- the deployment and the ordering of stopping and starting tasks.+-- | Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks. csDeploymentConfiguration :: Lens' ContainerService (Maybe DeploymentConfiguration) csDeploymentConfiguration = lens _csDeploymentConfiguration (\ s a -> s{_csDeploymentConfiguration = a}); @@ -1219,10 +926,7 @@ dRunningCount :: Lens' Deployment (Maybe Int) dRunningCount = lens _dRunningCount (\ s a -> s{_dRunningCount = a}); --- | 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).+-- | 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). dStatus :: Lens' Deployment (Maybe Text) dStatus = lens _dStatus (\ s a -> s{_dStatus = a}); @@ -1230,8 +934,7 @@ dCreatedAt :: Lens' Deployment (Maybe UTCTime) dCreatedAt = lens _dCreatedAt (\ s a -> s{_dCreatedAt = a}) . mapping _Time; --- | The most recent desired count of tasks that was specified for the--- service to deploy or maintain.+-- | The most recent desired count of tasks that was specified for the service to deploy or maintain. dDesiredCount :: Lens' Deployment (Maybe Int) dDesiredCount = lens _dDesiredCount (\ s a -> s{_dDesiredCount = a}); @@ -1243,13 +946,11 @@ dId :: Lens' Deployment (Maybe Text) dId = lens _dId (\ s a -> s{_dId = a}); --- | The Unix time in seconds and milliseconds when the service was last--- updated.+-- | The Unix time in seconds and milliseconds when the service was last updated. dUpdatedAt :: Lens' Deployment (Maybe UTCTime) dUpdatedAt = lens _dUpdatedAt (\ s a -> s{_dUpdatedAt = a}) . mapping _Time; --- | The most recent task definition that was specified for the service to--- use.+-- | The most recent task definition that was specified for the service to use. dTaskDefinition :: Lens' Deployment (Maybe Text) dTaskDefinition = lens _dTaskDefinition (\ s a -> s{_dTaskDefinition = a}); @@ -1270,8 +971,7 @@ instance NFData Deployment --- | Optional deployment parameters that control how many tasks run during--- the deployment and the ordering of stopping and starting tasks.+-- | Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks. -- -- /See:/ 'deploymentConfiguration' smart constructor. data DeploymentConfiguration = DeploymentConfiguration'@@ -1294,19 +994,11 @@ , _dcMaximumPercent = Nothing } --- | The lower limit (as a percentage of the service\'s 'desiredCount') of--- the number of running tasks that must remain running and healthy in a--- service during a deployment. The minimum healthy tasks during a--- deployment is the 'desiredCount' multiplied by the--- 'minimumHealthyPercent'\/100, rounded up to the nearest integer value.+-- | The lower limit (as a percentage of the service\'s 'desiredCount') of the number of running tasks that must remain running and healthy in a service during a deployment. The minimum healthy tasks during a deployment is the 'desiredCount' multiplied by the 'minimumHealthyPercent'\/100, rounded up to the nearest integer value. dcMinimumHealthyPercent :: Lens' DeploymentConfiguration (Maybe Int) dcMinimumHealthyPercent = lens _dcMinimumHealthyPercent (\ s a -> s{_dcMinimumHealthyPercent = a}); --- | The upper limit (as a percentage of the service\'s 'desiredCount') of--- the number of running tasks that can be running in a service during a--- deployment. The maximum number of tasks during a deployment is the--- 'desiredCount' multiplied by the 'maximumPercent'\/100, rounded down to--- the nearest integer value.+-- | The upper limit (as a percentage of the service\'s 'desiredCount') of the number of running tasks that can be running in a service during a deployment. The maximum number of tasks during a deployment is the 'desiredCount' multiplied by the 'maximumPercent'\/100, rounded down to the nearest integer value. dcMaximumPercent :: Lens' DeploymentConfiguration (Maybe Int) dcMaximumPercent = lens _dcMaximumPercent (\ s a -> s{_dcMaximumPercent = a}); @@ -1371,9 +1063,7 @@ instance NFData Failure --- | Hostnames and IP address entries that are added to the '\/etc\/hosts'--- file of a container via the 'extraHosts' parameter of its--- < ContainerDefinition>.+-- | Hostnames and IP address entries that are added to the '\/etc\/hosts' file of a container via the 'extraHosts' parameter of its < ContainerDefinition>. -- -- /See:/ 'hostEntry' smart constructor. data HostEntry = HostEntry'@@ -1443,14 +1133,7 @@ { _hvpSourcePath = Nothing } --- | The path on the host container instance that is presented to the--- container. If this parameter is empty, then the Docker daemon has--- assigned a host path for you. If the 'host' parameter contains a--- 'sourcePath' file location, then the data volume persists at the--- specified location on the host container instance until you delete it--- manually. If the 'sourcePath' value does not exist on the host container--- instance, the Docker daemon creates it. If the location does exist, the--- contents of the source path folder are exported.+-- | The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the 'host' parameter contains a 'sourcePath' file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the 'sourcePath' value does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported. hvpSourcePath :: Lens' HostVolumeProperties (Maybe Text) hvpSourcePath = lens _hvpSourcePath (\ s a -> s{_hvpSourcePath = a}); @@ -1492,13 +1175,11 @@ , _kvpName = Nothing } --- | The value of the key value pair. For environment variables, this is the--- value of the environment variable.+-- | The value of the key value pair. For environment variables, this is the value of the environment variable. kvpValue :: Lens' KeyValuePair (Maybe Text) kvpValue = lens _kvpValue (\ s a -> s{_kvpValue = a}); --- | The name of the key value pair. For environment variables, this is the--- name of the environment variable.+-- | The name of the key value pair. For environment variables, this is the name of the environment variable. kvpName :: Lens' KeyValuePair (Maybe Text) kvpName = lens _kvpName (\ s a -> s{_kvpName = a}); @@ -1550,15 +1231,11 @@ lbLoadBalancerName :: Lens' LoadBalancer (Maybe Text) lbLoadBalancerName = lens _lbLoadBalancerName (\ s a -> s{_lbLoadBalancerName = a}); --- | The name of the container (as it appears in a container definition) to--- associate with the load balancer.+-- | The name of the container (as it appears in a container definition) to associate with the load balancer. lbContainerName :: Lens' LoadBalancer (Maybe Text) lbContainerName = lens _lbContainerName (\ s a -> s{_lbContainerName = a}); --- | The port on the container to associate with the load balancer. This port--- must correspond to a 'containerPort' in the service\'s task definition.--- Your container instances must allow ingress traffic on the 'hostPort' of--- the port mapping.+-- | The port on the container to associate with the load balancer. This port must correspond to a 'containerPort' in the service\'s task definition. Your container instances must allow ingress traffic on the 'hostPort' of the port mapping. lbContainerPort :: Lens' LoadBalancer (Maybe Int) lbContainerPort = lens _lbContainerPort (\ s a -> s{_lbContainerPort = a}); @@ -1583,8 +1260,7 @@ ("containerName" .=) <$> _lbContainerName, ("containerPort" .=) <$> _lbContainerPort]) --- | Log configuration options to send to a custom log driver for the--- container.+-- | Log configuration options to send to a custom log driver for the container. -- -- /See:/ 'logConfiguration' smart constructor. data LogConfiguration = LogConfiguration'@@ -1608,19 +1284,11 @@ , _lcLogDriver = pLogDriver_ } --- | The configuration options to send to the log driver. This parameter--- requires version 1.19 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\"'+-- | The configuration options to send to the log driver. This parameter requires version 1.19 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\"' lcOptions :: Lens' LogConfiguration (HashMap Text Text) lcOptions = lens _lcOptions (\ s a -> s{_lcOptions = a}) . _Default . _Map; --- | The log driver to use for the container. 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\"'+-- | The log driver to use for the container. 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\"' lcLogDriver :: Lens' LogConfiguration LogDriver lcLogDriver = lens _lcLogDriver (\ s a -> s{_lcLogDriver = a}); @@ -1677,9 +1345,7 @@ mpSourceVolume :: Lens' MountPoint (Maybe Text) mpSourceVolume = lens _mpSourceVolume (\ s a -> s{_mpSourceVolume = a}); --- | If this value is 'true', the container has read-only access to the--- volume. If this value is 'false', then the container can write to the--- volume. The default value is 'false'.+-- | If this value is 'true', the container has read-only access to the volume. If this value is 'false', then the container can write to the volume. The default value is 'false'. mpReadOnly :: Lens' MountPoint (Maybe Bool) mpReadOnly = lens _mpReadOnly (\ s a -> s{_mpReadOnly = a}); @@ -1703,10 +1369,7 @@ ("sourceVolume" .=) <$> _mpSourceVolume, ("readOnly" .=) <$> _mpReadOnly]) --- | Details on the network bindings between a container and its host--- container instance. After a task reaches the 'RUNNING' status, manual--- and automatic host and container port assignments are visible in the--- 'networkBindings' section of < DescribeTasks> API responses.+-- | Details on the network bindings between a container and its host container instance. After a task reaches the 'RUNNING' status, manual and automatic host and container port assignments are visible in the 'networkBindings' section of < DescribeTasks> API responses. -- -- /See:/ 'networkBinding' smart constructor. data NetworkBinding = NetworkBinding'@@ -1749,8 +1412,7 @@ nbHostPort :: Lens' NetworkBinding (Maybe Int) nbHostPort = lens _nbHostPort (\ s a -> s{_nbHostPort = a}); --- | The port number on the container that is be used with the network--- binding.+-- | The port number on the container that is be used with the network binding. nbContainerPort :: Lens' NetworkBinding (Maybe Int) nbContainerPort = lens _nbContainerPort (\ s a -> s{_nbContainerPort = a}); @@ -1776,11 +1438,7 @@ ("hostPort" .=) <$> _nbHostPort, ("containerPort" .=) <$> _nbContainerPort]) --- | Port mappings allow containers to access ports on the host container--- instance to send or receive traffic. Port mappings are specified as part--- of the container definition. After a task reaches the 'RUNNING' status,--- manual and automatic host and container port assignments are visible in--- the 'networkBindings' section of < DescribeTasks> API responses.+-- | Port mappings allow containers to access ports on the host container instance to send or receive traffic. Port mappings are specified as part of the container definition. After a task reaches the 'RUNNING' status, manual and automatic host and container port assignments are visible in the 'networkBindings' section of < DescribeTasks> API responses. -- -- /See:/ 'portMapping' smart constructor. data PortMapping = PortMapping'@@ -1807,42 +1465,19 @@ , _pmContainerPort = Nothing } --- | The protocol used for the port mapping. Valid values are 'tcp' and--- 'udp'. The default is 'tcp'.+-- | The protocol used for the port mapping. Valid values are 'tcp' and 'udp'. The default is 'tcp'. pmProtocol :: Lens' PortMapping (Maybe TransportProtocol) pmProtocol = lens _pmProtocol (\ s a -> s{_pmProtocol = a}); --- | The port number on the container instance to reserve for your container.--- You can specify a non-reserved host port for your container port--- mapping, or you can omit the 'hostPort' (or set it to '0') while--- specifying a 'containerPort' and your container automatically receives a--- port in the ephemeral port range for your container instance operating--- system and Docker version.+-- | The port number on the container instance to reserve for your container. You can specify a non-reserved host port for your container port mapping, or you can omit the 'hostPort' (or set it to '0') while specifying a 'containerPort' and your container automatically receives a port in the ephemeral port range for your container instance operating system and Docker version. ----- The default ephemeral port range is 49153 to 65535, and this range is--- used for Docker versions prior to 1.6.0. For Docker version 1.6.0 and--- later, the Docker daemon tries to read the ephemeral port range from--- '\/proc\/sys\/net\/ipv4\/ip_local_port_range'; if this kernel parameter--- is unavailable, the default ephemeral port range is used. You should not--- attempt to specify a host port in the ephemeral port range, because--- these are reserved for automatic assignment. In general, ports below--- 32768 are outside of the ephemeral port range.+-- The default ephemeral port range is 49153 to 65535, and this range is used for Docker versions prior to 1.6.0. For Docker version 1.6.0 and later, the Docker daemon tries to read the ephemeral port range from '\/proc\/sys\/net\/ipv4\/ip_local_port_range'; if this kernel parameter is unavailable, the default ephemeral port range is used. You should not attempt to specify a host port in the ephemeral port range, because these are reserved for automatic assignment. In general, ports below 32768 are outside of the ephemeral port range. ----- The default reserved ports are 22 for SSH, the Docker ports 2375 and--- 2376, and the Amazon ECS container agent port 51678. Any host port that--- was previously specified in a running task is also reserved while the--- task is running (after a task stops, the host port is released).The--- current reserved ports are displayed in the 'remainingResources' of--- < DescribeContainerInstances> output, and a container instance may have--- up to 50 reserved ports at a time, including the default reserved ports--- (automatically assigned ports do not count toward this limit).+-- The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the Amazon ECS container agent port 51678. Any host port that was previously specified in a running task is also reserved while the task is running (after a task stops, the host port is released).The current reserved ports are displayed in the 'remainingResources' of < DescribeContainerInstances> output, and a container instance may have up to 50 reserved ports at a time, including the default reserved ports (automatically assigned ports do not count toward this limit). pmHostPort :: Lens' PortMapping (Maybe Int) pmHostPort = lens _pmHostPort (\ s a -> s{_pmHostPort = a}); --- | The port number on the container that is bound to the user-specified or--- automatically assigned host port. If you specify a container port and--- not a host port, your container automatically receives a host port in--- the ephemeral port range (for more information, see 'hostPort').+-- | The port number on the container that is bound to the user-specified or automatically assigned host port. If you specify a container port and not a host port, your container automatically receives a host port in the ephemeral port range (for more information, see 'hostPort'). pmContainerPort :: Lens' PortMapping (Maybe Int) pmContainerPort = lens _pmContainerPort (\ s a -> s{_pmContainerPort = a}); @@ -1905,33 +1540,27 @@ , _rType = Nothing } --- | When the 'stringSetValue' type is set, the value of the resource must be--- a string type.+-- | When the 'stringSetValue' type is set, the value of the resource must be a string type. rStringSetValue :: Lens' Resource [Text] rStringSetValue = lens _rStringSetValue (\ s a -> s{_rStringSetValue = a}) . _Default . _Coerce; --- | When the 'integerValue' type is set, the value of the resource must be--- an integer.+-- | When the 'integerValue' type is set, the value of the resource must be an integer. rIntegerValue :: Lens' Resource (Maybe Int) rIntegerValue = lens _rIntegerValue (\ s a -> s{_rIntegerValue = a}); --- | When the 'doubleValue' type is set, the value of the resource must be a--- double precision floating-point type.+-- | When the 'doubleValue' type is set, the value of the resource must be a double precision floating-point type. rDoubleValue :: Lens' Resource (Maybe Double) rDoubleValue = lens _rDoubleValue (\ s a -> s{_rDoubleValue = a}); --- | When the 'longValue' type is set, the value of the resource must be an--- extended precision floating-point type.+-- | When the 'longValue' type is set, the value of the resource must be an extended precision floating-point type. rLongValue :: Lens' Resource (Maybe Integer) rLongValue = lens _rLongValue (\ s a -> s{_rLongValue = a}); --- | The name of the resource, such as 'CPU', 'MEMORY', 'PORTS', or a--- user-defined resource.+-- | The name of the resource, such as 'CPU', 'MEMORY', 'PORTS', or a user-defined resource. rName :: Lens' Resource (Maybe Text) rName = lens _rName (\ s a -> s{_rName = a}); --- | The type of the resource, such as 'INTEGER', 'DOUBLE', 'LONG', or--- 'STRINGSET'.+-- | The type of the resource, such as 'INTEGER', 'DOUBLE', 'LONG', or 'STRINGSET'. rType :: Lens' Resource (Maybe Text) rType = lens _rType (\ s a -> s{_rType = a}); @@ -2079,8 +1708,7 @@ , _tTaskDefinitionARN = Nothing } --- | The Unix time in seconds and milliseconds when the task was stopped (the--- task transitioned from the 'RUNNING' state to the 'STOPPED' state).+-- | The Unix time in seconds and milliseconds when the task was stopped (the task transitioned from the 'RUNNING' state to the 'STOPPED' state). tStoppedAt :: Lens' Task (Maybe UTCTime) tStoppedAt = lens _tStoppedAt (\ s a -> s{_tStoppedAt = a}) . mapping _Time; @@ -2092,13 +1720,11 @@ tOverrides :: Lens' Task (Maybe TaskOverride) tOverrides = lens _tOverrides (\ s a -> s{_tOverrides = a}); --- | The Amazon Resource Name (ARN) of the of the cluster that hosts the--- task.+-- | The Amazon Resource Name (ARN) of the of the cluster that hosts the task. tClusterARN :: Lens' Task (Maybe Text) tClusterARN = lens _tClusterARN (\ s a -> s{_tClusterARN = a}); --- | The Unix time in seconds and milliseconds when the task was created (the--- task entered the 'PENDING' state).+-- | The Unix time in seconds and milliseconds when the task was created (the task entered the 'PENDING' state). tCreatedAt :: Lens' Task (Maybe UTCTime) tCreatedAt = lens _tCreatedAt (\ s a -> s{_tCreatedAt = a}) . mapping _Time; @@ -2106,8 +1732,7 @@ tTaskARN :: Lens' Task (Maybe Text) tTaskARN = lens _tTaskARN (\ s a -> s{_tTaskARN = a}); --- | The Amazon Resource Name (ARN) of the container instances that host the--- task.+-- | The Amazon Resource Name (ARN) of the container instances that host the task. tContainerInstanceARN :: Lens' Task (Maybe Text) tContainerInstanceARN = lens _tContainerInstanceARN (\ s a -> s{_tContainerInstanceARN = a}); @@ -2119,14 +1744,11 @@ tContainers :: Lens' Task [Container] tContainers = lens _tContainers (\ s a -> s{_tContainers = a}) . _Default . _Coerce; --- | The Unix time in seconds and milliseconds when the task was started (the--- task transitioned from the 'PENDING' state to the 'RUNNING' state).+-- | The Unix time in seconds and milliseconds when the task was started (the task transitioned from the 'PENDING' state to the 'RUNNING' state). tStartedAt :: Lens' Task (Maybe UTCTime) tStartedAt = lens _tStartedAt (\ s a -> s{_tStartedAt = a}) . mapping _Time; --- | The tag specified when a task is started. If the task is started by an--- Amazon ECS service, then the 'startedBy' parameter contains the--- deployment ID of the service that starts it.+-- | The tag specified when a task is started. If the task is started by an Amazon ECS service, then the 'startedBy' parameter contains the deployment ID of the service that starts it. tStartedBy :: Lens' Task (Maybe Text) tStartedBy = lens _tStartedBy (\ s a -> s{_tStartedBy = a}); @@ -2134,8 +1756,7 @@ tStoppedReason :: Lens' Task (Maybe Text) tStoppedReason = lens _tStoppedReason (\ s a -> s{_tStoppedReason = a}); --- | The Amazon Resource Name (ARN) of the of the task definition that--- creates the task.+-- | The Amazon Resource Name (ARN) of the of the task definition that creates the task. tTaskDefinitionARN :: Lens' Task (Maybe Text) tTaskDefinitionARN = lens _tTaskDefinitionARN (\ s a -> s{_tTaskDefinitionARN = a}); @@ -2212,11 +1833,7 @@ tdFamily :: Lens' TaskDefinition (Maybe Text) tdFamily = lens _tdFamily (\ s a -> s{_tdFamily = a}); --- | A list of container definitions in JSON format that describe the--- different containers that make up your task. For more information about--- container definition parameters and defaults, see--- <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions>--- in the /Amazon EC2 Container Service Developer Guide/.+-- | A list of container definitions in JSON format that describe the different containers that make up your task. For more information about container definition parameters and defaults, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions> in the /Amazon EC2 Container Service Developer Guide/. tdContainerDefinitions :: Lens' TaskDefinition [ContainerDefinition] tdContainerDefinitions = lens _tdContainerDefinitions (\ s a -> s{_tdContainerDefinitions = a}) . _Default . _Coerce; @@ -2224,19 +1841,11 @@ tdTaskDefinitionARN :: Lens' TaskDefinition (Maybe Text) tdTaskDefinitionARN = lens _tdTaskDefinitionARN (\ s a -> s{_tdTaskDefinitionARN = a}); --- | The revision of the task in a particular family. The revision is a--- version number of a task definition in a family. When you register a--- task definition for the first time, the revision is '1'; each time you--- register a new revision of a task definition in the same family, the--- revision value always increases by one (even if you have deregistered--- previous revisions in this family).+-- | The revision of the task in a particular family. The revision is a version number of a task definition in a family. When you register a task definition for the first time, the revision is '1'; each time you register a new revision of a task definition in the same family, the revision value always increases by one (even if you have deregistered previous revisions in this family). tdRevision :: Lens' TaskDefinition (Maybe Int) tdRevision = lens _tdRevision (\ s a -> s{_tdRevision = a}); --- | The list of volumes in a task. For more information about volume--- definition parameters and defaults, see--- <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions>--- in the /Amazon EC2 Container Service Developer Guide/.+-- | The list of volumes in a task. For more information about volume definition parameters and defaults, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions> in the /Amazon EC2 Container Service Developer Guide/. tdVolumes :: Lens' TaskDefinition [Volume] tdVolumes = lens _tdVolumes (\ s a -> s{_tdVolumes = a}) . _Default . _Coerce; @@ -2363,8 +1972,7 @@ Just ("softLimit" .= _uSoftLimit), Just ("hardLimit" .= _uHardLimit)]) --- | The Docker and Amazon ECS container agent version information about a--- container instance.+-- | The Docker and Amazon ECS container agent version information about a container instance. -- -- /See:/ 'versionInfo' smart constructor. data VersionInfo = VersionInfo'@@ -2391,9 +1999,7 @@ , _viDockerVersion = Nothing } --- | The Git commit hash for the Amazon ECS container agent build on the--- <https://github.com/aws/amazon-ecs-agent/commits/master amazon-ecs-agent>--- GitHub repository.+-- | The Git commit hash for the Amazon ECS container agent build on the <https://github.com/aws/amazon-ecs-agent/commits/master amazon-ecs-agent> GitHub repository. viAgentHash :: Lens' VersionInfo (Maybe Text) viAgentHash = lens _viAgentHash (\ s a -> s{_viAgentHash = a}); @@ -2448,17 +2054,11 @@ , _vHost = Nothing } --- | The name of the volume. Up to 255 letters (uppercase and lowercase),--- numbers, hyphens, and underscores are allowed. This name is referenced--- in the 'sourceVolume' parameter of container definition 'mountPoints'.+-- | The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the 'sourceVolume' parameter of container definition 'mountPoints'. vName :: Lens' Volume (Maybe Text) vName = lens _vName (\ s a -> s{_vName = a}); --- | The contents of the 'host' parameter determine whether your data volume--- persists on the host container instance and where it is stored. If the--- host parameter is empty, then the Docker daemon assigns a host path for--- your data volume, but the data is not guaranteed to persist after the--- containers associated with it stop running.+-- | The contents of the 'host' parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running. vHost :: Lens' Volume (Maybe HostVolumeProperties) vHost = lens _vHost (\ s a -> s{_vHost = a}); @@ -2505,9 +2105,7 @@ vfSourceContainer :: Lens' VolumeFrom (Maybe Text) vfSourceContainer = lens _vfSourceContainer (\ s a -> s{_vfSourceContainer = a}); --- | If this value is 'true', the container has read-only access to the--- volume. If this value is 'false', then the container can write to the--- volume. The default value is 'false'.+-- | If this value is 'true', the container has read-only access to the volume. If this value is 'false', then the container can write to the volume. The default value is 'false'. vfReadOnly :: Lens' VolumeFrom (Maybe Bool) vfReadOnly = lens _vfReadOnly (\ s a -> s{_vfReadOnly = a});
gen/Network/AWS/ECS/UpdateContainerAgent.hs view
@@ -18,18 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates the Amazon ECS container agent on a specified container--- instance. Updating the Amazon ECS container agent does not interrupt--- running tasks or services on the container instance. The process for--- updating the agent differs depending on whether your container instance--- was launched with the Amazon ECS-optimized AMI or another operating--- system.+-- Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent does not interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system. ----- 'UpdateContainerAgent' requires the Amazon ECS-optimized AMI or Amazon--- Linux with the 'ecs-init' service installed and running. For help--- updating the Amazon ECS container agent on other operating systems, see--- <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent Manually Updating the Amazon ECS Container Agent>--- in the /Amazon EC2 Container Service Developer Guide/.+-- 'UpdateContainerAgent' requires the Amazon ECS-optimized AMI or Amazon Linux with the 'ecs-init' service installed and running. For help updating the Amazon ECS container agent on other operating systems, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent Manually Updating the Amazon ECS Container Agent> in the /Amazon EC2 Container Service Developer Guide/. module Network.AWS.ECS.UpdateContainerAgent ( -- * Creating a Request@@ -76,15 +67,11 @@ , _ucaContainerInstance = pContainerInstance_ } --- | The short name or full Amazon Resource Name (ARN) of the cluster that--- your container instance is running on. If you do not specify a cluster,--- the default cluster is assumed.+-- | The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed. ucaCluster :: Lens' UpdateContainerAgent (Maybe Text) ucaCluster = lens _ucaCluster (\ s a -> s{_ucaCluster = a}); --- | The container instance ID or full Amazon Resource Name (ARN) entries for--- the container instance on which you would like to update the Amazon ECS--- container agent.+-- | The container instance ID or full Amazon Resource Name (ARN) entries for the container instance on which you would like to update the Amazon ECS container agent. ucaContainerInstance :: Lens' UpdateContainerAgent Text ucaContainerInstance = lens _ucaContainerInstance (\ s a -> s{_ucaContainerInstance = a});
gen/Network/AWS/ECS/UpdateService.hs view
@@ -18,64 +18,27 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Modifies the desired count, deployment configuration, or task definition--- used in a service.+-- Modifies the desired count, deployment configuration, or task definition used in a service. ----- You can add to or subtract from the number of instantiations of a task--- definition in a service by specifying the cluster that the service is--- running in and a new 'desiredCount' parameter.+-- You can add to or subtract from the number of instantiations of a task definition in a service by specifying the cluster that the service is running in and a new 'desiredCount' parameter. ----- You can use < UpdateService> to modify your task definition and deploy a--- new version of your service.+-- You can use < UpdateService> to modify your task definition and deploy a new version of your service. ----- You can also update the deployment configuration of a service. When a--- deployment is triggered by updating the task definition of a service,--- the service scheduler uses the deployment configuration parameters,--- 'minimumHealthyPercent' and 'maximumPercent', to determine the--- deployment strategy.+-- You can also update the deployment configuration of a service. When a deployment is triggered by updating the task definition of a service, the service scheduler uses the deployment configuration parameters, 'minimumHealthyPercent' and 'maximumPercent', to determine the deployment strategy. ----- If the 'minimumHealthyPercent' is below 100%, the scheduler can ignore--- the 'desiredCount' temporarily during a deployment. For example, if your--- service has a 'desiredCount' of four tasks, a 'minimumHealthyPercent' of--- 50% allows the scheduler to stop two existing tasks before starting two--- new tasks. Tasks for services that /do not/ use a load balancer are--- considered healthy if they are in the 'RUNNING' state; tasks for--- services that /do/ use a load balancer are considered healthy if they--- are in the 'RUNNING' state and the container instance it is hosted on is--- reported as healthy by the load balancer.+-- If the 'minimumHealthyPercent' is below 100%, the scheduler can ignore the 'desiredCount' temporarily during a deployment. For example, if your service has a 'desiredCount' of four tasks, a 'minimumHealthyPercent' of 50% allows the scheduler to stop two existing tasks before starting two new tasks. Tasks for services that /do not/ use a load balancer are considered healthy if they are in the 'RUNNING' state; tasks for services that /do/ use a load balancer are considered healthy if they are in the 'RUNNING' state and the container instance it is hosted on is reported as healthy by the load balancer. ----- The 'maximumPercent' parameter represents an upper limit on the number--- of running tasks during a deployment, which enables you to define the--- deployment batch size. For example, if your service has a 'desiredCount'--- of four tasks, a 'maximumPercent' value of 200% starts four new tasks--- before stopping the four older tasks (provided that the cluster--- resources required to do this are available).+-- The 'maximumPercent' parameter represents an upper limit on the number of running tasks during a deployment, which enables you to define the deployment batch size. For example, if your service has a 'desiredCount' of four tasks, a 'maximumPercent' value of 200% starts four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). ----- When < UpdateService> stops a task during a deployment, the equivalent--- of 'docker stop' is issued to the containers running in the task. This--- results in a 'SIGTERM' and a 30-second timeout, after which 'SIGKILL' is--- sent and the containers are forcibly stopped. If the container handles--- the 'SIGTERM' gracefully and exits within 30 seconds from receiving it,--- no 'SIGKILL' is sent.+-- When < UpdateService> stops a task during a deployment, the equivalent of 'docker stop' is issued to the containers running in the task. This results in a 'SIGTERM' and a 30-second timeout, after which 'SIGKILL' is sent and the containers are forcibly stopped. If the container handles the 'SIGTERM' gracefully and exits within 30 seconds from receiving it, no 'SIGKILL' is sent. ----- When the service scheduler launches new tasks, it attempts to balance--- them across the Availability Zones in your cluster with the following--- logic:+-- When the service scheduler launches new tasks, it attempts to balance them across the Availability Zones in your cluster with the following logic: ----- - Determine which of the container instances in your cluster can--- support your service\'s task definition (for example, they have the--- required CPU, memory, ports, and container instance attributes).+-- - Determine which of the container instances in your cluster can support your service\'s task definition (for example, they have the required CPU, memory, ports, and container instance attributes). ----- - Sort the valid container instances by the fewest number of running--- tasks for this service in the same Availability Zone as the--- instance. For example, if zone A has one running service task and--- zones B and C each have zero, valid container instances in either--- zone B or C are considered optimal for placement.+-- - Sort the valid container instances by the fewest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have zero, valid container instances in either zone B or C are considered optimal for placement. ----- - Place the new service task on a valid container instance in an--- optimal Availability Zone (based on the previous steps), favoring--- container instances with the fewest number of running tasks for this--- service.+-- - Place the new service task on a valid container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the fewest number of running tasks for this service. -- module Network.AWS.ECS.UpdateService (@@ -138,28 +101,19 @@ , _usService = pService_ } --- | The short name or full Amazon Resource Name (ARN) of the cluster that--- your service is running on. If you do not specify a cluster, the default--- cluster is assumed.+-- | The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed. usCluster :: Lens' UpdateService (Maybe Text) usCluster = lens _usCluster (\ s a -> s{_usCluster = a}); --- | The number of instantiations of the task to place and keep running in--- your service.+-- | The number of instantiations of the task to place and keep running in your service. usDesiredCount :: Lens' UpdateService (Maybe Int) usDesiredCount = lens _usDesiredCount (\ s a -> s{_usDesiredCount = a}); --- | The 'family' and 'revision' ('family:revision') or full Amazon Resource--- Name (ARN) of the task definition to run in your service. If a--- 'revision' is not specified, the latest 'ACTIVE' revision is used. If--- you modify the task definition with 'UpdateService', Amazon ECS spawns a--- task with the new version of the task definition and then stops an old--- task after the new version is running.+-- | The 'family' and 'revision' ('family:revision') or full Amazon Resource Name (ARN) of the task definition to run in your service. If a 'revision' is not specified, the latest 'ACTIVE' revision is used. If you modify the task definition with 'UpdateService', Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running. usTaskDefinition :: Lens' UpdateService (Maybe Text) usTaskDefinition = lens _usTaskDefinition (\ s a -> s{_usTaskDefinition = a}); --- | Optional deployment parameters that control how many tasks run during--- the deployment and the ordering of stopping and starting tasks.+-- | Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks. usDeploymentConfiguration :: Lens' UpdateService (Maybe DeploymentConfiguration) usDeploymentConfiguration = lens _usDeploymentConfiguration (\ s a -> s{_usDeploymentConfiguration = a});
test/Test/AWS/Gen/ECS.hs view
@@ -28,169 +28,169 @@ -- fixtures :: TestTree -- fixtures = -- [ testGroup "request"--- [ testListServices $+-- [ requestListServices $ -- listServices ----- , testDescribeClusters $+-- , requestDescribeClusters $ -- describeClusters ----- , testDeleteService $+-- , requestDeleteService $ -- deleteService ----- , testUpdateService $+-- , requestUpdateService $ -- updateService ----- , testDiscoverPollEndpoint $+-- , requestDiscoverPollEndpoint $ -- discoverPollEndpoint ----- , testSubmitContainerStateChange $+-- , requestSubmitContainerStateChange $ -- submitContainerStateChange ----- , testStopTask $+-- , requestStopTask $ -- stopTask ----- , testDescribeTaskDefinition $+-- , requestDescribeTaskDefinition $ -- describeTaskDefinition ----- , testSubmitTaskStateChange $+-- , requestSubmitTaskStateChange $ -- submitTaskStateChange ----- , testDescribeContainerInstances $+-- , requestDescribeContainerInstances $ -- describeContainerInstances ----- , testDeleteCluster $+-- , requestDeleteCluster $ -- deleteCluster ----- , testCreateCluster $+-- , requestCreateCluster $ -- createCluster ----- , testListTaskDefinitions $+-- , requestListTaskDefinitions $ -- listTaskDefinitions ----- , testRunTask $+-- , requestRunTask $ -- runTask ----- , testListTasks $+-- , requestListTasks $ -- listTasks ----- , testRegisterContainerInstance $+-- , requestRegisterContainerInstance $ -- registerContainerInstance ----- , testUpdateContainerAgent $+-- , requestUpdateContainerAgent $ -- updateContainerAgent ----- , testListContainerInstances $+-- , requestListContainerInstances $ -- listContainerInstances ----- , testListTaskDefinitionFamilies $+-- , requestListTaskDefinitionFamilies $ -- listTaskDefinitionFamilies ----- , testStartTask $+-- , requestStartTask $ -- startTask ----- , testDeregisterTaskDefinition $+-- , requestDeregisterTaskDefinition $ -- deregisterTaskDefinition ----- , testDescribeTasks $+-- , requestDescribeTasks $ -- describeTasks ----- , testListClusters $+-- , requestListClusters $ -- listClusters ----- , testDescribeServices $+-- , requestDescribeServices $ -- describeServices ----- , testDeregisterContainerInstance $+-- , requestDeregisterContainerInstance $ -- deregisterContainerInstance ----- , testRegisterTaskDefinition $+-- , requestRegisterTaskDefinition $ -- registerTaskDefinition ----- , testCreateService $+-- , requestCreateService $ -- createService -- -- ] -- , testGroup "response"--- [ testListServicesResponse $+-- [ responseListServices $ -- listServicesResponse ----- , testDescribeClustersResponse $+-- , responseDescribeClusters $ -- describeClustersResponse ----- , testDeleteServiceResponse $+-- , responseDeleteService $ -- deleteServiceResponse ----- , testUpdateServiceResponse $+-- , responseUpdateService $ -- updateServiceResponse ----- , testDiscoverPollEndpointResponse $+-- , responseDiscoverPollEndpoint $ -- discoverPollEndpointResponse ----- , testSubmitContainerStateChangeResponse $+-- , responseSubmitContainerStateChange $ -- submitContainerStateChangeResponse ----- , testStopTaskResponse $+-- , responseStopTask $ -- stopTaskResponse ----- , testDescribeTaskDefinitionResponse $+-- , responseDescribeTaskDefinition $ -- describeTaskDefinitionResponse ----- , testSubmitTaskStateChangeResponse $+-- , responseSubmitTaskStateChange $ -- submitTaskStateChangeResponse ----- , testDescribeContainerInstancesResponse $+-- , responseDescribeContainerInstances $ -- describeContainerInstancesResponse ----- , testDeleteClusterResponse $+-- , responseDeleteCluster $ -- deleteClusterResponse ----- , testCreateClusterResponse $+-- , responseCreateCluster $ -- createClusterResponse ----- , testListTaskDefinitionsResponse $+-- , responseListTaskDefinitions $ -- listTaskDefinitionsResponse ----- , testRunTaskResponse $+-- , responseRunTask $ -- runTaskResponse ----- , testListTasksResponse $+-- , responseListTasks $ -- listTasksResponse ----- , testRegisterContainerInstanceResponse $+-- , responseRegisterContainerInstance $ -- registerContainerInstanceResponse ----- , testUpdateContainerAgentResponse $+-- , responseUpdateContainerAgent $ -- updateContainerAgentResponse ----- , testListContainerInstancesResponse $+-- , responseListContainerInstances $ -- listContainerInstancesResponse ----- , testListTaskDefinitionFamiliesResponse $+-- , responseListTaskDefinitionFamilies $ -- listTaskDefinitionFamiliesResponse ----- , testStartTaskResponse $+-- , responseStartTask $ -- startTaskResponse ----- , testDeregisterTaskDefinitionResponse $+-- , responseDeregisterTaskDefinition $ -- deregisterTaskDefinitionResponse ----- , testDescribeTasksResponse $+-- , responseDescribeTasks $ -- describeTasksResponse ----- , testListClustersResponse $+-- , responseListClusters $ -- listClustersResponse ----- , testDescribeServicesResponse $+-- , responseDescribeServices $ -- describeServicesResponse ----- , testDeregisterContainerInstanceResponse $+-- , responseDeregisterContainerInstance $ -- deregisterContainerInstanceResponse ----- , testRegisterTaskDefinitionResponse $+-- , responseRegisterTaskDefinition $ -- registerTaskDefinitionResponse ----- , testCreateServiceResponse $+-- , responseCreateService $ -- createServiceResponse -- -- ]@@ -198,327 +198,327 @@ -- Requests -testListServices :: ListServices -> TestTree-testListServices = req+requestListServices :: ListServices -> TestTree+requestListServices = req "ListServices" "fixture/ListServices.yaml" -testDescribeClusters :: DescribeClusters -> TestTree-testDescribeClusters = req+requestDescribeClusters :: DescribeClusters -> TestTree+requestDescribeClusters = req "DescribeClusters" "fixture/DescribeClusters.yaml" -testDeleteService :: DeleteService -> TestTree-testDeleteService = req+requestDeleteService :: DeleteService -> TestTree+requestDeleteService = req "DeleteService" "fixture/DeleteService.yaml" -testUpdateService :: UpdateService -> TestTree-testUpdateService = req+requestUpdateService :: UpdateService -> TestTree+requestUpdateService = req "UpdateService" "fixture/UpdateService.yaml" -testDiscoverPollEndpoint :: DiscoverPollEndpoint -> TestTree-testDiscoverPollEndpoint = req+requestDiscoverPollEndpoint :: DiscoverPollEndpoint -> TestTree+requestDiscoverPollEndpoint = req "DiscoverPollEndpoint" "fixture/DiscoverPollEndpoint.yaml" -testSubmitContainerStateChange :: SubmitContainerStateChange -> TestTree-testSubmitContainerStateChange = req+requestSubmitContainerStateChange :: SubmitContainerStateChange -> TestTree+requestSubmitContainerStateChange = req "SubmitContainerStateChange" "fixture/SubmitContainerStateChange.yaml" -testStopTask :: StopTask -> TestTree-testStopTask = req+requestStopTask :: StopTask -> TestTree+requestStopTask = req "StopTask" "fixture/StopTask.yaml" -testDescribeTaskDefinition :: DescribeTaskDefinition -> TestTree-testDescribeTaskDefinition = req+requestDescribeTaskDefinition :: DescribeTaskDefinition -> TestTree+requestDescribeTaskDefinition = req "DescribeTaskDefinition" "fixture/DescribeTaskDefinition.yaml" -testSubmitTaskStateChange :: SubmitTaskStateChange -> TestTree-testSubmitTaskStateChange = req+requestSubmitTaskStateChange :: SubmitTaskStateChange -> TestTree+requestSubmitTaskStateChange = req "SubmitTaskStateChange" "fixture/SubmitTaskStateChange.yaml" -testDescribeContainerInstances :: DescribeContainerInstances -> TestTree-testDescribeContainerInstances = req+requestDescribeContainerInstances :: DescribeContainerInstances -> TestTree+requestDescribeContainerInstances = req "DescribeContainerInstances" "fixture/DescribeContainerInstances.yaml" -testDeleteCluster :: DeleteCluster -> TestTree-testDeleteCluster = req+requestDeleteCluster :: DeleteCluster -> TestTree+requestDeleteCluster = req "DeleteCluster" "fixture/DeleteCluster.yaml" -testCreateCluster :: CreateCluster -> TestTree-testCreateCluster = req+requestCreateCluster :: CreateCluster -> TestTree+requestCreateCluster = req "CreateCluster" "fixture/CreateCluster.yaml" -testListTaskDefinitions :: ListTaskDefinitions -> TestTree-testListTaskDefinitions = req+requestListTaskDefinitions :: ListTaskDefinitions -> TestTree+requestListTaskDefinitions = req "ListTaskDefinitions" "fixture/ListTaskDefinitions.yaml" -testRunTask :: RunTask -> TestTree-testRunTask = req+requestRunTask :: RunTask -> TestTree+requestRunTask = req "RunTask" "fixture/RunTask.yaml" -testListTasks :: ListTasks -> TestTree-testListTasks = req+requestListTasks :: ListTasks -> TestTree+requestListTasks = req "ListTasks" "fixture/ListTasks.yaml" -testRegisterContainerInstance :: RegisterContainerInstance -> TestTree-testRegisterContainerInstance = req+requestRegisterContainerInstance :: RegisterContainerInstance -> TestTree+requestRegisterContainerInstance = req "RegisterContainerInstance" "fixture/RegisterContainerInstance.yaml" -testUpdateContainerAgent :: UpdateContainerAgent -> TestTree-testUpdateContainerAgent = req+requestUpdateContainerAgent :: UpdateContainerAgent -> TestTree+requestUpdateContainerAgent = req "UpdateContainerAgent" "fixture/UpdateContainerAgent.yaml" -testListContainerInstances :: ListContainerInstances -> TestTree-testListContainerInstances = req+requestListContainerInstances :: ListContainerInstances -> TestTree+requestListContainerInstances = req "ListContainerInstances" "fixture/ListContainerInstances.yaml" -testListTaskDefinitionFamilies :: ListTaskDefinitionFamilies -> TestTree-testListTaskDefinitionFamilies = req+requestListTaskDefinitionFamilies :: ListTaskDefinitionFamilies -> TestTree+requestListTaskDefinitionFamilies = req "ListTaskDefinitionFamilies" "fixture/ListTaskDefinitionFamilies.yaml" -testStartTask :: StartTask -> TestTree-testStartTask = req+requestStartTask :: StartTask -> TestTree+requestStartTask = req "StartTask" "fixture/StartTask.yaml" -testDeregisterTaskDefinition :: DeregisterTaskDefinition -> TestTree-testDeregisterTaskDefinition = req+requestDeregisterTaskDefinition :: DeregisterTaskDefinition -> TestTree+requestDeregisterTaskDefinition = req "DeregisterTaskDefinition" "fixture/DeregisterTaskDefinition.yaml" -testDescribeTasks :: DescribeTasks -> TestTree-testDescribeTasks = req+requestDescribeTasks :: DescribeTasks -> TestTree+requestDescribeTasks = req "DescribeTasks" "fixture/DescribeTasks.yaml" -testListClusters :: ListClusters -> TestTree-testListClusters = req+requestListClusters :: ListClusters -> TestTree+requestListClusters = req "ListClusters" "fixture/ListClusters.yaml" -testDescribeServices :: DescribeServices -> TestTree-testDescribeServices = req+requestDescribeServices :: DescribeServices -> TestTree+requestDescribeServices = req "DescribeServices" "fixture/DescribeServices.yaml" -testDeregisterContainerInstance :: DeregisterContainerInstance -> TestTree-testDeregisterContainerInstance = req+requestDeregisterContainerInstance :: DeregisterContainerInstance -> TestTree+requestDeregisterContainerInstance = req "DeregisterContainerInstance" "fixture/DeregisterContainerInstance.yaml" -testRegisterTaskDefinition :: RegisterTaskDefinition -> TestTree-testRegisterTaskDefinition = req+requestRegisterTaskDefinition :: RegisterTaskDefinition -> TestTree+requestRegisterTaskDefinition = req "RegisterTaskDefinition" "fixture/RegisterTaskDefinition.yaml" -testCreateService :: CreateService -> TestTree-testCreateService = req+requestCreateService :: CreateService -> TestTree+requestCreateService = req "CreateService" "fixture/CreateService.yaml" -- Responses -testListServicesResponse :: ListServicesResponse -> TestTree-testListServicesResponse = res+responseListServices :: ListServicesResponse -> TestTree+responseListServices = res "ListServicesResponse" "fixture/ListServicesResponse.proto" ecs (Proxy :: Proxy ListServices) -testDescribeClustersResponse :: DescribeClustersResponse -> TestTree-testDescribeClustersResponse = res+responseDescribeClusters :: DescribeClustersResponse -> TestTree+responseDescribeClusters = res "DescribeClustersResponse" "fixture/DescribeClustersResponse.proto" ecs (Proxy :: Proxy DescribeClusters) -testDeleteServiceResponse :: DeleteServiceResponse -> TestTree-testDeleteServiceResponse = res+responseDeleteService :: DeleteServiceResponse -> TestTree+responseDeleteService = res "DeleteServiceResponse" "fixture/DeleteServiceResponse.proto" ecs (Proxy :: Proxy DeleteService) -testUpdateServiceResponse :: UpdateServiceResponse -> TestTree-testUpdateServiceResponse = res+responseUpdateService :: UpdateServiceResponse -> TestTree+responseUpdateService = res "UpdateServiceResponse" "fixture/UpdateServiceResponse.proto" ecs (Proxy :: Proxy UpdateService) -testDiscoverPollEndpointResponse :: DiscoverPollEndpointResponse -> TestTree-testDiscoverPollEndpointResponse = res+responseDiscoverPollEndpoint :: DiscoverPollEndpointResponse -> TestTree+responseDiscoverPollEndpoint = res "DiscoverPollEndpointResponse" "fixture/DiscoverPollEndpointResponse.proto" ecs (Proxy :: Proxy DiscoverPollEndpoint) -testSubmitContainerStateChangeResponse :: SubmitContainerStateChangeResponse -> TestTree-testSubmitContainerStateChangeResponse = res+responseSubmitContainerStateChange :: SubmitContainerStateChangeResponse -> TestTree+responseSubmitContainerStateChange = res "SubmitContainerStateChangeResponse" "fixture/SubmitContainerStateChangeResponse.proto" ecs (Proxy :: Proxy SubmitContainerStateChange) -testStopTaskResponse :: StopTaskResponse -> TestTree-testStopTaskResponse = res+responseStopTask :: StopTaskResponse -> TestTree+responseStopTask = res "StopTaskResponse" "fixture/StopTaskResponse.proto" ecs (Proxy :: Proxy StopTask) -testDescribeTaskDefinitionResponse :: DescribeTaskDefinitionResponse -> TestTree-testDescribeTaskDefinitionResponse = res+responseDescribeTaskDefinition :: DescribeTaskDefinitionResponse -> TestTree+responseDescribeTaskDefinition = res "DescribeTaskDefinitionResponse" "fixture/DescribeTaskDefinitionResponse.proto" ecs (Proxy :: Proxy DescribeTaskDefinition) -testSubmitTaskStateChangeResponse :: SubmitTaskStateChangeResponse -> TestTree-testSubmitTaskStateChangeResponse = res+responseSubmitTaskStateChange :: SubmitTaskStateChangeResponse -> TestTree+responseSubmitTaskStateChange = res "SubmitTaskStateChangeResponse" "fixture/SubmitTaskStateChangeResponse.proto" ecs (Proxy :: Proxy SubmitTaskStateChange) -testDescribeContainerInstancesResponse :: DescribeContainerInstancesResponse -> TestTree-testDescribeContainerInstancesResponse = res+responseDescribeContainerInstances :: DescribeContainerInstancesResponse -> TestTree+responseDescribeContainerInstances = res "DescribeContainerInstancesResponse" "fixture/DescribeContainerInstancesResponse.proto" ecs (Proxy :: Proxy DescribeContainerInstances) -testDeleteClusterResponse :: DeleteClusterResponse -> TestTree-testDeleteClusterResponse = res+responseDeleteCluster :: DeleteClusterResponse -> TestTree+responseDeleteCluster = res "DeleteClusterResponse" "fixture/DeleteClusterResponse.proto" ecs (Proxy :: Proxy DeleteCluster) -testCreateClusterResponse :: CreateClusterResponse -> TestTree-testCreateClusterResponse = res+responseCreateCluster :: CreateClusterResponse -> TestTree+responseCreateCluster = res "CreateClusterResponse" "fixture/CreateClusterResponse.proto" ecs (Proxy :: Proxy CreateCluster) -testListTaskDefinitionsResponse :: ListTaskDefinitionsResponse -> TestTree-testListTaskDefinitionsResponse = res+responseListTaskDefinitions :: ListTaskDefinitionsResponse -> TestTree+responseListTaskDefinitions = res "ListTaskDefinitionsResponse" "fixture/ListTaskDefinitionsResponse.proto" ecs (Proxy :: Proxy ListTaskDefinitions) -testRunTaskResponse :: RunTaskResponse -> TestTree-testRunTaskResponse = res+responseRunTask :: RunTaskResponse -> TestTree+responseRunTask = res "RunTaskResponse" "fixture/RunTaskResponse.proto" ecs (Proxy :: Proxy RunTask) -testListTasksResponse :: ListTasksResponse -> TestTree-testListTasksResponse = res+responseListTasks :: ListTasksResponse -> TestTree+responseListTasks = res "ListTasksResponse" "fixture/ListTasksResponse.proto" ecs (Proxy :: Proxy ListTasks) -testRegisterContainerInstanceResponse :: RegisterContainerInstanceResponse -> TestTree-testRegisterContainerInstanceResponse = res+responseRegisterContainerInstance :: RegisterContainerInstanceResponse -> TestTree+responseRegisterContainerInstance = res "RegisterContainerInstanceResponse" "fixture/RegisterContainerInstanceResponse.proto" ecs (Proxy :: Proxy RegisterContainerInstance) -testUpdateContainerAgentResponse :: UpdateContainerAgentResponse -> TestTree-testUpdateContainerAgentResponse = res+responseUpdateContainerAgent :: UpdateContainerAgentResponse -> TestTree+responseUpdateContainerAgent = res "UpdateContainerAgentResponse" "fixture/UpdateContainerAgentResponse.proto" ecs (Proxy :: Proxy UpdateContainerAgent) -testListContainerInstancesResponse :: ListContainerInstancesResponse -> TestTree-testListContainerInstancesResponse = res+responseListContainerInstances :: ListContainerInstancesResponse -> TestTree+responseListContainerInstances = res "ListContainerInstancesResponse" "fixture/ListContainerInstancesResponse.proto" ecs (Proxy :: Proxy ListContainerInstances) -testListTaskDefinitionFamiliesResponse :: ListTaskDefinitionFamiliesResponse -> TestTree-testListTaskDefinitionFamiliesResponse = res+responseListTaskDefinitionFamilies :: ListTaskDefinitionFamiliesResponse -> TestTree+responseListTaskDefinitionFamilies = res "ListTaskDefinitionFamiliesResponse" "fixture/ListTaskDefinitionFamiliesResponse.proto" ecs (Proxy :: Proxy ListTaskDefinitionFamilies) -testStartTaskResponse :: StartTaskResponse -> TestTree-testStartTaskResponse = res+responseStartTask :: StartTaskResponse -> TestTree+responseStartTask = res "StartTaskResponse" "fixture/StartTaskResponse.proto" ecs (Proxy :: Proxy StartTask) -testDeregisterTaskDefinitionResponse :: DeregisterTaskDefinitionResponse -> TestTree-testDeregisterTaskDefinitionResponse = res+responseDeregisterTaskDefinition :: DeregisterTaskDefinitionResponse -> TestTree+responseDeregisterTaskDefinition = res "DeregisterTaskDefinitionResponse" "fixture/DeregisterTaskDefinitionResponse.proto" ecs (Proxy :: Proxy DeregisterTaskDefinition) -testDescribeTasksResponse :: DescribeTasksResponse -> TestTree-testDescribeTasksResponse = res+responseDescribeTasks :: DescribeTasksResponse -> TestTree+responseDescribeTasks = res "DescribeTasksResponse" "fixture/DescribeTasksResponse.proto" ecs (Proxy :: Proxy DescribeTasks) -testListClustersResponse :: ListClustersResponse -> TestTree-testListClustersResponse = res+responseListClusters :: ListClustersResponse -> TestTree+responseListClusters = res "ListClustersResponse" "fixture/ListClustersResponse.proto" ecs (Proxy :: Proxy ListClusters) -testDescribeServicesResponse :: DescribeServicesResponse -> TestTree-testDescribeServicesResponse = res+responseDescribeServices :: DescribeServicesResponse -> TestTree+responseDescribeServices = res "DescribeServicesResponse" "fixture/DescribeServicesResponse.proto" ecs (Proxy :: Proxy DescribeServices) -testDeregisterContainerInstanceResponse :: DeregisterContainerInstanceResponse -> TestTree-testDeregisterContainerInstanceResponse = res+responseDeregisterContainerInstance :: DeregisterContainerInstanceResponse -> TestTree+responseDeregisterContainerInstance = res "DeregisterContainerInstanceResponse" "fixture/DeregisterContainerInstanceResponse.proto" ecs (Proxy :: Proxy DeregisterContainerInstance) -testRegisterTaskDefinitionResponse :: RegisterTaskDefinitionResponse -> TestTree-testRegisterTaskDefinitionResponse = res+responseRegisterTaskDefinition :: RegisterTaskDefinitionResponse -> TestTree+responseRegisterTaskDefinition = res "RegisterTaskDefinitionResponse" "fixture/RegisterTaskDefinitionResponse.proto" ecs (Proxy :: Proxy RegisterTaskDefinition) -testCreateServiceResponse :: CreateServiceResponse -> TestTree-testCreateServiceResponse = res+responseCreateService :: CreateServiceResponse -> TestTree+responseCreateService = res "CreateServiceResponse" "fixture/CreateServiceResponse.proto" ecs