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 permissions for shared AWS account IDs on a private image that you own.
Synopsis
- data DescribeImagePermissions = DescribeImagePermissions' {}
- newDescribeImagePermissions :: Text -> DescribeImagePermissions
- describeImagePermissions_nextToken :: Lens' DescribeImagePermissions (Maybe Text)
- describeImagePermissions_sharedAwsAccountIds :: Lens' DescribeImagePermissions (Maybe (NonEmpty Text))
- describeImagePermissions_maxResults :: Lens' DescribeImagePermissions (Maybe Natural)
- describeImagePermissions_name :: Lens' DescribeImagePermissions Text
- data DescribeImagePermissionsResponse = DescribeImagePermissionsResponse' {}
- newDescribeImagePermissionsResponse :: Int -> DescribeImagePermissionsResponse
- describeImagePermissionsResponse_sharedImagePermissionsList :: Lens' DescribeImagePermissionsResponse (Maybe [SharedImagePermissions])
- describeImagePermissionsResponse_nextToken :: Lens' DescribeImagePermissionsResponse (Maybe Text)
- describeImagePermissionsResponse_name :: Lens' DescribeImagePermissionsResponse (Maybe Text)
- describeImagePermissionsResponse_httpStatus :: Lens' DescribeImagePermissionsResponse Int
Creating a Request
data DescribeImagePermissions Source #
See: newDescribeImagePermissions
smart constructor.
DescribeImagePermissions' | |
|
Instances
newDescribeImagePermissions Source #
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:nextToken: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.
$sel:maxResults:DescribeImagePermissions'
, describeImagePermissions_maxResults
- The maximum size of each page of results.
$sel:name: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_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_maxResults :: Lens' DescribeImagePermissions (Maybe Natural) Source #
The maximum size of each page of results.
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.
DescribeImagePermissionsResponse' | |
|
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:
$sel:sharedImagePermissionsList:DescribeImagePermissionsResponse'
, describeImagePermissionsResponse_sharedImagePermissionsList
- The permissions for a private image that you own.
$sel:nextToken: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:name:DescribeImagePermissions'
, describeImagePermissionsResponse_name
- The name of the private image.
$sel:httpStatus:DescribeImagePermissionsResponse'
, describeImagePermissionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeImagePermissionsResponse_sharedImagePermissionsList :: Lens' DescribeImagePermissionsResponse (Maybe [SharedImagePermissions]) Source #
The permissions for a private image that you own.
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_name :: Lens' DescribeImagePermissionsResponse (Maybe Text) Source #
The name of the private image.
describeImagePermissionsResponse_httpStatus :: Lens' DescribeImagePermissionsResponse Int Source #
The response's http status code.