- 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.
DescribeAppVersionCommand
Describes the Resilience Hub application version.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { ResiliencehubClient, DescribeAppVersionCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
// const { ResiliencehubClient, DescribeAppVersionCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
const client = new ResiliencehubClient(config);
const input = { // DescribeAppVersionRequest
appArn: "STRING_VALUE", // required
appVersion: "STRING_VALUE", // required
};
const command = new DescribeAppVersionCommand(input);
const response = await client.send(command);
// { // DescribeAppVersionResponse
// appArn: "STRING_VALUE", // required
// appVersion: "STRING_VALUE", // required
// additionalInfo: { // AdditionalInfoMap
// "<keys>": [ // AdditionalInfoValueList
// "STRING_VALUE",
// ],
// },
// };
DescribeAppVersionCommand Input
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
appArn Required | string | undefined | Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: |
appVersion Required | string | undefined | Resilience Hub application version. |
DescribeAppVersionCommand Output
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
appArn Required | string | undefined | Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: |
appVersion Required | string | undefined | Resilience Hub application version. |
additionalInfo | Record<string, string[]> | undefined | Additional configuration parameters for an Resilience Hub application. If you want to implement Currently, this parameter supports only failover region and account. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
AccessDeniedException | client | You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. |
InternalServerException | server | This exception occurs when there is an internal failure in the Resilience Hub service. |
ResourceNotFoundException | client | This exception occurs when the specified resource could not be found. |
ThrottlingException | client | This exception occurs when you have exceeded the limit on the number of requests per second. |
ValidationException | client | This exception occurs when a request is not valid. |
ResiliencehubServiceException | Base exception class for all service exceptions from Resiliencehub service. |