- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
DescribeFrameworkCommand
Returns the framework details for the specified FrameworkName
.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { BackupClient, DescribeFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
// const { BackupClient, DescribeFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
const client = new BackupClient(config);
const input = { // DescribeFrameworkInput
FrameworkName: "STRING_VALUE", // required
};
const command = new DescribeFrameworkCommand(input);
const response = await client.send(command);
// { // DescribeFrameworkOutput
// FrameworkName: "STRING_VALUE",
// FrameworkArn: "STRING_VALUE",
// FrameworkDescription: "STRING_VALUE",
// FrameworkControls: [ // FrameworkControls
// { // FrameworkControl
// ControlName: "STRING_VALUE", // required
// ControlInputParameters: [ // ControlInputParameters
// { // ControlInputParameter
// ParameterName: "STRING_VALUE",
// ParameterValue: "STRING_VALUE",
// },
// ],
// ControlScope: { // ControlScope
// ComplianceResourceIds: [ // ComplianceResourceIdList
// "STRING_VALUE",
// ],
// ComplianceResourceTypes: [ // ResourceTypeList
// "STRING_VALUE",
// ],
// Tags: { // stringMap
// "<keys>": "STRING_VALUE",
// },
// },
// },
// ],
// CreationTime: new Date("TIMESTAMP"),
// DeploymentStatus: "STRING_VALUE",
// FrameworkStatus: "STRING_VALUE",
// IdempotencyToken: "STRING_VALUE",
// };
DescribeFrameworkCommand Input
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
FrameworkName Required | string | undefined | The unique name of a framework. |
DescribeFrameworkCommand Output
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
CreationTime | Date | undefined | The date and time that a framework is created, in ISO 8601 representation. The value of |
DeploymentStatus | string | undefined | The deployment status of a framework. The statuses are: |
FrameworkArn | string | undefined | An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type. |
FrameworkControls | FrameworkControl[] | undefined | The controls that make up the framework. Each control in the list has a name, input parameters, and scope. |
FrameworkDescription | string | undefined | An optional description of the framework. |
FrameworkName | string | undefined | The unique name of a framework. |
FrameworkStatus | string | undefined | A framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn Config recording on or off for each resource. The statuses are:
|
IdempotencyToken | string | undefined | A customer-chosen string that you can use to distinguish between otherwise identical calls to |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
InvalidParameterValueException | client | Indicates that something is wrong with a parameter's value. For example, the value is out of range. |
MissingParameterValueException | client | Indicates that a required parameter is missing. |
ResourceNotFoundException | client | A resource that is required for the action doesn't exist. |
ServiceUnavailableException | server | The request failed due to a temporary failure of the server. |
BackupServiceException | Base exception class for all service exceptions from Backup service. |