![]() |
![]()
| ![]() |
![]()
NAMEPaws::Budgets::UpdateBudgetAction - Arguments for method UpdateBudgetAction on Paws::Budgets DESCRIPTIONThis class represents the parameters used for calling the method UpdateBudgetAction on the AWS Budgets service. Use the attributes of this class as arguments to method UpdateBudgetAction. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateBudgetAction. SYNOPSISmy $budgets = Paws->service('Budgets'); my $UpdateBudgetActionResponse = $budgets->UpdateBudgetAction( AccountId => 'MyAccountId', ActionId => 'MyActionId', BudgetName => 'MyBudgetName', ActionThreshold => { ActionThresholdType => 'PERCENTAGE', # values: PERCENTAGE, ABSOLUTE_VALUE ActionThresholdValue => 1, # max: 40000000000 }, # OPTIONAL ApprovalModel => 'AUTOMATIC', # OPTIONAL Definition => { IamActionDefinition => { PolicyArn => 'MyPolicyArn', # min: 25, max: 684 Groups => [ 'MyGroup', ... # min: 1, max: 640 ], # min: 1, max: 100; OPTIONAL Roles => [ 'MyRole', ... # min: 1, max: 576 ], # min: 1, max: 100; OPTIONAL Users => [ 'MyUser', ... # min: 1, max: 576 ], # min: 1, max: 100; OPTIONAL }, # OPTIONAL ScpActionDefinition => { PolicyId => 'MyPolicyId', # min: 10, max: 130 TargetIds => [ 'MyTargetId', ... # min: 12, max: 68 ], # min: 1, max: 100 }, # OPTIONAL SsmActionDefinition => { ActionSubType => 'STOP_EC2_INSTANCES' , # values: STOP_EC2_INSTANCES, STOP_RDS_INSTANCES InstanceIds => [ 'MyInstanceId', ... # min: 1, max: 63 ], # min: 1, max: 100 Region => 'MyRegion', # min: 9, max: 20 }, # OPTIONAL }, # OPTIONAL ExecutionRoleArn => 'MyRoleArn', # OPTIONAL NotificationType => 'ACTUAL', # OPTIONAL Subscribers => [ { Address => 'MySubscriberAddress', # min: 1, max: 2147483647 SubscriptionType => 'SNS', # values: SNS, EMAIL }, ... ], # OPTIONAL ); # Results: my $AccountId = $UpdateBudgetActionResponse->AccountId; my $BudgetName = $UpdateBudgetActionResponse->BudgetName; my $NewAction = $UpdateBudgetActionResponse->NewAction; my $OldAction = $UpdateBudgetActionResponse->OldAction; # Returns a L<Paws::Budgets::UpdateBudgetActionResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/budgets/UpdateBudgetAction> ATTRIBUTESREQUIRED AccountId => StrREQUIRED ActionId => StrA system-generated universally unique identifier (UUID) for the action. ActionThreshold => Paws::Budgets::ActionThresholdApprovalModel => StrThis specifies if the action needs manual or automatic approval. Valid values are: "AUTOMATIC", "MANUAL" REQUIRED BudgetName => StrDefinition => Paws::Budgets::DefinitionExecutionRoleArn => StrThe role passed for action execution and reversion. Roles and actions must be in the same account. NotificationType => StrValid values are: "ACTUAL", "FORECASTED" Subscribers => ArrayRef[Paws::Budgets::Subscriber]SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateBudgetAction in Paws::Budgets BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|