amazonka-devicefarm-1.6.0: Amazon Device Farm 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.DeviceFarm.ListNetworkProfiles

Contents

Description

Returns the list of available network profiles.

Synopsis

Creating a Request

listNetworkProfiles Source #

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

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

  • lnpNextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
  • lnpType - The type of network profile you wish to return information about. Valid values are listed below.
  • lnpArn - The Amazon Resource Name (ARN) of the project for which you want to list network profiles.

data ListNetworkProfiles Source #

See: listNetworkProfiles smart constructor.

Instances

Eq ListNetworkProfiles Source # 
Data ListNetworkProfiles Source # 

Methods

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

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

toConstr :: ListNetworkProfiles -> Constr #

dataTypeOf :: ListNetworkProfiles -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListNetworkProfiles Source # 
Show ListNetworkProfiles Source # 
Generic ListNetworkProfiles Source # 
Hashable ListNetworkProfiles Source # 
ToJSON ListNetworkProfiles Source # 
NFData ListNetworkProfiles Source # 

Methods

rnf :: ListNetworkProfiles -> () #

AWSRequest ListNetworkProfiles Source # 
ToHeaders ListNetworkProfiles Source # 
ToPath ListNetworkProfiles Source # 
ToQuery ListNetworkProfiles Source # 
type Rep ListNetworkProfiles Source # 
type Rep ListNetworkProfiles = D1 * (MetaData "ListNetworkProfiles" "Network.AWS.DeviceFarm.ListNetworkProfiles" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "ListNetworkProfiles'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lnpNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lnpType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe NetworkProfileType))) (S1 * (MetaSel (Just Symbol "_lnpArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListNetworkProfiles Source # 

Request Lenses

lnpNextToken :: Lens' ListNetworkProfiles (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

lnpType :: Lens' ListNetworkProfiles (Maybe NetworkProfileType) Source #

The type of network profile you wish to return information about. Valid values are listed below.

lnpArn :: Lens' ListNetworkProfiles Text Source #

The Amazon Resource Name (ARN) of the project for which you want to list network profiles.

Destructuring the Response

listNetworkProfilesResponse Source #

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

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

  • lnprsNetworkProfiles - A list of the available network profiles.
  • lnprsNextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
  • lnprsResponseStatus - -- | The response status code.

data ListNetworkProfilesResponse Source #

See: listNetworkProfilesResponse smart constructor.

Instances

Eq ListNetworkProfilesResponse Source # 
Data ListNetworkProfilesResponse Source # 

Methods

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

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

toConstr :: ListNetworkProfilesResponse -> Constr #

dataTypeOf :: ListNetworkProfilesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListNetworkProfilesResponse Source # 
Show ListNetworkProfilesResponse Source # 
Generic ListNetworkProfilesResponse Source # 
NFData ListNetworkProfilesResponse Source # 
type Rep ListNetworkProfilesResponse Source # 
type Rep ListNetworkProfilesResponse = D1 * (MetaData "ListNetworkProfilesResponse" "Network.AWS.DeviceFarm.ListNetworkProfiles" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "ListNetworkProfilesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lnprsNetworkProfiles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [NetworkProfile]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lnprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lnprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lnprsNetworkProfiles :: Lens' ListNetworkProfilesResponse [NetworkProfile] Source #

A list of the available network profiles.

lnprsNextToken :: Lens' ListNetworkProfilesResponse (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.