

# UpdateAccountingRequest


The accounting configuration includes configurable settings for Slurm accounting.

## Contents


 ** defaultPurgeTimeInDays **   <a name="PCS-Type-UpdateAccountingRequest-defaultPurgeTimeInDays"></a>
The default value for all purge settings for `slurmdbd.conf`. For more information, see the [slurmdbd.conf documentation at SchedMD](https://slurm.schedmd.com/slurmdbd.conf.html).  
The default value for `defaultPurgeTimeInDays` is `-1`.  
A value of `-1` means there is no purge time and records persist as long as the cluster exists.  
 `0` isn't a valid value.
Type: Integer  
Valid Range: Minimum value of -1. Maximum value of 10000.  
Required: No

 ** mode **   <a name="PCS-Type-UpdateAccountingRequest-mode"></a>
The default value for `mode` is `NONE`. A value of `STANDARD` means Slurm accounting is enabled.  
Type: String  
Valid Values: `STANDARD | NONE`   
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/pcs-2023-02-10/UpdateAccountingRequest) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/pcs-2023-02-10/UpdateAccountingRequest) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/pcs-2023-02-10/UpdateAccountingRequest) 