Greengrass / Client / get_group_version
get_group_version#
- Greengrass.Client.get_group_version(**kwargs)#
Retrieves information about a group version.
See also: AWS API Documentation
Request Syntax
response = client.get_group_version( GroupId='string', GroupVersionId='string' )
- Parameters:
GroupId (string) – [REQUIRED] The ID of the Greengrass group.
GroupVersionId (string) – [REQUIRED] The ID of the group version. This value maps to the ‘’Version’’ property of the corresponding ‘’VersionInformation’’ object, which is returned by ‘’ListGroupVersions’’ requests. If the version is the last one that was associated with a group, the value also maps to the ‘’LatestVersion’’ property of the corresponding ‘’GroupInformation’’ object.
- Return type:
dict
- Returns:
Response Syntax
{ 'Arn': 'string', 'CreationTimestamp': 'string', 'Definition': { 'ConnectorDefinitionVersionArn': 'string', 'CoreDefinitionVersionArn': 'string', 'DeviceDefinitionVersionArn': 'string', 'FunctionDefinitionVersionArn': 'string', 'LoggerDefinitionVersionArn': 'string', 'ResourceDefinitionVersionArn': 'string', 'SubscriptionDefinitionVersionArn': 'string' }, 'Id': 'string', 'Version': 'string' }
Response Structure
(dict) – success
Arn (string) – The ARN of the group version.
CreationTimestamp (string) – The time, in milliseconds since the epoch, when the group version was created.
Definition (dict) – Information about the group version definition.
ConnectorDefinitionVersionArn (string) – The ARN of the connector definition version for this group.
CoreDefinitionVersionArn (string) – The ARN of the core definition version for this group.
DeviceDefinitionVersionArn (string) – The ARN of the device definition version for this group.
FunctionDefinitionVersionArn (string) – The ARN of the function definition version for this group.
LoggerDefinitionVersionArn (string) – The ARN of the logger definition version for this group.
ResourceDefinitionVersionArn (string) – The ARN of the resource definition version for this group.
SubscriptionDefinitionVersionArn (string) – The ARN of the subscription definition version for this group.
Id (string) – The ID of the group that the version is associated with.
Version (string) – The ID of the group version.
Exceptions
Greengrass.Client.exceptions.BadRequestException