Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the available WorkSpace bundles.
You can filter the results using either bundle ID or owner, but not both.
This operation returns paginated results.
- 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:
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. SpecifyAMAZON
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.
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.
Response Lenses
dwbrsBundles :: Lens' DescribeWorkspaceBundlesResponse [WorkspaceBundle] Source #
Information about the bundles.
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.
dwbrsResponseStatus :: Lens' DescribeWorkspaceBundlesResponse Int Source #
- - | The response status code.