Skip to content

get_managed_firewall_domain_list

get_managed_firewall_domain_list(
    managed_firewall_domain_list_id: ResourceId,
    *,
    config_overrides: Optional[Route53GlobalResolverClientConfig] = None,
) -> GetManagedFirewallDomainListOutput

Retrieves information about an Amazon Web Services-managed firewall domain list. Managed domain lists contain domains associated with malicious activity, content categories, or specific threats.

Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon Web Services CLI commands.

Parameters:

  • managed_firewall_domain_list_id (ResourceId) –

    ID of the Managed Domain List.

Raises:

Source code in docs_src/capo_route53globalresolver/_services/route53_global_resolver.py
def get_managed_firewall_domain_list(
    self,
    managed_firewall_domain_list_id: "capo_route53globalresolver.types.resource_id.ResourceId",
    *,
    config_overrides: Optional[Route53GlobalResolverClientConfig] = None,
) -> "capo_route53globalresolver.types.get_managed_firewall_domain_list_output.GetManagedFirewallDomainListOutput":
    """<p>Retrieves information about an Amazon Web Services-managed firewall domain list. Managed domain lists contain domains associated with malicious activity, content categories, or specific threats.</p> <important> <p>Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify <code>--region us-east-2</code> on Amazon Web Services CLI commands.</p> </important>

    Args:
        managed_firewall_domain_list_id: <p>ID of the Managed Domain List.</p>

    Raises:
        capo_route53globalresolver.errors.access_denied_exception.AccessDeniedException: <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
        capo_route53globalresolver.errors.internal_server_exception.InternalServerException: <p>An internal server error occurred. Try again later.</p>
        capo_route53globalresolver.errors.resource_not_found_exception.ResourceNotFoundException: <p>The specified resource was not found. Verify the resource ID and try again.</p>
        capo_route53globalresolver.errors.throttling_exception.ThrottlingException: <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
        capo_route53globalresolver.errors.validation_exception.ValidationException: <p>The input parameters are invalid. Check the parameter values and try again.</p>
        capo_route53globalresolver.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_route53globalresolver.types.get_managed_firewall_domain_list_input.GetManagedFirewallDomainListInput]",
    ) -> OperationResponse[
        "capo_route53globalresolver.types.get_managed_firewall_domain_list_output.GetManagedFirewallDomainListOutput"
    ]:
        import capo_route53globalresolver._operations.ec2_dns_global_resolver_customer_api.get_managed_firewall_domain_list

        output, http_response = (
            capo_route53globalresolver._operations.ec2_dns_global_resolver_customer_api.get_managed_firewall_domain_list.get_managed_firewall_domain_list(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetManagedFirewallDomainList")
    )
    input_: capo_route53globalresolver.types.get_managed_firewall_domain_list_input.GetManagedFirewallDomainListInput = {
        "managed_firewall_domain_list_id": managed_firewall_domain_list_id
    }

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output