update_member_certificate_options
¶
update_member_certificate_options(
certificate_arn: MemberCertificateArn,
options: AcmCertificateOptions,
*,
config_overrides: Optional[ACMClientConfig] = None,
) -> UpdateMemberCertificateOptionsOutput
Updates the options of an AWS Certificate Manager (ACM) certificate in a member account of the caller's organization. ACM applies the rules of its UpdateCertificateOptions operation, including which options can change after a certificate is created. For details, see UpdateCertificateOptions in the AWS Certificate Manager API Reference. An option you omit is not sent to ACM, so it is unchanged. A request that sets neither Export nor ValidationMethod returns ValidationException. The caller must be the organization's management account or its delegated administrator, Certificate actions for organizations must be on, and the call must be made in the organization's home Region. For every check and error, see RenewMemberCertificate.
Parameters:
-
certificate_arn(MemberCertificateArn) –The ARN of the certificate to update.
-
options(AcmCertificateOptions) –The options to set. Set at least one. An option you omit is not sent to ACM, so it is unchanged.
Raises:
-
AccessDeniedException–You do not have access required to perform this action.
-
ConflictException–You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure.
-
ResourceNotFoundException–The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
-
ThrottlingException–The request was denied because it exceeded a quota.
-
ValidationException–The supplied input failed to satisfy constraints of an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Move a certificate in a member account to DNS validation The certificate in account 444455556666 uses email validation, and the delegated administrator moves it to DNS validation.
>>> client.update_member_certificate_options(certificate_arn='arn:aws:acm:us-west-2:444455556666:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE22222', options={'ValidationMethod': 'DNS'})
Update the options of a certificate that does not exist
ACM in the member account has no certificate with this ARN.
>>> client.update_member_certificate_options(certificate_arn='arn:aws:acm:us-west-2:444455556666:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE22222', options={'ValidationMethod': 'DNS'})
Source code in docs_src/capo_acm/_services/acm.py
3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 | |