libZSservicesZSamazonka-workspacesZSamazonka-workspaces
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkSpaces.Types.ImagePermission

Description

 
Synopsis

Documentation

data ImagePermission Source #

Describes the Amazon Web Services accounts that have been granted permission to use a shared image. For more information about sharing images, see Share or Unshare a Custom WorkSpaces Image.

See: newImagePermission smart constructor.

Constructors

ImagePermission' 

Fields

Instances

Instances details
Eq ImagePermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ImagePermission

Read ImagePermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ImagePermission

Show ImagePermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ImagePermission

Generic ImagePermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ImagePermission

Associated Types

type Rep ImagePermission :: Type -> Type #

NFData ImagePermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ImagePermission

Methods

rnf :: ImagePermission -> () #

Hashable ImagePermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ImagePermission

FromJSON ImagePermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ImagePermission

type Rep ImagePermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ImagePermission

type Rep ImagePermission = D1 ('MetaData "ImagePermission" "Amazonka.WorkSpaces.Types.ImagePermission" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "ImagePermission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sharedAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newImagePermission :: ImagePermission Source #

Create a value of ImagePermission 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:sharedAccountId:ImagePermission', imagePermission_sharedAccountId - The identifier of the Amazon Web Services account that an image has been shared with.

imagePermission_sharedAccountId :: Lens' ImagePermission (Maybe Text) Source #

The identifier of the Amazon Web Services account that an image has been shared with.