libZSservicesZSamazonka-signerZSamazonka-signer
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.Signer.Types.Permission

Description

 
Synopsis

Documentation

data Permission Source #

A cross-account permission for a signing profile.

See: newPermission smart constructor.

Constructors

Permission' 

Fields

Instances

Instances details
Eq Permission Source # 
Instance details

Defined in Amazonka.Signer.Types.Permission

Read Permission Source # 
Instance details

Defined in Amazonka.Signer.Types.Permission

Show Permission Source # 
Instance details

Defined in Amazonka.Signer.Types.Permission

Generic Permission Source # 
Instance details

Defined in Amazonka.Signer.Types.Permission

Associated Types

type Rep Permission :: Type -> Type #

NFData Permission Source # 
Instance details

Defined in Amazonka.Signer.Types.Permission

Methods

rnf :: Permission -> () #

Hashable Permission Source # 
Instance details

Defined in Amazonka.Signer.Types.Permission

FromJSON Permission Source # 
Instance details

Defined in Amazonka.Signer.Types.Permission

type Rep Permission Source # 
Instance details

Defined in Amazonka.Signer.Types.Permission

type Rep Permission = D1 ('MetaData "Permission" "Amazonka.Signer.Types.Permission" "libZSservicesZSamazonka-signerZSamazonka-signer" 'False) (C1 ('MetaCons "Permission'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "profileVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statementId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPermission :: Permission 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:action:Permission', permission_action - An AWS Signer action permitted as part of cross-account permissions.

$sel:profileVersion:Permission', permission_profileVersion - The signing profile version that a permission applies to.

$sel:principal:Permission', permission_principal - The AWS principal that has been granted a cross-account permission.

$sel:statementId:Permission', permission_statementId - A unique identifier for a cross-account permission statement.

permission_action :: Lens' Permission (Maybe Text) Source #

An AWS Signer action permitted as part of cross-account permissions.

permission_profileVersion :: Lens' Permission (Maybe Text) Source #

The signing profile version that a permission applies to.

permission_principal :: Lens' Permission (Maybe Text) Source #

The AWS principal that has been granted a cross-account permission.

permission_statementId :: Lens' Permission (Maybe Text) Source #

A unique identifier for a cross-account permission statement.