create_web_app
async
¶
create_web_app(
identity_provider_details: WebAppIdentityProviderDetails,
*,
config_overrides: Optional[AsyncTransferClientConfig] = None,
access_endpoint: Optional[WebAppAccessEndpoint] = None,
web_app_units: Optional[WebAppUnits] = None,
tags: Optional[Tags] = None,
web_app_endpoint_policy: Optional[WebAppEndpointPolicy] = None,
endpoint_details: Optional[WebAppEndpointDetails] = None,
) -> CreateWebAppResponse
Creates a web app based on specified parameters, and returns the ID for the new web app. You can configure the web app to be publicly accessible or hosted within a VPC.
For more information about using VPC endpoints with Transfer Family, see Create a Transfer Family web app in a VPC.
Parameters:
-
identity_provider_details(WebAppIdentityProviderDetails) –You can provide a structure that contains the details for the identity provider to use with your web app.
For more details about this parameter, see Configure your identity provider for Transfer Family web apps.
-
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.Before you enter a custom URL for this parameter, follow the steps described in Update your access endpoint with a custom URL.
-
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.
-
tags(Optional[Tags], default:None) –Key-value pairs that can be used to group and search for web apps.
-
web_app_endpoint_policy(Optional[WebAppEndpointPolicy], default:None) –Setting for the type of endpoint policy for the web app. The default value is
STANDARD.If you are creating the web app in an Amazon Web Services GovCloud (US) Region, you can set this parameter to
FIPS. -
endpoint_details(Optional[WebAppEndpointDetails], default:None) –The endpoint configuration for the web app. You can specify whether the web app endpoint is publicly accessible or hosted within a VPC.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
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
4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 | |