404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.149.239.180: ~ $
**Example 1: To update settings Resolver endpoint**

The following ``update-resolver-rule`` example updates the name of the rule, the IP addresses on your on-premises network that DNS queries are forwarded to, and the ID of the outbound Resolver endpoint that you're using to forward queries to your network. 

**Note** Existing values for ``TargetIps`` are overwritten, so you must specify all the IP addresses that you want the rule to have after the update. ::

    aws route53resolver update-resolver-rule \
        --resolver-rule-id rslvr-rr-1247fa64f3example \
        --config Name="my-2nd-rule",TargetIps=[{Ip=192.0.2.45,Port=53},{Ip=192.0.2.46,Port=53}],ResolverEndpointId=rslvr-out-7b89ed0d25example

Output::

    {
        "ResolverRule": {
            "Id": "rslvr-rr-1247fa64f3example",
            "CreatorRequestId": "2020-01-02-18:47",
            "Arn": "arn:aws:route53resolver:us-west-2:111122223333:resolver-rule/rslvr-rr-1247fa64f3example",
            "DomainName": "www.example.com.",
            "Status": "COMPLETE",
            "StatusMessage": "[Trace id: 1-5dcc90b9-8a8ee860aba1ebd89example] Successfully updated Resolver Rule.",
            "RuleType": "FORWARD",
            "Name": "my-2nd-rule",
            "TargetIps": [
                {
                    "Ip": "192.0.2.45",
                    "Port": 53
                },
                {
                    "Ip": "192.0.2.46",
                    "Port": 53
                }
            ],
            "ResolverEndpointId": "rslvr-out-7b89ed0d25example",
            "OwnerId": "111122223333",
            "ShareStatus": "NOT_SHARED"
        }
    }

**Example 2: To update settings Resolver endpoint using a file for ``config`` settings**

You can alternatively include the ``config`` settings in a JSON file and then specify that file when you call ``update-resolver-rule``. ::

    aws route53resolver update-resolver-rule \
        --resolver-rule-id rslvr-rr-1247fa64f3example \
        --config file://c:\temp\update-resolver-rule.json

Contents of ``update-resolver-rule.json``. ::

    {
        "Name": "my-2nd-rule",
        "TargetIps": [
            {
                "Ip": "192.0.2.45",
                "Port": 53
            },
            {
                "Ip": "192.0.2.46",
                "Port": 53
            }
        ],
        "ResolverEndpointId": "rslvr-out-7b89ed0d25example"
    }

For more information, see `Values That You Specify When You Create or Edit Rules <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver-forwarding-outbound-queries.html#resolver-forwarding-outbound-queries-rule-values>`__ in the *Amazon Route 53 Developer Guide*.

Filemanager

Name Type Size Permission Actions
associate-firewall-rule-group.rst File 1.42 KB 0644
associate-resolver-endpoint-ip-address.rst File 1.59 KB 0755
associate-resolver-rule.rst File 1.14 KB 0755
create-firewall-domain-list.rst File 1.09 KB 0644
create-firewall-rule-group.rst File 1.1 KB 0644
create-firewall-rule.rst File 1.13 KB 0644
create-resolver-endpoint.rst File 2.47 KB 0755
create-resolver-rule.rst File 1.65 KB 0755
delete-firewall-domain-list.rst File 1.09 KB 0644
delete-firewall-rule-group.rst File 1.09 KB 0644
delete-firewall-rule.rst File 1013 B 0644
delete-resolver-endpoint.rst File 1.33 KB 0755
delete-resolver-rule.rst File 1.17 KB 0755
disassociate-firewall-rule-group.rst File 1.36 KB 0644
disassociate-resolver-endpoint-ip-address.rst File 1.57 KB 0755
disassociate-resolver-rule.rst File 1.14 KB 0755
get-firewall-config.rst File 687 B 0644
get-firewall-domain-list.rst File 1.04 KB 0644
get-firewall-rule-group-association.rst File 1.34 KB 0644
get-firewall-rule-group-policy.rst File 1012 B 0644
get-firewall-rule-group.rst File 1.13 KB 0644
get-resolver-endpoint.rst File 1.41 KB 0755
get-resolver-rule-association.rst File 879 B 0755
get-resolver-rule.rst File 1.48 KB 0755
import-firewall-domains.rst File 796 B 0644
list-firewall-configs.rst File 672 B 0644
list-firewall-domain-lists.rst File 1.59 KB 0644
list-firewall-domains.rst File 629 B 0644
list-firewall-rule-group-associations.rst File 1.37 KB 0644
list-firewall-rule-groups.rst File 875 B 0644
list-firewall-rules.rst File 1.01 KB 0644
list-resolver-endpoint-ip-addresses.rst File 1.9 KB 0755
list-resolver-endpoints.rst File 1.86 KB 0755
list-resolver-rule-associations.rst File 1.29 KB 0755
list-resolver-rules.rst File 1.89 KB 0755
list-tags-for-resource.rst File 830 B 0755
put-firewall-rule-group-policy.rst File 966 B 0644
put-resolver-rule-policy.rst File 2.29 KB 0755
tag-resource.rst File 665 B 0755
untag-resource.rst File 780 B 0755
update-firewall-config.rst File 706 B 0644
update-firewall-domains.rst File 746 B 0644
update-firewall-rule-group-association.rst File 1.39 KB 0644
update-firewall-rule.rst File 1.04 KB 0644
update-resolver-endpoint.rst File 1.08 KB 0755
update-resolver-rule.rst File 2.68 KB 0755