Skip to content

BedrockAgentCoreControlClient.update_gateway_target

rboto-bedrock-agentcore-control==0.4.0 · Service index · Types

Model summary (excerpt): Updates an existing gateway target. You cannot update a target that is in a pending authorization state ( CREATE_PENDING_AUTH , UPDATE_PENDING_AUTH , or SYNCHRONIZE_PENDING_AUTH ). Wait for the authorization to complete or fail before updating the target.

Install and imports

python -m pip install "rboto[bedrock-agentcore-control]==0.4.0"
from rboto import BedrockAgentCoreControlClient
from collections.abc import Sequence
from rboto_bedrock_agentcore_control.types import (
    CertificateConfiguration,
    CredentialProviderConfiguration,
    MetadataConfiguration,
    PrivateEndpoint,
    TargetConfiguration,
    UpdateGatewayTargetOutput,
)

Signature

async def update_gateway_target(
    *,
    gateway_identifier: str,
    target_id: str,
    target_configuration: TargetConfiguration,
    name: str | None = None,
    description: 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,
) -> UpdateGatewayTargetOutput: ...

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 unique identifier of the gateway associated with the target.
target_id Yes The unique identifier of the gateway target to update.
target_configuration Yes
name No The updated name for the gateway target.
description No The updated description for the gateway target.
credential_provider_configurations No The updated credential provider configurations for the gateway target.
metadata_configuration No Configuration for HTTP header and query parameter propagation to 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. To remove a previously...

Output

UpdateGatewayTargetOutput.

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.

CertificateConfiguration, CredentialProviderConfiguration, MetadataConfiguration, PrivateEndpoint, TargetConfiguration, UpdateGatewayTargetOutput

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.

Service guide · Pinned model