Copyright | (c) 2013-2021 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 |
Retrieves a list that 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
- data DescribeWorkspaceBundles = DescribeWorkspaceBundles' {}
- newDescribeWorkspaceBundles :: DescribeWorkspaceBundles
- describeWorkspaceBundles_bundleIds :: Lens' DescribeWorkspaceBundles (Maybe (NonEmpty Text))
- describeWorkspaceBundles_owner :: Lens' DescribeWorkspaceBundles (Maybe Text)
- describeWorkspaceBundles_nextToken :: Lens' DescribeWorkspaceBundles (Maybe Text)
- data DescribeWorkspaceBundlesResponse = DescribeWorkspaceBundlesResponse' {
- bundles :: Maybe [WorkspaceBundle]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeWorkspaceBundlesResponse :: Int -> DescribeWorkspaceBundlesResponse
- describeWorkspaceBundlesResponse_bundles :: Lens' DescribeWorkspaceBundlesResponse (Maybe [WorkspaceBundle])
- describeWorkspaceBundlesResponse_nextToken :: Lens' DescribeWorkspaceBundlesResponse (Maybe Text)
- describeWorkspaceBundlesResponse_httpStatus :: Lens' DescribeWorkspaceBundlesResponse Int
Creating a Request
data DescribeWorkspaceBundles Source #
See: newDescribeWorkspaceBundles
smart constructor.
DescribeWorkspaceBundles' | |
|
Instances
newDescribeWorkspaceBundles :: DescribeWorkspaceBundles Source #
Create a value of DescribeWorkspaceBundles
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bundleIds:DescribeWorkspaceBundles'
, describeWorkspaceBundles_bundleIds
- The identifiers of the bundles. You cannot combine this parameter with
any other filter.
$sel:owner:DescribeWorkspaceBundles'
, describeWorkspaceBundles_owner
- The owner of the bundles. You cannot combine this parameter with any
other filter.
To describe the bundles provided by Amazon Web Services, specify
AMAZON
. To describe the bundles that belong to your account, don't
specify a value.
$sel:nextToken:DescribeWorkspaceBundles'
, describeWorkspaceBundles_nextToken
- The token for the next set of results. (You received this token from a
previous call.)
Request Lenses
describeWorkspaceBundles_bundleIds :: Lens' DescribeWorkspaceBundles (Maybe (NonEmpty Text)) Source #
The identifiers of the bundles. You cannot combine this parameter with any other filter.
describeWorkspaceBundles_owner :: Lens' DescribeWorkspaceBundles (Maybe Text) Source #
The owner of the bundles. You cannot combine this parameter with any other filter.
To describe the bundles provided by Amazon Web Services, specify
AMAZON
. To describe the bundles that belong to your account, don't
specify a value.
describeWorkspaceBundles_nextToken :: Lens' DescribeWorkspaceBundles (Maybe Text) Source #
The token for the next set of results. (You received this token from a previous call.)
Destructuring the Response
data DescribeWorkspaceBundlesResponse Source #
See: newDescribeWorkspaceBundlesResponse
smart constructor.
DescribeWorkspaceBundlesResponse' | |
|
Instances
newDescribeWorkspaceBundlesResponse Source #
Create a value of DescribeWorkspaceBundlesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bundles:DescribeWorkspaceBundlesResponse'
, describeWorkspaceBundlesResponse_bundles
- Information about the bundles.
$sel:nextToken:DescribeWorkspaceBundles'
, describeWorkspaceBundlesResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null when there are no more results to return. This token is valid for
one day and must be used within that time frame.
$sel:httpStatus:DescribeWorkspaceBundlesResponse'
, describeWorkspaceBundlesResponse_httpStatus
- The response's http status code.
Response Lenses
describeWorkspaceBundlesResponse_bundles :: Lens' DescribeWorkspaceBundlesResponse (Maybe [WorkspaceBundle]) Source #
Information about the bundles.
describeWorkspaceBundlesResponse_nextToken :: Lens' DescribeWorkspaceBundlesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is null when there are no more results to return. This token is valid for one day and must be used within that time frame.
describeWorkspaceBundlesResponse_httpStatus :: Lens' DescribeWorkspaceBundlesResponse Int Source #
The response's http status code.