update_security_profile
async
¶
update_security_profile(
security_profile_id: SecurityProfileId,
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
description: Optional[SecurityProfileDescription] = None,
permissions: Optional[PermissionsList] = None,
allowed_access_control_tags: Optional[AllowedAccessControlTags] = None,
tag_restricted_resources: Optional[TagRestrictedResourceList] = None,
applications: Optional[Applications] = None,
hierarchy_restricted_resources: Optional[HierarchyRestrictedResourceList] = None,
allowed_access_control_hierarchy_group_id: Optional[HierarchyGroupId] = None,
allowed_flow_modules: Optional[AllowedFlowModules] = None,
allowed_ai_agents: Optional[AllowedAIAgents] = None,
granular_access_control_configuration: Optional[
GranularAccessControlConfiguration
] = None,
) -> None
Updates a security profile.
For information about security profiles, see Security Profiles in the Connect Customer Administrator Guide. For a mapping of the API name and user interface name of the security profile permissions, see List of security profile permissions.
Parameters:
-
description(Optional[SecurityProfileDescription], default:None) –The description of the security profile.
-
permissions(Optional[PermissionsList], default:None) –The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
-
security_profile_id(SecurityProfileId) –The identifier for the security profle.
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
allowed_access_control_tags(Optional[AllowedAccessControlTags], default:None) –The list of tags that a security profile uses to restrict access to resources in Connect Customer.
-
tag_restricted_resources(Optional[TagRestrictedResourceList], default:None) –The list of resources that a security profile applies tag restrictions to in Connect Customer.
-
applications(Optional[Applications], default:None) –A list of the third-party application's metadata.
-
hierarchy_restricted_resources(Optional[HierarchyRestrictedResourceList], default:None) –The list of resources that a security profile applies hierarchy restrictions to in Connect Customer. Following are acceptable ResourceNames:
User. -
allowed_access_control_hierarchy_group_id(Optional[HierarchyGroupId], default:None) –The identifier of the hierarchy group that a security profile uses to restrict access to resources in Connect Customer.
-
allowed_flow_modules(Optional[AllowedFlowModules], default:None) –A list of Flow Modules an AI Agent can invoke as a tool
-
allowed_ai_agents(Optional[AllowedAIAgents], default:None) –A list of AI agents that the security profile will give access to.
-
granular_access_control_configuration(Optional[GranularAccessControlConfiguration], default:None) –The granular access control configuration for the security profile, including data table permissions.
Raises:
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
28988 28989 28990 28991 28992 28993 28994 28995 28996 28997 28998 28999 29000 29001 29002 29003 29004 29005 29006 29007 29008 29009 29010 29011 29012 29013 29014 29015 29016 29017 29018 29019 29020 29021 29022 29023 29024 29025 29026 29027 29028 29029 29030 29031 29032 29033 29034 29035 29036 29037 29038 29039 29040 29041 29042 29043 29044 29045 29046 29047 29048 29049 29050 29051 29052 29053 29054 29055 29056 29057 29058 29059 29060 29061 29062 29063 29064 29065 29066 29067 29068 29069 29070 29071 29072 29073 29074 29075 29076 29077 29078 29079 29080 29081 29082 29083 29084 29085 29086 29087 29088 29089 29090 29091 29092 29093 29094 29095 29096 29097 29098 29099 | |