update_gateway
async
¶
update_gateway(
gateway_identifier: GatewayIdentifier,
name: GatewayName,
role_arn: RoleArn,
authorizer_type: AuthorizerType,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = None,
description: Optional[GatewayDescription] = None,
protocol_type: Optional[GatewayProtocolType] = None,
protocol_configuration: Optional[GatewayProtocolConfiguration] = None,
authorizer_configuration: Optional[AuthorizerConfiguration] = None,
kms_key_arn: Optional[KmsKeyArn] = None,
custom_transform_configuration: Optional[CustomTransformConfiguration] = None,
interceptor_configurations: Optional[GatewayInterceptorConfigurations] = None,
policy_engine_configuration: Optional[GatewayPolicyEngineConfiguration] = None,
exception_level: Optional[ExceptionLevel] = None,
waf_configuration: Optional[WafConfiguration] = None,
) -> UpdateGatewayResponse
Updates an existing gateway.
Parameters:
-
gateway_identifier(GatewayIdentifier) –The identifier of the gateway to update.
-
name(GatewayName) –The name of the gateway. This name must be the same as the one when the gateway was created.
-
description(Optional[GatewayDescription], default:None) –The updated description for the gateway.
-
role_arn(RoleArn) –The updated IAM role ARN that provides permissions for the gateway.
-
protocol_type(Optional[GatewayProtocolType], default:None) –The updated protocol type for the gateway.
-
authorizer_type(AuthorizerType) –The updated authorizer type for the gateway.
-
authorizer_configuration(Optional[AuthorizerConfiguration], default:None) –The updated authorizer configuration for the gateway.
-
kms_key_arn(Optional[KmsKeyArn], default:None) –The updated ARN of the KMS key used to encrypt the gateway.
-
custom_transform_configuration(Optional[CustomTransformConfiguration], default:None) –The updated custom transformation configuration for the gateway. This configuration defines how the gateway transforms requests and responses.
-
interceptor_configurations(Optional[GatewayInterceptorConfigurations], default:None) –The updated interceptor configurations for the gateway.
-
policy_engine_configuration(Optional[GatewayPolicyEngineConfiguration], default:None) –The updated policy engine configuration for the gateway. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies.
-
exception_level(Optional[ExceptionLevel], default:None) –The level of detail in error messages returned when invoking the gateway.
-
If the value is
DEBUG, granular exception messages are returned to help a user debug the gateway. -
If the value is omitted, a generic error message is returned to the end user.
-
-
waf_configuration(Optional[WafConfiguration], default:None) –The updated Amazon Web Services WAF configuration for the gateway.
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
6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 | |