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
28288 28289 28290 28291 28292 28293 28294 28295 28296 28297 28298 28299 28300 28301 28302 28303 28304 28305 28306 28307 28308 28309 28310 28311 28312 28313 28314 28315 28316 28317 28318 28319 28320 28321 28322 28323 28324 28325 28326 28327 28328 28329 28330 28331 28332 28333 28334 28335 28336 28337 28338 28339 28340 28341 28342 28343 28344 28345 28346 28347 28348 28349 28350 28351 28352 28353 28354 28355 28356 28357 28358 28359 28360 28361 28362 28363 28364 28365 28366 28367 28368 28369 28370 28371 28372 28373 28374 28375 28376 28377 28378 28379 28380 28381 28382 28383 28384 28385 28386 28387 28388 28389 28390 28391 28392 28393 28394 28395 28396 28397 28398 | |