Skip to content

Update codegen #574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 48 additions & 1 deletion awsiot/greengrasscoreipc/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ class MessageContext(rpc.Shape):
"""
MessageContext

The context is ignored if used in PublishMessage.
Contextual information about the message.
NOTE The context is ignored if used in PublishMessage.

All attributes are None by default, and may be set by keyword in the constructor.

Expand Down Expand Up @@ -6868,6 +6869,10 @@ def __eq__(self, other):


class _AuthorizeClientDeviceActionOperation(rpc.ClientOperation):
"""
Send a request to authorize action on some resource
"""

@classmethod
def _model_name(cls):
return 'aws.greengrass#AuthorizeClientDeviceAction'
Expand Down Expand Up @@ -6916,6 +6921,10 @@ def _response_stream_type(cls):


class _CreateDebugPasswordOperation(rpc.ClientOperation):
"""
Generate a password for the LocalDebugConsole component
"""

@classmethod
def _model_name(cls):
return 'aws.greengrass#CreateDebugPassword'
Expand Down Expand Up @@ -7016,6 +7025,10 @@ def _response_stream_type(cls):


class _GetClientDeviceAuthTokenOperation(rpc.ClientOperation):
"""
Get session token for a client device
"""

@classmethod
def _model_name(cls):
return 'aws.greengrass#GetClientDeviceAuthToken'
Expand Down Expand Up @@ -7116,6 +7129,10 @@ def _response_stream_type(cls):


class _GetSecretValueOperation(rpc.ClientOperation):
"""
Retrieves a secret stored in AWS secrets manager
"""

@classmethod
def _model_name(cls):
return 'aws.greengrass#GetSecretValue'
Expand Down Expand Up @@ -7164,6 +7181,10 @@ def _response_stream_type(cls):


class _ListComponentsOperation(rpc.ClientOperation):
"""
Request for a list of components
"""

@classmethod
def _model_name(cls):
return 'aws.greengrass#ListComponents'
Expand Down Expand Up @@ -7238,6 +7259,10 @@ def _response_stream_type(cls):


class _PauseComponentOperation(rpc.ClientOperation):
"""
Pause a running component
"""

@classmethod
def _model_name(cls):
return 'aws.greengrass#PauseComponent'
Expand Down Expand Up @@ -7312,6 +7337,11 @@ def _response_stream_type(cls):


class _PutComponentMetricOperation(rpc.ClientOperation):
"""
Send component metrics
NOTE Only usable by AWS components
"""

@classmethod
def _model_name(cls):
return 'aws.greengrass#PutComponentMetric'
Expand Down Expand Up @@ -7360,6 +7390,10 @@ def _response_stream_type(cls):


class _ResumeComponentOperation(rpc.ClientOperation):
"""
Resume a paused component
"""

@classmethod
def _model_name(cls):
return 'aws.greengrass#ResumeComponent'
Expand Down Expand Up @@ -7436,6 +7470,10 @@ def _response_stream_type(cls):


class _SubscribeToCertificateUpdatesOperation(rpc.ClientOperation):
"""
Create a subscription for new certificates
"""

@classmethod
def _model_name(cls):
return 'aws.greengrass#SubscribeToCertificateUpdates'
Expand Down Expand Up @@ -7671,6 +7709,11 @@ def _response_stream_type(cls):


class _ValidateAuthorizationTokenOperation(rpc.ClientOperation):
"""
Validate authorization token
NOTE This API can be used only by stream manager, customer component calling this API will receive UnauthorizedError
"""

@classmethod
def _model_name(cls):
return 'aws.greengrass#ValidateAuthorizationToken'
Expand All @@ -7693,6 +7736,10 @@ def _response_stream_type(cls):


class _VerifyClientDeviceIdentityOperation(rpc.ClientOperation):
"""
Verify client device credentials
"""

@classmethod
def _model_name(cls):
return 'aws.greengrass#VerifyClientDeviceIdentity'
Expand Down