Enum Activity

java.lang.Object
java.lang.Enum<Activity>
software.amazon.awssdk.services.context.model.Activity
All Implemented Interfaces:
Serializable, Comparable<Activity>

@Generated("software.amazon.awssdk:codegen") public enum Activity extends Enum<Activity>

The activity that generated a change set. Valid values:

  • DATA_SOURCE_EXTRACTION - AWS Context extracted the content from a connected data source with a model, for example from the documents of an Amazon Bedrock knowledge base.

  • DATA_SOURCE_INGESTION - AWS Context ingested content from a connected data source as a repeatable projection of the source, such as an AWS Glue Data Catalog sync.

  • ENTITY_RESOLUTION - AWS Context merged duplicate entities into one canonical entity.

  • ONTOLOGY_GROUNDING - AWS Context linked an ontology class to the data entities that instantiate it.

  • TRACE_ANALYSIS - AWS Context derived skills and instructions from recorded agent sessions.

  • IMPORT_DATA_DICTIONARY_TASK - An IMPORT_DATA_DICTIONARY task wrote the content. Change sets from earlier IMPORT_VERIFIED_QUERIES tasks can also carry this value.

  • IMPORT_VERIFIED_QUERIES_TASK - An IMPORT_VERIFIED_QUERIES task wrote the content.

  • IMPORT_ONTOLOGY_TASK - An IMPORT_ONTOLOGY task imported an ontology.

  • DIRECT_MODIFICATION - A person, an agent, or an application called CreateChangeSet directly.

If you pass any other value as the ListChangeSets filter, the request fails with ValidationException. A change set can have no activity, so handle an absent generatedBy.

  • Enum Constant Details

    • DATA_SOURCE_EXTRACTION

      public static final Activity DATA_SOURCE_EXTRACTION
    • DATA_SOURCE_INGESTION

      public static final Activity DATA_SOURCE_INGESTION
    • ENTITY_RESOLUTION

      public static final Activity ENTITY_RESOLUTION
    • ONTOLOGY_GROUNDING

      public static final Activity ONTOLOGY_GROUNDING
    • TRACE_ANALYSIS

      public static final Activity TRACE_ANALYSIS
    • IMPORT_DATA_DICTIONARY_TASK

      public static final Activity IMPORT_DATA_DICTIONARY_TASK
    • IMPORT_VERIFIED_QUERIES_TASK

      public static final Activity IMPORT_VERIFIED_QUERIES_TASK
    • IMPORT_ONTOLOGY_TASK

      public static final Activity IMPORT_ONTOLOGY_TASK
    • DIRECT_MODIFICATION

      public static final Activity DIRECT_MODIFICATION
    • UNKNOWN_TO_SDK_VERSION

      public static final Activity UNKNOWN_TO_SDK_VERSION
  • Method Details

    • values

      public static Activity[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Activity valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Activity>
    • fromValue

      public static Activity fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      Activity corresponding to the value
    • knownValues

      public static Set<Activity> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known Activitys