

# GetResourceProvider

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

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

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

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

The request uses the following URI parameters.

 ** [Arn](#API_BKE_GetResourceProvider_RequestSyntax) **   <a name="Backup-BKE_GetResourceProvider-request-uri-Arn"></a>
The Amazon Resource Name (ARN) of the resource provider.  
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}`   
Required: Yes

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

The request does not have a request body.

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

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

{
   "AgentComplianceStatus": "string",
   "AgentUpgradeStatus": "string",
   "AgentUpgradeStatusMessage": "string",
   "AgentVersionCurrent": "string",
   "AgentVersionLatest": "string",
   "ApplianceArn": "string",
   "Arn": "string",
   "AutoDeleteNotFoundTargetsAfterDays": number,
   "CreatedAt": number,
   "LastSyncCompletedAt": number,
   "LastSyncStartedAt": number,
   "Name": "string",
   "ProviderConfiguration": { ... },
   "ProviderMetadata": { ... },
   "ProviderType": "string",
   "SecretConfigurationArn": "string",
   "Status": "string",
   "StatusMessage": "string",
   "TargetConfiguration": { 
      "MssqlDatabase": { 
         "BackupStreamCount": number,
         "FullBackupAfterDays": number,
         "FullBackupAfterScheduleExpression": "string",
         "IsCopyOnlyFull": boolean,
         "LogBackupFrequencyInMinutes": number
      },
      "NasFilesystem": { 
         "AllowUnencryptedDataTransfer": boolean
      },
      "OracledbDatabase": { 
         "BackupChannelCount": number,
         "BackupNodeHostName": "string",
         "FullBackupAfterDays": number,
         "FullBackupAfterScheduleExpression": "string",
         "LogBackupFrequencyInMinutes": number,
         "LogRetentionOnHostInHours": number
      },
      "ServerFilesystem": { 
         "BackupConsistency": "string",
         "PostBackupScript": { 
            "ScriptParams": "string",
            "ScriptPath": "string",
            "TimeoutInMinutes": number
         },
         "PreBackupScript": { 
            "ContinueBackupOnScriptFailure": boolean,
            "ScriptParams": "string",
            "ScriptPath": "string",
            "TimeoutInMinutes": number
         }
      },
      "VmwareVm": { 
         "BackupConsistency": "string"
      }
   },
   "TargetTagKeysToSync": [ "string" ],
   "TargetTagsOnCreate": { 
      "string" : "string" 
   },
   "UpdatedAt": number
}
```

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

 ** [AgentComplianceStatus](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-AgentComplianceStatus"></a>
The compliance status of the resource provider's agent version.  
Type: String  
Valid Values: `NON_COMPLIANT | UP_TO_DATE | UPGRADE_AVAILABLE` 

 ** [AgentUpgradeStatus](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-AgentUpgradeStatus"></a>
The status of the resource provider's agent upgrade.  
Type: String  
Valid Values: `PENDING | RUNNING | COMPLETED | FAILED` 

 ** [AgentUpgradeStatusMessage](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-AgentUpgradeStatusMessage"></a>
The message describing the status of the resource provider's agent upgrade.  
Type: String

 ** [AgentVersionCurrent](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-AgentVersionCurrent"></a>
The current version of the resource provider's agent.  
Type: String

 ** [AgentVersionLatest](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-AgentVersionLatest"></a>
The latest version of the agent available for the resource provider.  
Type: String

 ** [ApplianceArn](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-ApplianceArn"></a>
The Amazon Resource Name (ARN) of the appliance.  
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}:appliance:[a-zA-Z0-9-]{36}` 

 ** [Arn](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-Arn"></a>
The Amazon Resource Name (ARN) of the resource 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}` 

 ** [AutoDeleteNotFoundTargetsAfterDays](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-AutoDeleteNotFoundTargetsAfterDays"></a>
The number of days after which resource targets with a status of `NOT_FOUND` are automatically deleted.  
Type: Integer

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

 ** [LastSyncCompletedAt](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-LastSyncCompletedAt"></a>
The date and time that the resource provider's most recent synchronization completed.  
Type: Timestamp

 ** [LastSyncStartedAt](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-LastSyncStartedAt"></a>
The date and time that the resource provider's most recent synchronization started.  
Type: Timestamp

 ** [Name](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-Name"></a>
The name of the resource provider.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 64.  
Pattern: `[\p{L}\p{Z}\p{N}_.:/=+\-@]*` 

 ** [ProviderConfiguration](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-ProviderConfiguration"></a>
The configuration of the resource provider.  
Type: [ResourceProviderConfiguration](API_BKE_ResourceProviderConfiguration.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.

 ** [ProviderMetadata](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-ProviderMetadata"></a>
The metadata describing the resource provider.  
Type: [ResourceProviderMetadata](API_BKE_ResourceProviderMetadata.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.

 ** [ProviderType](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-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` 

 ** [SecretConfigurationArn](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-SecretConfigurationArn"></a>
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Pattern: `arn:aws[a-z0-9-]{0,30}:secretsmanager:[a-z0-9-]{1,30}:[0-9]{12}:secret:[a-zA-Z0-9/_+=.@-]{1,512}` 

 ** [Status](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-Status"></a>
The status of the resource provider.  
Type: String  
Valid Values: `DELETING | DELETION_FAILED | MIGRATING | MIGRATION_FAILED | SYNCING | SYNC_COMPLETED | SYNC_FAILED` 

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

 ** [TargetConfiguration](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-TargetConfiguration"></a>
The default backup configurations for the resource provider's resource targets, by target type.  
Type: [ResourceTargetConfigurations](API_BKE_ResourceTargetConfigurations.md) object

 ** [TargetTagKeysToSync](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-TargetTagKeysToSync"></a>
The tag keys whose values are synchronized from external resources to their resource targets.  
Type: Array of strings  
Array Members: Minimum number of 0 items. Maximum number of 10 items.  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `[\p{L}\p{Z}\p{N}_.:/=+\-@]*` 

 ** [TargetTagsOnCreate](#API_BKE_GetResourceProvider_ResponseSyntax) **   <a name="Backup-BKE_GetResourceProvider-response-TargetTagsOnCreate"></a>
The tags to apply when the resource provider's resource targets are created.  
Type: String to string map  
Map Entries: Minimum number of 0 items. Maximum number of 10 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `[\p{L}\p{Z}\p{N}_.:/=+\-@]*`   
Value Length Constraints: Minimum length of 0. Maximum length of 256.  
Value Pattern: `[\p{L}\p{Z}\p{N}_.:/=+\-@]*` 

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

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