update_domain_association
¶
update_domain_association(
app_id: AppId,
domain_name: DomainName,
*,
config_overrides: Optional[AmplifyClientConfig] = None,
enable_auto_sub_domain: Optional[EnableAutoSubDomain] = None,
sub_domain_settings: Optional[SubDomainSettings] = None,
auto_sub_domain_creation_patterns: Optional[AutoSubDomainCreationPatterns] = None,
auto_sub_domain_iam_role: Optional[AutoSubDomainIAMRole] = None,
certificate_settings: Optional[CertificateSettings] = None,
) -> UpdateDomainAssociationResult
Creates a new domain association for an Amplify app.
Parameters:
-
app_id(AppId) –The unique ID for an Amplify app.
-
domain_name(DomainName) –The name of the domain.
-
enable_auto_sub_domain(Optional[EnableAutoSubDomain], default:None) –Enables the automated creation of subdomains for branches.
-
sub_domain_settings(Optional[SubDomainSettings], default:None) –Describes the settings for the subdomain.
-
auto_sub_domain_creation_patterns(Optional[AutoSubDomainCreationPatterns], default:None) –Sets the branch patterns for automatic subdomain creation.
-
auto_sub_domain_iam_role(Optional[AutoSubDomainIAMRole], default:None) –The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
-
certificate_settings(Optional[CertificateSettings], default:None) –The type of SSL/TLS certificate to use for your custom domain.
Raises:
-
BadRequestException–A request contains unexpected data.
-
DependentServiceFailureException–An operation failed because a dependent service threw an exception.
-
InternalFailureException–The service failed to perform an operation due to an internal issue.
-
NotFoundException–An entity was not found during an operation.
-
UnauthorizedException–An operation failed due to a lack of access.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplify/_services/amplify.py
2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 | |