amazonka-inspector2-2.0: Amazon Inspector2 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.Inspector2.Types.Permission

Description

 
Synopsis

Documentation

data Permission Source #

Contains information on the permissions an account has within Amazon Inspector.

See: newPermission smart constructor.

Constructors

Permission' 

Fields

  • operation :: Operation

    The operations that can be performed with the given permissions.

  • service :: Service

    The services that the permissions allow an account to perform the given operations for.

Instances

Instances details
FromJSON Permission Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Permission

Generic Permission Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Permission

Associated Types

type Rep Permission :: Type -> Type #

Read Permission Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Permission

Show Permission Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Permission

NFData Permission Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Permission

Methods

rnf :: Permission -> () #

Eq Permission Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Permission

Hashable Permission Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Permission

type Rep Permission Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Permission

type Rep Permission = D1 ('MetaData "Permission" "Amazonka.Inspector2.Types.Permission" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "Permission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Operation) :*: S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Service)))

newPermission Source #

Create a value of Permission 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:operation:Permission', permission_operation - The operations that can be performed with the given permissions.

$sel:service:Permission', permission_service - The services that the permissions allow an account to perform the given operations for.

permission_operation :: Lens' Permission Operation Source #

The operations that can be performed with the given permissions.

permission_service :: Lens' Permission Service Source #

The services that the permissions allow an account to perform the given operations for.