create_harness_endpoint
¶
create_harness_endpoint(
harness_id: HarnessId,
endpoint_name: HarnessEndpointName,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = 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/bedrock_agent_core_control.py
7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 | |