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

Description

Adds cross-account permissions to a signing profile.

Synopsis

Creating a Request

data AddProfilePermission Source #

See: newAddProfilePermission smart constructor.

Constructors

AddProfilePermission' 

Fields

  • profileVersion :: Maybe Text

    The version of the signing profile.

  • revisionId :: Maybe Text

    A unique identifier for the current profile revision.

  • action :: Text

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

  • principal :: Text

    The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.

  • statementId :: Text

    A unique identifier for the cross-account permission statement.

  • profileName :: Text

    The human-readable name of the signing profile.

Instances

Instances details
Eq AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

Read AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

Show AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

Generic AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

Associated Types

type Rep AddProfilePermission :: Type -> Type #

NFData AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

Methods

rnf :: AddProfilePermission -> () #

Hashable AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

ToJSON AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

AWSRequest AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

Associated Types

type AWSResponse AddProfilePermission #

ToHeaders AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

ToPath AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

ToQuery AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

type Rep AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

type Rep AddProfilePermission = D1 ('MetaData "AddProfilePermission" "Amazonka.Signer.AddProfilePermission" "libZSservicesZSamazonka-signerZSamazonka-signer" 'False) (C1 ('MetaCons "AddProfilePermission'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "profileVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "statementId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "profileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse AddProfilePermission Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

newAddProfilePermission Source #

Create a value of AddProfilePermission 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:profileVersion:AddProfilePermission', addProfilePermission_profileVersion - The version of the signing profile.

$sel:revisionId:AddProfilePermission', addProfilePermission_revisionId - A unique identifier for the current profile revision.

$sel:action:AddProfilePermission', addProfilePermission_action - The AWS Signer action permitted as part of cross-account permissions.

$sel:principal:AddProfilePermission', addProfilePermission_principal - The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.

$sel:statementId:AddProfilePermission', addProfilePermission_statementId - A unique identifier for the cross-account permission statement.

$sel:profileName:AddProfilePermission', addProfilePermission_profileName - The human-readable name of the signing profile.

Request Lenses

addProfilePermission_revisionId :: Lens' AddProfilePermission (Maybe Text) Source #

A unique identifier for the current profile revision.

addProfilePermission_action :: Lens' AddProfilePermission Text Source #

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

addProfilePermission_principal :: Lens' AddProfilePermission Text Source #

The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.

addProfilePermission_statementId :: Lens' AddProfilePermission Text Source #

A unique identifier for the cross-account permission statement.

addProfilePermission_profileName :: Lens' AddProfilePermission Text Source #

The human-readable name of the signing profile.

Destructuring the Response

data AddProfilePermissionResponse Source #

See: newAddProfilePermissionResponse smart constructor.

Constructors

AddProfilePermissionResponse' 

Fields

Instances

Instances details
Eq AddProfilePermissionResponse Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

Read AddProfilePermissionResponse Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

Show AddProfilePermissionResponse Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

Generic AddProfilePermissionResponse Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

Associated Types

type Rep AddProfilePermissionResponse :: Type -> Type #

NFData AddProfilePermissionResponse Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

type Rep AddProfilePermissionResponse Source # 
Instance details

Defined in Amazonka.Signer.AddProfilePermission

type Rep AddProfilePermissionResponse = D1 ('MetaData "AddProfilePermissionResponse" "Amazonka.Signer.AddProfilePermission" "libZSservicesZSamazonka-signerZSamazonka-signer" 'False) (C1 ('MetaCons "AddProfilePermissionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddProfilePermissionResponse Source #

Create a value of AddProfilePermissionResponse 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:revisionId:AddProfilePermission', addProfilePermissionResponse_revisionId - A unique identifier for the current profile revision.

$sel:httpStatus:AddProfilePermissionResponse', addProfilePermissionResponse_httpStatus - The response's http status code.

Response Lenses

addProfilePermissionResponse_revisionId :: Lens' AddProfilePermissionResponse (Maybe Text) Source #

A unique identifier for the current profile revision.