update_image_permissions
(**kwargs)¶Adds or updates permissions for the specified private image.
See also: AWS API Documentation
Request Syntax
response = client.update_image_permissions(
Name='string',
SharedAccountId='string',
ImagePermissions={
'allowFleet': True|False,
'allowImageBuilder': True|False
}
)
[REQUIRED]
The name of the private image.
[REQUIRED]
The 12-digit identifier of the AWS account for which you want add or update image permissions.
[REQUIRED]
The permissions for the image.
Indicates whether the image can be used for a fleet.
Indicates whether the image can be used for an image builder.
dict
Response Syntax
{}
Response Structure
Exceptions
AppStream.Client.exceptions.ResourceNotFoundException
AppStream.Client.exceptions.ResourceNotAvailableException
AppStream.Client.exceptions.LimitExceededException