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 |
Describes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image.
Synopsis
- data DescribeWorkspaceImagePermissions = DescribeWorkspaceImagePermissions' {}
- newDescribeWorkspaceImagePermissions :: Text -> DescribeWorkspaceImagePermissions
- describeWorkspaceImagePermissions_nextToken :: Lens' DescribeWorkspaceImagePermissions (Maybe Text)
- describeWorkspaceImagePermissions_maxResults :: Lens' DescribeWorkspaceImagePermissions (Maybe Natural)
- describeWorkspaceImagePermissions_imageId :: Lens' DescribeWorkspaceImagePermissions Text
- data DescribeWorkspaceImagePermissionsResponse = DescribeWorkspaceImagePermissionsResponse' {
- imagePermissions :: Maybe [ImagePermission]
- nextToken :: Maybe Text
- imageId :: Maybe Text
- httpStatus :: Int
- newDescribeWorkspaceImagePermissionsResponse :: Int -> DescribeWorkspaceImagePermissionsResponse
- describeWorkspaceImagePermissionsResponse_imagePermissions :: Lens' DescribeWorkspaceImagePermissionsResponse (Maybe [ImagePermission])
- describeWorkspaceImagePermissionsResponse_nextToken :: Lens' DescribeWorkspaceImagePermissionsResponse (Maybe Text)
- describeWorkspaceImagePermissionsResponse_imageId :: Lens' DescribeWorkspaceImagePermissionsResponse (Maybe Text)
- describeWorkspaceImagePermissionsResponse_httpStatus :: Lens' DescribeWorkspaceImagePermissionsResponse Int
Creating a Request
data DescribeWorkspaceImagePermissions Source #
See: newDescribeWorkspaceImagePermissions
smart constructor.
Instances
newDescribeWorkspaceImagePermissions Source #
Create a value of DescribeWorkspaceImagePermissions
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:nextToken:DescribeWorkspaceImagePermissions'
, describeWorkspaceImagePermissions_nextToken
- If you received a NextToken
from a previous call that was paginated,
provide this token to receive the next set of results.
$sel:maxResults:DescribeWorkspaceImagePermissions'
, describeWorkspaceImagePermissions_maxResults
- The maximum number of items to return.
$sel:imageId:DescribeWorkspaceImagePermissions'
, describeWorkspaceImagePermissions_imageId
- The identifier of the image.
Request Lenses
describeWorkspaceImagePermissions_nextToken :: Lens' DescribeWorkspaceImagePermissions (Maybe Text) Source #
If you received a NextToken
from a previous call that was paginated,
provide this token to receive the next set of results.
describeWorkspaceImagePermissions_maxResults :: Lens' DescribeWorkspaceImagePermissions (Maybe Natural) Source #
The maximum number of items to return.
describeWorkspaceImagePermissions_imageId :: Lens' DescribeWorkspaceImagePermissions Text Source #
The identifier of the image.
Destructuring the Response
data DescribeWorkspaceImagePermissionsResponse Source #
See: newDescribeWorkspaceImagePermissionsResponse
smart constructor.
DescribeWorkspaceImagePermissionsResponse' | |
|
Instances
newDescribeWorkspaceImagePermissionsResponse Source #
Create a value of DescribeWorkspaceImagePermissionsResponse
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:imagePermissions:DescribeWorkspaceImagePermissionsResponse'
, describeWorkspaceImagePermissionsResponse_imagePermissions
- The identifiers of the Amazon Web Services accounts that the image has
been shared with.
$sel:nextToken:DescribeWorkspaceImagePermissions'
, describeWorkspaceImagePermissionsResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:imageId:DescribeWorkspaceImagePermissions'
, describeWorkspaceImagePermissionsResponse_imageId
- The identifier of the image.
$sel:httpStatus:DescribeWorkspaceImagePermissionsResponse'
, describeWorkspaceImagePermissionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeWorkspaceImagePermissionsResponse_imagePermissions :: Lens' DescribeWorkspaceImagePermissionsResponse (Maybe [ImagePermission]) Source #
The identifiers of the Amazon Web Services accounts that the image has been shared with.
describeWorkspaceImagePermissionsResponse_nextToken :: Lens' DescribeWorkspaceImagePermissionsResponse (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.
describeWorkspaceImagePermissionsResponse_imageId :: Lens' DescribeWorkspaceImagePermissionsResponse (Maybe Text) Source #
The identifier of the image.
describeWorkspaceImagePermissionsResponse_httpStatus :: Lens' DescribeWorkspaceImagePermissionsResponse Int Source #
The response's http status code.