update_outpost_resolver
async
¶
update_outpost_resolver(
id: ResourceId,
*,
config_overrides: Optional[AsyncRoute53ResolverClientConfig] = 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/async_route53_resolver.py
4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 | |