update_web_app
¶
update_web_app(
web_app_id: WebAppId,
*,
config_overrides: Optional[TransferClientConfig] = None,
identity_provider_details: Optional[UpdateWebAppIdentityProviderDetails] = None,
access_endpoint: Optional[WebAppAccessEndpoint] = None,
web_app_units: Optional[WebAppUnits] = None,
endpoint_details: Optional[UpdateWebAppEndpointDetails] = None,
) -> UpdateWebAppResponse
Assigns new properties to a web app. You can modify the access point, identity provider details, endpoint configuration, and the web app units.
For more information about using VPC endpoints with Transfer Family, see Create a Transfer Family web app in a VPC.
Parameters:
-
web_app_id(WebAppId) –Provide the identifier of the web app that you are updating.
-
identity_provider_details(Optional[UpdateWebAppIdentityProviderDetails], default:None) –Provide updated identity provider values in a
WebAppIdentityProviderDetailsobject. -
access_endpoint(Optional[WebAppAccessEndpoint], default:None) –The
AccessEndpointis the URL that you provide to your users for them to interact with the Transfer Family web app. You can specify a custom URL or use the default value. -
web_app_units(Optional[WebAppUnits], default:None) –A union that contains the value for number of concurrent connections or the user sessions on your web app.
-
endpoint_details(Optional[UpdateWebAppEndpointDetails], default:None) –The updated endpoint configuration for the web app. You can modify the endpoint type and VPC configuration settings.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–This exception is thrown when the
UpdateServeris called for a file transfer protocol-enabled server that has VPC as the endpoint type and the server'sVpcEndpointIDis not in the available state. -
InternalServiceError–This exception is thrown when an error occurs in the Transfer Family service.
-
InvalidRequestException–This exception is thrown when the client submits a malformed request.
-
ResourceNotFoundException–This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_transfer/_services/transfer.py
4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 | |