Class: Aws::WorkSpaces::Types::UpdateWorkspaceImagePermissionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb

Overview

Note:

When making an API call, you may pass UpdateWorkspaceImagePermissionRequest data as a hash:

{
  image_id: "WorkspaceImageId", # required
  allow_copy_image: false, # required
  shared_account_id: "AwsAccount", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allow_copy_imageBoolean

The permission to copy the image. This permission can be revoked only after an image has been shared.

Returns:

  • (Boolean)


3140
3141
3142
3143
3144
3145
3146
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 3140

class UpdateWorkspaceImagePermissionRequest < Struct.new(
  :image_id,
  :allow_copy_image,
  :shared_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#image_idString

The identifier of the image.

Returns:

  • (String)


3140
3141
3142
3143
3144
3145
3146
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 3140

class UpdateWorkspaceImagePermissionRequest < Struct.new(
  :image_id,
  :allow_copy_image,
  :shared_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#shared_account_idString

The identifier of the Amazon Web Services account to share or unshare the image with.

Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.

Returns:

  • (String)


3140
3141
3142
3143
3144
3145
3146
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 3140

class UpdateWorkspaceImagePermissionRequest < Struct.new(
  :image_id,
  :allow_copy_image,
  :shared_account_id)
  SENSITIVE = []
  include Aws::Structure
end