@@ -101,6 +101,17 @@ public partial class NewABCCustomLineItemCmdlet : AmazonBillingConductorClientCm
101101 public System . Double ? Flat_ChargeValue { get ; set ; }
102102 #endregion
103103
104+ #region Parameter ComputationRule
105+ /// <summary>
106+ /// <para>
107+ /// The service has not provided documentation for this parameter; please refer to the service's API reference documentation for the latest available information.
108+ /// </para>
109+ /// </summary>
110+ [ System . Management . Automation . Parameter ( ValueFromPipelineByPropertyName = true ) ]
111+ [ AWSConstantClassSource ( "Amazon.BillingConductor.ComputationRuleEnum" ) ]
112+ public Amazon . BillingConductor . ComputationRuleEnum ComputationRule { get ; set ; }
113+ #endregion
114+
104115 #region Parameter Description
105116 /// <summary>
106117 /// <para>
@@ -185,6 +196,16 @@ public partial class NewABCCustomLineItemCmdlet : AmazonBillingConductorClientCm
185196 public System . Double ? Percentage_PercentageValue { get ; set ; }
186197 #endregion
187198
199+ #region Parameter PresentationDetails_Service
200+ /// <summary>
201+ /// <para>
202+ /// <para>This defines the service of where the custom line item is presented</para>
203+ /// </para>
204+ /// </summary>
205+ [ System . Management . Automation . Parameter ( ValueFromPipelineByPropertyName = true ) ]
206+ public System . String PresentationDetails_Service { get ; set ; }
207+ #endregion
208+
188209 #region Parameter Tag
189210 /// <summary>
190211 /// <para>
@@ -221,8 +242,10 @@ public partial class NewABCCustomLineItemCmdlet : AmazonBillingConductorClientCm
221242 #region Parameter ClientToken
222243 /// <summary>
223244 /// <para>
224- /// <para> The token that is needed to support idempotency. Idempotency isn't currently supported,
225- /// but will be implemented in a future update. </para>
245+ /// <para>A unique, case-sensitive identifier that you specify to ensure idempotency of the
246+ /// request. Idempotency ensures that an API request completes no more than one time.
247+ /// With an idempotent request, if the original request completes successfully, any subsequent
248+ /// retries complete successfully without performing any further actions.</para>
226249 /// </para>
227250 /// </summary>
228251 [ System . Management . Automation . Parameter ( ValueFromPipelineByPropertyName = true ) ]
@@ -303,6 +326,7 @@ protected override void ProcessRecord()
303326 }
304327 #endif
305328 context . ClientToken = this . ClientToken ;
329+ context . ComputationRule = this . ComputationRule ;
306330 context . Description = this . Description ;
307331 #if MODULAR
308332 if ( this . Description == null && ParameterWasBound ( nameof ( this . Description ) ) )
@@ -317,6 +341,7 @@ protected override void ProcessRecord()
317341 WriteWarning ( "You are passing $null as a value for parameter Name which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues." ) ;
318342 }
319343 #endif
344+ context . PresentationDetails_Service = this . PresentationDetails_Service ;
320345 if ( this . Tag != null )
321346 {
322347 context . Tag = new Dictionary < System . String , System . String > ( StringComparer . Ordinal ) ;
@@ -471,6 +496,10 @@ public object Execute(ExecutorContext context)
471496 {
472497 request . ClientToken = cmdletContext . ClientToken ;
473498 }
499+ if ( cmdletContext . ComputationRule != null )
500+ {
501+ request . ComputationRule = cmdletContext . ComputationRule ;
502+ }
474503 if ( cmdletContext . Description != null )
475504 {
476505 request . Description = cmdletContext . Description ;
@@ -479,6 +508,25 @@ public object Execute(ExecutorContext context)
479508 {
480509 request . Name = cmdletContext . Name ;
481510 }
511+
512+ // populate PresentationDetails
513+ var requestPresentationDetailsIsNull = true ;
514+ request . PresentationDetails = new Amazon . BillingConductor . Model . PresentationObject ( ) ;
515+ System . String requestPresentationDetails_presentationDetails_Service = null ;
516+ if ( cmdletContext . PresentationDetails_Service != null )
517+ {
518+ requestPresentationDetails_presentationDetails_Service = cmdletContext . PresentationDetails_Service ;
519+ }
520+ if ( requestPresentationDetails_presentationDetails_Service != null )
521+ {
522+ request . PresentationDetails . Service = requestPresentationDetails_presentationDetails_Service ;
523+ requestPresentationDetailsIsNull = false ;
524+ }
525+ // determine if request.PresentationDetails should be set to null
526+ if ( requestPresentationDetailsIsNull )
527+ {
528+ request . PresentationDetails = null ;
529+ }
482530 if ( cmdletContext . Tag != null )
483531 {
484532 request . Tags = cmdletContext . Tag ;
@@ -548,8 +596,10 @@ internal partial class CmdletContext : ExecutorContext
548596 public System . Double ? Percentage_PercentageValue { get ; set ; }
549597 public Amazon . BillingConductor . CustomLineItemType ChargeDetails_Type { get ; set ; }
550598 public System . String ClientToken { get ; set ; }
599+ public Amazon . BillingConductor . ComputationRuleEnum ComputationRule { get ; set ; }
551600 public System . String Description { get ; set ; }
552601 public System . String Name { get ; set ; }
602+ public System . String PresentationDetails_Service { get ; set ; }
553603 public Dictionary < System . String , System . String > Tag { get ; set ; }
554604 public System . Func < Amazon . BillingConductor . Model . CreateCustomLineItemResponse , NewABCCustomLineItemCmdlet , object > Select { get ; set ; } =
555605 ( response , cmdlet ) => response . Arn ;
0 commit comments