Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
35,417 in github.com/awslabs/mcp
⨍
Functions
35,417
◇
Types & classes
5,673
↳
Endpoints
3,994
Method
test_batch_get_named_query_data
Test the BatchGetNamedQueryData model.
src/aws-dataprocessing-mcp-server/tests/models/test_athena_models.py:136
Function
test_batch_get_named_query_missing_parameters
Test that batch get named query fails when named_query_ids is missing.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:450
Function
test_batch_get_named_query_success
Test successful batch retrieval of named queries.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:429
Method
test_batch_get_query_execution_data
Test the BatchGetQueryExecutionData model.
src/aws-dataprocessing-mcp-server/tests/models/test_athena_models.py:55
Function
test_batch_get_query_execution_missing_parameters
Test that batch get query execution fails when query_execution_ids is missing.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:110
Function
test_batch_get_query_execution_success
Test successful batch retrieval of query executions.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:87
Method
test_batch_get_threat_model_jobs
batch_get_threat_model_jobs calls the SDK method.
src/security-agent-mcp-server/tests/test_aws_client.py:500
Method
test_batch_get_threats
batch_get_threats calls the SDK method.
src/security-agent-mcp-server/tests/test_aws_client.py:529
Method
test_batch_input_output_config_validation
Test batch input and output configuration validation.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:844
Method
test_batch_job_cleanup_operations
Test batch job cleanup operations.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:943
Method
test_batch_job_configuration_validation
Test batch job configuration validation.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:816
Method
test_batch_job_error
Test BatchJobError.
src/amazon-translate-mcp-server/tests/test_models.py:829
Method
test_batch_job_error_with_job_info
Test BatchJobError with job information.
src/amazon-translate-mcp-server/tests/test_exceptions.py:158
Method
test_batch_manager_edge_cases
Test batch manager edge cases.
src/amazon-translate-mcp-server/tests/test_edge_cases_and_error_handling.py:294
Method
test_batch_manager_error_handling
Test batch manager error handling (lines 177-183).
src/amazon-translate-mcp-server/tests/test_missing_line_coverage.py:185
Method
test_batch_manager_not_initialized
Return error when batch_manager is None.
src/amazon-translate-mcp-server/tests/test_coverage_boost.py:63
Method
test_batch_manager_not_initialized
Return error when batch_manager is None.
src/amazon-translate-mcp-server/tests/test_coverage_boost.py:205
Method
test_batch_operation_result
Test creating a BatchOperationResult.
src/aws-dataprocessing-mcp-server/tests/models/test_data_catalog_models.py:780
Method
test_batch_put_asset_property_value_success
Test successful batch data ingestion.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_data.py:52
Method
test_batch_retry_config
Test batch operation retry configuration.
src/amazon-translate-mcp-server/tests/test_retry_handler.py:367
Method
test_batch_runs_with_auto_commit_and_no_data_api_transaction
TRANSACTION mode would commit at batch end and defeat the read-only wrapper.
src/redshift-mcp-server/tests/test_redshift.py:564
Function
test_batch_stop_job_run_multiple_ids
Test stopping multiple job runs.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_etl_handler.py:514
Function
test_batch_stop_job_run_operation_invalid_arguments
Test that stopping multiple job runs fails when required arguments are missing.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_etl_handler.py:276
Function
test_batch_stop_job_run_operation_without_write_permission
Test that stopping multiple job runs fails when write access is disabled.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_etl_handler.py:330
Function
test_batch_stop_job_run_with_failures
Test stopping multiple job runs with a mix of successful and failed submissions.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_etl_handler.py:533
Function
test_batch_stop_update_action_cache_clusters
Test batch stop update action with cache clusters.
src/elasticache-mcp-server/tests/tools/misc/test_batch_stop_update_action.py:38
Function
test_batch_stop_update_action_invalid_parameter
Test batch stop update action with invalid parameter.
src/elasticache-mcp-server/tests/tools/misc/test_batch_stop_update_action.py:65
Function
test_batch_stop_update_action_missing_targets
Test batch stop update action with no targets specified.
src/elasticache-mcp-server/tests/tools/misc/test_batch_stop_update_action.py:87
Function
test_batch_stop_update_action_readonly_mode
Test batch_stop_update_action in readonly mode.
src/elasticache-mcp-server/tests/tools/misc/test_batch_stop_update_action.py:107
Function
test_batch_stop_update_action_replication_groups
Test batch stop update action with replication groups.
src/elasticache-mcp-server/tests/tools/misc/test_batch_stop_update_action.py:11
Method
test_batch_translation_validation
Test validation for batch translation workflow.
src/amazon-translate-mcp-server/tests/test_security_validators.py:374
Method
test_batch_translation_with_executor
Test batch translation uses asyncio executor properly.
src/amazon-translate-mcp-server/tests/test_server_comprehensive.py:948
Method
test_batch_translation_workflow_edge_cases
Test batch translation workflow with edge cases.
src/amazon-translate-mcp-server/tests/test_workflow_orchestrator.py:909
Method
test_batch_translation_workflow_result
Test BatchTranslationWorkflowResult model.
src/amazon-translate-mcp-server/tests/test_workflow_features.py:244
Method
test_batch_translation_workflow_result_creation
Test BatchTranslationWorkflowResult creation.
src/amazon-translate-mcp-server/tests/test_workflow_comprehensive.py:901
Method
test_batch_workflow_parameter_models
Test batch workflow parameter models.
src/amazon-translate-mcp-server/tests/test_server.py:606
Method
test_batch_write_item_count_property
Property test: BatchWriteItem item_count within limits should succeed.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:353
Method
test_batchgetitem_per_item_calculation
BatchGetItem charges per item, not total size.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_cost_calculator.py:192
Method
test_batchgetitem_strongly_consistent
BatchGetItem with strong consistency.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_cost_calculator.py:203
Method
test_batchwriteitem_calculate_gsi_wcus_with_item_count
Test BatchWriteItem GSI WCU calculation multiplies by item_count.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_batch_write_item.py:163
Method
test_batchwriteitem_per_item_calculation
BatchWriteItem charges per item, not total size.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_cost_calculator.py:215
Method
test_bcm_pricing_calc_core_exception_handling
Test bcm_pricing_calc_core exception handling (covers lines 137-149).
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2278
Method
test_bcm_pricing_calc_core_exception_handling_no_error_in_response
Test bcm_pricing_calc_core exception handling when error response has no error field (covers lines 137-149).
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2327
Method
test_bcm_pricing_calc_core_get_preferences_operation_not_configured
Test bcm_pricing_calc_core with get_preferences operation - not configured case (covers lines 127-131).
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2248
Method
test_bcm_pricing_calc_core_get_preferences_operation_success
Test bcm_pricing_calc_core with get_preferences operation - success case (covers lines 126-133).
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2227
Method
test_bcm_pricing_calc_core_get_workload_estimate_operation
Test bcm_pricing_calc_core with get_workload_estimate operation (covers lines 115-117).
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2113
Method
test_bcm_pricing_calc_core_invalid_operation
Test bcm_pricing_calc_core with invalid operation (covers lines 106-113).
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2089
Method
test_bcm_pricing_calc_core_list_workload_estimate_usage_operation
Test bcm_pricing_calc_core with list_workload_estimate_usage operation (covers lines 122-125).
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2184
Method
test_bcm_pricing_calc_core_list_workload_estimates_operation
Test bcm_pricing_calc_core with list_workload_estimates operation (covers lines 118-121).
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2138
Function
test_bcm_pricing_calculator_server_initialization
Test that the bcm_pricing_calculator_server is properly initialized.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:1231
Method
test_bearer_auth_not_configured
Test handling of bearer auth not configured.
src/openapi-mcp-server/tests/test_server_auth_errors.py:13
Method
test_bearer_client_registration_expired
(self)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:202
Method
test_bearer_mode_no_refresh_needed
(self, mock_create, mock_inject, mock_call)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:156
Method
test_bearer_no_origin
(self, mock_create, mock_inject, mock_call)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:87
Method
test_bearer_path_refreshes_token_and_sets_streaming_target
(self)
src/aws-transform-mcp-server/tests/test_transform_api_client_streaming.py:192
Method
test_bearer_status_expired_token
Bearer auth with expired token shows EXPIRED.
src/aws-transform-mcp-server/tests/test_configure.py:750
Method
test_bearer_status_with_profile_name
( self, mock_configured, mock_fes_bearer, mock_get_config, mock_boto3,
src/aws-transform-mcp-server/tests/test_configure.py:1430
Method
test_bearer_status_with_token_expiry
Bearer auth status includes tokenExpiresIn.
src/aws-transform-mcp-server/tests/test_configure.py:706
Method
test_bearer_token_refresh_triggered
(self, mock_create, mock_inject, mock_call)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:174
Method
test_bearer_with_origin
(self, mock_create, mock_inject, mock_call)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:67
Method
test_bedrock_dimensions
(self)
src/valkey-mcp-server/tests/test_config.py:114
Method
test_bedrock_normalize_true
(self)
src/valkey-mcp-server/tests/test_config.py:106
Function
test_begin_end_block_not_flagged_as_service_broker
Normal BEGIN/END block is not flagged as Service Broker operation.
src/mssql-mcp-server/tests/test_server.py:861
Method
test_begin_inside_string_literal_is_not_flagged
``WHERE phase = 'begin'`` — "begin" as data.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1270
Method
test_begin_is_detected
``BEGIN`` — alias for START TRANSACTION.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:981
Function
test_begin_transaction_not_flagged_as_service_broker
BEGIN TRANSACTION should not be flagged as Service Broker operation.
src/mssql-mcp-server/tests/test_server.py:870
Method
test_begins_with_correct_count
Test validation passes for 'begins_with' with 2 parameters.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:139
Method
test_begins_with_function_renders_correctly
Test begins_with function renders correctly.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_codegen.py:109
Method
test_begins_with_incorrect_count
Test validation fails for 'begins_with' with wrong parameter count.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:154
Method
test_begins_with_missing_param
Test begins_with function missing param.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:232
Method
test_begins_with_missing_param_error
Test that 'begins_with' missing param is caught.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:613
Method
test_begins_with_requires_two_parameters
Test 'begins_with' requires 2 parameters (pk + 1 range value).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:79
Method
test_below_limit
Below limit returns False.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:585
Method
test_below_one_is_rejected
A max_pages below 1 is a validation error, before any call is made.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:498
Method
test_benchmark_probe_is_detected
benchmark() time-based SQLi probe must remain blocked.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:245
Method
test_benign_double_quoted_identifier_allowed
A normal quoted identifier (no apostrophe) stays allowed.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:421
Method
test_between_filter_in_signature
Test between filter params appear in method signature.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_codegen.py:62
Method
test_between_missing_both_params
Test between operator missing both params.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:121
Method
test_between_missing_param2
Test between operator missing param2.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:109
Method
test_between_missing_param2_error
Test that 'between' missing param2 is caught.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:596
Method
test_between_operator_renders_correctly
Test BETWEEN operator renders correctly.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_codegen.py:119
Method
test_between_range_query_includes_both_range_parameters
Test that 'between' range queries include both min and max parameters.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:755
Method
test_between_requires_three_parameters
Test 'between' requires 3 parameters (pk + 2 range values).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:74
Method
test_between_with_correct_count
Test validation passes for 'between' with 3 parameters.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:102
Method
test_between_with_incorrect_count
Test validation fails for 'between' with wrong parameter count.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:117
Function
test_billing_conductor_server_initialization
Test that the billing_conductor_server is properly initialized.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:106
Method
test_billing_month_is_forwarded
billing_month is passed through to the handler as given.
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_tools.py:204
Method
test_billing_period_and_dates_are_mutually_exclusive
Supplying both window forms is rejected.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:721
Method
test_billing_period_and_dates_mutually_exclusive
billing_period together with a date range returns an error.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:595
Method
test_billing_period_auto_detects_account
A billing_period query auto-detects the account via STS.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:88
Method
test_billing_period_expands_to_month
A YYYY-MM billing period covers the whole calendar month.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:680
Method
test_billing_period_handles_leap_year
February in a leap year ends on the 29th.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:695
Method
test_billing_period_handles_non_leap_year
February in a non-leap year ends on the 28th.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:708
Method
test_binary_content_flagged_not_embedded
Binary content is flagged rather than embedded, since Blobs are not JSON safe.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:295
Method
test_binary_data
Test binary data as template.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_validator.py:185
Function
test_binary_file
Sampling a binary file returns a notice instead of garbled text.
src/roda-mcp-server/tests/test_sample.py:131
Method
test_binary_is_base64_encoded
Binary columns are base64-encoded, not UTF-8 'decoded'. errors='replace' was lossy rather than an encoding: a measured 1 MiB BLOB produced
src/db2-mcp-server/tests/test_ibm_db_connection.py:188
Method
test_binary_mode_round_trip
Writing bytes to a temp file and resolving in binary mode returns identical bytes. **Validates: Requirements Local File Content Resolution,
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:352
Method
test_binary_mode_round_trip
Mocked S3 get_object returning bytes resolves identically in binary mode. **Validates: Requirements S3 Content Resolution**
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:419
Method
test_binary_not_found_raises_runtime_error
Raises RuntimeError when dsql-lint binary is not on PATH.
src/aurora-dsql-mcp-server/tests/test_dsql_lint.py:65
← previous
next →
12,101–12,200 of 35,417, ranked by callers