update_gateway_target
¶
update_gateway_target(
gateway_identifier: GatewayIdentifier,
target_id: TargetId,
target_configuration: TargetConfiguration,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = 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/bedrock_agent_core_control.py
7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 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 | |