update_member_certificate_options
async
¶
update_member_certificate_options(
certificate_arn: MemberCertificateArn,
options: AcmCertificateOptions,
*,
config_overrides: Optional[AsyncACMClientConfig] = 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.
>>> await 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.
>>> await 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/async_acm.py
3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 | |