Class: Aws::NovaAct::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::NovaAct::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb
Overview
An API client for NovaAct. To construct a client, you need to configure a :region and :credentials.
client = Aws::NovaAct::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#create_act(params = {}) ⇒ Types::CreateActResponse
Creates a new AI task (act) within a session that can interact with tools and perform specific actions.
-
#create_session(params = {}) ⇒ Types::CreateSessionResponse
Creates a new session context within a workflow run to manage conversation state and acts.
-
#create_workflow_definition(params = {}) ⇒ Types::CreateWorkflowDefinitionResponse
Creates a new workflow definition template that can be used to execute multiple workflow runs.
-
#create_workflow_run(params = {}) ⇒ Types::CreateWorkflowRunResponse
Creates a new execution instance of a workflow definition with specified parameters.
-
#delete_workflow_definition(params = {}) ⇒ Types::DeleteWorkflowDefinitionResponse
Deletes a workflow definition and all associated resources.
-
#delete_workflow_run(params = {}) ⇒ Types::DeleteWorkflowRunResponse
Terminates and cleans up a workflow run, stopping all associated acts and sessions.
-
#get_workflow_definition(params = {}) ⇒ Types::GetWorkflowDefinitionResponse
Retrieves the details and configuration of a specific workflow definition.
-
#get_workflow_run(params = {}) ⇒ Types::GetWorkflowRunResponse
Retrieves the current state, configuration, and execution details of a workflow run.
-
#invoke_act_step(params = {}) ⇒ Types::InvokeActStepResponse
Executes the next step of an act, processing tool call results and returning new tool calls if needed.
-
#list_acts(params = {}) ⇒ Types::ListActsResponse
Lists all acts within a specific session with their current status and execution details.
-
#list_models(params = {}) ⇒ Types::ListModelsResponse
Lists all available AI models that can be used for workflow execution, including their status and compatibility information.
-
#list_sessions(params = {}) ⇒ Types::ListSessionsResponse
Lists all sessions within a specific workflow run.
-
#list_workflow_definitions(params = {}) ⇒ Types::ListWorkflowDefinitionsResponse
Lists all workflow definitions in your account with optional filtering and pagination.
-
#list_workflow_runs(params = {}) ⇒ Types::ListWorkflowRunsResponse
Lists all workflow runs for a specific workflow definition with optional filtering and pagination.
-
#update_act(params = {}) ⇒ Struct
Updates an existing act's configuration, status, or error information.
-
#update_workflow_run(params = {}) ⇒ Struct
Updates the configuration or state of an active workflow run.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
478 479 480 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 478 def initialize(*args) super end |
Instance Method Details
#create_act(params = {}) ⇒ Types::CreateActResponse
Creates a new AI task (act) within a session that can interact with tools and perform specific actions.
544 545 546 547 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 544 def create_act(params = {}, = {}) req = build_request(:create_act, params) req.send_request() end |
#create_session(params = {}) ⇒ Types::CreateSessionResponse
Creates a new session context within a workflow run to manage conversation state and acts.
585 586 587 588 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 585 def create_session(params = {}, = {}) req = build_request(:create_session, params) req.send_request() end |
#create_workflow_definition(params = {}) ⇒ Types::CreateWorkflowDefinitionResponse
Creates a new workflow definition template that can be used to execute multiple workflow runs.
636 637 638 639 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 636 def create_workflow_definition(params = {}, = {}) req = build_request(:create_workflow_definition, params) req.send_request() end |
#create_workflow_run(params = {}) ⇒ Types::CreateWorkflowRunResponse
Creates a new execution instance of a workflow definition with specified parameters.
691 692 693 694 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 691 def create_workflow_run(params = {}, = {}) req = build_request(:create_workflow_run, params) req.send_request() end |
#delete_workflow_definition(params = {}) ⇒ Types::DeleteWorkflowDefinitionResponse
Deletes a workflow definition and all associated resources. This operation cannot be undone.
720 721 722 723 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 720 def delete_workflow_definition(params = {}, = {}) req = build_request(:delete_workflow_definition, params) req.send_request() end |
#delete_workflow_run(params = {}) ⇒ Types::DeleteWorkflowRunResponse
Terminates and cleans up a workflow run, stopping all associated acts and sessions.
753 754 755 756 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 753 def delete_workflow_run(params = {}, = {}) req = build_request(:delete_workflow_run, params) req.send_request() end |
#get_workflow_definition(params = {}) ⇒ Types::GetWorkflowDefinitionResponse
Retrieves the details and configuration of a specific workflow definition.
793 794 795 796 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 793 def get_workflow_definition(params = {}, = {}) req = build_request(:get_workflow_definition, params) req.send_request() end |
#get_workflow_run(params = {}) ⇒ Types::GetWorkflowRunResponse
Retrieves the current state, configuration, and execution details of a workflow run.
838 839 840 841 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 838 def get_workflow_run(params = {}, = {}) req = build_request(:get_workflow_run, params) req.send_request() end |
#invoke_act_step(params = {}) ⇒ Types::InvokeActStepResponse
Executes the next step of an act, processing tool call results and returning new tool calls if needed.
900 901 902 903 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 900 def invoke_act_step(params = {}, = {}) req = build_request(:invoke_act_step, params) req.send_request() end |
#list_acts(params = {}) ⇒ Types::ListActsResponse
Lists all acts within a specific session with their current status and execution details.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
961 962 963 964 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 961 def list_acts(params = {}, = {}) req = build_request(:list_acts, params) req.send_request() end |
#list_models(params = {}) ⇒ Types::ListModelsResponse
Lists all available AI models that can be used for workflow execution, including their status and compatibility information.
1003 1004 1005 1006 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 1003 def list_models(params = {}, = {}) req = build_request(:list_models, params) req.send_request() end |
#list_sessions(params = {}) ⇒ Types::ListSessionsResponse
Lists all sessions within a specific workflow run.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1052 1053 1054 1055 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 1052 def list_sessions(params = {}, = {}) req = build_request(:list_sessions, params) req.send_request() end |
#list_workflow_definitions(params = {}) ⇒ Types::ListWorkflowDefinitionsResponse
Lists all workflow definitions in your account with optional filtering and pagination.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1099 1100 1101 1102 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 1099 def list_workflow_definitions(params = {}, = {}) req = build_request(:list_workflow_definitions, params) req.send_request() end |
#list_workflow_runs(params = {}) ⇒ Types::ListWorkflowRunsResponse
Lists all workflow runs for a specific workflow definition with optional filtering and pagination.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1152 1153 1154 1155 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 1152 def list_workflow_runs(params = {}, = {}) req = build_request(:list_workflow_runs, params) req.send_request() end |
#update_act(params = {}) ⇒ Struct
Updates an existing act's configuration, status, or error information.
1198 1199 1200 1201 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 1198 def update_act(params = {}, = {}) req = build_request(:update_act, params) req.send_request() end |
#update_workflow_run(params = {}) ⇒ Struct
Updates the configuration or state of an active workflow run.
1228 1229 1230 1231 |
# File 'gems/aws-sdk-novaact/lib/aws-sdk-novaact/client.rb', line 1228 def update_workflow_run(params = {}, = {}) req = build_request(:update_workflow_run, params) req.send_request() end |