amazonka-workspaces-1.6.0: Amazon WorkSpaces 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.WorkSpaces.DescribeWorkspaceBundles

Contents

Description

Describes the available WorkSpace bundles.

You can filter the results using either bundle ID or owner, but not both.

This operation returns paginated results.

Synopsis

Creating a Request

describeWorkspaceBundles :: DescribeWorkspaceBundles Source #

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

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

  • dwbBundleIds - The IDs of the bundles. This parameter cannot be combined with any other filter.
  • dwbOwner - The owner of the bundles. This parameter cannot be combined with any other filter. Specify AMAZON to describe the bundles provided by AWS or null to describe the bundles that belong to your account.
  • dwbNextToken - The token for the next set of results. (You received this token from a previous call.)

data DescribeWorkspaceBundles Source #

See: describeWorkspaceBundles smart constructor.

Instances

Eq DescribeWorkspaceBundles Source # 
Data DescribeWorkspaceBundles Source # 

Methods

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

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

toConstr :: DescribeWorkspaceBundles -> Constr #

dataTypeOf :: DescribeWorkspaceBundles -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeWorkspaceBundles Source # 
Show DescribeWorkspaceBundles Source # 
Generic DescribeWorkspaceBundles Source # 
Hashable DescribeWorkspaceBundles Source # 
ToJSON DescribeWorkspaceBundles Source # 
NFData DescribeWorkspaceBundles Source # 
AWSPager DescribeWorkspaceBundles Source # 
AWSRequest DescribeWorkspaceBundles Source # 
ToHeaders DescribeWorkspaceBundles Source # 
ToPath DescribeWorkspaceBundles Source # 
ToQuery DescribeWorkspaceBundles Source # 
type Rep DescribeWorkspaceBundles Source # 
type Rep DescribeWorkspaceBundles = D1 * (MetaData "DescribeWorkspaceBundles" "Network.AWS.WorkSpaces.DescribeWorkspaceBundles" "amazonka-workspaces-1.6.0-AwHYwyt6ovyA3XlaTDhfeV" False) (C1 * (MetaCons "DescribeWorkspaceBundles'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dwbBundleIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (List1 Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dwbOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dwbNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))
type Rs DescribeWorkspaceBundles Source # 

Request Lenses

dwbBundleIds :: Lens' DescribeWorkspaceBundles (Maybe (NonEmpty Text)) Source #

The IDs of the bundles. This parameter cannot be combined with any other filter.

dwbOwner :: Lens' DescribeWorkspaceBundles (Maybe Text) Source #

The owner of the bundles. This parameter cannot be combined with any other filter. Specify AMAZON to describe the bundles provided by AWS or null to describe the bundles that belong to your account.

dwbNextToken :: Lens' DescribeWorkspaceBundles (Maybe Text) Source #

The token for the next set of results. (You received this token from a previous call.)

Destructuring the Response

describeWorkspaceBundlesResponse Source #

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

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

  • dwbrsBundles - Information about the bundles.
  • dwbrsNextToken - The token to use to retrieve the next set of results, or null if there are no more results available. This token is valid for one day and must be used within that time frame.
  • dwbrsResponseStatus - -- | The response status code.

data DescribeWorkspaceBundlesResponse Source #

See: describeWorkspaceBundlesResponse smart constructor.

Instances

Eq DescribeWorkspaceBundlesResponse Source # 
Data DescribeWorkspaceBundlesResponse Source # 

Methods

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

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

toConstr :: DescribeWorkspaceBundlesResponse -> Constr #

dataTypeOf :: DescribeWorkspaceBundlesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeWorkspaceBundlesResponse Source # 
Show DescribeWorkspaceBundlesResponse Source # 
Generic DescribeWorkspaceBundlesResponse Source # 
NFData DescribeWorkspaceBundlesResponse Source # 
type Rep DescribeWorkspaceBundlesResponse Source # 
type Rep DescribeWorkspaceBundlesResponse = D1 * (MetaData "DescribeWorkspaceBundlesResponse" "Network.AWS.WorkSpaces.DescribeWorkspaceBundles" "amazonka-workspaces-1.6.0-AwHYwyt6ovyA3XlaTDhfeV" False) (C1 * (MetaCons "DescribeWorkspaceBundlesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dwbrsBundles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [WorkspaceBundle]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dwbrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dwbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dwbrsNextToken :: Lens' DescribeWorkspaceBundlesResponse (Maybe Text) Source #

The token to use to retrieve the next set of results, or null if there are no more results available. This token is valid for one day and must be used within that time frame.