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 |
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.
UpdateImagePermissions' | |
|
Instances
newUpdateImagePermissions Source #
:: 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:
$sel:name:UpdateImagePermissions'
, updateImagePermissions_name
- The name of the private image.
$sel:sharedAccountId:UpdateImagePermissions'
, updateImagePermissions_sharedAccountId
- The 12-digit identifier of the AWS account for which you want add or
update image permissions.
$sel:imagePermissions: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.
UpdateImagePermissionsResponse' | |
|
Instances
Eq UpdateImagePermissionsResponse Source # | |
Read UpdateImagePermissionsResponse Source # | |
Show UpdateImagePermissionsResponse Source # | |
Defined in Amazonka.AppStream.UpdateImagePermissions | |
Generic UpdateImagePermissionsResponse Source # | |
NFData UpdateImagePermissionsResponse Source # | |
Defined in Amazonka.AppStream.UpdateImagePermissions rnf :: UpdateImagePermissionsResponse -> () # | |
type Rep UpdateImagePermissionsResponse Source # | |
Defined in Amazonka.AppStream.UpdateImagePermissions type Rep UpdateImagePermissionsResponse = D1 ('MetaData "UpdateImagePermissionsResponse" "Amazonka.AppStream.UpdateImagePermissions" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "UpdateImagePermissionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.