aidp-typescript-client 1.0.2 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/client.d.ts +518 -43
- package/dist/lib/client.js +2703 -609
- package/dist/lib/client.js.map +1 -1
- package/dist/lib/model/agent-collection.d.ts +14 -0
- package/dist/lib/model/agent-collection.js +61 -0
- package/dist/lib/model/agent-collection.js.map +1 -0
- package/dist/lib/model/agent-dependency-item.d.ts +21 -0
- package/dist/lib/model/agent-dependency-item.js +19 -0
- package/dist/lib/model/agent-dependency-item.js.map +1 -0
- package/dist/lib/model/agent-dependency.d.ts +22 -0
- package/dist/lib/model/agent-dependency.js +61 -0
- package/dist/lib/model/agent-dependency.js.map +1 -0
- package/dist/lib/model/agent-deployment-collection.d.ts +14 -0
- package/dist/lib/model/agent-deployment-collection.js +61 -0
- package/dist/lib/model/agent-deployment-collection.js.map +1 -0
- package/dist/lib/model/agent-deployment-summary.d.ts +58 -0
- package/dist/lib/model/agent-deployment-summary.js +19 -0
- package/dist/lib/model/agent-deployment-summary.js.map +1 -0
- package/dist/lib/model/agent-deployment.d.ts +68 -0
- package/dist/lib/model/agent-deployment.js +63 -0
- package/dist/lib/model/agent-deployment.js.map +1 -0
- package/dist/lib/model/agent-diagram-agent-node.d.ts +32 -0
- package/dist/lib/model/agent-diagram-agent-node.js +69 -0
- package/dist/lib/model/agent-diagram-agent-node.js.map +1 -0
- package/dist/lib/model/agent-diagram-custom-tool-node.d.ts +18 -0
- package/dist/lib/model/agent-diagram-custom-tool-node.js +53 -0
- package/dist/lib/model/agent-diagram-custom-tool-node.js.map +1 -0
- package/dist/lib/model/agent-diagram-guardrail-node.d.ts +22 -0
- package/dist/lib/model/agent-diagram-guardrail-node.js +53 -0
- package/dist/lib/model/agent-diagram-guardrail-node.js.map +1 -0
- package/dist/lib/model/agent-diagram-http-tool-node.d.ts +18 -0
- package/dist/lib/model/agent-diagram-http-tool-node.js +53 -0
- package/dist/lib/model/agent-diagram-http-tool-node.js.map +1 -0
- package/dist/lib/model/agent-diagram-mcp-tool-node.d.ts +18 -0
- package/dist/lib/model/agent-diagram-mcp-tool-node.js +53 -0
- package/dist/lib/model/agent-diagram-mcp-tool-node.js.map +1 -0
- package/dist/lib/model/agent-diagram-node.d.ts +73 -0
- package/dist/lib/model/agent-diagram-node.js +128 -0
- package/dist/lib/model/agent-diagram-node.js.map +1 -0
- package/dist/lib/model/agent-diagram-prompt-tool-node.d.ts +18 -0
- package/dist/lib/model/agent-diagram-prompt-tool-node.js +53 -0
- package/dist/lib/model/agent-diagram-prompt-tool-node.js.map +1 -0
- package/dist/lib/model/agent-diagram-rag-tool-node.d.ts +13 -0
- package/dist/lib/model/agent-diagram-rag-tool-node.js +59 -0
- package/dist/lib/model/agent-diagram-rag-tool-node.js.map +1 -0
- package/dist/lib/model/agent-diagram-sql-tool-node.d.ts +18 -0
- package/dist/lib/model/agent-diagram-sql-tool-node.js +53 -0
- package/dist/lib/model/agent-diagram-sql-tool-node.js.map +1 -0
- package/dist/lib/model/agent-diagram-start-node.d.ts +18 -0
- package/dist/lib/model/agent-diagram-start-node.js +53 -0
- package/dist/lib/model/agent-diagram-start-node.js.map +1 -0
- package/dist/lib/model/agent-diagram-supervisor-agent-node.d.ts +38 -0
- package/dist/lib/model/agent-diagram-supervisor-agent-node.js +69 -0
- package/dist/lib/model/agent-diagram-supervisor-agent-node.js.map +1 -0
- package/dist/lib/model/agent-diagram.d.ts +50 -0
- package/dist/lib/model/agent-diagram.js +80 -0
- package/dist/lib/model/agent-diagram.js.map +1 -0
- package/dist/lib/model/agent-edge.d.ts +60 -0
- package/dist/lib/model/agent-edge.js +67 -0
- package/dist/lib/model/agent-edge.js.map +1 -0
- package/dist/lib/model/agent-guardrails-collection.d.ts +14 -0
- package/dist/lib/model/agent-guardrails-collection.js +61 -0
- package/dist/lib/model/agent-guardrails-collection.js.map +1 -0
- package/dist/lib/model/agent-guardrails-summary.d.ts +38 -0
- package/dist/lib/model/agent-guardrails-summary.js +61 -0
- package/dist/lib/model/agent-guardrails-summary.js.map +1 -0
- package/dist/lib/model/agent-info.d.ts +96 -0
- package/dist/lib/model/agent-info.js +29 -0
- package/dist/lib/model/agent-info.js.map +1 -0
- package/dist/lib/model/agent-permission-collection.d.ts +14 -0
- package/dist/lib/model/agent-permission-collection.js +61 -0
- package/dist/lib/model/agent-permission-collection.js.map +1 -0
- package/dist/lib/model/agent-permission-summary.d.ts +52 -0
- package/dist/lib/model/agent-permission-summary.js +30 -0
- package/dist/lib/model/agent-permission-summary.js.map +1 -0
- package/dist/lib/model/agent-privilege-for-manage.d.ts +13 -0
- package/dist/lib/model/agent-privilege-for-manage.js +25 -0
- package/dist/lib/model/agent-privilege-for-manage.js.map +1 -0
- package/dist/lib/model/agent-privilege.d.ts +18 -0
- package/dist/lib/model/agent-privilege.js +30 -0
- package/dist/lib/model/agent-privilege.js.map +1 -0
- package/dist/lib/model/agent-session-collection.d.ts +14 -0
- package/dist/lib/model/agent-session-collection.js +61 -0
- package/dist/lib/model/agent-session-collection.js.map +1 -0
- package/dist/lib/model/agent-session-context.d.ts +11 -0
- package/dist/lib/model/agent-session-context.js +59 -0
- package/dist/lib/model/agent-session-context.js.map +1 -0
- package/dist/lib/model/agent-session-summary.d.ts +58 -0
- package/dist/lib/model/agent-session-summary.js +19 -0
- package/dist/lib/model/agent-session-summary.js.map +1 -0
- package/dist/lib/model/agent-session.d.ts +59 -0
- package/dist/lib/model/agent-session.js +59 -0
- package/dist/lib/model/agent-session.js.map +1 -0
- package/dist/lib/model/agent.d.ts +114 -0
- package/dist/lib/model/agent.js +91 -0
- package/dist/lib/model/agent.js.map +1 -0
- package/dist/lib/model/ai-compute.d.ts +13 -0
- package/dist/lib/model/ai-compute.js +59 -0
- package/dist/lib/model/ai-compute.js.map +1 -0
- package/dist/lib/model/assign-agent-permission-details.d.ts +28 -0
- package/dist/lib/model/assign-agent-permission-details.js +65 -0
- package/dist/lib/model/assign-agent-permission-details.js.map +1 -0
- package/dist/lib/model/assign-table-permission-details.d.ts +8 -0
- package/dist/lib/model/assign-table-permission-details.js.map +1 -1
- package/dist/lib/model/async-operation-action-type.d.ts +1 -1
- package/dist/lib/model/async-operation-action-type.js +1 -1
- package/dist/lib/model/async-operation-action-type.js.map +1 -1
- package/dist/lib/model/async-operation-resource-type.d.ts +1 -1
- package/dist/lib/model/async-operation-resource-type.js +1 -1
- package/dist/lib/model/async-operation-resource-type.js.map +1 -1
- package/dist/lib/model/audit-log-search-result-summary.d.ts +4 -0
- package/dist/lib/model/audit-log-search-result-summary.js.map +1 -1
- package/dist/lib/model/auth-type.d.ts +6 -1
- package/dist/lib/model/auth-type.js +5 -0
- package/dist/lib/model/auth-type.js.map +1 -1
- package/dist/lib/model/auth.d.ts +1 -1
- package/dist/lib/model/bearer-token-auth.d.ts +1 -1
- package/dist/lib/model/chat-message.d.ts +6 -1
- package/dist/lib/model/chat-message.js +5 -0
- package/dist/lib/model/chat-message.js.map +1 -1
- package/dist/lib/model/clear-tool-uses-context-management-details.d.ts +13 -0
- package/dist/lib/model/clear-tool-uses-context-management-details.js +19 -0
- package/dist/lib/model/clear-tool-uses-context-management-details.js.map +1 -0
- package/dist/lib/model/clear-tool-uses-context-management-rule.d.ts +13 -0
- package/dist/lib/model/clear-tool-uses-context-management-rule.js +59 -0
- package/dist/lib/model/clear-tool-uses-context-management-rule.js.map +1 -0
- package/dist/lib/model/cluster-summary.d.ts +3 -2
- package/dist/lib/model/cluster-summary.js +4 -0
- package/dist/lib/model/cluster-summary.js.map +1 -1
- package/dist/lib/model/cluster-type.d.ts +1 -1
- package/dist/lib/model/cluster-type.js +1 -1
- package/dist/lib/model/cluster-type.js.map +1 -1
- package/dist/lib/model/cluster.js +4 -4
- package/dist/lib/model/cluster.js.map +1 -1
- package/dist/lib/model/content-moderation-category-config.d.ts +5 -5
- package/dist/lib/model/content-moderation-category.d.ts +7 -2
- package/dist/lib/model/content-moderation-category.js +6 -1
- package/dist/lib/model/content-moderation-category.js.map +1 -1
- package/dist/lib/model/content-moderation-policy.d.ts +2 -2
- package/dist/lib/model/context-management-configuration.d.ts +14 -0
- package/dist/lib/model/context-management-configuration.js +61 -0
- package/dist/lib/model/context-management-configuration.js.map +1 -0
- package/dist/lib/model/context-management-rule.d.ts +10 -0
- package/dist/lib/model/context-management-rule.js +72 -0
- package/dist/lib/model/context-management-rule.js.map +1 -0
- package/dist/lib/model/context-management-strategy.d.ts +15 -0
- package/dist/lib/model/context-management-strategy.js +27 -0
- package/dist/lib/model/context-management-strategy.js.map +1 -0
- package/dist/lib/model/copy-agent-details.d.ts +25 -0
- package/dist/lib/model/copy-agent-details.js +19 -0
- package/dist/lib/model/copy-agent-details.js.map +1 -0
- package/dist/lib/model/create-agent-details.d.ts +46 -0
- package/dist/lib/model/create-agent-details.js +76 -0
- package/dist/lib/model/create-agent-details.js.map +1 -0
- package/dist/lib/model/create-agent-diagram-agent-node-details.d.ts +28 -0
- package/dist/lib/model/create-agent-diagram-agent-node-details.js +69 -0
- package/dist/lib/model/create-agent-diagram-agent-node-details.js.map +1 -0
- package/dist/lib/model/create-agent-diagram-custom-tool-node-details.d.ts +23 -0
- package/dist/lib/model/create-agent-diagram-custom-tool-node-details.js +59 -0
- package/dist/lib/model/create-agent-diagram-custom-tool-node-details.js.map +1 -0
- package/dist/lib/model/create-agent-diagram-http-tool-node-details.d.ts +23 -0
- package/dist/lib/model/create-agent-diagram-http-tool-node-details.js +59 -0
- package/dist/lib/model/create-agent-diagram-http-tool-node-details.js.map +1 -0
- package/dist/lib/model/create-agent-diagram-mcp-tool-node-details.d.ts +23 -0
- package/dist/lib/model/create-agent-diagram-mcp-tool-node-details.js +59 -0
- package/dist/lib/model/create-agent-diagram-mcp-tool-node-details.js.map +1 -0
- package/dist/lib/model/create-agent-diagram-node-details.d.ts +52 -0
- package/dist/lib/model/create-agent-diagram-node-details.js +96 -0
- package/dist/lib/model/create-agent-diagram-node-details.js.map +1 -0
- package/dist/lib/model/create-agent-diagram-prompt-tool-node-details.d.ts +23 -0
- package/dist/lib/model/create-agent-diagram-prompt-tool-node-details.js +59 -0
- package/dist/lib/model/create-agent-diagram-prompt-tool-node-details.js.map +1 -0
- package/dist/lib/model/create-agent-diagram-rag-tool-node-details.d.ts +18 -0
- package/dist/lib/model/create-agent-diagram-rag-tool-node-details.js +63 -0
- package/dist/lib/model/create-agent-diagram-rag-tool-node-details.js.map +1 -0
- package/dist/lib/model/create-agent-diagram-sql-tool-node-details.d.ts +23 -0
- package/dist/lib/model/create-agent-diagram-sql-tool-node-details.js +59 -0
- package/dist/lib/model/create-agent-diagram-sql-tool-node-details.js.map +1 -0
- package/dist/lib/model/create-agent-edge-details.d.ts +45 -0
- package/dist/lib/model/create-agent-edge-details.js +61 -0
- package/dist/lib/model/create-agent-edge-details.js.map +1 -0
- package/dist/lib/model/create-agent-session-details.d.ts +19 -0
- package/dist/lib/model/create-agent-session-details.js +59 -0
- package/dist/lib/model/create-agent-session-details.js.map +1 -0
- package/dist/lib/model/create-ai-compute-details.d.ts +13 -0
- package/dist/lib/model/create-ai-compute-details.js +59 -0
- package/dist/lib/model/create-ai-compute-details.js.map +1 -0
- package/dist/lib/model/create-bundle-details.d.ts +1 -1
- package/dist/lib/model/create-cluster-details.js +8 -4
- package/dist/lib/model/create-cluster-details.js.map +1 -1
- package/dist/lib/model/create-dfl-compute-details.d.ts +12 -0
- package/dist/lib/model/create-dfl-compute-details.js +53 -0
- package/dist/lib/model/create-dfl-compute-details.js.map +1 -0
- package/dist/lib/model/create-ontology-project-details.d.ts +12 -0
- package/dist/lib/model/create-ontology-project-details.js +19 -0
- package/dist/lib/model/create-ontology-project-details.js.map +1 -0
- package/dist/lib/model/custom-pii-rule.d.ts +8 -8
- package/dist/lib/model/denied-topic.d.ts +4 -4
- package/dist/lib/model/denied-topics-policy.d.ts +2 -2
- package/dist/lib/model/deploy-agent-details.d.ts +28 -0
- package/dist/lib/model/deploy-agent-details.js +63 -0
- package/dist/lib/model/deploy-agent-details.js.map +1 -0
- package/dist/lib/model/deployment-lifecycle-state.d.ts +7 -2
- package/dist/lib/model/deployment-lifecycle-state.js +6 -1
- package/dist/lib/model/deployment-lifecycle-state.js.map +1 -1
- package/dist/lib/model/deployment-type.d.ts +7 -2
- package/dist/lib/model/deployment-type.js +6 -1
- package/dist/lib/model/deployment-type.js.map +1 -1
- package/dist/lib/model/dfl-compute-status-result.d.ts +25 -0
- package/dist/lib/model/dfl-compute-status-result.js +19 -0
- package/dist/lib/model/dfl-compute-status-result.js.map +1 -0
- package/dist/lib/model/external-catalog-source-type.d.ts +3 -0
- package/dist/lib/model/external-catalog-source-type.js +3 -0
- package/dist/lib/model/external-catalog-source-type.js.map +1 -1
- package/dist/lib/model/guardrails-configuration.d.ts +1 -1
- package/dist/lib/model/http-method.d.ts +6 -1
- package/dist/lib/model/http-method.js +5 -0
- package/dist/lib/model/http-method.js.map +1 -1
- package/dist/lib/model/index.d.ts +196 -174
- package/dist/lib/model/index.js +215 -193
- package/dist/lib/model/index.js.map +1 -1
- package/dist/lib/model/job-run.d.ts +13 -0
- package/dist/lib/model/job-run.js +10 -0
- package/dist/lib/model/job-run.js.map +1 -1
- package/dist/lib/model/manage-agent-permission-details.d.ts +12 -0
- package/dist/lib/model/manage-agent-permission-details.js +63 -0
- package/dist/lib/model/manage-agent-permission-details.js.map +1 -0
- package/dist/lib/model/mcp-object-type.d.ts +6 -1
- package/dist/lib/model/mcp-object-type.js +5 -0
- package/dist/lib/model/mcp-object-type.js.map +1 -1
- package/dist/lib/model/memory-configuration.d.ts +1 -0
- package/dist/lib/model/memory-configuration.js +4 -0
- package/dist/lib/model/memory-configuration.js.map +1 -1
- package/dist/lib/model/memory-limit-strategy.d.ts +6 -1
- package/dist/lib/model/memory-limit-strategy.js +5 -0
- package/dist/lib/model/memory-limit-strategy.js.map +1 -1
- package/dist/lib/model/mysql-external-catalog-connection-property-key.d.ts +15 -0
- package/dist/lib/model/mysql-external-catalog-connection-property-key.js +27 -0
- package/dist/lib/model/mysql-external-catalog-connection-property-key.js.map +1 -0
- package/dist/lib/model/mysql-schema-summary.d.ts +12 -0
- package/dist/lib/model/mysql-schema-summary.js +53 -0
- package/dist/lib/model/mysql-schema-summary.js.map +1 -0
- package/dist/lib/model/mysql-schema.d.ts +12 -0
- package/dist/lib/model/mysql-schema.js +53 -0
- package/dist/lib/model/mysql-schema.js.map +1 -0
- package/dist/lib/model/mysql-table-summary.d.ts +12 -0
- package/dist/lib/model/mysql-table-summary.js +53 -0
- package/dist/lib/model/mysql-table-summary.js.map +1 -0
- package/dist/lib/model/mysql-table.d.ts +12 -0
- package/dist/lib/model/mysql-table.js +53 -0
- package/dist/lib/model/mysql-table.js.map +1 -0
- package/dist/lib/model/node-io-color.d.ts +6 -1
- package/dist/lib/model/node-io-color.js +5 -0
- package/dist/lib/model/node-io-color.js.map +1 -1
- package/dist/lib/model/node-io.d.ts +6 -1
- package/dist/lib/model/node-io.js +5 -0
- package/dist/lib/model/node-io.js.map +1 -1
- package/dist/lib/model/node-port-position.d.ts +6 -1
- package/dist/lib/model/node-port-position.js +5 -0
- package/dist/lib/model/node-port-position.js.map +1 -1
- package/dist/lib/model/node-type.d.ts +6 -4
- package/dist/lib/model/node-type.js +5 -3
- package/dist/lib/model/node-type.js.map +1 -1
- package/dist/lib/model/o-auth-configuration.d.ts +1 -1
- package/dist/lib/model/oac-child-item-collection.d.ts +14 -0
- package/dist/lib/model/oac-child-item-collection.js +61 -0
- package/dist/lib/model/oac-child-item-collection.js.map +1 -0
- package/dist/lib/model/oac-child-item-summary.d.ts +37 -0
- package/dist/lib/model/oac-child-item-summary.js +19 -0
- package/dist/lib/model/oac-child-item-summary.js.map +1 -0
- package/dist/lib/model/object-type.d.ts +1 -1
- package/dist/lib/model/object-type.js +1 -1
- package/dist/lib/model/object-type.js.map +1 -1
- package/dist/lib/model/ontology-project-collection.d.ts +9 -0
- package/dist/lib/model/ontology-project-collection.js +61 -0
- package/dist/lib/model/ontology-project-collection.js.map +1 -0
- package/dist/lib/model/ontology-project.d.ts +33 -0
- package/dist/lib/model/ontology-project.js +19 -0
- package/dist/lib/model/ontology-project.js.map +1 -0
- package/dist/lib/model/pii-category-type.d.ts +7 -2
- package/dist/lib/model/pii-category-type.js +6 -1
- package/dist/lib/model/pii-category-type.js.map +1 -1
- package/dist/lib/model/pii-category.d.ts +5 -5
- package/dist/lib/model/pii-detection-policy.d.ts +3 -3
- package/dist/lib/model/policy-action.d.ts +7 -2
- package/dist/lib/model/policy-action.js +6 -1
- package/dist/lib/model/policy-action.js.map +1 -1
- package/dist/lib/model/policy-scope.d.ts +7 -2
- package/dist/lib/model/policy-scope.js +6 -1
- package/dist/lib/model/policy-scope.js.map +1 -1
- package/dist/lib/model/policy-type.d.ts +7 -2
- package/dist/lib/model/policy-type.js +6 -1
- package/dist/lib/model/policy-type.js.map +1 -1
- package/dist/lib/model/preview-agent-card-details.d.ts +11 -0
- package/dist/lib/model/preview-agent-card-details.js +59 -0
- package/dist/lib/model/preview-agent-card-details.js.map +1 -0
- package/dist/lib/model/prompt-attacks-prevention-policy.d.ts +1 -1
- package/dist/lib/model/query-replica-ids-details.d.ts +22 -0
- package/dist/lib/model/query-replica-ids-details.js +19 -0
- package/dist/lib/model/query-replica-ids-details.js.map +1 -0
- package/dist/lib/model/query-replica-ids-result.d.ts +13 -0
- package/dist/lib/model/query-replica-ids-result.js +19 -0
- package/dist/lib/model/query-replica-ids-result.js.map +1 -0
- package/dist/lib/model/repair-history.d.ts +4 -0
- package/dist/lib/model/repair-history.js.map +1 -1
- package/dist/lib/model/repair-job-run-details.d.ts +13 -1
- package/dist/lib/model/repair-job-run-details.js +11 -0
- package/dist/lib/model/repair-job-run-details.js.map +1 -1
- package/dist/lib/model/repair-task-details.d.ts +21 -0
- package/dist/lib/model/repair-task-details.js +19 -0
- package/dist/lib/model/repair-task-details.js.map +1 -0
- package/dist/lib/model/replica-config.d.ts +17 -0
- package/dist/lib/model/replica-config.js +19 -0
- package/dist/lib/model/replica-config.js.map +1 -0
- package/dist/lib/model/revoke-agent-permission-details.d.ts +28 -0
- package/dist/lib/model/revoke-agent-permission-details.js +65 -0
- package/dist/lib/model/revoke-agent-permission-details.js.map +1 -0
- package/dist/lib/model/revoke-table-permission-details.d.ts +8 -0
- package/dist/lib/model/revoke-table-permission-details.js.map +1 -1
- package/dist/lib/model/row-filter-type.d.ts +15 -0
- package/dist/lib/model/row-filter-type.js +27 -0
- package/dist/lib/model/row-filter-type.js.map +1 -0
- package/dist/lib/model/safety-policy.d.ts +6 -6
- package/dist/lib/model/schema-catalog-type.d.ts +3 -0
- package/dist/lib/model/schema-catalog-type.js +3 -0
- package/dist/lib/model/schema-catalog-type.js.map +1 -1
- package/dist/lib/model/schema-summary.js +12 -0
- package/dist/lib/model/schema-summary.js.map +1 -1
- package/dist/lib/model/schema.js +12 -0
- package/dist/lib/model/schema.js.map +1 -1
- package/dist/lib/model/session-configuration.d.ts +2 -2
- package/dist/lib/model/session-retention-configuration.d.ts +1 -1
- package/dist/lib/model/snowflake-external-catalog-connection-property-key.d.ts +20 -0
- package/dist/lib/model/snowflake-external-catalog-connection-property-key.js +32 -0
- package/dist/lib/model/snowflake-external-catalog-connection-property-key.js.map +1 -0
- package/dist/lib/model/snowflake-schema-summary.d.ts +12 -0
- package/dist/lib/model/snowflake-schema-summary.js +53 -0
- package/dist/lib/model/snowflake-schema-summary.js.map +1 -0
- package/dist/lib/model/snowflake-schema.d.ts +12 -0
- package/dist/lib/model/snowflake-schema.js +53 -0
- package/dist/lib/model/snowflake-schema.js.map +1 -0
- package/dist/lib/model/snowflake-table-summary.d.ts +12 -0
- package/dist/lib/model/snowflake-table-summary.js +53 -0
- package/dist/lib/model/snowflake-table-summary.js.map +1 -0
- package/dist/lib/model/snowflake-table.d.ts +12 -0
- package/dist/lib/model/snowflake-table.js +53 -0
- package/dist/lib/model/snowflake-table.js.map +1 -0
- package/dist/lib/model/spark-cluster.d.ts +2 -2
- package/dist/lib/model/sql-server-on-azure-external-catalog-connection-property-key.d.ts +15 -0
- package/dist/lib/model/sql-server-on-azure-external-catalog-connection-property-key.js +27 -0
- package/dist/lib/model/sql-server-on-azure-external-catalog-connection-property-key.js.map +1 -0
- package/dist/lib/model/sql-server-on-azure-schema-summary.d.ts +12 -0
- package/dist/lib/model/sql-server-on-azure-schema-summary.js +53 -0
- package/dist/lib/model/sql-server-on-azure-schema-summary.js.map +1 -0
- package/dist/lib/model/sql-server-on-azure-schema.d.ts +12 -0
- package/dist/lib/model/sql-server-on-azure-schema.js +53 -0
- package/dist/lib/model/sql-server-on-azure-schema.js.map +1 -0
- package/dist/lib/model/sql-server-on-azure-table-summary.d.ts +12 -0
- package/dist/lib/model/sql-server-on-azure-table-summary.js +53 -0
- package/dist/lib/model/sql-server-on-azure-table-summary.js.map +1 -0
- package/dist/lib/model/sql-server-on-azure-table.d.ts +12 -0
- package/dist/lib/model/sql-server-on-azure-table.js +53 -0
- package/dist/lib/model/sql-server-on-azure-table.js.map +1 -0
- package/dist/lib/model/sql-tool-configuration.d.ts +12 -3
- package/dist/lib/model/sql-tool-configuration.js.map +1 -1
- package/dist/lib/model/sql-tool-query-type.d.ts +16 -0
- package/dist/lib/model/sql-tool-query-type.js +28 -0
- package/dist/lib/model/sql-tool-query-type.js.map +1 -0
- package/dist/lib/model/summarize-metrics-data-details.d.ts +6 -0
- package/dist/lib/model/summarize-metrics-data-details.js.map +1 -1
- package/dist/lib/model/table-catalog-type.d.ts +3 -0
- package/dist/lib/model/table-catalog-type.js +3 -0
- package/dist/lib/model/table-catalog-type.js.map +1 -1
- package/dist/lib/model/table-permission-summary.d.ts +8 -0
- package/dist/lib/model/table-permission-summary.js.map +1 -1
- package/dist/lib/model/table-summary.js +12 -0
- package/dist/lib/model/table-summary.js.map +1 -1
- package/dist/lib/model/table.js +12 -0
- package/dist/lib/model/table.js.map +1 -1
- package/dist/lib/model/tool-type.d.ts +6 -1
- package/dist/lib/model/tool-type.js +5 -0
- package/dist/lib/model/tool-type.js.map +1 -1
- package/dist/lib/model/update-agent-deployment-details.d.ts +27 -0
- package/dist/lib/model/update-agent-deployment-details.js +59 -0
- package/dist/lib/model/update-agent-deployment-details.js.map +1 -0
- package/dist/lib/model/update-agent-deployment-metadata-details.d.ts +15 -0
- package/dist/lib/model/update-agent-deployment-metadata-details.js +59 -0
- package/dist/lib/model/update-agent-deployment-metadata-details.js.map +1 -0
- package/dist/lib/model/update-agent-details.d.ts +46 -0
- package/dist/lib/model/update-agent-details.js +71 -0
- package/dist/lib/model/update-agent-details.js.map +1 -0
- package/dist/lib/model/update-agent-diagram-agent-node-details.d.ts +28 -0
- package/dist/lib/model/update-agent-diagram-agent-node-details.js +69 -0
- package/dist/lib/model/update-agent-diagram-agent-node-details.js.map +1 -0
- package/dist/lib/model/update-agent-diagram-custom-tool-node-details.d.ts +23 -0
- package/dist/lib/model/update-agent-diagram-custom-tool-node-details.js +59 -0
- package/dist/lib/model/update-agent-diagram-custom-tool-node-details.js.map +1 -0
- package/dist/lib/model/update-agent-diagram-http-tool-node-details.d.ts +18 -0
- package/dist/lib/model/update-agent-diagram-http-tool-node-details.js +53 -0
- package/dist/lib/model/update-agent-diagram-http-tool-node-details.js.map +1 -0
- package/dist/lib/model/update-agent-diagram-mcp-tool-node-details.d.ts +18 -0
- package/dist/lib/model/update-agent-diagram-mcp-tool-node-details.js +53 -0
- package/dist/lib/model/update-agent-diagram-mcp-tool-node-details.js.map +1 -0
- package/dist/lib/model/update-agent-diagram-node-details.d.ts +48 -0
- package/dist/lib/model/update-agent-diagram-node-details.js +96 -0
- package/dist/lib/model/update-agent-diagram-node-details.js.map +1 -0
- package/dist/lib/model/update-agent-diagram-prompt-tool-node-details.d.ts +18 -0
- package/dist/lib/model/update-agent-diagram-prompt-tool-node-details.js +53 -0
- package/dist/lib/model/update-agent-diagram-prompt-tool-node-details.js.map +1 -0
- package/dist/lib/model/update-agent-diagram-rag-tool-node-details.d.ts +13 -0
- package/dist/lib/model/update-agent-diagram-rag-tool-node-details.js +59 -0
- package/dist/lib/model/update-agent-diagram-rag-tool-node-details.js.map +1 -0
- package/dist/lib/model/update-agent-diagram-sql-tool-node-details.d.ts +18 -0
- package/dist/lib/model/update-agent-diagram-sql-tool-node-details.js +53 -0
- package/dist/lib/model/update-agent-diagram-sql-tool-node-details.js.map +1 -0
- package/dist/lib/model/update-agent-session-details.d.ts +23 -0
- package/dist/lib/model/update-agent-session-details.js +59 -0
- package/dist/lib/model/update-agent-session-details.js.map +1 -0
- package/dist/lib/model/update-ai-compute-details.d.ts +13 -0
- package/dist/lib/model/update-ai-compute-details.js +59 -0
- package/dist/lib/model/update-ai-compute-details.js.map +1 -0
- package/dist/lib/model/update-cluster-details.js +4 -4
- package/dist/lib/model/update-cluster-details.js.map +1 -1
- package/dist/lib/model/update-ontology-project-details.d.ts +12 -0
- package/dist/lib/model/update-ontology-project-details.js +19 -0
- package/dist/lib/model/update-ontology-project-details.js.map +1 -0
- package/dist/lib/model/validate-agent-response.d.ts +18 -0
- package/dist/lib/model/validate-agent-response.js +61 -0
- package/dist/lib/model/validate-agent-response.js.map +1 -0
- package/dist/lib/model/validation-error.d.ts +1 -1
- package/dist/lib/model/word-filters-policy.d.ts +3 -3
- package/dist/lib/model/worker-config.d.ts +1 -1
- package/dist/lib/request/checkout-branch-request.d.ts +0 -4
- package/dist/lib/request/copy-agent-request.d.ts +52 -0
- package/dist/lib/request/copy-agent-request.js +4 -0
- package/dist/lib/request/copy-agent-request.js.map +1 -0
- package/dist/lib/request/create-agent-request.d.ts +40 -0
- package/dist/lib/request/create-agent-request.js +4 -0
- package/dist/lib/request/create-agent-request.js.map +1 -0
- package/dist/lib/request/create-bundle-action-request.d.ts +36 -0
- package/dist/lib/request/create-bundle-action-request.js +4 -0
- package/dist/lib/request/create-bundle-action-request.js.map +1 -0
- package/dist/lib/request/create-cluster-request.d.ts +1 -1
- package/dist/lib/request/create-experiment-request.d.ts +0 -4
- package/dist/lib/request/create-experiment-run-request.d.ts +0 -4
- package/dist/lib/request/create-git-folder-request.d.ts +0 -4
- package/dist/lib/request/create-model-version-request.d.ts +0 -4
- package/dist/lib/request/create-registered-model-request.d.ts +0 -4
- package/dist/lib/request/create-workspace-model-version-request.d.ts +0 -4
- package/dist/lib/request/delete-agent-deployment-request.d.ts +38 -0
- package/dist/lib/request/delete-agent-deployment-request.js +4 -0
- package/dist/lib/request/delete-agent-deployment-request.js.map +1 -0
- package/dist/lib/request/delete-agent-request.d.ts +38 -0
- package/dist/lib/request/delete-agent-request.js +4 -0
- package/dist/lib/request/delete-agent-request.js.map +1 -0
- package/dist/lib/request/delete-agent-session-request.d.ts +38 -0
- package/dist/lib/request/delete-agent-session-request.js +4 -0
- package/dist/lib/request/delete-agent-session-request.js.map +1 -0
- package/dist/lib/request/delete-experiment-request.d.ts +0 -4
- package/dist/lib/request/delete-experiment-run-request.d.ts +0 -4
- package/dist/lib/request/delete-experiment-run-tag-request.d.ts +0 -4
- package/dist/lib/request/delete-experiment-tag-request.d.ts +0 -4
- package/dist/lib/request/delete-model-version-request.d.ts +0 -4
- package/dist/lib/request/delete-model-version-tag-request.d.ts +0 -4
- package/dist/lib/request/delete-registered-model-request.d.ts +0 -4
- package/dist/lib/request/delete-registered-model-tag-request.d.ts +0 -4
- package/dist/lib/request/deploy-agent-request.d.ts +40 -0
- package/dist/lib/request/deploy-agent-request.js +4 -0
- package/dist/lib/request/deploy-agent-request.js.map +1 -0
- package/dist/lib/request/deploy-bundle-action-request.d.ts +36 -0
- package/dist/lib/request/deploy-bundle-action-request.js +4 -0
- package/dist/lib/request/deploy-bundle-action-request.js.map +1 -0
- package/dist/lib/request/fetch-bundle-deployment-status-action-request.d.ts +27 -0
- package/dist/lib/request/fetch-bundle-deployment-status-action-request.js +4 -0
- package/dist/lib/request/fetch-bundle-deployment-status-action-request.js.map +1 -0
- package/dist/lib/request/get-agent-deployment-request.d.ts +30 -0
- package/dist/lib/request/get-agent-deployment-request.js +4 -0
- package/dist/lib/request/get-agent-deployment-request.js.map +1 -0
- package/dist/lib/request/get-agent-request.d.ts +30 -0
- package/dist/lib/request/get-agent-request.js +4 -0
- package/dist/lib/request/get-agent-request.js.map +1 -0
- package/dist/lib/request/get-agent-session-request.d.ts +30 -0
- package/dist/lib/request/get-agent-session-request.js +4 -0
- package/dist/lib/request/get-agent-session-request.js.map +1 -0
- package/dist/lib/request/get-agent-session-trace-request.d.ts +34 -0
- package/dist/lib/request/get-agent-session-trace-request.js +4 -0
- package/dist/lib/request/get-agent-session-trace-request.js.map +1 -0
- package/dist/lib/request/get-experiment-by-id-request.d.ts +0 -4
- package/dist/lib/request/get-experiment-by-name-request.d.ts +0 -4
- package/dist/lib/request/get-experiment-run-by-id-request.d.ts +0 -4
- package/dist/lib/request/get-experiment-run-metric-history-request.d.ts +0 -4
- package/dist/lib/request/get-model-version-request.d.ts +0 -4
- package/dist/lib/request/get-registered-model-request.d.ts +0 -4
- package/dist/lib/request/index.d.ts +54 -0
- package/dist/lib/request/index.js +9 -1
- package/dist/lib/request/index.js.map +1 -1
- package/dist/lib/request/list-agent-deployments-request.d.ts +79 -0
- package/dist/lib/request/list-agent-deployments-request.js +13 -0
- package/dist/lib/request/list-agent-deployments-request.js.map +1 -0
- package/dist/lib/request/list-agent-permissions-request.d.ts +59 -0
- package/dist/lib/request/list-agent-permissions-request.js +13 -0
- package/dist/lib/request/list-agent-permissions-request.js.map +1 -0
- package/dist/lib/request/list-agent-session-chat-histories-request.d.ts +44 -0
- package/dist/lib/request/list-agent-session-chat-histories-request.js +4 -0
- package/dist/lib/request/list-agent-session-chat-histories-request.js.map +1 -0
- package/dist/lib/request/list-agent-sessions-request.d.ts +67 -0
- package/dist/lib/request/list-agent-sessions-request.js +13 -0
- package/dist/lib/request/list-agent-sessions-request.js.map +1 -0
- package/dist/lib/request/list-agents-request.d.ts +63 -0
- package/dist/lib/request/list-agents-request.js +13 -0
- package/dist/lib/request/list-agents-request.js.map +1 -0
- package/dist/lib/request/list-artifacts-request.d.ts +0 -4
- package/dist/lib/request/list-clusters-request.d.ts +1 -1
- package/dist/lib/request/list-experiment-runs-request.d.ts +0 -4
- package/dist/lib/request/list-experiments-request.d.ts +0 -4
- package/dist/lib/request/list-jobs-request.d.ts +4 -0
- package/dist/lib/request/list-jobs-request.js.map +1 -1
- package/dist/lib/request/list-logged-models-request.d.ts +0 -4
- package/dist/lib/request/list-model-versions-request.d.ts +0 -4
- package/dist/lib/request/list-registered-models-request.d.ts +0 -4
- package/dist/lib/request/log-experiment-run-batch-request.d.ts +0 -4
- package/dist/lib/request/log-experiment-run-inputs-request.d.ts +0 -4
- package/dist/lib/request/log-experiment-run-metric-request.d.ts +0 -4
- package/dist/lib/request/log-experiment-run-model-request.d.ts +0 -4
- package/dist/lib/request/log-experiment-run-param-request.d.ts +0 -4
- package/dist/lib/request/manage-agent-permission-request.d.ts +43 -0
- package/dist/lib/request/manage-agent-permission-request.js +4 -0
- package/dist/lib/request/manage-agent-permission-request.js.map +1 -0
- package/dist/lib/request/preview-agent-agent-card-request.d.ts +48 -0
- package/dist/lib/request/preview-agent-agent-card-request.js +4 -0
- package/dist/lib/request/preview-agent-agent-card-request.js.map +1 -0
- package/dist/lib/request/purge-bundle-action-request.d.ts +36 -0
- package/dist/lib/request/purge-bundle-action-request.js +4 -0
- package/dist/lib/request/purge-bundle-action-request.js.map +1 -0
- package/dist/lib/request/query-replica-ids-request.d.ts +31 -0
- package/dist/lib/request/query-replica-ids-request.js +4 -0
- package/dist/lib/request/query-replica-ids-request.js.map +1 -0
- package/dist/lib/request/redeploy-agent-by-key-request.d.ts +48 -0
- package/dist/lib/request/redeploy-agent-by-key-request.js +4 -0
- package/dist/lib/request/redeploy-agent-by-key-request.js.map +1 -0
- package/dist/lib/request/rename-registered-model-request.d.ts +0 -4
- package/dist/lib/request/restore-experiment-request.d.ts +0 -4
- package/dist/lib/request/restore-experiment-run-request.d.ts +0 -4
- package/dist/lib/request/set-experiment-run-tag-request.d.ts +0 -4
- package/dist/lib/request/set-experiment-tag-request.d.ts +0 -4
- package/dist/lib/request/set-model-version-tag-request.d.ts +0 -4
- package/dist/lib/request/set-registered-model-tag-request.d.ts +0 -4
- package/dist/lib/request/sync-bundle-action-request.d.ts +36 -0
- package/dist/lib/request/sync-bundle-action-request.js +4 -0
- package/dist/lib/request/sync-bundle-action-request.js.map +1 -0
- package/dist/lib/request/transition-model-version-stage-request.d.ts +0 -4
- package/dist/lib/request/update-agent-deployment-metadata-request.d.ts +52 -0
- package/dist/lib/request/update-agent-deployment-metadata-request.js +4 -0
- package/dist/lib/request/update-agent-deployment-metadata-request.js.map +1 -0
- package/dist/lib/request/update-agent-request.d.ts +43 -0
- package/dist/lib/request/update-agent-request.js +4 -0
- package/dist/lib/request/update-agent-request.js.map +1 -0
- package/dist/lib/request/update-cluster-request.d.ts +1 -1
- package/dist/lib/request/update-experiment-request.d.ts +0 -4
- package/dist/lib/request/update-experiment-run-request.d.ts +0 -4
- package/dist/lib/request/update-experiment-run-tags-request.d.ts +0 -4
- package/dist/lib/request/update-experiment-tags-request.d.ts +0 -4
- package/dist/lib/request/update-model-version-request.d.ts +0 -4
- package/dist/lib/request/update-model-version-tags-request.d.ts +0 -4
- package/dist/lib/request/update-registered-model-request.d.ts +0 -4
- package/dist/lib/request/update-registered-model-tags-request.d.ts +0 -4
- package/dist/lib/request/validate-agent-request.d.ts +30 -0
- package/dist/lib/request/validate-agent-request.js +4 -0
- package/dist/lib/request/validate-agent-request.js.map +1 -0
- package/dist/lib/response/copy-agent-response.d.ts +26 -0
- package/dist/lib/response/copy-agent-response.js +4 -0
- package/dist/lib/response/copy-agent-response.js.map +1 -0
- package/dist/lib/response/create-agent-response.d.ts +26 -0
- package/dist/lib/response/create-agent-response.js +4 -0
- package/dist/lib/response/create-agent-response.js.map +1 -0
- package/dist/lib/response/create-bundle-action-response.d.ts +14 -0
- package/dist/lib/response/create-bundle-action-response.js +4 -0
- package/dist/lib/response/create-bundle-action-response.js.map +1 -0
- package/dist/lib/response/delete-agent-deployment-response.d.ts +8 -0
- package/dist/lib/response/delete-agent-deployment-response.js +4 -0
- package/dist/lib/response/delete-agent-deployment-response.js.map +1 -0
- package/dist/lib/response/delete-agent-response.d.ts +8 -0
- package/dist/lib/response/delete-agent-response.js +4 -0
- package/dist/lib/response/delete-agent-response.js.map +1 -0
- package/dist/lib/response/delete-agent-session-response.d.ts +8 -0
- package/dist/lib/response/delete-agent-session-response.js +4 -0
- package/dist/lib/response/delete-agent-session-response.js.map +1 -0
- package/dist/lib/response/deploy-agent-response.d.ts +32 -0
- package/dist/lib/response/deploy-agent-response.js +4 -0
- package/dist/lib/response/deploy-agent-response.js.map +1 -0
- package/dist/lib/response/deploy-bundle-action-response.d.ts +14 -0
- package/dist/lib/response/deploy-bundle-action-response.js +4 -0
- package/dist/lib/response/deploy-bundle-action-response.js.map +1 -0
- package/dist/lib/response/fetch-bundle-deployment-status-action-response.d.ts +13 -0
- package/dist/lib/response/fetch-bundle-deployment-status-action-response.js +4 -0
- package/dist/lib/response/fetch-bundle-deployment-status-action-response.js.map +1 -0
- package/dist/lib/response/get-agent-deployment-response.d.ts +18 -0
- package/dist/lib/response/get-agent-deployment-response.js +4 -0
- package/dist/lib/response/get-agent-deployment-response.js.map +1 -0
- package/dist/lib/response/get-agent-response.d.ts +18 -0
- package/dist/lib/response/get-agent-response.js +4 -0
- package/dist/lib/response/get-agent-response.js.map +1 -0
- package/dist/lib/response/get-agent-session-response.d.ts +18 -0
- package/dist/lib/response/get-agent-session-response.js +4 -0
- package/dist/lib/response/get-agent-session-response.js.map +1 -0
- package/dist/lib/response/get-agent-session-trace-response.d.ts +19 -0
- package/dist/lib/response/get-agent-session-trace-response.js +4 -0
- package/dist/lib/response/get-agent-session-trace-response.js.map +1 -0
- package/dist/lib/response/index.d.ts +54 -0
- package/dist/lib/response/list-agent-deployments-response.d.ts +19 -0
- package/dist/lib/response/list-agent-deployments-response.js +4 -0
- package/dist/lib/response/list-agent-deployments-response.js.map +1 -0
- package/dist/lib/response/list-agent-permissions-response.d.ts +19 -0
- package/dist/lib/response/list-agent-permissions-response.js +4 -0
- package/dist/lib/response/list-agent-permissions-response.js.map +1 -0
- package/dist/lib/response/list-agent-session-chat-histories-response.d.ts +19 -0
- package/dist/lib/response/list-agent-session-chat-histories-response.js +4 -0
- package/dist/lib/response/list-agent-session-chat-histories-response.js.map +1 -0
- package/dist/lib/response/list-agent-sessions-response.d.ts +25 -0
- package/dist/lib/response/list-agent-sessions-response.js +4 -0
- package/dist/lib/response/list-agent-sessions-response.js.map +1 -0
- package/dist/lib/response/list-agents-response.d.ts +19 -0
- package/dist/lib/response/list-agents-response.js +4 -0
- package/dist/lib/response/list-agents-response.js.map +1 -0
- package/dist/lib/response/manage-agent-permission-response.d.ts +8 -0
- package/dist/lib/response/manage-agent-permission-response.js +4 -0
- package/dist/lib/response/manage-agent-permission-response.js.map +1 -0
- package/dist/lib/response/preview-agent-agent-card-response.d.ts +18 -0
- package/dist/lib/response/preview-agent-agent-card-response.js +4 -0
- package/dist/lib/response/preview-agent-agent-card-response.js.map +1 -0
- package/dist/lib/response/purge-bundle-action-response.d.ts +14 -0
- package/dist/lib/response/purge-bundle-action-response.js +4 -0
- package/dist/lib/response/purge-bundle-action-response.js.map +1 -0
- package/dist/lib/response/query-replica-ids-response.d.ts +13 -0
- package/dist/lib/response/query-replica-ids-response.js +4 -0
- package/dist/lib/response/query-replica-ids-response.js.map +1 -0
- package/dist/lib/response/redeploy-agent-by-key-response.d.ts +32 -0
- package/dist/lib/response/redeploy-agent-by-key-response.js +4 -0
- package/dist/lib/response/redeploy-agent-by-key-response.js.map +1 -0
- package/dist/lib/response/sync-bundle-action-response.d.ts +14 -0
- package/dist/lib/response/sync-bundle-action-response.js +4 -0
- package/dist/lib/response/sync-bundle-action-response.js.map +1 -0
- package/dist/lib/response/update-agent-deployment-metadata-response.d.ts +18 -0
- package/dist/lib/response/update-agent-deployment-metadata-response.js +4 -0
- package/dist/lib/response/update-agent-deployment-metadata-response.js.map +1 -0
- package/dist/lib/response/update-agent-response.d.ts +18 -0
- package/dist/lib/response/update-agent-response.js +4 -0
- package/dist/lib/response/update-agent-response.js.map +1 -0
- package/dist/lib/response/validate-agent-response.d.ts +18 -0
- package/dist/lib/response/validate-agent-response.js +4 -0
- package/dist/lib/response/validate-agent-response.js.map +1 -0
- package/lib/client.ts +3002 -657
- package/lib/model/agent-collection.ts +50 -0
- package/lib/model/agent-dependency-item.ts +56 -0
- package/lib/model/agent-dependency.ts +64 -0
- package/lib/model/agent-deployment-collection.ts +50 -0
- package/lib/model/agent-deployment-summary.ts +119 -0
- package/lib/model/agent-deployment.ts +153 -0
- package/lib/model/agent-diagram-agent-node.ts +92 -0
- package/lib/model/agent-diagram-custom-tool-node.ts +43 -0
- package/lib/model/agent-diagram-guardrail-node.ts +50 -0
- package/lib/model/agent-diagram-http-tool-node.ts +43 -0
- package/lib/model/agent-diagram-mcp-tool-node.ts +43 -0
- package/lib/model/agent-diagram-node.ts +218 -0
- package/lib/model/agent-diagram-prompt-tool-node.ts +43 -0
- package/lib/model/agent-diagram-rag-tool-node.ts +46 -0
- package/lib/model/agent-diagram-sql-tool-node.ts +43 -0
- package/lib/model/agent-diagram-start-node.ts +43 -0
- package/lib/model/agent-diagram-supervisor-agent-node.ts +99 -0
- package/lib/model/agent-diagram.ts +123 -0
- package/lib/model/agent-edge.ts +135 -0
- package/lib/model/agent-guardrails-collection.ts +50 -0
- package/lib/model/agent-guardrails-summary.ts +92 -0
- package/lib/model/agent-info.ts +181 -0
- package/lib/model/agent-permission-collection.ts +50 -0
- package/lib/model/agent-permission-summary.ts +103 -0
- package/lib/model/agent-privilege-for-manage.ts +25 -0
- package/lib/model/agent-privilege.ts +30 -0
- package/lib/model/agent-session-collection.ts +50 -0
- package/lib/model/agent-session-context.ts +45 -0
- package/lib/model/agent-session-summary.ts +119 -0
- package/lib/model/agent-session.ts +129 -0
- package/lib/model/agent.ts +239 -0
- package/lib/model/ai-compute.ts +46 -0
- package/lib/model/assign-agent-permission-details.ts +74 -0
- package/lib/model/assign-table-permission-details.ts +14 -0
- package/lib/model/async-operation-action-type.ts +1 -1
- package/lib/model/async-operation-resource-type.ts +1 -1
- package/lib/model/audit-log-search-result-summary.ts +7 -0
- package/lib/model/auth-type.ts +6 -1
- package/lib/model/auth.ts +1 -1
- package/lib/model/bearer-token-auth.ts +1 -1
- package/lib/model/chat-message.ts +6 -2
- package/lib/model/clear-tool-uses-context-management-details.ts +42 -0
- package/lib/model/clear-tool-uses-context-management-rule.ts +46 -0
- package/lib/model/cluster-summary.ts +12 -2
- package/lib/model/cluster-type.ts +1 -1
- package/lib/model/cluster.ts +4 -4
- package/lib/model/content-moderation-category-config.ts +5 -5
- package/lib/model/content-moderation-category.ts +7 -2
- package/lib/model/content-moderation-policy.ts +2 -2
- package/lib/model/context-management-configuration.ts +50 -0
- package/lib/model/context-management-rule.ts +53 -0
- package/lib/model/context-management-strategy.ts +27 -0
- package/lib/model/copy-agent-details.ts +63 -0
- package/lib/model/create-agent-details.ts +131 -0
- package/lib/model/create-agent-diagram-agent-node-details.ts +85 -0
- package/lib/model/create-agent-diagram-custom-tool-node-details.ts +60 -0
- package/lib/model/create-agent-diagram-http-tool-node-details.ts +60 -0
- package/lib/model/create-agent-diagram-mcp-tool-node-details.ts +60 -0
- package/lib/model/create-agent-diagram-node-details.ts +147 -0
- package/lib/model/create-agent-diagram-prompt-tool-node-details.ts +60 -0
- package/lib/model/create-agent-diagram-rag-tool-node-details.ts +63 -0
- package/lib/model/create-agent-diagram-sql-tool-node-details.ts +60 -0
- package/lib/model/create-agent-edge-details.ts +99 -0
- package/lib/model/create-agent-session-details.ts +59 -0
- package/lib/model/create-ai-compute-details.ts +46 -0
- package/lib/model/create-bundle-details.ts +1 -1
- package/lib/model/create-cluster-details.ts +8 -4
- package/lib/model/create-dfl-compute-details.ts +36 -0
- package/lib/model/create-ontology-project-details.ts +56 -0
- package/lib/model/custom-pii-rule.ts +8 -8
- package/lib/model/denied-topic.ts +4 -4
- package/lib/model/denied-topics-policy.ts +2 -2
- package/lib/model/deploy-agent-details.ts +83 -0
- package/lib/model/deployment-lifecycle-state.ts +7 -2
- package/lib/model/deployment-type.ts +7 -2
- package/lib/model/dfl-compute-status-result.ts +63 -0
- package/lib/model/external-catalog-source-type.ts +3 -0
- package/lib/model/guardrails-configuration.ts +1 -1
- package/lib/model/http-method.ts +6 -1
- package/lib/model/index.ts +196 -174
- package/lib/model/job-run.ts +18 -0
- package/lib/model/manage-agent-permission-details.ts +55 -0
- package/lib/model/mcp-object-type.ts +6 -1
- package/lib/model/memory-configuration.ts +10 -0
- package/lib/model/memory-limit-strategy.ts +6 -1
- package/lib/model/mysql-external-catalog-connection-property-key.ts +27 -0
- package/lib/model/mysql-schema-summary.ts +36 -0
- package/lib/model/mysql-schema.ts +36 -0
- package/lib/model/mysql-table-summary.ts +36 -0
- package/lib/model/mysql-table.ts +36 -0
- package/lib/model/node-io-color.ts +6 -2
- package/lib/model/node-io.ts +6 -2
- package/lib/model/node-port-position.ts +6 -1
- package/lib/model/node-type.ts +6 -4
- package/lib/model/o-auth-configuration.ts +1 -1
- package/lib/model/oac-child-item-collection.ts +50 -0
- package/lib/model/oac-child-item-summary.ts +84 -0
- package/lib/model/object-type.ts +1 -1
- package/lib/model/ontology-project-collection.ts +48 -0
- package/lib/model/ontology-project.ts +91 -0
- package/lib/model/pii-category-type.ts +7 -2
- package/lib/model/pii-category.ts +5 -5
- package/lib/model/pii-detection-policy.ts +3 -3
- package/lib/model/policy-action.ts +7 -2
- package/lib/model/policy-scope.ts +7 -2
- package/lib/model/policy-type.ts +7 -2
- package/lib/model/preview-agent-card-details.ts +45 -0
- package/lib/model/prompt-attacks-prevention-policy.ts +1 -1
- package/lib/model/query-replica-ids-details.ts +57 -0
- package/lib/model/query-replica-ids-result.ts +42 -0
- package/lib/model/repair-history.ts +7 -0
- package/lib/model/repair-job-run-details.ts +30 -1
- package/lib/model/repair-task-details.ts +56 -0
- package/lib/model/replica-config.ts +49 -0
- package/lib/model/revoke-agent-permission-details.ts +74 -0
- package/lib/model/revoke-table-permission-details.ts +14 -0
- package/lib/model/row-filter-type.ts +27 -0
- package/lib/model/safety-policy.ts +6 -6
- package/lib/model/schema-catalog-type.ts +3 -0
- package/lib/model/schema-summary.ts +12 -0
- package/lib/model/schema.ts +12 -0
- package/lib/model/session-configuration.ts +2 -2
- package/lib/model/session-retention-configuration.ts +1 -1
- package/lib/model/snowflake-external-catalog-connection-property-key.ts +32 -0
- package/lib/model/snowflake-schema-summary.ts +36 -0
- package/lib/model/snowflake-schema.ts +36 -0
- package/lib/model/snowflake-table-summary.ts +36 -0
- package/lib/model/snowflake-table.ts +36 -0
- package/lib/model/spark-cluster.ts +2 -2
- package/lib/model/sql-server-on-azure-external-catalog-connection-property-key.ts +27 -0
- package/lib/model/sql-server-on-azure-schema-summary.ts +36 -0
- package/lib/model/sql-server-on-azure-schema.ts +36 -0
- package/lib/model/sql-server-on-azure-table-summary.ts +36 -0
- package/lib/model/sql-server-on-azure-table.ts +36 -0
- package/lib/model/sql-tool-configuration.ts +17 -3
- package/lib/model/sql-tool-query-type.ts +28 -0
- package/lib/model/summarize-metrics-data-details.ts +9 -0
- package/lib/model/table-catalog-type.ts +3 -0
- package/lib/model/table-permission-summary.ts +14 -0
- package/lib/model/table-summary.ts +12 -0
- package/lib/model/table.ts +12 -0
- package/lib/model/tool-type.ts +6 -1
- package/lib/model/update-agent-deployment-details.ts +73 -0
- package/lib/model/update-agent-deployment-metadata-details.ts +52 -0
- package/lib/model/update-agent-details.ts +131 -0
- package/lib/model/update-agent-diagram-agent-node-details.ts +85 -0
- package/lib/model/update-agent-diagram-custom-tool-node-details.ts +60 -0
- package/lib/model/update-agent-diagram-http-tool-node-details.ts +43 -0
- package/lib/model/update-agent-diagram-mcp-tool-node-details.ts +43 -0
- package/lib/model/update-agent-diagram-node-details.ts +140 -0
- package/lib/model/update-agent-diagram-prompt-tool-node-details.ts +43 -0
- package/lib/model/update-agent-diagram-rag-tool-node-details.ts +46 -0
- package/lib/model/update-agent-diagram-sql-tool-node-details.ts +43 -0
- package/lib/model/update-agent-session-details.ts +66 -0
- package/lib/model/update-ai-compute-details.ts +46 -0
- package/lib/model/update-cluster-details.ts +4 -4
- package/lib/model/update-ontology-project-details.ts +56 -0
- package/lib/model/validate-agent-response.ts +57 -0
- package/lib/model/validation-error.ts +1 -1
- package/lib/model/word-filters-policy.ts +3 -3
- package/lib/model/worker-config.ts +1 -1
- package/lib/request/checkout-branch-request.ts +0 -4
- package/lib/request/copy-agent-request.ts +56 -0
- package/lib/request/create-agent-request.ts +44 -0
- package/lib/request/create-bundle-action-request.ts +40 -0
- package/lib/request/create-cluster-request.ts +1 -1
- package/lib/request/create-experiment-request.ts +0 -4
- package/lib/request/create-experiment-run-request.ts +0 -4
- package/lib/request/create-git-folder-request.ts +0 -4
- package/lib/request/create-model-version-request.ts +0 -4
- package/lib/request/create-registered-model-request.ts +0 -4
- package/lib/request/create-workspace-model-version-request.ts +0 -4
- package/lib/request/delete-agent-deployment-request.ts +43 -0
- package/lib/request/delete-agent-request.ts +43 -0
- package/lib/request/delete-agent-session-request.ts +43 -0
- package/lib/request/delete-experiment-request.ts +0 -4
- package/lib/request/delete-experiment-run-request.ts +0 -4
- package/lib/request/delete-experiment-run-tag-request.ts +0 -4
- package/lib/request/delete-experiment-tag-request.ts +0 -4
- package/lib/request/delete-model-version-request.ts +0 -4
- package/lib/request/delete-model-version-tag-request.ts +0 -4
- package/lib/request/delete-registered-model-request.ts +0 -4
- package/lib/request/delete-registered-model-tag-request.ts +0 -4
- package/lib/request/deploy-agent-request.ts +44 -0
- package/lib/request/deploy-bundle-action-request.ts +40 -0
- package/lib/request/fetch-bundle-deployment-status-action-request.ts +31 -0
- package/lib/request/get-agent-deployment-request.ts +35 -0
- package/lib/request/get-agent-request.ts +35 -0
- package/lib/request/get-agent-session-request.ts +35 -0
- package/lib/request/get-agent-session-trace-request.ts +39 -0
- package/lib/request/get-experiment-by-id-request.ts +0 -4
- package/lib/request/get-experiment-by-name-request.ts +0 -4
- package/lib/request/get-experiment-run-by-id-request.ts +0 -4
- package/lib/request/get-experiment-run-metric-history-request.ts +0 -4
- package/lib/request/get-model-version-request.ts +0 -4
- package/lib/request/get-registered-model-request.ts +0 -4
- package/lib/request/index.ts +54 -0
- package/lib/request/list-agent-deployments-request.ts +85 -0
- package/lib/request/list-agent-permissions-request.ts +65 -0
- package/lib/request/list-agent-session-chat-histories-request.ts +49 -0
- package/lib/request/list-agent-sessions-request.ts +73 -0
- package/lib/request/list-agents-request.ts +69 -0
- package/lib/request/list-artifacts-request.ts +0 -4
- package/lib/request/list-clusters-request.ts +1 -1
- package/lib/request/list-experiment-runs-request.ts +0 -4
- package/lib/request/list-experiments-request.ts +0 -4
- package/lib/request/list-jobs-request.ts +4 -0
- package/lib/request/list-logged-models-request.ts +0 -4
- package/lib/request/list-model-versions-request.ts +0 -4
- package/lib/request/list-registered-models-request.ts +0 -4
- package/lib/request/log-experiment-run-batch-request.ts +0 -4
- package/lib/request/log-experiment-run-inputs-request.ts +0 -4
- package/lib/request/log-experiment-run-metric-request.ts +0 -4
- package/lib/request/log-experiment-run-model-request.ts +0 -4
- package/lib/request/log-experiment-run-param-request.ts +0 -4
- package/lib/request/manage-agent-permission-request.ts +47 -0
- package/lib/request/preview-agent-agent-card-request.ts +52 -0
- package/lib/request/purge-bundle-action-request.ts +40 -0
- package/lib/request/query-replica-ids-request.ts +35 -0
- package/lib/request/redeploy-agent-by-key-request.ts +52 -0
- package/lib/request/rename-registered-model-request.ts +0 -4
- package/lib/request/restore-experiment-request.ts +0 -4
- package/lib/request/restore-experiment-run-request.ts +0 -4
- package/lib/request/set-experiment-run-tag-request.ts +0 -4
- package/lib/request/set-experiment-tag-request.ts +0 -4
- package/lib/request/set-model-version-tag-request.ts +0 -4
- package/lib/request/set-registered-model-tag-request.ts +0 -4
- package/lib/request/sync-bundle-action-request.ts +40 -0
- package/lib/request/transition-model-version-stage-request.ts +0 -4
- package/lib/request/update-agent-deployment-metadata-request.ts +56 -0
- package/lib/request/update-agent-request.ts +47 -0
- package/lib/request/update-cluster-request.ts +1 -1
- package/lib/request/update-experiment-request.ts +0 -4
- package/lib/request/update-experiment-run-request.ts +0 -4
- package/lib/request/update-experiment-run-tags-request.ts +0 -4
- package/lib/request/update-experiment-tags-request.ts +0 -4
- package/lib/request/update-model-version-request.ts +0 -4
- package/lib/request/update-model-version-tags-request.ts +0 -4
- package/lib/request/update-registered-model-request.ts +0 -4
- package/lib/request/update-registered-model-tags-request.ts +0 -4
- package/lib/request/validate-agent-request.ts +35 -0
- package/lib/response/copy-agent-response.ts +31 -0
- package/lib/response/create-agent-response.ts +31 -0
- package/lib/response/create-bundle-action-response.ts +21 -0
- package/lib/response/delete-agent-deployment-response.ts +15 -0
- package/lib/response/delete-agent-response.ts +15 -0
- package/lib/response/delete-agent-session-response.ts +15 -0
- package/lib/response/deploy-agent-response.ts +37 -0
- package/lib/response/deploy-bundle-action-response.ts +21 -0
- package/lib/response/fetch-bundle-deployment-status-action-response.ts +18 -0
- package/lib/response/get-agent-deployment-response.ts +23 -0
- package/lib/response/get-agent-response.ts +23 -0
- package/lib/response/get-agent-session-response.ts +23 -0
- package/lib/response/get-agent-session-trace-response.ts +24 -0
- package/lib/response/index.ts +54 -0
- package/lib/response/list-agent-deployments-response.ts +24 -0
- package/lib/response/list-agent-permissions-response.ts +24 -0
- package/lib/response/list-agent-session-chat-histories-response.ts +24 -0
- package/lib/response/list-agent-sessions-response.ts +30 -0
- package/lib/response/list-agents-response.ts +24 -0
- package/lib/response/manage-agent-permission-response.ts +15 -0
- package/lib/response/preview-agent-agent-card-response.ts +23 -0
- package/lib/response/purge-bundle-action-response.ts +21 -0
- package/lib/response/query-replica-ids-response.ts +18 -0
- package/lib/response/redeploy-agent-by-key-response.ts +37 -0
- package/lib/response/sync-bundle-action-response.ts +21 -0
- package/lib/response/update-agent-deployment-metadata-response.ts +23 -0
- package/lib/response/update-agent-response.ts +23 -0
- package/lib/response/validate-agent-response.ts +23 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/lib/model/agent-flow-attachment.d.ts +0 -17
- package/dist/lib/model/agent-flow-attachment.js +0 -19
- package/dist/lib/model/agent-flow-attachment.js.map +0 -1
- package/dist/lib/model/agent-flow-collection.d.ts +0 -14
- package/dist/lib/model/agent-flow-collection.js +0 -61
- package/dist/lib/model/agent-flow-collection.js.map +0 -1
- package/dist/lib/model/agent-flow-compute.d.ts +0 -12
- package/dist/lib/model/agent-flow-compute.js +0 -53
- package/dist/lib/model/agent-flow-compute.js.map +0 -1
- package/dist/lib/model/agent-flow-dependency-item.d.ts +0 -21
- package/dist/lib/model/agent-flow-dependency-item.js +0 -19
- package/dist/lib/model/agent-flow-dependency-item.js.map +0 -1
- package/dist/lib/model/agent-flow-dependency.d.ts +0 -22
- package/dist/lib/model/agent-flow-dependency.js +0 -61
- package/dist/lib/model/agent-flow-dependency.js.map +0 -1
- package/dist/lib/model/agent-flow-deployment-collection.d.ts +0 -14
- package/dist/lib/model/agent-flow-deployment-collection.js +0 -61
- package/dist/lib/model/agent-flow-deployment-collection.js.map +0 -1
- package/dist/lib/model/agent-flow-deployment-summary.d.ts +0 -58
- package/dist/lib/model/agent-flow-deployment-summary.js +0 -19
- package/dist/lib/model/agent-flow-deployment-summary.js.map +0 -1
- package/dist/lib/model/agent-flow-deployment.d.ts +0 -68
- package/dist/lib/model/agent-flow-deployment.js +0 -63
- package/dist/lib/model/agent-flow-deployment.js.map +0 -1
- package/dist/lib/model/agent-flow-detachment.d.ts +0 -17
- package/dist/lib/model/agent-flow-detachment.js +0 -19
- package/dist/lib/model/agent-flow-detachment.js.map +0 -1
- package/dist/lib/model/agent-flow-diagram.d.ts +0 -50
- package/dist/lib/model/agent-flow-diagram.js +0 -80
- package/dist/lib/model/agent-flow-diagram.js.map +0 -1
- package/dist/lib/model/agent-flow-edge.d.ts +0 -60
- package/dist/lib/model/agent-flow-edge.js +0 -67
- package/dist/lib/model/agent-flow-edge.js.map +0 -1
- package/dist/lib/model/agent-flow-guardrails-collection.d.ts +0 -14
- package/dist/lib/model/agent-flow-guardrails-collection.js +0 -61
- package/dist/lib/model/agent-flow-guardrails-collection.js.map +0 -1
- package/dist/lib/model/agent-flow-guardrails-summary.d.ts +0 -38
- package/dist/lib/model/agent-flow-guardrails-summary.js +0 -61
- package/dist/lib/model/agent-flow-guardrails-summary.js.map +0 -1
- package/dist/lib/model/agent-flow-node.d.ts +0 -73
- package/dist/lib/model/agent-flow-node.js +0 -140
- package/dist/lib/model/agent-flow-node.js.map +0 -1
- package/dist/lib/model/agent-flow-permission-collection.d.ts +0 -14
- package/dist/lib/model/agent-flow-permission-collection.js +0 -61
- package/dist/lib/model/agent-flow-permission-collection.js.map +0 -1
- package/dist/lib/model/agent-flow-permission-summary.d.ts +0 -47
- package/dist/lib/model/agent-flow-permission-summary.js +0 -25
- package/dist/lib/model/agent-flow-permission-summary.js.map +0 -1
- package/dist/lib/model/agent-flow-privilege-for-manage.d.ts +0 -13
- package/dist/lib/model/agent-flow-privilege-for-manage.js +0 -25
- package/dist/lib/model/agent-flow-privilege-for-manage.js.map +0 -1
- package/dist/lib/model/agent-flow-privilege.d.ts +0 -13
- package/dist/lib/model/agent-flow-privilege.js +0 -25
- package/dist/lib/model/agent-flow-privilege.js.map +0 -1
- package/dist/lib/model/agent-flow-session-collection.d.ts +0 -14
- package/dist/lib/model/agent-flow-session-collection.js +0 -61
- package/dist/lib/model/agent-flow-session-collection.js.map +0 -1
- package/dist/lib/model/agent-flow-session-context.d.ts +0 -11
- package/dist/lib/model/agent-flow-session-context.js +0 -59
- package/dist/lib/model/agent-flow-session-context.js.map +0 -1
- package/dist/lib/model/agent-flow-session-metric.d.ts +0 -116
- package/dist/lib/model/agent-flow-session-metric.js +0 -65
- package/dist/lib/model/agent-flow-session-metric.js.map +0 -1
- package/dist/lib/model/agent-flow-session-metrics-range.d.ts +0 -25
- package/dist/lib/model/agent-flow-session-metrics-range.js +0 -19
- package/dist/lib/model/agent-flow-session-metrics-range.js.map +0 -1
- package/dist/lib/model/agent-flow-session-summary.d.ts +0 -58
- package/dist/lib/model/agent-flow-session-summary.js +0 -19
- package/dist/lib/model/agent-flow-session-summary.js.map +0 -1
- package/dist/lib/model/agent-flow-session.d.ts +0 -59
- package/dist/lib/model/agent-flow-session.js +0 -59
- package/dist/lib/model/agent-flow-session.js.map +0 -1
- package/dist/lib/model/agent-flow-summary.d.ts +0 -91
- package/dist/lib/model/agent-flow-summary.js +0 -24
- package/dist/lib/model/agent-flow-summary.js.map +0 -1
- package/dist/lib/model/agent-flow-validation-issue.d.ts +0 -63
- package/dist/lib/model/agent-flow-validation-issue.js +0 -33
- package/dist/lib/model/agent-flow-validation-issue.js.map +0 -1
- package/dist/lib/model/agent-flow-validation-metadata.d.ts +0 -42
- package/dist/lib/model/agent-flow-validation-metadata.js +0 -27
- package/dist/lib/model/agent-flow-validation-metadata.js.map +0 -1
- package/dist/lib/model/agent-flow-validation-options.d.ts +0 -17
- package/dist/lib/model/agent-flow-validation-options.js +0 -19
- package/dist/lib/model/agent-flow-validation-options.js.map +0 -1
- package/dist/lib/model/agent-flow-validation-result.d.ts +0 -28
- package/dist/lib/model/agent-flow-validation-result.js +0 -74
- package/dist/lib/model/agent-flow-validation-result.js.map +0 -1
- package/dist/lib/model/agent-flow-validation-summary.d.ts +0 -31
- package/dist/lib/model/agent-flow-validation-summary.js +0 -19
- package/dist/lib/model/agent-flow-validation-summary.js.map +0 -1
- package/dist/lib/model/agent-flow.d.ts +0 -104
- package/dist/lib/model/agent-flow.js +0 -81
- package/dist/lib/model/agent-flow.js.map +0 -1
- package/dist/lib/model/agent-node.d.ts +0 -32
- package/dist/lib/model/agent-node.js +0 -69
- package/dist/lib/model/agent-node.js.map +0 -1
- package/dist/lib/model/aggregated-time-series-data-point.d.ts +0 -17
- package/dist/lib/model/aggregated-time-series-data-point.js +0 -19
- package/dist/lib/model/aggregated-time-series-data-point.js.map +0 -1
- package/dist/lib/model/assign-agent-flow-permission-details.d.ts +0 -28
- package/dist/lib/model/assign-agent-flow-permission-details.js +0 -65
- package/dist/lib/model/assign-agent-flow-permission-details.js.map +0 -1
- package/dist/lib/model/attach-compute-details.d.ts +0 -13
- package/dist/lib/model/attach-compute-details.js +0 -19
- package/dist/lib/model/attach-compute-details.js.map +0 -1
- package/dist/lib/model/copy-agent-flow-details.d.ts +0 -25
- package/dist/lib/model/copy-agent-flow-details.js +0 -19
- package/dist/lib/model/copy-agent-flow-details.js.map +0 -1
- package/dist/lib/model/create-agent-flow-compute-details.d.ts +0 -12
- package/dist/lib/model/create-agent-flow-compute-details.js +0 -53
- package/dist/lib/model/create-agent-flow-compute-details.js.map +0 -1
- package/dist/lib/model/create-agent-flow-details.d.ts +0 -46
- package/dist/lib/model/create-agent-flow-details.js +0 -76
- package/dist/lib/model/create-agent-flow-details.js.map +0 -1
- package/dist/lib/model/create-agent-flow-edge-details.d.ts +0 -45
- package/dist/lib/model/create-agent-flow-edge-details.js +0 -61
- package/dist/lib/model/create-agent-flow-edge-details.js.map +0 -1
- package/dist/lib/model/create-agent-flow-node-details.d.ts +0 -52
- package/dist/lib/model/create-agent-flow-node-details.js +0 -96
- package/dist/lib/model/create-agent-flow-node-details.js.map +0 -1
- package/dist/lib/model/create-agent-flow-session-details.d.ts +0 -19
- package/dist/lib/model/create-agent-flow-session-details.js +0 -59
- package/dist/lib/model/create-agent-flow-session-details.js.map +0 -1
- package/dist/lib/model/create-agent-node-details.d.ts +0 -28
- package/dist/lib/model/create-agent-node-details.js +0 -69
- package/dist/lib/model/create-agent-node-details.js.map +0 -1
- package/dist/lib/model/create-custom-tool-node-details.d.ts +0 -23
- package/dist/lib/model/create-custom-tool-node-details.js +0 -59
- package/dist/lib/model/create-custom-tool-node-details.js.map +0 -1
- package/dist/lib/model/create-http-tool-node-details.d.ts +0 -23
- package/dist/lib/model/create-http-tool-node-details.js +0 -59
- package/dist/lib/model/create-http-tool-node-details.js.map +0 -1
- package/dist/lib/model/create-mcp-tool-node-details.d.ts +0 -23
- package/dist/lib/model/create-mcp-tool-node-details.js +0 -59
- package/dist/lib/model/create-mcp-tool-node-details.js.map +0 -1
- package/dist/lib/model/create-prompt-tool-node-details.d.ts +0 -23
- package/dist/lib/model/create-prompt-tool-node-details.js +0 -59
- package/dist/lib/model/create-prompt-tool-node-details.js.map +0 -1
- package/dist/lib/model/create-rag-tool-node-details.d.ts +0 -18
- package/dist/lib/model/create-rag-tool-node-details.js +0 -63
- package/dist/lib/model/create-rag-tool-node-details.js.map +0 -1
- package/dist/lib/model/create-sql-tool-node-details.d.ts +0 -23
- package/dist/lib/model/create-sql-tool-node-details.js +0 -59
- package/dist/lib/model/create-sql-tool-node-details.js.map +0 -1
- package/dist/lib/model/custom-tool-node.d.ts +0 -18
- package/dist/lib/model/custom-tool-node.js +0 -53
- package/dist/lib/model/custom-tool-node.js.map +0 -1
- package/dist/lib/model/deploy-agent-flow-details.d.ts +0 -32
- package/dist/lib/model/deploy-agent-flow-details.js +0 -63
- package/dist/lib/model/deploy-agent-flow-details.js.map +0 -1
- package/dist/lib/model/detach-compute-details.d.ts +0 -13
- package/dist/lib/model/detach-compute-details.js +0 -19
- package/dist/lib/model/detach-compute-details.js.map +0 -1
- package/dist/lib/model/external-agent-node.d.ts +0 -22
- package/dist/lib/model/external-agent-node.js +0 -53
- package/dist/lib/model/external-agent-node.js.map +0 -1
- package/dist/lib/model/git-folder-metadatum.d.ts +0 -17
- package/dist/lib/model/git-folder-metadatum.js +0 -19
- package/dist/lib/model/git-folder-metadatum.js.map +0 -1
- package/dist/lib/model/git-restore-branch-details.d.ts +0 -21
- package/dist/lib/model/git-restore-branch-details.js +0 -19
- package/dist/lib/model/git-restore-branch-details.js.map +0 -1
- package/dist/lib/model/guardrail-node.d.ts +0 -22
- package/dist/lib/model/guardrail-node.js +0 -53
- package/dist/lib/model/guardrail-node.js.map +0 -1
- package/dist/lib/model/http-tool-node.d.ts +0 -18
- package/dist/lib/model/http-tool-node.js +0 -53
- package/dist/lib/model/http-tool-node.js.map +0 -1
- package/dist/lib/model/human-in-the-loop-node.d.ts +0 -18
- package/dist/lib/model/human-in-the-loop-node.js +0 -53
- package/dist/lib/model/human-in-the-loop-node.js.map +0 -1
- package/dist/lib/model/keyed-time-series.d.ts +0 -18
- package/dist/lib/model/keyed-time-series.js +0 -61
- package/dist/lib/model/keyed-time-series.js.map +0 -1
- package/dist/lib/model/manage-agent-flow-permission-details.d.ts +0 -12
- package/dist/lib/model/manage-agent-flow-permission-details.js +0 -63
- package/dist/lib/model/manage-agent-flow-permission-details.js.map +0 -1
- package/dist/lib/model/mcp-tool-node.d.ts +0 -18
- package/dist/lib/model/mcp-tool-node.js +0 -53
- package/dist/lib/model/mcp-tool-node.js.map +0 -1
- package/dist/lib/model/nested-agent-flow-node.d.ts +0 -23
- package/dist/lib/model/nested-agent-flow-node.js +0 -59
- package/dist/lib/model/nested-agent-flow-node.js.map +0 -1
- package/dist/lib/model/playground-cache.d.ts +0 -16
- package/dist/lib/model/playground-cache.js +0 -62
- package/dist/lib/model/playground-cache.js.map +0 -1
- package/dist/lib/model/preview-agent-flow-agent-card-details.d.ts +0 -11
- package/dist/lib/model/preview-agent-flow-agent-card-details.js +0 -59
- package/dist/lib/model/preview-agent-flow-agent-card-details.js.map +0 -1
- package/dist/lib/model/prompt-tool-node.d.ts +0 -18
- package/dist/lib/model/prompt-tool-node.js +0 -53
- package/dist/lib/model/prompt-tool-node.js.map +0 -1
- package/dist/lib/model/rag-tool-node.d.ts +0 -13
- package/dist/lib/model/rag-tool-node.js +0 -59
- package/dist/lib/model/rag-tool-node.js.map +0 -1
- package/dist/lib/model/revoke-agent-flow-permission-details.d.ts +0 -28
- package/dist/lib/model/revoke-agent-flow-permission-details.js +0 -65
- package/dist/lib/model/revoke-agent-flow-permission-details.js.map +0 -1
- package/dist/lib/model/session-variable.d.ts +0 -17
- package/dist/lib/model/session-variable.js +0 -19
- package/dist/lib/model/session-variable.js.map +0 -1
- package/dist/lib/model/sql-tool-node.d.ts +0 -18
- package/dist/lib/model/sql-tool-node.js +0 -53
- package/dist/lib/model/sql-tool-node.js.map +0 -1
- package/dist/lib/model/start-node.d.ts +0 -18
- package/dist/lib/model/start-node.js +0 -53
- package/dist/lib/model/start-node.js.map +0 -1
- package/dist/lib/model/stop-agent-flow-session-details.d.ts +0 -9
- package/dist/lib/model/stop-agent-flow-session-details.js +0 -19
- package/dist/lib/model/stop-agent-flow-session-details.js.map +0 -1
- package/dist/lib/model/supervisor-agent-node.d.ts +0 -38
- package/dist/lib/model/supervisor-agent-node.js +0 -69
- package/dist/lib/model/supervisor-agent-node.js.map +0 -1
- package/dist/lib/model/update-agent-flow-compute-details.d.ts +0 -12
- package/dist/lib/model/update-agent-flow-compute-details.js +0 -53
- package/dist/lib/model/update-agent-flow-compute-details.js.map +0 -1
- package/dist/lib/model/update-agent-flow-deployment-details.d.ts +0 -31
- package/dist/lib/model/update-agent-flow-deployment-details.js +0 -59
- package/dist/lib/model/update-agent-flow-deployment-details.js.map +0 -1
- package/dist/lib/model/update-agent-flow-deployment-metadata-details.d.ts +0 -15
- package/dist/lib/model/update-agent-flow-deployment-metadata-details.js +0 -59
- package/dist/lib/model/update-agent-flow-deployment-metadata-details.js.map +0 -1
- package/dist/lib/model/update-agent-flow-details.d.ts +0 -46
- package/dist/lib/model/update-agent-flow-details.js +0 -71
- package/dist/lib/model/update-agent-flow-details.js.map +0 -1
- package/dist/lib/model/update-agent-flow-node-details.d.ts +0 -48
- package/dist/lib/model/update-agent-flow-node-details.js +0 -96
- package/dist/lib/model/update-agent-flow-node-details.js.map +0 -1
- package/dist/lib/model/update-agent-flow-session-details.d.ts +0 -23
- package/dist/lib/model/update-agent-flow-session-details.js +0 -59
- package/dist/lib/model/update-agent-flow-session-details.js.map +0 -1
- package/dist/lib/model/update-agent-flow-session-playground-cache-details.d.ts +0 -16
- package/dist/lib/model/update-agent-flow-session-playground-cache-details.js +0 -62
- package/dist/lib/model/update-agent-flow-session-playground-cache-details.js.map +0 -1
- package/dist/lib/model/update-agent-node-details.d.ts +0 -28
- package/dist/lib/model/update-agent-node-details.js +0 -69
- package/dist/lib/model/update-agent-node-details.js.map +0 -1
- package/dist/lib/model/update-custom-tool-node-details.d.ts +0 -23
- package/dist/lib/model/update-custom-tool-node-details.js +0 -59
- package/dist/lib/model/update-custom-tool-node-details.js.map +0 -1
- package/dist/lib/model/update-http-tool-node-details.d.ts +0 -18
- package/dist/lib/model/update-http-tool-node-details.js +0 -53
- package/dist/lib/model/update-http-tool-node-details.js.map +0 -1
- package/dist/lib/model/update-mcp-tool-node-details.d.ts +0 -18
- package/dist/lib/model/update-mcp-tool-node-details.js +0 -53
- package/dist/lib/model/update-mcp-tool-node-details.js.map +0 -1
- package/dist/lib/model/update-prompt-tool-node-details.d.ts +0 -18
- package/dist/lib/model/update-prompt-tool-node-details.js +0 -53
- package/dist/lib/model/update-prompt-tool-node-details.js.map +0 -1
- package/dist/lib/model/update-rag-tool-node-details.d.ts +0 -13
- package/dist/lib/model/update-rag-tool-node-details.js +0 -59
- package/dist/lib/model/update-rag-tool-node-details.js.map +0 -1
- package/dist/lib/model/update-sql-tool-node-details.d.ts +0 -18
- package/dist/lib/model/update-sql-tool-node-details.js +0 -53
- package/dist/lib/model/update-sql-tool-node-details.js.map +0 -1
- package/dist/lib/model/validate-agent-flow-diagram-details.d.ts +0 -28
- package/dist/lib/model/validate-agent-flow-diagram-details.js +0 -68
- package/dist/lib/model/validate-agent-flow-diagram-details.js.map +0 -1
- package/dist/lib/model/validate-agent-flow-response.d.ts +0 -18
- package/dist/lib/model/validate-agent-flow-response.js +0 -61
- package/dist/lib/model/validate-agent-flow-response.js.map +0 -1
- package/lib/model/agent-flow-attachment.ts +0 -49
- package/lib/model/agent-flow-collection.ts +0 -50
- package/lib/model/agent-flow-compute.ts +0 -36
- package/lib/model/agent-flow-dependency-item.ts +0 -56
- package/lib/model/agent-flow-dependency.ts +0 -64
- package/lib/model/agent-flow-deployment-collection.ts +0 -50
- package/lib/model/agent-flow-deployment-summary.ts +0 -119
- package/lib/model/agent-flow-deployment.ts +0 -153
- package/lib/model/agent-flow-detachment.ts +0 -49
- package/lib/model/agent-flow-diagram.ts +0 -123
- package/lib/model/agent-flow-edge.ts +0 -135
- package/lib/model/agent-flow-guardrails-collection.ts +0 -50
- package/lib/model/agent-flow-guardrails-summary.ts +0 -92
- package/lib/model/agent-flow-node.ts +0 -230
- package/lib/model/agent-flow-permission-collection.ts +0 -50
- package/lib/model/agent-flow-permission-summary.ts +0 -99
- package/lib/model/agent-flow-privilege-for-manage.ts +0 -25
- package/lib/model/agent-flow-privilege.ts +0 -25
- package/lib/model/agent-flow-session-collection.ts +0 -50
- package/lib/model/agent-flow-session-context.ts +0 -45
- package/lib/model/agent-flow-session-metric.ts +0 -236
- package/lib/model/agent-flow-session-metrics-range.ts +0 -63
- package/lib/model/agent-flow-session-summary.ts +0 -119
- package/lib/model/agent-flow-session.ts +0 -129
- package/lib/model/agent-flow-summary.ts +0 -177
- package/lib/model/agent-flow-validation-issue.ts +0 -123
- package/lib/model/agent-flow-validation-metadata.ts +0 -87
- package/lib/model/agent-flow-validation-options.ts +0 -49
- package/lib/model/agent-flow-validation-result.ts +0 -91
- package/lib/model/agent-flow-validation-summary.ts +0 -70
- package/lib/model/agent-flow.ts +0 -231
- package/lib/model/agent-node.ts +0 -92
- package/lib/model/aggregated-time-series-data-point.ts +0 -49
- package/lib/model/assign-agent-flow-permission-details.ts +0 -74
- package/lib/model/attach-compute-details.ts +0 -42
- package/lib/model/copy-agent-flow-details.ts +0 -63
- package/lib/model/create-agent-flow-compute-details.ts +0 -36
- package/lib/model/create-agent-flow-details.ts +0 -131
- package/lib/model/create-agent-flow-edge-details.ts +0 -99
- package/lib/model/create-agent-flow-node-details.ts +0 -147
- package/lib/model/create-agent-flow-session-details.ts +0 -59
- package/lib/model/create-agent-node-details.ts +0 -85
- package/lib/model/create-custom-tool-node-details.ts +0 -60
- package/lib/model/create-http-tool-node-details.ts +0 -60
- package/lib/model/create-mcp-tool-node-details.ts +0 -60
- package/lib/model/create-prompt-tool-node-details.ts +0 -60
- package/lib/model/create-rag-tool-node-details.ts +0 -63
- package/lib/model/create-sql-tool-node-details.ts +0 -60
- package/lib/model/custom-tool-node.ts +0 -43
- package/lib/model/deploy-agent-flow-details.ts +0 -90
- package/lib/model/detach-compute-details.ts +0 -42
- package/lib/model/external-agent-node.ts +0 -50
- package/lib/model/git-folder-metadatum.ts +0 -49
- package/lib/model/git-restore-branch-details.ts +0 -56
- package/lib/model/guardrail-node.ts +0 -50
- package/lib/model/http-tool-node.ts +0 -43
- package/lib/model/human-in-the-loop-node.ts +0 -43
- package/lib/model/keyed-time-series.ts +0 -57
- package/lib/model/manage-agent-flow-permission-details.ts +0 -55
- package/lib/model/mcp-tool-node.ts +0 -43
- package/lib/model/nested-agent-flow-node.ts +0 -60
- package/lib/model/playground-cache.ts +0 -50
- package/lib/model/preview-agent-flow-agent-card-details.ts +0 -45
- package/lib/model/prompt-tool-node.ts +0 -43
- package/lib/model/rag-tool-node.ts +0 -46
- package/lib/model/revoke-agent-flow-permission-details.ts +0 -74
- package/lib/model/session-variable.ts +0 -49
- package/lib/model/sql-tool-node.ts +0 -43
- package/lib/model/start-node.ts +0 -43
- package/lib/model/stop-agent-flow-session-details.ts +0 -35
- package/lib/model/supervisor-agent-node.ts +0 -99
- package/lib/model/update-agent-flow-compute-details.ts +0 -36
- package/lib/model/update-agent-flow-deployment-details.ts +0 -80
- package/lib/model/update-agent-flow-deployment-metadata-details.ts +0 -52
- package/lib/model/update-agent-flow-details.ts +0 -131
- package/lib/model/update-agent-flow-node-details.ts +0 -140
- package/lib/model/update-agent-flow-session-details.ts +0 -66
- package/lib/model/update-agent-flow-session-playground-cache-details.ts +0 -50
- package/lib/model/update-agent-node-details.ts +0 -85
- package/lib/model/update-custom-tool-node-details.ts +0 -60
- package/lib/model/update-http-tool-node-details.ts +0 -43
- package/lib/model/update-mcp-tool-node-details.ts +0 -43
- package/lib/model/update-prompt-tool-node-details.ts +0 -43
- package/lib/model/update-rag-tool-node-details.ts +0 -46
- package/lib/model/update-sql-tool-node-details.ts +0 -43
- package/lib/model/validate-agent-flow-diagram-details.ts +0 -83
- package/lib/model/validate-agent-flow-response.ts +0 -57
package/dist/lib/client.js
CHANGED
|
@@ -43,7 +43,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.WorkspaceObjectClient = exports.WorkspaceObjectApiKeys = exports.WorkspaceClient = exports.WorkspaceApiKeys = exports.WorkflowClient = exports.WorkflowApiKeys = exports.VolumeClient = exports.VolumeApiKeys = exports.UserSettingClient = exports.UserSettingApiKeys = exports.SchemaClient = exports.SchemaApiKeys = exports.RoleClient = exports.RoleApiKeys = exports.NotebookClient = exports.NotebookApiKeys = exports.MLOpsClient = exports.MLOpsApiKeys = exports.GitClient = exports.GitApiKeys = exports.DeltaShareClient = exports.DeltaShareApiKeys = exports.CredentialsClient = exports.CredentialsApiKeys = exports.ClusterClient = exports.ClusterApiKeys = exports.CatalogClient = exports.CatalogApiKeys = exports.BundleClient = exports.BundleApiKeys = exports.AuditClient = exports.AuditApiKeys = exports.AsyncOperationsClient = exports.AsyncOperationsApiKeys = void 0;
|
|
46
|
+
exports.WorkspaceObjectClient = exports.WorkspaceObjectApiKeys = exports.WorkspaceClient = exports.WorkspaceApiKeys = exports.WorkflowClient = exports.WorkflowApiKeys = exports.VolumeClient = exports.VolumeApiKeys = exports.UserSettingClient = exports.UserSettingApiKeys = exports.SchemaClient = exports.SchemaApiKeys = exports.RoleClient = exports.RoleApiKeys = exports.NotebookClient = exports.NotebookApiKeys = exports.MLOpsClient = exports.MLOpsApiKeys = exports.GitClient = exports.GitApiKeys = exports.DeltaShareClient = exports.DeltaShareApiKeys = exports.CredentialsClient = exports.CredentialsApiKeys = exports.ClusterClient = exports.ClusterApiKeys = exports.CatalogClient = exports.CatalogApiKeys = exports.BundleClient = exports.BundleApiKeys = exports.AuditClient = exports.AuditApiKeys = exports.AsyncOperationsClient = exports.AsyncOperationsApiKeys = exports.AgentClient = exports.AgentApiKeys = void 0;
|
|
47
47
|
const common = require("oci-common");
|
|
48
48
|
const model = __importStar(require("./model"));
|
|
49
49
|
const oci_common_1 = require("oci-common");
|
|
@@ -51,13 +51,13 @@ const Breaker = require("opossum");
|
|
|
51
51
|
// ===============================================
|
|
52
52
|
// This file is autogenerated - Please do not edit
|
|
53
53
|
// ===============================================
|
|
54
|
-
var
|
|
55
|
-
(function (
|
|
56
|
-
})(
|
|
54
|
+
var AgentApiKeys;
|
|
55
|
+
(function (AgentApiKeys) {
|
|
56
|
+
})(AgentApiKeys || (exports.AgentApiKeys = AgentApiKeys = {}));
|
|
57
57
|
/**
|
|
58
58
|
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
59
59
|
*/
|
|
60
|
-
class
|
|
60
|
+
class AgentClient {
|
|
61
61
|
constructor(params, clientConfiguration) {
|
|
62
62
|
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
63
63
|
this["_endpoint"] = '';
|
|
@@ -65,7 +65,7 @@ class AsyncOperationsClient {
|
|
|
65
65
|
this._circuitBreaker = null;
|
|
66
66
|
this._httpOptions = undefined;
|
|
67
67
|
this._bodyDuplexMode = undefined;
|
|
68
|
-
this.targetService = "
|
|
68
|
+
this.targetService = "Agent";
|
|
69
69
|
this._regionId = '';
|
|
70
70
|
this._lastSetRegionOrRegionId = "";
|
|
71
71
|
const requestSigner = params.authenticationDetailsProvider
|
|
@@ -110,7 +110,7 @@ class AsyncOperationsClient {
|
|
|
110
110
|
this._endpoint = endpoint;
|
|
111
111
|
this._endpoint = this._endpoint + '/20260430';
|
|
112
112
|
if (this.logger)
|
|
113
|
-
this.logger.info(`
|
|
113
|
+
this.logger.info(`AgentClient endpoint set to ${this._endpoint}`);
|
|
114
114
|
}
|
|
115
115
|
get logger() {
|
|
116
116
|
return common.LOG.logger;
|
|
@@ -125,10 +125,10 @@ class AsyncOperationsClient {
|
|
|
125
125
|
if (this.logger)
|
|
126
126
|
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
127
127
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
128
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
|
|
128
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AgentClient.serviceEndpointTemplate, this._region, AgentClient.endpointServiceName);
|
|
129
129
|
}
|
|
130
130
|
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
131
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
|
|
131
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AgentClient.serviceEndpointTemplate, this._regionId, AgentClient.endpointServiceName);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
@@ -138,7 +138,7 @@ class AsyncOperationsClient {
|
|
|
138
138
|
*/
|
|
139
139
|
set region(region) {
|
|
140
140
|
this._region = region;
|
|
141
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
|
|
141
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AgentClient.serviceEndpointTemplate, region, AgentClient.endpointServiceName);
|
|
142
142
|
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
@@ -151,7 +151,7 @@ class AsyncOperationsClient {
|
|
|
151
151
|
*/
|
|
152
152
|
set regionId(regionId) {
|
|
153
153
|
this._regionId = regionId;
|
|
154
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
|
|
154
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AgentClient.serviceEndpointTemplate, regionId, AgentClient.endpointServiceName);
|
|
155
155
|
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
@@ -179,38 +179,39 @@ class AsyncOperationsClient {
|
|
|
179
179
|
this.closeProvider();
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
183
|
-
*
|
|
182
|
+
* Copy an Agent.
|
|
184
183
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
185
|
-
* @param
|
|
186
|
-
* @return
|
|
184
|
+
* @param CopyAgentRequest
|
|
185
|
+
* @return CopyAgentResponse
|
|
187
186
|
* @throws OciError when an error occurs
|
|
188
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
187
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CopyAgent.ts.html |here} to see how to use CopyAgent API.
|
|
189
188
|
*/
|
|
190
|
-
|
|
189
|
+
copyAgent(copyAgentRequest) {
|
|
191
190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
192
191
|
if (this.logger)
|
|
193
|
-
this.logger.debug("Calling operation
|
|
194
|
-
const operationName = "
|
|
192
|
+
this.logger.debug("Calling operation AgentClient#copyAgent.");
|
|
193
|
+
const operationName = "copyAgent";
|
|
195
194
|
const apiReferenceLink = "";
|
|
196
195
|
const pathParams = {
|
|
197
|
-
"{aiDataPlatformId}":
|
|
198
|
-
"{
|
|
196
|
+
"{aiDataPlatformId}": copyAgentRequest.aiDataPlatformId,
|
|
197
|
+
"{workspaceKey}": copyAgentRequest.workspaceKey,
|
|
198
|
+
"{agentKey}": copyAgentRequest.agentKey,
|
|
199
199
|
};
|
|
200
200
|
const queryParams = {};
|
|
201
201
|
let headerParams = {
|
|
202
202
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
203
|
-
'opc-request-id':
|
|
203
|
+
'should-update-recent': copyAgentRequest.shouldUpdateRecent, 'opc-retry-token': copyAgentRequest.opcRetryToken, 'opc-request-id': copyAgentRequest.opcRequestId, 'if-match': copyAgentRequest.ifMatch,
|
|
204
204
|
};
|
|
205
205
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
206
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
206
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, copyAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
207
207
|
if (this.logger)
|
|
208
208
|
retrier.logger = this.logger;
|
|
209
209
|
const request = yield (0, oci_common_1.composeRequest)({
|
|
210
210
|
baseEndpoint: this._endpoint,
|
|
211
211
|
defaultHeaders: this._defaultHeaders,
|
|
212
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/
|
|
213
|
-
method: '
|
|
212
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/actions/copy',
|
|
213
|
+
method: 'POST',
|
|
214
|
+
bodyContent: common.ObjectSerializer.serialize(copyAgentRequest.copyAgentDetails, "CopyAgentDetails", model.CopyAgentDetails.getJsonObj),
|
|
214
215
|
pathParams: pathParams,
|
|
215
216
|
headerParams: headerParams,
|
|
216
217
|
queryParams: queryParams
|
|
@@ -220,18 +221,28 @@ class AsyncOperationsClient {
|
|
|
220
221
|
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
221
222
|
responseObject: {},
|
|
222
223
|
body: yield response.json(),
|
|
223
|
-
bodyKey: "
|
|
224
|
-
bodyModel: model.
|
|
225
|
-
type: "model.
|
|
224
|
+
bodyKey: "agent",
|
|
225
|
+
bodyModel: model.Agent,
|
|
226
|
+
type: "model.Agent",
|
|
226
227
|
responseHeaders: [
|
|
227
228
|
{
|
|
228
|
-
value: response.headers.get("
|
|
229
|
-
key: "
|
|
229
|
+
value: response.headers.get("location"),
|
|
230
|
+
key: "location",
|
|
230
231
|
dataType: "string"
|
|
231
232
|
},
|
|
232
233
|
{
|
|
233
|
-
value: response.headers.get("
|
|
234
|
-
key: "
|
|
234
|
+
value: response.headers.get("content-location"),
|
|
235
|
+
key: "contentLocation",
|
|
236
|
+
dataType: "string"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
value: response.headers.get("etag"),
|
|
240
|
+
key: "etag",
|
|
241
|
+
dataType: "string"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
value: response.headers.get("opc-request-id"),
|
|
245
|
+
key: "opcRequestId",
|
|
235
246
|
dataType: "string"
|
|
236
247
|
},
|
|
237
248
|
]
|
|
@@ -244,48 +255,38 @@ class AsyncOperationsClient {
|
|
|
244
255
|
});
|
|
245
256
|
}
|
|
246
257
|
/**
|
|
247
|
-
*
|
|
248
|
-
* Filters can be used to narrow the search down.
|
|
249
|
-
*
|
|
258
|
+
* Create an Agent.
|
|
250
259
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
251
|
-
* @param
|
|
252
|
-
* @return
|
|
260
|
+
* @param CreateAgentRequest
|
|
261
|
+
* @return CreateAgentResponse
|
|
253
262
|
* @throws OciError when an error occurs
|
|
254
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
263
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateAgent.ts.html |here} to see how to use CreateAgent API.
|
|
255
264
|
*/
|
|
256
|
-
|
|
265
|
+
createAgent(createAgentRequest) {
|
|
257
266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
258
267
|
if (this.logger)
|
|
259
|
-
this.logger.debug("Calling operation
|
|
260
|
-
const operationName = "
|
|
268
|
+
this.logger.debug("Calling operation AgentClient#createAgent.");
|
|
269
|
+
const operationName = "createAgent";
|
|
261
270
|
const apiReferenceLink = "";
|
|
262
271
|
const pathParams = {
|
|
263
|
-
"{aiDataPlatformId}":
|
|
264
|
-
|
|
265
|
-
const queryParams = {
|
|
266
|
-
'resourceType': listAsyncOperationsRequest.resourceType,
|
|
267
|
-
'resourceName': listAsyncOperationsRequest.resourceName,
|
|
268
|
-
'matchResourceName': listAsyncOperationsRequest.matchResourceName,
|
|
269
|
-
'status': listAsyncOperationsRequest.status,
|
|
270
|
-
'shouldFilterByCallingPrincipal': listAsyncOperationsRequest.shouldFilterByCallingPrincipal,
|
|
271
|
-
'limit': listAsyncOperationsRequest.limit,
|
|
272
|
-
'page': listAsyncOperationsRequest.page,
|
|
273
|
-
'sortOrder': listAsyncOperationsRequest.sortOrder,
|
|
274
|
-
'sortBy': listAsyncOperationsRequest.sortBy,
|
|
272
|
+
"{aiDataPlatformId}": createAgentRequest.aiDataPlatformId,
|
|
273
|
+
"{workspaceKey}": createAgentRequest.workspaceKey,
|
|
275
274
|
};
|
|
275
|
+
const queryParams = {};
|
|
276
276
|
let headerParams = {
|
|
277
277
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
278
|
-
'opc-request-id':
|
|
278
|
+
'should-update-recent': createAgentRequest.shouldUpdateRecent, 'opc-retry-token': createAgentRequest.opcRetryToken, 'opc-request-id': createAgentRequest.opcRequestId,
|
|
279
279
|
};
|
|
280
280
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
281
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
281
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
282
282
|
if (this.logger)
|
|
283
283
|
retrier.logger = this.logger;
|
|
284
284
|
const request = yield (0, oci_common_1.composeRequest)({
|
|
285
285
|
baseEndpoint: this._endpoint,
|
|
286
286
|
defaultHeaders: this._defaultHeaders,
|
|
287
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/
|
|
288
|
-
method: '
|
|
287
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents',
|
|
288
|
+
method: 'POST',
|
|
289
|
+
bodyContent: common.ObjectSerializer.serialize(createAgentRequest.createAgentDetails, "CreateAgentDetails", model.CreateAgentDetails.getJsonObj),
|
|
289
290
|
pathParams: pathParams,
|
|
290
291
|
headerParams: headerParams,
|
|
291
292
|
queryParams: queryParams
|
|
@@ -295,18 +296,28 @@ class AsyncOperationsClient {
|
|
|
295
296
|
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
296
297
|
responseObject: {},
|
|
297
298
|
body: yield response.json(),
|
|
298
|
-
bodyKey: "
|
|
299
|
-
bodyModel: model.
|
|
300
|
-
type: "model.
|
|
299
|
+
bodyKey: "agent",
|
|
300
|
+
bodyModel: model.Agent,
|
|
301
|
+
type: "model.Agent",
|
|
301
302
|
responseHeaders: [
|
|
302
303
|
{
|
|
303
|
-
value: response.headers.get("
|
|
304
|
-
key: "
|
|
304
|
+
value: response.headers.get("location"),
|
|
305
|
+
key: "location",
|
|
305
306
|
dataType: "string"
|
|
306
307
|
},
|
|
307
308
|
{
|
|
308
|
-
value: response.headers.get("
|
|
309
|
-
key: "
|
|
309
|
+
value: response.headers.get("content-location"),
|
|
310
|
+
key: "contentLocation",
|
|
311
|
+
dataType: "string"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
value: response.headers.get("etag"),
|
|
315
|
+
key: "etag",
|
|
316
|
+
dataType: "string"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
value: response.headers.get("opc-request-id"),
|
|
320
|
+
key: "opcRequestId",
|
|
310
321
|
dataType: "string"
|
|
311
322
|
},
|
|
312
323
|
]
|
|
@@ -318,169 +329,39 @@ class AsyncOperationsClient {
|
|
|
318
329
|
}
|
|
319
330
|
});
|
|
320
331
|
}
|
|
321
|
-
}
|
|
322
|
-
exports.AsyncOperationsClient = AsyncOperationsClient;
|
|
323
|
-
AsyncOperationsClient.serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
|
|
324
|
-
AsyncOperationsClient.endpointServiceName = '';
|
|
325
|
-
var AuditApiKeys;
|
|
326
|
-
(function (AuditApiKeys) {
|
|
327
|
-
})(AuditApiKeys || (exports.AuditApiKeys = AuditApiKeys = {}));
|
|
328
|
-
/**
|
|
329
|
-
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
330
|
-
*/
|
|
331
|
-
class AuditClient {
|
|
332
|
-
constructor(params, clientConfiguration) {
|
|
333
|
-
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
334
|
-
this["_endpoint"] = '';
|
|
335
|
-
this["_defaultHeaders"] = {};
|
|
336
|
-
this._circuitBreaker = null;
|
|
337
|
-
this._httpOptions = undefined;
|
|
338
|
-
this._bodyDuplexMode = undefined;
|
|
339
|
-
this.targetService = "Audit";
|
|
340
|
-
this._regionId = '';
|
|
341
|
-
this._lastSetRegionOrRegionId = "";
|
|
342
|
-
const requestSigner = params.authenticationDetailsProvider
|
|
343
|
-
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
344
|
-
: null;
|
|
345
|
-
this._authProvider = params.authenticationDetailsProvider;
|
|
346
|
-
if (clientConfiguration) {
|
|
347
|
-
this._clientConfiguration = clientConfiguration;
|
|
348
|
-
this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker.circuit : null;
|
|
349
|
-
this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
|
|
350
|
-
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
|
|
351
|
-
}
|
|
352
|
-
if (!oci_common_1.developerToolConfiguration.isServiceEnabled("aidp")) {
|
|
353
|
-
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
354
|
-
throw errmsg.concat("aidp");
|
|
355
|
-
}
|
|
356
|
-
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
357
|
-
const specCircuitBreakerEnabled = true;
|
|
358
|
-
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
359
|
-
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
360
|
-
}
|
|
361
|
-
this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
362
|
-
if (params.authenticationDetailsProvider &&
|
|
363
|
-
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
364
|
-
const provider = params.authenticationDetailsProvider;
|
|
365
|
-
if (provider.getRegion()) {
|
|
366
|
-
this.region = provider.getRegion();
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
/**
|
|
371
|
-
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
372
|
-
*/
|
|
373
|
-
get endpoint() {
|
|
374
|
-
return this._endpoint;
|
|
375
|
-
}
|
|
376
|
-
/**
|
|
377
|
-
* Sets the endpoint to call (ex, https://www.example.com).
|
|
378
|
-
* @param endpoint The endpoint of the service.
|
|
379
|
-
*/
|
|
380
|
-
set endpoint(endpoint) {
|
|
381
|
-
this._endpoint = endpoint;
|
|
382
|
-
this._endpoint = this._endpoint + '/20260430';
|
|
383
|
-
if (this.logger)
|
|
384
|
-
this.logger.info(`AuditClient endpoint set to ${this._endpoint}`);
|
|
385
|
-
}
|
|
386
|
-
get logger() {
|
|
387
|
-
return common.LOG.logger;
|
|
388
|
-
}
|
|
389
|
-
/**
|
|
390
|
-
* Determines whether realm specific endpoint should be used or not.
|
|
391
|
-
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
392
|
-
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
393
|
-
*/
|
|
394
|
-
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
395
|
-
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
396
|
-
if (this.logger)
|
|
397
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
398
|
-
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
399
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AuditClient.serviceEndpointTemplate, this._region, AuditClient.endpointServiceName);
|
|
400
|
-
}
|
|
401
|
-
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
402
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AuditClient.serviceEndpointTemplate, this._regionId, AuditClient.endpointServiceName);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
407
|
-
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
408
|
-
* @param region The region of the service.
|
|
409
|
-
*/
|
|
410
|
-
set region(region) {
|
|
411
|
-
this._region = region;
|
|
412
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AuditClient.serviceEndpointTemplate, region, AuditClient.endpointServiceName);
|
|
413
|
-
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
414
|
-
}
|
|
415
|
-
/**
|
|
416
|
-
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
417
|
-
*
|
|
418
|
-
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
419
|
-
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
420
|
-
* and then call {@link #endpoint(String) endpoint}.
|
|
421
|
-
* @param regionId The public region ID.
|
|
422
|
-
*/
|
|
423
|
-
set regionId(regionId) {
|
|
424
|
-
this._regionId = regionId;
|
|
425
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AuditClient.serviceEndpointTemplate, regionId, AuditClient.endpointServiceName);
|
|
426
|
-
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
427
|
-
}
|
|
428
|
-
/**
|
|
429
|
-
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
430
|
-
*/
|
|
431
|
-
shutdownCircuitBreaker() {
|
|
432
|
-
if (this._circuitBreaker) {
|
|
433
|
-
this._circuitBreaker.shutdown();
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
/**
|
|
437
|
-
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
438
|
-
*/
|
|
439
|
-
closeProvider() {
|
|
440
|
-
if (this._authProvider) {
|
|
441
|
-
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
442
|
-
this._authProvider.closeProvider();
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
/**
|
|
446
|
-
* Close the client once it is no longer needed
|
|
447
|
-
*/
|
|
448
|
-
close() {
|
|
449
|
-
this.shutdownCircuitBreaker();
|
|
450
|
-
this.closeProvider();
|
|
451
|
-
}
|
|
452
332
|
/**
|
|
453
|
-
*
|
|
333
|
+
* Delete an Agent from the schema
|
|
454
334
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
455
|
-
* @param
|
|
456
|
-
* @return
|
|
335
|
+
* @param DeleteAgentRequest
|
|
336
|
+
* @return DeleteAgentResponse
|
|
457
337
|
* @throws OciError when an error occurs
|
|
458
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
338
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
|
|
459
339
|
*/
|
|
460
|
-
|
|
340
|
+
deleteAgent(deleteAgentRequest) {
|
|
461
341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
462
342
|
if (this.logger)
|
|
463
|
-
this.logger.debug("Calling operation
|
|
464
|
-
const operationName = "
|
|
343
|
+
this.logger.debug("Calling operation AgentClient#deleteAgent.");
|
|
344
|
+
const operationName = "deleteAgent";
|
|
465
345
|
const apiReferenceLink = "";
|
|
466
346
|
const pathParams = {
|
|
467
|
-
"{aiDataPlatformId}":
|
|
347
|
+
"{aiDataPlatformId}": deleteAgentRequest.aiDataPlatformId,
|
|
348
|
+
"{workspaceKey}": deleteAgentRequest.workspaceKey,
|
|
349
|
+
"{agentKey}": deleteAgentRequest.agentKey,
|
|
468
350
|
};
|
|
469
351
|
const queryParams = {};
|
|
470
352
|
let headerParams = {
|
|
471
353
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
472
|
-
'
|
|
354
|
+
'if-match': deleteAgentRequest.ifMatch, 'opc-request-id': deleteAgentRequest.opcRequestId, 'should-update-recent': deleteAgentRequest.shouldUpdateRecent,
|
|
473
355
|
};
|
|
474
356
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
475
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
357
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
476
358
|
if (this.logger)
|
|
477
359
|
retrier.logger = this.logger;
|
|
478
360
|
const request = yield (0, oci_common_1.composeRequest)({
|
|
479
361
|
baseEndpoint: this._endpoint,
|
|
480
362
|
defaultHeaders: this._defaultHeaders,
|
|
481
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/
|
|
482
|
-
method: '
|
|
483
|
-
bodyContent: common.ObjectSerializer.serialize(manageAuditLogsRequest.manageAuditLogsDetails, "ManageAuditLogsDetails", model.ManageAuditLogsDetails.getJsonObj),
|
|
363
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}',
|
|
364
|
+
method: 'DELETE',
|
|
484
365
|
pathParams: pathParams,
|
|
485
366
|
headerParams: headerParams,
|
|
486
367
|
queryParams: queryParams
|
|
@@ -505,40 +386,39 @@ class AuditClient {
|
|
|
505
386
|
});
|
|
506
387
|
}
|
|
507
388
|
/**
|
|
508
|
-
*
|
|
389
|
+
* Delete an Agent Deployment.
|
|
509
390
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
510
|
-
* @param
|
|
511
|
-
* @return
|
|
391
|
+
* @param DeleteAgentDeploymentRequest
|
|
392
|
+
* @return DeleteAgentDeploymentResponse
|
|
512
393
|
* @throws OciError when an error occurs
|
|
513
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
394
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteAgentDeployment.ts.html |here} to see how to use DeleteAgentDeployment API.
|
|
514
395
|
*/
|
|
515
|
-
|
|
396
|
+
deleteAgentDeployment(deleteAgentDeploymentRequest) {
|
|
516
397
|
return __awaiter(this, void 0, void 0, function* () {
|
|
517
398
|
if (this.logger)
|
|
518
|
-
this.logger.debug("Calling operation
|
|
519
|
-
const operationName = "
|
|
399
|
+
this.logger.debug("Calling operation AgentClient#deleteAgentDeployment.");
|
|
400
|
+
const operationName = "deleteAgentDeployment";
|
|
520
401
|
const apiReferenceLink = "";
|
|
521
402
|
const pathParams = {
|
|
522
|
-
"{aiDataPlatformId}":
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
'page': searchAuditLogsRequest.page,
|
|
403
|
+
"{aiDataPlatformId}": deleteAgentDeploymentRequest.aiDataPlatformId,
|
|
404
|
+
"{workspaceKey}": deleteAgentDeploymentRequest.workspaceKey,
|
|
405
|
+
"{agentKey}": deleteAgentDeploymentRequest.agentKey,
|
|
406
|
+
"{agentDeploymentKey}": deleteAgentDeploymentRequest.agentDeploymentKey,
|
|
527
407
|
};
|
|
408
|
+
const queryParams = {};
|
|
528
409
|
let headerParams = {
|
|
529
410
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
530
|
-
'
|
|
411
|
+
'if-match': deleteAgentDeploymentRequest.ifMatch, 'opc-request-id': deleteAgentDeploymentRequest.opcRequestId,
|
|
531
412
|
};
|
|
532
413
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
533
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
414
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAgentDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
534
415
|
if (this.logger)
|
|
535
416
|
retrier.logger = this.logger;
|
|
536
417
|
const request = yield (0, oci_common_1.composeRequest)({
|
|
537
418
|
baseEndpoint: this._endpoint,
|
|
538
419
|
defaultHeaders: this._defaultHeaders,
|
|
539
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/
|
|
540
|
-
method: '
|
|
541
|
-
bodyContent: common.ObjectSerializer.serialize(searchAuditLogsRequest.searchAuditLogsDetails, "SearchAuditLogsDetails", model.SearchAuditLogsDetails.getJsonObj),
|
|
420
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/deployments/{agentDeploymentKey}',
|
|
421
|
+
method: 'DELETE',
|
|
542
422
|
pathParams: pathParams,
|
|
543
423
|
headerParams: headerParams,
|
|
544
424
|
queryParams: queryParams
|
|
@@ -547,19 +427,67 @@ class AuditClient {
|
|
|
547
427
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
548
428
|
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
549
429
|
responseObject: {},
|
|
550
|
-
body: yield response.json(),
|
|
551
|
-
bodyKey: "auditLogSearchResultCollection",
|
|
552
|
-
bodyModel: model.AuditLogSearchResultCollection,
|
|
553
|
-
type: "model.AuditLogSearchResultCollection",
|
|
554
430
|
responseHeaders: [
|
|
555
431
|
{
|
|
556
432
|
value: response.headers.get("opc-request-id"),
|
|
557
433
|
key: "opcRequestId",
|
|
558
434
|
dataType: "string"
|
|
559
435
|
},
|
|
436
|
+
]
|
|
437
|
+
});
|
|
438
|
+
return sdkResponse;
|
|
439
|
+
}
|
|
440
|
+
catch (err) {
|
|
441
|
+
throw err;
|
|
442
|
+
}
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* Delete an Agent Session.
|
|
447
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
448
|
+
* @param DeleteAgentSessionRequest
|
|
449
|
+
* @return DeleteAgentSessionResponse
|
|
450
|
+
* @throws OciError when an error occurs
|
|
451
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteAgentSession.ts.html |here} to see how to use DeleteAgentSession API.
|
|
452
|
+
*/
|
|
453
|
+
deleteAgentSession(deleteAgentSessionRequest) {
|
|
454
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
455
|
+
if (this.logger)
|
|
456
|
+
this.logger.debug("Calling operation AgentClient#deleteAgentSession.");
|
|
457
|
+
const operationName = "deleteAgentSession";
|
|
458
|
+
const apiReferenceLink = "";
|
|
459
|
+
const pathParams = {
|
|
460
|
+
"{aiDataPlatformId}": deleteAgentSessionRequest.aiDataPlatformId,
|
|
461
|
+
"{workspaceKey}": deleteAgentSessionRequest.workspaceKey,
|
|
462
|
+
"{agentKey}": deleteAgentSessionRequest.agentKey,
|
|
463
|
+
"{sessionId}": deleteAgentSessionRequest.sessionId,
|
|
464
|
+
};
|
|
465
|
+
const queryParams = {};
|
|
466
|
+
let headerParams = {
|
|
467
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
468
|
+
'opc-request-id': deleteAgentSessionRequest.opcRequestId, 'if-match': deleteAgentSessionRequest.ifMatch,
|
|
469
|
+
};
|
|
470
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
471
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAgentSessionRequest.retryConfiguration, specRetryConfiguration);
|
|
472
|
+
if (this.logger)
|
|
473
|
+
retrier.logger = this.logger;
|
|
474
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
475
|
+
baseEndpoint: this._endpoint,
|
|
476
|
+
defaultHeaders: this._defaultHeaders,
|
|
477
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/sessions/{sessionId}',
|
|
478
|
+
method: 'DELETE',
|
|
479
|
+
pathParams: pathParams,
|
|
480
|
+
headerParams: headerParams,
|
|
481
|
+
queryParams: queryParams
|
|
482
|
+
});
|
|
483
|
+
try {
|
|
484
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
485
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
486
|
+
responseObject: {},
|
|
487
|
+
responseHeaders: [
|
|
560
488
|
{
|
|
561
|
-
value: response.headers.get("opc-
|
|
562
|
-
key: "
|
|
489
|
+
value: response.headers.get("opc-request-id"),
|
|
490
|
+
key: "opcRequestId",
|
|
563
491
|
dataType: "string"
|
|
564
492
|
},
|
|
565
493
|
]
|
|
@@ -571,248 +499,2338 @@ class AuditClient {
|
|
|
571
499
|
}
|
|
572
500
|
});
|
|
573
501
|
}
|
|
574
|
-
}
|
|
575
|
-
exports.AuditClient = AuditClient;
|
|
576
|
-
AuditClient.serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
|
|
577
|
-
AuditClient.endpointServiceName = '';
|
|
578
|
-
var BundleApiKeys;
|
|
579
|
-
(function (BundleApiKeys) {
|
|
580
|
-
})(BundleApiKeys || (exports.BundleApiKeys = BundleApiKeys = {}));
|
|
581
|
-
/**
|
|
582
|
-
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
583
|
-
*/
|
|
584
|
-
class BundleClient {
|
|
585
|
-
constructor(params, clientConfiguration) {
|
|
586
|
-
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
587
|
-
this["_endpoint"] = '';
|
|
588
|
-
this["_defaultHeaders"] = {};
|
|
589
|
-
this._circuitBreaker = null;
|
|
590
|
-
this._httpOptions = undefined;
|
|
591
|
-
this._bodyDuplexMode = undefined;
|
|
592
|
-
this.targetService = "Bundle";
|
|
593
|
-
this._regionId = '';
|
|
594
|
-
this._lastSetRegionOrRegionId = "";
|
|
595
|
-
const requestSigner = params.authenticationDetailsProvider
|
|
596
|
-
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
597
|
-
: null;
|
|
598
|
-
this._authProvider = params.authenticationDetailsProvider;
|
|
599
|
-
if (clientConfiguration) {
|
|
600
|
-
this._clientConfiguration = clientConfiguration;
|
|
601
|
-
this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker.circuit : null;
|
|
602
|
-
this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
|
|
603
|
-
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
|
|
604
|
-
}
|
|
605
|
-
if (!oci_common_1.developerToolConfiguration.isServiceEnabled("aidp")) {
|
|
606
|
-
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
607
|
-
throw errmsg.concat("aidp");
|
|
608
|
-
}
|
|
609
|
-
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
610
|
-
const specCircuitBreakerEnabled = true;
|
|
611
|
-
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
612
|
-
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
613
|
-
}
|
|
614
|
-
this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
615
|
-
if (params.authenticationDetailsProvider &&
|
|
616
|
-
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
617
|
-
const provider = params.authenticationDetailsProvider;
|
|
618
|
-
if (provider.getRegion()) {
|
|
619
|
-
this.region = provider.getRegion();
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
/**
|
|
624
|
-
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
625
|
-
*/
|
|
626
|
-
get endpoint() {
|
|
627
|
-
return this._endpoint;
|
|
628
|
-
}
|
|
629
|
-
/**
|
|
630
|
-
* Sets the endpoint to call (ex, https://www.example.com).
|
|
631
|
-
* @param endpoint The endpoint of the service.
|
|
632
|
-
*/
|
|
633
|
-
set endpoint(endpoint) {
|
|
634
|
-
this._endpoint = endpoint;
|
|
635
|
-
this._endpoint = this._endpoint + '/20260430';
|
|
636
|
-
if (this.logger)
|
|
637
|
-
this.logger.info(`BundleClient endpoint set to ${this._endpoint}`);
|
|
638
|
-
}
|
|
639
|
-
get logger() {
|
|
640
|
-
return common.LOG.logger;
|
|
641
|
-
}
|
|
642
|
-
/**
|
|
643
|
-
* Determines whether realm specific endpoint should be used or not.
|
|
644
|
-
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
645
|
-
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
646
|
-
*/
|
|
647
|
-
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
648
|
-
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
649
|
-
if (this.logger)
|
|
650
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
651
|
-
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
652
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(BundleClient.serviceEndpointTemplate, this._region, BundleClient.endpointServiceName);
|
|
653
|
-
}
|
|
654
|
-
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
655
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(BundleClient.serviceEndpointTemplate, this._regionId, BundleClient.endpointServiceName);
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
/**
|
|
659
|
-
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
660
|
-
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
661
|
-
* @param region The region of the service.
|
|
662
|
-
*/
|
|
663
|
-
set region(region) {
|
|
664
|
-
this._region = region;
|
|
665
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(BundleClient.serviceEndpointTemplate, region, BundleClient.endpointServiceName);
|
|
666
|
-
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
667
|
-
}
|
|
668
|
-
/**
|
|
669
|
-
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
670
|
-
*
|
|
671
|
-
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
672
|
-
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
673
|
-
* and then call {@link #endpoint(String) endpoint}.
|
|
674
|
-
* @param regionId The public region ID.
|
|
675
|
-
*/
|
|
676
|
-
set regionId(regionId) {
|
|
677
|
-
this._regionId = regionId;
|
|
678
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(BundleClient.serviceEndpointTemplate, regionId, BundleClient.endpointServiceName);
|
|
679
|
-
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
680
|
-
}
|
|
681
502
|
/**
|
|
682
|
-
*
|
|
503
|
+
* Deploys an Agent.
|
|
504
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
505
|
+
* @param DeployAgentRequest
|
|
506
|
+
* @return DeployAgentResponse
|
|
507
|
+
* @throws OciError when an error occurs
|
|
508
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeployAgent.ts.html |here} to see how to use DeployAgent API.
|
|
683
509
|
*/
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
this.
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
510
|
+
deployAgent(deployAgentRequest) {
|
|
511
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
512
|
+
if (this.logger)
|
|
513
|
+
this.logger.debug("Calling operation AgentClient#deployAgent.");
|
|
514
|
+
const operationName = "deployAgent";
|
|
515
|
+
const apiReferenceLink = "";
|
|
516
|
+
const pathParams = {
|
|
517
|
+
"{aiDataPlatformId}": deployAgentRequest.aiDataPlatformId,
|
|
518
|
+
"{workspaceKey}": deployAgentRequest.workspaceKey,
|
|
519
|
+
"{agentKey}": deployAgentRequest.agentKey,
|
|
520
|
+
};
|
|
521
|
+
const queryParams = {};
|
|
522
|
+
let headerParams = {
|
|
523
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
524
|
+
'opc-retry-token': deployAgentRequest.opcRetryToken, 'opc-request-id': deployAgentRequest.opcRequestId,
|
|
525
|
+
};
|
|
526
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
527
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deployAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
528
|
+
if (this.logger)
|
|
529
|
+
retrier.logger = this.logger;
|
|
530
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
531
|
+
baseEndpoint: this._endpoint,
|
|
532
|
+
defaultHeaders: this._defaultHeaders,
|
|
533
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/deployments/actions/deploy',
|
|
534
|
+
method: 'POST',
|
|
535
|
+
bodyContent: common.ObjectSerializer.serialize(deployAgentRequest.deployAgentDetails, "DeployAgentDetails", model.DeployAgentDetails.getJsonObj),
|
|
536
|
+
pathParams: pathParams,
|
|
537
|
+
headerParams: headerParams,
|
|
538
|
+
queryParams: queryParams
|
|
539
|
+
});
|
|
540
|
+
try {
|
|
541
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
542
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
543
|
+
responseObject: {},
|
|
544
|
+
body: yield response.json(),
|
|
545
|
+
bodyKey: "agentDeployment",
|
|
546
|
+
bodyModel: model.AgentDeployment,
|
|
547
|
+
type: "model.AgentDeployment",
|
|
548
|
+
responseHeaders: [
|
|
549
|
+
{
|
|
550
|
+
value: response.headers.get("location"),
|
|
551
|
+
key: "location",
|
|
552
|
+
dataType: "string"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
value: response.headers.get("content-location"),
|
|
556
|
+
key: "contentLocation",
|
|
557
|
+
dataType: "string"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
value: response.headers.get("etag"),
|
|
561
|
+
key: "etag",
|
|
562
|
+
dataType: "string"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
566
|
+
key: "aidpAsyncOperationKey",
|
|
567
|
+
dataType: "string"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
value: response.headers.get("opc-request-id"),
|
|
571
|
+
key: "opcRequestId",
|
|
572
|
+
dataType: "string"
|
|
573
|
+
},
|
|
574
|
+
]
|
|
575
|
+
});
|
|
576
|
+
return sdkResponse;
|
|
577
|
+
}
|
|
578
|
+
catch (err) {
|
|
579
|
+
throw err;
|
|
580
|
+
}
|
|
581
|
+
});
|
|
697
582
|
}
|
|
698
583
|
/**
|
|
699
|
-
*
|
|
584
|
+
* Returns detailed information about an Agent.
|
|
585
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
586
|
+
* @param GetAgentRequest
|
|
587
|
+
* @return GetAgentResponse
|
|
588
|
+
* @throws OciError when an error occurs
|
|
589
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetAgent.ts.html |here} to see how to use GetAgent API.
|
|
700
590
|
*/
|
|
701
|
-
|
|
702
|
-
this
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
591
|
+
getAgent(getAgentRequest) {
|
|
592
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
593
|
+
if (this.logger)
|
|
594
|
+
this.logger.debug("Calling operation AgentClient#getAgent.");
|
|
595
|
+
const operationName = "getAgent";
|
|
596
|
+
const apiReferenceLink = "";
|
|
597
|
+
const pathParams = {
|
|
598
|
+
"{aiDataPlatformId}": getAgentRequest.aiDataPlatformId,
|
|
599
|
+
"{workspaceKey}": getAgentRequest.workspaceKey,
|
|
600
|
+
"{agentKey}": getAgentRequest.agentKey,
|
|
601
|
+
};
|
|
602
|
+
const queryParams = {};
|
|
603
|
+
let headerParams = {
|
|
604
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
605
|
+
'opc-request-id': getAgentRequest.opcRequestId, 'should-update-recent': getAgentRequest.shouldUpdateRecent,
|
|
606
|
+
};
|
|
607
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
608
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
609
|
+
if (this.logger)
|
|
610
|
+
retrier.logger = this.logger;
|
|
611
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
612
|
+
baseEndpoint: this._endpoint,
|
|
613
|
+
defaultHeaders: this._defaultHeaders,
|
|
614
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}',
|
|
615
|
+
method: 'GET',
|
|
616
|
+
pathParams: pathParams,
|
|
617
|
+
headerParams: headerParams,
|
|
618
|
+
queryParams: queryParams
|
|
619
|
+
});
|
|
620
|
+
try {
|
|
621
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
622
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
623
|
+
responseObject: {},
|
|
624
|
+
body: yield response.json(),
|
|
625
|
+
bodyKey: "agent",
|
|
626
|
+
bodyModel: model.Agent,
|
|
627
|
+
type: "model.Agent",
|
|
628
|
+
responseHeaders: [
|
|
629
|
+
{
|
|
630
|
+
value: response.headers.get("etag"),
|
|
631
|
+
key: "etag",
|
|
632
|
+
dataType: "string"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
value: response.headers.get("opc-request-id"),
|
|
636
|
+
key: "opcRequestId",
|
|
637
|
+
dataType: "string"
|
|
638
|
+
},
|
|
639
|
+
]
|
|
640
|
+
});
|
|
641
|
+
return sdkResponse;
|
|
642
|
+
}
|
|
643
|
+
catch (err) {
|
|
644
|
+
throw err;
|
|
645
|
+
}
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* Returns detailed information about an Agent deployment.
|
|
650
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
651
|
+
* @param GetAgentDeploymentRequest
|
|
652
|
+
* @return GetAgentDeploymentResponse
|
|
653
|
+
* @throws OciError when an error occurs
|
|
654
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetAgentDeployment.ts.html |here} to see how to use GetAgentDeployment API.
|
|
655
|
+
*/
|
|
656
|
+
getAgentDeployment(getAgentDeploymentRequest) {
|
|
657
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
658
|
+
if (this.logger)
|
|
659
|
+
this.logger.debug("Calling operation AgentClient#getAgentDeployment.");
|
|
660
|
+
const operationName = "getAgentDeployment";
|
|
661
|
+
const apiReferenceLink = "";
|
|
662
|
+
const pathParams = {
|
|
663
|
+
"{aiDataPlatformId}": getAgentDeploymentRequest.aiDataPlatformId,
|
|
664
|
+
"{workspaceKey}": getAgentDeploymentRequest.workspaceKey,
|
|
665
|
+
"{agentKey}": getAgentDeploymentRequest.agentKey,
|
|
666
|
+
"{agentDeploymentKey}": getAgentDeploymentRequest.agentDeploymentKey,
|
|
667
|
+
};
|
|
668
|
+
const queryParams = {};
|
|
669
|
+
let headerParams = {
|
|
670
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
671
|
+
'opc-request-id': getAgentDeploymentRequest.opcRequestId,
|
|
672
|
+
};
|
|
673
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
674
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAgentDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
675
|
+
if (this.logger)
|
|
676
|
+
retrier.logger = this.logger;
|
|
677
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
678
|
+
baseEndpoint: this._endpoint,
|
|
679
|
+
defaultHeaders: this._defaultHeaders,
|
|
680
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/deployments/{agentDeploymentKey}',
|
|
681
|
+
method: 'GET',
|
|
682
|
+
pathParams: pathParams,
|
|
683
|
+
headerParams: headerParams,
|
|
684
|
+
queryParams: queryParams
|
|
685
|
+
});
|
|
686
|
+
try {
|
|
687
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
688
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
689
|
+
responseObject: {},
|
|
690
|
+
body: yield response.json(),
|
|
691
|
+
bodyKey: "agentDeployment",
|
|
692
|
+
bodyModel: model.AgentDeployment,
|
|
693
|
+
type: "model.AgentDeployment",
|
|
694
|
+
responseHeaders: [
|
|
695
|
+
{
|
|
696
|
+
value: response.headers.get("etag"),
|
|
697
|
+
key: "etag",
|
|
698
|
+
dataType: "string"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
value: response.headers.get("opc-request-id"),
|
|
702
|
+
key: "opcRequestId",
|
|
703
|
+
dataType: "string"
|
|
704
|
+
},
|
|
705
|
+
]
|
|
706
|
+
});
|
|
707
|
+
return sdkResponse;
|
|
708
|
+
}
|
|
709
|
+
catch (err) {
|
|
710
|
+
throw err;
|
|
711
|
+
}
|
|
712
|
+
});
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* Returns detailed information about an Agent Session.
|
|
716
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
717
|
+
* @param GetAgentSessionRequest
|
|
718
|
+
* @return GetAgentSessionResponse
|
|
719
|
+
* @throws OciError when an error occurs
|
|
720
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetAgentSession.ts.html |here} to see how to use GetAgentSession API.
|
|
721
|
+
*/
|
|
722
|
+
getAgentSession(getAgentSessionRequest) {
|
|
723
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
724
|
+
if (this.logger)
|
|
725
|
+
this.logger.debug("Calling operation AgentClient#getAgentSession.");
|
|
726
|
+
const operationName = "getAgentSession";
|
|
727
|
+
const apiReferenceLink = "";
|
|
728
|
+
const pathParams = {
|
|
729
|
+
"{aiDataPlatformId}": getAgentSessionRequest.aiDataPlatformId,
|
|
730
|
+
"{workspaceKey}": getAgentSessionRequest.workspaceKey,
|
|
731
|
+
"{agentKey}": getAgentSessionRequest.agentKey,
|
|
732
|
+
"{sessionId}": getAgentSessionRequest.sessionId,
|
|
733
|
+
};
|
|
734
|
+
const queryParams = {};
|
|
735
|
+
let headerParams = {
|
|
736
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
737
|
+
'opc-request-id': getAgentSessionRequest.opcRequestId,
|
|
738
|
+
};
|
|
739
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
740
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAgentSessionRequest.retryConfiguration, specRetryConfiguration);
|
|
741
|
+
if (this.logger)
|
|
742
|
+
retrier.logger = this.logger;
|
|
743
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
744
|
+
baseEndpoint: this._endpoint,
|
|
745
|
+
defaultHeaders: this._defaultHeaders,
|
|
746
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/sessions/{sessionId}',
|
|
747
|
+
method: 'GET',
|
|
748
|
+
pathParams: pathParams,
|
|
749
|
+
headerParams: headerParams,
|
|
750
|
+
queryParams: queryParams
|
|
751
|
+
});
|
|
752
|
+
try {
|
|
753
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
754
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
755
|
+
responseObject: {},
|
|
756
|
+
body: yield response.json(),
|
|
757
|
+
bodyKey: "agentSession",
|
|
758
|
+
bodyModel: model.AgentSession,
|
|
759
|
+
type: "model.AgentSession",
|
|
760
|
+
responseHeaders: [
|
|
761
|
+
{
|
|
762
|
+
value: response.headers.get("etag"),
|
|
763
|
+
key: "etag",
|
|
764
|
+
dataType: "string"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
value: response.headers.get("opc-request-id"),
|
|
768
|
+
key: "opcRequestId",
|
|
769
|
+
dataType: "string"
|
|
770
|
+
},
|
|
771
|
+
]
|
|
772
|
+
});
|
|
773
|
+
return sdkResponse;
|
|
774
|
+
}
|
|
775
|
+
catch (err) {
|
|
776
|
+
throw err;
|
|
777
|
+
}
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* Returns trace details for a given message key.
|
|
782
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
783
|
+
* @param GetAgentSessionTraceRequest
|
|
784
|
+
* @return GetAgentSessionTraceResponse
|
|
785
|
+
* @throws OciError when an error occurs
|
|
786
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetAgentSessionTrace.ts.html |here} to see how to use GetAgentSessionTrace API.
|
|
787
|
+
*/
|
|
788
|
+
getAgentSessionTrace(getAgentSessionTraceRequest) {
|
|
789
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
790
|
+
if (this.logger)
|
|
791
|
+
this.logger.debug("Calling operation AgentClient#getAgentSessionTrace.");
|
|
792
|
+
const operationName = "getAgentSessionTrace";
|
|
793
|
+
const apiReferenceLink = "";
|
|
794
|
+
const pathParams = {
|
|
795
|
+
"{aiDataPlatformId}": getAgentSessionTraceRequest.aiDataPlatformId,
|
|
796
|
+
"{workspaceKey}": getAgentSessionTraceRequest.workspaceKey,
|
|
797
|
+
"{agentKey}": getAgentSessionTraceRequest.agentKey,
|
|
798
|
+
"{sessionId}": getAgentSessionTraceRequest.sessionId,
|
|
799
|
+
"{traceKey}": getAgentSessionTraceRequest.traceKey,
|
|
800
|
+
};
|
|
801
|
+
const queryParams = {};
|
|
802
|
+
let headerParams = {
|
|
803
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
804
|
+
'opc-request-id': getAgentSessionTraceRequest.opcRequestId,
|
|
805
|
+
};
|
|
806
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
807
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAgentSessionTraceRequest.retryConfiguration, specRetryConfiguration);
|
|
808
|
+
if (this.logger)
|
|
809
|
+
retrier.logger = this.logger;
|
|
810
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
811
|
+
baseEndpoint: this._endpoint,
|
|
812
|
+
defaultHeaders: this._defaultHeaders,
|
|
813
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/sessions/{sessionId}/traces/{traceKey}',
|
|
814
|
+
method: 'GET',
|
|
815
|
+
pathParams: pathParams,
|
|
816
|
+
headerParams: headerParams,
|
|
817
|
+
queryParams: queryParams
|
|
818
|
+
});
|
|
819
|
+
try {
|
|
820
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
821
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
822
|
+
responseObject: {},
|
|
823
|
+
body: yield response.json(),
|
|
824
|
+
bodyKey: "traceDetails",
|
|
825
|
+
bodyModel: model.TraceDetails,
|
|
826
|
+
type: "model.TraceDetails",
|
|
827
|
+
responseHeaders: [
|
|
828
|
+
{
|
|
829
|
+
value: response.headers.get("opc-request-id"),
|
|
830
|
+
key: "opcRequestId",
|
|
831
|
+
dataType: "string"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
value: response.headers.get("opc-next-page"),
|
|
835
|
+
key: "opcNextPage",
|
|
836
|
+
dataType: "string"
|
|
837
|
+
},
|
|
838
|
+
]
|
|
839
|
+
});
|
|
840
|
+
return sdkResponse;
|
|
841
|
+
}
|
|
842
|
+
catch (err) {
|
|
843
|
+
throw err;
|
|
844
|
+
}
|
|
845
|
+
});
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Returns a list of deployments of an agent.
|
|
849
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
850
|
+
* @param ListAgentDeploymentsRequest
|
|
851
|
+
* @return ListAgentDeploymentsResponse
|
|
852
|
+
* @throws OciError when an error occurs
|
|
853
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAgentDeployments.ts.html |here} to see how to use ListAgentDeployments API.
|
|
854
|
+
*/
|
|
855
|
+
listAgentDeployments(listAgentDeploymentsRequest) {
|
|
856
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
857
|
+
if (this.logger)
|
|
858
|
+
this.logger.debug("Calling operation AgentClient#listAgentDeployments.");
|
|
859
|
+
const operationName = "listAgentDeployments";
|
|
860
|
+
const apiReferenceLink = "";
|
|
861
|
+
const pathParams = {
|
|
862
|
+
"{aiDataPlatformId}": listAgentDeploymentsRequest.aiDataPlatformId,
|
|
863
|
+
"{workspaceKey}": listAgentDeploymentsRequest.workspaceKey,
|
|
864
|
+
"{agentKey}": listAgentDeploymentsRequest.agentKey,
|
|
865
|
+
};
|
|
866
|
+
const queryParams = {
|
|
867
|
+
'limit': listAgentDeploymentsRequest.limit,
|
|
868
|
+
'page': listAgentDeploymentsRequest.page,
|
|
869
|
+
'sortOrder': listAgentDeploymentsRequest.sortOrder,
|
|
870
|
+
'displayName': listAgentDeploymentsRequest.displayName,
|
|
871
|
+
'displayNameContains': listAgentDeploymentsRequest.displayNameContains,
|
|
872
|
+
'lifecycleState': listAgentDeploymentsRequest.lifecycleState,
|
|
873
|
+
'timeCreatedGreaterThanOrEqualTo': listAgentDeploymentsRequest.timeCreatedGreaterThanOrEqualTo,
|
|
874
|
+
'timeCreatedLessThanOrEqualTo': listAgentDeploymentsRequest.timeCreatedLessThanOrEqualTo,
|
|
875
|
+
'sortBy': listAgentDeploymentsRequest.sortBy,
|
|
876
|
+
'computeKey': listAgentDeploymentsRequest.computeKey,
|
|
877
|
+
};
|
|
878
|
+
let headerParams = {
|
|
879
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
880
|
+
'opc-request-id': listAgentDeploymentsRequest.opcRequestId,
|
|
881
|
+
};
|
|
882
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
883
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAgentDeploymentsRequest.retryConfiguration, specRetryConfiguration);
|
|
884
|
+
if (this.logger)
|
|
885
|
+
retrier.logger = this.logger;
|
|
886
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
887
|
+
baseEndpoint: this._endpoint,
|
|
888
|
+
defaultHeaders: this._defaultHeaders,
|
|
889
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/deployments',
|
|
890
|
+
method: 'GET',
|
|
891
|
+
pathParams: pathParams,
|
|
892
|
+
headerParams: headerParams,
|
|
893
|
+
queryParams: queryParams
|
|
894
|
+
});
|
|
895
|
+
try {
|
|
896
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
897
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
898
|
+
responseObject: {},
|
|
899
|
+
body: yield response.json(),
|
|
900
|
+
bodyKey: "agentDeploymentCollection",
|
|
901
|
+
bodyModel: model.AgentDeploymentCollection,
|
|
902
|
+
type: "model.AgentDeploymentCollection",
|
|
903
|
+
responseHeaders: [
|
|
904
|
+
{
|
|
905
|
+
value: response.headers.get("opc-request-id"),
|
|
906
|
+
key: "opcRequestId",
|
|
907
|
+
dataType: "string"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
value: response.headers.get("opc-next-page"),
|
|
911
|
+
key: "opcNextPage",
|
|
912
|
+
dataType: "string"
|
|
913
|
+
},
|
|
914
|
+
]
|
|
915
|
+
});
|
|
916
|
+
return sdkResponse;
|
|
917
|
+
}
|
|
918
|
+
catch (err) {
|
|
919
|
+
throw err;
|
|
920
|
+
}
|
|
921
|
+
});
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* Returns a list of permissions for a given Agent.
|
|
925
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
926
|
+
* @param ListAgentPermissionsRequest
|
|
927
|
+
* @return ListAgentPermissionsResponse
|
|
928
|
+
* @throws OciError when an error occurs
|
|
929
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAgentPermissions.ts.html |here} to see how to use ListAgentPermissions API.
|
|
930
|
+
*/
|
|
931
|
+
listAgentPermissions(listAgentPermissionsRequest) {
|
|
932
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
933
|
+
if (this.logger)
|
|
934
|
+
this.logger.debug("Calling operation AgentClient#listAgentPermissions.");
|
|
935
|
+
const operationName = "listAgentPermissions";
|
|
936
|
+
const apiReferenceLink = "";
|
|
937
|
+
const pathParams = {
|
|
938
|
+
"{aiDataPlatformId}": listAgentPermissionsRequest.aiDataPlatformId,
|
|
939
|
+
"{workspaceKey}": listAgentPermissionsRequest.workspaceKey,
|
|
940
|
+
"{agentKey}": listAgentPermissionsRequest.agentKey,
|
|
941
|
+
};
|
|
942
|
+
const queryParams = {
|
|
943
|
+
'limit': listAgentPermissionsRequest.limit,
|
|
944
|
+
'page': listAgentPermissionsRequest.page,
|
|
945
|
+
'sortOrder': listAgentPermissionsRequest.sortOrder,
|
|
946
|
+
'sortBy': listAgentPermissionsRequest.sortBy,
|
|
947
|
+
};
|
|
948
|
+
let headerParams = {
|
|
949
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
950
|
+
'opc-request-id': listAgentPermissionsRequest.opcRequestId, 'should-update-recent': listAgentPermissionsRequest.shouldUpdateRecent,
|
|
951
|
+
};
|
|
952
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
953
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAgentPermissionsRequest.retryConfiguration, specRetryConfiguration);
|
|
954
|
+
if (this.logger)
|
|
955
|
+
retrier.logger = this.logger;
|
|
956
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
957
|
+
baseEndpoint: this._endpoint,
|
|
958
|
+
defaultHeaders: this._defaultHeaders,
|
|
959
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/permissions',
|
|
960
|
+
method: 'GET',
|
|
961
|
+
pathParams: pathParams,
|
|
962
|
+
headerParams: headerParams,
|
|
963
|
+
queryParams: queryParams
|
|
964
|
+
});
|
|
965
|
+
try {
|
|
966
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
967
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
968
|
+
responseObject: {},
|
|
969
|
+
body: yield response.json(),
|
|
970
|
+
bodyKey: "agentPermissionCollection",
|
|
971
|
+
bodyModel: model.AgentPermissionCollection,
|
|
972
|
+
type: "model.AgentPermissionCollection",
|
|
973
|
+
responseHeaders: [
|
|
974
|
+
{
|
|
975
|
+
value: response.headers.get("opc-request-id"),
|
|
976
|
+
key: "opcRequestId",
|
|
977
|
+
dataType: "string"
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
value: response.headers.get("opc-next-page"),
|
|
981
|
+
key: "opcNextPage",
|
|
982
|
+
dataType: "string"
|
|
983
|
+
},
|
|
984
|
+
]
|
|
985
|
+
});
|
|
986
|
+
return sdkResponse;
|
|
987
|
+
}
|
|
988
|
+
catch (err) {
|
|
989
|
+
throw err;
|
|
990
|
+
}
|
|
991
|
+
});
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* Returns list of Agent Session chat messages.
|
|
995
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
996
|
+
* @param ListAgentSessionChatHistoriesRequest
|
|
997
|
+
* @return ListAgentSessionChatHistoriesResponse
|
|
998
|
+
* @throws OciError when an error occurs
|
|
999
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAgentSessionChatHistories.ts.html |here} to see how to use ListAgentSessionChatHistories API.
|
|
1000
|
+
*/
|
|
1001
|
+
listAgentSessionChatHistories(listAgentSessionChatHistoriesRequest) {
|
|
1002
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1003
|
+
if (this.logger)
|
|
1004
|
+
this.logger.debug("Calling operation AgentClient#listAgentSessionChatHistories.");
|
|
1005
|
+
const operationName = "listAgentSessionChatHistories";
|
|
1006
|
+
const apiReferenceLink = "";
|
|
1007
|
+
const pathParams = {
|
|
1008
|
+
"{aiDataPlatformId}": listAgentSessionChatHistoriesRequest.aiDataPlatformId,
|
|
1009
|
+
"{workspaceKey}": listAgentSessionChatHistoriesRequest.workspaceKey,
|
|
1010
|
+
"{agentKey}": listAgentSessionChatHistoriesRequest.agentKey,
|
|
1011
|
+
"{sessionId}": listAgentSessionChatHistoriesRequest.sessionId,
|
|
1012
|
+
};
|
|
1013
|
+
const queryParams = {
|
|
1014
|
+
'limit': listAgentSessionChatHistoriesRequest.limit,
|
|
1015
|
+
'page': listAgentSessionChatHistoriesRequest.page,
|
|
1016
|
+
};
|
|
1017
|
+
let headerParams = {
|
|
1018
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1019
|
+
'opc-request-id': listAgentSessionChatHistoriesRequest.opcRequestId,
|
|
1020
|
+
};
|
|
1021
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1022
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAgentSessionChatHistoriesRequest.retryConfiguration, specRetryConfiguration);
|
|
1023
|
+
if (this.logger)
|
|
1024
|
+
retrier.logger = this.logger;
|
|
1025
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
1026
|
+
baseEndpoint: this._endpoint,
|
|
1027
|
+
defaultHeaders: this._defaultHeaders,
|
|
1028
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/sessions/{sessionId}/chatHistory',
|
|
1029
|
+
method: 'GET',
|
|
1030
|
+
pathParams: pathParams,
|
|
1031
|
+
headerParams: headerParams,
|
|
1032
|
+
queryParams: queryParams
|
|
1033
|
+
});
|
|
1034
|
+
try {
|
|
1035
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1036
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
1037
|
+
responseObject: {},
|
|
1038
|
+
body: yield response.json(),
|
|
1039
|
+
bodyKey: "sessionChatHistoryCollection",
|
|
1040
|
+
bodyModel: model.SessionChatHistoryCollection,
|
|
1041
|
+
type: "model.SessionChatHistoryCollection",
|
|
1042
|
+
responseHeaders: [
|
|
1043
|
+
{
|
|
1044
|
+
value: response.headers.get("opc-request-id"),
|
|
1045
|
+
key: "opcRequestId",
|
|
1046
|
+
dataType: "string"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
value: response.headers.get("opc-next-page"),
|
|
1050
|
+
key: "opcNextPage",
|
|
1051
|
+
dataType: "string"
|
|
1052
|
+
},
|
|
1053
|
+
]
|
|
1054
|
+
});
|
|
1055
|
+
return sdkResponse;
|
|
1056
|
+
}
|
|
1057
|
+
catch (err) {
|
|
1058
|
+
throw err;
|
|
1059
|
+
}
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
/**
|
|
1063
|
+
* Returns a list of testing sessions of an Agent.
|
|
1064
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1065
|
+
* @param ListAgentSessionsRequest
|
|
1066
|
+
* @return ListAgentSessionsResponse
|
|
1067
|
+
* @throws OciError when an error occurs
|
|
1068
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAgentSessions.ts.html |here} to see how to use ListAgentSessions API.
|
|
1069
|
+
*/
|
|
1070
|
+
listAgentSessions(listAgentSessionsRequest) {
|
|
1071
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1072
|
+
if (this.logger)
|
|
1073
|
+
this.logger.debug("Calling operation AgentClient#listAgentSessions.");
|
|
1074
|
+
const operationName = "listAgentSessions";
|
|
1075
|
+
const apiReferenceLink = "";
|
|
1076
|
+
const pathParams = {
|
|
1077
|
+
"{aiDataPlatformId}": listAgentSessionsRequest.aiDataPlatformId,
|
|
1078
|
+
"{workspaceKey}": listAgentSessionsRequest.workspaceKey,
|
|
1079
|
+
"{agentKey}": listAgentSessionsRequest.agentKey,
|
|
1080
|
+
};
|
|
1081
|
+
const queryParams = {
|
|
1082
|
+
'limit': listAgentSessionsRequest.limit,
|
|
1083
|
+
'page': listAgentSessionsRequest.page,
|
|
1084
|
+
'sortOrder': listAgentSessionsRequest.sortOrder,
|
|
1085
|
+
'displayNameContains': listAgentSessionsRequest.displayNameContains,
|
|
1086
|
+
'timeCreatedGreaterThanOrEqualTo': listAgentSessionsRequest.timeCreatedGreaterThanOrEqualTo,
|
|
1087
|
+
'timeCreatedLessThanOrEqualTo': listAgentSessionsRequest.timeCreatedLessThanOrEqualTo,
|
|
1088
|
+
'sortBy': listAgentSessionsRequest.sortBy,
|
|
1089
|
+
};
|
|
1090
|
+
let headerParams = {
|
|
1091
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1092
|
+
'opc-request-id': listAgentSessionsRequest.opcRequestId,
|
|
1093
|
+
};
|
|
1094
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1095
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAgentSessionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1096
|
+
if (this.logger)
|
|
1097
|
+
retrier.logger = this.logger;
|
|
1098
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
1099
|
+
baseEndpoint: this._endpoint,
|
|
1100
|
+
defaultHeaders: this._defaultHeaders,
|
|
1101
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/sessions',
|
|
1102
|
+
method: 'GET',
|
|
1103
|
+
pathParams: pathParams,
|
|
1104
|
+
headerParams: headerParams,
|
|
1105
|
+
queryParams: queryParams
|
|
1106
|
+
});
|
|
1107
|
+
try {
|
|
1108
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1109
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
1110
|
+
responseObject: {},
|
|
1111
|
+
body: yield response.json(),
|
|
1112
|
+
bodyKey: "agentSessionCollection",
|
|
1113
|
+
bodyModel: model.AgentSessionCollection,
|
|
1114
|
+
type: "model.AgentSessionCollection",
|
|
1115
|
+
responseHeaders: [
|
|
1116
|
+
{
|
|
1117
|
+
value: response.headers.get("opc-request-id"),
|
|
1118
|
+
key: "opcRequestId",
|
|
1119
|
+
dataType: "string"
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
value: response.headers.get("opc-prev-page"),
|
|
1123
|
+
key: "opcPrevPage",
|
|
1124
|
+
dataType: "string"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
value: response.headers.get("opc-next-page"),
|
|
1128
|
+
key: "opcNextPage",
|
|
1129
|
+
dataType: "string"
|
|
1130
|
+
},
|
|
1131
|
+
]
|
|
1132
|
+
});
|
|
1133
|
+
return sdkResponse;
|
|
1134
|
+
}
|
|
1135
|
+
catch (err) {
|
|
1136
|
+
throw err;
|
|
1137
|
+
}
|
|
1138
|
+
});
|
|
1139
|
+
}
|
|
1140
|
+
/**
|
|
1141
|
+
* Returns a list of Agents in a schema.
|
|
1142
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1143
|
+
* @param ListAgentsRequest
|
|
1144
|
+
* @return ListAgentsResponse
|
|
1145
|
+
* @throws OciError when an error occurs
|
|
1146
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAgents.ts.html |here} to see how to use ListAgents API.
|
|
1147
|
+
*/
|
|
1148
|
+
listAgents(listAgentsRequest) {
|
|
1149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1150
|
+
if (this.logger)
|
|
1151
|
+
this.logger.debug("Calling operation AgentClient#listAgents.");
|
|
1152
|
+
const operationName = "listAgents";
|
|
1153
|
+
const apiReferenceLink = "";
|
|
1154
|
+
const pathParams = {
|
|
1155
|
+
"{aiDataPlatformId}": listAgentsRequest.aiDataPlatformId,
|
|
1156
|
+
"{workspaceKey}": listAgentsRequest.workspaceKey,
|
|
1157
|
+
};
|
|
1158
|
+
const queryParams = {
|
|
1159
|
+
'computeKey': listAgentsRequest.computeKey,
|
|
1160
|
+
'displayName': listAgentsRequest.displayName,
|
|
1161
|
+
'displayNameContains': listAgentsRequest.displayNameContains,
|
|
1162
|
+
'limit': listAgentsRequest.limit,
|
|
1163
|
+
'page': listAgentsRequest.page,
|
|
1164
|
+
'sortOrder': listAgentsRequest.sortOrder,
|
|
1165
|
+
'sortBy': listAgentsRequest.sortBy,
|
|
1166
|
+
};
|
|
1167
|
+
let headerParams = {
|
|
1168
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1169
|
+
'opc-request-id': listAgentsRequest.opcRequestId,
|
|
1170
|
+
};
|
|
1171
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1172
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAgentsRequest.retryConfiguration, specRetryConfiguration);
|
|
1173
|
+
if (this.logger)
|
|
1174
|
+
retrier.logger = this.logger;
|
|
1175
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
1176
|
+
baseEndpoint: this._endpoint,
|
|
1177
|
+
defaultHeaders: this._defaultHeaders,
|
|
1178
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents',
|
|
1179
|
+
method: 'GET',
|
|
1180
|
+
pathParams: pathParams,
|
|
1181
|
+
headerParams: headerParams,
|
|
1182
|
+
queryParams: queryParams
|
|
1183
|
+
});
|
|
1184
|
+
try {
|
|
1185
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1186
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
1187
|
+
responseObject: {},
|
|
1188
|
+
body: yield response.json(),
|
|
1189
|
+
bodyKey: "agentCollection",
|
|
1190
|
+
bodyModel: model.AgentCollection,
|
|
1191
|
+
type: "model.AgentCollection",
|
|
1192
|
+
responseHeaders: [
|
|
1193
|
+
{
|
|
1194
|
+
value: response.headers.get("opc-request-id"),
|
|
1195
|
+
key: "opcRequestId",
|
|
1196
|
+
dataType: "string"
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
value: response.headers.get("opc-next-page"),
|
|
1200
|
+
key: "opcNextPage",
|
|
1201
|
+
dataType: "string"
|
|
1202
|
+
},
|
|
1203
|
+
]
|
|
1204
|
+
});
|
|
1205
|
+
return sdkResponse;
|
|
1206
|
+
}
|
|
1207
|
+
catch (err) {
|
|
1208
|
+
throw err;
|
|
1209
|
+
}
|
|
1210
|
+
});
|
|
1211
|
+
}
|
|
1212
|
+
/**
|
|
1213
|
+
* Update the permissions for a given Agent.
|
|
1214
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1215
|
+
* @param ManageAgentPermissionRequest
|
|
1216
|
+
* @return ManageAgentPermissionResponse
|
|
1217
|
+
* @throws OciError when an error occurs
|
|
1218
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ManageAgentPermission.ts.html |here} to see how to use ManageAgentPermission API.
|
|
1219
|
+
*/
|
|
1220
|
+
manageAgentPermission(manageAgentPermissionRequest) {
|
|
1221
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1222
|
+
if (this.logger)
|
|
1223
|
+
this.logger.debug("Calling operation AgentClient#manageAgentPermission.");
|
|
1224
|
+
const operationName = "manageAgentPermission";
|
|
1225
|
+
const apiReferenceLink = "";
|
|
1226
|
+
const pathParams = {
|
|
1227
|
+
"{aiDataPlatformId}": manageAgentPermissionRequest.aiDataPlatformId,
|
|
1228
|
+
"{workspaceKey}": manageAgentPermissionRequest.workspaceKey,
|
|
1229
|
+
"{agentKey}": manageAgentPermissionRequest.agentKey,
|
|
1230
|
+
};
|
|
1231
|
+
const queryParams = {};
|
|
1232
|
+
let headerParams = {
|
|
1233
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1234
|
+
'if-match': manageAgentPermissionRequest.ifMatch, 'opc-request-id': manageAgentPermissionRequest.opcRequestId, 'should-update-recent': manageAgentPermissionRequest.shouldUpdateRecent,
|
|
1235
|
+
};
|
|
1236
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1237
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, manageAgentPermissionRequest.retryConfiguration, specRetryConfiguration);
|
|
1238
|
+
if (this.logger)
|
|
1239
|
+
retrier.logger = this.logger;
|
|
1240
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
1241
|
+
baseEndpoint: this._endpoint,
|
|
1242
|
+
defaultHeaders: this._defaultHeaders,
|
|
1243
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/actions/managePermission',
|
|
1244
|
+
method: 'POST',
|
|
1245
|
+
bodyContent: common.ObjectSerializer.serialize(manageAgentPermissionRequest.manageAgentPermissionDetails, "ManageAgentPermissionDetails", model.ManageAgentPermissionDetails.getJsonObj),
|
|
1246
|
+
pathParams: pathParams,
|
|
1247
|
+
headerParams: headerParams,
|
|
1248
|
+
queryParams: queryParams
|
|
1249
|
+
});
|
|
1250
|
+
try {
|
|
1251
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1252
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
1253
|
+
responseObject: {},
|
|
1254
|
+
responseHeaders: [
|
|
1255
|
+
{
|
|
1256
|
+
value: response.headers.get("opc-request-id"),
|
|
1257
|
+
key: "opcRequestId",
|
|
1258
|
+
dataType: "string"
|
|
1259
|
+
},
|
|
1260
|
+
]
|
|
1261
|
+
});
|
|
1262
|
+
return sdkResponse;
|
|
1263
|
+
}
|
|
1264
|
+
catch (err) {
|
|
1265
|
+
throw err;
|
|
1266
|
+
}
|
|
1267
|
+
});
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* Returns the agent card based on the given agent card configuration.
|
|
1271
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1272
|
+
* @param PreviewAgentAgentCardRequest
|
|
1273
|
+
* @return PreviewAgentAgentCardResponse
|
|
1274
|
+
* @throws OciError when an error occurs
|
|
1275
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/PreviewAgentAgentCard.ts.html |here} to see how to use PreviewAgentAgentCard API.
|
|
1276
|
+
*/
|
|
1277
|
+
previewAgentAgentCard(previewAgentAgentCardRequest) {
|
|
1278
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1279
|
+
if (this.logger)
|
|
1280
|
+
this.logger.debug("Calling operation AgentClient#previewAgentAgentCard.");
|
|
1281
|
+
const operationName = "previewAgentAgentCard";
|
|
1282
|
+
const apiReferenceLink = "";
|
|
1283
|
+
const pathParams = {
|
|
1284
|
+
"{aiDataPlatformId}": previewAgentAgentCardRequest.aiDataPlatformId,
|
|
1285
|
+
"{workspaceKey}": previewAgentAgentCardRequest.workspaceKey,
|
|
1286
|
+
};
|
|
1287
|
+
const queryParams = {};
|
|
1288
|
+
let headerParams = {
|
|
1289
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1290
|
+
'opc-retry-token': previewAgentAgentCardRequest.opcRetryToken, 'if-match': previewAgentAgentCardRequest.ifMatch, 'opc-request-id': previewAgentAgentCardRequest.opcRequestId, 'should-update-recent': previewAgentAgentCardRequest.shouldUpdateRecent,
|
|
1291
|
+
};
|
|
1292
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1293
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, previewAgentAgentCardRequest.retryConfiguration, specRetryConfiguration);
|
|
1294
|
+
if (this.logger)
|
|
1295
|
+
retrier.logger = this.logger;
|
|
1296
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
1297
|
+
baseEndpoint: this._endpoint,
|
|
1298
|
+
defaultHeaders: this._defaultHeaders,
|
|
1299
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/actions/previewAgentCard',
|
|
1300
|
+
method: 'POST',
|
|
1301
|
+
bodyContent: common.ObjectSerializer.serialize(previewAgentAgentCardRequest.previewAgentCardDetails, "PreviewAgentCardDetails", model.PreviewAgentCardDetails.getJsonObj),
|
|
1302
|
+
pathParams: pathParams,
|
|
1303
|
+
headerParams: headerParams,
|
|
1304
|
+
queryParams: queryParams
|
|
1305
|
+
});
|
|
1306
|
+
try {
|
|
1307
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1308
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
1309
|
+
responseObject: {},
|
|
1310
|
+
body: yield response.json(),
|
|
1311
|
+
bodyKey: "agentCardPreviewResponse",
|
|
1312
|
+
bodyModel: model.AgentCardPreviewResponse,
|
|
1313
|
+
type: "model.AgentCardPreviewResponse",
|
|
1314
|
+
responseHeaders: [
|
|
1315
|
+
{
|
|
1316
|
+
value: response.headers.get("etag"),
|
|
1317
|
+
key: "etag",
|
|
1318
|
+
dataType: "string"
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
value: response.headers.get("opc-request-id"),
|
|
1322
|
+
key: "opcRequestId",
|
|
1323
|
+
dataType: "string"
|
|
1324
|
+
},
|
|
1325
|
+
]
|
|
1326
|
+
});
|
|
1327
|
+
return sdkResponse;
|
|
1328
|
+
}
|
|
1329
|
+
catch (err) {
|
|
1330
|
+
throw err;
|
|
1331
|
+
}
|
|
1332
|
+
});
|
|
1333
|
+
}
|
|
1334
|
+
/**
|
|
1335
|
+
* Redeploys an Agent.
|
|
1336
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1337
|
+
* @param RedeployAgentByKeyRequest
|
|
1338
|
+
* @return RedeployAgentByKeyResponse
|
|
1339
|
+
* @throws OciError when an error occurs
|
|
1340
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/RedeployAgentByKey.ts.html |here} to see how to use RedeployAgentByKey API.
|
|
1341
|
+
*/
|
|
1342
|
+
redeployAgentByKey(redeployAgentByKeyRequest) {
|
|
1343
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1344
|
+
if (this.logger)
|
|
1345
|
+
this.logger.debug("Calling operation AgentClient#redeployAgentByKey.");
|
|
1346
|
+
const operationName = "redeployAgentByKey";
|
|
1347
|
+
const apiReferenceLink = "";
|
|
1348
|
+
const pathParams = {
|
|
1349
|
+
"{aiDataPlatformId}": redeployAgentByKeyRequest.aiDataPlatformId,
|
|
1350
|
+
"{workspaceKey}": redeployAgentByKeyRequest.workspaceKey,
|
|
1351
|
+
"{agentKey}": redeployAgentByKeyRequest.agentKey,
|
|
1352
|
+
};
|
|
1353
|
+
const queryParams = {};
|
|
1354
|
+
let headerParams = {
|
|
1355
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1356
|
+
'if-match': redeployAgentByKeyRequest.ifMatch, 'opc-retry-token': redeployAgentByKeyRequest.opcRetryToken, 'opc-request-id': redeployAgentByKeyRequest.opcRequestId,
|
|
1357
|
+
};
|
|
1358
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1359
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, redeployAgentByKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1360
|
+
if (this.logger)
|
|
1361
|
+
retrier.logger = this.logger;
|
|
1362
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
1363
|
+
baseEndpoint: this._endpoint,
|
|
1364
|
+
defaultHeaders: this._defaultHeaders,
|
|
1365
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/deployments/actions/redeploy',
|
|
1366
|
+
method: 'POST',
|
|
1367
|
+
bodyContent: common.ObjectSerializer.serialize(redeployAgentByKeyRequest.updateAgentDeploymentDetails, "UpdateAgentDeploymentDetails", model.UpdateAgentDeploymentDetails.getJsonObj),
|
|
1368
|
+
pathParams: pathParams,
|
|
1369
|
+
headerParams: headerParams,
|
|
1370
|
+
queryParams: queryParams
|
|
1371
|
+
});
|
|
1372
|
+
try {
|
|
1373
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1374
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
1375
|
+
responseObject: {},
|
|
1376
|
+
body: yield response.json(),
|
|
1377
|
+
bodyKey: "agentDeployment",
|
|
1378
|
+
bodyModel: model.AgentDeployment,
|
|
1379
|
+
type: "model.AgentDeployment",
|
|
1380
|
+
responseHeaders: [
|
|
1381
|
+
{
|
|
1382
|
+
value: response.headers.get("location"),
|
|
1383
|
+
key: "location",
|
|
1384
|
+
dataType: "string"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
value: response.headers.get("content-location"),
|
|
1388
|
+
key: "contentLocation",
|
|
1389
|
+
dataType: "string"
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
value: response.headers.get("etag"),
|
|
1393
|
+
key: "etag",
|
|
1394
|
+
dataType: "string"
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
1398
|
+
key: "aidpAsyncOperationKey",
|
|
1399
|
+
dataType: "string"
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
value: response.headers.get("opc-request-id"),
|
|
1403
|
+
key: "opcRequestId",
|
|
1404
|
+
dataType: "string"
|
|
1405
|
+
},
|
|
1406
|
+
]
|
|
1407
|
+
});
|
|
1408
|
+
return sdkResponse;
|
|
1409
|
+
}
|
|
1410
|
+
catch (err) {
|
|
1411
|
+
throw err;
|
|
1412
|
+
}
|
|
1413
|
+
});
|
|
1414
|
+
}
|
|
1415
|
+
/**
|
|
1416
|
+
* Update an Agent with provided details.
|
|
1417
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1418
|
+
* @param UpdateAgentRequest
|
|
1419
|
+
* @return UpdateAgentResponse
|
|
1420
|
+
* @throws OciError when an error occurs
|
|
1421
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
|
|
1422
|
+
*/
|
|
1423
|
+
updateAgent(updateAgentRequest) {
|
|
1424
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1425
|
+
if (this.logger)
|
|
1426
|
+
this.logger.debug("Calling operation AgentClient#updateAgent.");
|
|
1427
|
+
const operationName = "updateAgent";
|
|
1428
|
+
const apiReferenceLink = "";
|
|
1429
|
+
const pathParams = {
|
|
1430
|
+
"{aiDataPlatformId}": updateAgentRequest.aiDataPlatformId,
|
|
1431
|
+
"{workspaceKey}": updateAgentRequest.workspaceKey,
|
|
1432
|
+
"{agentKey}": updateAgentRequest.agentKey,
|
|
1433
|
+
};
|
|
1434
|
+
const queryParams = {};
|
|
1435
|
+
let headerParams = {
|
|
1436
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1437
|
+
'should-update-recent': updateAgentRequest.shouldUpdateRecent, 'if-match': updateAgentRequest.ifMatch, 'opc-request-id': updateAgentRequest.opcRequestId,
|
|
1438
|
+
};
|
|
1439
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1440
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
1441
|
+
if (this.logger)
|
|
1442
|
+
retrier.logger = this.logger;
|
|
1443
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
1444
|
+
baseEndpoint: this._endpoint,
|
|
1445
|
+
defaultHeaders: this._defaultHeaders,
|
|
1446
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}',
|
|
1447
|
+
method: 'PUT',
|
|
1448
|
+
bodyContent: common.ObjectSerializer.serialize(updateAgentRequest.updateAgentDetails, "UpdateAgentDetails", model.UpdateAgentDetails.getJsonObj),
|
|
1449
|
+
pathParams: pathParams,
|
|
1450
|
+
headerParams: headerParams,
|
|
1451
|
+
queryParams: queryParams
|
|
1452
|
+
});
|
|
1453
|
+
try {
|
|
1454
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1455
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
1456
|
+
responseObject: {},
|
|
1457
|
+
body: yield response.json(),
|
|
1458
|
+
bodyKey: "agent",
|
|
1459
|
+
bodyModel: model.Agent,
|
|
1460
|
+
type: "model.Agent",
|
|
1461
|
+
responseHeaders: [
|
|
1462
|
+
{
|
|
1463
|
+
value: response.headers.get("etag"),
|
|
1464
|
+
key: "etag",
|
|
1465
|
+
dataType: "string"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
value: response.headers.get("opc-request-id"),
|
|
1469
|
+
key: "opcRequestId",
|
|
1470
|
+
dataType: "string"
|
|
1471
|
+
},
|
|
1472
|
+
]
|
|
1473
|
+
});
|
|
1474
|
+
return sdkResponse;
|
|
1475
|
+
}
|
|
1476
|
+
catch (err) {
|
|
1477
|
+
throw err;
|
|
1478
|
+
}
|
|
1479
|
+
});
|
|
1480
|
+
}
|
|
1481
|
+
/**
|
|
1482
|
+
* Update the deployment metadata for an Agent.
|
|
1483
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1484
|
+
* @param UpdateAgentDeploymentMetadataRequest
|
|
1485
|
+
* @return UpdateAgentDeploymentMetadataResponse
|
|
1486
|
+
* @throws OciError when an error occurs
|
|
1487
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateAgentDeploymentMetadata.ts.html |here} to see how to use UpdateAgentDeploymentMetadata API.
|
|
1488
|
+
*/
|
|
1489
|
+
updateAgentDeploymentMetadata(updateAgentDeploymentMetadataRequest) {
|
|
1490
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1491
|
+
if (this.logger)
|
|
1492
|
+
this.logger.debug("Calling operation AgentClient#updateAgentDeploymentMetadata.");
|
|
1493
|
+
const operationName = "updateAgentDeploymentMetadata";
|
|
1494
|
+
const apiReferenceLink = "";
|
|
1495
|
+
const pathParams = {
|
|
1496
|
+
"{aiDataPlatformId}": updateAgentDeploymentMetadataRequest.aiDataPlatformId,
|
|
1497
|
+
"{workspaceKey}": updateAgentDeploymentMetadataRequest.workspaceKey,
|
|
1498
|
+
"{agentKey}": updateAgentDeploymentMetadataRequest.agentKey,
|
|
1499
|
+
};
|
|
1500
|
+
const queryParams = {};
|
|
1501
|
+
let headerParams = {
|
|
1502
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1503
|
+
'should-update-recent': updateAgentDeploymentMetadataRequest.shouldUpdateRecent, 'opc-retry-token': updateAgentDeploymentMetadataRequest.opcRetryToken, 'opc-request-id': updateAgentDeploymentMetadataRequest.opcRequestId, 'if-match': updateAgentDeploymentMetadataRequest.ifMatch,
|
|
1504
|
+
};
|
|
1505
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1506
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAgentDeploymentMetadataRequest.retryConfiguration, specRetryConfiguration);
|
|
1507
|
+
if (this.logger)
|
|
1508
|
+
retrier.logger = this.logger;
|
|
1509
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
1510
|
+
baseEndpoint: this._endpoint,
|
|
1511
|
+
defaultHeaders: this._defaultHeaders,
|
|
1512
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/actions/updateDeploymentMetadata',
|
|
1513
|
+
method: 'PUT',
|
|
1514
|
+
bodyContent: common.ObjectSerializer.serialize(updateAgentDeploymentMetadataRequest.updateAgentDeploymentMetadataDetails, "UpdateAgentDeploymentMetadataDetails", model.UpdateAgentDeploymentMetadataDetails.getJsonObj),
|
|
1515
|
+
pathParams: pathParams,
|
|
1516
|
+
headerParams: headerParams,
|
|
1517
|
+
queryParams: queryParams
|
|
1518
|
+
});
|
|
1519
|
+
try {
|
|
1520
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1521
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
1522
|
+
responseObject: {},
|
|
1523
|
+
body: yield response.json(),
|
|
1524
|
+
bodyKey: "agentDeployment",
|
|
1525
|
+
bodyModel: model.AgentDeployment,
|
|
1526
|
+
type: "model.AgentDeployment",
|
|
1527
|
+
responseHeaders: [
|
|
1528
|
+
{
|
|
1529
|
+
value: response.headers.get("etag"),
|
|
1530
|
+
key: "etag",
|
|
1531
|
+
dataType: "string"
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
value: response.headers.get("opc-request-id"),
|
|
1535
|
+
key: "opcRequestId",
|
|
1536
|
+
dataType: "string"
|
|
1537
|
+
},
|
|
1538
|
+
]
|
|
1539
|
+
});
|
|
1540
|
+
return sdkResponse;
|
|
1541
|
+
}
|
|
1542
|
+
catch (err) {
|
|
1543
|
+
throw err;
|
|
1544
|
+
}
|
|
1545
|
+
});
|
|
1546
|
+
}
|
|
1547
|
+
/**
|
|
1548
|
+
* Validate the agent json diagram generated by UI.
|
|
1549
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1550
|
+
* @param ValidateAgentRequest
|
|
1551
|
+
* @return ValidateAgentResponse
|
|
1552
|
+
* @throws OciError when an error occurs
|
|
1553
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ValidateAgent.ts.html |here} to see how to use ValidateAgent API.
|
|
1554
|
+
*/
|
|
1555
|
+
validateAgent(validateAgentRequest) {
|
|
1556
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1557
|
+
if (this.logger)
|
|
1558
|
+
this.logger.debug("Calling operation AgentClient#validateAgent.");
|
|
1559
|
+
const operationName = "validateAgent";
|
|
1560
|
+
const apiReferenceLink = "";
|
|
1561
|
+
const pathParams = {
|
|
1562
|
+
"{aiDataPlatformId}": validateAgentRequest.aiDataPlatformId,
|
|
1563
|
+
"{workspaceKey}": validateAgentRequest.workspaceKey,
|
|
1564
|
+
"{agentKey}": validateAgentRequest.agentKey,
|
|
1565
|
+
};
|
|
1566
|
+
const queryParams = {};
|
|
1567
|
+
let headerParams = {
|
|
1568
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1569
|
+
'opc-request-id': validateAgentRequest.opcRequestId, 'should-update-recent': validateAgentRequest.shouldUpdateRecent,
|
|
1570
|
+
};
|
|
1571
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1572
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, validateAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
1573
|
+
if (this.logger)
|
|
1574
|
+
retrier.logger = this.logger;
|
|
1575
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
1576
|
+
baseEndpoint: this._endpoint,
|
|
1577
|
+
defaultHeaders: this._defaultHeaders,
|
|
1578
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/actions/validate',
|
|
1579
|
+
method: 'POST',
|
|
1580
|
+
pathParams: pathParams,
|
|
1581
|
+
headerParams: headerParams,
|
|
1582
|
+
queryParams: queryParams
|
|
1583
|
+
});
|
|
1584
|
+
try {
|
|
1585
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1586
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
1587
|
+
responseObject: {},
|
|
1588
|
+
body: yield response.json(),
|
|
1589
|
+
bodyKey: "validateAgentResponse",
|
|
1590
|
+
bodyModel: model.ValidateAgentResponse,
|
|
1591
|
+
type: "model.ValidateAgentResponse",
|
|
1592
|
+
responseHeaders: [
|
|
1593
|
+
{
|
|
1594
|
+
value: response.headers.get("etag"),
|
|
1595
|
+
key: "etag",
|
|
1596
|
+
dataType: "string"
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
value: response.headers.get("opc-request-id"),
|
|
1600
|
+
key: "opcRequestId",
|
|
1601
|
+
dataType: "string"
|
|
1602
|
+
},
|
|
1603
|
+
]
|
|
1604
|
+
});
|
|
1605
|
+
return sdkResponse;
|
|
1606
|
+
}
|
|
1607
|
+
catch (err) {
|
|
1608
|
+
throw err;
|
|
1609
|
+
}
|
|
1610
|
+
});
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
exports.AgentClient = AgentClient;
|
|
1614
|
+
AgentClient.serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
|
|
1615
|
+
AgentClient.endpointServiceName = '';
|
|
1616
|
+
var AsyncOperationsApiKeys;
|
|
1617
|
+
(function (AsyncOperationsApiKeys) {
|
|
1618
|
+
})(AsyncOperationsApiKeys || (exports.AsyncOperationsApiKeys = AsyncOperationsApiKeys = {}));
|
|
1619
|
+
/**
|
|
1620
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
1621
|
+
*/
|
|
1622
|
+
class AsyncOperationsClient {
|
|
1623
|
+
constructor(params, clientConfiguration) {
|
|
1624
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
1625
|
+
this["_endpoint"] = '';
|
|
1626
|
+
this["_defaultHeaders"] = {};
|
|
1627
|
+
this._circuitBreaker = null;
|
|
1628
|
+
this._httpOptions = undefined;
|
|
1629
|
+
this._bodyDuplexMode = undefined;
|
|
1630
|
+
this.targetService = "AsyncOperations";
|
|
1631
|
+
this._regionId = '';
|
|
1632
|
+
this._lastSetRegionOrRegionId = "";
|
|
1633
|
+
const requestSigner = params.authenticationDetailsProvider
|
|
1634
|
+
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
1635
|
+
: null;
|
|
1636
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
1637
|
+
if (clientConfiguration) {
|
|
1638
|
+
this._clientConfiguration = clientConfiguration;
|
|
1639
|
+
this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker.circuit : null;
|
|
1640
|
+
this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
|
|
1641
|
+
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
|
|
1642
|
+
}
|
|
1643
|
+
if (!oci_common_1.developerToolConfiguration.isServiceEnabled("aidp")) {
|
|
1644
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
1645
|
+
throw errmsg.concat("aidp");
|
|
1646
|
+
}
|
|
1647
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1648
|
+
const specCircuitBreakerEnabled = true;
|
|
1649
|
+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
1650
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
1651
|
+
}
|
|
1652
|
+
this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
1653
|
+
if (params.authenticationDetailsProvider &&
|
|
1654
|
+
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
1655
|
+
const provider = params.authenticationDetailsProvider;
|
|
1656
|
+
if (provider.getRegion()) {
|
|
1657
|
+
this.region = provider.getRegion();
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
/**
|
|
1662
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
1663
|
+
*/
|
|
1664
|
+
get endpoint() {
|
|
1665
|
+
return this._endpoint;
|
|
1666
|
+
}
|
|
1667
|
+
/**
|
|
1668
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
1669
|
+
* @param endpoint The endpoint of the service.
|
|
1670
|
+
*/
|
|
1671
|
+
set endpoint(endpoint) {
|
|
1672
|
+
this._endpoint = endpoint;
|
|
1673
|
+
this._endpoint = this._endpoint + '/20260430';
|
|
1674
|
+
if (this.logger)
|
|
1675
|
+
this.logger.info(`AsyncOperationsClient endpoint set to ${this._endpoint}`);
|
|
1676
|
+
}
|
|
1677
|
+
get logger() {
|
|
1678
|
+
return common.LOG.logger;
|
|
1679
|
+
}
|
|
1680
|
+
/**
|
|
1681
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
1682
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
1683
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
1684
|
+
*/
|
|
1685
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
1686
|
+
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
1687
|
+
if (this.logger)
|
|
1688
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1689
|
+
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
1690
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AsyncOperationsClient.serviceEndpointTemplate, this._region, AsyncOperationsClient.endpointServiceName);
|
|
1691
|
+
}
|
|
1692
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
1693
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AsyncOperationsClient.serviceEndpointTemplate, this._regionId, AsyncOperationsClient.endpointServiceName);
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
/**
|
|
1697
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
1698
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
1699
|
+
* @param region The region of the service.
|
|
1700
|
+
*/
|
|
1701
|
+
set region(region) {
|
|
1702
|
+
this._region = region;
|
|
1703
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AsyncOperationsClient.serviceEndpointTemplate, region, AsyncOperationsClient.endpointServiceName);
|
|
1704
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
1705
|
+
}
|
|
1706
|
+
/**
|
|
1707
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
1708
|
+
*
|
|
1709
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
1710
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
1711
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
1712
|
+
* @param regionId The public region ID.
|
|
1713
|
+
*/
|
|
1714
|
+
set regionId(regionId) {
|
|
1715
|
+
this._regionId = regionId;
|
|
1716
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AsyncOperationsClient.serviceEndpointTemplate, regionId, AsyncOperationsClient.endpointServiceName);
|
|
1717
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
1718
|
+
}
|
|
1719
|
+
/**
|
|
1720
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
1721
|
+
*/
|
|
1722
|
+
shutdownCircuitBreaker() {
|
|
1723
|
+
if (this._circuitBreaker) {
|
|
1724
|
+
this._circuitBreaker.shutdown();
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
/**
|
|
1728
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
1729
|
+
*/
|
|
1730
|
+
closeProvider() {
|
|
1731
|
+
if (this._authProvider) {
|
|
1732
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
1733
|
+
this._authProvider.closeProvider();
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
/**
|
|
1737
|
+
* Close the client once it is no longer needed
|
|
1738
|
+
*/
|
|
1739
|
+
close() {
|
|
1740
|
+
this.shutdownCircuitBreaker();
|
|
1741
|
+
this.closeProvider();
|
|
1742
|
+
}
|
|
1743
|
+
/**
|
|
1744
|
+
* Get detailed information for a particular async operation
|
|
1745
|
+
*
|
|
1746
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1747
|
+
* @param GetAsyncOperationRequest
|
|
1748
|
+
* @return GetAsyncOperationResponse
|
|
1749
|
+
* @throws OciError when an error occurs
|
|
1750
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetAsyncOperation.ts.html |here} to see how to use GetAsyncOperation API.
|
|
1751
|
+
*/
|
|
1752
|
+
getAsyncOperation(getAsyncOperationRequest) {
|
|
1753
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1754
|
+
if (this.logger)
|
|
1755
|
+
this.logger.debug("Calling operation AsyncOperationsClient#getAsyncOperation.");
|
|
1756
|
+
const operationName = "getAsyncOperation";
|
|
1757
|
+
const apiReferenceLink = "";
|
|
1758
|
+
const pathParams = {
|
|
1759
|
+
"{aiDataPlatformId}": getAsyncOperationRequest.aiDataPlatformId,
|
|
1760
|
+
"{asyncOperationKey}": getAsyncOperationRequest.asyncOperationKey,
|
|
1761
|
+
};
|
|
1762
|
+
const queryParams = {};
|
|
1763
|
+
let headerParams = {
|
|
1764
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1765
|
+
'opc-request-id': getAsyncOperationRequest.opcRequestId,
|
|
1766
|
+
};
|
|
1767
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1768
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAsyncOperationRequest.retryConfiguration, specRetryConfiguration);
|
|
1769
|
+
if (this.logger)
|
|
1770
|
+
retrier.logger = this.logger;
|
|
1771
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
1772
|
+
baseEndpoint: this._endpoint,
|
|
1773
|
+
defaultHeaders: this._defaultHeaders,
|
|
1774
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/asyncOperations/{asyncOperationKey}',
|
|
1775
|
+
method: 'GET',
|
|
1776
|
+
pathParams: pathParams,
|
|
1777
|
+
headerParams: headerParams,
|
|
1778
|
+
queryParams: queryParams
|
|
1779
|
+
});
|
|
1780
|
+
try {
|
|
1781
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1782
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
1783
|
+
responseObject: {},
|
|
1784
|
+
body: yield response.json(),
|
|
1785
|
+
bodyKey: "asyncOperation",
|
|
1786
|
+
bodyModel: model.AsyncOperation,
|
|
1787
|
+
type: "model.AsyncOperation",
|
|
1788
|
+
responseHeaders: [
|
|
1789
|
+
{
|
|
1790
|
+
value: response.headers.get("opc-request-id"),
|
|
1791
|
+
key: "opcRequestId",
|
|
1792
|
+
dataType: "string"
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
value: response.headers.get("opc-next-page"),
|
|
1796
|
+
key: "opcNextPage",
|
|
1797
|
+
dataType: "string"
|
|
1798
|
+
},
|
|
1799
|
+
]
|
|
1800
|
+
});
|
|
1801
|
+
return sdkResponse;
|
|
1802
|
+
}
|
|
1803
|
+
catch (err) {
|
|
1804
|
+
throw err;
|
|
1805
|
+
}
|
|
1806
|
+
});
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
* List all async operations for a resource type.
|
|
1810
|
+
* Filters can be used to narrow the search down.
|
|
1811
|
+
*
|
|
1812
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1813
|
+
* @param ListAsyncOperationsRequest
|
|
1814
|
+
* @return ListAsyncOperationsResponse
|
|
1815
|
+
* @throws OciError when an error occurs
|
|
1816
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAsyncOperations.ts.html |here} to see how to use ListAsyncOperations API.
|
|
1817
|
+
*/
|
|
1818
|
+
listAsyncOperations(listAsyncOperationsRequest) {
|
|
1819
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1820
|
+
if (this.logger)
|
|
1821
|
+
this.logger.debug("Calling operation AsyncOperationsClient#listAsyncOperations.");
|
|
1822
|
+
const operationName = "listAsyncOperations";
|
|
1823
|
+
const apiReferenceLink = "";
|
|
1824
|
+
const pathParams = {
|
|
1825
|
+
"{aiDataPlatformId}": listAsyncOperationsRequest.aiDataPlatformId,
|
|
1826
|
+
};
|
|
1827
|
+
const queryParams = {
|
|
1828
|
+
'resourceType': listAsyncOperationsRequest.resourceType,
|
|
1829
|
+
'resourceName': listAsyncOperationsRequest.resourceName,
|
|
1830
|
+
'matchResourceName': listAsyncOperationsRequest.matchResourceName,
|
|
1831
|
+
'status': listAsyncOperationsRequest.status,
|
|
1832
|
+
'shouldFilterByCallingPrincipal': listAsyncOperationsRequest.shouldFilterByCallingPrincipal,
|
|
1833
|
+
'limit': listAsyncOperationsRequest.limit,
|
|
1834
|
+
'page': listAsyncOperationsRequest.page,
|
|
1835
|
+
'sortOrder': listAsyncOperationsRequest.sortOrder,
|
|
1836
|
+
'sortBy': listAsyncOperationsRequest.sortBy,
|
|
1837
|
+
};
|
|
1838
|
+
let headerParams = {
|
|
1839
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1840
|
+
'opc-request-id': listAsyncOperationsRequest.opcRequestId,
|
|
1841
|
+
};
|
|
1842
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1843
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAsyncOperationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1844
|
+
if (this.logger)
|
|
1845
|
+
retrier.logger = this.logger;
|
|
1846
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
1847
|
+
baseEndpoint: this._endpoint,
|
|
1848
|
+
defaultHeaders: this._defaultHeaders,
|
|
1849
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/asyncOperations',
|
|
1850
|
+
method: 'GET',
|
|
1851
|
+
pathParams: pathParams,
|
|
1852
|
+
headerParams: headerParams,
|
|
1853
|
+
queryParams: queryParams
|
|
1854
|
+
});
|
|
1855
|
+
try {
|
|
1856
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1857
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
1858
|
+
responseObject: {},
|
|
1859
|
+
body: yield response.json(),
|
|
1860
|
+
bodyKey: "asyncOperationCollection",
|
|
1861
|
+
bodyModel: model.AsyncOperationCollection,
|
|
1862
|
+
type: "model.AsyncOperationCollection",
|
|
1863
|
+
responseHeaders: [
|
|
1864
|
+
{
|
|
1865
|
+
value: response.headers.get("opc-request-id"),
|
|
1866
|
+
key: "opcRequestId",
|
|
1867
|
+
dataType: "string"
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
value: response.headers.get("opc-next-page"),
|
|
1871
|
+
key: "opcNextPage",
|
|
1872
|
+
dataType: "string"
|
|
1873
|
+
},
|
|
1874
|
+
]
|
|
1875
|
+
});
|
|
1876
|
+
return sdkResponse;
|
|
1877
|
+
}
|
|
1878
|
+
catch (err) {
|
|
1879
|
+
throw err;
|
|
1880
|
+
}
|
|
1881
|
+
});
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
exports.AsyncOperationsClient = AsyncOperationsClient;
|
|
1885
|
+
AsyncOperationsClient.serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
|
|
1886
|
+
AsyncOperationsClient.endpointServiceName = '';
|
|
1887
|
+
var AuditApiKeys;
|
|
1888
|
+
(function (AuditApiKeys) {
|
|
1889
|
+
})(AuditApiKeys || (exports.AuditApiKeys = AuditApiKeys = {}));
|
|
1890
|
+
/**
|
|
1891
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
1892
|
+
*/
|
|
1893
|
+
class AuditClient {
|
|
1894
|
+
constructor(params, clientConfiguration) {
|
|
1895
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
1896
|
+
this["_endpoint"] = '';
|
|
1897
|
+
this["_defaultHeaders"] = {};
|
|
1898
|
+
this._circuitBreaker = null;
|
|
1899
|
+
this._httpOptions = undefined;
|
|
1900
|
+
this._bodyDuplexMode = undefined;
|
|
1901
|
+
this.targetService = "Audit";
|
|
1902
|
+
this._regionId = '';
|
|
1903
|
+
this._lastSetRegionOrRegionId = "";
|
|
1904
|
+
const requestSigner = params.authenticationDetailsProvider
|
|
1905
|
+
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
1906
|
+
: null;
|
|
1907
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
1908
|
+
if (clientConfiguration) {
|
|
1909
|
+
this._clientConfiguration = clientConfiguration;
|
|
1910
|
+
this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker.circuit : null;
|
|
1911
|
+
this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
|
|
1912
|
+
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
|
|
1913
|
+
}
|
|
1914
|
+
if (!oci_common_1.developerToolConfiguration.isServiceEnabled("aidp")) {
|
|
1915
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
1916
|
+
throw errmsg.concat("aidp");
|
|
1917
|
+
}
|
|
1918
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1919
|
+
const specCircuitBreakerEnabled = true;
|
|
1920
|
+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
1921
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
1922
|
+
}
|
|
1923
|
+
this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
1924
|
+
if (params.authenticationDetailsProvider &&
|
|
1925
|
+
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
1926
|
+
const provider = params.authenticationDetailsProvider;
|
|
1927
|
+
if (provider.getRegion()) {
|
|
1928
|
+
this.region = provider.getRegion();
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
/**
|
|
1933
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
1934
|
+
*/
|
|
1935
|
+
get endpoint() {
|
|
1936
|
+
return this._endpoint;
|
|
1937
|
+
}
|
|
1938
|
+
/**
|
|
1939
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
1940
|
+
* @param endpoint The endpoint of the service.
|
|
1941
|
+
*/
|
|
1942
|
+
set endpoint(endpoint) {
|
|
1943
|
+
this._endpoint = endpoint;
|
|
1944
|
+
this._endpoint = this._endpoint + '/20260430';
|
|
1945
|
+
if (this.logger)
|
|
1946
|
+
this.logger.info(`AuditClient endpoint set to ${this._endpoint}`);
|
|
1947
|
+
}
|
|
1948
|
+
get logger() {
|
|
1949
|
+
return common.LOG.logger;
|
|
1950
|
+
}
|
|
1951
|
+
/**
|
|
1952
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
1953
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
1954
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
1955
|
+
*/
|
|
1956
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
1957
|
+
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
1958
|
+
if (this.logger)
|
|
1959
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1960
|
+
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
1961
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AuditClient.serviceEndpointTemplate, this._region, AuditClient.endpointServiceName);
|
|
1962
|
+
}
|
|
1963
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
1964
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AuditClient.serviceEndpointTemplate, this._regionId, AuditClient.endpointServiceName);
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
/**
|
|
1968
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
1969
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
1970
|
+
* @param region The region of the service.
|
|
1971
|
+
*/
|
|
1972
|
+
set region(region) {
|
|
1973
|
+
this._region = region;
|
|
1974
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AuditClient.serviceEndpointTemplate, region, AuditClient.endpointServiceName);
|
|
1975
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
1976
|
+
}
|
|
1977
|
+
/**
|
|
1978
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
1979
|
+
*
|
|
1980
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
1981
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
1982
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
1983
|
+
* @param regionId The public region ID.
|
|
1984
|
+
*/
|
|
1985
|
+
set regionId(regionId) {
|
|
1986
|
+
this._regionId = regionId;
|
|
1987
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AuditClient.serviceEndpointTemplate, regionId, AuditClient.endpointServiceName);
|
|
1988
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
1989
|
+
}
|
|
1990
|
+
/**
|
|
1991
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
1992
|
+
*/
|
|
1993
|
+
shutdownCircuitBreaker() {
|
|
1994
|
+
if (this._circuitBreaker) {
|
|
1995
|
+
this._circuitBreaker.shutdown();
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
/**
|
|
1999
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
2000
|
+
*/
|
|
2001
|
+
closeProvider() {
|
|
2002
|
+
if (this._authProvider) {
|
|
2003
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
2004
|
+
this._authProvider.closeProvider();
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
/**
|
|
2008
|
+
* Close the client once it is no longer needed
|
|
2009
|
+
*/
|
|
2010
|
+
close() {
|
|
2011
|
+
this.shutdownCircuitBreaker();
|
|
2012
|
+
this.closeProvider();
|
|
2013
|
+
}
|
|
2014
|
+
/**
|
|
2015
|
+
* Manages audit logs.
|
|
2016
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2017
|
+
* @param ManageAuditLogsRequest
|
|
2018
|
+
* @return ManageAuditLogsResponse
|
|
2019
|
+
* @throws OciError when an error occurs
|
|
2020
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ManageAuditLogs.ts.html |here} to see how to use ManageAuditLogs API.
|
|
2021
|
+
*/
|
|
2022
|
+
manageAuditLogs(manageAuditLogsRequest) {
|
|
2023
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2024
|
+
if (this.logger)
|
|
2025
|
+
this.logger.debug("Calling operation AuditClient#manageAuditLogs.");
|
|
2026
|
+
const operationName = "manageAuditLogs";
|
|
2027
|
+
const apiReferenceLink = "";
|
|
2028
|
+
const pathParams = {
|
|
2029
|
+
"{aiDataPlatformId}": manageAuditLogsRequest.aiDataPlatformId,
|
|
2030
|
+
};
|
|
2031
|
+
const queryParams = {};
|
|
2032
|
+
let headerParams = {
|
|
2033
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2034
|
+
'opc-retry-token': manageAuditLogsRequest.opcRetryToken, 'opc-request-id': manageAuditLogsRequest.opcRequestId,
|
|
2035
|
+
};
|
|
2036
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2037
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, manageAuditLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
2038
|
+
if (this.logger)
|
|
2039
|
+
retrier.logger = this.logger;
|
|
2040
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
2041
|
+
baseEndpoint: this._endpoint,
|
|
2042
|
+
defaultHeaders: this._defaultHeaders,
|
|
2043
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/actions/manageAuditLogs',
|
|
2044
|
+
method: 'POST',
|
|
2045
|
+
bodyContent: common.ObjectSerializer.serialize(manageAuditLogsRequest.manageAuditLogsDetails, "ManageAuditLogsDetails", model.ManageAuditLogsDetails.getJsonObj),
|
|
2046
|
+
pathParams: pathParams,
|
|
2047
|
+
headerParams: headerParams,
|
|
2048
|
+
queryParams: queryParams
|
|
2049
|
+
});
|
|
2050
|
+
try {
|
|
2051
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2052
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
2053
|
+
responseObject: {},
|
|
2054
|
+
responseHeaders: [
|
|
2055
|
+
{
|
|
2056
|
+
value: response.headers.get("opc-request-id"),
|
|
2057
|
+
key: "opcRequestId",
|
|
2058
|
+
dataType: "string"
|
|
2059
|
+
},
|
|
2060
|
+
]
|
|
2061
|
+
});
|
|
2062
|
+
return sdkResponse;
|
|
2063
|
+
}
|
|
2064
|
+
catch (err) {
|
|
2065
|
+
throw err;
|
|
2066
|
+
}
|
|
2067
|
+
});
|
|
2068
|
+
}
|
|
2069
|
+
/**
|
|
2070
|
+
* Searches audit logs.
|
|
2071
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2072
|
+
* @param SearchAuditLogsRequest
|
|
2073
|
+
* @return SearchAuditLogsResponse
|
|
2074
|
+
* @throws OciError when an error occurs
|
|
2075
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/SearchAuditLogs.ts.html |here} to see how to use SearchAuditLogs API.
|
|
2076
|
+
*/
|
|
2077
|
+
searchAuditLogs(searchAuditLogsRequest) {
|
|
2078
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2079
|
+
if (this.logger)
|
|
2080
|
+
this.logger.debug("Calling operation AuditClient#searchAuditLogs.");
|
|
2081
|
+
const operationName = "searchAuditLogs";
|
|
2082
|
+
const apiReferenceLink = "";
|
|
2083
|
+
const pathParams = {
|
|
2084
|
+
"{aiDataPlatformId}": searchAuditLogsRequest.aiDataPlatformId,
|
|
2085
|
+
};
|
|
2086
|
+
const queryParams = {
|
|
2087
|
+
'limit': searchAuditLogsRequest.limit,
|
|
2088
|
+
'page': searchAuditLogsRequest.page,
|
|
2089
|
+
};
|
|
2090
|
+
let headerParams = {
|
|
2091
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2092
|
+
'opc-retry-token': searchAuditLogsRequest.opcRetryToken, 'opc-request-id': searchAuditLogsRequest.opcRequestId,
|
|
2093
|
+
};
|
|
2094
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2095
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, searchAuditLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
2096
|
+
if (this.logger)
|
|
2097
|
+
retrier.logger = this.logger;
|
|
2098
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
2099
|
+
baseEndpoint: this._endpoint,
|
|
2100
|
+
defaultHeaders: this._defaultHeaders,
|
|
2101
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/actions/searchAuditLogs',
|
|
2102
|
+
method: 'POST',
|
|
2103
|
+
bodyContent: common.ObjectSerializer.serialize(searchAuditLogsRequest.searchAuditLogsDetails, "SearchAuditLogsDetails", model.SearchAuditLogsDetails.getJsonObj),
|
|
2104
|
+
pathParams: pathParams,
|
|
2105
|
+
headerParams: headerParams,
|
|
2106
|
+
queryParams: queryParams
|
|
2107
|
+
});
|
|
2108
|
+
try {
|
|
2109
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2110
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
2111
|
+
responseObject: {},
|
|
2112
|
+
body: yield response.json(),
|
|
2113
|
+
bodyKey: "auditLogSearchResultCollection",
|
|
2114
|
+
bodyModel: model.AuditLogSearchResultCollection,
|
|
2115
|
+
type: "model.AuditLogSearchResultCollection",
|
|
2116
|
+
responseHeaders: [
|
|
2117
|
+
{
|
|
2118
|
+
value: response.headers.get("opc-request-id"),
|
|
2119
|
+
key: "opcRequestId",
|
|
2120
|
+
dataType: "string"
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
value: response.headers.get("opc-next-page"),
|
|
2124
|
+
key: "opcNextPage",
|
|
2125
|
+
dataType: "string"
|
|
2126
|
+
},
|
|
2127
|
+
]
|
|
2128
|
+
});
|
|
2129
|
+
return sdkResponse;
|
|
2130
|
+
}
|
|
2131
|
+
catch (err) {
|
|
2132
|
+
throw err;
|
|
2133
|
+
}
|
|
2134
|
+
});
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
exports.AuditClient = AuditClient;
|
|
2138
|
+
AuditClient.serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
|
|
2139
|
+
AuditClient.endpointServiceName = '';
|
|
2140
|
+
var BundleApiKeys;
|
|
2141
|
+
(function (BundleApiKeys) {
|
|
2142
|
+
})(BundleApiKeys || (exports.BundleApiKeys = BundleApiKeys = {}));
|
|
2143
|
+
/**
|
|
2144
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
2145
|
+
*/
|
|
2146
|
+
class BundleClient {
|
|
2147
|
+
constructor(params, clientConfiguration) {
|
|
2148
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
2149
|
+
this["_endpoint"] = '';
|
|
2150
|
+
this["_defaultHeaders"] = {};
|
|
2151
|
+
this._circuitBreaker = null;
|
|
2152
|
+
this._httpOptions = undefined;
|
|
2153
|
+
this._bodyDuplexMode = undefined;
|
|
2154
|
+
this.targetService = "Bundle";
|
|
2155
|
+
this._regionId = '';
|
|
2156
|
+
this._lastSetRegionOrRegionId = "";
|
|
2157
|
+
const requestSigner = params.authenticationDetailsProvider
|
|
2158
|
+
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2159
|
+
: null;
|
|
2160
|
+
this._authProvider = params.authenticationDetailsProvider;
|
|
2161
|
+
if (clientConfiguration) {
|
|
2162
|
+
this._clientConfiguration = clientConfiguration;
|
|
2163
|
+
this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker.circuit : null;
|
|
2164
|
+
this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
|
|
2165
|
+
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
|
|
2166
|
+
}
|
|
2167
|
+
if (!oci_common_1.developerToolConfiguration.isServiceEnabled("aidp")) {
|
|
2168
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
2169
|
+
throw errmsg.concat("aidp");
|
|
2170
|
+
}
|
|
2171
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2172
|
+
const specCircuitBreakerEnabled = true;
|
|
2173
|
+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
2174
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
2175
|
+
}
|
|
2176
|
+
this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
2177
|
+
if (params.authenticationDetailsProvider &&
|
|
2178
|
+
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
2179
|
+
const provider = params.authenticationDetailsProvider;
|
|
2180
|
+
if (provider.getRegion()) {
|
|
2181
|
+
this.region = provider.getRegion();
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
/**
|
|
2186
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
2187
|
+
*/
|
|
2188
|
+
get endpoint() {
|
|
2189
|
+
return this._endpoint;
|
|
2190
|
+
}
|
|
2191
|
+
/**
|
|
2192
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
2193
|
+
* @param endpoint The endpoint of the service.
|
|
2194
|
+
*/
|
|
2195
|
+
set endpoint(endpoint) {
|
|
2196
|
+
this._endpoint = endpoint;
|
|
2197
|
+
this._endpoint = this._endpoint + '/20260430';
|
|
2198
|
+
if (this.logger)
|
|
2199
|
+
this.logger.info(`BundleClient endpoint set to ${this._endpoint}`);
|
|
2200
|
+
}
|
|
2201
|
+
get logger() {
|
|
2202
|
+
return common.LOG.logger;
|
|
2203
|
+
}
|
|
2204
|
+
/**
|
|
2205
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
2206
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
2207
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
2208
|
+
*/
|
|
2209
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
2210
|
+
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
2211
|
+
if (this.logger)
|
|
2212
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
2213
|
+
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
2214
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(BundleClient.serviceEndpointTemplate, this._region, BundleClient.endpointServiceName);
|
|
2215
|
+
}
|
|
2216
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
2217
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(BundleClient.serviceEndpointTemplate, this._regionId, BundleClient.endpointServiceName);
|
|
2218
|
+
}
|
|
2219
|
+
}
|
|
2220
|
+
/**
|
|
2221
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
2222
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
2223
|
+
* @param region The region of the service.
|
|
2224
|
+
*/
|
|
2225
|
+
set region(region) {
|
|
2226
|
+
this._region = region;
|
|
2227
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(BundleClient.serviceEndpointTemplate, region, BundleClient.endpointServiceName);
|
|
2228
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
2229
|
+
}
|
|
2230
|
+
/**
|
|
2231
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
2232
|
+
*
|
|
2233
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
2234
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
2235
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
2236
|
+
* @param regionId The public region ID.
|
|
2237
|
+
*/
|
|
2238
|
+
set regionId(regionId) {
|
|
2239
|
+
this._regionId = regionId;
|
|
2240
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(BundleClient.serviceEndpointTemplate, regionId, BundleClient.endpointServiceName);
|
|
2241
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
2242
|
+
}
|
|
2243
|
+
/**
|
|
2244
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
2245
|
+
*/
|
|
2246
|
+
shutdownCircuitBreaker() {
|
|
2247
|
+
if (this._circuitBreaker) {
|
|
2248
|
+
this._circuitBreaker.shutdown();
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
/**
|
|
2252
|
+
* Close the provider if possible which in turn shuts down any associated circuit breaker
|
|
2253
|
+
*/
|
|
2254
|
+
closeProvider() {
|
|
2255
|
+
if (this._authProvider) {
|
|
2256
|
+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
|
|
2257
|
+
this._authProvider.closeProvider();
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
/**
|
|
2261
|
+
* Close the client once it is no longer needed
|
|
2262
|
+
*/
|
|
2263
|
+
close() {
|
|
2264
|
+
this.shutdownCircuitBreaker();
|
|
2265
|
+
this.closeProvider();
|
|
2266
|
+
}
|
|
2267
|
+
/**
|
|
2268
|
+
* (Deprecated) Creates a new bundle.
|
|
2269
|
+
* <p>
|
|
2270
|
+
A bundle is a self-contained, portable representation of selected workspace assets, such as jobs
|
|
2271
|
+
* and agent flows, along with their dependencies and associated code artifacts. It captures both
|
|
2272
|
+
* the resource configurations and the supporting assets required to recreate those resources in
|
|
2273
|
+
* another workspace or environment.
|
|
2274
|
+
* <p>
|
|
2275
|
+
The bundle manifest is named `aidp_workbench.yaml`. The bundle preserves the workspace folder
|
|
2276
|
+
* structure for code artifacts from the location where it was created, so the generated bundle
|
|
2277
|
+
* mirrors the source layout.
|
|
2278
|
+
* <p>
|
|
2279
|
+
Dependencies are tracked inside the bundle under each asset type:
|
|
2280
|
+
* - job and agent flow dependencies are added under the `dependencies` folder inside the
|
|
2281
|
+
* `jobs` and `agentflows` folders
|
|
2282
|
+
* - code dependencies are added under the `artifacts` directory in the bundle
|
|
2283
|
+
* <p>
|
|
2284
|
+
Dependency references use template variables, for example:
|
|
2285
|
+
* - compute: `$${jobs.dependencies.training_compute.compute.key}`
|
|
2286
|
+
* - nested jobs: `$${jobs.dependencies.training_job.job.key}`
|
|
2287
|
+
* - aicompute: `$${jobs.dependencies.training_aicompute.aicompute.key}`
|
|
2288
|
+
* <p>
|
|
2289
|
+
Bundles also support the special variable `$${bundle.root}`, which points to the root of the
|
|
2290
|
+
* bundle folder and is used for referencing artifacts.
|
|
2291
|
+
* <p>
|
|
2292
|
+
Variables and overrides:
|
|
2293
|
+
* - bundles support parameterization using variables defined in the bundle manifest
|
|
2294
|
+
* (`aidp_workbench.yaml`)
|
|
2295
|
+
* <p>
|
|
2296
|
+
Example manifest defaults:
|
|
2297
|
+
* defaults:
|
|
2298
|
+
* variables:
|
|
2299
|
+
* job_compute_key: \"$${jobs.dependencies.small.compute.key}\"
|
|
2300
|
+
* <p>
|
|
2301
|
+
- variables can be referenced in resource descriptors using the `$${var.<name>}` syntax
|
|
2302
|
+
* <p>
|
|
2303
|
+
Example usage in a job descriptor:
|
|
2304
|
+
* \"clusterKey\": \"$${var.job_compute_key}\"
|
|
2305
|
+
* <p>
|
|
2306
|
+
- workspace-specific overrides can be provided via `.aidp/overrides.yaml` inside the bundle
|
|
2307
|
+
* - this file is intended for environment-specific configuration and should not be committed to Git,
|
|
2308
|
+
* allowing the bundle to remain portable and environment-agnostic
|
|
2309
|
+
* <p>
|
|
2310
|
+
Example overrides file:
|
|
2311
|
+
* variables:
|
|
2312
|
+
* job_compute_key: f6e7f5d8-d965-4009-95d9-02e993d9a16b
|
|
2313
|
+
* <p>
|
|
2314
|
+
- when an override is provided, the referenced dependency (for example, compute) is not created,
|
|
2315
|
+
* and the provided value is used instead
|
|
2316
|
+
* - when no override is provided, the system falls back to the default variable value, which may
|
|
2317
|
+
* reference a dependency included in the bundle (resulting in that dependency being created)
|
|
2318
|
+
* - this mechanism enables environment-specific customization (for example, reusing existing
|
|
2319
|
+
* infrastructure in production while creating new resources in development)
|
|
2320
|
+
* - the same pattern can be used for other environment-specific parameters such as compute shape,
|
|
2321
|
+
* number of OCPUs, or other configuration values
|
|
2322
|
+
* <p>
|
|
2323
|
+
Git integration and promotion:
|
|
2324
|
+
* - bundles can only be created inside Git-backed workspace folders
|
|
2325
|
+
* - bundles are self-contained packages that include resource definitions, dependency references,
|
|
2326
|
+
* and associated code artifacts required to recreate the bundled resources
|
|
2327
|
+
* - the entire bundle folder can be committed and pushed to a Git repository
|
|
2328
|
+
* - bundles can be pulled into another workspace via Git and deployed there
|
|
2329
|
+
* - bundles can be promoted across environments (for example, dev \u2192 test \u2192 prod) using Git workflows
|
|
2330
|
+
* - because the bundle includes both resource configuration and code dependencies, it can be used
|
|
2331
|
+
* to reliably replicate assets across workspaces
|
|
2332
|
+
* <p>
|
|
2333
|
+
This operation is asynchronous. The service validates the request, starts bundle
|
|
2334
|
+
* creation, and returns an async operation key in the response headers. Use the async
|
|
2335
|
+
* operation APIs to track completion.
|
|
2336
|
+
* <p>
|
|
2337
|
+
Typical use cases:
|
|
2338
|
+
* - capture selected workspace resources into a version-controlled bundle
|
|
2339
|
+
* - prepare a bundle for later deployment or promotion
|
|
2340
|
+
* - establish a bundle root that can later be inspected, updated, or deployed
|
|
2341
|
+
* <p>
|
|
2342
|
+
Request notes:
|
|
2343
|
+
* - `path` identifies the parent folder in the workspace volume where the bundle should be created
|
|
2344
|
+
* - `name` identifies the bundle folder name
|
|
2345
|
+
* - `bundledResources` identifies which workspace resources should be included
|
|
2346
|
+
*
|
|
2347
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2348
|
+
* @param CreateBundleRequest
|
|
2349
|
+
* @return CreateBundleResponse
|
|
2350
|
+
* @throws OciError when an error occurs
|
|
2351
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateBundle.ts.html |here} to see how to use CreateBundle API.
|
|
2352
|
+
*/
|
|
2353
|
+
createBundle(createBundleRequest) {
|
|
2354
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2355
|
+
if (this.logger)
|
|
2356
|
+
this.logger.debug("Calling operation BundleClient#createBundle.");
|
|
2357
|
+
const operationName = "createBundle";
|
|
2358
|
+
const apiReferenceLink = "";
|
|
2359
|
+
const pathParams = {
|
|
2360
|
+
"{aiDataPlatformId}": createBundleRequest.aiDataPlatformId,
|
|
2361
|
+
"{workspaceKey}": createBundleRequest.workspaceKey,
|
|
2362
|
+
};
|
|
2363
|
+
const queryParams = {};
|
|
2364
|
+
let headerParams = {
|
|
2365
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2366
|
+
'opc-retry-token': createBundleRequest.opcRetryToken, 'opc-request-id': createBundleRequest.opcRequestId,
|
|
2367
|
+
};
|
|
2368
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2369
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
2370
|
+
if (this.logger)
|
|
2371
|
+
retrier.logger = this.logger;
|
|
2372
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
2373
|
+
baseEndpoint: this._endpoint,
|
|
2374
|
+
defaultHeaders: this._defaultHeaders,
|
|
2375
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles',
|
|
2376
|
+
method: 'POST',
|
|
2377
|
+
bodyContent: common.ObjectSerializer.serialize(createBundleRequest.createBundleDetails, "CreateBundleDetails", model.CreateBundleDetails.getJsonObj),
|
|
2378
|
+
pathParams: pathParams,
|
|
2379
|
+
headerParams: headerParams,
|
|
2380
|
+
queryParams: queryParams
|
|
2381
|
+
});
|
|
2382
|
+
try {
|
|
2383
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2384
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
2385
|
+
responseObject: {},
|
|
2386
|
+
responseHeaders: [
|
|
2387
|
+
{
|
|
2388
|
+
value: response.headers.get("opc-request-id"),
|
|
2389
|
+
key: "opcRequestId",
|
|
2390
|
+
dataType: "string"
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
2394
|
+
key: "aidpAsyncOperationKey",
|
|
2395
|
+
dataType: "string"
|
|
2396
|
+
},
|
|
2397
|
+
]
|
|
2398
|
+
});
|
|
2399
|
+
return sdkResponse;
|
|
2400
|
+
}
|
|
2401
|
+
catch (err) {
|
|
2402
|
+
throw err;
|
|
2403
|
+
}
|
|
2404
|
+
});
|
|
2405
|
+
}
|
|
2406
|
+
/**
|
|
2407
|
+
* (Preview) Creates a new bundle.
|
|
2408
|
+
* <p>
|
|
2409
|
+
A bundle is a self-contained, portable representation of selected workspace assets, such as jobs
|
|
2410
|
+
* and agent flows, along with their dependencies and associated code artifacts. It captures both
|
|
2411
|
+
* the resource configurations and the supporting assets required to recreate those resources in
|
|
2412
|
+
* another workspace or environment.
|
|
2413
|
+
* <p>
|
|
2414
|
+
The bundle manifest is named `aidp_workbench.yaml`. The bundle preserves the workspace folder
|
|
2415
|
+
* structure for code artifacts from the location where it was created, so the generated bundle
|
|
2416
|
+
* mirrors the source layout.
|
|
2417
|
+
* <p>
|
|
2418
|
+
Dependencies are tracked inside the bundle under each asset type:
|
|
2419
|
+
* - job and agent flow dependencies are added under the `dependencies` folder inside the
|
|
2420
|
+
* `jobs` and `agentflows` folders
|
|
2421
|
+
* - code dependencies are added under the `artifacts` directory in the bundle
|
|
2422
|
+
* <p>
|
|
2423
|
+
Dependency references use template variables, for example:
|
|
2424
|
+
* - compute: `$${jobs.dependencies.training_compute.compute.key}`
|
|
2425
|
+
* - nested jobs: `$${jobs.dependencies.training_job.job.key}`
|
|
2426
|
+
* - aicompute: `$${jobs.dependencies.training_aicompute.aicompute.key}`
|
|
2427
|
+
* <p>
|
|
2428
|
+
Bundles also support the special variable `$${bundle.root}`, which points to the root of the
|
|
2429
|
+
* bundle folder and is used for referencing artifacts.
|
|
2430
|
+
* <p>
|
|
2431
|
+
Variables and overrides:
|
|
2432
|
+
* - bundles support parameterization using variables defined in the bundle manifest
|
|
2433
|
+
* (`aidp_workbench.yaml`)
|
|
2434
|
+
* <p>
|
|
2435
|
+
Example manifest defaults:
|
|
2436
|
+
* defaults:
|
|
2437
|
+
* variables:
|
|
2438
|
+
* job_compute_key: \"$${jobs.dependencies.small.compute.key}\"
|
|
2439
|
+
* <p>
|
|
2440
|
+
- variables can be referenced in resource descriptors using the `$${var.<name>}` syntax
|
|
2441
|
+
* <p>
|
|
2442
|
+
Example usage in a job descriptor:
|
|
2443
|
+
* \"clusterKey\": \"$${var.job_compute_key}\"
|
|
2444
|
+
* <p>
|
|
2445
|
+
- workspace-specific overrides can be provided via `.aidp/overrides.yaml` inside the bundle
|
|
2446
|
+
* - this file is intended for environment-specific configuration and should not be committed to Git,
|
|
2447
|
+
* allowing the bundle to remain portable and environment-agnostic
|
|
2448
|
+
* <p>
|
|
2449
|
+
Example overrides file:
|
|
2450
|
+
* variables:
|
|
2451
|
+
* job_compute_key: f6e7f5d8-d965-4009-95d9-02e993d9a16b
|
|
2452
|
+
* <p>
|
|
2453
|
+
- when an override is provided, the referenced dependency (for example, compute) is not created,
|
|
2454
|
+
* and the provided value is used instead
|
|
2455
|
+
* - when no override is provided, the system falls back to the default variable value, which may
|
|
2456
|
+
* reference a dependency included in the bundle (resulting in that dependency being created)
|
|
2457
|
+
* - this mechanism enables environment-specific customization (for example, reusing existing
|
|
2458
|
+
* infrastructure in production while creating new resources in development)
|
|
2459
|
+
* - the same pattern can be used for other environment-specific parameters such as compute shape,
|
|
2460
|
+
* number of OCPUs, or other configuration values
|
|
2461
|
+
* <p>
|
|
2462
|
+
Git integration and promotion:
|
|
2463
|
+
* - bundles can only be created inside Git-backed workspace folders
|
|
2464
|
+
* - bundles are self-contained packages that include resource definitions, dependency references,
|
|
2465
|
+
* and associated code artifacts required to recreate the bundled resources
|
|
2466
|
+
* - the entire bundle folder can be committed and pushed to a Git repository
|
|
2467
|
+
* - bundles can be pulled into another workspace via Git and deployed there
|
|
2468
|
+
* - bundles can be promoted across environments (for example, dev \u2192 test \u2192 prod) using Git workflows
|
|
2469
|
+
* - because the bundle includes both resource configuration and code dependencies, it can be used
|
|
2470
|
+
* to reliably replicate assets across workspaces
|
|
2471
|
+
* <p>
|
|
2472
|
+
This operation is asynchronous. The service validates the request, starts bundle
|
|
2473
|
+
* creation, and returns an async operation key in the response headers. Use the async
|
|
2474
|
+
* operation APIs to track completion.
|
|
2475
|
+
* <p>
|
|
2476
|
+
Typical use cases:
|
|
2477
|
+
* - capture selected workspace resources into a version-controlled bundle
|
|
2478
|
+
* - prepare a bundle for later deployment or promotion
|
|
2479
|
+
* - establish a bundle root that can later be inspected, updated, or deployed
|
|
2480
|
+
* <p>
|
|
2481
|
+
Request notes:
|
|
2482
|
+
* - `path` identifies the parent folder in the workspace volume where the bundle should be created
|
|
2483
|
+
* - `name` identifies the bundle folder name
|
|
2484
|
+
* - `bundledResources` identifies which workspace resources should be included
|
|
2485
|
+
*
|
|
2486
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2487
|
+
* @param CreateBundleActionRequest
|
|
2488
|
+
* @return CreateBundleActionResponse
|
|
2489
|
+
* @throws OciError when an error occurs
|
|
2490
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateBundleAction.ts.html |here} to see how to use CreateBundleAction API.
|
|
2491
|
+
*/
|
|
2492
|
+
createBundleAction(createBundleActionRequest) {
|
|
2493
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2494
|
+
if (this.logger)
|
|
2495
|
+
this.logger.debug("Calling operation BundleClient#createBundleAction.");
|
|
2496
|
+
const operationName = "createBundleAction";
|
|
2497
|
+
const apiReferenceLink = "";
|
|
2498
|
+
const pathParams = {
|
|
2499
|
+
"{aiDataPlatformId}": createBundleActionRequest.aiDataPlatformId,
|
|
2500
|
+
"{workspaceKey}": createBundleActionRequest.workspaceKey,
|
|
2501
|
+
};
|
|
2502
|
+
const queryParams = {};
|
|
2503
|
+
let headerParams = {
|
|
2504
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2505
|
+
'opc-retry-token': createBundleActionRequest.opcRetryToken, 'opc-request-id': createBundleActionRequest.opcRequestId,
|
|
2506
|
+
};
|
|
2507
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2508
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBundleActionRequest.retryConfiguration, specRetryConfiguration);
|
|
2509
|
+
if (this.logger)
|
|
2510
|
+
retrier.logger = this.logger;
|
|
2511
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
2512
|
+
baseEndpoint: this._endpoint,
|
|
2513
|
+
defaultHeaders: this._defaultHeaders,
|
|
2514
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/createBundle',
|
|
2515
|
+
method: 'POST',
|
|
2516
|
+
bodyContent: common.ObjectSerializer.serialize(createBundleActionRequest.createBundleDetails, "CreateBundleDetails", model.CreateBundleDetails.getJsonObj),
|
|
2517
|
+
pathParams: pathParams,
|
|
2518
|
+
headerParams: headerParams,
|
|
2519
|
+
queryParams: queryParams
|
|
2520
|
+
});
|
|
2521
|
+
try {
|
|
2522
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2523
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
2524
|
+
responseObject: {},
|
|
2525
|
+
responseHeaders: [
|
|
2526
|
+
{
|
|
2527
|
+
value: response.headers.get("opc-request-id"),
|
|
2528
|
+
key: "opcRequestId",
|
|
2529
|
+
dataType: "string"
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
2533
|
+
key: "aidpAsyncOperationKey",
|
|
2534
|
+
dataType: "string"
|
|
2535
|
+
},
|
|
2536
|
+
]
|
|
2537
|
+
});
|
|
2538
|
+
return sdkResponse;
|
|
2539
|
+
}
|
|
2540
|
+
catch (err) {
|
|
2541
|
+
throw err;
|
|
2542
|
+
}
|
|
2543
|
+
});
|
|
2544
|
+
}
|
|
2545
|
+
/**
|
|
2546
|
+
* (Deprecated) Deploys the specified bundle, creating or updating jobs and agent flows according to the bundle manifest.
|
|
2547
|
+
* Returns an async job key for tracking deployment progress.
|
|
726
2548
|
* <p>
|
|
727
|
-
|
|
728
|
-
*
|
|
2549
|
+
This operation is asynchronous. The request is accepted for background execution and
|
|
2550
|
+
* returns an async operation key in the response headers.
|
|
729
2551
|
* <p>
|
|
730
|
-
|
|
731
|
-
*
|
|
732
|
-
*
|
|
2552
|
+
Deployment typically uses:
|
|
2553
|
+
* - the bundle manifest at the bundle root
|
|
2554
|
+
* - top-level resource descriptors in the bundle
|
|
2555
|
+
* - dependency descriptors referenced by those top-level resources
|
|
2556
|
+
* - default or override variable values when present
|
|
733
2557
|
* <p>
|
|
734
|
-
|
|
735
|
-
*
|
|
736
|
-
* variables:
|
|
737
|
-
* job_compute_key: \"$${jobs.dependencies.small.compute.key}\"
|
|
2558
|
+
Use this operation when you want to apply the bundle contents into the target
|
|
2559
|
+
* workspace state.
|
|
738
2560
|
* <p>
|
|
739
|
-
|
|
2561
|
+
Request notes:
|
|
2562
|
+
* - `path` identifies the bundle root folder in the workspace volume
|
|
2563
|
+
*
|
|
2564
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2565
|
+
* @param DeployBundleRequest
|
|
2566
|
+
* @return DeployBundleResponse
|
|
2567
|
+
* @throws OciError when an error occurs
|
|
2568
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeployBundle.ts.html |here} to see how to use DeployBundle API.
|
|
2569
|
+
*/
|
|
2570
|
+
deployBundle(deployBundleRequest) {
|
|
2571
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2572
|
+
if (this.logger)
|
|
2573
|
+
this.logger.debug("Calling operation BundleClient#deployBundle.");
|
|
2574
|
+
const operationName = "deployBundle";
|
|
2575
|
+
const apiReferenceLink = "";
|
|
2576
|
+
const pathParams = {
|
|
2577
|
+
"{aiDataPlatformId}": deployBundleRequest.aiDataPlatformId,
|
|
2578
|
+
"{workspaceKey}": deployBundleRequest.workspaceKey,
|
|
2579
|
+
};
|
|
2580
|
+
const queryParams = {};
|
|
2581
|
+
let headerParams = {
|
|
2582
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2583
|
+
'opc-retry-token': deployBundleRequest.opcRetryToken, 'opc-request-id': deployBundleRequest.opcRequestId,
|
|
2584
|
+
};
|
|
2585
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2586
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deployBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
2587
|
+
if (this.logger)
|
|
2588
|
+
retrier.logger = this.logger;
|
|
2589
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
2590
|
+
baseEndpoint: this._endpoint,
|
|
2591
|
+
defaultHeaders: this._defaultHeaders,
|
|
2592
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/deploy',
|
|
2593
|
+
method: 'POST',
|
|
2594
|
+
bodyContent: common.ObjectSerializer.serialize(deployBundleRequest.deployBundleDetails, "DeployBundleDetails", model.DeployBundleDetails.getJsonObj),
|
|
2595
|
+
pathParams: pathParams,
|
|
2596
|
+
headerParams: headerParams,
|
|
2597
|
+
queryParams: queryParams
|
|
2598
|
+
});
|
|
2599
|
+
try {
|
|
2600
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2601
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
2602
|
+
responseObject: {},
|
|
2603
|
+
responseHeaders: [
|
|
2604
|
+
{
|
|
2605
|
+
value: response.headers.get("opc-request-id"),
|
|
2606
|
+
key: "opcRequestId",
|
|
2607
|
+
dataType: "string"
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
2611
|
+
key: "aidpAsyncOperationKey",
|
|
2612
|
+
dataType: "string"
|
|
2613
|
+
},
|
|
2614
|
+
]
|
|
2615
|
+
});
|
|
2616
|
+
return sdkResponse;
|
|
2617
|
+
}
|
|
2618
|
+
catch (err) {
|
|
2619
|
+
throw err;
|
|
2620
|
+
}
|
|
2621
|
+
});
|
|
2622
|
+
}
|
|
2623
|
+
/**
|
|
2624
|
+
* (Preview) Deploys the specified bundle, creating or updating jobs and agent flows according to the bundle manifest.
|
|
2625
|
+
* Returns an async job key for tracking deployment progress.
|
|
740
2626
|
* <p>
|
|
741
|
-
|
|
742
|
-
*
|
|
2627
|
+
This operation is asynchronous. The request is accepted for background execution and
|
|
2628
|
+
* returns an async operation key in the response headers.
|
|
743
2629
|
* <p>
|
|
744
|
-
|
|
745
|
-
*
|
|
746
|
-
*
|
|
2630
|
+
Deployment typically uses:
|
|
2631
|
+
* - the bundle manifest at the bundle root
|
|
2632
|
+
* - top-level resource descriptors in the bundle
|
|
2633
|
+
* - dependency descriptors referenced by those top-level resources
|
|
2634
|
+
* - default or override variable values when present
|
|
747
2635
|
* <p>
|
|
748
|
-
|
|
749
|
-
*
|
|
750
|
-
* job_compute_key: f6e7f5d8-d965-4009-95d9-02e993d9a16b
|
|
2636
|
+
Use this operation when you want to apply the bundle contents into the target
|
|
2637
|
+
* workspace state.
|
|
751
2638
|
* <p>
|
|
752
|
-
|
|
753
|
-
*
|
|
754
|
-
*
|
|
755
|
-
*
|
|
756
|
-
*
|
|
757
|
-
*
|
|
758
|
-
*
|
|
759
|
-
*
|
|
2639
|
+
Request notes:
|
|
2640
|
+
* - `path` identifies the bundle root folder in the workspace volume
|
|
2641
|
+
*
|
|
2642
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2643
|
+
* @param DeployBundleActionRequest
|
|
2644
|
+
* @return DeployBundleActionResponse
|
|
2645
|
+
* @throws OciError when an error occurs
|
|
2646
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeployBundleAction.ts.html |here} to see how to use DeployBundleAction API.
|
|
2647
|
+
*/
|
|
2648
|
+
deployBundleAction(deployBundleActionRequest) {
|
|
2649
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2650
|
+
if (this.logger)
|
|
2651
|
+
this.logger.debug("Calling operation BundleClient#deployBundleAction.");
|
|
2652
|
+
const operationName = "deployBundleAction";
|
|
2653
|
+
const apiReferenceLink = "";
|
|
2654
|
+
const pathParams = {
|
|
2655
|
+
"{aiDataPlatformId}": deployBundleActionRequest.aiDataPlatformId,
|
|
2656
|
+
"{workspaceKey}": deployBundleActionRequest.workspaceKey,
|
|
2657
|
+
};
|
|
2658
|
+
const queryParams = {};
|
|
2659
|
+
let headerParams = {
|
|
2660
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2661
|
+
'opc-retry-token': deployBundleActionRequest.opcRetryToken, 'opc-request-id': deployBundleActionRequest.opcRequestId,
|
|
2662
|
+
};
|
|
2663
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2664
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deployBundleActionRequest.retryConfiguration, specRetryConfiguration);
|
|
2665
|
+
if (this.logger)
|
|
2666
|
+
retrier.logger = this.logger;
|
|
2667
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
2668
|
+
baseEndpoint: this._endpoint,
|
|
2669
|
+
defaultHeaders: this._defaultHeaders,
|
|
2670
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/deployBundle',
|
|
2671
|
+
method: 'POST',
|
|
2672
|
+
bodyContent: common.ObjectSerializer.serialize(deployBundleActionRequest.deployBundleDetails, "DeployBundleDetails", model.DeployBundleDetails.getJsonObj),
|
|
2673
|
+
pathParams: pathParams,
|
|
2674
|
+
headerParams: headerParams,
|
|
2675
|
+
queryParams: queryParams
|
|
2676
|
+
});
|
|
2677
|
+
try {
|
|
2678
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2679
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
2680
|
+
responseObject: {},
|
|
2681
|
+
responseHeaders: [
|
|
2682
|
+
{
|
|
2683
|
+
value: response.headers.get("opc-request-id"),
|
|
2684
|
+
key: "opcRequestId",
|
|
2685
|
+
dataType: "string"
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
2689
|
+
key: "aidpAsyncOperationKey",
|
|
2690
|
+
dataType: "string"
|
|
2691
|
+
},
|
|
2692
|
+
]
|
|
2693
|
+
});
|
|
2694
|
+
return sdkResponse;
|
|
2695
|
+
}
|
|
2696
|
+
catch (err) {
|
|
2697
|
+
throw err;
|
|
2698
|
+
}
|
|
2699
|
+
});
|
|
2700
|
+
}
|
|
2701
|
+
/**
|
|
2702
|
+
* (Deprecated) Returns a high-level summary of the most recent deployment activity recorded for the
|
|
2703
|
+
* specified bundle.
|
|
2704
|
+
* <p>
|
|
2705
|
+
This operation is useful after deploy or purge requests when you want the latest
|
|
2706
|
+
* bundle-level deployment outcome rather than raw async operation details.
|
|
2707
|
+
* <p>
|
|
2708
|
+
The response can include:
|
|
2709
|
+
* - overall deployment status
|
|
2710
|
+
* - start and completion timestamps
|
|
2711
|
+
* - summary message
|
|
2712
|
+
* - resources associated with the last recorded deployment result
|
|
2713
|
+
* <p>
|
|
2714
|
+
Typical status values include:
|
|
2715
|
+
* - `IN_PROGRESS`
|
|
2716
|
+
* - `SUCCEEDED`
|
|
2717
|
+
* - `FAILED`
|
|
2718
|
+
* - `NOT_DEPLOYED`
|
|
2719
|
+
* <p>
|
|
2720
|
+
Request notes:
|
|
2721
|
+
* - `path` identifies the bundle root folder in the workspace volume
|
|
2722
|
+
*
|
|
2723
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2724
|
+
* @param FetchBundleDeploymentStatusRequest
|
|
2725
|
+
* @return FetchBundleDeploymentStatusResponse
|
|
2726
|
+
* @throws OciError when an error occurs
|
|
2727
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/FetchBundleDeploymentStatus.ts.html |here} to see how to use FetchBundleDeploymentStatus API.
|
|
2728
|
+
*/
|
|
2729
|
+
fetchBundleDeploymentStatus(fetchBundleDeploymentStatusRequest) {
|
|
2730
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2731
|
+
if (this.logger)
|
|
2732
|
+
this.logger.debug("Calling operation BundleClient#fetchBundleDeploymentStatus.");
|
|
2733
|
+
const operationName = "fetchBundleDeploymentStatus";
|
|
2734
|
+
const apiReferenceLink = "";
|
|
2735
|
+
const pathParams = {
|
|
2736
|
+
"{aiDataPlatformId}": fetchBundleDeploymentStatusRequest.aiDataPlatformId,
|
|
2737
|
+
"{workspaceKey}": fetchBundleDeploymentStatusRequest.workspaceKey,
|
|
2738
|
+
};
|
|
2739
|
+
const queryParams = {};
|
|
2740
|
+
let headerParams = {
|
|
2741
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2742
|
+
'opc-request-id': fetchBundleDeploymentStatusRequest.opcRequestId,
|
|
2743
|
+
};
|
|
2744
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2745
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, fetchBundleDeploymentStatusRequest.retryConfiguration, specRetryConfiguration);
|
|
2746
|
+
if (this.logger)
|
|
2747
|
+
retrier.logger = this.logger;
|
|
2748
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
2749
|
+
baseEndpoint: this._endpoint,
|
|
2750
|
+
defaultHeaders: this._defaultHeaders,
|
|
2751
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/getDeploymentStatus',
|
|
2752
|
+
method: 'POST',
|
|
2753
|
+
bodyContent: common.ObjectSerializer.serialize(fetchBundleDeploymentStatusRequest.fetchBundleDeploymentStatusDetails, "FetchBundleDeploymentStatusDetails", model.FetchBundleDeploymentStatusDetails.getJsonObj),
|
|
2754
|
+
pathParams: pathParams,
|
|
2755
|
+
headerParams: headerParams,
|
|
2756
|
+
queryParams: queryParams
|
|
2757
|
+
});
|
|
2758
|
+
try {
|
|
2759
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2760
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
2761
|
+
responseObject: {},
|
|
2762
|
+
body: yield response.json(),
|
|
2763
|
+
bodyKey: "bundleDeploymentStatus",
|
|
2764
|
+
bodyModel: model.BundleDeploymentStatus,
|
|
2765
|
+
type: "model.BundleDeploymentStatus",
|
|
2766
|
+
responseHeaders: [
|
|
2767
|
+
{
|
|
2768
|
+
value: response.headers.get("opc-request-id"),
|
|
2769
|
+
key: "opcRequestId",
|
|
2770
|
+
dataType: "string"
|
|
2771
|
+
},
|
|
2772
|
+
]
|
|
2773
|
+
});
|
|
2774
|
+
return sdkResponse;
|
|
2775
|
+
}
|
|
2776
|
+
catch (err) {
|
|
2777
|
+
throw err;
|
|
2778
|
+
}
|
|
2779
|
+
});
|
|
2780
|
+
}
|
|
2781
|
+
/**
|
|
2782
|
+
* (Preview) Returns a high-level summary of the most recent deployment activity recorded for the
|
|
2783
|
+
* specified bundle.
|
|
760
2784
|
* <p>
|
|
761
|
-
|
|
762
|
-
*
|
|
763
|
-
* - bundles are self-contained packages that include resource definitions, dependency references,
|
|
764
|
-
* and associated code artifacts required to recreate the bundled resources
|
|
765
|
-
* - the entire bundle folder can be committed and pushed to a Git repository
|
|
766
|
-
* - bundles can be pulled into another workspace via Git and deployed there
|
|
767
|
-
* - bundles can be promoted across environments (for example, dev \u2192 test \u2192 prod) using Git workflows
|
|
768
|
-
* - because the bundle includes both resource configuration and code dependencies, it can be used
|
|
769
|
-
* to reliably replicate assets across workspaces
|
|
2785
|
+
This operation is useful after deploy or purge requests when you want the latest
|
|
2786
|
+
* bundle-level deployment outcome rather than raw async operation details.
|
|
770
2787
|
* <p>
|
|
771
|
-
|
|
772
|
-
*
|
|
773
|
-
*
|
|
2788
|
+
The response can include:
|
|
2789
|
+
* - overall deployment status
|
|
2790
|
+
* - start and completion timestamps
|
|
2791
|
+
* - summary message
|
|
2792
|
+
* - resources associated with the last recorded deployment result
|
|
774
2793
|
* <p>
|
|
775
|
-
Typical
|
|
776
|
-
* -
|
|
777
|
-
* -
|
|
778
|
-
* -
|
|
2794
|
+
Typical status values include:
|
|
2795
|
+
* - `IN_PROGRESS`
|
|
2796
|
+
* - `SUCCEEDED`
|
|
2797
|
+
* - `FAILED`
|
|
2798
|
+
* - `NOT_DEPLOYED`
|
|
779
2799
|
* <p>
|
|
780
2800
|
Request notes:
|
|
781
|
-
* - `path` identifies the
|
|
782
|
-
* - `name` identifies the bundle folder name
|
|
783
|
-
* - `bundledResources` identifies which workspace resources should be included
|
|
2801
|
+
* - `path` identifies the bundle root folder in the workspace volume
|
|
784
2802
|
*
|
|
785
2803
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
786
|
-
* @param
|
|
787
|
-
* @return
|
|
2804
|
+
* @param FetchBundleDeploymentStatusActionRequest
|
|
2805
|
+
* @return FetchBundleDeploymentStatusActionResponse
|
|
788
2806
|
* @throws OciError when an error occurs
|
|
789
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
2807
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/FetchBundleDeploymentStatusAction.ts.html |here} to see how to use FetchBundleDeploymentStatusAction API.
|
|
790
2808
|
*/
|
|
791
|
-
|
|
2809
|
+
fetchBundleDeploymentStatusAction(fetchBundleDeploymentStatusActionRequest) {
|
|
792
2810
|
return __awaiter(this, void 0, void 0, function* () {
|
|
793
2811
|
if (this.logger)
|
|
794
|
-
this.logger.debug("Calling operation BundleClient#
|
|
795
|
-
const operationName = "
|
|
2812
|
+
this.logger.debug("Calling operation BundleClient#fetchBundleDeploymentStatusAction.");
|
|
2813
|
+
const operationName = "fetchBundleDeploymentStatusAction";
|
|
796
2814
|
const apiReferenceLink = "";
|
|
797
2815
|
const pathParams = {
|
|
798
|
-
"{aiDataPlatformId}":
|
|
799
|
-
"{workspaceKey}":
|
|
2816
|
+
"{aiDataPlatformId}": fetchBundleDeploymentStatusActionRequest.aiDataPlatformId,
|
|
2817
|
+
"{workspaceKey}": fetchBundleDeploymentStatusActionRequest.workspaceKey,
|
|
800
2818
|
};
|
|
801
2819
|
const queryParams = {};
|
|
802
2820
|
let headerParams = {
|
|
803
2821
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
804
|
-
'opc-
|
|
2822
|
+
'opc-request-id': fetchBundleDeploymentStatusActionRequest.opcRequestId,
|
|
805
2823
|
};
|
|
806
2824
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
807
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2825
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, fetchBundleDeploymentStatusActionRequest.retryConfiguration, specRetryConfiguration);
|
|
808
2826
|
if (this.logger)
|
|
809
2827
|
retrier.logger = this.logger;
|
|
810
2828
|
const request = yield (0, oci_common_1.composeRequest)({
|
|
811
2829
|
baseEndpoint: this._endpoint,
|
|
812
2830
|
defaultHeaders: this._defaultHeaders,
|
|
813
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/
|
|
2831
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/getBundleDeploymentStatus',
|
|
814
2832
|
method: 'POST',
|
|
815
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
2833
|
+
bodyContent: common.ObjectSerializer.serialize(fetchBundleDeploymentStatusActionRequest.fetchBundleDeploymentStatusDetails, "FetchBundleDeploymentStatusDetails", model.FetchBundleDeploymentStatusDetails.getJsonObj),
|
|
816
2834
|
pathParams: pathParams,
|
|
817
2835
|
headerParams: headerParams,
|
|
818
2836
|
queryParams: queryParams
|
|
@@ -821,17 +2839,16 @@ Request notes:
|
|
|
821
2839
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
822
2840
|
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
823
2841
|
responseObject: {},
|
|
2842
|
+
body: yield response.json(),
|
|
2843
|
+
bodyKey: "bundleDeploymentStatus",
|
|
2844
|
+
bodyModel: model.BundleDeploymentStatus,
|
|
2845
|
+
type: "model.BundleDeploymentStatus",
|
|
824
2846
|
responseHeaders: [
|
|
825
2847
|
{
|
|
826
2848
|
value: response.headers.get("opc-request-id"),
|
|
827
2849
|
key: "opcRequestId",
|
|
828
2850
|
dataType: "string"
|
|
829
2851
|
},
|
|
830
|
-
{
|
|
831
|
-
value: response.headers.get("aidp-async-operation-key"),
|
|
832
|
-
key: "aidpAsyncOperationKey",
|
|
833
|
-
dataType: "string"
|
|
834
|
-
},
|
|
835
2852
|
]
|
|
836
2853
|
});
|
|
837
2854
|
return sdkResponse;
|
|
@@ -842,55 +2859,53 @@ Request notes:
|
|
|
842
2859
|
});
|
|
843
2860
|
}
|
|
844
2861
|
/**
|
|
845
|
-
* (
|
|
846
|
-
* Returns an async job key for tracking deployment progress.
|
|
2862
|
+
* (Deprecated) Tears down all resources deployed by the specified bundle in the workspace.
|
|
847
2863
|
* <p>
|
|
848
|
-
This operation is
|
|
849
|
-
*
|
|
2864
|
+
This operation is intended to tear down resources that were created or managed through
|
|
2865
|
+
* bundle deployment. It does not delete the bundle files themselves from the workspace
|
|
2866
|
+
* volume.
|
|
850
2867
|
* <p>
|
|
851
|
-
|
|
852
|
-
*
|
|
853
|
-
* - top-level resource descriptors in the bundle
|
|
854
|
-
* - dependency descriptors referenced by those top-level resources
|
|
855
|
-
* - default or override variable values when present
|
|
2868
|
+
This operation is asynchronous. The service accepts the purge request, starts the
|
|
2869
|
+
* background teardown workflow, and returns async operation headers.
|
|
856
2870
|
* <p>
|
|
857
|
-
|
|
858
|
-
*
|
|
2871
|
+
Typical use cases:
|
|
2872
|
+
* - remove resources that were previously deployed from a bundle
|
|
2873
|
+
* - clean up a workspace before re-deploying or retiring a bundle
|
|
859
2874
|
* <p>
|
|
860
2875
|
Request notes:
|
|
861
2876
|
* - `path` identifies the bundle root folder in the workspace volume
|
|
862
2877
|
*
|
|
863
2878
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
864
|
-
* @param
|
|
865
|
-
* @return
|
|
2879
|
+
* @param PurgeBundleRequest
|
|
2880
|
+
* @return PurgeBundleResponse
|
|
866
2881
|
* @throws OciError when an error occurs
|
|
867
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
2882
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/PurgeBundle.ts.html |here} to see how to use PurgeBundle API.
|
|
868
2883
|
*/
|
|
869
|
-
|
|
2884
|
+
purgeBundle(purgeBundleRequest) {
|
|
870
2885
|
return __awaiter(this, void 0, void 0, function* () {
|
|
871
2886
|
if (this.logger)
|
|
872
|
-
this.logger.debug("Calling operation BundleClient#
|
|
873
|
-
const operationName = "
|
|
2887
|
+
this.logger.debug("Calling operation BundleClient#purgeBundle.");
|
|
2888
|
+
const operationName = "purgeBundle";
|
|
874
2889
|
const apiReferenceLink = "";
|
|
875
2890
|
const pathParams = {
|
|
876
|
-
"{aiDataPlatformId}":
|
|
877
|
-
"{workspaceKey}":
|
|
2891
|
+
"{aiDataPlatformId}": purgeBundleRequest.aiDataPlatformId,
|
|
2892
|
+
"{workspaceKey}": purgeBundleRequest.workspaceKey,
|
|
878
2893
|
};
|
|
879
2894
|
const queryParams = {};
|
|
880
2895
|
let headerParams = {
|
|
881
2896
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
882
|
-
'opc-retry-token':
|
|
2897
|
+
'opc-retry-token': purgeBundleRequest.opcRetryToken, 'opc-request-id': purgeBundleRequest.opcRequestId,
|
|
883
2898
|
};
|
|
884
2899
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
885
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2900
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, purgeBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
886
2901
|
if (this.logger)
|
|
887
2902
|
retrier.logger = this.logger;
|
|
888
2903
|
const request = yield (0, oci_common_1.composeRequest)({
|
|
889
2904
|
baseEndpoint: this._endpoint,
|
|
890
2905
|
defaultHeaders: this._defaultHeaders,
|
|
891
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/
|
|
2906
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/purge',
|
|
892
2907
|
method: 'POST',
|
|
893
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
2908
|
+
bodyContent: common.ObjectSerializer.serialize(purgeBundleRequest.purgeBundleDetails, "PurgeBundleDetails", model.PurgeBundleDetails.getJsonObj),
|
|
894
2909
|
pathParams: pathParams,
|
|
895
2910
|
headerParams: headerParams,
|
|
896
2911
|
queryParams: queryParams
|
|
@@ -920,58 +2935,53 @@ Request notes:
|
|
|
920
2935
|
});
|
|
921
2936
|
}
|
|
922
2937
|
/**
|
|
923
|
-
* (Preview)
|
|
924
|
-
* specified bundle.
|
|
2938
|
+
* (Preview) Tears down all resources deployed by the specified bundle in the workspace.
|
|
925
2939
|
* <p>
|
|
926
|
-
This operation is
|
|
927
|
-
* bundle
|
|
2940
|
+
This operation is intended to tear down resources that were created or managed through
|
|
2941
|
+
* bundle deployment. It does not delete the bundle files themselves from the workspace
|
|
2942
|
+
* volume.
|
|
928
2943
|
* <p>
|
|
929
|
-
The
|
|
930
|
-
*
|
|
931
|
-
* - start and completion timestamps
|
|
932
|
-
* - summary message
|
|
933
|
-
* - resources associated with the last recorded deployment result
|
|
2944
|
+
This operation is asynchronous. The service accepts the purge request, starts the
|
|
2945
|
+
* background teardown workflow, and returns async operation headers.
|
|
934
2946
|
* <p>
|
|
935
|
-
Typical
|
|
936
|
-
* -
|
|
937
|
-
* -
|
|
938
|
-
* - `FAILED`
|
|
939
|
-
* - `NOT_DEPLOYED`
|
|
2947
|
+
Typical use cases:
|
|
2948
|
+
* - remove resources that were previously deployed from a bundle
|
|
2949
|
+
* - clean up a workspace before re-deploying or retiring a bundle
|
|
940
2950
|
* <p>
|
|
941
2951
|
Request notes:
|
|
942
2952
|
* - `path` identifies the bundle root folder in the workspace volume
|
|
943
2953
|
*
|
|
944
2954
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
945
|
-
* @param
|
|
946
|
-
* @return
|
|
2955
|
+
* @param PurgeBundleActionRequest
|
|
2956
|
+
* @return PurgeBundleActionResponse
|
|
947
2957
|
* @throws OciError when an error occurs
|
|
948
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
2958
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/PurgeBundleAction.ts.html |here} to see how to use PurgeBundleAction API.
|
|
949
2959
|
*/
|
|
950
|
-
|
|
2960
|
+
purgeBundleAction(purgeBundleActionRequest) {
|
|
951
2961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
952
2962
|
if (this.logger)
|
|
953
|
-
this.logger.debug("Calling operation BundleClient#
|
|
954
|
-
const operationName = "
|
|
2963
|
+
this.logger.debug("Calling operation BundleClient#purgeBundleAction.");
|
|
2964
|
+
const operationName = "purgeBundleAction";
|
|
955
2965
|
const apiReferenceLink = "";
|
|
956
2966
|
const pathParams = {
|
|
957
|
-
"{aiDataPlatformId}":
|
|
958
|
-
"{workspaceKey}":
|
|
2967
|
+
"{aiDataPlatformId}": purgeBundleActionRequest.aiDataPlatformId,
|
|
2968
|
+
"{workspaceKey}": purgeBundleActionRequest.workspaceKey,
|
|
959
2969
|
};
|
|
960
2970
|
const queryParams = {};
|
|
961
2971
|
let headerParams = {
|
|
962
2972
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
963
|
-
'opc-request-id':
|
|
2973
|
+
'opc-retry-token': purgeBundleActionRequest.opcRetryToken, 'opc-request-id': purgeBundleActionRequest.opcRequestId,
|
|
964
2974
|
};
|
|
965
2975
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
966
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2976
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, purgeBundleActionRequest.retryConfiguration, specRetryConfiguration);
|
|
967
2977
|
if (this.logger)
|
|
968
2978
|
retrier.logger = this.logger;
|
|
969
2979
|
const request = yield (0, oci_common_1.composeRequest)({
|
|
970
2980
|
baseEndpoint: this._endpoint,
|
|
971
2981
|
defaultHeaders: this._defaultHeaders,
|
|
972
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/
|
|
2982
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/purgeBundle',
|
|
973
2983
|
method: 'POST',
|
|
974
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
2984
|
+
bodyContent: common.ObjectSerializer.serialize(purgeBundleActionRequest.purgeBundleDetails, "PurgeBundleDetails", model.PurgeBundleDetails.getJsonObj),
|
|
975
2985
|
pathParams: pathParams,
|
|
976
2986
|
headerParams: headerParams,
|
|
977
2987
|
queryParams: queryParams
|
|
@@ -980,16 +2990,17 @@ Request notes:
|
|
|
980
2990
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
981
2991
|
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
982
2992
|
responseObject: {},
|
|
983
|
-
body: yield response.json(),
|
|
984
|
-
bodyKey: "bundleDeploymentStatus",
|
|
985
|
-
bodyModel: model.BundleDeploymentStatus,
|
|
986
|
-
type: "model.BundleDeploymentStatus",
|
|
987
2993
|
responseHeaders: [
|
|
988
2994
|
{
|
|
989
2995
|
value: response.headers.get("opc-request-id"),
|
|
990
2996
|
key: "opcRequestId",
|
|
991
2997
|
dataType: "string"
|
|
992
2998
|
},
|
|
2999
|
+
{
|
|
3000
|
+
value: response.headers.get("aidp-async-operation-key"),
|
|
3001
|
+
key: "aidpAsyncOperationKey",
|
|
3002
|
+
dataType: "string"
|
|
3003
|
+
},
|
|
993
3004
|
]
|
|
994
3005
|
});
|
|
995
3006
|
return sdkResponse;
|
|
@@ -1000,53 +3011,72 @@ Request notes:
|
|
|
1000
3011
|
});
|
|
1001
3012
|
}
|
|
1002
3013
|
/**
|
|
1003
|
-
* (
|
|
3014
|
+
* (Deprecated) Synchronizes the code, descriptors, and mapping in the bundle by reconciling the contents with the resource origins.
|
|
3015
|
+
* Returns an async job key for tracking sync progress.
|
|
1004
3016
|
* <p>
|
|
1005
|
-
This operation is intended
|
|
1006
|
-
*
|
|
1007
|
-
* volume.
|
|
3017
|
+
This operation is intended for cases where the bundle should be refreshed to reflect
|
|
3018
|
+
* newer source changes while preserving the bundle structure and identity.
|
|
1008
3019
|
* <p>
|
|
1009
|
-
|
|
1010
|
-
*
|
|
3020
|
+
Sync uses the bundle's recorded origin metadata to rebuild the bundle from the source
|
|
3021
|
+
* jobs and agent flows that were captured when the bundle was created. The source metadata
|
|
3022
|
+
* is stored in `.aidp/resource_origins.yaml` and must match the requested AIDP/Data Lake and
|
|
3023
|
+
* workspace. The operation refreshes source-controlled bundle content while preserving the
|
|
3024
|
+
* bundle identity and runtime metadata.
|
|
3025
|
+
* <p>
|
|
3026
|
+
During sync, the service stages a refreshed bundle snapshot under the bundle `.aidp`
|
|
3027
|
+
* directory, compares existing and staged descriptors, preserves existing variable aliases
|
|
3028
|
+
* and override references where possible, merges existing manifest default variables, and
|
|
3029
|
+
* then promotes the refreshed source-controlled files back into the bundle root.
|
|
3030
|
+
* <p>
|
|
3031
|
+
Sync preserves environment-specific and deployment runtime files such as
|
|
3032
|
+
* `.aidp/overrides.yaml` and `.aidp/aidp.state.json`. These files are not replaced by the
|
|
3033
|
+
* refreshed source snapshot.
|
|
3034
|
+
* <p>
|
|
3035
|
+
This operation is asynchronous and returns async operation headers when accepted.
|
|
1011
3036
|
* <p>
|
|
1012
3037
|
Typical use cases:
|
|
1013
|
-
* -
|
|
1014
|
-
* -
|
|
3038
|
+
* - refresh bundle contents after upstream workspace resources have changed
|
|
3039
|
+
* - reconcile descriptor or artifact content with current resource origins
|
|
3040
|
+
* - preserve local bundle overrides while pulling in source resource updates
|
|
3041
|
+
* - keep a Git-backed bundle current before committing or promoting it
|
|
1015
3042
|
* <p>
|
|
1016
3043
|
Request notes:
|
|
1017
3044
|
* - `path` identifies the bundle root folder in the workspace volume
|
|
3045
|
+
* - the bundle must contain a valid `aidp_workbench.yaml`
|
|
3046
|
+
* - the bundle must contain `.aidp/resource_origins.yaml`
|
|
3047
|
+
* - origin metadata must refer to the same AIDP/Data Lake and workspace as the request
|
|
1018
3048
|
*
|
|
1019
3049
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1020
|
-
* @param
|
|
1021
|
-
* @return
|
|
3050
|
+
* @param SyncBundleRequest
|
|
3051
|
+
* @return SyncBundleResponse
|
|
1022
3052
|
* @throws OciError when an error occurs
|
|
1023
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
3053
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/SyncBundle.ts.html |here} to see how to use SyncBundle API.
|
|
1024
3054
|
*/
|
|
1025
|
-
|
|
3055
|
+
syncBundle(syncBundleRequest) {
|
|
1026
3056
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1027
3057
|
if (this.logger)
|
|
1028
|
-
this.logger.debug("Calling operation BundleClient#
|
|
1029
|
-
const operationName = "
|
|
3058
|
+
this.logger.debug("Calling operation BundleClient#syncBundle.");
|
|
3059
|
+
const operationName = "syncBundle";
|
|
1030
3060
|
const apiReferenceLink = "";
|
|
1031
3061
|
const pathParams = {
|
|
1032
|
-
"{aiDataPlatformId}":
|
|
1033
|
-
"{workspaceKey}":
|
|
3062
|
+
"{aiDataPlatformId}": syncBundleRequest.aiDataPlatformId,
|
|
3063
|
+
"{workspaceKey}": syncBundleRequest.workspaceKey,
|
|
1034
3064
|
};
|
|
1035
3065
|
const queryParams = {};
|
|
1036
3066
|
let headerParams = {
|
|
1037
3067
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1038
|
-
'opc-retry-token':
|
|
3068
|
+
'opc-retry-token': syncBundleRequest.opcRetryToken, 'opc-request-id': syncBundleRequest.opcRequestId,
|
|
1039
3069
|
};
|
|
1040
3070
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1041
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3071
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, syncBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
1042
3072
|
if (this.logger)
|
|
1043
3073
|
retrier.logger = this.logger;
|
|
1044
3074
|
const request = yield (0, oci_common_1.composeRequest)({
|
|
1045
3075
|
baseEndpoint: this._endpoint,
|
|
1046
3076
|
defaultHeaders: this._defaultHeaders,
|
|
1047
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/
|
|
3077
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/sync',
|
|
1048
3078
|
method: 'POST',
|
|
1049
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
3079
|
+
bodyContent: common.ObjectSerializer.serialize(syncBundleRequest.syncBundleDetails, "SyncBundleDetails", model.SyncBundleDetails.getJsonObj),
|
|
1050
3080
|
pathParams: pathParams,
|
|
1051
3081
|
headerParams: headerParams,
|
|
1052
3082
|
queryParams: queryParams
|
|
@@ -1112,36 +3142,36 @@ Request notes:
|
|
|
1112
3142
|
* - origin metadata must refer to the same AIDP/Data Lake and workspace as the request
|
|
1113
3143
|
*
|
|
1114
3144
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1115
|
-
* @param
|
|
1116
|
-
* @return
|
|
3145
|
+
* @param SyncBundleActionRequest
|
|
3146
|
+
* @return SyncBundleActionResponse
|
|
1117
3147
|
* @throws OciError when an error occurs
|
|
1118
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/
|
|
3148
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/SyncBundleAction.ts.html |here} to see how to use SyncBundleAction API.
|
|
1119
3149
|
*/
|
|
1120
|
-
|
|
3150
|
+
syncBundleAction(syncBundleActionRequest) {
|
|
1121
3151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1122
3152
|
if (this.logger)
|
|
1123
|
-
this.logger.debug("Calling operation BundleClient#
|
|
1124
|
-
const operationName = "
|
|
3153
|
+
this.logger.debug("Calling operation BundleClient#syncBundleAction.");
|
|
3154
|
+
const operationName = "syncBundleAction";
|
|
1125
3155
|
const apiReferenceLink = "";
|
|
1126
3156
|
const pathParams = {
|
|
1127
|
-
"{aiDataPlatformId}":
|
|
1128
|
-
"{workspaceKey}":
|
|
3157
|
+
"{aiDataPlatformId}": syncBundleActionRequest.aiDataPlatformId,
|
|
3158
|
+
"{workspaceKey}": syncBundleActionRequest.workspaceKey,
|
|
1129
3159
|
};
|
|
1130
3160
|
const queryParams = {};
|
|
1131
3161
|
let headerParams = {
|
|
1132
3162
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1133
|
-
'opc-retry-token':
|
|
3163
|
+
'opc-retry-token': syncBundleActionRequest.opcRetryToken, 'opc-request-id': syncBundleActionRequest.opcRequestId,
|
|
1134
3164
|
};
|
|
1135
3165
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1136
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3166
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, syncBundleActionRequest.retryConfiguration, specRetryConfiguration);
|
|
1137
3167
|
if (this.logger)
|
|
1138
3168
|
retrier.logger = this.logger;
|
|
1139
3169
|
const request = yield (0, oci_common_1.composeRequest)({
|
|
1140
3170
|
baseEndpoint: this._endpoint,
|
|
1141
3171
|
defaultHeaders: this._defaultHeaders,
|
|
1142
|
-
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/
|
|
3172
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/syncBundle',
|
|
1143
3173
|
method: 'POST',
|
|
1144
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
3174
|
+
bodyContent: common.ObjectSerializer.serialize(syncBundleActionRequest.syncBundleDetails, "SyncBundleDetails", model.SyncBundleDetails.getJsonObj),
|
|
1145
3175
|
pathParams: pathParams,
|
|
1146
3176
|
headerParams: headerParams,
|
|
1147
3177
|
queryParams: queryParams
|
|
@@ -1302,7 +3332,7 @@ class CatalogClient {
|
|
|
1302
3332
|
this.closeProvider();
|
|
1303
3333
|
}
|
|
1304
3334
|
/**
|
|
1305
|
-
*
|
|
3335
|
+
* Tests the connection to an external catalog.
|
|
1306
3336
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1307
3337
|
* @param CatalogTestConnectionRequest
|
|
1308
3338
|
* @return CatalogTestConnectionResponse
|
|
@@ -1362,7 +3392,7 @@ class CatalogClient {
|
|
|
1362
3392
|
});
|
|
1363
3393
|
}
|
|
1364
3394
|
/**
|
|
1365
|
-
*
|
|
3395
|
+
* Creates a catalog with the given ID.
|
|
1366
3396
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1367
3397
|
* @param CreateCatalogRequest
|
|
1368
3398
|
* @return CreateCatalogResponse
|
|
@@ -1432,7 +3462,7 @@ class CatalogClient {
|
|
|
1432
3462
|
});
|
|
1433
3463
|
}
|
|
1434
3464
|
/**
|
|
1435
|
-
* Deletes the specified catalog
|
|
3465
|
+
* Deletes the specified catalog.
|
|
1436
3466
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1437
3467
|
* @param DeleteCatalogRequest
|
|
1438
3468
|
* @return DeleteCatalogResponse
|
|
@@ -1492,7 +3522,7 @@ class CatalogClient {
|
|
|
1492
3522
|
});
|
|
1493
3523
|
}
|
|
1494
3524
|
/**
|
|
1495
|
-
* Gets detailed information about
|
|
3525
|
+
* Gets detailed information about a catalog with a given catalog key.
|
|
1496
3526
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1497
3527
|
* @param GetCatalogRequest
|
|
1498
3528
|
* @return GetCatalogResponse
|
|
@@ -1558,7 +3588,7 @@ class CatalogClient {
|
|
|
1558
3588
|
});
|
|
1559
3589
|
}
|
|
1560
3590
|
/**
|
|
1561
|
-
* Gets a list of all permissions in the specified catalog
|
|
3591
|
+
* Gets a list of all permissions in the specified catalog.
|
|
1562
3592
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1563
3593
|
* @param ListCatalogPermissionsRequest
|
|
1564
3594
|
* @return ListCatalogPermissionsResponse
|
|
@@ -1627,7 +3657,7 @@ class CatalogClient {
|
|
|
1627
3657
|
});
|
|
1628
3658
|
}
|
|
1629
3659
|
/**
|
|
1630
|
-
*
|
|
3660
|
+
* Gets a list of catalogs with a given ID.
|
|
1631
3661
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1632
3662
|
* @param ListCatalogsRequest
|
|
1633
3663
|
* @return ListCatalogsResponse
|
|
@@ -1698,7 +3728,7 @@ class CatalogClient {
|
|
|
1698
3728
|
});
|
|
1699
3729
|
}
|
|
1700
3730
|
/**
|
|
1701
|
-
*
|
|
3731
|
+
* Updates permission details for a catalog.
|
|
1702
3732
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1703
3733
|
* @param ManageCatalogPermissionRequest
|
|
1704
3734
|
* @return ManageCatalogPermissionResponse
|
|
@@ -1754,7 +3784,7 @@ class CatalogClient {
|
|
|
1754
3784
|
});
|
|
1755
3785
|
}
|
|
1756
3786
|
/**
|
|
1757
|
-
*
|
|
3787
|
+
* Refreshes a catalog through a crawler.
|
|
1758
3788
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1759
3789
|
* @param RefreshCatalogRequest
|
|
1760
3790
|
* @return RefreshCatalogResponse
|
|
@@ -1814,7 +3844,7 @@ class CatalogClient {
|
|
|
1814
3844
|
});
|
|
1815
3845
|
}
|
|
1816
3846
|
/**
|
|
1817
|
-
*
|
|
3847
|
+
* Updates the details of a catalog with the given information.
|
|
1818
3848
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1819
3849
|
* @param UpdateCatalogRequest
|
|
1820
3850
|
* @return UpdateCatalogResponse
|
|
@@ -2687,6 +4717,69 @@ class ClusterClient {
|
|
|
2687
4717
|
}
|
|
2688
4718
|
});
|
|
2689
4719
|
}
|
|
4720
|
+
/**
|
|
4721
|
+
* Queries compute replica identifiers for a compute cluster in the given workspace.
|
|
4722
|
+
* The response contains distinct replica identifiers derived from the Monitoring `agentNode` metric dimension.
|
|
4723
|
+
*
|
|
4724
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4725
|
+
* @param QueryReplicaIdsRequest
|
|
4726
|
+
* @return QueryReplicaIdsResponse
|
|
4727
|
+
* @throws OciError when an error occurs
|
|
4728
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/QueryReplicaIds.ts.html |here} to see how to use QueryReplicaIds API.
|
|
4729
|
+
*/
|
|
4730
|
+
queryReplicaIds(queryReplicaIdsRequest) {
|
|
4731
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4732
|
+
if (this.logger)
|
|
4733
|
+
this.logger.debug("Calling operation ClusterClient#queryReplicaIds.");
|
|
4734
|
+
const operationName = "queryReplicaIds";
|
|
4735
|
+
const apiReferenceLink = "";
|
|
4736
|
+
const pathParams = {
|
|
4737
|
+
"{aiDataPlatformId}": queryReplicaIdsRequest.aiDataPlatformId,
|
|
4738
|
+
"{workspaceKey}": queryReplicaIdsRequest.workspaceKey,
|
|
4739
|
+
"{clusterKey}": queryReplicaIdsRequest.clusterKey,
|
|
4740
|
+
};
|
|
4741
|
+
const queryParams = {};
|
|
4742
|
+
let headerParams = {
|
|
4743
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4744
|
+
'opc-request-id': queryReplicaIdsRequest.opcRequestId,
|
|
4745
|
+
};
|
|
4746
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4747
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, queryReplicaIdsRequest.retryConfiguration, specRetryConfiguration);
|
|
4748
|
+
if (this.logger)
|
|
4749
|
+
retrier.logger = this.logger;
|
|
4750
|
+
const request = yield (0, oci_common_1.composeRequest)({
|
|
4751
|
+
baseEndpoint: this._endpoint,
|
|
4752
|
+
defaultHeaders: this._defaultHeaders,
|
|
4753
|
+
path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/queryReplicaIds',
|
|
4754
|
+
method: 'POST',
|
|
4755
|
+
bodyContent: common.ObjectSerializer.serialize(queryReplicaIdsRequest.queryReplicaIdsDetails, "QueryReplicaIdsDetails", model.QueryReplicaIdsDetails.getJsonObj),
|
|
4756
|
+
pathParams: pathParams,
|
|
4757
|
+
headerParams: headerParams,
|
|
4758
|
+
queryParams: queryParams
|
|
4759
|
+
});
|
|
4760
|
+
try {
|
|
4761
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4762
|
+
const sdkResponse = (0, oci_common_1.composeResponse)({
|
|
4763
|
+
responseObject: {},
|
|
4764
|
+
body: yield response.json(),
|
|
4765
|
+
bodyKey: "queryReplicaIdsResult",
|
|
4766
|
+
bodyModel: model.QueryReplicaIdsResult,
|
|
4767
|
+
type: "model.QueryReplicaIdsResult",
|
|
4768
|
+
responseHeaders: [
|
|
4769
|
+
{
|
|
4770
|
+
value: response.headers.get("opc-request-id"),
|
|
4771
|
+
key: "opcRequestId",
|
|
4772
|
+
dataType: "string"
|
|
4773
|
+
},
|
|
4774
|
+
]
|
|
4775
|
+
});
|
|
4776
|
+
return sdkResponse;
|
|
4777
|
+
}
|
|
4778
|
+
catch (err) {
|
|
4779
|
+
throw err;
|
|
4780
|
+
}
|
|
4781
|
+
});
|
|
4782
|
+
}
|
|
2690
4783
|
/**
|
|
2691
4784
|
* Restarts a running cluster.
|
|
2692
4785
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -3675,7 +5768,7 @@ class DeltaShareClient {
|
|
|
3675
5768
|
this.closeProvider();
|
|
3676
5769
|
}
|
|
3677
5770
|
/**
|
|
3678
|
-
* Creates a recipient for a Delta Share protocol
|
|
5771
|
+
* Creates a recipient for a Delta Share protocol.
|
|
3679
5772
|
*
|
|
3680
5773
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3681
5774
|
* @param CreateRecipientRequest
|
|
@@ -3740,7 +5833,7 @@ class DeltaShareClient {
|
|
|
3740
5833
|
});
|
|
3741
5834
|
}
|
|
3742
5835
|
/**
|
|
3743
|
-
*
|
|
5836
|
+
* Creates a Delta Share protocol.
|
|
3744
5837
|
*
|
|
3745
5838
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3746
5839
|
* @param CreateShareRequest
|
|
@@ -3805,7 +5898,7 @@ class DeltaShareClient {
|
|
|
3805
5898
|
});
|
|
3806
5899
|
}
|
|
3807
5900
|
/**
|
|
3808
|
-
* Deletes a Delta Share recipient
|
|
5901
|
+
* Deletes a Delta Share recipient.
|
|
3809
5902
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3810
5903
|
* @param DeleteRecipientRequest
|
|
3811
5904
|
* @return DeleteRecipientResponse
|
|
@@ -3860,7 +5953,7 @@ class DeltaShareClient {
|
|
|
3860
5953
|
});
|
|
3861
5954
|
}
|
|
3862
5955
|
/**
|
|
3863
|
-
* Deletes a Delta Share
|
|
5956
|
+
* Deletes a Delta Share.
|
|
3864
5957
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3865
5958
|
* @param DeleteShareRequest
|
|
3866
5959
|
* @return DeleteShareResponse
|
|
@@ -3915,7 +6008,7 @@ class DeltaShareClient {
|
|
|
3915
6008
|
});
|
|
3916
6009
|
}
|
|
3917
6010
|
/**
|
|
3918
|
-
* Gets detailed information about a Delta Share recipient
|
|
6011
|
+
* Gets detailed information about a Delta Share recipient.
|
|
3919
6012
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3920
6013
|
* @param GetRecipientRequest
|
|
3921
6014
|
* @return GetRecipientResponse
|
|
@@ -4184,7 +6277,7 @@ class DeltaShareClient {
|
|
|
4184
6277
|
});
|
|
4185
6278
|
}
|
|
4186
6279
|
/**
|
|
4187
|
-
* Gets a list of Delta Share recipients
|
|
6280
|
+
* Gets a list of Delta Share recipients.
|
|
4188
6281
|
*
|
|
4189
6282
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4190
6283
|
* @param ListRecipientsRequest
|
|
@@ -4254,7 +6347,7 @@ class DeltaShareClient {
|
|
|
4254
6347
|
});
|
|
4255
6348
|
}
|
|
4256
6349
|
/**
|
|
4257
|
-
* Gets a list of Delta
|
|
6350
|
+
* Gets a list of Delta Share assets.
|
|
4258
6351
|
*
|
|
4259
6352
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4260
6353
|
* @param ListShareDataAssetsRequest
|
|
@@ -4466,7 +6559,7 @@ class DeltaShareClient {
|
|
|
4466
6559
|
});
|
|
4467
6560
|
}
|
|
4468
6561
|
/**
|
|
4469
|
-
* Gets a list of Delta Shares
|
|
6562
|
+
* Gets a list of Delta Shares.
|
|
4470
6563
|
*
|
|
4471
6564
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4472
6565
|
* @param ListSharesRequest
|
|
@@ -4536,7 +6629,7 @@ class DeltaShareClient {
|
|
|
4536
6629
|
});
|
|
4537
6630
|
}
|
|
4538
6631
|
/**
|
|
4539
|
-
* Updates the permissions of a Delta Share recipient
|
|
6632
|
+
* Updates the permissions of a Delta Share recipient.
|
|
4540
6633
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4541
6634
|
* @param ManageRecipientPermissionRequest
|
|
4542
6635
|
* @return ManageRecipientPermissionResponse
|
|
@@ -4760,7 +6853,7 @@ class DeltaShareClient {
|
|
|
4760
6853
|
});
|
|
4761
6854
|
}
|
|
4762
6855
|
/**
|
|
4763
|
-
* Updates the metadata of a Delta Share recipient
|
|
6856
|
+
* Updates the metadata of a Delta Share recipient.
|
|
4764
6857
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4765
6858
|
* @param UpdateRecipientRequest
|
|
4766
6859
|
* @return UpdateRecipientResponse
|
|
@@ -5025,7 +7118,7 @@ class GitClient {
|
|
|
5025
7118
|
const queryParams = {};
|
|
5026
7119
|
let headerParams = {
|
|
5027
7120
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5028
|
-
'opc-retry-token': checkoutBranchRequest.opcRetryToken, 'opc-request-id': checkoutBranchRequest.opcRequestId, 'should-update-recent': checkoutBranchRequest.shouldUpdateRecent, 'if-match': checkoutBranchRequest.ifMatch,
|
|
7121
|
+
'opc-retry-token': checkoutBranchRequest.opcRetryToken, 'opc-request-id': checkoutBranchRequest.opcRequestId, 'should-update-recent': checkoutBranchRequest.shouldUpdateRecent, 'if-match': checkoutBranchRequest.ifMatch,
|
|
5029
7122
|
};
|
|
5030
7123
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5031
7124
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, checkoutBranchRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6164,7 +8257,7 @@ class MLOpsClient {
|
|
|
6164
8257
|
const queryParams = {};
|
|
6165
8258
|
let headerParams = {
|
|
6166
8259
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6167
|
-
'opc-retry-token': createExperimentRequest.opcRetryToken, 'opc-request-id': createExperimentRequest.opcRequestId,
|
|
8260
|
+
'opc-retry-token': createExperimentRequest.opcRetryToken, 'opc-request-id': createExperimentRequest.opcRequestId,
|
|
6168
8261
|
};
|
|
6169
8262
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6170
8263
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createExperimentRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6229,7 +8322,7 @@ class MLOpsClient {
|
|
|
6229
8322
|
const queryParams = {};
|
|
6230
8323
|
let headerParams = {
|
|
6231
8324
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6232
|
-
'opc-retry-token': createExperimentRunRequest.opcRetryToken, 'opc-request-id': createExperimentRunRequest.opcRequestId,
|
|
8325
|
+
'opc-retry-token': createExperimentRunRequest.opcRetryToken, 'opc-request-id': createExperimentRunRequest.opcRequestId,
|
|
6233
8326
|
};
|
|
6234
8327
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6235
8328
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createExperimentRunRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6293,7 +8386,7 @@ class MLOpsClient {
|
|
|
6293
8386
|
const queryParams = {};
|
|
6294
8387
|
let headerParams = {
|
|
6295
8388
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6296
|
-
'opc-retry-token': createModelVersionRequest.opcRetryToken, 'opc-request-id': createModelVersionRequest.opcRequestId,
|
|
8389
|
+
'opc-retry-token': createModelVersionRequest.opcRetryToken, 'opc-request-id': createModelVersionRequest.opcRequestId,
|
|
6297
8390
|
};
|
|
6298
8391
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6299
8392
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createModelVersionRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6357,7 +8450,7 @@ class MLOpsClient {
|
|
|
6357
8450
|
const queryParams = {};
|
|
6358
8451
|
let headerParams = {
|
|
6359
8452
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6360
|
-
'opc-retry-token': createRegisteredModelRequest.opcRetryToken, 'opc-request-id': createRegisteredModelRequest.opcRequestId,
|
|
8453
|
+
'opc-retry-token': createRegisteredModelRequest.opcRetryToken, 'opc-request-id': createRegisteredModelRequest.opcRequestId,
|
|
6361
8454
|
};
|
|
6362
8455
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6363
8456
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRegisteredModelRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6422,7 +8515,7 @@ class MLOpsClient {
|
|
|
6422
8515
|
const queryParams = {};
|
|
6423
8516
|
let headerParams = {
|
|
6424
8517
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6425
|
-
'opc-retry-token': createWorkspaceModelVersionRequest.opcRetryToken, 'opc-request-id': createWorkspaceModelVersionRequest.opcRequestId,
|
|
8518
|
+
'opc-retry-token': createWorkspaceModelVersionRequest.opcRetryToken, 'opc-request-id': createWorkspaceModelVersionRequest.opcRequestId,
|
|
6426
8519
|
};
|
|
6427
8520
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6428
8521
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createWorkspaceModelVersionRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6487,7 +8580,7 @@ class MLOpsClient {
|
|
|
6487
8580
|
const queryParams = {};
|
|
6488
8581
|
let headerParams = {
|
|
6489
8582
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6490
|
-
'opc-retry-token': deleteExperimentRequest.opcRetryToken, 'opc-request-id': deleteExperimentRequest.opcRequestId,
|
|
8583
|
+
'opc-retry-token': deleteExperimentRequest.opcRetryToken, 'opc-request-id': deleteExperimentRequest.opcRequestId,
|
|
6491
8584
|
};
|
|
6492
8585
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6493
8586
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteExperimentRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6552,7 +8645,7 @@ class MLOpsClient {
|
|
|
6552
8645
|
const queryParams = {};
|
|
6553
8646
|
let headerParams = {
|
|
6554
8647
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6555
|
-
'opc-retry-token': deleteExperimentRunRequest.opcRetryToken, 'opc-request-id': deleteExperimentRunRequest.opcRequestId,
|
|
8648
|
+
'opc-retry-token': deleteExperimentRunRequest.opcRetryToken, 'opc-request-id': deleteExperimentRunRequest.opcRequestId,
|
|
6556
8649
|
};
|
|
6557
8650
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6558
8651
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteExperimentRunRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6617,7 +8710,7 @@ class MLOpsClient {
|
|
|
6617
8710
|
const queryParams = {};
|
|
6618
8711
|
let headerParams = {
|
|
6619
8712
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6620
|
-
'opc-retry-token': deleteExperimentRunTagRequest.opcRetryToken, 'opc-request-id': deleteExperimentRunTagRequest.opcRequestId,
|
|
8713
|
+
'opc-retry-token': deleteExperimentRunTagRequest.opcRetryToken, 'opc-request-id': deleteExperimentRunTagRequest.opcRequestId,
|
|
6621
8714
|
};
|
|
6622
8715
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6623
8716
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteExperimentRunTagRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6682,7 +8775,7 @@ class MLOpsClient {
|
|
|
6682
8775
|
const queryParams = {};
|
|
6683
8776
|
let headerParams = {
|
|
6684
8777
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6685
|
-
'opc-retry-token': deleteExperimentTagRequest.opcRetryToken, 'opc-request-id': deleteExperimentTagRequest.opcRequestId,
|
|
8778
|
+
'opc-retry-token': deleteExperimentTagRequest.opcRetryToken, 'opc-request-id': deleteExperimentTagRequest.opcRequestId,
|
|
6686
8779
|
};
|
|
6687
8780
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6688
8781
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteExperimentTagRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6746,7 +8839,7 @@ class MLOpsClient {
|
|
|
6746
8839
|
const queryParams = {};
|
|
6747
8840
|
let headerParams = {
|
|
6748
8841
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6749
|
-
'opc-retry-token': deleteModelVersionRequest.opcRetryToken, 'opc-request-id': deleteModelVersionRequest.opcRequestId,
|
|
8842
|
+
'opc-retry-token': deleteModelVersionRequest.opcRetryToken, 'opc-request-id': deleteModelVersionRequest.opcRequestId,
|
|
6750
8843
|
};
|
|
6751
8844
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6752
8845
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteModelVersionRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6810,7 +8903,7 @@ class MLOpsClient {
|
|
|
6810
8903
|
const queryParams = {};
|
|
6811
8904
|
let headerParams = {
|
|
6812
8905
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6813
|
-
'opc-retry-token': deleteModelVersionTagRequest.opcRetryToken, 'opc-request-id': deleteModelVersionTagRequest.opcRequestId,
|
|
8906
|
+
'opc-retry-token': deleteModelVersionTagRequest.opcRetryToken, 'opc-request-id': deleteModelVersionTagRequest.opcRequestId,
|
|
6814
8907
|
};
|
|
6815
8908
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6816
8909
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteModelVersionTagRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6874,7 +8967,7 @@ class MLOpsClient {
|
|
|
6874
8967
|
const queryParams = {};
|
|
6875
8968
|
let headerParams = {
|
|
6876
8969
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6877
|
-
'opc-retry-token': deleteRegisteredModelRequest.opcRetryToken, 'opc-request-id': deleteRegisteredModelRequest.opcRequestId,
|
|
8970
|
+
'opc-retry-token': deleteRegisteredModelRequest.opcRetryToken, 'opc-request-id': deleteRegisteredModelRequest.opcRequestId,
|
|
6878
8971
|
};
|
|
6879
8972
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6880
8973
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRegisteredModelRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -6938,7 +9031,7 @@ class MLOpsClient {
|
|
|
6938
9031
|
const queryParams = {};
|
|
6939
9032
|
let headerParams = {
|
|
6940
9033
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6941
|
-
'opc-retry-token': deleteRegisteredModelTagRequest.opcRetryToken, 'opc-request-id': deleteRegisteredModelTagRequest.opcRequestId,
|
|
9034
|
+
'opc-retry-token': deleteRegisteredModelTagRequest.opcRetryToken, 'opc-request-id': deleteRegisteredModelTagRequest.opcRequestId,
|
|
6942
9035
|
};
|
|
6943
9036
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6944
9037
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRegisteredModelTagRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7005,7 +9098,7 @@ class MLOpsClient {
|
|
|
7005
9098
|
};
|
|
7006
9099
|
let headerParams = {
|
|
7007
9100
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7008
|
-
'opc-request-id': getExperimentByIdRequest.opcRequestId,
|
|
9101
|
+
'opc-request-id': getExperimentByIdRequest.opcRequestId,
|
|
7009
9102
|
};
|
|
7010
9103
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7011
9104
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExperimentByIdRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7071,7 +9164,7 @@ class MLOpsClient {
|
|
|
7071
9164
|
};
|
|
7072
9165
|
let headerParams = {
|
|
7073
9166
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7074
|
-
'opc-request-id': getExperimentByNameRequest.opcRequestId,
|
|
9167
|
+
'opc-request-id': getExperimentByNameRequest.opcRequestId,
|
|
7075
9168
|
};
|
|
7076
9169
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7077
9170
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExperimentByNameRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7137,7 +9230,7 @@ class MLOpsClient {
|
|
|
7137
9230
|
};
|
|
7138
9231
|
let headerParams = {
|
|
7139
9232
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7140
|
-
'opc-request-id': getExperimentRunByIdRequest.opcRequestId,
|
|
9233
|
+
'opc-request-id': getExperimentRunByIdRequest.opcRequestId,
|
|
7141
9234
|
};
|
|
7142
9235
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7143
9236
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExperimentRunByIdRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7206,7 +9299,7 @@ class MLOpsClient {
|
|
|
7206
9299
|
};
|
|
7207
9300
|
let headerParams = {
|
|
7208
9301
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7209
|
-
'opc-request-id': getExperimentRunMetricHistoryRequest.opcRequestId,
|
|
9302
|
+
'opc-request-id': getExperimentRunMetricHistoryRequest.opcRequestId,
|
|
7210
9303
|
};
|
|
7211
9304
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7212
9305
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExperimentRunMetricHistoryRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7272,7 +9365,7 @@ class MLOpsClient {
|
|
|
7272
9365
|
};
|
|
7273
9366
|
let headerParams = {
|
|
7274
9367
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7275
|
-
'opc-request-id': getModelVersionRequest.opcRequestId,
|
|
9368
|
+
'opc-request-id': getModelVersionRequest.opcRequestId,
|
|
7276
9369
|
};
|
|
7277
9370
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7278
9371
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getModelVersionRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7337,7 +9430,7 @@ class MLOpsClient {
|
|
|
7337
9430
|
};
|
|
7338
9431
|
let headerParams = {
|
|
7339
9432
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7340
|
-
'opc-request-id': getRegisteredModelRequest.opcRequestId,
|
|
9433
|
+
'opc-request-id': getRegisteredModelRequest.opcRequestId,
|
|
7341
9434
|
};
|
|
7342
9435
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7343
9436
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRegisteredModelRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7405,7 +9498,7 @@ class MLOpsClient {
|
|
|
7405
9498
|
};
|
|
7406
9499
|
let headerParams = {
|
|
7407
9500
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7408
|
-
'opc-request-id': listArtifactsRequest.opcRequestId,
|
|
9501
|
+
'opc-request-id': listArtifactsRequest.opcRequestId,
|
|
7409
9502
|
};
|
|
7410
9503
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7411
9504
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listArtifactsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7469,7 +9562,7 @@ class MLOpsClient {
|
|
|
7469
9562
|
const queryParams = {};
|
|
7470
9563
|
let headerParams = {
|
|
7471
9564
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7472
|
-
'opc-request-id': listExperimentRunsRequest.opcRequestId,
|
|
9565
|
+
'opc-request-id': listExperimentRunsRequest.opcRequestId,
|
|
7473
9566
|
};
|
|
7474
9567
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7475
9568
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listExperimentRunsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7534,7 +9627,7 @@ class MLOpsClient {
|
|
|
7534
9627
|
const queryParams = {};
|
|
7535
9628
|
let headerParams = {
|
|
7536
9629
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7537
|
-
'opc-request-id': listExperimentsRequest.opcRequestId,
|
|
9630
|
+
'opc-request-id': listExperimentsRequest.opcRequestId,
|
|
7538
9631
|
};
|
|
7539
9632
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7540
9633
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listExperimentsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7599,7 +9692,7 @@ class MLOpsClient {
|
|
|
7599
9692
|
const queryParams = {};
|
|
7600
9693
|
let headerParams = {
|
|
7601
9694
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7602
|
-
'opc-request-id': listLoggedModelsRequest.opcRequestId,
|
|
9695
|
+
'opc-request-id': listLoggedModelsRequest.opcRequestId,
|
|
7603
9696
|
};
|
|
7604
9697
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7605
9698
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLoggedModelsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7668,7 +9761,7 @@ class MLOpsClient {
|
|
|
7668
9761
|
};
|
|
7669
9762
|
let headerParams = {
|
|
7670
9763
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7671
|
-
'opc-request-id': listModelVersionsRequest.opcRequestId,
|
|
9764
|
+
'opc-request-id': listModelVersionsRequest.opcRequestId,
|
|
7672
9765
|
};
|
|
7673
9766
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7674
9767
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7736,7 +9829,7 @@ class MLOpsClient {
|
|
|
7736
9829
|
};
|
|
7737
9830
|
let headerParams = {
|
|
7738
9831
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7739
|
-
'opc-request-id': listRegisteredModelsRequest.opcRequestId,
|
|
9832
|
+
'opc-request-id': listRegisteredModelsRequest.opcRequestId,
|
|
7740
9833
|
};
|
|
7741
9834
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7742
9835
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRegisteredModelsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7800,7 +9893,7 @@ class MLOpsClient {
|
|
|
7800
9893
|
const queryParams = {};
|
|
7801
9894
|
let headerParams = {
|
|
7802
9895
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7803
|
-
'opc-retry-token': logExperimentRunBatchRequest.opcRetryToken, 'opc-request-id': logExperimentRunBatchRequest.opcRequestId,
|
|
9896
|
+
'opc-retry-token': logExperimentRunBatchRequest.opcRetryToken, 'opc-request-id': logExperimentRunBatchRequest.opcRequestId,
|
|
7804
9897
|
};
|
|
7805
9898
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7806
9899
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, logExperimentRunBatchRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7865,7 +9958,7 @@ class MLOpsClient {
|
|
|
7865
9958
|
const queryParams = {};
|
|
7866
9959
|
let headerParams = {
|
|
7867
9960
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7868
|
-
'opc-retry-token': logExperimentRunInputsRequest.opcRetryToken, 'opc-request-id': logExperimentRunInputsRequest.opcRequestId,
|
|
9961
|
+
'opc-retry-token': logExperimentRunInputsRequest.opcRetryToken, 'opc-request-id': logExperimentRunInputsRequest.opcRequestId,
|
|
7869
9962
|
};
|
|
7870
9963
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7871
9964
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, logExperimentRunInputsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7930,7 +10023,7 @@ class MLOpsClient {
|
|
|
7930
10023
|
const queryParams = {};
|
|
7931
10024
|
let headerParams = {
|
|
7932
10025
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7933
|
-
'opc-retry-token': logExperimentRunMetricRequest.opcRetryToken, 'opc-request-id': logExperimentRunMetricRequest.opcRequestId,
|
|
10026
|
+
'opc-retry-token': logExperimentRunMetricRequest.opcRetryToken, 'opc-request-id': logExperimentRunMetricRequest.opcRequestId,
|
|
7934
10027
|
};
|
|
7935
10028
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7936
10029
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, logExperimentRunMetricRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -7995,7 +10088,7 @@ class MLOpsClient {
|
|
|
7995
10088
|
const queryParams = {};
|
|
7996
10089
|
let headerParams = {
|
|
7997
10090
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7998
|
-
'opc-retry-token': logExperimentRunModelRequest.opcRetryToken, 'opc-request-id': logExperimentRunModelRequest.opcRequestId,
|
|
10091
|
+
'opc-retry-token': logExperimentRunModelRequest.opcRetryToken, 'opc-request-id': logExperimentRunModelRequest.opcRequestId,
|
|
7999
10092
|
};
|
|
8000
10093
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8001
10094
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, logExperimentRunModelRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8060,7 +10153,7 @@ class MLOpsClient {
|
|
|
8060
10153
|
const queryParams = {};
|
|
8061
10154
|
let headerParams = {
|
|
8062
10155
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8063
|
-
'opc-retry-token': logExperimentRunParamRequest.opcRetryToken, 'opc-request-id': logExperimentRunParamRequest.opcRequestId,
|
|
10156
|
+
'opc-retry-token': logExperimentRunParamRequest.opcRetryToken, 'opc-request-id': logExperimentRunParamRequest.opcRequestId,
|
|
8064
10157
|
};
|
|
8065
10158
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8066
10159
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, logExperimentRunParamRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8124,7 +10217,7 @@ class MLOpsClient {
|
|
|
8124
10217
|
const queryParams = {};
|
|
8125
10218
|
let headerParams = {
|
|
8126
10219
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8127
|
-
'opc-retry-token': renameRegisteredModelRequest.opcRetryToken, 'opc-request-id': renameRegisteredModelRequest.opcRequestId,
|
|
10220
|
+
'opc-retry-token': renameRegisteredModelRequest.opcRetryToken, 'opc-request-id': renameRegisteredModelRequest.opcRequestId,
|
|
8128
10221
|
};
|
|
8129
10222
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8130
10223
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, renameRegisteredModelRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8184,7 +10277,7 @@ class MLOpsClient {
|
|
|
8184
10277
|
const queryParams = {};
|
|
8185
10278
|
let headerParams = {
|
|
8186
10279
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8187
|
-
'opc-retry-token': restoreExperimentRequest.opcRetryToken, 'opc-request-id': restoreExperimentRequest.opcRequestId,
|
|
10280
|
+
'opc-retry-token': restoreExperimentRequest.opcRetryToken, 'opc-request-id': restoreExperimentRequest.opcRequestId,
|
|
8188
10281
|
};
|
|
8189
10282
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8190
10283
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreExperimentRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8249,7 +10342,7 @@ class MLOpsClient {
|
|
|
8249
10342
|
const queryParams = {};
|
|
8250
10343
|
let headerParams = {
|
|
8251
10344
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8252
|
-
'opc-retry-token': restoreExperimentRunRequest.opcRetryToken, 'opc-request-id': restoreExperimentRunRequest.opcRequestId,
|
|
10345
|
+
'opc-retry-token': restoreExperimentRunRequest.opcRetryToken, 'opc-request-id': restoreExperimentRunRequest.opcRequestId,
|
|
8253
10346
|
};
|
|
8254
10347
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8255
10348
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreExperimentRunRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8314,7 +10407,7 @@ class MLOpsClient {
|
|
|
8314
10407
|
const queryParams = {};
|
|
8315
10408
|
let headerParams = {
|
|
8316
10409
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8317
|
-
'opc-retry-token': setExperimentRunTagRequest.opcRetryToken, 'opc-request-id': setExperimentRunTagRequest.opcRequestId,
|
|
10410
|
+
'opc-retry-token': setExperimentRunTagRequest.opcRetryToken, 'opc-request-id': setExperimentRunTagRequest.opcRequestId,
|
|
8318
10411
|
};
|
|
8319
10412
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8320
10413
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setExperimentRunTagRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8379,7 +10472,7 @@ class MLOpsClient {
|
|
|
8379
10472
|
const queryParams = {};
|
|
8380
10473
|
let headerParams = {
|
|
8381
10474
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8382
|
-
'opc-retry-token': setExperimentTagRequest.opcRetryToken, 'opc-request-id': setExperimentTagRequest.opcRequestId,
|
|
10475
|
+
'opc-retry-token': setExperimentTagRequest.opcRetryToken, 'opc-request-id': setExperimentTagRequest.opcRequestId,
|
|
8383
10476
|
};
|
|
8384
10477
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8385
10478
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setExperimentTagRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8443,7 +10536,7 @@ class MLOpsClient {
|
|
|
8443
10536
|
const queryParams = {};
|
|
8444
10537
|
let headerParams = {
|
|
8445
10538
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8446
|
-
'opc-retry-token': setModelVersionTagRequest.opcRetryToken, 'opc-request-id': setModelVersionTagRequest.opcRequestId,
|
|
10539
|
+
'opc-retry-token': setModelVersionTagRequest.opcRetryToken, 'opc-request-id': setModelVersionTagRequest.opcRequestId,
|
|
8447
10540
|
};
|
|
8448
10541
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8449
10542
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setModelVersionTagRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8507,7 +10600,7 @@ class MLOpsClient {
|
|
|
8507
10600
|
const queryParams = {};
|
|
8508
10601
|
let headerParams = {
|
|
8509
10602
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8510
|
-
'opc-retry-token': setRegisteredModelTagRequest.opcRetryToken, 'opc-request-id': setRegisteredModelTagRequest.opcRequestId,
|
|
10603
|
+
'opc-retry-token': setRegisteredModelTagRequest.opcRetryToken, 'opc-request-id': setRegisteredModelTagRequest.opcRequestId,
|
|
8511
10604
|
};
|
|
8512
10605
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8513
10606
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setRegisteredModelTagRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8571,7 +10664,7 @@ class MLOpsClient {
|
|
|
8571
10664
|
const queryParams = {};
|
|
8572
10665
|
let headerParams = {
|
|
8573
10666
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8574
|
-
'opc-retry-token': transitionModelVersionStageRequest.opcRetryToken, 'opc-request-id': transitionModelVersionStageRequest.opcRequestId,
|
|
10667
|
+
'opc-retry-token': transitionModelVersionStageRequest.opcRetryToken, 'opc-request-id': transitionModelVersionStageRequest.opcRequestId,
|
|
8575
10668
|
};
|
|
8576
10669
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8577
10670
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, transitionModelVersionStageRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8636,7 +10729,7 @@ class MLOpsClient {
|
|
|
8636
10729
|
const queryParams = {};
|
|
8637
10730
|
let headerParams = {
|
|
8638
10731
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8639
|
-
'opc-retry-token': updateExperimentRequest.opcRetryToken, 'opc-request-id': updateExperimentRequest.opcRequestId,
|
|
10732
|
+
'opc-retry-token': updateExperimentRequest.opcRetryToken, 'opc-request-id': updateExperimentRequest.opcRequestId,
|
|
8640
10733
|
};
|
|
8641
10734
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8642
10735
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateExperimentRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8701,7 +10794,7 @@ class MLOpsClient {
|
|
|
8701
10794
|
const queryParams = {};
|
|
8702
10795
|
let headerParams = {
|
|
8703
10796
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8704
|
-
'opc-retry-token': updateExperimentRunRequest.opcRetryToken, 'opc-request-id': updateExperimentRunRequest.opcRequestId,
|
|
10797
|
+
'opc-retry-token': updateExperimentRunRequest.opcRetryToken, 'opc-request-id': updateExperimentRunRequest.opcRequestId,
|
|
8705
10798
|
};
|
|
8706
10799
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8707
10800
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateExperimentRunRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8766,7 +10859,7 @@ class MLOpsClient {
|
|
|
8766
10859
|
const queryParams = {};
|
|
8767
10860
|
let headerParams = {
|
|
8768
10861
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8769
|
-
'opc-retry-token': updateExperimentRunTagsRequest.opcRetryToken, 'opc-request-id': updateExperimentRunTagsRequest.opcRequestId,
|
|
10862
|
+
'opc-retry-token': updateExperimentRunTagsRequest.opcRetryToken, 'opc-request-id': updateExperimentRunTagsRequest.opcRequestId,
|
|
8770
10863
|
};
|
|
8771
10864
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8772
10865
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateExperimentRunTagsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8831,7 +10924,7 @@ class MLOpsClient {
|
|
|
8831
10924
|
const queryParams = {};
|
|
8832
10925
|
let headerParams = {
|
|
8833
10926
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8834
|
-
'opc-retry-token': updateExperimentTagsRequest.opcRetryToken, 'opc-request-id': updateExperimentTagsRequest.opcRequestId,
|
|
10927
|
+
'opc-retry-token': updateExperimentTagsRequest.opcRetryToken, 'opc-request-id': updateExperimentTagsRequest.opcRequestId,
|
|
8835
10928
|
};
|
|
8836
10929
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8837
10930
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateExperimentTagsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8895,7 +10988,7 @@ class MLOpsClient {
|
|
|
8895
10988
|
const queryParams = {};
|
|
8896
10989
|
let headerParams = {
|
|
8897
10990
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8898
|
-
'opc-retry-token': updateModelVersionRequest.opcRetryToken, 'opc-request-id': updateModelVersionRequest.opcRequestId,
|
|
10991
|
+
'opc-retry-token': updateModelVersionRequest.opcRetryToken, 'opc-request-id': updateModelVersionRequest.opcRequestId,
|
|
8899
10992
|
};
|
|
8900
10993
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8901
10994
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelVersionRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -8959,7 +11052,7 @@ class MLOpsClient {
|
|
|
8959
11052
|
const queryParams = {};
|
|
8960
11053
|
let headerParams = {
|
|
8961
11054
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8962
|
-
'opc-retry-token': updateModelVersionTagsRequest.opcRetryToken, 'opc-request-id': updateModelVersionTagsRequest.opcRequestId,
|
|
11055
|
+
'opc-retry-token': updateModelVersionTagsRequest.opcRetryToken, 'opc-request-id': updateModelVersionTagsRequest.opcRequestId,
|
|
8963
11056
|
};
|
|
8964
11057
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8965
11058
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelVersionTagsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -9023,7 +11116,7 @@ class MLOpsClient {
|
|
|
9023
11116
|
const queryParams = {};
|
|
9024
11117
|
let headerParams = {
|
|
9025
11118
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9026
|
-
'opc-retry-token': updateRegisteredModelRequest.opcRetryToken, 'opc-request-id': updateRegisteredModelRequest.opcRequestId,
|
|
11119
|
+
'opc-retry-token': updateRegisteredModelRequest.opcRetryToken, 'opc-request-id': updateRegisteredModelRequest.opcRequestId,
|
|
9027
11120
|
};
|
|
9028
11121
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
9029
11122
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRegisteredModelRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -9087,7 +11180,7 @@ class MLOpsClient {
|
|
|
9087
11180
|
const queryParams = {};
|
|
9088
11181
|
let headerParams = {
|
|
9089
11182
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9090
|
-
'opc-retry-token': updateRegisteredModelTagsRequest.opcRetryToken, 'opc-request-id': updateRegisteredModelTagsRequest.opcRequestId,
|
|
11183
|
+
'opc-retry-token': updateRegisteredModelTagsRequest.opcRetryToken, 'opc-request-id': updateRegisteredModelTagsRequest.opcRequestId,
|
|
9091
11184
|
};
|
|
9092
11185
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
9093
11186
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRegisteredModelTagsRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -11068,7 +13161,7 @@ class SchemaClient {
|
|
|
11068
13161
|
});
|
|
11069
13162
|
}
|
|
11070
13163
|
/**
|
|
11071
|
-
* Deletes a schema
|
|
13164
|
+
* Deletes a schema.
|
|
11072
13165
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11073
13166
|
* @param DeleteSchemaRequest
|
|
11074
13167
|
* @return DeleteSchemaResponse
|
|
@@ -11128,7 +13221,7 @@ class SchemaClient {
|
|
|
11128
13221
|
});
|
|
11129
13222
|
}
|
|
11130
13223
|
/**
|
|
11131
|
-
* Deletes a table
|
|
13224
|
+
* Deletes a table.
|
|
11132
13225
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11133
13226
|
* @param DeleteTableRequest
|
|
11134
13227
|
* @return DeleteTableResponse
|
|
@@ -11190,7 +13283,7 @@ class SchemaClient {
|
|
|
11190
13283
|
});
|
|
11191
13284
|
}
|
|
11192
13285
|
/**
|
|
11193
|
-
* Deletes a view
|
|
13286
|
+
* Deletes a view.
|
|
11194
13287
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11195
13288
|
* @param DeleteViewRequest
|
|
11196
13289
|
* @return DeleteViewResponse
|
|
@@ -11567,7 +13660,7 @@ class SchemaClient {
|
|
|
11567
13660
|
});
|
|
11568
13661
|
}
|
|
11569
13662
|
/**
|
|
11570
|
-
* Returns a list of schemas
|
|
13663
|
+
* Returns a list of schemas.
|
|
11571
13664
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11572
13665
|
* @param ListSchemasRequest
|
|
11573
13666
|
* @return ListSchemasResponse
|
|
@@ -12217,7 +14310,7 @@ class SchemaClient {
|
|
|
12217
14310
|
});
|
|
12218
14311
|
}
|
|
12219
14312
|
/**
|
|
12220
|
-
* Refreshes schema
|
|
14313
|
+
* Refreshes schema through the crawler.
|
|
12221
14314
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
12222
14315
|
* @param RefreshSchemaRequest
|
|
12223
14316
|
* @return RefreshSchemaResponse
|
|
@@ -12277,7 +14370,7 @@ class SchemaClient {
|
|
|
12277
14370
|
});
|
|
12278
14371
|
}
|
|
12279
14372
|
/**
|
|
12280
|
-
* Refreshes a table
|
|
14373
|
+
* Refreshes a table through the crawler.
|
|
12281
14374
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
12282
14375
|
* @param RefreshTableRequest
|
|
12283
14376
|
* @return RefreshTableResponse
|
|
@@ -12337,7 +14430,7 @@ class SchemaClient {
|
|
|
12337
14430
|
});
|
|
12338
14431
|
}
|
|
12339
14432
|
/**
|
|
12340
|
-
*
|
|
14433
|
+
* Retrieves PAR for the entities created.
|
|
12341
14434
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
12342
14435
|
* @param RetrieveParRequest
|
|
12343
14436
|
* @return RetrieveParResponse
|
|
@@ -13199,7 +15292,7 @@ class VolumeClient {
|
|
|
13199
15292
|
this.closeProvider();
|
|
13200
15293
|
}
|
|
13201
15294
|
/**
|
|
13202
|
-
* Creates a volume
|
|
15295
|
+
* Creates a volume.
|
|
13203
15296
|
*
|
|
13204
15297
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
13205
15298
|
* @param CreateVolumeRequest
|
|
@@ -14561,7 +16654,7 @@ class WorkflowClient {
|
|
|
14561
16654
|
});
|
|
14562
16655
|
}
|
|
14563
16656
|
/**
|
|
14564
|
-
* Creates a job
|
|
16657
|
+
* Creates a job.
|
|
14565
16658
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
14566
16659
|
* @param CreateJobRequest
|
|
14567
16660
|
* @return CreateJobResponse
|
|
@@ -14641,7 +16734,7 @@ class WorkflowClient {
|
|
|
14641
16734
|
});
|
|
14642
16735
|
}
|
|
14643
16736
|
/**
|
|
14644
|
-
* Creates a job run
|
|
16737
|
+
* Creates a job run.
|
|
14645
16738
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
14646
16739
|
* @param CreateJobRunRequest
|
|
14647
16740
|
* @return CreateJobRunResponse
|
|
@@ -14721,7 +16814,7 @@ class WorkflowClient {
|
|
|
14721
16814
|
});
|
|
14722
16815
|
}
|
|
14723
16816
|
/**
|
|
14724
|
-
* Deletes a job
|
|
16817
|
+
* Deletes a job.
|
|
14725
16818
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
14726
16819
|
* @param DeleteJobRequest
|
|
14727
16820
|
* @return DeleteJobResponse
|
|
@@ -14777,7 +16870,7 @@ class WorkflowClient {
|
|
|
14777
16870
|
});
|
|
14778
16871
|
}
|
|
14779
16872
|
/**
|
|
14780
|
-
* Deletes a job run
|
|
16873
|
+
* Deletes a job run.
|
|
14781
16874
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
14782
16875
|
* @param DeleteJobRunRequest
|
|
14783
16876
|
* @return DeleteJobRunResponse
|
|
@@ -14966,7 +17059,7 @@ class WorkflowClient {
|
|
|
14966
17059
|
});
|
|
14967
17060
|
}
|
|
14968
17061
|
/**
|
|
14969
|
-
* Returns detailed information about a given job
|
|
17062
|
+
* Returns detailed information about a given job.
|
|
14970
17063
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
14971
17064
|
* @param GetJobRequest
|
|
14972
17065
|
* @return GetJobResponse
|
|
@@ -15231,7 +17324,7 @@ class WorkflowClient {
|
|
|
15231
17324
|
});
|
|
15232
17325
|
}
|
|
15233
17326
|
/**
|
|
15234
|
-
* Returns a detailed list of job runs
|
|
17327
|
+
* Returns a detailed list of job runs.
|
|
15235
17328
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
15236
17329
|
* @param ListJobRunsRequest
|
|
15237
17330
|
* @return ListJobRunsResponse
|
|
@@ -15305,7 +17398,7 @@ class WorkflowClient {
|
|
|
15305
17398
|
});
|
|
15306
17399
|
}
|
|
15307
17400
|
/**
|
|
15308
|
-
* Returns a list of jobs
|
|
17401
|
+
* Returns a list of jobs.
|
|
15309
17402
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
15310
17403
|
* @param ListJobsRequest
|
|
15311
17404
|
* @return ListJobsResponse
|
|
@@ -15324,6 +17417,7 @@ class WorkflowClient {
|
|
|
15324
17417
|
};
|
|
15325
17418
|
const queryParams = {
|
|
15326
17419
|
'displayName': listJobsRequest.displayName,
|
|
17420
|
+
'jobKey': listJobsRequest.jobKey,
|
|
15327
17421
|
'displayNameContains': listJobsRequest.displayNameContains,
|
|
15328
17422
|
'path': listJobsRequest.path,
|
|
15329
17423
|
'createdBy': listJobsRequest.createdBy,
|
|
@@ -15460,7 +17554,7 @@ class WorkflowClient {
|
|
|
15460
17554
|
});
|
|
15461
17555
|
}
|
|
15462
17556
|
/**
|
|
15463
|
-
* Returns a list of
|
|
17557
|
+
* Returns a list of task runs.
|
|
15464
17558
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
15465
17559
|
* @param ListTaskRunsRequest
|
|
15466
17560
|
* @return ListTaskRunsResponse
|
|
@@ -15672,7 +17766,7 @@ class WorkflowClient {
|
|
|
15672
17766
|
});
|
|
15673
17767
|
}
|
|
15674
17768
|
/**
|
|
15675
|
-
*
|
|
17769
|
+
* Updates details for a job.
|
|
15676
17770
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
15677
17771
|
* @param UpdateJobRequest
|
|
15678
17772
|
* @return UpdateJobResponse
|
|
@@ -15889,7 +17983,7 @@ class WorkspaceClient {
|
|
|
15889
17983
|
const queryParams = {};
|
|
15890
17984
|
let headerParams = {
|
|
15891
17985
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
15892
|
-
'
|
|
17986
|
+
'opc-retry-token': createGitFolderRequest.opcRetryToken, 'if-match': createGitFolderRequest.ifMatch, 'opc-request-id': createGitFolderRequest.opcRequestId,
|
|
15893
17987
|
};
|
|
15894
17988
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
15895
17989
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createGitFolderRequest.retryConfiguration, specRetryConfiguration);
|