13
13
14
14
# This file is generated
15
15
16
- import awscrt .mqtt
17
16
import awsiot
18
17
import concurrent .futures
19
18
import datetime
@@ -803,10 +802,10 @@ def __init__(self, thing_name=None):
803
802
self .thing_name = thing_name # type: typing.Optional[str]
804
803
805
804
class UpdateJobExecutionRequest (awsiot .ModeledClass ):
806
- __slots__ = ['client_token' , 'execution_number' , 'expected_version' , 'include_job_document' , 'include_job_execution_state' , 'job_id' , 'status' , 'status_details' , 'thing_name' ]
805
+ __slots__ = ['client_token' , 'execution_number' , 'expected_version' , 'include_job_document' , 'include_job_execution_state' , 'job_id' , 'status' , 'status_details' , 'step_timeout_in_minutes' , ' thing_name' ]
807
806
808
- def __init__ (self , client_token = None , execution_number = None , expected_version = None , include_job_document = None , include_job_execution_state = None , job_id = None , status = None , status_details = None , thing_name = None ):
809
- # type: (typing.Optional[str], typing.Optional[int], typing.Optional[int], typing.Optional[bool], typing.Optional[bool], typing.Optional[str], typing.Optional[str], typing.Optional[typing.Dict[str, str]], typing.Optional[str]) -> None
807
+ def __init__ (self , client_token = None , execution_number = None , expected_version = None , include_job_document = None , include_job_execution_state = None , job_id = None , status = None , status_details = None , step_timeout_in_minutes = None , thing_name = None ):
808
+ # type: (typing.Optional[str], typing.Optional[int], typing.Optional[int], typing.Optional[bool], typing.Optional[bool], typing.Optional[str], typing.Optional[str], typing.Optional[typing.Dict[str, str]], typing.Optional[int], typing.Optional[ str]) -> None
810
809
self .client_token = client_token # type: typing.Optional[str]
811
810
self .execution_number = execution_number # type: typing.Optional[int]
812
811
self .expected_version = expected_version # type: typing.Optional[int]
@@ -815,6 +814,7 @@ def __init__(self, client_token=None, execution_number=None, expected_version=No
815
814
self .job_id = job_id # type: typing.Optional[str]
816
815
self .status = status # type: typing.Optional[str]
817
816
self .status_details = status_details # type: typing.Optional[typing.Dict[str, str]]
817
+ self .step_timeout_in_minutes = step_timeout_in_minutes # type: typing.Optional[int]
818
818
self .thing_name = thing_name # type: typing.Optional[str]
819
819
820
820
def to_payload (self ):
@@ -834,6 +834,8 @@ def to_payload(self):
834
834
payload ['status' ] = self .status
835
835
if self .status_details is not None :
836
836
payload ['statusDetails' ] = self .status_details
837
+ if self .step_timeout_in_minutes is not None :
838
+ payload ['stepTimeoutInMinutes' ] = self .step_timeout_in_minutes
837
839
return payload
838
840
839
841
class UpdateJobExecutionResponse (awsiot .ModeledClass ):
0 commit comments