create_group_version

Greengrass.Client.create_group_version(**kwargs)

Creates a version of a group which has already been defined.

See also: AWS API Documentation

Request Syntax

response = client.create_group_version(
    AmznClientToken='string',
    ConnectorDefinitionVersionArn='string',
    CoreDefinitionVersionArn='string',
    DeviceDefinitionVersionArn='string',
    FunctionDefinitionVersionArn='string',
    GroupId='string',
    LoggerDefinitionVersionArn='string',
    ResourceDefinitionVersionArn='string',
    SubscriptionDefinitionVersionArn='string'
)
Parameters
  • AmznClientToken (string) -- A client token used to correlate requests and responses.
  • 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.
  • GroupId (string) -- [REQUIRED] The ID of the Greengrass 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.
Return type

dict

Returns

Response Syntax

{
    'Arn': 'string',
    'CreationTimestamp': 'string',
    'Id': 'string',
    'Version': 'string'
}

Response Structure

  • (dict) -- Success. The response contains information about the group version.
    • Arn (string) -- The ARN of the version.
    • CreationTimestamp (string) -- The time, in milliseconds since the epoch, when the version was created.
    • Id (string) -- The ID of the parent definition that the version is associated with.
    • Version (string) -- The ID of the version.

Exceptions

  • Greengrass.Client.exceptions.BadRequestException