MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_get_metric_data_queries_metric_stat_period_fallback
Test period precedence: when query.period is unset, metric_stat.period wins over default. Covers the ``elif query.metric_stat and query.metri
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:1248
Methodtest_get_metric_data_queries_multiple_metrics
Test querying multiple metrics including percentiles in a single call using queries parameter.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:884
Methodtest_get_metric_data_queries_pagination
Test that _execute_queries_batch paginates through NextToken responses. CloudWatch GetMetricData returns a NextToken when results exceed ~100
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:1139
Methodtest_get_metric_data_queries_single_metric
Test basic single metric query using queries parameter.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:833
Methodtest_get_metric_data_queries_validation_both_metric_and_expression
Test validation error when both metric_stat and expression are provided.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:1075
Methodtest_get_metric_data_queries_validation_no_metric_or_expression
Test validation error when neither metric_stat nor expression is provided.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:1066
Methodtest_get_metric_data_requires_namespace_without_queries
Test that namespace and metric_name are required when queries is not provided.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:1126
Methodtest_get_metric_data_response_creation
Test creating a GetMetricDataResponse instance.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:109
Methodtest_get_metric_data_response_default_values
Test default values for GetMetricDataResponse model.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:124
Methodtest_get_metric_data_response_with_multiple_results
Test GetMetricDataResponse with multiple metric results.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:131
Methodtest_get_metric_data_sort_order_without_order_by_statistic
Test error when sort_order is specified without order_by_statistic.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_error_handling.py:163
Methodtest_get_metric_data_success
Test successful retrieval of metric data.
src/cloudwatch-applicationsignals-mcp-server/tests/test_sli_report_client.py:274
Methodtest_get_metric_data_with_different_order_by_statistic
Test metric data retrieval using Metrics Insights with a different ORDER BY statistic.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:320
Methodtest_get_metric_data_with_metrics_insights_and_dimensions
Test metric data retrieval using Metrics Insights with both specific dimensions and schema dimension keys.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:361
Methodtest_get_metric_data_with_metrics_insights_dimension_keys
Test metric data retrieval using Metrics Insights with schema dimension keys specified.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:242
Methodtest_get_metric_data_with_metrics_insights_group_by
Test metric data retrieval using Metrics Insights with group by.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:198
Methodtest_get_metric_data_with_metrics_insights_limit_and_order
Test metric data retrieval using Metrics Insights with ORDER BY and LIMIT.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:279
Methodtest_get_metric_data_with_string_dates
Test metric data retrieval with string dates.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:130
Methodtest_get_metric_data_with_various_datetime_formats
Parametrized test for various datetime format combinations. Tests all combinations of: - Timezone-aware vs naive datetimes -
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:578
Methodtest_get_metric_metadata_api_error
Test get_metric_metadata with general error - covers lines 537, 566.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_error_handling.py:231
Methodtest_get_metric_metadata_found
Test getting metric metadata for existing metric.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:623
Methodtest_get_metric_metadata_not_found
Test getting metric metadata for non-existent metric.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:638
Functiontest_get_metric_statistics_basic
Test basic get metric statistics functionality.
src/elasticache-mcp-server/tests/tools/cw/test_get_metric_statistics.py:23
Functiontest_get_metric_statistics_engine_cpu_utilization
Test get metric statistics for EngineCPUUtilization with Name/Value dimension format.
src/elasticache-mcp-server/tests/tools/cw/test_get_metric_statistics.py:157
Functiontest_get_metric_statistics_error
Test get metric statistics error handling.
src/elasticache-mcp-server/tests/tools/cw/test_get_metric_statistics.py:131
Functiontest_get_metric_statistics_minimal_params
Test get metric statistics with minimal parameters.
src/elasticache-mcp-server/tests/tools/cw/test_get_metric_statistics.py:65
Functiontest_get_metric_statistics_with_extended_stats
Test get metric statistics with extended statistics.
src/elasticache-mcp-server/tests/tools/cw/test_get_metric_statistics.py:98
Functiontest_get_metric_statistics_works_in_readonly_mode
Test that get_metric_statistics works in readonly mode.
src/elasticache-mcp-server/tests/tools/cw/test_get_metric_statistics.py:224
Methodtest_get_metrics_boto3_exception
Test metrics retrieval with boto3 exception.
src/aws-serverless-mcp-server/tests/test_get_metrics.py:186
Methodtest_get_metrics_invalid_time_format
Test metrics retrieval with invalid time format.
src/aws-serverless-mcp-server/tests/test_get_metrics.py:216
Methodtest_get_metrics_no_valid_metrics
Test metrics retrieval with no valid metrics.
src/aws-serverless-mcp-server/tests/test_get_metrics.py:163
Methodtest_get_metrics_success
Test successful metrics retrieval.
src/aws-serverless-mcp-server/tests/test_get_metrics.py:36
Methodtest_get_metrics_with_optional_params
Test metrics retrieval with optional parameters.
src/aws-serverless-mcp-server/tests/test_get_metrics.py:114
Methodtest_get_missing_arn_routes_error
Routing get_procurement_portal_preference without an ARN returns an error.
src/billing-cost-management-mcp-server/tests/tools/test_procurement_preferences_tools.py:488
Functiontest_get_missing_returns_none
Get returns None for a key that was never set.
src/oracle-mcp-server/tests/test_db_connection_map.py:45
Functiontest_get_missing_returns_none
get() returns None for an unknown key.
src/mssql-mcp-server/tests/test_db_connection_map.py:42
Functiontest_get_missing_returns_none
A key with no entry returns None.
src/db2-mcp-server/tests/test_db_connection_map.py:83
Methodtest_get_model_import_job
Test get_model_import_job prompt.
src/aws-bedrock-custom-model-import-mcp-server/tests/test_prompts.py:58
Methodtest_get_model_import_job_access_denied
Test error handling when access is denied.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_model_import_job.py:244
Methodtest_get_model_import_job_approximate_match_failure
Test failure when approximate matching also fails.
src/aws-bedrock-custom-model-import-mcp-server/tests/test_client.py:164
Methodtest_get_model_import_job_completed
Test getting a completed model import job.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_model_import_job.py:127
Methodtest_get_model_import_job_failed
Test getting a failed model import job.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_model_import_job.py:158
Methodtest_get_model_import_job_not_found
Test error handling when job is not found.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_model_import_job.py:226
Methodtest_get_model_import_job_other_client_error
Test getting a model import job with a non-ValidationException ClientError.
src/aws-bedrock-custom-model-import-mcp-server/tests/services/test_model_import_service.py:419
Methodtest_get_model_import_job_other_error
Test error handling for other errors.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_model_import_job.py:262
Methodtest_get_model_import_job_success
Test successful retrieval of a model import job.
src/aws-bedrock-custom-model-import-mcp-server/tests/test_client.py:106
Methodtest_get_model_import_job_success
Test getting a model import job successfully.
src/aws-bedrock-custom-model-import-mcp-server/tests/services/test_model_import_service.py:386
Methodtest_get_model_import_job_with_approximate_match
Test retrieval of a model import job with approximate matching.
src/aws-bedrock-custom-model-import-mcp-server/tests/test_client.py:124
Methodtest_get_model_import_job_with_context
Test getting a model import job with context.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_model_import_job.py:92
Methodtest_get_model_import_job_with_vpc_and_kms
Test getting a model import job with VPC and KMS configuration.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_model_import_job.py:190
Methodtest_get_model_import_job_without_context
Test getting a model import job without context.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_model_import_job.py:110
Functiontest_get_monitor
Get monitor.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:193
Functiontest_get_monitor_error
Get monitor error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:201
Methodtest_get_named_query_data
Test the GetNamedQueryData model.
src/aws-dataprocessing-mcp-server/tests/models/test_athena_models.py:159
Functiontest_get_named_query_missing_parameters
Test that get named query fails when named_query_id is missing.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:582
Functiontest_get_named_query_success
Test successful retrieval of a named query.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:556
Functiontest_get_named_query_with_none_id
Test error handling when named_query_id is None in the response.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:862
Methodtest_get_network_data_empty_vpc_and_no_resources
Test get_network_data when no VPCs are found.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:808
Methodtest_get_network_data_happy_path
Test the happy path of get_network_data.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:156
Methodtest_get_network_data_no_vpc
Test get_network_data when no VPC is found.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:198
Methodtest_get_network_data_null_vpc_in_response
Test get_network_data with null VPC in response.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:1229
Methodtest_get_network_data_vpc_discovery_from_tags
Test VPC discovery from EC2 VPC tags.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:1174
Functiontest_get_no_fallback_when_identifier_differs_and_not_endpoint
Fallback only triggers when instance_identifier equals db_endpoint (i.e. was defaulted).
src/oracle-mcp-server/tests/test_db_connection_map.py:204
Methodtest_get_node_information
Test getting node information.
src/amazon-mq-mcp-server/tests/rabbitmq/test_admin.py:189
Methodtest_get_node_memory
Test getting node memory information.
src/amazon-mq-mcp-server/tests/rabbitmq/test_admin.py:197
Functiontest_get_none_method_raises
get() raises ValueError when method is falsy.
src/oracle-mcp-server/tests/test_db_connection_map.py:125
Functiontest_get_none_method_raises
get() raises ValueError when method is None.
src/mssql-mcp-server/tests/test_db_connection_map.py:95
Methodtest_get_nonexistent
(self)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:58
Methodtest_get_nonexistent_connection_returns_none
Test get() returns None when connection doesn't exist.
src/postgres-mcp-server/tests/test_db_connection_map.py:41
Methodtest_get_nonexistent_returns_none
Getting a key that doesn't exist should return None.
src/mysql-mcp-server/tests/test_db_connection_map.py:250
Methodtest_get_not_found
(self, mock_client)
src/valkey-mcp-server/tests/test_json.py:60
Methodtest_get_object_tags_cached
Test getting object tags with caching.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:478
Methodtest_get_object_tags_error
Test getting object tags with error.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:496
Methodtest_get_omics_client_failure
Test HealthOmics client creation failure.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:453
Methodtest_get_omics_client_failure_with_endpoint
Test HealthOmics client creation failure with custom endpoint URL.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:464
Methodtest_get_omics_client_success_custom_service_and_endpoint
Test successful HealthOmics client creation with custom service name and endpoint URL.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:420
Methodtest_get_omics_client_success_custom_service_no_endpoint
Test successful HealthOmics client creation with custom service name and no endpoint URL.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:384
Methodtest_get_omics_client_success_default_service_no_endpoint
Test successful HealthOmics client creation with default service name and no endpoint URL.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:370
Methodtest_get_omics_client_success_invalid_endpoint_url
Test HealthOmics client creation with invalid endpoint URL falls back to default.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:437
Methodtest_get_omics_client_success_with_endpoint_url
Test successful HealthOmics client creation with custom endpoint URL.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:398
Methodtest_get_omics_client_threads_profile_and_region
Test get_omics_client passes profile/region to get_aws_session.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:1150
Methodtest_get_omics_client_uses_configuration_functions
Test that get_omics_client uses both configuration functions.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:652
Methodtest_get_omics_endpoint_url_complex_url
Test get_omics_endpoint_url handles complex URLs with port and path.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:217
Methodtest_get_omics_endpoint_url_empty_string
Test get_omics_endpoint_url returns None and logs warning for empty string.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:166
Methodtest_get_omics_endpoint_url_invalid_protocol
Test get_omics_endpoint_url returns None and logs warning for invalid protocol.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:188
Methodtest_get_omics_endpoint_url_not_set
Test get_omics_endpoint_url returns None when environment variable is not set.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:147
Methodtest_get_omics_endpoint_url_valid_http
Test get_omics_endpoint_url returns valid HTTP URL.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:159
Methodtest_get_omics_endpoint_url_valid_https
Test get_omics_endpoint_url returns valid HTTPS URL.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:153
Methodtest_get_omics_endpoint_url_valid_no_warning
Test get_omics_endpoint_url does not log warning for valid URL.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:224
Methodtest_get_omics_endpoint_url_whitespace_only
Test get_omics_endpoint_url returns None and logs warning for whitespace-only string.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:177
Methodtest_get_omics_endpoint_url_with_surrounding_whitespace
Test get_omics_endpoint_url strips surrounding whitespace from valid URL.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:209
Methodtest_get_omics_endpoint_url_wrong_protocol
Test get_omics_endpoint_url returns None and logs warning for wrong protocol.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:199
Methodtest_get_omics_service_name_custom_value
Test get_omics_service_name with custom service name.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:123
Methodtest_get_omics_service_name_default
Test get_omics_service_name returns default service name when no environment variable.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:84
Methodtest_get_omics_service_name_empty_env_var
Test get_omics_service_name returns default and logs warning when environment variable is empty.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:91
Methodtest_get_omics_service_name_from_environment
Test get_omics_service_name returns service name from environment variable.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:78
Methodtest_get_omics_service_name_mixed_whitespace_env_var
Test get_omics_service_name returns default and logs warning when environment variable contains mixed whitespace.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:113
Methodtest_get_omics_service_name_valid_no_warning
Test get_omics_service_name does not log warning for valid service name.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:136
Methodtest_get_omics_service_name_whitespace_env_var
Test get_omics_service_name returns default and logs warning when environment variable is only whitespace.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:102
Methodtest_get_omics_service_name_with_surrounding_whitespace
Test get_omics_service_name strips surrounding whitespace from valid service name.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:129
← previousnext →20,801–20,900 of 35,417, ranked by callers