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 |
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 #
:: 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.
DeleteImagePermissionsResponse' | |
|
Instances
Eq DeleteImagePermissionsResponse Source # | |
Read DeleteImagePermissionsResponse Source # | |
Show DeleteImagePermissionsResponse Source # | |
Defined in Amazonka.AppStream.DeleteImagePermissions | |
Generic DeleteImagePermissionsResponse Source # | |
NFData DeleteImagePermissionsResponse Source # | |
Defined in Amazonka.AppStream.DeleteImagePermissions rnf :: DeleteImagePermissionsResponse -> () # | |
type Rep DeleteImagePermissionsResponse Source # | |
Defined in Amazonka.AppStream.DeleteImagePermissions type Rep DeleteImagePermissionsResponse = D1 ('MetaData "DeleteImagePermissionsResponse" "Amazonka.AppStream.DeleteImagePermissions" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" '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.