@@ -290,6 +290,8 @@ class MessageContext(rpc.Shape):
290
290
"""
291
291
MessageContext
292
292
293
+ The context is ignored if used in PublishMessage.
294
+
293
295
All attributes are None by default, and may be set by keyword in the constructor.
294
296
295
297
Keyword Args:
@@ -6888,6 +6890,10 @@ def _response_stream_type(cls):
6888
6890
6889
6891
6890
6892
class _CancelLocalDeploymentOperation (rpc .ClientOperation ):
6893
+ """
6894
+ Cancel a local deployment on the device.
6895
+ """
6896
+
6891
6897
@classmethod
6892
6898
def _model_name (cls ):
6893
6899
return 'aws.greengrass#CancelLocalDeployment'
@@ -6932,6 +6938,10 @@ def _response_stream_type(cls):
6932
6938
6933
6939
6934
6940
class _CreateLocalDeploymentOperation (rpc .ClientOperation ):
6941
+ """
6942
+ Creates a local deployment on the device. Also allows to remove existing components.
6943
+ """
6944
+
6935
6945
@classmethod
6936
6946
def _model_name (cls ):
6937
6947
return 'aws.greengrass#CreateLocalDeployment'
@@ -6954,6 +6964,10 @@ def _response_stream_type(cls):
6954
6964
6955
6965
6956
6966
class _DeferComponentUpdateOperation (rpc .ClientOperation ):
6967
+ """
6968
+ Defer the update of components by a given amount of time and check again after that.
6969
+ """
6970
+
6957
6971
@classmethod
6958
6972
def _model_name (cls ):
6959
6973
return 'aws.greengrass#DeferComponentUpdate'
@@ -6976,6 +6990,10 @@ def _response_stream_type(cls):
6976
6990
6977
6991
6978
6992
class _DeleteThingShadowOperation (rpc .ClientOperation ):
6993
+ """
6994
+ Deletes a device shadow document stored in the local shadow service
6995
+ """
6996
+
6979
6997
@classmethod
6980
6998
def _model_name (cls ):
6981
6999
return 'aws.greengrass#DeleteThingShadow'
@@ -7020,6 +7038,10 @@ def _response_stream_type(cls):
7020
7038
7021
7039
7022
7040
class _GetComponentDetailsOperation (rpc .ClientOperation ):
7041
+ """
7042
+ Gets the status and version of the component with the given component name
7043
+ """
7044
+
7023
7045
@classmethod
7024
7046
def _model_name (cls ):
7025
7047
return 'aws.greengrass#GetComponentDetails'
@@ -7042,6 +7064,10 @@ def _response_stream_type(cls):
7042
7064
7043
7065
7044
7066
class _GetConfigurationOperation (rpc .ClientOperation ):
7067
+ """
7068
+ Get value of a given key from the configuration
7069
+ """
7070
+
7045
7071
@classmethod
7046
7072
def _model_name (cls ):
7047
7073
return 'aws.greengrass#GetConfiguration'
@@ -7064,6 +7090,10 @@ def _response_stream_type(cls):
7064
7090
7065
7091
7066
7092
class _GetLocalDeploymentStatusOperation (rpc .ClientOperation ):
7093
+ """
7094
+ Get status of a local deployment with the given deploymentId
7095
+ """
7096
+
7067
7097
@classmethod
7068
7098
def _model_name (cls ):
7069
7099
return 'aws.greengrass#GetLocalDeploymentStatus'
@@ -7108,6 +7138,10 @@ def _response_stream_type(cls):
7108
7138
7109
7139
7110
7140
class _GetThingShadowOperation (rpc .ClientOperation ):
7141
+ """
7142
+ Retrieves a device shadow document stored by the local shadow service
7143
+ """
7144
+
7111
7145
@classmethod
7112
7146
def _model_name (cls ):
7113
7147
return 'aws.greengrass#GetThingShadow'
@@ -7152,6 +7186,10 @@ def _response_stream_type(cls):
7152
7186
7153
7187
7154
7188
class _ListLocalDeploymentsOperation (rpc .ClientOperation ):
7189
+ """
7190
+ Lists the last 5 local deployments along with their statuses
7191
+ """
7192
+
7155
7193
@classmethod
7156
7194
def _model_name (cls ):
7157
7195
return 'aws.greengrass#ListLocalDeployments'
@@ -7174,6 +7212,10 @@ def _response_stream_type(cls):
7174
7212
7175
7213
7176
7214
class _ListNamedShadowsForThingOperation (rpc .ClientOperation ):
7215
+ """
7216
+ Lists the named shadows for the specified thing
7217
+ """
7218
+
7177
7219
@classmethod
7178
7220
def _model_name (cls ):
7179
7221
return 'aws.greengrass#ListNamedShadowsForThing'
@@ -7218,6 +7260,10 @@ def _response_stream_type(cls):
7218
7260
7219
7261
7220
7262
class _PublishToIoTCoreOperation (rpc .ClientOperation ):
7263
+ """
7264
+ Publish an MQTT message to AWS IoT message broker
7265
+ """
7266
+
7221
7267
@classmethod
7222
7268
def _model_name (cls ):
7223
7269
return 'aws.greengrass#PublishToIoTCore'
@@ -7240,6 +7286,10 @@ def _response_stream_type(cls):
7240
7286
7241
7287
7242
7288
class _PublishToTopicOperation (rpc .ClientOperation ):
7289
+ """
7290
+ Publish to a custom topic.
7291
+ """
7292
+
7243
7293
@classmethod
7244
7294
def _model_name (cls ):
7245
7295
return 'aws.greengrass#PublishToTopic'
@@ -7284,6 +7334,10 @@ def _response_stream_type(cls):
7284
7334
7285
7335
7286
7336
class _RestartComponentOperation (rpc .ClientOperation ):
7337
+ """
7338
+ Restarts a component with the given name
7339
+ """
7340
+
7287
7341
@classmethod
7288
7342
def _model_name (cls ):
7289
7343
return 'aws.greengrass#RestartComponent'
@@ -7328,6 +7382,12 @@ def _response_stream_type(cls):
7328
7382
7329
7383
7330
7384
class _SendConfigurationValidityReportOperation (rpc .ClientOperation ):
7385
+ """
7386
+ This operation should be used in response to event received as part of SubscribeToValidateConfigurationUpdates
7387
+ subscription. It is not necessary to send the report if the configuration is valid (GGC will wait for timeout
7388
+ period and proceed). Sending the report with invalid config status will prevent GGC from applying the updates
7389
+ """
7390
+
7331
7391
@classmethod
7332
7392
def _model_name (cls ):
7333
7393
return 'aws.greengrass#SendConfigurationValidityReport'
@@ -7350,6 +7410,10 @@ def _response_stream_type(cls):
7350
7410
7351
7411
7352
7412
class _StopComponentOperation (rpc .ClientOperation ):
7413
+ """
7414
+ Stops a component with the given name
7415
+ """
7416
+
7353
7417
@classmethod
7354
7418
def _model_name (cls ):
7355
7419
return 'aws.greengrass#StopComponent'
@@ -7394,6 +7458,10 @@ def _response_stream_type(cls):
7394
7458
7395
7459
7396
7460
class _SubscribeToComponentUpdatesOperation (rpc .ClientOperation ):
7461
+ """
7462
+ Subscribe to receive notification if GGC is about to update any components
7463
+ """
7464
+
7397
7465
@classmethod
7398
7466
def _model_name (cls ):
7399
7467
return 'aws.greengrass#SubscribeToComponentUpdates'
@@ -7416,6 +7484,10 @@ def _response_stream_type(cls):
7416
7484
7417
7485
7418
7486
class _SubscribeToConfigurationUpdateOperation (rpc .ClientOperation ):
7487
+ """
7488
+ Subscribes to be notified when GGC updates the configuration for a given componentName and keyName.
7489
+ """
7490
+
7419
7491
@classmethod
7420
7492
def _model_name (cls ):
7421
7493
return 'aws.greengrass#SubscribeToConfigurationUpdate'
@@ -7438,6 +7510,10 @@ def _response_stream_type(cls):
7438
7510
7439
7511
7440
7512
class _SubscribeToIoTCoreOperation (rpc .ClientOperation ):
7513
+ """
7514
+ Subscribe to a topic in AWS IoT message broker.
7515
+ """
7516
+
7441
7517
@classmethod
7442
7518
def _model_name (cls ):
7443
7519
return 'aws.greengrass#SubscribeToIoTCore'
@@ -7460,6 +7536,10 @@ def _response_stream_type(cls):
7460
7536
7461
7537
7462
7538
class _SubscribeToTopicOperation (rpc .ClientOperation ):
7539
+ """
7540
+ Creates a subscription for a custom topic
7541
+ """
7542
+
7463
7543
@classmethod
7464
7544
def _model_name (cls ):
7465
7545
return 'aws.greengrass#SubscribeToTopic'
@@ -7482,6 +7562,13 @@ def _response_stream_type(cls):
7482
7562
7483
7563
7484
7564
class _SubscribeToValidateConfigurationUpdatesOperation (rpc .ClientOperation ):
7565
+ """
7566
+ Subscribes to be notified when GGC is about to update configuration for this component
7567
+ GGC will wait for a timeout period before it proceeds with the update.
7568
+ If the new configuration is not valid this component can use the SendConfigurationValidityReport
7569
+ operation to indicate that
7570
+ """
7571
+
7485
7572
@classmethod
7486
7573
def _model_name (cls ):
7487
7574
return 'aws.greengrass#SubscribeToValidateConfigurationUpdates'
@@ -7504,6 +7591,11 @@ def _response_stream_type(cls):
7504
7591
7505
7592
7506
7593
class _UpdateConfigurationOperation (rpc .ClientOperation ):
7594
+ """
7595
+ Update this component's configuration by replacing the value of given keyName with the newValue.
7596
+ If an oldValue is specified then update will only take effect id the current value matches the given oldValue
7597
+ """
7598
+
7507
7599
@classmethod
7508
7600
def _model_name (cls ):
7509
7601
return 'aws.greengrass#UpdateConfiguration'
@@ -7526,6 +7618,10 @@ def _response_stream_type(cls):
7526
7618
7527
7619
7528
7620
class _UpdateStateOperation (rpc .ClientOperation ):
7621
+ """
7622
+ Update status of this component
7623
+ """
7624
+
7529
7625
@classmethod
7530
7626
def _model_name (cls ):
7531
7627
return 'aws.greengrass#UpdateState'
@@ -7548,6 +7644,11 @@ def _response_stream_type(cls):
7548
7644
7549
7645
7550
7646
class _UpdateThingShadowOperation (rpc .ClientOperation ):
7647
+ """
7648
+ Updates a device shadow document stored in the local shadow service
7649
+ The update is an upsert operation, with optimistic locking support
7650
+ """
7651
+
7551
7652
@classmethod
7552
7653
def _model_name (cls ):
7553
7654
return 'aws.greengrass#UpdateThingShadow'
0 commit comments