update_security_profile
¶
update_security_profile(
security_profile_id: SecurityProfileId,
instance_id: InstanceId,
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
28599 28600 28601 28602 28603 28604 28605 28606 28607 28608 28609 28610 28611 28612 28613 28614 28615 28616 28617 28618 28619 28620 28621 28622 28623 28624 28625 28626 28627 28628 28629 28630 28631 28632 28633 28634 28635 28636 28637 28638 28639 28640 28641 28642 28643 28644 28645 28646 28647 28648 28649 28650 28651 28652 28653 28654 28655 28656 28657 28658 28659 28660 28661 28662 28663 28664 28665 28666 28667 28668 28669 28670 28671 28672 28673 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 | |