View a markdown version of this page

GetResourceProvider - AWS Backup

GetResourceProvider

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

Request Syntax

GET /resources/providers/Arn HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Arn

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

The request does not have a request body.

Response Syntax

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

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

The compliance status of the resource provider's agent version.

Type: String

Valid Values: NON_COMPLIANT | UP_TO_DATE | UPGRADE_AVAILABLE

AgentUpgradeStatus

The status of the resource provider's agent upgrade.

Type: String

Valid Values: PENDING | RUNNING | COMPLETED | FAILED

AgentUpgradeStatusMessage

The message describing the status of the resource provider's agent upgrade.

Type: String

AgentVersionCurrent

The current version of the resource provider's agent.

Type: String

AgentVersionLatest

The latest version of the agent available for the resource provider.

Type: String

ApplianceArn

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

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

The number of days after which resource targets with a status of NOT_FOUND are automatically deleted.

Type: Integer

CreatedAt

The date and time that the resource provider was created.

Type: Timestamp

LastSyncCompletedAt

The date and time that the resource provider's most recent synchronization completed.

Type: Timestamp

LastSyncStartedAt

The date and time that the resource provider's most recent synchronization started.

Type: Timestamp

Name

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

The configuration of the resource provider.

Type: ResourceProviderConfiguration object

Note: This object is a Union. Only one member of this object can be specified or returned.

ProviderMetadata

The metadata describing the resource provider.

Type: ResourceProviderMetadata object

Note: This object is a Union. Only one member of this object can be specified or returned.

ProviderType

The type of resource provider.

Type: String

Valid Values: MSSQL_SERVER | NAS_SHARE | ORACLEDB_SERVER | ORACLEDB_CLUSTER | SERVER_HOST | VMWARE_ESXI | VMWARE_VCENTER

SecretConfigurationArn

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

The status of the resource provider.

Type: String

Valid Values: DELETING | DELETION_FAILED | MIGRATING | MIGRATION_FAILED | SYNCING | SYNC_COMPLETED | SYNC_FAILED

StatusMessage

The message describing the status of the resource provider.

Type: String

TargetConfiguration

The default backup configurations for the resource provider's resource targets, by target type.

Type: ResourceTargetConfigurations object

TargetTagKeysToSync

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

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

The date and time that the resource provider was last updated.

Type: Timestamp

Errors

For information about the errors that are common to all actions, see Common Error Types.

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

For more information about using this API in one of the language-specific AWS SDKs, see the following: