| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppStream.DescribeImagePermissions
Description
Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.
Synopsis
- data DescribeImagePermissions = DescribeImagePermissions' {}
- newDescribeImagePermissions :: Text -> DescribeImagePermissions
- describeImagePermissions_maxResults :: Lens' DescribeImagePermissions (Maybe Natural)
- describeImagePermissions_nextToken :: Lens' DescribeImagePermissions (Maybe Text)
- describeImagePermissions_sharedAwsAccountIds :: Lens' DescribeImagePermissions (Maybe (NonEmpty Text))
- describeImagePermissions_name :: Lens' DescribeImagePermissions Text
- data DescribeImagePermissionsResponse = DescribeImagePermissionsResponse' {}
- newDescribeImagePermissionsResponse :: Int -> DescribeImagePermissionsResponse
- describeImagePermissionsResponse_name :: Lens' DescribeImagePermissionsResponse (Maybe Text)
- describeImagePermissionsResponse_nextToken :: Lens' DescribeImagePermissionsResponse (Maybe Text)
- describeImagePermissionsResponse_sharedImagePermissionsList :: Lens' DescribeImagePermissionsResponse (Maybe [SharedImagePermissions])
- describeImagePermissionsResponse_httpStatus :: Lens' DescribeImagePermissionsResponse Int
Creating a Request
data DescribeImagePermissions Source #
See: newDescribeImagePermissions smart constructor.
Constructors
| DescribeImagePermissions' | |
Fields
| |
Instances
newDescribeImagePermissions Source #
Arguments
| :: Text | |
| -> DescribeImagePermissions |
Create a value of DescribeImagePermissions 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:maxResults:DescribeImagePermissions', describeImagePermissions_maxResults - The maximum size of each page of results.
DescribeImagePermissions, describeImagePermissions_nextToken - The pagination token to use to retrieve the next page of results for
this operation. If this value is null, it retrieves the first page.
$sel:sharedAwsAccountIds:DescribeImagePermissions', describeImagePermissions_sharedAwsAccountIds - The 12-digit identifier of one or more AWS accounts with which the image
is shared.
DescribeImagePermissions, describeImagePermissions_name - The name of the private image for which to describe permissions. The
image must be one that you own.
Request Lenses
describeImagePermissions_maxResults :: Lens' DescribeImagePermissions (Maybe Natural) Source #
The maximum size of each page of results.
describeImagePermissions_nextToken :: Lens' DescribeImagePermissions (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
describeImagePermissions_sharedAwsAccountIds :: Lens' DescribeImagePermissions (Maybe (NonEmpty Text)) Source #
The 12-digit identifier of one or more AWS accounts with which the image is shared.
describeImagePermissions_name :: Lens' DescribeImagePermissions Text Source #
The name of the private image for which to describe permissions. The image must be one that you own.
Destructuring the Response
data DescribeImagePermissionsResponse Source #
See: newDescribeImagePermissionsResponse smart constructor.
Constructors
| DescribeImagePermissionsResponse' | |
Fields
| |
Instances
newDescribeImagePermissionsResponse Source #
Create a value of DescribeImagePermissionsResponse 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:
DescribeImagePermissions, describeImagePermissionsResponse_name - The name of the private image.
DescribeImagePermissions, describeImagePermissionsResponse_nextToken - The pagination token to use to retrieve the next page of results for
this operation. If there are no more pages, this value is null.
$sel:sharedImagePermissionsList:DescribeImagePermissionsResponse', describeImagePermissionsResponse_sharedImagePermissionsList - The permissions for a private image that you own.
$sel:httpStatus:DescribeImagePermissionsResponse', describeImagePermissionsResponse_httpStatus - The response's http status code.
Response Lenses
describeImagePermissionsResponse_name :: Lens' DescribeImagePermissionsResponse (Maybe Text) Source #
The name of the private image.
describeImagePermissionsResponse_nextToken :: Lens' DescribeImagePermissionsResponse (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
describeImagePermissionsResponse_sharedImagePermissionsList :: Lens' DescribeImagePermissionsResponse (Maybe [SharedImagePermissions]) Source #
The permissions for a private image that you own.
describeImagePermissionsResponse_httpStatus :: Lens' DescribeImagePermissionsResponse Int Source #
The response's http status code.