How to use get_resolver_query_log_config method in localstack

Best Python code snippet using localstack_python

client.pyi

Source:client.pyi Github

copy

Full Screen

...442 endpoint.443 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/route53resolver.html#Route53Resolver.Client.get_resolver_endpoint)444 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_route53resolver/client.html#get_resolver_endpoint)445 """446 def get_resolver_query_log_config(447 self, *, ResolverQueryLogConfigId: str448 ) -> GetResolverQueryLogConfigResponseTypeDef:449 """450 Gets information about a specified Resolver query logging configuration, such as451 the number of VPCs that the configuration is logging queries for and the452 location that logs are sent to.453 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/route53resolver.html#Route53Resolver.Client.get_resolver_query_log_config)454 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_route53resolver/client.html#get_resolver_query_log_config)455 """456 def get_resolver_query_log_config_association(457 self, *, ResolverQueryLogConfigAssociationId: str458 ) -> GetResolverQueryLogConfigAssociationResponseTypeDef:459 """460 Gets information about a specified association between a Resolver query logging...

Full Screen

Full Screen

provider.py

Source:provider.py Github

copy

Full Screen

...491 route53resolver_backends[context.region].tagger.tag_resource(arn, tags or [])492 return CreateResolverQueryLogConfigResponse(493 ResolverQueryLogConfig=resolver_query_log_config494 )495 def get_resolver_query_log_config(496 self, context: RequestContext, resolver_query_log_config_id: ResourceId497 ) -> GetResolverQueryLogConfigResponse:498 region_details = Route53ResolverBackend.get()499 resolver_query_log_config: ResolverQueryLogConfig = (500 region_details.get_resolver_query_log_config(resolver_query_log_config_id)501 )502 return GetResolverQueryLogConfigResponse(ResolverQueryLogConfig=resolver_query_log_config)503 def delete_resolver_query_log_config(504 self, context: RequestContext, resolver_query_log_config_id: ResourceId505 ) -> DeleteResolverQueryLogConfigResponse:506 region_details = Route53ResolverBackend.get()507 resolver_query_log_config: ResolverQueryLogConfig = (508 region_details.delete_resolver_query_log_config(resolver_query_log_config_id)509 )510 return DeleteResolverQueryLogConfigResponse(511 ResolverQueryLogConfig=resolver_query_log_config512 )513 def list_resolver_query_log_configs(514 self,...

Full Screen

Full Screen

models.py

Source:models.py Github

copy

Full Screen

...82 # if firewall_rules doesn't exist it will throw an error83 firewall_rule = self.get_firewall_rule(firewall_rule_group_id, firewall_domain_list_id)84 self.firewall_rules.get(firewall_rule_group_id, {}).pop(firewall_domain_list_id)85 return firewall_rule86 def get_resolver_query_log_config(self, id):87 """returns resolver query log config with the given id if it exists"""88 resolver_query_log_config = self.resolver_query_log_configs.get(id)89 if not resolver_query_log_config:90 raise ResourceNotFoundException(91 f"[RSLVR-01601] The specified query logging configuration doesn't exist. Trace Id: '{aws_stack.get_trace_id()}'"92 )93 return resolver_query_log_config94 def delete_resolver_query_log_config(self, id):95 """deletes the resolver query log config with the given id"""96 self.get_resolver_query_log_config(id)97 resolver_query_log_config = self.resolver_query_log_configs.pop(id)98 return resolver_query_log_config99 def get_resolver_query_log_config_associations(self, id):100 """returns resolver query log config association with the given id if it exists"""101 resolver_query_log_config_association = self.resolver_query_log_config_associations.get(id)102 if not resolver_query_log_config_association:103 raise ResourceNotFoundException(104 f"[RSLVR-01601] The specified query logging configuration doesn't exist. Trace Id: '{aws_stack.get_trace_id()}'"105 )106 return resolver_query_log_config_association107 def delete_resolver_query_log_config_associations(108 self, resolver_query_log_config_id, resource_id109 ):110 """deletes the resolver query log config association with the given id and vpc id"""...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run localstack automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful