update_web_app
async
¶
update_web_app(
web_app_id: WebAppId,
*,
config_overrides: Optional[AsyncTransferClientConfig] = 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/async_transfer.py
4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 | |