Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ProposedSegmentChange = ProposedSegmentChange' {
- attachmentPolicyRuleNumber :: Maybe Int
- segmentName :: Maybe Text
- tags :: Maybe [Tag]
- newProposedSegmentChange :: ProposedSegmentChange
- proposedSegmentChange_attachmentPolicyRuleNumber :: Lens' ProposedSegmentChange (Maybe Int)
- proposedSegmentChange_segmentName :: Lens' ProposedSegmentChange (Maybe Text)
- proposedSegmentChange_tags :: Lens' ProposedSegmentChange (Maybe [Tag])
Documentation
data ProposedSegmentChange Source #
Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted.
See: newProposedSegmentChange
smart constructor.
ProposedSegmentChange' | |
|
Instances
newProposedSegmentChange :: ProposedSegmentChange Source #
Create a value of ProposedSegmentChange
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:attachmentPolicyRuleNumber:ProposedSegmentChange'
, proposedSegmentChange_attachmentPolicyRuleNumber
- The rule number in the policy document that applies to this change.
$sel:segmentName:ProposedSegmentChange'
, proposedSegmentChange_segmentName
- The name of the segment to change.
$sel:tags:ProposedSegmentChange'
, proposedSegmentChange_tags
- The list of key-value tags that changed for the segment.
proposedSegmentChange_attachmentPolicyRuleNumber :: Lens' ProposedSegmentChange (Maybe Int) Source #
The rule number in the policy document that applies to this change.
proposedSegmentChange_segmentName :: Lens' ProposedSegmentChange (Maybe Text) Source #
The name of the segment to change.
proposedSegmentChange_tags :: Lens' ProposedSegmentChange (Maybe [Tag]) Source #
The list of key-value tags that changed for the segment.