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
4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 | |