You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoTThingsGraph::Types::UploadEntityDefinitionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UploadEntityDefinitionsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  document: {
    language: "GRAPHQL", # required, accepts GRAPHQL
    text: "DefinitionText", # required
  },
  sync_with_public_namespace: false,
  deprecate_existing_entities: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#deprecate_existing_entitiesBoolean

A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument. If set to true, the upload will create a new namespace version.

Returns:

  • (Boolean)

    A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument.

#documentTypes::DefinitionDocument

The DefinitionDocument that defines the updated entities.

Returns:

#sync_with_public_namespaceBoolean

A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to true, the upload will create a new namespace version.

Returns:

  • (Boolean)

    A Boolean that specifies whether to synchronize with the latest version of the public namespace.