@@ -71,6 +71,40 @@ def close(self) -> concurrent.futures.Future:
71
71
return super ().close ()
72
72
73
73
74
+ class ResumeComponentOperation (model ._ResumeComponentOperation ):
75
+ """
76
+ ResumeComponentOperation
77
+
78
+ Create with GreengrassCoreIPCClient.new_resume_component()
79
+ """
80
+
81
+ def activate (self , request : model .ResumeComponentRequest ) -> concurrent .futures .Future :
82
+ """
83
+ Activate this operation by sending the initial ResumeComponentRequest message.
84
+
85
+ Returns a Future which completes with a result of None if the
86
+ request is successfully written to the wire, or an exception if
87
+ the request fails to send.
88
+ """
89
+ return self ._activate (request )
90
+
91
+ def get_response (self ) -> concurrent .futures .Future :
92
+ """
93
+ Returns a Future which completes with a result of ResumeComponentResponse,
94
+ when the initial response is received, or an exception.
95
+ """
96
+ return self ._get_response ()
97
+
98
+ def close (self ) -> concurrent .futures .Future :
99
+ """
100
+ Close the operation, whether or not it has completed.
101
+
102
+ Returns a Future which completes with a result of None
103
+ when the operation has closed.
104
+ """
105
+ return super ().close ()
106
+
107
+
74
108
class PublishToIoTCoreOperation (model ._PublishToIoTCoreOperation ):
75
109
"""
76
110
PublishToIoTCoreOperation
@@ -1003,6 +1037,40 @@ def close(self) -> concurrent.futures.Future:
1003
1037
return super ().close ()
1004
1038
1005
1039
1040
+ class PauseComponentOperation (model ._PauseComponentOperation ):
1041
+ """
1042
+ PauseComponentOperation
1043
+
1044
+ Create with GreengrassCoreIPCClient.new_pause_component()
1045
+ """
1046
+
1047
+ def activate (self , request : model .PauseComponentRequest ) -> concurrent .futures .Future :
1048
+ """
1049
+ Activate this operation by sending the initial PauseComponentRequest message.
1050
+
1051
+ Returns a Future which completes with a result of None if the
1052
+ request is successfully written to the wire, or an exception if
1053
+ the request fails to send.
1054
+ """
1055
+ return self ._activate (request )
1056
+
1057
+ def get_response (self ) -> concurrent .futures .Future :
1058
+ """
1059
+ Returns a Future which completes with a result of PauseComponentResponse,
1060
+ when the initial response is received, or an exception.
1061
+ """
1062
+ return self ._get_response ()
1063
+
1064
+ def close (self ) -> concurrent .futures .Future :
1065
+ """
1066
+ Close the operation, whether or not it has completed.
1067
+
1068
+ Returns a Future which completes with a result of None
1069
+ when the operation has closed.
1070
+ """
1071
+ return super ().close ()
1072
+
1073
+
1006
1074
class CreateLocalDeploymentOperation (model ._CreateLocalDeploymentOperation ):
1007
1075
"""
1008
1076
CreateLocalDeploymentOperation
@@ -1062,6 +1130,16 @@ def new_subscribe_to_iot_core(self, stream_handler: SubscribeToIoTCoreStreamHand
1062
1130
"""
1063
1131
return self ._new_operation (SubscribeToIoTCoreOperation , stream_handler )
1064
1132
1133
+ def new_resume_component (self ) -> ResumeComponentOperation :
1134
+ """
1135
+ Create a new ResumeComponentOperation.
1136
+
1137
+ This operation will not send or receive any data until activate()
1138
+ is called. Call activate() when you're ready for callbacks and
1139
+ events to fire.
1140
+ """
1141
+ return self ._new_operation (ResumeComponentOperation )
1142
+
1065
1143
def new_publish_to_iot_core (self ) -> PublishToIoTCoreOperation :
1066
1144
"""
1067
1145
Create a new PublishToIoTCoreOperation.
@@ -1318,6 +1396,16 @@ def new_stop_component(self) -> StopComponentOperation:
1318
1396
"""
1319
1397
return self ._new_operation (StopComponentOperation )
1320
1398
1399
+ def new_pause_component (self ) -> PauseComponentOperation :
1400
+ """
1401
+ Create a new PauseComponentOperation.
1402
+
1403
+ This operation will not send or receive any data until activate()
1404
+ is called. Call activate() when you're ready for callbacks and
1405
+ events to fire.
1406
+ """
1407
+ return self ._new_operation (PauseComponentOperation )
1408
+
1321
1409
def new_create_local_deployment (self ) -> CreateLocalDeploymentOperation :
1322
1410
"""
1323
1411
Create a new CreateLocalDeploymentOperation.
0 commit comments