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_get_client
Test client creation and caching.
src/amazon-mq-mcp-server/tests/test_aws_service_mcp_generator.py:131
Method
test_get_client
Test client creation and caching.
src/amazon-sns-sqs-mcp-server/tests/test_generator.py:128
Method
test_get_client_authentication_error
Test _get_client with authentication error.
src/amazon-translate-mcp-server/tests/test_aws_client.py:727
Method
test_get_client_builds_once_and_reuses
Test the client is built once and reused without re-pinging on each call.
src/documentdb-mcp-server/tests/test_connection_tools.py:41
Method
test_get_client_cached
Test get_client method with cached client.
src/eks-mcp-server/tests/test_k8s_client_cache.py:196
Method
test_get_client_concurrent_builds_once
Test concurrent cold-start callers build at most one client (lock guard). Uses a deliberately slow constructor and a barrier so all threads r
src/documentdb-mcp-server/tests/test_connection_tools.py:67
Method
test_get_client_connection_failure
Test that a connection (ping) failure is propagated.
src/documentdb-mcp-server/tests/test_connection_tools.py:125
Method
test_get_client_creates_and_caches
Test that get_client creates a client and caches it for reuse.
src/documentdb-mcp-server/tests/test_connection_tools.py:27
Method
test_get_client_error
Test get_client method with error from _get_cluster_credentials.
src/eks-mcp-server/tests/test_k8s_client_cache.py:239
Method
test_get_client_factory_implementation
Test the AwsClientFactory class of get_aws_client function.
src/ecs-mcp-server/tests/unit/test_aws_utils.py:81
Method
test_get_client_invalid_credentials
Test get_client method with invalid credentials.
src/eks-mcp-server/tests/test_k8s_client_cache.py:217
Method
test_get_client_kubeconfig_mode
(self)
src/eks-mcp-server/tests/test_k8s_client_cache.py:554
Method
test_get_client_kubeconfig_mode_caches_client
(self)
src/eks-mcp-server/tests/test_k8s_client_cache.py:599
Method
test_get_client_kubeconfig_mode_error_handling
(self)
src/eks-mcp-server/tests/test_k8s_client_cache.py:619
Method
test_get_client_kubeconfig_mode_with_kubeconfig_env
(self)
src/eks-mcp-server/tests/test_k8s_client_cache.py:576
Method
test_get_client_not_configured
Test that get_client fails closed when no connection string is configured.
src/documentdb-mcp-server/tests/test_connection_tools.py:111
Method
test_get_client_public
Test the public get_client method creates and caches clients.
src/amazon-mq-mcp-server/tests/test_aws_service_mcp_generator.py:170
Method
test_get_client_service_unavailable_error
Test _get_client with service unavailable error.
src/amazon-translate-mcp-server/tests/test_aws_client.py:713
Method
test_get_client_success
Test get_client method with successful client creation.
src/eks-mcp-server/tests/test_k8s_client_cache.py:159
Method
test_get_client_unexpected_error
Test _get_client with unexpected error.
src/amazon-translate-mcp-server/tests/test_aws_client.py:741
Method
test_get_client_with_custom_aws_profile
Test client creation uses custom AWS profile from environment.
src/amazon-mq-mcp-server/tests/test_aws_service_mcp_generator.py:191
Method
test_get_client_with_default_aws_profile
Test client creation uses default AWS profile when environment variable is not set.
src/amazon-mq-mcp-server/tests/test_aws_service_mcp_generator.py:214
Method
test_get_cloudtrail_client
Test _get_cloudtrail_client method.
src/cloudtrail-mcp-server/tests/test_server.py:226
Method
test_get_cloudtrail_client_error_handling
Test _get_cloudtrail_client error handling.
src/cloudtrail-mcp-server/tests/test_tools.py:64
Method
test_get_cloudtrail_client_with_profile
Test _get_cloudtrail_client with AWS_PROFILE set.
src/cloudtrail-mcp-server/tests/test_tools.py:50
Method
test_get_cloudtrail_client_without_profile
Test _get_cloudtrail_client without AWS_PROFILE.
src/cloudtrail-mcp-server/tests/test_tools.py:35
Function
test_get_cloudwan_details_error
Test error handling.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_details.py:67
Function
test_get_cloudwan_details_pagination
Test pagination with next_token.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_details.py:50
Function
test_get_cloudwan_details_success
Test successful Cloud WAN details retrieval.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_details.py:30
Method
test_get_cloudwatch_client_not_initialized
Test get_cloudwatch_client when session is not initialized.
src/amazon-translate-mcp-server/tests/test_aws_client.py:778
Method
test_get_cloudwatch_client_success
Test successful creation of CloudWatch client.
src/amazon-translate-mcp-server/tests/test_aws_client.py:270
Function
test_get_cloudwatch_logs_blocked
Test that get_cloudwatch_logs is blocked when sensitive data access is disabled.
src/eks-mcp-server/tests/test_server.py:611
Method
test_get_cloudwatch_logs_cluster_resource_type
Test get_cloudwatch_logs with cluster resource type.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:335
Method
test_get_cloudwatch_logs_control_plane
Test get_cloudwatch_logs with control-plane log type.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:290
Method
test_get_cloudwatch_logs_custom_log_group
Test get_cloudwatch_logs with custom log group.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:392
Method
test_get_cloudwatch_logs_error
Test get_cloudwatch_logs with an error.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:525
Method
test_get_cloudwatch_logs_sensitive_data_access_disabled
Test get_cloudwatch_logs with sensitive data access disabled.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:500
Method
test_get_cloudwatch_logs_success
Test get_cloudwatch_logs with successful retrieval.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:148
Method
test_get_cloudwatch_logs_with_custom_parameters
Test get_cloudwatch_logs with custom filter parameters.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:228
Method
test_get_cloudwatch_logs_with_json_message
Test get_cloudwatch_logs with JSON message.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:920
Method
test_get_cloudwatch_logs_with_nested_json_message
Test get_cloudwatch_logs with nested JSON message.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:973
Method
test_get_cloudwatch_logs_without_resource_name
Test get_cloudwatch_logs without providing resource_name.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:437
Method
test_get_cloudwatch_metrics_cluster_name_mismatch
Test get_cloudwatch_metrics with ClusterName dimension not matching cluster_name parameter.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:733
Method
test_get_cloudwatch_metrics_empty_results
Test get_cloudwatch_metrics with empty results.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:774
Method
test_get_cloudwatch_metrics_error
Test get_cloudwatch_metrics with an error.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:824
Method
test_get_cloudwatch_metrics_success
Test get_cloudwatch_metrics with successful retrieval.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:559
Method
test_get_cloudwatch_metrics_with_custom_parameters
Test get_cloudwatch_metrics with custom parameters.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:659
Method
test_get_cloudwatch_metrics_with_field_objects
Test get_cloudwatch_metrics with Field objects as parameters.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:858
Method
test_get_cluster_credentials
Test _get_cluster_credentials method.
src/eks-mcp-server/tests/test_k8s_client_cache.py:313
Method
test_get_cluster_credentials_error
Test _get_cluster_credentials method with error.
src/eks-mcp-server/tests/test_k8s_client_cache.py:364
Method
test_get_cluster_credentials_missing_data
Test _get_cluster_credentials method with missing data.
src/eks-mcp-server/tests/test_k8s_client_cache.py:393
Method
test_get_cluster_nodes
Test getting cluster nodes.
src/amazon-mq-mcp-server/tests/rabbitmq/test_admin.py:181
Method
test_get_cluster_properties_client_error
Test handling of AWS ClientError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:244
Method
test_get_cluster_properties_empty_cluster_id_raises_error
Test that empty cluster_identifier raises ValueError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:183
Method
test_get_cluster_properties_empty_region_raises_error
Test that empty region raises ValueError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:188
Method
test_get_cluster_properties_empty_response
Test handling of empty DBClusters list.
src/postgres-mcp-server/tests/test_cp_api_connection.py:194
Method
test_get_cluster_properties_success
Test successfully retrieving cluster properties.
src/postgres-mcp-server/tests/test_cp_api_connection.py:204
Method
test_get_cluster_properties_with_express
Test retrieving cluster properties with express configuration.
src/postgres-mcp-server/tests/test_cp_api_connection.py:231
Method
test_get_cluster_with_custom_tags_enabled
Test that get cluster operation respects CUSTOM_TAGS when enabled.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_custom_tags_emr.py:207
Method
test_get_clusters_info
Test the get_clusters_info function.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:525
Method
test_get_clusters_info_empty
Test the get_clusters_info function with empty clusters list.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:556
Method
test_get_clusters_info_error
Test the get_clusters_info function with error.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:576
Method
test_get_codebuild_client
Property: get_codebuild_client delegates to create_aws_client with 'codebuild'.
src/aws-healthomics-mcp-server/tests/test_transport_and_multitenant_edges.py:506
Method
test_get_codeconnection_botocore_error
Test handling of BotoCoreError.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:767
Method
test_get_codeconnection_client_error
Test handling of other AWS ClientErrors.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:740
Method
test_get_codeconnection_codestar_arn
Test retrieval with codestar-connections ARN format.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:847
Method
test_get_codeconnection_error_status
Test retrieval of an ERROR status connection.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:815
Method
test_get_codeconnection_no_host_arn
Test retrieval of a connection without host_arn.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:878
Method
test_get_codeconnection_not_found
Test handling of ResourceNotFoundException.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:713
Method
test_get_codeconnection_pending_status
Test retrieval of a PENDING connection.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:681
Method
test_get_codeconnection_success
Test successful retrieval of a CodeConnection.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:615
Method
test_get_codeconnection_unexpected_error
Test handling of unexpected errors.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:791
Method
test_get_codeconnection_with_host_arn
Test retrieval of a connection with host_arn (self-managed provider).
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:648
Method
test_get_codeconnections_client_failure
Test CodeConnections client creation failure.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:514
Method
test_get_codeconnections_client_success
Test successful CodeConnections client creation.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:501
Method
test_get_cognito_token_admin_fallback_direct
Test getting Cognito token with admin fallback.
src/openapi-mcp-server/tests/auth/test_cognito_auth.py:325
Method
test_get_cognito_token_client_credentials
Test _get_cognito_token with client credentials flow.
src/openapi-mcp-server/tests/auth/test_cognito_auth_client_credentials.py:261
Method
test_get_cognito_token_not_authorized_direct
Test getting Cognito token with not authorized error.
src/openapi-mcp-server/tests/auth/test_cognito_auth.py:382
Method
test_get_cognito_token_password
Test _get_cognito_token with password flow.
src/openapi-mcp-server/tests/auth/test_cognito_auth_client_credentials.py:296
Method
test_get_cognito_token_success_direct
Test getting Cognito token successfully.
src/openapi-mcp-server/tests/auth/test_cognito_auth.py:215
Method
test_get_cognito_token_successful_auth
Test _get_cognito_token with successful authentication - covers lines 205-390.
src/openapi-mcp-server/tests/auth/test_cognito_auth_coverage_boost.py:64
Method
test_get_cognito_token_with_user_pool_id_direct
Test getting Cognito token with user pool ID.
src/openapi-mcp-server/tests/auth/test_cognito_auth.py:270
Method
test_get_collection_stats_handles_generic_exception
Test handling of generic exceptions during get_collection_stats.
src/documentdb-mcp-server/tests/test_analytic_tools.py:192
Method
test_get_collection_stats_not_configured
Test get_collection_stats when no connection string is configured.
src/documentdb-mcp-server/tests/test_analytic_tools.py:185
Method
test_get_collection_stats_success
Test successful retrieval of collection statistics.
src/documentdb-mcp-server/tests/test_analytic_tools.py:162
Method
test_get_component_error
Test getting component handles errors.
src/aws-for-sap-management-mcp-server/tests/test_applications.py:228
Method
test_get_component_success
Test getting component details.
src/aws-for-sap-management-mcp-server/tests/test_applications.py:198
Method
test_get_compute_optimizer_data_api_error
Test get_compute_optimizer_data handles API errors.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1245
Method
test_get_compute_optimizer_data_ebs_volume
Test get_compute_optimizer_data with EBS volume recommendation.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1029
Method
test_get_compute_optimizer_data_ec2_asg
Test get_compute_optimizer_data with EC2 ASG recommendation.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1054
Method
test_get_compute_optimizer_data_ec2_instance
Test get_compute_optimizer_data with EC2 instance recommendation.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1004
Method
test_get_compute_optimizer_data_ecs_service
Test get_compute_optimizer_data with ECS service recommendation.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1106
Method
test_get_compute_optimizer_data_idle_resource
Test get_compute_optimizer_data with idle resource recommendation.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:976
Method
test_get_compute_optimizer_data_lambda_function
Test get_compute_optimizer_data with Lambda function recommendation.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1081
Method
test_get_compute_optimizer_data_missing_arn
Test get_compute_optimizer_data when resource ARN is missing.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:957
Method
test_get_compute_optimizer_data_rds_instance
Test get_compute_optimizer_data with RDS instance recommendation.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1131
Method
test_get_compute_optimizer_data_rds_instance_error
An RDS API failure is reported as an error, not raised.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1200
Method
test_get_compute_optimizer_data_rds_instance_real_client
The RDS call matches the real boto3 compute-optimizer API (stubbed).
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1156
Method
test_get_compute_optimizer_data_unsupported_type
Test get_compute_optimizer_data with unsupported resource type.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1222
Method
test_get_config_cached
Test getting cached config.
src/amazon-translate-mcp-server/tests/test_config.py:338
← previous
next →
20,101–20,200 of 35,417, ranked by callers