| 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.UpdateImagePermissions
Description
Adds or updates permissions for the specified private image.
Synopsis
- data UpdateImagePermissions = UpdateImagePermissions' {}
- newUpdateImagePermissions :: Text -> Text -> ImagePermissions -> UpdateImagePermissions
- updateImagePermissions_name :: Lens' UpdateImagePermissions Text
- updateImagePermissions_sharedAccountId :: Lens' UpdateImagePermissions Text
- updateImagePermissions_imagePermissions :: Lens' UpdateImagePermissions ImagePermissions
- data UpdateImagePermissionsResponse = UpdateImagePermissionsResponse' {
- httpStatus :: Int
- newUpdateImagePermissionsResponse :: Int -> UpdateImagePermissionsResponse
- updateImagePermissionsResponse_httpStatus :: Lens' UpdateImagePermissionsResponse Int
Creating a Request
data UpdateImagePermissions Source #
See: newUpdateImagePermissions smart constructor.
Constructors
| UpdateImagePermissions' | |
Fields
| |
Instances
newUpdateImagePermissions Source #
Arguments
| :: Text | |
| -> Text | |
| -> ImagePermissions | |
| -> UpdateImagePermissions |
Create a value of UpdateImagePermissions 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:
UpdateImagePermissions, updateImagePermissions_name - The name of the private image.
UpdateImagePermissions, updateImagePermissions_sharedAccountId - The 12-digit identifier of the AWS account for which you want add or
update image permissions.
UpdateImagePermissions, updateImagePermissions_imagePermissions - The permissions for the image.
Request Lenses
updateImagePermissions_name :: Lens' UpdateImagePermissions Text Source #
The name of the private image.
updateImagePermissions_sharedAccountId :: Lens' UpdateImagePermissions Text Source #
The 12-digit identifier of the AWS account for which you want add or update image permissions.
updateImagePermissions_imagePermissions :: Lens' UpdateImagePermissions ImagePermissions Source #
The permissions for the image.
Destructuring the Response
data UpdateImagePermissionsResponse Source #
See: newUpdateImagePermissionsResponse smart constructor.
Constructors
| UpdateImagePermissionsResponse' | |
Fields
| |
Instances
newUpdateImagePermissionsResponse Source #
Create a value of UpdateImagePermissionsResponse 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:UpdateImagePermissionsResponse', updateImagePermissionsResponse_httpStatus - The response's http status code.
Response Lenses
updateImagePermissionsResponse_httpStatus :: Lens' UpdateImagePermissionsResponse Int Source #
The response's http status code.