Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class DescribeNamespaceCommandProtected

Deprecated

Gets the latest version of the user's namespace and the public version that it is tracking.

Example

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

import { IoTThingsGraphClient, DescribeNamespaceCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
// const { IoTThingsGraphClient, DescribeNamespaceCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
const client = new IoTThingsGraphClient(config);
const input = { // DescribeNamespaceRequest
namespaceName: "STRING_VALUE",
};
const command = new DescribeNamespaceCommand(input);
const response = await client.send(command);
// { // DescribeNamespaceResponse
// namespaceArn: "STRING_VALUE",
// namespaceName: "STRING_VALUE",
// trackingNamespaceName: "STRING_VALUE",
// trackingNamespaceVersion: Number("long"),
// namespaceVersion: Number("long"),
// };

Param

DescribeNamespaceCommandInput

Returns

DescribeNamespaceCommandOutput

See

Throws

InternalFailureException (server fault)

Throws

InvalidRequestException (client fault)

Throws

ResourceNotFoundException (client fault)

Throws

ThrottlingException (client fault)

Throws

IoTThingsGraphServiceException

Base exception class for all service exceptions from IoTThingsGraph service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods