libZSservicesZSamazonka-codecommitZSamazonka-codecommit
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.CodeCommit.Types.ApprovalRule

Description

 
Synopsis

Documentation

data ApprovalRule Source #

Returns information about an approval rule.

See: newApprovalRule smart constructor.

Constructors

ApprovalRule' 

Fields

Instances

Instances details
Eq ApprovalRule Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalRule

Read ApprovalRule Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalRule

Show ApprovalRule Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalRule

Generic ApprovalRule Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalRule

Associated Types

type Rep ApprovalRule :: Type -> Type #

NFData ApprovalRule Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalRule

Methods

rnf :: ApprovalRule -> () #

Hashable ApprovalRule Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalRule

FromJSON ApprovalRule Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalRule

type Rep ApprovalRule Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ApprovalRule

type Rep ApprovalRule = D1 ('MetaData "ApprovalRule" "Amazonka.CodeCommit.Types.ApprovalRule" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "ApprovalRule'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "ruleContentSha256") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "approvalRuleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "approvalRuleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "lastModifiedUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "originApprovalRuleTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginApprovalRuleTemplate))) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "approvalRuleContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newApprovalRule :: ApprovalRule Source #

Create a value of ApprovalRule 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:ruleContentSha256:ApprovalRule', approvalRule_ruleContentSha256 - The SHA-256 hash signature for the content of the approval rule.

$sel:lastModifiedDate:ApprovalRule', approvalRule_lastModifiedDate - The date the approval rule was most recently changed, in timestamp format.

$sel:approvalRuleName:ApprovalRule', approvalRule_approvalRuleName - The name of the approval rule.

$sel:approvalRuleId:ApprovalRule', approvalRule_approvalRuleId - The system-generated ID of the approval rule.

$sel:lastModifiedUser:ApprovalRule', approvalRule_lastModifiedUser - The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.

$sel:originApprovalRuleTemplate:ApprovalRule', approvalRule_originApprovalRuleTemplate - The approval rule template used to create the rule.

$sel:creationDate:ApprovalRule', approvalRule_creationDate - The date the approval rule was created, in timestamp format.

$sel:approvalRuleContent:ApprovalRule', approvalRule_approvalRuleContent - The content of the approval rule.

approvalRule_ruleContentSha256 :: Lens' ApprovalRule (Maybe Text) Source #

The SHA-256 hash signature for the content of the approval rule.

approvalRule_lastModifiedDate :: Lens' ApprovalRule (Maybe UTCTime) Source #

The date the approval rule was most recently changed, in timestamp format.

approvalRule_approvalRuleId :: Lens' ApprovalRule (Maybe Text) Source #

The system-generated ID of the approval rule.

approvalRule_lastModifiedUser :: Lens' ApprovalRule (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.

approvalRule_creationDate :: Lens' ApprovalRule (Maybe UTCTime) Source #

The date the approval rule was created, in timestamp format.

approvalRule_approvalRuleContent :: Lens' ApprovalRule (Maybe Text) Source #

The content of the approval rule.