-
Notifications
You must be signed in to change notification settings - Fork 0
AWS S3 Backup Config Mgmt functions #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
||
bar_manageAWSS3Operations: | ||
type: tool | ||
description: Manage AWS S3 backup configuration for Teradata DSA via MCP server (list, config, delete_all, remove) | ||
parameters: | ||
operation: | ||
type: string | ||
description: Operation to perform (list, config, delete_all, remove) | ||
required: true | ||
accessId: | ||
type: string | ||
description: AWS Access ID | ||
required: false | ||
accessKey: | ||
type: string | ||
description: AWS Access Key | ||
required: false | ||
bucketsByRegion: | ||
type: object | ||
description: "Buckets by region configuration (object: dict or list)" | ||
required: false | ||
bucketName: | ||
type: string | ||
description: AWS Bucket Name | ||
required: false | ||
acctName: | ||
type: string | ||
description: AWS Account Name | ||
required: false | ||
handler: handle_bar_manageAWSS3Operations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove duplicate tool registration: The bar_manageAWSS3Operations
definition in bar_objects.yml
conflicts with the implementation in bar_tools.py
. Please remove the YAML definition to prevent tool registration conflicts and maintain a single source of truth for this functionality.
import os | ||
from typing import Any, Dict, List, Optional | ||
import requests | ||
import requests # pyright: ignore[reportMissingModuleSource] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anprasad2030
Remove unnecessary Pyright ignore: Remove # pyright: ignore[reportMissingModuleSource]
from the requests
import on line 7. This suppression is not needed for a standard dependency.
Created Python functions for AWS S3 config management operations. (1) handle_bar_manageAWSS3Operations (2) manage_AWS_S3_backup_configurations (3) list_aws_s3_backup_configurations()