Menu
AWS Greengrass
API Reference

CreateGroupVersion

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

URI: /greengrass/groups/GroupId/versions

Operation: POST

Produces: application/json

Parameters:

  • GroupId

    The unique id of the AWS Greengrass group.

    where used: path

    required: true

    type: string

  • CreateGroupVersionRequestBody

    Information needed to create a group version.

    where used: body

    required: true

    schema:

    GroupVersion

    type: object

    Information about a group version.

    properties:

    • CoreDefinitionVersionArn:

      The core definition version arn for the group.

      type: string

    • DeviceDefinitionVersionArn:

      The device definition version arn for the group.

      type: string

    • FunctionDefinitionVersionArn:

      The function definition version arn for the group.

      type: string

    • SubscriptionDefinitionVersionArn:

      The subscription definition version arn for the group.

      type: string

    • LoggerDefinitionVersionArn:

      The logger definitionv ersion arn for the group.

      type: string

    Example:

    Copy
    { "CoreDefinitionVersionArn": "string", "DeviceDefinitionVersionArn": "string", "FunctionDefinitionVersionArn": "string", "SubscriptionDefinitionVersionArn": "string", "LoggerDefinitionVersionArn": "string" }
  • X-Amzn-Client-Token

    A client token used to correlate requests and responses.

    where used: header

    required: false

    type: string

Responses:

  • 200 (CreateGroupVersionResponse)

    Success. The response body contains the requested version of the group.

    Schema: VersionInformation

  • 400

    invalid request

    Schema: GeneralError