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.NetworkInterfacePermission

Description

 
Synopsis

Documentation

data NetworkInterfacePermission Source #

Describes a permission for a network interface.

See: newNetworkInterfacePermission smart constructor.

Constructors

NetworkInterfacePermission' 

Fields

Instances

Instances details
FromXML NetworkInterfacePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfacePermission

Generic NetworkInterfacePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfacePermission

Associated Types

type Rep NetworkInterfacePermission :: Type -> Type #

Read NetworkInterfacePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfacePermission

Show NetworkInterfacePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfacePermission

NFData NetworkInterfacePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfacePermission

Eq NetworkInterfacePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfacePermission

Hashable NetworkInterfacePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfacePermission

type Rep NetworkInterfacePermission Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfacePermission

type Rep NetworkInterfacePermission = D1 ('MetaData "NetworkInterfacePermission" "Amazonka.EC2.Types.NetworkInterfacePermission" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "NetworkInterfacePermission'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "awsService") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "networkInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "networkInterfacePermissionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "permission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InterfacePermissionType)) :*: S1 ('MetaSel ('Just "permissionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInterfacePermissionState))))))

newNetworkInterfacePermission :: NetworkInterfacePermission Source #

Create a value of NetworkInterfacePermission 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:awsAccountId:NetworkInterfacePermission', networkInterfacePermission_awsAccountId - The Amazon Web Services account ID.

$sel:awsService:NetworkInterfacePermission', networkInterfacePermission_awsService - The Amazon Web Service.

$sel:networkInterfaceId:NetworkInterfacePermission', networkInterfacePermission_networkInterfaceId - The ID of the network interface.

$sel:networkInterfacePermissionId:NetworkInterfacePermission', networkInterfacePermission_networkInterfacePermissionId - The ID of the network interface permission.

$sel:permission:NetworkInterfacePermission', networkInterfacePermission_permission - The type of permission.

$sel:permissionState:NetworkInterfacePermission', networkInterfacePermission_permissionState - Information about the state of the permission.