Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeOrganizationalUnitCommand

Retrieves information about an organizational unit (OU).

This operation can be called only from the organization's management account or by a member account that is a delegated administrator for an Amazon Web Services service.

example

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

import { OrganizationsClient, DescribeOrganizationalUnitCommand } from "@aws-sdk/client-organizations"; // ES Modules import
// const { OrganizationsClient, DescribeOrganizationalUnitCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
const client = new OrganizationsClient(config);
const command = new DescribeOrganizationalUnitCommand(input);
const response = await client.send(command);
see

DescribeOrganizationalUnitCommandInput for command's input shape.

see

DescribeOrganizationalUnitCommandOutput for command's response shape.

see

config for OrganizationsClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeOrganizationalUnitCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions