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 |
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.
DeleteImagePermissions' | |
|
Instances
newDeleteImagePermissions Source #
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:
DeleteImagePermissions
, deleteImagePermissions_name
- The name of the private image.
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.
DeleteImagePermissionsResponse' | |
|
Instances
Generic DeleteImagePermissionsResponse Source # | |
Read DeleteImagePermissionsResponse Source # | |
Show DeleteImagePermissionsResponse Source # | |
Defined in Amazonka.AppStream.DeleteImagePermissions | |
NFData DeleteImagePermissionsResponse Source # | |
Defined in Amazonka.AppStream.DeleteImagePermissions rnf :: DeleteImagePermissionsResponse -> () # | |
Eq DeleteImagePermissionsResponse Source # | |
type Rep DeleteImagePermissionsResponse Source # | |
Defined in Amazonka.AppStream.DeleteImagePermissions type Rep DeleteImagePermissionsResponse = D1 ('MetaData "DeleteImagePermissionsResponse" "Amazonka.AppStream.DeleteImagePermissions" "amazonka-appstream-2.0-2EgS7yjN1zMCngYkSFPgOd" 'False) (C1 ('MetaCons "DeleteImagePermissionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.