@@ -703,7 +703,7 @@ export const se_CreateBudgetCommand = async (
703703 const b = rb ( input , context ) ;
704704 const headers : any = map ( { } , isSerializableHeaderValue , {
705705 "content-type" : "application/json" ,
706- [ _xact ] : input [ _cT ] ! ,
706+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
707707 } ) ;
708708 b . bp ( "/2023-10-12/farms/{farmId}/budgets" ) ;
709709 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -740,7 +740,7 @@ export const se_CreateFarmCommand = async (
740740 const b = rb ( input , context ) ;
741741 const headers : any = map ( { } , isSerializableHeaderValue , {
742742 "content-type" : "application/json" ,
743- [ _xact ] : input [ _cT ] ! ,
743+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
744744 } ) ;
745745 b . bp ( "/2023-10-12/farms" ) ;
746746 let body : any ;
@@ -774,7 +774,7 @@ export const se_CreateFleetCommand = async (
774774 const b = rb ( input , context ) ;
775775 const headers : any = map ( { } , isSerializableHeaderValue , {
776776 "content-type" : "application/json" ,
777- [ _xact ] : input [ _cT ] ! ,
777+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
778778 } ) ;
779779 b . bp ( "/2023-10-12/farms/{farmId}/fleets" ) ;
780780 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -812,7 +812,7 @@ export const se_CreateJobCommand = async (
812812 const b = rb ( input , context ) ;
813813 const headers : any = map ( { } , isSerializableHeaderValue , {
814814 "content-type" : "application/json" ,
815- [ _xact ] : input [ _cT ] ! ,
815+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
816816 } ) ;
817817 b . bp ( "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs" ) ;
818818 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -853,7 +853,7 @@ export const se_CreateLicenseEndpointCommand = async (
853853 const b = rb ( input , context ) ;
854854 const headers : any = map ( { } , isSerializableHeaderValue , {
855855 "content-type" : "application/json" ,
856- [ _xact ] : input [ _cT ] ! ,
856+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
857857 } ) ;
858858 b . bp ( "/2023-10-12/license-endpoints" ) ;
859859 let body : any ;
@@ -887,7 +887,7 @@ export const se_CreateMonitorCommand = async (
887887 const b = rb ( input , context ) ;
888888 const headers : any = map ( { } , isSerializableHeaderValue , {
889889 "content-type" : "application/json" ,
890- [ _xact ] : input [ _cT ] ! ,
890+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
891891 } ) ;
892892 b . bp ( "/2023-10-12/monitors" ) ;
893893 let body : any ;
@@ -921,7 +921,7 @@ export const se_CreateQueueCommand = async (
921921 const b = rb ( input , context ) ;
922922 const headers : any = map ( { } , isSerializableHeaderValue , {
923923 "content-type" : "application/json" ,
924- [ _xact ] : input [ _cT ] ! ,
924+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
925925 } ) ;
926926 b . bp ( "/2023-10-12/farms/{farmId}/queues" ) ;
927927 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -961,7 +961,7 @@ export const se_CreateQueueEnvironmentCommand = async (
961961 const b = rb ( input , context ) ;
962962 const headers : any = map ( { } , isSerializableHeaderValue , {
963963 "content-type" : "application/json" ,
964- [ _xact ] : input [ _cT ] ! ,
964+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
965965 } ) ;
966966 b . bp ( "/2023-10-12/farms/{farmId}/queues/{queueId}/environments" ) ;
967967 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -1028,7 +1028,7 @@ export const se_CreateStorageProfileCommand = async (
10281028 const b = rb ( input , context ) ;
10291029 const headers : any = map ( { } , isSerializableHeaderValue , {
10301030 "content-type" : "application/json" ,
1031- [ _xact ] : input [ _cT ] ! ,
1031+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
10321032 } ) ;
10331033 b . bp ( "/2023-10-12/farms/{farmId}/storage-profiles" ) ;
10341034 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -1062,7 +1062,7 @@ export const se_CreateWorkerCommand = async (
10621062 const b = rb ( input , context ) ;
10631063 const headers : any = map ( { } , isSerializableHeaderValue , {
10641064 "content-type" : "application/json" ,
1065- [ _xact ] : input [ _cT ] ! ,
1065+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
10661066 } ) ;
10671067 b . bp ( "/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers" ) ;
10681068 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -1143,7 +1143,7 @@ export const se_DeleteFleetCommand = async (
11431143) : Promise < __HttpRequest > => {
11441144 const b = rb ( input , context ) ;
11451145 const headers : any = map ( { } , isSerializableHeaderValue , {
1146- [ _xact ] : input [ _cT ] ! ,
1146+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
11471147 } ) ;
11481148 b . bp ( "/2023-10-12/farms/{farmId}/fleets/{fleetId}" ) ;
11491149 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -2935,7 +2935,7 @@ export const se_UpdateBudgetCommand = async (
29352935 const b = rb ( input , context ) ;
29362936 const headers : any = map ( { } , isSerializableHeaderValue , {
29372937 "content-type" : "application/json" ,
2938- [ _xact ] : input [ _cT ] ! ,
2938+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
29392939 } ) ;
29402940 b . bp ( "/2023-10-12/farms/{farmId}/budgets/{budgetId}" ) ;
29412941 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -3006,7 +3006,7 @@ export const se_UpdateFleetCommand = async (
30063006 const b = rb ( input , context ) ;
30073007 const headers : any = map ( { } , isSerializableHeaderValue , {
30083008 "content-type" : "application/json" ,
3009- [ _xact ] : input [ _cT ] ! ,
3009+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
30103010 } ) ;
30113011 b . bp ( "/2023-10-12/farms/{farmId}/fleets/{fleetId}" ) ;
30123012 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -3044,7 +3044,7 @@ export const se_UpdateJobCommand = async (
30443044 const b = rb ( input , context ) ;
30453045 const headers : any = map ( { } , isSerializableHeaderValue , {
30463046 "content-type" : "application/json" ,
3047- [ _xact ] : input [ _cT ] ! ,
3047+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
30483048 } ) ;
30493049 b . bp ( "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}" ) ;
30503050 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -3115,7 +3115,7 @@ export const se_UpdateQueueCommand = async (
31153115 const b = rb ( input , context ) ;
31163116 const headers : any = map ( { } , isSerializableHeaderValue , {
31173117 "content-type" : "application/json" ,
3118- [ _xact ] : input [ _cT ] ! ,
3118+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
31193119 } ) ;
31203120 b . bp ( "/2023-10-12/farms/{farmId}/queues/{queueId}" ) ;
31213121 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -3157,7 +3157,7 @@ export const se_UpdateQueueEnvironmentCommand = async (
31573157 const b = rb ( input , context ) ;
31583158 const headers : any = map ( { } , isSerializableHeaderValue , {
31593159 "content-type" : "application/json" ,
3160- [ _xact ] : input [ _cT ] ! ,
3160+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
31613161 } ) ;
31623162 b . bp ( "/2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}" ) ;
31633163 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -3226,7 +3226,7 @@ export const se_UpdateSessionCommand = async (
32263226 const b = rb ( input , context ) ;
32273227 const headers : any = map ( { } , isSerializableHeaderValue , {
32283228 "content-type" : "application/json" ,
3229- [ _xact ] : input [ _cT ] ! ,
3229+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
32303230 } ) ;
32313231 b . bp ( "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions/{sessionId}" ) ;
32323232 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -3261,7 +3261,7 @@ export const se_UpdateStepCommand = async (
32613261 const b = rb ( input , context ) ;
32623262 const headers : any = map ( { } , isSerializableHeaderValue , {
32633263 "content-type" : "application/json" ,
3264- [ _xact ] : input [ _cT ] ! ,
3264+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
32653265 } ) ;
32663266 b . bp ( "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}" ) ;
32673267 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -3296,7 +3296,7 @@ export const se_UpdateStorageProfileCommand = async (
32963296 const b = rb ( input , context ) ;
32973297 const headers : any = map ( { } , isSerializableHeaderValue , {
32983298 "content-type" : "application/json" ,
3299- [ _xact ] : input [ _cT ] ! ,
3299+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
33003300 } ) ;
33013301 b . bp ( "/2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}" ) ;
33023302 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
@@ -3332,7 +3332,7 @@ export const se_UpdateTaskCommand = async (
33323332 const b = rb ( input , context ) ;
33333333 const headers : any = map ( { } , isSerializableHeaderValue , {
33343334 "content-type" : "application/json" ,
3335- [ _xact ] : input [ _cT ] ! ,
3335+ [ _xact ] : input [ _cT ] ?? generateIdempotencyToken ( ) ,
33363336 } ) ;
33373337 b . bp ( "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks/{taskId}" ) ;
33383338 b . p ( "farmId" , ( ) => input . farmId ! , "{farmId}" , false ) ;
0 commit comments