// 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 AWS service.
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 AWS service.
// 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 AWS service .
func (c *Client) DescribeOrganizationalUnit(ctx context.Context, params *DescribeOrganizationalUnitInput, optFns ...func(*Options)) (*DescribeOrganizationalUnitOutput, error) {
	if params == nil {
		params = &DescribeOrganizationalUnitInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeOrganizationalUnit", params, optFns, addOperationDescribeOrganizationalUnitMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeOrganizationalUnitOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeOrganizationalUnit ( ctx context . Context , params * DescribeOrganizationalUnitInput , optFns ... func ( * Options ) ) ( * DescribeOrganizationalUnitOutput , error ) { if params == nil { params = & DescribeOrganizationalUnitInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeOrganizationalUnitMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeOrganizationalUnitOutput ) out . ResultMetadata = metadata return out , nil }
Retrieves information about an organizational unit (OU).
Retrieves information about an organizational unit ( OU ) .