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 |
Amazonka.AppStream.DeleteImagePermissions
Description
Deletes permissions for the specified private image. After you delete permissions for an image, AWS accounts to which you previously granted these permissions can no longer use the image.
Synopsis
- data DeleteImagePermissions = DeleteImagePermissions' {
- name :: Text
- sharedAccountId :: Text
- newDeleteImagePermissions :: Text -> Text -> DeleteImagePermissions
- deleteImagePermissions_name :: Lens' DeleteImagePermissions Text
- deleteImagePermissions_sharedAccountId :: Lens' DeleteImagePermissions Text
- data DeleteImagePermissionsResponse = DeleteImagePermissionsResponse' {
- httpStatus :: Int
- newDeleteImagePermissionsResponse :: Int -> DeleteImagePermissionsResponse
- deleteImagePermissionsResponse_httpStatus :: Lens' DeleteImagePermissionsResponse Int
Creating a Request
data DeleteImagePermissions Source #
See: newDeleteImagePermissions
smart constructor.
Constructors
DeleteImagePermissions' | |
Fields
|
Instances
newDeleteImagePermissions Source #
Arguments
:: Text | |
-> Text | |
-> DeleteImagePermissions |
Create a value of DeleteImagePermissions
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:name:DeleteImagePermissions'
, deleteImagePermissions_name
- The name of the private image.
$sel:sharedAccountId:DeleteImagePermissions'
, deleteImagePermissions_sharedAccountId
- The 12-digit identifier of the AWS account for which to delete image
permissions.
Request Lenses
deleteImagePermissions_name :: Lens' DeleteImagePermissions Text Source #
The name of the private image.
deleteImagePermissions_sharedAccountId :: Lens' DeleteImagePermissions Text Source #
The 12-digit identifier of the AWS account for which to delete image permissions.
Destructuring the Response
data DeleteImagePermissionsResponse Source #
See: newDeleteImagePermissionsResponse
smart constructor.
Constructors
DeleteImagePermissionsResponse' | |
Fields
|
Instances
newDeleteImagePermissionsResponse Source #
Create a value of DeleteImagePermissionsResponse
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:httpStatus:DeleteImagePermissionsResponse'
, deleteImagePermissionsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteImagePermissionsResponse_httpStatus :: Lens' DeleteImagePermissionsResponse Int Source #
The response's http status code.