Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Obtains information about the WorkSpace bundles that are available to your account in the specified region.
You can filter the results with either the BundleIds
parameter, or the
Owner
parameter, but not both.
This operation supports pagination with the use of the NextToken
request and response parameters. If more results are available, the
NextToken
response member contains a token that you pass in the next
call to this operation to retrieve the next set of items.
- describeWorkspaceBundles :: DescribeWorkspaceBundles
- data DescribeWorkspaceBundles
- dwbBundleIds :: Lens' DescribeWorkspaceBundles (Maybe (NonEmpty Text))
- dwbOwner :: Lens' DescribeWorkspaceBundles (Maybe Text)
- dwbNextToken :: Lens' DescribeWorkspaceBundles (Maybe Text)
- describeWorkspaceBundlesResponse :: Int -> DescribeWorkspaceBundlesResponse
- data DescribeWorkspaceBundlesResponse
- dwbrsBundles :: Lens' DescribeWorkspaceBundlesResponse [WorkspaceBundle]
- dwbrsNextToken :: Lens' DescribeWorkspaceBundlesResponse (Maybe Text)
- dwbrsResponseStatus :: Lens' DescribeWorkspaceBundlesResponse Int
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:
data DescribeWorkspaceBundles Source #
Contains the inputs for the DescribeWorkspaceBundles operation.
See: describeWorkspaceBundles
smart constructor.
Request Lenses
dwbBundleIds :: Lens' DescribeWorkspaceBundles (Maybe (NonEmpty Text)) Source #
An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
dwbOwner :: Lens' DescribeWorkspaceBundles (Maybe Text) Source #
The owner of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
This contains one of the following values:
- null - Retrieves the bundles that belong to the account making the call.
AMAZON
- Retrieves the bundles that are provided by AWS.
dwbNextToken :: Lens' DescribeWorkspaceBundles (Maybe Text) Source #
The NextToken
value from a previous call to this operation. Pass null
if this is the first 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:
data DescribeWorkspaceBundlesResponse Source #
Contains the results of the DescribeWorkspaceBundles operation.
See: describeWorkspaceBundlesResponse
smart constructor.
Response Lenses
dwbrsBundles :: Lens' DescribeWorkspaceBundlesResponse [WorkspaceBundle] Source #
An array of structures that contain information about the bundles.
dwbrsNextToken :: Lens' DescribeWorkspaceBundlesResponse (Maybe Text) Source #
If not null, more results are available. Pass this value for the
NextToken
parameter in a subsequent call to this operation to retrieve
the next set of items. This token is valid for one day and must be used
within that timeframe.
dwbrsResponseStatus :: Lens' DescribeWorkspaceBundlesResponse Int Source #
The response status code.