amazonka-ecs-1.4.3: 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 definitions). You can filter the results with the familyPrefix parameter.

This operation returns paginated results.

Synopsis

Creating a Request

listTaskDefinitionFamilies :: ListTaskDefinitionFamilies Source #

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:

data ListTaskDefinitionFamilies Source #

See: listTaskDefinitionFamilies smart constructor.

Instances

Eq ListTaskDefinitionFamilies Source # 
Data ListTaskDefinitionFamilies Source # 

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 Source # 
Show ListTaskDefinitionFamilies Source # 
Generic ListTaskDefinitionFamilies Source # 
Hashable ListTaskDefinitionFamilies Source # 
ToJSON ListTaskDefinitionFamilies Source # 
NFData ListTaskDefinitionFamilies Source # 
AWSPager ListTaskDefinitionFamilies Source # 
AWSRequest ListTaskDefinitionFamilies Source # 
ToQuery ListTaskDefinitionFamilies Source # 
ToPath ListTaskDefinitionFamilies Source # 
ToHeaders ListTaskDefinitionFamilies Source # 
type Rep ListTaskDefinitionFamilies Source # 
type Rep ListTaskDefinitionFamilies = D1 (MetaData "ListTaskDefinitionFamilies" "Network.AWS.ECS.ListTaskDefinitionFamilies" "amazonka-ecs-1.4.3-EI6LaLn2ihbBOjQBfPY85t" False) (C1 (MetaCons "ListTaskDefinitionFamilies'" PrefixI True) ((:*:) (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 Source # 

Request Lenses

ltdfFamilyPrefix :: Lens' ListTaskDefinitionFamilies (Maybe Text) Source #

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) Source #

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) Source #

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 Source #

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:

data ListTaskDefinitionFamiliesResponse Source #

See: listTaskDefinitionFamiliesResponse smart constructor.

Instances

Eq ListTaskDefinitionFamiliesResponse Source # 
Data ListTaskDefinitionFamiliesResponse Source # 

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 Source # 
Show ListTaskDefinitionFamiliesResponse Source # 
Generic ListTaskDefinitionFamiliesResponse Source # 
NFData ListTaskDefinitionFamiliesResponse Source # 
type Rep ListTaskDefinitionFamiliesResponse Source # 
type Rep ListTaskDefinitionFamiliesResponse = D1 (MetaData "ListTaskDefinitionFamiliesResponse" "Network.AWS.ECS.ListTaskDefinitionFamilies" "amazonka-ecs-1.4.3-EI6LaLn2ihbBOjQBfPY85t" 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 DecidedStrict) (Rec0 Int)))))

Response Lenses

ltdfrsFamilies :: Lens' ListTaskDefinitionFamiliesResponse [Text] Source #

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

ltdfrsNextToken :: Lens' ListTaskDefinitionFamiliesResponse (Maybe Text) Source #

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.