module Stratosphere.Budgets.BudgetsAction (
        module Exports, BudgetsAction(..), mkBudgetsAction
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Budgets.BudgetsAction.ActionThresholdProperty as Exports
import {-# SOURCE #-} Stratosphere.Budgets.BudgetsAction.DefinitionProperty as Exports
import {-# SOURCE #-} Stratosphere.Budgets.BudgetsAction.ResourceTagProperty as Exports
import {-# SOURCE #-} Stratosphere.Budgets.BudgetsAction.SubscriberProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data BudgetsAction
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html>
    BudgetsAction {BudgetsAction -> ()
haddock_workaround_ :: (),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-actionthreshold>
                   BudgetsAction -> ActionThresholdProperty
actionThreshold :: ActionThresholdProperty,
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-actiontype>
                   BudgetsAction -> Value Text
actionType :: (Value Prelude.Text),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-approvalmodel>
                   BudgetsAction -> Maybe (Value Text)
approvalModel :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-budgetname>
                   BudgetsAction -> Value Text
budgetName :: (Value Prelude.Text),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-definition>
                   BudgetsAction -> DefinitionProperty
definition :: DefinitionProperty,
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-executionrolearn>
                   BudgetsAction -> Value Text
executionRoleArn :: (Value Prelude.Text),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-notificationtype>
                   BudgetsAction -> Value Text
notificationType :: (Value Prelude.Text),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-resourcetags>
                   BudgetsAction -> Maybe [ResourceTagProperty]
resourceTags :: (Prelude.Maybe [ResourceTagProperty]),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-subscribers>
                   BudgetsAction -> [SubscriberProperty]
subscribers :: [SubscriberProperty]}
  deriving stock (BudgetsAction -> BudgetsAction -> Bool
(BudgetsAction -> BudgetsAction -> Bool)
-> (BudgetsAction -> BudgetsAction -> Bool) -> Eq BudgetsAction
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: BudgetsAction -> BudgetsAction -> Bool
== :: BudgetsAction -> BudgetsAction -> Bool
$c/= :: BudgetsAction -> BudgetsAction -> Bool
/= :: BudgetsAction -> BudgetsAction -> Bool
Prelude.Eq, Int -> BudgetsAction -> ShowS
[BudgetsAction] -> ShowS
BudgetsAction -> String
(Int -> BudgetsAction -> ShowS)
-> (BudgetsAction -> String)
-> ([BudgetsAction] -> ShowS)
-> Show BudgetsAction
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> BudgetsAction -> ShowS
showsPrec :: Int -> BudgetsAction -> ShowS
$cshow :: BudgetsAction -> String
show :: BudgetsAction -> String
$cshowList :: [BudgetsAction] -> ShowS
showList :: [BudgetsAction] -> ShowS
Prelude.Show)
mkBudgetsAction ::
  ActionThresholdProperty
  -> Value Prelude.Text
     -> Value Prelude.Text
        -> DefinitionProperty
           -> Value Prelude.Text
              -> Value Prelude.Text -> [SubscriberProperty] -> BudgetsAction
mkBudgetsAction :: ActionThresholdProperty
-> Value Text
-> Value Text
-> DefinitionProperty
-> Value Text
-> Value Text
-> [SubscriberProperty]
-> BudgetsAction
mkBudgetsAction
  ActionThresholdProperty
actionThreshold
  Value Text
actionType
  Value Text
budgetName
  DefinitionProperty
definition
  Value Text
executionRoleArn
  Value Text
notificationType
  [SubscriberProperty]
subscribers
  = BudgetsAction
      {haddock_workaround_ :: ()
haddock_workaround_ = (), actionThreshold :: ActionThresholdProperty
actionThreshold = ActionThresholdProperty
actionThreshold,
       actionType :: Value Text
actionType = Value Text
actionType, budgetName :: Value Text
budgetName = Value Text
budgetName,
       definition :: DefinitionProperty
definition = DefinitionProperty
definition, executionRoleArn :: Value Text
executionRoleArn = Value Text
executionRoleArn,
       notificationType :: Value Text
notificationType = Value Text
notificationType, subscribers :: [SubscriberProperty]
subscribers = [SubscriberProperty]
subscribers,
       approvalModel :: Maybe (Value Text)
approvalModel = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, resourceTags :: Maybe [ResourceTagProperty]
resourceTags = Maybe [ResourceTagProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties BudgetsAction where
  toResourceProperties :: BudgetsAction -> ResourceProperties
toResourceProperties BudgetsAction {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: BudgetsAction -> ()
actionThreshold :: BudgetsAction -> ActionThresholdProperty
actionType :: BudgetsAction -> Value Text
approvalModel :: BudgetsAction -> Maybe (Value Text)
budgetName :: BudgetsAction -> Value Text
definition :: BudgetsAction -> DefinitionProperty
executionRoleArn :: BudgetsAction -> Value Text
notificationType :: BudgetsAction -> Value Text
resourceTags :: BudgetsAction -> Maybe [ResourceTagProperty]
subscribers :: BudgetsAction -> [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Budgets::BudgetsAction",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"ActionThreshold" Key -> ActionThresholdProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ActionThresholdProperty
actionThreshold,
                            Key
"ActionType" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
actionType, Key
"BudgetName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
budgetName,
                            Key
"Definition" Key -> DefinitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DefinitionProperty
definition,
                            Key
"ExecutionRoleArn" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
executionRoleArn,
                            Key
"NotificationType" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
notificationType,
                            Key
"Subscribers" Key -> [SubscriberProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [SubscriberProperty]
subscribers]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ApprovalModel" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
approvalModel,
                               Key -> [ResourceTagProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ResourceTags" ([ResourceTagProperty] -> (Key, Value))
-> Maybe [ResourceTagProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ResourceTagProperty]
resourceTags]))}
instance JSON.ToJSON BudgetsAction where
  toJSON :: BudgetsAction -> Value
toJSON BudgetsAction {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: BudgetsAction -> ()
actionThreshold :: BudgetsAction -> ActionThresholdProperty
actionType :: BudgetsAction -> Value Text
approvalModel :: BudgetsAction -> Maybe (Value Text)
budgetName :: BudgetsAction -> Value Text
definition :: BudgetsAction -> DefinitionProperty
executionRoleArn :: BudgetsAction -> Value Text
notificationType :: BudgetsAction -> Value Text
resourceTags :: BudgetsAction -> Maybe [ResourceTagProperty]
subscribers :: BudgetsAction -> [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"ActionThreshold" Key -> ActionThresholdProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ActionThresholdProperty
actionThreshold,
               Key
"ActionType" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
actionType, Key
"BudgetName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
budgetName,
               Key
"Definition" Key -> DefinitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DefinitionProperty
definition,
               Key
"ExecutionRoleArn" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
executionRoleArn,
               Key
"NotificationType" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
notificationType,
               Key
"Subscribers" Key -> [SubscriberProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [SubscriberProperty]
subscribers]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ApprovalModel" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
approvalModel,
                  Key -> [ResourceTagProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ResourceTags" ([ResourceTagProperty] -> (Key, Value))
-> Maybe [ResourceTagProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ResourceTagProperty]
resourceTags])))
instance Property "ActionThreshold" BudgetsAction where
  type PropertyType "ActionThreshold" BudgetsAction = ActionThresholdProperty
  set :: PropertyType "ActionThreshold" BudgetsAction
-> BudgetsAction -> BudgetsAction
set PropertyType "ActionThreshold" BudgetsAction
newValue BudgetsAction {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: BudgetsAction -> ()
actionThreshold :: BudgetsAction -> ActionThresholdProperty
actionType :: BudgetsAction -> Value Text
approvalModel :: BudgetsAction -> Maybe (Value Text)
budgetName :: BudgetsAction -> Value Text
definition :: BudgetsAction -> DefinitionProperty
executionRoleArn :: BudgetsAction -> Value Text
notificationType :: BudgetsAction -> Value Text
resourceTags :: BudgetsAction -> Maybe [ResourceTagProperty]
subscribers :: BudgetsAction -> [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
    = BudgetsAction {actionThreshold :: ActionThresholdProperty
actionThreshold = PropertyType "ActionThreshold" BudgetsAction
ActionThresholdProperty
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
DefinitionProperty
haddock_workaround_ :: ()
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
haddock_workaround_ :: ()
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
instance Property "ActionType" BudgetsAction where
  type PropertyType "ActionType" BudgetsAction = Value Prelude.Text
  set :: PropertyType "ActionType" BudgetsAction
-> BudgetsAction -> BudgetsAction
set PropertyType "ActionType" BudgetsAction
newValue BudgetsAction {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: BudgetsAction -> ()
actionThreshold :: BudgetsAction -> ActionThresholdProperty
actionType :: BudgetsAction -> Value Text
approvalModel :: BudgetsAction -> Maybe (Value Text)
budgetName :: BudgetsAction -> Value Text
definition :: BudgetsAction -> DefinitionProperty
executionRoleArn :: BudgetsAction -> Value Text
notificationType :: BudgetsAction -> Value Text
resourceTags :: BudgetsAction -> Maybe [ResourceTagProperty]
subscribers :: BudgetsAction -> [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
    = BudgetsAction {actionType :: Value Text
actionType = PropertyType "ActionType" BudgetsAction
Value Text
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
instance Property "ApprovalModel" BudgetsAction where
  type PropertyType "ApprovalModel" BudgetsAction = Value Prelude.Text
  set :: PropertyType "ApprovalModel" BudgetsAction
-> BudgetsAction -> BudgetsAction
set PropertyType "ApprovalModel" BudgetsAction
newValue BudgetsAction {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: BudgetsAction -> ()
actionThreshold :: BudgetsAction -> ActionThresholdProperty
actionType :: BudgetsAction -> Value Text
approvalModel :: BudgetsAction -> Maybe (Value Text)
budgetName :: BudgetsAction -> Value Text
definition :: BudgetsAction -> DefinitionProperty
executionRoleArn :: BudgetsAction -> Value Text
notificationType :: BudgetsAction -> Value Text
resourceTags :: BudgetsAction -> Maybe [ResourceTagProperty]
subscribers :: BudgetsAction -> [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
    = BudgetsAction {approvalModel :: Maybe (Value Text)
approvalModel = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ApprovalModel" BudgetsAction
Value Text
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
instance Property "BudgetName" BudgetsAction where
  type PropertyType "BudgetName" BudgetsAction = Value Prelude.Text
  set :: PropertyType "BudgetName" BudgetsAction
-> BudgetsAction -> BudgetsAction
set PropertyType "BudgetName" BudgetsAction
newValue BudgetsAction {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: BudgetsAction -> ()
actionThreshold :: BudgetsAction -> ActionThresholdProperty
actionType :: BudgetsAction -> Value Text
approvalModel :: BudgetsAction -> Maybe (Value Text)
budgetName :: BudgetsAction -> Value Text
definition :: BudgetsAction -> DefinitionProperty
executionRoleArn :: BudgetsAction -> Value Text
notificationType :: BudgetsAction -> Value Text
resourceTags :: BudgetsAction -> Maybe [ResourceTagProperty]
subscribers :: BudgetsAction -> [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
    = BudgetsAction {budgetName :: Value Text
budgetName = PropertyType "BudgetName" BudgetsAction
Value Text
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
instance Property "Definition" BudgetsAction where
  type PropertyType "Definition" BudgetsAction = DefinitionProperty
  set :: PropertyType "Definition" BudgetsAction
-> BudgetsAction -> BudgetsAction
set PropertyType "Definition" BudgetsAction
newValue BudgetsAction {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: BudgetsAction -> ()
actionThreshold :: BudgetsAction -> ActionThresholdProperty
actionType :: BudgetsAction -> Value Text
approvalModel :: BudgetsAction -> Maybe (Value Text)
budgetName :: BudgetsAction -> Value Text
definition :: BudgetsAction -> DefinitionProperty
executionRoleArn :: BudgetsAction -> Value Text
notificationType :: BudgetsAction -> Value Text
resourceTags :: BudgetsAction -> Maybe [ResourceTagProperty]
subscribers :: BudgetsAction -> [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
    = BudgetsAction {definition :: DefinitionProperty
definition = PropertyType "Definition" BudgetsAction
DefinitionProperty
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
instance Property "ExecutionRoleArn" BudgetsAction where
  type PropertyType "ExecutionRoleArn" BudgetsAction = Value Prelude.Text
  set :: PropertyType "ExecutionRoleArn" BudgetsAction
-> BudgetsAction -> BudgetsAction
set PropertyType "ExecutionRoleArn" BudgetsAction
newValue BudgetsAction {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: BudgetsAction -> ()
actionThreshold :: BudgetsAction -> ActionThresholdProperty
actionType :: BudgetsAction -> Value Text
approvalModel :: BudgetsAction -> Maybe (Value Text)
budgetName :: BudgetsAction -> Value Text
definition :: BudgetsAction -> DefinitionProperty
executionRoleArn :: BudgetsAction -> Value Text
notificationType :: BudgetsAction -> Value Text
resourceTags :: BudgetsAction -> Maybe [ResourceTagProperty]
subscribers :: BudgetsAction -> [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
    = BudgetsAction {executionRoleArn :: Value Text
executionRoleArn = PropertyType "ExecutionRoleArn" BudgetsAction
Value Text
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
instance Property "NotificationType" BudgetsAction where
  type PropertyType "NotificationType" BudgetsAction = Value Prelude.Text
  set :: PropertyType "NotificationType" BudgetsAction
-> BudgetsAction -> BudgetsAction
set PropertyType "NotificationType" BudgetsAction
newValue BudgetsAction {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: BudgetsAction -> ()
actionThreshold :: BudgetsAction -> ActionThresholdProperty
actionType :: BudgetsAction -> Value Text
approvalModel :: BudgetsAction -> Maybe (Value Text)
budgetName :: BudgetsAction -> Value Text
definition :: BudgetsAction -> DefinitionProperty
executionRoleArn :: BudgetsAction -> Value Text
notificationType :: BudgetsAction -> Value Text
resourceTags :: BudgetsAction -> Maybe [ResourceTagProperty]
subscribers :: BudgetsAction -> [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
    = BudgetsAction {notificationType :: Value Text
notificationType = PropertyType "NotificationType" BudgetsAction
Value Text
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
instance Property "ResourceTags" BudgetsAction where
  type PropertyType "ResourceTags" BudgetsAction = [ResourceTagProperty]
  set :: PropertyType "ResourceTags" BudgetsAction
-> BudgetsAction -> BudgetsAction
set PropertyType "ResourceTags" BudgetsAction
newValue BudgetsAction {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: BudgetsAction -> ()
actionThreshold :: BudgetsAction -> ActionThresholdProperty
actionType :: BudgetsAction -> Value Text
approvalModel :: BudgetsAction -> Maybe (Value Text)
budgetName :: BudgetsAction -> Value Text
definition :: BudgetsAction -> DefinitionProperty
executionRoleArn :: BudgetsAction -> Value Text
notificationType :: BudgetsAction -> Value Text
resourceTags :: BudgetsAction -> Maybe [ResourceTagProperty]
subscribers :: BudgetsAction -> [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
    = BudgetsAction {resourceTags :: Maybe [ResourceTagProperty]
resourceTags = [ResourceTagProperty] -> Maybe [ResourceTagProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ResourceTagProperty]
PropertyType "ResourceTags" BudgetsAction
newValue, [SubscriberProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
subscribers :: [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
subscribers :: [SubscriberProperty]
..}
instance Property "Subscribers" BudgetsAction where
  type PropertyType "Subscribers" BudgetsAction = [SubscriberProperty]
  set :: PropertyType "Subscribers" BudgetsAction
-> BudgetsAction -> BudgetsAction
set PropertyType "Subscribers" BudgetsAction
newValue BudgetsAction {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: BudgetsAction -> ()
actionThreshold :: BudgetsAction -> ActionThresholdProperty
actionType :: BudgetsAction -> Value Text
approvalModel :: BudgetsAction -> Maybe (Value Text)
budgetName :: BudgetsAction -> Value Text
definition :: BudgetsAction -> DefinitionProperty
executionRoleArn :: BudgetsAction -> Value Text
notificationType :: BudgetsAction -> Value Text
resourceTags :: BudgetsAction -> Maybe [ResourceTagProperty]
subscribers :: BudgetsAction -> [SubscriberProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
..}
    = BudgetsAction {subscribers :: [SubscriberProperty]
subscribers = [SubscriberProperty]
PropertyType "Subscribers" BudgetsAction
newValue, Maybe [ResourceTagProperty]
Maybe (Value Text)
()
Value Text
ActionThresholdProperty
DefinitionProperty
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
haddock_workaround_ :: ()
actionThreshold :: ActionThresholdProperty
actionType :: Value Text
approvalModel :: Maybe (Value Text)
budgetName :: Value Text
definition :: DefinitionProperty
executionRoleArn :: Value Text
notificationType :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
..}