Menu
AWS Greengrass
API Reference

CreateGroup

Creates a group. You may optionally provide the initial version of the group or use CreateGroupVersion at a later time.

URI: /greengrass/groups

Operation: POST

Produces: application/json

Parameters:

  • CreateGroupRequestBody

    Information needed to create a group.

    where used: body

    required: true

    schema:

    properties:

    • Name:

      The name of the group.

      type: string

    • InitialVersion:

      Information about the initial version of the group.

      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
    { "Name": "string", "InitialVersion": { "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: