modify_saml_properties
async
¶
modify_saml_properties(
resource_id: DirectoryId,
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = None,
saml_properties: Optional[SamlProperties] = None,
properties_to_delete: Optional[DeletableSamlPropertiesList] = None,
) -> ModifySamlPropertiesResult
Modifies multiple properties related to SAML 2.0 authentication, including the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
Parameters:
-
resource_id(DirectoryId) –The directory identifier for which you want to configure SAML properties.
-
saml_properties(Optional[SamlProperties], default:None) –The properties for configuring SAML 2.0 authentication.
-
properties_to_delete(Optional[DeletableSamlPropertiesList], default:None) –The SAML properties to delete as part of your request.
Specify one of the following options:
-
SAML_PROPERTIES_USER_ACCESS_URLto delete the user access URL. -
SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAMEto delete the relay state parameter name.
-
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
InvalidParameterValuesException–One or more parameter values are not valid.
-
OperationNotSupportedException–This operation is not supported.
-
ResourceNotFoundException–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces/_services/async_work_spaces.py
4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 | |