ListApplicationInstanceDependenciesCommand

Returns a list of application instance dependencies.

Example Syntax

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

import { PanoramaClient, ListApplicationInstanceDependenciesCommand } from "@aws-sdk/client-panorama"; // ES Modules import
// const { PanoramaClient, ListApplicationInstanceDependenciesCommand } = require("@aws-sdk/client-panorama"); // CommonJS import
const client = new PanoramaClient(config);
const input = { // ListApplicationInstanceDependenciesRequest
  ApplicationInstanceId: "STRING_VALUE", // required
  MaxResults: Number("int"),
  NextToken: "STRING_VALUE",
};
const command = new ListApplicationInstanceDependenciesCommand(input);
const response = await client.send(command);
// { // ListApplicationInstanceDependenciesResponse
//   PackageObjects: [ // PackageObjects
//     { // PackageObject
//       Name: "STRING_VALUE", // required
//       PackageVersion: "STRING_VALUE", // required
//       PatchVersion: "STRING_VALUE", // required
//     },
//   ],
//   NextToken: "STRING_VALUE",
// };

ListApplicationInstanceDependenciesCommand Input

Parameter
Type
Description
ApplicationInstanceId
Required
string | undefined

The application instance's ID.

MaxResults
number | undefined

The maximum number of application instance dependencies to return in one page of results.

NextToken
string | undefined

Specify the pagination token from a previous request to retrieve the next page of results.

ListApplicationInstanceDependenciesCommand Output

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

A pagination token that's included if more results are available.

PackageObjects
PackageObject[] | undefined

A list of package objects.

Throws

Name
Fault
Details
AccessDeniedException
client

The requestor does not have permission to access the target action or resource.

InternalServerException
server

An internal error occurred.

PanoramaServiceException
Base exception class for all service exceptions from Panorama service.