Skip to content

Commit 326abec

Browse files
authored
Update codegen (#574)
1 parent 50332fa commit 326abec

File tree

1 file changed

+48
-1
lines changed

1 file changed

+48
-1
lines changed

awsiot/greengrasscoreipc/model.py

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ class MessageContext(rpc.Shape):
290290
"""
291291
MessageContext
292292
293-
The context is ignored if used in PublishMessage.
293+
Contextual information about the message.
294+
NOTE The context is ignored if used in PublishMessage.
294295
295296
All attributes are None by default, and may be set by keyword in the constructor.
296297
@@ -6868,6 +6869,10 @@ def __eq__(self, other):
68686869

68696870

68706871
class _AuthorizeClientDeviceActionOperation(rpc.ClientOperation):
6872+
"""
6873+
Send a request to authorize action on some resource
6874+
"""
6875+
68716876
@classmethod
68726877
def _model_name(cls):
68736878
return 'aws.greengrass#AuthorizeClientDeviceAction'
@@ -6916,6 +6921,10 @@ def _response_stream_type(cls):
69166921

69176922

69186923
class _CreateDebugPasswordOperation(rpc.ClientOperation):
6924+
"""
6925+
Generate a password for the LocalDebugConsole component
6926+
"""
6927+
69196928
@classmethod
69206929
def _model_name(cls):
69216930
return 'aws.greengrass#CreateDebugPassword'
@@ -7016,6 +7025,10 @@ def _response_stream_type(cls):
70167025

70177026

70187027
class _GetClientDeviceAuthTokenOperation(rpc.ClientOperation):
7028+
"""
7029+
Get session token for a client device
7030+
"""
7031+
70197032
@classmethod
70207033
def _model_name(cls):
70217034
return 'aws.greengrass#GetClientDeviceAuthToken'
@@ -7116,6 +7129,10 @@ def _response_stream_type(cls):
71167129

71177130

71187131
class _GetSecretValueOperation(rpc.ClientOperation):
7132+
"""
7133+
Retrieves a secret stored in AWS secrets manager
7134+
"""
7135+
71197136
@classmethod
71207137
def _model_name(cls):
71217138
return 'aws.greengrass#GetSecretValue'
@@ -7164,6 +7181,10 @@ def _response_stream_type(cls):
71647181

71657182

71667183
class _ListComponentsOperation(rpc.ClientOperation):
7184+
"""
7185+
Request for a list of components
7186+
"""
7187+
71677188
@classmethod
71687189
def _model_name(cls):
71697190
return 'aws.greengrass#ListComponents'
@@ -7238,6 +7259,10 @@ def _response_stream_type(cls):
72387259

72397260

72407261
class _PauseComponentOperation(rpc.ClientOperation):
7262+
"""
7263+
Pause a running component
7264+
"""
7265+
72417266
@classmethod
72427267
def _model_name(cls):
72437268
return 'aws.greengrass#PauseComponent'
@@ -7312,6 +7337,11 @@ def _response_stream_type(cls):
73127337

73137338

73147339
class _PutComponentMetricOperation(rpc.ClientOperation):
7340+
"""
7341+
Send component metrics
7342+
NOTE Only usable by AWS components
7343+
"""
7344+
73157345
@classmethod
73167346
def _model_name(cls):
73177347
return 'aws.greengrass#PutComponentMetric'
@@ -7360,6 +7390,10 @@ def _response_stream_type(cls):
73607390

73617391

73627392
class _ResumeComponentOperation(rpc.ClientOperation):
7393+
"""
7394+
Resume a paused component
7395+
"""
7396+
73637397
@classmethod
73647398
def _model_name(cls):
73657399
return 'aws.greengrass#ResumeComponent'
@@ -7436,6 +7470,10 @@ def _response_stream_type(cls):
74367470

74377471

74387472
class _SubscribeToCertificateUpdatesOperation(rpc.ClientOperation):
7473+
"""
7474+
Create a subscription for new certificates
7475+
"""
7476+
74397477
@classmethod
74407478
def _model_name(cls):
74417479
return 'aws.greengrass#SubscribeToCertificateUpdates'
@@ -7671,6 +7709,11 @@ def _response_stream_type(cls):
76717709

76727710

76737711
class _ValidateAuthorizationTokenOperation(rpc.ClientOperation):
7712+
"""
7713+
Validate authorization token
7714+
NOTE This API can be used only by stream manager, customer component calling this API will receive UnauthorizedError
7715+
"""
7716+
76747717
@classmethod
76757718
def _model_name(cls):
76767719
return 'aws.greengrass#ValidateAuthorizationToken'
@@ -7693,6 +7736,10 @@ def _response_stream_type(cls):
76937736

76947737

76957738
class _VerifyClientDeviceIdentityOperation(rpc.ClientOperation):
7739+
"""
7740+
Verify client device credentials
7741+
"""
7742+
76967743
@classmethod
76977744
def _model_name(cls):
76987745
return 'aws.greengrass#VerifyClientDeviceIdentity'

0 commit comments

Comments
 (0)