

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 查看和更新 Amazon Route 53 Profiles
<a name="profiles-editing"></a>

选择控制台选项卡，查看和编辑 Route 53 配置文件。选择 CLI 选项卡 AWS CLI ，用于列出您拥有的、由您共享或与您共享的个人资料。
+ [控制台](#profile-editing-console)
+ [CLI](#profile-editing-CLI)

------
#### [ Console ]<a name="profile-editing-procedure"></a>

**查看和更新 Route 53 配置文件**

1. 登录 AWS Management Console 并打开 Route 53 控制台，网址为[https://console.aws.amazon.com/route53/](https://console.aws.amazon.com/route53/)。

1. 在导航窗格中，选择**配置文件**。

1. 选择要查看或编辑的配置文件名称旁边的按钮。

1. 在 **<配置文件名称>** 页面上，可以查看当前关联的 DNS 资源、关联新的资源以及编辑标签和 VPC 配置。

------
#### [ CLI ]

您可以通过运行如下 AWS CLI 命令来列出配置文件：

`aws route53profiles list-profiles`

以下是运行此命令后的示例输出。

```
{
    "ProfileSummaries": [
        {
            "Arn": "arn:aws:route53profiles:us-east-1:123456789012:profile/rp-4987774726example",
            "Id": "rp-4987774726example",
            "Name": "test",
            "ShareStatus": "NOT_SHARED"
        }
    ]
}
```

您可以运行如下 AWS CLI 命令并对 `profile-association-id` 使用自己的值，从而获取与此配置文件关联的特定 VPC 的信息：

`aws route53profiles get-profile-association --profile-association-id rpassoc-489ce212fexample`

以下是运行此命令后的示例输出。

```
   "ProfileAssociation": {
        "CreationTime": 1709338817.148,
        "Id": "rrpassoc-489ce212fexample",
        "ModificationTime": 1709338974.772,
        "Name": "test-association",
        "OwnerId": "123456789012",
        "ProfileId": "rp-4987774726example",
        "ResourceId": "vpc-0af3b96b3example",
        "Status": "COMPLETE",
        "StatusMessage": "Created Profile Association"
    }   ]
}
```

------

## 删除 Amazon Route 53 配置文件
<a name="profiles-deleting"></a>

选择一个选项卡，使用 Route 53 控制台删除 Route 53 配置文件，或者 AWS CLI。
+ [控制台](#profile-delete-console)
+ [CLI](#profile-delete-CLI)

------
#### [ Console ]<a name="profile-deleting-procedure"></a>

**删除 Route 53 配置文件**

1. 登录 AWS Management Console 并打开 Route 53 控制台，网址为[https://console.aws.amazon.com/route53/](https://console.aws.amazon.com/route53/)。

1. 在导航窗格中，选择**配置文件**。

1. 选择要删除的配置文件旁边的单选按钮，然后选择**删除**。
**重要**  
如果个人资料与关联，则无法将其删除 VPCs。此外，如果将配置文件共享给其他人 AWS 账户，则与 VPCs 该配置文件配置关联的任何配置都将丢失这些配置。

1. 在 **删除 <配置文件名称>** 对话框中，键入 **confirm**，然后选择**删除**。

------
#### [ CLI ]

**重要**  
如果个人资料与关联，则无法将其删除 VPCs。此外，如果将配置文件共享给其他人 AWS 账户，则与 VPCs 该配置文件配置关联的任何配置都将丢失这些配置。

您可以通过运行如下 AWS CLI 命令并使用自己的值来删除配置文件`profile-id`：

`aws route53profiles delete-profile --profile-id rp-6ffe47d5example`

以下是运行此命令后的示例输出。

```
{
    "Profile": {
        "Arn": "arn:aws:route53profiles:us-east-1:123456789012:profile/rp-6ffe47d5example",
        "ClientToken": "0a15fec0-05d9-4f78-bec0-EXAMPLE11111",
        "CreationTime": 1710850903.578,
        "Id": "rp-6ffe47d5example",
        "ModificationTime": 1710850903.578,
        "Name": "test",
        "OwnerId": "123456789012",
        "ShareStatus": "NOT_SHARED",
        "Status": "DELETED",
        "StatusMessage": "Deleted Profile"
    }
}
```

------