create_gateway_target
¶
create_gateway_target(
gateway_identifier: GatewayIdentifier,
target_configuration: TargetConfiguration,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
name: Optional[TargetName] = None,
description: Optional[TargetDescription] = None,
client_token: Optional[ClientToken] = None,
credential_provider_configurations: Optional[
CredentialProviderConfigurations
] = None,
metadata_configuration: Optional[MetadataConfiguration] = None,
private_endpoint: Optional[PrivateEndpoint] = None,
certificate_configurations: Optional[CertificateConfigurationList] = None,
) -> CreateGatewayTargetResponse
Creates a target for a gateway. A target defines an endpoint that the gateway can connect to.
Parameters:
-
gateway_identifier(GatewayIdentifier) –The identifier of the gateway to create a target for.
-
name(Optional[TargetName], default:None) –The name of the gateway target. The name must be unique within the gateway.
-
description(Optional[TargetDescription], default:None) –The description of the gateway target.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
-
target_configuration(TargetConfiguration) –The configuration settings for the target, including endpoint information and schema definitions.
-
credential_provider_configurations(Optional[CredentialProviderConfigurations], default:None) –The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.
-
metadata_configuration(Optional[MetadataConfiguration], default:None) –Optional configuration for HTTP header and query parameter propagation to and from the gateway target.
-
private_endpoint(Optional[PrivateEndpoint], default:None) –The private endpoint configuration for the gateway target. Use this to connect the gateway to private resources in your VPC.
-
certificate_configurations(Optional[CertificateConfigurationList], default:None) –The private certificate authority (CA) configurations for the gateway target. Use this to have the gateway trust a private CA when it establishes TLS connections to the target endpoint. Provide each certificate by reference to an Amazon S3 object or an Amazon Web Services Secrets Manager secret. You can specify only one certificate authority configuration in this list.
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
7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 | |