

# GetResourceTarget

Returns configuration, metadata, and status information for the specified resource target.

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

```
GET /resources/targets/{{Arn}} HTTP/1.1
```

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

The request uses the following URI parameters.

 ** [Arn](#API_BKE_GetResourceTarget_RequestSyntax) **   <a name="Backup-BKE_GetResourceTarget-request-uri-Arn"></a>
The Amazon Resource Name (ARN) of the resource target.  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `arn:aws[a-z0-9-]{0,30}:backup-external:[a-z0-9-]{1,30}:[0-9]{12}:resource-target:[a-z0-9-]{1,30}/[a-z0-9]{1,36}`   
Required: Yes

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

The request does not have a request body.

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

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

{
   "Arn": "string",
   "CreatedAt": number,
   "ExternalIdentifier": "string",
   "ExternalName": "string",
   "LastSyncedAt": number,
   "Name": "string",
   "ProviderArn": "string",
   "ProviderType": "string",
   "Status": "string",
   "StatusMessage": "string",
   "TargetConfiguration": { ... },
   "TargetConfigurationSource": "string",
   "TargetMetadata": { ... },
   "TargetType": "string",
   "UpdatedAt": number
}
```

## Response Elements
<a name="API_BKE_GetResourceTarget_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.

 ** [Arn](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-Arn"></a>
The Amazon Resource Name (ARN) of the resource target.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `arn:aws[a-z0-9-]{0,30}:backup-external:[a-z0-9-]{1,30}:[0-9]{12}:resource-target:[a-z0-9-]{1,30}/[a-z0-9]{1,36}` 

 ** [CreatedAt](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-CreatedAt"></a>
The date and time that the resource target was created.  
Type: Timestamp

 ** [ExternalIdentifier](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-ExternalIdentifier"></a>
The identifier of the resource target in the external system.  
Type: String

 ** [ExternalName](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-ExternalName"></a>
The name of the resource target in the external system.  
Type: String

 ** [LastSyncedAt](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-LastSyncedAt"></a>
The date and time that the resource target was last synchronized with its resource provider.  
Type: Timestamp

 ** [Name](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-Name"></a>
The name of the resource target.  
Type: String

 ** [ProviderArn](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-ProviderArn"></a>
The Amazon Resource Name (ARN) of the resource target's provider.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `arn:aws[a-z0-9-]{0,30}:backup-external:[a-z0-9-]{1,30}:[0-9]{12}:resource-provider:[a-z0-9-]{1,30}/[a-z0-9]{1,36}` 

 ** [ProviderType](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-ProviderType"></a>
The type of resource provider.  
Type: String  
Valid Values: `MSSQL_SERVER | NAS_SHARE | ORACLEDB_SERVER | ORACLEDB_CLUSTER | SERVER_HOST | VMWARE_ESXI | VMWARE_VCENTER` 

 ** [Status](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-Status"></a>
The status of the resource target.  
Type: String  
Valid Values: `AVAILABLE | UNAVAILABLE | NOT_FOUND | DELETING | MIGRATING` 

 ** [StatusMessage](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-StatusMessage"></a>
The message describing the status of the resource target.  
Type: String

 ** [TargetConfiguration](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-TargetConfiguration"></a>
The backup configuration for the resource target.  
Type: [ResourceTargetConfiguration](API_BKE_ResourceTargetConfiguration.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.

 ** [TargetConfigurationSource](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-TargetConfigurationSource"></a>
The source of the resource target's backup configuration.  
Type: String  
Valid Values: `PROVIDER | TARGET` 

 ** [TargetMetadata](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-TargetMetadata"></a>
The metadata describing the resource target.  
Type: [ResourceTargetMetadata](API_BKE_ResourceTargetMetadata.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.

 ** [TargetType](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-TargetType"></a>
The type of resource target.  
Type: String  
Valid Values: `MSSQL_DATABASE | NAS_FILESYSTEM | ORACLEDB_DATABASE | SERVER_FILESYSTEM | VMWARE_VM` 

 ** [UpdatedAt](#API_BKE_GetResourceTarget_ResponseSyntax) **   <a name="Backup-BKE_GetResourceTarget-response-UpdatedAt"></a>
The date and time that the resource target was last updated.  
Type: Timestamp

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

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

 ** AccessDeniedException **   
The request was denied because you do not have permission to perform the requested operation.  
HTTP Status Code: 403

 ** ConflictException **   
The request conflicts with the current state of the specified resource.  
HTTP Status Code: 409

 ** InternalServerException **   
The request failed because of an internal server error.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The specified resource was not found.  
HTTP Status Code: 404

 ** ThrottlingException **   
The request was denied because the request rate is too high.  
HTTP Status Code: 429

 ** ValidationException **   
The request contains invalid parameters.  
HTTP Status Code: 400

## See Also
<a name="API_BKE_GetResourceTarget_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/backup-external-2026-01-01/GetResourceTarget) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/backup-external-2026-01-01/GetResourceTarget) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/backup-external-2026-01-01/GetResourceTarget) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/backup-external-2026-01-01/GetResourceTarget) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/backup-external-2026-01-01/GetResourceTarget) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/backup-external-2026-01-01/GetResourceTarget) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/backup-external-2026-01-01/GetResourceTarget) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/backup-external-2026-01-01/GetResourceTarget) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/backup-external-2026-01-01/GetResourceTarget) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/backup-external-2026-01-01/GetResourceTarget) 