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
28674 28675 28676 28677 28678 28679 28680 28681 28682 28683 28684 28685 28686 28687 28688 28689 28690 28691 28692 28693 28694 28695 28696 28697 28698 28699 28700 28701 28702 28703 28704 28705 28706 28707 28708 28709 28710 28711 28712 28713 28714 28715 28716 28717 28718 28719 28720 28721 28722 28723 28724 28725 28726 28727 28728 28729 28730 28731 28732 28733 28734 28735 28736 28737 28738 28739 28740 28741 28742 28743 28744 28745 28746 28747 28748 28749 28750 28751 28752 28753 28754 28755 28756 28757 28758 28759 28760 28761 28762 28763 28764 28765 28766 28767 28768 28769 28770 28771 28772 28773 28774 28775 28776 28777 28778 28779 28780 28781 28782 28783 28784 28785 | |