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

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

Network.AWS.ECS.ListTaskDefinitionFamilies

Contents

Description

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 definition revisions).

You can filter out task definition families that do not contain any ACTIVE task definition revisions by setting the status parameter to ACTIVE . You can also filter the results with the familyPrefix parameter.

This operation returns paginated results.

Synopsis

Creating a Request

listTaskDefinitionFamilies :: ListTaskDefinitionFamilies #

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

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

  • ltdfStatus - The task definition family status with which to filter the ListTaskDefinitionFamilies results. By default, both ACTIVE and INACTIVE task definition families are listed. If this parameter is set to ACTIVE , only task definition families that have an ACTIVE task definition revision are returned. If this parameter is set to INACTIVE , only task definition families that do not have any ACTIVE task definition revisions are returned. If you paginate the resulting output, be sure to keep the status value constant in each subsequent request.
  • ltdfFamilyPrefix - 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.
  • ltdfNextToken - 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.
  • ltdfMaxResults - 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.

data ListTaskDefinitionFamilies #

See: listTaskDefinitionFamilies smart constructor.

Instances

Eq ListTaskDefinitionFamilies # 
Data ListTaskDefinitionFamilies # 

Methods

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

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

toConstr :: ListTaskDefinitionFamilies -> Constr #

dataTypeOf :: ListTaskDefinitionFamilies -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTaskDefinitionFamilies # 
Show ListTaskDefinitionFamilies # 
Generic ListTaskDefinitionFamilies # 
Hashable ListTaskDefinitionFamilies # 
ToJSON ListTaskDefinitionFamilies # 
NFData ListTaskDefinitionFamilies # 
AWSPager ListTaskDefinitionFamilies # 
AWSRequest ListTaskDefinitionFamilies # 
ToQuery ListTaskDefinitionFamilies # 
ToPath ListTaskDefinitionFamilies # 
ToHeaders ListTaskDefinitionFamilies # 
type Rep ListTaskDefinitionFamilies # 
type Rep ListTaskDefinitionFamilies = D1 (MetaData "ListTaskDefinitionFamilies" "Network.AWS.ECS.ListTaskDefinitionFamilies" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "ListTaskDefinitionFamilies'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ltdfStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TaskDefinitionFamilyStatus))) (S1 (MetaSel (Just Symbol "_ltdfFamilyPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ltdfNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltdfMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs ListTaskDefinitionFamilies # 

Request Lenses

ltdfStatus :: Lens' ListTaskDefinitionFamilies (Maybe TaskDefinitionFamilyStatus) #

The task definition family status with which to filter the ListTaskDefinitionFamilies results. By default, both ACTIVE and INACTIVE task definition families are listed. If this parameter is set to ACTIVE , only task definition families that have an ACTIVE task definition revision are returned. If this parameter is set to INACTIVE , only task definition families that do not have any ACTIVE task definition revisions are returned. If you paginate the resulting output, be sure to keep the status value constant in each subsequent request.

ltdfFamilyPrefix :: Lens' ListTaskDefinitionFamilies (Maybe Text) #

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.

ltdfNextToken :: Lens' ListTaskDefinitionFamilies (Maybe Text) #

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.

ltdfMaxResults :: Lens' ListTaskDefinitionFamilies (Maybe Int) #

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.

Destructuring the Response

listTaskDefinitionFamiliesResponse #

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

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

  • ltdfrsFamilies - The list of task definition family names that match the ListTaskDefinitionFamilies request.
  • ltdfrsNextToken - 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.
  • ltdfrsResponseStatus - -- | The response status code.

data ListTaskDefinitionFamiliesResponse #

See: listTaskDefinitionFamiliesResponse smart constructor.

Instances

Eq ListTaskDefinitionFamiliesResponse # 
Data ListTaskDefinitionFamiliesResponse # 

Methods

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

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

toConstr :: ListTaskDefinitionFamiliesResponse -> Constr #

dataTypeOf :: ListTaskDefinitionFamiliesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTaskDefinitionFamiliesResponse # 
Show ListTaskDefinitionFamiliesResponse # 
Generic ListTaskDefinitionFamiliesResponse # 
NFData ListTaskDefinitionFamiliesResponse # 
type Rep ListTaskDefinitionFamiliesResponse # 
type Rep ListTaskDefinitionFamiliesResponse = D1 (MetaData "ListTaskDefinitionFamiliesResponse" "Network.AWS.ECS.ListTaskDefinitionFamilies" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "ListTaskDefinitionFamiliesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltdfrsFamilies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_ltdfrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltdfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ltdfrsFamilies :: Lens' ListTaskDefinitionFamiliesResponse [Text] #

The list of task definition family names that match the ListTaskDefinitionFamilies request.

ltdfrsNextToken :: Lens' ListTaskDefinitionFamiliesResponse (Maybe Text) #

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.