update_agent_context
¶
update_agent_context(
profile_arn: AgentProfileArn,
id: UUID,
*,
config_overrides: Optional[WellArchitectedClientConfig] = None,
client_token: Optional[str] = None,
title: Optional[SensitiveString] = None,
content: Optional[ContextContent] = None,
) -> UpdateAgentContextResponse
Updates an existing context associated with a profile.
Parameters:
-
client_token(Optional[str], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
profile_arn(AgentProfileArn) –The Amazon Resource Name (ARN) of the profile containing the context.
-
id(UUID) –The unique identifier of the context to update.
-
title(Optional[SensitiveString], default:None) –The updated title of the context.
-
content(Optional[ContextContent], default:None) –The updated typed content of the context. The structure contains application-specific fields such as account IDs, Regions, services, and resource types.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–There is a problem with the Well-Architected Tool API service.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The user input is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_wellarchitected/_services/well_architected.py
5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 | |