create_connector_definition_version

Greengrass.Client.create_connector_definition_version(**kwargs)

Creates a version of a connector definition which has already been defined.

See also: AWS API Documentation

Request Syntax

response = client.create_connector_definition_version(
    AmznClientToken='string',
    ConnectorDefinitionId='string',
    Connectors=[
        {
            'ConnectorArn': 'string',
            'Id': 'string',
            'Parameters': {
                'string': 'string'
            }
        },
    ]
)
Parameters
  • AmznClientToken (string) -- A client token used to correlate requests and responses.
  • ConnectorDefinitionId (string) -- [REQUIRED] The ID of the connector definition.
  • Connectors (list) --

    A list of references to connectors in this version, with their corresponding configuration settings.

    • (dict) -- Information about a connector. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.
      • ConnectorArn (string) -- [REQUIRED] The ARN of the connector.
      • Id (string) -- [REQUIRED] A descriptive or arbitrary ID for the connector. This value must be unique within the connector definition version. Max length is 128 characters with pattern [a-zA-Z0-9:_-]+.
      • Parameters (dict) -- The parameters or configuration that the connector uses.
        • (string) --
          • (string) --
Return type

dict

Returns

Response Syntax

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

Response Structure

  • (dict) --
    • 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