amazonka-sagemaker-1.6.0: Amazon SageMaker Service SDK.

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

Network.AWS.SageMaker.ListEndpoints

Contents

Description

Lists endpoints.

This operation returns paginated results.

Synopsis

Creating a Request

listEndpoints :: ListEndpoints Source #

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

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

  • leNameContains - A string in endpoint names. This filter returns only endpoints whose name contains the specified string.
  • leLastModifiedTimeBefore - A filter that returns only endpoints that were modified before the specified timestamp.
  • leCreationTimeAfter - A filter that returns only endpoints that were created after the specified time (timestamp).
  • leNextToken - If the result of a ListEndpoints request was truncated, the response includes a NextToken . To retrieve the next set of endpoints, use the token in the next request.
  • leSortOrder - The sort order for results. The default is Ascending .
  • leLastModifiedTimeAfter - A filter that returns only endpoints that were modified after the specified timestamp.
  • leCreationTimeBefore - A filter that returns only endpoints that were created before the specified time (timestamp).
  • leStatusEquals - A filter that returns only endpoints with the specified status.
  • leMaxResults - The maximum number of endpoints to return in the response.
  • leSortBy - Sorts the list of results. The default is CreationTime .

data ListEndpoints Source #

See: listEndpoints smart constructor.

Instances

Eq ListEndpoints Source # 
Data ListEndpoints Source # 

Methods

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

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

toConstr :: ListEndpoints -> Constr #

dataTypeOf :: ListEndpoints -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListEndpoints Source # 
Show ListEndpoints Source # 
Generic ListEndpoints Source # 

Associated Types

type Rep ListEndpoints :: * -> * #

Hashable ListEndpoints Source # 
ToJSON ListEndpoints Source # 
NFData ListEndpoints Source # 

Methods

rnf :: ListEndpoints -> () #

AWSPager ListEndpoints Source # 
AWSRequest ListEndpoints Source # 
ToHeaders ListEndpoints Source # 
ToPath ListEndpoints Source # 
ToQuery ListEndpoints Source # 
type Rep ListEndpoints Source # 
type Rep ListEndpoints = D1 * (MetaData "ListEndpoints" "Network.AWS.SageMaker.ListEndpoints" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "ListEndpoints'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_leNameContains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_leLastModifiedTimeBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_leCreationTimeAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_leNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_leSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe OrderKey)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_leLastModifiedTimeAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_leCreationTimeBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_leStatusEquals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe EndpointStatus))) ((:*:) * (S1 * (MetaSel (Just Symbol "_leMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_leSortBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe EndpointSortKey))))))))
type Rs ListEndpoints Source # 

Request Lenses

leNameContains :: Lens' ListEndpoints (Maybe Text) Source #

A string in endpoint names. This filter returns only endpoints whose name contains the specified string.

leLastModifiedTimeBefore :: Lens' ListEndpoints (Maybe UTCTime) Source #

A filter that returns only endpoints that were modified before the specified timestamp.

leCreationTimeAfter :: Lens' ListEndpoints (Maybe UTCTime) Source #

A filter that returns only endpoints that were created after the specified time (timestamp).

leNextToken :: Lens' ListEndpoints (Maybe Text) Source #

If the result of a ListEndpoints request was truncated, the response includes a NextToken . To retrieve the next set of endpoints, use the token in the next request.

leSortOrder :: Lens' ListEndpoints (Maybe OrderKey) Source #

The sort order for results. The default is Ascending .

leLastModifiedTimeAfter :: Lens' ListEndpoints (Maybe UTCTime) Source #

A filter that returns only endpoints that were modified after the specified timestamp.

leCreationTimeBefore :: Lens' ListEndpoints (Maybe UTCTime) Source #

A filter that returns only endpoints that were created before the specified time (timestamp).

leStatusEquals :: Lens' ListEndpoints (Maybe EndpointStatus) Source #

A filter that returns only endpoints with the specified status.

leMaxResults :: Lens' ListEndpoints (Maybe Natural) Source #

The maximum number of endpoints to return in the response.

leSortBy :: Lens' ListEndpoints (Maybe EndpointSortKey) Source #

Sorts the list of results. The default is CreationTime .

Destructuring the Response

listEndpointsResponse Source #

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

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

  • lersNextToken - If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of training jobs, use it in the subsequent request.
  • lersResponseStatus - -- | The response status code.
  • lersEndpoints - An array or endpoint objects.

data ListEndpointsResponse Source #

See: listEndpointsResponse smart constructor.

Instances

Eq ListEndpointsResponse Source # 
Data ListEndpointsResponse Source # 

Methods

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

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

toConstr :: ListEndpointsResponse -> Constr #

dataTypeOf :: ListEndpointsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListEndpointsResponse Source # 
Show ListEndpointsResponse Source # 
Generic ListEndpointsResponse Source # 
NFData ListEndpointsResponse Source # 

Methods

rnf :: ListEndpointsResponse -> () #

type Rep ListEndpointsResponse Source # 
type Rep ListEndpointsResponse = D1 * (MetaData "ListEndpointsResponse" "Network.AWS.SageMaker.ListEndpoints" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "ListEndpointsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lersNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_lersEndpoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [EndpointSummary])))))

Response Lenses

lersNextToken :: Lens' ListEndpointsResponse (Maybe Text) Source #

If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of training jobs, use it in the subsequent request.

lersResponseStatus :: Lens' ListEndpointsResponse Int Source #

  • - | The response status code.