amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.CreateVolumePermission

Description

 
Synopsis

Documentation

data CreateVolumePermission Source #

Describes the user or group to be added or removed from the list of create volume permissions for a volume.

See: newCreateVolumePermission smart constructor.

Constructors

CreateVolumePermission' 

Fields

Instances

Instances details
ToQuery CreateVolumePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateVolumePermission

FromXML CreateVolumePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateVolumePermission

Generic CreateVolumePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateVolumePermission

Associated Types

type Rep CreateVolumePermission :: Type -> Type #

Read CreateVolumePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateVolumePermission

Show CreateVolumePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateVolumePermission

NFData CreateVolumePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateVolumePermission

Methods

rnf :: CreateVolumePermission -> () #

Eq CreateVolumePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateVolumePermission

Hashable CreateVolumePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateVolumePermission

type Rep CreateVolumePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateVolumePermission

type Rep CreateVolumePermission = D1 ('MetaData "CreateVolumePermission" "Amazonka.EC2.Types.CreateVolumePermission" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateVolumePermission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PermissionGroup)) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newCreateVolumePermission :: CreateVolumePermission Source #

Create a value of CreateVolumePermission 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:group':CreateVolumePermission', createVolumePermission_group - The group to be added or removed. The possible value is all.

$sel:userId:CreateVolumePermission', createVolumePermission_userId - The ID of the Amazon Web Services account to be added or removed.

createVolumePermission_group :: Lens' CreateVolumePermission (Maybe PermissionGroup) Source #

The group to be added or removed. The possible value is all.

createVolumePermission_userId :: Lens' CreateVolumePermission (Maybe Text) Source #

The ID of the Amazon Web Services account to be added or removed.