create_gateway_target
async
¶
create_gateway_target(
gateway_identifier: GatewayIdentifier,
target_configuration: TargetConfiguration,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = 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/async_bedrock_agent_core_control.py
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 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 | |