BedrockAgentCoreControlClient.create_gateway_target
rboto-bedrock-agentcore-control==0.4.0 · Service index · Types
Model summary (excerpt): Creates a target for a gateway. A target defines an endpoint that the gateway can connect to.
Install and imports
from rboto import BedrockAgentCoreControlClient
from collections.abc import Sequence
from rboto_bedrock_agentcore_control.types import (
CertificateConfiguration,
CreateGatewayTargetOutput,
CredentialProviderConfiguration,
MetadataConfiguration,
PrivateEndpoint,
TargetConfiguration,
)
Signature
async def create_gateway_target(
*,
gateway_identifier: str,
target_configuration: TargetConfiguration,
name: str | None = None,
description: str | None = None,
client_token: str | None = None,
credential_provider_configurations: Sequence[CredentialProviderConfiguration] | None = None,
metadata_configuration: MetadataConfiguration | None = None,
private_endpoint: PrivateEndpoint | None = None,
certificate_configurations: Sequence[CertificateConfiguration] | None = None,
) -> CreateGatewayTargetOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
gateway_identifier |
Yes | The identifier of the gateway to create a target for. |
target_configuration |
Yes | The configuration settings for the target, including endpoint information and schema definitions. |
name |
No | The name of the gateway target. The name must be unique within the gateway. |
description |
No | The description of the gateway target. |
client_token |
No | 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 . |
credential_provider_configurations |
No | The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint. |
metadata_configuration |
No | Optional configuration for HTTP header and query parameter propagation to and from the gateway target. |
private_endpoint |
No | The private endpoint configuration for the gateway target. Use this to connect the gateway to private resources in your VPC. |
certificate_configurations |
No | 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. |
Output
CreateGatewayTargetOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
gateway_arn |
str |
Always present | — |
target_id |
str |
Always present | — |
created_at |
str |
Always present | — |
updated_at |
str |
Always present | — |
status |
TargetStatusOutput |
Always present | TargetStatusOutput |
status_reasons |
list[str] | None |
Always present | — |
name |
str |
Always present | — |
description |
str | None |
Always present | — |
target_configuration |
TargetConfigurationOutput | None |
Always present | TargetConfigurationOutput |
credential_provider_configurations |
list[CredentialProviderConfigurationOutput] |
Always present | CredentialProviderConfigurationOutput |
last_synchronized_at |
str | None |
Always present | — |
metadata_configuration |
MetadataConfigurationOutput | None |
Always present | MetadataConfigurationOutput |
private_endpoint |
PrivateEndpointOutput | None |
Always present | PrivateEndpointOutput |
private_endpoint_managed_resources |
list[ManagedResourceDetailsOutput] | None |
Always present | ManagedResourceDetailsOutput |
authorization_data |
AuthorizationData | None |
Always present | AuthorizationData |
protocol_type |
TargetProtocolTypeOutput | None |
Always present | TargetProtocolTypeOutput |
certificate_configurations |
list[CertificateConfigurationOutput] | None |
Always present | CertificateConfigurationOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
CertificateConfiguration, CreateGatewayTargetOutput, CredentialProviderConfiguration, MetadataConfiguration, PrivateEndpoint, TargetConfiguration
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock_agentcore_control.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.