create_harness_endpoint
async
¶
create_harness_endpoint(
harness_id: HarnessId,
endpoint_name: HarnessEndpointName,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = None,
target_version: Optional[HarnessVersion] = None,
description: Optional[HarnessEndpointDescription] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[TagsMap] = None,
) -> CreateHarnessEndpointResponse
Operation to create a harness endpoint.
Parameters:
-
harness_id(HarnessId) –The ID of the harness to create an endpoint for.
-
endpoint_name(HarnessEndpointName) –The name of the endpoint. Must start with a letter and contain only alphanumeric characters and underscores.
-
target_version(Optional[HarnessVersion], default:None) –The harness version that the endpoint points to and serves invocations from.
-
description(Optional[HarnessEndpointDescription], default:None) –A description of the endpoint.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request.
-
tags(Optional[TagsMap], default:None) –Tags to apply to the endpoint resource.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
ConflictException–This exception is thrown when there is a conflict performing an operation
-
InternalServerException–This exception is thrown if there was an unexpected error during processing of request
-
ResourceNotFoundException–This exception is thrown when a resource referenced by the operation does not exist
-
ServiceQuotaExceededException–This exception is thrown when a request is made beyond the service quota
-
ThrottlingException–This exception is thrown when the number of requests exceeds the limit
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agentcore_control/_services/async_bedrock_agent_core_control.py
7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 | |