

# Route 53 Profiles
<a name="API_Operations_Route_53_Profiles"></a>

The following actions are supported by Route 53 Profiles:
+  [AssociateProfile](API_route53profiles_AssociateProfile.md) 
+  [AssociateResourceToProfile](API_route53profiles_AssociateResourceToProfile.md) 
+  [CreateProfile](API_route53profiles_CreateProfile.md) 
+  [DeleteProfile](API_route53profiles_DeleteProfile.md) 
+  [DisassociateProfile](API_route53profiles_DisassociateProfile.md) 
+  [DisassociateResourceFromProfile](API_route53profiles_DisassociateResourceFromProfile.md) 
+  [GetProfile](API_route53profiles_GetProfile.md) 
+  [GetProfileAssociation](API_route53profiles_GetProfileAssociation.md) 
+  [GetProfileResourceAssociation](API_route53profiles_GetProfileResourceAssociation.md) 
+  [ListProfileAssociations](API_route53profiles_ListProfileAssociations.md) 
+  [ListProfileResourceAssociations](API_route53profiles_ListProfileResourceAssociations.md) 
+  [ListProfiles](API_route53profiles_ListProfiles.md) 
+  [ListTagsForResource](API_route53profiles_ListTagsForResource.md) 
+  [TagResource](API_route53profiles_TagResource.md) 
+  [UntagResource](API_route53profiles_UntagResource.md) 
+  [UpdateProfileResourceAssociation](API_route53profiles_UpdateProfileResourceAssociation.md) 

# AssociateProfile
<a name="API_route53profiles_AssociateProfile"></a>

 Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with 1000 of VPCs (and you can request a higher quota). For more information, see [https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities). 

## Request Syntax
<a name="API_route53profiles_AssociateProfile_RequestSyntax"></a>

```
POST /profileassociation HTTP/1.1
Content-type: application/json

{
   "Name": "string",
   "ProfileId": "string",
   "ResourceId": "string",
   "Tags": [ 
      { 
         "Key": "string",
         "Value": "string"
      }
   ]
}
```

## URI Request Parameters
<a name="API_route53profiles_AssociateProfile_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_route53profiles_AssociateProfile_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Name](#API_route53profiles_AssociateProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_AssociateProfile-request-Name"></a>
 A name for the association.   
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 64.  
Pattern: `(?!^[0-9]+$)([a-zA-Z0-9\-_' ']+)`   
Required: Yes

 ** [ProfileId](#API_route53profiles_AssociateProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_AssociateProfile-request-ProfileId"></a>
 ID of the Profile.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [ResourceId](#API_route53profiles_AssociateProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_AssociateProfile-request-ResourceId"></a>
 The ID of the VPC.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [Tags](#API_route53profiles_AssociateProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_AssociateProfile-request-Tags"></a>
 A list of the tag keys and values that you want to identify the Profile association.   
Type: Array of [Tag](API_route53profiles_Tag.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 200 items.  
Required: No

## Response Syntax
<a name="API_route53profiles_AssociateProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ProfileAssociation": { 
      "CreationTime": number,
      "Id": "string",
      "ModificationTime": number,
      "Name": "string",
      "OwnerId": "string",
      "ProfileId": "string",
      "ResourceId": "string",
      "Status": "string",
      "StatusMessage": "string"
   }
}
```

## Response Elements
<a name="API_route53profiles_AssociateProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ProfileAssociation](#API_route53profiles_AssociateProfile_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_AssociateProfile-response-ProfileAssociation"></a>
 The association that you just created. The association has an ID that you can use to identify it in other requests, such as update and delete.   
Type: [ProfileAssociation](API_route53profiles_ProfileAssociation.md) object

## Errors
<a name="API_route53profiles_AssociateProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** ConflictException **   
 The request you submitted conflicts with an existing request.   
HTTP Status Code: 400

 ** InvalidParameterException **   
 One or more parameters in this request are not valid.     
 ** FieldName **   
 The parameter field name for the invalid parameter exception. 
HTTP Status Code: 400

 ** LimitExceededException **   
 The request caused one or more limits to be exceeded.     
 ** ResourceType **   
 The resource type that caused the limits to be exceeded. 
HTTP Status Code: 400

 ** ResourceExistsException **   
 The resource you are trying to associate, has already been associated.     
 ** ResourceType **   
 The resource type that caused the resource exists exception. 
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_AssociateProfile_Examples"></a>

### AssociateProfile Example
<a name="API_route53profiles_AssociateProfile_Example_1"></a>

This example illustrates one usage of AssociateProfile.

#### Sample Request
<a name="API_route53profiles_AssociateProfile_Example_1_Request"></a>

```
POST /profileassociation HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
Content-Length: 103
X-Amz-Date:20240319T222051Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Content-Type: application/json
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20191101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=content-type;host;x-amz-date;x-amz-security-token
    Signature=[calculated-signature]
{
    "Name": "test-association", 
    "ProfileId": "rp-4987774726example", 
    "ResourceId": "vpc-0af3b96b3example"
}
```

#### Sample Response
<a name="API_route53profiles_AssociateProfile_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 22:20:51 GMT
Content-Type: application/json
Content-Length: 322
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-sdds-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a32afsdfd3example
{
    "ProfileAssociation": {        
        "CreationTime": 1710886843.849,
        "Id": "rpassoc-489ce212fexample",
        "ModificationTime": 1710886843.849,
        "Name": "test-association",
        "OwnerId": "123456789012",
        "ProfileId": "rp-4987774726example",
        "ResourceId": "vpc-0af3b96b3example",
        "Status": "CREATING",
        "StatusMessage": "Creating Profile Association"
    }
}
```

## See Also
<a name="API_route53profiles_AssociateProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/AssociateProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/AssociateProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/AssociateProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/AssociateProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/AssociateProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/AssociateProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/AssociateProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/AssociateProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/AssociateProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/AssociateProfile) 

# AssociateResourceToProfile
<a name="API_route53profiles_AssociateResourceToProfile"></a>

 Associates a DNS resource configuration to a Route 53 Profile. 

## Request Syntax
<a name="API_route53profiles_AssociateResourceToProfile_RequestSyntax"></a>

```
POST /profileresourceassociation HTTP/1.1
Content-type: application/json

{
   "Name": "string",
   "ProfileId": "string",
   "ResourceArn": "string",
   "ResourceProperties": "string"
}
```

## URI Request Parameters
<a name="API_route53profiles_AssociateResourceToProfile_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_route53profiles_AssociateResourceToProfile_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Name](#API_route53profiles_AssociateResourceToProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_AssociateResourceToProfile-request-Name"></a>
 Name for the resource association.   
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 64.  
Pattern: `(?!^[0-9]+$)([a-zA-Z0-9\-_' ']+)`   
Required: Yes

 ** [ProfileId](#API_route53profiles_AssociateResourceToProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_AssociateResourceToProfile-request-ProfileId"></a>
 ID of the Profile.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [ResourceArn](#API_route53profiles_AssociateResourceToProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_AssociateResourceToProfile-request-ResourceArn"></a>
 Amazon resource number, ARN, of the resource to associate. Either a private hosted zone, DNS Firewall rule group, Resolver rule, or an interface VPC endpoint.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

 ** [ResourceProperties](#API_route53profiles_AssociateResourceToProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_AssociateResourceToProfile-request-ResourceProperties"></a>
 If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value.   
The allowed values for priority are between 100 and 9900.  
Type: String  
Required: No

## Response Syntax
<a name="API_route53profiles_AssociateResourceToProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ProfileResourceAssociation": { 
      "CreationTime": number,
      "Id": "string",
      "ModificationTime": number,
      "Name": "string",
      "OwnerId": "string",
      "ProfileId": "string",
      "ResourceArn": "string",
      "ResourceProperties": "string",
      "ResourceType": "string",
      "Status": "string",
      "StatusMessage": "string"
   }
}
```

## Response Elements
<a name="API_route53profiles_AssociateResourceToProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ProfileResourceAssociation](#API_route53profiles_AssociateResourceToProfile_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_AssociateResourceToProfile-response-ProfileResourceAssociation"></a>
 Infromation about the `AssociateResourceToProfile`, including a status message.   
Type: [ProfileResourceAssociation](API_route53profiles_ProfileResourceAssociation.md) object

## Errors
<a name="API_route53profiles_AssociateResourceToProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** ConflictException **   
 The request you submitted conflicts with an existing request.   
HTTP Status Code: 400

 ** InternalServiceErrorException **   
 An internal server error occured. Retry your request.   
HTTP Status Code: 400

 ** InvalidParameterException **   
 One or more parameters in this request are not valid.     
 ** FieldName **   
 The parameter field name for the invalid parameter exception. 
HTTP Status Code: 400

 ** LimitExceededException **   
 The request caused one or more limits to be exceeded.     
 ** ResourceType **   
 The resource type that caused the limits to be exceeded. 
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_AssociateResourceToProfile_Examples"></a>

### AssociateResourceToProfile Example
<a name="API_route53profiles_AssociateResourceToProfile_Example_1"></a>

This example illustrates one usage of AssociateResourceToProfile.

#### Sample Request
<a name="API_route53profiles_AssociateResourceToProfile_Example_1_Request"></a>

```
POST /profileresourceassociation HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
Content-Length: 508
X-Amz-Date:20240319T223820Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Content-Type: application/json
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=content-type;host;x-amz-date;x-amz-security-token
    Signature=[calculated-signature]
{
    "Name": "test-resource-association", 
    "ProfileId": "rp-4987774726example", 
    "ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example", 
    "ResourceProperties": "{\\"priority\\": 102}"
}
```

#### Sample Response
<a name="API_route53profiles_AssociateResourceToProfile_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 22:38:21 GMT
Content-Type: application/json
Content-Length: 508
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a32afdfsd3example
{
    "ProfileResourceAssociation": {
        "CreationTime": 1710887901.139,
        "Id": "rpr-001913120a7example",
        "ModificationTime": 1710887901.139,
        "Name": "test-resource-association",
        "OwnerId": "123456789012",
        "ProfileId": "rp-4987774726example",
        "ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example",
        "ResourceProperties": "{\"priority\":102}",
        "ResourceType": "FIREWALL_RULE_GROUP",
        "Status": "UPDATING",
        "StatusMessage": "Updating the Profile to DNS Firewall rule group association"
    }
}
```

## See Also
<a name="API_route53profiles_AssociateResourceToProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/AssociateResourceToProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/AssociateResourceToProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/AssociateResourceToProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/AssociateResourceToProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/AssociateResourceToProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/AssociateResourceToProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/AssociateResourceToProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/AssociateResourceToProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/AssociateResourceToProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/AssociateResourceToProfile) 

# CreateProfile
<a name="API_route53profiles_CreateProfile"></a>

 Creates an empty Route 53 Profile. 

## Request Syntax
<a name="API_route53profiles_CreateProfile_RequestSyntax"></a>

```
POST /profile HTTP/1.1
Content-type: application/json

{
   "ClientToken": "string",
   "Name": "string",
   "Tags": [ 
      { 
         "Key": "string",
         "Value": "string"
      }
   ]
}
```

## URI Request Parameters
<a name="API_route53profiles_CreateProfile_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_route53profiles_CreateProfile_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ClientToken](#API_route53profiles_CreateProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_CreateProfile-request-ClientToken"></a>
 `ClientToken` is an idempotency token that ensures a call to `CreateProfile` completes only once. You choose the value to pass. For example, an issue might prevent you from getting a response from `CreateProfile`. In this case, safely retry your call to `CreateProfile` by using the same `CreateProfile` parameter value.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

 ** [Name](#API_route53profiles_CreateProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_CreateProfile-request-Name"></a>
 A name for the Profile.   
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 64.  
Pattern: `(?!^[0-9]+$)([a-zA-Z0-9\-_' ']+)`   
Required: Yes

 ** [Tags](#API_route53profiles_CreateProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_CreateProfile-request-Tags"></a>
 A list of the tag keys and values that you want to associate with the Route 53 Profile.   
Type: Array of [Tag](API_route53profiles_Tag.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 200 items.  
Required: No

## Response Syntax
<a name="API_route53profiles_CreateProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Profile": { 
      "Arn": "string",
      "ClientToken": "string",
      "CreationTime": number,
      "Id": "string",
      "ModificationTime": number,
      "Name": "string",
      "OwnerId": "string",
      "ShareStatus": "string",
      "Status": "string",
      "StatusMessage": "string"
   }
}
```

## Response Elements
<a name="API_route53profiles_CreateProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Profile](#API_route53profiles_CreateProfile_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_CreateProfile-response-Profile"></a>
 The Profile that you just created.   
Type: [Profile](API_route53profiles_Profile.md) object

## Errors
<a name="API_route53profiles_CreateProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** InvalidParameterException **   
 One or more parameters in this request are not valid.     
 ** FieldName **   
 The parameter field name for the invalid parameter exception. 
HTTP Status Code: 400

 ** LimitExceededException **   
 The request caused one or more limits to be exceeded.     
 ** ResourceType **   
 The resource type that caused the limits to be exceeded. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_CreateProfile_Examples"></a>

### CreateProfile Example
<a name="API_route53profiles_CreateProfile_Example_1"></a>

This example illustrates one usage of CreateProfile.

#### Sample Request
<a name="API_route53profiles_CreateProfile_Example_1_Request"></a>

```
POST /profile HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
Content-Length: 71
X-Amz-Date:20240319T214228Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Content-Type: application/json
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=content-type;host;x-amz-date;x-amz-security-token
    Signature=[calculated-signature]
{
    "Name": "test", 
    "ClientToken": "c60a235a-e786-40bc-a5a4-f12EXAMPLE"
}
```

#### Sample Response
<a name="API_route53profiles_CreateProfile_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 21:53:14 GMT
Content-Type: application/json
Content-Length: 371
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a32afdfsd3example
{
    "Profile": {
        "Arn": "arn:aws:route53profiles:us-east-1:123456789012:profile/rp-6ffe47d5example",        
        "ClientToken": "c60a235a-e786-40bc-a5a4-f12EXAMPLE",
        "CreationTime": 1710885194.55,
        "Id": "rp-6ffe47d5example",        
        "ModificationTime": 1710885194.55,
        "Name": "test",
        "OwnerId": "123456789012",
        "ShareStatus": "NOT_SHARED",
        "Status": "COMPLETE",
        "StatusMessage": "Created Profile"
    }
}
```

## See Also
<a name="API_route53profiles_CreateProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/CreateProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/CreateProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/CreateProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/CreateProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/CreateProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/CreateProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/CreateProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/CreateProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/CreateProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/CreateProfile) 

# DeleteProfile
<a name="API_route53profiles_DeleteProfile"></a>

 Deletes the specified Route 53 Profile. Before you can delete a profile, you must first disassociate it from all VPCs. 

## Request Syntax
<a name="API_route53profiles_DeleteProfile_RequestSyntax"></a>

```
DELETE /profile/ProfileId HTTP/1.1
```

## URI Request Parameters
<a name="API_route53profiles_DeleteProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ProfileId](#API_route53profiles_DeleteProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_DeleteProfile-request-uri-ProfileId"></a>
 The ID of the Profile that you want to delete.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

## Request Body
<a name="API_route53profiles_DeleteProfile_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_route53profiles_DeleteProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Profile": { 
      "Arn": "string",
      "ClientToken": "string",
      "CreationTime": number,
      "Id": "string",
      "ModificationTime": number,
      "Name": "string",
      "OwnerId": "string",
      "ShareStatus": "string",
      "Status": "string",
      "StatusMessage": "string"
   }
}
```

## Response Elements
<a name="API_route53profiles_DeleteProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Profile](#API_route53profiles_DeleteProfile_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_DeleteProfile-response-Profile"></a>
 Information about the `DeleteProfile` request, including the status of the request.   
Type: [Profile](API_route53profiles_Profile.md) object

## Errors
<a name="API_route53profiles_DeleteProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** ConflictException **   
 The request you submitted conflicts with an existing request.   
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_DeleteProfile_Examples"></a>

### DeleteProfile Example
<a name="API_route53profiles_DeleteProfile_Example_1"></a>

This example illustrates one usage of DeleteProfile.

#### Sample Request
<a name="API_route53profiles_DeleteProfile_Example_1_Request"></a>

```
DELETE /profile/rp-6ffe47d5example HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
Content-Length: 0
X-Amz-Date:20240319T234733Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Content-Type: application/json
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=content-type;host;x-amz-date;x-amz-security-token
    Signature=[calculated-signature]
{} # RequestBody is empty
```

#### Sample Response
<a name="API_route53profiles_DeleteProfile_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 23:47:33 GMT
Content-Type: application/json
Content-Length: 374
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a32afdfsd3example
{
    "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": 1710892012.553,    
        "Name": "test",
        "OwnerId": "123456789012",
        "ShareStatus": "NOT_SHARED",
        "Status": "DELETED",
        "StatusMessage": "Deleted Profile"
    }
```

## See Also
<a name="API_route53profiles_DeleteProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/DeleteProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/DeleteProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/DeleteProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/DeleteProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/DeleteProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/DeleteProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/DeleteProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/DeleteProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/DeleteProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/DeleteProfile) 

# DisassociateProfile
<a name="API_route53profiles_DisassociateProfile"></a>

 Dissociates a specified Route 53 Profile from the specified VPC. 

## Request Syntax
<a name="API_route53profiles_DisassociateProfile_RequestSyntax"></a>

```
DELETE /profileassociation/Profileid/ProfileId/resourceid/ResourceId HTTP/1.1
```

## URI Request Parameters
<a name="API_route53profiles_DisassociateProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ProfileId](#API_route53profiles_DisassociateProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_DisassociateProfile-request-uri-ProfileId"></a>
 ID of the Profile.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [ResourceId](#API_route53profiles_DisassociateProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_DisassociateProfile-request-uri-ResourceId"></a>
 The ID of the VPC.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

## Request Body
<a name="API_route53profiles_DisassociateProfile_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_route53profiles_DisassociateProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ProfileAssociation": { 
      "CreationTime": number,
      "Id": "string",
      "ModificationTime": number,
      "Name": "string",
      "OwnerId": "string",
      "ProfileId": "string",
      "ResourceId": "string",
      "Status": "string",
      "StatusMessage": "string"
   }
}
```

## Response Elements
<a name="API_route53profiles_DisassociateProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ProfileAssociation](#API_route53profiles_DisassociateProfile_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_DisassociateProfile-response-ProfileAssociation"></a>
 Information about the `DisassociateProfile` request.   
Type: [ProfileAssociation](API_route53profiles_ProfileAssociation.md) object

## Errors
<a name="API_route53profiles_DisassociateProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** InvalidParameterException **   
 One or more parameters in this request are not valid.     
 ** FieldName **   
 The parameter field name for the invalid parameter exception. 
HTTP Status Code: 400

 ** LimitExceededException **   
 The request caused one or more limits to be exceeded.     
 ** ResourceType **   
 The resource type that caused the limits to be exceeded. 
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_DisassociateProfile_Examples"></a>

### DissociateProfile Example
<a name="API_route53profiles_DisassociateProfile_Example_1"></a>

This example illustrates one usage of DisassociateProfile.

#### Sample Request
<a name="API_route53profiles_DisassociateProfile_Example_1_Request"></a>

```
DELETE /profileassociation/Profileid/rp-4987774726example/resourceid/vpc-0af3b96b3example HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
Content-Length: 0
X-Amz-Date:20240319T234136Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Content-Type: application/json
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=content-type;host;x-amz-date;x-amz-security-token
    Signature=[calculated-signature]
{} # RequestBody is empty
```

#### Sample Response
<a name="API_route53profiles_DisassociateProfile_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 23:41:36 GMT
Content-Type: application/json
Content-Length: 322
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a32afdfsd3example

{
    "ProfileAssociation": {
        "CreationTime": 1710886843.849,
        "Id": "rpassoc-489ce212fexample",
        "ModificationTime": 1710891696.208,
        "Name": "test-association",
        "OwnerId": "123456789012",
        "ProfileId": "rp-4987774726example",
        "ResourceId": "vpc-0af3b96b3example",
        "Status": "DELETING",
        "StatusMessage": "Deleting Profile Association"
    }
}
```

## See Also
<a name="API_route53profiles_DisassociateProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/DisassociateProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/DisassociateProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/DisassociateProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/DisassociateProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/DisassociateProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/DisassociateProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/DisassociateProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/DisassociateProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/DisassociateProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/DisassociateProfile) 

# DisassociateResourceFromProfile
<a name="API_route53profiles_DisassociateResourceFromProfile"></a>

 Dissoaciated a specified resource, from the Route 53 Profile. 

## Request Syntax
<a name="API_route53profiles_DisassociateResourceFromProfile_RequestSyntax"></a>

```
DELETE /profileresourceassociation/profileid/ProfileId/resourcearn/ResourceArn HTTP/1.1
```

## URI Request Parameters
<a name="API_route53profiles_DisassociateResourceFromProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ProfileId](#API_route53profiles_DisassociateResourceFromProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_DisassociateResourceFromProfile-request-uri-ProfileId"></a>
 The ID of the Profile.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [ResourceArn](#API_route53profiles_DisassociateResourceFromProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_DisassociateResourceFromProfile-request-uri-ResourceArn"></a>
The Amazon Resource Name (ARN) of the resource.   
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Request Body
<a name="API_route53profiles_DisassociateResourceFromProfile_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_route53profiles_DisassociateResourceFromProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ProfileResourceAssociation": { 
      "CreationTime": number,
      "Id": "string",
      "ModificationTime": number,
      "Name": "string",
      "OwnerId": "string",
      "ProfileId": "string",
      "ResourceArn": "string",
      "ResourceProperties": "string",
      "ResourceType": "string",
      "Status": "string",
      "StatusMessage": "string"
   }
}
```

## Response Elements
<a name="API_route53profiles_DisassociateResourceFromProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ProfileResourceAssociation](#API_route53profiles_DisassociateResourceFromProfile_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_DisassociateResourceFromProfile-response-ProfileResourceAssociation"></a>
 Information about the `DisassociateResourceFromProfile` request, including the status of the request.   
Type: [ProfileResourceAssociation](API_route53profiles_ProfileResourceAssociation.md) object

## Errors
<a name="API_route53profiles_DisassociateResourceFromProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** ConflictException **   
 The request you submitted conflicts with an existing request.   
HTTP Status Code: 400

 ** InternalServiceErrorException **   
 An internal server error occured. Retry your request.   
HTTP Status Code: 400

 ** InvalidParameterException **   
 One or more parameters in this request are not valid.     
 ** FieldName **   
 The parameter field name for the invalid parameter exception. 
HTTP Status Code: 400

 ** LimitExceededException **   
 The request caused one or more limits to be exceeded.     
 ** ResourceType **   
 The resource type that caused the limits to be exceeded. 
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_DisassociateResourceFromProfile_Examples"></a>

### DissociateProfile Example
<a name="API_route53profiles_DisassociateResourceFromProfile_Example_1"></a>

This example illustrates one usage of DisassociateResourceFromProfile.

#### Sample Request
<a name="API_route53profiles_DisassociateResourceFromProfile_Example_1_Request"></a>

```
DELETE /profileresourceassociation/profileid/rp-4987774726example/resourcearn/arn%3Aaws%3Aroute53resolver%3Aus-east-1%123456789012%3Afirewall-rule-group%2Frslvr-frg-cfe7f72example HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
Content-Length: 0
X-Amz-Date:20240319T222606Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=host;x-amz-date;x-amz-security-token
    Signature=[calculated-signature]
# RequestBody is empty
```

#### Sample Response
<a name="API_route53profiles_DisassociateResourceFromProfile_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 22:26:06 GMT
Content-Type: application/json
Content-Length: 508
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a325ab8example

{
    "ProfileResourceAssociation": {
        "CreationTime": 1710887120.062,
        "Id": "rpr-001913120a7example",        
        "ModificationTime": 1710887166.643,
        "Name": "test-resource-association",
        "OwnerId": "123456789012",
        "ProfileId": "rp-4987774726example",
        "ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example",
        "ResourceProperties": "{\"priority\":105}",
        "ResourceType": "FIREWALL_RULE_GROUP",
        "Status": "DELETING",
        "StatusMessage": "Deleting the Profile to DNS Firewall rule group association"
    }
}
```

## See Also
<a name="API_route53profiles_DisassociateResourceFromProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/DisassociateResourceFromProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/DisassociateResourceFromProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/DisassociateResourceFromProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/DisassociateResourceFromProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/DisassociateResourceFromProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/DisassociateResourceFromProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/DisassociateResourceFromProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/DisassociateResourceFromProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/DisassociateResourceFromProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/DisassociateResourceFromProfile) 

# GetProfile
<a name="API_route53profiles_GetProfile"></a>

 Returns information about a specified Route 53 Profile, such as whether whether the Profile is shared, and the current status of the Profile. 

## Request Syntax
<a name="API_route53profiles_GetProfile_RequestSyntax"></a>

```
GET /profile/ProfileId HTTP/1.1
```

## URI Request Parameters
<a name="API_route53profiles_GetProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ProfileId](#API_route53profiles_GetProfile_RequestSyntax) **   <a name="Route53Profiles-route53profiles_GetProfile-request-uri-ProfileId"></a>
 ID of the Profile.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

## Request Body
<a name="API_route53profiles_GetProfile_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_route53profiles_GetProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Profile": { 
      "Arn": "string",
      "ClientToken": "string",
      "CreationTime": number,
      "Id": "string",
      "ModificationTime": number,
      "Name": "string",
      "OwnerId": "string",
      "ShareStatus": "string",
      "Status": "string",
      "StatusMessage": "string"
   }
}
```

## Response Elements
<a name="API_route53profiles_GetProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Profile](#API_route53profiles_GetProfile_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_GetProfile-response-Profile"></a>
 Information about the Profile, including the status of the Profile.   
Type: [Profile](API_route53profiles_Profile.md) object

## Errors
<a name="API_route53profiles_GetProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_GetProfile_Examples"></a>

### GetProfile Example
<a name="API_route53profiles_GetProfile_Example_1"></a>

This example illustrates one usage of GetProfile.

#### Sample Request
<a name="API_route53profiles_GetProfile_Example_1_Request"></a>

```
GET /profile/rp-4987774726example HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
X-Amz-Date:20240319T224652Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=host;x-amz-date;x-amz-security-token
    Signature=[calculated-signature]
{} # RequestBody is empty
```

#### Sample Response
<a name="API_route53profiles_GetProfile_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 22:46:52 GMT
Content-Type: application/json
Content-Length: 373
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a325ab8example

{
    "Profile": {
        "Arn": "arn:aws:route53profiles:us-east-1:123456789012:profile/rp-4987774726example",
        "ClientToken": "0cbc5ae7-4921-4204-bea9-EXAMPLE11111",
        "CreationTime": 1710851044.288,
        "Id": "rp-4987774726example",
        "ModificationTime": 1710851044.288,
        "Name": "test",
        "OwnerId": "123456789012",
        "ShareStatus": "NOT_SHARED",
        "Status": "COMPLETE",
        "StatusMessage": "Created Profile"
    }
}
```

## See Also
<a name="API_route53profiles_GetProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/GetProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/GetProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/GetProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/GetProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/GetProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/GetProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/GetProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/GetProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/GetProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/GetProfile) 

# GetProfileAssociation
<a name="API_route53profiles_GetProfileAssociation"></a>

 Retrieves a Route 53 Profile association for a VPC. A VPC can have only one Profile association, but a Profile can be associated with up to 5000 VPCs. 

## Request Syntax
<a name="API_route53profiles_GetProfileAssociation_RequestSyntax"></a>

```
GET /profileassociation/ProfileAssociationId HTTP/1.1
```

## URI Request Parameters
<a name="API_route53profiles_GetProfileAssociation_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ProfileAssociationId](#API_route53profiles_GetProfileAssociation_RequestSyntax) **   <a name="Route53Profiles-route53profiles_GetProfileAssociation-request-uri-ProfileAssociationId"></a>
 The identifier of the association you want to get information about.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

## Request Body
<a name="API_route53profiles_GetProfileAssociation_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_route53profiles_GetProfileAssociation_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ProfileAssociation": { 
      "CreationTime": number,
      "Id": "string",
      "ModificationTime": number,
      "Name": "string",
      "OwnerId": "string",
      "ProfileId": "string",
      "ResourceId": "string",
      "Status": "string",
      "StatusMessage": "string"
   }
}
```

## Response Elements
<a name="API_route53profiles_GetProfileAssociation_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ProfileAssociation](#API_route53profiles_GetProfileAssociation_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_GetProfileAssociation-response-ProfileAssociation"></a>
 Information about the Profile association that you specified in a `GetProfileAssociation` request.   
Type: [ProfileAssociation](API_route53profiles_ProfileAssociation.md) object

## Errors
<a name="API_route53profiles_GetProfileAssociation_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_GetProfileAssociation_Examples"></a>

### GetProfileAssociation Example
<a name="API_route53profiles_GetProfileAssociation_Example_1"></a>

This example illustrates one usage of GetProfileAssociation.

#### Sample Request
<a name="API_route53profiles_GetProfileAssociation_Example_1_Request"></a>

```
GET /profileassociation/rpassoc-489ce212fexample HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
X-Amz-Date:20240319T230136Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=host;x-amz-date;x-amz-security-token
    Signature=[calculated-signature]
{} # RequestBody is empty
```

#### Sample Response
<a name="API_route53profiles_GetProfileAssociation_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 23:01:36 GMT
Content-Type: application/json
Content-Length: 321
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a325ab8example
{
    "ProfileAssociation": {
        "CreationTime": 1710886843.849,
        "Id": "rrpassoc-489ce212fexample",
        "ModificationTime": 1710886989.178,
        "Name": "test-association",
        "OwnerId": "123456789012",
        "ProfileId": "rp-4987774726example",
        "ResourceId": "vpc-0af3b96b3example",
        "Status": "COMPLETE",
        "StatusMessage": "Created Profile Association"
    }
}
```

## See Also
<a name="API_route53profiles_GetProfileAssociation_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/GetProfileAssociation) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/GetProfileAssociation) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/GetProfileAssociation) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/GetProfileAssociation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/GetProfileAssociation) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/GetProfileAssociation) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/GetProfileAssociation) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/GetProfileAssociation) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/GetProfileAssociation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/GetProfileAssociation) 

# GetProfileResourceAssociation
<a name="API_route53profiles_GetProfileResourceAssociation"></a>

 Returns information about a specified Route 53 Profile resource association. 

## Request Syntax
<a name="API_route53profiles_GetProfileResourceAssociation_RequestSyntax"></a>

```
GET /profileresourceassociation/ProfileResourceAssociationId HTTP/1.1
```

## URI Request Parameters
<a name="API_route53profiles_GetProfileResourceAssociation_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ProfileResourceAssociationId](#API_route53profiles_GetProfileResourceAssociation_RequestSyntax) **   <a name="Route53Profiles-route53profiles_GetProfileResourceAssociation-request-uri-ProfileResourceAssociationId"></a>
 The ID of the profile resource association that you want to get information about.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

## Request Body
<a name="API_route53profiles_GetProfileResourceAssociation_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_route53profiles_GetProfileResourceAssociation_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ProfileResourceAssociation": { 
      "CreationTime": number,
      "Id": "string",
      "ModificationTime": number,
      "Name": "string",
      "OwnerId": "string",
      "ProfileId": "string",
      "ResourceArn": "string",
      "ResourceProperties": "string",
      "ResourceType": "string",
      "Status": "string",
      "StatusMessage": "string"
   }
}
```

## Response Elements
<a name="API_route53profiles_GetProfileResourceAssociation_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ProfileResourceAssociation](#API_route53profiles_GetProfileResourceAssociation_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_GetProfileResourceAssociation-response-ProfileResourceAssociation"></a>
 Information about the Profile resource association that you specified in a `GetProfileResourceAssociation` request.   
Type: [ProfileResourceAssociation](API_route53profiles_ProfileResourceAssociation.md) object

## Errors
<a name="API_route53profiles_GetProfileResourceAssociation_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** InvalidParameterException **   
 One or more parameters in this request are not valid.     
 ** FieldName **   
 The parameter field name for the invalid parameter exception. 
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_GetProfileResourceAssociation_Examples"></a>

### GetProfileResourceAssociation Example
<a name="API_route53profiles_GetProfileResourceAssociation_Example_1"></a>

This example illustrates one usage of GetProfileResourceAssociation.

#### Sample Request
<a name="API_route53profiles_GetProfileResourceAssociation_Example_1_Request"></a>

```
GET /profileresourceassociation/rpr-001913120a7example HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
X-Amz-Date:20240319T231134Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=host;x-amz-date;x-amz-security-token
    Signature=[calculated-signature]
{} # RequestBody is empty
```

#### Sample Response
<a name="API_route53profiles_GetProfileResourceAssociation_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 23:11:34 GMT
Content-Type: application/json
Content-Length: 517
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a325ab8example
{
    "ProfileResourceAssociation": {
        "CreationTime": 1710887901.139,
        "Id": "rpr-001913120a7example",
        "ModificationTime": 1710887901.139,
        "Name": "test-resource-association",
        "OwnerId": "123456789012",
        "ProfileId": "rp-4987774726example",
        "ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example",
        "ResourceProperties": "{\"priority\":105}",
        "ResourceType": "FIREWALL_RULE_GROUP",
        "Status": "COMPLETE",
        "StatusMessage": "Completed creation of Profile to DNS Firewall rule group association"
    }
}
```

## See Also
<a name="API_route53profiles_GetProfileResourceAssociation_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/GetProfileResourceAssociation) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/GetProfileResourceAssociation) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/GetProfileResourceAssociation) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/GetProfileResourceAssociation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/GetProfileResourceAssociation) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/GetProfileResourceAssociation) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/GetProfileResourceAssociation) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/GetProfileResourceAssociation) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/GetProfileResourceAssociation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/GetProfileResourceAssociation) 

# ListProfileAssociations
<a name="API_route53profiles_ListProfileAssociations"></a>

 Lists all the VPCs that the specified Route 53 Profile is associated with. 

## Request Syntax
<a name="API_route53profiles_ListProfileAssociations_RequestSyntax"></a>

```
GET /profileassociations?maxResults=MaxResults&nextToken=NextToken&profileId=ProfileId&resourceId=ResourceId HTTP/1.1
```

## URI Request Parameters
<a name="API_route53profiles_ListProfileAssociations_RequestParameters"></a>

The request uses the following URI parameters.

 ** [MaxResults](#API_route53profiles_ListProfileAssociations_RequestSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileAssociations-request-uri-MaxResults"></a>
 The maximum number of objects that you want to return for this request. If more objects are available, in the response, a `NextToken` value, which you can use in a subsequent call to get the next batch of objects, is provided.  
 If you don't specify a value for `MaxResults`, up to 100 objects are returned.   
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_route53profiles_ListProfileAssociations_RequestSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileAssociations-request-uri-NextToken"></a>
 For the first call to this list request, omit this value.   
When you request a list of objects, at most the number of objects specified by `MaxResults` is returned. If more objects are available for retrieval, a `NextToken` value is returned in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.

 ** [ProfileId](#API_route53profiles_ListProfileAssociations_RequestSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileAssociations-request-uri-ProfileId"></a>
 ID of the Profile.   
Length Constraints: Minimum length of 1. Maximum length of 64.

 ** [ResourceId](#API_route53profiles_ListProfileAssociations_RequestSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileAssociations-request-uri-ResourceId"></a>
 ID of the VPC.   
Length Constraints: Minimum length of 1. Maximum length of 64.

## Request Body
<a name="API_route53profiles_ListProfileAssociations_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_route53profiles_ListProfileAssociations_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "ProfileAssociations": [ 
      { 
         "CreationTime": number,
         "Id": "string",
         "ModificationTime": number,
         "Name": "string",
         "OwnerId": "string",
         "ProfileId": "string",
         "ResourceId": "string",
         "Status": "string",
         "StatusMessage": "string"
      }
   ]
}
```

## Response Elements
<a name="API_route53profiles_ListProfileAssociations_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_route53profiles_ListProfileAssociations_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileAssociations-response-NextToken"></a>
 If more than `MaxResults` profile associations match the specified criteria, you can submit another `ListProfileAssociations` request to get the next group of results. In the next request, specify the value of `NextToken` from the previous response.   
Type: String

 ** [ProfileAssociations](#API_route53profiles_ListProfileAssociations_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileAssociations-response-ProfileAssociations"></a>
 A complex type that containts settings information about the profile's VPC associations.   
Type: Array of [ProfileAssociation](API_route53profiles_ProfileAssociation.md) objects

## Errors
<a name="API_route53profiles_ListProfileAssociations_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** InvalidNextTokenException **   
 The `NextToken` you provided isn;t valid.   
HTTP Status Code: 400

 ** InvalidParameterException **   
 One or more parameters in this request are not valid.     
 ** FieldName **   
 The parameter field name for the invalid parameter exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_ListProfileAssociations_Examples"></a>

### ListProfileAssociations Example
<a name="API_route53profiles_ListProfileAssociations_Example_1"></a>

This example illustrates one usage of ListProfileAssociations.

#### Sample Request
<a name="API_route53profiles_ListProfileAssociations_Example_1_Request"></a>

```
GET /profileassociations HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
X-Amz-Date:20240319T231359Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=host;x-amz-date;x-amz-security-token
    Signature=[calculated-signature]
{} # RequestBody is empty
```

#### Sample Response
<a name="API_route53profiles_ListProfileAssociations_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 23:14:00 GMT
Content-Type: application/json
Content-Length: 552
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a325ab8example
{
    "ProfileAssociations": [
        {
            "CreationTime": 1710887901.139,
            "Id": "rpassoc-489ce212fexample",
            "ModificationTime": 1710887901.139,
            "Name": "test-association",
            "OwnerId": "123456789012",
            "ProfileId": "rp-4987774726example",
            "ResourceId": "vpc-0af3b96b3example",
            "Status": "COMPLETE",
            "StatusMessage": "Created Profile Association"
        }
    ]
}
```

## See Also
<a name="API_route53profiles_ListProfileAssociations_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/ListProfileAssociations) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/ListProfileAssociations) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/ListProfileAssociations) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/ListProfileAssociations) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/ListProfileAssociations) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/ListProfileAssociations) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/ListProfileAssociations) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/ListProfileAssociations) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/ListProfileAssociations) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/ListProfileAssociations) 

# ListProfileResourceAssociations
<a name="API_route53profiles_ListProfileResourceAssociations"></a>

 Lists all the resource associations for the specified Route 53 Profile. 

## Request Syntax
<a name="API_route53profiles_ListProfileResourceAssociations_RequestSyntax"></a>

```
GET /profileresourceassociations/profileid/ProfileId?maxResults=MaxResults&nextToken=NextToken&resourceType=ResourceType HTTP/1.1
```

## URI Request Parameters
<a name="API_route53profiles_ListProfileResourceAssociations_RequestParameters"></a>

The request uses the following URI parameters.

 ** [MaxResults](#API_route53profiles_ListProfileResourceAssociations_RequestSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileResourceAssociations-request-uri-MaxResults"></a>
 The maximum number of objects that you want to return for this request. If more objects are available, in the response, a `NextToken` value, which you can use in a subsequent call to get the next batch of objects, is provided.  
 If you don't specify a value for `MaxResults`, up to 100 objects are returned.   
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_route53profiles_ListProfileResourceAssociations_RequestSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileResourceAssociations-request-uri-NextToken"></a>
 For the first call to this list request, omit this value.   
When you request a list of objects, at most the number of objects specified by `MaxResults` is returned. If more objects are available for retrieval, a `NextToken` value is returned in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.

 ** [ProfileId](#API_route53profiles_ListProfileResourceAssociations_RequestSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileResourceAssociations-request-uri-ProfileId"></a>
 The ID of the Profile.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [ResourceType](#API_route53profiles_ListProfileResourceAssociations_RequestSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileResourceAssociations-request-uri-ResourceType"></a>
 ID of a resource if you want information on only one type. 

## Request Body
<a name="API_route53profiles_ListProfileResourceAssociations_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_route53profiles_ListProfileResourceAssociations_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "ProfileResourceAssociations": [ 
      { 
         "CreationTime": number,
         "Id": "string",
         "ModificationTime": number,
         "Name": "string",
         "OwnerId": "string",
         "ProfileId": "string",
         "ResourceArn": "string",
         "ResourceProperties": "string",
         "ResourceType": "string",
         "Status": "string",
         "StatusMessage": "string"
      }
   ]
}
```

## Response Elements
<a name="API_route53profiles_ListProfileResourceAssociations_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_route53profiles_ListProfileResourceAssociations_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileResourceAssociations-response-NextToken"></a>
 If more than `MaxResults` resource associations match the specified criteria, you can submit another `ListProfileResourceAssociations` request to get the next group of results. In the next request, specify the value of `NextToken` from the previous response.   
Type: String

 ** [ProfileResourceAssociations](#API_route53profiles_ListProfileResourceAssociations_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_ListProfileResourceAssociations-response-ProfileResourceAssociations"></a>
 Information about the profile resource association that you specified in a `GetProfileResourceAssociation` request.   
Type: Array of [ProfileResourceAssociation](API_route53profiles_ProfileResourceAssociation.md) objects

## Errors
<a name="API_route53profiles_ListProfileResourceAssociations_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** InternalServiceErrorException **   
 An internal server error occured. Retry your request.   
HTTP Status Code: 400

 ** InvalidNextTokenException **   
 The `NextToken` you provided isn;t valid.   
HTTP Status Code: 400

 ** InvalidParameterException **   
 One or more parameters in this request are not valid.     
 ** FieldName **   
 The parameter field name for the invalid parameter exception. 
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_ListProfileResourceAssociations_Examples"></a>

### ListProfileResourceAssociations Example
<a name="API_route53profiles_ListProfileResourceAssociations_Example_1"></a>

This example illustrates one usage of ListProfileResourceAssociations.

#### Sample Request
<a name="API_route53profiles_ListProfileResourceAssociations_Example_1_Request"></a>

```
GET /profileresourceassociations/profileid/rp-4987774726example HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
X-Amz-Date:20240319T231834Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=host;x-amz-date;x-amz-security-token
    Signature=[calculated-signature]
{} # RequestBody is empty
```

#### Sample Response
<a name="API_route53profiles_ListProfileResourceAssociations_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 23:18:34 GMT
Content-Type: application/json
Content-Length: 520
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a325ab8example
{
    "ProfileResourceAssociations": [
        {
            "CreationTime": 1710851216.613,
            "Id": "rpr-001913120a7example",
            "ModificationTime": 1710851216.613,
            "Name": "test-resource-association",
            "OwnerId": "123456789012",
            "ProfileId": "rp-4987774726example",
            "ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example",
            "ResourceProperties": "{\"priority\":102}",
            "ResourceType": "FIREWALL_RULE_GROUP",
            "Status": "COMPLETE",
            "StatusMessage": "Completed creation of Profile to DNS Firewall rule group association"
        }
    ]
}
```

## See Also
<a name="API_route53profiles_ListProfileResourceAssociations_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/ListProfileResourceAssociations) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/ListProfileResourceAssociations) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/ListProfileResourceAssociations) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/ListProfileResourceAssociations) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/ListProfileResourceAssociations) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/ListProfileResourceAssociations) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/ListProfileResourceAssociations) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/ListProfileResourceAssociations) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/ListProfileResourceAssociations) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/ListProfileResourceAssociations) 

# ListProfiles
<a name="API_route53profiles_ListProfiles"></a>

 Lists all the Route 53 Profiles associated with your AWS account. 

## Request Syntax
<a name="API_route53profiles_ListProfiles_RequestSyntax"></a>

```
GET /profiles?maxResults=MaxResults&nextToken=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_route53profiles_ListProfiles_RequestParameters"></a>

The request uses the following URI parameters.

 ** [MaxResults](#API_route53profiles_ListProfiles_RequestSyntax) **   <a name="Route53Profiles-route53profiles_ListProfiles-request-uri-MaxResults"></a>
 The maximum number of objects that you want to return for this request. If more objects are available, in the response, a `NextToken` value, which you can use in a subsequent call to get the next batch of objects, is provided.  
 If you don't specify a value for `MaxResults`, up to 100 objects are returned.   
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_route53profiles_ListProfiles_RequestSyntax) **   <a name="Route53Profiles-route53profiles_ListProfiles-request-uri-NextToken"></a>
 For the first call to this list request, omit this value.   
When you request a list of objects, at most the number of objects specified by `MaxResults` is returned. If more objects are available for retrieval, a `NextToken` value is returned in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.

## Request Body
<a name="API_route53profiles_ListProfiles_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_route53profiles_ListProfiles_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "ProfileSummaries": [ 
      { 
         "Arn": "string",
         "Id": "string",
         "Name": "string",
         "ShareStatus": "string"
      }
   ]
}
```

## Response Elements
<a name="API_route53profiles_ListProfiles_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_route53profiles_ListProfiles_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_ListProfiles-response-NextToken"></a>
 If more than `MaxResults` resource associations match the specified criteria, you can submit another `ListProfiles` request to get the next group of results. In the next request, specify the value of `NextToken` from the previous response.   
Type: String

 ** [ProfileSummaries](#API_route53profiles_ListProfiles_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_ListProfiles-response-ProfileSummaries"></a>
 Summary information about the Profiles.   
Type: Array of [ProfileSummary](API_route53profiles_ProfileSummary.md) objects

## Errors
<a name="API_route53profiles_ListProfiles_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** InvalidNextTokenException **   
 The `NextToken` you provided isn;t valid.   
HTTP Status Code: 400

 ** InvalidParameterException **   
 One or more parameters in this request are not valid.     
 ** FieldName **   
 The parameter field name for the invalid parameter exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_ListProfiles_Examples"></a>

### ListProfiles Example
<a name="API_route53profiles_ListProfiles_Example_1"></a>

This example illustrates one usage of ListProfiles.

#### Sample Request
<a name="API_route53profiles_ListProfiles_Example_1_Request"></a>

```
GET /profiles HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
X-Amz-Date:20240319T213047Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=host;x-amz-date;x-amz-security-token, 
    Signature=[calculated-signature]
# Request body is empty
```

#### Sample Response
<a name="API_route53profiles_ListProfiles_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 21:30:47 GMT
Content-Type: application/json
Content-Length: 373
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a325ab8example
{
    "ProfileSummaries": [
        {
            "Arn": "arn:aws:route53profiles:us-east-1:123456789012:profile/rp-4987774726example",
            "Id": "rp-4987774726example",
            "Name": "test",
            "ShareStatus": "NOT_SHARED"
        }
    ]
}
```

## See Also
<a name="API_route53profiles_ListProfiles_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/ListProfiles) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/ListProfiles) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/ListProfiles) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/ListProfiles) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/ListProfiles) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/ListProfiles) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/ListProfiles) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/ListProfiles) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/ListProfiles) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/ListProfiles) 

# ListTagsForResource
<a name="API_route53profiles_ListTagsForResource"></a>

 Lists the tags that you associated with the specified resource. 

## Request Syntax
<a name="API_route53profiles_ListTagsForResource_RequestSyntax"></a>

```
GET /tags/ResourceArn HTTP/1.1
```

## URI Request Parameters
<a name="API_route53profiles_ListTagsForResource_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ResourceArn](#API_route53profiles_ListTagsForResource_RequestSyntax) **   <a name="Route53Profiles-route53profiles_ListTagsForResource-request-uri-ResourceArn"></a>
 The Amazon Resource Name (ARN) for the resource that you want to list the tags for.   
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Request Body
<a name="API_route53profiles_ListTagsForResource_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_route53profiles_ListTagsForResource_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_route53profiles_ListTagsForResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Tags](#API_route53profiles_ListTagsForResource_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_ListTagsForResource-response-Tags"></a>
 The tags that are associated with the resource that you specified in the `ListTagsForResource` request.   
Type: String to string map  
Map Entries: Minimum number of 0 items. Maximum number of 200 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Value Length Constraints: Minimum length of 0. Maximum length of 256.

## Errors
<a name="API_route53profiles_ListTagsForResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** ConflictException **   
 The request you submitted conflicts with an existing request.   
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_ListTagsForResource_Examples"></a>

### ListTagsForResource Example
<a name="API_route53profiles_ListTagsForResource_Example_1"></a>

This example illustrates one usage of ListTagsForResource.

#### Sample Request
<a name="API_route53profiles_ListTagsForResource_Example_1_Request"></a>

```
GET /tags/arn%3Aaws%3Aroute53profiles%3Aus-east-1%3A123456789012%3Aprofile%2Frp-4987774726example HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
X-Amz-Date:20240319T232315Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=host;x-amz-date;x-amz-security-token, 
    Signature=[calculated-signature]
{} # Request body is empty
```

#### Sample Response
<a name="API_route53profiles_ListTagsForResource_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 23:23:20 GMT
Content-Type: application/json
Content-Length: 35
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
Access-Control-Expose-Headers: x-amzn-ErrorType, x-amzn-RequestId, x-amzn-ErrorMessage, x-amzn-Trace-Id, x-amz-apigw-id, Date
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a325ab8example
{
    "Tags": {
        "my-key-2": "my-value-2",
        "my-key-1": "my-value-1"
    }
}
```

## See Also
<a name="API_route53profiles_ListTagsForResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/ListTagsForResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/ListTagsForResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/ListTagsForResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/ListTagsForResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/ListTagsForResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/ListTagsForResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/ListTagsForResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/ListTagsForResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/ListTagsForResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/ListTagsForResource) 

# TagResource
<a name="API_route53profiles_TagResource"></a>

 Adds one or more tags to a specified resource. 

## Request Syntax
<a name="API_route53profiles_TagResource_RequestSyntax"></a>

```
POST /tags/ResourceArn HTTP/1.1
Content-type: application/json

{
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_route53profiles_TagResource_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ResourceArn](#API_route53profiles_TagResource_RequestSyntax) **   <a name="Route53Profiles-route53profiles_TagResource-request-uri-ResourceArn"></a>
 The Amazon Resource Name (ARN) for the resource that you want to add tags to.   
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Request Body
<a name="API_route53profiles_TagResource_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Tags](#API_route53profiles_TagResource_RequestSyntax) **   <a name="Route53Profiles-route53profiles_TagResource-request-Tags"></a>
 The tags that you want to add to the specified resource.   
Type: String to string map  
Map Entries: Minimum number of 0 items. Maximum number of 200 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Value Length Constraints: Minimum length of 0. Maximum length of 256.  
Required: Yes

## Response Syntax
<a name="API_route53profiles_TagResource_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_route53profiles_TagResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_route53profiles_TagResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_TagResource_Examples"></a>

### TagResource Example
<a name="API_route53profiles_TagResource_Example_1"></a>

This example illustrates one usage of TagResource.

#### Sample Request
<a name="API_route53profiles_TagResource_Example_1_Request"></a>

```
POST /tags/arn%3Aaws%3Aroute53profiles%3Aus-east-1%3A123456789012%3Aprofile%2Frp-4987774726example HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
X-Amz-Date:20240319T232315Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Content-Type:application/json
Content-Length: 62
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=content-type;host;x-amz-date;x-amz-security-token, 
    Signature=[calculated-signature]
{
    "Tags": {
        "my-key-2": "my-value-2",
        "my-key-1": "my-value-1"
    }
}
```

#### Sample Response
<a name="API_route53profiles_TagResource_Example_1_Response"></a>

```
HTTP/1.1 204 OK
Date: Tue, 19 Mar 2024 23:25:38 GMT
Content-Type: application/json
Content-Length: 0
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
Access-Control-Expose-Headers: x-amzn-ErrorType, x-amzn-RequestId, x-amzn-ErrorMessage, x-amzn-Trace-Id, x-amz-apigw-id, Date
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a325ab8example
# Response body is empty
```

## See Also
<a name="API_route53profiles_TagResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/TagResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/TagResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/TagResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/TagResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/TagResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/TagResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/TagResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/TagResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/TagResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/TagResource) 

# UntagResource
<a name="API_route53profiles_UntagResource"></a>

 Removes one or more tags from a specified resource. 

## Request Syntax
<a name="API_route53profiles_UntagResource_RequestSyntax"></a>

```
DELETE /tags/ResourceArn?tagKeys=TagKeys HTTP/1.1
```

## URI Request Parameters
<a name="API_route53profiles_UntagResource_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ResourceArn](#API_route53profiles_UntagResource_RequestSyntax) **   <a name="Route53Profiles-route53profiles_UntagResource-request-uri-ResourceArn"></a>
 The Amazon Resource Name (ARN) for the resource that you want to remove tags from.   
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

 ** [TagKeys](#API_route53profiles_UntagResource_RequestSyntax) **   <a name="Route53Profiles-route53profiles_UntagResource-request-uri-TagKeys"></a>
 The tags that you want to remove to the specified resource.   
Array Members: Minimum number of 0 items. Maximum number of 200 items.  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: Yes

## Request Body
<a name="API_route53profiles_UntagResource_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_route53profiles_UntagResource_ResponseSyntax"></a>

```
HTTP/1.1 204
```

## Response Elements
<a name="API_route53profiles_UntagResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

## Errors
<a name="API_route53profiles_UntagResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** ConflictException **   
 The request you submitted conflicts with an existing request.   
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_UntagResource_Examples"></a>

### UntagResource Example
<a name="API_route53profiles_UntagResource_Example_1"></a>

This example illustrates one usage of UntagResource.

#### Sample Request
<a name="API_route53profiles_UntagResource_Example_1_Request"></a>

```
DELETE /tags/arn%3Aaws%3Aroute53profiles%3Aus-east-1%3A123456789012%3Aprofile%2Frp-4987774726example?tagKeys=my-key-1&tagKeys=my-key-2 HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
X-Amz-Date:20240319T233258Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Content-Length: 0
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=host;x-amz-date;x-amz-security-token, 
    Signature=[calculated-signature]
# Request body is empty
```

#### Sample Response
<a name="API_route53profiles_UntagResource_Example_1_Response"></a>

```
HTTP/1.1 204 OK
Date: Tue, 19 Mar 2024 23:33:04 GMT
Content-Type: application/json
Content-Length: 0
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
Access-Control-Expose-Headers: x-amzn-ErrorType, x-amzn-RequestId, x-amzn-ErrorMessage, x-amzn-Trace-Id, x-amz-apigw-id, Date
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a325ab8example
# Response body is empty
```

## See Also
<a name="API_route53profiles_UntagResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/UntagResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/UntagResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/UntagResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/UntagResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/UntagResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/UntagResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/UntagResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/UntagResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/UntagResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/UntagResource) 

# UpdateProfileResourceAssociation
<a name="API_route53profiles_UpdateProfileResourceAssociation"></a>

 Updates the specified Route 53 Profile resourse association. 

## Request Syntax
<a name="API_route53profiles_UpdateProfileResourceAssociation_RequestSyntax"></a>

```
PATCH /profileresourceassociation/ProfileResourceAssociationId HTTP/1.1
Content-type: application/json

{
   "Name": "string",
   "ResourceProperties": "string"
}
```

## URI Request Parameters
<a name="API_route53profiles_UpdateProfileResourceAssociation_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ProfileResourceAssociationId](#API_route53profiles_UpdateProfileResourceAssociation_RequestSyntax) **   <a name="Route53Profiles-route53profiles_UpdateProfileResourceAssociation-request-uri-ProfileResourceAssociationId"></a>
 ID of the resource association.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

## Request Body
<a name="API_route53profiles_UpdateProfileResourceAssociation_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Name](#API_route53profiles_UpdateProfileResourceAssociation_RequestSyntax) **   <a name="Route53Profiles-route53profiles_UpdateProfileResourceAssociation-request-Name"></a>
 Name of the resource association.   
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 64.  
Pattern: `(?!^[0-9]+$)([a-zA-Z0-9\-_' ']+)`   
Required: No

 ** [ResourceProperties](#API_route53profiles_UpdateProfileResourceAssociation_RequestSyntax) **   <a name="Route53Profiles-route53profiles_UpdateProfileResourceAssociation-request-ResourceProperties"></a>
 If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value.   
The allowed values for priority are between 100 and 9900.  
Type: String  
Required: No

## Response Syntax
<a name="API_route53profiles_UpdateProfileResourceAssociation_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ProfileResourceAssociation": { 
      "CreationTime": number,
      "Id": "string",
      "ModificationTime": number,
      "Name": "string",
      "OwnerId": "string",
      "ProfileId": "string",
      "ResourceArn": "string",
      "ResourceProperties": "string",
      "ResourceType": "string",
      "Status": "string",
      "StatusMessage": "string"
   }
}
```

## Response Elements
<a name="API_route53profiles_UpdateProfileResourceAssociation_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ProfileResourceAssociation](#API_route53profiles_UpdateProfileResourceAssociation_ResponseSyntax) **   <a name="Route53Profiles-route53profiles_UpdateProfileResourceAssociation-response-ProfileResourceAssociation"></a>
 Information about the `UpdateProfileResourceAssociation` request, including a status message.   
Type: [ProfileResourceAssociation](API_route53profiles_ProfileResourceAssociation.md) object

## Errors
<a name="API_route53profiles_UpdateProfileResourceAssociation_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
 The current account doesn't have the IAM permissions required to perform the specified operation.   
HTTP Status Code: 400

 ** ConflictException **   
 The request you submitted conflicts with an existing request.   
HTTP Status Code: 400

 ** InternalServiceErrorException **   
 An internal server error occured. Retry your request.   
HTTP Status Code: 400

 ** InvalidParameterException **   
 One or more parameters in this request are not valid.     
 ** FieldName **   
 The parameter field name for the invalid parameter exception. 
HTTP Status Code: 400

 ** LimitExceededException **   
 The request caused one or more limits to be exceeded.     
 ** ResourceType **   
 The resource type that caused the limits to be exceeded. 
HTTP Status Code: 400

 ** ResourceNotFoundException **   
 The resource you are associating is not found.     
 ** ResourceType **   
 The resource type that caused the resource not found exception. 
HTTP Status Code: 400

 ** ThrottlingException **   
 The request was throttled. Try again in a few minutes.   
HTTP Status Code: 400

 ** ValidationException **   
 You have provided an invalid command.   
HTTP Status Code: 400

## Examples
<a name="API_route53profiles_UpdateProfileResourceAssociation_Examples"></a>

### UpdateProfileResourceAssociation Example
<a name="API_route53profiles_UpdateProfileResourceAssociation_Example_1"></a>

This example illustrates one usage of UpdateProfileResourceAssociation.

#### Sample Request
<a name="API_route53profiles_UpdateProfileResourceAssociation_Example_1_Request"></a>

```
Request:
PATCH /profileresourceassociation/rpr-001913120a7example HTTP/1.1
host:route53profiles.us-east-1.amazonaws.com
Accept-Encoding: identity
X-Amz-Date:20240319T233609Z
User-Agent: aws-cli/1.32.63 botocore/1.34.63 Python/3.8.18
Content-Type: application/json
Content-Length: 45
Authorization: AWS4-HMAC-SHA256 
    Credential=AKIAJJ2SONIPEXAMPLE/20181101/us-east-1/route53profiles/aws4_request, 
    SignedHeaders=content-type;host;x-amz-date;x-amz-security-token, 
    Signature=[calculated-signature]
{
    "ResourceProperties": "{\\"priority\\": 105}"
}
```

#### Sample Response
<a name="API_route53profiles_UpdateProfileResourceAssociation_Example_1_Response"></a>

```
HTTP/1.1 200 OK
Date: Tue, 19 Mar 2024 23:36:09 GMT
Content-Type: application/json
Content-Length: 508
Connection: keep-alive
x-amzn-RequestId: dcd9d91e-1a5a-481f-82b7-bafe7dexample
Access-Control-Allow-Origin: *
x-amz-apigw-id: U5eX0FdmIexample= 
X-Amzn-Trace-Id: Root=1-65fa10fe-6e5a93a56a325ab8example
{
    "ProfileResourceAssociation": {        
        "CreationTime": 1710887901.139,
        "Id": "rpr-001913120a7example",
        "ModificationTime": 1710891369.579,
        "Name": "test-resource-association",
        "OwnerId": "123456789012",
        "ProfileId": "rp-4987774726example",
        "ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example",
        "ResourceProperties": "{\"priority\":105}",
        "ResourceType": "FIREWALL_RULE_GROUP",
        "Status": "UPDATING",
        "StatusMessage": "Updating the Profile to DNS Firewall rule group association"
    }
}
```

## See Also
<a name="API_route53profiles_UpdateProfileResourceAssociation_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/route53profiles-2018-05-10/UpdateProfileResourceAssociation) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/route53profiles-2018-05-10/UpdateProfileResourceAssociation) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/route53profiles-2018-05-10/UpdateProfileResourceAssociation) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/route53profiles-2018-05-10/UpdateProfileResourceAssociation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53profiles-2018-05-10/UpdateProfileResourceAssociation) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/route53profiles-2018-05-10/UpdateProfileResourceAssociation) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/route53profiles-2018-05-10/UpdateProfileResourceAssociation) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/route53profiles-2018-05-10/UpdateProfileResourceAssociation) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/route53profiles-2018-05-10/UpdateProfileResourceAssociation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/route53profiles-2018-05-10/UpdateProfileResourceAssociation) 