update_gateway_target
async
¶
update_gateway_target(
gateway_identifier: GatewayIdentifier,
target_id: TargetId,
target_configuration: TargetConfiguration,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = None,
name: Optional[TargetName] = None,
description: Optional[TargetDescription] = None,
credential_provider_configurations: Optional[
CredentialProviderConfigurations
] = None,
metadata_configuration: Optional[MetadataConfiguration] = None,
private_endpoint: Optional[PrivateEndpoint] = None,
certificate_configurations: Optional[CertificateConfigurationList] = None,
) -> UpdateGatewayTargetResponse
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.
Parameters:
-
gateway_identifier(GatewayIdentifier) –The unique identifier of the gateway associated with the target.
-
target_id(TargetId) –The unique identifier of the gateway target to update.
-
name(Optional[TargetName], default:None) –The updated name for the gateway target.
-
description(Optional[TargetDescription], default:None) –The updated description for the gateway target.
-
credential_provider_configurations(Optional[CredentialProviderConfigurations], default:None) –The updated credential provider configurations for the gateway target.
-
metadata_configuration(Optional[MetadataConfiguration], default:None) –Configuration for HTTP header and query parameter propagation to 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. To remove a previously configured certificate authority, omit this field on update.
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
7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 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 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 | |