GetSupportedResourceTypesCommand

Returns the Amazon Web Services resource types supported by Backup.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { BackupClient, GetSupportedResourceTypesCommand } from "@aws-sdk/client-backup"; // ES Modules import
// const { BackupClient, GetSupportedResourceTypesCommand } = require("@aws-sdk/client-backup"); // CommonJS import
// import type { BackupClientConfig } from "@aws-sdk/client-backup";
const config = {}; // type is BackupClientConfig
const client = new BackupClient(config);
const input = {};
const command = new GetSupportedResourceTypesCommand(input);
const response = await client.send(command);
// { // GetSupportedResourceTypesOutput
//   ResourceTypes: [ // ResourceTypes
//     "STRING_VALUE",
//   ],
// };

GetSupportedResourceTypesCommand Input

See GetSupportedResourceTypesCommandInput for more details
GetSupportedResourceTypesCommandInput 

GetSupportedResourceTypesCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
ResourceTypes
string[] | undefined

Contains a string with the supported Amazon Web Services resource types:

  • Aurora for Amazon Aurora

  • CloudFormation for CloudFormation

  • DocumentDB for Amazon DocumentDB (with MongoDB compatibility)

  • DynamoDB for Amazon DynamoDB

  • EBS for Amazon Elastic Block Store

  • EC2 for Amazon Elastic Compute Cloud

  • EFS for Amazon Elastic File System

  • FSx for Amazon FSx

  • Neptune for Amazon Neptune

  • RDS for Amazon Relational Database Service

  • Redshift for Amazon Redshift

  • S3 for Amazon Simple Storage Service (Amazon S3)

  • SAP HANA on Amazon EC2 for SAP HANA databases on Amazon Elastic Compute Cloud instances

  • Storage Gateway for Storage Gateway

  • Timestream for Amazon Timestream

  • VirtualMachine for VMware virtual machines

Throws

Name
Fault
Details
ServiceUnavailableException
server

The request failed due to a temporary failure of the server.

BackupServiceException
Base exception class for all service exceptions from Backup service.