update_outpost_resolver
¶
update_outpost_resolver(
id: ResourceId,
*,
config_overrides: Optional[Route53ResolverClientConfig] = None,
name: Optional[OutpostResolverName] = None,
instance_count: Optional[InstanceCount] = None,
preferred_instance_type: Optional[OutpostInstanceType] = None,
) -> UpdateOutpostResolverResponse
You can use UpdateOutpostResolver to update the instance count, type, or name of a Resolver on an Outpost.
This operation applies to first-generation Outposts only. On second-generation Outposts, Resolver is managed automatically by Amazon Web Services and can't be updated directly.
Parameters:
-
id(ResourceId) –A unique string that identifies Resolver on an Outpost.
-
name(Optional[OutpostResolverName], default:None) –Name of the Resolver on the Outpost.
-
instance_count(Optional[InstanceCount], default:None) –The Amazon EC2 instance count for a Resolver on the Outpost.
-
preferred_instance_type(Optional[OutpostInstanceType], default:None) –Amazon EC2 instance type.
Raises:
-
AccessDeniedException–The current account doesn't have the IAM permissions required to perform the specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
-
ConflictException–The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
-
InternalServiceErrorException–We encountered an unknown error. Try again in a few minutes.
-
ResourceNotFoundException–The specified resource doesn't exist.
-
ServiceQuotaExceededException–Fulfilling the request would cause one or more quotas to be exceeded.
-
ThrottlingException–The request was throttled. Try again in a few minutes.
-
ValidationException–You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa domain. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_route53resolver/_services/route53_resolver.py
4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 | |